feat: removed conditional fallback of LLM_*_RAW_JSON from built-ins

This commit is contained in:
2026-06-03 14:40:42 -06:00
parent 260bf4e5bc
commit dac2a16677
11 changed files with 29 additions and 8 deletions
+3
View File
@@ -15,6 +15,9 @@ source "$LLM_PROMPT_UTILS_FILE"
# shellcheck disable=SC2154
main() {
argc_contents="$(jq -r '.contents' <<< "$LLM_TOOL_RAW_JSON")"
argc_path="$(jq -r '.path' <<< "$LLM_TOOL_RAW_JSON")"
if [[ -f "$argc_path" ]]; then
printf "%s" "$argc_contents" | git diff --no-index "$argc_path" - || true
guard_operation "Apply changes?"