@langchain/langgraph-api 1.5.2-dev.0 → 1.5.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RunnableConfig } from "@langchain/core/runnables";
|
|
2
2
|
import { type Checkpoint, type CheckpointMetadata, MemorySaver } from "@langchain/langgraph";
|
|
3
3
|
import { FileSystemPersistence } from "./persist.mjs";
|
|
4
|
-
declare class InMemorySaver extends MemorySaver {
|
|
4
|
+
export declare class InMemorySaver extends MemorySaver {
|
|
5
5
|
initialize(cwd: string): Promise<FileSystemPersistence<{
|
|
6
6
|
storage: typeof MemorySaver.prototype.storage;
|
|
7
7
|
writes: typeof MemorySaver.prototype.writes;
|
|
@@ -16,4 +16,3 @@ declare class InMemorySaver extends MemorySaver {
|
|
|
16
16
|
toJSON(): string;
|
|
17
17
|
}
|
|
18
18
|
export declare const checkpointer: InMemorySaver;
|
|
19
|
-
export {};
|
|
@@ -16,7 +16,7 @@ const conn = new FileSystemPersistence(".langgraphjs_api.checkpointer.json", ()
|
|
|
16
16
|
storage: {},
|
|
17
17
|
writes: {},
|
|
18
18
|
}));
|
|
19
|
-
class InMemorySaver extends MemorySaver {
|
|
19
|
+
export class InMemorySaver extends MemorySaver {
|
|
20
20
|
async initialize(cwd) {
|
|
21
21
|
await conn.initialize(cwd);
|
|
22
22
|
await conn.with(({ storage, writes }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"winston": "^3.17.0",
|
|
72
72
|
"winston-console-format": "^1.0.8",
|
|
73
73
|
"zod": "^3.25.76 || ^4",
|
|
74
|
-
"@langchain/langgraph-ui": "1.5.
|
|
74
|
+
"@langchain/langgraph-ui": "1.5.3"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@langchain/core": "^1.1.48",
|
|
78
78
|
"@langchain/langgraph": "^1.4.18-rc.0",
|
|
79
|
-
"@langchain/langgraph-checkpoint": "^1.
|
|
79
|
+
"@langchain/langgraph-checkpoint": "^1.2.0",
|
|
80
80
|
"@langchain/langgraph-sdk": "^1.12.0-rc.0",
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"typescript": "^5.5.4"
|
|
@@ -90,23 +90,23 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@langchain/core": "^1.2.
|
|
93
|
+
"@langchain/core": "^1.2.13",
|
|
94
94
|
"@types/babel__code-frame": "^7.0.6",
|
|
95
95
|
"@types/node": "^18.15.11",
|
|
96
|
-
"@types/react": "^19.
|
|
97
|
-
"@types/react-dom": "^19.
|
|
96
|
+
"@types/react": "^19.3.0",
|
|
97
|
+
"@types/react-dom": "^19.3.0",
|
|
98
98
|
"@types/semver": "^7.7.0",
|
|
99
99
|
"deepagents": "^1.10.5",
|
|
100
100
|
"jose": "^6.0.10",
|
|
101
|
-
"langchain": "^1.5.
|
|
101
|
+
"langchain": "^1.5.14",
|
|
102
102
|
"postgres": "^3.4.5",
|
|
103
103
|
"ts-node": "^10.9.2",
|
|
104
104
|
"typescript": "^4.9.5 || ^5.4.5",
|
|
105
105
|
"vitest": "^4.1.11",
|
|
106
106
|
"wait-port": "^1.1.0",
|
|
107
|
-
"@langchain/langgraph": "1.
|
|
108
|
-
"@langchain/langgraph
|
|
109
|
-
"@langchain/langgraph-sdk": "1.12.
|
|
107
|
+
"@langchain/langgraph-checkpoint": "1.2.0",
|
|
108
|
+
"@langchain/langgraph": "1.5.0",
|
|
109
|
+
"@langchain/langgraph-sdk": "1.12.4"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"clean": "rm -rf dist/ .turbo/ ./tests/graphs/.langgraph_api/ ./tests/protocol-v2/graphs/.langgraph_api/",
|