github chenhg5/cc-connect v1.1.0-beta.1
Release v1.1.0-beta.1

latest releases: v1.3.3-beta.4, v1.3.3-beta.3, v1.3.3-beta.2...
pre-release3 months ago

New Features

  • Codex Agent Support: Full integration with OpenAI Codex CLI (codex exec --json). Supports session persistence via codex 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 import reads 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 env map for Bedrock, Vertex, Azure, etc.
  • Global Config Location: Default config path changed to ~/.cc-connect/config.toml. Search order: -config flag → ./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 via data_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 release
    • cc-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: /history command 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: /list now shows 12-character session ID prefixes (up from 8) to reduce collisions.
  • Feishu Read Receipt Handling: Silently handles im.message.message_read_v1 events 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

Don't miss a new cc-connect release

NewReleases is sending notifications on new releases.