Skip to content

fix(tui): preview always-allow patterns without extra confirmation - #47369

Merged
opencode-agent[bot] merged 1 commit into
v2from
permission-preview
Sep 4, 2026
Merged

opencode-agent[bot] merged 1 commit into
v2from
permission-preview

Conversation

@thdxr

@thdxr thdxr commented Sep 4, 2026

Copy link
Copy Markdown
Member

Issue for this PR

No linked issue.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Show saved permission patterns and project scope when Always allow is highlighted in the full-screen TUI. Enter submits immediately instead of opening another confirmation screen. Moving away restores operation details. Mini is unchanged.

How did you verify your code works?

  • TUI typecheck and repository pre-push typechecks passed.
  • Nine existing permission checks passed.
  • Four temporary render checks passed at 70 and 110 columns, covering explicit patterns, wildcard scope, restoring operation details, and single-Enter submission. Temporary tests were removed per repository guidance.

Screenshots / recordings

Not captured; verified with the terminal render test harness.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@opencode-agent
opencode-agent Bot enabled auto-merge (squash) September 4, 2026 21:33
@opencode-agent
opencode-agent Bot merged commit f268956 into v2 Sep 4, 2026
10 checks passed
@opencode-agent
opencode-agent Bot deleted the permission-preview branch September 4, 2026 21:35
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant