@langchain/langgraph-sdk 1.9.11 → 1.9.13
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/headless-tools.cjs +52 -3
- package/dist/headless-tools.cjs.map +1 -1
- package/dist/headless-tools.d.cts +36 -7
- package/dist/headless-tools.d.cts.map +1 -1
- package/dist/headless-tools.d.ts +36 -7
- package/dist/headless-tools.d.ts.map +1 -1
- package/dist/headless-tools.js +52 -4
- package/dist/headless-tools.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/react/stream.custom.cjs +1 -1
- package/dist/react/stream.custom.js +1 -1
- package/dist/react/stream.lgp.cjs +1 -1
- package/dist/react/stream.lgp.js +1 -1
- package/dist/stream/controller.cjs +8 -6
- package/dist/stream/controller.cjs.map +1 -1
- package/dist/stream/controller.d.cts.map +1 -1
- package/dist/stream/controller.d.ts.map +1 -1
- package/dist/stream/controller.js +8 -6
- package/dist/stream/controller.js.map +1 -1
- package/dist/ui/hitl-interrupt-payload.cjs +27 -0
- package/dist/ui/hitl-interrupt-payload.cjs.map +1 -1
- package/dist/ui/hitl-interrupt-payload.d.cts +6 -1
- package/dist/ui/hitl-interrupt-payload.d.cts.map +1 -1
- package/dist/ui/hitl-interrupt-payload.d.ts +6 -1
- package/dist/ui/hitl-interrupt-payload.d.ts.map +1 -1
- package/dist/ui/hitl-interrupt-payload.js +27 -1
- package/dist/ui/hitl-interrupt-payload.js.map +1 -1
- package/dist/ui/index.cjs +3 -2
- package/dist/ui/index.d.cts +2 -2
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +3 -3
- package/dist/ui/orchestrator-custom.cjs +1 -1
- package/dist/ui/orchestrator-custom.js +1 -1
- package/dist/ui/orchestrator.cjs +1 -1
- package/dist/ui/orchestrator.js +1 -1
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { SubagentManager, calculateDepthFromNamespace, extractParentIdFromNamesp
|
|
|
11
11
|
import { ClassSubagentStreamInterface, ClassToolCallWithResult, WithClassMessages } from "./class-messages.js";
|
|
12
12
|
import { EventStreamEvent, StreamManager } from "./manager.js";
|
|
13
13
|
import { extractInterrupts, normalizeInterruptForClient, normalizeInterruptsList, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
14
|
-
import { normalizeHitlInterruptPayload } from "./hitl-interrupt-payload.js";
|
|
14
|
+
import { normalizeHitlInterruptPayload, normalizeHitlResponseForServer } from "./hitl-interrupt-payload.js";
|
|
15
15
|
import { FetchStreamTransport } from "./transport.js";
|
|
16
16
|
import { filterStream, findLast, onFinishRequiresThreadState, unique } from "./utils.js";
|
|
17
17
|
import { OrchestratorAccessors, StreamOrchestrator } from "./orchestrator.js";
|
|
18
18
|
import { CustomStreamOrchestrator } from "./orchestrator-custom.js";
|
|
19
|
-
export { AcceptBaseMessages, AgentMiddlewareLike, AgentTypeConfigLike, AnyStreamCustomOptions, AnyStreamOptions, BaseStream, BaseSubagentState, type ClassSubagentStreamInterface, type ClassToolCallWithResult, CompiledSubAgentLike, CustomStreamOrchestrator, CustomSubmitOptions, DeepAgentTypeConfigLike, DefaultSubagentStates, type EventStreamEvent, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, ExtractToolCallsFromState, FetchStreamTransport, GetConfigurableType, GetCustomEventType, GetInterruptType, GetToolCallsType, GetUpdateType, type HistoryWithBaseMessages, InferAgentState, InferAgentToolCalls, InferBag, InferDeepAgentSubagents, InferMiddlewareStatesFromArray, InferNodeNames, InferNodeReturnTypes, InferStateType, InferSubagentByName, InferSubagentNames, InferSubagentState, InferSubagentStates, InferToolCalls, IsAgentLike, IsDeepAgentLike, MessageMetadata, MessageTupleManager, type OrchestratorAccessors, PendingRunsTracker, type QueueEntry, type QueueInterface, ResolveStreamInterface, ResolveStreamOptions, RunCallbackMeta, type Sequence, StateRecord, StreamBase, StreamError, StreamManager, StreamOrchestrator, SubAgentLike, SubagentApi, SubagentManager, SubagentStateMap, SubagentStatus, SubagentStream, SubagentStreamInterface, SubagentToolCall, SubmitOptions, UseAgentStream, UseAgentStreamOptions, UseDeepAgentStream, UseDeepAgentStreamOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport, UseStreamTransportPayload, type WithClassMessages, calculateDepthFromNamespace, ensureHistoryMessageInstances, ensureMessageInstances, extractInterrupts, extractParentIdFromNamespace, extractToolCallIdFromNamespace, filterStream, findLast, getBranchContext, getMessagesMetadataMap, isSubagentNamespace, normalizeHitlInterruptPayload, normalizeInterruptForClient, normalizeInterruptsList, onFinishRequiresThreadState, toMessageClass, toMessageDict, unique, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray };
|
|
19
|
+
export { AcceptBaseMessages, AgentMiddlewareLike, AgentTypeConfigLike, AnyStreamCustomOptions, AnyStreamOptions, BaseStream, BaseSubagentState, type ClassSubagentStreamInterface, type ClassToolCallWithResult, CompiledSubAgentLike, CustomStreamOrchestrator, CustomSubmitOptions, DeepAgentTypeConfigLike, DefaultSubagentStates, type EventStreamEvent, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, ExtractToolCallsFromState, FetchStreamTransport, GetConfigurableType, GetCustomEventType, GetInterruptType, GetToolCallsType, GetUpdateType, type HistoryWithBaseMessages, InferAgentState, InferAgentToolCalls, InferBag, InferDeepAgentSubagents, InferMiddlewareStatesFromArray, InferNodeNames, InferNodeReturnTypes, InferStateType, InferSubagentByName, InferSubagentNames, InferSubagentState, InferSubagentStates, InferToolCalls, IsAgentLike, IsDeepAgentLike, MessageMetadata, MessageTupleManager, type OrchestratorAccessors, PendingRunsTracker, type QueueEntry, type QueueInterface, ResolveStreamInterface, ResolveStreamOptions, RunCallbackMeta, type Sequence, StateRecord, StreamBase, StreamError, StreamManager, StreamOrchestrator, SubAgentLike, SubagentApi, SubagentManager, SubagentStateMap, SubagentStatus, SubagentStream, SubagentStreamInterface, SubagentToolCall, SubmitOptions, UseAgentStream, UseAgentStreamOptions, UseDeepAgentStream, UseDeepAgentStreamOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport, UseStreamTransportPayload, type WithClassMessages, calculateDepthFromNamespace, ensureHistoryMessageInstances, ensureMessageInstances, extractInterrupts, extractParentIdFromNamespace, extractToolCallIdFromNamespace, filterStream, findLast, getBranchContext, getMessagesMetadataMap, isSubagentNamespace, normalizeHitlInterruptPayload, normalizeHitlResponseForServer, normalizeInterruptForClient, normalizeInterruptsList, onFinishRequiresThreadState, toMessageClass, toMessageDict, unique, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray };
|
package/dist/ui/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MessageTupleManager, ensureHistoryMessageInstances, ensureMessageInstances, toMessageClass, toMessageDict } from "./messages.js";
|
|
2
|
+
import { normalizeHitlInterruptPayload, normalizeHitlResponseForServer } from "./hitl-interrupt-payload.js";
|
|
3
|
+
import { extractInterrupts, normalizeInterruptForClient, normalizeInterruptsList, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
2
4
|
import { StreamError } from "./errors.js";
|
|
3
5
|
import { SubagentManager, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace } from "./subagents.js";
|
|
4
6
|
import { StreamManager } from "./manager.js";
|
|
5
7
|
import { filterStream, findLast, onFinishRequiresThreadState, unique } from "./utils.js";
|
|
6
8
|
import { getBranchContext, getMessagesMetadataMap } from "./branching.js";
|
|
7
|
-
import { normalizeHitlInterruptPayload } from "./hitl-interrupt-payload.js";
|
|
8
|
-
import { extractInterrupts, normalizeInterruptForClient, normalizeInterruptsList, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
9
9
|
import { FetchStreamTransport } from "./transport.js";
|
|
10
10
|
import { PendingRunsTracker } from "./queue.js";
|
|
11
11
|
import { StreamOrchestrator } from "./orchestrator.js";
|
|
12
12
|
import { CustomStreamOrchestrator } from "./orchestrator-custom.js";
|
|
13
|
-
export { CustomStreamOrchestrator, FetchStreamTransport, MessageTupleManager, PendingRunsTracker, StreamError, StreamManager, StreamOrchestrator, SubagentManager, calculateDepthFromNamespace, ensureHistoryMessageInstances, ensureMessageInstances, extractInterrupts, extractParentIdFromNamespace, extractToolCallIdFromNamespace, filterStream, findLast, getBranchContext, getMessagesMetadataMap, isSubagentNamespace, normalizeHitlInterruptPayload, normalizeInterruptForClient, normalizeInterruptsList, onFinishRequiresThreadState, toMessageClass, toMessageDict, unique, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray };
|
|
13
|
+
export { CustomStreamOrchestrator, FetchStreamTransport, MessageTupleManager, PendingRunsTracker, StreamError, StreamManager, StreamOrchestrator, SubagentManager, calculateDepthFromNamespace, ensureHistoryMessageInstances, ensureMessageInstances, extractInterrupts, extractParentIdFromNamespace, extractToolCallIdFromNamespace, filterStream, findLast, getBranchContext, getMessagesMetadataMap, isSubagentNamespace, normalizeHitlInterruptPayload, normalizeHitlResponseForServer, normalizeInterruptForClient, normalizeInterruptsList, onFinishRequiresThreadState, toMessageClass, toMessageDict, unique, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_messages = require("./messages.cjs");
|
|
2
2
|
const require_headless_tools = require("../headless-tools.cjs");
|
|
3
|
+
const require_interrupts = require("./interrupts.cjs");
|
|
3
4
|
const require_tools = require("../utils/tools.cjs");
|
|
4
5
|
const require_manager = require("./manager.cjs");
|
|
5
|
-
const require_interrupts = require("./interrupts.cjs");
|
|
6
6
|
//#region src/ui/orchestrator-custom.ts
|
|
7
7
|
/**
|
|
8
8
|
* Create a custom transport thread state.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MessageTupleManager, ensureMessageInstances, toMessageClass } from "./messages.js";
|
|
2
2
|
import { flushPendingHeadlessToolInterrupts } from "../headless-tools.js";
|
|
3
|
+
import { extractInterrupts, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
3
4
|
import { getToolCallsWithResults } from "../utils/tools.js";
|
|
4
5
|
import { StreamManager } from "./manager.js";
|
|
5
|
-
import { extractInterrupts, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
6
6
|
//#region src/ui/orchestrator-custom.ts
|
|
7
7
|
/**
|
|
8
8
|
* Create a custom transport thread state.
|
package/dist/ui/orchestrator.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_messages = require("./messages.cjs");
|
|
2
2
|
const require_headless_tools = require("../headless-tools.cjs");
|
|
3
|
+
const require_interrupts = require("./interrupts.cjs");
|
|
3
4
|
const require_errors = require("./errors.cjs");
|
|
4
5
|
const require_tools = require("../utils/tools.cjs");
|
|
5
6
|
const require_manager = require("./manager.cjs");
|
|
6
7
|
const require_utils = require("./utils.cjs");
|
|
7
8
|
const require_branching = require("./branching.cjs");
|
|
8
|
-
const require_interrupts = require("./interrupts.cjs");
|
|
9
9
|
const require_queue = require("./queue.cjs");
|
|
10
10
|
//#region src/ui/orchestrator.ts
|
|
11
11
|
/**
|
package/dist/ui/orchestrator.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MessageTupleManager, ensureHistoryMessageInstances, ensureMessageInstances, toMessageClass } from "./messages.js";
|
|
2
2
|
import { flushPendingHeadlessToolInterrupts } from "../headless-tools.js";
|
|
3
|
+
import { extractInterrupts, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
3
4
|
import { StreamError } from "./errors.js";
|
|
4
5
|
import { getToolCallsWithResults } from "../utils/tools.js";
|
|
5
6
|
import { StreamManager } from "./manager.js";
|
|
6
7
|
import { filterStream, onFinishRequiresThreadState, unique } from "./utils.js";
|
|
7
8
|
import { getBranchContext, getMessagesMetadataMap } from "./branching.js";
|
|
8
|
-
import { extractInterrupts, userFacingInterruptsFromThreadTasks, userFacingInterruptsFromValuesArray } from "./interrupts.js";
|
|
9
9
|
import { PendingRunsTracker } from "./queue.js";
|
|
10
10
|
//#region src/ui/orchestrator.ts
|
|
11
11
|
/**
|