SubagentUpdate
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AnnotatedObject aclientp.schema.base Base class for generated models. |
⋔ Inheritance diagram¶
graph TD
95970861568480["session_updates.SubagentUpdate"]
95970862258240["base.AnnotatedObject"]
95970862254416["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970862258240 --> 95970861568480
95970862254416 --> 95970862258240
95970851503232 --> 95970862254416
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: AnnotatedObject
UNSTABLE: A subagent session started by the parent, or a change to it.
Only sent if the client advertised the subagents capability.
Source code in src/aclientp/schema/session_updates.py
additional_directories
class-attribute
instance-attribute
¶
Additional workspace roots for the child. Each path must be absolute.
capabilities
class-attribute
instance-attribute
¶
capabilities: SubagentSessionCapabilities | None = None
Client-initiated session mutations permitted for this subagent session.
cwd
class-attribute
instance-attribute
¶
The child's working directory. Must be an absolute path.
description
class-attribute
instance-attribute
¶
The parent's description of the child's role or purpose.
session_id
instance-attribute
¶
The opaque session ID identifying the child in all ACP messages.
state
class-attribute
instance-attribute
¶
state: StateUpdate | None = None
Current state snapshot for the child session.
title
class-attribute
instance-attribute
¶
The parent's human-readable display title for this child.