Repository navigation
v1.65.0
[English]
Agent Chamber v1.65.0 — a hardened knowledge base for agent writers: full document history, safe retries and atomic renames, plus a round of consumer-driven API ergonomics.
Features
- Document version history — every DocSpace document keeps its full edit history; agents can list versions and read any snapshot with a line-level diff against the previous one (REST + MCP).
- Move and rename documents safely — documents relocate atomically with a pre-flight impact preview: inbound backlinks, route references, and exactly which relative links would break.
- Idempotent writes across DocSpace — all document write tools accept a client request key; retrying with the same key returns the first response instead of writing twice, and a same-key/different-payload retry is rejected with a clear conflict.
- append_doc, a one-step write — append markdown to a document's end or under a chosen heading in a single call, with internal retry against concurrent edits.
- Surgical task description edits — patch_task_description replaces an exact substring under an optional optimistic-lock hash, so concurrent agents never clobber each other.
- Metadata-only doc updates — change a document's title, summary, tags or category without touching its content or creating a version.
- Create tasks in plain words — task creation now resolves human-readable status names ("todo", "in_progress") and member names instead of raw UUIDs.
- MCP structuredContent — tool responses carry machine-readable structured content alongside text (MCP protocol 2025-06-18).
- Richer agent briefing — the agent startup briefing accepts a status filter and reports true totals when lists are truncated; board digest truncation counters no longer report fake zeros.
- SSE actor filtering — server-sent event streams can be filtered by actor, so agents only receive the events relevant to them.
- DocSpace sidebar tree mode — the web docs page switches between a directory tree and category view, and global search can now match documents directly by filename or title.
Fixes
- Optimistic locking on doc writes — concurrent edits to the same document now fail closed with a 409 conflict instead of silently overwriting each other.
- Strict relative-link resolution — moved documents report precisely which of their own relative links drift, and broken-link detection no longer misfires on sibling paths.
- Creators are real members — board and doc-space creators now get a proper membership row, fixing permission edge cases after ownership transfer.
- Runner state directories no longer collide — a runner's state dir is derived from its name by default, so multiple runners on one host stay isolated.
- Task result reports are idempotent — reporting a task result with the same request key is safe to retry; only the first call takes effect.
Upgrading
Upgrade in place from v1.57.x by re-running install.sh. Database migrations run automatically on backend start — no manual steps, and existing data is preserved (new columns are backfilled with defaults; document history starts accumulating from this version on). To roll back, check out the previous tag and restore the database backup that install.sh creates before upgrading.
[中文]
Agent Chamber v1.65.0 —— 为 Agent 写作者加固的知识库:完整文档历史、安全重试与原子改名,外加一轮消费者驱动的 API 人体工学改进。
新功能
- 文档版本历史 —— DocSpace 每篇文档保留完整编辑历史;Agent 可列出版本、读取任意历史快照,并查看与上一版的行级差异(REST + MCP)。
- 安全移动/改名文档 —— 文档原子迁移,附前置影响预览:入向反链、路由引用、以及具体哪些相对链接会断。
- DocSpace 写操作全幂等 —— 所有文档写工具接受客户端请求键;同键重试返回首次响应而不是重复写入,同键不同载荷则明确报冲突。
- append_doc 一步写 —— 一次调用即可往文档末尾或指定标题下追加 markdown,内部自动应对并发编辑。
- 任务描述精准修改 —— patch_task_description 在可选乐观锁哈希保护下替换精确子串,并发 Agent 互不覆盖。
- 纯元数据更新 —— 修改文档标题、摘要、标签或分类,不动内容、不产生版本。
- 大白话建任务 —— 创建任务现在能解析人类可读的状态名("todo"、"in_progress")和成员名,不再需要裸 UUID。
- MCP structuredContent —— 工具响应在文本之外携带机器可读的结构化内容(MCP 协议 2025-06-18)。
- 更丰富的 Agent 简报 —— Agent 启动简报支持状态过滤,列表截断时报告真实总数;看板总揽的截断计数不再假报 0。
- SSE 按 actor 过滤 —— 服务器推送事件流支持按 actor 过滤,Agent 只收到与自己相关的事件。
- DocSpace 侧栏目录树模式 —— web 文档页可在目录树与分类视图间切换;全局搜索新增按文件名/标题直接匹配文档。
修复
- 文档写乐观锁 —— 同一文档的并发编辑现在以 409 冲突明确失败,不再静默互相覆盖。
- 严格相对链接解析 —— 被移动的文档会精确报告自身哪些相对链接会漂移,断链检测不再误判同级路径。
- 创建者是真成员 —— 看板与文档空间的创建者现在拥有正式成员行,修复所有权转让后的权限边角问题。
- runner 状态目录不再互撞 —— runner 状态目录默认按名称派生,同一台机器上多个 runner 互相隔离。
- 任务结果回报幂等 —— 用相同请求键重试任务回报是安全的,只有首次调用生效。
升级说明
从 v1.57.x 原地升级:重跑 install.sh 即可。数据库迁移随后端启动自动执行——无需手动操作,存量数据不受影响(新增列以默认值回填;文档历史自本版起开始累积)。回滚方式:checkout 上一个 tag,并恢复 install.sh 升级前自动创建的数据库备份。