@tangle-network/agent-app 0.63.41 → 0.63.42

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.
@@ -27,7 +27,7 @@ import {
27
27
  sandboxRunFailureDetail,
28
28
  streamSandboxPrompt,
29
29
  turnStorageBindings
30
- } from "./chunk-Y4RVCT7Z.js";
30
+ } from "./chunk-NMDKUCUJ.js";
31
31
  import {
32
32
  redactErrorMessage
33
33
  } from "./chunk-MH74DY2I.js";
@@ -519,6 +519,8 @@ ${extra}` : { ...prompt, stable: [...prompt.stable ?? [], extra] }),
519
519
  const events = (async function* () {
520
520
  for await (const event of producer.stream) {
521
521
  yield event;
522
+ const side = event.type === "tool.event" ? event.data : void 0;
523
+ if (side?.kind === "computer_interaction" && side.data && typeof side.data === "object") yield side.data;
522
524
  if (event.type === "tool_result") {
523
525
  const warning = warnings.get(event.toolCallId);
524
526
  if (warning) yield warning;
@@ -3421,8 +3423,7 @@ function createDefaultChatBackend(projectId, env, config, bindings, modelPolicy)
3421
3423
  parentExecutionId: args.executionId,
3422
3424
  session: { id: `sandbox-run-${args.identity.sessionId}` },
3423
3425
  ...allowedModels ? { models: { preferred: [model], allowed: (signal) => allowedModels(args, signal) } } : {},
3424
- ...files ? { files } : {},
3425
- ...config.computer?.receipts ? { receipts: config.computer.receipts } : {}
3426
+ ...files ? { files } : {}
3426
3427
  } }
3427
3428
  };
3428
3429
  },
@@ -3948,4 +3949,4 @@ export {
3948
3949
  createChatTurnRoutes,
3949
3950
  streamChatRouteAsSandboxEvents
3950
3951
  };
3951
- //# sourceMappingURL=chunk-RLQRWCPB.js.map
3952
+ //# sourceMappingURL=chunk-JUGXFBOS.js.map