@tangle-network/agent-runtime 0.104.0 → 0.106.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 (217) hide show
  1. package/README.md +176 -42
  2. package/dist/activation-CRjVfOiy.js +203 -0
  3. package/dist/activation-CRjVfOiy.js.map +1 -0
  4. package/dist/activation-DyWB0K6E.d.ts +98 -0
  5. package/dist/agent.d.ts +216 -234
  6. package/dist/agent.js +615 -547
  7. package/dist/agent.js.map +1 -1
  8. package/dist/analyst-loop-DGdtVENg.js +517 -0
  9. package/dist/analyst-loop-DGdtVENg.js.map +1 -0
  10. package/dist/analyst-loop.d.ts +10 -43
  11. package/dist/analyst-loop.js +2 -11
  12. package/dist/backends-Dy8NujB4.js +713 -0
  13. package/dist/backends-Dy8NujB4.js.map +1 -0
  14. package/dist/candidate-execution/index.d.ts +4 -192
  15. package/dist/candidate-execution/index.js +5 -66
  16. package/dist/candidate-execution-DqMbv1rU.js +488 -0
  17. package/dist/candidate-execution-DqMbv1rU.js.map +1 -0
  18. package/dist/coder-yhVWbdWc.js +40 -0
  19. package/dist/coder-yhVWbdWc.js.map +1 -0
  20. package/dist/conversation-XucG_K3l.js +1265 -0
  21. package/dist/conversation-XucG_K3l.js.map +1 -0
  22. package/dist/conversation.d.ts +2 -804
  23. package/dist/conversation.js +2 -55
  24. package/dist/environment-provider-CfLUmKmf.js +1168 -0
  25. package/dist/environment-provider-CfLUmKmf.js.map +1 -0
  26. package/dist/environment-provider-IUGU3epE.d.ts +964 -0
  27. package/dist/environment-provider.d.ts +2 -78
  28. package/dist/environment-provider.js +2 -18
  29. package/dist/errors-DEAvWQPy.js +111 -0
  30. package/dist/errors-DEAvWQPy.js.map +1 -0
  31. package/dist/improvement-adapter-Cr5TBSji.d.ts +166 -0
  32. package/dist/improvement-cycle-C095kS_g.js +2624 -0
  33. package/dist/improvement-cycle-C095kS_g.js.map +1 -0
  34. package/dist/index-BGdxAwfO.d.ts +838 -0
  35. package/dist/index-C-FYUuFG.d.ts +193 -0
  36. package/dist/index-CbNM40xG.d.ts +140 -0
  37. package/dist/index-DruSKs3Z.d.ts +7224 -0
  38. package/dist/index-Efjb3nrQ.d.ts +671 -0
  39. package/dist/index.d.ts +14 -1134
  40. package/dist/index.js +2134 -1972
  41. package/dist/index.js.map +1 -1
  42. package/dist/intelligence.d.ts +776 -888
  43. package/dist/intelligence.js +1466 -1410
  44. package/dist/intelligence.js.map +1 -1
  45. package/dist/{kb-gate-CwHO0vz6.d.ts → kb-gate-C8z2juK8.d.ts} +33 -31
  46. package/dist/kb-gate-DpaSwXVx.js +80 -0
  47. package/dist/kb-gate-DpaSwXVx.js.map +1 -0
  48. package/dist/knowledge-Ku-mPP4f.js +433 -0
  49. package/dist/knowledge-Ku-mPP4f.js.map +1 -0
  50. package/dist/knowledge.d.ts +2 -150
  51. package/dist/knowledge.js +2 -40
  52. package/dist/local-harness-Dh8PJ0ot.d.ts +455 -0
  53. package/dist/loop-runner-bin-BXsFEUcf.d.ts +162 -0
  54. package/dist/loop-runner-bin-BwjQ1NfH.js +268 -0
  55. package/dist/loop-runner-bin-BwjQ1NfH.js.map +1 -0
  56. package/dist/loop-runner-bin.d.ts +2 -17
  57. package/dist/loop-runner-bin.js +2 -24
  58. package/dist/loops.d.ts +5 -4164
  59. package/dist/loops.js +8 -419
  60. package/dist/mcp/bin.d.ts +1 -1
  61. package/dist/mcp/bin.js +116 -146
  62. package/dist/mcp/bin.js.map +1 -1
  63. package/dist/mcp/index.d.ts +295 -437
  64. package/dist/mcp/index.js +1242 -1177
  65. package/dist/mcp/index.js.map +1 -1
  66. package/dist/mcp/memory-bin.d.ts +1 -1
  67. package/dist/mcp/memory-bin.js +37 -16
  68. package/dist/mcp/memory-bin.js.map +1 -1
  69. package/dist/memory-server-DL6cE2Ag.js +234 -0
  70. package/dist/memory-server-DL6cE2Ag.js.map +1 -0
  71. package/dist/model-resolution-Btd9iIKV.js +98 -0
  72. package/dist/model-resolution-Btd9iIKV.js.map +1 -0
  73. package/dist/openai-tools-B68JaOCx.d.ts +24 -0
  74. package/dist/openai-tools-CKLy1C7M.js +44 -0
  75. package/dist/openai-tools-CKLy1C7M.js.map +1 -0
  76. package/dist/otel-export-D34IQW1C.js +843 -0
  77. package/dist/otel-export-D34IQW1C.js.map +1 -0
  78. package/dist/platform.d.ts +188 -185
  79. package/dist/platform.js +185 -218
  80. package/dist/platform.js.map +1 -1
  81. package/dist/prepare-B53sPV7M.js +4292 -0
  82. package/dist/prepare-B53sPV7M.js.map +1 -0
  83. package/dist/primeintellect/index.d.ts +150 -147
  84. package/dist/primeintellect/index.js +626 -1004
  85. package/dist/primeintellect/index.js.map +1 -1
  86. package/dist/profiles.d.ts +296 -490
  87. package/dist/profiles.js +722 -749
  88. package/dist/profiles.js.map +1 -1
  89. package/dist/protected-model-port-BLPH5VVv.js +722 -0
  90. package/dist/protected-model-port-BLPH5VVv.js.map +1 -0
  91. package/dist/protected-model-port-BP6Z4eau.d.ts +283 -0
  92. package/dist/protected-redaction--F3v1oo8.js +200 -0
  93. package/dist/protected-redaction--F3v1oo8.js.map +1 -0
  94. package/dist/redact-D-u-rrcn.js +82 -0
  95. package/dist/redact-D-u-rrcn.js.map +1 -0
  96. package/dist/redact-kbIOjfjM.d.ts +452 -0
  97. package/dist/researcher-CoVqNhfI.js +433 -0
  98. package/dist/researcher-CoVqNhfI.js.map +1 -0
  99. package/dist/runtime-BG0BziaP.js +5408 -0
  100. package/dist/runtime-BG0BziaP.js.map +1 -0
  101. package/dist/sandbox-events-DeI5xX8P.js +316 -0
  102. package/dist/sandbox-events-DeI5xX8P.js.map +1 -0
  103. package/dist/spawn-journal-CwPvKUTa.js +456 -0
  104. package/dist/spawn-journal-CwPvKUTa.js.map +1 -0
  105. package/dist/structural-rollout-IXUEplky.js +1445 -0
  106. package/dist/structural-rollout-IXUEplky.js.map +1 -0
  107. package/dist/substrate-B0TYNrXn.js +27 -0
  108. package/dist/substrate-B0TYNrXn.js.map +1 -0
  109. package/dist/{substrate-Dyiqmd3o.d.ts → substrate-BcnuSHXm.d.ts} +57 -54
  110. package/dist/supervise-BiRutHS9.js +7321 -0
  111. package/dist/supervise-BiRutHS9.js.map +1 -0
  112. package/dist/supervisor-DTKhF-RV.js +3826 -0
  113. package/dist/supervisor-DTKhF-RV.js.map +1 -0
  114. package/dist/testing.d.ts +4 -3
  115. package/dist/testing.js +2478 -2637
  116. package/dist/testing.js.map +1 -1
  117. package/dist/tool-server-RcWgLIsL.js +141 -0
  118. package/dist/tool-server-RcWgLIsL.js.map +1 -0
  119. package/dist/trace-propagation-CJJC7SVB.js +57 -0
  120. package/dist/trace-propagation-CJJC7SVB.js.map +1 -0
  121. package/dist/types-BaIpb0XT.d.ts +492 -0
  122. package/dist/types-BevOjfTY.d.ts +765 -0
  123. package/dist/types-C9j4qg6l.d.ts +500 -0
  124. package/dist/types-Cja5OTGh.d.ts +190 -0
  125. package/dist/util-MVgdwuIS.js +145 -0
  126. package/dist/util-MVgdwuIS.js.map +1 -0
  127. package/dist/workspace-archive-BosQiotA.js +575 -0
  128. package/dist/workspace-archive-BosQiotA.js.map +1 -0
  129. package/package.json +43 -55
  130. package/skills/build-with-agent-runtime/SKILL.md +16 -9
  131. package/skills/loop-writer/SKILL.md +1 -1
  132. package/dist/activation-Cm-9MMX1.d.ts +0 -69
  133. package/dist/analyst-loop.js.map +0 -1
  134. package/dist/backends-BO4Jqoe2.d.ts +0 -134
  135. package/dist/candidate-execution/index.js.map +0 -1
  136. package/dist/chunk-2KGAN2HM.js +0 -1256
  137. package/dist/chunk-2KGAN2HM.js.map +0 -1
  138. package/dist/chunk-2QJSNOGK.js +0 -48
  139. package/dist/chunk-2QJSNOGK.js.map +0 -1
  140. package/dist/chunk-2UABGGUB.js +0 -474
  141. package/dist/chunk-2UABGGUB.js.map +0 -1
  142. package/dist/chunk-2VZYRB55.js +0 -834
  143. package/dist/chunk-2VZYRB55.js.map +0 -1
  144. package/dist/chunk-2X65HYMI.js +0 -3526
  145. package/dist/chunk-2X65HYMI.js.map +0 -1
  146. package/dist/chunk-3MDZX7YU.js +0 -125
  147. package/dist/chunk-3MDZX7YU.js.map +0 -1
  148. package/dist/chunk-3PPVCS75.js +0 -199
  149. package/dist/chunk-3PPVCS75.js.map +0 -1
  150. package/dist/chunk-5HNDYWUT.js +0 -6424
  151. package/dist/chunk-5HNDYWUT.js.map +0 -1
  152. package/dist/chunk-5IBQAPVB.js +0 -29
  153. package/dist/chunk-5IBQAPVB.js.map +0 -1
  154. package/dist/chunk-5QOB7H74.js +0 -387
  155. package/dist/chunk-5QOB7H74.js.map +0 -1
  156. package/dist/chunk-ATDFUJYI.js +0 -4728
  157. package/dist/chunk-ATDFUJYI.js.map +0 -1
  158. package/dist/chunk-B7K7V22Y.js +0 -699
  159. package/dist/chunk-B7K7V22Y.js.map +0 -1
  160. package/dist/chunk-DPEUKJRO.js +0 -27
  161. package/dist/chunk-DPEUKJRO.js.map +0 -1
  162. package/dist/chunk-FD2MBMOH.js +0 -494
  163. package/dist/chunk-FD2MBMOH.js.map +0 -1
  164. package/dist/chunk-FJI3EXU3.js +0 -2402
  165. package/dist/chunk-FJI3EXU3.js.map +0 -1
  166. package/dist/chunk-HAO4CXHP.js +0 -200
  167. package/dist/chunk-HAO4CXHP.js.map +0 -1
  168. package/dist/chunk-ISPWRSEC.js +0 -408
  169. package/dist/chunk-ISPWRSEC.js.map +0 -1
  170. package/dist/chunk-KRBFHMV6.js +0 -1228
  171. package/dist/chunk-KRBFHMV6.js.map +0 -1
  172. package/dist/chunk-L5DST3QC.js +0 -351
  173. package/dist/chunk-L5DST3QC.js.map +0 -1
  174. package/dist/chunk-M22PL4GH.js +0 -171
  175. package/dist/chunk-M22PL4GH.js.map +0 -1
  176. package/dist/chunk-NURIQBJQ.js +0 -72
  177. package/dist/chunk-NURIQBJQ.js.map +0 -1
  178. package/dist/chunk-PZZKQVQV.js +0 -52
  179. package/dist/chunk-PZZKQVQV.js.map +0 -1
  180. package/dist/chunk-Q2JSAVQ3.js +0 -671
  181. package/dist/chunk-Q2JSAVQ3.js.map +0 -1
  182. package/dist/chunk-SBTWKPVR.js +0 -5576
  183. package/dist/chunk-SBTWKPVR.js.map +0 -1
  184. package/dist/chunk-SGKPNBXE.js +0 -60
  185. package/dist/chunk-SGKPNBXE.js.map +0 -1
  186. package/dist/chunk-SNSMRT6H.js +0 -680
  187. package/dist/chunk-SNSMRT6H.js.map +0 -1
  188. package/dist/chunk-STJEHM5F.js +0 -1338
  189. package/dist/chunk-STJEHM5F.js.map +0 -1
  190. package/dist/chunk-UPWGXKXB.js +0 -254
  191. package/dist/chunk-UPWGXKXB.js.map +0 -1
  192. package/dist/chunk-YEJR7IXO.js +0 -68
  193. package/dist/chunk-YEJR7IXO.js.map +0 -1
  194. package/dist/chunk-ZXICDSAK.js +0 -907
  195. package/dist/chunk-ZXICDSAK.js.map +0 -1
  196. package/dist/completion-gate-Bv47cOnn.d.ts +0 -256
  197. package/dist/conversation.js.map +0 -1
  198. package/dist/coordination-CxtzMxSM.d.ts +0 -2570
  199. package/dist/environment-provider.js.map +0 -1
  200. package/dist/improve--2A0gK1-.d.ts +0 -440
  201. package/dist/improvement-adapter-HAZz-7vK.d.ts +0 -203
  202. package/dist/knowledge.js.map +0 -1
  203. package/dist/local-harness-CtK9dSny.d.ts +0 -175
  204. package/dist/loop-runner-bin-DUOGtvOl.d.ts +0 -207
  205. package/dist/loop-runner-bin.js.map +0 -1
  206. package/dist/loops.js.map +0 -1
  207. package/dist/openai-tools-fnj6SRVg.d.ts +0 -46
  208. package/dist/protected-model-port-DzkUY3HQ.d.ts +0 -271
  209. package/dist/sanitize-DEbPNtyI.d.ts +0 -328
  210. package/dist/structural-rollout-C4mabf87.d.ts +0 -446
  211. package/dist/supervise-7q9F5brx.d.ts +0 -379
  212. package/dist/types-BCoemcXU.d.ts +0 -802
  213. package/dist/types-BwoZWq-i.d.ts +0 -510
  214. package/dist/types-Cbp72qyu.d.ts +0 -491
  215. package/dist/types-CmYCMbFT.d.ts +0 -203
  216. package/dist/types-CvNwMzQt.d.ts +0 -957
  217. package/dist/worktree-fanout-WsOzt8qu.d.ts +0 -999
