@langchain/langgraph-cli 1.1.14 → 1.1.16
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.
|
@@ -5,14 +5,9 @@ export async function getProjectPath(key) {
|
|
|
5
5
|
const configPathOrFile = key.startsWith("file://")
|
|
6
6
|
? url.fileURLToPath(key)
|
|
7
7
|
: path.resolve(process.cwd(), key);
|
|
8
|
-
|
|
9
|
-
if (
|
|
10
|
-
|
|
8
|
+
const stat = await fs.stat(configPathOrFile);
|
|
9
|
+
if (stat.isDirectory()) {
|
|
10
|
+
return path.join(configPathOrFile, "langgraph.json");
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
configPath = configPathOrFile;
|
|
14
|
-
}
|
|
15
|
-
if (!configPath)
|
|
16
|
-
throw new Error("Invalid path");
|
|
17
|
-
return configPath;
|
|
12
|
+
return configPathOrFile;
|
|
18
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"winston-console-format": "^1.0.8",
|
|
39
39
|
"yaml": "^2.7.0",
|
|
40
40
|
"zod": "^3.25.76 || ^4",
|
|
41
|
-
"@langchain/langgraph-api": "1.1.
|
|
41
|
+
"@langchain/langgraph-api": "1.1.16",
|
|
42
42
|
"create-langgraph": "1.1.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|