Files
HKUDS-CLI-Anything/qoder-plugin
shengwei.psw 0bacc98351 fix: improve jq dependency handling and JSON escaping in setup-qodercli.sh
- 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>
2026-03-12 19:34:08 +08:00
..