feat: add Codex Chat/Ask/Code modes with readonly Ask profile#13
Open
z13321812367-sys wants to merge 13 commits into
Open
feat: add Codex Chat/Ask/Code modes with readonly Ask profile#13z13321812367-sys wants to merge 13 commits into
z13321812367-sys wants to merge 13 commits into
Conversation
…e Sonnet 5 - Add InteractionMode enum (Chat/Ask/Code) stored in ProxyService Arc<RwLock<>> - Add Chat Profile: remove tools/instructions/reasoning/project context - Add Ask Profile: remove instructions, filter to 3 read-only MCP tools, sanitize environment_context to cwd-only, strip non-MCP tool protocol - Add ccswitch-readonly-mcp binary exposing project-tree/file MCP resources - Fix Code continuation for tool call sequences (transform_codex_chat.rs) - Add UI toggle [Chat] [Ask] [Code] in proxy status bar with aria-pressed - Register ccswitch_readonly MCP server in ~/.codex/config.toml - Add gpt-5.4-mini request shape logging - Preserve existing Chat and Code paths unchanged
5fbdebe to
5b3e54f
Compare
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
Adds runtime Chat / Ask / Code modes for Codex-routed custom providers.
Chat
Ask
Code
Also includes Codex router/catalog hardening and upstream v3.16.4-16 merge.
Additional hardening
Validation
cargo fmtcargo test --manifest-path .\src-tauri\Cargo.toml --lib claude_chat_profilecargo test --manifest-path .\src-tauri\Cargo.toml --lib claude_ask_profilecargo test --manifest-path .\src-tauri\Cargo.toml --lib deepseekcargo test --manifest-path .\src-tauri\Cargo.toml --lib custom_routedcargo check --manifest-path .\src-tauri\Cargo.toml --bin cc-switchpnpm typecheck