@langchain/langgraph 0.3.8 → 0.3.9
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/CHANGELOG.md +13 -0
- package/README.md +28 -21
- package/dist/graph/messages_annotation.cjs +22 -13
- package/dist/graph/messages_annotation.d.ts +16 -1
- package/dist/graph/messages_annotation.js +20 -11
- package/dist/graph/messages_annotation.js.map +1 -1
- package/dist/graph/zod/meta.d.ts +5 -0
- package/dist/graph/zod/meta.js.map +1 -1
- package/dist/graph/zod/zod-registry.d.ts +5 -0
- package/dist/graph/zod/zod-registry.js.map +1 -1
- package/dist/prebuilt/react_agent_executor.cjs +13 -9
- package/dist/prebuilt/react_agent_executor.d.ts +13 -8
- package/dist/prebuilt/react_agent_executor.js +13 -9
- package/dist/prebuilt/react_agent_executor.js.map +1 -1
- package/dist/pregel/index.cjs +4 -6
- package/dist/pregel/index.js +4 -6
- package/dist/pregel/index.js.map +1 -1
- package/dist/pregel/runner.cjs +27 -38
- package/dist/pregel/runner.js +27 -38
- package/dist/pregel/runner.js.map +1 -1
- package/dist/pregel/types.d.ts +0 -4
- package/dist/pregel/types.js.map +1 -1
- package/dist/pregel/utils/index.cjs +15 -12
- package/dist/pregel/utils/index.d.ts +5 -2
- package/dist/pregel/utils/index.js +15 -12
- package/dist/pregel/utils/index.js.map +1 -1
- package/dist/web.cjs +2 -1
- package/dist/web.d.ts +1 -1
- package/dist/web.js +1 -1
- package/dist/web.js.map +1 -1
- package/package.json +3 -3
package/dist/web.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.MessagesZodState = exports.MessagesAnnotation = exports.task = exports.entrypoint = exports.InMemoryStore = exports.AsyncBatchedStore = exports.BaseStore = exports.BaseCheckpointSaver = exports.emptyCheckpoint = exports.copyCheckpoint = exports.MemorySaver = exports.isInterrupted = exports.INTERRUPT = exports.END = exports.START = exports.isCommand = exports.Command = exports.Send = exports.BinaryOperatorAggregate = exports.BaseChannel = exports.Annotation = exports.REMOVE_ALL_MESSAGES = exports.addMessages = exports.messagesStateReducer = exports.typedNode = exports.MessageGraph = exports.CompiledStateGraph = exports.StateGraph = exports.Graph = void 0;
|
|
17
|
+
exports.MessagesZodMeta = exports.MessagesZodState = exports.MessagesAnnotation = exports.task = exports.entrypoint = exports.InMemoryStore = exports.AsyncBatchedStore = exports.BaseStore = exports.BaseCheckpointSaver = exports.emptyCheckpoint = exports.copyCheckpoint = exports.MemorySaver = exports.isInterrupted = exports.INTERRUPT = exports.END = exports.START = exports.isCommand = exports.Command = exports.Send = exports.BinaryOperatorAggregate = exports.BaseChannel = exports.Annotation = exports.REMOVE_ALL_MESSAGES = exports.addMessages = exports.messagesStateReducer = exports.typedNode = exports.MessageGraph = exports.CompiledStateGraph = exports.StateGraph = exports.Graph = void 0;
|
|
18
18
|
var index_js_1 = require("./graph/index.cjs");
|
|
19
19
|
Object.defineProperty(exports, "Graph", { enumerable: true, get: function () { return index_js_1.Graph; } });
|
|
20
20
|
Object.defineProperty(exports, "StateGraph", { enumerable: true, get: function () { return index_js_1.StateGraph; } });
|
|
@@ -52,4 +52,5 @@ Object.defineProperty(exports, "task", { enumerable: true, get: function () { re
|
|
|
52
52
|
var messages_annotation_js_1 = require("./graph/messages_annotation.cjs");
|
|
53
53
|
Object.defineProperty(exports, "MessagesAnnotation", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesAnnotation; } });
|
|
54
54
|
Object.defineProperty(exports, "MessagesZodState", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesZodState; } });
|
|
55
|
+
Object.defineProperty(exports, "MessagesZodMeta", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesZodMeta; } });
|
|
55
56
|
//# sourceMappingURL=web.js.map
|
package/dist/web.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export { Send, Command, type CommandParams, isCommand, START, END, INTERRUPT, is
|
|
|
11
11
|
export { MemorySaver, type Checkpoint, type CheckpointMetadata, type CheckpointTuple, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, type Item, type GetOperation, type SearchOperation, type PutOperation, type Operation, type OperationResults, BaseStore, AsyncBatchedStore, InMemoryStore, type NameSpacePath, type NamespaceMatchType, type MatchCondition, type ListNamespacesOperation, } from "@langchain/langgraph-checkpoint";
|
|
12
12
|
export * from "./managed/index.js";
|
|
13
13
|
export { entrypoint, type EntrypointOptions, task, type TaskOptions, } from "./func/index.js";
|
|
14
|
-
export { MessagesAnnotation, MessagesZodState, } from "./graph/messages_annotation.js";
|
|
14
|
+
export { MessagesAnnotation, MessagesZodState, MessagesZodMeta, } from "./graph/messages_annotation.js";
|
|
15
15
|
export { type LangGraphRunnableConfig } from "./pregel/runnable_types.js";
|
package/dist/web.js
CHANGED
|
@@ -5,5 +5,5 @@ export { Send, Command, isCommand, START, END, INTERRUPT, isInterrupted, } from
|
|
|
5
5
|
export { MemorySaver, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, BaseStore, AsyncBatchedStore, InMemoryStore, } from "@langchain/langgraph-checkpoint";
|
|
6
6
|
export * from "./managed/index.js";
|
|
7
7
|
export { entrypoint, task, } from "./func/index.js";
|
|
8
|
-
export { MessagesAnnotation, MessagesZodState, } from "./graph/messages_annotation.js";
|
|
8
|
+
export { MessagesAnnotation, MessagesZodState, MessagesZodMeta, } from "./graph/messages_annotation.js";
|
|
9
9
|
//# sourceMappingURL=web.js.map
|
package/dist/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EAEL,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,oBAAoB,E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,gBAAgB,EAChB,eAAe,GAChB,MAAM,gCAAgC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "LangGraph",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@langchain/langgraph-checkpoint": "~0.0.18",
|
|
35
|
-
"@langchain/langgraph-sdk": "~0.0.
|
|
35
|
+
"@langchain/langgraph-sdk": "~0.0.96",
|
|
36
36
|
"uuid": "^10.0.0",
|
|
37
37
|
"zod": "^3.25.32"
|
|
38
38
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@langchain/core": "^0.3.58",
|
|
52
52
|
"@langchain/langgraph-checkpoint-postgres": "0.0.5",
|
|
53
53
|
"@langchain/langgraph-checkpoint-sqlite": "0.1.5",
|
|
54
|
-
"@langchain/langgraph-sdk": "0.0.
|
|
54
|
+
"@langchain/langgraph-sdk": "0.0.96",
|
|
55
55
|
"@langchain/openai": "^0.4.0",
|
|
56
56
|
"@langchain/scripts": ">=0.1.3 <0.2.0",
|
|
57
57
|
"@swc/core": "^1.3.90",
|