@langchain/langgraph-api 0.0.37 → 0.0.38
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/graph/load.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import type { GraphSchema, GraphSpec } from "./parser/index.mjs";
|
|
|
4
4
|
export declare const GRAPHS: Record<string, CompiledGraph<string> | CompiledGraphFactory<string>>;
|
|
5
5
|
export declare const GRAPH_SPEC: Record<string, GraphSpec>;
|
|
6
6
|
export declare const GRAPH_SCHEMA: Record<string, Record<string, GraphSchema>>;
|
|
7
|
-
export declare const NAMESPACE_GRAPH: Uint8Array
|
|
7
|
+
export declare const NAMESPACE_GRAPH: Uint8Array<ArrayBufferLike>;
|
|
8
8
|
export declare const getAssistantId: (graphId: string) => string;
|
|
9
9
|
export declare function registerFromEnv(specs: Record<string, string>, options: {
|
|
10
10
|
cwd: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CompiledGraph } from "@langchain/langgraph";
|
|
2
2
|
export declare const GRAPHS: Record<string, CompiledGraph<string>>;
|
|
3
|
-
export declare const NAMESPACE_GRAPH: Uint8Array
|
|
3
|
+
export declare const NAMESPACE_GRAPH: Uint8Array<ArrayBufferLike>;
|
|
4
4
|
export type CompiledGraphFactory<T extends string> = (config: {
|
|
5
5
|
configurable?: Record<string, unknown>;
|
|
6
6
|
}) => Promise<CompiledGraph<T>>;
|
package/dist/storage/ops.d.mts
CHANGED
|
@@ -119,7 +119,7 @@ export declare class Assistants {
|
|
|
119
119
|
metadata?: Metadata;
|
|
120
120
|
limit: number;
|
|
121
121
|
offset: number;
|
|
122
|
-
}, auth: AuthContext | undefined): AsyncGenerator<any, void,
|
|
122
|
+
}, auth: AuthContext | undefined): AsyncGenerator<any, void, any>;
|
|
123
123
|
static get(assistant_id: string, auth: AuthContext | undefined): Promise<Assistant>;
|
|
124
124
|
static put(assistant_id: string, options: {
|
|
125
125
|
config: RunnableConfig;
|
|
@@ -14,5 +14,5 @@ export declare class FileSystemPersistence<Schema> {
|
|
|
14
14
|
with<T>(fn: (data: Schema) => T): Promise<T>;
|
|
15
15
|
withGenerator<T extends AsyncGenerator<any>>(fn: ((data: Schema, options: {
|
|
16
16
|
schedulePersist: () => void;
|
|
17
|
-
}) => T) | T): AsyncGenerator<any, void,
|
|
17
|
+
}) => T) | T): AsyncGenerator<any, void, any>;
|
|
18
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"winston": "^3.17.0",
|
|
54
54
|
"winston-console-format": "^1.0.8",
|
|
55
55
|
"zod": "^3.23.8",
|
|
56
|
-
"@langchain/langgraph-ui": "0.0.
|
|
56
|
+
"@langchain/langgraph-ui": "0.0.38"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@langchain/core": "^0.3.42",
|
|
60
|
-
"@langchain/langgraph": "^0.2.57",
|
|
60
|
+
"@langchain/langgraph": "^0.2.57 || ^0.3.0",
|
|
61
61
|
"@langchain/langgraph-checkpoint": "~0.0.16",
|
|
62
62
|
"@langchain/langgraph-sdk": "~0.0.70",
|
|
63
63
|
"typescript": "^5.5.4"
|
|
@@ -68,7 +68,9 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"
|
|
71
|
+
"@langchain/core": "^0.3.42",
|
|
72
|
+
"@langchain/langgraph": "^0.2.57",
|
|
73
|
+
"@langchain/langgraph-checkpoint": "~0.0.16",
|
|
72
74
|
"@langchain/langgraph-sdk": "^0.0.77",
|
|
73
75
|
"@types/babel__code-frame": "^7.0.6",
|
|
74
76
|
"@types/node": "^22.2.0",
|
|
@@ -79,6 +81,7 @@
|
|
|
79
81
|
"jose": "^6.0.10",
|
|
80
82
|
"postgres": "^3.4.5",
|
|
81
83
|
"prettier": "^3.3.3",
|
|
84
|
+
"typescript": "^5.5.4",
|
|
82
85
|
"vitest": "^3.0.5"
|
|
83
86
|
},
|
|
84
87
|
"scripts": {
|