New Features
-
Codex Agent Support: Full integration with OpenAI Codex CLI (
codex exec --json). Supports session persistence viacodex exec resume, multi-turn conversations, and all permission modes (suggest / auto-edit / full-auto / yolo). -
API Provider Management: Switch between multiple API providers (Anthropic direct, relay services, AWS Bedrock, etc.) at runtime without restarting.
- Chat commands:
/provider list,/provider add,/provider remove,/provider switch <name> - CLI commands:
cc-connect provider add/list/remove - Import from cc-switch:
cc-connect provider importreads providers from cc-switch-cli's SQLite database - Provider credentials are injected as environment variables into agent subprocesses — no live config file modifications
- Supports arbitrary env vars via
envmap for Bedrock, Vertex, Azure, etc.
- Chat commands:
-
Global Config Location: Default config path changed to
~/.cc-connect/config.toml. Search order:-configflag →./config.toml→~/.cc-connect/config.toml. Backward compatible with local configs. -
Session Data in ~/.cc-connect/sessions/: Session files moved to
~/.cc-connect/sessions/by default (configurable viadata_dir). Old local.cc-connect/files are auto-detected for backward compatibility. -
Self-Update with Pre-release Support:
cc-connect update— update to latest stable releasecc-connect update --pre— update to latest pre-release (for beta testers)cc-connect check-update [--pre]— check for updates without installing
-
Language Switching:
/lang [en|zh|auto]command to switch bot language at runtime, with auto-detection from user messages. -
Markdown Stripping: Platforms that don't support Markdown (WeChat Work on mobile, LINE) now receive clean plain-text output.
Improvements
- Session History from Backend:
/historycommand now falls back to reading agent backend session files (Claude Code JSONL, Codex thread transcripts) when in-memory history is empty (e.g., after/switch). - Codex Session Resumption: Restarting cc-connect preserves Codex session context via
codex exec resume <threadID>. - 12-char Session IDs:
/listnow shows 12-character session ID prefixes (up from 8) to reduce collisions. - Feishu Read Receipt Handling: Silently handles
im.message.message_read_v1events instead of logging errors. - Upgrade Documentation: Added upgrade instructions to INSTALL.md for npm, binary, and source users.
Configuration Changes
# New: global config path
data_dir = "/custom/path" # default: ~/.cc-connect
# New: provider management
[projects.agent.options]
provider = "anthropic" # active provider name
[[projects.agent.providers]]
name = "anthropic"
api_key = "sk-ant-xxx"
[[projects.agent.providers]]
name = "relay"
api_key = "sk-xxx"
base_url = "https://api.relay-service.com"
model = "claude-sonnet-4-20250514"
[[projects.agent.providers]]
name = "bedrock"
env = { CLAUDE_CODE_USE_BEDROCK = "1", AWS_PROFILE = "bedrock" }Full Command Reference (v1.1.0)
| Command | Description |
|---|---|
/new [name]
| Start a new session |
/list
| List agent sessions |
/switch <id>
| Resume an existing session |
/current
| Show current session info |
/history [n]
| Show last n messages |
/provider [list|add|remove|switch]
| Manage API providers |
/allow <tool>
| Pre-allow a tool |
/mode [name]
| View/switch permission mode |
/lang [en|zh|auto]
| View/switch language |
/quiet
| Toggle thinking/tool progress |
/stop
| Stop current execution |
/help
| Show available commands |