Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class PlanItem(val id: String, val content: String, val status: TaskStatus = TaskStatus.PENDING, val activeForm: String = "")

One step: content in imperative form, activeForm shown while it runs.

Link copied to clipboard
class Planning(store: PlanStore = InMemoryPlanStore(), title: String = "Plan") : Capability

A model-owned task list with the tools, texts and reminder of Pydantic AI Harness Planning: write_plan replaces the whole plan, read_plan shows ids, add_task, update_task_status, update_task_statuses (validated as a batch) and remove_task edit it. The current plan is appended to each turn as a <plan-reminder> (context), and every change is published to the UI as a data-plan part for the Plan element.

Link copied to clipboard
interface PlanStore

Where the plan lives; InMemoryPlanStore keeps it for the harness' lifetime.

Link copied to clipboard

Status of a plan step (Pydantic AI Harness TaskStatus, without subtasks).