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:
@@ -88,18 +88,6 @@ describe('#1689 resolveAgentHint() — runtime agent-dir resolution', () => {
|
||||
}
|
||||
});
|
||||
|
||||
test('resolves a specialist present as <name>.agent.md (copilot variant)', () => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-agents-copilot-'));
|
||||
process.env.MSD_AGENTS_DIR = dir;
|
||||
const name = 'zzz-test-specialist-copilot-1689';
|
||||
fs.writeFileSync(path.join(dir, `${name}.agent.md`), '---\nname: ' + name + '\n---\n');
|
||||
try {
|
||||
assert.equal(resolveAgentHint(name, 'copilot'), name);
|
||||
} finally {
|
||||
cleanup(dir);
|
||||
}
|
||||
});
|
||||
|
||||
test('rejects path-traversing names so they cannot escape the agents dir', () => {
|
||||
process.env.MSD_AGENTS_DIR = tmpAgentsRoot;
|
||||
assert.equal(resolveAgentHint('../../README', 'claude'), null);
|
||||
|
||||
Reference in New Issue
Block a user