mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Support cua_repl as a Node REPL-backed MCP server (#40257)
## What changed - Recognize `cua_repl` alongside `node_repl` when collecting Guardian review evidence, applying computer-use policy, and capturing transcript images. - Render `cua_repl.js` results with the compact REPL history and transcript views. - Preserve failed MCP call status and result content when replaying app-server history. ## Testing - Cover both REPL server names across Guardian policy, evidence, image capture, history rendering, and failed-call replay tests. GitOrigin-RevId: 8c13a721f718add403b07e727c1634b59203c51a
This commit is contained in:
1 parent
c9b19deb09
commit
2161ec272a
16 files changed
+260
-82
No files matched your search
@@ -197,6 +197,7 @@ impl ChatWidget {
|
||||
id,
|
||||
server,
|
||||
tool,
|
||||
status,
|
||||
arguments,
|
||||
result,
|
||||
error,
|
||||
@@ -219,7 +220,7 @@ impl ChatWidget {
|
||||
Ok(codex_protocol::mcp::CallToolResult {
|
||||
content: result.content,
|
||||
structured_content: result.structured_content,
|
||||
is_error: Some(false),
|
||||
is_error: Some(status == codex_app_server_protocol::McpToolCallStatus::Failed),
|
||||
meta: None,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user