mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-30 03:15:30 +00:00
Users who run MCP tools through a CLI wrapper (e.g. philschmid/mcp-cli) instead of registering servers natively don't produce Codex mcp_tool_call_end events; Codex logs a plain exec_command. So their MCP usage showed only as a shell command and was absent from the MCP breakdown, even after #513 fixed the native path. - Recognize `mcp-cli [options] call <server> <tool>` in the exec command and also attribute it as mcp__<server>__<tool>. The exec still counts as Bash since it genuinely is a shell exec. Flag-tolerant, quote/path/bash-lc tolerant, and scoped to the mcp-cli binary (not foo-mcp-cli); only the `call` subcommand (a real execution) matches, not info/grep/listing. - Register `codex` in PROVIDER_PARSE_VERSIONS. session-cache.json serves unchanged session files without invoking the provider parser, so the codex-cache version bump alone would never re-attribute already-cached sessions. This also retroactively repairs #513's native-MCP fix for users whose files were cached before it shipped. - Bump CODEX_CACHE_VERSION 4->5 for the provider-internal layer. Tested: parse cases (bash -lc wrapper, flags-before-call, argv array, plus info/grep/foo-mcp-cli negatives), and a mutation-verified cache regression test that fails without the PROVIDER_PARSE_VERSIONS entry. ReDoS-checked. Reviewed with a Fable 5 adversarial pass (Codex is down); its two must-fixes (the cache gap and the flags-before-call miss that would have missed the reporter's own sessions) are folded in. Fixes #478 |
||
|---|---|---|
| .. | ||
| antigravity.test.ts | ||
| claude-config-dirs.test.ts | ||
| cline.test.ts | ||
| codebuff.test.ts | ||
| codex.test.ts | ||
| copilot.test.ts | ||
| crush.test.ts | ||
| cursor-agent.test.ts | ||
| cursor-bubble-dedup.test.ts | ||
| cursor-large-db-cap.test.ts | ||
| cursor-real-tokens.test.ts | ||
| cursor-workspace-breakdown.test.ts | ||
| cursor.test.ts | ||
| devin.test.ts | ||
| droid.test.ts | ||
| forge.test.ts | ||
| gemini.test.ts | ||
| grok.test.ts | ||
| hermes.test.ts | ||
| ibm-bob.test.ts | ||
| kilo-code.test.ts | ||
| kimi.test.ts | ||
| kiro.test.ts | ||
| lingtai-tui.test.ts | ||
| mistral-vibe.test.ts | ||
| mux.test.ts | ||
| omp.test.ts | ||
| open-design.test.ts | ||
| openclaw.test.ts | ||
| opencode-file.test.ts | ||
| opencode.test.ts | ||
| pi.test.ts | ||
| roo-code.test.ts | ||
| vercel-gateway.test.ts | ||
| vscode-cline-parser.test.ts | ||
| warp.test.ts | ||
| zcode.test.ts | ||
| zed.test.ts | ||
| zerostack.test.ts | ||