feat: support CodeBuddy runtime (#1887)

Add CodeBuddy (Tencent Cloud AI coding IDE/CLI) as a first-class
runtime in the GSD installer.

- Add --codebuddy CLI flag and interactive menu option
- Add directory mapping (.codebuddy/ local, ~/.codebuddy/ global)
- Add CODEBUDDY_CONFIG_DIR env var support
- Add markdown conversion (CLAUDE.md -> CODEBUDDY.md, .claude/ -> .codebuddy/)
- Preserve tool names (CodeBuddy uses same names as Claude Code)
- Configure settings.json hooks (Claude Code compatible hook spec)
- Add copyCommandsAsCodebuddySkills for SKILL.md format
- Add 15 tests (dir mapping, env vars, conversion, E2E install/uninstall)
- Update README.md and README.zh-CN.md
- Update existing tests for new runtime numbering

Co-authored-by: happyu <happyu@tencent.com>
This commit is contained in:
storyandwine
2026-04-10 22:46:21 +08:00
committed by GitHub
parent 7e2217186a
commit 50cce89a7c
8 changed files with 498 additions and 75 deletions

View File

@@ -66,6 +66,7 @@ function isTestInput(filePath, line) {
'tests/copilot-install.test.cjs',
'tests/codex-config.test.cjs',
'tests/trae-install.test.cjs',
'tests/codebuddy-install.test.cjs',
];
if (conversionTestFiles.includes(rel)) {