Skip to content

Amadeus v1.3.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@whyself whyself released this 12 Oct 08:05

Amadeus v1.3.0-alpha.1

新增功能

  • 新增个性化插件:可自定义的 SOUL 人格、跨会话共享的 MEMORY/USER 记忆、个人 Skills,以及跨工作目录的原生历史会话检索。memory 工具按条读写,记录每条记忆的来源会话,并把每次修改保存到本地 Git 历史。插件页提供总开关和五个子开关,开启后新会话默认使用个性化模式。 由 @whyself
  • 新增可选的 noVNC 共享 AI 浏览器:用户和 AI 操作同一个有头 Chromium,可随时接管和交还,支持中文输入、下载回传、按会话持久保存登录状态、实例上限和闲置释放。画面随侧栏尺寸调整;AI 可以在侧栏打开 Amadeus 容器内的本地服务(http://amadeus:<端口>/)。 由 @whyself
  • 新增浏览器控制器:noVNC 模式下只有独立的 browser-controller 容器挂载 Docker socket,只提供固定的浏览器启停、输入权限和屏幕操作,运行 AI 的容器不再拥有 Docker 权限。 由 @whyself
  • 用户 HOME 持久化到 workspace/.amadeus/home,~/.local/bin 加入 PATH 并作为 npm 全局目录;Agent 命令的 HOME 与配置目录在沙箱内可写。 由 @whyself
  • 镜像默认安装 sudo(构建参数 AMADEUS_AGENT_SUDO)。沙箱内的命令无法提权,只有经用户批准的完全访问命令才能使用 root,Agent 可以自行安装和修复系统环境。 由 @whyself
  • 登录支持 scrypt 密码哈希 passwordHash,用 npm run hash-password 生成;新增登录失败节流,同一 IP 连续失败后冷却并返回 429。 由 @whyself

问题修复

  • 修复中文输入法首字被选中,以及按空格选字后光标跳回开头的问题。 由 @whyself
  • 修复容器异常退出后遗留的锁使个性化插件无法启动的问题;记忆文件缺失或编码错误时降级加载,不再使对话失败。 由 @whyself
  • 修复文件夹 ZIP 下载遇到软链接即整体失败、下载项目根目录时打包 HOME 和内部状态的问题。 由 @whyself
  • 修复接管 AI 浏览器时画面服务无响应导致整个浏览器被关闭的问题,改为重启画面服务并保留页面;用户接管期间关闭窗口或浏览器退出后可自动恢复。 由 @whyself
  • 修复侧栏压窄后浏览器画面上下留白,以及编辑器旧连接记录导致日志持续报错的问题。 由 @whyself

体验优化

  • 首屏在模块下载前即显示启动提示,减少白屏。 由 @whyself
  • 打磨 AI 浏览器、文件、注释和设置界面。 由 @whyself
  • 移除 skill_manager 工具,个人技能直接用普通文件工具编辑;"允许管理个人 Skills"与"Skills 变更需确认"改为对 Agent 的行为约束。 由 @whyself
  • 重写 README,重点介绍 Amadeus 在 DSH 之上提供的能力。 由 @whyself

其他变更

  • DSH 升级至 0.2.1-alpha.2,删除全部改写 DSH 安装文件的补丁脚本,定制改为通过公开扩展点实现的插件;全局历史查询维护一份保留 MIT 声明的工具副本 session-query-global。随之变化:对话区最小宽度恢复原生的 400,注释跳转不再有滚动动画,回答中的内联 HTML 显示为原文,自动压缩后记忆在下一次组装提示词时刷新,复用旧的空白任务可能沿用其原有模式。 由 @whyself
  • Amadeus、Login、Files、Reader、Editor、Browser、Browser Runtime、Personalization、Session Query Global 和 PWA 统一为 1.3.0-alpha.1;Release 提供八个插件包及 SHA256SUMS。DSH 仍为上游 alpha 依赖,本版为预发布,稳定版仍为 v1.2.0。 由 @whyself
  • noVNC 部署新增 browser-controller 服务,DOCKER_GID 必须显式设置;旧的明文 password 仍可使用,启动时提示迁移;code-server 默认关闭自动任务。 由 @whyself
  • 升级前保存编辑器内容并备份配置、工作区和数据卷;旧容器未挂载 HOME 时先按部署教程迁移。沿用同一 Compose 项目和数据卷,获取并切换 v1.3.0-alpha.1 后运行 docker compose up -d --build(启用 noVNC 时叠加 compose.novnc.yml),随后刷新页面。升级后 DSH 会迁移会话数据,不建议再回退到旧版本。 由 @whyself

部署教程:指南。项目贡献者:CONTRIBUTORS.md。内核变更:DSH v0.2.1-alpha.2。

New Features

  • Add a personalization plugin: a customizable SOUL persona, MEMORY/USER memory shared across sessions, personal skills and native history search across working directories. The memory tool edits entries one at a time, records each entry's source session and commits every change to a local Git history. The plugin page provides a master switch and five sub-switches; when enabled, new sessions default to the personalization mode. by @whyself
  • Add an optional noVNC shared AI Browser: the user and AI operate the same headed Chromium, with take-over and hand-back, Chinese text input, download transfer, persistent per-session logins, an instance limit and idle release. The display follows the sidebar size, and AI can open local services in the Amadeus container at http://amadeus:<port>/. by @whyself
  • Add a browser controller: in noVNC mode only the separate browser-controller container mounts the Docker socket and exposes fixed browser start/stop, input and screen operations; the container running AI no longer has Docker access. by @whyself
  • Persist the user HOME at workspace/.amadeus/home, put ~/.local/bin on PATH as the npm global prefix, and make HOME and config directories writable for agent commands inside the sandbox. by @whyself
  • Install sudo by default (build argument AMADEUS_AGENT_SUDO). Sandboxed commands cannot elevate; only full-access commands approved by the user can use root, letting the agent install and repair system packages. by @whyself
  • Support scrypt passwordHash login generated by npm run hash-password, and throttle failed logins with a cooldown and 429 responses. by @whyself

Bug Fixes

  • Fix the first Chinese IME character being selected and the caret jumping to the start after committing a candidate with Space. by @whyself
  • Recover locks left by a crashed container so personalization can start; load missing or non-UTF-8 memory files in a degraded state instead of failing conversations. by @whyself
  • Skip symlinks instead of failing folder ZIP downloads, and exclude HOME and internal state when downloading the project root. by @whyself
  • Restart the unresponsive display service instead of closing the whole browser when taking over the AI Browser, keeping the page; recover automatically when the window or browser closes during user control. by @whyself
  • Remove blank space around the browser display in narrow sidebars, and stop repeated log errors from stale editor bridge registrations. by @whyself

Improvements

  • Show the startup indicator before modules download to reduce the blank first screen. by @whyself
  • Polish the AI Browser, files, annotation and settings interfaces. by @whyself
  • Remove the skill_manager tool and edit personal skills with ordinary file tools; the two Skills switches now guide agent behavior. by @whyself
  • Rewrite the README around what Amadeus adds on top of DSH. by @whyself

Chores

  • Upgrade DSH to 0.2.1-alpha.2, remove every script that rewrote installed DSH files, and implement customizations as plugins on public extension points; keep an MIT-attributed copy of the history tool as session-query-global. As a result the conversation pane keeps the native 400px minimum, annotation jumps no longer animate, inline HTML in answers renders as text, memory refreshes at the next prompt assembly after automatic compaction, and reusing an old blank task may keep its previous mode. by @whyself
  • Set Amadeus, Login, Files, Reader, Editor, Browser, Browser Runtime, Personalization, Session Query Global and PWA to 1.3.0-alpha.1; ship eight plugin archives and SHA256SUMS. DSH remains an upstream alpha dependency; this release is a pre-release and v1.2.0 remains the stable version. by @whyself
  • noVNC deployments add the browser-controller service and require an explicit DOCKER_GID; the legacy plaintext password still works with a migration warning; code-server disables automatic tasks by default. by @whyself
  • Save editor content and back up configuration, workspace and volumes before upgrading; migrate HOME first as described in the deployment guide if the old container did not mount it. Keep the same Compose project and data volume, fetch and check out v1.3.0-alpha.1, run docker compose up -d --build (adding compose.novnc.yml for noVNC), then refresh the page. DSH migrates session data on upgrade, so rolling back is not recommended. by @whyself

Deployment: guide. Project contributors: CONTRIBUTORS.md. Core changes: DSH v0.2.1-alpha.2.