@tangle-network/agent-runtime 0.339.0 → 0.342.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 (83) hide show
  1. package/dist/{activation-CVSFxis9.js → activation-CWPmt0Do.js} +4 -4
  2. package/dist/{activation-CVSFxis9.js.map → activation-CWPmt0Do.js.map} +1 -1
  3. package/dist/{activation-CJIIl_Ey.d.ts → activation-CXqtijue.d.ts} +2 -2
  4. package/dist/agent.d.ts +4 -18
  5. package/dist/agent.js +3 -21
  6. package/dist/agent.js.map +1 -1
  7. package/dist/analyst-loop.d.ts +2 -2
  8. package/dist/{bundle-DVOhBTic.js → bundle-Cwpit6Tg.js} +2 -2
  9. package/dist/{bundle-DVOhBTic.js.map → bundle-Cwpit6Tg.js.map} +1 -1
  10. package/dist/candidate-execution/index.d.ts +2 -40
  11. package/dist/candidate-execution/index.js +9 -255
  12. package/dist/candidate-execution/index.js.map +1 -1
  13. package/dist/{driver-control-acknowledgers-C53ggdJ6.js → coordination-manager-B5JsolDR.js} +4852 -4539
  14. package/dist/coordination-manager-B5JsolDR.js.map +1 -0
  15. package/dist/{delegate-CCWE_AkU.js → delegate-Rl-5paLJ.js} +2 -2
  16. package/dist/{delegate-CCWE_AkU.js.map → delegate-Rl-5paLJ.js.map} +1 -1
  17. package/dist/durable.d.ts +1 -1
  18. package/dist/durable.js +451 -358
  19. package/dist/durable.js.map +1 -1
  20. package/dist/{graph-CI9JXKqO.js → graph-Ce-59ZXn.js} +5 -5
  21. package/dist/{graph-CI9JXKqO.js.map → graph-Ce-59ZXn.js.map} +1 -1
  22. package/dist/{improve-BOXTLWJ3.js → improve-BZXt2qM0.js} +837 -704
  23. package/dist/improve-BZXt2qM0.js.map +1 -0
  24. package/dist/{improvement-adapter-HUt_-cWA.d.ts → improvement-adapter-sIthWkcN.d.ts} +2 -2
  25. package/dist/index.d.ts +6 -14
  26. package/dist/index.js +10 -10
  27. package/dist/intelligence.d.ts +4 -4
  28. package/dist/intelligence.js +205 -191
  29. package/dist/intelligence.js.map +1 -1
  30. package/dist/kernel.d.ts +3 -3
  31. package/dist/kernel.js +10 -10
  32. package/dist/{loop-runner-pmPIHFVY.js → loop-runner-B0MV1-CD.js} +2 -2
  33. package/dist/{loop-runner-pmPIHFVY.js.map → loop-runner-B0MV1-CD.js.map} +1 -1
  34. package/dist/{loop-runner-CWzG1bH4.d.ts → loop-runner-CuhbgVGo.d.ts} +3 -3
  35. package/dist/loop-runner-bin.d.ts +1 -1
  36. package/dist/loop-runner-bin.js +1 -1
  37. package/dist/mcp/bin.js +3 -3
  38. package/dist/mcp/index.d.ts +1 -1
  39. package/dist/mcp/index.js +5 -5
  40. package/dist/placement.d.ts +2 -26
  41. package/dist/placement.js +1 -35
  42. package/dist/placement.js.map +1 -1
  43. package/dist/{prepare-bXkvPMJA.js → prepare-C-cWCyt3.js} +988 -735
  44. package/dist/prepare-C-cWCyt3.js.map +1 -0
  45. package/dist/{profile-Dpei_Sq0.js → profile-CbMw5hAn.js} +2 -2
  46. package/dist/{profile-Dpei_Sq0.js.map → profile-CbMw5hAn.js.map} +1 -1
  47. package/dist/profile-materialization-bPm0gGLO.d.ts +49 -0
  48. package/dist/profiles.d.ts +1 -1
  49. package/dist/{protected-model-port-BGgpy2r9.d.ts → protected-model-port-DVVh-hEk.d.ts} +2 -6
  50. package/dist/{provision-supervisor-CJ6Zz6dz.js → provision-supervisor-DL6gEMQp.js} +444 -419
  51. package/dist/provision-supervisor-DL6gEMQp.js.map +1 -0
  52. package/dist/{runtime-B2fjL9Oi.js → runtime-eghmj6W4.js} +1245 -1028
  53. package/dist/runtime-eghmj6W4.js.map +1 -0
  54. package/dist/{sandbox-profile-compat-BzVBFqrz.js → sandbox-profile-compat-FN2kab2-.js} +72 -72
  55. package/dist/{sandbox-profile-compat-BzVBFqrz.js.map → sandbox-profile-compat-FN2kab2-.js.map} +1 -1
  56. package/dist/{search-executor-zMumiak_.js → search-executor-rbjdZ3OD.js} +3 -3
  57. package/dist/{search-executor-zMumiak_.js.map → search-executor-rbjdZ3OD.js.map} +1 -1
  58. package/dist/{server-_4voDNrl.js → server-BiK1Kcno.js} +4 -4
  59. package/dist/{server-_4voDNrl.js.map → server-BiK1Kcno.js.map} +1 -1
  60. package/dist/{structural-rollout-DpLCXzaL.js → structural-rollout-BD9IN7K_.js} +3 -3
  61. package/dist/{structural-rollout-DpLCXzaL.js.map → structural-rollout-BD9IN7K_.js.map} +1 -1
  62. package/dist/{supervise-qAwXmPtD.js → supervise-DmOi7gll.js} +6525 -5562
  63. package/dist/supervise-DmOi7gll.js.map +1 -0
  64. package/dist/{supervisor-DHrUJhEZ.js → supervisor-DUWcecAd.js} +13717 -12778
  65. package/dist/supervisor-DUWcecAd.js.map +1 -0
  66. package/dist/testing.d.ts +1 -1
  67. package/dist/testing.js +13 -13
  68. package/dist/tui/index.d.ts +1 -1
  69. package/dist/tui/index.js +1 -1
  70. package/dist/{types-CaOXqRTq.d.ts → types-Cgs89PQd.d.ts} +315 -409
  71. package/dist/{types-zWfqDjeL.d.ts → types-Cwrea-bU.d.ts} +2 -17
  72. package/dist/workspace-store/index.d.ts +1 -82
  73. package/dist/workspace-store/index.js +274 -680
  74. package/dist/workspace-store/index.js.map +1 -1
  75. package/package.json +8 -8
  76. package/dist/driver-control-acknowledgers-C53ggdJ6.js.map +0 -1
  77. package/dist/improve-BOXTLWJ3.js.map +0 -1
  78. package/dist/prepare-bXkvPMJA.js.map +0 -1
  79. package/dist/profile-materialization-B1wm2SPT.d.ts +0 -94
  80. package/dist/provision-supervisor-CJ6Zz6dz.js.map +0 -1
  81. package/dist/runtime-B2fjL9Oi.js.map +0 -1
  82. package/dist/supervise-qAwXmPtD.js.map +0 -1
  83. package/dist/supervisor-DHrUJhEZ.js.map +0 -1
