fix(codex): bound dynamic tool bridge responses

This commit is contained in:
Peter Steinberger
2026-04-29 18:13:43 +01:00
parent a16f7fb6cd
commit 09baec68ea
9 changed files with 305 additions and 13 deletions

View File

@@ -569,6 +569,12 @@ Supported `appServer` fields:
| `approvalsReviewer` | `"user"` | Use `"auto_review"` to let Codex review native approval prompts. `guardian_subagent` remains a legacy alias. |
| `serviceTier` | unset | Optional Codex app-server service tier: `"fast"`, `"flex"`, or `null`. Invalid legacy values are ignored. |
OpenClaw-owned dynamic tool calls are bounded independently from
`appServer.requestTimeoutMs`: each Codex `item/tool/call` request must receive
an OpenClaw response within 30 seconds. On timeout, OpenClaw aborts the tool
signal where supported and returns a failed dynamic-tool response to Codex so
the turn can continue instead of leaving the session in `processing`.
Environment overrides remain available for local testing:
- `OPENCLAW_CODEX_APP_SERVER_BIN`