@langchain/langgraph-sdk 1.7.4 → 1.8.0

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.
Files changed (49) hide show
  1. package/dist/react/stream.custom.cjs +21 -1
  2. package/dist/react/stream.custom.cjs.map +1 -1
  3. package/dist/react/stream.custom.js +21 -1
  4. package/dist/react/stream.custom.js.map +1 -1
  5. package/dist/react/stream.lgp.cjs +11 -1
  6. package/dist/react/stream.lgp.cjs.map +1 -1
  7. package/dist/react/stream.lgp.js +11 -1
  8. package/dist/react/stream.lgp.js.map +1 -1
  9. package/dist/ui/index.cjs +4 -0
  10. package/dist/ui/index.d.cts +3 -1
  11. package/dist/ui/index.d.ts +3 -1
  12. package/dist/ui/index.js +3 -1
  13. package/dist/ui/manager.cjs +181 -0
  14. package/dist/ui/manager.cjs.map +1 -1
  15. package/dist/ui/manager.d.cts +41 -0
  16. package/dist/ui/manager.d.cts.map +1 -1
  17. package/dist/ui/manager.d.ts +41 -0
  18. package/dist/ui/manager.d.ts.map +1 -1
  19. package/dist/ui/manager.js +181 -0
  20. package/dist/ui/manager.js.map +1 -1
  21. package/dist/ui/orchestrator-custom.cjs +372 -0
  22. package/dist/ui/orchestrator-custom.cjs.map +1 -0
  23. package/dist/ui/orchestrator-custom.d.cts +185 -0
  24. package/dist/ui/orchestrator-custom.d.cts.map +1 -0
  25. package/dist/ui/orchestrator-custom.d.ts +185 -0
  26. package/dist/ui/orchestrator-custom.d.ts.map +1 -0
  27. package/dist/ui/orchestrator-custom.js +372 -0
  28. package/dist/ui/orchestrator-custom.js.map +1 -0
  29. package/dist/ui/orchestrator.cjs +866 -0
  30. package/dist/ui/orchestrator.cjs.map +1 -0
  31. package/dist/ui/orchestrator.d.cts +366 -0
  32. package/dist/ui/orchestrator.d.cts.map +1 -0
  33. package/dist/ui/orchestrator.d.ts +366 -0
  34. package/dist/ui/orchestrator.d.ts.map +1 -0
  35. package/dist/ui/orchestrator.js +866 -0
  36. package/dist/ui/orchestrator.js.map +1 -0
  37. package/dist/ui/subagents.cjs +24 -1
  38. package/dist/ui/subagents.cjs.map +1 -1
  39. package/dist/ui/subagents.d.cts +13 -0
  40. package/dist/ui/subagents.d.cts.map +1 -1
  41. package/dist/ui/subagents.d.ts +13 -0
  42. package/dist/ui/subagents.d.ts.map +1 -1
  43. package/dist/ui/subagents.js +24 -1
  44. package/dist/ui/subagents.js.map +1 -1
  45. package/dist/ui/types.d.cts +3 -2
  46. package/dist/ui/types.d.cts.map +1 -1
  47. package/dist/ui/types.d.ts +3 -2
  48. package/dist/ui/types.d.ts.map +1 -1
  49. package/package.json +2 -6
