@langchain/langgraph-cli 1.1.17 → 1.2.0

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.
@@ -14,7 +14,7 @@ const UV_BINARY_CACHE = path.join(__dirname, ".uv", UV_VERSION);
14
14
  function getPlatformInfo() {
15
15
  const platform = os.platform();
16
16
  const arch = os.arch();
17
- let binaryName = "uv";
17
+ const binaryName = "uv";
18
18
  let extension = "";
19
19
  if (platform === "win32") {
20
20
  extension = ".exe";
@@ -4,7 +4,7 @@ const LF = "\n".charCodeAt(0);
4
4
  const TRAILING_NEWLINE = [CR, LF];
5
5
  function joinArrays(data) {
6
6
  const totalLength = data.reduce((acc, curr) => acc + curr.length, 0);
7
- let merged = new Uint8Array(totalLength);
7
+ const merged = new Uint8Array(totalLength);
8
8
  let offset = 0;
9
9
  for (const c of data) {
10
10
  merged.set(c, offset);
@@ -141,6 +141,7 @@ async function updateGraphPaths(configPath, config, localDeps) {
141
141
  for (const [graphId, graphDef] of Object.entries(config.graphs)) {
142
142
  const importStr = typeof graphDef === "string" ? graphDef : graphDef.path;
143
143
  const description = typeof graphDef === "string" ? undefined : graphDef.description;
144
+ // oxlint-disable-next-line prefer-const -- moduleStr is reassigned for local modules
144
145
  let [moduleStr, attrStr] = importStr.split(":", 2);
145
146
  if (!moduleStr || !attrStr) {
146
147
  throw new Error(`Import string "${importStr}" must be in format "<module>:<attribute>".`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-cli",
3
- "version": "1.1.17",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "^18.19.0 || >=20.16.0"
@@ -29,7 +29,7 @@
29
29
  "execa": "^9.5.2",
30
30
  "exit-hook": "^4.0.0",
31
31
  "extract-zip": "^2.0.1",
32
- "langsmith": "^0.4.6",
32
+ "langsmith": "^0.6.0",
33
33
  "open": "^10.1.0",
34
34
  "package-manager-detector": "^1.3.0",
35
35
  "stacktrace-parser": "^0.1.10",
@@ -38,13 +38,12 @@
38
38
  "winston-console-format": "^1.0.8",
39
39
  "yaml": "^2.8.3",
40
40
  "zod": "^3.25.76 || ^4",
41
- "@langchain/langgraph-api": "1.1.17",
41
+ "@langchain/langgraph-api": "1.2.0",
42
42
  "create-langgraph": "1.1.5"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/babel__code-frame": "^7.0.6",
46
46
  "@types/node": "^18.15.11",
47
- "prettier": "^2.8.3",
48
47
  "tsx": "^4.19.3",
49
48
  "typescript": "^4.9.5 || ^5.4.5",
50
49
  "vitest": "^3.2.4"
@@ -57,8 +56,6 @@
57
56
  "typecheck": "tsc --noEmit",
58
57
  "cli": "tsx src/cli/cli.mts",
59
58
  "cli:watch": "tsx watch src/cli/cli.mts",
60
- "test": "vitest run",
61
- "format": "prettier --write .",
62
- "format:check": "prettier --check ."
59
+ "test": "vitest run"
63
60
  }
64
61
  }