@langchain/langgraph-api 0.0.61 → 0.0.62
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 +7 -0
- package/dist/graph/api.d.mts +1 -1
- package/dist/graph/api.mjs +1 -1
- package/dist/graph/load.d.mts +1 -0
- package/dist/graph/load.mjs +3 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/graph/api.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getGraph,
|
|
1
|
+
export { assertGraphExists, getAssistantId, getGraph, getGraphKeys, } from "./load.mjs";
|
package/dist/graph/api.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Public API for graph operations (useful for writing custom operation backends).
|
|
2
|
-
export { getGraph,
|
|
2
|
+
export { assertGraphExists, getAssistantId, getGraph, getGraphKeys, } from "./load.mjs";
|
package/dist/graph/load.d.mts
CHANGED
|
@@ -15,4 +15,5 @@ export declare function getGraph(graphId: string, config: LangGraphRunnableConfi
|
|
|
15
15
|
store?: BaseStore;
|
|
16
16
|
}): Promise<CompiledGraph<string, any, any, Record<string, any>, any, any, unknown>>;
|
|
17
17
|
export declare function assertGraphExists(graphId: string): void;
|
|
18
|
+
export declare function getGraphKeys(): string[];
|
|
18
19
|
export declare function getCachedStaticGraphSchema(graphId: string): Promise<Record<string, GraphSchema>>;
|
package/dist/graph/load.mjs
CHANGED
|
@@ -62,6 +62,9 @@ export function assertGraphExists(graphId) {
|
|
|
62
62
|
message: `Graph "${graphId}" not found`,
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
+
export function getGraphKeys() {
|
|
66
|
+
return Object.keys(GRAPHS);
|
|
67
|
+
}
|
|
65
68
|
export async function getCachedStaticGraphSchema(graphId) {
|
|
66
69
|
if (!GRAPH_SPEC[graphId])
|
|
67
70
|
throw new HTTPException(404, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@babel/code-frame": "^7.26.2",
|
|
65
65
|
"@hono/node-server": "^1.12.0",
|
|
66
66
|
"@hono/zod-validator": "^0.2.2",
|
|
67
|
-
"@langchain/langgraph-ui": "0.0.
|
|
67
|
+
"@langchain/langgraph-ui": "0.0.62",
|
|
68
68
|
"@types/json-schema": "^7.0.15",
|
|
69
69
|
"@typescript/vfs": "^1.6.0",
|
|
70
70
|
"dedent": "^1.5.3",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@langchain/core": "^0.3.59",
|
|
99
99
|
"@langchain/langgraph": "0.4.7",
|
|
100
100
|
"@langchain/langgraph-checkpoint": "0.1.0",
|
|
101
|
-
"@langchain/langgraph-sdk": "0.0.
|
|
101
|
+
"@langchain/langgraph-sdk": "0.0.112",
|
|
102
102
|
"@types/babel__code-frame": "^7.0.6",
|
|
103
103
|
"@types/node": "^18.15.11",
|
|
104
104
|
"@types/react": "^19.0.8",
|