feat(runtime): add opt-in start on first prompt #15
Loading…
Reference in a new issue
No description provided.
Delete branch "taha/tmux-keys-lazy-start"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 newstill bind or create their session at once. Ctrl+D on the emptystartup 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.
c0eb5b211ctoacf756c318acf756c318to1ea5f30b34ff44a682c8to870aabd3e70bf3500d4fto63c2368a7bssh refused the host config with "Bad owner or permissions". The host's ssh config is a Home Manager file in the Nix store, owned by host root, while the container maps only the daemon user's uid, so the file arrived owned by an unmapped uid. The directory itself was then unreadable ("Operation not permitted"), and known_hosts sat on a read-only bind. The grant now copies config and known_hosts into a sandbox-owned directory under the state dir, forces 0600 files inside a 0700 directory, and binds that directory at /root/.ssh and /home/agent/.ssh read-write, so ssh sees its own files and can still record a new host key.9eaf902918to77f36269b8