fix(agents): detect Kiro under its real binary name kiro-cli (#1223)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -85,7 +85,11 @@ export const AGENT_CATALOG: AgentCatalogEntry[] = [
|
||||
{
|
||||
id: 'kiro',
|
||||
label: 'Kiro',
|
||||
cmd: 'kiro',
|
||||
// Why: the Kiro installer (https://cli.kiro.dev/install) ships a binary
|
||||
// named `kiro-cli`, not `kiro`. Match TUI_AGENT_CONFIG.kiro.detectCmd so
|
||||
// the settings pane's "default command" hint aligns with what Orca
|
||||
// actually looks for on PATH.
|
||||
cmd: 'kiro-cli',
|
||||
faviconDomain: 'kiro.dev',
|
||||
homepageUrl: 'https://kiro.dev/docs/cli/'
|
||||
},
|
||||
|
||||
@@ -76,9 +76,13 @@ export const TUI_AGENT_CONFIG: Record<TuiAgent, TuiAgentConfig> = {
|
||||
promptInjectionMode: 'stdin-after-start'
|
||||
},
|
||||
kiro: {
|
||||
detectCmd: 'kiro',
|
||||
launchCmd: 'kiro',
|
||||
expectedProcess: 'kiro',
|
||||
// Why: the official Kiro installer (https://cli.kiro.dev/install) places a
|
||||
// binary named `kiro-cli` on PATH — there is no `kiro` binary. Keep the
|
||||
// TuiAgent id as 'kiro' for stored preferences, but detect/launch/identify
|
||||
// the real binary name so the agent is recognized as active.
|
||||
detectCmd: 'kiro-cli',
|
||||
launchCmd: 'kiro-cli',
|
||||
expectedProcess: 'kiro-cli',
|
||||
promptInjectionMode: 'stdin-after-start'
|
||||
},
|
||||
crush: {
|
||||
|
||||
Reference in New Issue
Block a user