Repository navigation
feat(daemon): auto-approve permission prompts matching user rules - #24
Open
dominicletz wants to merge 1 commit into
Open
dominicletz wants to merge 1 commit into
dominicletz wants to merge 1 commit into
Conversation
Add an owner-configured list of rules (`auto_approve_rules`, set through `set_config` and the desktop Settings → Connection pane). When a Claude Code permission notification fires, the daemon reads the dialog from the bot's terminal output and, if a rule matches, presses Enter to accept the default "Yes". The hook text names no tool, so the dialog itself is matched. Rules are case-insensitive substrings with `*` wildcards; dashes and whitespace are interchangeable. The list is empty by default, persisted in the meta table, and a match-everything rule is refused. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an owner-configured list of rules (
auto_approve_rules, set throughset_configand the desktop Settings → Connection pane). When a Claude Code permission notification fires, the daemon reads the dialog from the bot's terminal output and, if a rule matches, presses Enter to accept the default "Yes". The hook text names no tool, so the dialog itself is matched.Rules are case-insensitive substrings with
*wildcards; dashes and whitespace are interchangeable. The list is empty by default, persisted in the meta table, and a match-everything rule is refused.