Skip to content

ClaudeTaskSummaryEntry

Base classes

Name Children Inherits
ClaudeStorageModel
clawd_code_sdk.storage.models
Base for transcript models: fields these models don't know are kept.

⋔ Inheritance diagram

graph TD
  3675305125["models.ClaudeTaskSummaryEntry"]
  746985124["models.ClaudeStorageModel"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  746985124 --> 3675305125
  2604142835 --> 746985124
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeStorageModel

Periodic fork-generated summary of what the agent is currently doing.

Written every min(5 steps, 2min) by forking the main thread mid-turn so claude ps can show something more useful than the last user prompt.

Source code in src/clawd_code_sdk/storage/models.py
class ClaudeTaskSummaryEntry(ClaudeStorageModel):
    """Periodic fork-generated summary of what the agent is currently doing.

    Written every min(5 steps, 2min) by forking the main thread mid-turn
    so ``claude ps`` can show something more useful than the last user prompt.
    """

    type: Literal["task-summary"]
    session_id: str
    summary: str
    timestamp: str

:fa-brands-github: Show source on GitHub