Commit Graph
84 Commits
Author SHA1 Message Date
chenhg5andClaude 7764465bc0 feat(cursor): improve session listing with message count and summary
- Add message count display for each session
- Use first user message as summary fallback instead of session ID
- Fix meta value reading (direct TEXT read, not hex() wrapped)
- Add RootBlobID tracking for message blob traversal
- Parse blob protobuf structure to count user/assistant messages

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-04 09:30:20 +08:00
chenhg5andClaude Opus 4.6 ca728fbe70 feat: add SkillProvider support for codex, cursor, qoder agents
Extend skill discovery to remaining agents:
- codex: .codex/skills + .claude/skills + CODEX_HOME/skills
- cursor: .claude/skills (project + home)
- qoder: .claude/skills (project + home)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 09:02:39 +08:00
chenhg5andClaude Opus 4.6 68b2c7b320 feat: add agent skills discovery and execution
Add support for discovering and invoking agent skills from SKILL.md files:
- Skills are auto-discovered from .claude/skills/<name>/SKILL.md (claudecode)
  and .gemini/skills/<name>/SKILL.md (gemini)
- New /skills command to list available skills
- Skills can be invoked via /<skill-name> [args...]
- SKILL.md supports optional YAML frontmatter (description, name)
- Full i18n support for 5 languages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 08:51:54 +08:00
chenhg5andClaude 522f9ff4c9 feat(commands): add custom slash command system with config and file-based commands
Add support for customizable slash commands that expand prompt templates with arguments. Includes:
- CommandProvider interface for agent-specific command directories
- Command registry with config.toml and agent file support
- Template expansion with placeholders ({{1}}, {{args}}, etc.)
- Dynamic command management via `/commands add/del`
- Multi-language support and documentation
- Example config additions and implementation for Claude/Gemini agents

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-04 07:34:00 +08:00
chenhg5andClaude Opus 4.6 9a291eb0c3 feat: add daemon mode for running as background service
Add support for running cc-connect as a daemon managed by OS init system:
- Linux: systemd user service
- macOS: launchd LaunchAgent

New CLI commands:
- cc-connect daemon install/uninstall
- cc-connect daemon start/stop/restart/status
- cc-connect daemon logs [-f] [-n N] [--log-file PATH]

Features:
- Auto log rotation with configurable max size
- Cross-platform support (systemd/launchd)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 00:18:55 +08:00
cg33 afd15318b6 Merge pull request #10 from kevinWangSheng/feat/telegram-proxy
feat(telegram): add proxy support
2026-03-03 23:13:28 +08:00
shenghui kevin 997c2d8f6b fix: only override http.Transport when proxy is configured
An empty http.Transport{} loses Go's default TLS settings, causing
NewBotAPIWithClient to hang on the initial getMe call. Only set a
custom transport when a proxy URL is actually provided.
2026-03-03 07:09:54 -08:00
shenghui kevin 225508b0dc feat(telegram): add proxy support
Support HTTP/SOCKS5 proxy for Telegram API requests via config options:

  proxy = "http://proxy.example.com:8080"
  proxy_username = "user"    # optional
  proxy_password = "pass"    # optional

Covers both bot API calls and file downloads. Follows the same
pattern as the existing wecom proxy implementation.

