@langchain/langgraph-api 0.0.47 → 0.0.49
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 +15 -0
- package/dist/auth/custom.mjs +1 -0
- package/dist/schemas.d.mts +6 -6
- package/dist/schemas.mjs +4 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @langchain/langgraph-api
|
|
2
2
|
|
|
3
|
+
## 0.0.49
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ee1defa: feat(api): pass through "tasks" and "checkpoints" stream mode
|
|
8
|
+
- @langchain/langgraph-ui@0.0.49
|
|
9
|
+
|
|
10
|
+
## 0.0.48
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- ac7b067: fix(sdk): use `kind` when checking for Studio user
|
|
15
|
+
- Updated dependencies [ac7b067]
|
|
16
|
+
- @langchain/langgraph-ui@0.0.48
|
|
17
|
+
|
|
3
18
|
## 0.0.47
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/auth/custom.mjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -695,7 +695,7 @@ export declare const RunCreate: z.ZodObject<{
|
|
|
695
695
|
interrupt_after: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["*"]>, z.ZodArray<z.ZodString, "many">]>>;
|
|
696
696
|
on_disconnect: z.ZodDefault<z.ZodOptional<z.ZodEnum<["cancel", "continue"]>>>;
|
|
697
697
|
multitask_strategy: z.ZodOptional<z.ZodEnum<["reject", "rollback", "interrupt", "enqueue"]>>;
|
|
698
|
-
stream_mode: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "debug", "custom"]>, "many">, z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "debug", "custom"]>]>>;
|
|
698
|
+
stream_mode: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "tasks", "checkpoints", "debug", "custom"]>, "many">, z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "tasks", "checkpoints", "debug", "custom"]>]>>;
|
|
699
699
|
stream_subgraphs: z.ZodOptional<z.ZodBoolean>;
|
|
700
700
|
stream_resumable: z.ZodOptional<z.ZodBoolean>;
|
|
701
701
|
after_seconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -748,7 +748,7 @@ export declare const RunCreate: z.ZodObject<{
|
|
|
748
748
|
})[] | undefined;
|
|
749
749
|
resume?: unknown;
|
|
750
750
|
} | undefined;
|
|
751
|
-
stream_mode?: "values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
751
|
+
stream_mode?: "values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
752
752
|
interrupt_before?: string[] | "*" | undefined;
|
|
753
753
|
interrupt_after?: string[] | "*" | undefined;
|
|
754
754
|
webhook?: string | undefined;
|
|
@@ -798,7 +798,7 @@ export declare const RunCreate: z.ZodObject<{
|
|
|
798
798
|
})[] | undefined;
|
|
799
799
|
resume?: unknown;
|
|
800
800
|
} | undefined;
|
|
801
|
-
stream_mode?: "values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
801
|
+
stream_mode?: "values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
802
802
|
interrupt_before?: string[] | "*" | undefined;
|
|
803
803
|
interrupt_after?: string[] | "*" | undefined;
|
|
804
804
|
webhook?: string | undefined;
|
|
@@ -921,7 +921,7 @@ export declare const RunBatchCreate: z.ZodArray<z.ZodObject<{
|
|
|
921
921
|
interrupt_after: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["*"]>, z.ZodArray<z.ZodString, "many">]>>;
|
|
922
922
|
on_disconnect: z.ZodDefault<z.ZodOptional<z.ZodEnum<["cancel", "continue"]>>>;
|
|
923
923
|
multitask_strategy: z.ZodOptional<z.ZodEnum<["reject", "rollback", "interrupt", "enqueue"]>>;
|
|
924
|
-
stream_mode: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "debug", "custom"]>, "many">, z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "debug", "custom"]>]>>;
|
|
924
|
+
stream_mode: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "tasks", "checkpoints", "debug", "custom"]>, "many">, z.ZodEnum<["values", "messages", "messages-tuple", "updates", "events", "tasks", "checkpoints", "debug", "custom"]>]>>;
|
|
925
925
|
stream_subgraphs: z.ZodOptional<z.ZodBoolean>;
|
|
926
926
|
stream_resumable: z.ZodOptional<z.ZodBoolean>;
|
|
927
927
|
after_seconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -974,7 +974,7 @@ export declare const RunBatchCreate: z.ZodArray<z.ZodObject<{
|
|
|
974
974
|
})[] | undefined;
|
|
975
975
|
resume?: unknown;
|
|
976
976
|
} | undefined;
|
|
977
|
-
stream_mode?: "values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
977
|
+
stream_mode?: "values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
978
978
|
interrupt_before?: string[] | "*" | undefined;
|
|
979
979
|
interrupt_after?: string[] | "*" | undefined;
|
|
980
980
|
webhook?: string | undefined;
|
|
@@ -1024,7 +1024,7 @@ export declare const RunBatchCreate: z.ZodArray<z.ZodObject<{
|
|
|
1024
1024
|
})[] | undefined;
|
|
1025
1025
|
resume?: unknown;
|
|
1026
1026
|
} | undefined;
|
|
1027
|
-
stream_mode?: "values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
1027
|
+
stream_mode?: "values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events" | ("values" | "debug" | "updates" | "messages" | "checkpoints" | "tasks" | "custom" | "messages-tuple" | "events")[] | undefined;
|
|
1028
1028
|
interrupt_before?: string[] | "*" | undefined;
|
|
1029
1029
|
interrupt_after?: string[] | "*" | undefined;
|
|
1030
1030
|
webhook?: string | undefined;
|
package/dist/schemas.mjs
CHANGED
|
@@ -194,6 +194,8 @@ export const RunCreate = z
|
|
|
194
194
|
"messages-tuple",
|
|
195
195
|
"updates",
|
|
196
196
|
"events",
|
|
197
|
+
"tasks",
|
|
198
|
+
"checkpoints",
|
|
197
199
|
"debug",
|
|
198
200
|
"custom",
|
|
199
201
|
])),
|
|
@@ -203,6 +205,8 @@ export const RunCreate = z
|
|
|
203
205
|
"messages-tuple",
|
|
204
206
|
"updates",
|
|
205
207
|
"events",
|
|
208
|
+
"tasks",
|
|
209
|
+
"checkpoints",
|
|
206
210
|
"debug",
|
|
207
211
|
"custom",
|
|
208
212
|
]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.49",
|
|
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.49",
|
|
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.10",
|
|
88
88
|
"@langchain/langgraph-checkpoint": "0.0.18",
|
|
89
|
-
"@langchain/langgraph-sdk": "0.0.
|
|
89
|
+
"@langchain/langgraph-sdk": "0.0.98",
|
|
90
90
|
"@types/babel__code-frame": "^7.0.6",
|
|
91
91
|
"@types/node": "^18.15.11",
|
|
92
92
|
"@types/react": "^19.0.8",
|