@tangle-network/agent-runtime 0.103.1 → 0.104.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.
Files changed (67) hide show
  1. package/README.md +4 -0
  2. package/dist/agent.d.ts +1 -1
  3. package/dist/agent.js +5 -5
  4. package/dist/analyst-loop.d.ts +1 -1
  5. package/dist/{chunk-TUSOOIDV.js → chunk-2QJSNOGK.js} +2 -2
  6. package/dist/{chunk-ZOYN3JR5.js → chunk-2UABGGUB.js} +3 -3
  7. package/dist/{chunk-6WZZXQV5.js → chunk-2X65HYMI.js} +1 -1
  8. package/dist/chunk-2X65HYMI.js.map +1 -0
  9. package/dist/{chunk-AAN2MB2X.js → chunk-3PPVCS75.js} +3 -3
  10. package/dist/chunk-3PPVCS75.js.map +1 -0
  11. package/dist/{chunk-EAQ5YRRY.js → chunk-5HNDYWUT.js} +39 -22
  12. package/dist/chunk-5HNDYWUT.js.map +1 -0
  13. package/dist/{chunk-3LJF5XSE.js → chunk-ATDFUJYI.js} +6 -6
  14. package/dist/chunk-ATDFUJYI.js.map +1 -0
  15. package/dist/{chunk-LFM4JBRW.js → chunk-FJI3EXU3.js} +46 -5
  16. package/dist/chunk-FJI3EXU3.js.map +1 -0
  17. package/dist/{chunk-5AITUUHO.js → chunk-HAO4CXHP.js} +2 -2
  18. package/dist/{chunk-M6MD6JBS.js → chunk-KRBFHMV6.js} +429 -1
  19. package/dist/chunk-KRBFHMV6.js.map +1 -0
  20. package/dist/{chunk-AYU35OTU.js → chunk-PZZKQVQV.js} +1 -1
  21. package/dist/chunk-PZZKQVQV.js.map +1 -0
  22. package/dist/{chunk-QYCKIV6C.js → chunk-STJEHM5F.js} +2 -2
  23. package/dist/{completion-gate-DLINnrkM.d.ts → completion-gate-Bv47cOnn.d.ts} +2 -2
  24. package/dist/{coordination-DTehA977.d.ts → coordination-CxtzMxSM.d.ts} +27 -27
  25. package/dist/environment-provider.d.ts +18 -7
  26. package/dist/environment-provider.js +3 -1
  27. package/dist/{improve-B40dRu0X.d.ts → improve--2A0gK1-.d.ts} +10 -4
  28. package/dist/index.d.ts +13 -13
  29. package/dist/index.js +10 -10
  30. package/dist/index.js.map +1 -1
  31. package/dist/intelligence.d.ts +46 -9
  32. package/dist/intelligence.js +117 -20
  33. package/dist/intelligence.js.map +1 -1
  34. package/dist/knowledge.d.ts +5 -5
  35. package/dist/knowledge.js +7 -7
  36. package/dist/{loop-runner-bin-DhIXsLAd.d.ts → loop-runner-bin-DUOGtvOl.d.ts} +3 -3
  37. package/dist/loop-runner-bin.d.ts +5 -5
  38. package/dist/loop-runner-bin.js +6 -6
  39. package/dist/loops.d.ts +66 -41
  40. package/dist/loops.js +9 -5
  41. package/dist/mcp/bin.js +4 -4
  42. package/dist/mcp/index.d.ts +6 -6
  43. package/dist/mcp/index.js +10 -10
  44. package/dist/mcp/index.js.map +1 -1
  45. package/dist/primeintellect/index.d.ts +1 -1
  46. package/dist/primeintellect/index.js.map +1 -1
  47. package/dist/profiles.d.ts +6 -6
  48. package/dist/profiles.js.map +1 -1
  49. package/dist/{structural-rollout-BFPIy3iw.d.ts → structural-rollout-C4mabf87.d.ts} +3 -3
  50. package/dist/{supervise-Cp8bNcJi.d.ts → supervise-7q9F5brx.d.ts} +3 -3
  51. package/dist/testing.js +8 -8
  52. package/dist/testing.js.map +1 -1
  53. package/dist/{types-DK11_O4L.d.ts → types-BCoemcXU.d.ts} +4 -4
  54. package/dist/{types-lZTE_LBd.d.ts → types-CvNwMzQt.d.ts} +4 -4
  55. package/dist/{worktree-fanout-DiiJWjJO.d.ts → worktree-fanout-WsOzt8qu.d.ts} +5 -5
  56. package/package.json +3 -3
  57. package/dist/chunk-3LJF5XSE.js.map +0 -1
  58. package/dist/chunk-6WZZXQV5.js.map +0 -1
  59. package/dist/chunk-AAN2MB2X.js.map +0 -1
  60. package/dist/chunk-AYU35OTU.js.map +0 -1
  61. package/dist/chunk-EAQ5YRRY.js.map +0 -1
  62. package/dist/chunk-LFM4JBRW.js.map +0 -1
  63. package/dist/chunk-M6MD6JBS.js.map +0 -1
  64. /package/dist/{chunk-TUSOOIDV.js.map → chunk-2QJSNOGK.js.map} +0 -0
  65. /package/dist/{chunk-ZOYN3JR5.js.map → chunk-2UABGGUB.js.map} +0 -0
  66. /package/dist/{chunk-5AITUUHO.js.map → chunk-HAO4CXHP.js.map} +0 -0
  67. /package/dist/{chunk-QYCKIV6C.js.map → chunk-STJEHM5F.js.map} +0 -0
package/README.md CHANGED
@@ -126,6 +126,10 @@ const { candidate, decision, lift } = await improve(baseProfile, findings, {
126
126
  if (decision === 'ship') console.log({ candidate, lift })
127
127
  ```
128
128
 
129
+ When the host runs complete profiles rather than mutable fields, use `profileDispatch(profile, scenario, ctx)` in place of `agent`.
130
+ It is agent-eval's `ProfileDispatchFn`: Runtime gives it a frozen baseline or candidate profile and the same cost, trace, and cancellation context used for every measured cell.
131
+ `profileDispatch` is unavailable for `surface: 'code'`, because code candidates require isolated worktrees.
132
+
129
133
  Skill and curated-memory candidates are exact profile changes, not free-floating text.
130
134
  Name one inline skill through `skills.resourceName`; curated memory uses `profile.resources.instructions`.
131
135
  Both require `profile.resources.failOnError: true` so an unsupported resource cannot silently disappear.
package/dist/agent.d.ts CHANGED
@@ -5,7 +5,7 @@ import { A as AgentSurfaces } from './improvement-adapter-HAZz-7vK.js';
5
5
  export { C as CreateSurfaceImprovementProposerOptions, D as DraftPatchInput, a as DraftPatchOutput, R as ResolvedSurface, S as SurfaceImprovementEdit, b as SurfaceValidationIssue, c as createSurfaceImprovementProposer, r as renderSurfaceIssues, d as resolveSubjectPath, v as validateSurfaces } from './improvement-adapter-HAZz-7vK.js';
6
6
  import { AgentProfile, AgentProfileFileMount, AgentProfileMcpServer } from '@tangle-network/agent-interface';
7
7
  import { SandboxEvent } from '@tangle-network/sandbox';
8
- import { S as SandboxClient, O as OutputAdapter, A as AgentRunSpec } from './types-DK11_O4L.js';
8
+ import { a as SandboxClient, O as OutputAdapter, A as AgentRunSpec } from './types-BCoemcXU.js';
9
9
  import './types-CmYCMbFT.js';
10
10
 
11
11
  /**
package/dist/agent.js CHANGED
@@ -1,15 +1,15 @@
1
- import "./chunk-3LJF5XSE.js";
1
+ import "./chunk-ATDFUJYI.js";
2
2
  import "./chunk-Q2JSAVQ3.js";
3
3
  import {
4
4
  createSandboxForSpec
5
- } from "./chunk-EAQ5YRRY.js";
5
+ } from "./chunk-5HNDYWUT.js";
6
6
  import "./chunk-DPEUKJRO.js";
7
- import "./chunk-QYCKIV6C.js";
7
+ import "./chunk-STJEHM5F.js";
8
8
  import "./chunk-UPWGXKXB.js";
9
9
  import "./chunk-2VZYRB55.js";
10
- import "./chunk-6WZZXQV5.js";
10
+ import "./chunk-2X65HYMI.js";
11
11
  import "./chunk-ISPWRSEC.js";
12
- import "./chunk-M6MD6JBS.js";
12
+ import "./chunk-KRBFHMV6.js";
13
13
  import "./chunk-3MDZX7YU.js";
14
14
  import {
15
15
  mapSandboxEvent
@@ -1,5 +1,5 @@
1
1
  import { TraceAnalystByteBudgets, TraceAnalysisStore } from '@tangle-network/agent-eval';
2
- import { I as Iteration } from './types-DK11_O4L.js';
2
+ import { I as Iteration } from './types-BCoemcXU.js';
3
3
  import { R as RunAnalystLoopOpts, a as RunAnalystLoopResult } from './types-CmYCMbFT.js';
4
4
  export { A as AnalystLoopEvent, b as AnalystRegistryLike, c as AnalystRegistryStreamingLike, F as FindingsStoreLike, d as ImprovementEditBatch, I as ImprovementProposalSource, e as ImprovementReport, K as KnowledgeProposalBatch, f as KnowledgeProposalSource, g as KnowledgeReport } from './types-CmYCMbFT.js';
5
5
  import '@tangle-network/sandbox';
@@ -8,7 +8,7 @@ import {
8
8
  DELEGATION_STATUS_DESCRIPTION,
9
9
  DELEGATION_STATUS_INPUT_SCHEMA,
10
10
  DELEGATION_STATUS_TOOL_NAME
11
- } from "./chunk-EAQ5YRRY.js";
11
+ } from "./chunk-5HNDYWUT.js";
12
12
 
13
13
  // src/mcp/openai-tools.ts
14
14
  function buildTool(name, description, parameters) {
@@ -45,4 +45,4 @@ export {
45
45
  mcpToolsForRuntimeMcp,
46
46
  mcpToolsForRuntimeMcpSubset
47
47
  };
48
- //# sourceMappingURL=chunk-TUSOOIDV.js.map
48
+ //# sourceMappingURL=chunk-2QJSNOGK.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-B7K7V22Y.js";
8
8
  import {
9
9
  createAgentImprovementActivationResult
10
- } from "./chunk-5AITUUHO.js";
10
+ } from "./chunk-HAO4CXHP.js";
11
11
  import {
12
12
  canonicalCandidateBytes,
13
13
  embeddedCandidateArtifact,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-SBTWKPVR.js";
17
17
  import {
18
18
  supervise
19
- } from "./chunk-EAQ5YRRY.js";
19
+ } from "./chunk-5HNDYWUT.js";
20
20
 
21
21
  // src/knowledge/activation.ts
22
22
  import { sha256DigestSchema } from "@tangle-network/agent-interface";
@@ -471,4 +471,4 @@ export {
471
471
  runKnowledgeImprovementJob,
472
472
  buildKnowledgeImprovementExperimentBundles
473
473
  };
474
- //# sourceMappingURL=chunk-ZOYN3JR5.js.map
474
+ //# sourceMappingURL=chunk-2UABGGUB.js.map
@@ -3523,4 +3523,4 @@ export {
3523
3523
  createBudgetPool,
3524
3524
  createSupervisor
3525
3525
  };
3526
- //# sourceMappingURL=chunk-6WZZXQV5.js.map
3526
+ //# sourceMappingURL=chunk-2X65HYMI.js.map