@langchain/langgraph-cli 0.0.10 → 0.0.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/README.md CHANGED
@@ -51,18 +51,18 @@ The CLI uses a `langgraph.json` configuration file with these key settings:
51
51
  ```json5
52
52
  {
53
53
  // Required: Graph definitions
54
- "graphs": {
55
- "graph": "./src/graph.ts:graph"
54
+ graphs: {
55
+ graph: "./src/graph.ts:graph",
56
56
  },
57
57
 
58
58
  // Optional: Node version (20 only at the moment)
59
- "node_version": "20",
59
+ node_version: "20",
60
60
 
61
61
  // Optional: Environment variables
62
- "env": ".env",
63
-
62
+ env: ".env",
63
+
64
64
  // Optional: Additional Dockerfile commands
65
- "dockerfile_lines": []
65
+ dockerfile_lines: [],
66
66
  }
67
67
  ```
68
68
 
@@ -1,17 +1,17 @@
1
1
  // MIT License
2
- //
2
+ //
3
3
  // Copyright (c) Hiroki Osame <hiroki.osame@gmail.com>
4
- //
4
+ //
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
7
7
  // in the Software without restriction, including without limitation the rights
8
8
  // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  // copies of the Software, and to permit persons to whom the Software is
10
10
  // furnished to do so, subject to the following conditions:
11
- //
11
+ //
12
12
  // The above copyright notice and this permission notice shall be included in all
13
13
  // copies or substantial portions of the Software.
14
- //
14
+ //
15
15
  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -19,7 +19,7 @@
19
19
  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  // SOFTWARE.
22
- //
22
+ //
23
23
  // https://github.com/privatenumber/tsx/tree/28a3e7d2b8fd72b683aab8a98dd1fcee4624e4cb
24
24
  import path from "node:path";
25
25
  import os from "node:os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -14,6 +14,10 @@
14
14
  "files": [
15
15
  "dist/"
16
16
  ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git@github.com:langchain-ai/langgraphjs-api.git"
20
+ },
17
21
  "dependencies": {
18
22
  "@commander-js/extra-typings": "^13.0.0",
19
23
  "chokidar": "^4.0.3",
@@ -32,7 +36,7 @@
32
36
  "yaml": "^2.7.0",
33
37
  "zod": "^3.23.8",
34
38
  "@babel/code-frame": "^7.26.2",
35
- "@langchain/langgraph-api": "0.0.10"
39
+ "@langchain/langgraph-api": "0.0.12"
36
40
  },
37
41
  "devDependencies": {
38
42
  "tsx": "^4.19.2",
@@ -43,10 +47,13 @@
43
47
  "typescript": "^5.5.4"
44
48
  },
45
49
  "scripts": {
50
+ "clean": "npx -y bun scripts/clean.mjs",
46
51
  "build": "npx -y bun scripts/build.mjs",
47
52
  "typecheck": "tsc --noEmit",
48
53
  "cli": "tsx src/cli/cli.mts",
49
54
  "cli:watch": "tsx watch src/cli/cli.mts",
50
- "test": "vitest"
55
+ "test": "vitest",
56
+ "format": "prettier --write .",
57
+ "format:check": "prettier --check ."
51
58
  }
52
59
  }