8000 feat: a setup guide, a kg command row, skills menus and suggested plugins by aorumbayev · Pull Request #116 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat: a setup guide, a kg command row, skills menus and suggested plugins - #116

Merged
aorumbayev merged 9 commits into
mainfrom
feat/first-run
Nov 10, 2026
Merged

aorumbayev merged 9 commits into
mainfrom
feat/first-run

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

First-run and discoverability polish: a setup guide on the empty window, a kg command row, real menus on the Skills page, and suggested kagan-sh plugins.

What changed

  • Setup guide (decision 218): four steps on the empty window (pick an agent, add a project, start a thread, add plugins). Each turns done from real state; agents are rescanned when the empty window comes back. Shown once per new data folder, never for someone who already has a project or thread, auto-hidden when all four are done. Hide, and replay from Settings → General.
  • kg command row (decision 219): when kg is not on the login PATH, Settings → General shows the exact command with a Copy button (macOS link into /usr/local/bin; Windows: the folder to add to Path; AppImage: its own text). The check runs off the main thread with a 3 s limit. No admin prompt.
  • Skills page (decision 216, amends 205): Filter and Sort are menus (counts by source; name or source, both directions). New skill has templates (Blank, Review a pull request, Write release notes, Debug a failing test) and Save in Yours or a project. kg skill new --template.
  • Suggested plugins (decision 217): until an index is added, Settings → Installed suggests Kanban, Canvas, VSCodium, Browser Automation and Auto Name, pinned to exact refs, installed through the normal approval card. A plugin that needs a newer kagan shows "Needs kagan X or later" with Install off.
  • Ceiling raised to the exact count, with a Cost: line.

Checked

fmt, clippy -D warnings, the full workspace tests, scripts. A fresh reviewer's findings are fixed, each behaviour fix with a test shown failing first. Light and dark screenshots.

Not in this change

No test that Install from a suggestion opens the approval card (it would start a real clone); the approval path itself is covered by the install tests.

…lates

Filter lists each source with its count. Sort has name and source, each in both directions. New skill picks a template (blank, review a pull request, release notes, debug a failing test) and Yours or Project. kg skill new takes the same choice as --template.
Settings → Installed lists five kagan-sh plugins with Install buttons while no plugin index is added. Each install goes through the normal approval card.
The empty window shows a panel with four steps: pick an agent, add a project, start a thread, and add plugins. A step is done when its thing exists. Hide sets the setup-guide preference, and Settings → General shows the guide again.
… on PATH

Settings → General has a Command line row. When kg is not on the login PATH it shows the install line for kg beside kagan, and Copy puts it on the clipboard. kagan does not ask for a password.
Keeps the gate green for the setup guide, Skills menus, suggested plugins, and kg command changes.
# Conflicts:
#	.config/size-budget.txt
#	book/src/cli.md
#	crates/domain/src/lib.rs
#	crates/ui/src/kagan/settings.rs
#	crates/ui/src/kagan/settings/pages.rs
#	docs/behaviour.md
#	docs/customize.md
#	docs/decisions.md
Version gate for suggested plugins with disabled Install, guide shown only after the saved choice loads and hides itself when all steps are done, timed kg PATH check with Windows and AppImage states, source sort keeps names A-Z, and renumbered decisions 216-219.
@aorumbayev
aorumbayev merged commit 5da2980 into main Nov 10, 2026
19 checks passed
@aorumbayev
aorumbayev deleted the feat/first-run branch November 10, 2026 13:54
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