Skip to content

PostCompactHookInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  705593244["hooks.PostCompactHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 705593244
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for PostCompact hook events.

Source code in src/clawd_code_sdk/models/hooks.py
class PostCompactHookInput(BaseHookInput):
    """Input data for PostCompact hook events."""

    hook_event_name: Literal["PostCompact"]
    trigger: CompactionTrigger
    compact_summary: str

:fa-brands-github: Show source on GitHub