Skip to content

feat(hooks): add CodeBuddy Code integration - #2111

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

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.

@SeeYangZhi SeeYangZhi mentioned this pull request Jun 10, 2026
7 of 10 tasks
@rtk-release-bot

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale due to 90 days of inactivity. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. Your contribution is very much appreciated — we're sorry we haven't been able to review it yet.

@rtk-release-bot rtk-release-bot Bot added the stale label Sep 3, 2026
@rtk-release-bot

Copy link
Copy Markdown
Contributor

Closing this pull request after a prolonged period of inactivity. If this is still relevant, please ask for it to be reopened. Thank you!

@rtk-release-bot rtk-release-bot Bot closed this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants