@kortyx/runtime 0.21.7 → 0.22.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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.0](https://github.com/kortyx-io/kortyx/compare/runtime-v0.21.7...runtime-v0.22.0) (2026-10-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * **hooks:** support mixed tools outputs and interrupts ([#297](https://github.com/kortyx-io/kortyx/issues/297)) ([0aa4aa6](https://github.com/kortyx-io/kortyx/commit/0aa4aa6b08cd2ef44f603b8dbe8e35b30c54cbdc))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @kortyx/hooks bumped to 0.32.0
16
+
3
17
  ## [0.21.7](https://github.com/kortyx-io/kortyx/compare/runtime-v0.21.6...runtime-v0.21.7) (2026-10-08)
4
18
 
5
19
 
package/dist/index.js CHANGED
@@ -3274,6 +3274,11 @@ async function createExecutionGraph(workflow, config, execution = {}) {
3274
3274
  graph: { name: workflowName, node: nodeId },
3275
3275
  config: nodeConfig,
3276
3276
  emit: emitRuntimeEvent,
3277
+ replayInterrupt: (request) => {
3278
+ (0, import_core3.throwIfExecutionAborted)(execution.abortSignal);
3279
+ if (awaitInput) awaitInput(request);
3280
+ else (0, import_langgraph3.interrupt)(request);
3281
+ },
3277
3282
  awaitInterrupt: (interruptConfig) => {
3278
3283
  (0, import_core3.throwIfExecutionAborted)(execution.abortSignal);
3279
3284
  if (execution.budget) (0, import_core3.assertExecutionBudget)(execution.budget);