Fix codex mcp web_search timeline output
This commit is contained in:
@@ -419,9 +419,10 @@ Build a new Codex MCP provider side‑by‑side with the existing Codex SDK prov
|
||||
- Ensure MCP server tool calls surface `server`, `tool`, `input`, and `output` fields.
|
||||
- **Done (2025-12-25 00:00)**: WHAT: added MCP tool identifier/payload extraction helpers and used them for `mcp_tool_call` timeline mapping in `packages/server/src/server/agent/providers/codex-mcp-agent.ts:224` and `packages/server/src/server/agent/providers/codex-mcp-agent.ts:1721`. RESULT: MCP tool call timeline items now normalize server/tool/input/output fields from multiple event shapes. EVIDENCE: Not run (not requested).
|
||||
|
||||
- [ ] **Fix**: Codex MCP web_search timeline items should include query input and results output.
|
||||
- [x] **Fix**: Codex MCP web_search timeline items should include query input and results output.
|
||||
|
||||
- Ensure web_search tool calls emit a timeline item with query and results.
|
||||
- **Done (2025-12-25 00:18)**: WHAT: added web_search query/output extraction and result fallback mapping in `packages/server/src/server/agent/providers/codex-mcp-agent.ts:1735`. RESULT: web_search timeline items now include query input and results output when present. EVIDENCE: Not run (not requested).
|
||||
|
||||
- [ ] **CRITICAL REFACTOR**: Eliminate ALL type casting and defensive coding in Codex MCP provider.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user