@@ -0,0 +1,366 @@
1
+ import { Interrupt, ThreadState } from "../schema.js";
2
+ import { DefaultToolCall, Message, ToolCallWithResult } from "../types.messages.js";
3
+ import { StreamMode } from "../types.stream.js";
4
+ import { StreamEvent } from "../types.js";
5
+ import { Client } from "../client.js";
6
+ import { BagTemplate } from "../types.template.js";
7
+ import { AnyStreamOptions, GetConfigurableType, GetInterruptType, MessageMetadata, SubagentStreamInterface, SubmitOptions, UseStreamThread } from "./types.js";
8
+ import { Sequence } from "./branching.js";
9
+ import { PendingRunsTracker, QueueEntry } from "./queue.js";
10
+ import { MessageTupleManager } from "./messages.js";
11
+ import { StreamManager } from "./manager.js";
12
+ import { BaseMessage } from "@langchain/core/messages";
13
+
14
+ //#region src/ui/orchestrator.d.ts
15
+ /**
16
+ * Callbacks for resolving dynamic/reactive option values.
17
+ * Framework adapters provide implementations that unwrap reactive primitives.
18
+ */
19
+ interface OrchestratorAccessors {
20
+ getClient(): Client;
21
+ getAssistantId(): string;
22
+ getMessagesKey(): string;
23
+ }
24
+ /**
25
+ * Framework-agnostic orchestrator for LangGraph Platform streams.
26
+ *
27
+ * Encapsulates all business logic shared across React, Vue, Svelte, and Angular:
28
+ * thread management, history fetching, stream lifecycle, queue management,
29
+ * branching, subagent management, and auto-reconnect.
30
+ *
31
+ * Framework adapters subscribe to state changes via {@link subscribe} and
32
+ * map the orchestrator's getters to framework-specific reactive primitives.
33
+ */
34
+ declare class StreamOrchestrator<StateType extends Record<string, unknown> = Record<string, unknown>, Bag extends BagTemplate = BagTemplate> {
35
+ #private;
36
+ readonly stream: StreamManager<StateType, Bag>;
37
+ readonly messageManager: MessageTupleManager;
38
+ readonly pendingRuns: PendingRunsTracker<StateType, SubmitOptions<StateType, GetConfigurableType<Bag>>>;
39
+ readonly historyLimit: boolean | number;
40
+ /**
41
+ * Create a new StreamOrchestrator.
42
+ *
43
+ * @param options - Configuration options for the stream, including callbacks,
44
+ * throttle settings, reconnect behaviour, and subagent filters.
45
+ * @param accessors - Framework-specific accessors that resolve reactive
46
+ * primitives (client, assistant ID, messages key) at call time.
47
+ */
48
+ constructor(options: AnyStreamOptions<StateType, Bag>, accessors: OrchestratorAccessors);
49
+ /**
50
+ * Register a listener that is called whenever the orchestrator's internal
51
+ * state changes (stream updates, queue changes, history mutations, etc.).
52
+ *
53
+ * @param listener - Callback invoked on every state change.
54
+ * @returns An unsubscribe function that removes the listener.
55
+ */
56
+ subscribe(listener: () => void): () => void;
57
+ /**
58
+ * Return the current version number, incremented on every state change.
59
+ * Useful as a React `useSyncExternalStore` snapshot.
60
+ *
61
+ * @returns The current monotonically increasing version counter.
62
+ */
63
+ getSnapshot(): number;
64
+ /**
65
+ * The current thread ID, or `undefined` if no thread is active.
66
+ */
67
+ get threadId(): string | undefined;
68
+ /**
69
+ * Update thread ID from an external source (e.g. reactive prop change).
70
+ * Clears the current stream and triggers a history fetch.
71
+ * @param newId - The new thread ID to set.
72
+ * @returns The new thread ID.
73
+ */
74
+ setThreadId(newId: string | undefined): void;
75
+ /**
76
+ * The current thread history fetch state, including data, loading status,
77
+ * error, and a {@link UseStreamThread.mutate | mutate} function to
78
+ * manually re-fetch.
79
+ */
80
+ get historyData(): UseStreamThread<StateType>;
81
+ /**
82
+ * Trigger initial history fetch for the current thread ID.
83
+ * Should be called once after construction when the initial threadId is known.
84
+ */
85
+ initThreadId(threadId: string | undefined): void;
86
+ /**
87
+ * The currently active branch identifier. An empty string represents
88
+ * the main (default) branch.
89
+ */
90
+ get branch(): string;
91
+ /**
92
+ * Set the active branch and notify listeners if the value changed.
93
+ *
94
+ * @param value - The branch identifier to switch to.
95
+ */
96
+ setBranch(value: string): void;
97
+ /**
98
+ * Derived branch context computed from the current branch and thread
99
+ * history. Contains the thread head, branch tree, and checkpoint-to-branch
100
+ * mapping for the active branch.
101
+ */
102
+ get branchContext(): {
103
+ branchTree: Sequence<any>;
104
+ flatHistory: ThreadState<any>[];
105
+ branchByCheckpoint: {
106
+ [x: string]: {
107
+ branch: string | undefined;
108
+ branchOptions: string[] | undefined;
109
+ };
110
+ };
111
+ threadHead: ThreadState<any> | undefined;
112
+ };
113
+ /**
114
+ * The state values from the thread head of the current branch history,
115
+ * falling back to {@link AnyStreamOptions.initialValues | initialValues}
116
+ * or an empty object.
117
+ */
118
+ get historyValues(): StateType;
119
+ /**
120
+ * The error from the last task in the thread head, if any.
121
+ * Attempts to parse structured {@link StreamError} instances from JSON.
122
+ */
123
+ get historyError(): unknown;
124
+ /**
125
+ * The latest state values received from the active stream, or `null` if
126
+ * no stream is running or no values have been received yet.
127
+ */
128
+ get streamValues(): StateType | null;
129
+ /**
130
+ * The error from the active stream, if one occurred during streaming.
131
+ */
132
+ get streamError(): unknown;
133
+ /**
134
+ * The merged state values, preferring live stream values over history.
135
+ * This is the primary way to read the current thread state.
136
+ */
137
+ get values(): StateType;
138
+ /**
139
+ * The first available error from the stream, history, or thread fetch.
140
+ * Returns `undefined` when no error is present.
141
+ */
142
+ get error(): unknown;
143
+ /**
144
+ * Whether the stream is currently active and receiving events.
145
+ */
146
+ get isLoading(): boolean;
147
+ /**
148
+ * The messages array extracted from the current {@link values} using the
149
+ * configured messages key.
150
+ */
151
+ get messages(): Message[];
152
+ /**
153
+ * The current messages converted to LangChain {@link BaseMessage} instances.
154
+ * Automatically tracks the `"messages-tuple"` stream mode.
155
+ */
156
+ get messageInstances(): BaseMessage[];
157
+ /**
158
+ * All tool calls with their corresponding results extracted from
159
+ * the current messages. Automatically tracks the `"messages-tuple"`
160
+ * stream mode.
161
+ */
162
+ get toolCalls(): ToolCallWithResult<DefaultToolCall>[];
163
+ /**
164
+ * Get tool calls with results for a specific AI message.
165
+ * Automatically tracks the `"messages-tuple"` stream mode.
166
+ *
167
+ * @param message - The AI message to extract tool calls from.
168
+ * @returns Tool calls whose AI message ID matches the given message.
169
+ */
170
+ getToolCalls(message: Message): ToolCallWithResult<DefaultToolCall>[];
171
+ /**
172
+ * All active interrupts for the current thread state.
173
+ * Returns an empty array when the stream is loading or no interrupts
174
+ * are present. Falls back to a `{ when: "breakpoint" }` sentinel when
175
+ * there are pending next nodes but no explicit interrupt data.
176
+ */
177
+ get interrupts(): Interrupt<GetInterruptType<Bag>>[];
178
+ /**
179
+ * The single most relevant interrupt for the current thread state,
180
+ * or `undefined` if no interrupt is active. Convenience accessor that
181
+ * delegates to {@link extractInterrupts}.
182
+ */
183
+ get interrupt(): Interrupt<GetInterruptType<Bag>> | undefined;
184
+ /**
185
+ * Flattened history messages as LangChain {@link BaseMessage} instances,
186
+ * ordered chronologically across all branch checkpoints.
187
+ *
188
+ * @throws If `fetchStateHistory` was not enabled in the options.
189
+ */
190
+ get flatHistory(): ThreadState<any>[];
191
+ /**
192
+ * Whether the initial thread history is still being loaded and no data
193
+ * is available yet. Returns `false` once the first fetch completes.
194
+ */
195
+ get isThreadLoading(): boolean;
196
+ /**
197
+ * The full branch tree structure for the current thread history.
198
+ *
199
+ * @experimental This API may change in future releases.
200
+ * @throws If `fetchStateHistory` was not enabled in the options.
201
+ */
202
+ get experimental_branchTree(): Sequence<any>;
203
+ /**
204
+ * A map of metadata entries for all messages, derived from history
205
+ * and branch context. Used internally by {@link getMessagesMetadata}.
206
+ */
207
+ get messageMetadata(): {
208
+ messageId: string;
209
+ firstSeenState: ThreadState<StateType> | undefined;
210
+ branch: string | undefined;
211
+ branchOptions: string[] | undefined;
212
+ }[];
213
+ /**
214
+ * Look up metadata for a specific message, merging stream-time metadata
215
+ * with history-derived metadata.
216
+ *
217
+ * @param message - The message to look up metadata for.
218
+ * @param index - Optional positional index used as a fallback identifier.
219
+ * @returns The merged metadata, or `undefined` if none is available.
220
+ */
221
+ getMessagesMetadata(message: Message, index?: number): MessageMetadata<StateType> | undefined;
222
+ /**
223
+ * The list of pending run entries currently waiting in the queue.
224
+ */
225
+ get queueEntries(): readonly QueueEntry<StateType, SubmitOptions<StateType, GetConfigurableType<Bag>>>[];
226
+ /**
227
+ * The number of pending runs in the queue.
228
+ */
229
+ get queueSize(): number;
230
+ /**
231
+ * Cancel and remove a specific pending run from the queue.
232
+ * If the run exists and a thread is active, the run is also cancelled
233
+ * on the server.
234
+ *
235
+ * @param id - The run ID to cancel.
236
+ * @returns `true` if the run was found and removed, `false` otherwise.
237
+ */
238
+ cancelQueueItem(id: string): Promise<boolean>;
239
+ /**
240
+ * Remove all pending runs from the queue and cancel them on the server.
241
+ */
242
+ clearQueue(): Promise<void>;
243
+ /**
244
+ * A map of all known subagent stream interfaces, keyed by tool call ID.
245
+ */
246
+ get subagents(): Map<string, SubagentStreamInterface>;
247
+ /**
248
+ * The subset of subagents that are currently active (streaming).
249
+ */
250
+ get activeSubagents(): SubagentStreamInterface[];
251
+ /**
252
+ * Retrieve a specific subagent stream interface by its tool call ID.
253
+ *
254
+ * @param toolCallId - The tool call ID that spawned the subagent.
255
+ * @returns The subagent interface, or `undefined` if not found.
256
+ */
257
+ getSubagent(toolCallId: string): SubagentStreamInterface<Record<string, unknown>, DefaultToolCall, string> | undefined;
258
+ /**
259
+ * Retrieve all subagent stream interfaces that match a given agent type.
260
+ *
261
+ * @param type - The agent type name to filter by.
262
+ * @returns An array of matching subagent interfaces.
263
+ */
264
+ getSubagentsByType(type: string): SubagentStreamInterface<Record<string, unknown>, DefaultToolCall, string>[];
265
+ /**
266
+ * Retrieve all subagent stream interfaces associated with a specific
267
+ * AI message.
268
+ *
269
+ * @param messageId - The ID of the parent AI message.
270
+ * @returns An array of subagent interfaces spawned by that message.
271
+ */
272
+ getSubagentsByMessage(messageId: string): SubagentStreamInterface<Record<string, unknown>, DefaultToolCall, string>[];
273
+ /**
274
+ * Reconstruct subagents from history messages if applicable.
275
+ * Call this when history finishes loading and the stream isn't active.
276
+ * Returns an AbortController for cancelling the subagent history fetch,
277
+ * or null if no reconstruction was needed.
278
+ */
279
+ reconstructSubagentsIfNeeded(): AbortController | null;
280
+ /**
281
+ * Register additional stream modes that should be included in future
282
+ * stream requests. Modes are deduplicated automatically.
283
+ *
284
+ * @param modes - One or more stream modes to track.
285
+ */
286
+ trackStreamMode(...modes: StreamMode[]): void;
287
+ /**
288
+ * Stop the currently active stream. If reconnect metadata storage is
289
+ * configured, also cancels the run on the server and cleans up stored
290
+ * run metadata.
291
+ */
292
+ stop(): void;
293
+ /**
294
+ * Join an existing run's event stream by run ID. Used for reconnecting
295
+ * to in-progress runs or consuming queued runs.
296
+ *
297
+ * @param runId - The ID of the run to join.
298
+ * @param lastEventId - The last event ID received, for resuming mid-stream.
299
+ * Defaults to `"-1"` (start from the beginning).
300
+ * @param joinOptions - Additional options for stream mode and event filtering.
301
+ */
302
+ joinStream(runId: string, lastEventId?: string, joinOptions?: {
303
+ streamMode?: StreamMode | StreamMode[];
304
+ filter?: (event: {
305
+ id?: string;
306
+ event: StreamEvent;
307
+ data: unknown;
308
+ }) => boolean;
309
+ }): Promise<void>;
310
+ /**
311
+ * Submit input values directly to the LangGraph Platform, creating a new
312
+ * thread if necessary. Starts a streaming run and processes events until
313
+ * completion. Unlike {@link submit}, this does not handle queueing — if
314
+ * a stream is already active, a concurrent run will be started.
315
+ *
316
+ * @param values - The state values to send as run input.
317
+ * @param submitOptions - Optional configuration for the run (config,
318
+ * checkpoint, multitask strategy, optimistic values, etc.).
319
+ */
320
+ submitDirect(values: StateType, submitOptions?: SubmitOptions<StateType, GetConfigurableType<Bag>>): Promise<void>;
321
+ /**
322
+ * Trigger queue draining. Framework adapters should call this
323
+ * when isLoading or queue size changes.
324
+ */
325
+ drainQueue(): void;
326
+ /**
327
+ * Submit input values with automatic queue management. If a stream is
328
+ * already active, the run is enqueued (unless the multitask strategy
329
+ * is `"interrupt"` or `"rollback"`, in which case the current run is
330
+ * replaced). Queued runs are drained sequentially via {@link drainQueue}.
331
+ *
332
+ * @param values - The state values to send as run input.
333
+ * @param submitOptions - Optional configuration for the run.
334
+ * @returns The result of {@link submitDirect} if the run was started
335
+ * immediately, or `void` if the run was enqueued.
336
+ */
337
+ submit(values: StateType, submitOptions?: SubmitOptions<StateType, GetConfigurableType<Bag>>): Promise<ReturnType<typeof this.submitDirect> | void>;
338
+ /**
339
+ * Switch to a different thread (or clear the current thread).
340
+ * Clears the active stream, cancels all queued runs on the previous
341
+ * thread, fetches history for the new thread, and notifies the
342
+ * {@link AnyStreamOptions.onThreadId | onThreadId} callback.
343
+ *
344
+ * @param newThreadId - The thread ID to switch to, or `null` to clear.
345
+ */
346
+ switchThread(newThreadId: string | null): void;
347
+ /**
348
+ * Attempt to reconnect to a previously running stream.
349
+ * Returns true if a reconnection was initiated.
350
+ */
351
+ tryReconnect(): boolean;
352
+ /**
353
+ * Whether reconnect-on-mount behaviour is enabled (i.e. run metadata
354
+ * storage is available).
355
+ */
356
+ get shouldReconnect(): boolean;
357
+ /**
358
+ * Tear down the orchestrator: stop the active stream, remove all
359
+ * internal subscriptions, and mark the instance as disposed.
360
+ * After calling this method, the orchestrator should not be reused.
361
+ */
362
+ dispose(): void;
363
+ }
364
+ //#endregion
365
+ export { OrchestratorAccessors, StreamOrchestrator };
366
+ //# sourceMappingURL=orchestrator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orchestrator.d.ts","names":[],"sources":["../../src/ui/orchestrator.ts"],"mappings":";;;;;;;;;;;;;;;;;AAqGA;UAAiB,qBAAA;EACf,SAAA,IAAa,MAAA;EACb,cAAA;EACA,cAAA;AAAA;;;;;AAaF;;;;;;cAAa,kBAAA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