mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
9c90563765
- Extract isShellTool() helper in tool_renderers.go to eliminate duplicated shell tool matching logic - Replace bannedCommands slice with compiled regex in bash.go for cleaner security validation - Extract pathSet helper type in loader.go for reusable path deduplication - Consolidate ac()/acOr() helpers in themes.go for better organization - Total reduction: ~34 lines across 4 files All tests pass (go test -race ./...) and build succeeds.