Revert the deliberate break: notes skipped again, new_str read again, no platform read without the caller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# often exactly the thing worth reusing.
|
||||
grimoire_skip_path() {
|
||||
case "$1" in
|
||||
*.mdx|*.txt|*.rst|*.json|*.lock|*.log|*.csv|*.tsv|*.svg|*.png|*.jpg|*.jpeg|*.gif|*.ico|*.pdf)
|
||||
*.md|*.mdx|*.txt|*.rst|*.json|*.lock|*.log|*.csv|*.tsv|*.svg|*.png|*.jpg|*.jpeg|*.gif|*.ico|*.pdf)
|
||||
return 0 ;;
|
||||
esac
|
||||
return 1
|
||||
|
||||
@@ -60,7 +60,7 @@ event_cwd=$(grimoire_json_pick "$event_flat" '.cwd')
|
||||
code=$(grimoire_json_pick "$event_flat" '.tool_input.content')
|
||||
[ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.file_content')
|
||||
[ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.new_string')
|
||||
# DELIBERATE BREAK (#8249): the legacy Edit field is no longer read
|
||||
[ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.new_str')
|
||||
|
||||
grimoire_skip_path "$file_path" && exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user