feat(desktop): add Kiro CLI as a supported terminal agent

Closed
KC
3mo ago
+62-0

Description

Adds Kiro CLI (AWS's agentic CLI for spec-driven coding) to the list of built-in terminal agents, joining Amp, Claude, Codex, Copilot, Cursor Agent, Gemini, Mastracode, OpenCode, and Pi. It maps onto the existing terminal-agent contract via --trust-all-tools (interactive) and --no-interactive (headless, prompt passed as the [INPUT] positional).

Kiro is appended to the end of every list (BUILTIN_TERMINAL_AGENTS, PRESET_ICONS, README table, docs list, marketing demo) instead of slotted alphabetically, so no existing entry is reordered. No changes to the desktop agent-wrappers — Kiro runs as a plain terminal agent, same shape as Pi / Cursor Agent.

Related Issues

None.

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other (please describe):

Testing

  • bun run format:check / bun run lint / bunx sherif / bun run typecheck — all clean.
  • bun test — 2646 pass; the 9 failures are pre-existing and unrelated (DOM-less sanitizeTerminalFontFamily, NotificationManager, etc.).
  • Verified the flags against the installed kiro-cli chat --help: -a, --trust-all-tools, --no-interactive, and the [INPUT] positional all exist. The generated prompt launch — kiro-cli chat --trust-all-tools --no-interactive "$(cat <<EOF…EOF)" — parses as three arguments (two flags + prompt body) in a shell sanity-check.

Screenshots (if applicable)

Main project view

image

In Settings/Agents tab

image

Additional Notes

  • The Kiro icon ships as a single SVG rendered on a #9046FF background, so no dark-mode variant is needed (same as claude, gemini, amp).
  • The kiroIcon import in preset-icons/index.ts stays alphabetical because Biome's organizeImports enforces it; PRESET_ICONS and the re-export block keep Kiro at the end.
  • Happy to adjust the commit scope (e.g. feat(shared):) or drop Kiro from the default terminal presets if you'd prefer.

Summary by CodeRabbit

  • New Features

    • Added Kiro CLI as a fully supported built-in agent with interactive and non-interactive terminal support.
  • Documentation

    • Updated supported-agents docs and readme to list Kiro CLI.
  • UI

    • Added Kiro to the agent compatibility demo and included its icon in the preset icons.