Skip to content

feat(hooks): add CodeBuddy Code integration#2111

Open
lyydsheep wants to merge 1 commit into
rtk-ai:developfrom
lyydsheep:feat/codebuddy-integration
Open

feat(hooks): add CodeBuddy Code integration#2111
lyydsheep wants to merge 1 commit into
rtk-ai:developfrom
lyydsheep:feat/codebuddy-integration

Conversation

@lyydsheep

Copy link
Copy Markdown

Summary

Adds native RTK hook support for CodeBuddy Code (Tencent's AI coding agent).

Changes

  • New hook command: rtk hook codebuddy — processes PreToolUse hooks from CodeBuddy Code
  • Init support: rtk init -g --agent codebuddy — registers hook in ~/.codebuddy/settings.json
  • Uninstall support: rtk uninstall --agent codebuddy

Implementation Details

  • Uses modifiedInput field (CodeBuddy's protocol) instead of updatedInput (Claude Code)
  • Follows same pattern as Claude Code hook: command rewriting + permission decision
  • Global-only installation (CodeBuddy uses global settings.json)

Testing

  • All 1966 tests pass
  • cargo fmt clean
  • cargo clippy clean

Related

Supports CodeBuddy Code: https://codebuddy.tencent.com

@CLAassistant

CLAassistant commented May 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants