@langchain/langgraph-sdk 0.0.99 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @langchain/langgraph-sdk
2
2
 
3
+ ## 0.0.100
4
+
5
+ ### Patch Changes
6
+
7
+ - a0efb98: Rename `interrupt_id` to `id`
8
+
3
9
  ## 0.0.99
4
10
 
5
11
  ### Patch Changes
package/dist/schema.d.ts CHANGED
@@ -106,10 +106,28 @@ export interface AssistantGraph {
106
106
  * An interrupt thrown inside a thread.
107
107
  */
108
108
  export interface Interrupt<TValue = unknown> {
109
- interrupt_id?: string;
109
+ /**
110
+ * The ID of the interrupt.
111
+ */
112
+ id?: string;
113
+ /**
114
+ * The value of the interrupt.
115
+ */
110
116
  value?: TValue;
111
- when: "during" | (string & {});
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
+ */
112
126
  resumable?: boolean;
127
+ /**
128
+ * The namespace of the interrupt.
129
+ * @deprecated Replaced by `interrupt_id`
130
+ */
113
131
  ns?: string[];
114
132
  }
115
133
  export interface Thread<ValuesType = DefaultValues> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-sdk",
3
- "version": "0.0.99",
3
+ "version": "0.0.100",
4
4
  "description": "Client library for interacting with the LangGraph API",
5
5
  "type": "module",
6
6
  "scripts": {