Repository navigation
Armadra 0.16.0
Not notarised/signed for: macOS, Windows, Linux (GPG). The operating system will warn on first install.
版本统一:Armadra、armadra-cloud、armadra-agent 同为 0.16.0。随包 @armadra/agent 0.16.0(宿主资源命名空间 host-api 1.2、异常结束后的恢复提醒、切换权限模式重评待批、子代理结构化汇报等)与平台协议包 0.16.0(没有形状变化,协议仍是 1.4);配套镜像 armadra-cloud / armadra-relay 0.16.0。本版主题:交接 v2(任务简报、跨 Agent 读来源原文、交给新开的 Agent),画布协作调用在各家终端 Agent 里免逐次审批,ama 协调者经 armadra:// 资源读账本与事件。
Version aligned with armadra-cloud and armadra-agent (all three ship 0.16.0), with @armadra/agent 0.16.0 (host resource namespace host-api 1.2, recovery reminder after an unclean end, re-evaluating waiting approvals on a permission-mode switch, structured sub-agent reports and more) and platform protocol 0.16.0 (no shape changes, still protocol 1.4); matching images armadra-cloud / armadra-relay 0.16.0. Highlights: handoff v2 (task brief, reading the source transcript across agents, handing off to a newly opened agent), canvas collaboration verbs without per-call approval in every terminal agent, and the ama coordinator reading the ledger and events as armadra:// resources.
桌面 / 服务器
- 交接 v2(#873、#874、#875、#876,Closes #872):批准后立即唤醒目标;模板多「完成标准」一段,
handoff-read缺省给任务简报(要做的事、约束、完成标准、相关文件、做完后的post/ack,命令按目标通道写);交接包升到 v2,准备时冻结来源转录的游标,handoff-read --part transcript按页读到冻结边界,Claude / Codex / Pi / omp / OpenCode / Copilot / ACP 统一成同一形状,原文与归一化输出都做凭据脱敏;交接可以交给新开的 Agent(选 Agent、模型、权限模式与终端 / ACP 形态,批准时才建节点并连线),ACP 节点也可作目标。来源可以直接 ack 目标回给它的handoff:<id>:result。
Handoff v2 (#873, #874, #875, #876, Closes #872): the target is nudged as soon as a handoff is accepted; the template gains an acceptance section andhandoff-readdefaults to a task brief (goal, constraints, acceptance, related files, and thepost/ackto run afterwards, with commands written for the target's channel); bundles move to v2 and freeze a cursor into the source transcript, sohandoff-read --part transcriptpages it up to the frozen boundary in one shape for Claude / Codex / Pi / omp / OpenCode / Copilot / ACP, with credentials redacted in both raw and normalised output; a handoff can go to a newly opened agent (agent, model, permission mode and terminal / ACP surface chosen up front, the node created and linked on accept), and ACP nodes can be targets. The source can now ack the target'shandoff:<id>:resultreply. - 画布协作调用免逐次审批:终端 Claude 带
--mcp-config走注入的画布 MCP(用户开了 Claude 沙箱也能用),只放行armadra服务器与三组动词(#851、#864,Closes #849 #863);终端 OpenCode / Copilot 同样走注入的 MCP(#855,Closes #852 #853);ACP 下的 Copilot 改经启动参数带 MCP(#879,Closes #858);omp 扩展在进程内注册画布工具,自动编辑档免审批,审批等待显示在画布上(#855、#880,Closes #854 #856);ama 的画布与上下文动词按read归类,default 档不再逐个要人点(#864,Closes #862);终端 OpenCode 的画布审批答复经插件的文件路由送达(#881,Closes #857)。
Canvas collaboration verbs without per-call approval: terminal Claude gets the injected canvas MCP via--mcp-config(it works under the user's own Claude sandbox), allowing only thearmadraserver and the three verb families (#851, #864, Closes #849 #863); terminal OpenCode / Copilot also use the injected MCP (#855, Closes #852 #853); Copilot under ACP receives the MCP server through its launch arguments (#879, Closes #858); the omp extension registers the canvas tools in-process so its auto-edit mode runs them unasked, and omp approval waits show on the canvas (#855, #880, Closes #854 #856); ama files canvas and context verbs asread, so its default mode no longer asks for each one (#864, Closes #862); canvas approval answers reach terminal OpenCode through the plugin's file route (#881, Closes #857). canvas wait的客户端预算改为--timeout + 10秒,缺省调用不再先在客户端超时;被拒绝的调用多一行机器可读的code=… retryAfterMs=… retryable=…(#851,Closes #848 #850)。
The client budget ofcanvas waitis now--timeout + 10seconds, so default calls no longer time out on the client first; refused calls get an extra machine-readablecode=… retryAfterMs=… retryable=…line (#851, Closes #848 #850).- ama 协调者:宿主适配器把账本与事件注册为
armadra://items、armadra://items/<id>、armadra://items/<id>/origin、armadra://events资源,经 ama 内置的read分页读取,canvas_items/canvas_events两个只读工具对 ama 隐藏,工具表更短(#888,Closes #885)。随本版的 ama 0.16.0 起生效。
ama coordinator: the host adapter registers the ledger and events asarmadra://items,armadra://items/<id>,armadra://items/<id>/originandarmadra://eventsresources read through ama's built-inread, and hides the read-onlycanvas_items/canvas_eventstools, shortening the tool table (#888, Closes #885). Active with the bundled ama 0.16.0. - ama 协调者:说明文字补一句,事件卡片和动词答复里的
canvas items --item <id>/canvas events对应read armadra://items/<id>/read armadra://events(#891,Closes #890)。
ama coordinator: the note maps the event card'scanvas items --item <id>/canvas eventstoread armadra://items/<id>/read armadra://events(#891, Closes #890). - 会话就绪前输入的第一句 ACP 提问不再丢失:先显示排队气泡,会话开好后经同一回合 id 发出并与回显对账(#867,Closes #865);实时板在同步层放行写入前的系统写回(终端会话 id 等)排队、放行后补写,重开画布能接回会话(#869,Closes #868)。
The first ACP prompt typed before the session is ready is no longer lost: it shows as a queued bubble and is sent with one turn id that matches the echo once the session exists (#867, Closes #865); system write-backs (such as a terminal's session id) on a live board are queued until the sync layer allows writes and then applied, so reopening the canvas reattaches the session (#869, Closes #868). - 隔离数据目录下,只拿到端点文件的终端 Agent 不再回退连到本机默认实例(#883,Closes #882)。
With an isolated data directory, terminal agents that only receive the endpoint file no longer fall back to the per-user default instance (#883, Closes #882). - 开发与测试:
pnpm verify一条命令并行跑本机检查,prettier 缓存与增量类型检查(#871,Closes #870);Windows 上 web 的 vitest 改用 forks 池(#878,Closes #877);stream-queue 慢客户端用例与快捷键场景去掉时序假设(#860,Closes #842;#884);探针删除 Workers 中继路径、对按名字的中继带 SNI、--issuer跑完撤掉新增的源与设备、场景 6 覆盖终端 OpenCode / Copilot 的画布 MCP(#846、#859,Closes #847;#861、#866)。
Development and tests:pnpm verifyruns the local checks in parallel with cached prettier and incremental type checks (#871, Closes #870); web vitest uses the forks pool on Windows (#878, Closes #877); timing assumptions removed from the stream-queue slow-client test and the keybindings scenario (#860, Closes #842; #884); probes drop the Workers relay path, send SNI to named relays, clean up the sources and devices--issuercreated, and scenario 6 covers the terminal OpenCode / Copilot canvas MCP (#846, #859, Closes #847; #861, #866).
部署说明
- 新的数据库迁移 0065(
agent_handoffs.created_target_node_id),core 启动时自动执行。 - 契约:新增 §105–§110(协作调用的客户端行为、终端 OpenCode / Copilot / Claude 的画布 MCP 与审批口径、ACP 下 Copilot 的 MCP、终端 OpenCode 的审批答复、omp 进程内画布工具);§39 交接多「新开的 Agent」目标与转录分页。
- 配套镜像
ghcr.io/ama-link/armadra-cloud:0.16.0、ghcr.io/ama-link/armadra-relay:0.16.0与协议包 0.16.0 同号(cloud 侧迁移 SQL 改由 Go 接管但逐字节不变、没有新迁移,Workers 上的 TypeScript 中继已删除,Go 个人中转新增的签名钥包裹与每日配额缺省关闭;控制台页面取自本版服务器壳镜像);推送中继镜像ghcr.io/ama-link/armadra-push-relay:0.16.0与服务器壳镜像同号。发版顺序沿用 0.15.1:先打 Armadrav0.16.0,再打 armadra-cloudv0.16.0。
{"minimumInstalled":"0.1.0"}