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

@@ -295,13 +295,9 @@ function scanWorkflowColonLeak(filePath, cmdNames) {
* settings.json, codex into hooks.json and config.toml.
*
* This is NOT an exhaustive map of where MSD writes launch paths across all
* runtimes, and the scan is top-level only by design. Two known surfaces sit
* outside it: Cline registers its hook at `.clinerules/hooks/PreToolUse` (a
* subdirectory, and not one of these names — see writeClineArtifacts in
* src/runtime-hooks-surface.cts), and Kimi's native `[[hooks]]` config.toml
* lives under `resolveKimiHooksTomlDir()` (`~/.kimi`), a directory separate
* from Kimi's own MSD configDir. Adding either runtime to entrypointRuntimes
* requires teaching scanConfiguredEntrypoints about its surface first,
* runtimes, and the scan is top-level only by design. A runtime whose hook
* surface lives in a subdirectory or outside its MSD configDir must first be
* taught to scanConfiguredEntrypoints before being added to entrypointRuntimes,
* otherwise the scan reports zero entrypoints and silently proves nothing.
*/
const RUNTIME_CONFIG_FILES = Object.freeze(['settings.json', 'hooks.json', 'config.toml']);