plans
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| PlanEntry aclientp.schema.v2.plans A task or goal the agent intends to accomplish. |
||
| PlanItems aclientp.schema.v2.plans A plan as structured entries. |
||
| PlanMarkdown aclientp.schema.v2.plans **UNSTABLE**: A plan as raw markdown content. |
||
| PlanRemoved aclientp.schema.v2.plans **UNSTABLE**: The plan with this ID was removed. |
||
| PlanUpdate aclientp.schema.v2.plans New content of the plan identified by its ``plan_id``. |
||
| UnknownPlanContent aclientp.schema.v2.plans Custom or future plan content; ``type`` values starting with ``_`` are extensions. |
🛈 DocStrings¶
v2 plans: item-based plan_update and plan_removed keyed by plan ID.
PlanEntryPriority
module-attribute
¶
Relative importance of a plan entry. Values starting with _ are extensions.
PlanEntryStatus
module-attribute
¶
Status of a plan entry. Values starting with _ are extensions.
PlanUpdateContent
module-attribute
¶
PlanUpdateContent = Annotated[
Annotated[PlanItems, Tag("items")]
| Annotated[PlanMarkdown, Tag("markdown")]
| Annotated[UnknownPlanContent, Tag(OTHER_TAG)],
Discriminator(open_discriminator("type", frozenset({"items", "markdown"}))),
]
Updated content of a plan.
PlanEntry
¶
Bases: AnnotatedObject
A task or goal the agent intends to accomplish.
Source code in src/aclientp/schema/v2/plans.py
PlanItems
¶
PlanMarkdown
¶
Bases: AnnotatedObject
UNSTABLE: A plan as raw markdown content.
Source code in src/aclientp/schema/v2/plans.py
path
class-attribute
instance-attribute
¶
path: AbsolutePath | MISSING | None = MISSING
Absolute path of the file holding the plan.
PlanRemoved
¶
Bases: AnnotatedObject
UNSTABLE: The plan with this ID was removed.
Source code in src/aclientp/schema/v2/plans.py
PlanUpdate
¶
Bases: AnnotatedObject
New content of the plan identified by its plan_id.