package/dist/kernel.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as NoWinnerError, $_ as WorktreeProfileMaterializationReceipt, $a as strategyTournament, $b as ScopeProgressInput, $c as TrajectoryNode, $d as formatPromptHandle, $f as CoordinationLog, $g as LeaderboardRow, $i as ChatTransportExecutorOptions, $n as SqlRunContextOptions, $o as createScopeAnalyst, $p as DEFAULT_SHARED_BOX_WORKERS, $r as GraphRunRecord, $s as depthStrategy, $t as createVerifierEnvironment, $u as WorkerSpawnRetryAttempt, $v as PeerMailbox, $x as LoopPlanPayload, $y as InMemorySpawnJournal, A as TraceRootArtifact, AS as RecoverRetainedRunResult, Aa as filterAuthoredAsserts, Ab as ExecutorCancellation, Ac as AssertTraceDerivedFindings, Ad as BudgetReadout, Af as RunCancelRequest, Ag as CodexRolloutStoreReader, Ai as SpawnJournal, Al as LeaderboardScenario, Am as SandboxOutputMarker, An as settledWorkerOut, Ao as PrivateCasDurableStore, Ap as createExecutorRegistry, Ar as RemoteWorkerEvents, As as InProcessSandboxClientOptions, At as AgentEnvironmentStatus, Au as EdgeDeliveryOutcome, Ax as ProviderWorkspaceAttemptProvenance, Ay as CodexExecutionEvidence, B as Handle, BS as RetainedRunEffect, Ba as AgentTurnUsage, Bb as WorkerTraceEvidence, Bc as FanoutWinnerSelector, Bf as FinalizeContext, Bg as CodeModeStore, Bi as SupervisorOpts, Bl as declaredCheckDigest, Bm as RouterTransportConfig, Bn as WorkspaceRun, Bo as renderCorpusToInstructions, Bp as SandboxSeam, Br as loadProfile, Bs as materializeLocalMcp, Bt as CreateAgentEnvironmentInput, Bu as runGraph, Bx as UsageEvent, By as SqlAdapter, C_ as runAgentRounds, Ca as StructuralRolloutResult, Cb as NodeExecutionIdentity, Cc as ObservationAnalysis, Cd as SupervisorSpanOutcome, Cf as ProgressView, Cg as completionAuthorizes, Ci as GraphDesignerExtraTools, Cl as DefinedLeaderboard, Cm as ResolvedMcpServerLaunch, Cn as readWorkerInteractiveBinding, Co as recoverRetainedInteractiveRun, Cr as supervisorRunDir, Cs as LocalSandboxClientOptions, Ct as SuperviseProfileEntry, Cv as QuestionEscalationTarget, Cx as HarnessTranscriptReadOptions, Cy as AnalystLensOutput, DS as ReconnectRetainedRunOptions, Da as composeCheckSources, Db as EnvironmentTeardownReceipt, Dc as defaultAnalystInstruction, Df as anyOf, Dg as CodexForkBoundary, Di as delegate, Dl as LeaderboardFlagSpec, Dm as resolveSecretEnv, Dn as WorkerEvidenceInput, Do as profileChatClient, Dr as RemoteSupervisorAgent, Ds as inlineSandboxClient, Dt as AgentEnvironmentEvent, Dv as QuestionRecord, Dx as retainHarnessTranscript, Dy as AuthoredAnalystDefinition, E as EvidencePendingEvent, ES as NativeContextContinuationInput, E_ as SandboxEvidenceRetentionPort, Ea as compareCheckOutcomes, Eb as UnknownMaterializationReason, Ec as ObserveOptions, Ed as WorkerTraceResolver, Ef as allWorkersStalled, Eg as stopSentinel, Ei as defaultDelegateBudget, El as LeaderboardBenchmarkAdapter, Em as resolveMcpServerLaunch, En as VERIFY_TAIL_CHARS, Eo as resolveSandboxClient, Er as writeWorkerSteer, Es as defaultSelectWinner, Et as AgentEnvironmentCapabilities, Ev as QuestionPolicy, Ex as resolveHarnessTranscriptCapture, F as ResourceLimit, FS as RetainedRunAdmission, Fa as selectBestIndex, Fb as HeldForContinuation, Fc as EqualKArm, Fd as ReservationShortfall, Ff as ReentryContinuity, Fg as createCodexRolloutStoreReader, Fi as RootSegment, Fl as DeclaredCheckPlacement, Fm as SandboxServedBackend, Fn as withUntrackedArtifacts, Fo as trajectoryReport, Fp as CliWorktreeBridgeSeam, Fr as SupervisorCleanupReceipt, Fs as McpListedTool, Ft as AgentSessionStatus, Fu as GraphResult, Fv as DownMessageDeliveryAttempt, Fx as ProviderWorkspaceRetentionContext, G as Settled, GS as RetainedRunReplayPoint, Ga as EvolutionAuthor, Gb as TraceSource, Gc as PanelSpec, Gd as PromptHandle, Gf as CoordinationMcpHandle, Gg as RunCodeModeOptions, Gi as Scope, Gl as IsolatedCheckOptions, Gm as ToolLoopCompaction, Gn as TrajectoryAnalysis, Go as pipeline, Gp as createSteerableSandboxSession, Gr as InteractiveWorkerEnvironment, Gs as AgenticTool, Gt as PlacementInfo, Gu as workerFromBackend, Gv as PEER_MAIL_WIRE_KEY, Gx as Iteration, Gy as SpawnForestMissingTree, H as NodeSnapshot, HS as RetainedRunEventOptions, Ha as StreamAgentTurnOptions, Hb as SessionMessageLike, Hc as LoopUntilState, Hf as SupervisorFinalizer, Hg as CodeModeToolContext, Hi as ReenteredWorkers, Hl as readDeclaredCheck, Hm as ToolSpec, Hn as jjWorkspace, Ho as flatWidenGate, Hp as SandboxSteeringOptions, Hr as profileRegistry, Hs as AgenticRunResult, Ht as ExecRequest, Hu as supervise, Hv as MapTraversalEvent, Hx as DefaultVerdict, Hy as SpawnForest, I as ResourceSpend, IS as RetainedRunAdmissionHook, Ia as structuralRollout, Ib as HeldRelease, Ic as EqualKOnCostOptions, Id as ReservationStage, If as ReentryTaskInput, Ig as harnessUsageIsEmpty, Ii as RootSegmentEntry, Il as DeclaredCheckStateCapture, Im as SandboxUsageLedger, In as GitWorkspaceOptions, Io as definePersona, Ip as CliWorktreeSeam, Ir as provisionSupervisor, Is as McpSpawnFault, It as AgentTurnResult, Iu as GraphTopology, Iv as DownMessageDeliveryOutcome, Ix as ProviderWorkspaceRetentionPort, Iy as CodexTokenUsage, J as SpawnRejection, JS as RetainedRunTurnInput, Ja as StrategyEvolutionConfig, Jb as sandboxSessionTraceSource, Jc as RenderCorpusToInstructionsOptions, Jd as analyzesFindingsReportPrompt, Jg as AxisScoresOf, Ji as WorkerEventCursor, Jm as ToolLoopToolCall, Jn as parseWorkerToolTraceArtifact, Jo as widen, Jp as InboxLease, Jr as InteractiveWorkerResult, Js as RunAgenticOptions, Jt as SandboxInstance, Ju as SuperviseOptions, Jv as PeerMailLimits, Jx as LoopIterationDispatchPayload, Jy as loadSpawnForest, K as SpawnOpts, KS as RetainedRunSnapshot, Ka as EvolutionReport, Kb as createPushTraceSource, Kc as PanelVerdict, Kd as PromptRegistry, Kg as createCodeModeTools, Ki as UnconfirmedTeardown, Kl as IsolatedCheckResult, Kn as analyzeTrace, Ko as selectValidWinner, Kp as AuthorityInboxMessage, Kr as InteractiveWorkerKeyInput, Ks as ArtifactHandle, Kt as ResourceRequest, Kv as PeerMailEnvelope, Kx as LoopDecisionPayload, Ky as SpawnForestNode, L as Spend, LS as RetainedRunCancelOptions, La as visibleCheckScore, Lb as Runtime, Lc as EqualKVerdict, Ld as ReservationTicket, Lf as UNPROVEN_CONTINUITY, Lg as readCodexRolloutSession, Li as RootSignal, Ll as assertDeclaredCheck, Lm as extractLlmCallEvent, Ln as Shell, Lo as runPersonified, Lp as ProviderSeam, Lr as ProfileRegistryDir, Ls as StdioMcpConnection, Lt as AnalystFinding, Lu as RunGraphOptions, Lv as DownMessageEvent, Lx as ExecutorProgressEvent, Ly as CodexExecutionPolicy, M as Budget, MS as RetainedInteractiveEnvironmentAdmission, Ma as officialChecksFromMeta, Mb as ExecutorResult, Mc as Corpus, Md as ReservationFloor, Mf as cancelRun, Mg as CodexRolloutTurn, Mi as WorkspaceCheckpointMarker, Ml as LeaderboardSpec, Mm as createSandboxToolPartState, Mn as CopyOptions, Mo as PrivateCasOptions, Mp as createExecutor, Mr as ProvisionSupervisorConnection, Ms as HttpMcpServerSpec, Mt as AgentProfile, Mu as GraphEdge, Mv as ContinuationInstruction, Mx as ProviderWorkspaceCaptureReceipt, N as BudgetOverspend, NS as RetainedInteractiveIntentAdmission, N_ as createOtelExporter, Na as resolveEntrySymbol, Nb as ExecutorTeardownWarning, Nc as CorpusFilter, Nd as ReservationHolder, Nf as readRunCancelRequest, Ng as CodexStoreDelta, Ni as RecursiveReservationPolicy, Nl as defineLeaderboard, Nm as mapSandboxEvent, Nn as UntrackedCopyStats, No as createPrivateCasArtifactPort, Np as CliInPlaceSeam, Nr as ProvisionSupervisorRequest, Ns as LocalMcpMaterialization, Nt as AgentSession, Nu as GraphEdgeCapError, Nx as ProviderWorkspaceCaptureResult, O as TRACE_ROOT_SCHEMA, OS as RecoverRetainedRunIntentOptions, Oa as defaultExtractCandidate, Ob as Executor, Oc as observe, Od as BudgetPool, Of as noProgressFor, Og as CodexRolloutIdentity, Oi as ResultBlobStore, Ol as LeaderboardIterationInfo, Om as secretEnvOfMcpServer, On as closingWorkerNote, Oo as profileOptimizerModelCall, Or as RemoteSupervisorReader, Os as InProcessOnPrompt, Ot as AgentEnvironmentProvider, Ox as ProviderCheckpointCaptureContext, Oy as AuthoredAnalystLimits, P as BudgetViolation, PS as RetainedInteractiveStartedAdmission, Pa as sandboxCheckRunner, Pb as HeldEnvironment, Pc as CorpusRecord, Pd as ReservationRejection, Pf as readRunCancellation, Pg as addHarnessUsage, Pi as RootHandle, Pl as DeclaredCheck, Pm as mapSandboxToolEvent, Pn as copyUntrackedIntoClone, Po as equalKOnCost, Pp as CliSeam, Pr as ProvisionedSupervisor, Ps as MaterializeLocalMcpOptions, Pt as AgentSessionRef, Pu as GraphNode, Px as ProviderWorkspaceEntryMetadata, Q as FleetYield, Q_ as WorktreeHarnessResult, Qa as runStrategyEvolution, Qb as ExecutorProgress, Qc as SteerContext, Qd as dumbContinuationPassPrompt, Qg as LeaderboardOptions, Qi as ChatSessionStore, Qn as FencedSqlRunContext, Qo as buildSteerContext, Qp as DEFAULT_SHARED_BOX_RESOURCES, Qr as GraphRegistryDir, Qs as breadthStrategy, Qt as VerifierEnvironmentOptions, Qu as ResolvedWorkerSpawnRetry, Qv as PeerMailSendInput, Qx as LoopPlanDescription, Qy as InMemoryResultBlobStore, R as SpendChannel, RS as RetainedRunCancellation, Ra as AgentTurnBackend, Rb as WorkerInteractiveSession, Rc as FanoutOptions, Rd as ReserveOptions, Rf as composeReentryTask, Rg as HarnessUsage, Ri as SteerableRootHandle, Rl as checkProgramDigest, Rm as sumSandboxUsage, Rn as Workspace, Ro as FileCorpus, Rp as RouterSeam, Rr as ProfileRunRecord, Rs as StdioMcpServerSpec, Rt as CheckpointRef, Rv as WorkerResumeContext, Rx as ExecutorToolCall, Ry as SqlRunOwnershipError, S_ as RunAgentRoundsOptions, Sa as StructuralRolloutPolicy, Sb as MaterializedModelIdentity, Sc as Observation, Sd as SupervisorSpanOptions, Sf as PlateauOptions, Sg as CompletionVerdict, Si as DesignerToolsEnv, Sl as providerAsSandboxClient, Sm as KeyProvider, Sn as attachWorker, So as reconnectRetainedInteractiveRun, Sr as safeWorkerFile, Ss as superviseDispatch, Sv as QuestionEscalationRecord, Sx as HarnessTranscriptReadLimits, Sy as AnalystKind, TS as NativeContextContinuationHandle, T_ as SandboxEvidenceReceipt, Ta as canDisplace, Tb as RootMaterialization, Tc as ObserveInput, Td as createSupervisorSpanRecorder, Tf as StopRule, Tg as sentinelCompletion, Ti as DelegateOptions, Tl as LeaderboardBenchTask, Tm as mcpSecretEnvMetadataKey, Tn as NOTE_MAX_CHARS, To as ResolveSandboxClientOptions, Tr as workerInboxFileFromEventDir, Ts as TerminalDecision, Tt as AgentEnvironment, Tx as RetainedHarnessTranscriptDescriptor, Ty as AnalystRunContext, U as NodeStatus, US as RetainedRunHandle, Ua as collectAgentTurn, Ub as SessionTraceBox, Uc as Panel, Ud as defaultEdgeTraversalCap, Uf as bestDelivered, Ug as CodeModeToolsOptions, Ui as ResumedKeyState, Ul as IsolatedCheckBox, Um as ToolLoopCallContext, Un as localShell, Uo as loopUntil, Up as SteerableSandboxArgs, Ur as profileRunsForName, Us as AgenticSurface, Ut as ExecResult, Uu as superviseFleetCapabilities, Uv as AUTHORITY_MARKERS, Ux as Driver, Uy as SpawnForestEvent, V as NodeId, VS as RetainedRunEnvironmentAdmission, Va as CollectedAgentTurn, Vb as WorkerTraceUnavailableReason, Vc as LoopUntilSpec, Vf as FinalizerSettled, Vg as CodeModeTool, Vi as Agent, Vl as declaredCheckJudge, Vm as RouterRouting, Vn as gitWorkspace, Vo as fanout, Vp as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Vr as pickBestProfile, Vs as AgenticOptions, Vt as CreateSandboxOptions, Vv as MapSpawnMarker, Vx as AgentRunSpec, Vy as materializeTreeView, W as RetainedExecutionState, WS as RetainedRunIntentAdmission, Wa as streamAgentTurn, Wb as ToolStepInput, Wc as PanelJudge, Wd as GraphRouteError, Wg as CodeModeToolset, Wi as ResumedWork, Wl as IsolatedCheckBoxEvidence, Wm as ToolLoopChat, Wn as runInWorkspace, Wo as panel, Wp as SteerableSandboxSession, Wr as recordProfileRun, Ws as AgenticTask, Wt as ForkRequest, Wv as DEFAULT_PEER_MAIL_LIMITS, Wx as ExecCtx, Wy as SpawnForestInDoubtNode, X as SubtreeSummary, XS as StartRetainedRunOptions, X_ as WorktreeCheckRunner, Xa as TournamentCell, Xb as ActivityNote, Xc as ScopeAnalyzeInput, Xd as delegatesWorkerBriefPrompt, Xg as Interval, Xi as WorkerEventPage, Xn as createSupervisor, Xo as RegistryAnalyzeProjection, Xp as PeerInboxMessage, Xr as InPlaceCliExecutorOptions, Xs as StrategyShotResult, Xt as computeFindingId, Xv as PeerMailReadout, Xx as LoopIterationStartedPayload, Xy as replaySpawnTree, Y as SubtreeResult, YS as StartRetainedRunInEnvironmentOptions, Y_ as InPlaceHarnessResult, Ya as StrategyTournament, Yb as ActivityLog, Yc as ScopeAnalyst, Yd as createPromptRegistry, Yf as serveCoordinationMcp, Yg as GroupOf, Yi as WorkerEventEntry, Yn as DEFAULT_MAX_DEPTH, Yo as CreateScopeAnalystOptions, Yp as InboxMessage, Yr as workerFromInteractiveProvider, Ys as StrategyMessage, Yt as WorkspaceRequest, Yv as PeerMailOutcome, Yx as LoopIterationEndedPayload, Yy as FileResultBlobStore, Z as TreeView, Z_ as WorktreeCommandResult, Za as TournamentRow, Zb as DEFAULT_STALL_AFTER_MS, Zc as ScopeWidenGate, Zd as dumbContinuationFailPrompt, Zg as Leaderboard, Zi as ChatCompletionsTransport, Zn as createRootHandle, Zo as assertTraceDerivedFindings, Zp as createInbox, Zr as createInPlaceCliExecutor, Zs as SurfaceScore, Zt as makeFinding, Zu as createWorkerSlots, Zv as PeerMailRefusal, Zx as LoopLineageOptions, Zy as FileSpawnJournal, __ as renderAnytimeTable, _a as CheckSource, _b as ExecutionBindingReceipt, _c as HarvestCorpusOptions, _d as RunContextLease, _f as SupervisorToolInvocationContext, _g as mapExecutorResult, _i as RollingDispatchOptions, _l as RunPersonifiedOptions, _m as UnavailablePausePolicy, _n as WorktreePatchArtifact, _o as recoverRetainedRun, _r as cancelWorker, _s as LoopOptionsForDispatch, _x as ReadableEnvironment, _y as WatchTraceOptions, aS as LoopTraceEmitter, a_ as pairwiseSignificance, aa as AuthoredProfile, ac as ShotSpec, ad as withWorkerSpawnRetry, af as CoordinationToolFace, ai as graphRegistry, al as WidenDecision, am as sharedBoxPlacement, an as SurfaceReader, ao as SandboxRunAbortError, ap as ContinuationPanel, ar as SearchSpecOwnedOption, as as sanitizeMcpToolSchema, at as DriverAttemptRecord, av as ManagerReentryState, ax as RecoverRetainedInteractiveRunOptions, ay as peerMailVerbNames, b_ as WaterfallSpan, ba as StructuralRolloutConfig, bb as ExecutorNodeContext, bc as HarvestReport, bd as withRunContext, bf as AllWorkersStalledOptions, bg as CompletionEvidence, bi as rollingDispatch, bl as ShapeRegistry, bm as BridgeModelCredential, bn as WorkerInteractiveBinding, bo as ClaimRetainedInteractiveControlOptions, br as readWorkerSteerAcknowledgement, bs as loopCampaignDispatch, bv as QuestionDecision, bx as persistHarnessTranscript, by as AnalystAssignmentRecord, cS as MountManifestEntry, c_ as renderLeaderboardSvg, ca as asAuthoredProfile, cc as StrategyCtx, cd as SeatSegment, ci as loadGraph, cl as WinnerStrategy, cm as sharedWorkerClientName, cn as fsSurfaceReader, co as SandboxLineage, cp as ContinuationPolicy, cr as searchPresets, cs as BenchmarkLift, ct as DriverFailureClass, cx as RetainedInteractiveRunHandle, dS as RunProvenance, d_ as AnytimeStrategySummary, da as profileRichnessFinding, db as AgentSpec, dc as assertStrategyContract, dd as SeatStage, df as ResolveSupervisorTools, di as recordGraphRun, dl as LoopShape, dm as createAgentEnvironmentProviderRegistry, dn as analystsFromRegistry, do as AcquireOptions, dp as VerdictSummary, dr as createScope, ds as BenchmarkTaskRow, dv as GateRequest, dx as HarnessTranscriptArtifact, dy as BusEvent, eS as LoopResult, e_ as PairwiseOptions, ea as ChatTransportTool, eb as contentAddress, ec as refine, ed as WorkerSpawnRetryHooks, ef as kernelPromptRegistry, ei as GraphSelection, el as TrajectoryReport, em as SharedBoxCloseReceipt, en as BoxSurfaceReaderOptions, eo as Deliverable, ep as FileCoordinationLog, er as createFencedSqlRunContext, es as registryScopeAnalyst, et as ProviderModelAttemptEvidence, ev as GitRunner, ex as TeamProgress, ey as PeerMailboxOptions, f as BackendErrorDetail, fS as SandboxClient, f_ as AnytimeTaskCurve, fa as supervisorInstructions, fb as ExecutorContext, fc as authorStrategy, ff as SupervisorAgentDeps, fg as CheckUnavailableError, fi as storedGraphDigests, fl as Outcome, fm as resolveAgentEnvironmentProvider, fn as failuresAnalyst, fo as acquireSandbox, fp as admitContinuationPolicy, fr as ScopeArgs, fs as Environment, fv as JsonScalar, fx as HarnessTranscriptCapture, fy as BusRecord, g_ as plateauLength, ga as CheckRunner, gb as AgentExecutionRef, gc as strategyAuthorSystemPrompt, gd as RunContext, gf as SupervisorToolDescriptor, gg as gateOnDeliverable, gi as DispatchUnit, gl as RunPersonified, gm as providerAsExecutor, gn as WorktreeCliExecutorOptions, go as reconnectRetainedRun, gr as WriteWorkerSteerOptions, gs as LoopDispatchOptions, gt as MakeWorkerAgent, gv as RouteWhen, gx as HarnessTranscriptUnavailableReason, gy as createEventBus, hS as Validator, h_ as bestSoFar, ha as CheckRunContext, hb as SpawnModelSubstitution, hc as strategyAuthorContract, hd as InMemoryRunContextOptions, hf as SupervisorNodeContextSeed, hg as ExecutorResultMapping, hi as DispatchStopReason, hl as PersonaExecutors, hm as ProviderPromptOptions, hn as worktreeFanout, ho as createS3PrivateCasStore, hp as DriverRetryPolicy, hr as WorkerSteerRequest, hs as LoopCampaignDispatchOptions, hv as RouteMatch, hx as HarnessTranscriptUnavailable, hy as PublishOptions, iS as LoopTokenUsage, i_ as leaderboard, ia as createChatSessionStore, ic as AuthoredStrategy, id as retryPreSpawnRefusals, ii as graphFromStored, il as Widen, im as SharedWorkerIdentity, in as SurfaceReadOutcome, io as SandboxRun, ip as ContinuationEntry, ir as SearchSpecInputs, is as createMcpEnvironment, it as SupervisedResult, iv as LeadMessage, ix as ReconnectRetainedInteractiveRunOptions, iy as peerMailTools, j as TraceSummary, jS as RetainedInteractiveAdmission, ja as modelAuthoredChecks, jb as ExecutorCancellationRequest, jc as CombinatorShape, jd as LeakedReservation, jf as RunCancellation, jg as CodexRolloutStoreRef, ji as TraceRootReceipt, jl as LeaderboardScore, jm as SandboxToolPartState, jn as spendFromUsageEvents, jo as PrivateCasOffloadReport, jp as ExecutorConfig, jr as connectRemoteSupervisor, js as inProcessSandboxClient, jt as AgentEnvironmentSummary, ju as EdgeTraversal, jx as ProviderWorkspaceCaptureProvenance, jy as LocalHarnessResult, k as TRACE_SUMMARY_SCHEMA, kS as RecoverRetainedRunOptions, ka as defaultStructuralRolloutPolicy, kb as ExecutorAccounting, kc as renderReport, kd as BudgetPoolRestore, kf as plateau, kg as CodexRolloutSession, ki as SpawnEvent, kl as LeaderboardRunContext, km as SandboxLeafOut, kn as composeWorkerEvidence, ko as PrivateCasArtifactPort, kr as RemoteSupervisorTree, ks as InProcessPromptCtx, kt as AgentEnvironmentQuery, ku as AgentGraph, kv as questionEscalationTargets, kx as ProviderNativeCapturePhase, ky as DefinedAnalystRecord, lS as MountRecorder, l_ as renderPairwiseMarkdown, la as assessAuthoredProfile, lc as StrategyResult, lf as ObserveSupervisorNodeEvent, li as lookupGraph, ll as DefinePersona, ln as harvestSurfaceDiffs, lo as SandboxLineageHandle, lp as ContinuationProfile, lr as searchSpecDigest, ls as BenchmarkReport, lt as DriverRepromptRefusal, lx as RetainedInteractiveStartMaterial, mS as ValidationCtx, m_ as areaUnderCurve, ma as CheckOutcome, mb as ExecutorRegistry, mc as sampleThenRefine, md as InMemoryRunContext, mf as SupervisorNodeContext, mg as DeliverableSpec, mi as DispatchReport, ml as PersonaContext, mm as ProviderLeafOut, mn as WorktreeFanoutOptions, mo as S3PrivateCasStoreOptions, mp as DriverReentry, mr as WorkerSteerAcknowledgement, ms as runBenchmark, mv as RouteGate, mx as HarnessTranscriptFile, my as EventBus, nS as LoopStartedPayload, n_ as ProfileKeyOf, na as chatTransportExecutor, nc as sample, nd as isPreSpawnExecutorFailure, nf as promptHandle, ni as digestOfGraph, nl as Verify, nm as SharedBoxPlacementOptions, nn as SurfaceDiff, no as OpenSandboxRunOptions, nr as SEARCH_SPEC_CORRELATION_KEY, ns as McpEndpoint, nt as RootProviderModelEvidence, nv as CoordinationEvent, nx as createActivityLog, ny as createPeerMailbox, oS as LoopTraceEvent, o_ as renderLeaderboardHtml, oa as ProfileRichness, oc as Strategy, od as SuperviseRegistry, of as CoordinationVerbs, oi as graphRunsFor, ol as WidenLineage, om as ROUTER_CLIENT_HEADER, on as WatchedSurface, oo as TurnResult, op as ContinuationPanelInput, or as assertSearchSpec, os as BenchmarkCell, ot as DriverAttemptStop, ox as RetainedInteractiveAdmissionHook, pS as SelectionReceipt, p_ as anytimeReport, pa as CheckExecChannel, pb as ExecutorFactory, pc as defineStrategy, pd as subscriptionUsageLimitSignal, pg as CheckVerdict, pi as taskShapeDigest, pl as Persona, pm as ProviderExecutorOptions, pn as AuthoredHarness, po as S3PrivateCasStore, pp as DriverContractState, pr as WorkerCancellation, ps as printBenchmarkReport, px as HarnessTranscriptEvidence, py as BusStats, q as SpawnPrior, qS as RetainedRunStartMaterial, qa as EvolutionStrategy, qb as decodeToolPart, qc as PipelineStage, qd as RegisteredPrompt, qg as runCodeMode, qi as WidenGate, ql as runIsolatedCheck, qm as ToolLoopMessageRecord, qn as WorkerToolTraceArtifact, qo as verify, qp as Inbox, qr as InteractiveWorkerOptions, qs as CorpusReadbackOptions, qt as SandboxEvent, qv as PeerMailEvent, qx as LoopEndedPayload, qy as SpawnForestTree, rS as LoopTeardownFailedPayload, r_ as ScoreOf, ra as chatWorkerSeam, rc as AuthorStrategyOptions, rd as resolveWorkerSpawnRetry, rf as supervisorAgent, ri as graphDigest, rl as VerifySpec, rm as SharedBoxStats, rn as SurfaceReadBox, ro as OpenSandboxRunPromptOptions, rp as ContinuationAppend, rr as SearchSpec, rs as McpEnvironmentOptions, rt as RootStreamReceipt, rv as EventAcknowledgement, rx as readWorkerProgress, ry as isPeerMailEnvelope, sS as LoopWinner, s_ as renderLeaderboardMarkdown, sa as ProfileRichnessThresholds, sc as StrategyArtifacts, sd as SuperviseRegistryTable, sf as DriveHarness, si as listGraphRuns, sl as WidenSpec, sm as sharedBoxRefusal, sn as boxSurfaceReader, so as openSandboxRun, sp as ContinuationPanelResult, sr as compileSearchSpec, ss as BenchmarkConfig, st as DriverContinuationRecord, sv as ToolOutcomeEvent, sx as RetainedInteractiveEnvironmentInput, tS as LoopSandboxPlacement, t_ as PairwiseVerdict, ta as ChatWorkerSeamOptions, tc as runAgentic, td as WorkerSpawnRetryPolicy, tf as naiveContinuationPrompt, ti as StoredGraph, tl as TrajectoryReportOptions, tm as SharedBoxPlacement, tn as HarvestSurfaceDiffsOptions, to as OpenSandboxRunBeforeStartContext, tr as CompiledSearchSpec, ts as observationFromRegistry, tt as ProviderModelExecutionEvidence, tx as WorkerProgress, ty as claimsAuthority, uS as OutputAdapter, u_ as AnytimeReport, ua as defaultProfileRichnessThresholds, uc as adaptiveRefine, ui as pickBestGraph, ul as DefinePersonaInput, um as AgentEnvironmentProviderRegistry, un as AnalystAuthoring, uo as createSandboxLineage, up as PanelFinding, ur as settledToIteration, us as BenchmarkStrategySummary, ut as BlockedToolReport, uv as GateDecision, ux as StartRetainedInteractiveRunOptions, v_ as WaterfallCollector, va as CheckSourceCtx, vb as ExecutorExecutionBinding, vc as HarvestError, vd as createFileRunContext, vg as verdictFromJudgeScore, vi as freeSlots, vl as ShapeBudget, vm as ProviderPlacement, vn as createWorktreeCliExecutor, vo as startRetainedRun, vr as legacySupervisorRunDir, vs as SuperviseDispatchOptions, vt as SettledWorker, vx as captureHarnessTranscript, vy as defaultToolDetectors, wS as NativeContextContinuationExecution, w_ as SandboxEvidenceContext, wa as VisibleCheck, wb as ProfileMaterializationReceipt, wc as ObservationError, wd as SupervisorSpanRecorder, wf as StopDecision, wg as deterministicCompletion, wi as graphDesignerExtraTools, wl as LeaderboardBenchScore, wm as envKeyProvider, wn as EVIDENCE_MAX_CHARS, wo as startRetainedInteractiveRun, wr as supervisorRunsRoot, ws as TERMINAL_DECISIONS, wt as WorkerSpawnContext, wx as RetainedHarnessTranscriptCapture, wy as AnalystRegistry, x_ as createWaterfallCollector, xa as StructuralRolloutMessage, xb as MaterializedExecutionIdentity, xc as harvestCorpus, xd as SupervisorSpanAttributes, xf as NoProgressForOptions, xg as CompletionPolicy, xi as DesignerRunGraphEnv, xl as ProviderAsSandboxClientOptions, xm as BridgeSeam, xn as WorkerInteractiveProviderSource, xo as claimRetainedInteractiveControl, xr as readWorkerSteerRequests, xs as loopDispatch, xx as HarnessTranscriptMetadata, xy as AnalystFindingEvent, y_ as WaterfallReport, ya as RepairStop, yb as ExecutorMaterialization, yc as HarvestFailure, yd as createInMemoryRunContext, yf as SupervisorProfile, yg as CompletionAnalyst, yi as queueOf, yl as ShapeContext, ym as BridgeHarnessStore, yn as AttachWorkerOptions, yo as startRetainedRunInEnvironment, yr as readWorkerCancellation, ys as SuperviseOptionsForDispatch, yx as harnessTranscriptArtifact, yy as watchTrace, z as SpendGap, zS as RetainedRunDispatchedAdmission, za as AgentTurnInput, zb as WorkerInteractiveUnavailableReason, zc as FanoutSynthesis, zd as createBudgetPool, zf as DeliveredOutput, zg as decodeHarnessUsage, zi as Supervisor, zl as declaredCheckDeliverable, zm as RouterResponseReceipt, zn as WorkspaceCommit, zo as InMemoryCorpus, zp as RouterToolsSeam, zr as bestProfileFor, zs as connectStdioMcp, zt as CheckpointRequest, zu as TraversalContinuity, zv as MapItemFailurePolicy, zx as TokenUsageProvenance, zy as openSqlRunStore } from "./types-CaOXqRTq.js";
1
+ import { $ as NoWinnerError, $_ as CoordinationEvent, $a as strategyTournament, $b as RetainedInteractiveAdmissionHook, $c as TrajectoryNode, $d as createBudgetPool, $f as CoordinationLog, $g as PairwiseOptions, $i as ChatTransportExecutorOptions, $n as SqlRunContextOptions, $o as createScopeAnalyst, $p as SharedBoxCloseReceipt, $r as GraphRunRecord, $s as depthStrategy, $t as createVerifierEnvironment, $u as promptHandle, $v as createPeerMailbox, $x as LoopTraceEvent, A as TraceRootArtifact, AS as RetainedRunCancelOptions, Aa as filterAuthoredAsserts, Ab as HeldEnvironment, Ac as AssertTraceDerivedFindings, Ad as RunContext, Af as RunCancelRequest, Ag as CodexRolloutStoreRef, Ai as SpawnJournal, Al as LeaderboardScenario, Am as SandboxToolPartState, An as settledWorkerOut, Ao as PrivateCasDurableStore, Ap as createExecutorRegistry, Ar as RemoteWorkerEvents, As as InProcessSandboxClientOptions, At as AgentEnvironmentStatus, Au as GraphEdge, Ax as ExecutorProgressEvent, B as Handle, BS as RetainedRunStartMaterial, Ba as AgentTurnUsage, Bb as TraceSource, Bc as FanoutWinnerSelector, Bd as WorkerTraceResolver, Bf as FinalizeContext, Bg as CodeModeTool, Bi as SupervisorOpts, Bl as declaredCheckDigest, Bm as RouterRouting, Bn as WorkspaceRun, Bo as renderCorpusToInstructions, Bp as SandboxSeam, Br as loadProfile, Bs as materializeLocalMcp, Bt as CreateAgentEnvironmentInput, Bu as defaultEdgeTraversalCap, Bv as AUTHORITY_MARKERS, Bx as LoopEndedPayload, By as SpawnForestEvent, CS as RecoverRetainedRunResult, C_ as SandboxEvidenceContext, Ca as StructuralRolloutResult, Cb as EnvironmentTeardownReceipt, Cc as ObservationAnalysis, Cf as ProgressView, Cg as deterministicCompletion, Ci as GraphDesignerExtraTools, Cl as DefinedLeaderboard, Cm as envKeyProvider, Cn as readWorkerInteractiveBinding, Co as recoverRetainedInteractiveRun, Cr as supervisorRunDir, Cs as LocalSandboxClientOptions, Ct as SuperviseProfileEntry, Cv as QuestionPolicy, Cx as ProviderWorkspaceAttemptProvenance, DS as RetainedInteractiveStartedAdmission, Da as composeCheckSources, Db as ExecutorCancellationRequest, Dc as defaultAnalystInstruction, Dd as subscriptionUsageLimitSignal, Df as anyOf, Dg as CodexRolloutIdentity, Di as delegate, Dl as LeaderboardFlagSpec, Dm as secretEnvOfMcpServer, Dn as WorkerEvidenceInput, Do as profileChatClient, Dr as RemoteSupervisorAgent, Ds as inlineSandboxClient, Dt as AgentEnvironmentEvent, Du as AgentGraph, Dx as ProviderWorkspaceEntryMetadata, Dy as CodexExecutionEvidence, E as EvidencePendingEvent, ES as RetainedInteractiveIntentAdmission, Ea as compareCheckOutcomes, Eb as ExecutorCancellation, Ec as ObserveOptions, Ef as allWorkersStalled, Eg as CodexForkBoundary, Ei as defaultDelegateBudget, El as LeaderboardBenchmarkAdapter, Em as resolveSecretEnv, En as VERIFY_TAIL_CHARS, Eo as resolveSandboxClient, Er as writeWorkerSteer, Es as defaultSelectWinner, Et as AgentEnvironmentCapabilities, Ev as questionEscalationTargets, Ex as ProviderWorkspaceCaptureResult, Ey as DefinedAnalystRecord, F as ResourceLimit, FS as RetainedRunEventOptions, Fa as selectBestIndex, Fb as WorkerInteractiveUnavailableReason, Fc as EqualKArm, Fd as SupervisorSpanAttributes, Ff as ReentryContinuity, Fg as harnessUsageIsEmpty, Fi as RootSegment, Fl as DeclaredCheckPlacement, Fm as SandboxUsageLedger, Fn as withUntrackedArtifacts, Fo as trajectoryReport, Fp as CliWorktreeBridgeSeam, Fr as SupervisorCleanupReceipt, Fs as McpListedTool, Ft as AgentSessionStatus, Fu as RunGraphOptions, Fv as WorkerResumeContext, Fx as DefaultVerdict, Fy as SqlRunOwnershipError, G as Settled, Ga as EvolutionAuthor, Gb as ExecutorProgress, Gc as PanelSpec, Gd as LeakedReservation, Gf as CoordinationMcpHandle, Gg as createCodeModeTools, Gi as Scope, Gl as IsolatedCheckOptions, Gn as TrajectoryAnalysis, Go as pipeline, Gp as createSteerableSandboxSession, Gr as InteractiveWorkerEnvironment, Gs as AgenticTool, Gt as PlacementInfo, Gu as analyzesFindingsReportPrompt, Gv as PeerMailLimits, Gx as LoopPlanDescription, Gy as loadSpawnForest, H as NodeSnapshot, HS as StartRetainedRunInEnvironmentOptions, Ha as StreamAgentTurnOptions, Hb as ActivityLog, Hc as LoopUntilState, Hd as BudgetPool, Hf as SupervisorFinalizer, Hg as CodeModeToolsOptions, Hi as ReenteredWorkers, Hl as readDeclaredCheck, Hm as ToolLoopCallContext, Hn as jjWorkspace, Ho as flatWidenGate, Hp as SandboxSteeringOptions, Hr as profileRegistry, Hs as AgenticRunResult, Ht as ExecRequest, Hu as PromptHandle, Hv as PEER_MAIL_WIRE_KEY, Hx as LoopIterationEndedPayload, Hy as SpawnForestMissingTree, I as ResourceSpend, IS as RetainedRunHandle, Ia as structuralRollout, Ib as WorkerTraceEvidence, Ic as EqualKOnCostOptions, Id as SupervisorSpanOptions, If as ReentryTaskInput, Ig as readCodexRolloutSession, Ii as RootSegmentEntry, Il as DeclaredCheckStateCapture, Im as extractLlmCallEvent, In as GitWorkspaceOptions, Io as definePersona, Ip as CliWorktreeSeam, Ir as provisionSupervisor, Is as McpSpawnFault, It as AgentTurnResult, Iv as MapItemFailurePolicy, Ix as Driver, Iy as openSqlRunStore, J as SpawnRejection, J_ as WorktreeCommandResult, Ja as StrategyEvolutionConfig, Jb as WorkerProgress, Jc as RenderCorpusToInstructionsOptions, Jd as ReservationRejection, Jg as GroupOf, Ji as WorkerEventCursor, Jn as parseWorkerToolTraceArtifact, Jo as widen, Jp as InboxLease, Jr as InteractiveWorkerResult, Js as RunAgenticOptions, Jt as SandboxInstance, Ju as dumbContinuationFailPrompt, Jv as PeerMailRefusal, Jx as LoopSandboxPlacement, Jy as FileSpawnJournal, K as SpawnOpts, K_ as InPlaceHarnessResult, Ka as EvolutionReport, Kb as ScopeProgressInput, Kc as PanelVerdict, Kd as ReservationFloor, Kg as runCodeMode, Ki as UnconfirmedTeardown, Kl as IsolatedCheckResult, Km as ToolLoopMessageRecord, Kn as analyzeTrace, Ko as selectValidWinner, Kp as AuthorityInboxMessage, Kr as InteractiveWorkerKeyInput, Ks as ArtifactHandle, Kt as ResourceRequest, Ku as createPromptRegistry, Kv as PeerMailOutcome, Kx as LoopPlanPayload, Ky as FileResultBlobStore, L as Spend, LS as RetainedRunIntentAdmission, La as visibleCheckScore, Lb as WorkerTraceUnavailableReason, Lc as EqualKVerdict, Ld as SupervisorSpanOutcome, Lf as UNPROVEN_CONTINUITY, Lg as HarnessUsage, Li as RootSignal, Ll as assertDeclaredCheck, Lm as sumSandboxUsage, Ln as Shell, Lo as runPersonified, Lp as ProviderSeam, Lr as ProfileRegistryDir, Ls as StdioMcpConnection, Lt as AnalystFinding, Lu as TraversalContinuity, Lx as ExecCtx, Ly as SqlAdapter, M as Budget, MS as RetainedRunDispatchedAdmission, M_ as createOtelExporter, Ma as officialChecksFromMeta, Mb as HeldRelease, Mc as Corpus, Md as createFileRunContext, Mf as cancelRun, Mg as CodexStoreDelta, Mi as WorkspaceCheckpointMarker, Ml as LeaderboardSpec, Mm as mapSandboxEvent, Mn as CopyOptions, Mo as PrivateCasOptions, Mp as createExecutor, Mr as ProvisionSupervisorConnection, Ms as HttpMcpServerSpec, Mt as AgentProfile, Mu as GraphNode, Mv as DownMessageDeliveryAttempt, Mx as TokenUsageProvenance, N as BudgetOverspend, NS as RetainedRunEffect, Na as resolveEntrySymbol, Nb as Runtime, Nc as CorpusFilter, Nd as createInMemoryRunContext, Nf as readRunCancelRequest, Ng as addHarnessUsage, Ni as RecursiveReservationPolicy, Nl as defineLeaderboard, Nm as mapSandboxToolEvent, Nn as UntrackedCopyStats, No as createPrivateCasArtifactPort, Np as CliInPlaceSeam, Nr as ProvisionSupervisorRequest, Ns as LocalMcpMaterialization, Nt as AgentSession, Nu as GraphResult, Nv as DownMessageDeliveryOutcome, Nx as UsageEvent, Ny as CodexTokenUsage, O as TRACE_ROOT_SCHEMA, OS as RetainedRunAdmission, Oa as defaultExtractCandidate, Ob as ExecutorResult, Oc as observe, Od as InMemoryRunContext, Of as noProgressFor, Og as CodexRolloutSession, Oi as ResultBlobStore, Ol as LeaderboardIterationInfo, Om as SandboxLeafOut, On as closingWorkerNote, Oo as profileOptimizerModelCall, Or as RemoteSupervisorReader, Os as InProcessOnPrompt, Ot as AgentEnvironmentProvider, Ou as EdgeDeliveryOutcome, Ox as ProviderWorkspaceRetentionContext, Oy as LocalHarnessResult, P as BudgetViolation, PS as RetainedRunEnvironmentAdmission, Pa as sandboxCheckRunner, Pb as WorkerInteractiveSession, Pc as CorpusRecord, Pd as withRunContext, Pf as readRunCancellation, Pg as createCodexRolloutStoreReader, Pi as RootHandle, Pl as DeclaredCheck, Pm as SandboxServedBackend, Pn as copyUntrackedIntoClone, Po as equalKOnCost, Pp as CliSeam, Pr as ProvisionedSupervisor, Ps as MaterializeLocalMcpOptions, Pt as AgentSessionRef, Pu as GraphTopology, Pv as DownMessageEvent, Px as AgentRunSpec, Py as CodexExecutionPolicy, Q as FleetYield, Qa as runStrategyEvolution, Qb as RecoverRetainedInteractiveRunOptions, Qc as SteerContext, Qd as ReserveOptions, Qg as LeaderboardRow, Qi as ChatSessionStore, Qn as FencedSqlRunContext, Qo as buildSteerContext, Qp as DEFAULT_SHARED_BOX_WORKERS, Qr as GraphRegistryDir, Qs as breadthStrategy, Qt as VerifierEnvironmentOptions, Qu as naiveContinuationPrompt, Qv as claimsAuthority, Qx as LoopTraceEmitter, R as SpendChannel, RS as RetainedRunReplayPoint, Ra as AgentTurnBackend, Rb as SessionMessageLike, Rc as FanoutOptions, Rd as SupervisorSpanRecorder, Rf as composeReentryTask, Rg as decodeHarnessUsage, Ri as SteerableRootHandle, Rl as checkProgramDigest, Rm as RouterResponseReceipt, Rn as Workspace, Ro as FileCorpus, Rp as RouterSeam, Rr as ProfileRunRecord, Rs as StdioMcpServerSpec, Rt as CheckpointRef, Ru as runGraph, Rv as MapSpawnMarker, Rx as Iteration, Ry as materializeTreeView, SS as RecoverRetainedRunOptions, S_ as runAgentRounds, Sa as StructuralRolloutPolicy, Sb as UnknownMaterializationReason, Sc as Observation, Sd as SeatSegment, Sf as PlateauOptions, Sg as completionAuthorizes, Si as DesignerToolsEnv, Sl as providerAsSandboxClient, Sm as ResolvedMcpServerLaunch, Sn as attachWorker, So as reconnectRetainedInteractiveRun, Sr as safeWorkerFile, Ss as superviseDispatch, Sx as ProviderNativeCapturePhase, Sy as AnalystRunContext, TS as RetainedInteractiveEnvironmentAdmission, T_ as SandboxEvidenceRetentionPort, Ta as canDisplace, Tb as ExecutorAccounting, Tc as ObserveInput, Td as SeatStage, Tf as StopRule, Tg as stopSentinel, Ti as DelegateOptions, Tl as LeaderboardBenchTask, Tm as resolveMcpServerLaunch, Tn as NOTE_MAX_CHARS, To as ResolveSandboxClientOptions, Tr as workerInboxFileFromEventDir, Ts as TerminalDecision, Tt as AgentEnvironment, Tx as ProviderWorkspaceCaptureReceipt, Ty as AuthoredAnalystLimits, U as NodeStatus, US as StartRetainedRunOptions, Ua as collectAgentTurn, Ub as ActivityNote, Uc as Panel, Ud as BudgetPoolRestore, Uf as bestDelivered, Ug as CodeModeToolset, Ui as ResumedKeyState, Ul as IsolatedCheckBox, Um as ToolLoopChat, Un as localShell, Uo as loopUntil, Up as SteerableSandboxArgs, Ur as profileRunsForName, Us as AgenticSurface, Ut as ExecResult, Uu as PromptRegistry, Uv as PeerMailEnvelope, Ux as LoopIterationStartedPayload, Uy as SpawnForestNode, V as NodeId, VS as RetainedRunTurnInput, Va as CollectedAgentTurn, Vb as createPushTraceSource, Vc as LoopUntilSpec, Vf as FinalizerSettled, Vg as CodeModeToolContext, Vi as Agent, Vl as declaredCheckJudge, Vm as ToolSpec, Vn as gitWorkspace, Vo as fanout, Vp as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Vr as pickBestProfile, Vs as AgenticOptions, Vt as CreateSandboxOptions, Vu as GraphRouteError, Vv as DEFAULT_PEER_MAIL_LIMITS, Vx as LoopIterationDispatchPayload, Vy as SpawnForestInDoubtNode, W as RetainedExecutionState, Wa as streamAgentTurn, Wb as DEFAULT_STALL_AFTER_MS, Wc as PanelJudge, Wd as BudgetReadout, Wg as RunCodeModeOptions, Wi as ResumedWork, Wl as IsolatedCheckBoxEvidence, Wm as ToolLoopCompaction, Wn as runInWorkspace, Wo as panel, Wp as SteerableSandboxSession, Wr as recordProfileRun, Ws as AgenticTask, Wt as ForkRequest, Wu as RegisteredPrompt, Wv as PeerMailEvent, Wx as LoopLineageOptions, Wy as SpawnForestTree, X as SubtreeSummary, X_ as WorktreeProfileMaterializationReceipt, Xa as TournamentCell, Xb as readWorkerProgress, Xc as ScopeAnalyzeInput, Xd as ReservationStage, Xg as Leaderboard, Xi as WorkerEventPage, Xn as createSupervisor, Xo as RegistryAnalyzeProjection, Xp as PeerInboxMessage, Xr as InPlaceCliExecutorOptions, Xs as StrategyShotResult, Xt as computeFindingId, Xu as formatPromptHandle, Xv as PeerMailbox, Xx as LoopTeardownFailedPayload, Xy as InMemorySpawnJournal, Y as SubtreeResult, Y_ as WorktreeHarnessResult, Ya as StrategyTournament, Yb as createActivityLog, Yc as ScopeAnalyst, Yd as ReservationShortfall, Yf as serveCoordinationMcp, Yg as Interval, Yi as WorkerEventEntry, Yn as DEFAULT_MAX_DEPTH, Yo as CreateScopeAnalystOptions, Yp as InboxMessage, Yr as workerFromInteractiveProvider, Ys as StrategyMessage, Yt as WorkspaceRequest, Yu as dumbContinuationPassPrompt, Yv as PeerMailSendInput, Yx as LoopStartedPayload, Yy as InMemoryResultBlobStore, Z as TreeView, Z_ as GitRunner, Za as TournamentRow, Zb as ReconnectRetainedInteractiveRunOptions, Zc as ScopeWidenGate, Zd as ReservationTicket, Zg as LeaderboardOptions, Zi as ChatCompletionsTransport, Zn as createRootHandle, Zo as assertTraceDerivedFindings, Zp as DEFAULT_SHARED_BOX_RESOURCES, Zr as createInPlaceCliExecutor, Zs as SurfaceScore, Zt as makeFinding, Zu as kernelPromptRegistry, Zv as PeerMailboxOptions, Zx as LoopTokenUsage, Zy as contentAddress, _S as NativeContextContinuationExecution, __ as WaterfallCollector, _a as CheckSource, _b as MaterializedExecutionIdentity, _c as HarvestCorpusOptions, _d as resolveWorkerSpawnRetry, _f as SupervisorToolInvocationContext, _g as verdictFromJudgeScore, _i as RollingDispatchOptions, _l as RunPersonifiedOptions, _m as ProviderPlacement, _n as WorktreePatchArtifact, _o as recoverRetainedRun, _r as cancelWorker, _s as LoopOptionsForDispatch, _v as QuestionDecision, _x as RetainedHarnessTranscriptCapture, _y as AnalystAssignmentRecord, aS as SandboxClient, a_ as renderLeaderboardHtml, aa as AuthoredProfile, ac as ShotSpec, ad as workerFromBackend, af as CoordinationToolFace, ai as graphRegistry, al as WidenDecision, am as ROUTER_CLIENT_HEADER, an as SurfaceReader, ao as SandboxRunAbortError, ap as ContinuationPanel, ar as SearchSpecOwnedOption, as as sanitizeMcpToolSchema, at as DriverAttemptRecord, ax as HarnessTranscriptCapture, bS as ReconnectRetainedRunOptions, b_ as createWaterfallCollector, ba as StructuralRolloutConfig, bb as ProfileMaterializationReceipt, bc as HarvestReport, bd as SuperviseRegistry, bf as AllWorkersStalledOptions, bg as CompletionPolicy, bi as rollingDispatch, bl as ShapeRegistry, bm as BridgeSeam, bn as WorkerInteractiveBinding, bo as ClaimRetainedInteractiveControlOptions, br as readWorkerSteerAcknowledgement, bs as loopCampaignDispatch, bv as QuestionEscalationTarget, bx as retainHarnessTranscript, by as AnalystLensOutput, cS as Validator, c_ as renderPairwiseMarkdown, ca as asAuthoredProfile, cb as ExecutorContext, cc as StrategyCtx, cd as SuperviseOptions, ci as loadGraph, cl as WinnerStrategy, cn as fsSurfaceReader, co as SandboxLineage, cp as ContinuationPolicy, cr as searchPresets, cs as BenchmarkLift, ct as DriverFailureClass, cv as GateRequest, cx as HarnessTranscriptUnavailable, cy as BusEvent, d_ as AnytimeTaskCurve, da as profileRichnessFinding, db as SpawnModelSubstitution, dc as assertStrategyContract, dd as createWorkerSlots, df as ResolveSupervisorTools, dg as CheckUnavailableError, di as recordGraphRun, dl as LoopShape, dm as resolveAgentEnvironmentProvider, dn as analystsFromRegistry, do as AcquireOptions, dp as VerdictSummary, dr as createScope, ds as BenchmarkTaskRow, dv as RouteGate, dx as captureHarnessTranscript, dy as EventBus, eS as LoopWinner, e_ as PairwiseVerdict, ea as ChatTransportTool, ec as refine, ei as GraphSelection, el as TrajectoryReport, em as SharedBoxPlacement, en as BoxSurfaceReaderOptions, eo as Deliverable, ep as FileCoordinationLog, er as createFencedSqlRunContext, es as registryScopeAnalyst, et as ProviderModelAttemptEvidence, ev as EventAcknowledgement, ex as RetainedInteractiveEnvironmentInput, ey as isPeerMailEnvelope, f as BackendErrorDetail, f_ as anytimeReport, fa as supervisorInstructions, fb as AgentExecutionRef, fc as authorStrategy, fd as ResolvedWorkerSpawnRetry, ff as SupervisorAgentDeps, fg as CheckVerdict, fi as storedGraphDigests, fl as Outcome, fm as ProviderExecutorOptions, fn as failuresAnalyst, fo as acquireSandbox, fp as admitContinuationPolicy, fr as ScopeArgs, fs as Environment, fv as RouteMatch, fx as harnessTranscriptArtifact, fy as PublishOptions, g_ as renderAnytimeTable, ga as CheckRunner, gb as ExecutorNodeContext, gc as strategyAuthorSystemPrompt, gd as isPreSpawnExecutorFailure, gf as SupervisorToolDescriptor, gg as mapExecutorResult, gi as DispatchUnit, gl as RunPersonified, gm as UnavailablePausePolicy, gn as WorktreeCliExecutorOptions, go as reconnectRetainedRun, gr as WriteWorkerSteerOptions, gs as LoopDispatchOptions, gt as MakeWorkerAgent, gx as HarnessTranscriptReadOptions, gy as watchTrace, h_ as plateauLength, ha as CheckRunContext, hb as ExecutorMaterialization, hc as strategyAuthorContract, hd as WorkerSpawnRetryPolicy, hf as SupervisorNodeContextSeed, hg as gateOnDeliverable, hi as DispatchStopReason, hl as PersonaExecutors, hm as providerAsExecutor, hn as worktreeFanout, ho as createS3PrivateCasStore, hp as DriverRetryPolicy, hr as WorkerSteerRequest, hs as LoopCampaignDispatchOptions, hx as HarnessTranscriptReadLimits, hy as defaultToolDetectors, iS as RunProvenance, i_ as pairwiseSignificance, ia as createChatSessionStore, ic as AuthoredStrategy, ii as graphFromStored, il as Widen, im as sharedBoxPlacement, in as SurfaceReadOutcome, io as SandboxRun, ip as ContinuationEntry, ir as SearchSpecInputs, is as createMcpEnvironment, it as SupervisedResult, iv as ToolOutcomeEvent, ix as HarnessTranscriptArtifact, j as TraceSummary, jS as RetainedRunCancellation, ja as modelAuthoredChecks, jb as HeldForContinuation, jc as CombinatorShape, jd as RunContextLease, jf as RunCancellation, jg as CodexRolloutTurn, ji as TraceRootReceipt, jl as LeaderboardScore, jm as createSandboxToolPartState, jn as spendFromUsageEvents, jo as PrivateCasOffloadReport, jp as ExecutorConfig, jr as connectRemoteSupervisor, js as inProcessSandboxClient, jt as AgentEnvironmentSummary, ju as GraphEdgeCapError, jx as ExecutorToolCall, k as TRACE_SUMMARY_SCHEMA, kS as RetainedRunAdmissionHook, ka as defaultStructuralRolloutPolicy, kb as ExecutorTeardownWarning, kc as renderReport, kd as InMemoryRunContextOptions, kf as plateau, kg as CodexRolloutStoreReader, ki as SpawnEvent, kl as LeaderboardRunContext, km as SandboxOutputMarker, kn as composeWorkerEvidence, ko as PrivateCasArtifactPort, kr as RemoteSupervisorTree, ks as InProcessPromptCtx, kt as AgentEnvironmentQuery, ku as EdgeTraversal, kv as ContinuationInstruction, kx as ProviderWorkspaceRetentionPort, l_ as AnytimeReport, la as assessAuthoredProfile, lb as ExecutorFactory, lc as StrategyResult, lf as ObserveSupervisorNodeEvent, li as lookupGraph, ll as DefinePersona, lm as AgentEnvironmentProviderRegistry, ln as harvestSurfaceDiffs, lo as SandboxLineageHandle, lp as ContinuationProfile, lr as searchSpecDigest, ls as BenchmarkReport, lt as DriverRepromptRefusal, lv as JsonScalar, lx as HarnessTranscriptUnavailableReason, ly as BusRecord, m_ as bestSoFar, ma as CheckOutcome, mb as ExecutorExecutionBinding, mc as sampleThenRefine, md as WorkerSpawnRetryHooks, mf as SupervisorNodeContext, mg as ExecutorResultMapping, mi as DispatchReport, ml as PersonaContext, mm as ProviderPromptOptions, mn as WorktreeFanoutOptions, mo as S3PrivateCasStoreOptions, mp as DriverReentry, mr as WorkerSteerAcknowledgement, ms as runBenchmark, mx as HarnessTranscriptMetadata, my as WatchTraceOptions, nS as MountRecorder, n_ as ScoreOf, na as chatTransportExecutor, nc as sample, nd as supervise, ni as digestOfGraph, nl as Verify, nm as SharedBoxStats, nn as SurfaceDiff, no as OpenSandboxRunOptions, nr as SEARCH_SPEC_CORRELATION_KEY, ns as McpEndpoint, nt as RootProviderModelEvidence, nv as ManagerReentryState, nx as RetainedInteractiveStartMaterial, ny as peerMailVerbNames, oS as SelectionReceipt, o_ as renderLeaderboardMarkdown, oa as ProfileRichness, oc as Strategy, of as CoordinationVerbs, oi as graphRunsFor, ol as WidenLineage, om as sharedBoxRefusal, on as WatchedSurface, oo as TurnResult, op as ContinuationPanelInput, or as assertSearchSpec, os as BenchmarkCell, ot as DriverAttemptStop, ox as HarnessTranscriptEvidence, p_ as areaUnderCurve, pa as CheckExecChannel, pb as ExecutionBindingReceipt, pc as defineStrategy, pd as WorkerSpawnRetryAttempt, pg as DeliverableSpec, pi as taskShapeDigest, pl as Persona, pm as ProviderLeafOut, pn as AuthoredHarness, po as S3PrivateCasStore, pp as DriverContractState, pr as WorkerCancellation, ps as printBenchmarkReport, pv as RouteWhen, px as persistHarnessTranscript, py as createEventBus, q as SpawnPrior, q_ as WorktreeCheckRunner, qa as EvolutionStrategy, qb as TeamProgress, qc as PipelineStage, qd as ReservationHolder, qg as AxisScoresOf, qi as WidenGate, ql as runIsolatedCheck, qm as ToolLoopToolCall, qn as WorkerToolTraceArtifact, qo as verify, qp as Inbox, qr as InteractiveWorkerOptions, qs as CorpusReadbackOptions, qt as SandboxEvent, qu as delegatesWorkerBriefPrompt, qv as PeerMailReadout, qx as LoopResult, qy as replaySpawnTree, rS as OutputAdapter, r_ as leaderboard, ra as chatWorkerSeam, rc as AuthorStrategyOptions, rd as superviseFleetCapabilities, rf as supervisorAgent, ri as graphDigest, rl as VerifySpec, rm as SharedWorkerIdentity, rn as SurfaceReadBox, ro as OpenSandboxRunPromptOptions, rp as ContinuationAppend, rr as SearchSpec, rs as McpEnvironmentOptions, rt as RootStreamReceipt, rx as StartRetainedInteractiveRunOptions, sS as ValidationCtx, s_ as renderLeaderboardSvg, sa as ProfileRichnessThresholds, sb as AgentSpec, sc as StrategyArtifacts, sf as DriveHarness, si as listGraphRuns, sl as WidenSpec, sm as sharedWorkerClientName, sn as boxSurfaceReader, so as openSandboxRun, sp as ContinuationPanelResult, sr as compileSearchSpec, ss as BenchmarkConfig, st as DriverContinuationRecord, sv as GateDecision, sx as HarnessTranscriptFile, tS as MountManifestEntry, t_ as ProfileKeyOf, ta as ChatWorkerSeamOptions, tc as runAgentic, ti as StoredGraph, tl as TrajectoryReportOptions, tm as SharedBoxPlacementOptions, tn as HarvestSurfaceDiffsOptions, to as OpenSandboxRunBeforeStartContext, tr as CompiledSearchSpec, ts as observationFromRegistry, tt as ProviderModelExecutionEvidence, tv as LeadMessage, tx as RetainedInteractiveRunHandle, ty as peerMailTools, u_ as AnytimeStrategySummary, ua as defaultProfileRichnessThresholds, ub as ExecutorRegistry, uc as adaptiveRefine, ui as pickBestGraph, ul as DefinePersonaInput, um as createAgentEnvironmentProviderRegistry, un as AnalystAuthoring, uo as createSandboxLineage, up as PanelFinding, ur as settledToIteration, us as BenchmarkStrategySummary, ut as BlockedToolReport, ux as ReadableEnvironment, uy as BusStats, vS as NativeContextContinuationHandle, v_ as WaterfallReport, va as CheckSourceCtx, vb as MaterializedModelIdentity, vc as HarvestError, vd as retryPreSpawnRefusals, vg as CompletionAnalyst, vi as freeSlots, vl as ShapeBudget, vm as BridgeHarnessStore, vn as createWorktreeCliExecutor, vo as startRetainedRun, vr as legacySupervisorRunDir, vs as SuperviseDispatchOptions, vt as SettledWorker, vx as RetainedHarnessTranscriptDescriptor, vy as AnalystFindingEvent, wS as RetainedInteractiveAdmission, w_ as SandboxEvidenceReceipt, wa as VisibleCheck, wb as Executor, wc as ObservationError, wf as StopDecision, wg as sentinelCompletion, wi as graphDesignerExtraTools, wl as LeaderboardBenchScore, wm as mcpSecretEnvMetadataKey, wn as EVIDENCE_MAX_CHARS, wo as startRetainedInteractiveRun, wr as supervisorRunsRoot, ws as TERMINAL_DECISIONS, wt as WorkerSpawnContext, wv as QuestionRecord, wx as ProviderWorkspaceCaptureProvenance, wy as AuthoredAnalystDefinition, xS as RecoverRetainedRunIntentOptions, x_ as RunAgentRoundsOptions, xa as StructuralRolloutMessage, xb as RootMaterialization, xc as harvestCorpus, xd as SuperviseRegistryTable, xf as NoProgressForOptions, xg as CompletionVerdict, xi as DesignerRunGraphEnv, xl as ProviderAsSandboxClientOptions, xm as KeyProvider, xn as WorkerInteractiveProviderSource, xo as claimRetainedInteractiveControl, xr as readWorkerSteerRequests, xs as loopDispatch, xx as ProviderCheckpointCaptureContext, xy as AnalystRegistry, yS as NativeContextContinuationInput, y_ as WaterfallSpan, ya as RepairStop, yb as NodeExecutionIdentity, yc as HarvestFailure, yd as withWorkerSpawnRetry, yf as SupervisorProfile, yg as CompletionEvidence, yi as queueOf, yl as ShapeContext, ym as BridgeModelCredential, yn as AttachWorkerOptions, yo as startRetainedRunInEnvironment, yr as readWorkerCancellation, ys as SuperviseOptionsForDispatch, yv as QuestionEscalationRecord, yx as resolveHarnessTranscriptCapture, yy as AnalystKind, z as SpendGap, zS as RetainedRunSnapshot, za as AgentTurnInput, zb as ToolStepInput, zc as FanoutSynthesis, zd as createSupervisorSpanRecorder, zf as DeliveredOutput, zg as CodeModeStore, zi as Supervisor, zl as declaredCheckDeliverable, zm as RouterTransportConfig, zn as WorkspaceCommit, zo as InMemoryCorpus, zp as RouterToolsSeam, zr as bestProfileFor, zs as connectStdioMcp, zt as CheckpointRequest, zv as MapTraversalEvent, zx as LoopDecisionPayload, zy as SpawnForest } from "./types-Cgs89PQd.js";
2
2
  import { l as AgentCandidateWorkspaceArchiveLimits } from "./workspace-streams-BiS4ABah.js";
3
- import { l as assertProfileMaterializes } from "./profile-materialization-B1wm2SPT.js";
3
+ import { c as assertProfileMaterializes } from "./profile-materialization-bPm0gGLO.js";
4
4
  import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-0fKkoweu.js";
5
- export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type Agent, type AgentCandidateWorkspaceArchiveLimits, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, 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 AnalystAssignmentRecord, AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalystRunContext, AnytimeReport, AnytimeStrategySummary, AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, AuthoredHarness, AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, AxisScoresOf, type BackendErrorDetail, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BlockedToolReport, BoxSurfaceReaderOptions, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, type BudgetViolation, BusEvent, BusRecord, BusStats, ChatCompletionsTransport, ChatSessionStore, ChatTransportExecutorOptions, ChatTransportTool, ChatWorkerSeamOptions, CheckExecChannel, CheckOutcome, CheckRunContext, CheckRunner, CheckSource, CheckSourceCtx, CheckUnavailableError, CheckVerdict, type CheckpointRef, type CheckpointRequest, ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeStore, type CodeModeTool, type CodeModeToolContext, type CodeModeToolsOptions, type CodeModeToolset, type CodexExecutionEvidence, type CodexExecutionPolicy, CodexForkBoundary, CodexRolloutIdentity, CodexRolloutSession, CodexRolloutStoreReader, CodexRolloutStoreRef, CodexRolloutTurn, CodexStoreDelta, type CodexTokenUsage, type CollectedAgentTurn, type CombinatorShape, CompiledSearchSpec, CompletionAnalyst, CompletionEvidence, CompletionPolicy, CompletionVerdict, type ContinuationAppend, type ContinuationEntry, type ContinuationInstruction, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type CoordinationEvent, type CoordinationLog, type CoordinationMcpHandle, type CoordinationToolFace, type CoordinationVerbs, CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, CreateScopeAnalystOptions, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DeclaredCheck, DeclaredCheckPlacement, DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, DelegateOptions, Deliverable, DeliverableSpec, type DeliveredOutput, DesignerRunGraphEnv, DesignerToolsEnv, DispatchReport, DispatchStopReason, DispatchUnit, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type Driver, type DriverAttemptRecord, type DriverAttemptStop, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCostOptions, type EqualKVerdict, type EventAcknowledgement, EventBus, type EvidencePendingEvent, EvolutionAuthor, EvolutionReport, EvolutionStrategy, 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, ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FleetYield, type ForkRequest, type GateDecision, type GateRequest, type GitRunner, GitWorkspaceOptions, GraphDesignerExtraTools, type GraphEdge, GraphEdgeCapError, type GraphNode, GraphRegistryDir, type GraphResult, GraphRouteError, GraphRunRecord, GraphSelection, type GraphTopology, GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, HarvestCorpusOptions, HarvestError, HarvestFailure, HarvestReport, HarvestSurfaceDiffsOptions, type HeldEnvironment, type HeldForContinuation, type HeldRelease, type HttpMcpServerSpec, InMemoryCorpus, InMemoryResultBlobStore, InMemoryRunContext, InMemoryRunContextOptions, InMemorySpawnJournal, InPlaceCliExecutorOptions, type InPlaceHarnessResult, InProcessOnPrompt, InProcessPromptCtx, InProcessSandboxClientOptions, type Inbox, type InboxLease, type InboxMessage, InteractiveWorkerEnvironment, InteractiveWorkerKeyInput, InteractiveWorkerOptions, InteractiveWorkerResult, Interval, IsolatedCheckBox, IsolatedCheckBoxEvidence, IsolatedCheckOptions, IsolatedCheckResult, type Iteration, type JsonScalar, KeyProvider, type LeadMessage, Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, LeaderboardOptions, LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalHarnessResult, 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 LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type MapItemFailurePolicy, type MapSpawnMarker, type MapTraversalEvent, MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, McpEndpoint, McpEnvironmentOptions, McpListedTool, McpSpawnFault, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, Observation, ObservationAnalysis, ObservationError, ObserveInput, ObserveOptions, type ObserveSupervisorNodeEvent, OpenSandboxRunBeforeStartContext, OpenSandboxRunOptions, OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, PairwiseOptions, PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PeerInboxMessage, PeerMailEnvelope, PeerMailEvent, PeerMailLimits, PeerMailOutcome, PeerMailReadout, PeerMailRefusal, PeerMailSendInput, PeerMailbox, PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type PipelineStage, type PlacementInfo, type PlateauOptions, PrivateCasArtifactPort, PrivateCasDurableStore, PrivateCasOffloadReport, PrivateCasOptions, ProfileKeyOf, type ProfileMaterializationReceipt, ProfileRegistryDir, ProfileRichness, ProfileRichnessThresholds, ProfileRunRecord, type ProgressView, PromptHandle, PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, ProvisionSupervisorConnection, ProvisionSupervisorRequest, ProvisionedSupervisor, PublishOptions, type QuestionDecision, type QuestionEscalationRecord, type QuestionEscalationTarget, type QuestionPolicy, type QuestionRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReenteredWorkers, ReentryContinuity, ReentryTaskInput, RegisteredPrompt, RegistryAnalyzeProjection, RemoteSupervisorAgent, RemoteSupervisorReader, RemoteSupervisorTree, RemoteWorkerEvents, type RenderCorpusToInstructionsOptions, RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, type ReserveOptions, ResolveSandboxClientOptions, type ResolveSupervisorTools, ResolvedMcpServerLaunch, ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, 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 RetainedRunTurnInput, RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSegment, type RootSegmentEntry, type RootSignal, type RootStreamReceipt, type RouteGate, type RouteMatch, type RouteWhen, type RouterResponseReceipt, type RouterRouting, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunCodeModeOptions, RunContext, RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, S3PrivateCasStore, S3PrivateCasStoreOptions, SEARCH_SPEC_CORRELATION_KEY, type SandboxClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, ScoreOf, SearchSpec, SearchSpecInputs, SearchSpecOwnedOption, type SeatSegment, type SeatStage, type SelectionReceipt, type SessionMessageLike, type SessionTraceBox, type Settled, type SettledWorker, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxStats, type SharedWorkerIdentity, Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnModelSubstitution, type SpawnOpts, type SpawnPrior, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type SqlAdapter, SqlRunContextOptions, SqlRunOwnershipError, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, StdioMcpConnection, StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, SteerableSandboxArgs, SteerableSandboxSession, type StopDecision, type StopRule, StoredGraph, type Strategy, type StrategyArtifacts, type StrategyCtx, StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, StrategyTournament, type StreamAgentTurnOptions, StructuralRolloutConfig, StructuralRolloutMessage, StructuralRolloutPolicy, StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, SupervisorSpanAttributes, SupervisorSpanOptions, SupervisorSpanOutcome, SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, SurfaceDiff, SurfaceReadBox, SurfaceReadOutcome, SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, TaskQueueEntry, TaskQueueOptions, TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, TournamentCell, TournamentRow, type TraceRootArtifact, type TraceRootReceipt, type TraceSource, type TraceSummary, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, VerifierEnvironmentOptions, type Verify, type VerifySpec, VisibleCheck, WatchTraceOptions, WatchedSurface, WaterfallCollector, WaterfallReport, WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancellation, type WorkerEventCursor, type WorkerEventEntry, type WorkerEventPage, WorkerEvidenceInput, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSpawnContext, WorkerSpawnRetryAttempt, WorkerSpawnRetryHooks, WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceUnavailableReason, Workspace, type WorkspaceCheckpointMarker, WorkspaceCommit, type WorkspaceRequest, WorkspaceRun, type WorktreeCheckRunner, WorktreeCliExecutorOptions, type WorktreeCommandResult, WorktreeFanoutOptions, type WorktreeHarnessResult, WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, type questionEscalationTargets, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
5
+ export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type Agent, type AgentCandidateWorkspaceArchiveLimits, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, 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 AnalystAssignmentRecord, AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalystRunContext, AnytimeReport, AnytimeStrategySummary, AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, AuthoredHarness, AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, AxisScoresOf, type BackendErrorDetail, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BlockedToolReport, BoxSurfaceReaderOptions, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, type BudgetViolation, BusEvent, BusRecord, BusStats, ChatCompletionsTransport, ChatSessionStore, ChatTransportExecutorOptions, ChatTransportTool, ChatWorkerSeamOptions, CheckExecChannel, CheckOutcome, CheckRunContext, CheckRunner, CheckSource, CheckSourceCtx, CheckUnavailableError, CheckVerdict, type CheckpointRef, type CheckpointRequest, ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeStore, type CodeModeTool, type CodeModeToolContext, type CodeModeToolsOptions, type CodeModeToolset, type CodexExecutionEvidence, type CodexExecutionPolicy, CodexForkBoundary, CodexRolloutIdentity, CodexRolloutSession, CodexRolloutStoreReader, CodexRolloutStoreRef, CodexRolloutTurn, CodexStoreDelta, type CodexTokenUsage, type CollectedAgentTurn, type CombinatorShape, CompiledSearchSpec, CompletionAnalyst, CompletionEvidence, CompletionPolicy, CompletionVerdict, type ContinuationAppend, type ContinuationEntry, type ContinuationInstruction, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type CoordinationEvent, type CoordinationLog, type CoordinationMcpHandle, type CoordinationToolFace, type CoordinationVerbs, CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, CreateScopeAnalystOptions, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DeclaredCheck, DeclaredCheckPlacement, DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, DelegateOptions, Deliverable, DeliverableSpec, type DeliveredOutput, DesignerRunGraphEnv, DesignerToolsEnv, DispatchReport, DispatchStopReason, DispatchUnit, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type Driver, type DriverAttemptRecord, type DriverAttemptStop, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCostOptions, type EqualKVerdict, type EventAcknowledgement, EventBus, type EvidencePendingEvent, EvolutionAuthor, EvolutionReport, EvolutionStrategy, 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, ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FleetYield, type ForkRequest, type GateDecision, type GateRequest, type GitRunner, GitWorkspaceOptions, GraphDesignerExtraTools, type GraphEdge, GraphEdgeCapError, type GraphNode, GraphRegistryDir, type GraphResult, GraphRouteError, GraphRunRecord, GraphSelection, type GraphTopology, GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, HarvestCorpusOptions, HarvestError, HarvestFailure, HarvestReport, HarvestSurfaceDiffsOptions, type HeldEnvironment, type HeldForContinuation, type HeldRelease, type HttpMcpServerSpec, InMemoryCorpus, InMemoryResultBlobStore, InMemoryRunContext, InMemoryRunContextOptions, InMemorySpawnJournal, InPlaceCliExecutorOptions, type InPlaceHarnessResult, InProcessOnPrompt, InProcessPromptCtx, InProcessSandboxClientOptions, type Inbox, type InboxLease, type InboxMessage, InteractiveWorkerEnvironment, InteractiveWorkerKeyInput, InteractiveWorkerOptions, InteractiveWorkerResult, Interval, IsolatedCheckBox, IsolatedCheckBoxEvidence, IsolatedCheckOptions, IsolatedCheckResult, type Iteration, type JsonScalar, KeyProvider, type LeadMessage, Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, LeaderboardOptions, LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalHarnessResult, 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 LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type MapItemFailurePolicy, type MapSpawnMarker, type MapTraversalEvent, MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, McpEndpoint, McpEnvironmentOptions, McpListedTool, McpSpawnFault, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, Observation, ObservationAnalysis, ObservationError, ObserveInput, ObserveOptions, type ObserveSupervisorNodeEvent, OpenSandboxRunBeforeStartContext, OpenSandboxRunOptions, OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, PairwiseOptions, PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PeerInboxMessage, PeerMailEnvelope, PeerMailEvent, PeerMailLimits, PeerMailOutcome, PeerMailReadout, PeerMailRefusal, PeerMailSendInput, PeerMailbox, PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type PipelineStage, type PlacementInfo, type PlateauOptions, PrivateCasArtifactPort, PrivateCasDurableStore, PrivateCasOffloadReport, PrivateCasOptions, ProfileKeyOf, type ProfileMaterializationReceipt, ProfileRegistryDir, ProfileRichness, ProfileRichnessThresholds, ProfileRunRecord, type ProgressView, PromptHandle, PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, ProvisionSupervisorConnection, ProvisionSupervisorRequest, ProvisionedSupervisor, PublishOptions, type QuestionDecision, type QuestionEscalationRecord, type QuestionEscalationTarget, type QuestionPolicy, type QuestionRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReenteredWorkers, ReentryContinuity, ReentryTaskInput, RegisteredPrompt, RegistryAnalyzeProjection, RemoteSupervisorAgent, RemoteSupervisorReader, RemoteSupervisorTree, RemoteWorkerEvents, type RenderCorpusToInstructionsOptions, RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, type ReserveOptions, ResolveSandboxClientOptions, type ResolveSupervisorTools, ResolvedMcpServerLaunch, ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, 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 RetainedRunTurnInput, RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSegment, type RootSegmentEntry, type RootSignal, type RootStreamReceipt, type RouteGate, type RouteMatch, type RouteWhen, type RouterResponseReceipt, type RouterRouting, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunCodeModeOptions, RunContext, RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, S3PrivateCasStore, S3PrivateCasStoreOptions, SEARCH_SPEC_CORRELATION_KEY, type SandboxClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, ScoreOf, SearchSpec, SearchSpecInputs, SearchSpecOwnedOption, type SeatSegment, type SeatStage, type SelectionReceipt, type SessionMessageLike, type Settled, type SettledWorker, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxStats, type SharedWorkerIdentity, Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnModelSubstitution, type SpawnOpts, type SpawnPrior, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type SqlAdapter, SqlRunContextOptions, SqlRunOwnershipError, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, StdioMcpConnection, StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, SteerableSandboxArgs, SteerableSandboxSession, type StopDecision, type StopRule, StoredGraph, type Strategy, type StrategyArtifacts, type StrategyCtx, StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, StrategyTournament, type StreamAgentTurnOptions, StructuralRolloutConfig, StructuralRolloutMessage, StructuralRolloutPolicy, StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, SupervisorSpanAttributes, SupervisorSpanOptions, SupervisorSpanOutcome, SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, SurfaceDiff, SurfaceReadBox, SurfaceReadOutcome, SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, TaskQueueEntry, TaskQueueOptions, TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, TournamentCell, TournamentRow, type TraceRootArtifact, type TraceRootReceipt, type TraceSource, type TraceSummary, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, VerifierEnvironmentOptions, type Verify, type VerifySpec, VisibleCheck, WatchTraceOptions, WatchedSurface, WaterfallCollector, WaterfallReport, WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancellation, type WorkerEventCursor, type WorkerEventEntry, type WorkerEventPage, WorkerEvidenceInput, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSpawnContext, WorkerSpawnRetryAttempt, WorkerSpawnRetryHooks, WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceUnavailableReason, Workspace, type WorkspaceCheckpointMarker, WorkspaceCommit, type WorkspaceRequest, WorkspaceRun, type WorktreeCheckRunner, WorktreeCliExecutorOptions, type WorktreeCommandResult, WorktreeFanoutOptions, type WorktreeHarnessResult, WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, type questionEscalationTargets, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
package/dist/kernel.js CHANGED
@@ -1,13 +1,13 @@
1
- import { $t as createInPlaceCliExecutor, Ai as createBudgetPool, Bi as mapSandboxEvent, Bt as startRetainedRunInEnvironment, Ci as TRACE_ROOT_SCHEMA, Cn as DEFAULT_PEER_MAIL_LIMITS, Ct as TERMINAL_DECISIONS, Di as contentAddress, Dn as isPeerMailEnvelope, Dt as createCodeModeTools, En as createPeerMailbox, F as freeSlots, I as queueOf, It as providerAsSandboxClient, Ji as sumSandboxUsage, Jn as subscriptionUsageLimitSignal, Jt as persistHarnessTranscript, Ki as extractLlmCallEvent, Kt as captureHarnessTranscript, L as rollingDispatch, Lt as reconnectRetainedRun, M as settledToIteration, Mn as createActivityLog, Mt as createAgentEnvironmentProviderRegistry, Ni as spendFromUsageEvents, Nn as readWorkerProgress, Nt as resolveAgentEnvironmentProvider, On as peerMailTools, Ot as runCodeMode, Pt as providerAsExecutor, Qn as verdictFromJudgeScore, Qt as createWorktreeCliExecutor, Rt as recoverRetainedRun, S as FileSpawnJournal, Sn as AUTHORITY_MARKERS, St as acquireSandbox, Tn as claimsAuthority, Vi as mapSandboxToolEvent, Wt as createWorkerSlots, Xn as gateOnDeliverable, Xt as resolveHarnessTranscriptCapture, Yi as decodeHarnessUsage, Yn as CheckUnavailableError, Zn as mapExecutorResult, Zt as retainHarnessTranscript, _ as attachWorker, _t as runAgentRounds, at as materializeTreeView, b as recoverRetainedInteractiveRun, bn as createInbox, ct as FileResultBlobStore, d as createScope, dr as createCodexRolloutStoreReader, er as admitContinuationPolicy, f as replaySpawnTree, fr as harnessUsageIsEmpty, gr as sandboxSessionTraceSource, gt as createSteerableSandboxSession, hr as decodeToolPart, ht as DEFAULT_SANDBOX_STEERING_MAX_TURNS, it as loadSpawnForest, jn as DEFAULT_STALL_AFTER_MS, kn as peerMailVerbNames, kr as assertProfileMaterializes, m as parseWorkerToolTraceArtifact, mr as createPushTraceSource, n as createSupervisor, o as createRootHandle, ot as InMemoryResultBlobStore, pr as readCodexRolloutSession, pt as createExecutor, qt as harnessTranscriptArtifact, r as bestDelivered, sn as createOtelExporter, st as InMemorySpawnJournal, t as DEFAULT_MAX_DEPTH, ur as addHarnessUsage, ut as createExecutorRegistry, v as readWorkerInteractiveBinding, wi as TRACE_SUMMARY_SCHEMA, wn as PEER_MAIL_WIRE_KEY, wt as defaultSelectWinner, x as startRetainedInteractiveRun, xt as createSandboxLineage, y as reconnectRetainedInteractiveRun, zi as createSandboxToolPartState, zt as startRetainedRun } from "./supervisor-DHrUJhEZ.js";
2
- import { A as defaultAnalystInstruction, D as runAgentic, E as refine, F as collectAgentTurn, I as streamAgentTurn, M as renderReport, N as profileChatClient, O as sample, P as profileOptimizerModelCall, S as strategyAuthorSystemPrompt, T as depthStrategy, _ as defineStrategy, a as defaultStructuralRolloutPolicy, b as sampleThenRefine, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as authorStrategy, h as assertStrategyContract, i as defaultExtractCandidate, j as observe, k as ObservationError, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, w as breadthStrategy, x as strategyAuthorContract } from "./structural-rollout-DpLCXzaL.js";
1
+ import { $t as createWorktreeCliExecutor, Bt as startRetainedRun, Cn as DEFAULT_PEER_MAIL_LIMITS, Ct as acquireSandbox, Dn as isPeerMailEnvelope, Dr as assertProfileMaterializes, En as createPeerMailbox, F as freeSlots, Fi as mapSandboxEvent, Ft as providerAsExecutor, Gt as captureHarnessTranscript, I as queueOf, Ii as mapSandboxToolEvent, Jn as subscriptionUsageLimitSignal, Kt as harnessTranscriptArtifact, L as rollingDispatch, Lt as providerAsSandboxClient, M as settledToIteration, Mn as createActivityLog, Nn as readWorkerProgress, Nt as createAgentEnvironmentProviderRegistry, Oi as spendFromUsageEvents, On as peerMailTools, Ot as createCodeModeTools, Pi as createSandboxToolPartState, Pt as resolveAgentEnvironmentProvider, Qn as verdictFromJudgeScore, Rt as reconnectRetainedRun, S as FileSpawnJournal, Si as contentAddress, Sn as AUTHORITY_MARKERS, St as createSandboxLineage, Ti as createBudgetPool, Tn as claimsAuthority, Tt as defaultSelectWinner, Ui as sumSandboxUsage, Vi as extractLlmCallEvent, Vt as startRetainedRunInEnvironment, Wi as decodeHarnessUsage, Xn as gateOnDeliverable, Xt as retainHarnessTranscript, Yn as CheckUnavailableError, Yt as resolveHarnessTranscriptCapture, Zn as mapExecutorResult, Zt as createWorkerSlots, _ as attachWorker, _t as createSteerableSandboxSession, at as loadSpawnForest, b as recoverRetainedInteractiveRun, cn as createOtelExporter, ct as InMemorySpawnJournal, d as createScope, dr as createCodexRolloutStoreReader, dt as createExecutorRegistry, en as createInPlaceCliExecutor, er as admitContinuationPolicy, f as replaySpawnTree, fr as harnessUsageIsEmpty, gt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, jn as DEFAULT_STALL_AFTER_MS, kn as peerMailVerbNames, kt as runCodeMode, lt as FileResultBlobStore, m as parseWorkerToolTraceArtifact, mr as createPushTraceSource, mt as createExecutor, n as createSupervisor, o as createRootHandle, ot as materializeTreeView, pr as readCodexRolloutSession, qt as persistHarnessTranscript, r as bestDelivered, st as InMemoryResultBlobStore, t as DEFAULT_MAX_DEPTH, ur as addHarnessUsage, v as readWorkerInteractiveBinding, vi as TRACE_ROOT_SCHEMA, vt as runAgentRounds, wn as PEER_MAIL_WIRE_KEY, wt as TERMINAL_DECISIONS, x as startRetainedInteractiveRun, y as reconnectRetainedInteractiveRun, yi as TRACE_SUMMARY_SCHEMA, zt as recoverRetainedRun } from "./supervisor-DUWcecAd.js";
2
+ import { A as defaultAnalystInstruction, D as runAgentic, E as refine, F as collectAgentTurn, I as streamAgentTurn, M as renderReport, N as profileChatClient, O as sample, P as profileOptimizerModelCall, S as strategyAuthorSystemPrompt, T as depthStrategy, _ as defineStrategy, a as defaultStructuralRolloutPolicy, b as sampleThenRefine, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as authorStrategy, h as assertStrategyContract, i as defaultExtractCandidate, j as observe, k as ObservationError, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, w as breadthStrategy, x as strategyAuthorContract } from "./structural-rollout-BD9IN7K_.js";
3
3
  import { runTaskQueue } from "./task-queue.js";
