@kortyx/agent 0.26.0 → 0.26.1

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.1](https://github.com/kortyx-io/kortyx/compare/agent-v0.26.0...agent-v0.26.1) (2026-09-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * preserve interrupt control flow and Studio compatibility ([#226](https://github.com/kortyx-io/kortyx/issues/226)) ([72ba7c2](https://github.com/kortyx-io/kortyx/commit/72ba7c2b9a467db0e54b5a4ab5844c8d7f895135))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @kortyx/core bumped to 0.10.1
16
+ * @kortyx/providers bumped to 0.8.2
17
+ * @kortyx/runtime bumped to 0.21.1
18
+ * @kortyx/stream bumped to 0.13.1
19
+ * @kortyx/utils bumped to 0.3.2
20
+ * devDependencies
21
+ * @kortyx/hooks bumped to 0.28.1
22
+ * @kortyx/openai bumped to 0.5.3
23
+
3
24
  ## [0.26.0](https://github.com/kortyx-io/kortyx/compare/agent-v0.25.1...agent-v0.26.0) (2026-09-21)
4
25
 
5
26
 
package/dist/index.js CHANGED
@@ -5442,6 +5442,16 @@ async function orchestrateGraphStream({
5442
5442
  },
5443
5443
  flush: true
5444
5444
  });
5445
+ emitTelemetryEvent({
5446
+ config,
5447
+ type: "workflow.suspended",
5448
+ correlation: { nodeId: record.node },
5449
+ payload: {
5450
+ interruptId: record.requestId,
5451
+ reason: "human_input",
5452
+ suspendedAt: (/* @__PURE__ */ new Date()).toISOString()
5453
+ }
5454
+ });
5445
5455
  wroteHumanInput = true;
5446
5456
  };
5447
5457
  const forwardEmit = (event, payload) => {
@@ -6459,6 +6469,20 @@ async function tryPrepareResumeStream({
6459
6469
  },
6460
6470
  flush: true
6461
6471
  });
6472
+ emitTelemetryEvent({
6473
+ config: telemetryConfig,
6474
+ type: "workflow.resumed",
6475
+ correlation: {
6476
+ runId: pending.runId,
6477
+ sessionId,
6478
+ workflowId,
6479
+ nodeId: pending.node
6480
+ },
6481
+ payload: {
6482
+ interruptId: pending.requestId,
6483
+ resumedAt: (/* @__PURE__ */ new Date()).toISOString()
6484
+ }
6485
+ });
6462
6486
  const continuedSignal = pending.responseCompleted && emitOutput === false ? abortSignal : executionSignal;
6463
6487
  const args = {
6464
6488
  abortSignal,