Skip to content

SubagentSessionInfoMeta

Base classes

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

⋔ Inheritance diagram

graph TD
  95970871858416["field_meta.SubagentSessionInfoMeta"]
  125067848556736["builtins.dict"]
  125067848591872["builtins.object"]
  125067848556736 --> 95970871858416
  125067848591872 --> 125067848556736

🛈 DocStrings

Bases: TypedDict

Links a tool call to the subagent session it spawned.

Used by Zed to navigate into subagent threads.

Source code in src/aclientp/schema/field_meta.py
class SubagentSessionInfoMeta(TypedDict):
    """Links a tool call to the subagent session it spawned.

    Used by Zed to navigate into subagent threads.
    """

    session_id: str
    """Session id of the spawned subagent session."""

    message_start_index: int
    """Index of the first message of the subagent's turn."""

    message_end_index: NotRequired[int | None]
    """Index of the subagent's returned message; omitted (Zed) or ``None`` while
    it is running."""

message_end_index instance-attribute

message_end_index: NotRequired[int | None]

Index of the subagent's returned message; omitted (Zed) or None while it is running.

message_start_index instance-attribute

message_start_index: int

Index of the first message of the subagent's turn.

session_id instance-attribute

session_id: str

Session id of the spawned subagent session.

:fa-brands-github: Show source on GitHub