agentPlanFromState
Unpublished development API. This package is under development and is not available as a published release.
Reads a plan from agent state: the todos list a deep-agents style to-do
tool writes, [{ content, status }]. Entries without text or with an unknown
status are skipped. Undefined when the state holds no such list.
import { agentPlanFromState } from '@threadplane/core';Declaration · overload 1
export declare function agentPlanFromState(state: unknown): readonly AgentPlanStep[] | undefined;Parameters
state· requiredunknown
Returns
readonly AgentPlanStep[] | undefined