Skip to content

SDKControlSeedReadStateRequest

Base classes

Name Children Inherits
_ControlBase
clawd_code_sdk.models.control
Frozen base for all SDK control request models.

⋔ Inheritance diagram

graph TD
  476946755["control.SDKControlSeedReadStateRequest"]
  1268774935["control._ControlBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  1268774935 --> 476946755
  3879467795 --> 1268774935
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ControlBase

Seeds the readFileState cache with a path+mtime entry.

Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read.

Source code in src/clawd_code_sdk/models/control.py
class SDKControlSeedReadStateRequest(_ControlBase):
    """Seeds the readFileState cache with a path+mtime entry.

    Use when a prior Read was removed from context (e.g. by snip) so Edit
    validation would fail despite the client having observed the Read.
    """

    subtype: Literal["seed_read_state"] = "seed_read_state"
    path: str
    mtime: int

:fa-brands-github: Show source on GitHub