8000 feat(chat): pick a command with / and a file with @ by aorumbayev · Pull Request #188 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content
8000

feat(chat): pick a command with / and a file with @ - #188

Closed
aorumbayev wants to merge 9 commits into
mainfrom
feat/chat-pickers
Closed

aorumbayev wants to merge 9 commits into
mainfrom
feat/chat-pickers

Conversation

@aorumbayev
@aorumbayev aorumbayev commented Dec 3, 2026 •
Copy link
Copy Markdown
Member

What

/ opens the agent's own commands over the box, filtered as you type; @ opens what a prompt can name: this project's threads and child threads first, then the projects, folders and files. One card as wide as the box, grouped under muted headers, with a command's description and hint and a thread's project name and kind badge. Arrows, Enter, Tab, Escape, a click and the wheel work, and the keyboard stays in the box. A picked thing rides along as a resource link and reads as a chip.

/ list, grouped
@ list, picked child badge
@ list in light
row tooltip
hint line, cut
hint tooltip

Why

Both were plain text, so neither the agent's commands nor the folder could be reached from the box.

How

The agent's available_commands_update is logged as a commands event, so the list survives a restart; a mention is read from the text at send time, so a queued message and a restart keep it.

Notes

/ lists only the agent's own commands: kagan's skills reach a chat as tools. A thread or project mention carries its id and the kg command that reads it.

aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
aorumbayev added a commit that referenced this pull request Dec 4, 2026
@aorumbayev aorumbayev closed this Dec 4, 2026
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