package/dist/loops.js CHANGED
@@ -1,419 +1,8 @@
1
- import {
2
- FileCorpus,
3
- InMemoryCorpus,
4
- McpSpawnFault,
5
- SandboxRunAbortError,
6
- analyzeTrace,
7
- assertStrategyContract,
8
- assertTraceDerivedFindings,
9
- auditIntent,
10
- authorStrategy,
11
- buildSteerContext,
12
- builtinShapes,
13
- collectAgentTurn,
14
- completionAuthorizes,
15
- computeFindingId,
16
- connectStdioMcp,
17
- createMcpEnvironment,
18
- createScopeAnalyst,
19
- createShapeRegistry,
20
- createVerifierEnvironment,
21
- createWaterfallCollector,
22
- defaultAuditorInstruction,
23
- defineLeaderboard,
24
- definePersona,
25
- deterministicCompletion,
26
- discriminatingMeans,
27
- dumbDriver,
28
- envKeyProvider,
29
- equalKOnCost,
30
- failuresAnalyst,
31
- fanout,
32
- flatWidenGate,
33
- gitWorkspace,
34
- harvestCorpus,
35
- inProcessSandboxClient,
36
- inlineSandboxClient,
37
- jjWorkspace,
38
- leaderboard,
39
- localSandboxClient,
40
- localShell,
41
- loopCampaignDispatch,
42
- loopDispatch,
43
- loopUntil,
44
- makeFinding,
45
- materializeLocalMcp,
46
- mcpSecretEnvMetadataKey,
47
- naiveDriver,
48
- openSandboxRun,
49
- pairwiseSignificance,
50
- panel,
51
- patchDelivered,
52
- pickChampion,
53
- pipeline,
54
- printBenchmarkReport,
55
- promotionGate,
56
- registerShape,
57
- registryScopeAnalyst,
58
- renderCorpusToInstructions,
59
- renderLeaderboardHtml,
60
- renderLeaderboardMarkdown,
61
- renderLeaderboardSvg,
62
- renderPairwiseMarkdown,
63
- reportLoopUsage,
64
- resolveSandboxClient,
65
- resolveSecretEnv,
66
- runBenchmark,
67
- runInWorkspace,
68
- runPersonified,
69
- runStrategyEvolution,
70
- sanitizeMcpToolSchema,
71
- secretEnvOfMcpServer,
72
- selectChampion,
73
- selectValidWinner,
74
- sentinelCompletion,
75
- stopSentinel,
76
- strategyAuthorContract,
77
- streamAgentTurn,
78
- superviseSurface,
79
- trajectoryReport,
80
- verify,
81
- widen,
82
- worktreeFanout
83
- } from "./chunk-ATDFUJYI.js";
84
- import "./chunk-Q2JSAVQ3.js";
85
- import {
86
- DEFAULT_SANDBOX_STEERING_MAX_TURNS,
87
- PI_RUNTIME,
88
- acquireSandbox,
89
- allOf,
90
- allWorkersStalled,
91
- anyOf,
92
- anytimeReport,
93
- areaUnderCurve,
94
- asAuthoredProfile,
95
- assessAuthoredProfile,
96
- authoredWorker,
97
- bestSoFar,
98
- cliWorktreeExecutor,
99
- createEventBus,
100
- createExecutor,
101
- createExecutorRegistry,
102
- createFileRunContext,
103
- createInMemoryRunContext,
104
- createInbox,
105
- createProgressTracker,
106
- createPushTraceSource,
107
- createSandboxLineage,
108
- createSteerableSandboxSession,
109
- createWorktreeCliExecutor,
110
- decodeToolPart,
111
- defaultDelegateBudget,
112
- defaultProfileRichnessThresholds,
113
- defaultSelectWinner,
114
- defaultToolDetectors,
115
- delegate,
116
- driverAgent,
117
- effectiveConcurrency,
118
- finalizeBestDelivered,
119
- freeSlots,
120
- gateOnDeliverable,
121
- noProgressFor,
122
- piExecutor,
123
- piSeamKey,
124
- plateau,
125
- plateauLength,
126
- probeSandboxCapabilities,
127
- profileRichnessFinding,
128
- queueOf,
129
- renderAnytimeTable,
130
- rollingDispatch,
131
- runAgentRounds,
132
- runLoop,
133
- sampleFromSettled,
134
- sandboxSessionTraceSource,
135
- serveCoordinationMcp,
136
- supervise,
137
- supervisorAgent,
138
- supervisorInstructions,
139
- watchTrace,
140
- workerFromBackend
141
- } from "./chunk-5HNDYWUT.js";
142
- import "./chunk-DPEUKJRO.js";
143
- import {
144
- adaptiveRefine,
145
- breadthStrategy,
146
- canDisplace,
147
- compareCheckOutcomes,
148
- composeCheckSources,
149
- defaultAnalystInstruction,
150
- defaultExtractCandidate,
151
- defaultStructuralRolloutPolicy,
152
- defineStrategy,
153
- depthStrategy,
154
- filterAuthoredAsserts,
155
- modelAuthoredChecks,
156
- observe,
157
- officialChecksFromMeta,
158
- refine,
159
- renderReport,
160
- resolveEntrySymbol,
161
- runAgentic,
162
- sample,
163
- sampleThenRefine,
164
- sandboxCheckRunner,
165
- selectBestIndex,
166
- structuralRollout,
167
- visibleCheckScore
168
- } from "./chunk-STJEHM5F.js";
169
- import "./chunk-UPWGXKXB.js";
170
- import "./chunk-2VZYRB55.js";
171
- import {
172
- DEFAULT_STALL_AFTER_MS,
173
- assertModelAllowed,
174
- createActivityLog,
175
- createBudgetPool,
176
- createScope,
177
- createSupervisor,
178
- createWaitProbes,
179
- isWaitOutcome,
180
- pollFor,
181
- readWorkerProgress,
182
- routerBrain,
183
- routerChatWithTools,
184
- routerChatWithUsage,
185
- routerToolLoop,
186
- settledToIteration,
187
- spendFromUsageEvents,
188
- timerAt,
189
- validateWaitSpec,
190
- waitUntil
191
- } from "./chunk-2X65HYMI.js";
192
- import {
193
- FileResultBlobStore,
194
- FileSpawnJournal,
195
- InMemoryResultBlobStore,
196
- InMemorySpawnJournal,
197
- contentAddress,
198
- materializeTreeView,
199
- pendingWaits,
200
- replaySpawnTree
201
- } from "./chunk-ISPWRSEC.js";
202
- import {
203
- createAgentEnvironmentProviderRegistry,
204
- createTangleSandboxExactProcessProvider,
205
- providerAsExecutor,
206
- providerAsSandboxClient,
207
- resolveAgentEnvironmentProvider,
208
- sandboxClientAsProvider
209
- } from "./chunk-KRBFHMV6.js";
210
- import "./chunk-3MDZX7YU.js";
211
- import {
212
- createSandboxToolPartState,
213
- extractLlmCallEvent,
214
- mapSandboxEvent,
215
- mapSandboxToolEvent,
216
- sumSandboxUsage
217
- } from "./chunk-M22PL4GH.js";
218
- import "./chunk-YEJR7IXO.js";
219
- export {
220
- DEFAULT_SANDBOX_STEERING_MAX_TURNS,
221
- DEFAULT_STALL_AFTER_MS,
222
- FileCorpus,
223
- FileResultBlobStore,
224
- FileSpawnJournal,
225
- InMemoryCorpus,
226
- InMemoryResultBlobStore,
227
- InMemorySpawnJournal,
228
- McpSpawnFault,
229
- PI_RUNTIME,
230
- SandboxRunAbortError,
231
- acquireSandbox,
232
- adaptiveRefine,
233
- allOf,
234
- allWorkersStalled,
235
- analyzeTrace,
236
- anyOf,
237
- anytimeReport,
238
- areaUnderCurve,
239
- asAuthoredProfile,
240
- assertModelAllowed,
241
- assertStrategyContract,
242
- assertTraceDerivedFindings,
243
- assessAuthoredProfile,
244
- auditIntent,
245
- authorStrategy,
246
- authoredWorker,
247
- bestSoFar,
248
- breadthStrategy,
249
- buildSteerContext,
250
- builtinShapes,
251
- canDisplace,
252
- cliWorktreeExecutor,
253
- collectAgentTurn,
254
- compareCheckOutcomes,
255
- completionAuthorizes,
256
- composeCheckSources,
257
- computeFindingId,
258
- connectStdioMcp,
259
- contentAddress,
260
- createActivityLog,
261
- createAgentEnvironmentProviderRegistry,
262
- createBudgetPool,
263
- createEventBus,
264
- createExecutor,
265
- createExecutorRegistry,
266
- createFileRunContext,
267
- createInMemoryRunContext,
268
- createInbox,
269
- createMcpEnvironment,
270
- createProgressTracker,
271
- createPushTraceSource,
272
- createSandboxLineage,
273
- createSandboxToolPartState,
274
- createScope,
275
- createScopeAnalyst,
276
- createShapeRegistry,
277
- createSteerableSandboxSession,
278
- createSupervisor,
279
- createTangleSandboxExactProcessProvider,
280
- createVerifierEnvironment,
281
- createWaitProbes,
282
- createWaterfallCollector,
283
- createWorktreeCliExecutor,
284
- decodeToolPart,
285
- defaultAnalystInstruction,
286
- defaultAuditorInstruction,
287
- defaultDelegateBudget,
288
- defaultExtractCandidate,
289
- defaultProfileRichnessThresholds,
290
- defaultSelectWinner,
291
- defaultStructuralRolloutPolicy,
292
- defaultToolDetectors,
293
- defineLeaderboard,
294
- definePersona,
295
- defineStrategy,
296
- delegate,
297
- depthStrategy,
298
- deterministicCompletion,
299
- discriminatingMeans,
300
- driverAgent,
301
- dumbDriver,
302
- effectiveConcurrency,
303
- envKeyProvider,
304
- equalKOnCost,
305
- extractLlmCallEvent,
306
- failuresAnalyst,
307
- fanout,
308
- filterAuthoredAsserts,
309
- finalizeBestDelivered,
310
- flatWidenGate,
311
- freeSlots,
312
- gateOnDeliverable,
313
- gitWorkspace,
314
- harvestCorpus,
315
- inProcessSandboxClient,
316
- inlineSandboxClient,
317
- isWaitOutcome,
318
- jjWorkspace,
319
- leaderboard,
320
- localSandboxClient,
321
- localShell,
322
- loopCampaignDispatch,
323
- loopDispatch,
324
- loopUntil,
325
- makeFinding,
326
- mapSandboxEvent,
327
- mapSandboxToolEvent,
328
- materializeLocalMcp,
329
- materializeTreeView,
330
- mcpSecretEnvMetadataKey,
331
- modelAuthoredChecks,
332
- naiveDriver,
333
- noProgressFor,
334
- observe,
335
- officialChecksFromMeta,
336
- openSandboxRun,
337
- pairwiseSignificance,
338
- panel,
339
- patchDelivered,
340
- pendingWaits,
341
- piExecutor,
342
- piSeamKey,
343
- pickChampion,
344
- pipeline,
345
- plateau,
346
- plateauLength,
347
- pollFor,
348
- printBenchmarkReport,
349
- probeSandboxCapabilities,
350
- profileRichnessFinding,
351
- promotionGate,
352
- providerAsExecutor,
353
- providerAsSandboxClient,
354
- queueOf,
355
- readWorkerProgress,
356
- refine,
357
- registerShape,
358
- registryScopeAnalyst,
359
- renderAnytimeTable,
360
- renderCorpusToInstructions,
361
- renderLeaderboardHtml,
362
- renderLeaderboardMarkdown,
363
- renderLeaderboardSvg,
364
- renderPairwiseMarkdown,
365
- renderReport,
366
- replaySpawnTree,
367
- reportLoopUsage,
368
- resolveAgentEnvironmentProvider,
369
- resolveEntrySymbol,
370
- resolveSandboxClient,
371
- resolveSecretEnv,
372
- rollingDispatch,
373
- routerBrain,
374
- routerChatWithTools,
375
- routerChatWithUsage,
376
- routerToolLoop,
377
- runAgentRounds,
378
- runAgentic,
379
- runBenchmark,
380
- runInWorkspace,
381
- runLoop,
382
- runPersonified,
383
- runStrategyEvolution,
384
- sample,
385
- sampleFromSettled,
386
- sampleThenRefine,
387
- sandboxCheckRunner,
388
- sandboxClientAsProvider,
389
- sandboxSessionTraceSource,
390
- sanitizeMcpToolSchema,
391
- secretEnvOfMcpServer,
392
- selectBestIndex,
393
- selectChampion,
394
- selectValidWinner,
395
- sentinelCompletion,
396
- serveCoordinationMcp,
397
- settledToIteration,
398
- spendFromUsageEvents,
399
- stopSentinel,
400
- strategyAuthorContract,
401
- streamAgentTurn,
402
- structuralRollout,
403
- sumSandboxUsage,
404
- supervise,
405
- superviseSurface,
406
- supervisorAgent,
407
- supervisorInstructions,
408
- timerAt,
409
- trajectoryReport,
410
- validateWaitSpec,
411
- verify,
412
- visibleCheckScore,
413
- waitUntil,
414
- watchTrace,
415
- widen,
416
- workerFromBackend,
417
- worktreeFanout
418
- };
419
- //# sourceMappingURL=loops.js.map
1
+ import { a as contentAddress, c as replaySpawnTree, i as InMemorySpawnJournal, n as FileSpawnJournal, o as materializeTreeView, r as InMemoryResultBlobStore, s as pendingWaits, t as FileResultBlobStore } from "./spawn-journal-CwPvKUTa.js";
2
+ import { C as routerToolLoop, S as routerChatWithUsage, a as createScope, b as routerBrain, c as isWaitOutcome, d as validateWaitSpec, f as waitUntil, h as readWorkerProgress, l as pollFor, m as createActivityLog, n as createBudgetPool, o as settledToIteration, p as DEFAULT_STALL_AFTER_MS, r as spendFromUsageEvents, s as createWaitProbes, t as createSupervisor, u as timerAt, x as routerChatWithTools } from "./supervisor-DTKhF-RV.js";
3
+ import { C as observe, S as defaultAnalystInstruction, _ as depthStrategy, a as defaultStructuralRolloutPolicy, b as sample, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as defineStrategy, h as breadthStrategy, i as defaultExtractCandidate, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, v as refine, w as renderReport, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-IXUEplky.js";
4
+ import { $ as defineLeaderboard, A as trajectoryReport, B as flatWidenGate, C as strategyAuthorContract, Ct as sanitizeMcpToolSchema, D as runBenchmark, Dt as secretEnvOfMcpServer, E as printBenchmarkReport, Et as resolveSecretEnv, F as registerShape, G as verify, H as panel, I as FileCorpus, J as buildSteerContext, K as widen, L as InMemoryCorpus, M as runPersonified, N as builtinShapes, O as promotionGate, P as createShapeRegistry, Q as harvestCorpus, R as renderCorpusToInstructions, S as authorStrategy, St as createMcpEnvironment, T as openSandboxRun, Tt as mcpSecretEnvMetadataKey, U as pipeline, V as loopUntil, W as selectValidWinner, X as registryScopeAnalyst, Y as createScopeAnalyst, Z as inProcessSandboxClient, _ as discriminatingMeans, _t as auditIntent, a as localShell, at as loopCampaignDispatch, b as selectChampion, bt as connectStdioMcp, c as createVerifierEnvironment, ct as deterministicCompletion, d as worktreeFanout, dt as leaderboard, et as dumbDriver, f as analyzeTrace, ft as pairwiseSignificance, g as streamAgentTurn, gt as renderPairwiseMarkdown, h as collectAgentTurn, ht as renderLeaderboardSvg, i as jjWorkspace, it as inlineSandboxClient, j as definePersona, k as equalKOnCost, l as failuresAnalyst, lt as sentinelCompletion, mt as renderLeaderboardMarkdown, n as makeFinding, nt as resolveSandboxClient, o as runInWorkspace, ot as loopDispatch, p as patchDelivered, pt as renderLeaderboardHtml, q as assertTraceDerivedFindings, r as gitWorkspace, rt as localSandboxClient, s as createWaterfallCollector, st as completionAuthorizes, t as computeFindingId, tt as naiveDriver, u as superviseSurface, ut as stopSentinel, v as pickChampion, vt as defaultAuditorInstruction, w as SandboxRunAbortError, wt as envKeyProvider, x as assertStrategyContract, xt as materializeLocalMcp, y as runStrategyEvolution, yt as McpSpawnFault, z as fanout } from "./runtime-BG0BziaP.js";
5
+ import { i as mapSandboxToolEvent, n as extractLlmCallEvent, o as sumSandboxUsage, r as mapSandboxEvent, t as createSandboxToolPartState } from "./sandbox-events-DeI5xX8P.js";
6
+ import { At as createSteerableSandboxSession, Bt as runAgentRounds, Ct as createFileRunContext, Dt as createExecutorRegistry, Et as createExecutor, F as assessAuthoredProfile, Ft as decodeToolPart, Gt as assertModelAllowed, Ht as createSandboxLineage, I as authoredWorker, It as sandboxSessionTraceSource, Kt as gateOnDeliverable, L as defaultProfileRichnessThresholds, Lt as createInbox, M as defaultDelegateBudget, Mt as piExecutor, N as delegate, Nt as piSeamKey, Ot as createWorktreeCliExecutor, P as asAuthoredProfile, Pt as createPushTraceSource, R as profileRichnessFinding, St as watchTrace, Tt as cliWorktreeExecutor, Ut as probeSandboxCapabilities, Vt as runLoop, Wt as acquireSandbox, _t as effectiveConcurrency, at as createProgressTracker, bt as rollingDispatch, ct as sampleFromSettled, dt as bestSoFar, et as driverAgent, ft as plateauLength, gt as createEventBus, i as serveCoordinationMcp, it as anyOf, jt as PI_RUNTIME, kt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, lt as anytimeReport, mt as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, n as workerFromBackend, nt as allOf, ot as noProgressFor, pt as renderAnytimeTable, r as supervisorAgent, rt as allWorkersStalled, st as plateau, t as supervise, tt as finalizeBestDelivered, ut as areaUnderCurve, vt as freeSlots, wt as createInMemoryRunContext, xt as defaultToolDetectors, yt as queueOf, z as supervisorInstructions, zt as defaultSelectWinner } from "./supervise-BiRutHS9.js";
7
+ import { a as sandboxClientAsProvider, i as resolveAgentEnvironmentProvider, n as providerAsExecutor, o as createTangleSandboxExactProcessProvider, r as providerAsSandboxClient, t as createAgentEnvironmentProviderRegistry } from "./environment-provider-CfLUmKmf.js";
8
+ export { DEFAULT_AWAIT_EVENT_TIMEOUT_MS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_STALL_AFTER_MS, FileCorpus, FileResultBlobStore, FileSpawnJournal, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, PI_RUNTIME, SandboxRunAbortError, acquireSandbox, adaptiveRefine, allOf, allWorkersStalled, analyzeTrace, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertModelAllowed, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, auditIntent, authorStrategy, authoredWorker, bestSoFar, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cliWorktreeExecutor, collectAgentTurn, compareCheckOutcomes, completionAuthorizes, composeCheckSources, computeFindingId, connectStdioMcp, contentAddress, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createEventBus, createExecutor, createExecutorRegistry, createFileRunContext, createInMemoryRunContext, createInbox, createMcpEnvironment, createProgressTracker, createPushTraceSource, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorktreeCliExecutor, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, depthStrategy, deterministicCompletion, discriminatingMeans, driverAgent, dumbDriver, effectiveConcurrency, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, freeSlots, gateOnDeliverable, gitWorkspace, harvestCorpus, inProcessSandboxClient, inlineSandboxClient, isWaitOutcome, jjWorkspace, leaderboard, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveDriver, noProgressFor, observe, officialChecksFromMeta, openSandboxRun, pairwiseSignificance, panel, patchDelivered, pendingWaits, piExecutor, piSeamKey, pickChampion, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileRichnessFinding, promotionGate, providerAsExecutor, providerAsSandboxClient, queueOf, readWorkerProgress, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveSandboxClient, resolveSecretEnv, rollingDispatch, routerBrain, routerChatWithTools, routerChatWithUsage, routerToolLoop, runAgentRounds, runAgentic, runBenchmark, runInWorkspace, runLoop, runPersonified, runStrategyEvolution, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, spendFromUsageEvents, stopSentinel, strategyAuthorContract, streamAgentTurn, structuralRollout, sumSandboxUsage, supervise, superviseSurface, supervisorAgent, supervisorInstructions, timerAt, trajectoryReport, validateWaitSpec, verify, visibleCheckScore, waitUntil, watchTrace, widen, workerFromBackend, worktreeFanout };
package/dist/mcp/bin.d.ts CHANGED
@@ -1 +1 @@
1
- #!/usr/bin/env node
1
+ export {}