@langchain/langgraph 0.2.11 → 0.2.12
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/pregel/index.cjs +1 -1
- package/dist/pregel/index.js +1 -1
- package/dist/web.cjs +2 -2
- package/dist/web.d.ts +1 -1
- package/dist/web.js +1 -1
- package/package.json +2 -2
package/dist/pregel/index.cjs
CHANGED
|
@@ -825,7 +825,7 @@ class Pregel extends runnables_1.Runnable {
|
|
|
825
825
|
await loop.store?.stop();
|
|
826
826
|
}
|
|
827
827
|
await Promise.all([
|
|
828
|
-
loop?.checkpointerPromises ?? [],
|
|
828
|
+
...(loop?.checkpointerPromises ?? []),
|
|
829
829
|
...Array.from(managed.values()).map((mv) => mv.promises()),
|
|
830
830
|
]);
|
|
831
831
|
}
|
package/dist/pregel/index.js
CHANGED
|
@@ -818,7 +818,7 @@ export class Pregel extends Runnable {
|
|
|
818
818
|
await loop.store?.stop();
|
|
819
819
|
}
|
|
820
820
|
await Promise.all([
|
|
821
|
-
loop?.checkpointerPromises ?? [],
|
|
821
|
+
...(loop?.checkpointerPromises ?? []),
|
|
822
822
|
...Array.from(managed.values()).map((mv) => mv.promises()),
|
|
823
823
|
]);
|
|
824
824
|
}
|
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.MessagesAnnotation = exports.
|
|
17
|
+
exports.MessagesAnnotation = exports.InMemoryStore = exports.AsyncBatchedStore = exports.BaseStore = exports.BaseCheckpointSaver = exports.emptyCheckpoint = exports.copyCheckpoint = exports.MemorySaver = exports.Send = exports.BinaryOperatorAggregate = exports.BaseChannel = exports.Annotation = exports.messagesStateReducer = exports.MessageGraph = exports.StateGraph = exports.START = exports.Graph = exports.END = void 0;
|
|
18
18
|
var index_js_1 = require("./graph/index.cjs");
|
|
19
19
|
Object.defineProperty(exports, "END", { enumerable: true, get: function () { return index_js_1.END; } });
|
|
20
20
|
Object.defineProperty(exports, "Graph", { enumerable: true, get: function () { return index_js_1.Graph; } });
|
|
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "emptyCheckpoint", { enumerable: true, get: funct
|
|
|
36
36
|
Object.defineProperty(exports, "BaseCheckpointSaver", { enumerable: true, get: function () { return langgraph_checkpoint_1.BaseCheckpointSaver; } });
|
|
37
37
|
Object.defineProperty(exports, "BaseStore", { enumerable: true, get: function () { return langgraph_checkpoint_1.BaseStore; } });
|
|
38
38
|
Object.defineProperty(exports, "AsyncBatchedStore", { enumerable: true, get: function () { return langgraph_checkpoint_1.AsyncBatchedStore; } });
|
|
39
|
-
Object.defineProperty(exports, "
|
|
39
|
+
Object.defineProperty(exports, "InMemoryStore", { enumerable: true, get: function () { return langgraph_checkpoint_1.InMemoryStore; } });
|
|
40
40
|
__exportStar(require("./managed/index.cjs"), exports);
|
|
41
41
|
var messages_annotation_js_1 = require("./graph/messages_annotation.cjs");
|
|
42
42
|
Object.defineProperty(exports, "MessagesAnnotation", { enumerable: true, get: function () { return messages_annotation_js_1.MessagesAnnotation; } });
|
package/dist/web.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { BaseChannel, type BinaryOperator, BinaryOperatorAggregate, type AnyValu
|
|
|
5
5
|
export { type AnnotationRoot as _INTERNAL_ANNOTATION_ROOT } from "./graph/index.js";
|
|
6
6
|
export { type RetryPolicy } from "./pregel/utils/index.js";
|
|
7
7
|
export { Send } from "./constants.js";
|
|
8
|
-
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,
|
|
8
|
+
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";
|
|
9
9
|
export * from "./managed/index.js";
|
|
10
10
|
export { MessagesAnnotation } from "./graph/messages_annotation.js";
|
|
11
11
|
export { type LangGraphRunnableConfig } from "./pregel/runnable_types.js";
|
package/dist/web.js
CHANGED
|
@@ -2,6 +2,6 @@ export { END, Graph, START, StateGraph, MessageGraph, messagesStateReducer, Anno
|
|
|
2
2
|
export * from "./errors.js";
|
|
3
3
|
export { BaseChannel, BinaryOperatorAggregate, } from "./channels/index.js";
|
|
4
4
|
export { Send } from "./constants.js";
|
|
5
|
-
export { MemorySaver, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, BaseStore, AsyncBatchedStore,
|
|
5
|
+
export { MemorySaver, copyCheckpoint, emptyCheckpoint, BaseCheckpointSaver, BaseStore, AsyncBatchedStore, InMemoryStore, } from "@langchain/langgraph-checkpoint";
|
|
6
6
|
export * from "./managed/index.js";
|
|
7
7
|
export { MessagesAnnotation } from "./graph/messages_annotation.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "LangGraph",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"langchain": "^0.3.0",
|
|
71
71
|
"prettier": "^2.8.3",
|
|
72
72
|
"release-it": "^17.6.0",
|
|
73
|
-
"rollup": "^4.
|
|
73
|
+
"rollup": "^4.23.0",
|
|
74
74
|
"ts-jest": "^29.1.0",
|
|
75
75
|
"tsx": "^4.7.0",
|
|
76
76
|
"typescript": "^4.9.5 || ^5.4.5",
|