- Introduce global safeCommands() map for command whitelisting. - Implement case-insensitive prefix checking for allowed commands. - Simplify argument handling by removing redundant int conversions. - Update error messages and comments for clarity on security policies. - Remove outdated comments and adjust prompt text for consistency. |
||
|---|---|---|
| .. | ||
| loader.go | ||
| runner.go | ||
| types.go | ||