@langchain/langgraph-cli 0.0.0-preview.7 → 0.0.0-preview.8
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/README.md +8 -8
- package/dist/cli/utils/builder.mjs +1 -1
- package/dist/storage/checkpoint.mjs +4 -0
- package/dist/storage/store.mjs +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,36 +12,36 @@ npx @langchain/langgraph-cli
|
|
|
12
12
|
|
|
13
13
|
## Commands
|
|
14
14
|
|
|
15
|
-
### `
|
|
15
|
+
### `langgraphjs dev`
|
|
16
16
|
|
|
17
17
|
Run LangGraph.js API server in development mode with hot reloading.
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
langgraph dev
|
|
20
|
+
npx @langchain/langgraph-cli dev
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
### `
|
|
23
|
+
### `langgraphjs build`
|
|
24
24
|
|
|
25
25
|
Build a Docker image for your LangGraph.js application.
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
langgraph build
|
|
28
|
+
npx @langchain/langgraph-cli build
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
### `
|
|
31
|
+
### `langgraphjs up`
|
|
32
32
|
|
|
33
33
|
Run LangGraph.js API server in Docker.
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
langgraph up
|
|
36
|
+
npx @langchain/langgraph-cli up
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
### `
|
|
39
|
+
### `langgraphjs dockerfile`
|
|
40
40
|
|
|
41
41
|
Generate a Dockerfile for custom deployments
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
langgraph dockerfile <save path>
|
|
44
|
+
npx @langchain/langgraph-cli dockerfile <save path>
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Configuration
|
package/dist/storage/store.mjs
CHANGED
|
@@ -33,5 +33,9 @@ class InMemoryStore extends BaseMemoryStore {
|
|
|
33
33
|
async listNamespaces(...args) {
|
|
34
34
|
return await conn.with(() => super.listNamespaces(...args));
|
|
35
35
|
}
|
|
36
|
+
toJSON() {
|
|
37
|
+
// Prevent serialization of internal state
|
|
38
|
+
return "[InMemoryStore]";
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
export const store = new InMemoryStore();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-cli",
|
|
3
|
-
"version": "0.0.0-preview.
|
|
3
|
+
"version": "0.0.0-preview.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"license": "Elastic-2.0",
|
|
9
9
|
"main": "./dist/server.mjs",
|
|
10
10
|
"bin": {
|
|
11
|
-
"
|
|
11
|
+
"langgraphjs": "dist/cli/cli.mjs"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist/"
|