@tangle-network/agent-runtime 0.94.0 → 0.94.1

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.
Files changed (56) hide show
  1. package/dist/agent.js +4 -4
  2. package/dist/{agentic-generator-B8oeE2Yv.d.ts → agentic-generator-D9ZmAuiL.d.ts} +1 -1
  3. package/dist/candidate-execution/index.js +3 -3
  4. package/dist/{chunk-OO4EK3JB.js → chunk-D336OZHK.js} +6 -3
  5. package/dist/chunk-D336OZHK.js.map +1 -0
  6. package/dist/{chunk-4GBT4WQ6.js → chunk-HPCJBBLS.js} +2 -2
  7. package/dist/{chunk-RTVVH2KL.js → chunk-JEP2WM24.js} +2 -2
  8. package/dist/{chunk-55P6V5JT.js → chunk-K7OPNHU4.js} +2 -2
  9. package/dist/{chunk-7I2AOKCI.js → chunk-KHLE3C5G.js} +2 -2
  10. package/dist/{chunk-4E2GM63H.js → chunk-MZH4HORF.js} +2 -2
  11. package/dist/chunk-PJNGPWTA.js +634 -0
  12. package/dist/chunk-PJNGPWTA.js.map +1 -0
  13. package/dist/{chunk-MRYPFDHJ.js → chunk-RTSZNYXM.js} +3 -3
  14. package/dist/{chunk-H2D3DCEB.js → chunk-SJHFJOCY.js} +2 -2
  15. package/dist/{chunk-FHZHADIM.js → chunk-URMJTSXB.js} +52 -10
  16. package/dist/chunk-URMJTSXB.js.map +1 -0
  17. package/dist/{chunk-3D2RHC4K.js → chunk-WIPGQ4GT.js} +1 -1
  18. package/dist/{chunk-3D2RHC4K.js.map → chunk-WIPGQ4GT.js.map} +1 -1
  19. package/dist/{completion-gate-BDkEYB_-.d.ts → completion-gate-BAj3dXeW.d.ts} +14 -2
  20. package/dist/{coordination-EGoRbbsd.d.ts → coordination-B3ZuApR_.d.ts} +5 -3
  21. package/dist/environment-provider.d.ts +1 -1
  22. package/dist/{improve-ZzTEkpF_.d.ts → improve-r8SvIxYv.d.ts} +2 -2
  23. package/dist/index.d.ts +11 -11
  24. package/dist/index.js +11 -11
  25. package/dist/intelligence.d.ts +3 -3
  26. package/dist/intelligence.js +5 -5
  27. package/dist/knowledge.d.ts +5 -5
  28. package/dist/knowledge.js +4 -4
  29. package/dist/lifecycle.d.ts +3 -3
  30. package/dist/lifecycle.js +2 -2
  31. package/dist/{local-harness-dcD5WTTr.d.ts → local-harness-B7bNuNJw.d.ts} +49 -1
  32. package/dist/{loop-runner-bin-BRXC1RwC.d.ts → loop-runner-bin-D4bMIxmB.d.ts} +2 -2
  33. package/dist/loop-runner-bin.d.ts +5 -5
  34. package/dist/loop-runner-bin.js +5 -5
  35. package/dist/loops.d.ts +11 -11
  36. package/dist/loops.js +4 -4
  37. package/dist/mcp/bin.js +3 -3
  38. package/dist/mcp/index.d.ts +7 -7
  39. package/dist/mcp/index.js +7 -5
  40. package/dist/mcp/index.js.map +1 -1
  41. package/dist/{mcp-serve-verifier-Bg4C3p5S.d.ts → mcp-serve-verifier-BuXjaZDE.d.ts} +1 -1
  42. package/dist/{supervise-Gmf709kn.d.ts → supervise-DTNcLDl2.d.ts} +3 -3
  43. package/dist/{types-Cg_teUPO.d.ts → types-Bb-CqxJH.d.ts} +3 -0
  44. package/dist/{worktree-fanout-BrB4att3.d.ts → worktree-fanout-IMKqdV_E.d.ts} +13 -13
  45. package/package.json +1 -1
  46. package/dist/chunk-FHZHADIM.js.map +0 -1
  47. package/dist/chunk-OO4EK3JB.js.map +0 -1
  48. package/dist/chunk-PX6SXX3M.js +0 -146
  49. package/dist/chunk-PX6SXX3M.js.map +0 -1
  50. /package/dist/{chunk-4GBT4WQ6.js.map → chunk-HPCJBBLS.js.map} +0 -0
  51. /package/dist/{chunk-RTVVH2KL.js.map → chunk-JEP2WM24.js.map} +0 -0
  52. /package/dist/{chunk-55P6V5JT.js.map → chunk-K7OPNHU4.js.map} +0 -0
  53. /package/dist/{chunk-7I2AOKCI.js.map → chunk-KHLE3C5G.js.map} +0 -0
  54. /package/dist/{chunk-4E2GM63H.js.map → chunk-MZH4HORF.js.map} +0 -0
  55. /package/dist/{chunk-MRYPFDHJ.js.map → chunk-RTSZNYXM.js.map} +0 -0
  56. /package/dist/{chunk-H2D3DCEB.js.map → chunk-SJHFJOCY.js.map} +0 -0
