Default a new session to bypassPermissions
Auto already allows most of what a session does, so the prompts it did raise were mostly the interruption without the choice -- and on a phone each one is a round trip to a question card. Measured rather than assumed: a haiku session spawned this way ran a bare `echo` and a `sleep` loop with no prompt at all. The stricter modes stay one tap away in the same picker, which is where a session that warrants one picks it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
19e3525131
commit
d81c9a7d65
1 file changed
+7
-5
@@ -67,11 +67,13 @@ fun SpawnScreen(
|
|||||||
var title by remember { mutableStateOf("") }
|
var title by remember { mutableStateOf("") }
|
||||||
var model by remember { mutableStateOf("") }
|
var model by remember { mutableStateOf("") }
|
||||||
var cwd by remember { mutableStateOf("") }
|
var cwd by remember { mutableStateOf("") }
|
||||||
// "auto" rather than "manual": on a phone every ask is a round trip to
|
// "bypassPermissions" rather than "auto": on a phone every ask is a
|
||||||
// a question card, and answering "allow Bash?" dozens of times per task
|
// round trip to a question card, and answering "allow Bash?" dozens of
|
||||||
// is what this app exists to avoid. Manual stays one tap away for a
|
// times per task is what this app exists to avoid. Auto already allows
|
||||||
// session that warrants it.
|
// most of what a session does, so what the prompts left were mostly the
|
||||||
var permissionMode by remember { mutableStateOf("auto") }
|
// interruption without the choice. The stricter modes stay one tap away
|
||||||
|
// for a session that warrants one.
|
||||||
|
var permissionMode by remember { mutableStateOf("bypassPermissions") }
|
||||||
var busy by remember { mutableStateOf(false) }
|
var busy by remember { mutableStateOf(false) }
|
||||||
// Only the spawn's own failure. The fetch's lives in `options`: this
|
// 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
|
// one leaves a filled-in form worth keeping, and that one leaves
|
||||||
|
|||||||
Reference in new issue
Block a user