fix: 收敛 stale thread 和 tool-call 错误归因
This commit is contained in:
@@ -86,9 +86,11 @@ Adapter 必须把 backend 错误映射为稳定 failureKind:
|
||||
| `backend-protocol-error` | backend 输出无法解析、协议字段缺失。 |
|
||||
| `backend-json-parse-error` | backend stdout 不是合法 JSON-RPC 行。 |
|
||||
| `backend-response-invalid` | backend JSON-RPC response/terminal notification 缺少必需字段。 |
|
||||
| `thread-resume-failed` | 已有 `SessionRef.threadId` 指向的 Codex rollout 不存在;adapter 必须失败本轮并保留原 session 指针,不得自动创建 replacement thread。 |
|
||||
| `backend-spawn-failed` | backend app-server 进程无法启动。 |
|
||||
| `backend-failed` | backend 进程非零退出或 terminal error。 |
|
||||
| `backend-timeout` | executionPolicy timeout 触发。 |
|
||||
| `provider-invalid-tool-call` | provider / Codex app-server 返回无效 tool-call arguments JSON,例如 `invalid_prompt` 与 `invalid function arguments json string`。 |
|
||||
| `cancelled` | interrupt/cancel 生效。 |
|
||||
|
||||
## Credential Boundary
|
||||
|
||||
Reference in New Issue
Block a user