Add bd to Claude Code allowedTools when running `bd setup claude` so that all bd commands (create, update, close, etc.) can run without requiring per-command approval. Changes: - Add addAllowedTool() and removeAllowedTool() helper functions - InstallClaude() now adds "Bash(bd:*)" to allowedTools - RemoveClaude() cleans up the allowedTools entry - Add tests for new functionality Users who have already run `bd setup claude` can run it again to add the missing allowedTools entry while keeping their existing hooks. Fixes #511 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8.8 KiB
8.8 KiB