8000 feat(ui): one picker card per agent, without past runs by aorumbayev · Pull Request #153 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat(ui): one picker card per agent, without past runs - #153

Merged
aorumbayev merged 4 commits into
mainfrom
claude-code-3
Nov 13, 2026
Merged

aorumbayev merged 4 commits into
mainfrom
claude-code-3

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

The new-thread picker showed one more Claude Code card for every past run with flags (claude --model …, claude --resume <id>), because the program list added the programs of recent threads.

Now the list holds the known agents found on this machine, the shell, and saved programs. One card per agent.

  • ProgramSource::Recent and the recent-thread query are removed.
  • Order: pinned saved programs, then the known agents, the shell, and the other saved programs.
  • A project's program with flags is the default only when it is saved. The project page now says "is not a listed program" instead of "is not installed".
  • Decision 274 supersedes 258 and amends 52, 221 and 240. docs/behaviour.md, book/src/threads.md and book/src/cli.md are updated.
  • New test: a thread started with flags adds no card.

Checks run locally: cargo fmt --check, clippy -D warnings, cargo t --workspace --locked (2303 passed).

The program list no longer adds the programs of recent threads, so a
thread started with flags no longer adds another Claude Code card. A
line with flags is a card only when it is saved. Decision 272.
# Conflicts:
#	docs/decisions.md
The test started a new thread with the shell it had just run, which the
picker listed as a recent program. Recents are gone, and CI has no agent
installed, so the test saves the shell and sets it as the project's program.
# Conflicts:
#	docs/decisions.md
@aorumbayev
aorumbayev merged commit 0945e95 into main Nov 13, 2026
20 checks passed
@aorumbayev
aorumbayev deleted the claude-code-3 branch November 13, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

49DC Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0