@langchain/langgraph-api 0.0.46 → 0.0.48
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/CHANGELOG.md +18 -0
- package/dist/auth/custom.mjs +1 -0
- package/dist/experimental/embed.mjs +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @langchain/langgraph-api
|
|
2
2
|
|
|
3
|
+
## 0.0.48
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ac7b067: fix(sdk): use `kind` when checking for Studio user
|
|
8
|
+
- Updated dependencies [ac7b067]
|
|
9
|
+
- @langchain/langgraph-ui@0.0.48
|
|
10
|
+
|
|
11
|
+
## 0.0.47
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 39cc88f: Fix apply namespace to messages-tuple stream mode
|
|
16
|
+
- c1ddda1: Embed methods for obtaining state should use `getGraph(...)`
|
|
17
|
+
- Updated dependencies [39cc88f]
|
|
18
|
+
- Updated dependencies [c1ddda1]
|
|
19
|
+
- @langchain/langgraph-ui@0.0.47
|
|
20
|
+
|
|
3
21
|
## 0.0.46
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/auth/custom.mjs
CHANGED
|
@@ -93,7 +93,7 @@ export function createEmbedServer(options) {
|
|
|
93
93
|
const { subgraphs } = c.req.valid("query");
|
|
94
94
|
const thread = await options.threads.get(thread_id);
|
|
95
95
|
const graphId = thread.metadata?.graph_id;
|
|
96
|
-
const graph = graphId ?
|
|
96
|
+
const graph = graphId ? await getGraph(graphId) : undefined;
|
|
97
97
|
if (graph == null) {
|
|
98
98
|
return jsonExtra(c, stateSnapshotToThreadState({
|
|
99
99
|
values: {},
|
|
@@ -115,7 +115,7 @@ export function createEmbedServer(options) {
|
|
|
115
115
|
const { limit, before, metadata, checkpoint } = c.req.valid("json");
|
|
116
116
|
const thread = await options.threads.get(thread_id);
|
|
117
117
|
const graphId = thread.metadata?.graph_id;
|
|
118
|
-
const graph = graphId ?
|
|
118
|
+
const graph = graphId ? await getGraph(graphId) : undefined;
|
|
119
119
|
if (graph == null)
|
|
120
120
|
return jsonExtra(c, []);
|
|
121
121
|
const config = { configurable: { thread_id, ...checkpoint } };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@babel/code-frame": "^7.26.2",
|
|
53
53
|
"@hono/node-server": "^1.12.0",
|
|
54
54
|
"@hono/zod-validator": "^0.2.2",
|
|
55
|
-
"@langchain/langgraph-ui": "0.0.
|
|
55
|
+
"@langchain/langgraph-ui": "0.0.48",
|
|
56
56
|
"@types/json-schema": "^7.0.15",
|
|
57
57
|
"@typescript/vfs": "^1.6.0",
|
|
58
58
|
"dedent": "^1.5.3",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@langchain/core": "^0.3.59",
|
|
87
|
-
"@langchain/langgraph": "0.3.
|
|
87
|
+
"@langchain/langgraph": "0.3.9",
|
|
88
88
|
"@langchain/langgraph-checkpoint": "0.0.18",
|
|
89
|
-
"@langchain/langgraph-sdk": "0.0.
|
|
89
|
+
"@langchain/langgraph-sdk": "0.0.97",
|
|
90
90
|
"@types/babel__code-frame": "^7.0.6",
|
|
91
91
|
"@types/node": "^18.15.11",
|
|
92
92
|
"@types/react": "^19.0.8",
|