4
- import { a as defaultToolDetectors, f as createFileRunContext, h as FileCoordinationLog, m as withRunContext, o as watchTrace, p as createInMemoryRunContext, u as createEventBus } from "./driver-control-acknowledgers-C53ggdJ6.js";
5
- import { A as supervisorAgent, B as noProgressFor, C as delegatesWorkerBriefPrompt, D as kernelPromptRegistry, E as formatPromptHandle, G as plateauLength, H as anytimeReport, K as renderAnytimeTable, L as serveCoordinationMcp, M as UNPROVEN_CONTINUITY, N as composeReentryTask, O as naiveContinuationPrompt, R as allWorkersStalled, S as createPromptRegistry, T as dumbContinuationPassPrompt, U as areaUnderCurve, V as plateau, W as bestSoFar, Y as createSupervisorSpanRecorder, c as retryPreSpawnRefusals, f as GraphRouteError, k as promptHandle, l as withWorkerSpawnRetry, n as superviseFleetCapabilities, o as isPreSpawnExecutorFailure, s as resolveWorkerSpawnRetry, t as supervise, u as workerFromBackend, v as defaultEdgeTraversalCap, w as dumbContinuationFailPrompt, x as analyzesFindingsReportPrompt, z as anyOf } from "./supervise-qAwXmPtD.js";
6
- import { _ as sharedWorkerClientName, f as DEFAULT_SHARED_BOX_RESOURCES, g as sharedBoxRefusal, h as ROUTER_CLIENT_HEADER, m as sharedBoxPlacement, p as DEFAULT_SHARED_BOX_WORKERS } from "./search-executor-zMumiak_.js";
4
+ import { a as createEventBus, f as createFileRunContext, h as FileCoordinationLog, i as watchTrace, m as withRunContext, p as createInMemoryRunContext, r as defaultToolDetectors } from "./coordination-manager-B5JsolDR.js";
5
+ import { A as createPromptRegistry, B as noProgressFor, E as defaultEdgeTraversalCap, F as kernelPromptRegistry, G as plateauLength, H as anytimeReport, I as naiveContinuationPrompt, K as renderAnytimeTable, L as promptHandle, M as dumbContinuationFailPrompt, N as dumbContinuationPassPrompt, P as formatPromptHandle, R as allWorkersStalled, U as areaUnderCurve, V as plateau, W as bestSoFar, Y as createSupervisorSpanRecorder, b as GraphRouteError, c as retryPreSpawnRefusals, d as supervisorAgent, h as serveCoordinationMcp, j as delegatesWorkerBriefPrompt, k as analyzesFindingsReportPrompt, l as withWorkerSpawnRetry, m as composeReentryTask, n as superviseFleetCapabilities, o as isPreSpawnExecutorFailure, p as UNPROVEN_CONTINUITY, s as resolveWorkerSpawnRetry, t as supervise, u as workerFromBackend, z as anyOf } from "./supervise-DmOi7gll.js";
6
+ import { _ as sharedWorkerClientName, f as DEFAULT_SHARED_BOX_RESOURCES, g as sharedBoxRefusal, h as ROUTER_CLIENT_HEADER, m as sharedBoxPlacement, p as DEFAULT_SHARED_BOX_WORKERS } from "./search-executor-rbjdZ3OD.js";
7
7
  import { _ as supervisorRunsRoot, f as readWorkerCancellation, g as supervisorRunDir, h as safeWorkerFile, i as readRunCancellation, l as legacySupervisorRunDir, m as readWorkerSteerRequests, n as cancelRun, p as readWorkerSteerAcknowledgement, r as readRunCancelRequest, s as cancelWorker, x as writeWorkerSteer, y as workerInboxFileFromEventDir } from "./run-cancellation-C9oL62sW.js";
