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:
@@ -64,21 +64,9 @@ const EXPECTED_ALL_HOOKS = [
|
||||
const RUNTIME_META = {
|
||||
claude: { localDir: '.claude', globalSuffix: '.claude' },
|
||||
antigravity: { localDir: '.agents', globalSuffix: path.join('.gemini', 'antigravity') },
|
||||
augment: { localDir: '.augment', globalSuffix: '.augment' },
|
||||
cline: { localDir: '.cline', globalSuffix: '.cline' },
|
||||
codebuddy: { localDir: '.codebuddy', globalSuffix: '.codebuddy' },
|
||||
codex: { localDir: '.codex', globalSuffix: '.codex' },
|
||||
copilot: { localDir: '.github', globalSuffix: '.copilot' },
|
||||
cursor: { localDir: '.cursor', globalSuffix: '.cursor' },
|
||||
hermes: { localDir: '.hermes', globalSuffix: '.hermes' },
|
||||
kimi: { localDir: '.kimi-code', globalSuffix: path.join('.config', 'agents') },
|
||||
'kimi-code': { localDir: '.kimi-code', globalSuffix: '.kimi-code' },
|
||||
kilo: { localDir: '.kilo', globalSuffix: path.join('.config', 'kilo') },
|
||||
opencode: { localDir: '.opencode', globalSuffix: path.join('.config', 'opencode') },
|
||||
pi: { localDir: '.pi', globalSuffix: path.join('.pi', 'agent') },
|
||||
qwen: { localDir: '.qwen', globalSuffix: '.qwen' },
|
||||
trae: { localDir: '.trae', globalSuffix: '.trae' },
|
||||
windsurf: { localDir: '.windsurf', globalSuffix: path.join('.codeium', 'windsurf') },
|
||||
zcode: { localDir: '.zcode', globalSuffix: '.zcode' },
|
||||
};
|
||||
|
||||
@@ -116,12 +104,11 @@ const MANIFEST_FAMILIES = [
|
||||
* derived — it ratchets, and lowering it is a deliberate, reviewable act. It never
|
||||
* blocks ADDING a runtime, which is the asymmetry the old shared literal lacked.
|
||||
*/
|
||||
const MINIMUM_MANIFEST_FAMILIES = 19;
|
||||
const MINIMUM_MANIFEST_FAMILIES = 7;
|
||||
|
||||
// Runtimes that emit per-skill files under skills/ (not rules-based or commands-based)
|
||||
const SKILL_RUNTIMES = [
|
||||
'claude', 'opencode', 'kilo', 'codex', 'copilot', 'antigravity',
|
||||
'cursor', 'augment', 'trae', 'qwen', 'codebuddy',
|
||||
'claude', 'opencode', 'codex', 'antigravity', 'cursor',
|
||||
];
|
||||
|
||||
// ─── Golden install-parity manifest (canonical — issue #2266) ────────────────
|
||||
|
||||
Reference in New Issue
Block a user