@langchain/langgraph-sdk 0.0.24 → 0.0.25
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/index.d.ts +1 -1
- package/dist/schema.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Client } from "./client.js";
|
|
2
|
-
export type { Assistant, AssistantVersion, AssistantGraph, Config, DefaultValues, GraphSchema, Metadata, Run, Thread, ThreadState, ThreadStatus, Cron, Checkpoint, } from "./schema.js";
|
|
2
|
+
export type { Assistant, AssistantVersion, AssistantGraph, Config, DefaultValues, GraphSchema, Metadata, Run, Thread, ThreadTask, ThreadState, ThreadStatus, Cron, Checkpoint, } from "./schema.js";
|
|
3
3
|
export type { OnConflictBehavior } from "./types.js";
|
package/dist/schema.d.ts
CHANGED
|
@@ -150,10 +150,13 @@ export interface ThreadState<ValuesType = DefaultValues> {
|
|
|
150
150
|
export interface ThreadTask {
|
|
151
151
|
id: string;
|
|
152
152
|
name: string;
|
|
153
|
+
result?: unknown;
|
|
153
154
|
error: Optional<string>;
|
|
154
155
|
interrupts: Array<{
|
|
155
156
|
value: unknown;
|
|
156
157
|
when: "during";
|
|
158
|
+
resumable: boolean;
|
|
159
|
+
ns?: string[];
|
|
157
160
|
}>;
|
|
158
161
|
checkpoint: Optional<Checkpoint>;
|
|
159
162
|
state: Optional<ThreadState>;
|