Commit Graph
24 Commits
Author SHA1 Message Date
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 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 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 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
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
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 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 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 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
chenhg5andClaude 048563b352 feat(markdown): add StripMarkdown utility for LINE and WeCom
Add new utility function StripMarkdown to convert Markdown to plain text
for platforms without Markdown support. Integrate into LINE and WeCom
platforms to ensure proper message formatting.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 09:36:37 +08:00
chenhg5andClaude e22a6028f4 feat(codex): add OpenAI Codex agent support with docs and config updates
Add new Codex agent implementation with permission modes, session management, and history retrieval. Update installation docs, README files, and config templates to reflect Codex support. Enhance session listing and history commands to work with both Claude and Codex agents.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 09:20:38 +08:00
chenhg5andClaude 5ab969cec5 feat(wecom): add Markdown support and improve help formatting
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-01 00:09:50 +08:00
chenhg5andClaude 737f4f8c75 feat(claudecode): enhance permission modes with runtime switching
generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 23:44:59 +08:00
chenhg5andClaude ecd0e0070f feat(claudecode): refactor agent into persistent session model with permission handling and i18n support
This major refactor:

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 22:05:12 +08:00
chenhg5 b3f9887454 feat(wecom): add proxy support for API calls
generated by llmgit

o-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 16:02:23 +08:00
chenhg5andClaude 16bec7cc38 feat(platform): add WeChat Work support with AES encryption
Add support for WeChat Work (企业微信) as a new platform with full HTTP Webhook integration. Includes:
- AES-256-CBC message encryption/decryption
- Token verification and message handling
- API client for sending messages with access token caching
- Documentation updates in README and config
- Chinese language README support
- Example configuration

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 15:25:31 +08:00
chenhg5andClaude 2b1152c1c7 feat(platform): add support for Telegram, Slack, Discord and LINE
The changes introduce support for four new messaging platforms:

Includes implementation code for LINE platform adapter, documentation updates in READMEs, and configuration examples. Also adds required dependencies to go.mod.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 15:17:17 +08:00
chenhg5andClaude eaec71f8a5 feat: add Telegram, Slack and Discord platform support
Add new platform integrations with configuration examples and dependencies:
- Telegram long polling bot support
- Slack Socket Mode WebSocket integration
- Discord Gateway WebSocket connection
- Include required dependencies in go.mod

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 14:56:29 +08:00
chenhg5andClaude 461a535c92 feat(dingtalk): add logging and example config
Add detailed DingTalk configuration example and logging for stream connection and messages.

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 14:37:53 +08:00
chenhg5andClaude 92164b38fb feat(claudecode): add session management and persistence support
Add session listing capability via Agent interface
Implement session persistence in SessionManager
Improve Feishu markdown formatting support
Add verbose logging and error handling
Clean up session switching logic
Support session resume via --resume flag
Add agent session metadata scanning

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 12:53:43 +08:00
chenhg5andClaude 3b097a80cb init
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 10:38:24 +08:00