Skip to content

feat: Add Codex CLI support#4

Merged
AbdullahSAhmad merged 1 commit into
masterfrom
feat/codex-support
Mar 11, 2026
Merged

feat: Add Codex CLI support#4
AbdullahSAhmad merged 1 commit into
masterfrom
feat/codex-support

Conversation

@AbdullahSAhmad

Copy link
Copy Markdown
Collaborator

Summary

  • Add full Codex CLI agent support with JSONL session file watching, tool normalization, and task graph integration
  • CodexWatcher with recursive YYYY/MM/DD scanning, Windows polling fallback, and subagent detection
  • CodexParser handles function_call, native *_call types (web_search_call etc.), agent_message, agent_reasoning, and token_count events
  • Task graph now supports both Codex {plan} and OpenCode {todos} TodoWrite formats

Test plan

  • Start a Codex agent and verify it appears as a sprite in the visualization
  • Verify tool activities (shell_command, read_file, web_search) move the agent to correct zones
  • Verify Codex plan steps appear in the task graph panel
  • Verify OpenCode TodoWrite tasks also appear in the task graph panel
  • Test on Windows to confirm polling-based file watching works

🤖 Generated with Claude Code

…sk graph

- Add CodexWatcher with recursive YYYY/MM/DD session scanning and Windows polling
- Add CodexParser for response_item/event_msg JSONL parsing (function_call, native *_call types, agent_message, agent_reasoning, token_count)
- Add 24 Codex tool name mappings (shell_command, spawn_agent, update_plan, etc.)
- Add 'codex' AgentType with CX badge in client
- Support Codex subagent detection via spawn_agent call dedup
- Add TodoWrite/update_plan task graph support for both Codex ({plan}) and OpenCode ({todos}) formats
- Forward TodoWrite to task graph manager in activity-processor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AbdullahSAhmad
AbdullahSAhmad merged commit 1ebdfcc into master Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant