rtk-ai/rtk

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

Open

#1 966 ouverte le 19 mai 2026

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Rust (2 914 forks)batch import
area:configenhancementhelp wantedpriority:low

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 11j 1h) (45 PRs mergées en 30 j)

Description

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.

Guide contributeur