Skip to content

feat: add CodeBuddy support + zh README#495

Open
studyzy wants to merge 5 commits into
DietrichGebert:mainfrom
studyzy:main
Open

feat: add CodeBuddy support + zh README#495
studyzy wants to merge 5 commits into
DietrichGebert:mainfrom
studyzy:main

Conversation

@studyzy

@studyzy studyzy commented Jul 3, 2026

Copy link
Copy Markdown

Summary

Adds CodeBuddy as a supported host and ships a Simplified Chinese README translation. The two are bundled because the translation documents the new CodeBuddy install section.

Changes

CodeBuddy plugin support

  • .codebuddy-plugin/plugin.json — new manifest.
  • README.md — install/uninstall section, host list, and command-capable hosts line updated.
  • docs/agent-portability.md — CodeBuddy row in the host matrix.
  • scripts/check-versions.js, tests/gemini-extension.test.js, tests/hooks-windows.test.js — include the new manifest in the version-pinning and hook-config checks.

Simplified Chinese README

  • README.zh.md — community translation aligned with the latest English README (16 agents). Language switcher link added to README.md.

Test notes

  • node --test tests/gemini-extension.test.js tests/hooks-windows.test.js → 11/11 pass.
  • node scripts/check-versions.jsAll 8 version files pinned at 4.8.4. (was 7).

Reference

CodeBuddy hook docs confirm the variable is :
https://www.codebuddy.ai/docs/cli/hooks-guide

@studyzy

studyzy commented Jul 3, 2026

Copy link
Copy Markdown
Author

@DietrichGebert could you take a look at this PR when you have a moment? Thanks!

@studyzy studyzy changed the title fix: CodeBuddy plugin hooks use CODEBUDDY_PLUGIN_ROOT feat: add CodeBuddy support + zh README Jul 3, 2026
@DietrichGebert

Copy link
Copy Markdown
Owner

Thanks for this, and CodeBuddy is a genuinely significant host, so I would like to support it. A few things before it can go in. First, please drop README.zh.md and the .serena/.idea gitignore lines from this PR; they are separate from the CodeBuddy adapter, and I closed the other Chinese README PRs recently, so let us not bundle one in here. Second, can you confirm the plugin.json + codebuddy-hooks.json actually load in CodeBuddy Code, that it reads a .codebuddy-plugin/plugin.json and runs Claude-style SessionStart/UserPromptSubmit hooks with ${CODEBUDDY_PLUGIN_ROOT}? The adapter mirrors our Claude and Codex hook format, which is perfect if CodeBuddy Code is compatible, but I want to be sure it works before shipping. Once it is just the adapter and you have confirmed it loads, I am happy to merge. Thanks for bringing CodeBuddy.

@studyzy studyzy force-pushed the main branch 2 times, most recently from 8866c64 to 024026a Compare July 9, 2026 15:14
studyzy and others added 3 commits July 9, 2026 23:17
Replace claude-codex-hooks.json reference in .codebuddy-plugin/plugin.json
with new codebuddy-hooks.json that uses  instead of
, matching CodeBuddy's plugin hook variable naming.
@studyzy

studyzy commented Jul 9, 2026

Copy link
Copy Markdown
Author

Thanks for the review! All requested changes have been addressed:

  1. README.zh.md — removed from the branch, so this PR is now scoped purely to the CodeBuddy adapter.
  2. .serena / .idea gitignore lines — reverted.
  3. Plugin loading confirmed — I tested the adapter in a fresh CodeBuddy Code session with an env-dump probe. CodeBuddy Code correctly reads .codebuddy-plugin/plugin.json, fires SessionStart / UserPromptSubmit hooks, and sets both CLAUDE_PLUGIN_ROOT and CODEBUDDY_PLUGIN_ROOT to the plugin root. The published plugin is using this exact configuration and ponytail mode is active with no issues.

Tests pass (node --test tests/gemini-extension.test.js tests/hooks-windows.test.js → 11/11) and node scripts/check-versions.js → all 8 manifests pinned at 4.8.4.

This should be ready to merge. Thanks for maintaining ponytail!

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