Skip to content

Restore default permission mode for chat turns#416

Merged
BunsDev merged 1 commit into
mainfrom
okcode/anthropic-permission-mode
Apr 11, 2026
Merged

Restore default permission mode for chat turns#416
BunsDev merged 1 commit into
mainfrom
okcode/anthropic-permission-mode

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 11, 2026

Summary

  • Restore default permission mode when a chat turn follows an approval-required session that previously ran in plan mode.
  • Make the Claude session context track a concrete base permission mode instead of leaving it undefined.
  • Add coverage for the permission-mode reset path when switching from plan to chat.

Testing

  • bun fmt not run
  • bun lint not run
  • bun typecheck not run
  • Added/updated unit coverage in apps/server/src/provider/Layers/ClaudeAdapter.test.ts

- Default approval-required sessions back to `default` after plan turns
- Keep permission mode state consistent when switching from plan to chat
@github-actions github-actions Bot added size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 11, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 11, 2026 1:51am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 11, 2026 1:51am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant