Skip to content

ClaudeCompactBoundaryEntry

Base classes

Name Children Inherits
ClaudeSystemEntryBase
clawd_code_sdk.storage.models
Common fields shared across all system entry subtypes.

⋔ Inheritance diagram

graph TD
  381685123["models.ClaudeCompactBoundaryEntry"]
  948888654["models.ClaudeSystemEntryBase"]
  3306911705["models.ClaudeEntryBase"]
  746985124["models.ClaudeStorageModel"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  948888654 --> 381685123
  3306911705 --> 948888654
  746985124 --> 3306911705
  2604142835 --> 746985124
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeSystemEntryBase

System entry emitted when conversation is compacted.

Source code in src/clawd_code_sdk/storage/models.py
class ClaudeCompactBoundaryEntry(ClaudeSystemEntryBase):
    """System entry emitted when conversation is compacted."""

    subtype: Literal["compact_boundary"]
    content: str | None = None
    level: str | None = None
    logical_parent_uuid: str | None = None
    compact_metadata: dict[str, Any] | None = None

:fa-brands-github: Show source on GitHub