mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-07-03 13:02:27 +08:00
- Move jq check from global scope to only where needed, allowing config creation to work without jq installed - Add json_escape_path() helper for safe JSON string escaping - Fix unsafe string interpolation in jq filter (use --arg instead) - Use jq -n --arg for safe JSON generation when jq is available - Properly escape paths with special characters (quotes, backslashes) in fallback heredoc when jq is unavailable Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>