@tangle-network/agent-runtime 0.60.0 → 0.62.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 (58) hide show
  1. package/dist/agent.d.ts +3 -2
  2. package/dist/agent.js +2 -3
  3. package/dist/agent.js.map +1 -1
  4. package/dist/analyst-loop.d.ts +1 -1
  5. package/dist/chunk-DVQGYDN5.js +59 -0
  6. package/dist/chunk-DVQGYDN5.js.map +1 -0
  7. package/dist/{chunk-ZWGEA722.js → chunk-E4X4FNQZ.js} +2 -2
  8. package/dist/{chunk-45D64J7B.js → chunk-MT4XM3G6.js} +191 -100
  9. package/dist/chunk-MT4XM3G6.js.map +1 -0
  10. package/dist/{chunk-GLMFBUKT.js → chunk-O2UPHN7X.js} +1 -1
  11. package/dist/chunk-O2UPHN7X.js.map +1 -0
  12. package/dist/{chunk-MMDIORZY.js → chunk-RTNMMHWR.js} +4 -23
  13. package/dist/chunk-RTNMMHWR.js.map +1 -0
  14. package/dist/chunk-RYD7ND4A.js +475 -0
  15. package/dist/chunk-RYD7ND4A.js.map +1 -0
  16. package/dist/{chunk-IN7WHMGZ.js → chunk-YWO4H64E.js} +47 -7
  17. package/dist/chunk-YWO4H64E.js.map +1 -0
  18. package/dist/coder-2leJPOvC.d.ts +52 -0
  19. package/dist/coordination-Curpzeyc.d.ts +381 -0
  20. package/dist/{delegates-C94qchkz.d.ts → delegates-CLFNAKyi.d.ts} +650 -21
  21. package/dist/improvement.js +1 -1
  22. package/dist/index.d.ts +10 -6
  23. package/dist/index.js +10 -10
  24. package/dist/intelligence.d.ts +3 -2
  25. package/dist/intelligence.js.map +1 -1
  26. package/dist/{loop-runner-bin-Noz7P-mS.d.ts → loop-runner-bin-B6dzNZC8.d.ts} +46 -12
  27. package/dist/loop-runner-bin.d.ts +8 -4
  28. package/dist/loop-runner-bin.js +5 -5
  29. package/dist/loops.d.ts +8 -6
  30. package/dist/loops.js +18 -7
  31. package/dist/mcp/bin.js +11 -11
  32. package/dist/mcp/bin.js.map +1 -1
  33. package/dist/mcp/index.d.ts +13 -12
  34. package/dist/mcp/index.js +8 -8
  35. package/dist/{openai-tools-d4GKwgya.d.ts → openai-tools-CA2N3-Ak.d.ts} +1 -1
  36. package/dist/profiles.d.ts +9 -10
  37. package/dist/profiles.js +5 -7
  38. package/dist/profiles.js.map +1 -1
  39. package/dist/{run-loop-CcqfR_gy.d.ts → run-loop-D3PwlG7J.d.ts} +1 -1
  40. package/dist/runtime.d.ts +31 -1046
  41. package/dist/runtime.js +18 -7
  42. package/dist/{types-CUzjRFZ3.d.ts → types-Crxftafi.d.ts} +2 -2
  43. package/dist/workflow.d.ts +2 -2
  44. package/dist/workflow.js +2 -3
  45. package/dist/workflow.js.map +1 -1
  46. package/dist/worktree-fanout-DUiKPApb.d.ts +1099 -0
  47. package/package.json +6 -2
  48. package/dist/chunk-45D64J7B.js.map +0 -1
  49. package/dist/chunk-4FEUFYOY.js +0 -282
  50. package/dist/chunk-4FEUFYOY.js.map +0 -1
  51. package/dist/chunk-7QYOXFCD.js +0 -293
  52. package/dist/chunk-7QYOXFCD.js.map +0 -1
  53. package/dist/chunk-GLMFBUKT.js.map +0 -1
  54. package/dist/chunk-IN7WHMGZ.js.map +0 -1
  55. package/dist/chunk-MMDIORZY.js.map +0 -1
  56. package/dist/coder-CybltHEm.d.ts +0 -163
  57. package/dist/coordination-Biw19JzN.d.ts +0 -944
  58. /package/dist/{chunk-ZWGEA722.js.map → chunk-E4X4FNQZ.js.map} +0 -0
package/dist/runtime.js CHANGED
@@ -19,10 +19,10 @@ import {
19
19
  buildSteerContext,
20
20
  builtinShapes,
21
21
  cliWorktreeExecutor,
22
- coderDeliverable,
23
22
  completionAuthorizes,
24
23
  contentAddress,
25
24
  coordinationDriverAgent,
25
+ countDiffLines,
26
26
  createBudgetPool,
27
27
  createEventBus,
28
28
  createExecutor,
@@ -65,6 +65,7 @@ import {
65
65
  harvestCorpus,
66
66
  inlineSandboxClient,
67
67
  isDriverSpec,
68
+ isNonEmptyPatch,
68
69
  jjWorkspace,
69
70
  localShell,
70
71
  loopDispatch,
@@ -74,6 +75,7 @@ import {
74
75
  observe,
75
76
  openSandboxRun,
76
77
  panel,
78
+ patchDelivered,
77
79
  pickChampion,
78
80
  pipeline,
79
81
  printBenchmarkReport,
@@ -93,6 +95,7 @@ import {
93
95
  routerToolLoop,
94
96
  runAgentic,
95
97
  runBenchmark,
98
+ runCoderChecks,
96
99
  runInWorkspace,
97
100
  runLoop,
98
101
  runPersonified,
@@ -101,6 +104,7 @@ import {
101
104
  sampleThenRefine,
102
105
  sandboxSessionTraceSource,
103
106
  selectChampion,
107
+ selectValidWinner,
104
108
  sentinelCompletion,
105
109
  serveCoordinationMcp,
106
110
  settledToIteration,
@@ -110,20 +114,21 @@ import {
110
114
  supervisorSkill,
111
115
  toToolSpan,
112
116
  toolPartDecoders,
117
+ touchedPathsFromPatch,
118
+ touchesSecretPath,
113
119
  trajectoryReport,
114
120
  verify,
115
121
  watchTrace,
116
122
  widen,
117
123
  withDriverExecutor,
118
- worktreeCoderFanout
119
- } from "./chunk-45D64J7B.js";
120
- import "./chunk-7QYOXFCD.js";
124
+ worktreeFanout
125
+ } from "./chunk-MT4XM3G6.js";
121
126
  import "./chunk-WIR4HOOJ.js";
122
127
  import {
123
128
  extractLlmCallEvent,
124
129
  mapSandboxEvent
125
130
  } from "./chunk-VLF5RHEQ.js";
126
- import "./chunk-GLMFBUKT.js";
131
+ import "./chunk-O2UPHN7X.js";
127
132
  import "./chunk-G3RGMA7C.js";
128
133
  import "./chunk-DGUM43GV.js";
129
134
  export {
@@ -147,10 +152,10 @@ export {
147
152
  buildSteerContext,
148
153
  builtinShapes,
149
154
  cliWorktreeExecutor,
150
- coderDeliverable,
151
155
  completionAuthorizes,
152
156
  contentAddress,
153
157
  coordinationDriverAgent,
158
+ countDiffLines,
154
159
  createBudgetPool,
155
160
  createEventBus,
156
161
  createExecutor,
@@ -194,6 +199,7 @@ export {
194
199
  harvestCorpus,
195
200
  inlineSandboxClient,
196
201
  isDriverSpec,
202
+ isNonEmptyPatch,
197
203
  jjWorkspace,
198
204
  localShell,
199
205
  loopDispatch,
@@ -204,6 +210,7 @@ export {
204
210
  observe,
205
211
  openSandboxRun,
206
212
  panel,
213
+ patchDelivered,
207
214
  pickChampion,
208
215
  pipeline,
209
216
  printBenchmarkReport,
@@ -223,6 +230,7 @@ export {
223
230
  routerToolLoop,
224
231
  runAgentic,
225
232
  runBenchmark,
233
+ runCoderChecks,
226
234
  runInWorkspace,
227
235
  runLoop,
228
236
  runPersonified,
@@ -231,6 +239,7 @@ export {
231
239
  sampleThenRefine,
232
240
  sandboxSessionTraceSource,
233
241
  selectChampion,
242
+ selectValidWinner,
234
243
  sentinelCompletion,
235
244
  serveCoordinationMcp,
236
245
  settledToIteration,
@@ -240,11 +249,13 @@ export {
240
249
  supervisorSkill,
241
250
  toToolSpan,
242
251
  toolPartDecoders,
252
+ touchedPathsFromPatch,
253
+ touchesSecretPath,
243
254
  trajectoryReport,
244
255
  verify,
245
256
  watchTrace,
246
257
  widen,
247
258
  withDriverExecutor,
248
- worktreeCoderFanout
259
+ worktreeFanout
249
260
  };
250
261
  //# sourceMappingURL=runtime.js.map
@@ -650,7 +650,7 @@ interface ValidationCtx {
650
650
  signal: AbortSignal;
651
651
  /**
652
652
  * Optional trace emitter. When set, validator implementations that make
653
- * LLM calls (e.g. LLM reviewer in coderProfile) emit spans into it.
653
+ * LLM calls (e.g. an LLM-judge reviewer) emit spans into it.
654
654
  * The kernel passes `ctx.traceEmitter` from `ExecCtx` when available.
655
655
  */
656
656
  traceEmitter?: LoopTraceEmitter;
@@ -1097,4 +1097,4 @@ interface ExecCtx {
1097
1097
  parentSpanId?: string;
1098
1098
  }
1099
1099
 
1100
- export { type AgentRunSpec as A, type BackendErrorDetail as B, startRuntimeRun as C, type Driver as D, type ExecCtx as E, type LoopDecisionPayload as F, type LoopEndedPayload as G, type LoopIterationDispatchPayload as H, type Iteration as I, type LoopIterationEndedPayload as J, type KnowledgeReadinessDecision as K, type LoopWinner as L, type LoopIterationStartedPayload as M, type LoopPlanDescription as N, type OutputAdapter as O, type LoopPlanPayload as P, type LoopStartedPayload as Q, type RuntimeStreamEvent as R, type SandboxClient as S, type LoopTeardownFailedPayload as T, type ValidationCtx as U, type Validator as V, type LoopLineageOptions as a, type LoopResult as b, type OpenAIChatTool as c, type LoopTraceEvent as d, type LoopTokenUsage as e, type LoopSandboxPlacement as f, type LoopTraceEmitter as g, type AgentBackendInput as h, type AgentExecutionBackend as i, type OpenAIChatToolChoice as j, type AgentBackendContext as k, type RunAgentTaskOptions as l, type AgentTaskRunResult as m, type RunAgentTaskStreamOptions as n, type AgentRuntimeEvent as o, type AgentTaskStatus as p, type RuntimeSessionStore as q, type RuntimeSession as r, type AgentAdapter as s, type AgentKnowledgeProvider as t, type AgentRuntimeEventSink as u, type AgentTaskContext as v, type AgentTaskSpec as w, type RuntimeRunHandle as x, type RuntimeRunPersistenceAdapter as y, type RuntimeRunRow as z };
1100
+ export { type AgentRunSpec as A, type BackendErrorDetail as B, startRuntimeRun as C, type Driver as D, type ExecCtx as E, type LoopDecisionPayload as F, type LoopEndedPayload as G, type LoopIterationDispatchPayload as H, type Iteration as I, type LoopIterationEndedPayload as J, type KnowledgeReadinessDecision as K, type LoopWinner as L, type LoopIterationStartedPayload as M, type LoopPlanDescription as N, type OutputAdapter as O, type LoopPlanPayload as P, type LoopStartedPayload as Q, type RuntimeStreamEvent as R, type SandboxClient as S, type LoopTeardownFailedPayload as T, type ValidationCtx as U, type Validator as V, type LoopLineageOptions as a, type LoopResult as b, type OpenAIChatTool as c, type LoopTraceEvent as d, type LoopSandboxPlacement as e, type LoopTokenUsage as f, type LoopTraceEmitter as g, type AgentBackendInput as h, type AgentExecutionBackend as i, type OpenAIChatToolChoice as j, type AgentBackendContext as k, type RunAgentTaskOptions as l, type AgentTaskRunResult as m, type RunAgentTaskStreamOptions as n, type AgentRuntimeEvent as o, type AgentTaskStatus as p, type RuntimeSessionStore as q, type RuntimeSession as r, type AgentAdapter as s, type AgentKnowledgeProvider as t, type AgentRuntimeEventSink as u, type AgentTaskContext as v, type AgentTaskSpec as w, type RuntimeRunHandle as x, type RuntimeRunPersistenceAdapter as y, type RuntimeRunRow as z };
@@ -1,6 +1,6 @@
1
1
  import { AgentProfile, CreateSandboxOptions, PromptOptions, TaskOptions, SandboxEvent } from '@tangle-network/sandbox';
2
- import { S as SandboxClient, O as OutputAdapter, f as LoopSandboxPlacement, b as LoopResult } from './types-CUzjRFZ3.js';
3
- import { R as RunLoopOptions } from './run-loop-CcqfR_gy.js';
2
+ import { S as SandboxClient, O as OutputAdapter, e as LoopSandboxPlacement, b as LoopResult } from './types-Crxftafi.js';
3
+ import { R as RunLoopOptions } from './run-loop-D3PwlG7J.js';
4
4
  import '@tangle-network/agent-eval';
5
5
  import './runtime-hooks-C7JwKb9E.js';
6
6
 
package/dist/workflow.js CHANGED
@@ -2,14 +2,13 @@ import {
2
2
  createSandboxForSpec,
3
3
  describeSandboxPlacement,
4
4
  runLoop
5
- } from "./chunk-45D64J7B.js";
6
- import "./chunk-7QYOXFCD.js";
5
+ } from "./chunk-MT4XM3G6.js";
7
6
  import "./chunk-WIR4HOOJ.js";
8
7
  import {
9
8
  ValidationError,
10
9
  extractLlmCallEvent
11
10
  } from "./chunk-VLF5RHEQ.js";
12
- import "./chunk-GLMFBUKT.js";
11
+ import "./chunk-O2UPHN7X.js";
13
12
  import "./chunk-G3RGMA7C.js";
14
13
  import "./chunk-DGUM43GV.js";
15
14