@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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runRouterTurn
3
- } from "./chunk-GIQXJLR3.js";
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-HHAAM7RF.js.map
220
+ //# sourceMappingURL=chunk-J57Y62HJ.js.map
@@ -27,7 +27,7 @@ import {
27
27
  sandboxRunFailureDetail,
28
28
  streamSandboxPrompt,
29
29
  turnStorageBindings
30
- } from "./chunk-EJIDXO6S.js";
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-GIQXJLR3.js";
116
+ } from "./chunk-SYV7MIVP.js";
117
117
  import {
118
118
  createIntelligenceTurnTraceSink,
119
119
  createTurnTrace,
120
120
  formatServerTiming,
121
121
  otlpTraceId
122
- } from "./chunk-J4SI766J.js";
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, durMs: span.endMs - span.startMs }));
2158
- return formatServerTiming([{ name: "admission", durMs: now - trace.startedAt }, ...steps]);
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-RG2CF4CS.js.map
4158
+ //# sourceMappingURL=chunk-JLFFTSWN.js.map