Revert "Default a new session to bypassPermissions"

This reverts commit d81c9a7d65.
This commit is contained in:
iris committed 2026-08-29 05:58:17 -04:00
1 parent d81c9a7d65
commit 90a57ca7e9
1 file changed
+5 -7
@@ -67,13 +67,11 @@ fun SpawnScreen(
var title by remember { mutableStateOf("") }
var model by remember { mutableStateOf("") }
var cwd by remember { mutableStateOf("") }
// "bypassPermissions" rather than "auto": on a phone every ask is a
// round trip to a question card, and answering "allow Bash?" dozens of
// times per task is what this app exists to avoid. Auto already allows
// most of what a session does, so what the prompts left were mostly the
// interruption without the choice. The stricter modes stay one tap away
// for a session that warrants one.
var permissionMode by remember { mutableStateOf("bypassPermissions") }
// "auto" rather than "manual": on a phone every ask is a round trip to
// a question card, and answering "allow Bash?" dozens of times per task
// is what this app exists to avoid. Manual stays one tap away for a
// session that warrants it.
var permissionMode by remember { mutableStateOf("auto") }
var busy by remember { mutableStateOf(false) }
// Only the spawn's own failure. The fetch's lives in `options`: this
// one leaves a filled-in form worth keeping, and that one leaves