agentPlanFromState
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/angular/chat';Declaration · overload 1
export declare function agentPlanFromState(state: unknown): readonly AgentPlanStep[] | undefined;Parameters
state· requiredunknown
Returns
readonly AgentPlanStep[] | undefined