Patch Changes
-
1d56275: feat(workflow): add
runtimeContextandtoolsContexttoWorkflowAgent.runtimeContextis shared agent state that flows throughprepareCall,prepareStep, step results, andonFinish.toolsContextis a per-tool map; each tool receives its own validated entry ascontext, validated againsttool.contextSchemawhen defined. The previousexperimental_contextoption (and corresponding fields on related callbacks and option types) has been removed — useruntimeContextfor shared state andtoolsContextfor per-tool values. Context values inWorkflowAgentshould be serializable because they can cross workflow and step boundaries.