Closes #6
2026-03-03 07:00:38 -08:00
chenhg5andClaude cca838504a feat(qoder): add Qoder CLI agent support
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 22:43:20 +08:00
chenhg5andClaude 55d0d1db42 docs: remove beta labels and references from documentation
The documentation has been updated to remove all beta labels and references, indicating that previously beta features are now considered stable. This includes removing beta installation instructions, updating feature status indicators, and removing beta section headers.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 19:25:02 +08:00
chenhg5andClaude df9f38894d feat(wecom): add proxy authentication support
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 19:14:37 +08:00
chenhg5andClaude e7d67fc87d feat(i18n): add Traditional Chinese, Japanese and Spanish language support
Added support for three new languages (Traditional Chinese, Japanese and Spanish) throughout the application including:
- Added new language constants and detection logic
- Updated weekday/month names and cron expression formatting
- Added localized strings for all UI messages
- Implemented language-specific formatting for durations
- Extended language switching command
- Added CJK and Spanish character detection
- Consolidated hardcoded strings into i18n system

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 19:09:45 +08:00
chenhg5andClaude b229ea5801 feat(cc-connect): add --stdin support and improve message sending
- Added --stdin support for sending multi-line/special character messages via heredoc

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 18:03:59 +08:00
chenhg5 ac6915e682 build: release v1.1.0 — first stable release with /compress, Telegram inline buttons, /model, /memory, /status 2026-03-03 14:38:30 +08:00
chenhg5andClaude 24ea984569 feat(telegram): add inline buttons for permission prompts
Implemented interactive buttons for permission prompts in Telegram platform:
- Added new `InlineButtonSender` interface for platforms supporting inline buttons
- Created `sendPermissionPrompt` method in Engine that uses buttons when available
- Added Telegram-specific implementation (`SendWithButtons` and callback handling)
- Support both English and Chinese button labels
- Includes fallback to text-only prompts when buttons fail

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 12:46:44 +08:00
chenhg5andClaude 88e55674a5 feat(core): add context compression support
Implement context compression functionality across agents with `/compress` and `/compact` commands. Adds ContextCompressor interface, command handling in engine, and i18n messages. Supported agents implement CompressCommand() with their specific commands.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 09:59:00 +08:00
chenhg5andClaude 8f18225de8 docs: update wechat group image format in README.zh-CN
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 21:55:44 +08:00
chenhg5andClaude 701975d414 docs: improve README with detailed features and architecture
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 21:26:47 +08:00
chenhg5andClaude 5354a1655f feat(cron): enhance job listing with human-readable schedules and improved formatting
Add NextRun method to CronScheduler and implement CronExprToHuman for converting cron expressions to localized human-readable strings. Improve cron job listing output with better formatting, localized schedules, next run times, and clearer error reporting.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 20:50:56 +08:00
chenhg5 1bf2f6f0c0 build: release v1.1.0-beta.7 2026-03-02 19:40:11 +08:00
chenhg5andClaude 9265d2bdff feat(agent): add model switching support with /model command
Add model selection capabilities across all agents with:
- ModelSwitcher interface for dynamic model switching
- `/model` command to list/change models
- Default model lists for each agent
- API-based model fetching with fallback
- Session-aware model persistence
- I18n support for model messages

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 19:36:27 +08:00
chenhg5andClaude 63db71a288 feat(engine): add status command with uptime and system info
Add new `/status` command that displays system information including:
- Project and agent details
- Connected platforms
- Uptime calculation with i18n formatting
- Current language and session info
- Cron job statistics
Add supporting duration formatting utilities and i18n messages.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 19:08:15 +08:00
chenhg5andClaude cf7c7703a4 docs: add Cursor and Gemini CLI permission modes documentation
Add documentation for permission modes of Cursor Agent and Gemini CLI, including config values and behaviors. Also update introduction text to reflect all agents support mode switching.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 18:15:25 +08:00
chenhg5andClaude c05f87759a feat(memory): add /memory command with project/global file support
Add MemoryFileProvider interface and implement in claudecode, codex, and gemini agents
Add /memory command to view/edit memory files with translations
Update help text to include new command

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 18:09:32 +08:00
chenhg5andClaude ae5cc0bfcf docs: add natural language scheduling documentation
Add detailed instructions for enabling natural language scheduling capabilities with cc-connect cron jobs across different agents (Claude Code, Codex, Cursor, Gemini CLI). Includes CLI commands, slash commands, and agent-specific setup guides.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 17:55:10 +08:00
chenhg5andClaude 9515cfa921 ci: add GitHub issue templates for bug reports, feature requests, and integrations
Add structured issue templates to standardize bug reports, feature requests, and integration support requests. Includes templates for:
- Bug reports with version, OS, reproduction steps
- Feature requests with problem/solution descriptions
- Platform/agent integration requests with API details

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 17:44:54 +08:00
chenhg5andClaude 3bcc969209 feat(claudecode): add system prompt support and user allowlist
Implement agent system prompts explaining cc-connect capabilities
Add AllowList function for platform user authorization

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 17:34:43 +08:00
chenhg5 61b914dd2a chore: ignore RELEASE.md in gitignore 2026-03-02 16:14:55 +08:00
chenhg5 e7cb89698a build: release v1.1.0-beta.6 — QQ platform, cron scheduling, display config 2026-03-02 15:51:50 +08:00
chenhg5andClaude c6a453ef70 feat(display): add configurable message truncation settings
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 15:44:37 +08:00
chenhg5andClaude b4fd9bf940 feat(feishu): add configurable emoji reactions
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 15:19:35 +08:00
chenhg5 70c12c61fe fix: Windows /list shows no sessions due to path colon in project key
On Windows, absolute paths contain ":" (e.g., C:\Users\...) which is
invalid in directory names. Claude Code encodes the project key differently
on Windows. Added findProjectDir() that tries multiple key formats and
falls back to scanning ~/.claude/projects/ with case-insensitive matching.
2026-03-02 14:53:52 +08:00
chenhg5andClaude c33f90cb34 feat(cron): add cron scheduling system with CLI and API support
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 14:35:05 +08:00
chenhg5andClaude cc093f87db feat: add version command and info display
Add version information display capability including:
- Setting version info (build version, commit, time) at startup
- Adding /version command handler
- Including /version in help messages

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 12:15:11 +08:00
chenhg5andClaude c88d46a973 feat(qq): add QQ platform support via OneBot v11/NapCat
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 11:50:53 +08:00
chenhg5andClaude 7cb23971bf docs: fix markdown image syntax in Chinese README
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-02 10:03:30 +08:00
chenhg5 4657e8ff7e docs(INSTALL): clarify global config path ~/.cc-connect/config.toml 2026-03-01 22:36:36 +08:00
chenhg5 be12ca8d36 fix: add filterEnv for CLAUDECODE removal, update INSTALL.md startup guide 2026-03-01 22:32:41 +08:00
chenhg5 38761a26ed build: release v1.1.0-beta.5 — Gemini CLI + Cursor Agent support 2026-03-01 21:47:54 +08:00
chenhg5andClaude b6f2a25505 feat(gemini): add Gemini CLI agent support
Add support for Google Gemini CLI as a new agent type. Includes:
- New gemini agent implementation with session management

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 21:39:28 +08:00
chenhg5andClaude ed8778b99e feat(agent): add Cursor Agent integration with CLI support
Add full integration for Cursor Agent with support for CLI interactions via `agent --print --output-format stream-json`. Includes:
- New cursor package with Agent and Session implementations

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 19:28:41 +08:00
chenhg5andClaude 670e2a6665 docs(INSTALL): add beta version installation instructions
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 14:08:32 +08:00
chenhg5andClaude 8f0137f127 docs: add beta version installation instructions
Add instructions for installing beta version in both English and Chinese READMEs. Fix Chinese README image syntax.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 13:58:00 +08:00
chenhg5andClaude fb6c65941f feat(run): add auto-reinstall logic for outdated binaries
Add version check and automatic reinstallation when binary is missing or outdated. Improve error handling and user feedback.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 13:41:56 +08:00
chenhg5 7687ff3116 fix(npm): check binary version on install, replace outdated binary instead of skipping 2026-03-01 13:24:06 +08:00
chenhg5 edb5675807 docs: mark beta features in README and INSTALL.md 2026-03-01 13:10:35 +08:00
chenhg5 35e2d7ec91 build: release v1.1.0-beta.3 — voice messages, image support, CLI send 2026-03-01 12:59:10 +08:00
chenhg5andClaude 8098e85c1d refactor(wecom): wrap media handling in goroutines
Move media download and handler calls into goroutine closures to prevent blocking.
This ensures the HTTP request completes while processing continues async.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 12:55:43 +08:00
chenhg5andClaude f75da06fee feat(speech): add voice message support with Whisper API and ffmpeg integration
Add speech-to-text functionality for voice messages using OpenAI/Groq Whisper API. Includes:
- Configurable speech provider (OpenAI or Groq)
- Audio format conversion via ffmpeg
- Support for voice messages on Feishu, WeChat Work, Telegram, LINE, Discord, Slack
- Internationalization messages for voice transcription flow
- Documentation updates in README and config example

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 12:29:40 +08:00
chenhg5andClaude 4871157250 feat(claude): add image support and CLI API server for sending messages
Add multimodal image support to Claude sessions by saving attachments to temp files and sending as base64-encoded content. Implement new CLI `send` command and Unix socket API server for external tools to send messages to active sessions. Image support added across all platforms (Discord, Feishu, Line, Slack, Telegram, WeCom).

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 12:08:00 +08:00