Files
openbot/scripts
NBandClaude Opus 5.5 836562bf74 Defer Codex MCP tools except Computer Use (#5001)
* Defer Codex MCP tools except Computer Use

Each enabled MCP server was in features.code_mode.direct_only_tool_namespaces
since #2900. Codex then sent the schema of each MCP tool in each request and
did not use tool_search or exec deferral. Now only Computer Use stays direct,
because its results are screenshots. The developer instructions name the
deferred servers, so the model knows what to search for.

Fixes #4468

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Point Codex agents from OpenBot's tool search to their MCP tools

Since the previous commit, Codex defers each MCP server except Computer Use.
A model can still look for such a tool in OpenBot's own catalog first. Then
openbot.tool_search and a failed openbot.tool_call now tell it where the tool
is: Codex's tool_search, or ALL_TOOLS in exec. Pi keeps its own note.

Refs #4468

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the Codex deferred-server rule in one helper

The developer instructions and the tool router now use
codexDeferredMcpServers. Move the JSDoc of #deferredMcpNote off
#askUi. Correct the comment about resume: a session started before
keeps its MCP namespaces direct until its next new session.

Refs #4468

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:52:59 +01:00
..