@tangle-network/agent-app 0.63.34 → 0.63.36
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/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/chat-routes/hybrid-producer.d.ts +5 -1
- package/dist/chat-routes/index.js +5 -5
- package/dist/{chunk-TUJ4277Q.js → chunk-5I5ZB2EZ.js} +5 -5
- package/dist/{chunk-TUJ4277Q.js.map → chunk-5I5ZB2EZ.js.map} +1 -1
- package/dist/{chunk-VOIVDEAV.js → chunk-7TBF3DC2.js} +2 -2
- package/dist/{chunk-WSQSKYXP.js → chunk-J5GT37ZX.js} +3 -3
- package/dist/{chunk-4CEIZZTH.js → chunk-KYBE4UYT.js} +9 -4
- package/dist/chunk-KYBE4UYT.js.map +1 -0
- package/dist/{chunk-Q7RSHLEV.js → chunk-RDIHNSVZ.js} +2 -2
- package/dist/{chunk-PV3GSLUY.js → chunk-RLMLHEEQ.js} +2 -2
- package/dist/peer-floors/source-entries.d.ts +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/public-consultation/index.js +5 -5
- package/dist/sandbox/index.js +4 -4
- package/dist/theme/tokens.css +326 -69
- package/dist/tools/index.js +4 -4
- package/dist/work-product/index.js +2 -2
- package/package.json +52 -51
- package/dist/chunk-4CEIZZTH.js.map +0 -1
- /package/dist/{chunk-VOIVDEAV.js.map → chunk-7TBF3DC2.js.map} +0 -0
- /package/dist/{chunk-WSQSKYXP.js.map → chunk-J5GT37ZX.js.map} +0 -0
- /package/dist/{chunk-Q7RSHLEV.js.map → chunk-RDIHNSVZ.js.map} +0 -0
- /package/dist/{chunk-PV3GSLUY.js.map → chunk-RLMLHEEQ.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
OPENUI_NODE_JSON_SCHEMA,
|
|
6
6
|
OPENUI_NODE_TYPES
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5I5ZB2EZ.js";
|
|
8
8
|
|
|
9
9
|
// src/tools/openai.ts
|
|
10
10
|
var APP_TOOL_NAMES = ["submit_proposal", "schedule_followup", "render_ui", "add_citation"];
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
customToolToOpenAI,
|
|
118
118
|
findCustomTool
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-7TBF3DC2.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-6A7MYOUI.js";
|
|
5
5
|
import {
|
|
6
6
|
parseRenderUiSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RDIHNSVZ.js";
|
|
8
8
|
import {
|
|
9
9
|
buildAppToolOpenAITools,
|
|
10
10
|
findCustomTool,
|
|
11
11
|
isAppToolName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7TBF3DC2.js";
|
|
13
13
|
import {
|
|
14
14
|
ToolInputError
|
|
15
15
|
} from "./chunk-F4XBNR5L.js";
|
|
@@ -212,4 +212,4 @@ export {
|
|
|
212
212
|
createAppToolRuntimeExecutor,
|
|
213
213
|
handleAppToolRequest
|
|
214
214
|
};
|
|
215
|
-
//# sourceMappingURL=chunk-
|
|
215
|
+
//# sourceMappingURL=chunk-J5GT37ZX.js.map
|
|
@@ -465,10 +465,15 @@ function createHybridTurnProducer(options) {
|
|
|
465
465
|
signal: stop,
|
|
466
466
|
...box.warm ? { warm: box.warm } : {},
|
|
467
467
|
onFailure: (error, call) => {
|
|
468
|
-
const detail = sandboxRunFailureDetail(error);
|
|
469
|
-
if (call.callId) details.set(call.callId, detail);
|
|
468
|
+
const detail = box.failureDetail ? box.failureDetail(error) : sandboxRunFailureDetail(error);
|
|
469
|
+
if (call.callId && detail) details.set(call.callId, detail);
|
|
470
470
|
if (box.onFailure) box.onFailure(error, call);
|
|
471
|
-
else console.error(JSON.stringify({
|
|
471
|
+
else console.error(JSON.stringify({
|
|
472
|
+
event: "agent_app_sandbox_run_failed",
|
|
473
|
+
callId: call.callId ?? null,
|
|
474
|
+
code: error.code,
|
|
475
|
+
detail: sandboxRunFailureDetail(error)
|
|
476
|
+
}));
|
|
472
477
|
},
|
|
473
478
|
...box.name ? { name: box.name } : {},
|
|
474
479
|
...box.description ? { description: box.description } : {}
|
|
@@ -3943,4 +3948,4 @@ export {
|
|
|
3943
3948
|
createChatTurnRoutes,
|
|
3944
3949
|
streamChatRouteAsSandboxEvents
|
|
3945
3950
|
};
|
|
3946
|
-
//# sourceMappingURL=chunk-
|
|
3951
|
+
//# sourceMappingURL=chunk-KYBE4UYT.js.map
|