Skip to content

feat(launcher): --query launch flag and first-launch tutorial#49

Open
Mechazawa wants to merge 1 commit into
masterfrom
feat/query-launch-tutorial
Open

feat(launcher): --query launch flag and first-launch tutorial#49
Mechazawa wants to merge 1 commit into
masterfrom
feat/query-launch-tutorial

Conversation

@Mechazawa

Copy link
Copy Markdown
Owner

--query <text> opens the launcher with the query box pre-filled and dispatched as a real query. It forwards to a running daemon over a new additive Command::OpenQuery (tab-delimited wire; open stays byte-identical) or seeds the cold-started daemon. Routed through a shared slint prefill-query that switches to the launcher view first, so a forwarded query is visible even when the daemon was parked in settings or a plugin view.

First-launch tutorial. install_default_plugins_if_needed now returns whether it seeded, reusing that as the first-launch signal. On first launch the daemon fires a preset query answered by a new bundled tutorial plugin and auto-opens its getting-started view via an auto-invoke-plugin window property; the synthetic invoke resolves the target against the live results and skips history/frecency. Typing tutorial, help, or welcome reopens it any time. An explicit --query takes precedence over the tutorial on a genuine first launch.

Closes #44.

🤖 Generated with Claude Code

--query <text> opens the launcher with the query box pre-filled and
dispatched as a real query. It forwards to a running daemon over a new
additive Command::OpenQuery (tab-delimited wire; the open command stays
byte-identical) or seeds the cold-started daemon.

On first launch (reusing the bundled-plugin seed detection) the daemon
fires a preset query that a new bundled tutorial plugin answers, and
auto-opens its getting-started view via the auto-invoke-plugin window
property. The tutorial stays reachable later by typing tutorial, help,
or welcome.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

P2: First-launch tutorial (tutorial plugin + auto-query) and a --query launch parameter

1 participant