Summary
Add support for fine-grained Bash tool patterns in the allowed-tools configuration UI, similar to the pattern syntax supported by Claude Code.
Background
Currently, the allowed-tools configuration only supports simple tool names like Task, AskUserQuestion, Bash, etc.
However, Claude Code supports fine-grained patterns for the Bash tool:
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
This allows specifying which specific Bash commands are allowed without permission prompts.
Reference
From the official documentation (https://code.claude.com/docs/en/slash-commands):
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---
Proposed Enhancement
- Update the Allowed Tools UI to support pattern-based Bash tool configuration
- Possible approaches:
- Add a text input for custom patterns
- Add common presets (e.g., "Git operations", "npm commands")
- Allow users to define their own patterns
Related
Summary
Add support for fine-grained Bash tool patterns in the
allowed-toolsconfiguration UI, similar to the pattern syntax supported by Claude Code.Background
Currently, the allowed-tools configuration only supports simple tool names like
Task,AskUserQuestion,Bash, etc.However, Claude Code supports fine-grained patterns for the Bash tool:
This allows specifying which specific Bash commands are allowed without permission prompts.
Reference
From the official documentation (https://code.claude.com/docs/en/slash-commands):
Proposed Enhancement
Related