@tangle-network/agent-runtime 0.81.0 → 0.82.0

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.js CHANGED
@@ -1,8 +1,8 @@
1
- import "./chunk-SN3XBTTH.js";
1
+ import "./chunk-JYURIKPF.js";
2
2
  import {
3
3
  createSandboxForSpec
4
- } from "./chunk-QWLUOITV.js";
5
- import "./chunk-HUT4RXDJ.js";
4
+ } from "./chunk-CO2KBPRE.js";
5
+ import "./chunk-SRGV56W4.js";
6
6
  import "./chunk-H7IBHAFT.js";
7
7
  import {
8
8
  mapSandboxEvent
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildLoopOtelSpans,
3
3
  createOtelExporter
4
- } from "./chunk-HUT4RXDJ.js";
4
+ } from "./chunk-SRGV56W4.js";
5
5
 
6
6
  // src/mcp/trace-propagation.ts
7
7
  function readTraceContextFromEnv() {
@@ -49,4 +49,4 @@ export {
49
49
  createPropagatingTraceEmitter,
50
50
  traceContextToEnv
51
51
  };
52
- //# sourceMappingURL=chunk-Y47PMSZ7.js.map
52
+ //# sourceMappingURL=chunk-A7LZR5DT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildLoopSpanNodes
3
- } from "./chunk-HUT4RXDJ.js";
3
+ } from "./chunk-SRGV56W4.js";
4
4
  import {
5
5
  addTokenUsage,
6
6
  deleteBoxSafe,
@@ -2688,7 +2688,6 @@ var bridgeExecutor = (spec, ctx) => {
2688
2688
  async function* streamBridgeSession(args) {
2689
2689
  const { seam, inbox } = args;
2690
2690
  const started = Date.now();
2691
- const url = `${seam.bridgeUrl.replace(/\/$/, "")}/v1/chat/completions`;
2692
2691
  const external = mergeAbortSignals(args.signal, args.controller.signal);
2693
2692
  const tokens = zeroTokenUsage();
2694
2693
  let usd = 0;
@@ -2725,7 +2724,7 @@ ${folded}` : folded;
2725
2724
  };
2726
2725
  let res;
2727
2726
  try {
2728
- res = await bridgeStreamPost(url, {
2727
+ res = await bridgeStreamPost(seam.bridgeUrl, {
2729
2728
  bearer: seam.bridgeBearer,
2730
2729
  sessionId: args.sessionId,
2731
2730
  body: {
@@ -6591,4 +6590,4 @@ export {
6591
6590
  createInProcessTransport,
6592
6591
  serveCoordinationMcp
6593
6592
  };
6594
- //# sourceMappingURL=chunk-QWLUOITV.js.map
6593
+ //# sourceMappingURL=chunk-CO2KBPRE.js.map