Skip to content

Commit a2af076

Browse files
fix: update clearContext to be hookSpecificOutput (#5)
1 parent 240a709 commit a2af076

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hooks/stop-hook.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ cat <<EOF
119119
"decision": "deny",
120120
"reason": "$ORIGINAL_PROMPT",
121121
"systemMessage": "🔄 Ralph is starting iteration $NEW_ITERATION...",
122-
"clearContext": true
122+
"hookSpecificOutput": {
123+
"clearContext": true
124+
}
123125
}
124126
EOF
125127

0 commit comments

Comments
 (0)