mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Strip trailing asterisk(s) from command prefixes before performing startsWith checks. This allows patterns like "git*" and "git *" to work as users expect when configuring allowed auto-execute commands. - "git*" normalizes to "git" and matches any command starting with "git" - "git *" normalizes to "git " and matches "git commit" but not "gitk" - Standalone "*" (match-all) behavior remains unchanged - Original prefix length preserved for longest-prefix-match comparisons - Updated UI description to clarify prefix and wildcard behavior - Added comprehensive tests for trailing wildcard patterns Fixes #11756 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||