fix: replace stale codex threads
This commit is contained in:
@@ -86,7 +86,7 @@ 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。 |
|
||||
| `thread-resume-failed` | `thread/resume` 遇到不可归类为旧 rollout 缺失的协议错误,或 replacement `thread/start` 也失败;已有 `SessionRef.threadId` 指向的 Codex rollout 不存在时应先按 `thread/resume:non-resumable` 记录并创建 replacement thread,不再直接终止用户 turn。 |
|
||||
| `backend-spawn-failed` | backend app-server 进程无法启动。 |
|
||||
| `backend-failed` | backend 进程非零退出或 terminal error。 |
|
||||
| `backend-timeout` | executionPolicy timeout 触发。 |
|
||||
|
||||
Reference in New Issue
Block a user