@langchain/langgraph-sdk 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/error.d.cts.map +1 -1
- package/dist/auth/error.d.ts.map +1 -1
- package/dist/auth/index.d.cts.map +1 -1
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/types.d.cts.map +1 -1
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/logging/index.d.cts.map +1 -1
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/stream.custom.d.cts.map +1 -1
- package/dist/react/stream.custom.d.ts.map +1 -1
- package/dist/react/stream.d.cts +0 -1
- package/dist/react/stream.d.cts.map +1 -1
- package/dist/react/stream.d.ts +0 -1
- package/dist/react/stream.d.ts.map +1 -1
- package/dist/react/types.d.cts +1 -1
- package/dist/react/types.d.cts.map +1 -1
- package/dist/react/types.d.ts +1 -1
- package/dist/react/types.d.ts.map +1 -1
- package/dist/react-ui/client.d.cts.map +1 -1
- package/dist/react-ui/client.d.ts.map +1 -1
- package/dist/react-ui/server/server.d.cts +1 -2
- package/dist/react-ui/server/server.d.cts.map +1 -1
- package/dist/react-ui/server/server.d.ts +1 -2
- package/dist/react-ui/server/server.d.ts.map +1 -1
- package/dist/react-ui/types.d.cts.map +1 -1
- package/dist/react-ui/types.d.ts.map +1 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/singletons/fetch.d.cts +0 -3
- package/dist/singletons/fetch.d.cts.map +1 -1
- package/dist/singletons/fetch.d.ts +0 -3
- package/dist/singletons/fetch.d.ts.map +1 -1
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.messages.d.cts.map +1 -1
- package/dist/types.messages.d.ts.map +1 -1
- package/dist/types.stream.d.cts +0 -1
- package/dist/types.stream.d.cts.map +1 -1
- package/dist/types.stream.d.ts +0 -1
- package/dist/types.stream.d.ts.map +1 -1
- package/dist/types.template.d.cts.map +1 -1
- package/dist/types.template.d.ts.map +1 -1
- package/dist/ui/branching.d.cts.map +1 -1
- package/dist/ui/branching.d.ts.map +1 -1
- package/dist/ui/manager.cjs.map +1 -1
- package/dist/ui/manager.js.map +1 -1
- package/dist/ui/stream/agent.d.cts +0 -1
- package/dist/ui/stream/agent.d.cts.map +1 -1
- package/dist/ui/stream/agent.d.ts +0 -1
- package/dist/ui/stream/agent.d.ts.map +1 -1
- package/dist/ui/stream/base.d.cts +0 -1
- package/dist/ui/stream/base.d.cts.map +1 -1
- package/dist/ui/stream/base.d.ts +0 -1
- package/dist/ui/stream/base.d.ts.map +1 -1
- package/dist/ui/stream/deep-agent.d.cts +7 -8
- package/dist/ui/stream/deep-agent.d.cts.map +1 -1
- package/dist/ui/stream/deep-agent.d.ts +7 -8
- package/dist/ui/stream/deep-agent.d.ts.map +1 -1
- package/dist/ui/stream/index.d.cts +0 -1
- package/dist/ui/stream/index.d.cts.map +1 -1
- package/dist/ui/stream/index.d.ts +0 -1
- package/dist/ui/stream/index.d.ts.map +1 -1
- package/dist/ui/subagents.cjs.map +1 -1
- package/dist/ui/subagents.d.cts +6 -7
- package/dist/ui/subagents.d.cts.map +1 -1
- package/dist/ui/subagents.d.ts +6 -7
- package/dist/ui/subagents.d.ts.map +1 -1
- package/dist/ui/subagents.js.map +1 -1
- package/dist/ui/types.d.cts +50 -48
- package/dist/ui/types.d.cts.map +1 -1
- package/dist/ui/types.d.ts +50 -48
- package/dist/ui/types.d.ts.map +1 -1
- package/dist/utils/async_caller.d.cts.map +1 -1
- package/dist/utils/async_caller.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/ui/types.d.ts
CHANGED
|
@@ -7,22 +7,22 @@ import { BagTemplate } from "../types.template.js";
|
|
|
7
7
|
import { InferInteropZodInput } from "@langchain/core/utils/types";
|
|
8
8
|
|
|
9
9
|
//#region src/ui/types.d.ts
|
|
10
|
-
|
|
11
10
|
/**
|
|
12
11
|
* Represents a tool call that initiated a subagent.
|
|
12
|
+
*
|
|
13
|
+
* @template SubagentName - The subagent name type. When inferred from a
|
|
14
|
+
* DeepAgent, this is a union of all subagent names (e.g. `"researcher" | "writer"`),
|
|
15
|
+
* making `args.subagent_type` a typed discriminant.
|
|
13
16
|
*/
|
|
14
|
-
interface SubagentToolCall {
|
|
17
|
+
interface SubagentToolCall<SubagentName extends string = string> {
|
|
15
18
|
/** The tool call ID */
|
|
16
19
|
id: string;
|
|
17
20
|
/** The name of the tool (typically "task") */
|
|
18
21
|
name: string;
|
|
19
22
|
/** The arguments passed to the tool */
|
|
20
23
|
args: {
|
|
21
|
-
/** The task description for the subagent */
|
|
22
|
-
|
|
23
|
-
/** The type of subagent to use */
|
|
24
|
-
subagent_type?: string;
|
|
25
|
-
/** Additional custom arguments */
|
|
24
|
+
/** The task description for the subagent */description?: string; /** The type of subagent to use */
|
|
25
|
+
subagent_type?: SubagentName; /** Additional custom arguments */
|
|
26
26
|
[key: string]: unknown;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
@@ -104,18 +104,18 @@ interface StreamBase<StateType = Record<string, unknown>, ToolCall = DefaultTool
|
|
|
104
104
|
* All currently active and completed subagent streams.
|
|
105
105
|
* Keyed by tool call ID for easy lookup.
|
|
106
106
|
*/
|
|
107
|
-
subagents: Map<string,
|
|
107
|
+
subagents: Map<string, SubagentStreamInterface<SubagentStates[keyof SubagentStates], ToolCall, keyof SubagentStates & string>>;
|
|
108
108
|
/**
|
|
109
109
|
* Currently active subagents (where status === "running").
|
|
110
110
|
*/
|
|
111
|
-
activeSubagents:
|
|
111
|
+
activeSubagents: SubagentStreamInterface<SubagentStates[keyof SubagentStates], ToolCall, keyof SubagentStates & string>[];
|
|
112
112
|
/**
|
|
113
113
|
* Get subagent stream by tool call ID.
|
|
114
114
|
*
|
|
115
115
|
* @param toolCallId - The tool call ID that initiated the subagent.
|
|
116
116
|
* @returns The subagent stream, or undefined if not found.
|
|
117
117
|
*/
|
|
118
|
-
getSubagent: (toolCallId: string) =>
|
|
118
|
+
getSubagent: (toolCallId: string) => SubagentStreamInterface<SubagentStates[keyof SubagentStates], ToolCall, keyof SubagentStates & string> | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* Get all subagents of a specific type.
|
|
121
121
|
* When called with a literal type name that matches a key in SubagentStates,
|
|
@@ -133,8 +133,8 @@ interface StreamBase<StateType = Record<string, unknown>, ToolCall = DefaultTool
|
|
|
133
133
|
* ```
|
|
134
134
|
*/
|
|
135
135
|
getSubagentsByType: {
|
|
136
|
-
<TName extends keyof SubagentStates & string>(type: TName):
|
|
137
|
-
(type: string):
|
|
136
|
+
<TName extends keyof SubagentStates & string>(type: TName): SubagentStreamInterface<SubagentStates[TName], ToolCall, TName>[];
|
|
137
|
+
(type: string): SubagentStreamInterface<Record<string, unknown>, ToolCall>[];
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* Get all subagents triggered by a specific AI message.
|
|
@@ -160,36 +160,30 @@ interface StreamBase<StateType = Record<string, unknown>, ToolCall = DefaultTool
|
|
|
160
160
|
* ))}
|
|
161
161
|
* ```
|
|
162
162
|
*/
|
|
163
|
-
getSubagentsByMessage: (messageId: string) =>
|
|
163
|
+
getSubagentsByMessage: (messageId: string) => SubagentStreamInterface<SubagentStates[keyof SubagentStates], ToolCall, keyof SubagentStates & string>[];
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
166
|
+
* Base interface for a single subagent stream.
|
|
167
167
|
* Tracks the lifecycle of a subagent from invocation to completion.
|
|
168
168
|
*
|
|
169
169
|
* Extends StreamBase to share common properties with UseStream,
|
|
170
170
|
* allowing subagents to be treated similarly to the main stream.
|
|
171
171
|
*
|
|
172
|
+
* Prefer using {@link SubagentStream} which supports passing an agent type
|
|
173
|
+
* directly for automatic type inference.
|
|
174
|
+
*
|
|
172
175
|
* @template StateType - The state type of the subagent. Defaults to Record<string, unknown>
|
|
173
176
|
* since different subagents may have different state types. Can be narrowed using
|
|
174
177
|
* DeepAgent type helpers like `InferSubagentByName` when the specific subagent is known.
|
|
175
178
|
* @template ToolCall - The type of tool calls in messages.
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* ```typescript
|
|
179
|
-
* // Default usage with unknown state
|
|
180
|
-
* const subagent: SubagentStream = stream.getSubagent("call_123");
|
|
181
|
-
*
|
|
182
|
-
* // Narrowed state type when subagent type is known
|
|
183
|
-
* type ResearcherState = { research_notes: string };
|
|
184
|
-
* const researcher = stream.getSubagent("call_123") as SubagentStream<ResearcherState>;
|
|
185
|
-
* console.log(researcher.values.research_notes);
|
|
186
|
-
* ```
|
|
179
|
+
* @template SubagentName - The subagent name union type. When inferred from a DeepAgent,
|
|
180
|
+
* enables typed `toolCall.args.subagent_type`.
|
|
187
181
|
*/
|
|
188
|
-
interface
|
|
182
|
+
interface SubagentStreamInterface<StateType = Record<string, unknown>, ToolCall = DefaultToolCall, SubagentName extends string = string> extends StreamBase<StateType, ToolCall> {
|
|
189
183
|
/** Unique identifier (the tool call ID) */
|
|
190
184
|
id: string;
|
|
191
185
|
/** The tool call that invoked this subagent */
|
|
192
|
-
toolCall: SubagentToolCall
|
|
186
|
+
toolCall: SubagentToolCall<SubagentName>;
|
|
193
187
|
/** Current execution status */
|
|
194
188
|
status: SubagentStatus;
|
|
195
189
|
/** Final result content (when complete) */
|
|
@@ -205,6 +199,34 @@ interface SubagentStream<StateType = Record<string, unknown>, ToolCall = Default
|
|
|
205
199
|
/** When the subagent completed */
|
|
206
200
|
completedAt: Date | null;
|
|
207
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Represents a single subagent stream.
|
|
204
|
+
*
|
|
205
|
+
* Supports two usage patterns:
|
|
206
|
+
*
|
|
207
|
+
* 1. **Agent type inference** (recommended): Pass a DeepAgent type directly and
|
|
208
|
+
* let TypeScript infer the correct state and tool call types.
|
|
209
|
+
*
|
|
210
|
+
* ```typescript
|
|
211
|
+
* import type { agent } from "./agent";
|
|
212
|
+
*
|
|
213
|
+
* // Automatically infers state and tool call types from the agent
|
|
214
|
+
* const subagent: SubagentStream<typeof agent> = ...;
|
|
215
|
+
* ```
|
|
216
|
+
*
|
|
217
|
+
* 2. **Explicit generics**: Pass state and tool call types manually.
|
|
218
|
+
*
|
|
219
|
+
* ```typescript
|
|
220
|
+
* type ResearcherState = { research_notes: string };
|
|
221
|
+
* const researcher: SubagentStream<ResearcherState, MyToolCall> = ...;
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
224
|
+
* @template T - Either a DeepAgent/Agent type for automatic inference,
|
|
225
|
+
* or a state type (Record) for explicit typing. Defaults to Record<string, unknown>.
|
|
226
|
+
* @template ToolCall - The type of tool calls in messages.
|
|
227
|
+
* Only used when T is a state type. Defaults to DefaultToolCall.
|
|
228
|
+
*/
|
|
229
|
+
type SubagentStream<T = Record<string, unknown>, ToolCall = DefaultToolCall> = IsDeepAgentLike<T> extends true ? SubagentStreamInterface<SubagentStateMap<T, InferAgentToolCalls<T>>[InferSubagentNames<T>], InferAgentToolCalls<T>, InferSubagentNames<T>> : IsAgentLike<T> extends true ? SubagentStreamInterface<InferAgentState<T>, InferAgentToolCalls<T>> : SubagentStreamInterface<T, ToolCall>;
|
|
208
230
|
/**
|
|
209
231
|
* Minimal interface matching the structure of AgentTypeConfig from @langchain/langgraph.
|
|
210
232
|
* This allows type inference from ReactAgent without requiring the langchain dependency.
|
|
@@ -765,16 +787,6 @@ interface UseStreamOptions<StateType extends Record<string, unknown> = Record<st
|
|
|
765
787
|
*/
|
|
766
788
|
throttle?: number | boolean;
|
|
767
789
|
}
|
|
768
|
-
/**
|
|
769
|
-
* Union of all stream options types.
|
|
770
|
-
*
|
|
771
|
-
* Used internally by the implementation to accept any options type.
|
|
772
|
-
* This allows the implementation functions to handle options from
|
|
773
|
-
* any agent type while maintaining type safety at the public API level.
|
|
774
|
-
*
|
|
775
|
-
* @internal
|
|
776
|
-
*/
|
|
777
|
-
|
|
778
790
|
interface RunMetadataStorage {
|
|
779
791
|
getItem(key: `lg:stream:${string}`): string | null;
|
|
780
792
|
setItem(key: `lg:stream:${string}`, value: string): void;
|
|
@@ -846,17 +858,7 @@ interface UseStreamTransport<StateType extends Record<string, unknown> = Record<
|
|
|
846
858
|
type UseStreamCustomOptions<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> = Pick<UseStreamOptions<StateType, Bag>, "messagesKey" | "threadId" | "onThreadId" | "onError" | "onCreated" | "onUpdateEvent" | "onCustomEvent" | "onMetadataEvent" | "onLangChainEvent" | "onDebugEvent" | "onCheckpointEvent" | "onTaskEvent" | "onStop" | "initialValues" | "throttle"> & {
|
|
847
859
|
transport: UseStreamTransport<StateType, Bag>;
|
|
848
860
|
};
|
|
849
|
-
/**
|
|
850
|
-
* Union of all custom stream options types.
|
|
851
|
-
*
|
|
852
|
-
* Used internally by the implementation to accept any custom options type.
|
|
853
|
-
* This allows the implementation functions to handle options from
|
|
854
|
-
* any agent type while maintaining type safety at the public API level.
|
|
855
|
-
*
|
|
856
|
-
* @internal
|
|
857
|
-
*/
|
|
858
|
-
|
|
859
861
|
type CustomSubmitOptions<StateType extends Record<string, unknown> = Record<string, unknown>, ConfigurableType extends Record<string, unknown> = Record<string, unknown>> = Pick<SubmitOptions<StateType, ConfigurableType>, "optimisticValues" | "context" | "command" | "config">;
|
|
860
862
|
//#endregion
|
|
861
|
-
export { AgentTypeConfigLike, BaseSubagentState, CompiledSubAgentLike, CustomSubmitOptions, DeepAgentTypeConfigLike, DefaultSubagentStates, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, GetConfigurableType, GetInterruptType, GetToolCallsType, GetUpdateType, InferAgentState, InferAgentToolCalls, InferDeepAgentSubagents, InferSubagentByName, InferSubagentNames, InferSubagentState, IsAgentLike, IsDeepAgentLike, MessageMetadata, RunCallbackMeta, StreamBase, SubAgentLike, SubagentStateMap, SubagentStatus, SubagentStream, SubagentToolCall, SubmitOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport };
|
|
863
|
+
export { AgentTypeConfigLike, BaseSubagentState, CompiledSubAgentLike, CustomSubmitOptions, DeepAgentTypeConfigLike, DefaultSubagentStates, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, GetConfigurableType, GetInterruptType, GetToolCallsType, GetUpdateType, InferAgentState, InferAgentToolCalls, InferDeepAgentSubagents, InferSubagentByName, InferSubagentNames, InferSubagentState, IsAgentLike, IsDeepAgentLike, MessageMetadata, RunCallbackMeta, StreamBase, SubAgentLike, SubagentStateMap, SubagentStatus, SubagentStream, SubagentStreamInterface, SubagentToolCall, SubmitOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport };
|
|
862
864
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/ui/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":["InferInteropZodInput","Client","ClientConfig","ThreadState","Config","Checkpoint","Metadata","Interrupt","Command","MultitaskStrategy","OnCompletionBehavior","DisconnectMode","Durability","UpdatesStreamEvent","CustomStreamEvent","MetadataStreamEvent","EventsStreamEvent","DebugStreamEvent","CheckpointsStreamEvent","TasksStreamEvent","StreamMode","DefaultToolCall","AIMessage","Message","ToolCallWithResult","BagTemplate","SubagentToolCall","SubagentStatus","DefaultSubagentStates","Record","StreamBase","StateType","ToolCall","InterruptType","SubagentStates","SubagentStream","Map","TName","Date","AgentTypeConfigLike","IsAgentLike","T","ExtractAgentConfig","AgentMiddlewareLike","TSchema","TContextSchema","TFullContext","TTools","InferMiddlewareState","S","IsAny","InferMiddlewareStatesFromArray","First","Rest","U","BaseAgentState","InferAgentState","InferAgentToolCalls","RunOutput","InferToolInput","Args","IsLiteralString","ToolCallFromAgentTool","N","Tool","SubAgentLike","CompiledSubAgentLike","DeepAgentTypeConfigLike","IsDeepAgentLike","ExtractDeepAgentConfig","ExtractSubAgentMiddleware","M","InferDeepAgentSubagents","InferSubagentByName","SA","BaseSubagentState","InferSubagentState","InferSubagentNames","SubagentStateMap","K","ExtractToolCallFromMessageUnion","TC","ExtractToolCallsFromState","Messages","MessageMetadata","GetUpdateType","Bag","Partial","GetConfigurableType","GetInterruptType","GetCustomEventType","GetToolCallsType","RunCallbackMeta","UseStreamThread","Promise","UseStreamOptions","RunMetadataStorage","AnyStreamOptions","ConfigWithConfigurable","ConfigurableType","SubmitOptions","ContextType","Omit","Array","UseStreamTransport","AbortSignal","AsyncGenerator","UseStreamCustomOptions","Pick","AnyStreamCustomOptions","CustomSubmitOptions"],"sources":["../../src/ui/types.d.ts"],"sourcesContent":["import type { InferInteropZodInput } from \"@langchain/core/utils/types\";\nimport type { Client, ClientConfig } from \"../client.js\";\nimport type { ThreadState, Config, Checkpoint, Metadata, Interrupt } from \"../schema.js\";\nimport type { Command, MultitaskStrategy, OnCompletionBehavior, DisconnectMode, Durability } from \"../types.js\";\nimport type { UpdatesStreamEvent, CustomStreamEvent, MetadataStreamEvent, EventsStreamEvent, DebugStreamEvent, CheckpointsStreamEvent, TasksStreamEvent, StreamMode } from \"../types.stream.js\";\nimport type { DefaultToolCall, AIMessage, Message, ToolCallWithResult } from \"../types.messages.js\";\nimport type { BagTemplate } from \"../types.template.js\";\n/**\n * Represents a tool call that initiated a subagent.\n */\nexport interface SubagentToolCall {\n /** The tool call ID */\n id: string;\n /** The name of the tool (typically \"task\") */\n name: string;\n /** The arguments passed to the tool */\n args: {\n /** The task description for the subagent */\n description?: string;\n /** The type of subagent to use */\n subagent_type?: string;\n /** Additional custom arguments */\n [key: string]: unknown;\n };\n}\n/**\n * The execution status of a subagent.\n *\n * - `\"pending\"` - The subagent has been invoked but hasn't started processing yet.\n * This is the initial state when a tool call is detected but before any\n * streaming events are received from the subgraph.\n *\n * - `\"running\"` - The subagent is actively executing and streaming updates.\n * The subagent transitions to this state when the first update event is\n * received from its namespace.\n *\n * - `\"complete\"` - The subagent has finished execution successfully.\n * A tool message with the result has been received, and the `result`\n * property contains the final output.\n *\n * - `\"error\"` - The subagent encountered an error during execution.\n * The `error` property on the SubagentStream contains error details.\n */\nexport type SubagentStatus = \"pending\" | \"running\" | \"complete\" | \"error\";\n/**\n * Default subagent state map used when no specific subagent types are provided.\n * Maps any string key to Record<string, unknown>.\n */\nexport type DefaultSubagentStates = Record<string, Record<string, unknown>>;\n/**\n * Base interface for stream-like objects.\n * Contains common properties shared between UseStream and SubagentStream.\n *\n * @template StateType - The type of the stream's state values.\n * @template ToolCall - The type of tool calls in messages.\n * @template InterruptType - The type of interrupt values.\n * @template SubagentStates - A map of subagent names to their state types.\n * Use `SubagentStateMap<typeof agent>` to infer from a DeepAgent.\n */\nexport interface StreamBase<StateType = Record<string, unknown>, ToolCall = DefaultToolCall, InterruptType = unknown, SubagentStates extends Record<string, unknown> = DefaultSubagentStates> {\n /**\n * The current state values of the stream.\n */\n values: StateType;\n /**\n * Last seen error from the stream.\n */\n error: unknown;\n /**\n * Whether the stream is currently running.\n */\n isLoading: boolean;\n /**\n * Messages accumulated during the stream.\n */\n messages: Message<ToolCall>[];\n /**\n * Tool calls paired with their results.\n * Useful for rendering tool invocations and their outputs together.\n */\n toolCalls: ToolCallWithResult<ToolCall>[];\n /**\n * Get tool calls for a specific AI message.\n *\n * @param message - The AI message to get tool calls for.\n * @returns Array of tool calls initiated by the message.\n */\n getToolCalls: (message: AIMessage<ToolCall>) => ToolCallWithResult<ToolCall>[];\n /**\n * Get the interrupt value for the stream if interrupted.\n * Convenience alias for `interrupts[0]`.\n */\n interrupt: Interrupt<InterruptType> | undefined;\n /**\n * All current interrupts from the stream.\n * When using Send() fan-out with per-task interrupt() calls,\n * multiple interrupts may be pending simultaneously.\n */\n interrupts: Interrupt<InterruptType>[];\n /**\n * All currently active and completed subagent streams.\n * Keyed by tool call ID for easy lookup.\n */\n subagents: Map<string, SubagentStream<SubagentStates[keyof SubagentStates], ToolCall>>;\n /**\n * Currently active subagents (where status === \"running\").\n */\n activeSubagents: SubagentStream<SubagentStates[keyof SubagentStates], ToolCall>[];\n /**\n * Get subagent stream by tool call ID.\n *\n * @param toolCallId - The tool call ID that initiated the subagent.\n * @returns The subagent stream, or undefined if not found.\n */\n getSubagent: (toolCallId: string) => SubagentStream<SubagentStates[keyof SubagentStates], ToolCall> | undefined;\n /**\n * Get all subagents of a specific type.\n * When called with a literal type name that matches a key in SubagentStates,\n * returns streams with properly inferred state types.\n *\n * @param type - The subagent_type to filter by.\n * @returns Array of matching subagent streams with inferred state types.\n *\n * @example\n * ```ts\n * // With DeepAgent type inference\n * const stream = useStream<typeof agent>(...);\n * const researchers = stream.getSubagentsByType(\"researcher\");\n * // researchers[0].values is typed with ResearcherMiddleware state\n * ```\n */\n getSubagentsByType: {\n <TName extends keyof SubagentStates & string>(type: TName): SubagentStream<SubagentStates[TName], ToolCall>[];\n (type: string): SubagentStream<Record<string, unknown>, ToolCall>[];\n };\n /**\n * Get all subagents triggered by a specific AI message.\n *\n * Useful for rendering subagent activities grouped by the AI message\n * (and therefore conversation turn) that spawned them.\n *\n * @param messageId - The ID of the AI message that triggered the subagents.\n * @returns Array of subagent streams triggered by that message.\n *\n * @example\n * ```tsx\n * // Render subagents after each AI message that triggered them\n * {stream.messages.map((msg) => (\n * <div key={msg.id}>\n * <MessageBubble message={msg} />\n * {msg.type === \"ai\" && \"tool_calls\" in msg && (\n * <SubagentPipeline\n * subagents={stream.getSubagentsByMessage(msg.id)}\n * />\n * )}\n * </div>\n * ))}\n * ```\n */\n getSubagentsByMessage: (messageId: string) => SubagentStream<SubagentStates[keyof SubagentStates], ToolCall>[];\n}\n/**\n * Represents a single subagent stream.\n * Tracks the lifecycle of a subagent from invocation to completion.\n *\n * Extends StreamBase to share common properties with UseStream,\n * allowing subagents to be treated similarly to the main stream.\n *\n * @template StateType - The state type of the subagent. Defaults to Record<string, unknown>\n * since different subagents may have different state types. Can be narrowed using\n * DeepAgent type helpers like `InferSubagentByName` when the specific subagent is known.\n * @template ToolCall - The type of tool calls in messages.\n *\n * @example\n * ```typescript\n * // Default usage with unknown state\n * const subagent: SubagentStream = stream.getSubagent(\"call_123\");\n *\n * // Narrowed state type when subagent type is known\n * type ResearcherState = { research_notes: string };\n * const researcher = stream.getSubagent(\"call_123\") as SubagentStream<ResearcherState>;\n * console.log(researcher.values.research_notes);\n * ```\n */\nexport interface SubagentStream<StateType = Record<string, unknown>, ToolCall = DefaultToolCall> extends StreamBase<StateType, ToolCall> {\n /** Unique identifier (the tool call ID) */\n id: string;\n /** The tool call that invoked this subagent */\n toolCall: SubagentToolCall;\n /** Current execution status */\n status: SubagentStatus;\n /** Final result content (when complete) */\n result: string | null;\n /** Namespace path for this subagent execution */\n namespace: string[];\n /** Tool call ID of parent subagent (for nested subagents) */\n parentId: string | null;\n /** Nesting depth (0 = called by main agent, 1 = called by subagent, etc.) */\n depth: number;\n /** When the subagent started */\n startedAt: Date | null;\n /** When the subagent completed */\n completedAt: Date | null;\n}\n/**\n * Minimal interface matching the structure of AgentTypeConfig from @langchain/langgraph.\n * This allows type inference from ReactAgent without requiring the langchain dependency.\n */\nexport interface AgentTypeConfigLike {\n Response: unknown;\n State: unknown;\n Context: unknown;\n Middleware: unknown;\n Tools: unknown;\n}\n/**\n * Check if a type is agent-like (has `~agentTypes` phantom property).\n * This property is present on `ReactAgent` instances created with `createAgent`.\n */\nexport type IsAgentLike<T> = T extends {\n \"~agentTypes\": AgentTypeConfigLike;\n} ? true : false;\n/**\n * Extract the AgentTypeConfig from an agent-like type.\n *\n * @example\n * ```ts\n * const agent = createAgent({ ... });\n * type Config = ExtractAgentConfig<typeof agent>;\n * // Config is the AgentTypeConfig with Response, State, Context, Middleware, Tools\n * ```\n */\nexport type ExtractAgentConfig<T> = T extends {\n \"~agentTypes\": infer Config;\n} ? Config extends AgentTypeConfigLike ? Config : never : never;\n/**\n * Minimal interface to structurally match AgentMiddleware from langchain.\n * We can't import AgentMiddleware due to circular dependencies, so we match\n * against its structure to extract type information.\n */\nexport interface AgentMiddlewareLike<TSchema = unknown, TContextSchema = unknown, TFullContext = unknown, TTools = unknown> {\n name: string;\n stateSchema?: TSchema;\n \"~middlewareTypes\"?: {\n Schema: TSchema;\n ContextSchema: TContextSchema;\n FullContext: TFullContext;\n Tools: TTools;\n };\n}\n/**\n * Helper type to extract state from a single middleware instance.\n * Uses structural matching against AgentMiddleware to extract the state schema\n * type parameter, similar to how langchain's InferMiddlewareState works.\n */\ntype InferMiddlewareState<T> = T extends AgentMiddlewareLike<infer TSchema, unknown, unknown, unknown> ? TSchema extends Record<string, any> ? InferInteropZodInput<TSchema> : {} : T extends {\n stateSchema: infer S;\n} ? InferInteropZodInput<S> : {};\n/**\n * Helper type to detect if a type is `any`.\n * Uses the fact that `any` is both a subtype and supertype of all types.\n */\ntype IsAny<T> = 0 extends 1 & T ? true : false;\n/**\n * Helper type to extract and merge states from an array of middleware.\n * Recursively processes each middleware and intersects their state types.\n *\n * Handles both readonly and mutable arrays/tuples explicitly.\n *\n * @example\n * ```ts\n * type States = InferMiddlewareStatesFromArray<typeof middlewareArray>;\n * // Returns intersection of all middleware state types\n * ```\n */\nexport type InferMiddlewareStatesFromArray<T> = IsAny<T> extends true ? {} : T extends undefined | null ? {} : T extends readonly [] ? {} : T extends [] ? {} : T extends readonly [infer First, ...infer Rest extends readonly unknown[]] ? InferMiddlewareState<First> & InferMiddlewareStatesFromArray<Rest> : T extends [infer First, ...infer Rest extends unknown[]] ? InferMiddlewareState<First> & InferMiddlewareStatesFromArray<Rest> : T extends readonly (infer U)[] ? InferMiddlewareState<U> : T extends (infer U)[] ? InferMiddlewareState<U> : {};\n/**\n * Infer the complete merged state from an agent, including:\n * - The agent's own state schema (via State)\n * - All middleware states (via Middleware)\n *\n * This is the SDK equivalent of langchain's `InferAgentState` type.\n *\n * @example\n * ```ts\n * const agent = createAgent({\n * middleware: [todoListMiddleware()],\n * // ...\n * });\n *\n * type State = InferAgentState<typeof agent>;\n * // State includes { todos: Todo[], ... }\n * ```\n */\n/**\n * Base agent state that all agents have by default.\n * This includes the messages array which is fundamental to agent operation.\n * The ToolCall type parameter allows proper typing of tool calls in messages.\n */\ntype BaseAgentState<ToolCall = DefaultToolCall> = {\n messages: Message<ToolCall>[];\n};\nexport type InferAgentState<T> = T extends {\n \"~agentTypes\": unknown;\n} ? ExtractAgentConfig<T> extends never ? {} : BaseAgentState<InferAgentToolCalls<T>> & (ExtractAgentConfig<T>[\"State\"] extends undefined ? {} : InferInteropZodInput<ExtractAgentConfig<T>[\"State\"]>) & InferMiddlewareStatesFromArray<ExtractAgentConfig<T>[\"Middleware\"]> : T extends {\n \"~RunOutput\": infer RunOutput;\n} ? RunOutput : T extends {\n messages: unknown;\n} ? T : {};\n/**\n * Helper type to extract the input type from a DynamicStructuredTool's _call method.\n * This is more reliable than trying to infer from the schema directly because\n * DynamicStructuredTool has the input type baked into its _call signature.\n */\ntype InferToolInput<T> = T extends {\n _call: (arg: infer Args, ...rest: any[]) => any;\n} ? Args : T extends {\n schema: infer S;\n} ? InferInteropZodInput<S> : never;\n/**\n * Helper type to check if a type is a literal string (not generic `string`).\n * Returns true only for literal types like \"get_weather\", false for `string`.\n */\ntype IsLiteralString<T> = string extends T ? false : T extends string ? true : false;\n/**\n * Extract a tool call type from a single tool.\n * Works with tools created via `tool()` from `@langchain/core/tools`.\n *\n * This extracts the literal name type from DynamicStructuredTool's NameT parameter\n * and the args type from the _call method or schema's input property.\n *\n * Note: Only tools with literal string names (e.g., \"get_weather\") are included.\n * Tools with generic `name: string` are filtered out to ensure discriminated\n * union narrowing works correctly in TypeScript.\n */\ntype ToolCallFromAgentTool<T> = T extends {\n name: infer N;\n} ? N extends string ? IsLiteralString<N> extends true ? InferToolInput<T> extends infer Args ? Args extends never ? never : Args extends Record<string, any> ? {\n name: N;\n args: Args;\n id?: string;\n type?: \"tool_call\";\n} : never : never : never : never : never;\n/**\n * Extract tool calls type from an agent's tools.\n * Converts the tools array to a discriminated union of tool calls.\n *\n * This handles both tuple types (e.g., `readonly [Tool1, Tool2]`) and\n * array-of-union types (e.g., `readonly (Tool1 | Tool2)[]`) which is how\n * `createAgent` captures tool types.\n *\n * @example\n * ```ts\n * const agent = createAgent({ tools: [getWeather, search], ... });\n * type ToolCalls = InferAgentToolCalls<typeof agent>;\n * // ToolCalls is:\n * // | { name: \"get_weather\"; args: { location: string }; id?: string }\n * // | { name: \"search\"; args: { query: string }; id?: string }\n * ```\n */\nexport type InferAgentToolCalls<T> = ExtractAgentConfig<T>[\"Tools\"] extends readonly (infer Tool)[] ? ToolCallFromAgentTool<Tool> extends never ? DefaultToolCall : ToolCallFromAgentTool<Tool> : DefaultToolCall;\n/**\n * Minimal interface matching the structure of a SubAgent from deepagents.\n * Used for structural type matching without importing deepagents.\n */\nexport interface SubAgentLike {\n name: string;\n description: string;\n middleware?: readonly AgentMiddlewareLike[];\n}\n/**\n * Minimal interface matching the structure of a CompiledSubAgent from deepagents.\n * Used for structural type matching without importing deepagents.\n */\nexport interface CompiledSubAgentLike {\n name: string;\n description: string;\n runnable: unknown;\n}\n/**\n * Minimal interface matching the structure of DeepAgentTypeConfig from deepagents.\n * Extends AgentTypeConfigLike to include subagent type information.\n */\nexport interface DeepAgentTypeConfigLike extends AgentTypeConfigLike {\n Subagents: unknown;\n}\n/**\n * Check if a type is a DeepAgent (has `~deepAgentTypes` phantom property).\n * This property is present on DeepAgent instances created with `createDeepAgent`.\n */\nexport type IsDeepAgentLike<T> = T extends {\n \"~deepAgentTypes\": DeepAgentTypeConfigLike;\n} ? true : false;\n/**\n * Extract the DeepAgentTypeConfig from a DeepAgent-like type.\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({ subagents: [...] });\n * type Config = ExtractDeepAgentConfig<typeof agent>;\n * // Config includes { Subagents: [...] }\n * ```\n */\nexport type ExtractDeepAgentConfig<T> = T extends {\n \"~deepAgentTypes\": infer Config;\n} ? Config extends DeepAgentTypeConfigLike ? Config : never : never;\n/**\n * Helper type to extract middleware from a SubAgent definition.\n * Handles both mutable and readonly middleware arrays.\n */\nexport type ExtractSubAgentMiddleware<T> = T extends {\n middleware?: infer M;\n} ? M extends readonly AgentMiddlewareLike[] ? M : M extends AgentMiddlewareLike[] ? M : readonly [] : readonly [];\n/**\n * Extract the Subagents array type from a DeepAgent.\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({ subagents: [researcher, writer] as const });\n * type Subagents = InferDeepAgentSubagents<typeof agent>;\n * // Subagents is the readonly tuple of subagent definitions\n * ```\n */\nexport type InferDeepAgentSubagents<T> = ExtractDeepAgentConfig<T> extends never ? never : ExtractDeepAgentConfig<T>[\"Subagents\"];\n/**\n * Helper type to extract a subagent by name from a DeepAgent.\n *\n * @typeParam T - The DeepAgent to extract from\n * @typeParam TName - The name of the subagent to extract\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({\n * subagents: [\n * { name: \"researcher\", description: \"...\", middleware: [ResearchMiddleware] }\n * ] as const,\n * });\n *\n * type Researcher = InferSubagentByName<typeof agent, \"researcher\">;\n * ```\n */\nexport type InferSubagentByName<T, TName extends string> = InferDeepAgentSubagents<T> extends readonly (infer SA)[] ? SA extends {\n name: TName;\n} ? SA : never : never;\n/**\n * Base state type for subagents.\n * All subagents have at least a messages array, similar to the main agent.\n *\n * @template ToolCall - The tool call type for messages. Defaults to DefaultToolCall.\n */\nexport type BaseSubagentState<ToolCall = DefaultToolCall> = {\n messages: Message<ToolCall>[];\n};\n/**\n * Infer the state type for a specific subagent by extracting and merging\n * its middleware state schemas, plus the base agent state (messages).\n *\n * @typeParam T - The DeepAgent to extract from\n * @typeParam TName - The name of the subagent\n * @typeParam ToolCall - The tool call type for messages. Defaults to DefaultToolCall.\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({\n * subagents: [\n * { name: \"researcher\", middleware: [ResearchMiddleware] }\n * ] as const,\n * });\n *\n * type ResearcherState = InferSubagentState<typeof agent, \"researcher\">;\n * // ResearcherState includes { messages: Message<ToolCall>[], ...ResearchMiddleware state }\n * ```\n */\nexport type InferSubagentState<T, TName extends string, ToolCall = DefaultToolCall> = InferSubagentByName<T, TName> extends never ? Record<string, unknown> : InferSubagentByName<T, TName> extends infer SA ? BaseSubagentState<ToolCall> & InferMiddlewareStatesFromArray<ExtractSubAgentMiddleware<SA>> : Record<string, unknown>;\n/**\n * Extract all subagent names as a string union from a DeepAgent.\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({\n * subagents: [\n * { name: \"researcher\", ... },\n * { name: \"writer\", ... }\n * ] as const,\n * });\n *\n * type SubagentNames = InferSubagentNames<typeof agent>;\n * // SubagentNames = \"researcher\" | \"writer\"\n * ```\n */\nexport type InferSubagentNames<T> = InferDeepAgentSubagents<T> extends readonly (infer SA)[] ? SA extends {\n name: infer N;\n} ? N extends string ? N : never : never : never;\n/**\n * Create a map of subagent names to their state types.\n * This is useful for type-safe `getSubagentsByType` calls.\n *\n * @typeParam T - The DeepAgent to extract from\n * @typeParam ToolCall - The tool call type for messages. Defaults to DefaultToolCall.\n *\n * @example\n * ```ts\n * const agent = createDeepAgent({\n * subagents: [\n * { name: \"researcher\", middleware: [ResearchMiddleware] },\n * { name: \"writer\", middleware: [WriterMiddleware] }\n * ] as const,\n * });\n *\n * type StateMap = SubagentStateMap<typeof agent>;\n * // StateMap = { researcher: ResearchState; writer: WriterState }\n * ```\n */\nexport type SubagentStateMap<T, ToolCall = DefaultToolCall> = {\n [K in InferSubagentNames<T>]: InferSubagentState<T, K, ToolCall>;\n};\n/**\n * Extract the tool call type parameter from an AIMessage in a message union.\n * Returns `never` if the message is not an AIMessage or uses DefaultToolCall.\n *\n * The key distinction: custom tool calls have literal `name` types (e.g., \"get_weather\"),\n * while DefaultToolCall has `name: string`. We check if `string extends TC[\"name\"]` -\n * if true, it's DefaultToolCall; if false, it's a custom type with literal names.\n */\ntype ExtractToolCallFromMessageUnion<M> = M extends AIMessage<infer TC> ? TC extends {\n name: infer N;\n} ? string extends N ? never : TC : never : never;\n/**\n * Extract the tool call type from a StateType's messages property.\n * This is the primary way to specify tool call types when using useStream.\n *\n * @example\n * ```ts\n * // Define state with typed messages\n * type MyToolCalls =\n * | { name: \"get_weather\"; args: { location: string }; id?: string }\n * | { name: \"search\"; args: { query: string }; id?: string };\n *\n * interface MyState {\n * messages: Message<MyToolCalls>[];\n * }\n *\n * // ExtractToolCallsFromState<MyState> = MyToolCalls\n * ```\n */\nexport type ExtractToolCallsFromState<StateType extends Record<string, unknown>> = StateType extends {\n messages: infer Messages;\n} ? Messages extends readonly (infer M)[] ? ExtractToolCallFromMessageUnion<M> : Messages extends (infer M)[] ? ExtractToolCallFromMessageUnion<M> : never : never;\nexport type MessageMetadata<StateType extends Record<string, unknown>> = {\n /**\n * The ID of the message used.\n */\n messageId: string;\n /**\n * The first thread state the message was seen in.\n */\n firstSeenState: ThreadState<StateType> | undefined;\n /**\n * The branch of the message.\n */\n branch: string | undefined;\n /**\n * The list of branches this message is part of.\n * This is useful for displaying branching controls.\n */\n branchOptions: string[] | undefined;\n /**\n * Metadata sent alongside the message during run streaming.\n * @remarks This metadata only exists temporarily in browser memory during streaming and is not persisted after completion.\n */\n streamMetadata: Record<string, unknown> | undefined;\n};\nexport type GetUpdateType<Bag extends BagTemplate, StateType extends Record<string, unknown>> = Bag extends {\n UpdateType: unknown;\n} ? Bag[\"UpdateType\"] : Partial<StateType>;\nexport type GetConfigurableType<Bag extends BagTemplate> = Bag extends {\n ConfigurableType: Record<string, unknown>;\n} ? Bag[\"ConfigurableType\"] : Record<string, unknown>;\nexport type GetInterruptType<Bag extends BagTemplate> = Bag extends {\n InterruptType: unknown;\n} ? Bag[\"InterruptType\"] : unknown;\nexport type GetCustomEventType<Bag extends BagTemplate> = Bag extends {\n CustomEventType: unknown;\n} ? Bag[\"CustomEventType\"] : unknown;\n/**\n * Extract the tool call type from a StateType's messages property.\n * This is the canonical way to get typed tool calls in useStream.\n *\n * Tool call types are now extracted from the messages property of StateType,\n * rather than being specified separately in the Bag.\n *\n * @example\n * ```ts\n * // Define state with typed messages\n * type MyToolCalls =\n * | { name: \"get_weather\"; args: { location: string }; id?: string }\n * | { name: \"search\"; args: { query: string }; id?: string };\n *\n * interface MyState {\n * messages: Message<MyToolCalls>[];\n * }\n *\n * // GetToolCallsType<MyState> = MyToolCalls\n * ```\n */\nexport type GetToolCallsType<StateType extends Record<string, unknown>> = ExtractToolCallsFromState<StateType> extends never ? DefaultToolCall : ExtractToolCallsFromState<StateType>;\nexport interface RunCallbackMeta {\n run_id: string;\n thread_id: string;\n}\nexport interface UseStreamThread<StateType extends Record<string, unknown>> {\n data: ThreadState<StateType>[] | null | undefined;\n error: unknown;\n isLoading: boolean;\n mutate: (mutateId?: string) => Promise<ThreadState<StateType>[] | null | undefined>;\n}\nexport interface UseStreamOptions<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> {\n /**\n * The ID of the assistant to use.\n */\n assistantId: string;\n /**\n * Client used to send requests.\n */\n client?: Client;\n /**\n * The URL of the API to use.\n */\n apiUrl?: ClientConfig[\"apiUrl\"];\n /**\n * The API key to use.\n */\n apiKey?: ClientConfig[\"apiKey\"];\n /**\n * Custom call options, such as custom fetch implementation.\n */\n callerOptions?: ClientConfig[\"callerOptions\"];\n /**\n * Default headers to send with requests.\n */\n defaultHeaders?: ClientConfig[\"defaultHeaders\"];\n /**\n * Specify the key within the state that contains messages.\n * Defaults to \"messages\".\n *\n * @default \"messages\"\n */\n messagesKey?: string;\n /**\n * Callback that is called when an error occurs.\n */\n onError?: (error: unknown, run: RunCallbackMeta | undefined) => void;\n /**\n * Callback that is called when the stream is finished.\n */\n onFinish?: (state: ThreadState<StateType>, run: RunCallbackMeta | undefined) => void;\n /**\n * Callback that is called when a new stream is created.\n */\n onCreated?: (run: RunCallbackMeta) => void;\n /**\n * Callback that is called when an update event is received.\n */\n onUpdateEvent?: (data: UpdatesStreamEvent<GetUpdateType<Bag, StateType>>[\"data\"], options: {\n namespace: string[] | undefined;\n mutate: (update: Partial<StateType> | ((prev: StateType) => Partial<StateType>)) => void;\n }) => void;\n /**\n * Callback that is called when a custom event is received.\n */\n onCustomEvent?: (data: CustomStreamEvent<GetCustomEventType<Bag>>[\"data\"], options: {\n namespace: string[] | undefined;\n mutate: (update: Partial<StateType> | ((prev: StateType) => Partial<StateType>)) => void;\n }) => void;\n /**\n * Callback that is called when a metadata event is received.\n */\n onMetadataEvent?: (data: MetadataStreamEvent[\"data\"]) => void;\n /**\n * Callback that is called when a LangChain event is received.\n * @see https://langchain-ai.github.io/langgraph/cloud/how-tos/stream_events/#stream-graph-in-events-mode for more details.\n */\n onLangChainEvent?: (data: EventsStreamEvent[\"data\"]) => void;\n /**\n * Callback that is called when a debug event is received.\n * @internal This API is experimental and subject to change.\n */\n onDebugEvent?: (data: DebugStreamEvent[\"data\"], options: {\n namespace: string[] | undefined;\n }) => void;\n /**\n * Callback that is called when a checkpoints event is received.\n */\n onCheckpointEvent?: (data: CheckpointsStreamEvent<StateType>[\"data\"], options: {\n namespace: string[] | undefined;\n }) => void;\n /**\n * Callback that is called when a tasks event is received.\n */\n onTaskEvent?: (data: TasksStreamEvent<StateType, GetUpdateType<Bag, StateType>>[\"data\"], options: {\n namespace: string[] | undefined;\n }) => void;\n /**\n * Callback that is called when the stream is stopped by the user.\n * Provides a mutate function to update the stream state immediately\n * without requiring a server roundtrip.\n *\n * @example\n * ```typescript\n * onStop: ({ mutate }) => {\n * mutate((prev) => ({\n * ...prev,\n * ui: prev.ui?.map(component =>\n * component.props.isLoading\n * ? { ...component, props: { ...component.props, stopped: true, isLoading: false }}\n * : component\n * )\n * }));\n * }\n * ```\n */\n onStop?: (options: {\n mutate: (update: Partial<StateType> | ((prev: StateType) => Partial<StateType>)) => void;\n }) => void;\n /**\n * The ID of the thread to fetch history and current values from.\n */\n threadId?: string | null;\n /**\n * Callback that is called when the thread ID is updated (ie when a new thread is created).\n */\n onThreadId?: (threadId: string) => void;\n /** Will reconnect the stream on mount */\n reconnectOnMount?: boolean | (() => RunMetadataStorage);\n /**\n * Initial values to display immediately when loading a thread.\n * Useful for displaying cached thread data while official history loads.\n * These values will be replaced when official thread data is fetched.\n *\n * Note: UI components from initialValues will render immediately if they're\n * predefined in LoadExternalComponent's components prop, providing instant\n * cached UI display without server fetches.\n */\n initialValues?: StateType | null;\n /**\n * Whether to fetch the history of the thread.\n * If true, the history will be fetched from the server. Defaults to 10 entries.\n * If false, only the last state will be fetched from the server.\n * @default true\n */\n fetchStateHistory?: boolean | {\n limit: number;\n };\n /**\n * Manage the thread state externally.\n */\n thread?: UseStreamThread<StateType>;\n /**\n * Throttle the stream.\n * If a number is provided, the stream will be throttled to the given number of milliseconds.\n * If `true`, updates are batched in a single macrotask.\n * If `false`, updates are not throttled or batched.\n * @default true\n */\n throttle?: number | boolean;\n}\n/**\n * Union of all stream options types.\n *\n * Used internally by the implementation to accept any options type.\n * This allows the implementation functions to handle options from\n * any agent type while maintaining type safety at the public API level.\n *\n * @internal\n */\nexport type AnyStreamOptions<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> = UseStreamOptions<StateType, Bag> & {\n subagentToolNames?: string[];\n filterSubagentMessages?: boolean;\n};\ninterface RunMetadataStorage {\n getItem(key: `lg:stream:${string}`): string | null;\n setItem(key: `lg:stream:${string}`, value: string): void;\n removeItem(key: `lg:stream:${string}`): void;\n}\ntype ConfigWithConfigurable<ConfigurableType extends Record<string, unknown>> = Config & {\n configurable?: ConfigurableType;\n};\nexport interface SubmitOptions<StateType extends Record<string, unknown> = Record<string, unknown>, ContextType extends Record<string, unknown> = Record<string, unknown>> {\n config?: ConfigWithConfigurable<ContextType>;\n context?: ContextType;\n checkpoint?: Omit<Checkpoint, \"thread_id\"> | null;\n command?: Command;\n interruptBefore?: \"*\" | string[];\n interruptAfter?: \"*\" | string[];\n metadata?: Metadata;\n multitaskStrategy?: MultitaskStrategy;\n onCompletion?: OnCompletionBehavior;\n onDisconnect?: DisconnectMode;\n feedbackKeys?: string[];\n streamMode?: Array<StreamMode>;\n runId?: string;\n optimisticValues?: Partial<StateType> | ((prev: StateType) => Partial<StateType>);\n /**\n * Whether or not to stream the nodes of any subgraphs called\n * by the assistant.\n * @default false\n */\n streamSubgraphs?: boolean;\n /**\n * Mark the stream as resumable. All events emitted during the run will be temporarily persisted\n * in order to be re-emitted if the stream is re-joined.\n * @default false\n */\n streamResumable?: boolean;\n /**\n * Whether to checkpoint during the run (or only at the end/interruption).\n * - `\"async\"`: Save checkpoint asynchronously while the next step executes (default).\n * - `\"sync\"`: Save checkpoint synchronously before the next step starts.\n * - `\"exit\"`: Save checkpoint only when the graph exits.\n * @default \"async\"\n */\n durability?: Durability;\n /**\n * The ID to use when creating a new thread. When provided, this ID will be used\n * for thread creation when threadId is `null` or `undefined`.\n * This enables optimistic UI updates where you know the thread ID\n * before the thread is actually created.\n */\n threadId?: string;\n}\n/**\n * Transport used to stream the thread.\n * Only applicable for custom endpoints using `toLangGraphEventStream` or `toLangGraphEventStreamResponse`.\n */\nexport interface UseStreamTransport<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> {\n stream: (payload: {\n input: GetUpdateType<Bag, StateType> | null | undefined;\n context: GetConfigurableType<Bag> | undefined;\n command: Command | undefined;\n config: ConfigWithConfigurable<GetConfigurableType<Bag>> | undefined;\n signal: AbortSignal;\n }) => Promise<AsyncGenerator<{\n id?: string;\n event: string;\n data: unknown;\n }>>;\n}\nexport type UseStreamCustomOptions<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> = Pick<UseStreamOptions<StateType, Bag>, \"messagesKey\" | \"threadId\" | \"onThreadId\" | \"onError\" | \"onCreated\" | \"onUpdateEvent\" | \"onCustomEvent\" | \"onMetadataEvent\" | \"onLangChainEvent\" | \"onDebugEvent\" | \"onCheckpointEvent\" | \"onTaskEvent\" | \"onStop\" | \"initialValues\" | \"throttle\"> & {\n transport: UseStreamTransport<StateType, Bag>;\n};\n/**\n * Union of all custom stream options types.\n *\n * Used internally by the implementation to accept any custom options type.\n * This allows the implementation functions to handle options from\n * any agent type while maintaining type safety at the public API level.\n *\n * @internal\n */\nexport type AnyStreamCustomOptions<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> = UseStreamCustomOptions<StateType, Bag> & {\n subagentToolNames?: string[];\n filterSubagentMessages?: boolean;\n};\nexport type CustomSubmitOptions<StateType extends Record<string, unknown> = Record<string, unknown>, ConfigurableType extends Record<string, unknown> = Record<string, unknown>> = Pick<SubmitOptions<StateType, ConfigurableType>, \"optimisticValues\" | \"context\" | \"command\" | \"config\">;\nexport {};\n"],"mappings":";;;;;;;;;;;;AAUA;AAiCY2B,UAjCKD,gBAAAA,CAiCS;EAKdE;EAAqB,EAAA,EAAA,MAAA;;MAAGC,EAAAA,MAAAA;EAAM;EAWzBC,IAAAA,EAAAA;IAAU;IAAaD,WAAAA,CAAAA,EAAAA,MAAAA;IAAoCR;IAAiEQ,aAAAA,CAAAA,EAAAA,MAAAA;IAA0BD;IAI3JG,CAAAA,GAAAA,EAAAA,MAAAA,CAAAA,EAAAA,OAAAA;;;;;;;;;;;;;;;;;;;;;AA4CSI,KAhETR,cAAAA,GAgESQ,SAAAA,GAAAA,SAAAA,GAAAA,UAAAA,GAAAA,OAAAA;;;;;AAyBQD,KApFjBN,qBAAAA,GAAwBC,MAoFPK,CAAAA,MAAAA,EApFsBL,MAoFtBK,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA,CAAAA;;;;;;;;;;;AA2B0EF,UApGtFF,UAoGsFE,CAAAA,YApG/DH,MAoG+DG,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA,EAAAA,WApG3BX,eAoG2BW,EAAAA,gBAAAA,OAAAA,EAAAA,uBApGsCH,MAoGtCG,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA,GApGgEJ,qBAoGhEI,CAAAA,CAAAA;;;AAyBvG;EAA+B,MAAA,EAzHnBD,SAyHmB;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
|
|
|
1
|
-
{"version":3,"file":"async_caller.d.cts","names":[
|
|
1
|
+
{"version":3,"file":"async_caller.d.cts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAkBK,gBAAA,IAAoB,QAAA,GAAW,QAAA,KAAa,OAAA;AAAA,UAEhC,iBAAA;EAFI;;;;EAOnB,cAAA;EAP+C;;;AAEjD;EAUE,UAAA;EAEA,oBAAA,GAAuB,gBAAA;EAOH;;;;;EAApB,KAAA,UAAe,KAAA,QAAa,IAAA;AAAA;AAAA,UAGb,sBAAA;EACf,MAAA,GAAS,WAAA;AAAA;AADX;;;;;AA+DA;;;;;;;;AA/DA,cA+Da,WAAA;EAAA,UACD,cAAA,EAAgB,iBAAA;EAAA,UAEhB,UAAA,EAAY,iBAAA;EAAA,QAEd,KAAA;EAAA,QAEA,oBAAA;EAAA,QAEA,WAAA;EAER,WAAA,CAAY,MAAA,EAAQ,iBAAA;EAkBpB,IAAA,gCAAoC,IAAA,EAAM,CAAA,KAAM,OAAA,MAAA,CAC9C,QAAA,EAAU,CAAA,KACP,IAAA,EAAM,UAAA,CAAW,CAAA,IACnB,OAAA,CAAQ,OAAA,CAAQ,UAAA,CAAW,CAAA;EAoE9B,eAAA,gCAA+C,IAAA,EAAM,CAAA,KAAM,OAAA,MAAA,CACzD,OAAA,EAAS,sBAAA,EACT,QAAA,EAAU,CAAA,KACP,IAAA,EAAM,UAAA,CAAW,CAAA,IACnB,OAAA,CAAQ,OAAA,CAAQ,UAAA,CAAW,CAAA;EAgB9B,KAAA,CAAA,GAAS,IAAA,EAAM,UAAA,QAAkB,KAAA,IAAS,UAAA,QAAkB,KAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async_caller.d.ts","names":[
|
|
1
|
+
{"version":3,"file":"async_caller.d.ts","names":[],"sources":["../../src/utils/async_caller.ts"],"mappings":";KAkBK,gBAAA,IAAoB,QAAA,GAAW,QAAA,KAAa,OAAA;AAAA,UAEhC,iBAA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