@tangle-network/agent-runtime 0.153.1 → 0.155.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 (108) hide show
  1. package/dist/{activation-DKxQsHiO.js → activation-B4fRz8QL.js} +3 -3
  2. package/dist/{activation-DKxQsHiO.js.map → activation-B4fRz8QL.js.map} +1 -1
  3. package/dist/agent.d.ts +1 -1
  4. package/dist/agent.js +3 -3
  5. package/dist/{analyst-loop-B2kTHKNh.js → analyst-loop-Bouu53-l.js} +2 -2
  6. package/dist/{analyst-loop-B2kTHKNh.js.map → analyst-loop-Bouu53-l.js.map} +1 -1
  7. package/dist/analyst-loop.js +1 -1
  8. package/dist/{authoring-Tk2xFys0.js → authoring-8NW3YQvI.js} +2 -2
  9. package/dist/{authoring-Tk2xFys0.js.map → authoring-8NW3YQvI.js.map} +1 -1
  10. package/dist/candidate-execution/index.js +4 -4
  11. package/dist/{candidate-execution-CB9RJbbJ.js → candidate-execution-Ic92NMl9.js} +4 -4
  12. package/dist/{candidate-execution-CB9RJbbJ.js.map → candidate-execution-Ic92NMl9.js.map} +1 -1
  13. package/dist/{conversation-D64WyWrK.js → conversation-DLYKdh6W.js} +28 -13
  14. package/dist/{conversation-D64WyWrK.js.map → conversation-DLYKdh6W.js.map} +1 -1
  15. package/dist/conversation.d.ts +1 -1
  16. package/dist/conversation.js +1 -1
  17. package/dist/durable.d.ts +2 -2
  18. package/dist/durable.js +3 -6
  19. package/dist/durable.js.map +1 -1
  20. package/dist/{environment-provider-DJG0yIYl.d.ts → environment-provider-C_QI6VCG.d.ts} +2 -2
  21. package/dist/{environment-provider-D_MXw3jK.js → environment-provider-Dz9JB-X_.js} +134 -29
  22. package/dist/environment-provider-Dz9JB-X_.js.map +1 -0
  23. package/dist/environment-provider.d.ts +1 -1
  24. package/dist/environment-provider.js +1 -1
  25. package/dist/{executable-spec-BUcUcEPk.js → executable-spec-7ovS7PBo.js} +2 -2
  26. package/dist/{executable-spec-BUcUcEPk.js.map → executable-spec-7ovS7PBo.js.map} +1 -1
  27. package/dist/{graph-M0Qr4863.js → graph-BCzC-tnl.js} +3 -3
  28. package/dist/{graph-M0Qr4863.js.map → graph-BCzC-tnl.js.map} +1 -1
  29. package/dist/{improvement-cycle-CDxlGQGE.js → improvement-cycle-g6RsxGbg.js} +7 -7
  30. package/dist/{improvement-cycle-CDxlGQGE.js.map → improvement-cycle-g6RsxGbg.js.map} +1 -1
  31. package/dist/{index-Dlz7ejRx.d.ts → index-CNqUQfuv.d.ts} +13 -8
  32. package/dist/{index-LQfgFJoX.d.ts → index-DPFUNEdU.d.ts} +6 -4
  33. package/dist/{index-BihHgUAI.d.ts → index-DU6lU9GO.d.ts} +4 -4
  34. package/dist/index.d.ts +7 -7
  35. package/dist/index.js +13 -13
  36. package/dist/intelligence.d.ts +4 -4
  37. package/dist/intelligence.js +6 -6
  38. package/dist/jsonl-file-CDfsCI5s.js +59 -0
  39. package/dist/jsonl-file-CDfsCI5s.js.map +1 -0
  40. package/dist/kernel.d.ts +5 -5
  41. package/dist/kernel.js +10 -10
  42. package/dist/{knowledge-DM-i40b9.js → knowledge-BDoJh3Me.js} +5 -5
  43. package/dist/{knowledge-DM-i40b9.js.map → knowledge-BDoJh3Me.js.map} +1 -1
  44. package/dist/knowledge.d.ts +1 -1
  45. package/dist/knowledge.js +1 -1
  46. package/dist/{loop-runner-bin-pD5WJuqJ.js → loop-runner-bin-DyoELXnJ.js} +4 -4
  47. package/dist/{loop-runner-bin-pD5WJuqJ.js.map → loop-runner-bin-DyoELXnJ.js.map} +1 -1
  48. package/dist/{loop-runner-bin-D-BW51yr.d.ts → loop-runner-bin-mX79dLj2.d.ts} +3 -3
  49. package/dist/loop-runner-bin.d.ts +1 -1
  50. package/dist/loop-runner-bin.js +1 -1
  51. package/dist/{materialization-Bo6j3Hg9.js → materialization-Ct3I4wu3.js} +48 -4
  52. package/dist/materialization-Ct3I4wu3.js.map +1 -0
  53. package/dist/mcp/bin.js +3 -3
  54. package/dist/mcp/index.d.ts +3 -3
  55. package/dist/mcp/index.js +5 -5
  56. package/dist/{openai-tools-CWBywy-e.js → openai-tools-DUOEbKMV.js} +2 -2
  57. package/dist/{openai-tools-CWBywy-e.js.map → openai-tools-DUOEbKMV.js.map} +1 -1
  58. package/dist/{prepare-C3eFd3UA.js → prepare-DcMjMdj-.js} +19 -14
  59. package/dist/prepare-DcMjMdj-.js.map +1 -0
  60. package/dist/primeintellect/index.d.ts +1 -1
  61. package/dist/{protected-model-port-Dn2b6peS.js → protected-model-port-BzUkspPP.js} +2 -2
  62. package/dist/{protected-model-port-Dn2b6peS.js.map → protected-model-port-BzUkspPP.js.map} +1 -1
  63. package/dist/{redact-NAptmqKw.d.ts → redact-BT7-mX8G.d.ts} +3 -3
  64. package/dist/{runtime-RY_rvv7t.js → runtime-DW9t84HW.js} +60 -30
  65. package/dist/runtime-DW9t84HW.js.map +1 -0
  66. package/dist/{runtime-B-5dp5Iz.d.ts → runtime-DuueBLeO.d.ts} +4 -4
  67. package/dist/{sandbox-events-DMijDq2p.js → sandbox-events-BVjstFgb.js} +23 -3
  68. package/dist/sandbox-events-BVjstFgb.js.map +1 -0
  69. package/dist/{snapshot-cK9K420n.js → snapshot-CTAf4uuA.js} +8 -3
  70. package/dist/snapshot-CTAf4uuA.js.map +1 -0
  71. package/dist/{spawn-journal-CLguaA2A.js → spawn-journal-duo0EkOp.js} +31 -66
  72. package/dist/spawn-journal-duo0EkOp.js.map +1 -0
  73. package/dist/{stream-agent-turn-BGyszuPH.d.ts → stream-agent-turn-BbcwWw_J.d.ts} +2 -2
  74. package/dist/{stream-agent-turn-D6HoaRPV.js → stream-agent-turn-FRZAuXAL.js} +5 -6
  75. package/dist/stream-agent-turn-FRZAuXAL.js.map +1 -0
  76. package/dist/{structural-rollout-P1YxFRfl.js → structural-rollout-B1TocSdq.js} +24 -10
  77. package/dist/structural-rollout-B1TocSdq.js.map +1 -0
  78. package/dist/{supervise-BezbzKiJ.js → supervise-gZ3xYJs3.js} +54 -127
  79. package/dist/supervise-gZ3xYJs3.js.map +1 -0
  80. package/dist/{supervisor-DBVlPONC.js → supervisor-BmXD0WCJ.js} +109 -288
  81. package/dist/supervisor-BmXD0WCJ.js.map +1 -0
  82. package/dist/testing.d.ts +2 -2
  83. package/dist/testing.js +12 -12
  84. package/dist/{top-app-tKo9OrON.js → top-app-3rYfFPTW.js} +4 -62
  85. package/dist/top-app-3rYfFPTW.js.map +1 -0
  86. package/dist/tui/bin.js +1 -1
  87. package/dist/tui/index.d.ts +0 -1
  88. package/dist/tui/index.js +1 -1
  89. package/dist/{types-BPQhQRrC.d.ts → types-Cz5mCGlY.d.ts} +4 -4
  90. package/dist/{util-Bncw0o_F.js → util-D6ZEuBMi.js} +32 -2
  91. package/dist/util-D6ZEuBMi.js.map +1 -0
  92. package/dist/{workspace-archive-Dm73lTfB.js → workspace-archive-bugA3OwU.js} +2 -13
  93. package/dist/workspace-archive-bugA3OwU.js.map +1 -0
  94. package/package.json +4 -4
  95. package/dist/environment-provider-D_MXw3jK.js.map +0 -1
  96. package/dist/materialization-Bo6j3Hg9.js.map +0 -1
  97. package/dist/prepare-C3eFd3UA.js.map +0 -1
  98. package/dist/runtime-RY_rvv7t.js.map +0 -1
  99. package/dist/sandbox-events-DMijDq2p.js.map +0 -1
  100. package/dist/snapshot-cK9K420n.js.map +0 -1
  101. package/dist/spawn-journal-CLguaA2A.js.map +0 -1
  102. package/dist/stream-agent-turn-D6HoaRPV.js.map +0 -1
  103. package/dist/structural-rollout-P1YxFRfl.js.map +0 -1
  104. package/dist/supervise-BezbzKiJ.js.map +0 -1
  105. package/dist/supervisor-DBVlPONC.js.map +0 -1
  106. package/dist/top-app-tKo9OrON.js.map +0 -1
  107. package/dist/util-Bncw0o_F.js.map +0 -1
  108. package/dist/workspace-archive-Dm73lTfB.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { C as MountRecorder, D as SelectionReceipt, E as SandboxClient, S as MountManifestEntry, a as Iteration, b as LoopTraceEvent, d as LoopLineageOptions, i as ExecCtx, k as Validator, m as LoopResult, r as Driver, t as AgentRunSpec, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-DeX8ibLc.js";
2
2
  import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
3
3
  import { l as RuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
4
- import { $n as RetainedRunHandle, A as ProviderModelExecutionEvidence, B as Scope, Bn as RecoverRetainedRunResult, C as NoWinnerError, E as NodeSnapshot, F as RootHandle, Gn as RetainedRunAdmission, H as SpawnEvent, Ln as ReconnectRetainedRunOptions, M as ResultBlobStore, Mn as RetainedInteractiveRunHandle, N as ResumedKeyState, O as ProfileMaterializationReceipt, On as ReconnectRetainedInteractiveRunOptions, Ot as OtelExportConfig, Pn as StartRetainedInteractiveRunOptions, Q as Supervisor, Rn as RecoverRetainedRunIntentOptions, T as NodeId, Tn as WorkerProgress, U as SpawnJournal, V as Settled, Vn as RetainedInteractiveAdmission, W as SpawnOpts, X as SteerableRootHandle, Xn as RetainedRunEffect, Y as SpendGap, Z as SupervisedResult, _ as ExecutorRegistry, a as DefaultVerdict, ar as StartRetainedRunOptions, ct as WorkerTraceEvidence, et as TreeView, gn as TraceSource, gt as TraceContext, i as Budget, in as WaitProbeRegistry, ir as StartRetainedRunInEnvironmentOptions, kn as RecoverRetainedInteractiveRunOptions, kt as OtelExporter, n as AgentExecutionRef, o as ExecutionBindingReceipt, p as ExecutorFactory, q as Spend, r as AgentSpec, rt as UsageEvent, s as Executor, t as Agent, tn as PendingWait, tt as UnconfirmedTeardown, ut as WorkerTraceResolver, v as ExecutorResult, w as NodeExecutionIdentity, z as Runtime, zn as RecoverRetainedRunOptions } from "./types-BPQhQRrC.js";
5
- import { Bt as JsonRpcMessage, Et as PeerMailEvent, G as WorktreeHarnessResult, Ht as McpToolDescriptor$1, I as KeyProvider, Nt as PeerMailbox, Ot as PeerMailLimits, U as WorktreeCheckRunner, Ut as McpTransport, Vt as JsonRpcResponse, _t as ToolLoopChat, b as Inbox, ct as GitRunner, ht as ToolSpec, it as runLocalHarness, l as RouterToolsSeam, mt as RouterTransportConfig, o as ExecutorConfig, yt as ToolLoopCompactionOptions } from "./runtime-B-5dp5Iz.js";
4
+ import { $n as RetainedRunHandle, A as ProviderModelExecutionEvidence, B as Scope, Bn as RecoverRetainedRunResult, C as NoWinnerError, E as NodeSnapshot, F as RootHandle, Gn as RetainedRunAdmission, H as SpawnEvent, Ln as ReconnectRetainedRunOptions, M as ResultBlobStore, Mn as RetainedInteractiveRunHandle, N as ResumedKeyState, O as ProfileMaterializationReceipt, On as ReconnectRetainedInteractiveRunOptions, Ot as OtelExportConfig, Pn as StartRetainedInteractiveRunOptions, Q as Supervisor, Rn as RecoverRetainedRunIntentOptions, T as NodeId, Tn as WorkerProgress, U as SpawnJournal, V as Settled, Vn as RetainedInteractiveAdmission, W as SpawnOpts, X as SteerableRootHandle, Xn as RetainedRunEffect, Y as SpendGap, Z as SupervisedResult, _ as ExecutorRegistry, a as DefaultVerdict, ar as StartRetainedRunOptions, ct as WorkerTraceEvidence, et as TreeView, gn as TraceSource, gt as TraceContext, i as Budget, in as WaitProbeRegistry, ir as StartRetainedRunInEnvironmentOptions, kn as RecoverRetainedInteractiveRunOptions, kt as OtelExporter, n as AgentExecutionRef, o as ExecutionBindingReceipt, p as ExecutorFactory, q as Spend, r as AgentSpec, rt as UsageEvent, s as Executor, t as Agent, tn as PendingWait, tt as UnconfirmedTeardown, ut as WorkerTraceResolver, v as ExecutorResult, w as NodeExecutionIdentity, z as Runtime, zn as RecoverRetainedRunOptions } from "./types-Cz5mCGlY.js";
5
+ import { Bt as JsonRpcMessage, Et as PeerMailEvent, G as WorktreeHarnessResult, Ht as McpToolDescriptor$1, I as KeyProvider, Nt as PeerMailbox, Ot as PeerMailLimits, U as WorktreeCheckRunner, Ut as McpTransport, Vt as JsonRpcResponse, _t as ToolLoopChat, b as Inbox, ct as GitRunner, ht as ToolSpec, it as runLocalHarness, l as RouterToolsSeam, mt as RouterTransportConfig, o as ExecutorConfig, yt as ToolLoopCompactionOptions } from "./runtime-DuueBLeO.js";
6
6
  import { o as UiLens, r as UiFinding, s as CoderTask } from "./substrate-BcnuSHXm.js";
7
- import "./environment-provider-DJG0yIYl.js";
8
- import "./stream-agent-turn-BGyszuPH.js";
7
+ import "./environment-provider-C_QI6VCG.js";
8
+ import "./stream-agent-turn-BbcwWw_J.js";
9
9
  import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
10
10
  import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
11
11
  import { DispatchFn, ExternalOptimizerModelCall, JudgeConfig, ProfileDispatchFn, RunProfileMatrixOptions, RunProfileMatrixResult, Scenario } from "@tangle-network/agent-eval/campaign";
@@ -5631,8 +5631,9 @@ declare class InMemoryCorpus implements Corpus {
5631
5631
  * back silently) and folding by `id`: a later identical line dedups, a later conflicting line
5632
5632
  * under the same `id` is a corruption (fail loud). `append` first replays to enforce the same
5633
5633
  * idempotence/conflict contract as the in-mem impl, then fsyncs the new line so a crash between
5634
- * writes never loses an acknowledged fact. Shares the JSONL append-line spine with the spawn
5635
- * journal, but the interface stays separate (a learned fact is not a replay record).
5634
+ * writes never loses an acknowledged fact. Reads and appends over the shared append-only
5635
+ * spine (`durable/jsonl-file`) the same one the spawn journal uses but the interface stays
5636
+ * separate (a learned fact is not a replay record).
5636
5637
  */
5637
5638
  declare class FileCorpus implements Corpus {
5638
5639
  private readonly path;
@@ -5780,7 +5781,7 @@ interface PromotionGateOptions {
5780
5781
  }
5781
5782
  interface PromotionVerdict {
5782
5783
  promoted: boolean;
5783
- reason: 'identical-champion' | 'few-tasks' | 'no-margin' | 'significant' | 'non-inferior-and-cheaper' | 'non-inferiority-unproven' | 'not-cheaper';
5784
+ reason: 'identical-champion' | 'few-tasks' | 'no-margin' | 'significant' | 'non-inferior-and-cheaper' | 'non-inferiority-unproven' | 'not-cheaper' | 'cost-unknown';
5784
5785
  mode: 'superiority' | 'non-inferiority';
5785
5786
  /** Paired tasks that carried both strategies' cells. */
5786
5787
  n: number;
@@ -5800,6 +5801,10 @@ interface PromotionVerdict {
5800
5801
  low: number;
5801
5802
  high: number;
5802
5803
  };
5804
+ /** non-inferiority mode: the tasks whose dollars were not measured on at least one arm.
5805
+ * Present only with `reason: 'cost-unknown'`; naming them is what makes the refusal
5806
+ * actionable instead of a bare no. */
5807
+ costUnknownTasks?: string[];
5803
5808
  /** Paired (candidate − incumbent) wall-clock per task (ms) — negative = the candidate
5804
5809
  * is FASTER. Informational in every mode (never gates); the latency answer to "what
5805
5810
  * does this win actually cost the user?". */
@@ -8609,4 +8614,4 @@ interface VerifierEnvironmentOptions {
8609
8614
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
8610
8615
  //#endregion
8611
8616
  export { WorkerToolTraceArtifact as $, loopDispatch as $a, completionAuthorizes as $c, DelegationTraceCollector as $d, AGENT_PROFILE_MATERIALIZATION_AXES as $f, panel as $i, MakeWorkerAgent as $l, assessAuthoredProfile as $n, SupervisorSpanOptions as $o, StdioMcpServerSpec as $r, FlatWidenGate as $s, RunGraphTestOptions as $t, DetachedTurn as $u, EVIDENCE_MAX_CHARS as A, RunAgenticOptions as Aa, Persona as Ac, DelegateUiAuditResult as Ad, createEventBus as Af, startRetainedInteractiveRun as Ai, plateauLength as Al, serveCoordinationMcp as An, supervisorAgentWithTestBrain as Ao, EvolutionArchiveNode as Ar, HarvestCorpusOptions as As, workerCancellationsDir as At, validateDelegateArgs as Au, withUntrackedArtifacts as B, breadthStrategy as Ba, LeaderboardBenchTask as Bc, DelegationStatus as Bd, InMemoryResultBlobStore as Bf, equalKOnCost as Bi, AuthorizeDownMessage as Bl, chatWorkerSeam as Bn, ProgressTracker as Bo, runStrategyEvolution as Br, AssertTraceDerivedFindings as Bs, PatchDeliverableOptions as Bt, DetachedWinnerSelection as Bu, SurfaceWorkerOut as C, AgenticOptions as Ca, WidenLineage as Cc, DelegateFeedbackArgs as Cd, ValidationError as Cf, recoverRetainedRun as Ci, defaultAuditorInstruction as Cl, freeSlots as Cn, SupervisorNodeContextSeed as Co, resolveEntrySymbol as Cr, LocalSandboxClientOptions as Cs, runCancellationFile as Ct, DELEGATE_INPUT_SCHEMA as Cu, AuthoredHarness as D, AgenticTool as Da, DefinePersonaInput as Dc, DelegateResearchResult as Dd, BusStats as Df, claimRetainedInteractiveControl as Di, anytimeReport as Dl, defaultDelegateBudget as Dn, assertCoordinationBinding as Do, visibleCheckScore as Dr, InProcessPromptCtx as Ds, supervisorWorkersDir as Dt, DelegateHandlerOptions as Du, superviseSurface as E, AgenticTask as Ea, DefinePersona as Ec, DelegateResearchConfig as Ed, BusRecord as Ef, ClaimRetainedInteractiveControlOptions as Ei, AnytimeTaskCurve as El, DelegateOptions as En, SupervisorToolInvocationContext as Eo, structuralRollout as Er, InProcessOnPrompt as Es, supervisorRunsRoot as Et, DelegateError as Eu, composeWorkerEvidence as F, StrategyMessage as Fa, ShapeBudget as Fc, DelegationHistoryEntry as Fd, ExecutorResultMapping as Ff, promotionGate as Fi, createWaterfallCollector as Fl, ChatSessionStore as Fn, PriorCoordination as Fo, EvolutionReport as Fr, ObserveInput as Fs, InMemoryRunContext as Ft, CoderDelegate as Fu, WorkspaceRun as G, sample as Ga, LeaderboardScenario as Gc, ResearchOutputShape as Gd, SpawnForestMissingTree as Gf, definePersona as Gi, CoordinationStats as Gl, ReservationRejection as Gn, allOf as Go, authorStrategy as Gr, EqualKArm as Gs, AgentGraph as Gt, settleDetachedCoderTurn as Gu, Shell as H, depthStrategy as Ha, LeaderboardFlagSpec as Hc, DelegationStatusResult as Hd, SpawnForest as Hf, builtinShapes as Hi, ContinuationInstruction as Hl, BudgetPool as Hn, ProgressView as Ho, AuthorStrategyOptions as Hr, Corpus as Hs, WorktreeCliExecutorOptions as Ht, UiAuditorDelegate as Hu, settledWorkerOut as I, StrategyResult as Ia, ShapeContext as Ic, DelegationHistoryResult as Id, gateOnDeliverable as If, profileChatClient as Ii, AnalystFindingEvent as Il, ChatTransportExecutorOptions as In, AllWorkersStalledOptions as Io, ReproductionCheck as Ir, ObserveOptions as Is, InMemoryRunContextOptions as It, CoderReview as Iu, localShell as J, LoopDispatchOptions as Ja, defineLeaderboard as Jc, UiAuditorDelegationOutput as Jd, loadSpawnForest as Jf, InMemoryCorpus as Ji, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Jl, spendFromUsageEvents as Jn, createProgressTracker as Jo, LocalMcpMaterialization as Jr, EqualKVerdict as Js, GraphEdge as Jt, FleetWorkspaceExecutorOptions as Ju, gitWorkspace as K, sampleThenRefine as Ka, LeaderboardScore as Kc, ResearchSource as Kd, SpawnForestNode as Kf, runPersonified as Ki, CoordinationTools as Kl, ReservationTicket as Kn, allWorkersStalled as Ko, strategyAuthorContract as Kr, EqualKOnCost as Ks, EdgeDeliveryOutcome as Kt, DelegationExecutor as Ku, CopyOptions as L, StrategyShotResult as La, ShapeRegistry as Lc, DelegationProfile as Ld, mapExecutorResult as Lf, profileOptimizerModelCall as Li, AnalystLensOutput as Ll, ChatTransportTool as Ln, NoProgressForOptions as Lo, StrategyEvolutionConfig as Lr, defaultAnalystInstruction as Ls, RunContext as Lt, CoderReviewer as Lu, VERIFY_TAIL_CHARS as M, Strategy as Ma, PersonaExecutors as Mc, DelegationError as Md, defaultToolDetectors as Mf, resolveSandboxClient as Mi, WaterfallCollector as Ml, driverAgent as Mn, CoordinationLog as Mo, EvolutionBandInfo as Mr, HarvestReport as Ms, workerInboxFile as Mt, FeedbackStore as Mu, WorkerEvidenceInput as N, StrategyArtifacts as Na, RunPersonified as Nc, DelegationFeedbackSnapshot as Nd, watchTrace as Nf, PromotionGateOptions as Ni, WaterfallReport as Nl, finalizeBestDelivered as Nn, CoordinationOwnerId as No, EvolutionCandidate as Nr, harvestCorpus as Ns, workerInboxFileFromEventDir as Nt, InMemoryFeedbackStore as Nu, WorktreeFanoutOptions as O, ArtifactHandle as Oa, LoopShape as Oc, DelegateUiAuditArgs as Od, EventBus as Of, reconnectRetainedInteractiveRun as Oi, areaUnderCurve as Ol, delegate as On, resolveSupervisorProfile as Oo, ChampionPick as Or, InProcessSandboxClientOptions as Os, workerCancelRequestsFile as Ot, DelegateResult as Ou, closingWorkerNote as P, StrategyCtx as Pa, RunPersonifiedOptions as Pc, DelegationHistoryArgs as Pd, DeliverableSpec as Pf, PromotionVerdict as Pi, WaterfallSpan as Pl, ChatCompletionsTransport as Pn, FileCoordinationLog as Po, EvolutionGeneration as Pr, Observation as Ps, writeWorkerSteer as Pt, eventToSnapshot as Pu, WORKER_TOOL_TRACE_SCHEMA_VERSION as Q, loopCampaignDispatch as Qa, CompletionVerdict as Qc, DelegationTraceCaps as Qd, contentAddress as Qf, loopUntil as Qi, DownMessageEvent as Ql, asAuthoredProfile as Qn, SupervisorSpanAttributes as Qo, StdioMcpConnection as Qr, FanoutWinnerSelector as Qs, RunGraphOptions as Qt, DetachedSessionRefParts as Qu, UntrackedCopyStats as R, SurfaceScore as Ra, DefinedLeaderboard as Rc, DelegationProgress as Rd, FileResultBlobStore as Rf, assertModelAllowed as Ri, AnalystRegistry as Rl, ChatWorkerSeamOptions as Rn, PlateauOptions as Ro, discriminatingMeans as Rr, observe as Rs, createFileRunContext as Rt, DelegateRunCtx as Ru, SurfaceWorkerConfig as S, runBenchmark as Sa, WidenDecision as Sc, DelegateCodeResult as Sd, RuntimeRunStateError as Sf, reconnectRetainedRun as Si, auditIntent as Sl, effectiveConcurrency as Sn, SupervisorNodeContext as So, officialChecksFromMeta as Sr, runAgentRounds as Ss, runCancelRequestFile as St, DELEGATE_DESCRIPTION as Su, failuresAnalyst as T, AgenticSurface as Ta, WinnerStrategy as Tc, DelegateResearchArgs as Td, BusEvent as Tf, startRetainedRunInEnvironment as Ti, AnytimeStrategySummary as Tl, rollingDispatch as Tn, SupervisorToolDescriptor as To, selectBestIndex as Tr, inlineSandboxClient as Ts, supervisorRunDir as Tt, DelegateArgs as Tu, Workspace as U, refine as Ua, LeaderboardIterationInfo as Uc, FeedbackRating as Ud, SpawnForestEvent as Uf, createShapeRegistry as Ui, ContinuityMode as Ul, BudgetPoolRestore as Un, StopDecision as Uo, AuthoredStrategy as Ur, CorpusFilter as Us, WorktreePatchArtifact as Ut, coderTaskFromArgs as Uu, GitWorkspaceOptions as V, defineStrategy as Va, LeaderboardBenchmarkAdapter as Vc, DelegationStatusArgs as Vd, InMemorySpawnJournal as Vf, trajectoryReport as Vi, AuthorizedDownMessage as Vl, createChatSessionStore as Vn, ProgressTrackerOptions as Vo, selectChampion as Vr, CombinatorShape as Vs, patchDelivered as Vt, SettleDetachedCoderTurnOptions as Vu, WorkspaceCommit as W, runAgentic as Wa, LeaderboardRunContext as Wc, FeedbackRefersTo as Wd, SpawnForestInDoubtNode as Wf, registerShape as Wi, CoordinationEvent as Wl, BudgetReadout as Wn, StopRule as Wo, assertStrategyContract as Wr, CorpusRecord as Ws, createWorktreeCliExecutor as Wt, detachedSessionDelegate as Wu, TrajectoryAnalysis as X, SuperviseDispatchOptions as Xa, CompletionEvidence as Xc, DELEGATION_TRACE_MAX_BYTES as Xd, pendingWaits as Xf, fanout as Xi, DownMessageDeliveryAttempt as Xl, ProfileRichness as Xn, plateau as Xo, McpSpawnFault as Xr, FanoutOptions as Xs, GraphNode as Xt, createFleetWorkspaceExecutor as Xu, runInWorkspace as Y, LoopOptionsForDispatch as Ya, CompletionAnalyst as Yc, CappedDelegationTrace as Yd, materializeTreeView as Yf, renderCorpusToInstructions as Yi, DownMessageAuthorizationInput as Yl, AuthoredProfile as Yn, noProgressFor as Yo, MaterializeLocalMcpOptions as Yr, Fanout as Ys, GraphEdgeCapError as Yt, SiblingSandboxExecutorOptions as Yu, analyzeTrace as Z, SuperviseOptionsForDispatch as Za, CompletionPolicy as Zc, DELEGATION_TRACE_MAX_SPANS as Zd, replaySpawnTree as Zf, flatWidenGate as Zi, DownMessageDeliveryOutcome as Zl, ProfileRichnessThresholds as Zn, sampleFromSettled as Zo, McpToolDescriptor as Zr, FanoutSynthesis as Zs, GraphResult as Zt, createSiblingSandboxExecutor as Zu, boxSurfaceReader as _, BenchmarkReport as _a, TrajectoryReportFn as _c, SubmitInput as _d, PlannerError as _f, CriuCapableClient as _i, renderLeaderboardSvg as _l, ConcurrencyCaps as _n, ResolveDriveHarness as _o, renderProfileMaterializationIssues as _p, composeCheckSources as _r, RunAgentRoundsOptions as _s, readRunCancelRequest as _t, normalizeAnalyzeOnSettle as _u, SandboxInstance$1 as a, RegistryAnalyzeProjection as aa, PanelSpec as ac, detachedTurnEvents as ad, DelegationPersistenceError as af, OpenSandboxRunPromptOptions as ai, Interval as al, PromptRegistry as an, SuperviseOptions as ao, ProfileMaterializationContract as ap, CheckRunContext as ar, FinalizerSettled as as, ScopeArgs as at, QuestionRecord as au, SuperviseSurfaceOptions as b, Environment as ba, VerifySpec as bc, DelegateCodeArgs as bd, RetainedRunAdmissionError as bf, AcquireOptions as bi, AuditIntentOptions as bl, DispatchUnit as bn, SupervisorAgentDeps as bo, worktreeCliProfileMaterialization as bp, filterAuthoredAsserts as br, defaultSelectWinner as bs, readWorkerCancellation as bt, createInProcessTransport as bu, VerifierEnvironmentOptions as c, createScopeAnalyst as ca, PipelineStage as cc, runDetachedTurn as cd, FileDelegationStore as cf, TurnResult as ci, LeaderboardRow as cl, createPromptRegistry as cn, SuperviseTestOptions as co, assertProfileMaterialization as cp, CheckSourceCtx as cr, collectDelivered as cs, RunCancelRequest as ct, SpawnPreflight as cu, HarvestSurfaceDiffsOptions as d, McpEnvironmentOptions as da, ScopeAnalyst as dc, DelegationResumeContext as dd, AgentEvalError$1 as df, CheckpointCapableBox as di, ProfileKeyOf as dl, dumbContinuationPassPrompt as dn, workerFromBackend as do, fullProfileMaterialization as dp, StructuralRolloutMessage as dr, DriverAttemptRecord as ds, WorkerCancellation as dt, SpawnRefusalCause as du, pipeline as ea, LoopUntil as ec, DetachedTurnResumeDriverOptions as ed, DelegationTraceSpan as ef, connectStdioMcp as ei, deterministicCompletion as el, TraversalContinuity as en, superviseDispatch as eo, AgentProfileMaterializationAxis as ep, defaultProfileRichnessThresholds as er, SupervisorSpanOutcome as es, captureWorkerTraceEvidence as et, Question as eu, SurfaceDiff as f, createMcpEnvironment as fa, ScopeAnalyzeInput as fc, DelegationResumeDriver as fd, AgentEvalErrorCode as ff, ForkCapableBox as fi, ScoreOf as fl, formatPromptHandle as fn, CoordinationBinding as fo, profileMaterializationAxes$1 as fp, StructuralRolloutPolicy as fr, DriverAttemptStop as fs, WorkerSteerRequest as ft, WorkerResumeContext as fu, WatchedSurface as g, BenchmarkLift as ga, TrajectoryReport as gc, DelegationTaskQueueOptions as gd, NotFoundError as gf, createSandboxLineage as gi, renderLeaderboardMarkdown as gl, supervisorPolicyPrompt as gn, ObserveSupervisorNodeEvent as go, promptResourceProfileMaterialization as gp, compareCheckOutcomes as gr, classifyDriverFailure as gs, legacySupervisorRunsRoot as gt, createCoordinationTools as gu, SurfaceReader as h, BenchmarkConfig as ha, TrajectoryNode as hc, DelegationTaskQueue as hd, JudgeError as hf, SessionCapableBox as hi, renderLeaderboardHtml as hl, promptHandle as hn, DriveHarnessOwnerContext as ho, promptOnlyProfileMaterialization as hp, canDisplace as hr, DriverRetryPolicy as hs, legacySupervisorRunDir as ht, canonicalFindingEvent as hu, SandboxEvent$1 as i, CreateScopeAnalystOptions as ia, PanelJudge as ic, createDetachedTurnResumeDriver as id, createDelegationTraceCollector as if, OpenSandboxRunOptions as ii, GroupOf as il, PromptHandle as in, DeliverableResolutionInput as io, KnownAgentProfileMaterializationAxis as ip, CheckOutcome as ir, FinalizeContext as is, createSupervisor as it, QuestionPolicy as iu, NOTE_MAX_CHARS as j, ShotSpec as ja, PersonaContext as jc, DelegateUiAuditRoute as jd, WatchTraceOptions as jf, ResolveSandboxClientOptions as ji, renderAnytimeTable as jl, DriverAgentOptions as jn, CoordinationDeliveryEvidence as jo, EvolutionAuthor as jr, HarvestFailure as js, workerControlLogFile as jt, FeedbackEvent as ju, worktreeFanout as k, CorpusReadbackOptions as ka, Outcome as kc, DelegateUiAuditConfig as kd, PublishOptions as kf, recoverRetainedInteractiveRun as ki, bestSoFar as kl, CoordinationMcpHandle as kn, supervisorAgent as ko, ChampionPolicy as kr, inProcessSandboxClient as ks, workerCancellationFile as kt, createDelegateHandler as ku, createVerifierEnvironment as l, registryScopeAnalyst as la, RenderCorpusToInstructions as lc, DelegationArgs as ld, FileDelegationStoreOptions as lf, openSandboxRun as li, PairwiseOptions as ll, delegatesWorkerBriefPrompt as ln, supervise as lo, controlProfileMaterialization as lp, RepairStop as lr, pickBestDelivered as ls, RunCancellation as lt, SpawnPreflightContext as lu, SurfaceReadOutcome as m, BenchmarkCell as ma, SteerContext as mc, DelegationRunContext as md, ConfigError as mf, SandboxLineageHandle as mi, pairwiseSignificance as ml, naiveContinuationPrompt as mn, DriveHarness as mo, promptModelProfileMaterialization as mp, VisibleCheck as mr, DriverProgressMark as ms, cancelWorker as mt, WorkerWatchOptions as mu, AnalystFinding$1 as n, verify as na, LoopUntilState as nc, DriveTurnTick as nd, capDelegationTrace as nf, Deliverable as ni, stopSentinel as nl, runGraph as nn, AuthorizedSpawnContext as no, CanonicalAgentProfileMaterializationAxis as np, supervisorInstructions as nr, createSupervisorSpanRecorder as ns, workerTraceAnalysisStore as nt, QuestionLevel as nu, computeFindingId$1 as o, assertTraceDerivedFindings as oa, PanelVerdict as oc, formatDetachedSessionRef as od, DelegationStateCorruptError as of, SandboxRun as oi, Leaderboard as ol, RegisteredPrompt as on, SuperviseRegistry as oo, ProfileMaterializationIssue as op, CheckRunner as or, SupervisorFinalizer as os, createScope as ot, QuestionUrgency as ou, SurfaceReadBox as p, sanitizeMcpToolSchema as pa, ScopeWidenGate as pc, DelegationResumeTick as pd, BackendTransportError as pf, SandboxLineage as pi, leaderboard as pl, kernelPromptRegistry as pn, CoordinationVerbs as po, promptControlProfileMaterialization as pp, StructuralRolloutResult as pr, DriverAttemptsExhaustedError as ps, cancelRun as pt, WorkerSpawnContext as pu, jjWorkspace as q, LoopCampaignDispatchOptions as qa, LeaderboardSpec as qc, UiAuditLensFilter as qd, SpawnForestTree as qf, FileCorpus as qi, CoordinationToolsOptions as ql, createBudgetPool as qn, anyOf as qo, strategyAuthorSystemPrompt as qr, EqualKOnCostOptions as qs, EdgeTraversal as qt, FleetHandle as qu, CreateSandboxOptions$1 as r, widen as ra, Panel as rc, RunDetachedTurnOptions as rd, composeLoopTraceEmitters as rf, OpenSandboxRunBeforeStartContext as ri, AxisScoresOf as rl, runGraphWithTestBrain as rn, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as ro, DefineProfileMaterializationContractOptions as rp, CheckExecChannel as rr, DeliveredOutput as rs, createRootHandle as rt, QuestionOption as ru, makeFinding$1 as s, buildSteerContext as sa, Pipeline as sc, parseDetachedSessionRef as sd, DelegationStore as sf, SandboxRunAbortError as si, LeaderboardOptions as sl, analyzesFindingsReportPrompt as sn, SuperviseRegistryTable as so, ValidateProfileMaterializationOptions as sp, CheckSource as sr, bestDelivered as ss, settledToIteration as st, SettledWorker as su, AgentProfile$2 as t, selectValidWinner as ta, LoopUntilSpec as tc, DriveTurnCapableBox as td, buildDelegationTraceSpans as tf, materializeLocalMcp as ti, sentinelCompletion as tl, defaultEdgeTraversalCap as tn, AuthorizedSpawn as to, AssertProfileMaterializationOptions as tp, profileRichnessFinding as tr, SupervisorSpanRecorder as ts, parseWorkerToolTraceArtifact as tt, QuestionDecision as tu, BoxSurfaceReaderOptions as u, McpEndpoint as ua, RenderCorpusToInstructionsOptions as uc, DelegationRecord as ud, InMemoryDelegationStore as uf, BranchCapableBox as ui, PairwiseVerdict as ul, dumbContinuationFailPrompt as un, superviseWithTestBrain as uo, defineProfileMaterializationContract as up, StructuralRolloutConfig as ur, runFinalizer as us, WorkerCancelRequest as ut, SpawnRefusal as uu, fsSurfaceReader as v, BenchmarkStrategySummary as va, TrajectoryReportOptions as vc, SubmitOutput as vd, RetainedInteractiveAdmissionError as vf, SandboxCapabilities as vi, renderPairwiseMarkdown as vl, DispatchReport as vn, ResolveSupervisorTools as vo, sandboxActProfileMaterialization as vp, defaultExtractCandidate as vr, TERMINAL_DECISIONS as vs, readRunCancellation as vt, McpServer as vu, analystsFromRegistry as w, AgenticRunResult as wa, WidenSpec as wc, DelegateFeedbackResult as wd, CoderOutput as wf, startRetainedRun as wi, AnytimeReport as wl, queueOf as wn, SupervisorProfile as wo, sandboxCheckRunner as wr, localSandboxClient as ws, safeWorkerFile as wt, DELEGATE_TOOL_NAME as wu, SuperviseSurfaceResult as x, printBenchmarkReport as xa, Widen as xc, DelegateCodeConfig as xd, RetainedRunDispatchBindingError as xf, acquireSandbox as xi, IntentAudit as xl, RollingDispatchOptions as xn, SupervisorAgentTestDeps as xo, modelAuthoredChecks as xr, isTerminalDecision as xs, readWorkerSteerRequests as xt, createMcpServer as xu, harvestSurfaceDiffs as y, BenchmarkTaskRow as ya, Verify as yc, hashIdempotencyInput as yd, RetainedInteractiveBindingError as yf, probeSandboxCapabilities as yi, AuditIntentInput as yl, DispatchStopReason as yn, ResolvedSupervisorProfile as yo, validateProfileMaterialization as yp, defaultStructuralRolloutPolicy as yr, TerminalDecision as ys, readWorkerCancelRequests as yt, McpServerOptions as yu, copyUntrackedIntoClone as z, adaptiveRefine as za, LeaderboardBenchScore as zc, DelegationResultPayload as zd, FileSpawnJournal as zf, assertProfileModelsAllowed as zi, AnalyzeOnSettleRoute as zl, chatTransportExecutor as zn, ProgressSample as zo, pickChampion as zr, renderReport as zs, createInMemoryRunContext as zt, DetachedSessionDelegateOptions as zu };
8612
- //# sourceMappingURL=index-Dlz7ejRx.d.ts.map
8617
+ //# sourceMappingURL=index-CNqUQfuv.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { V as AgentExecutionBackend, it as RuntimeSessionStore } from "./types-DeX8ibLc.js";
2
- import { p as ExecutorFactory } from "./types-BPQhQRrC.js";
2
+ import { p as ExecutorFactory } from "./types-Cz5mCGlY.js";
3
3
  import { AgentProfile } from "@tangle-network/agent-interface";
4
4
  import { AgentProfile as AgentProfile$1, MaximumCharge } from "@tangle-network/agent-eval";
5
5
  import { ProfileDispatchFn, Scenario } from "@tangle-network/agent-eval/campaign";
@@ -224,8 +224,10 @@ declare class InMemoryConversationJournal implements ConversationJournal {
224
224
  * (thousands of turns, not millions). For huge runs, plug in a real DB
225
225
  * adapter; the interface is small.
226
226
  *
227
- * Each `appendTurn` / `recordHalt` calls `fsync` after the write so a
228
- * process crash between writes never loses an acknowledged turn.
227
+ * Reads and appends over the shared append-only spine (`durable/jsonl-file`): each
228
+ * `appendTurn` / `recordHalt` finishes a short write and calls `fsync`, so a process
229
+ * crash between writes never loses an acknowledged turn, and a crash DURING one leaves
230
+ * an uncommitted final line that the next read skips and the next append truncates.
229
231
  */
230
232
  declare class FileConversationJournal implements ConversationJournal {
231
233
  private readonly path;
@@ -686,4 +688,4 @@ declare function turnId(runId: string, index: number, speaker: string): string;
686
688
  declare function slugifySpeaker(speaker: string): string;
687
689
  //#endregion
688
690
  export { sleep as $, RunConversationOptions as A, buildForwardHeaders as B, ConversationResult as C, HaltPredicate as D, HaltContext as E, InMemoryConversationJournal as F, CircuitBreakerState as G, readDepth as H, DEFAULT_MAX_DEPTH as I, RetryBackoff as J, CircuitOpenError as K, FORWARD_HEADERS as L, ConversationJournal as M, ConversationJournalEntry as N, HaltReason as O, FileConversationJournal as P, makePerAttemptSignal as Q, ForwardHeaderName as R, ConversationPolicy as S, ConversationTurn as T, BackendCallPolicy as U, isDepthExceeded as V, CircuitBreakerConfig as W, computeBackoff as X, RetryableErrorPredicate as Y, defaultIsRetryable as Z, createConversationBackend as _, RunPersonaConfig as a, ConversationDriveState as b, runPersonaDispatch as c, D1DatabaseLike as d, createProfileExecutionBackend as et, D1StmtLike as f, defineConversation as g, d1ToSqlAdapter as h, PersonaDriver as i, TurnOrder as j, HaltSignal as k, runConversation as l, SqlConversationJournal as m, turnId as n, RunPersonaConversationOptions as o, SqlAdapter as p, DeadlineExceededError as q, PersonaConversationResult as r, runPersonaConversation as s, slugifySpeaker as t, runConversationStream as u, AuthSource as v, ConversationStreamEvent as w, ConversationParticipant as x, Conversation as y, PropagatedHeaders as z };
689
- //# sourceMappingURL=index-LQfgFJoX.d.ts.map
691
+ //# sourceMappingURL=index-DPFUNEdU.d.ts.map
@@ -1,6 +1,6 @@
1
- import { Pf as DeliverableSpec, ao as SuperviseOptions, wo as SupervisorProfile } from "./index-Dlz7ejRx.js";
2
- import { Z as SupervisedResult, i as Budget } from "./types-BPQhQRrC.js";
3
- import { o as ExecutorConfig } from "./runtime-B-5dp5Iz.js";
1
+ import { Pf as DeliverableSpec, ao as SuperviseOptions, wo as SupervisorProfile } from "./index-CNqUQfuv.js";
2
+ import { Z as SupervisedResult, i as Budget } from "./types-Cz5mCGlY.js";
3
+ import { o as ExecutorConfig } from "./runtime-DuueBLeO.js";
4
4
  import { y as AgentCandidateOutputArtifactPort } from "./types-19ZOddS3.js";
5
5
  import { i as AgentImprovementActivationTransition, n as AgentImprovementActivationResultStore, t as AgentImprovementActivationReconciliation } from "./activation-DyWB0K6E.js";
6
6
  import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge } from "@tangle-network/agent-interface";
@@ -135,4 +135,4 @@ declare function runKnowledgeImprovementJob(options: RunKnowledgeImprovementJobO
135
135
  declare function buildKnowledgeImprovementExperimentBundles(bundle: AgentCandidateBundle, knowledge: KnowledgeImprovementCandidatePair): KnowledgeImprovementExperimentBundles;
136
136
  //#endregion
137
137
  export { KnowledgeImprovementActivationExecutor as C, CreateKnowledgeImprovementActivationExecutorOptions as S, SupervisedKnowledgeUpdater as _, KnowledgeImprovementJobResult as a, knowledgeReadinessDeliverable as b, createAgentKnowledgeReadinessCheck as c, KnowledgeReadinessCheckInput as d, KnowledgeReadinessCheckResult as f, SupervisedKnowledgeUpdateResult as g, SupervisedKnowledgeUpdateOptions as h, KnowledgeImprovementJobMeasurement as i, runKnowledgeImprovementJob as l, SupervisedKnowledgeUpdateInput as m, KnowledgeImprovementCandidatePair as n, RunKnowledgeImprovementJobOptions as o, RESEARCH_SUPERVISOR_SYSTEM_PROMPT as p, KnowledgeImprovementExperimentBundles as r, buildKnowledgeImprovementExperimentBundles as s, AgentKnowledgeReadinessCheckOptions as t, KnowledgeReadinessCheck as u, createSupervisedKnowledgeUpdater as v, createKnowledgeImprovementActivationExecutor as w, runSupervisedKnowledgeUpdate as x, formatSupervisedKnowledgeTask as y };
138
- //# sourceMappingURL=index-BihHgUAI.d.ts.map
138
+ //# sourceMappingURL=index-DU6lU9GO.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { $ as OpenAIChatToolChoice, A as RuntimeRunCompleteInput, B as AgentBackendInput, F as RuntimeRunRow, G as AgentTaskContext, H as AgentKnowledgeProvider, I as RuntimeRunStatus, J as AgentTaskStatus, K as AgentTaskRunResult, L as startRuntimeRun, M as RuntimeRunHandle, N as RuntimeRunOptions, P as RuntimeRunPersistenceAdapter, Q as OpenAIChatTool, R as AgentAdapter, U as AgentRuntimeEvent, V as AgentExecutionBackend, W as AgentRuntimeEventSink, X as KnowledgeReadinessDecision, Y as BackendErrorDetail, Z as OpenAIChatResponseFormat, at as RuntimeStreamEvent, et as RunAgentTaskOptions, it as RuntimeSessionStore, j as RuntimeRunCost, m as LoopResult, nt as RuntimeCanonicalStreamEvent, q as AgentTaskSpec, r as Driver, rt as RuntimeSession, tt as RunAgentTaskStreamOptions, z as AgentBackendContext } from "./types-DeX8ibLc.js";
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
- import { Cf as ValidationError, Rl as AnalystRegistry, Sf as RuntimeRunStateError, Wl as CoordinationEvent, _f as PlannerError, bf as RetainedRunAdmissionError, df as AgentEvalError, ff as AgentEvalErrorCode, fr as StructuralRolloutPolicy, gf as NotFoundError, hf as JudgeError, is as FinalizeContext, mf as ConfigError, os as SupervisorFinalizer, pf as BackendTransportError, vf as RetainedInteractiveAdmissionError, xf as RetainedRunDispatchBindingError, yf as RetainedInteractiveBindingError } from "./index-Dlz7ejRx.js";
4
+ import { Cf as ValidationError, Rl as AnalystRegistry, Sf as RuntimeRunStateError, Wl as CoordinationEvent, _f as PlannerError, bf as RetainedRunAdmissionError, df as AgentEvalError, ff as AgentEvalErrorCode, fr as StructuralRolloutPolicy, gf as NotFoundError, hf as JudgeError, is as FinalizeContext, mf as ConfigError, os as SupervisorFinalizer, pf as BackendTransportError, vf as RetainedInteractiveAdmissionError, xf as RetainedRunDispatchBindingError, yf as RetainedInteractiveBindingError } from "./index-CNqUQfuv.js";
5
5
  import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
6
- import { $t as sanitizeKnowledgeReadinessReport, A as ProviderModelExecutionEvidence, At as OtelSpan, B as Scope, Bt as padSpanId, Ct as EvalRunsExportConfig, Dt as OtelAttribute, Et as LoopSpanNode, Ft as createOpenInferenceFileExporter, Gt as RuntimeStreamEventSink, Ht as toOtelAttributes, It as createOtelExporter, J as SpendChannel, Jt as SanitizedKnowledgeReadinessReport, Kt as RuntimeStreamEventSummary, L as RootProviderModelEvidence, Lt as exportEvalRuns, Mt as buildLoopOtelSpans, Nt as buildLoopSpanNodes, Ot as OtelExportConfig, Pt as buildRuntimeEventOtelSpans, Q as Supervisor, Qt as sanitizeAgentRuntimeEvent, Rt as generateSpanId, St as EvalRunGeneration, Tt as INTELLIGENCE_WIRE_VERSION, Ut as RuntimeEventCollector, V as Settled, Vt as padTraceId, Wt as RuntimeStreamEventCollector, Xt as createRuntimeEventCollector, Y as SpendGap, Yt as SanitizedKnowledgeRequirement, Z as SupervisedResult, Zt as createRuntimeStreamEventCollector, _ as ExecutorRegistry, ct as WorkerTraceEvidence, en as sanitizeRuntimeStreamEvent, i as Budget, jt as RuntimeEventOtelOptions, k as ProviderModelAttemptEvidence, kt as OtelExporter, lt as WorkerTraceUnavailableReason, q as Spend, qt as RuntimeTelemetryOptions, r as AgentSpec, s as Executor, wt as EvalRunsExportResult, xt as EvalRunEvent, zt as loopEventToOtelSpan } from "./types-BPQhQRrC.js";
7
- import { U as WorktreeCheckRunner } from "./runtime-B-5dp5Iz.js";
6
+ import { $t as sanitizeKnowledgeReadinessReport, A as ProviderModelExecutionEvidence, At as OtelSpan, B as Scope, Bt as padSpanId, Ct as EvalRunsExportConfig, Dt as OtelAttribute, Et as LoopSpanNode, Ft as createOpenInferenceFileExporter, Gt as RuntimeStreamEventSink, Ht as toOtelAttributes, It as createOtelExporter, J as SpendChannel, Jt as SanitizedKnowledgeReadinessReport, Kt as RuntimeStreamEventSummary, L as RootProviderModelEvidence, Lt as exportEvalRuns, Mt as buildLoopOtelSpans, Nt as buildLoopSpanNodes, Ot as OtelExportConfig, Pt as buildRuntimeEventOtelSpans, Q as Supervisor, Qt as sanitizeAgentRuntimeEvent, Rt as generateSpanId, St as EvalRunGeneration, Tt as INTELLIGENCE_WIRE_VERSION, Ut as RuntimeEventCollector, V as Settled, Vt as padTraceId, Wt as RuntimeStreamEventCollector, Xt as createRuntimeEventCollector, Y as SpendGap, Yt as SanitizedKnowledgeRequirement, Z as SupervisedResult, Zt as createRuntimeStreamEventCollector, _ as ExecutorRegistry, ct as WorkerTraceEvidence, en as sanitizeRuntimeStreamEvent, i as Budget, jt as RuntimeEventOtelOptions, k as ProviderModelAttemptEvidence, kt as OtelExporter, lt as WorkerTraceUnavailableReason, q as Spend, qt as RuntimeTelemetryOptions, r as AgentSpec, s as Executor, wt as EvalRunsExportResult, xt as EvalRunEvent, zt as loopEventToOtelSpan } from "./types-Cz5mCGlY.js";
7
+ import { U as WorktreeCheckRunner } from "./runtime-DuueBLeO.js";
8
8
  import { A as BuildAgentCandidateBundleInput, C as DisposePreparedAgentCandidateOptions, D as AgentCandidateCodeSource, E as FileAgentCandidateExecutionClaimStoreOptions, M as AgentCandidateBundleInput, N as sealAgentCandidateBundle, O as AgentCandidateCodeSurfaceSource, S as exactProcessProviderAsCandidateExecutor, T as FileAgentCandidateExecutionClaimStore, _ as persistCandidateOutputArtifact, a as captureAgentCandidateWorkspace, b as candidateKnowledgeExecutionPaths, c as AGENT_CANDIDATE_EXECUTION_SUPPORT, d as recoverExpiredAgentCandidateExecution, f as AgentCandidateModelGrantRunReservationInput, g as runProtectedAgentCandidateModelGrant, h as RunProtectedAgentCandidateModelGrantResult, i as CreateAgentCandidateWorkspacePortOptions, j as buildAgentCandidateBundle, k as AgentCandidateProfileSource, l as verifyAgentCandidateBundle, m as RunProtectedAgentCandidateModelGrantOptions, n as CaptureAgentCandidateWorkspaceOptions, o as captureAgentCandidateWorkspaceFiles, p as ProtectedAgentCandidateModelGrantContext, r as CapturedAgentCandidateWorkspace, s as createAgentCandidateWorkspacePort, t as AgentCandidateWorkspaceArchiveLimits, u as RecoverExpiredAgentCandidateOptions, v as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, w as disposePreparedAgentCandidateExecution, x as ExactProcessCandidateExecutorOptions, y as CANDIDATE_KNOWLEDGE_ROOT_ENV } from "./index-DQv7iCeE.js";
9
9
  import { A as AgentCandidateExecutionPhase, B as AgentCandidatePreparationEvidence, C as AgentCandidateExecutionClaim, D as AgentCandidateExecutionFailureClass, E as AgentCandidateExecutionCleanupHandles, F as AgentCandidateExecutionTerminalResult, I as AgentCandidateRetryRejection, L as InMemoryAgentCandidateExecutionClaimStore, M as AgentCandidateExecutionRecoveryEvidence, N as AgentCandidateExecutionStageResult, O as AgentCandidateExecutionFinishResult, P as AgentCandidateExecutionTerminalRecord, R as InMemoryAgentCandidateExecutionClaimStoreOptions, S as AgentCandidateExecutionAttemptRef, T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, a as AgentCandidateModelGrantSettleInput, b as executePreparedAgentCandidate, c as agentCandidateProfileAsAgentProfile, d as freezeGenericAgentCandidateProfile, f as omitUndefinedObjectFields, g as parseExactCandidateProfile, h as parseExactAgentProfileDiff, i as AgentCandidateModelGrantReserveInput, j as AgentCandidateExecutionPhaseResult, k as AgentCandidateExecutionLease, l as applyExactAgentProfileDiff, m as parseExactAgentProfile, n as AgentCandidateModelGrantClient, o as CreateProtectedAgentCandidateModelPortOptions, r as AgentCandidateModelGrantReservation, s as createProtectedAgentCandidateModelPort, t as AgentCandidateModelGrantActivateInput, u as assertCandidateProfileBinding, v as prepareAgentCandidateExecution, w as AgentCandidateExecutionClaimResult, x as AgentCandidateExecutionAttemptRecord, y as ExecutePreparedAgentCandidateOptions, z as candidateExecutionClaim } from "./protected-model-port-B8ssMyUg.js";
10
10
  import { A as AgentCandidateWorkspacePort, B as ResolvedAgentCandidateContainer, C as AgentCandidateProtectedModelSettlement, D as AgentCandidateRunFinalization, E as AgentCandidateRepositoryPort, F as PreparedAgentCandidateExecution, H as VerifiedAgentCandidateTaskOutcome, I as PreparedAgentCandidateInstruction, L as PreparedAgentCandidateKnowledge, M as CANDIDATE_TRACE_TAGS, N as CanonicalCandidateDocument, O as AgentCandidateTaskExecution, P as PersistedTaskOutcomeEvidence, R as PreparedAgentCandidateLaunch, S as AgentCandidateProtectedModelReservation, T as AgentCandidateProtectedRunCapture, V as VerifiedAgentCandidate, _ as AgentCandidateModelLimits, a as AgentCandidateExecutionPorts, b as AgentCandidateOutputPurpose, c as AgentCandidateExecutorPort, d as AgentCandidateExecutorStopRequest, f as AgentCandidateExecutorTaskOutcomeCapture, g as AgentCandidateMemoryResetResult, h as AgentCandidateMemoryPort, i as AgentCandidateContainerPort, j as CANDIDATE_TRACE_ENV, k as AgentCandidateVerificationPorts, l as AgentCandidateExecutorProfileFile, m as AgentCandidateExecutorWorkspaceInput, n as AgentCandidateBenchmarkGraderIdentity, o as AgentCandidateExecutorFinalCapture, p as AgentCandidateExecutorWorkspaceFile, r as AgentCandidateBenchmarkGraderPort, s as AgentCandidateExecutorMemoryCapture, t as AgentCandidateArtifactPort, u as AgentCandidateExecutorRequest, v as AgentCandidateModelPort, w as AgentCandidateProtectedModelSettlementCall, x as AgentCandidateProtectedModelActivation, y as AgentCandidateOutputArtifactPort, z as PreparedAgentCandidateTrace } from "./types-19ZOddS3.js";
11
- import { $ as sleep, A as RunConversationOptions, B as buildForwardHeaders, C as ConversationResult, D as HaltPredicate, E as HaltContext, F as InMemoryConversationJournal, G as CircuitBreakerState, H as readDepth, I as DEFAULT_MAX_DEPTH, J as RetryBackoff, K as CircuitOpenError, L as FORWARD_HEADERS, M as ConversationJournal, N as ConversationJournalEntry, O as HaltReason, P as FileConversationJournal, Q as makePerAttemptSignal, R as ForwardHeaderName, S as ConversationPolicy, T as ConversationTurn, U as BackendCallPolicy, V as isDepthExceeded, W as CircuitBreakerConfig, X as computeBackoff, Y as RetryableErrorPredicate, Z as defaultIsRetryable, _ as createConversationBackend, a as RunPersonaConfig, b as ConversationDriveState, c as runPersonaDispatch, d as D1DatabaseLike, et as createProfileExecutionBackend, f as D1StmtLike, g as defineConversation, h as d1ToSqlAdapter, i as PersonaDriver, j as TurnOrder, k as HaltSignal, l as runConversation, m as SqlConversationJournal, n as turnId, o as RunPersonaConversationOptions, p as SqlAdapter, q as DeadlineExceededError, r as PersonaConversationResult, s as runPersonaConversation, t as slugifySpeaker, u as runConversationStream, v as AuthSource, w as ConversationStreamEvent, x as ConversationParticipant, y as Conversation, z as PropagatedHeaders } from "./index-LQfgFJoX.js";
12
- import { $ as agenticGenerator, A as ImprovementCandidate, B as ImprovementProfilePopulationLineage, C as ImproveProfileComponents, D as ImproveScenarioPartitions, E as ImproveRuntimeCodeGeneratorOptions, F as ImprovementProfileCandidatePopulationAvailable, G as ReadonlyAgentProfile, H as ImprovementProfilePopulationObservationSource, I as ImprovementProfileCandidatePopulationUnavailable, J as AgenticGeneratorShotDisposition, K as AgenticGeneratorExecutorForWorktree, L as ImprovementProfilePopulationArtifactSource, M as ImprovementMaterializedProfilePopulationCandidate, N as ImprovementProfileCandidate, O as ImproveSkillsOptions, P as ImprovementProfileCandidatePopulation, Q as VerifyResult, R as ImprovementProfilePopulationCandidate, S as ImproveProfileAgent, T as ImproveResult, U as ImprovementRefusedProfilePopulationCandidate, V as ImprovementProfilePopulationLineageNode, W as DeepReadonly, X as AgenticGeneratorShotReceipt, Y as AgenticGeneratorShotExecution, Z as Verifier, _ as ImproveMethodOptions, a as ImproveCandidateValidationInput, b as ImproveOptimizationRunOptions, c as ImproveCodeOptions, d as ImproveCost, et as commandVerifier, f as ImproveCustomCodeGeneratorOptions, g as ImproveMethodLineage, h as ImproveMethodFactory, i as improve, j as ImprovementCodeCandidate, k as ImproveSurface, l as ImproveCodeResult, m as ImproveMethodContext, nt as CandidateGenerator, o as ImproveCandidateValidator, p as ImproveLineage, q as AgenticGeneratorOptions, s as ImproveCodeBaseOptions, t as Redactor, tt as defaultBuildPrompt, u as ImproveCodeRunOptions, v as ImproveMethodResult, w as ImproveProfileSurface, x as ImproveOptions, y as ImproveMethodSource, z as ImprovementProfilePopulationCandidateSource } from "./redact-NAptmqKw.js";
13
- import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-BihHgUAI.js";
14
- import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-D-BW51yr.js";
11
+ import { $ as sleep, A as RunConversationOptions, B as buildForwardHeaders, C as ConversationResult, D as HaltPredicate, E as HaltContext, F as InMemoryConversationJournal, G as CircuitBreakerState, H as readDepth, I as DEFAULT_MAX_DEPTH, J as RetryBackoff, K as CircuitOpenError, L as FORWARD_HEADERS, M as ConversationJournal, N as ConversationJournalEntry, O as HaltReason, P as FileConversationJournal, Q as makePerAttemptSignal, R as ForwardHeaderName, S as ConversationPolicy, T as ConversationTurn, U as BackendCallPolicy, V as isDepthExceeded, W as CircuitBreakerConfig, X as computeBackoff, Y as RetryableErrorPredicate, Z as defaultIsRetryable, _ as createConversationBackend, a as RunPersonaConfig, b as ConversationDriveState, c as runPersonaDispatch, d as D1DatabaseLike, et as createProfileExecutionBackend, f as D1StmtLike, g as defineConversation, h as d1ToSqlAdapter, i as PersonaDriver, j as TurnOrder, k as HaltSignal, l as runConversation, m as SqlConversationJournal, n as turnId, o as RunPersonaConversationOptions, p as SqlAdapter, q as DeadlineExceededError, r as PersonaConversationResult, s as runPersonaConversation, t as slugifySpeaker, u as runConversationStream, v as AuthSource, w as ConversationStreamEvent, x as ConversationParticipant, y as Conversation, z as PropagatedHeaders } from "./index-DPFUNEdU.js";
12
+ import { $ as agenticGenerator, A as ImprovementCandidate, B as ImprovementProfilePopulationLineage, C as ImproveProfileComponents, D as ImproveScenarioPartitions, E as ImproveRuntimeCodeGeneratorOptions, F as ImprovementProfileCandidatePopulationAvailable, G as ReadonlyAgentProfile, H as ImprovementProfilePopulationObservationSource, I as ImprovementProfileCandidatePopulationUnavailable, J as AgenticGeneratorShotDisposition, K as AgenticGeneratorExecutorForWorktree, L as ImprovementProfilePopulationArtifactSource, M as ImprovementMaterializedProfilePopulationCandidate, N as ImprovementProfileCandidate, O as ImproveSkillsOptions, P as ImprovementProfileCandidatePopulation, Q as VerifyResult, R as ImprovementProfilePopulationCandidate, S as ImproveProfileAgent, T as ImproveResult, U as ImprovementRefusedProfilePopulationCandidate, V as ImprovementProfilePopulationLineageNode, W as DeepReadonly, X as AgenticGeneratorShotReceipt, Y as AgenticGeneratorShotExecution, Z as Verifier, _ as ImproveMethodOptions, a as ImproveCandidateValidationInput, b as ImproveOptimizationRunOptions, c as ImproveCodeOptions, d as ImproveCost, et as commandVerifier, f as ImproveCustomCodeGeneratorOptions, g as ImproveMethodLineage, h as ImproveMethodFactory, i as improve, j as ImprovementCodeCandidate, k as ImproveSurface, l as ImproveCodeResult, m as ImproveMethodContext, nt as CandidateGenerator, o as ImproveCandidateValidator, p as ImproveLineage, q as AgenticGeneratorOptions, s as ImproveCodeBaseOptions, t as Redactor, tt as defaultBuildPrompt, u as ImproveCodeRunOptions, v as ImproveMethodResult, w as ImproveProfileSurface, x as ImproveOptions, y as ImproveMethodSource, z as ImprovementProfilePopulationCandidateSource } from "./redact-BT7-mX8G.js";
13
+ import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-DU6lU9GO.js";
14
+ import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-mX79dLj2.js";
15
15
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-z-whdYNC.js";
16
16
  import { AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
17
17
  import { ControlBudget, ControlDecision, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult, ControlStep, DataAcquisitionPlan, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { a as JudgeError, c as RetainedInteractiveAdmissionError, d as RetainedRunDispatchBindingError, f as RuntimeRunStateError, i as ConfigError, l as RetainedInteractiveBindingError, m as ValidationError, o as NotFoundError, r as BackendTransportError, s as PlannerError, t as AgentEvalError, u as RetainedRunAdmissionError } from "./errors-CDZ8XsVj.js";
2
- import { a as normalizeBackendStreamEvent, c as nowIso, i as createSandboxPromptBackend, l as startOrResumeRuntimeSession, o as InMemoryRuntimeSessionStore, r as createIterableBackend, u as touchSession } from "./stream-agent-turn-D6HoaRPV.js";
3
- import { $ as parseExactAgentProfile, G as agentCandidateProfileAsAgentProfile, K as applyExactAgentProfileDiff, S as CANDIDATE_TRACE_TAGS, Y as freezeGenericAgentCandidateProfile, Z as omitUndefinedObjectFields, _ as candidateExecutionClaim, a as persistCandidateOutputArtifact, c as CANDIDATE_KNOWLEDGE_ROOT_ENV, et as parseExactAgentProfileDiff, f as verifyAgentCandidateBundle, h as InMemoryAgentCandidateExecutionClaimStore, l as candidateKnowledgeExecutionPaths, n as executePreparedAgentCandidate, q as assertCandidateProfileBinding, rt as canonicalCandidateDigest$1, s as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, st as immutableCandidateValue, t as prepareAgentCandidateExecution, tt as parseExactCandidateProfile, u as AGENT_CANDIDATE_EXECUTION_SUPPORT, x as CANDIDATE_TRACE_ENV } from "./prepare-C3eFd3UA.js";
4
- import { i as sealAgentCandidateBundle, n as captureAgentCandidateWorkspaceFiles, r as createAgentCandidateWorkspacePort, t as captureAgentCandidateWorkspace } from "./workspace-archive-Dm73lTfB.js";
5
- import { a as buildAgentCandidateBundle, i as FileAgentCandidateExecutionClaimStore, n as runProtectedAgentCandidateModelGrant, r as disposePreparedAgentCandidateExecution, t as recoverExpiredAgentCandidateExecution } from "./candidate-execution-CB9RJbbJ.js";
6
- import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-Dn2b6peS.js";
7
- import { C as makePerAttemptSignal, S as defaultIsRetryable, T as createProfileExecutionBackend, _ as readDepth, a as FileConversationJournal, b as DeadlineExceededError, c as createConversationBackend, d as slugifySpeaker, f as turnId, g as isDepthExceeded, h as buildForwardHeaders, i as d1ToSqlAdapter, l as runConversation, m as FORWARD_HEADERS, n as runPersonaDispatch, o as InMemoryConversationJournal, p as DEFAULT_MAX_DEPTH, r as SqlConversationJournal, s as defineConversation, t as runPersonaConversation, u as runConversationStream, v as CircuitBreakerState, w as sleep, x as computeBackoff, y as CircuitOpenError } from "./conversation-D64WyWrK.js";
8
- import { At as buildRuntimeEventOtelSpans, Bt as createRuntimeEventCollector, Dt as INTELLIGENCE_WIRE_VERSION, Ft as generateSpanId, Ht as sanitizeAgentRuntimeEvent, It as loopEventToOtelSpan, Lt as padSpanId, Mt as createOtelExporter, Nt as exportEvalRuns, Ot as buildLoopOtelSpans, Rt as padTraceId, Ut as sanitizeKnowledgeReadinessReport, Vt as createRuntimeStreamEventCollector, Wt as sanitizeRuntimeStreamEvent, jt as createOpenInferenceFileExporter, kt as buildLoopSpanNodes, zt as toOtelAttributes } from "./supervisor-DBVlPONC.js";
2
+ import { a as normalizeBackendStreamEvent, c as nowIso, i as createSandboxPromptBackend, l as startOrResumeRuntimeSession, o as InMemoryRuntimeSessionStore, r as createIterableBackend, u as touchSession } from "./stream-agent-turn-FRZAuXAL.js";
3
+ import { J as assertCandidateProfileBinding, K as agentCandidateProfileAsAgentProfile, Q as omitUndefinedObjectFields, S as CANDIDATE_TRACE_TAGS, X as freezeGenericAgentCandidateProfile, _ as candidateExecutionClaim, a as persistCandidateOutputArtifact, c as CANDIDATE_KNOWLEDGE_ROOT_ENV, ct as immutableCandidateValue, et as parseExactAgentProfile, f as verifyAgentCandidateBundle, h as InMemoryAgentCandidateExecutionClaimStore, it as canonicalCandidateDigest$1, l as candidateKnowledgeExecutionPaths, n as executePreparedAgentCandidate, nt as parseExactCandidateProfile, q as applyExactAgentProfileDiff, s as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, t as prepareAgentCandidateExecution, tt as parseExactAgentProfileDiff, u as AGENT_CANDIDATE_EXECUTION_SUPPORT, x as CANDIDATE_TRACE_ENV } from "./prepare-DcMjMdj-.js";
4
+ import { i as sealAgentCandidateBundle, n as captureAgentCandidateWorkspaceFiles, r as createAgentCandidateWorkspacePort, t as captureAgentCandidateWorkspace } from "./workspace-archive-bugA3OwU.js";
5
+ import { a as buildAgentCandidateBundle, i as FileAgentCandidateExecutionClaimStore, n as runProtectedAgentCandidateModelGrant, r as disposePreparedAgentCandidateExecution, t as recoverExpiredAgentCandidateExecution } from "./candidate-execution-Ic92NMl9.js";
6
+ import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BzUkspPP.js";
7
+ import { C as makePerAttemptSignal, S as defaultIsRetryable, T as createProfileExecutionBackend, _ as readDepth, a as FileConversationJournal, b as DeadlineExceededError, c as createConversationBackend, d as slugifySpeaker, f as turnId, g as isDepthExceeded, h as buildForwardHeaders, i as d1ToSqlAdapter, l as runConversation, m as FORWARD_HEADERS, n as runPersonaDispatch, o as InMemoryConversationJournal, p as DEFAULT_MAX_DEPTH, r as SqlConversationJournal, s as defineConversation, t as runPersonaConversation, u as runConversationStream, v as CircuitBreakerState, w as sleep, x as computeBackoff, y as CircuitOpenError } from "./conversation-DLYKdh6W.js";
8
+ import { At as buildLoopOtelSpans, Bt as padTraceId, Ft as exportEvalRuns, Gt as sanitizeKnowledgeReadinessReport, Ht as createRuntimeEventCollector, Kt as sanitizeRuntimeStreamEvent, Lt as generateSpanId, Mt as buildRuntimeEventOtelSpans, Nt as createOpenInferenceFileExporter, Pt as createOtelExporter, Rt as loopEventToOtelSpan, Ut as createRuntimeStreamEventCollector, Vt as toOtelAttributes, Wt as sanitizeAgentRuntimeEvent, jt as buildLoopSpanNodes, kt as INTELLIGENCE_WIRE_VERSION, zt as padSpanId } from "./supervisor-BmXD0WCJ.js";
9
9
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
10
- import { D as optimizerMethod, O as strategyAuthorMethod } from "./structural-rollout-P1YxFRfl.js";
11
- import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-CDxlGQGE.js";
12
- import { Bt as McpSpawnFault, Vt as connectStdioMcp } from "./runtime-RY_rvv7t.js";
10
+ import { D as optimizerMethod, O as strategyAuthorMethod } from "./structural-rollout-B1TocSdq.js";
11
+ import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-g6RsxGbg.js";
12
+ import { Bt as McpSpawnFault, Vt as connectStdioMcp } from "./runtime-DW9t84HW.js";
13
13
  import { n as defaultRedactorIdentityMaterial, r as resolveRedactor, t as defaultRedactor } from "./redact-D-u-rrcn.js";
14
- import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-DM-i40b9.js";
15
- import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-pD5WJuqJ.js";
16
- import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-CWBywy-e.js";
14
+ import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-BDoJh3Me.js";
15
+ import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-DyoELXnJ.js";
16
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DUOEbKMV.js";
17
17
  import { agentProfileSchema, canonicalAgentProfileDigest } from "@tangle-network/agent-interface";
18
18
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
19
19
  import { gepaOptimizationMethod, skillOptOptimizationMethod } from "@tangle-network/agent-eval/campaign";
@@ -1,11 +1,11 @@
1
1
  import { at as RuntimeStreamEvent, b as LoopTraceEvent } from "./types-DeX8ibLc.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { qt as RuntimeTelemetryOptions } from "./types-BPQhQRrC.js";
4
- import { ht as ToolSpec } from "./runtime-B-5dp5Iz.js";
5
- import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-DJG0yIYl.js";
3
+ import { qt as RuntimeTelemetryOptions } from "./types-Cz5mCGlY.js";
4
+ import { ht as ToolSpec } from "./runtime-DuueBLeO.js";
5
+ import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-C_QI6VCG.js";
6
6
  import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-B8ssMyUg.js";
7
7
  import { D as AgentCandidateRunFinalization, O as AgentCandidateTaskExecution, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-19ZOddS3.js";
8
- import { D as ImproveScenarioPartitions, T as ImproveResult, _ as ImproveMethodOptions, n as defaultRedactor, r as resolveRedactor, t as Redactor, v as ImproveMethodResult, x as ImproveOptions } from "./redact-NAptmqKw.js";
8
+ import { D as ImproveScenarioPartitions, T as ImproveResult, _ as ImproveMethodOptions, n as defaultRedactor, r as resolveRedactor, t as Redactor, v as ImproveMethodResult, x as ImproveOptions } from "./redact-BT7-mX8G.js";
9
9
  import { a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions } from "./activation-DyWB0K6E.js";
10
10
  import { AgentCandidateBenchmarkCellRef, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentCandidateLineage, AgentCandidateProfileActivation as CandidateProfileMaterialization, AgentImprovementActivation, AgentImprovementActivation as AgentImprovementActivation$1, AgentImprovementActivationIntent, AgentImprovementActivationIntent as AgentImprovementActivationIntent$1, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementActivationTargetState, AgentImprovementActivationTargetTransition, AgentImprovementEvaluation, AgentImprovementEvaluation as AgentImprovementEvaluation$1, AgentImprovementMeasuredComparison, AgentImprovementMeasuredComparison as AgentImprovementMeasuredComparison$1, AgentImprovementProposal, AgentImprovementProposal as AgentImprovementProposal$1, AgentImprovementReview, AgentImprovementReview as AgentImprovementReview$1, AgentImprovementReviewDecision, AgentImprovementReviewDecision as AgentImprovementReviewDecision$1, AgentImprovementSource, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRunReceipt, AgentProfileImprovementTaskMaterial, AgentProfileMcpServer, CandidateExecutionEvidence, CandidateExecutionEvidence as CandidateExecutionEvidence$1, Sha256Digest } from "@tangle-network/agent-interface";
11
11
  import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
@@ -1,10 +1,10 @@
1
- import { $ as parseExactAgentProfile, K as applyExactAgentProfileDiff, Q as parseAgentCandidateProfileActivation, Z as omitUndefinedObjectFields, rt as canonicalCandidateDigest$1, st as immutableCandidateValue, u as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-C3eFd3UA.js";
2
- import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-Dn2b6peS.js";
3
- import { At as buildRuntimeEventOtelSpans, Mt as createOtelExporter, Ot as buildLoopOtelSpans, Pt as flatOtelSpan } from "./supervisor-DBVlPONC.js";
4
- import { i as resolveAgentEnvironmentProvider } from "./environment-provider-D_MXw3jK.js";
5
- import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-CDxlGQGE.js";
1
+ import { $ as parseAgentCandidateProfileActivation, Q as omitUndefinedObjectFields, ct as immutableCandidateValue, et as parseExactAgentProfile, it as canonicalCandidateDigest$1, q as applyExactAgentProfileDiff, u as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-DcMjMdj-.js";
2
+ import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BzUkspPP.js";
3
+ import { At as buildLoopOtelSpans, It as flatOtelSpan, Mt as buildRuntimeEventOtelSpans, Pt as createOtelExporter } from "./supervisor-BmXD0WCJ.js";
4
+ import { i as resolveAgentEnvironmentProvider } from "./environment-provider-Dz9JB-X_.js";
5
+ import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-g6RsxGbg.js";
6
6
  import { r as resolveRedactor, t as defaultRedactor } from "./redact-D-u-rrcn.js";
7
- import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-DKxQsHiO.js";
7
+ import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-B4fRz8QL.js";
8
8
  import { agentImprovementSourceSchema, agentProfileImprovementArmSchema, applyAgentProfileDiff, defineAgentProfilePublicConfig } from "@tangle-network/agent-interface";
9
9
  import { contentHash } from "@tangle-network/agent-eval";
10
10
  import { assertProposalFindings } from "@tangle-network/agent-eval/analyst";
@@ -0,0 +1,59 @@
1
+ //#region src/durable/jsonl-file.ts
2
+ /** Parse an append-only JSONL file without treating a torn final write as committed data.
3
+ * A malformed newline-terminated or non-final record is corruption and fails loud. */
4
+ function parseCommittedJsonLines(text, source) {
5
+ const lines = text.split("\n");
6
+ const finalIndex = lines.length - 1;
7
+ const records = [];
8
+ for (const [index, line] of lines.entries()) {
9
+ if (line.length === 0) continue;
10
+ try {
11
+ records.push(JSON.parse(line));
12
+ } catch (cause) {
13
+ if (index === finalIndex && !text.endsWith("\n")) break;
14
+ throw new Error(`${source}: malformed JSONL record at line ${index + 1}`, { cause });
15
+ }
16
+ }
17
+ return records;
18
+ }
19
+ /** FileHandle.write may legally make a short write. Loop until every byte is appended. */
20
+ async function writeAllBytes(handle, value) {
21
+ const bytes = typeof value === "string" ? Buffer.from(value) : Buffer.from(value);
22
+ let offset = 0;
23
+ while (offset < bytes.byteLength) {
24
+ const { bytesWritten } = await handle.write(bytes, offset, bytes.byteLength - offset, null);
25
+ if (bytesWritten <= 0) throw new Error(`append-only file write made no progress at byte ${offset}`);
26
+ offset += bytesWritten;
27
+ }
28
+ }
29
+ /** Prepare a recovered JSONL file for its next append. A valid unterminated final value is retained
30
+ * and needs a separator; an invalid unterminated tail was never committed and is truncated. */
31
+ async function prepareJsonlAppend(path) {
32
+ const fs = await import("node:fs/promises");
33
+ let bytes;
34
+ try {
35
+ bytes = await fs.readFile(path);
36
+ } catch (error) {
37
+ if (isNoEntError(error)) return false;
38
+ throw error;
39
+ }
40
+ if (bytes.byteLength === 0 || bytes[bytes.byteLength - 1] === 10) return false;
41
+ const lastNewline = bytes.lastIndexOf(10);
42
+ const tail = bytes.subarray(lastNewline + 1).toString("utf8");
43
+ try {
44
+ JSON.parse(tail);
45
+ return true;
46
+ } catch {
47
+ await fs.truncate(path, lastNewline + 1);
48
+ return false;
49
+ }
50
+ }
51
+ /** True for a filesystem error meaning "the file is not there yet" — the one condition an
52
+ * append-only reader treats as an empty log rather than a fault. */
53
+ function isNoEntError(error) {
54
+ return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
55
+ }
56
+ //#endregion
57
+ export { writeAllBytes as i, parseCommittedJsonLines as n, prepareJsonlAppend as r, isNoEntError as t };
58
+
59
+ //# sourceMappingURL=jsonl-file-CDfsCI5s.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl-file-CDfsCI5s.js","names":[],"sources":["../src/durable/jsonl-file.ts"],"sourcesContent":["import type { FileHandle } from 'node:fs/promises'\n\n/** Parse an append-only JSONL file without treating a torn final write as committed data.\n * A malformed newline-terminated or non-final record is corruption and fails loud. */\nexport function parseCommittedJsonLines<T>(text: string, source: string): T[] {\n const lines = text.split('\\n')\n const finalIndex = lines.length - 1\n const records: T[] = []\n\n for (const [index, line] of lines.entries()) {\n if (line.length === 0) continue\n try {\n records.push(JSON.parse(line) as T)\n } catch (cause) {\n const isInvalidUnterminatedTail = index === finalIndex && !text.endsWith('\\n')\n if (isInvalidUnterminatedTail) break\n throw new Error(`${source}: malformed JSONL record at line ${index + 1}`, { cause })\n }\n }\n\n return records\n}\n\n/** FileHandle.write may legally make a short write. Loop until every byte is appended. */\nexport async function writeAllBytes(\n handle: Pick<FileHandle, 'write'>,\n value: string | Uint8Array,\n): Promise<void> {\n const bytes = typeof value === 'string' ? Buffer.from(value) : Buffer.from(value)\n let offset = 0\n while (offset < bytes.byteLength) {\n const { bytesWritten } = await handle.write(bytes, offset, bytes.byteLength - offset, null)\n if (bytesWritten <= 0) {\n throw new Error(`append-only file write made no progress at byte ${offset}`)\n }\n offset += bytesWritten\n }\n}\n\n/** Prepare a recovered JSONL file for its next append. A valid unterminated final value is retained\n * and needs a separator; an invalid unterminated tail was never committed and is truncated. */\nexport async function prepareJsonlAppend(path: string): Promise<boolean> {\n const fs = await import('node:fs/promises')\n let bytes: Buffer\n try {\n bytes = await fs.readFile(path)\n } catch (error) {\n if (isNoEntError(error)) return false\n throw error\n }\n if (bytes.byteLength === 0 || bytes[bytes.byteLength - 1] === 0x0a) return false\n\n const lastNewline = bytes.lastIndexOf(0x0a)\n const tail = bytes.subarray(lastNewline + 1).toString('utf8')\n try {\n JSON.parse(tail)\n return true\n } catch {\n await fs.truncate(path, lastNewline + 1)\n return false\n }\n}\n\n/** True for a filesystem error meaning \"the file is not there yet\" — the one condition an\n * append-only reader treats as an empty log rather than a fault. */\nexport function isNoEntError(error: unknown): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n 'code' in error &&\n (error as { code: unknown }).code === 'ENOENT'\n )\n}\n"],"mappings":";;;AAIA,SAAgB,wBAA2B,MAAc,QAAqB;CAC5E,MAAM,QAAQ,KAAK,MAAM,IAAI;CAC7B,MAAM,aAAa,MAAM,SAAS;CAClC,MAAM,UAAe,CAAC;CAEtB,KAAK,MAAM,CAAC,OAAO,SAAS,MAAM,QAAQ,GAAG;EAC3C,IAAI,KAAK,WAAW,GAAG;EACvB,IAAI;GACF,QAAQ,KAAK,KAAK,MAAM,IAAI,CAAM;EACpC,SAAS,OAAO;GAEd,IADkC,UAAU,cAAc,CAAC,KAAK,SAAS,IAAI,GAC9C;GAC/B,MAAM,IAAI,MAAM,GAAG,OAAO,mCAAmC,QAAQ,KAAK,EAAE,MAAM,CAAC;EACrF;CACF;CAEA,OAAO;AACT;;AAGA,eAAsB,cACpB,QACA,OACe;CACf,MAAM,QAAQ,OAAO,UAAU,WAAW,OAAO,KAAK,KAAK,IAAI,OAAO,KAAK,KAAK;CAChF,IAAI,SAAS;CACb,OAAO,SAAS,MAAM,YAAY;EAChC,MAAM,EAAE,iBAAiB,MAAM,OAAO,MAAM,OAAO,QAAQ,MAAM,aAAa,QAAQ,IAAI;EAC1F,IAAI,gBAAgB,GAClB,MAAM,IAAI,MAAM,mDAAmD,QAAQ;EAE7E,UAAU;CACZ;AACF;;;AAIA,eAAsB,mBAAmB,MAAgC;CACvE,MAAM,KAAK,MAAM,OAAO;CACxB,IAAI;CACJ,IAAI;EACF,QAAQ,MAAM,GAAG,SAAS,IAAI;CAChC,SAAS,OAAO;EACd,IAAI,aAAa,KAAK,GAAG,OAAO;EAChC,MAAM;CACR;CACA,IAAI,MAAM,eAAe,KAAK,MAAM,MAAM,aAAa,OAAO,IAAM,OAAO;CAE3E,MAAM,cAAc,MAAM,YAAY,EAAI;CAC1C,MAAM,OAAO,MAAM,SAAS,cAAc,CAAC,CAAC,CAAC,SAAS,MAAM;CAC5D,IAAI;EACF,KAAK,MAAM,IAAI;EACf,OAAO;CACT,QAAQ;EACN,MAAM,GAAG,SAAS,MAAM,cAAc,CAAC;EACvC,OAAO;CACT;AACF;;;AAIA,SAAgB,aAAa,OAAyB;CACpD,OACE,OAAO,UAAU,YACjB,UAAU,QACV,UAAU,SACT,MAA4B,SAAS;AAE1C"}
package/dist/kernel.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { C as MountRecorder, D as SelectionReceipt, E as SandboxClient, O as ValidationCtx, S as MountManifestEntry, T as RunProvenance, _ as LoopTeardownFailedPayload, a as Iteration, b as LoopTraceEvent, c as LoopIterationDispatchPayload, d as LoopLineageOptions, f as LoopPlanDescription, g as LoopStartedPayload, h as LoopSandboxPlacement, i as ExecCtx, k as Validator, l as LoopIterationEndedPayload, m as LoopResult, n as DefaultVerdict, o as LoopDecisionPayload, p as LoopPlanPayload, r as Driver, s as LoopEndedPayload, t as AgentRunSpec, u as LoopIterationStartedPayload, v as LoopTokenUsage, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-DeX8ibLc.js";
2
- import { $ as WorkerToolTraceArtifact, $a as loopDispatch, $c as completionAuthorizes, $i as panel, $l as MakeWorkerAgent, $n as assessAuthoredProfile, $o as SupervisorSpanOptions, $r as StdioMcpServerSpec, $s as FlatWidenGate, A as EVIDENCE_MAX_CHARS, Aa as RunAgenticOptions, Ac as Persona, Af as createEventBus, Ai as startRetainedInteractiveRun, Al as plateauLength, An as serveCoordinationMcp, Ar as EvolutionArchiveNode, As as HarvestCorpusOptions, At as workerCancellationsDir, B as withUntrackedArtifacts, Ba as breadthStrategy, Bc as LeaderboardBenchTask, Bf as InMemoryResultBlobStore, Bi as equalKOnCost, Bl as AuthorizeDownMessage, Bn as chatWorkerSeam, Bo as ProgressTracker, Br as runStrategyEvolution, Bs as AssertTraceDerivedFindings, Bt as PatchDeliverableOptions, C as SurfaceWorkerOut, Ca as AgenticOptions, Cc as WidenLineage, Ci as recoverRetainedRun, Cl as defaultAuditorInstruction, Cn as freeSlots, Co as SupervisorNodeContextSeed, Cr as resolveEntrySymbol, Cs as LocalSandboxClientOptions, Ct as runCancellationFile, D as AuthoredHarness, Da as AgenticTool, Dc as DefinePersonaInput, Df as BusStats, Di as claimRetainedInteractiveControl, Dl as anytimeReport, Dn as defaultDelegateBudget, Do as assertCoordinationBinding, Dr as visibleCheckScore, Ds as InProcessPromptCtx, Dt as supervisorWorkersDir, E as superviseSurface, Ea as AgenticTask, Ec as DefinePersona, Ef as BusRecord, Ei as ClaimRetainedInteractiveControlOptions, El as AnytimeTaskCurve, En as DelegateOptions, Eo as SupervisorToolInvocationContext, Er as structuralRollout, Es as InProcessOnPrompt, Et as supervisorRunsRoot, F as composeWorkerEvidence, Fa as StrategyMessage, Fc as ShapeBudget, Ff as ExecutorResultMapping, Fi as promotionGate, Fl as createWaterfallCollector, Fn as ChatSessionStore, Fo as PriorCoordination, Fr as EvolutionReport, Fs as ObserveInput, Ft as InMemoryRunContext, G as WorkspaceRun, Ga as sample, Gc as LeaderboardScenario, Gf as SpawnForestMissingTree, Gi as definePersona, Gl as CoordinationStats, Gn as ReservationRejection, Go as allOf, Gr as authorStrategy, Gs as EqualKArm, Gt as AgentGraph, H as Shell, Ha as depthStrategy, Hc as LeaderboardFlagSpec, Hf as SpawnForest, Hi as builtinShapes, Hl as ContinuationInstruction, Hn as BudgetPool, Ho as ProgressView, Hr as AuthorStrategyOptions, Hs as Corpus, Ht as WorktreeCliExecutorOptions, I as settledWorkerOut, Ia as StrategyResult, Ic as ShapeContext, If as gateOnDeliverable, Ii as profileChatClient, Il as AnalystFindingEvent, In as ChatTransportExecutorOptions, Io as AllWorkersStalledOptions, Ir as ReproductionCheck, Is as ObserveOptions, It as InMemoryRunContextOptions, J as localShell, Ja as LoopDispatchOptions, Jc as defineLeaderboard, Jf as loadSpawnForest, Ji as InMemoryCorpus, Jl as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Jn as spendFromUsageEvents, Jo as createProgressTracker, Jr as LocalMcpMaterialization, Js as EqualKVerdict, Jt as GraphEdge, K as gitWorkspace, Ka as sampleThenRefine, Kc as LeaderboardScore, Kf as SpawnForestNode, Ki as runPersonified, Kn as ReservationTicket, Ko as allWorkersStalled, Kr as strategyAuthorContract, Ks as EqualKOnCost, Kt as EdgeDeliveryOutcome, L as CopyOptions, La as StrategyShotResult, Lc as ShapeRegistry, Lf as mapExecutorResult, Li as profileOptimizerModelCall, Ll as AnalystLensOutput, Ln as ChatTransportTool, Lo as NoProgressForOptions, Lr as StrategyEvolutionConfig, Ls as defaultAnalystInstruction, Lt as RunContext, M as VERIFY_TAIL_CHARS, Ma as Strategy, Mc as PersonaExecutors, Mf as defaultToolDetectors, Mi as resolveSandboxClient, Ml as WaterfallCollector, Mo as CoordinationLog, Mr as EvolutionBandInfo, Ms as HarvestReport, Mt as workerInboxFile, N as WorkerEvidenceInput, Na as StrategyArtifacts, Nc as RunPersonified, Nf as watchTrace, Ni as PromotionGateOptions, Nl as WaterfallReport, Nn as finalizeBestDelivered, No as CoordinationOwnerId, Nr as EvolutionCandidate, Ns as harvestCorpus, Nt as workerInboxFileFromEventDir, O as WorktreeFanoutOptions, Oa as ArtifactHandle, Oc as LoopShape, Of as EventBus, Oi as reconnectRetainedInteractiveRun, Ol as areaUnderCurve, On as delegate, Oo as resolveSupervisorProfile, Or as ChampionPick, Os as InProcessSandboxClientOptions, Ot as workerCancelRequestsFile, P as closingWorkerNote, Pa as StrategyCtx, Pc as RunPersonifiedOptions, Pf as DeliverableSpec, Pi as PromotionVerdict, Pl as WaterfallSpan, Pn as ChatCompletionsTransport, Po as FileCoordinationLog, Pr as EvolutionGeneration, Ps as Observation, Pt as writeWorkerSteer, Q as WORKER_TOOL_TRACE_SCHEMA_VERSION, Qa as loopCampaignDispatch, Qc as CompletionVerdict, Qf as contentAddress, Qi as loopUntil, Ql as DownMessageEvent, Qn as asAuthoredProfile, Qo as SupervisorSpanAttributes, Qr as StdioMcpConnection, Qs as FanoutWinnerSelector, Qt as RunGraphOptions, R as UntrackedCopyStats, Ra as SurfaceScore, Rc as DefinedLeaderboard, Rf as FileResultBlobStore, Ri as assertModelAllowed, Rl as AnalystRegistry, Rn as ChatWorkerSeamOptions, Ro as PlateauOptions, Rr as discriminatingMeans, Rs as observe, Rt as createFileRunContext, S as SurfaceWorkerConfig, Sa as runBenchmark, Sc as WidenDecision, Si as reconnectRetainedRun, Sl as auditIntent, Sn as effectiveConcurrency, So as SupervisorNodeContext, Sr as officialChecksFromMeta, Ss as runAgentRounds, St as runCancelRequestFile, T as failuresAnalyst, Ta as AgenticSurface, Tc as WinnerStrategy, Tf as BusEvent, Ti as startRetainedRunInEnvironment, Tl as AnytimeStrategySummary, Tn as rollingDispatch, To as SupervisorToolDescriptor, Tr as selectBestIndex, Ts as inlineSandboxClient, Tt as supervisorRunDir, U as Workspace, Ua as refine, Uc as LeaderboardIterationInfo, Uf as SpawnForestEvent, Ui as createShapeRegistry, Ul as ContinuityMode, Un as BudgetPoolRestore, Uo as StopDecision, Ur as AuthoredStrategy, Us as CorpusFilter, Ut as WorktreePatchArtifact, V as GitWorkspaceOptions, Va as defineStrategy, Vc as LeaderboardBenchmarkAdapter, Vf as InMemorySpawnJournal, Vi as trajectoryReport, Vl as AuthorizedDownMessage, Vn as createChatSessionStore, Vo as ProgressTrackerOptions, Vr as selectChampion, Vs as CombinatorShape, Vt as patchDelivered, W as WorkspaceCommit, Wa as runAgentic, Wc as LeaderboardRunContext, Wf as SpawnForestInDoubtNode, Wi as registerShape, Wl as CoordinationEvent, Wn as BudgetReadout, Wo as StopRule, Wr as assertStrategyContract, Ws as CorpusRecord, Wt as createWorktreeCliExecutor, X as TrajectoryAnalysis, Xa as SuperviseDispatchOptions, Xc as CompletionEvidence, Xf as pendingWaits, Xi as fanout, Xl as DownMessageDeliveryAttempt, Xn as ProfileRichness, Xo as plateau, Xr as McpSpawnFault, Xs as FanoutOptions, Xt as GraphNode, Y as runInWorkspace, Ya as LoopOptionsForDispatch, Yc as CompletionAnalyst, Yf as materializeTreeView, Yi as renderCorpusToInstructions, Yl as DownMessageAuthorizationInput, Yn as AuthoredProfile, Yo as noProgressFor, Yr as MaterializeLocalMcpOptions, Ys as Fanout, Yt as GraphEdgeCapError, Z as analyzeTrace, Za as SuperviseOptionsForDispatch, Zc as CompletionPolicy, Zf as replaySpawnTree, Zi as flatWidenGate, Zl as DownMessageDeliveryOutcome, Zn as ProfileRichnessThresholds, Zo as sampleFromSettled, Zr as McpToolDescriptor, Zs as FanoutSynthesis, Zt as GraphResult, _ as boxSurfaceReader, _a as BenchmarkReport, _c as TrajectoryReportFn, _i as CriuCapableClient, _l as renderLeaderboardSvg, _n as ConcurrencyCaps, _o as ResolveDriveHarness, _r as composeCheckSources, _s as RunAgentRoundsOptions, _t as readRunCancelRequest, _u as normalizeAnalyzeOnSettle, a as SandboxInstance, aa as RegistryAnalyzeProjection, ac as PanelSpec, ai as OpenSandboxRunPromptOptions, al as Interval, an as PromptRegistry, ao as SuperviseOptions, ar as CheckRunContext, as as FinalizerSettled, at as ScopeArgs, b as SuperviseSurfaceOptions, ba as Environment, bc as VerifySpec, bi as AcquireOptions, bl as AuditIntentOptions, bn as DispatchUnit, bo as SupervisorAgentDeps, br as filterAuthoredAsserts, bs as defaultSelectWinner, bt as readWorkerCancellation, c as VerifierEnvironmentOptions, ca as createScopeAnalyst, cc as PipelineStage, ci as TurnResult, cl as LeaderboardRow, cn as createPromptRegistry, cr as CheckSourceCtx, cs as collectDelivered, ct as RunCancelRequest, cu as SpawnPreflight, d as HarvestSurfaceDiffsOptions, da as McpEnvironmentOptions, dc as ScopeAnalyst, di as CheckpointCapableBox, dl as ProfileKeyOf, dn as dumbContinuationPassPrompt, do as workerFromBackend, dr as StructuralRolloutMessage, ds as DriverAttemptRecord, dt as WorkerCancellation, du as SpawnRefusalCause, ea as pipeline, ec as LoopUntil, ei as connectStdioMcp, el as deterministicCompletion, en as TraversalContinuity, eo as superviseDispatch, er as defaultProfileRichnessThresholds, es as SupervisorSpanOutcome, et as captureWorkerTraceEvidence, f as SurfaceDiff, fa as createMcpEnvironment, fc as ScopeAnalyzeInput, fi as ForkCapableBox, fl as ScoreOf, fn as formatPromptHandle, fo as CoordinationBinding, fr as StructuralRolloutPolicy, fs as DriverAttemptStop, ft as WorkerSteerRequest, fu as WorkerResumeContext, g as WatchedSurface, ga as BenchmarkLift, gc as TrajectoryReport, gi as createSandboxLineage, gl as renderLeaderboardMarkdown, gn as supervisorPolicyPrompt, go as ObserveSupervisorNodeEvent, gr as compareCheckOutcomes, gs as classifyDriverFailure, gt as legacySupervisorRunsRoot, h as SurfaceReader, ha as BenchmarkConfig, hc as TrajectoryNode, hi as SessionCapableBox, hl as renderLeaderboardHtml, hn as promptHandle, ho as DriveHarnessOwnerContext, hr as canDisplace, hs as DriverRetryPolicy, ht as legacySupervisorRunDir, hu as canonicalFindingEvent, i as SandboxEvent, ia as CreateScopeAnalystOptions, ic as PanelJudge, ii as OpenSandboxRunOptions, il as GroupOf, in as PromptHandle, io as DeliverableResolutionInput, ir as CheckOutcome, is as FinalizeContext, it as createSupervisor, j as NOTE_MAX_CHARS, ja as ShotSpec, jc as PersonaContext, jf as WatchTraceOptions, ji as ResolveSandboxClientOptions, jl as renderAnytimeTable, jo as CoordinationDeliveryEvidence, jr as EvolutionAuthor, js as HarvestFailure, jt as workerControlLogFile, k as worktreeFanout, ka as CorpusReadbackOptions, kc as Outcome, kf as PublishOptions, ki as recoverRetainedInteractiveRun, kl as bestSoFar, kn as CoordinationMcpHandle, ko as supervisorAgent, kr as ChampionPolicy, ks as inProcessSandboxClient, kt as workerCancellationFile, l as createVerifierEnvironment, la as registryScopeAnalyst, lc as RenderCorpusToInstructions, li as openSandboxRun, ll as PairwiseOptions, ln as delegatesWorkerBriefPrompt, lo as supervise, lr as RepairStop, ls as pickBestDelivered, lt as RunCancellation, lu as SpawnPreflightContext, m as SurfaceReadOutcome, ma as BenchmarkCell, mc as SteerContext, mi as SandboxLineageHandle, ml as pairwiseSignificance, mn as naiveContinuationPrompt, mo as DriveHarness, mr as VisibleCheck, ms as DriverProgressMark, mt as cancelWorker, mu as WorkerWatchOptions, n as AnalystFinding, na as verify, nc as LoopUntilState, ni as Deliverable, nl as stopSentinel, nn as runGraph, no as AuthorizedSpawnContext, nr as supervisorInstructions, ns as createSupervisorSpanRecorder, nt as workerTraceAnalysisStore, o as computeFindingId, oa as assertTraceDerivedFindings, oc as PanelVerdict, oi as SandboxRun, ol as Leaderboard, on as RegisteredPrompt, oo as SuperviseRegistry, or as CheckRunner, os as SupervisorFinalizer, ot as createScope, p as SurfaceReadBox, pa as sanitizeMcpToolSchema, pc as ScopeWidenGate, pi as SandboxLineage, pl as leaderboard, pn as kernelPromptRegistry, po as CoordinationVerbs, pr as StructuralRolloutResult, ps as DriverAttemptsExhaustedError, pt as cancelRun, pu as WorkerSpawnContext, q as jjWorkspace, qa as LoopCampaignDispatchOptions, qc as LeaderboardSpec, qf as SpawnForestTree, qi as FileCorpus, qn as createBudgetPool, qo as anyOf, qr as strategyAuthorSystemPrompt, qs as EqualKOnCostOptions, qt as EdgeTraversal, r as CreateSandboxOptions, ra as widen, rc as Panel, ri as OpenSandboxRunBeforeStartContext, rl as AxisScoresOf, ro as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, rr as CheckExecChannel, rs as DeliveredOutput, rt as createRootHandle, s as makeFinding, sa as buildSteerContext, sc as Pipeline, si as SandboxRunAbortError, sl as LeaderboardOptions, sn as analyzesFindingsReportPrompt, so as SuperviseRegistryTable, sr as CheckSource, ss as bestDelivered, st as settledToIteration, t as AgentProfile, ta as selectValidWinner, tc as LoopUntilSpec, ti as materializeLocalMcp, tl as sentinelCompletion, tn as defaultEdgeTraversalCap, to as AuthorizedSpawn, tr as profileRichnessFinding, ts as SupervisorSpanRecorder, tt as parseWorkerToolTraceArtifact, u as BoxSurfaceReaderOptions, ua as McpEndpoint, uc as RenderCorpusToInstructionsOptions, ui as BranchCapableBox, ul as PairwiseVerdict, un as dumbContinuationFailPrompt, ur as StructuralRolloutConfig, us as runFinalizer, ut as WorkerCancelRequest, uu as SpawnRefusal, v as fsSurfaceReader, va as BenchmarkStrategySummary, vc as TrajectoryReportOptions, vi as SandboxCapabilities, vl as renderPairwiseMarkdown, vn as DispatchReport, vo as ResolveSupervisorTools, vr as defaultExtractCandidate, vs as TERMINAL_DECISIONS, vt as readRunCancellation, w as analystsFromRegistry, wa as AgenticRunResult, wc as WidenSpec, wi as startRetainedRun, wl as AnytimeReport, wn as queueOf, wo as SupervisorProfile, wr as sandboxCheckRunner, ws as localSandboxClient, wt as safeWorkerFile, x as SuperviseSurfaceResult, xa as printBenchmarkReport, xc as Widen, xi as acquireSandbox, xl as IntentAudit, xn as RollingDispatchOptions, xr as modelAuthoredChecks, xs as isTerminalDecision, xt as readWorkerSteerRequests, y as harvestSurfaceDiffs, ya as BenchmarkTaskRow, yc as Verify, yi as probeSandboxCapabilities, yl as AuditIntentInput, yn as DispatchStopReason, yo as ResolvedSupervisorProfile, yr as defaultStructuralRolloutPolicy, ys as TerminalDecision, yt as readWorkerCancelRequests, z as copyUntrackedIntoClone, za as adaptiveRefine, zc as LeaderboardBenchScore, zf as FileSpawnJournal, zi as assertProfileModelsAllowed, zl as AnalyzeOnSettleRoute, zn as chatTransportExecutor, zo as ProgressSample, zr as pickChampion, zs as renderReport, zt as createInMemoryRunContext } from "./index-Dlz7ejRx.js";
3
- import { $ as SupervisorOpts, $n as RetainedRunHandle, A as ProviderModelExecutionEvidence, An as RetainedInteractiveAdmissionHook, B as Scope, Bn as RecoverRetainedRunResult, C as NoWinnerError, Cn as ExecutorProgress, D as NodeStatus, Dn as readWorkerProgress, E as NodeSnapshot, En as createActivityLog, F as RootHandle, Fn as NativeContextContinuationExecution, Ft as createOpenInferenceFileExporter, G as SpawnPrior, Gn as RetainedRunAdmission, H as SpawnEvent, Hn as RetainedInteractiveEnvironmentAdmission, I as RootMaterialization, In as NativeContextContinuationInput, It as createOtelExporter, J as SpendChannel, Jn as RetainedRunCancellation, K as SpawnRejection, Kn as RetainedRunAdmissionHook, L as RootProviderModelEvidence, Ln as ReconnectRetainedRunOptions, M as ResultBlobStore, Mn as RetainedInteractiveRunHandle, N as ResumedKeyState, Nn as RetainedInteractiveStartMaterial, O as ProfileMaterializationReceipt, On as ReconnectRetainedInteractiveRunOptions, P as ResumedWork, Pn as StartRetainedInteractiveRunOptions, Q as Supervisor, Qn as RetainedRunEventOptions, R as RootSignal, Rn as RecoverRetainedRunIntentOptions, S as MaterializedModelIdentity, Sn as DEFAULT_STALL_AFTER_MS, T as NodeId, Tn as WorkerProgress, U as SpawnJournal, Un as RetainedInteractiveIntentAdmission, V as Settled, Vn as RetainedInteractiveAdmission, W as SpawnOpts, Wn as RetainedInteractiveStartedAdmission, X as SteerableRootHandle, Xn as RetainedRunEffect, Y as SpendGap, Yn as RetainedRunDispatchedAdmission, Z as SupervisedResult, Zn as RetainedRunEnvironmentAdmission, _ as ExecutorRegistry, _n as createPushTraceSource, an as WaitRejection, ar as StartRetainedRunOptions, at as WidenGate, b as Handle, bn as ActivityLog, c as ExecutorAccounting, cn as isWaitOutcome, ct as WorkerTraceEvidence, d as ExecutorContext, dn as validateWaitSpec, dt as WorkerTraceSeamCarrier, er as RetainedRunIntentAdmission, et as TreeView, f as ExecutorExecutionBinding, fn as waitUntil, ft as readWorkerTraceContext, g as ExecutorProgressEvent, gn as TraceSource, h as ExecutorNodeContext, hn as ToolStepInput, ht as workerTraceSeamKey, i as Budget, in as WaitProbeRegistry, ir as StartRetainedRunInEnvironmentOptions, it as WaitOpts, j as Restart, jn as RetainedInteractiveEnvironmentInput, k as ProviderModelAttemptEvidence, kn as RecoverRetainedInteractiveRunOptions, l as ExecutorCancellation, ln as pollFor, lt as WorkerTraceUnavailableReason, m as ExecutorMaterialization, mn as SessionTraceBox, mt as workerTraceHeaders, n as AgentExecutionRef, nn as WaitOutcome, nr as RetainedRunSnapshot, nt as UnknownMaterializationReason, o as ExecutionBindingReceipt, on as WaitSpec, ot as WorkerInteractiveSession, p as ExecutorFactory, pn as SessionMessageLike, pt as workerTraceEnv, q as Spend, qn as RetainedRunCancelOptions, r as AgentSpec, rn as WaitProbe, rr as RetainedRunStartMaterial, rt as UsageEvent, s as Executor, sn as createWaitProbes, st as WorkerInteractiveUnavailableReason, t as Agent, tn as PendingWait, tr as RetainedRunReplayPoint, tt as UnconfirmedTeardown, u as ExecutorCancellationRequest, un as timerAt, ut as WorkerTraceResolver, v as ExecutorResult, vn as decodeToolPart, w as NodeExecutionIdentity, wn as ScopeProgressInput, x as MaterializedExecutionIdentity, xn as ActivityNote, y as ExecutorToolCall, yn as sandboxSessionTraceSource, z as Runtime, zn as RecoverRetainedRunOptions } from "./types-BPQhQRrC.js";
4
- import { A as extractLlmCallEvent, At as PeerMailReadout, B as resolveMcpServerLaunch, C as createInbox, Ct as DEFAULT_PEER_MAIL_LIMITS, D as SandboxToolPartState, Dt as PeerMailKind, E as SandboxServedBackend, Et as PeerMailEvent, F as sumSandboxUsage, Ft as claimsAuthority, G as WorktreeHarnessResult, H as secretEnvOfMcpServer, I as KeyProvider, It as createPeerMailbox, K as WorktreeProfileMaterializationReceipt, L as ResolvedMcpServerLaunch, Lt as isPeerMailEnvelope, M as mapSandboxToolEvent, Mt as PeerMailSendInput, N as sandboxEventServedBackend, Nt as PeerMailbox, O as assertSandboxServedModel, Ot as PeerMailLimits, P as sandboxProgressEvents, Pt as PeerMailboxOptions, R as envKeyProvider, Rt as peerMailTools, S as PeerInboxMessage, St as AUTHORITY_MARKERS, T as SandboxOutputMarker, Tt as PeerMailEnvelope, U as WorktreeCheckRunner, V as resolveSecretEnv, W as WorktreeCommandResult, _ as SteerableSandboxSession, _t as ToolLoopChat, a as CliWorktreeSeam, b as Inbox, bt as ToolLoopMessageRecord, c as RouterSeam, d as cliWorktreeExecutor, f as createExecutor, g as SteerableSandboxArgs, gt as ToolLoopCallContext, h as SandboxSteeringOptions, ht as ToolSpec, i as CliWorktreeBridgeSeam, j as mapSandboxEvent, jt as PeerMailRefusal, k as createSandboxToolPartState, kt as PeerMailOutcome, l as RouterToolsSeam, m as DEFAULT_SANDBOX_STEERING_MAX_TURNS, mt as RouterTransportConfig, n as BridgeSeam, o as ExecutorConfig, p as createExecutorRegistry, r as CliSeam, s as ProviderSeam, t as BridgeModelCredential, u as SandboxSeam, v as createSteerableSandboxSession, vt as ToolLoopCompaction, w as SandboxLeafOut, wt as PEER_MAIL_WIRE_KEY, x as InboxMessage, xt as ToolLoopToolCall, y as AuthorityInboxMessage, yt as ToolLoopCompactionOptions, z as mcpSecretEnvMetadataKey, zt as peerMailVerbNames } from "./runtime-B-5dp5Iz.js";
5
- import { A as providerAsSandboxClient, C as ProviderAsSandboxClientOptions, D as WorkspaceRequest, E as SandboxClientProviderOptions, F as createTangleSandboxExactProcessProvider, M as sandboxClientAsProvider, N as CreateTangleSandboxExactProcessProviderOptions, O as createAgentEnvironmentProviderRegistry, P as SandboxControlClient, S as PlacementInfo, T as ResourceRequest, _ as CheckpointRequest, a as AgentEnvironmentProviderRef, b as ExecResult, c as AgentEnvironmentStatus, d as AgentSession, f as AgentSessionRef, g as CheckpointRef, h as AgentTurnResult, i as AgentEnvironmentProvider, j as resolveAgentEnvironmentProvider, k as providerAsExecutor, l as AgentEnvironmentSummary, n as AgentEnvironmentCapabilities, o as AgentEnvironmentProviderRegistry, p as AgentSessionStatus, r as AgentEnvironmentEvent, s as AgentEnvironmentQuery, t as AgentEnvironment, u as AgentProfileRef, v as CreateAgentEnvironmentInput, w as ProviderExecutorOptions, x as ForkRequest, y as ExecRequest } from "./environment-provider-DJG0yIYl.js";
6
- import { a as StreamAgentTurnOptions, i as CollectedAgentTurn, n as AgentTurnInput, o as collectAgentTurn, r as AgentTurnUsage, s as streamAgentTurn, t as AgentTurnBackend } from "./stream-agent-turn-BGyszuPH.js";
2
+ import { $ as WorkerToolTraceArtifact, $a as loopDispatch, $c as completionAuthorizes, $i as panel, $l as MakeWorkerAgent, $n as assessAuthoredProfile, $o as SupervisorSpanOptions, $r as StdioMcpServerSpec, $s as FlatWidenGate, A as EVIDENCE_MAX_CHARS, Aa as RunAgenticOptions, Ac as Persona, Af as createEventBus, Ai as startRetainedInteractiveRun, Al as plateauLength, An as serveCoordinationMcp, Ar as EvolutionArchiveNode, As as HarvestCorpusOptions, At as workerCancellationsDir, B as withUntrackedArtifacts, Ba as breadthStrategy, Bc as LeaderboardBenchTask, Bf as InMemoryResultBlobStore, Bi as equalKOnCost, Bl as AuthorizeDownMessage, Bn as chatWorkerSeam, Bo as ProgressTracker, Br as runStrategyEvolution, Bs as AssertTraceDerivedFindings, Bt as PatchDeliverableOptions, C as SurfaceWorkerOut, Ca as AgenticOptions, Cc as WidenLineage, Ci as recoverRetainedRun, Cl as defaultAuditorInstruction, Cn as freeSlots, Co as SupervisorNodeContextSeed, Cr as resolveEntrySymbol, Cs as LocalSandboxClientOptions, Ct as runCancellationFile, D as AuthoredHarness, Da as AgenticTool, Dc as DefinePersonaInput, Df as BusStats, Di as claimRetainedInteractiveControl, Dl as anytimeReport, Dn as defaultDelegateBudget, Do as assertCoordinationBinding, Dr as visibleCheckScore, Ds as InProcessPromptCtx, Dt as supervisorWorkersDir, E as superviseSurface, Ea as AgenticTask, Ec as DefinePersona, Ef as BusRecord, Ei as ClaimRetainedInteractiveControlOptions, El as AnytimeTaskCurve, En as DelegateOptions, Eo as SupervisorToolInvocationContext, Er as structuralRollout, Es as InProcessOnPrompt, Et as supervisorRunsRoot, F as composeWorkerEvidence, Fa as StrategyMessage, Fc as ShapeBudget, Ff as ExecutorResultMapping, Fi as promotionGate, Fl as createWaterfallCollector, Fn as ChatSessionStore, Fo as PriorCoordination, Fr as EvolutionReport, Fs as ObserveInput, Ft as InMemoryRunContext, G as WorkspaceRun, Ga as sample, Gc as LeaderboardScenario, Gf as SpawnForestMissingTree, Gi as definePersona, Gl as CoordinationStats, Gn as ReservationRejection, Go as allOf, Gr as authorStrategy, Gs as EqualKArm, Gt as AgentGraph, H as Shell, Ha as depthStrategy, Hc as LeaderboardFlagSpec, Hf as SpawnForest, Hi as builtinShapes, Hl as ContinuationInstruction, Hn as BudgetPool, Ho as ProgressView, Hr as AuthorStrategyOptions, Hs as Corpus, Ht as WorktreeCliExecutorOptions, I as settledWorkerOut, Ia as StrategyResult, Ic as ShapeContext, If as gateOnDeliverable, Ii as profileChatClient, Il as AnalystFindingEvent, In as ChatTransportExecutorOptions, Io as AllWorkersStalledOptions, Ir as ReproductionCheck, Is as ObserveOptions, It as InMemoryRunContextOptions, J as localShell, Ja as LoopDispatchOptions, Jc as defineLeaderboard, Jf as loadSpawnForest, Ji as InMemoryCorpus, Jl as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Jn as spendFromUsageEvents, Jo as createProgressTracker, Jr as LocalMcpMaterialization, Js as EqualKVerdict, Jt as GraphEdge, K as gitWorkspace, Ka as sampleThenRefine, Kc as LeaderboardScore, Kf as SpawnForestNode, Ki as runPersonified, Kn as ReservationTicket, Ko as allWorkersStalled, Kr as strategyAuthorContract, Ks as EqualKOnCost, Kt as EdgeDeliveryOutcome, L as CopyOptions, La as StrategyShotResult, Lc as ShapeRegistry, Lf as mapExecutorResult, Li as profileOptimizerModelCall, Ll as AnalystLensOutput, Ln as ChatTransportTool, Lo as NoProgressForOptions, Lr as StrategyEvolutionConfig, Ls as defaultAnalystInstruction, Lt as RunContext, M as VERIFY_TAIL_CHARS, Ma as Strategy, Mc as PersonaExecutors, Mf as defaultToolDetectors, Mi as resolveSandboxClient, Ml as WaterfallCollector, Mo as CoordinationLog, Mr as EvolutionBandInfo, Ms as HarvestReport, Mt as workerInboxFile, N as WorkerEvidenceInput, Na as StrategyArtifacts, Nc as RunPersonified, Nf as watchTrace, Ni as PromotionGateOptions, Nl as WaterfallReport, Nn as finalizeBestDelivered, No as CoordinationOwnerId, Nr as EvolutionCandidate, Ns as harvestCorpus, Nt as workerInboxFileFromEventDir, O as WorktreeFanoutOptions, Oa as ArtifactHandle, Oc as LoopShape, Of as EventBus, Oi as reconnectRetainedInteractiveRun, Ol as areaUnderCurve, On as delegate, Oo as resolveSupervisorProfile, Or as ChampionPick, Os as InProcessSandboxClientOptions, Ot as workerCancelRequestsFile, P as closingWorkerNote, Pa as StrategyCtx, Pc as RunPersonifiedOptions, Pf as DeliverableSpec, Pi as PromotionVerdict, Pl as WaterfallSpan, Pn as ChatCompletionsTransport, Po as FileCoordinationLog, Pr as EvolutionGeneration, Ps as Observation, Pt as writeWorkerSteer, Q as WORKER_TOOL_TRACE_SCHEMA_VERSION, Qa as loopCampaignDispatch, Qc as CompletionVerdict, Qf as contentAddress, Qi as loopUntil, Ql as DownMessageEvent, Qn as asAuthoredProfile, Qo as SupervisorSpanAttributes, Qr as StdioMcpConnection, Qs as FanoutWinnerSelector, Qt as RunGraphOptions, R as UntrackedCopyStats, Ra as SurfaceScore, Rc as DefinedLeaderboard, Rf as FileResultBlobStore, Ri as assertModelAllowed, Rl as AnalystRegistry, Rn as ChatWorkerSeamOptions, Ro as PlateauOptions, Rr as discriminatingMeans, Rs as observe, Rt as createFileRunContext, S as SurfaceWorkerConfig, Sa as runBenchmark, Sc as WidenDecision, Si as reconnectRetainedRun, Sl as auditIntent, Sn as effectiveConcurrency, So as SupervisorNodeContext, Sr as officialChecksFromMeta, Ss as runAgentRounds, St as runCancelRequestFile, T as failuresAnalyst, Ta as AgenticSurface, Tc as WinnerStrategy, Tf as BusEvent, Ti as startRetainedRunInEnvironment, Tl as AnytimeStrategySummary, Tn as rollingDispatch, To as SupervisorToolDescriptor, Tr as selectBestIndex, Ts as inlineSandboxClient, Tt as supervisorRunDir, U as Workspace, Ua as refine, Uc as LeaderboardIterationInfo, Uf as SpawnForestEvent, Ui as createShapeRegistry, Ul as ContinuityMode, Un as BudgetPoolRestore, Uo as StopDecision, Ur as AuthoredStrategy, Us as CorpusFilter, Ut as WorktreePatchArtifact, V as GitWorkspaceOptions, Va as defineStrategy, Vc as LeaderboardBenchmarkAdapter, Vf as InMemorySpawnJournal, Vi as trajectoryReport, Vl as AuthorizedDownMessage, Vn as createChatSessionStore, Vo as ProgressTrackerOptions, Vr as selectChampion, Vs as CombinatorShape, Vt as patchDelivered, W as WorkspaceCommit, Wa as runAgentic, Wc as LeaderboardRunContext, Wf as SpawnForestInDoubtNode, Wi as registerShape, Wl as CoordinationEvent, Wn as BudgetReadout, Wo as StopRule, Wr as assertStrategyContract, Ws as CorpusRecord, Wt as createWorktreeCliExecutor, X as TrajectoryAnalysis, Xa as SuperviseDispatchOptions, Xc as CompletionEvidence, Xf as pendingWaits, Xi as fanout, Xl as DownMessageDeliveryAttempt, Xn as ProfileRichness, Xo as plateau, Xr as McpSpawnFault, Xs as FanoutOptions, Xt as GraphNode, Y as runInWorkspace, Ya as LoopOptionsForDispatch, Yc as CompletionAnalyst, Yf as materializeTreeView, Yi as renderCorpusToInstructions, Yl as DownMessageAuthorizationInput, Yn as AuthoredProfile, Yo as noProgressFor, Yr as MaterializeLocalMcpOptions, Ys as Fanout, Yt as GraphEdgeCapError, Z as analyzeTrace, Za as SuperviseOptionsForDispatch, Zc as CompletionPolicy, Zf as replaySpawnTree, Zi as flatWidenGate, Zl as DownMessageDeliveryOutcome, Zn as ProfileRichnessThresholds, Zo as sampleFromSettled, Zr as McpToolDescriptor, Zs as FanoutSynthesis, Zt as GraphResult, _ as boxSurfaceReader, _a as BenchmarkReport, _c as TrajectoryReportFn, _i as CriuCapableClient, _l as renderLeaderboardSvg, _n as ConcurrencyCaps, _o as ResolveDriveHarness, _r as composeCheckSources, _s as RunAgentRoundsOptions, _t as readRunCancelRequest, _u as normalizeAnalyzeOnSettle, a as SandboxInstance, aa as RegistryAnalyzeProjection, ac as PanelSpec, ai as OpenSandboxRunPromptOptions, al as Interval, an as PromptRegistry, ao as SuperviseOptions, ar as CheckRunContext, as as FinalizerSettled, at as ScopeArgs, b as SuperviseSurfaceOptions, ba as Environment, bc as VerifySpec, bi as AcquireOptions, bl as AuditIntentOptions, bn as DispatchUnit, bo as SupervisorAgentDeps, br as filterAuthoredAsserts, bs as defaultSelectWinner, bt as readWorkerCancellation, c as VerifierEnvironmentOptions, ca as createScopeAnalyst, cc as PipelineStage, ci as TurnResult, cl as LeaderboardRow, cn as createPromptRegistry, cr as CheckSourceCtx, cs as collectDelivered, ct as RunCancelRequest, cu as SpawnPreflight, d as HarvestSurfaceDiffsOptions, da as McpEnvironmentOptions, dc as ScopeAnalyst, di as CheckpointCapableBox, dl as ProfileKeyOf, dn as dumbContinuationPassPrompt, do as workerFromBackend, dr as StructuralRolloutMessage, ds as DriverAttemptRecord, dt as WorkerCancellation, du as SpawnRefusalCause, ea as pipeline, ec as LoopUntil, ei as connectStdioMcp, el as deterministicCompletion, en as TraversalContinuity, eo as superviseDispatch, er as defaultProfileRichnessThresholds, es as SupervisorSpanOutcome, et as captureWorkerTraceEvidence, f as SurfaceDiff, fa as createMcpEnvironment, fc as ScopeAnalyzeInput, fi as ForkCapableBox, fl as ScoreOf, fn as formatPromptHandle, fo as CoordinationBinding, fr as StructuralRolloutPolicy, fs as DriverAttemptStop, ft as WorkerSteerRequest, fu as WorkerResumeContext, g as WatchedSurface, ga as BenchmarkLift, gc as TrajectoryReport, gi as createSandboxLineage, gl as renderLeaderboardMarkdown, gn as supervisorPolicyPrompt, go as ObserveSupervisorNodeEvent, gr as compareCheckOutcomes, gs as classifyDriverFailure, gt as legacySupervisorRunsRoot, h as SurfaceReader, ha as BenchmarkConfig, hc as TrajectoryNode, hi as SessionCapableBox, hl as renderLeaderboardHtml, hn as promptHandle, ho as DriveHarnessOwnerContext, hr as canDisplace, hs as DriverRetryPolicy, ht as legacySupervisorRunDir, hu as canonicalFindingEvent, i as SandboxEvent, ia as CreateScopeAnalystOptions, ic as PanelJudge, ii as OpenSandboxRunOptions, il as GroupOf, in as PromptHandle, io as DeliverableResolutionInput, ir as CheckOutcome, is as FinalizeContext, it as createSupervisor, j as NOTE_MAX_CHARS, ja as ShotSpec, jc as PersonaContext, jf as WatchTraceOptions, ji as ResolveSandboxClientOptions, jl as renderAnytimeTable, jo as CoordinationDeliveryEvidence, jr as EvolutionAuthor, js as HarvestFailure, jt as workerControlLogFile, k as worktreeFanout, ka as CorpusReadbackOptions, kc as Outcome, kf as PublishOptions, ki as recoverRetainedInteractiveRun, kl as bestSoFar, kn as CoordinationMcpHandle, ko as supervisorAgent, kr as ChampionPolicy, ks as inProcessSandboxClient, kt as workerCancellationFile, l as createVerifierEnvironment, la as registryScopeAnalyst, lc as RenderCorpusToInstructions, li as openSandboxRun, ll as PairwiseOptions, ln as delegatesWorkerBriefPrompt, lo as supervise, lr as RepairStop, ls as pickBestDelivered, lt as RunCancellation, lu as SpawnPreflightContext, m as SurfaceReadOutcome, ma as BenchmarkCell, mc as SteerContext, mi as SandboxLineageHandle, ml as pairwiseSignificance, mn as naiveContinuationPrompt, mo as DriveHarness, mr as VisibleCheck, ms as DriverProgressMark, mt as cancelWorker, mu as WorkerWatchOptions, n as AnalystFinding, na as verify, nc as LoopUntilState, ni as Deliverable, nl as stopSentinel, nn as runGraph, no as AuthorizedSpawnContext, nr as supervisorInstructions, ns as createSupervisorSpanRecorder, nt as workerTraceAnalysisStore, o as computeFindingId, oa as assertTraceDerivedFindings, oc as PanelVerdict, oi as SandboxRun, ol as Leaderboard, on as RegisteredPrompt, oo as SuperviseRegistry, or as CheckRunner, os as SupervisorFinalizer, ot as createScope, p as SurfaceReadBox, pa as sanitizeMcpToolSchema, pc as ScopeWidenGate, pi as SandboxLineage, pl as leaderboard, pn as kernelPromptRegistry, po as CoordinationVerbs, pr as StructuralRolloutResult, ps as DriverAttemptsExhaustedError, pt as cancelRun, pu as WorkerSpawnContext, q as jjWorkspace, qa as LoopCampaignDispatchOptions, qc as LeaderboardSpec, qf as SpawnForestTree, qi as FileCorpus, qn as createBudgetPool, qo as anyOf, qr as strategyAuthorSystemPrompt, qs as EqualKOnCostOptions, qt as EdgeTraversal, r as CreateSandboxOptions, ra as widen, rc as Panel, ri as OpenSandboxRunBeforeStartContext, rl as AxisScoresOf, ro as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, rr as CheckExecChannel, rs as DeliveredOutput, rt as createRootHandle, s as makeFinding, sa as buildSteerContext, sc as Pipeline, si as SandboxRunAbortError, sl as LeaderboardOptions, sn as analyzesFindingsReportPrompt, so as SuperviseRegistryTable, sr as CheckSource, ss as bestDelivered, st as settledToIteration, t as AgentProfile, ta as selectValidWinner, tc as LoopUntilSpec, ti as materializeLocalMcp, tl as sentinelCompletion, tn as defaultEdgeTraversalCap, to as AuthorizedSpawn, tr as profileRichnessFinding, ts as SupervisorSpanRecorder, tt as parseWorkerToolTraceArtifact, u as BoxSurfaceReaderOptions, ua as McpEndpoint, uc as RenderCorpusToInstructionsOptions, ui as BranchCapableBox, ul as PairwiseVerdict, un as dumbContinuationFailPrompt, ur as StructuralRolloutConfig, us as runFinalizer, ut as WorkerCancelRequest, uu as SpawnRefusal, v as fsSurfaceReader, va as BenchmarkStrategySummary, vc as TrajectoryReportOptions, vi as SandboxCapabilities, vl as renderPairwiseMarkdown, vn as DispatchReport, vo as ResolveSupervisorTools, vr as defaultExtractCandidate, vs as TERMINAL_DECISIONS, vt as readRunCancellation, w as analystsFromRegistry, wa as AgenticRunResult, wc as WidenSpec, wi as startRetainedRun, wl as AnytimeReport, wn as queueOf, wo as SupervisorProfile, wr as sandboxCheckRunner, ws as localSandboxClient, wt as safeWorkerFile, x as SuperviseSurfaceResult, xa as printBenchmarkReport, xc as Widen, xi as acquireSandbox, xl as IntentAudit, xn as RollingDispatchOptions, xr as modelAuthoredChecks, xs as isTerminalDecision, xt as readWorkerSteerRequests, y as harvestSurfaceDiffs, ya as BenchmarkTaskRow, yc as Verify, yi as probeSandboxCapabilities, yl as AuditIntentInput, yn as DispatchStopReason, yo as ResolvedSupervisorProfile, yr as defaultStructuralRolloutPolicy, ys as TerminalDecision, yt as readWorkerCancelRequests, z as copyUntrackedIntoClone, za as adaptiveRefine, zc as LeaderboardBenchScore, zf as FileSpawnJournal, zi as assertProfileModelsAllowed, zl as AnalyzeOnSettleRoute, zn as chatTransportExecutor, zo as ProgressSample, zr as pickChampion, zs as renderReport, zt as createInMemoryRunContext } from "./index-CNqUQfuv.js";
3
+ import { $ as SupervisorOpts, $n as RetainedRunHandle, A as ProviderModelExecutionEvidence, An as RetainedInteractiveAdmissionHook, B as Scope, Bn as RecoverRetainedRunResult, C as NoWinnerError, Cn as ExecutorProgress, D as NodeStatus, Dn as readWorkerProgress, E as NodeSnapshot, En as createActivityLog, F as RootHandle, Fn as NativeContextContinuationExecution, Ft as createOpenInferenceFileExporter, G as SpawnPrior, Gn as RetainedRunAdmission, H as SpawnEvent, Hn as RetainedInteractiveEnvironmentAdmission, I as RootMaterialization, In as NativeContextContinuationInput, It as createOtelExporter, J as SpendChannel, Jn as RetainedRunCancellation, K as SpawnRejection, Kn as RetainedRunAdmissionHook, L as RootProviderModelEvidence, Ln as ReconnectRetainedRunOptions, M as ResultBlobStore, Mn as RetainedInteractiveRunHandle, N as ResumedKeyState, Nn as RetainedInteractiveStartMaterial, O as ProfileMaterializationReceipt, On as ReconnectRetainedInteractiveRunOptions, P as ResumedWork, Pn as StartRetainedInteractiveRunOptions, Q as Supervisor, Qn as RetainedRunEventOptions, R as RootSignal, Rn as RecoverRetainedRunIntentOptions, S as MaterializedModelIdentity, Sn as DEFAULT_STALL_AFTER_MS, T as NodeId, Tn as WorkerProgress, U as SpawnJournal, Un as RetainedInteractiveIntentAdmission, V as Settled, Vn as RetainedInteractiveAdmission, W as SpawnOpts, Wn as RetainedInteractiveStartedAdmission, X as SteerableRootHandle, Xn as RetainedRunEffect, Y as SpendGap, Yn as RetainedRunDispatchedAdmission, Z as SupervisedResult, Zn as RetainedRunEnvironmentAdmission, _ as ExecutorRegistry, _n as createPushTraceSource, an as WaitRejection, ar as StartRetainedRunOptions, at as WidenGate, b as Handle, bn as ActivityLog, c as ExecutorAccounting, cn as isWaitOutcome, ct as WorkerTraceEvidence, d as ExecutorContext, dn as validateWaitSpec, dt as WorkerTraceSeamCarrier, er as RetainedRunIntentAdmission, et as TreeView, f as ExecutorExecutionBinding, fn as waitUntil, ft as readWorkerTraceContext, g as ExecutorProgressEvent, gn as TraceSource, h as ExecutorNodeContext, hn as ToolStepInput, ht as workerTraceSeamKey, i as Budget, in as WaitProbeRegistry, ir as StartRetainedRunInEnvironmentOptions, it as WaitOpts, j as Restart, jn as RetainedInteractiveEnvironmentInput, k as ProviderModelAttemptEvidence, kn as RecoverRetainedInteractiveRunOptions, l as ExecutorCancellation, ln as pollFor, lt as WorkerTraceUnavailableReason, m as ExecutorMaterialization, mn as SessionTraceBox, mt as workerTraceHeaders, n as AgentExecutionRef, nn as WaitOutcome, nr as RetainedRunSnapshot, nt as UnknownMaterializationReason, o as ExecutionBindingReceipt, on as WaitSpec, ot as WorkerInteractiveSession, p as ExecutorFactory, pn as SessionMessageLike, pt as workerTraceEnv, q as Spend, qn as RetainedRunCancelOptions, r as AgentSpec, rn as WaitProbe, rr as RetainedRunStartMaterial, rt as UsageEvent, s as Executor, sn as createWaitProbes, st as WorkerInteractiveUnavailableReason, t as Agent, tn as PendingWait, tr as RetainedRunReplayPoint, tt as UnconfirmedTeardown, u as ExecutorCancellationRequest, un as timerAt, ut as WorkerTraceResolver, v as ExecutorResult, vn as decodeToolPart, w as NodeExecutionIdentity, wn as ScopeProgressInput, x as MaterializedExecutionIdentity, xn as ActivityNote, y as ExecutorToolCall, yn as sandboxSessionTraceSource, z as Runtime, zn as RecoverRetainedRunOptions } from "./types-Cz5mCGlY.js";
4
+ import { A as extractLlmCallEvent, At as PeerMailReadout, B as resolveMcpServerLaunch, C as createInbox, Ct as DEFAULT_PEER_MAIL_LIMITS, D as SandboxToolPartState, Dt as PeerMailKind, E as SandboxServedBackend, Et as PeerMailEvent, F as sumSandboxUsage, Ft as claimsAuthority, G as WorktreeHarnessResult, H as secretEnvOfMcpServer, I as KeyProvider, It as createPeerMailbox, K as WorktreeProfileMaterializationReceipt, L as ResolvedMcpServerLaunch, Lt as isPeerMailEnvelope, M as mapSandboxToolEvent, Mt as PeerMailSendInput, N as sandboxEventServedBackend, Nt as PeerMailbox, O as assertSandboxServedModel, Ot as PeerMailLimits, P as sandboxProgressEvents, Pt as PeerMailboxOptions, R as envKeyProvider, Rt as peerMailTools, S as PeerInboxMessage, St as AUTHORITY_MARKERS, T as SandboxOutputMarker, Tt as PeerMailEnvelope, U as WorktreeCheckRunner, V as resolveSecretEnv, W as WorktreeCommandResult, _ as SteerableSandboxSession, _t as ToolLoopChat, a as CliWorktreeSeam, b as Inbox, bt as ToolLoopMessageRecord, c as RouterSeam, d as cliWorktreeExecutor, f as createExecutor, g as SteerableSandboxArgs, gt as ToolLoopCallContext, h as SandboxSteeringOptions, ht as ToolSpec, i as CliWorktreeBridgeSeam, j as mapSandboxEvent, jt as PeerMailRefusal, k as createSandboxToolPartState, kt as PeerMailOutcome, l as RouterToolsSeam, m as DEFAULT_SANDBOX_STEERING_MAX_TURNS, mt as RouterTransportConfig, n as BridgeSeam, o as ExecutorConfig, p as createExecutorRegistry, r as CliSeam, s as ProviderSeam, t as BridgeModelCredential, u as SandboxSeam, v as createSteerableSandboxSession, vt as ToolLoopCompaction, w as SandboxLeafOut, wt as PEER_MAIL_WIRE_KEY, x as InboxMessage, xt as ToolLoopToolCall, y as AuthorityInboxMessage, yt as ToolLoopCompactionOptions, z as mcpSecretEnvMetadataKey, zt as peerMailVerbNames } from "./runtime-DuueBLeO.js";
5
+ import { A as providerAsSandboxClient, C as ProviderAsSandboxClientOptions, D as WorkspaceRequest, E as SandboxClientProviderOptions, F as createTangleSandboxExactProcessProvider, M as sandboxClientAsProvider, N as CreateTangleSandboxExactProcessProviderOptions, O as createAgentEnvironmentProviderRegistry, P as SandboxControlClient, S as PlacementInfo, T as ResourceRequest, _ as CheckpointRequest, a as AgentEnvironmentProviderRef, b as ExecResult, c as AgentEnvironmentStatus, d as AgentSession, f as AgentSessionRef, g as CheckpointRef, h as AgentTurnResult, i as AgentEnvironmentProvider, j as resolveAgentEnvironmentProvider, k as providerAsExecutor, l as AgentEnvironmentSummary, n as AgentEnvironmentCapabilities, o as AgentEnvironmentProviderRegistry, p as AgentSessionStatus, r as AgentEnvironmentEvent, s as AgentEnvironmentQuery, t as AgentEnvironment, u as AgentProfileRef, v as CreateAgentEnvironmentInput, w as ProviderExecutorOptions, x as ForkRequest, y as ExecRequest } from "./environment-provider-C_QI6VCG.js";
6
+ import { a as StreamAgentTurnOptions, i as CollectedAgentTurn, n as AgentTurnInput, o as collectAgentTurn, r as AgentTurnUsage, s as streamAgentTurn, t as AgentTurnBackend } from "./stream-agent-turn-BbcwWw_J.js";
7
7
  export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystFinding, type AnalystFindingEvent, type AnalystLensOutput, type AnalystRegistry, type AnalyzeOnSettleRoute, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AuditIntentInput, type AuditIntentOptions, type AuthorStrategyOptions, type AuthoredHarness, type AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, type AuthorizeDownMessage, type AuthorizedDownMessage, type AuthorizedSpawn, type AuthorizedSpawnContext, type AxisScoresOf, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BoxSurfaceReaderOptions, type BranchCapableBox, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, type BusEvent, type BusRecord, type BusStats, type ChampionPick, type ChampionPolicy, type ChatCompletionsTransport, type ChatSessionStore, type ChatTransportExecutorOptions, type ChatTransportTool, type ChatWorkerSeamOptions, type CheckExecChannel, type CheckOutcome, type CheckRunContext, type CheckRunner, type CheckSource, type CheckSourceCtx, type CheckpointCapableBox, type CheckpointRef, type CheckpointRequest, type ClaimRetainedInteractiveControlOptions, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CollectedAgentTurn, type CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, type ConcurrencyCaps, type ContinuationInstruction, type ContinuityMode, type CoordinationBinding, type CoordinationDeliveryEvidence, type CoordinationEvent, type CoordinationLog, type CoordinationMcpHandle, type CoordinationOwnerId, type CoordinationStats, type CoordinationVerbs, type CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, type CreateScopeAnalystOptions, type CreateTangleSandboxExactProcessProviderOptions, type CriuCapableClient, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_AWAIT_EVENT_TIMEOUT_MS, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_STALL_AFTER_MS, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedLeaderboard, type DelegateOptions, type Deliverable, type DeliverableResolutionInput, type DeliverableSpec, type DeliveredOutput, type DispatchReport, type DispatchStopReason, type DispatchUnit, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type DriveHarnessOwnerContext, type Driver, type DriverAttemptRecord, type DriverAttemptStop, DriverAttemptsExhaustedError, type DriverProgressMark, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EventBus, type EvolutionArchiveNode, type EvolutionAuthor, type EvolutionBandInfo, type EvolutionCandidate, type EvolutionGeneration, type EvolutionReport, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, type ExecutorResultMapping, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FlatWidenGate, type ForkCapableBox, type ForkRequest, type GitWorkspaceOptions, type GraphEdge, GraphEdgeCapError, type GraphNode, type GraphResult, type GroupOf, type Handle, type HarvestCorpusOptions, type HarvestFailure, type HarvestReport, type HarvestSurfaceDiffsOptions, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type IntentAudit, type Interval, type Iteration, type KeyProvider, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntil, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, type McpEndpoint, type McpEnvironmentOptions, McpSpawnFault, type McpToolDescriptor, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, type Observation, type ObserveInput, type ObserveOptions, type ObserveSupervisorNodeEvent, type OpenSandboxRunBeforeStartContext, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, type PairwiseOptions, type PairwiseVerdict, type Panel, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, type PeerMailEnvelope, type PeerMailEvent, type PeerMailKind, type PeerMailLimits, type PeerMailOutcome, type PeerMailReadout, type PeerMailRefusal, type PeerMailSendInput, type PeerMailbox, type PeerMailboxOptions, type PendingWait, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, type ProfileKeyOf, type ProfileMaterializationReceipt, type ProfileRichness, type ProfileRichnessThresholds, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, type PromotionGateOptions, type PromotionVerdict, type PromptHandle, type PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderExecutorOptions, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderSeam, type PublishOptions, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RegisteredPrompt, type RegistryAnalyzeProjection, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, type RepairStop, type ReproductionCheck, type ReservationRejection, type ReservationTicket, type ResolveDriveHarness, type ResolveSandboxClientOptions, type ResolveSupervisorTools, type ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, type ResourceRequest, type Restart, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSignal, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunContext, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, type SandboxCapabilities, type SandboxClient, type SandboxClientProviderOptions, type SandboxControlClient, type SandboxEvent, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, type SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, type SandboxSteeringOptions, type SandboxToolPartState, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, type ScoreOf, type SelectionReceipt, type SessionCapableBox, type SessionMessageLike, type SessionTraceBox, type Settled, type ShapeBudget, type ShapeContext, type ShapeRegistry, type Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, type StdioMcpConnection, type StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, type SteerableSandboxArgs, type SteerableSandboxSession, type StopDecision, type StopRule, type Strategy, type StrategyArtifacts, type StrategyCtx, type StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, type StreamAgentTurnOptions, type StructuralRolloutConfig, type StructuralRolloutMessage, type StructuralRolloutPolicy, type StructuralRolloutResult, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseRegistry, type SuperviseRegistryTable, type SuperviseSurfaceOptions, type SuperviseSurfaceResult, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, type SupervisorSpanAttributes, type SupervisorSpanOptions, type SupervisorSpanOutcome, type SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, type SurfaceDiff, type SurfaceReadBox, type SurfaceReadOutcome, type SurfaceReader, type SurfaceScore, type SurfaceWorkerConfig, type SurfaceWorkerOut, TERMINAL_DECISIONS, type TerminalDecision, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolSpec, type ToolStepInput, type TraceSource, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, type TurnResult, type UnconfirmedTeardown, type UnknownMaterializationReason, type UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerifierEnvironmentOptions, type Verify, type VerifySpec, type VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, type WaitOpts, type WaitOutcome, type WaitProbe, type WaitProbeRegistry, type WaitRejection, type WaitSpec, type WatchTraceOptions, type WatchedSurface, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEvidenceInput, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSpawnContext, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceSeamCarrier, type WorkerTraceUnavailableReason, type WorkerWatchOptions, type Workspace, type WorkspaceCommit, type WorkspaceRequest, type WorkspaceRun, type WorktreeCheckRunner, type WorktreeCliExecutorOptions, type WorktreeCommandResult, type WorktreeFanoutOptions, type WorktreeHarnessResult, type WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, acquireSandbox, adaptiveRefine, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, auditIntent, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliWorktreeExecutor, closingWorkerNote, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createEventBus, createExecutor, createExecutorRegistry, createFileRunContext, createInMemoryRunContext, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorktreeCliExecutor, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, discriminatingMeans, dumbContinuationFailPrompt, dumbContinuationPassPrompt, effectiveConcurrency, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isTerminalDecision, isWaitOutcome, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observe, officialChecksFromMeta, openSandboxRun, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, patchDelivered, peerMailTools, peerMailVerbNames, pendingWaits, pickBestDelivered, pickChampion, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promotionGate, promptHandle, providerAsExecutor, providerAsSandboxClient, queueOf, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerProgress, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runPersonified, runStrategyEvolution, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, streamAgentTurn, structuralRollout, sumSandboxUsage, supervise, superviseDispatch, superviseSurface, supervisorAgent, supervisorInstructions, supervisorPolicyPrompt, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, timerAt, trajectoryReport, validateWaitSpec, verify, visibleCheckScore, waitUntil, watchTrace, widen, withUntrackedArtifacts, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerInboxFile, workerInboxFileFromEventDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };