Skip to content

PlanThreadItem

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1134476893["v2_protocol.PlanThreadItem"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1134476893
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

EXPERIMENTAL - proposed plan item content. The completed plan item is authoritative and may not match the concatenation of PlanDelta text.

Source code in src/codexed/models/v2_protocol.py
class PlanThreadItem(CodexBaseModel):
    """EXPERIMENTAL - proposed plan item content. The completed plan item is authoritative and may not match the concatenation of `PlanDelta` text."""

    completed_at_ms: int | None = None
    """
    Unix timestamp in milliseconds when the item completed, if recorded.
    """
    started_at_ms: int | None = None
    """
    Unix timestamp in milliseconds when the item started, if recorded.
    """
    id: str
    text: str
    type: Literal["plan"] = "plan"

completed_at_ms class-attribute instance-attribute

completed_at_ms: int | None = None

Unix timestamp in milliseconds when the item completed, if recorded.

started_at_ms class-attribute instance-attribute

started_at_ms: int | None = None

Unix timestamp in milliseconds when the item started, if recorded.

:fa-brands-github: Show source on GitHub