The parseAllowedTools() function was using regex matching which only
captured the first occurrence of --allowed-tools. This caused issues
when users specified multiple space-separated quoted tools like:
--allowed-tools "Bash(git log:*)" "Bash(git diff:*)" "Bash(gh pr:*)"
The fix uses shell-quote library (same as parse-sdk-options.ts) to
properly tokenize arguments. This handles:
- Multiple space-separated quoted tools after a single --allowed-tools
- Multiple --allowedTools flags in the same string
- Mix of comma-separated and space-separated tools
- Glob patterns (which shell-quote returns as objects)
Fixes#746🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Ashwin Bhat <ashwin-ant@users.noreply.github.com>