@tangle-network/agent-app 0.46.52 → 0.46.53

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.
@@ -112,7 +112,7 @@ import {
112
112
  flattenHistory,
113
113
  readSandboxBinaryBytes,
114
114
  statSandboxFileSize
115
- } from "../chunk-FS6YF4ZV.js";
115
+ } from "../chunk-T374KO42.js";
116
116
  import "../chunk-MCYJON3F.js";
117
117
  import "../chunk-LWSJK546.js";
118
118
  import "../chunk-P5PIAQVS.js";
@@ -2672,12 +2672,16 @@ async function driveSandboxTurn(shell, box, message, options) {
2672
2672
  sessionId: options.sessionId,
2673
2673
  ...options.turnId ? { turnId: options.turnId } : {},
2674
2674
  ...options.wallCapMs !== void 0 ? { wallCapMs: options.wallCapMs } : {},
2675
- ...options.executionId ? { executionId: options.executionId } : {},
2676
2675
  ...options.timeoutMs !== void 0 ? { timeoutMs: options.timeoutMs } : {},
2677
2676
  ...options.signal ? { signal: options.signal } : {},
2678
- // Deliberately NO `interactions` here: detached turns (cron / mission steps) have
2679
- // no consumer to answer a question. Interactive Q&A is streaming-path only.
2680
- backend: { type: harness, profile, ...model ? { model } : {} }
2677
+ // A durable caller with a session-gateway consumer can handle these events;
2678
+ // callers without one should omit interactions so the run stays unattended.
2679
+ backend: {
2680
+ type: harness,
2681
+ profile,
2682
+ ...model ? { model } : {},
2683
+ ...options.interactions ? { interactions: options.interactions } : {}
2684
+ }
2681
2685
  });
2682
2686
  emitSandboxActivity(options.spend, box);
2683
2687
  return ok(drive);
@@ -2829,4 +2833,4 @@ export {
2829
2833
  isTerminalPromptEvent,
2830
2834
  detectInteractiveQuestion
2831
2835
  };
2832
- //# sourceMappingURL=chunk-FS6YF4ZV.js.map
2836
+ //# sourceMappingURL=chunk-T374KO42.js.map