@langchain/langgraph-sdk 0.0.98 → 0.0.100
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 +12 -0
- package/dist/schema.d.ts +20 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -106,9 +106,28 @@ export interface AssistantGraph {
|
|
|
106
106
|
* An interrupt thrown inside a thread.
|
|
107
107
|
*/
|
|
108
108
|
export interface Interrupt<TValue = unknown> {
|
|
109
|
+
/**
|
|
110
|
+
* The ID of the interrupt.
|
|
111
|
+
*/
|
|
112
|
+
id?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The value of the interrupt.
|
|
115
|
+
*/
|
|
109
116
|
value?: TValue;
|
|
110
|
-
|
|
117
|
+
/**
|
|
118
|
+
* Will be deprecated in the future.
|
|
119
|
+
* @deprecated Will be removed in the future.
|
|
120
|
+
*/
|
|
121
|
+
when?: "during" | (string & {});
|
|
122
|
+
/**
|
|
123
|
+
* Whether the interrupt can be resumed.
|
|
124
|
+
* @deprecated Will be removed in the future.
|
|
125
|
+
*/
|
|
111
126
|
resumable?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* The namespace of the interrupt.
|
|
129
|
+
* @deprecated Replaced by `interrupt_id`
|
|
130
|
+
*/
|
|
112
131
|
ns?: string[];
|
|
113
132
|
}
|
|
114
133
|
export interface Thread<ValuesType = DefaultValues> {
|