rtk-ai/rtk

Feature Request: Add support for CodeBuddy (Tencent Cloud AI Code Editor)

Open

#1,966 创建于 2026年5月19日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:configenhancementhelp wantedpriority:low

仓库指标

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 PreToolUse hooks 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 --codebuddy flag)
  • Generate the appropriate hook configuration for CodeBuddy's settings file
  • Document the integration in the README

References

Would love to see this supported! Happy to help test or provide more details about CodeBuddy's configuration format.

贡献者指南