package/dist/agent.js CHANGED
@@ -1,16 +1,16 @@
1
- import "./chunk-OO4EK3JB.js";
1
+ import "./chunk-D336OZHK.js";
2
2
  import {
3
3
  createSandboxForSpec
4
- } from "./chunk-FHZHADIM.js";
4
+ } from "./chunk-URMJTSXB.js";
5
5
  import "./chunk-DPEUKJRO.js";
6
6
  import "./chunk-ISTDY47H.js";
7
- import "./chunk-3D2RHC4K.js";
7
+ import "./chunk-WIPGQ4GT.js";
8
8
  import "./chunk-VSWBYWFK.js";
9
9
  import "./chunk-3MDZX7YU.js";
10
10
  import {
11
11
  mapSandboxEvent
12
12
  } from "./chunk-FVJ7M3DA.js";
13
- import "./chunk-PX6SXX3M.js";
13
+ import "./chunk-PJNGPWTA.js";
14
14
  import {
15
15
  ValidationError
16
16
  } from "./chunk-YEJR7IXO.js";
@@ -1,5 +1,5 @@
1
1
  import { AnalystFinding } from '@tangle-network/agent-eval';
2
- import { L as LocalHarness, r as runLocalHarness } from './local-harness-dcD5WTTr.js';
2
+ import { L as LocalHarness, r as runLocalHarness } from './local-harness-B7bNuNJw.js';
3
3
  import { LabeledScenarioStore, WorktreeAdapter, SurfaceProposer } from '@tangle-network/agent-eval/campaign';
4
4
 
5
5
  /**
@@ -4,7 +4,7 @@ import {
4
4
  createProtectedAgentCandidateModelPort,
5
5
  disposePreparedAgentCandidateExecution,
6
6
  recoverExpiredAgentCandidateExecution
7
- } from "../chunk-4E2GM63H.js";
7
+ } from "../chunk-MZH4HORF.js";
8
8
  import {
9
9
  CANDIDATE_TRACE_ENV,
10
10
  CANDIDATE_TRACE_TAGS,
@@ -18,8 +18,8 @@ import {
18
18
  prepareAgentCandidateExecution,
19
19
  sealAgentCandidateBundle,
20
20
  verifyAgentCandidateBundle
21
- } from "../chunk-7I2AOKCI.js";
22
- import "../chunk-3D2RHC4K.js";
21
+ } from "../chunk-KHLE3C5G.js";
22
+ import "../chunk-WIPGQ4GT.js";
23
23
  import "../chunk-3MDZX7YU.js";
24
24
  import "../chunk-DGUM43GV.js";
25
25
  export {
@@ -13,11 +13,11 @@ import {
13
13
  settledToIteration,
14
14
  supervise,
15
15
  withDriverExecutor
16
- } from "./chunk-FHZHADIM.js";
16
+ } from "./chunk-URMJTSXB.js";
17
17
  import {
18
18
  InMemoryResultBlobStore,
19
19
  InMemorySpawnJournal
20
- } from "./chunk-3D2RHC4K.js";
20
+ } from "./chunk-WIPGQ4GT.js";
21
21
  import {
22
22
  addTokenUsage,
23
23
  isAbortError,
@@ -2441,6 +2441,7 @@ function addNodeSpend(a, b) {
2441
2441
  iterations: a.iterations + b.iterations,
2442
2442
  tokens: { input: a.tokens.input + b.tokens.input, output: a.tokens.output + b.tokens.output },
2443
2443
  usd: a.usd + b.usd,
2444
+ ...a.usdKnown === false || b.usdKnown === false ? { usdKnown: false } : {},
2444
2445
  ms: a.ms + b.ms
2445
2446
  };
2446
2447
  }
@@ -2449,6 +2450,7 @@ function cloneSpend(spend) {
2449
2450
  iterations: spend.iterations,
2450
2451
  tokens: { input: spend.tokens.input, output: spend.tokens.output },
2451
2452
  usd: spend.usd,
2453
+ ...spend.usdKnown === false ? { usdKnown: false } : {},
2452
2454
  ms: spend.ms
2453
2455
  };
2454
2456
  }
@@ -2456,6 +2458,7 @@ function addSpend(acc, delta) {
2456
2458
  acc.iterations += delta.iterations;
2457
2459
  addTokenUsage(acc.tokens, delta.tokens);
2458
2460
  acc.usd += delta.usd;
2461
+ if (delta.usdKnown === false) acc.usdKnown = false;
2459
2462
  acc.ms += delta.ms;
2460
2463
  }
2461
2464
  function spreadOf(values) {
@@ -6336,4 +6339,4 @@ export {
6336
6339
  computeFindingId,
6337
6340
  makeFinding2 as makeFinding
6338
6341
  };
6339
- //# sourceMappingURL=chunk-OO4EK3JB.js.map
6342
+ //# sourceMappingURL=chunk-D336OZHK.js.map