feat(tui): add yolo permission mode (#33279)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Dax 2026-06-30 01:08:29 -04:00 committed by GitHub
commit 0a5bed2bc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 133 additions and 36 deletions

View file

@ -1442,6 +1442,9 @@ export function Prompt(props: PromptProps) {
<text fg={fadeColor(highlight(), agentMetaAlpha())}>
{store.mode === "shell" ? "Shell" : Locale.titlecase(agent().name)}
</text>
<Show when={store.mode === "normal" && local.permission.mode === "auto"}>
<text fg={fadeColor(theme.textMuted, agentMetaAlpha())}>auto</text>
</Show>
<Show when={store.mode === "normal"}>
<box flexDirection="row" gap={1}>
<text fg={fadeColor(theme.textMuted, modelMetaAlpha())}>·</text>