Skip to content

feat(tui): configure session permission handling - #48545

Merged
thdxr merged 2 commits into
v2from
permission-config
Sep 11, 2026
Merged

thdxr merged 2 commits into
v2from
permission-config

Conversation

@thdxr

@thdxr thdxr commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Issue for this PR

Closes #

Type of change

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

What does this PR do?

Adds session.permissions to cli.json with prompt and autoaccept modes. The setting replaces the dedicated permission command and keybind. Starting the TUI with --auto still enables auto-accept for that process without changing the config file.

How did you verify your code works?

  • TUI and CLI typechecks
  • Full repository pre-push typecheck
  • Relevant TUI suite, with the adjusted settings test rerun successfully
  • CLI config tests (16 passing)
  • Website typecheck, generated-file check, and production build

Screenshots / recordings

Not included; this adds an entry to the existing settings dialog.

Checklist

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

@thdxr
thdxr enabled auto-merge (squash) September 11, 2026 19:44
@thdxr
thdxr merged commit 312651f into v2 Sep 11, 2026
12 checks passed
@thdxr
thdxr deleted the permission-config branch September 11, 2026 19:50
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