refactor: drop 12 runtimes, keep Claude, Codex, OpenCode, Cursor, ZCode, Antigravity

Removes kilo, kimi, kimi-code, copilot, windsurf, augment, trae, qwen, hermes,
cline, codebuddy and pi end to end: capability descriptors, installer branches
and converters (bin/install.js 14.9k -> 11.2k lines), TypeScript converters,
hook surfaces and runtime homes, review lanes qwen/kimi-code, the two pi
migrations, Kimi payload normalization in the hook guards, dead hostBehaviors
vocabulary, launcher home probes, fixtures, runtime-specific tests and the
prose that presented them as supported.

Installer output for the six kept runtimes is byte-identical to before the
prune. The Kimi tool-vocabulary tests in workflow-guard, read-guard and
read-injection-scanner are left in place pending a decision.
This commit is contained in:
Jakub Zych
2026-10-06 20:02:40 +02:00
parent 12ee75a509
commit 6cfa0c55d2
509 changed files with 1869 additions and 47737 deletions

View File

@@ -34,7 +34,7 @@ MSD Core 的叙述性辅助指南——从这里开始了解系统全貌,然
MSD 向所有支持的运行时提供**同一套技能**,使用连字符形式的斜杠拼写:
- **连字符形式** — `/msd-command-name` — 供 Claude Code、Copilot、OpenCode、Kilo、Cursor、Windsurf、Augment、Antigravity 和 Trae 使用。
- **连字符形式** — `/msd-command-name` — 供 Claude Code、OpenCode、Cursor 和 Antigravity 使用。
安装器会将此形式写入您所针对的每个运行时的命令目录。
@@ -674,7 +674,7 @@ MSD 子 Agent 在单独的上下文窗口中运行——其工作在进行中对
完整审计、运行时参考及与 `model_profile` 的组合说明,请参阅捆绑的 `context-budget.md` 参考中的 [MCP 工具模式成本](../../msd-core/references/context-budget.md#mcp-tool-schema-cost-harness-concern)。
### 使用非 Claude 运行时(Codex、OpenCode、Antigravity CLI、Kilo)
### 使用非 Claude 运行时(Codex、OpenCode、Antigravity CLI)
> **Codex CLI 最低支持版本:`0.130.0`**(issue [#3562](https://github.com/open-gsd/gsd-core/issues/3562))。
@@ -719,31 +719,12 @@ MSD 子 Agent 在单独的上下文窗口中运行——其工作在进行中对
npx @golem15/msd-core@latest --opencode --global
```
### 为 Cline 安装
```bash
npx @golem15/msd-core --cline --global # applies to all projects
npx @golem15/msd-core --cline --local # this project only
```
### 为 CodeBuddy 安装
```bash
npx @golem15/msd-core --codebuddy --global
```
### 为 Qwen Code 安装
```bash
npx @golem15/msd-core --qwen --global
```
### 为预发布版本安装
在运行安装器前,将运行时的 `*_CONFIG_DIR` 环境变量设置为预发布目录:
```bash
WINDSURF_CONFIG_DIR=~/.codeium/windsurf-next npx @golem15/msd-core@latest --windsurf --global
OPENCODE_CONFIG_DIR=~/.config/opencode-next npx @golem15/msd-core@latest --opencode --global
```
**支持运行时的环境变量参考:**
@@ -753,16 +734,8 @@ WINDSURF_CONFIG_DIR=~/.codeium/windsurf-next npx @golem15/msd-core@latest --wind
| Claude Code | `~/.claude` | `CLAUDE_CONFIG_DIR` |
| OpenCode | `XDG_CONFIG_HOME/opencode` | `OPENCODE_CONFIG_DIR` |
| Codex | (按 Codex CLI) | `--config-dir` 标志 |
| Copilot | `~/.copilot` | `COPILOT_CONFIG_DIR` |
| Cursor | `~/.cursor` | `CURSOR_CONFIG_DIR` |
| Windsurf | `~/.codeium/windsurf` | `WINDSURF_CONFIG_DIR` |
| Antigravity | 自动检测 | `ANTIGRAVITY_CONFIG_DIR` |
| Augment | `~/.augment` | `AUGMENT_CONFIG_DIR` |
| Trae | `~/.trae` | `TRAE_CONFIG_DIR` |
| Qwen Code | `~/.qwen` | `QWEN_CONFIG_DIR` |
| Kilo | `~/.config/kilo` | `KILO_CONFIG_DIR` |
| CodeBuddy | `~/.codebuddy` | `CODEBUDDY_CONFIG_DIR` |
| Cline | `~/.cline` | `CLINE_CONFIG_DIR` |
### 将 Claude Code 与非 Anthropic 提供商结合使用