@tangle-network/agent-app 0.63.10 → 0.63.12
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/app-auth/index.d.ts +2 -0
- package/dist/app-auth/index.js +3 -1
- package/dist/app-auth/index.js.map +1 -1
- package/dist/chat-routes/dispatch-first.d.ts +0 -4
- package/dist/chat-routes/index.js +2 -2
- package/dist/{chunk-ZTFM2UDY.js → chunk-HCCM6SHN.js} +2 -2
- package/dist/{chunk-ZTFM2UDY.js.map → chunk-HCCM6SHN.js.map} +1 -1
- package/dist/{chunk-UVMKP5IK.js → chunk-U2OZPHGW.js} +3 -2
- package/dist/{chunk-UVMKP5IK.js.map → chunk-U2OZPHGW.js.map} +1 -1
- package/dist/public-consultation/index.js +2 -2
- package/dist/sandbox/index.js +1 -1
- package/dist/workspace-export/index.js +2 -1
- package/dist/workspace-export/index.js.map +1 -1
- package/package.json +23 -23
|
@@ -3479,7 +3479,8 @@ async function* streamSandboxPrompt(shell, box, message, options) {
|
|
|
3479
3479
|
backend = await resolveSandboxPromptBackend(shell, options ?? {}, "streamSandboxPrompt");
|
|
3480
3480
|
options?.signal?.throwIfAborted();
|
|
3481
3481
|
} catch (error) {
|
|
3482
|
-
|
|
3482
|
+
if (error instanceof SandboxModelResolutionError) throw error;
|
|
3483
|
+
throw new SandboxRunError("sandbox_unavailable", error instanceof Error ? error.message : "The sandbox prompt was not dispatched because its configuration or admission was refused.", { cause: error });
|
|
3483
3484
|
}
|
|
3484
3485
|
const prompt = typeof message === "string" ? flattenHistory(message, options?.history) : mergeHistoryIntoParts(message, options?.history);
|
|
3485
3486
|
const dispatch = () => options?.detach ? detachedSandboxPromptEvents(box, prompt, options, backend) : box.streamPrompt(prompt, {
|
|
@@ -3793,4 +3794,4 @@ export {
|
|
|
3793
3794
|
sandboxPromptRunner,
|
|
3794
3795
|
createSandboxRunTool
|
|
3795
3796
|
};
|
|
3796
|
-
//# sourceMappingURL=chunk-
|
|
3797
|
+
//# sourceMappingURL=chunk-U2OZPHGW.js.map
|