- Replace hardcoded safeCommands map with sync.OnceValue loading from ~/.config/grokkit/safe_shell_commands.yaml - Provide fallback built-in safe list if config load fails - Add safe_shell_commands.yaml.example for user reference - Update safety check to use loaded map and prefix matching |
||
|---|---|---|
| .. | ||
| loader.go | ||
| runner.go | ||
| types.go | ||