Files
letta-code/src/permissions
cpacker 6f7b3bb08b fix: generate smart wildcard patterns for complex bash commands
When users approve long piped/chained commands (e.g., cd /path && git diff | head -100),
the system now generates intelligent wildcard patterns instead of exact matches. This allows
similar commands to be cached properly.

Changes:
- Parse complex commands containing &&, |, or ; to extract significant patterns
- Generate wildcards like Bash(cd /path && git diff:*) for git commands
- Generate wildcards like Bash(npm run lint:*) for npm commands
- Add tests for long command pattern generation

Fixes the issue where approving git diff | head would not also allow git diff | tail

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2025-10-26 19:12:55 -07:00
..
2025-10-24 21:19:24 -07:00
2025-10-24 21:19:24 -07:00
2025-10-24 21:19:24 -07:00
2025-10-26 17:48:51 -07:00
2025-10-24 21:19:24 -07:00
2025-10-24 21:19:24 -07:00