@kortyx/agent 0.25.1 → 0.26.0

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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.26.0](https://github.com/kortyx-io/kortyx/compare/agent-v0.25.1...agent-v0.26.0) (2026-09-21)
4
+
5
+
6
+ ### Features
7
+
8
+ * **hooks:** add model-driven interrupt contracts to useReason ([#224](https://github.com/kortyx-io/kortyx/issues/224)) ([e0147d5](https://github.com/kortyx-io/kortyx/commit/e0147d5234ca38d450d452af924b242f8cbdeb16))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @kortyx/core bumped to 0.10.0
16
+ * @kortyx/providers bumped to 0.8.1
17
+ * @kortyx/runtime bumped to 0.21.0
18
+ * @kortyx/stream bumped to 0.13.0
19
+ * @kortyx/utils bumped to 0.3.1
20
+ * devDependencies
21
+ * @kortyx/hooks bumped to 0.28.0
22
+ * @kortyx/openai bumped to 0.5.2
23
+
3
24
  ## [0.25.1](https://github.com/kortyx-io/kortyx/compare/agent-v0.25.0...agent-v0.25.1) (2026-09-21)
4
25
 
5
26
 
package/dist/index.d.ts CHANGED
@@ -28,6 +28,9 @@ type ResumeResponse = {
28
28
  } | {
29
29
  type: "select";
30
30
  ids: string[];
31
+ } | {
32
+ type: "value";
33
+ value: unknown;
31
34
  } | {
32
35
  type: "cancel";
33
36
  };
@@ -280,6 +283,8 @@ interface ResumeMeta {
280
283
  token: string;
281
284
  requestId: string;
282
285
  selected: string[];
286
+ value?: unknown;
287
+ hasValue?: boolean;
283
288
  cancel?: boolean;
284
289
  }
285
290
  type ApplyResumeSelection = (args: {