Skip to content

feat(agents): add Kiro CLI as a supported coding agent - #81

Open
ivanbarlog wants to merge 2 commits into
devvmhq:mainfrom
ivanbarlog:main
Open

ivanbarlog wants to merge 2 commits into
devvmhq:mainfrom
ivanbarlog:main

Conversation

@ivanbarlog

Copy link
Copy Markdown

What this changes

Adds Kiro CLI as a supported coding agent: devvm --agents kiro gives a VM kiro-cli.

  • Pinned release. Kiro CLI 3.8.1 is a shared tool. Its release and each platform's SHA-256 are
    pinned in assets/shared-tools/mise.toml, because Kiro publishes no version list devvm can resolve
    against. It is glibc only, so --from an Alpine image refuses it, as it does for pi.
  • Settings import. devvm agent import kiro copies settings/cli.json, settings/mcp.json and
    the steering, skills, agents and prompts folders from ~/.kiro.
  • No login or history kept. Kiro CLI keeps its login in a SQLite database beside its chats, which
    devvm can't take the login out of. You log in once per VM with kiro-cli login --use-device-flow.
    The proxy doesn't inject the login, so code that runs in the VM can read it. devvm history export
    leaves Kiro out. Both are documented under "Kiro CLI login".
  • Updates and telemetry off. Kiro's docs list no environment variable for either, so
    assets/guest/sync.sh sets app.disableAutoupdates and telemetry.enabled in the VM's
    ~/.kiro/settings/cli.json at each launch.
  • Allowlist. Kiro's sign-in and service hosts are in assets/shared-tools/kiro.policy. Its
    update, telemetry and billing hosts are left out.
  • Docs and bumps. scripts/bump.sh handles the new pinned tool. Docs changes:
    using/coding-agents.md, internals/agents.md, releases/0.2.0.md, the README and the changelog.

Fixes #65

How it was tested

  • mise run fmt && mise run lint && mise run test: passes (4530 tests, 33 skipped for the host's OS
    or missing tools).
  • mise run vuln: no vulnerabilities. mise run nilaway and nilaway:linux: no findings beyond the
    baseline.
  • Tests added or changed: internal/agents/agents_test.go, internal/vm/testdata/golden/agents.txt,
    testdata/script/guest.txtar (the settings written at launch).
  • e2e: mise run e2e -- --only network on macOS arm64: 136 passed, 0 failed. The new netKiro
    checks cover that kiro-cli is the shared release and that its updates and telemetry are off.
  • By hand, from a local build on macOS arm64 on the allowlist tier: kiro-cli --version, the
    device-flow login and a chat all worked in the VM.

Checklist

  • The title is a Conventional Commit, type(scope): summary, because it becomes the squashed
    commit's subject.
  • mise run fmt && mise run lint && mise run test passes.
  • New behaviour has tests, and every behaviour change updates its page in docs/content/docs/.
  • A changed command follows the cli skill, and mise run cli-docs is rerun when its help
    changed.
  • Nothing here belongs in a private security advisory instead (see SECURITY.md).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add support for kiro-cli

2 participants