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:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
// Regression tests for #2717: cursor, windsurf, and codex stage `.js` hook
|
||||
// Regression tests for #2717: cursor and codex stage `.js` hook
|
||||
// scripts via dedicated paths that bypass installSharedHooksBundle (the only
|
||||
// writer of the {"type":"commonjs"} marker). Under a config root declaring
|
||||
// {"type":"module"}, Node loaded those scripts as ESM and every require() failed
|
||||
@@ -23,11 +23,10 @@ const { STAGED_HOOK_SCRIPT_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
|
||||
|
||||
const COMMONJS_MARKER = '{"type":"commonjs"}\n';
|
||||
|
||||
// Runtimes that stage `.js` hooks via the dedicated cursor/windsurf/codex paths
|
||||
// (skipSharedHooksInstall or the !isCodex gate) — the three #2717 covers.
|
||||
// Runtimes that stage `.js` hooks via the dedicated cursor/codex paths
|
||||
// (skipSharedHooksInstall or the !isCodex gate) — the two #2717 covers.
|
||||
const AFFECTED_RUNTIMES = [
|
||||
{ runtime: 'cursor', sampleHook: 'msd-cursor-session-start.js' },
|
||||
{ runtime: 'windsurf', sampleHook: 'msd-windsurf-pre-write.js' },
|
||||
{ runtime: 'codex', sampleHook: 'msd-check-update.js' },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user