@tangle-network/agent-app 0.63.71 → 0.63.73
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/index.js +5 -5
- package/dist/{chunk-J4SI766J.js → chunk-DCPOEDPK.js} +7 -52
- package/dist/{chunk-J4SI766J.js.map → chunk-DCPOEDPK.js.map} +1 -1
- package/dist/{chunk-EJIDXO6S.js → chunk-DEA3XKJP.js} +3 -3
- package/dist/chunk-DEA3XKJP.js.map +1 -0
- package/dist/{chunk-HHAAM7RF.js → chunk-J57Y62HJ.js} +2 -2
- package/dist/{chunk-RG2CF4CS.js → chunk-JLFFTSWN.js} +6 -6
- package/dist/chunk-JLFFTSWN.js.map +1 -0
- package/dist/{chunk-GIQXJLR3.js → chunk-SYV7MIVP.js} +2 -2
- package/dist/preset-cloudflare/index.js +1 -1
- package/dist/public-consultation/index.js +4 -4
- package/dist/runtime/index.js +3 -3
- package/dist/runtime/router-turn.js +2 -2
- package/dist/sandbox/index.js +2 -2
- package/dist/theme/tokens.css +20 -16
- package/dist/turn-trace/index.js +1 -1
- package/dist/turn-trace/server-timing.d.ts +2 -15
- package/package.json +7 -6
- package/dist/chunk-EJIDXO6S.js.map +0 -1
- package/dist/chunk-RG2CF4CS.js.map +0 -1
- /package/dist/{chunk-HHAAM7RF.js.map → chunk-J57Y62HJ.js.map} +0 -0
- /package/dist/{chunk-GIQXJLR3.js.map → chunk-SYV7MIVP.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRouterTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SYV7MIVP.js";
|
|
4
4
|
|
|
5
5
|
// src/runtime/protected-model.ts
|
|
6
6
|
var GATEWAY_ORIGIN = "https://candidate-router.tangle.tools";
|
|
@@ -217,4 +217,4 @@ export {
|
|
|
217
217
|
createRouterProtectedModelPort,
|
|
218
218
|
runProtectedRouterTurn
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=chunk-
|
|
220
|
+
//# sourceMappingURL=chunk-J57Y62HJ.js.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sandboxRunFailureDetail,
|
|
28
28
|
streamSandboxPrompt,
|
|
29
29
|
turnStorageBindings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DEA3XKJP.js";
|
|
31
31
|
import {
|
|
32
32
|
redactErrorMessage
|
|
33
33
|
} from "./chunk-MH74DY2I.js";
|
|
@@ -113,13 +113,13 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
composeRouterTurnPromptSections,
|
|
115
115
|
runRouterTurn
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-SYV7MIVP.js";
|
|
117
117
|
import {
|
|
118
118
|
createIntelligenceTurnTraceSink,
|
|
119
119
|
createTurnTrace,
|
|
120
120
|
formatServerTiming,
|
|
121
121
|
otlpTraceId
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-DCPOEDPK.js";
|
|
123
123
|
import {
|
|
124
124
|
readSandboxBinaryBytes,
|
|
125
125
|
statSandboxFileSize
|
|
@@ -2154,8 +2154,8 @@ function errorResponse(err) {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function admissionServerTiming(trace) {
|
|
2156
2156
|
const now = Date.now();
|
|
2157
|
-
const steps = trace.spans(now).filter((span) => span.kind === "admission").sort((a, b) => a.startMs - b.startMs).map((span) => ({ name: span.name,
|
|
2158
|
-
return formatServerTiming([{ name: "admission",
|
|
2157
|
+
const steps = trace.spans(now).filter((span) => span.kind === "admission").sort((a, b) => a.startMs - b.startMs).map((span) => ({ name: span.name, dur: span.endMs - span.startMs }));
|
|
2158
|
+
return formatServerTiming([{ name: "admission", dur: now - trace.startedAt }, ...steps]);
|
|
2159
2159
|
}
|
|
2160
2160
|
async function namedModelRefusal(policy, payload, trace) {
|
|
2161
2161
|
const namedModel = typeof payload.model === "string" ? payload.model.trim() : "";
|
|
@@ -4155,4 +4155,4 @@ export {
|
|
|
4155
4155
|
createChatTurnRoutes,
|
|
4156
4156
|
streamChatRouteAsSandboxEvents
|
|
4157
4157
|
};
|
|
4158
|
-
//# sourceMappingURL=chunk-
|
|
4158
|
+
//# sourceMappingURL=chunk-JLFFTSWN.js.map
|