@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.
- package/dist/chat-routes/default-backend.d.ts +2 -4
- package/dist/chat-routes/hybrid-producer.d.ts +1 -1
- package/dist/chat-routes/index.js +2 -3
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/{chunk-RLQRWCPB.js → chunk-JUGXFBOS.js} +5 -4
- package/dist/chunk-JUGXFBOS.js.map +1 -0
- package/dist/{chunk-Y4RVCT7Z.js → chunk-NMDKUCUJ.js} +32 -48
- package/dist/chunk-NMDKUCUJ.js.map +1 -0
- package/dist/public-consultation/index.d.ts +1 -1
- package/dist/public-consultation/index.js +2 -3
- package/dist/public-consultation/index.js.map +1 -1
- package/dist/sandbox/computer-files.d.ts +9 -4
- package/dist/sandbox/computer-step.d.ts +23 -13
- package/dist/sandbox/index.d.ts +0 -1
- package/dist/sandbox/index.js +1 -9
- package/dist/sandbox/prompt-events.d.ts +2 -0
- package/dist/sandbox/prompt-result.d.ts +3 -2
- package/dist/workspace-export/d1.d.ts +1 -1
- package/dist/workspace-export/index.js +1 -7
- package/dist/workspace-export/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-GY4IPYG4.js +0 -40
- package/dist/chunk-GY4IPYG4.js.map +0 -1
- package/dist/chunk-RLQRWCPB.js.map +0 -1
- package/dist/chunk-Y4RVCT7Z.js.map +0 -1
- package/dist/sandbox/computer-receipts.d.ts +0 -46
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sandboxRunFailureDetail,
|
|
28
28
|
streamSandboxPrompt,
|
|
29
29
|
turnStorageBindings
|
|
30
|
-
} from "./chunk-
|
|
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-
|
|
3952
|
+
//# sourceMappingURL=chunk-JUGXFBOS.js.map
|