eventName
PostCompact (Claude Code)
displayName
PostCompact (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
false
family
observer
payloadSchema
type
object
required
properties
hook_event_name
type
string
const
PostCompact
trigger
description
Fires after context compaction completes. Pairs with PreCompact
(which is blocking; this one is observer-only). Used for
compaction-event telemetry + downstream context refresh.