Skip to content

feat(claude): add Auto permission mode#466

Open
markhuot wants to merge 1 commit intogetpaseo:mainfrom
markhuot:feat/claude-auto-mode
Open

feat(claude): add Auto permission mode#466
markhuot wants to merge 1 commit intogetpaseo:mainfrom
markhuot:feat/claude-auto-mode

Conversation

@markhuot
Copy link
Copy Markdown

Exposes Claude Code's classifier-driven "auto" permission mode as a session mode alongside default/acceptEdits/plan/bypass. The SDK (0.2.71) types PermissionMode without "auto" but the native claude binary accepts it, so we widen the internal type and cast at the SDK boundary.

If you’re open to bumping to dep to >=0.2.91 then we could avoid some of the TS monkeying.

Note: this PR was written by AI but reviewed by a human, Mark.

Exposes Claude Code's classifier-driven "auto" permission mode as a
session mode alongside default/acceptEdits/plan/bypass. The SDK (0.2.71)
types PermissionMode without "auto" but the native claude binary accepts
it, so we widen the internal type and cast at the SDK boundary.
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