feat: solo default, job completion reports, tools wave-1 (0.9.32)
Password Realm no longer auto-enables parliament (keeps task/worker tools); finished jobs fan out to agent notes + TUI; raise PAR_MAX/grep caps and tag truncations. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+13
-2
@@ -60,7 +60,18 @@ cst-agent-service status
|
||||
|
||||
或手动前台:`CST_REALM_PASSWORD=… cst-agent --service-fg`。
|
||||
|
||||
密码 Realm 开启后,直接打开 agent 会要求登录(TTY 下可当场输入密码)。
|
||||
## 单机默认(solo)
|
||||
|
||||
未设置 `collaboration` 时,**即使存在密码 Realm,默认也是单机 solo**:`task` /
|
||||
`worker_*` / runtime jobs 可用,不强制登录闸。密码 Realm 仅保管密钥,不再自动开议会。
|
||||
|
||||
要进入议会模式,任选其一:
|
||||
|
||||
- `CST_COLLABORATION=parliament` 或 `settings.json` 里 `"collaboration": "parliament"`
|
||||
- 已有 open 状态的 parliament meta(例如刚 `--login` 过)
|
||||
|
||||
显式议会模式下打开 agent 才要求登录(TTY 下可当场输入密码)。强制恢复本机 worker:
|
||||
`CST_COLLABORATION=legacy_workers`。
|
||||
|
||||
## 议员协作协议
|
||||
|
||||
@@ -71,7 +82,7 @@ cst-agent-service status
|
||||
3. 跨席相关的进度/议程/结果用工具 **`parliament_note`** 发布(`kind=status|agenda|result|handover`)
|
||||
4. 服务在写入后尽快 dial peers;回合内若 revision 变化,会注入 `[cst] Parliament shared context updated`
|
||||
|
||||
`settings.json` 的 `"collaboration": "parliament"`(或 `CST_COLLABORATION=parliament`),以及密码 Realm 存在时:
|
||||
显式 `"collaboration": "parliament"`(或 env)时:
|
||||
|
||||
- **硬禁用** `task` / `worker_*` / runtime 委托工具
|
||||
- 提供 `parliament_note`;提示词说明 chair / member 角色合同
|
||||
|
||||
@@ -82,6 +82,16 @@ HTTP 对应 `GET/POST /api/task`、`POST /api/jobs/cancel`、`POST /api/worktree
|
||||
保护取消、恢复配置、私有 index 与三方集成冲突;`tests/test_subagent` 验证模型路由和预算。
|
||||
真实 API 的费用、延迟、缓存命中提升需要运行下面的付费评测,不从模拟测试推导。
|
||||
|
||||
## 单机默认
|
||||
|
||||
默认协作模式是 **solo / legacy_workers**(未设 `CST_COLLABORATION` 且无 open
|
||||
parliament meta)。本机可直接使用本节全部工具;密码 Realm 不会自动关掉它们。
|
||||
仅当显式 `collaboration=parliament`(或已有 open parliament)时,这些工具被隐藏,
|
||||
改走 `parliament_note`。详见 `docs/parliament.md`「单机默认」。
|
||||
|
||||
作业终态会入队完成事件:TUI 推送一行系统消息,下一模型回合注入 `[cst] job …`
|
||||
笔记,减少盲轮询 `job_wait`。
|
||||
|
||||
## 任务和续接
|
||||
|
||||
首次通过 `task` 指定 `agent`、`description` 和完整 `prompt`,结果包含 `worker_id`。
|
||||
|
||||
Reference in New Issue
Block a user