fix(install): remove marketing taglines from runtime selection prompt (#1655)

* chore: ignore .worktrees directory

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(install): remove marketing taglines from runtime selection prompt

Closes #1654

The runtime selection menu had promotional copy appended to some
entries ("open source, the #1 AI coding platform on OpenRouter",
"open source, free models"). Replaced with just the name and path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(kilo): update test to assert marketing tagline is removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-04 13:23:15 -04:00
committed by GitHub
parent 3d4b660cd1
commit 085f5b9c5b
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -62,3 +62,4 @@ vendor/
*.log
.cache/
tmp/
.worktrees

View File

@@ -5988,8 +5988,8 @@ function promptRuntime(callback) {
const allRuntimes = ['claude', 'kilo', 'opencode', 'gemini', 'codex', 'copilot', 'antigravity', 'cursor', 'windsurf', 'augment', 'trae'];
console.log(` ${yellow}Which runtime(s) would you like to install for?${reset}\n\n ${cyan}1${reset}) Claude Code ${dim}(~/.claude)${reset}
${cyan}2${reset}) Kilo ${dim}(~/.config/kilo)${reset} - open source, the #1 AI coding platform on OpenRouter
${cyan}3${reset}) OpenCode ${dim}(~/.config/opencode)${reset} - open source, free models
${cyan}2${reset}) Kilo ${dim}(~/.config/kilo)${reset}
${cyan}3${reset}) OpenCode ${dim}(~/.config/opencode)${reset}
${cyan}4${reset}) Gemini ${dim}(~/.gemini)${reset}
${cyan}5${reset}) Codex ${dim}(~/.codex)${reset}
${cyan}6${reset}) Copilot ${dim}(~/.copilot)${reset}

View File

@@ -225,9 +225,9 @@ describe('Source code integration (Kilo)', () => {
assert.ok(src.includes("'2': 'kilo'"), 'runtimeMap has 2 -> kilo');
});
test('prompt text shows Kilo above OpenCode with updated description', () => {
test('prompt text shows Kilo above OpenCode without marketing copy', () => {
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');
assert.ok(!src.includes('the #1 AI coding platform on OpenRouter'), 'prompt does not include marketing tagline');
});
test('hooks are skipped for Kilo', () => {