remote-codex 0.11.50 → 0.11.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/apps/supervisor-api/dist/index.js +2132 -417
- package/apps/supervisor-web/dist/assets/index-BBq6mr8o.js +22 -0
- package/apps/supervisor-web/dist/assets/{index-Dy8PgXgw.css → index-Bg8FdhS1.css} +1 -1
- package/apps/supervisor-web/dist/assets/thread-ui-C5pxOmDJ.js +3974 -0
- package/apps/supervisor-web/dist/index.html +3 -3
- package/package.json +7 -1
- package/packages/acp/src/agent-catalog.test.ts +25 -0
- package/packages/acp/src/agent-catalog.ts +3 -1
- package/packages/acp/src/capabilities.ts +139 -0
- package/packages/acp/src/capability-parity.test.ts +99 -0
- package/packages/acp/src/catalog-runtime.test.ts +165 -6
- package/packages/acp/src/catalog-runtime.ts +234 -25
- package/packages/acp/src/extension-registry.test.ts +198 -0
- package/packages/acp/src/extension-registry.ts +285 -0
- package/packages/acp/src/extensions.test.ts +45 -0
- package/packages/acp/src/extensions.ts +103 -0
- package/packages/acp/src/harness-contract.test.ts +81 -0
- package/packages/acp/src/harness-contract.ts +62 -0
- package/packages/acp/src/index.ts +7 -0
- package/packages/acp/src/item-mapper.ts +28 -2
- package/packages/acp/src/prompt-content.test.ts +90 -0
- package/packages/acp/src/prompt-content.ts +99 -0
- package/packages/acp/src/runtimeAdapter.test.ts +471 -5
- package/packages/acp/src/runtimeAdapter.ts +791 -60
- package/packages/acp/src/session-hydrator.test.ts +135 -0
- package/packages/acp/src/session-hydrator.ts +147 -0
- package/packages/acp/src/terminal-service.test.ts +21 -2
- package/packages/acp/src/terminal-service.ts +23 -3
- package/packages/acp/src/test/fixtures/fake-acp-agent.mjs +514 -0
- package/packages/acp/src/workspace-boundary.test.ts +32 -0
- package/packages/acp/src/workspace-boundary.ts +47 -0
- package/packages/agent-runtime/src/types.ts +61 -1
- package/packages/codex/src/appServerManager.test.ts +2 -2
- package/packages/db/src/repositories.ts +3 -2
- package/packages/shared/src/index.ts +32 -1
- package/apps/supervisor-web/dist/assets/index-BXypG9kl.js +0 -22
- package/apps/supervisor-web/dist/assets/thread-ui-gcslNXur.js +0 -3968
package/README.md
CHANGED
|
@@ -273,6 +273,23 @@ normalized turn item in its supervisor SQLite database, so transcript history
|
|
|
273
273
|
remains available even when an ACP agent resumes context without replaying old
|
|
274
274
|
turns.
|
|
275
275
|
|
|
276
|
+
The [ACP core and harness extension convergence plan](docs/acp-core-harness-extension-convergence-plan.zh.md)
|
|
277
|
+
tracks durable history hydration, capability extensions, native Codex parity,
|
|
278
|
+
and the real E2E gates required before the native runtime can be retired.
|
|
279
|
+
|
|
280
|
+
Backend ownership is selected per thread. Keep both `codex` and `acp` enabled
|
|
281
|
+
while ACP capabilities are being rolled out: choose `acp` plus the concrete
|
|
282
|
+
agent for negotiated ACP behavior, or choose `codex` for native-only fork,
|
|
283
|
+
rollback, MCP management, skills, hooks, and host configuration. Existing
|
|
284
|
+
threads are never converted in place.
|
|
285
|
+
|
|
286
|
+
To roll back from Codex ACP, keep the existing ACP thread as readable history,
|
|
287
|
+
create or resume a thread with backend `codex`, and use Resume / Connect after a
|
|
288
|
+
Supervisor restart before sending the next prompt. Check
|
|
289
|
+
`/api/agent-runtimes/acp/status` for restart and failure counters and the
|
|
290
|
+
per-agent capability endpoint before re-enabling an ACP workflow. These
|
|
291
|
+
diagnostics contain counts and status only, not message text.
|
|
292
|
+
|
|
276
293
|
### Development
|
|
277
294
|
|
|
278
295
|
```bash
|
|
@@ -552,6 +569,20 @@ Supervisor 会先探测基础 Agent。基础 Agent 不存在时选项保持灰
|
|
|
552
569
|
所有规范化后的 turn item 持久化到 supervisor SQLite,因此即使 Agent 恢复上下文时
|
|
553
570
|
不回放旧 turn,前端 transcript 历史仍然可用。
|
|
554
571
|
|
|
572
|
+
[ACP Core 与 Harness 扩展收敛计划](docs/acp-core-harness-extension-convergence-plan.zh.md)
|
|
573
|
+
记录 durable history hydration、扩展能力、原生 Codex parity,以及允许退役原生
|
|
574
|
+
runtime 前必须通过的真实 E2E gate。
|
|
575
|
+
|
|
576
|
+
Backend owner 按 thread 选择。ACP 仍在分阶段启用时应同时保留 `codex` 和 `acp`:
|
|
577
|
+
选择 `acp` 并指定具体 Agent 可使用协商后的 ACP 能力;需要 native-only 的 fork、
|
|
578
|
+
rollback、MCP 管理、skills、hooks 或 host config 时选择 `codex`。已有 thread 不会
|
|
579
|
+
被原地转换成另一种 backend。
|
|
580
|
+
|
|
581
|
+
从 Codex ACP 回滚时,保留原 ACP thread 作为只读历史,创建或恢复 `codex` backend
|
|
582
|
+
thread;Supervisor 重启后先执行 Resume / Connect,再发送下一条 prompt。重新开放
|
|
583
|
+
ACP workflow 前检查 `/api/agent-runtimes/acp/status` 的 restart/failure 计数和
|
|
584
|
+
per-agent capability endpoint。这些诊断只包含计数和状态,不记录消息正文。
|
|
585
|
+
|
|
555
586
|
### 开发
|
|
556
587
|
|
|
557
588
|
```bash
|