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:
@@ -419,7 +419,7 @@ test('propagatesSingleFragmentEditToAllRuntimeArtifacts', (t) => {
|
||||
// per-runtime path-prefix rewrite legitimately replaces on EVERY
|
||||
// runtime, including claude itself (see row 20's
|
||||
// rewritesRuntimePathTokensInEmittedFragment, which locks that behavior
|
||||
// in) — verified empirically (windsurf -> `.windsurf`, qwen -> `.qwen`,
|
||||
// in) — verified empirically (antigravity -> `.agents`,
|
||||
// claude -> its absolute config dir). A byte-identity assertion here
|
||||
// would fail on every runtime for a reason that has nothing to do with
|
||||
// fragment propagation.
|
||||
@@ -1079,15 +1079,16 @@ test('overlaysDoNotContaminateEachOther', (t) => {
|
||||
// (e.g. `${_MSD_RUNTIME_ROOT}/.claude/...`) appears in emitted content —
|
||||
// verified empirically (real spawned installs, not this checkout's own
|
||||
// claim). This is NOT derivable from RUNTIME_META: RUNTIME_META's own
|
||||
// `globalSuffix` for windsurf is `.codeium/windsurf`, not `.windsurf` — a
|
||||
// `globalSuffix` for antigravity is `.gemini/antigravity`, not `.agents` — a
|
||||
// DIFFERENT path than this literal-token rewrite produces — so the
|
||||
// runtime -> token mapping is kept here as a small explicit map rather than
|
||||
// computed from RUNTIME_META (which would silently assert the wrong thing
|
||||
// for any runtime whose install destination differs from its rewrite
|
||||
// token).
|
||||
// token). Claude-shaped hosts (codex, cursor, zcode) deliberately leave the
|
||||
// `${_MSD_RUNTIME_ROOT}/.claude/` project-local fallback token untouched, so
|
||||
// they are not members of this map.
|
||||
const RUNTIME_PATH_REWRITE_TOKEN = {
|
||||
windsurf: '.windsurf',
|
||||
qwen: '.qwen',
|
||||
antigravity: '.agents',
|
||||
};
|
||||
|
||||
test('rewritesRuntimePathTokensInEmittedFragment', (t) => {
|
||||
|
||||
Reference in New Issue
Block a user