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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -62,3 +62,4 @@ vendor/
|
|||||||
*.log
|
*.log
|
||||||
.cache/
|
.cache/
|
||||||
tmp/
|
tmp/
|
||||||
|
.worktrees
|
||||||
|
|||||||
@@ -5988,8 +5988,8 @@ function promptRuntime(callback) {
|
|||||||
const allRuntimes = ['claude', 'kilo', 'opencode', 'gemini', 'codex', 'copilot', 'antigravity', 'cursor', 'windsurf', 'augment', 'trae'];
|
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}
|
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}2${reset}) Kilo ${dim}(~/.config/kilo)${reset}
|
||||||
${cyan}3${reset}) OpenCode ${dim}(~/.config/opencode)${reset} - open source, free models
|
${cyan}3${reset}) OpenCode ${dim}(~/.config/opencode)${reset}
|
||||||
${cyan}4${reset}) Gemini ${dim}(~/.gemini)${reset}
|
${cyan}4${reset}) Gemini ${dim}(~/.gemini)${reset}
|
||||||
${cyan}5${reset}) Codex ${dim}(~/.codex)${reset}
|
${cyan}5${reset}) Codex ${dim}(~/.codex)${reset}
|
||||||
${cyan}6${reset}) Copilot ${dim}(~/.copilot)${reset}
|
${cyan}6${reset}) Copilot ${dim}(~/.copilot)${reset}
|
||||||
|
|||||||
@@ -225,9 +225,9 @@ describe('Source code integration (Kilo)', () => {
|
|||||||
assert.ok(src.includes("'2': 'kilo'"), 'runtimeMap has 2 -> 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('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', () => {
|
test('hooks are skipped for Kilo', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user