fix: move Kilo above OpenCode in installer

This commit is contained in:
Alex Alecu
2026-04-02 11:34:31 +03:00
parent ac4836d270
commit 52585de4ab
4 changed files with 33 additions and 21 deletions

View File

@@ -215,8 +215,13 @@ describe('Source code integration (Kilo)', () => {
assert.ok(src.includes("'kilo'"), '--all includes kilo runtime');
});
test('promptRuntime runtimeMap has Kilo as option 4', () => {
assert.ok(src.includes("'4': 'kilo'"), 'runtimeMap has 4 -> kilo');
test('promptRuntime runtimeMap has Kilo as option 2', () => {
assert.ok(src.includes("'2': 'kilo'"), 'runtimeMap has 2 -> kilo');
});
test('prompt text shows Kilo above OpenCode with updated description', () => {
assert.ok(src.includes('2${reset}) Kilo'), 'prompt lists Kilo as option 2');
assert.ok(src.includes('the #1 AI coding platform on OpenRouter'), 'prompt includes updated Kilo description');
});
test('hooks are skipped for Kilo', () => {