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

@@ -58,7 +58,7 @@
**关于 Codex 和 OpenCode 的重要说明:** 这些运行时会在安装时将解析后的模型嵌入每个代理的静态配置中。编辑 `model_overrides` 后,需重新运行安装程序使更改生效:
```bash
npx @golem15/msd-core@latest --codex --global # or --opencode, --kilo, etc.
npx @golem15/msd-core@latest --codex --global # or --opencode, etc.
```
---
@@ -154,7 +154,7 @@ npx @golem15/msd-core@latest --codex --global # or --opencode, --kilo, etc.
## 在非 Anthropic 运行时上使用 MSD Core
如果您为 Codex、OpenCode、Antigravity CLI 或 Kilo 安装了 MSD Core,安装程序已在您的配置中设置了 `resolve_model_ids: "omit"`。这告知 MSD Core 跳过 Anthropic 模型 ID 解析,让运行时选择其自己的默认模型。基本情况下无需手动设置。
如果您为 Codex、OpenCode 或 Antigravity CLI 安装了 MSD Core,安装程序已在您的配置中设置了 `resolve_model_ids: "omit"`。这告知 MSD Core 跳过 Anthropic 模型 ID 解析,让运行时选择其自己的默认模型。基本情况下无需手动设置。
**如果您希望在 Codex 上使用分层模型:**

View File

@@ -62,22 +62,6 @@ OPENCODE_CONFIG_DIR=~/.config/opencode-alt npx @golem15/msd-core@latest --openco
---
### Kilo
```bash
npx @golem15/msd-core@latest --kilo --global
```
技能文件存放于 `~/.config/kilo/`(XDG)或 `~/.kilo/`。使用与 OpenCode 相同的平铺 Markdown 命令格式。
**覆盖安装目录:**
```bash
KILO_CONFIG_DIR=~/.config/kilo-alt npx @golem15/msd-core@latest --kilo --global
```
---
### Codex
```bash
@@ -90,22 +74,6 @@ npx @golem15/msd-core@latest --codex --global
---
### GitHub Copilot
```bash
npx @golem15/msd-core@latest --copilot --global
```
技能文件存放于 `~/.copilot/`。MSD 以代理 `.md` 文件和仓库指令文件的形式安装。
**覆盖安装目录:**
```bash
COPILOT_CONFIG_DIR=~/.copilot-alt npx @golem15/msd-core@latest --copilot --global
```
---
### Cursor
```bash
@@ -122,76 +90,6 @@ CURSOR_CONFIG_DIR=~/.cursor-alt npx @golem15/msd-core@latest --cursor --global
---
### Windsurf
```bash
npx @golem15/msd-core@latest --windsurf --global
```
技能文件存放于 `~/.codeium/windsurf/`。MSD 安装技能、代理和工作区规则。
**覆盖安装目录:**
```bash
WINDSURF_CONFIG_DIR=~/.codeium/windsurf-alt npx @golem15/msd-core@latest --windsurf --global
```
---
### Cline
Cline 使用基于规则的集成方式——MSD 以 `.clinerules` 形式安装,而非斜杠命令。
```bash
# 全局安装(所有项目)
npx @golem15/msd-core@latest --cline --global
# 本地安装(仅此项目)
npx @golem15/msd-core@latest --cline --local
```
全局安装写入 `~/.cline/`。本地安装写入 `./.cline/`。规则由 Cline 自动加载——不注册自定义斜杠命令。
---
### CodeBuddy
```bash
npx @golem15/msd-core@latest --codebuddy --global
```
技能文件存放于 `~/.codebuddy/skills/msd-*/SKILL.md`。
---
### Qwen Code
Qwen Code 使用与 Claude Code 2.1.88+ 相同的开放技能标准。
```bash
npx @golem15/msd-core@latest --qwen --global
```
技能文件存放于 `~/.qwen/skills/msd-*/SKILL.md`。
**覆盖安装目录:**
```bash
QWEN_CONFIG_DIR=~/.qwen-alt npx @golem15/msd-core@latest --qwen --global
```
---
### Augment Code
```bash
npx @golem15/msd-core@latest --augment --global
```
技能文件存放于 `~/.augment/`。MSD 安装技能和代理,不拥有 hook 或状态栏所有权。
---
### Antigravity
```bash
@@ -208,16 +106,6 @@ ANTIGRAVITY_CONFIG_DIR=~/.gemini/antigravity-alt npx @golem15/msd-core@latest --
---
### Trae
```bash
npx @golem15/msd-core@latest --trae --global
```
技能文件存放于 `~/.trae/`。MSD 安装技能、代理和规则引用。
---
## 本地安装与全局安装
上述所有示例均使用 `--global`,即为您的用户账户全局安装 MSD。若要将安装范围限定到单个项目,请将 `--global` 替换为 `--local`:
@@ -232,10 +120,10 @@ npx @golem15/msd-core@latest --claude --local
## 安装预发布版(Next / Nightly / Insiders / Preview)
运行时的预发布版(Windsurf Next、Cursor Nightly、VS Code Insiders、Codex 预览通道等)从同级配置目录读取配置。在运行安装程序前设置对应的 `*_CONFIG_DIR` 环境变量:
运行时的预发布版(Cursor Nightly、VS Code Insiders、Codex 预览通道等)从同级配置目录读取配置。在运行安装程序前设置对应的 `*_CONFIG_DIR` 环境变量:
```bash
WINDSURF_CONFIG_DIR=~/.codeium/windsurf-next npx @golem15/msd-core@latest --windsurf --global
CURSOR_CONFIG_DIR=~/.cursor-nightly npx @golem15/msd-core@latest --cursor --global
```
在安装程序提示中选择对应的稳定版运行时。MSD 不将预发布版作为独立命名运行时枚举——它们通过此环境变量机制提供尽力支持,不在发布 CI 中单独测试。

View File

@@ -8,7 +8,7 @@
## 决定使用哪些评审者
MSD Core 可将评审请求路由至以下任意组合:Claude(独立会话)、Codex CLI、CodeRabbit、OpenCode、Qwen Code、Cursor、Antigravity CLI、Ollama、LM Studio 以及 llama.cpp。
MSD Core 可将评审请求路由至以下任意组合:Claude(独立会话)、Codex CLI、CodeRabbit、OpenCode、Cursor、Antigravity CLI、Ollama、LM Studio 以及 llama.cpp。
每位评审者会独立地对您的 `PLAN.md` 文件执行相同的结构化提示。由于不同模型存在不同的盲区,多评审者共识能比任何单一评审者发现更多问题。
@@ -141,7 +141,6 @@ MSD 会依次调用每位评审者,收集结构化反馈(摘要、优点、H
| 已安装 Antigravity | `--agy` 始终是良好的起始评审者 |
| 希望免费多评审者覆盖 | `--agy`(Google 凭据)+ `--claude` |
| 项目以 OpenAI 为主 | 添加 `--codex` 以获取 OpenAI 模型视角 |
| 希望使用 GitHub Copilot 的模型 | 添加 `--opencode` |
| 希望完全避免 API 费用 | 使用本地模型配置 Ollama 并使用 `--ollama` |
| 发布前需要最大覆盖率 | `/msd-plan-review-convergence N --all` |
| 快速迭代并希望获得快速反馈 | 选择一个 CLI:`/msd-review --phase N --agy` |