feat(runtime): add opt-in start on first prompt #15

Merged
kreato merged 20 commits from taha/tmux-keys-lazy-start into main 2026-10-22 18:55:34 +00:00 AGit
Contributor

Opening the TUI created a session immediately, so every launch that ended
without a message left an empty row behind. The new start_on_first_prompt
setting holds the launch on the startup surface until the user submits a
prompt, then creates the session and sends that text, so the runtime and its
sandbox start from the first message instead of from opening the UI.

The gate defers only the create path; --continue, --resume, --fork, and
session new still bind or create their session at once. Ctrl+D on the empty
startup editor now exits before any session exists. The home-manager module
exposes the setting as settings.startOnFirstPrompt and writes it as
start_on_first_prompt.

Opening the TUI created a session immediately, so every launch that ended without a message left an empty row behind. The new start_on_first_prompt setting holds the launch on the startup surface until the user submits a prompt, then creates the session and sends that text, so the runtime and its sandbox start from the first message instead of from opening the UI. The gate defers only the create path; --continue, --resume, --fork, and `session new` still bind or create their session at once. Ctrl+D on the empty startup editor now exits before any session exists. The home-manager module exposes the setting as settings.startOnFirstPrompt and writes it as start_on_first_prompt.
Taha force-pushed taha/tmux-keys-lazy-start from c0eb5b211c to acf756c318 2026-10-21 16:49:18 +00:00 Compare
Taha force-pushed taha/tmux-keys-lazy-start from acf756c318 to 1ea5f30b34 2026-10-21 16:56:58 +00:00 Compare
Taha force-pushed taha/tmux-keys-lazy-start from ff44a682c8 to 870aabd3e7 2026-10-22 15:47:55 +00:00 Compare
Taha force-pushed taha/tmux-keys-lazy-start from 0bf3500d4f to 63c2368a7b 2026-10-22 16:04:12 +00:00 Compare
Taha force-pushed taha/tmux-keys-lazy-start from 9eaf902918 to 77f36269b8 2026-10-22 17:20:18 +00:00 Compare
kreato merged commit e336fe2e5c into main 2026-10-22 18:55:34 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kreato/yazi!15
No description provided.