@langchain/langgraph 0.2.2 → 0.2.3
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/dist/pregel/algo.cjs +10 -10
- package/dist/pregel/algo.js +10 -10
- package/package.json +8 -8
package/dist/pregel/algo.cjs
CHANGED
|
@@ -327,18 +327,18 @@ function _procInput(proc, channels, forExecution) {
|
|
|
327
327
|
}
|
|
328
328
|
else if (typeof proc.channels === "object") {
|
|
329
329
|
val = {};
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
for (const [k, chan] of Object.entries(proc.channels)) {
|
|
331
|
+
try {
|
|
332
332
|
val[k] = (0, io_js_1.readChannel)(channels, chan, !proc.triggers.includes(chan));
|
|
333
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
333
334
|
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
throw e;
|
|
335
|
+
catch (e) {
|
|
336
|
+
if (e.name === errors_js_1.EmptyChannelError.unminifiable_name) {
|
|
337
|
+
continue;
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
throw e;
|
|
341
|
+
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
package/dist/pregel/algo.js
CHANGED
|
@@ -318,18 +318,18 @@ function _procInput(proc, channels, forExecution) {
|
|
|
318
318
|
}
|
|
319
319
|
else if (typeof proc.channels === "object") {
|
|
320
320
|
val = {};
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
for (const [k, chan] of Object.entries(proc.channels)) {
|
|
322
|
+
try {
|
|
323
323
|
val[k] = readChannel(channels, chan, !proc.triggers.includes(chan));
|
|
324
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
324
325
|
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
throw e;
|
|
326
|
+
catch (e) {
|
|
327
|
+
if (e.name === EmptyChannelError.unminifiable_name) {
|
|
328
|
+
continue;
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
throw e;
|
|
332
|
+
}
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "LangGraph",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"author": "LangChain",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@langchain/langgraph-checkpoint": "~0.0.
|
|
34
|
+
"@langchain/langgraph-checkpoint": "~0.0.6",
|
|
35
35
|
"double-ended-queue": "^2.1.0-0",
|
|
36
36
|
"uuid": "^10.0.0",
|
|
37
37
|
"zod": "^3.23.8"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@langchain/core": ">=0.2.31 <0.
|
|
40
|
+
"@langchain/core": ">=0.2.31 <0.4.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@jest/globals": "^29.5.0",
|
|
44
|
-
"@langchain/anthropic": "^0.
|
|
45
|
-
"@langchain/community": "^0.
|
|
46
|
-
"@langchain/core": "^0.
|
|
44
|
+
"@langchain/anthropic": "^0.3.0",
|
|
45
|
+
"@langchain/community": "^0.3.0",
|
|
46
|
+
"@langchain/core": "^0.3.0",
|
|
47
47
|
"@langchain/langgraph-checkpoint-sqlite": "workspace:*",
|
|
48
|
-
"@langchain/openai": "^0.
|
|
48
|
+
"@langchain/openai": "^0.3.0",
|
|
49
49
|
"@langchain/scripts": ">=0.1.2 <0.2.0",
|
|
50
50
|
"@swc/core": "^1.3.90",
|
|
51
51
|
"@swc/jest": "^0.2.29",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"eslint-plugin-prettier": "^4.2.1",
|
|
68
68
|
"jest": "^29.5.0",
|
|
69
69
|
"jest-environment-node": "^29.6.4",
|
|
70
|
-
"langchain": "^0.
|
|
70
|
+
"langchain": "^0.3.0",
|
|
71
71
|
"prettier": "^2.8.3",
|
|
72
72
|
"release-it": "^17.6.0",
|
|
73
73
|
"rollup": "^4.5.2",
|