@langchain/langgraph-api 1.3.0 → 1.3.1

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,6 +1,6 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
2
  import { Hono } from "hono";
3
- import { v7 as uuid } from "uuid";
3
+ import { v7 as uuid } from "@langchain/core/utils/uuid";
4
4
  import { z } from "zod/v3";
5
5
  import { getAssistantId, getCachedStaticGraphSchema, getGraph, } from "../graph/load.mjs";
6
6
  import { getRuntimeGraphSchema } from "../graph/parser/index.mjs";
@@ -1,7 +1,7 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
2
  import { Hono } from "hono";
3
3
  import { streamSSE } from "hono/streaming";
4
- import { v7 as uuid7 } from "uuid";
4
+ import { v7 as uuid7 } from "@langchain/core/utils/uuid";
5
5
  import { z } from "zod/v3";
6
6
  import { ProtocolService } from "../protocol/service.mjs";
7
7
  import { jsonExtra } from "../utils/hono.mjs";
package/dist/api/runs.mjs CHANGED
@@ -2,7 +2,7 @@ import { zValidator } from "@hono/zod-validator";
2
2
  import { Hono } from "hono";
3
3
  import { HTTPException } from "hono/http-exception";
4
4
  import { streamSSE } from "hono/streaming";
5
- import { v7 as uuid7 } from "uuid";
5
+ import { v7 as uuid7 } from "@langchain/core/utils/uuid";
6
6
  import { z } from "zod/v3";
7
7
  import { getAssistantId } from "../graph/load.mjs";
8
8
  import { logError, logger } from "../logging.mjs";
@@ -1,6 +1,6 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
2
  import { Hono } from "hono";
3
- import { v7 as uuid7 } from "uuid";
3
+ import { v7 as uuid7 } from "@langchain/core/utils/uuid";
4
4
  import { z } from "zod/v3";
5
5
  import * as schemas from "../schemas.mjs";
6
6
  import { stateSnapshotToThreadState } from "../state.mjs";
@@ -1,6 +1,6 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
2
  import { streamSSE } from "hono/streaming";
3
- import { v7 as uuidv7 } from "uuid";
3
+ import { v7 as uuidv7 } from "@langchain/core/utils/uuid";
4
4
  import { z } from "zod/v3";
5
5
  import { streamState } from "../../stream.mjs";
6
6
  import { serialiseAsDict } from "../../utils/serde.mjs";
@@ -1,6 +1,6 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
2
  import { streamSSE } from "hono/streaming";
3
- import { v7 as uuidv7 } from "uuid";
3
+ import { v7 as uuidv7 } from "@langchain/core/utils/uuid";
4
4
  import { z } from "zod/v3";
5
5
  import * as schemas from "../../schemas.mjs";
6
6
  import { streamState } from "../../stream.mjs";
@@ -1,5 +1,5 @@
1
1
  import { zValidator } from "@hono/zod-validator";
2
- import { v7 as uuidv7 } from "uuid";
2
+ import { v7 as uuidv7 } from "@langchain/core/utils/uuid";
3
3
  import { z } from "zod/v3";
4
4
  import * as schemas from "../../schemas.mjs";
5
5
  import { jsonExtra } from "../../utils/hono.mjs";
@@ -1,4 +1,4 @@
1
- import { v7 as uuidv7 } from "uuid";
1
+ import { v7 as uuidv7 } from "@langchain/core/utils/uuid";
2
2
  import { z } from "zod/v3";
