8000 feat(ui): agent icons and a card grid in the thread picker by aorumbayev · Pull Request #145 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat(ui): agent icons and a card grid in the thread picker - #145

Merged
aorumbayev merged 22 commits into
mainfrom
feat/program-icons
Nov 12, 2026
Merged

aorumbayev merged 22 commits into
mainfrom
feat/program-icons

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

What

  • The new-thread program picker shows each known agent as a card with its own mark (Claude, Codex, Gemini, Cursor, Kimi, OpenCode, GitHub Copilot). Amp and Aider keep their letter.
  • Cards are in a three-column grid, three rows high, then it scrolls. Custom command is a small outlined button under the grid, with the terminal icon. It opens the program line fields.
  • Keys: arrows move across the cards once the grid has focus, Enter starts the selected card, Tab reaches the grid and then the Custom command button, which Enter opens.
  • Search and custom fields show one focus ring, the field border in the focus token.
  • Marks are bundled SVGs keyed by command name, one table in picker/mark.rs, with a test that every path is bundled. Licences and attribution are in assets/agents/README.md and assets/THIRD-PARTY-NOTICES.txt.

Screenshots

  • Light: the picker with nine agent cards, the search field focused, and the small Custom command button under the grid.
  • Dark: the same picker in the dark theme, with the single focus ring on the search field.

Notes

  • Decision 271 in docs/decisions.md; docs/look.md and docs/behaviour.md describe the picker.
  • Size ceiling is exact at 82781 with a Cost line.
  • Gemini can drop its version when the real CLI answers --version after the picker's 3 s limit; the limit is unchanged.
  • Gate at the pushed commit: fmt, clippy -D warnings, cargo nextest run --workspace --locked (2309 passed), kg builds, repo scripts pass.

# Conflicts:
#	.config/size-budget.txt
#	crates/ui/src/kagan/picker/render.rs
#	crates/ui/src/kagan/picker/saved.rs
#	crates/ui/src/kagan/picker/state.rs
#	crates/ui/src/tests/app/picker.rs
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
# Conflicts:
#	.config/size-budget.txt
#	docs/decisions.md
@aorumbayev
aorumbayev merged commit 1852550 into main Nov 12, 2026
20 checks passed
@aorumbayev
aorumbayev deleted the feat/program-icons branch November 12, 2026 10:45
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.

1 participant

0