Client or integration
Codex App, through OpenCodeX's Cursor provider adapter, using a fresh native multi-agent child routed to cursor/grok-4.6.
Area
Tools / MCP / web search
Summary
Fresh Cursor-routed Codex Desktop subagents can respond but cannot execute the Desktop terminal tool. The same fresh task succeeds on a native gpt-5.6-terra child.
This is not a sandbox or permission problem. The parent exposes Codex Desktop's unified custom terminal tool as exec; the Cursor adapter's generic tool-use path only preserves bare exec_command / shell_command aliases, which are absent from this child catalog.
Reproduction
- Start a fresh Codex Desktop task through OpenCodeX.
- Spawn a fresh
cursor/grok-4.6 subagent with no inherited conversation context.
- Ask it to execute a harmless local command such as
pwd.
- The child replies, but cannot use the bridge:
Tool not found: exec_command
Tool not found: shell_command
- A bridge-only prompt reports a Cursor-native catalog plus
mcp_opencodex-responses_request_user_input, with neither shell bridge alias present.
- Run the identical task with a fresh native
gpt-5.6-terra child: pwd succeeds with exit code 0.
Version
OpenCodeX 2.14.2; Codex Desktop runtime 0.148.0-alpha.9.
Operating system
macOS on Apple Silicon.
Provider and model
cursor/grok-4.6
Logs or error output
Cursor child:
Tool not found: exec_command
Tool not found: shell_command
Native Terra control:
pwd
/Users/.../Documents/Codex/...
exit code 0
Description
The installed adapter already recognizes unified exec as an execution-path tool:
const CURSOR_EXECUTION_PATH_TOOL_NAMES = [
CODEX_UNIFIED_EXEC_TOOL, // "exec"
CODEX_EXEC_COMMAND_TOOL,
CODEX_SHELL_COMMAND_TOOL,
];
However, its generic-tool-use filter uses the narrower bare-alias predicate:
function isBareCodexExecCommandTool(tool) {
return isBareCodexShellBridgeTool(tool);
}
const execTools = tools?.filter(isBareCodexExecCommandTool);
That excludes unified exec. In addition, src/adapters/cursor/native-exec.ts returns an error for a Responses client tool over native MCP-exec: bridge suspension is not implemented.
Expected behavior:
- Preserve unified Desktop
exec when filtering and prioritizing Cursor execution tools.
- Do not instruct a child to call
exec_command or shell_command unless that exact name is present in its catalog.
- Relay the resulting client tool call back to Codex Desktop so the nested
tools.exec_command(...) operation executes.
- Add regressions for a fresh
cursor/* subagent with unified exec, including generic tool-use prompts.
Related issues
Checks
Client or integration
Codex App, through OpenCodeX's Cursor provider adapter, using a fresh native multi-agent child routed to
cursor/grok-4.6.Area
Tools / MCP / web search
Summary
Fresh Cursor-routed Codex Desktop subagents can respond but cannot execute the Desktop terminal tool. The same fresh task succeeds on a native
gpt-5.6-terrachild.This is not a sandbox or permission problem. The parent exposes Codex Desktop's unified custom terminal tool as
exec; the Cursor adapter's generic tool-use path only preserves bareexec_command/shell_commandaliases, which are absent from this child catalog.Reproduction
cursor/grok-4.6subagent with no inherited conversation context.pwd.Tool not found: exec_commandTool not found: shell_commandmcp_opencodex-responses_request_user_input, with neither shell bridge alias present.gpt-5.6-terrachild:pwdsucceeds with exit code 0.Version
OpenCodeX
2.14.2; Codex Desktop runtime0.148.0-alpha.9.Operating system
macOS on Apple Silicon.
Provider and model
cursor/grok-4.6Logs or error output
Description
The installed adapter already recognizes unified
execas an execution-path tool:However, its generic-tool-use filter uses the narrower bare-alias predicate:
That excludes unified
exec. In addition,src/adapters/cursor/native-exec.tsreturns an error for a Responses client tool over native MCP-exec:bridge suspension is not implemented.Expected behavior:
execwhen filtering and prioritizing Cursor execution tools.exec_commandorshell_commandunless that exact name is present in its catalog.tools.exec_command(...)operation executes.cursor/*subagent with unifiedexec, including generic tool-use prompts.Related issues
shell_command/exec_commandaliasing and argument normalization.execduring catalog truncation. This report concerns the separate generic-filter path, which still selects only bare shell aliases.Checks