|
4 | 4 | import { Badge, Button, Card } from "$lib/components/ui"; |
5 | 5 | import { localSettingStore } from "$lib/local-setting/store"; |
6 | 6 |
|
7 | | - type AgentWithModels = "opencode" | "codex" | "kiro"; |
| 7 | + type AgentWithModels = "opencode" | "codex" | "kilo"; |
8 | 8 |
|
9 | 9 | function getAgentModels(agent: AgentWithModels): string[] { |
10 | 10 | const agents = $localSettingStore.config.agents as Record<string, { models?: string[] }>; |
|
73 | 73 | {/if} |
74 | 74 | </div> |
75 | 75 |
|
| 76 | + <div class="flex flex-wrap items-center gap-2 rounded-lg border p-3"> |
| 77 | + <strong class="text-sm">Kiro CLI</strong> |
| 78 | + {#if $localSettingStore.cliCheckResult} |
| 79 | + <Badge variant={$localSettingStore.cliCheckResult.kiro ? "secondary" : "destructive"}> |
| 80 | + {$localSettingStore.cliCheckResult.kiro ? "Installed" : "Not found"} |
| 81 | + </Badge> |
| 82 | + {/if} |
| 83 | + </div> |
| 84 | + |
76 | 85 | <div class="rounded-lg border p-3"> |
77 | 86 | <div class="mb-2 flex flex-wrap items-center gap-2"> |
78 | | - <strong class="text-sm">Kiro CLI</strong> |
| 87 | + <strong class="text-sm">Kilo CLI</strong> |
79 | 88 | {#if $localSettingStore.cliCheckResult} |
80 | | - <Badge variant={$localSettingStore.cliCheckResult.kiro ? "secondary" : "destructive"}> |
81 | | - {$localSettingStore.cliCheckResult.kiro ? "Installed" : "Not found"} |
| 89 | + <Badge variant={$localSettingStore.cliCheckResult.kilo ? "secondary" : "destructive"}> |
| 90 | + {$localSettingStore.cliCheckResult.kilo ? "Installed" : "Not found"} |
82 | 91 | </Badge> |
83 | 92 | {/if} |
84 | 93 | </div> |
85 | 94 | <div class="flex flex-wrap gap-1"> |
86 | | - {#if getAgentModels("kiro").length === 0} |
| 95 | + {#if getAgentModels("kilo").length === 0} |
87 | 96 | <Badge variant="outline">No models configured</Badge> |
88 | 97 | {:else} |
89 | | - {#each getAgentModels("kiro") as model} |
| 98 | + {#each getAgentModels("kilo") as model} |
90 | 99 | <Badge variant="outline">{model}</Badge> |
91 | 100 | {/each} |
92 | 101 | {/if} |
93 | 102 | </div> |
94 | 103 | </div> |
95 | 104 |
|
96 | | - <div class="flex flex-wrap items-center gap-2 rounded-lg border p-3"> |
97 | | - <strong class="text-sm">Kilo CLI</strong> |
98 | | - {#if $localSettingStore.cliCheckResult} |
99 | | - <Badge variant={$localSettingStore.cliCheckResult.kilo ? "secondary" : "destructive"}> |
100 | | - {$localSettingStore.cliCheckResult.kilo ? "Installed" : "Not found"} |
101 | | - </Badge> |
102 | | - {/if} |
103 | | - </div> |
104 | | - |
105 | 105 | <div class="flex flex-wrap items-center gap-2 rounded-lg border p-3"> |
106 | 106 | <strong class="text-sm">Qwen CLI</strong> |
107 | 107 | {#if $localSettingStore.cliCheckResult} |
|
0 commit comments