8
8
  import { a as graphRunsFor, c as loadGraph, d as recordGraphRun, f as storedGraphDigests, i as graphRegistry, l as lookupGraph, n as graphDigest, p as taskShapeDigest, r as graphFromStored, s as listGraphRuns, t as digestOfGraph, u as pickBestGraph } from "./graph-registry-BnO64cn8.js";
9
- import { $ as runPersonified, $t as openSqlRunStore, A as searchSpecDigest, At as secretEnvOfMcpServer, B as chatWorkerSeam, Bt as readDeclaredCheck, C as withUntrackedArtifacts, Ct as materializeLocalMcp, D as assertSearchSpec, Dt as mcpSecretEnvMetadataKey, E as SEARCH_SPEC_CORRELATION_KEY, Et as envKeyProvider, F as profileRegistry, Ft as assertDeclaredCheck, G as openSandboxRun, Gt as stopSentinel, H as runStrategyEvolution, Ht as completionAuthorizes, I as profileRunsForName, It as checkProgramDigest, J as runBenchmark, Jt as renderLeaderboardHtml, K as createS3PrivateCasStore, Kt as leaderboard, L as recordProfileRun, Lt as declaredCheckDeliverable, M as bestProfileFor, Mt as loopCampaignDispatch, N as loadProfile, Nt as loopDispatch, O as compileSearchSpec, Ot as resolveMcpServerLaunch, P as pickBestProfile, Pt as superviseDispatch, Q as definePersona, Qt as SqlRunOwnershipError, R as graphDesignerExtraTools, Rt as declaredCheckDigest, S as copyUntrackedIntoClone, St as connectStdioMcp, T as createFencedSqlRunContext, Tt as sanitizeMcpToolSchema, U as strategyTournament, Ut as deterministicCompletion, V as createChatSessionStore, Vt as runIsolatedCheck, W as SandboxRunAbortError, Wt as sentinelCompletion, X as equalKOnCost, Xt as renderLeaderboardSvg, Y as createPrivateCasArtifactPort, Yt as renderLeaderboardMarkdown, Z as trajectoryReport, Zt as renderPairwiseMarkdown, _ as NOTE_MAX_CHARS, _t as HarvestError, a as localShell, at as loopUntil, b as composeWorkerEvidence, bt as resolveSandboxClient, c as createVerifierEnvironment, ct as selectValidWinner, d as harvestSurfaceDiffs, dt as assertTraceDerivedFindings, et as FileCorpus, f as analystsFromRegistry, ft as buildSteerContext, g as EVIDENCE_MAX_CHARS, gt as inProcessSandboxClient, ht as observationFromRegistry, i as jjWorkspace, it as flatWidenGate, j as connectRemoteSupervisor, jt as inlineSandboxClient, k as searchPresets, kt as resolveSecretEnv, l as boxSurfaceReader, lt as verify, m as worktreeFanout, mt as registryScopeAnalyst, n as makeFinding, nt as renderCorpusToInstructions, o as runInWorkspace, ot as panel, p as failuresAnalyst, pt as createScopeAnalyst, q as printBenchmarkReport, qt as pairwiseSignificance, r as gitWorkspace, rt as fanout, s as createWaterfallCollector, st as pipeline, t as computeFindingId, tt as InMemoryCorpus, u as fsSurfaceReader, ut as widen, v as VERIFY_TAIL_CHARS, vt as harvestCorpus, w as analyzeTrace, wt as createMcpEnvironment, x as settledWorkerOut, xt as McpSpawnFault, y as closingWorkerNote, yt as defineLeaderboard, z as chatTransportExecutor, zt as declaredCheckJudge } from "./runtime-B2fjL9Oi.js";
10
- import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-CJ6Zz6dz.js";
11
- import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-CCWE_AkU.js";
12
- import { n as runGraph, t as GraphEdgeCapError } from "./graph-CI9JXKqO.js";
13
- export { AUTHORITY_MARKERS, CheckUnavailableError, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, GraphRouteError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, SEARCH_SPEC_CORRELATION_KEY, SandboxRunAbortError, SqlRunOwnershipError, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
9
+ import { $ as runPersonified, $t as openSqlRunStore, A as searchSpecDigest, At as secretEnvOfMcpServer, B as chatWorkerSeam, Bt as readDeclaredCheck, C as withUntrackedArtifacts, Ct as materializeLocalMcp, D as assertSearchSpec, Dt as mcpSecretEnvMetadataKey, E as SEARCH_SPEC_CORRELATION_KEY, Et as envKeyProvider, F as profileRegistry, Ft as assertDeclaredCheck, G as openSandboxRun, Gt as stopSentinel, H as runStrategyEvolution, Ht as completionAuthorizes, I as profileRunsForName, It as checkProgramDigest, J as runBenchmark, Jt as renderLeaderboardHtml, K as createS3PrivateCasStore, Kt as leaderboard, L as recordProfileRun, Lt as declaredCheckDeliverable, M as bestProfileFor, Mt as loopCampaignDispatch, N as loadProfile, Nt as loopDispatch, O as compileSearchSpec, Ot as resolveMcpServerLaunch, P as pickBestProfile, Pt as superviseDispatch, Q as definePersona, Qt as SqlRunOwnershipError, R as graphDesignerExtraTools, Rt as declaredCheckDigest, S as copyUntrackedIntoClone, St as connectStdioMcp, T as createFencedSqlRunContext, Tt as sanitizeMcpToolSchema, U as strategyTournament, Ut as deterministicCompletion, V as createChatSessionStore, Vt as runIsolatedCheck, W as SandboxRunAbortError, Wt as sentinelCompletion, X as equalKOnCost, Xt as renderLeaderboardSvg, Y as createPrivateCasArtifactPort, Yt as renderLeaderboardMarkdown, Z as trajectoryReport, Zt as renderPairwiseMarkdown, _ as NOTE_MAX_CHARS, _t as HarvestError, a as localShell, at as loopUntil, b as composeWorkerEvidence, bt as resolveSandboxClient, c as createVerifierEnvironment, ct as selectValidWinner, d as harvestSurfaceDiffs, dt as assertTraceDerivedFindings, et as FileCorpus, f as analystsFromRegistry, ft as buildSteerContext, g as EVIDENCE_MAX_CHARS, gt as inProcessSandboxClient, ht as observationFromRegistry, i as jjWorkspace, it as flatWidenGate, j as connectRemoteSupervisor, jt as inlineSandboxClient, k as searchPresets, kt as resolveSecretEnv, l as boxSurfaceReader, lt as verify, m as worktreeFanout, mt as registryScopeAnalyst, n as makeFinding, nt as renderCorpusToInstructions, o as runInWorkspace, ot as panel, p as failuresAnalyst, pt as createScopeAnalyst, q as printBenchmarkReport, qt as pairwiseSignificance, r as gitWorkspace, rt as fanout, s as createWaterfallCollector, st as pipeline, t as computeFindingId, tt as InMemoryCorpus, u as fsSurfaceReader, ut as widen, v as VERIFY_TAIL_CHARS, vt as harvestCorpus, w as analyzeTrace, wt as createMcpEnvironment, x as settledWorkerOut, xt as McpSpawnFault, y as closingWorkerNote, yt as defineLeaderboard, z as chatTransportExecutor, zt as declaredCheckJudge } from "./runtime-eghmj6W4.js";
10
+ import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-DL6gEMQp.js";
11
+ import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-Rl-5paLJ.js";
12
+ import { n as runGraph, t as GraphEdgeCapError } from "./graph-Ce-59ZXn.js";
13
+ export { AUTHORITY_MARKERS, CheckUnavailableError, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, GraphRouteError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, SEARCH_SPEC_CORRELATION_KEY, SandboxRunAbortError, SqlRunOwnershipError, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
@@ -1,6 +1,6 @@
1
1
  import { i as ConfigError } from "./errors-DodWX-cb.js";
2
2
  import { t as runAnalystLoop } from "./analyst-loop-DZw5QWT9.js";
3
- import "./runtime-B2fjL9Oi.js";
3
+ import "./runtime-eghmj6W4.js";
4
4
  //#region src/loop-runner.ts
5
5
  /** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */
6
6
  const DELEGATED_LOOP_MODES = [
@@ -56,4 +56,4 @@ function auditLoopRunner(options) {
56
56
  //#endregion
57
57
  export { runDelegatedLoop as i, auditLoopRunner as n, isDelegatedLoopMode as r, DELEGATED_LOOP_MODES as t };
58
58
 
59
- //# sourceMappingURL=loop-runner-pmPIHFVY.js.map
59
+ //# sourceMappingURL=loop-runner-B0MV1-CD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loop-runner-pmPIHFVY.js","names":[],"sources":["../src/loop-runner.ts"],"sourcesContent":["/**\n *\n * `runDelegatedLoop` — the configured delegated loop-runner.\n *\n * One typed entrypoint a worker agent (or a scheduled routine) calls to run a\n * disciplined loop in a chosen MODE, over agent-runtime's hardened engines:\n *\n * code → build-in-a-loop on the GENERIC recursive path (worktreeLoopRunner: author one\n * `AgentProfile` per harness → worktree-CLI leaves → `patchDelivered` gate)\n * review → caller-registered runner — a `code` runner with an approval gate over candidates\n * research → research-in-a-loop with valid-only KB growth (createKbGate)\n * audit → analyze trace/run data → findings (runAnalystLoop, caller-wired)\n * self-improve → caller-registered `improve(profile, options)` run\n *\n * It is intentionally a thin façade: the value is that EVERY product reuses the\n * one hardened engine instead of forking delegation logic. The dispatcher owns\n * mode routing, timing, fail-loud on an unregistered mode, and a uniform result\n * shape; each mode's engine is a pre-configured runner in the registry (build it\n * with the factories below, or inject your own / a stub).\n *\n * @experimental\n */\n\nimport type { AgentProfile } from '@tangle-network/agent-interface'\nimport { runAnalystLoop } from './analyst-loop'\nimport type { RunAnalystLoopOpts, RunAnalystLoopResult } from './analyst-loop/types'\nimport { ConfigError } from './errors'\nimport { type CreateKbGateOptions, createKbGate, type FactCandidate } from './mcp/kb-gate'\nimport {\n type AuthoredHarness,\n type Budget,\n createExecutorRegistry,\n definePersona,\n runPersonified,\n type WinnerStrategy,\n type WorktreeFanoutOptions,\n type WorktreePatchArtifact,\n worktreeFanout,\n} from './runtime'\n\n/** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */\nexport const DELEGATED_LOOP_MODES = ['code', 'review', 'research', 'audit', 'self-improve'] as const\n\n/** @experimental */\nexport type DelegatedLoopMode = (typeof DELEGATED_LOOP_MODES)[number]\n\n/** Type guard — returns true when `value` is a valid `DelegatedLoopMode` string. @experimental */\nexport function isDelegatedLoopMode(value: unknown): value is DelegatedLoopMode {\n return typeof value === 'string' && (DELEGATED_LOOP_MODES as readonly string[]).includes(value)\n}\n\n/** @experimental A pre-configured loop for one mode. Returns the mode's raw\n * output; the dispatcher wraps it in a `DelegatedLoopResult`. */\nexport type DelegatedLoopRunner<T = unknown> = (signal: AbortSignal) => Promise<T>\n\n/** @experimental Mode → configured runner. Partial: only register the modes a\n * given product/routine actually uses. */\nexport type DelegatedLoopRegistry = Partial<Record<DelegatedLoopMode, DelegatedLoopRunner>>\n\n/** @experimental Uniform result — never throws from a registered runner; a\n * thrown engine becomes `{ ok: false, error }` so a routine can record + move on. */\nexport interface DelegatedLoopResult<T = unknown> {\n mode: DelegatedLoopMode\n ok: boolean\n output?: T\n error?: string\n durationMs: number\n}\n\n/** @experimental */\ninterface RunDelegatedLoopOptions {\n signal?: AbortSignal\n /** Clock override for deterministic tests. */\n now?: () => number\n}\n\n/**\n *\n * Dispatch a configured loop by mode. Fails loud (throws `ConfigError`) when no\n * runner is registered for the mode — a routine pointed at an unwired mode is a\n * config bug, not a silent no-op. A runner that throws is captured as\n * `{ ok: false }` so unattended runs record the failure rather than crash.\n *\n * @experimental\n */\nexport async function runDelegatedLoop<T = unknown>(\n mode: DelegatedLoopMode,\n registry: DelegatedLoopRegistry,\n options: RunDelegatedLoopOptions = {},\n): Promise<DelegatedLoopResult<T>> {\n const runner = registry[mode] as DelegatedLoopRunner<T> | undefined\n if (!runner) {\n throw new ConfigError(\n `runDelegatedLoop: no runner registered for mode '${mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n )\n }\n const now = options.now ?? Date.now\n const signal = options.signal ?? new AbortController().signal\n const start = now()\n try {\n const output = await runner(signal)\n return { mode, ok: true, output, durationMs: now() - start }\n } catch (err) {\n return {\n mode,\n ok: false,\n error: err instanceof Error ? err.message : String(err),\n durationMs: now() - start,\n }\n }\n}\n\n/** @experimental Options for the local-repo `code` runner over the GENERIC recursive path. */\ninterface WorktreeLoopRunnerOptions {\n /** Exact profile carried by the personified root that owns this fanout. */\n rootProfile: AgentProfile\n /** Absolute path to the local git checkout each worktree is cut from. */\n repoRoot: string\n /** The instruction handed to every authored harness (composed under each profile's systemPrompt). */\n taskPrompt: string\n /** The supervisor-authored harness profiles — one fanout item (one worktree-CLI leaf) each. */\n harnesses: ReadonlyArray<AuthoredHarness>\n /** Conserved budget pool bounding the fanout (equal-k holds by construction). */\n budget: Budget\n /** Shell command run in each worktree to derive the tests-PASS signal. */\n testCmd?: string\n /** Shell command run in each worktree to derive the typecheck-PASS signal. */\n typecheckCmd?: string\n /** Which verification signals the deliverable REQUIRES present-and-passing (default none). */\n require?: ReadonlyArray<'tests' | 'typecheck'>\n /** Diff-size cap (lines). */\n maxDiffLines?: number\n /** Literal path prefixes the patch must not touch (the secret-floor is always on regardless). */\n forbiddenPaths?: string[]\n /** Winner-selection strategy among gated candidates. Default `highest-score`. */\n winnerStrategy?: WinnerStrategy\n /** Test seams forwarded to the worktree-CLI leaves so the runner drives offline. */\n runGit?: WorktreeFanoutOptions['runGit']\n runHarness?: WorktreeFanoutOptions['runHarness']\n runCommand?: WorktreeFanoutOptions['runCommand']\n}\n\n/**\n *\n * `code` mode on the GENERIC recursive path: author one `AgentProfile` per harness, run them as a\n * `worktreeFanout` (N `createWorktreeCliExecutor` leaves, each `gateOnDeliverable`) through\n * `runPersonified` on the keystone Supervisor. The sandbox-session counterpart that drives the in-box\n * harness over a `SandboxClient` is `detachedSessionDelegate` (`./mcp/delegates`); here there is no\n * `runAgentRounds` driver, no role-coupled delegate — the harness list is the fanout, the gate is\n * `patchDelivered`,\n * the winner is the shared valid-only selector (NOT `defaultSelectWinner`, whose non-valid fallback\n * would surface an ungated patch). Equal-k holds by the conserved budget pool. Returns the winning\n * patch artifact, or throws when no candidate is delivered (fail loud, never a vacuous done).\n *\n * @experimental\n */\nexport function worktreeLoopRunner(\n options: WorktreeLoopRunnerOptions,\n): DelegatedLoopRunner<WorktreePatchArtifact> {\n const shape = worktreeFanout<string>({\n repoRoot: options.repoRoot,\n taskPrompt: options.taskPrompt,\n harnesses: options.harnesses,\n ...(options.testCmd !== undefined ? { testCmd: options.testCmd } : {}),\n ...(options.typecheckCmd !== undefined ? { typecheckCmd: options.typecheckCmd } : {}),\n ...(options.require !== undefined ? { require: options.require } : {}),\n ...(options.maxDiffLines !== undefined ? { maxDiffLines: options.maxDiffLines } : {}),\n ...(options.forbiddenPaths !== undefined ? { forbiddenPaths: options.forbiddenPaths } : {}),\n ...(options.winnerStrategy !== undefined ? { winnerStrategy: options.winnerStrategy } : {}),\n ...(options.runGit ? { runGit: options.runGit } : {}),\n ...(options.runHarness ? { runHarness: options.runHarness } : {}),\n ...(options.runCommand ? { runCommand: options.runCommand } : {}),\n })\n // The persona's only role here is to carry the fanout shape onto the Supervisor; each item's\n // executor is BYO (the gated worktree-CLI leaf), so the registry only needs to pass BYO through.\n const persona = definePersona<WorktreePatchArtifact>({\n name: 'worktree-coder',\n root: { profile: options.rootProfile, harness: null },\n directive: 'deliver a minimal validated patch on a fresh worktree',\n context: { role: 'coder' },\n executors: { registry: createExecutorRegistry() },\n })\n return async (signal) => {\n const result = await runPersonified<string, WorktreePatchArtifact>({\n persona,\n shape,\n task: options.taskPrompt,\n budget: options.budget,\n signal,\n })\n if (result.kind !== 'winner' || result.out.kind !== 'done') {\n const blockers =\n result.kind === 'winner' && result.out.kind === 'blocked'\n ? result.out.blockers.join('; ')\n : `supervisor settled ${result.kind}`\n throw new Error(`worktreeLoopRunner: no delivered patch (${blockers})`)\n }\n return result.out.deliverable\n }\n}\n\n/** @experimental A fact rejected at the KB gate — surfaced, never dropped. */\nexport interface VetoedFact {\n candidate: FactCandidate\n vetoedBy?: string\n reason?: string\n}\n\n/** @experimental */\ninterface ResearchLoopResult {\n /** Facts that passed the fail-closed gate — safe to write to the KB. */\n accepted: FactCandidate[]\n /** Facts the gate vetoed in the final round — escalate, do not silently drop. */\n vetoed: VetoedFact[]\n /** Research rounds actually run. */\n rounds: number\n}\n\n/** @experimental Options for the default `research` runner. */\ninterface ResearchLoopRunnerOptions {\n /**\n * The research engine (the consumer's web/doc searcher + extractor). Called\n * each round with the prior round's vetoes so it can re-research the gaps.\n * Returns fact candidates carrying their grounding (`verbatimPassage` +\n * `sourceText`).\n */\n research: (round: number, vetoed: VetoedFact[]) => Promise<FactCandidate[]>\n /** Gate config (extra judges, self-artifact kinds, …). The floor is always on. */\n gate?: CreateKbGateOptions\n /** Max research rounds (correct-on-veto remediation). Default 1. */\n maxRounds?: number\n}\n\n/**\n * `research` mode — research-in-a-loop with valid-only KB growth.\n *\n * Each round: research → gate every candidate (fail-closed; passage MUST be in\n * the source) → accept the clean ones → re-research the vetoed ones next round,\n * up to `maxRounds`. Vetoed facts in the final round are RETURNED (escalate,\n * never silently dropped) so the caller audits vs retries.\n *\n * @experimental\n */\nexport function researchLoopRunner(\n o: ResearchLoopRunnerOptions,\n): DelegatedLoopRunner<ResearchLoopResult> {\n const gate = createKbGate(o.gate)\n const maxRounds = Math.max(1, Math.trunc(o.maxRounds ?? 1))\n return async (signal) => {\n const accepted: FactCandidate[] = []\n let vetoed: VetoedFact[] = []\n let rounds = 0\n for (let round = 0; round < maxRounds; round += 1) {\n if (signal.aborted) break\n rounds += 1\n const candidates = await o.research(round, vetoed)\n if (candidates.length === 0) break\n vetoed = []\n for (const c of candidates) {\n const v = await gate(c)\n if (v.accepted) accepted.push(c)\n else vetoed.push({ candidate: c, vetoedBy: v.vetoedBy, reason: v.reason })\n }\n if (vetoed.length === 0) break\n }\n return { accepted, vetoed, rounds }\n }\n}\n\n/**\n * `audit` mode — analyst loop over captured trace/run data.\n *\n * @experimental\n */\nexport function auditLoopRunner<TProposal = unknown, TEdit = unknown>(\n options: RunAnalystLoopOpts,\n): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>> {\n return async () => runAnalystLoop<TProposal, TEdit>(options)\n}\n"],"mappings":";;;;;AAyCA,MAAa,uBAAuB;CAAC;CAAQ;CAAU;CAAY;CAAS;AAAc;;AAM1F,SAAgB,oBAAoB,OAA4C;CAC9E,OAAO,OAAO,UAAU,YAAa,qBAA2C,SAAS,KAAK;AAChG;;;;;;;;;;AAoCA,eAAsB,iBACpB,MACA,UACA,UAAmC,CAAC,GACH;CACjC,MAAM,SAAS,SAAS;CACxB,IAAI,CAAC,QACH,MAAM,IAAI,YACR,oDAAoD,KAAK,iBACvD,OAAO,KAAK,QAAQ,CAAC,CAAC,KAAK,IAAI,KAAK,OACrC,EACH;CAEF,MAAM,MAAM,QAAQ,OAAO,KAAK;CAChC,MAAM,SAAS,QAAQ,UAAU,IAAI,gBAAgB,CAAC,CAAC;CACvD,MAAM,QAAQ,IAAI;CAClB,IAAI;EAEF,OAAO;GAAE;GAAM,IAAI;GAAM,QAAA,MADJ,OAAO,MAAM;GACD,YAAY,IAAI,IAAI;EAAM;CAC7D,SAAS,KAAK;EACZ,OAAO;GACL;GACA,IAAI;GACJ,OAAO,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;GACtD,YAAY,IAAI,IAAI;EACtB;CACF;AACF;;;;;;AAoKA,SAAgB,gBACd,SAC6D;CAC7D,OAAO,YAAY,eAAiC,OAAO;AAC7D"}
1
+ {"version":3,"file":"loop-runner-B0MV1-CD.js","names":[],"sources":["../src/loop-runner.ts"],"sourcesContent":["/**\n *\n * `runDelegatedLoop` — the configured delegated loop-runner.\n *\n * One typed entrypoint a worker agent (or a scheduled routine) calls to run a\n * disciplined loop in a chosen MODE, over agent-runtime's hardened engines:\n *\n * code → build-in-a-loop on the GENERIC recursive path (worktreeLoopRunner: author one\n * `AgentProfile` per harness → worktree-CLI leaves → `patchDelivered` gate)\n * review → caller-registered runner — a `code` runner with an approval gate over candidates\n * research → research-in-a-loop with valid-only KB growth (createKbGate)\n * audit → analyze trace/run data → findings (runAnalystLoop, caller-wired)\n * self-improve → caller-registered `improve(profile, options)` run\n *\n * It is intentionally a thin façade: the value is that EVERY product reuses the\n * one hardened engine instead of forking delegation logic. The dispatcher owns\n * mode routing, timing, fail-loud on an unregistered mode, and a uniform result\n * shape; each mode's engine is a pre-configured runner in the registry (build it\n * with the factories below, or inject your own / a stub).\n *\n * @experimental\n */\n\nimport type { AgentProfile } from '@tangle-network/agent-interface'\nimport { runAnalystLoop } from './analyst-loop'\nimport type { RunAnalystLoopOpts, RunAnalystLoopResult } from './analyst-loop/types'\nimport { ConfigError } from './errors'\nimport { type CreateKbGateOptions, createKbGate, type FactCandidate } from './mcp/kb-gate'\nimport {\n type AuthoredHarness,\n type Budget,\n createExecutorRegistry,\n definePersona,\n runPersonified,\n type WinnerStrategy,\n type WorktreeFanoutOptions,\n type WorktreePatchArtifact,\n worktreeFanout,\n} from './runtime'\n\n/** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */\nexport const DELEGATED_LOOP_MODES = ['code', 'review', 'research', 'audit', 'self-improve'] as const\n\n/** @experimental */\nexport type DelegatedLoopMode = (typeof DELEGATED_LOOP_MODES)[number]\n\n/** Type guard — returns true when `value` is a valid `DelegatedLoopMode` string. @experimental */\nexport function isDelegatedLoopMode(value: unknown): value is DelegatedLoopMode {\n return typeof value === 'string' && (DELEGATED_LOOP_MODES as readonly string[]).includes(value)\n}\n\n/** @experimental A pre-configured loop for one mode. Returns the mode's raw\n * output; the dispatcher wraps it in a `DelegatedLoopResult`. */\nexport type DelegatedLoopRunner<T = unknown> = (signal: AbortSignal) => Promise<T>\n\n/** @experimental Mode → configured runner. Partial: only register the modes a\n * given product/routine actually uses. */\nexport type DelegatedLoopRegistry = Partial<Record<DelegatedLoopMode, DelegatedLoopRunner>>\n\n/** @experimental Uniform result — never throws from a registered runner; a\n * thrown engine becomes `{ ok: false, error }` so a routine can record + move on. */\nexport interface DelegatedLoopResult<T = unknown> {\n mode: DelegatedLoopMode\n ok: boolean\n output?: T\n error?: string\n durationMs: number\n}\n\n/** @experimental */\ninterface RunDelegatedLoopOptions {\n signal?: AbortSignal\n /** Clock override for deterministic tests. */\n now?: () => number\n}\n\n/**\n *\n * Dispatch a configured loop by mode. Fails loud (throws `ConfigError`) when no\n * runner is registered for the mode — a routine pointed at an unwired mode is a\n * config bug, not a silent no-op. A runner that throws is captured as\n * `{ ok: false }` so unattended runs record the failure rather than crash.\n *\n * @experimental\n */\nexport async function runDelegatedLoop<T = unknown>(\n mode: DelegatedLoopMode,\n registry: DelegatedLoopRegistry,\n options: RunDelegatedLoopOptions = {},\n): Promise<DelegatedLoopResult<T>> {\n const runner = registry[mode] as DelegatedLoopRunner<T> | undefined\n if (!runner) {\n throw new ConfigError(\n `runDelegatedLoop: no runner registered for mode '${mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n )\n }\n const now = options.now ?? Date.now\n const signal = options.signal ?? new AbortController().signal\n const start = now()\n try {\n const output = await runner(signal)\n return { mode, ok: true, output, durationMs: now() - start }\n } catch (err) {\n return {\n mode,\n ok: false,\n error: err instanceof Error ? err.message : String(err),\n durationMs: now() - start,\n }\n }\n}\n\n/** @experimental Options for the local-repo `code` runner over the GENERIC recursive path. */\ninterface WorktreeLoopRunnerOptions {\n /** Exact profile carried by the personified root that owns this fanout. */\n rootProfile: AgentProfile\n /** Absolute path to the local git checkout each worktree is cut from. */\n repoRoot: string\n /** The instruction handed to every authored harness (composed under each profile's systemPrompt). */\n taskPrompt: string\n /** The supervisor-authored harness profiles — one fanout item (one worktree-CLI leaf) each. */\n harnesses: ReadonlyArray<AuthoredHarness>\n /** Conserved budget pool bounding the fanout (equal-k holds by construction). */\n budget: Budget\n /** Shell command run in each worktree to derive the tests-PASS signal. */\n testCmd?: string\n /** Shell command run in each worktree to derive the typecheck-PASS signal. */\n typecheckCmd?: string\n /** Which verification signals the deliverable REQUIRES present-and-passing (default none). */\n require?: ReadonlyArray<'tests' | 'typecheck'>\n /** Diff-size cap (lines). */\n maxDiffLines?: number\n /** Literal path prefixes the patch must not touch (the secret-floor is always on regardless). */\n forbiddenPaths?: string[]\n /** Winner-selection strategy among gated candidates. Default `highest-score`. */\n winnerStrategy?: WinnerStrategy\n /** Test seams forwarded to the worktree-CLI leaves so the runner drives offline. */\n runGit?: WorktreeFanoutOptions['runGit']\n runHarness?: WorktreeFanoutOptions['runHarness']\n runCommand?: WorktreeFanoutOptions['runCommand']\n}\n\n/**\n *\n * `code` mode on the GENERIC recursive path: author one `AgentProfile` per harness, run them as a\n * `worktreeFanout` (N `createWorktreeCliExecutor` leaves, each `gateOnDeliverable`) through\n * `runPersonified` on the keystone Supervisor. The sandbox-session counterpart that drives the in-box\n * harness over a `SandboxClient` is `detachedSessionDelegate` (`./mcp/delegates`); here there is no\n * `runAgentRounds` driver, no role-coupled delegate — the harness list is the fanout, the gate is\n * `patchDelivered`,\n * the winner is the shared valid-only selector (NOT `defaultSelectWinner`, whose non-valid fallback\n * would surface an ungated patch). Equal-k holds by the conserved budget pool. Returns the winning\n * patch artifact, or throws when no candidate is delivered (fail loud, never a vacuous done).\n *\n * @experimental\n */\nexport function worktreeLoopRunner(\n options: WorktreeLoopRunnerOptions,\n): DelegatedLoopRunner<WorktreePatchArtifact> {\n const shape = worktreeFanout<string>({\n repoRoot: options.repoRoot,\n taskPrompt: options.taskPrompt,\n harnesses: options.harnesses,\n ...(options.testCmd !== undefined ? { testCmd: options.testCmd } : {}),\n ...(options.typecheckCmd !== undefined ? { typecheckCmd: options.typecheckCmd } : {}),\n ...(options.require !== undefined ? { require: options.require } : {}),\n ...(options.maxDiffLines !== undefined ? { maxDiffLines: options.maxDiffLines } : {}),\n ...(options.forbiddenPaths !== undefined ? { forbiddenPaths: options.forbiddenPaths } : {}),\n ...(options.winnerStrategy !== undefined ? { winnerStrategy: options.winnerStrategy } : {}),\n ...(options.runGit ? { runGit: options.runGit } : {}),\n ...(options.runHarness ? { runHarness: options.runHarness } : {}),\n ...(options.runCommand ? { runCommand: options.runCommand } : {}),\n })\n // The persona's only role here is to carry the fanout shape onto the Supervisor; each item's\n // executor is BYO (the gated worktree-CLI leaf), so the registry only needs to pass BYO through.\n const persona = definePersona<WorktreePatchArtifact>({\n name: 'worktree-coder',\n root: { profile: options.rootProfile, harness: null },\n directive: 'deliver a minimal validated patch on a fresh worktree',\n context: { role: 'coder' },\n executors: { registry: createExecutorRegistry() },\n })\n return async (signal) => {\n const result = await runPersonified<string, WorktreePatchArtifact>({\n persona,\n shape,\n task: options.taskPrompt,\n budget: options.budget,\n signal,\n })\n if (result.kind !== 'winner' || result.out.kind !== 'done') {\n const blockers =\n result.kind === 'winner' && result.out.kind === 'blocked'\n ? result.out.blockers.join('; ')\n : `supervisor settled ${result.kind}`\n throw new Error(`worktreeLoopRunner: no delivered patch (${blockers})`)\n }\n return result.out.deliverable\n }\n}\n\n/** @experimental A fact rejected at the KB gate — surfaced, never dropped. */\nexport interface VetoedFact {\n candidate: FactCandidate\n vetoedBy?: string\n reason?: string\n}\n\n/** @experimental */\ninterface ResearchLoopResult {\n /** Facts that passed the fail-closed gate — safe to write to the KB. */\n accepted: FactCandidate[]\n /** Facts the gate vetoed in the final round — escalate, do not silently drop. */\n vetoed: VetoedFact[]\n /** Research rounds actually run. */\n rounds: number\n}\n\n/** @experimental Options for the default `research` runner. */\ninterface ResearchLoopRunnerOptions {\n /**\n * The research engine (the consumer's web/doc searcher + extractor). Called\n * each round with the prior round's vetoes so it can re-research the gaps.\n * Returns fact candidates carrying their grounding (`verbatimPassage` +\n * `sourceText`).\n */\n research: (round: number, vetoed: VetoedFact[]) => Promise<FactCandidate[]>\n /** Gate config (extra judges, self-artifact kinds, …). The floor is always on. */\n gate?: CreateKbGateOptions\n /** Max research rounds (correct-on-veto remediation). Default 1. */\n maxRounds?: number\n}\n\n/**\n * `research` mode — research-in-a-loop with valid-only KB growth.\n *\n * Each round: research → gate every candidate (fail-closed; passage MUST be in\n * the source) → accept the clean ones → re-research the vetoed ones next round,\n * up to `maxRounds`. Vetoed facts in the final round are RETURNED (escalate,\n * never silently dropped) so the caller audits vs retries.\n *\n * @experimental\n */\nexport function researchLoopRunner(\n o: ResearchLoopRunnerOptions,\n): DelegatedLoopRunner<ResearchLoopResult> {\n const gate = createKbGate(o.gate)\n const maxRounds = Math.max(1, Math.trunc(o.maxRounds ?? 1))\n return async (signal) => {\n const accepted: FactCandidate[] = []\n let vetoed: VetoedFact[] = []\n let rounds = 0\n for (let round = 0; round < maxRounds; round += 1) {\n if (signal.aborted) break\n rounds += 1\n const candidates = await o.research(round, vetoed)\n if (candidates.length === 0) break\n vetoed = []\n for (const c of candidates) {\n const v = await gate(c)\n if (v.accepted) accepted.push(c)\n else vetoed.push({ candidate: c, vetoedBy: v.vetoedBy, reason: v.reason })\n }\n if (vetoed.length === 0) break\n }\n return { accepted, vetoed, rounds }\n }\n}\n\n/**\n * `audit` mode — analyst loop over captured trace/run data.\n *\n * @experimental\n */\nexport function auditLoopRunner<TProposal = unknown, TEdit = unknown>(\n options: RunAnalystLoopOpts,\n): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>> {\n return async () => runAnalystLoop<TProposal, TEdit>(options)\n}\n"],"mappings":";;;;;AAyCA,MAAa,uBAAuB;CAAC;CAAQ;CAAU;CAAY;CAAS;AAAc;;AAM1F,SAAgB,oBAAoB,OAA4C;CAC9E,OAAO,OAAO,UAAU,YAAa,qBAA2C,SAAS,KAAK;AAChG;;;;;;;;;;AAoCA,eAAsB,iBACpB,MACA,UACA,UAAmC,CAAC,GACH;CACjC,MAAM,SAAS,SAAS;CACxB,IAAI,CAAC,QACH,MAAM,IAAI,YACR,oDAAoD,KAAK,iBACvD,OAAO,KAAK,QAAQ,CAAC,CAAC,KAAK,IAAI,KAAK,OACrC,EACH;CAEF,MAAM,MAAM,QAAQ,OAAO,KAAK;CAChC,MAAM,SAAS,QAAQ,UAAU,IAAI,gBAAgB,CAAC,CAAC;CACvD,MAAM,QAAQ,IAAI;CAClB,IAAI;EAEF,OAAO;GAAE;GAAM,IAAI;GAAM,QAAA,MADJ,OAAO,MAAM;GACD,YAAY,IAAI,IAAI;EAAM;CAC7D,SAAS,KAAK;EACZ,OAAO;GACL;GACA,IAAI;GACJ,OAAO,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;GACtD,YAAY,IAAI,IAAI;EACtB;CACF;AACF;;;;;;AAoKA,SAAgB,gBACd,SAC6D;CAC7D,OAAO,YAAY,eAAiC,OAAO;AAC7D"}
@@ -1,5 +1,5 @@
1
- import "./types-CaOXqRTq.js";
2
- import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
1
+ import "./types-Cgs89PQd.js";
2
+ import { d as RunAnalystLoopResult, u as RunAnalystLoopOpts } from "./types-Cwrea-bU.js";
3
3
  import { AgentProfile } from "@tangle-network/agent-interface";
4
4
  //#region src/loop-runner.d.ts
5
5
  /** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */
@@ -29,4 +29,4 @@ interface DelegatedLoopResult<T = unknown> {
29
29
  declare function auditLoopRunner<TProposal = unknown, TEdit = unknown>(options: RunAnalystLoopOpts): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>>;
30
30
  //#endregion
31
31
  export { auditLoopRunner as i, DelegatedLoopResult as n, DelegatedLoopRunner as r, DelegatedLoopRegistry as t };
32
- //# sourceMappingURL=loop-runner-CWzG1bH4.d.ts.map
32
+ //# sourceMappingURL=loop-runner-CuhbgVGo.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as DelegatedLoopResult, t as DelegatedLoopRegistry } from "./loop-runner-CWzG1bH4.js";
1
+ import { n as DelegatedLoopResult, t as DelegatedLoopRegistry } from "./loop-runner-CuhbgVGo.js";
2
2
  //#region src/loop-runner-bin.d.ts
3
3
  /** @experimental Parsed CLI invocation. */
4
4
  interface LoopRunnerCliArgs {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as runDelegatedLoop, r as isDelegatedLoopMode, t as DELEGATED_LOOP_MODES } from "./loop-runner-pmPIHFVY.js";
2
+ import { i as runDelegatedLoop, r as isDelegatedLoopMode, t as DELEGATED_LOOP_MODES } from "./loop-runner-B0MV1-CD.js";
3
3
  //#region src/loop-runner-bin.ts
4
4
  /**
5
5
  *
package/dist/mcp/bin.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { k as coordinationProfileToolPrefix, nn as readTraceContextFromEnv } from "../supervisor-DHrUJhEZ.js";
2
+ import { k as coordinationProfileToolPrefix, rn as readTraceContextFromEnv } from "../supervisor-DUWcecAd.js";
3
3
  import { i as ConfigError } from "../errors-DodWX-cb.js";
4
- import { s as supervisorInstructions } from "../delegate-CCWE_AkU.js";
5
- import { i as FileDelegationStore, r as DelegationTaskQueue, t as createMcpServer } from "../server-_4voDNrl.js";
4
+ import { s as supervisorInstructions } from "../delegate-Rl-5paLJ.js";
5
+ import { i as FileDelegationStore, r as DelegationTaskQueue, t as createMcpServer } from "../server-BiK1Kcno.js";
6
6
  //#region src/mcp/delegate-supervisor-provisioning.ts
7
7
  function trimmed(value) {
8
8
  const v = value?.trim();
@@ -1,4 +1,4 @@
1
- import { $m as CoderReviewer, Ah as DelegateUiAuditRoute, Bh as FeedbackRefersTo, Ch as SubmitOutput, Cp as McpServer, Dh as DelegateResearchConfig, Dp as DelegateHandlerOptions, Eh as DelegateResearchArgs, Ep as DelegateError, Fh as DelegationProgress, Fy as LocalHarness, Hh as UiAuditLensFilter, Ih as DelegationResultPayload, Lh as DelegationStatus, Mh as DelegationFeedbackSnapshot, My as RunLocalHarnessOptions, Nh as DelegationHistoryArgs, Ny as runLocalHarness, Oh as DelegateUiAuditArgs, Op as DelegateResult, Ov as QuestionUrgency, Ph as DelegationHistoryEntry, Py as LOCAL_HARNESSES, Qm as CoderReview, Rh as DelegationStatusResult, Sh as SubmitInput, Sp as resolveSpawnResourcePaths, St as SpawnRefusalCause, Th as DelegateCodeConfig, Tp as createMcpServer, Tv as QuestionOption, Uh as UiAuditorDelegationOutput, Vh as ResearchOutputShape, Xm as FeedbackStore, Ym as FeedbackEvent, Zm as CoderDelegate, _h as DelegationResumeDriver, _p as ResolvedSpawnResourcePath, ag as composeLoopTraceEmitters, ah as DelegationExecutor, bh as DelegationTaskQueue, bp as SpawnResourceReader, cg as FileDelegationStore, ch as SiblingSandboxExecutorOptions, cy as McpToolAnnotations, dg as CoderTask, dh as DetachedTurn, dt as CoordinationStats, eh as DelegateRunCtx, ev as GitRunner, fh as RunDetachedTurnOptions, ft as CoordinationTools, gh as DelegationResumeContext, gp as ResolveSpawnResourcePathsResult, gt as MakeWorkerAgent, hh as DelegationRecord, ig as DelegationTraceSpan, ih as detachedSessionDelegate, jh as DelegationError, kh as DelegateUiAuditConfig, kp as createDelegateHandler, lg as FileDelegationStoreOptions, lh as createFleetWorkspaceExecutor, ly as McpToolDescriptor, mh as DelegationArgs, ng as createPropagatingTraceEmitter, nh as DetachedWinnerSelection, np as CheckRead, nv as CoordinationEvent, og as DelegationPersistenceError, oh as FleetHandle, ov as ManagerWake, oy as JsonRpcMessage, ph as runDetachedTurn, pt as CoordinationToolsOptions, rg as readTraceContextFromEnv, rh as UiAuditorDelegate, sg as DelegationStore, sh as FleetWorkspaceExecutorOptions, sy as JsonRpcResponse, tg as TraceContext, th as DetachedSessionDelegateOptions, tv as AwaitWakeInput, ug as CoderOutput, uh as createSiblingSandboxExecutor, uy as McpTransport, vh as DelegationResumeTick, vp as SpawnResourceBytes, wh as DelegateCodeArgs, wp as McpServerOptions, wt as WorkerSpawnContext, wv as QuestionLevel, wy as AnalystRegistry, xh as DelegationTaskQueueOptions, xp as environmentReader, yh as DelegationRunContext, yp as SpawnResourceRead, yv as Question, zh as FeedbackRating } from "../types-CaOXqRTq.js";
1
+ import { $_ as CoordinationEvent, $m as DelegateRunCtx, Ah as DelegationError, Ay as runLocalHarness, Bh as ResearchOutputShape, Ch as DelegateCodeArgs, Cp as McpServer, Dh as DelegateUiAuditArgs, Dp as DelegateHandlerOptions, Eh as DelegateResearchConfig, Ep as DelegateError, Fh as DelegationResultPayload, Hh as UiAuditorDelegationOutput, Ih as DelegationStatus, Jm as FeedbackEvent, Lh as DelegationStatusResult, Mh as DelegationHistoryArgs, My as LocalHarness, Nh as DelegationHistoryEntry, Oh as DelegateUiAuditConfig, Op as DelegateResult, Ph as DelegationProgress, Q_ as AwaitWakeInput, Qm as CoderReviewer, Rh as FeedbackRating, Sh as SubmitOutput, Sp as resolveSpawnResourcePaths, St as SpawnRefusalCause, Sv as QuestionOption, Th as DelegateResearchArgs, Tp as createMcpServer, Tv as QuestionUrgency, Vh as UiAuditLensFilter, Xm as CoderDelegate, Ym as FeedbackStore, Z_ as GitRunner, Zm as CoderReview, _h as DelegationResumeTick, _p as ResolvedSpawnResourcePath, ag as DelegationPersistenceError, ah as FleetHandle, ay as McpToolAnnotations, bh as DelegationTaskQueueOptions, bp as SpawnResourceReader, cg as FileDelegationStoreOptions, ch as createFleetWorkspaceExecutor, dh as RunDetachedTurnOptions, dt as CoordinationStats, eg as TraceContext, eh as DetachedSessionDelegateOptions, fh as runDetachedTurn, ft as CoordinationTools, gh as DelegationResumeDriver, gp as ResolveSpawnResourcePathsResult, gt as MakeWorkerAgent, gv as Question, hh as DelegationResumeContext, ig as composeLoopTraceEmitters, ih as DelegationExecutor, iy as JsonRpcResponse, jh as DelegationFeedbackSnapshot, jy as LOCAL_HARNESSES, kh as DelegateUiAuditRoute, kp as createDelegateHandler, ky as RunLocalHarnessOptions, lg as CoderOutput, lh as createSiblingSandboxExecutor, mh as DelegationRecord, ng as readTraceContextFromEnv, nh as UiAuditorDelegate, np as CheckRead, og as DelegationStore, oh as FleetWorkspaceExecutorOptions, oy as McpToolDescriptor, ph as DelegationArgs, pt as CoordinationToolsOptions, rg as DelegationTraceSpan, rh as detachedSessionDelegate, rv as ManagerWake, ry as JsonRpcMessage, sg as FileDelegationStore, sh as SiblingSandboxExecutorOptions, sy as McpTransport, tg as createPropagatingTraceEmitter, th as DetachedWinnerSelection, ug as CoderTask, uh as DetachedTurn, vh as DelegationRunContext, vp as SpawnResourceBytes, wh as DelegateCodeConfig, wp as McpServerOptions, wt as WorkerSpawnContext, xh as SubmitInput, xp as environmentReader, xv as QuestionLevel, xy as AnalystRegistry, yh as DelegationTaskQueue, yp as SpawnResourceRead, zh as FeedbackRefersTo } from "../types-Cgs89PQd.js";
2
2
  import { HarnessType } from "@tangle-network/agent-interface";
3
3
  //#region src/mcp/kb-gate.d.ts
4
4
  /**
package/dist/mcp/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { Tr as LOCAL_HARNESSES, _t as runAgentRounds, bt as createSandboxForSpec, nn as readTraceContextFromEnv, tn as createPropagatingTraceEmitter, vt as assertBoxlessPromptOptions, wr as runWorktreeHarness } from "../supervisor-DHrUJhEZ.js";
1
+ import { Cr as LOCAL_HARNESSES, Sr as runWorktreeHarness, nn as createPropagatingTraceEmitter, rn as readTraceContextFromEnv, vt as runAgentRounds, xt as createSandboxForSpec, yt as assertBoxlessPromptOptions } from "../supervisor-DUWcecAd.js";
2
2
  import { i as ConfigError, m as ValidationError } from "../errors-DodWX-cb.js";
3
3
  import { t as isRecord } from "../record-value-B6bwJxLa.js";
4
- import { X as deleteBoxSafe, st as sleep, ut as throwIfAborted } from "../sandbox-profile-compat-BzVBFqrz.js";
4
+ import { Y as deleteBoxSafe, lt as throwIfAborted, ot as sleep } from "../sandbox-profile-compat-FN2kab2-.js";
5
5
  import { t as assertExecutableAgentProfile } from "../model-policy-CyCUwHed.js";
6
- import { _ as environmentReader, r as createCoordinationTools, v as resolveSpawnResourcePaths } from "../driver-control-acknowledgers-C53ggdJ6.js";
6
+ import { _ as environmentReader, t as createCoordinationTools, v as resolveSpawnResourcePaths } from "../coordination-manager-B5JsolDR.js";
7
7
  import { n as createStdioToolServer } from "../tool-server-XV4aJwoQ.js";
8
- import { ct as selectValidWinner, h as runCoderChecks } from "../runtime-B2fjL9Oi.js";
9
- import { a as composeLoopTraceEmitters, i as FileDelegationStore, n as createDelegateHandler, r as DelegationTaskQueue, t as createMcpServer } from "../server-_4voDNrl.js";
8
+ import { ct as selectValidWinner, h as runCoderChecks } from "../runtime-eghmj6W4.js";
9
+ import { a as composeLoopTraceEmitters, i as FileDelegationStore, n as createDelegateHandler, r as DelegationTaskQueue, t as createMcpServer } from "../server-BiK1Kcno.js";
10
10
  import { agentProfileSchema } from "@tangle-network/agent-interface";
11
11
  import { randomUUID } from "node:crypto";
12
12
  //#region src/mcp/kb-gate.ts
@@ -1,4 +1,4 @@
1
- import { a as ProfileMaterializationContract, i as KnownAgentProfileMaterializationAxis, t as AgentProfileMaterializationAxis } from "./profile-materialization-B1wm2SPT.js";
1
+ import { a as ProfileMaterializationContract, i as KnownAgentProfileMaterializationAxis, t as AgentProfileMaterializationAxis } from "./profile-materialization-bPm0gGLO.js";
2
2
  import { AgentProfile } from "@tangle-network/agent-interface";
3
3
  //#region src/placement/index.d.ts
4
4
  /** The policy version every {@link PlacementRecord} carries. */
@@ -91,35 +91,11 @@ declare class PlacementRefusedError extends Error {
91
91
  * metadata. No harness, native tools, files, MCP, subagents, hooks or modes.
92
92
  */
93
93
  declare const loopTierProfileMaterialization: ProfileMaterializationContract;
94
- /** Options for {@link loopProfileRefusal}. */
95
- interface LoopProfileRefusalOptions {
96
- vacuousAxes?: readonly VacuousAxis[];
97
- inlineSkills?: boolean;
98
- }
99
- /** Options for {@link sandboxOnlyRequirements}. */
100
- interface SandboxOnlyRequirementsOptions extends LoopProfileRefusalOptions {
101
- requirements?: PlacementRequirements;
102
- profile?: AgentProfile | object;
103
- interactive: boolean;
104
- }
105
- /**
106
- * Every declared requirement only a sandbox can meet. A caller resuming work in the
107
- * loop it began in checks this is empty before it continues there.
108
- */
109
- declare function sandboxOnlyRequirements(options: SandboxOnlyRequirementsOptions): string[];
110
94
  /**
111
95
  * Choose where work runs: the cheapest tier every declared requirement allows.
112
96
  * Throws {@link PlacementRefusedError} when no tier can meet every requirement.
113
97
  */
114
98
  declare function placeExecution(input: PlaceExecutionInput): PlacementRecord;
115
- /** The record for a tier the author named: nothing was chosen or refused. */
116
- declare function authoredPlacement(chosen: ExecutionTier): PlacementRecord;
117
- /**
118
- * The record for work that resumes under the tier it began with. A retry reuses the
119
- * recorded tier and never re-decides, so one turn never runs on two tiers; a caller
120
- * resuming on `loop` first checks {@link sandboxOnlyRequirements} is empty.
121
- */
122
- declare function resumedPlacement(chosen: ExecutionTier): PlacementRecord;
123
99
  //#endregion
124
- export { type AgentProfileMaterializationAxis, ExecutionTier, type KnownAgentProfileMaterializationAxis, PLACEMENT_POLICY, PlaceExecutionInput, PlacementContext, PlacementRecord, PlacementRefusedError, PlacementRequirements, SandboxOnlyRequirementsOptions, VacuousAxis, authoredPlacement, loopTierProfileMaterialization, placeExecution, resumedPlacement, sandboxOnlyRequirements };
100
+ export { type AgentProfileMaterializationAxis, ExecutionTier, type KnownAgentProfileMaterializationAxis, PLACEMENT_POLICY, PlaceExecutionInput, PlacementContext, PlacementRecord, PlacementRefusedError, PlacementRequirements, VacuousAxis, loopTierProfileMaterialization, placeExecution };
125
101
  //# sourceMappingURL=placement.d.ts.map
package/dist/placement.js CHANGED
@@ -161,16 +161,6 @@ function sandboxRequirements(options) {
161
161
  function profileDefaultModel(profile) {
162
162
  return profile?.model?.default;
163
163
  }
164
- /**
165
- * Every declared requirement only a sandbox can meet. A caller resuming work in the
166
- * loop it began in checks this is empty before it continues there.
167
- */
168
- function sandboxOnlyRequirements(options) {
169
- return sandboxRequirements({
170
- ...options,
171
- requirements: options.requirements ?? {}
172
- });
173
- }
174
164
  /** Tools the work grants, each of which the loop can hold. */
175
165
  function toolRequirements(cfg) {
176
166
  const tools = [];
@@ -289,31 +279,7 @@ function declaredAxes(profile) {
289
279
  }
290
280
  return axes;
291
281
  }
292
- /** The record for a tier the author named: nothing was chosen or refused. */
293
- function authoredPlacement(chosen) {
294
- return {
295
- chosen,
296
- policy: PLACEMENT_POLICY,
297
- reason: `authored placement: ${chosen}`,
298
- coveredAxes: [],
299
- rejected: []
300
- };
301
- }
302
- /**
303
- * The record for work that resumes under the tier it began with. A retry reuses the
304
- * recorded tier and never re-decides, so one turn never runs on two tiers; a caller
305
- * resuming on `loop` first checks {@link sandboxOnlyRequirements} is empty.
306
- */
307
- function resumedPlacement(chosen) {
308
- return {
309
- chosen,
310
- policy: PLACEMENT_POLICY,
311
- reason: `resumed under the placement it began with: ${chosen}`,
312
- coveredAxes: [],
313
- rejected: []
314
- };
315
- }
316
282
  //#endregion
317
- export { PLACEMENT_POLICY, PlacementRefusedError, authoredPlacement, loopTierProfileMaterialization, placeExecution, resumedPlacement, sandboxOnlyRequirements };
283
+ export { PLACEMENT_POLICY, PlacementRefusedError, loopTierProfileMaterialization, placeExecution };
318
284
 
319
285
  //# sourceMappingURL=placement.js.map