[codex] add agent-aware Wingman chat channels#208
Merged
Conversation
What was built/changed: - New files: shell/chat/tandem-local-backend.js - Modified files: shell/index.html, shell/js/wingman/chat.js, shell/js/wingman/chat-streaming.js, src/api/routes/media.ts, src/panel/manager.ts, src/ipc/handlers.ts, src/preload/panel.ts, src/mcp/tools/chat.ts, src/mcp/tests/chat.test.ts, src/api/tests/helpers.ts, src/api/tests/routes/media.test.ts, src/config/manager.ts, src/config/tests/config.test.ts, CHANGELOG.md, TODO.md - New API endpoints: GET /chat/messages, POST /chat/messages, DELETE /chat/messages, GET /chat/status, GET /chat/wait Why this approach: - Adds a Tandem-local chat backend for MCP/API agents while preserving OpenClaw and Claude backends for configured agents. - Filters Wingman chat tabs from Connected Agents so Codex no longer appears through the legacy Claude channel. Tested: - npx tsc: zero errors - npx vitest run src/config/tests/config.test.ts src/api/tests/routes/media.test.ts src/mcp/tests/chat.test.ts: 136 tests passed - Manual: Tandem Wingman chat showed only Codex when Codex was the sole connected agent, accepted Robin messages, and rendered Codex replies through the local chat bus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
npx tsc— passed with zero errors.npx vitest run src/config/tests/config.test.ts src/api/tests/routes/media.test.ts src/mcp/tests/chat.test.ts— 136 tests passed.Notes
feat:PR should get the normal release/version bump required by the repo policy.