Feature Request: Add support for CodeBuddy (Tencent Cloud AI Code Editor)
#1,966 创建于 2026年5月19日
仓库指标
- Star
- (48,085 star)
- PR 合并指标
- (平均合并 11天 1小时) (30 天内合并 45 个 PR)
描述
Summary
RTK currently supports a wide range of AI coding tools (Claude Code, Cursor, Gemini CLI, Codex, Windsurf, Cline, etc.), but CodeBuddy is not yet supported.
CodeBuddy (https://www.codebuddy.ai/) is Tencent Cloud's AI-powered code editor (also known as Tencent Cloud Code Assistant). It is widely used, especially in the Chinese developer community, and is built on top of Claude Sonnet with a similar agentic architecture.
Why This Matters
- CodeBuddy shares the same hook-based architecture as Claude Code (it uses
PreToolUsehooks for Bash/shell tool calls), making RTK integration highly feasible - CodeBuddy is gaining significant traction among developers in Asia and globally
- Users of CodeBuddy would benefit greatly from RTK's token reduction capabilities (60–90% savings), especially for large codebases
Technical Details
CodeBuddy uses a CODEBUDDY.md file (similar to CLAUDE.md) for project-level instructions and supports hooks via a configuration system analogous to Claude Code. The tool invocation lifecycle includes PreToolUse and PostToolUse hooks for Bash commands, which is exactly what RTK hooks into for Claude Code.
Based on the existing Claude Code integration:
rtk init -g # generates ~/.claude/settings.json with PreToolUse hook
A CodeBuddy integration would likely follow the same pattern, targeting CodeBuddy's settings/hooks config (e.g., ~/.codebuddy/settings.json or equivalent).
Requested Changes
- Add a new agent target:
--agent codebuddy(or--codebuddyflag) - Generate the appropriate hook configuration for CodeBuddy's settings file
- Document the integration in the README
References
- CodeBuddy official site: https://www.codebuddy.ai/
- Tencent Cloud Code Assistant docs: https://cnb.cool/codebuddy/codebuddy-code
- Existing Claude Code integration (for reference):
rtk init -g
Would love to see this supported! Happy to help test or provide more details about CodeBuddy's configuration format.