Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions hooks/post-compact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ using_hyperpowers_escaped=$(escape_for_json "$using_hyperpowers_content")

cat <<EOF
{
"hookSpecificOutput": {
"hookEventName": "PostCompact",
"additionalContext": "<EXTREMELY_IMPORTANT>\nContext was compacted. You have hyperpowers — always check skills before responding.\n\n${using_hyperpowers_escaped}${progress_context}\n</EXTREMELY_IMPORTANT>"
}
"systemMessage": "<EXTREMELY_IMPORTANT>\nContext was compacted. You have hyperpowers — always check skills before responding.\n\n${using_hyperpowers_escaped}${progress_context}\n</EXTREMELY_IMPORTANT>"
}
EOF

Expand Down