3
3
  export const ProtocolCommandSchema = z.object({
4
4
  id: z.number().int().nonnegative(),
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod/v3";
2
- import * as uuid from "uuid";
2
+ import * as uuid from "@langchain/core/utils/uuid";
3
3
  import { HTTPException } from "hono/http-exception";
4
4
  import { resolveGraph } from "./load.utils.mjs";
5
5
  import { getStaticGraphSchema } from "./parser/index.mjs";
@@ -1,4 +1,4 @@
1
- import * as uuid from "uuid";
1
+ import * as uuid from "@langchain/core/utils/uuid";
2
2
  import * as path from "node:path";
3
3
  import * as fs from "node:fs/promises";
4
4
  import { pathToFileURL } from "node:url";
@@ -1,5 +1,5 @@
1
1
  import { inferChannel, isPrefixMatch } from "@langchain/langgraph/stream";
2
- import { v7 as uuid7 } from "uuid";
2
+ import { v7 as uuid7 } from "@langchain/core/utils/uuid";
3
3
  import { getAssistantId } from "../graph/load.mjs";
4
4
  import { PROTOCOL_STREAM_RUN_KEY } from "./constants.mjs";
5
5
  import { RunProtocolSession } from "./session/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { inferChannel, isSupportedChannel } from "@langchain/langgraph/stream";
2
- import { v7 as uuid7 } from "uuid";
2
+ import { v7 as uuid7 } from "@langchain/core/utils/uuid";
3
3
  import { serialiseAsDict, serializeError } from "../../utils/serde.mjs";
4
4
  import { normalizeInputRequestedData, normalizeToolData, stripInterruptsFromValues, toLifecycleStatus, } from "./event-normalizers.mjs";
5
5
  import { isRecord } from "./internal-types.mjs";
@@ -1,5 +1,5 @@
1
1
  import { HTTPException } from "hono/http-exception";
2
- import { v7 as uuid7, v5 as uuid5 } from "uuid";
2
+ import { v7 as uuid7, v5 as uuid5 } from "@langchain/core/utils/uuid";
3
3
  import { handleAuthEvent, isAuthMatching } from "../auth/index.mjs";
4
4
  import { getLangGraphCommand } from "../command.mjs";
5
5
  import { getGraph, NAMESPACE_GRAPH } from "../graph/load.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-api",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "^18.19.0 || >=20.16.0"
@@ -68,16 +68,15 @@
68
68
  "stacktrace-parser": "^0.1.10",
69
69
  "superjson": "^2.2.2",
70
70
  "tsx": "^4.19.3",
71
- "uuid": "^14.0.0",
72
71
  "winston": "^3.17.0",
73
72
  "winston-console-format": "^1.0.8",
74
73
  "zod": "^3.25.76 || ^4",
75
- "@langchain/langgraph-ui": "1.3.0"
74
+ "@langchain/langgraph-ui": "1.3.1"
76
75
  },
77
76
  "peerDependencies": {
78
77
  "@langchain/core": "^1.1.48",
79
78
  "@langchain/langgraph": "^1.3.6",
80
- "@langchain/langgraph-checkpoint": "~0.0.16 || ^0.1.0 || ~1.0.0",
79
+ "@langchain/langgraph-checkpoint": "~0.0.16 || ^0.1.0 || ^1.0.0",
81
80
  "@langchain/langgraph-sdk": "^1.9.3-rc.0",
82
81
  "typescript": "^5.5.4"
83
82
  },
@@ -93,7 +92,6 @@
93
92
  "@types/react": "^19.2.16",
94
93
  "@types/react-dom": "^19.0.3",
95
94
  "@types/semver": "^7.7.0",
96
- "@types/uuid": "^10.0.0",
97
95
  "deepagents": "^1.9.0",
98
96
  "jose": "^6.0.10",
99
97
  "langchain": "^1.4.4",
@@ -101,9 +99,9 @@
101
99
  "typescript": "^4.9.5 || ^5.4.5",
102
100
  "vitest": "^4.1.0",
103
101
  "wait-port": "^1.1.0",
104
- "@langchain/langgraph": "1.3.7",
105
- "@langchain/langgraph-checkpoint": "1.0.4",
106
- "@langchain/langgraph-sdk": "1.9.19"
102
+ "@langchain/langgraph": "1.4.2",
103
+ "@langchain/langgraph-checkpoint": "1.1.1",
104
+ "@langchain/langgraph-sdk": "1.9.22"
107
105
  },
108
106
  "scripts": {
109
107
  "clean": "rm -rf dist/ .turbo/ ./tests/graphs/.langgraph_api/ ./tests/protocol-v2/graphs/.langgraph_api/",