Skip to content

MonitorOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  4253105039["output_types.MonitorOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 4253105039
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output of the Monitor tool.

Source code in src/clawd_code_sdk/models/output_types.py
class MonitorOutput(TypedDict):
    """Output of the Monitor tool."""

    taskId: str
    """ID of the background monitor task."""
    timeoutMs: float
    """Timeout deadline in milliseconds (0 when persistent)."""
    persistent: NotRequired[bool]
    """No timeout — runs until TaskStop or session end."""
    keptInSandboxByCheck: NotRequired[bool]
    """True when the command ran in the sandbox only because its permission check relied on
    the sandbox; the settings would otherwise have exempted it."""

keptInSandboxByCheck instance-attribute

keptInSandboxByCheck: NotRequired[bool]

True when the command ran in the sandbox only because its permission check relied on the sandbox; the settings would otherwise have exempted it.

persistent instance-attribute

persistent: NotRequired[bool]

No timeout — runs until TaskStop or session end.

taskId instance-attribute

taskId: str

ID of the background monitor task.

timeoutMs instance-attribute

timeoutMs: float

Timeout deadline in milliseconds (0 when persistent).

:fa-brands-github: Show source on GitHub