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