@tangle-network/agent-runtime 0.282.0 → 0.282.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/{activation-Bi_oOB1-.js → activation-Bj8SMTOs.js} +3 -3
  2. package/dist/{activation-Bi_oOB1-.js.map → activation-Bj8SMTOs.js.map} +1 -1
  3. package/dist/agent.d.ts +1 -1
  4. package/dist/agent.js +2 -2
  5. package/dist/{bundle-CvLGRVO-.js → bundle-BfW-32vB.js} +2 -2
  6. package/dist/{bundle-CvLGRVO-.js.map → bundle-BfW-32vB.js.map} +1 -1
  7. package/dist/candidate-execution/index.js +5 -5
  8. package/dist/{coordination-driver-B-HOpGN4.js → coordination-driver-BmkANXc5.js} +2 -2
  9. package/dist/{coordination-driver-B-HOpGN4.js.map → coordination-driver-BmkANXc5.js.map} +1 -1
  10. package/dist/{delegate-C1eIBN70.js → delegate-BfHKdHzV.js} +2 -2
  11. package/dist/{delegate-C1eIBN70.js.map → delegate-BfHKdHzV.js.map} +1 -1
  12. package/dist/durable.d.ts +1 -1
  13. package/dist/durable.js +3 -3
  14. package/dist/{graph-KjJaTmbO.js → graph-XmlRTlaI.js} +4 -4
  15. package/dist/{graph-KjJaTmbO.js.map → graph-XmlRTlaI.js.map} +1 -1
  16. package/dist/{improvement-cycle-8MUf5Xfp.js → improvement-cycle-BUDfOR0s.js} +6 -6
  17. package/dist/{improvement-cycle-8MUf5Xfp.js.map → improvement-cycle-BUDfOR0s.js.map} +1 -1
  18. package/dist/{index-CSyzK6Kd.d.ts → index-CkLB8mJF.d.ts} +11 -3
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +9 -9
  21. package/dist/intelligence.js +8 -8
  22. package/dist/kernel.d.ts +1 -1
  23. package/dist/kernel.js +8 -8
  24. package/dist/{loop-runner-bin-Cg78CKmf.js → loop-runner-bin-BhExTk_4.js} +3 -3
  25. package/dist/{loop-runner-bin-Cg78CKmf.js.map → loop-runner-bin-BhExTk_4.js.map} +1 -1
  26. package/dist/{loop-runner-bin-Dtt8FdYO.d.ts → loop-runner-bin-CINywrHK.d.ts} +2 -2
  27. package/dist/loop-runner-bin.d.ts +1 -1
  28. package/dist/loop-runner-bin.js +1 -1
  29. package/dist/mcp/bin.js +3 -3
  30. package/dist/mcp/index.d.ts +1 -1
  31. package/dist/mcp/index.js +4 -4
  32. package/dist/{prepare-DVlvGP7V.js → prepare-CxnyZ1fG.js} +3 -3
  33. package/dist/{prepare-DVlvGP7V.js.map → prepare-CxnyZ1fG.js.map} +1 -1
  34. package/dist/{profile-D3eXNBQV.js → profile-C4NDjZyB.js} +2 -2
  35. package/dist/{profile-D3eXNBQV.js.map → profile-C4NDjZyB.js.map} +1 -1
  36. package/dist/{protected-model-port-BrWgsCnl.js → protected-model-port-BSsgmdhI.js} +4 -4
  37. package/dist/{protected-model-port-BrWgsCnl.js.map → protected-model-port-BSsgmdhI.js.map} +1 -1
  38. package/dist/{provision-supervisor-CkN8RRjv.js → provision-supervisor-BNUmrHwC.js} +3 -3
  39. package/dist/{provision-supervisor-CkN8RRjv.js.map → provision-supervisor-BNUmrHwC.js.map} +1 -1
  40. package/dist/{runtime-Bid-kBes.js → runtime-B3TTjtzE.js} +86 -23
  41. package/dist/runtime-B3TTjtzE.js.map +1 -0
  42. package/dist/{search-method-CbUyhdz5.js → search-method-q43Af9yu.js} +3 -3
  43. package/dist/{search-method-CbUyhdz5.js.map → search-method-q43Af9yu.js.map} +1 -1
  44. package/dist/{server-dOyG5Tw6.js → server-BnMcTE7J.js} +3 -3
  45. package/dist/{server-dOyG5Tw6.js.map → server-BnMcTE7J.js.map} +1 -1
  46. package/dist/{supervise-zt91I62x.js → supervise-DL_Hj1uk.js} +3 -3
  47. package/dist/{supervise-zt91I62x.js.map → supervise-DL_Hj1uk.js.map} +1 -1
  48. package/dist/{supervisor-UXgaPisu.js → supervisor-YAc4U8HQ.js} +2 -2
  49. package/dist/{supervisor-UXgaPisu.js.map → supervisor-YAc4U8HQ.js.map} +1 -1
  50. package/dist/testing.d.ts +1 -1
  51. package/dist/testing.js +14 -14
  52. package/dist/tui/index.d.ts +1 -1
  53. package/dist/tui/index.js +1 -1
  54. package/dist/{workspace-archive-C9lgf77y.js → workspace-archive-MhowMCmp.js} +8 -6
  55. package/dist/workspace-archive-MhowMCmp.js.map +1 -0
  56. package/package.json +2 -2
  57. package/dist/runtime-Bid-kBes.js.map +0 -1
  58. package/dist/workspace-archive-C9lgf77y.js.map +0 -1
@@ -6200,6 +6200,10 @@ interface IsolatedCheckOptions {
6200
6200
  command: readonly [string, ...string[]];
6201
6201
  timeoutMs?: number;
6202
6202
  maxOutputBytes?: number;
6203
+ /** Maximum regular-file bytes copied or captured from the input tree when set. */
6204
+ maxInputBytes?: number;
6205
+ /** Maximum entries in the input tree when set. */
6206
+ maxInputEntries?: number;
6203
6207
  signal?: AbortSignal;
6204
6208
  /** Run the check in its own Sandbox box instead of Linux Bubblewrap on this host. */
6205
6209
  box?: IsolatedCheckBox;
@@ -6231,6 +6235,7 @@ interface IsolatedCheckBox {
6231
6235
  builderAccounts: readonly [string, ...string[]];
6232
6236
  /** Sandbox environment or image that holds the check's toolchain. */
6233
6237
  environment: string;
6238
+ /** Set `memoryMB` to require the API to report a finite granted limit before upload. */
6234
6239
  resources?: SandboxResources;
6235
6240
  /** Domains the check may reach, such as a knowledge store or a git host. Empty or absent: the
6236
6241
  * box's egress is blocked. Otherwise strict: these domains only, with no implicit list. */
@@ -6248,6 +6253,8 @@ interface IsolatedCheckBoxEvidence {
6248
6253
  sandboxId: string;
6249
6254
  /** `customerId` of the check's key. */
6250
6255
  account: string;
6256
+ /** API-reported granted memory limit in MiB, when explicitly requested. */
6257
+ memoryMB?: number;
6251
6258
  /** Every file the box received; each sha256 is also the digest the box computed on receipt. */
6252
6259
  input: AgentCandidateWorkspaceManifestMaterial;
6253
6260
  /** Canonical digest of `input`. */
@@ -6262,7 +6269,7 @@ type IsolatedCheckResult = {
6262
6269
  box?: IsolatedCheckBoxEvidence;
6263
6270
  } | {
6264
6271
  succeeded: false;
6265
- reason: 'refused' | 'failed' | 'timeout' | 'cancelled' | 'output-limit' | 'cleanup-failed';
6272
+ reason: 'refused' | 'failed' | 'timeout' | 'cancelled' | 'output-limit' | 'input-limit' | 'cleanup-failed';
6266
6273
  diagnostic: string;
6267
6274
  /** Bounded command evidence, when a process was launched. */
6268
6275
  stdout?: string;
@@ -6280,7 +6287,8 @@ type IsolatedCheckResult = {
6280
6287
  * Bubblewrap requires /usr/bin/bwrap and permission to create Linux namespaces.
6281
6288
  * Only trusted system toolchains, private proc/dev/tmp, and the writable copy are mounted.
6282
6289
  * The canonical input path remains the working directory; copy writes are discarded.
6283
- * Limits bound command time and captured output, not copy size or memory consumption.
6290
+ * Time and output are bounded; input copy bytes and entries are bounded when requested.
6291
+ * The command's memory and generated files require a resource-limited placement.
6284
6292
  * Callers must keep the input and trusted toolchains stable while preparing the check.
6285
6293
  *
6286
6294
  * A box check creates one fresh box with no owner secrets and blocked egress (or strict egress to
@@ -10980,4 +10988,4 @@ interface VerifierEnvironmentOptions {
10980
10988
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
10981
10989
  //#endregion
10982
10990
  export { WorkspaceRun as $, HarvestFailure as $a, ObserveSupervisorNodeEvent as $c, QuestionEscalationRecord as $d, DetachedWinnerSelection as $f, validateProfileMaterialization as $h, BenchmarkLift as $i, PriorCoordination as $l, ConversationDriveState as $m, RepairStop as $n, Outcome as $o, DelegationStatus as $p, SandboxLineageHandle as $r, PursuitNodeCost as $s, defaultEdgeTraversalCap as $t, leaderboard as $u, worktreeFanout as A, LoopCampaignDispatchOptions as Aa, WorkerSpawnRetryHooks as Ac, AuthoredAnalystDefinition as Ad, resolveSpawnResourcePaths as Af, pendingWaits as Ah, InMemoryCorpus as Ai, ReentryContinuity as Al, createEventBus as Am, unsafeInProcessRunner as An, PanelVerdict as Ao, SubmitInput as Ap, authorStrategy as Ar, IsolatedCheckOptions as As, WorktreeCliExecutorOptions as At, workerSteerAcknowledgementsDir as Au, VERIFY_TAIL_CHARS as B, TerminalDecision as Ba, createFileRunContext as Bc, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Bd, DelegateHandlerOptions as Bf, ProfileMaterializationIssue as Bh, CreateScopeAnalystOptions as Bi, pickBestDelivered as Bl, SqlRunStoreOptions as Bm, ProfileRichness as Bn, TrajectoryReport as Bo, DelegateResearchResult as Bp, materializeLocalMcp as Br, SettledPursuitVersion as Bs, workerInteractiveAdmissionFile as Bt, deterministicCompletion as Bu, SurfaceWorkerConfig as C, breadthStrategy as Ca, SuperviseRegistryTable as Cc, AnalystDefinitionIssue as Cd, ResolvedSpawnResourcePath as Cf, SpawnForestEvent as Ch, trajectoryReport as Ci, allOf as Cl, InMemoryDelegationStore as Cm, delegate as Cn, FlatWidenGate as Co, DelegationRecord as Cp, TournamentCell as Cr, checkProgramDigest as Cs, ProvisionSupervisorConnection as Ct, workerCancelRequestsFile as Cu, superviseSurface as D, runAgentic as Da, workerFromBackend as Dc, AnalystRegistry$1 as Dd, SpawnResourceReader as Df, SpawnForestTree as Dh, definePersona as Di, noProgressFor as Dl, BusStats as Dm, CodeModeOptions as Dn, Panel as Do, DelegationRunContext as Dp, AuthorStrategyOptions as Dr, readDeclaredCheck as Ds, provisionSupervisor as Dt, workerInboxFile as Du, failuresAnalyst as E, refine as Ea, superviseWithTestBrain as Ec, AnalystLensOutput as Ed, SpawnResourceRead as Ef, SpawnForestNode as Eh, registerShape as Ei, createProgressTracker as El, BusRecord as Em, finalizeBestDelivered as En, LoopUntilState as Eo, DelegationResumeTick as Ep, strategyTournament as Er, declaredCheckJudge as Es, SupervisorCleanupReceipt as Et, workerControlLogFile as Eu, readWorkerInteractiveBinding as F, loopCampaignDispatch as Fa, withWorkerSpawnRetry as Fc, ContinuityMode as Fd, DELEGATE_DESCRIPTION as Ff, AssertProfileMaterializationOptions as Fh, panel as Fi, FinalizeContext as Fl, ExecutorResultMapping as Fm, ChatWorkerSeamOptions as Fn, ScopeAnalyst as Fo, DelegateCodeResult as Fp, McpSpawnFault as Fr, NextPursuitVersionInput as Fs, InteractiveWorkerOptions as Ft, CompletionAnalyst as Fu, CopyOptions as G, localSandboxClient as Ga, SupervisorSpanOutcome as Gc, DownMessageEvent as Gd, FeedbackStore as Gf, fullProfileMaterialization as Gh, registryScopeAnalyst as Gi, CoordinationTransportOptions as Gl, SqlConversationJournal as Gm, profileRichnessFinding as Gn, Widen as Go, DelegationError as Gp, SandboxRun as Gr, SupervisePursuitError as Gs, EdgeTraversal as Gt, Interval as Gu, closingWorkerNote as H, isTerminalDecision as Ha, withRunContext as Hc, DownMessageAuthorizationInput as Hd, createDelegateHandler as Hf, assertProfileMaterialization as Hh, assertTraceDerivedFindings as Hi, CoordinationAuthentication as Hl, D1DatabaseLike as Hm, asAuthoredProfile as Hn, TrajectoryReportOptions as Ho, DelegateUiAuditConfig as Hp, OpenSandboxRunBeforeStartContext as Hr, VersionVerdict as Hs, createInPlaceCliExecutor as Ht, stopSentinel as Hu, workerInteractiveBindingFile as I, loopDispatch as Ia, InMemoryRunContext as Ic, CoordinationEvent as Id, DELEGATE_INPUT_SCHEMA as If, CanonicalAgentProfileMaterializationAxis as Ih, pipeline as Ii, FinalizerSettled as Il, gateOnDeliverable as Im, chatTransportExecutor as In, ScopeAnalyzeInput as Io, DelegateFeedbackArgs as Ip, McpToolDescriptor as Ir, PursuitVersionChain as Is, InteractiveWorkerResult as It, CompletionEvidence as Iu, withUntrackedArtifacts as J, InProcessPromptCtx as Ja, CoordinationBinding as Jc, MakeWorkerAgent as Jd, CoderDelegate as Jf, promptModelProfileMaterialization as Jh, McpEnvironmentOptions as Ji, CoordinationHttpOptions as Jl, ConversationJournalEntry as Jm, CheckOutcome as Jn, WidenSpec as Jo, DelegationHistoryEntry as Jp, openSandboxRun as Jr, supervisePursuit as Js, GraphNode as Jt, LeaderboardRow as Ju, UntrackedCopyStats as K, inlineSandboxClient as Ka, SupervisorSpanRecorder as Kc, EscalateQuestion as Kd, InMemoryFeedbackStore as Kf, profileMaterializationAxes$1 as Kh, observationFromRegistry as Ki, serveCoordinationMcp as Kl, d1ToSqlAdapter as Km, supervisorInstructions as Kn, WidenDecision as Ko, DelegationFeedbackSnapshot as Kp, SandboxRunAbortError as Kr, SupervisePursuitOptions as Ks, GraphEdge as Kt, Leaderboard as Ku, workerInteractiveBindingsDir as L, superviseDispatch as La, InMemoryRunContextOptions as Lc, CoordinationStats as Ld, DELEGATE_TOOL_NAME as Lf, DefineProfileMaterializationContractOptions as Lh, selectValidWinner as Li, SupervisorFinalizer as Ll, mapExecutorResult as Lm, chatWorkerSeam as Ln, ScopeWidenGate as Lo, DelegateFeedbackResult as Lp, StdioMcpConnection as Lr, PursuitVersionStop as Ls, workerFromInteractiveProvider as Lt, CompletionPolicy as Lu, WorkerInteractiveBinding as M, LoopOptionsForDispatch as Ma, isPreSpawnExecutorFailure as Mc, AuthorizeDownMessage as Md, McpServerOptions as Mf, contentAddress as Mh, fanout as Mi, UNPROVEN_CONTINUITY as Ml, defaultToolDetectors as Mm, ChatSessionStore as Mn, PipelineStage as Mo, hashIdempotencyInput as Mp, strategyAuthorSystemPrompt as Mr, runIsolatedCheck as Ms, createWorktreeCliExecutor as Mt, workerSteerRequestsDir as Mu, WorkerInteractiveProviderSource as N, SuperviseDispatchOptions as Na, resolveWorkerSpawnRetry as Nc, AuthorizedDownMessage as Nd, createInProcessTransport as Nf, AGENT_PROFILE_MATERIALIZATION_AXES as Nh, flatWidenGate as Ni, composeReentryTask as Nl, watchTrace as Nm, ChatTransportExecutorOptions as Nn, RenderCorpusToInstructions as No, DelegateCodeArgs as Np, LocalMcpMaterialization as Nr, JudgedPursuitVersion as Ns, InteractiveWorkerEnvironment as Nt, workerSteersDir as Nu, AuthoredHarness as O, sample as Oa, ResolvedWorkerSpawnRetry as Oc, AnalystToolGroupName as Od, environmentReader as Of, loadSpawnForest as Oh, runPersonified as Oi, plateau as Ol, EventBus as Om, CodeModeRunner as On, PanelJudge as Oo, DelegationTaskQueue as Op, AuthoredStrategy as Or, IsolatedCheckBox as Os, PatchDeliverableOptions as Ot, workerInboxFileFromEventDir as Ou, attachWorker as P, SuperviseOptionsForDispatch as Pa, retryPreSpawnRefusals as Pc, ContinuationInstruction as Pd, createMcpServer as Pf, AgentProfileMaterializationAxis as Ph, loopUntil as Pi, DeliveredOutput as Pl, DeliverableSpec as Pm, ChatTransportTool as Pn, RenderCorpusToInstructionsOptions as Po, DelegateCodeConfig as Pp, MaterializeLocalMcpOptions as Pr, NextPursuitVersion as Ps, InteractiveWorkerKeyInput as Pt, writeWorkerSteer as Pu, WorkspaceCommit as Q, HarvestError as Qa, DriveHarnessOwnerContext as Qc, QuestionEscalationOutcome as Qd, DetachedSessionDelegateOptions as Qf, sandboxActProfileMaterialization as Qh, BenchmarkConfig as Qi, FileCoordinationLog as Ql, Conversation as Qm, CheckSourceCtx as Qn, LoopShape as Qo, DelegationResultPayload as Qp, SandboxLineage as Qr, PursuitCostProvenance as Qs, TraversalContinuity as Qt, ScoreOf as Qu, EVIDENCE_MAX_CHARS as R, RunAgentRoundsOptions as Ra, RunContext as Rc, CoordinationTools as Rd, DelegateArgs as Rf, KnownAgentProfileMaterializationAxis as Rh, verify as Ri, bestDelivered as Rl, SqlRunLease as Rm, createChatSessionStore as Rn, SteerContext as Ro, DelegateResearchArgs as Rp, StdioMcpServerSpec as Rr, PursuitVersions as Rs, WorkerInteractiveAdmission as Rt, CompletionVerdict as Ru, SuperviseSurfaceResult as S, adaptiveRefine as Sa, SuperviseRegistry as Sc, ANALYST_DEFINITION_BOUNDS as Sd, ResolveSpawnResourcePathsResult as Sf, SpawnForest as Sh, equalKOnCost as Si, StopRule as Sl, FileDelegationStoreOptions as Sm, defaultDelegateBudget as Sn, FanoutWinnerSelector as So, DelegationArgs as Sp, StrategyTournament as Sr, assertDeclaredCheck as Ss, createSqlRunContext as St, supervisorWorkersDir as Su, analystsFromRegistry as T, depthStrategy as Ta, supervise as Tc, AnalystKind as Td, SpawnResourceBytes as Tf, SpawnForestMissingTree as Th, createShapeRegistry as Ti, anyOf as Tl, BusEvent as Tm, driverAgent as Tn, LoopUntilSpec as To, DelegationResumeDriver as Tp, runStrategyEvolution as Tr, declaredCheckDigest as Ts, ProvisionedSupervisor as Tt, workerCancellationsDir as Tu, composeWorkerEvidence as U, runAgentRounds as Ua, SupervisorSpanAttributes as Uc, DownMessageDeliveryAttempt as Ud, validateDelegateArgs as Uf, controlProfileMaterialization as Uh, buildSteerContext as Ui, CoordinationMcpHandle as Ul, D1StmtLike as Um, assessAuthoredProfile as Un, Verify as Uo, DelegateUiAuditResult as Up, OpenSandboxRunOptions as Ur, assertPursuitVersions as Us, AgentGraph as Ut, AxisScoresOf as Uu, WorkerEvidenceInput as V, defaultSelectWinner as Va, createInMemoryRunContext as Vc, DefinedAnalystRecord as Vd, DelegateResult as Vf, ValidateProfileMaterializationOptions as Vh, RegistryAnalyzeProjection as Vi, runFinalizer as Vl, openSqlRunStore as Vm, ProfileRichnessThresholds as Vn, TrajectoryReportFn as Vo, DelegateUiAuditArgs as Vp, Deliverable as Vr, VersionJudge as Vs, InPlaceCliExecutorOptions as Vt, sentinelCompletion as Vu, settledWorkerOut as W, LocalSandboxClientOptions as Wa, SupervisorSpanOptions as Wc, DownMessageDeliveryOutcome as Wd, FeedbackEvent as Wf, defineProfileMaterializationContract as Wh, createScopeAnalyst as Wi, CoordinationPublicAddress as Wl, SqlAdapter as Wm, defaultProfileRichnessThresholds as Wn, VerifySpec as Wo, DelegateUiAuditRoute as Wp, OpenSandboxRunPromptOptions as Wr, pursuitVersionsLedgerPath as Ws, EdgeDeliveryOutcome as Wt, GroupOf as Wu, Shell as X, inProcessSandboxClient as Xa, CoordinationVerbs as Xc, Question as Xd, CoderReviewer as Xf, promptResourceProfileMaterialization as Xh, sanitizeMcpToolSchema as Xi, CoordinationLog as Xl, InMemoryConversationJournal as Xm, CheckRunner as Xn, DefinePersona as Xo, DelegationProfile as Xp, CheckpointCapableBox as Xr, PursuitFork as Xs, RunGraphOptions as Xt, PairwiseVerdict as Xu, GitWorkspaceOptions as Y, InProcessSandboxClientOptions as Ya, CoordinationToolFace as Yc, ManagerReentryState as Yd, CoderReview as Yf, promptOnlyProfileMaterialization as Yh, createMcpEnvironment as Yi, CoordinationDeliveryEvidence as Yl, FileConversationJournal as Ym, CheckRunContext as Yn, WinnerStrategy as Yo, DelegationHistoryResult as Yp, BranchCapableBox as Yr, FORK_PARENT_UNCERTAIN_NODES_KEY as Ys, GraphResult as Yt, PairwiseOptions as Yu, Workspace as Z, HarvestCorpusOptions as Za, DriveHarness as Zc, QuestionDecision as Zd, DelegateRunCtx as Zf, renderProfileMaterializationIssues as Zh, BenchmarkCell as Zi, CoordinationOwnerId as Zl, AuthSource as Zm, CheckSource as Zn, DefinePersonaInput as Zo, DelegationProgress as Zp, ForkCapableBox as Zr, RUN_FORK_CORRELATION_KEYS as Zs, RunGraphTestOptions as Zt, ProfileKeyOf as Zu, boxSurfaceReader as _, StrategyCtx as _a, AuthorizedSpawn as _c, renderAnytimeTable as _d, createCoordinationTools as _f, SqlStatements as _h, resolveSandboxClient as _i, ProgressSample as _l, createDelegationTraceCollector as _m, RollingDispatchOptions as _n, EqualKOnCostOptions as _o, createDetachedTurnResumeDriver as _p, visibleCheckScore as _r, LeaderboardSpec as _s, SUBTREE_RESULT_LIMIT as _t, runCancelRequestFile as _u, SandboxInstance$1 as a, runBenchmark as aa, PursuitProjection as ac, AuditIntentInput as ad, QuestionUrgency as af, HaltContext as ah, AcquireOptions as ai, SupervisorNodeContext as al, UiAuditLensFilter as am, analyzesFindingsReportPrompt as an, ObserveInput as ao, DelegationExecutor as ap, canDisplace as ar, ShapeBudget as as, analyzeTrace as at, WorkerSteerRequest as au, AnalystAuthoring as b, StrategyShotResult as ba, DeliverableResolutionInput as bc, WaterfallSpan as bd, parseAuthoredAnalystDefinition as bf, InMemoryResultBlobStore as bh, assertModelAllowed as bi, ProgressView as bl, DelegationStore as bm, rollingDispatch as bn, FanoutOptions as bo, parseDetachedSessionRef as bp, EvolutionStrategy as br, DeclaredCheckPlacement as bs, settledToIteration as bt, supervisorRunDir as bu, VerifierEnvironmentOptions as c, AgenticSurface as ca, PursuitStatus as cc, auditIntent as cd, SpawnPreflightContext as cf, HaltSignal as ch, recoverRetainedRun as ci, SupervisorToolDescriptor as cl, CappedDelegationTrace as cm, dumbContinuationFailPrompt as cn, observe as co, SiblingSandboxExecutorOptions as cp, defaultExtractCandidate as cr, DefinedLeaderboard as cs, captureWorkerTraceEvidence as ct, cancelWorker as cu, HarvestSurfaceDiffsOptions as d, ArtifactHandle as da, ObserverJournal as dc, AnytimeStrategySummary as dd, SuperviseProfileEntry as df, BackendCallPolicy as dh, ClaimRetainedInteractiveControlOptions as di, resolveSupervisorProfile as dl, DelegationTraceCaps as dm, kernelPromptRegistry as dn, CombinatorShape as do, DetachedSessionRefParts as dp, modelAuthoredChecks as dr, LeaderboardBenchmarkAdapter as ds, DEFAULT_MAX_DEPTH as dt, readRunCancelRequest as du, BenchmarkReport as ea, PursuitNodePlacement as ec, pairwiseSignificance as ed, QuestionEscalationTarget as ef, worktreeCliProfileMaterialization as eg, ConversationParticipant as eh, SessionCapableBox as ei, ResolveDriveHarness as el, DelegationStatusArgs as em, runGraph as en, HarvestReport as eo, SettleDetachedCoderTurnOptions as ep, StructuralRolloutConfig as er, Persona as es, gitWorkspace as et, RunCancelRequest as eu, SurfaceDiff as f, CorpusReadbackOptions as fa, ObserverRecord as fc, AnytimeTaskCurve as fd, WorkerResumeContext as ff, CircuitBreakerConfig as fh, claimRetainedInteractiveControl as fi, supervisorAgent as fl, DelegationTraceCollector as fm, naiveContinuationPrompt as fn, Corpus as fo, DetachedTurn as fp, officialChecksFromMeta as fr, LeaderboardFlagSpec as fs, createRootHandle as ft, readRunCancellation as fu, WatchedSurface as g, StrategyArtifacts as ga, verifyObserverRecords as gc, plateauLength as gd, canonicalFindingEvent as gf, SqlSpawnJournal as gh, ResolveSandboxClientOptions as gi, PlateauOptions as gl, composeLoopTraceEmitters as gm, DispatchUnit as gn, EqualKOnCost as go, RunDetachedTurnOptions as gp, structuralRollout as gr, LeaderboardScore as gs, createFencedSqlRunContext as gt, readWorkerSteerRequests as gu, SurfaceReader as h, Strategy as ha, observerRecordDigest as hc, bestSoFar as hd, analystToolGroupNames as hf, SqlResultBlobStore as hh, startRetainedInteractiveRun as hi, NoProgressForOptions as hl, capDelegationTrace as hm, DispatchStopReason as hn, EqualKArm as ho, DriveTurnTick as hp, selectBestIndex as hr, LeaderboardScenario as hs, SqlRunContextOptions as ht, readWorkerSteerAcknowledgement as hu, SandboxEvent$1 as i, printBenchmarkReport as ia, PursuitNodeUsage as ic, renderPairwiseMarkdown as id, QuestionRecord as if, ConversationTurn as ih, probeSandboxCapabilities as ii, SupervisorAgentTestDeps as il, ResearchOutputShape as im, RegisteredPrompt as in, ObservationError as io, settleDetachedCoderTurn as ip, VisibleCheck as ir, RunPersonifiedOptions as is, TrajectoryAnalysis as it, WorkerSteerAcknowledgement as iu, AttachWorkerOptions as j, LoopDispatchOptions as ja, WorkerSpawnRetryPolicy as jc, AuthoredAnalystLimits as jd, McpServer as jf, replaySpawnTree as jh, renderCorpusToInstructions as ji, ReentryTaskInput as jl, WatchTraceOptions as jm, ChatCompletionsTransport as jn, Pipeline as jo, SubmitOutput as jp, strategyAuthorContract as jr, IsolatedCheckResult as js, WorktreePatchArtifact as jt, workerSteerRequestFile as ju, WorktreeFanoutOptions as k, sampleThenRefine as ka, WorkerSpawnRetryAttempt as kc, AnalyzeOnSettleRoute as kd, hostDirectoryReader as kf, materializeTreeView as kh, FileCorpus as ki, sampleFromSettled as kl, PublishOptions as km, codeModeSupervisorTools as kn, PanelSpec as ko, DelegationTaskQueueOptions as kp, assertStrategyContract as kr, IsolatedCheckBoxEvidence as ks, patchDelivered as kt, workerSteerAcknowledgementFile as ku, createVerifierEnvironment as l, AgenticTask as la, projectPursuit as lc, defaultAuditorInstruction as ld, SpawnRefusal as lf, RunConversationOptions as lh, startRetainedRun as li, SupervisorToolInvocationContext as ll, DELEGATION_TRACE_MAX_BYTES as lm, dumbContinuationPassPrompt as ln, renderReport as lo, createFleetWorkspaceExecutor as lp, defaultStructuralRolloutPolicy as lr, LeaderboardBenchScore as ls, parseWorkerToolTraceArtifact as lt, legacySupervisorRunDir as lu, SurfaceReadOutcome as m, ShotSpec as ma, createFileObserverHooks as mc, areaUnderCurve as md, WorkerWatchOptions as mf, RetryableErrorPredicate as mh, recoverRetainedInteractiveRun as mi, AllWorkersStalledOptions as ml, buildDelegationTraceSpans as mm, DispatchReport as mn, CorpusRecord as mo, DriveTurnCapableBox as mp, sandboxCheckRunner as mr, LeaderboardRunContext as ms, FencedSqlRunContext as mt, readWorkerCancellation as mu, AnalystFinding$1 as n, BenchmarkTaskRow as na, PursuitNodeProjection as nc, renderLeaderboardMarkdown as nd, QuestionOption as nf, ConversationResult as nh, CriuCapableClient as ni, ResolvedSupervisorProfile as nl, FeedbackRating as nm, PromptHandle as nn, Observation as no, coderTaskFromArgs as np, StructuralRolloutPolicy as nr, PersonaExecutors as ns, localShell as nt, WorkerCancelRequest as nu, computeFindingId$1 as o, AgenticOptions as oa, PursuitRunProjection as oc, AuditIntentOptions as od, SettledWorker as of, HaltPredicate as oh, acquireSandbox as oi, SupervisorNodeContextSeed as ol, UiAuditorDelegationOutput as om, createPromptRegistry as on, ObserveOptions as oo, FleetHandle as op, compareCheckOutcomes as or, ShapeContext as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, WriteWorkerSteerOptions as ou, SurfaceReadBox as p, RunAgenticOptions as pa, ObserverRecordKind as pc, anytimeReport as pd, WorkerSpawnContext as pf, RetryBackoff as ph, reconnectRetainedInteractiveRun as pi, supervisorAgentWithTestBrain as pl, DelegationTraceSpan as pm, promptHandle as pn, CorpusFilter as po, DetachedTurnResumeDriverOptions as pp, resolveEntrySymbol as pr, LeaderboardIterationInfo as ps, createSupervisor as pt, readWorkerCancelRequests as pu, copyUntrackedIntoClone as q, InProcessOnPrompt as qa, createSupervisorSpanRecorder as qc, EventAcknowledgement as qd, eventToSnapshot as qf, promptControlProfileMaterialization as qh, McpEndpoint as qi, CoordinationHttpAudit as ql, ConversationJournal as qm, CheckExecChannel as qn, WidenLineage as qo, DelegationHistoryArgs as qp, TurnResult as qr, SupervisedPursuitResult as qs, GraphEdgeCapError as qt, LeaderboardOptions as qu, CreateSandboxOptions$1 as r, Environment as ra, PursuitNodeTiming as rc, renderLeaderboardSvg as rd, QuestionPolicy as rf, ConversationStreamEvent as rh, SandboxCapabilities as ri, SupervisorAgentDeps as rl, FeedbackRefersTo as rm, PromptRegistry as rn, ObservationAnalysis as ro, detachedSessionDelegate as rp, StructuralRolloutResult as rr, RunPersonified as rs, runInWorkspace as rt, WorkerCancellation as ru, makeFinding$1 as s, AgenticRunResult as sa, PursuitRunTotals as sc, IntentAudit as sd, SpawnPreflight as sf, HaltReason as sh, reconnectRetainedRun as si, SupervisorProfile as sl, delegationProfiles as sm, delegatesWorkerBriefPrompt as sn, defaultAnalystInstruction as so, FleetWorkspaceExecutorOptions as sp, composeCheckSources as sr, ShapeRegistry as ss, WorkerToolTraceArtifact as st, cancelRun as su, AgentProfile$2 as t, BenchmarkStrategySummary as ta, PursuitNodePlatform as tc, renderLeaderboardHtml as td, QuestionLevel as tf, ConversationPolicy as th, createSandboxLineage as ti, ResolveSupervisorTools as tl, DelegationStatusResult as tm, runGraphWithTestBrain as tn, harvestCorpus as to, UiAuditorDelegate as tp, StructuralRolloutMessage as tr, PersonaContext as ts, jjWorkspace as tt, RunCancellation as tu, BoxSurfaceReaderOptions as u, AgenticTool as ua, FileObserverJournal as uc, AnytimeReport as ud, SpawnRefusalCause as uf, TurnOrder as uh, startRetainedRunInEnvironment as ui, assertCoordinationBinding as ul, DELEGATION_TRACE_MAX_SPANS as um, formatPromptHandle as un, AssertTraceDerivedFindings as uo, createSiblingSandboxExecutor as up, filterAuthoredAsserts as ur, LeaderboardBenchTask as us, workerTraceAnalysisStore as ut, legacySupervisorRunsRoot as uu, fsSurfaceReader as v, StrategyMessage as va, AuthorizedSpawnContext as vc, WaterfallCollector as vd, downMessageRefusalReasons as vf, FileResultBlobStore as vh, profileChatClient as vi, ProgressTracker as vl, DelegationPersistenceError as vm, freeSlots as vn, EqualKVerdict as vo, detachedTurnEvents as vp, EvolutionAuthor as vr, defineLeaderboard as vs, ScopeArgs as vt, runCancellationFile as vu, SurfaceWorkerOut as w, defineStrategy as wa, SuperviseTestOptions as wc, AnalystFindingEvent as wd, SPAWN_RESOURCE_PATH_MAX_BYTES as wf, SpawnForestInDoubtNode as wh, builtinShapes as wi, allWorkersStalled as wl, CoderOutput as wm, DriverAgentOptions as wn, LoopUntil as wo, DelegationResumeContext as wp, TournamentRow as wr, declaredCheckDeliverable as ws, ProvisionSupervisorRequest as wt, workerCancellationFile as wu, SuperviseSurfaceOptions as x, SurfaceScore as xa, SuperviseOptions as xc, createWaterfallCollector as xd, questionEscalationTargets as xf, InMemorySpawnJournal as xh, assertProfileModelsAllowed as xi, StopDecision as xl, FileDelegationStore as xm, DelegateOptions as xn, FanoutSynthesis as xo, runDetachedTurn as xp, StrategyEvolutionConfig as xr, DeclaredCheckStateCapture as xs, SqlRunContext as xt, supervisorRunsRoot as xu, harvestSurfaceDiffs as y, StrategyResult as ya, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as yc, WaterfallReport as yd, normalizeAnalyzeOnSettle as yf, FileSpawnJournal as yh, profileOptimizerModelCall as yi, ProgressTrackerOptions as yl, DelegationStateCorruptError as ym, queueOf as yn, Fanout as yo, formatDetachedSessionRef as yp, EvolutionReport as yr, DeclaredCheck as ys, createScope as yt, safeWorkerFile as yu, NOTE_MAX_CHARS as z, TERMINAL_DECISIONS as za, RunContextLease as zc, CoordinationToolsOptions as zd, DelegateError as zf, ProfileMaterializationContract as zh, widen as zi, collectDelivered as zl, SqlRunOwnershipError as zm, AuthoredProfile as zn, TrajectoryNode as zo, DelegateResearchConfig as zp, connectStdioMcp as zr, REVIEW_DIR as zs, readWorkerInteractiveAdmissions as zt, completionAuthorizes as zu };
10983
- //# sourceMappingURL=index-CSyzK6Kd.d.ts.map
10991
+ //# sourceMappingURL=index-CkLB8mJF.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { $a as RuntimeStreamEvent, $r as RetainedInteractiveBindingError, $t as RuntimeStreamEventCollector, Aa as RuntimeRunStatus, Ba as AgentTaskRunResult, Bt as OtelSpan, Da as RuntimeRunOptions, Ea as RuntimeRunHandle, Fa as AgentExecutionBackend, Ft as LoopSpanNode, Ga as OpenAIChatResponseFormat, Gr as AgentEvalError, Gt as createOpenInferenceFileExporter, Ha as AgentTaskStatus, Ht as buildLoopOtelSpans, Ia as AgentKnowledgeProvider, It as OtelAttribute, Ja as RunAgentTaskOptions, Jr as ConfigError, Jt as loopEventToOtelSpan, Ka as OpenAIChatTool, Kr as AgentEvalErrorCode, Kt as createOtelExporter, La as AgentRuntimeEvent, Lt as OtelExportConfig, Ma as AgentAdapter, Na as AgentBackendContext, Oa as RuntimeRunPersistenceAdapter, Pa as AgentBackendInput, Qa as RuntimeSessionStore, Qr as RetainedInteractiveAdmissionError, Qt as RuntimeEventCollector, Ra as AgentRuntimeEventSink, Rt as OtelExportStats, Ta as RuntimeRunCost, Ua as BackendErrorDetail, Ut as buildLoopSpanNodes, Va as AgentTaskSpec, Vt as RuntimeEventOtelOptions, Wa as KnowledgeReadinessDecision, Wt as buildRuntimeEventOtelSpans, Xa as RuntimeCanonicalStreamEvent, Xr as NotFoundError, Xt as padTraceId, Ya as RunAgentTaskStreamOptions, Yr as JudgeError, Yt as padSpanId, Za as RuntimeSession, Zr as PlannerError, Zt as toOtelAttributes, an as createRuntimeEventCollector, cn as sanitizeKnowledgeReadinessReport, ei as RetainedRunAdmissionError, en as RuntimeStreamEventSink, g as ExecutorFactory, i as Budget, in as SanitizedKnowledgeRequirement, ja as startRuntimeRun, ka as RuntimeRunRow, ln as sanitizeRuntimeStreamEvent, lt as SupervisedResult, ni as RuntimeRunStateError, nn as RuntimeTelemetryOptions, on as createRuntimeStreamEventCollector, qa as OpenAIChatToolChoice, qr as BackendTransportError, qt as generateSpanId, ri as ValidationError, rn as SanitizedKnowledgeReadinessReport, sn as sanitizeAgentRuntimeEvent, ti as RetainedRunDispatchBindingError, tn as RuntimeStreamEventSummary, wa as RuntimeRunCompleteInput, za as AgentTaskContext, zt as OtelExporter } from "./types-D56jQad-.js";
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
- import { $m as ConversationDriveState, Gm as SqlConversationJournal, Hm as D1DatabaseLike, Jm as ConversationJournalEntry, Km as d1ToSqlAdapter, Pm as DeliverableSpec, Qm as Conversation, Um as D1StmtLike, Wm as SqlAdapter, Xm as InMemoryConversationJournal, Ym as FileConversationJournal, Zm as AuthSource, ah as HaltContext, ch as HaltSignal, dh as BackendCallPolicy, eh as ConversationParticipant, fh as CircuitBreakerConfig, ih as ConversationTurn, lh as RunConversationOptions, mh as RetryableErrorPredicate, nh as ConversationResult, nr as StructuralRolloutPolicy, oh as HaltPredicate, ph as RetryBackoff, qm as ConversationJournal, rh as ConversationStreamEvent, sh as HaltReason, sl as SupervisorProfile, th as ConversationPolicy, uh as TurnOrder, xc as SuperviseOptions } from "./index-CSyzK6Kd.js";
4
+ import { $m as ConversationDriveState, Gm as SqlConversationJournal, Hm as D1DatabaseLike, Jm as ConversationJournalEntry, Km as d1ToSqlAdapter, Pm as DeliverableSpec, Qm as Conversation, Um as D1StmtLike, Wm as SqlAdapter, Xm as InMemoryConversationJournal, Ym as FileConversationJournal, Zm as AuthSource, ah as HaltContext, ch as HaltSignal, dh as BackendCallPolicy, eh as ConversationParticipant, fh as CircuitBreakerConfig, ih as ConversationTurn, lh as RunConversationOptions, mh as RetryableErrorPredicate, nh as ConversationResult, nr as StructuralRolloutPolicy, oh as HaltPredicate, ph as RetryBackoff, qm as ConversationJournal, rh as ConversationStreamEvent, sh as HaltReason, sl as SupervisorProfile, th as ConversationPolicy, uh as TurnOrder, xc as SuperviseOptions } from "./index-CkLB8mJF.js";
5
5
  import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
6
6
  import { f as ExecutorConfig, gr as Redactor, mn as WorktreeCheckRunner } from "./stream-agent-turn-Bk79CnTw.js";
7
7
  import { y as AgentCandidateOutputArtifactPort } from "./types-CuXu5zuS.js";
8
8
  import { $ as ImproveSearchMethod, A as ImproveCodeBaseOptions, At as commandVerifier, B as ImproveMethodOptions, C as ProfileTrainer, Ct as AgenticGeneratorOptions, D as createCommandProfileTrainer, Dt as Verifier, E as TrainingDatasetDocument, Et as AgenticGeneratorShotReceipt, F as ImproveCustomCodeGeneratorOptions, G as ImproveProfileAgent, H as ImproveMethodSource, I as ImproveLineage, J as ImproveResult, K as ImproveProfileComponents, L as ImproveMethodContext, M as ImproveCodeResult, Mt as CandidateGenerator, N as ImproveCodeRunOptions, O as ImproveCandidateValidationInput, Ot as VerifyResult, P as ImproveCost, Q as ImproveSearchIdentity, R as ImproveMethodFactory, S as ImproveTrainingResult, St as AgenticGeneratorExecutorForWorktree, T as TrainingBoundaryResult, Tt as AgenticGeneratorShotExecution, U as ImproveOptimizationRunOptions, V as ImproveMethodResult, W as ImproveOptions, X as ImproveScenarioPartitions, Y as ImproveRuntimeCodeGeneratorOptions, Z as ImproveSearchAgent, _ as SearchMethodOptions, _t as routerLane, at as ImprovementCodeCandidate, b as ControlledTrainingCommand, bt as DeepReadonly, ct as SearchCellContext, dt as SearchLaneKind, et as ImproveSearchOptions, ft as SearchLaneOptions, g as improve, gt as isSearchEnvironmentFault, ht as dedicatedLane, i as AgentImprovementActivationTransition, it as ImprovementCandidate, j as ImproveCodeOptions, jt as defaultBuildPrompt, k as ImproveCandidateValidator, kt as agenticGenerator, lt as SearchEnvironmentFault, mt as SharedBoxSearchLane, n as AgentImprovementActivationResultStore, nt as ImproveSkillsOptions, ot as ImprovementProfileCandidate, pt as SearchTraceOptions, q as ImproveProfileSurface, rt as ImproveSurface, st as SearchDispatchContext, t as AgentImprovementActivationReconciliation, tt as ImproveSearchResult, ut as SearchLane, v as searchMethod, vt as sharedBoxLane, w as ProfileTrainerRequest, wt as AgenticGeneratorShotDisposition, x as ImproveTrainingOptions, xt as ReadonlyAgentProfile, y as CheckpointServingPort, yt as subscriptionLane, z as ImproveMethodLineage } from "./activation-BcTWDNOD.js";
9
- import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-Dtt8FdYO.js";
9
+ import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-CINywrHK.js";
10
10
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-H8QPhTVE.js";
11
11
  import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge, AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
12
12
  import { AgentProfile as AgentProfile$1, ControlBudget, ControlDecision, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult, ControlStep, DataAcquisitionPlan, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement, MaximumCharge, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { Ai as readCommittedJsonLines, Br as createOpenInferenceFileExporter, Fr as defaultRedactorIdentityMaterial, Gr as padSpanId, Ir as resolveRedactor, Jr as createRuntimeEventCollector, Kr as padTraceId, Lr as buildLoopOtelSpans, Qr as sanitizeRuntimeStreamEvent, Rr as buildLoopSpanNodes, Ur as generateSpanId, Va as providerMessageText, Vr as createOtelExporter, Wr as loopEventToOtelSpan, Xi as executableAgentProfileSnapshot, Xr as sanitizeAgentRuntimeEvent, Yr as createRuntimeStreamEventCollector, Zr as sanitizeKnowledgeReadinessReport, ji as writeAllBytes, ki as prepareJsonlAppend, qr as toOtelAttributes, zr as buildRuntimeEventOtelSpans } from "./supervisor-UXgaPisu.js";
1
+ import { Ai as readCommittedJsonLines, Br as createOpenInferenceFileExporter, Fr as defaultRedactorIdentityMaterial, Gr as padSpanId, Ir as resolveRedactor, Jr as createRuntimeEventCollector, Kr as padTraceId, Lr as buildLoopOtelSpans, Qr as sanitizeRuntimeStreamEvent, Rr as buildLoopSpanNodes, Ur as generateSpanId, Va as providerMessageText, Vr as createOtelExporter, Wr as loopEventToOtelSpan, Xi as executableAgentProfileSnapshot, Xr as sanitizeAgentRuntimeEvent, Yr as createRuntimeStreamEventCollector, Zr as sanitizeKnowledgeReadinessReport, ji as writeAllBytes, ki as prepareJsonlAppend, qr as toOtelAttributes, zr as buildRuntimeEventOtelSpans } from "./supervisor-YAc4U8HQ.js";
2
2
  import { a as JudgeError, c as RetainedInteractiveAdmissionError, d as RetainedRunDispatchBindingError, f as RuntimeRunStateError, i as ConfigError, l as RetainedInteractiveBindingError, m as ValidationError, o as NotFoundError, r as BackendTransportError, s as PlannerError, t as AgentEvalError, u as RetainedRunAdmissionError } from "./errors-DodWX-cb.js";
3
- import { A as parseRolloutPolicy, C as privateValuePaths, D as ROLLOUT_POLICY_EXTENSION, M as structuralRolloutPolicyFromProfile, O as applyRolloutPolicyToProfile, S as parseExecutionRef, _t as startOrResumeRuntimeSession, a as SearchEnvironmentFault, b as assertCandidateValidator, ct as strategyAuthorMethod, d as sharedBoxLane, dt as createIterableBackend, f as subscriptionLane, ft as createSandboxPromptBackend, gt as nowIso, ht as newRuntimeSession, i as searchMethod, j as serializeRolloutPolicy, k as normalizeRolloutPolicy, l as routerLane, mt as InMemoryRuntimeSessionStore, o as dedicatedLane, pt as normalizeBackendStreamEvent, s as isSearchEnvironmentFault, st as optimizerMethod, ut as streamAgentTurn, vt as touchSession } from "./search-method-CbUyhdz5.js";
3
+ import { A as parseRolloutPolicy, C as privateValuePaths, D as ROLLOUT_POLICY_EXTENSION, M as structuralRolloutPolicyFromProfile, O as applyRolloutPolicyToProfile, S as parseExecutionRef, _t as startOrResumeRuntimeSession, a as SearchEnvironmentFault, b as assertCandidateValidator, ct as strategyAuthorMethod, d as sharedBoxLane, dt as createIterableBackend, f as subscriptionLane, ft as createSandboxPromptBackend, gt as nowIso, ht as newRuntimeSession, i as searchMethod, j as serializeRolloutPolicy, k as normalizeRolloutPolicy, l as routerLane, mt as InMemoryRuntimeSessionStore, o as dedicatedLane, pt as normalizeBackendStreamEvent, s as isSearchEnvironmentFault, st as optimizerMethod, ut as streamAgentTurn, vt as touchSession } from "./search-method-q43Af9yu.js";
4
4
  import { t as assertExecutableAgentProfile } from "./model-policy-BbSCSak0.js";
5
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-Bi_oOB1-.js";
6
- import { C as canonicalCandidateDigest$1, D as immutableCandidateValue, E as embeddedCandidateArtifact, O as omitTopLevelDigest, S as canonicalCandidateBytes$1, a as persistCandidateOutputArtifact, t as captureAgentCandidateWorkspace } from "./workspace-archive-C9lgf77y.js";
7
- import { Kt as McpSpawnFault, qt as connectStdioMcp } from "./runtime-Bid-kBes.js";
5
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-Bj8SMTOs.js";
6
+ import { C as canonicalCandidateBytes$1, D as embeddedCandidateArtifact, O as immutableCandidateValue, a as persistCandidateOutputArtifact, k as omitTopLevelDigest, t as captureAgentCandidateWorkspace, w as canonicalCandidateDigest$1 } from "./workspace-archive-MhowMCmp.js";
7
+ import { Kt as McpSpawnFault, qt as connectStdioMcp } from "./runtime-B3TTjtzE.js";
8
8
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
9
- import { B as rawTraceDistiller, H as commandVerifier, L as improve, R as createCommandProfileTrainer, U as defaultBuildPrompt, V as agenticGenerator, z as withMethodRuntimeControls } from "./improvement-cycle-8MUf5Xfp.js";
10
- import { t as sealAgentCandidateBundle } from "./bundle-CvLGRVO-.js";
11
- import { r as supervise } from "./supervise-zt91I62x.js";
12
- import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-Cg78CKmf.js";
9
+ import { B as rawTraceDistiller, H as commandVerifier, L as improve, R as createCommandProfileTrainer, U as defaultBuildPrompt, V as agenticGenerator, z as withMethodRuntimeControls } from "./improvement-cycle-BUDfOR0s.js";
10
+ import { t as sealAgentCandidateBundle } from "./bundle-BfW-32vB.js";
11
+ import { r as supervise } from "./supervise-DL_Hj1uk.js";
12
+ import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-BhExTk_4.js";
13
13
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DoQ32vpe.js";
14
14
  import { agentCandidateKnowledgeSchema, agentProfileSchema, canonicalAgentProfileDigest, sha256DigestSchema } from "@tangle-network/agent-interface";
15
15
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
@@ -1,11 +1,11 @@
1
- import { Hr as flatOtelSpan, Ir as resolveRedactor, Lr as buildLoopOtelSpans, Pr as defaultRedactor, Vr as createOtelExporter, ir as resolveAgentEnvironmentProvider, zr as buildRuntimeEventOtelSpans } from "./supervisor-UXgaPisu.js";
2
- import { x as assertProfileTrainingIsHeldOut } from "./search-method-CbUyhdz5.js";
3
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-Bi_oOB1-.js";
4
- import { C as canonicalCandidateDigest$1, D as immutableCandidateValue } from "./workspace-archive-C9lgf77y.js";
5
- import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-8MUf5Xfp.js";
6
- import { a as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-DVlvGP7V.js";
7
- import { d as omitUndefinedObjectFields, f as parseAgentCandidateProfileActivation, i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-D3eXNBQV.js";
8
- import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BrWgsCnl.js";
1
+ import { Hr as flatOtelSpan, Ir as resolveRedactor, Lr as buildLoopOtelSpans, Pr as defaultRedactor, Vr as createOtelExporter, ir as resolveAgentEnvironmentProvider, zr as buildRuntimeEventOtelSpans } from "./supervisor-YAc4U8HQ.js";
2
+ import { x as assertProfileTrainingIsHeldOut } from "./search-method-q43Af9yu.js";
3
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-Bj8SMTOs.js";
4
+ import { O as immutableCandidateValue, w as canonicalCandidateDigest$1 } from "./workspace-archive-MhowMCmp.js";
5
+ import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-BUDfOR0s.js";
6
+ import { a as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-CxnyZ1fG.js";
7
+ import { d as omitUndefinedObjectFields, f as parseAgentCandidateProfileActivation, i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-C4NDjZyB.js";
8
+ import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BSsgmdhI.js";
9
9
  import { agentImprovementSourceSchema, agentProfileImprovementArmSchema, applyAgentProfileDiff } from "@tangle-network/agent-interface";
10
10
  import { contentHash } from "@tangle-network/agent-eval";
11
11
  import { ATTR } from "@tangle-network/agent-trace-contract";
package/dist/kernel.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { $ as SpawnJournal, $i as Iteration, $n as ReadableEnvironment, A as NodeExecutionIdentity, Ai as RetainedRunStartMaterial, An as RetainedPendingCause, Ar as ContinuationPanelInput, B as ResultBlobStore, Bi as ReservationHolder, Bn as ReconnectRetainedInteractiveRunOptions, Br as distillFindings, C as ExecutorToolCall, Ca as Validator, Ci as RetainedRunEffect, Cn as SessionTraceBox, Cr as CheckUnavailableError, Ct as WorkspaceCheckpointMarker, D as MaterializedExecutionIdentity, Di as RetainedRunIntentAdmission, Dn as decodeToolPart, Dr as ContinuationEntry, Dt as workerTraceEnv, E as HeldEnvironment, Ei as RetainedRunHandle, En as createPushTraceSource, Er as ContinuationContext, Et as readWorkerTraceContext, F as ProviderModelAttemptEvidence, Fi as BudgetPoolRestore, Fn as ScopeProgressInput, Fr as VerdictSummary, G as RootMaterialization, Gi as ReservationWaitRefused, Gn as RetainedInteractiveStartMaterial, Gt as createOpenInferenceFileExporter, H as ResumedWork, Hi as ReservationShortfall, Hn as RetainedInteractiveAdmissionHook, Hr as failedItems, I as ProviderModelExecutionEvidence, Ii as BudgetReadout, In as TeamProgress, Ir as admitContinuationPolicy, J as RootStreamReceipt, Ji as spendFromUsageEvents, Jn as HarnessTranscriptCapture, K as RootProviderModelEvidence, Ki as ReserveOptions, Kn as StartRetainedInteractiveRunOptions, Kt as createOtelExporter, L as RecursiveReservationPolicy, Li as BudgetReconcileFault, Ln as WorkerProgress, Lr as admitFinding, M as NodeSnapshot, Mi as StartRetainedRunInEnvironmentOptions, Mn as ActivityNote, Mr as ContinuationPolicy, N as NodeStatus, Ni as StartRetainedRunOptions, Nn as DEFAULT_STALL_AFTER_MS, Nr as ContinuationProfile, O as MaterializedModelIdentity, Oi as RetainedRunReplayPoint, On as sandboxSessionTraceSource, Or as ContinuationNoteInput, Ot as workerTraceHeaders, P as ProfileMaterializationReceipt, Pi as BudgetPool, Pn as ExecutorProgress, Pr as PanelFinding, Q as SpawnEvent, Qi as ExecCtx, Qn as HarnessTranscriptUnavailableReason, R as ResourceLimit, Ri as LeakedReservation, Rn as createActivityLog, Rr as checkVerdictOf, S as ExecutorTeardownWarning, Sa as ValidationCtx, Si as RetainedRunDispatchedAdmission, Sn as SessionMessageLike, Sr as CheckRead, St as WorkerTraceUnavailableReason, T as Handle, Ti as RetainedRunEventOptions, Tn as TraceSource, Tr as ContinuationAppend, Tt as WorkerTraceSeamCarrier, U as RetainedExecutionState, Ui as ReservationStage, Un as RetainedInteractiveEnvironmentInput, Ur as passedItems, V as ResumedKeyState, Vi as ReservationRejection, Vn as RecoverRetainedInteractiveRunOptions, Vr as expandQuestions, W as RootHandle, Wi as ReservationTicket, Wn as RetainedInteractiveRunHandle, Wr as verdictFromJudgeScore, X as Scope, Xi as DefaultVerdict, Xn as HarnessTranscriptFile, Y as Runtime, Yi as AgentRunSpec, Yn as HarnessTranscriptEvidence, Z as Settled, Zi as Driver, Zn as HarnessTranscriptUnavailable, _ as ExecutorMaterialization, _a as MountRecorder, _i as RetainedInteractiveStartedAdmission, _n as isWaitOutcome, _r as upstreamUnavailableSignal, _t as WaitOpts, a as BudgetOverspend, aa as LoopLineageOptions, ai as WorkerSlots, ar as DriverAttemptsExhaustedError, at as SpendGap, b as ExecutorRegistry, ba as SandboxClient, bi as RetainedRunCancelOptions, bn as validateWaitSpec, br as CONTINUATIONS_DIR, bt as WorkerInteractiveUnavailableReason, c as EnvironmentTeardownReceipt, ca as LoopResult, ci as NativeContextContinuationHandle, cr as DriverContractState, ct as SubtreeSummary, d as ExecutorAccounting, da as LoopTeardownFailedPayload, di as RecoverRetainedRunIntentOptions, dn as WaitOutcome, dr as DriverProgressMark, dt as SupervisorOpts, ea as LoopDecisionPayload, er as captureHarnessTranscript, et as SpawnOpts, f as ExecutorCancellation, fa as LoopTokenUsage, fi as RecoverRetainedRunOptions, fn as WaitProbe, fr as DriverReentry, ft as TokenUsageProvenance, g as ExecutorFactory, ga as MountManifestEntry, gi as RetainedInteractiveIntentAdmission, gn as createWaitProbes, gr as summarizeDriverAttempts, gt as UsageEvent, h as ExecutorExecutionBinding, ha as LoopWinner, hi as RetainedInteractiveEnvironmentAdmission, hn as WaitSpec, hr as classifyDriverFailure, ht as UnknownMaterializationReason, i as Budget, ia as LoopIterationStartedPayload, ir as DriverAttemptStop, it as SpendChannel, j as NodeId, ji as RetainedRunTurnInput, jn as ActivityLog, jr as ContinuationPanelResult, k as NoWinnerError, ki as RetainedRunSnapshot, kr as ContinuationPanel, kt as workerTraceSeamKey, l as ExecutionBindingReceipt, la as LoopSandboxPlacement, li as NativeContextContinuationInput, lr as DriverFailureClass, lt as SupervisedResult, m as ExecutorContext, ma as LoopTraceEvent, mi as RetainedInteractiveAdmission, mn as WaitRejection, mr as DriverRetryPolicy, mt as UnconfirmedTeardown, n as AgentExecutionRef, na as LoopIterationDispatchPayload, nr as persistHarnessTranscript, nt as SpawnRejection, o as BudgetViolation, oa as LoopPlanDescription, oi as createWorkerSlots, or as DriverBudgetReadout, ot as SteerableRootHandle, p as ExecutorCancellationRequest, pa as LoopTraceEmitter, pi as RecoverRetainedRunResult, pn as WaitProbeRegistry, pr as DriverRepromptRefusal, pt as TreeView, q as RootSignal, qi as createBudgetPool, qn as HarnessTranscriptArtifact, r as AgentSpec, ra as LoopIterationEndedPayload, rr as DriverAttemptRecord, rt as Spend, sa as LoopPlanPayload, si as NativeContextContinuationExecution, sr as DriverContinuationRecord, st as SubtreeResult, t as Agent, ta as LoopEndedPayload, tr as harnessTranscriptArtifact, tt as SpawnPrior, u as Executor, ua as LoopStartedPayload, ui as ReconnectRetainedRunOptions, un as PendingWait, ur as DriverLoopRecord, ut as Supervisor, v as ExecutorNodeContext, va as OutputAdapter, vi as RetainedRunAdmission, vn as pollFor, vr as UnavailablePausePolicy, vt as WidenGate, w as FleetYield, wi as RetainedRunEnvironmentAdmission, wn as ToolStepInput, wr as CheckVerdict, wt as WorkerTraceResolver, x as ExecutorResult, xa as SelectionReceipt, xi as RetainedRunCancellation, xn as waitUntil, xr as CONTINUATION_FACTS, xt as WorkerTraceEvidence, y as ExecutorProgressEvent, ya as RunProvenance, yi as RetainedRunAdmissionHook, yn as timerAt, yr as AdmittedFinding, yt as WorkerInteractiveSession, z as ResourceSpend, zi as ReservationFloor, zn as readWorkerProgress, zr as composeContinuationNote } from "./types-D56jQad-.js";
2
- import { $ as WorkspaceRun, $a as HarvestFailure, $c as ObserveSupervisorNodeEvent, $d as QuestionEscalationRecord, $i as BenchmarkLift, $l as PriorCoordination, $n as RepairStop, $o as Outcome, $r as SandboxLineageHandle, $t as defaultEdgeTraversalCap, $u as leaderboard, A as worktreeFanout, Aa as LoopCampaignDispatchOptions, Ac as WorkerSpawnRetryHooks, Ad as AuthoredAnalystDefinition, Ah as pendingWaits, Ai as InMemoryCorpus, Al as ReentryContinuity, Am as createEventBus, An as unsafeInProcessRunner, Ao as PanelVerdict, Ar as authorStrategy, As as IsolatedCheckOptions, At as WorktreeCliExecutorOptions, Au as workerSteerAcknowledgementsDir, B as VERIFY_TAIL_CHARS, Ba as TerminalDecision, Bc as createFileRunContext, Bd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Bi as CreateScopeAnalystOptions, Bl as pickBestDelivered, Bm as SqlRunStoreOptions, Bn as ProfileRichness, Bo as TrajectoryReport, Br as materializeLocalMcp, Bt as workerInteractiveAdmissionFile, Bu as deterministicCompletion, C as SurfaceWorkerConfig, Ca as breadthStrategy, Cc as SuperviseRegistryTable, Ch as SpawnForestEvent, Ci as trajectoryReport, Cl as allOf, Cn as delegate, Co as FlatWidenGate, Cr as TournamentCell, Cs as checkProgramDigest, Ct as ProvisionSupervisorConnection, Cu as workerCancelRequestsFile, D as superviseSurface, Da as runAgentic, Dc as workerFromBackend, Dd as AnalystRegistry, Dh as SpawnForestTree, Di as definePersona, Dl as noProgressFor, Dm as BusStats, Dn as CodeModeOptions, Do as Panel, Dr as AuthorStrategyOptions, Ds as readDeclaredCheck, Dt as provisionSupervisor, Du as workerInboxFile, E as failuresAnalyst, Ea as refine, Ed as AnalystLensOutput, Eh as SpawnForestNode, Ei as registerShape, El as createProgressTracker, Em as BusRecord, En as finalizeBestDelivered, Eo as LoopUntilState, Er as strategyTournament, Es as declaredCheckJudge, Et as SupervisorCleanupReceipt, Eu as workerControlLogFile, F as readWorkerInteractiveBinding, Fa as loopCampaignDispatch, Fc as withWorkerSpawnRetry, Fd as ContinuityMode, Fi as panel, Fl as FinalizeContext, Fm as ExecutorResultMapping, Fn as ChatWorkerSeamOptions, Fo as ScopeAnalyst, Fr as McpSpawnFault, Ft as InteractiveWorkerOptions, Fu as CompletionAnalyst, G as CopyOptions, Ga as localSandboxClient, Gc as SupervisorSpanOutcome, Gd as DownMessageEvent, Gi as registryScopeAnalyst, Gl as CoordinationTransportOptions, Gn as profileRichnessFinding, Go as Widen, Gr as SandboxRun, Gt as EdgeTraversal, Gu as Interval, H as closingWorkerNote, Ha as isTerminalDecision, Hc as withRunContext, Hd as DownMessageAuthorizationInput, Hi as assertTraceDerivedFindings, Hl as CoordinationAuthentication, Hn as asAuthoredProfile, Ho as TrajectoryReportOptions, Hr as OpenSandboxRunBeforeStartContext, Ht as createInPlaceCliExecutor, Hu as stopSentinel, I as workerInteractiveBindingFile, Ia as loopDispatch, Ic as InMemoryRunContext, Id as CoordinationEvent, Ii as pipeline, Il as FinalizerSettled, Im as gateOnDeliverable, In as chatTransportExecutor, Io as ScopeAnalyzeInput, Ir as McpToolDescriptor, It as InteractiveWorkerResult, Iu as CompletionEvidence, J as withUntrackedArtifacts, Ja as InProcessPromptCtx, Jc as CoordinationBinding, Jd as MakeWorkerAgent, Ji as McpEnvironmentOptions, Jl as CoordinationHttpOptions, Jn as CheckOutcome, Jo as WidenSpec, Jr as openSandboxRun, Jt as GraphNode, Ju as LeaderboardRow, K as UntrackedCopyStats, Ka as inlineSandboxClient, Kc as SupervisorSpanRecorder, Kd as EscalateQuestion, Ki as observationFromRegistry, Kl as serveCoordinationMcp, Kn as supervisorInstructions, Ko as WidenDecision, Kr as SandboxRunAbortError, Kt as GraphEdge, Ku as Leaderboard, L as workerInteractiveBindingsDir, La as superviseDispatch, Lc as InMemoryRunContextOptions, Ld as CoordinationStats, Li as selectValidWinner, Ll as SupervisorFinalizer, Lm as mapExecutorResult, Ln as chatWorkerSeam, Lo as ScopeWidenGate, Lr as StdioMcpConnection, Lt as workerFromInteractiveProvider, Lu as CompletionPolicy, M as WorkerInteractiveBinding, Ma as LoopOptionsForDispatch, Mc as isPreSpawnExecutorFailure, Md as AuthorizeDownMessage, Mh as contentAddress, Mi as fanout, Ml as UNPROVEN_CONTINUITY, Mm as defaultToolDetectors, Mn as ChatSessionStore, Mo as PipelineStage, Mr as strategyAuthorSystemPrompt, Ms as runIsolatedCheck, Mt as createWorktreeCliExecutor, Mu as workerSteerRequestsDir, N as WorkerInteractiveProviderSource, Na as SuperviseDispatchOptions, Nc as resolveWorkerSpawnRetry, Nd as AuthorizedDownMessage, Ni as flatWidenGate, Nl as composeReentryTask, Nm as watchTrace, Nn as ChatTransportExecutorOptions, No as RenderCorpusToInstructions, Nr as LocalMcpMaterialization, Nt as InteractiveWorkerEnvironment, Nu as workerSteersDir, O as AuthoredHarness, Oa as sample, Oc as ResolvedWorkerSpawnRetry, Oh as loadSpawnForest, Oi as runPersonified, Ol as plateau, Om as EventBus, On as CodeModeRunner, Oo as PanelJudge, Or as AuthoredStrategy, Os as IsolatedCheckBox, Ot as PatchDeliverableOptions, Ou as workerInboxFileFromEventDir, P as attachWorker, Pa as SuperviseOptionsForDispatch, Pc as retryPreSpawnRefusals, Pd as ContinuationInstruction, Pi as loopUntil, Pl as DeliveredOutput, Pm as DeliverableSpec, Pn as ChatTransportTool, Po as RenderCorpusToInstructionsOptions, Pr as MaterializeLocalMcpOptions, Pt as InteractiveWorkerKeyInput, Pu as writeWorkerSteer, Q as WorkspaceCommit, Qa as HarvestError, Qc as DriveHarnessOwnerContext, Qd as QuestionEscalationOutcome, Qi as BenchmarkConfig, Ql as FileCoordinationLog, Qn as CheckSourceCtx, Qo as LoopShape, Qr as SandboxLineage, Qt as TraversalContinuity, Qu as ScoreOf, R as EVIDENCE_MAX_CHARS, Ra as RunAgentRoundsOptions, Rc as RunContext, Ri as verify, Rl as bestDelivered, Rm as SqlRunLease, Rn as createChatSessionStore, Ro as SteerContext, Rr as StdioMcpServerSpec, Rt as WorkerInteractiveAdmission, Ru as CompletionVerdict, S as SuperviseSurfaceResult, Sa as adaptiveRefine, Sc as SuperviseRegistry, Sh as SpawnForest, Si as equalKOnCost, Sl as StopRule, Sn as defaultDelegateBudget, So as FanoutWinnerSelector, Sr as StrategyTournament, Ss as assertDeclaredCheck, St as createSqlRunContext, Su as supervisorWorkersDir, T as analystsFromRegistry, Ta as depthStrategy, Tc as supervise, Td as AnalystKind, Th as SpawnForestMissingTree, Ti as createShapeRegistry, Tl as anyOf, Tm as BusEvent, To as LoopUntilSpec, Tr as runStrategyEvolution, Ts as declaredCheckDigest, Tt as ProvisionedSupervisor, Tu as workerCancellationsDir, U as composeWorkerEvidence, Ua as runAgentRounds, Uc as SupervisorSpanAttributes, Ud as DownMessageDeliveryAttempt, Ui as buildSteerContext, Ul as CoordinationMcpHandle, Un as assessAuthoredProfile, Uo as Verify, Ur as OpenSandboxRunOptions, Ut as AgentGraph, Uu as AxisScoresOf, V as WorkerEvidenceInput, Va as defaultSelectWinner, Vc as createInMemoryRunContext, Vd as DefinedAnalystRecord, Vi as RegistryAnalyzeProjection, Vl as runFinalizer, Vm as openSqlRunStore, Vn as ProfileRichnessThresholds, Vo as TrajectoryReportFn, Vr as Deliverable, Vt as InPlaceCliExecutorOptions, Vu as sentinelCompletion, W as settledWorkerOut, Wa as LocalSandboxClientOptions, Wc as SupervisorSpanOptions, Wd as DownMessageDeliveryOutcome, Wi as createScopeAnalyst, Wl as CoordinationPublicAddress, Wn as defaultProfileRichnessThresholds, Wo as VerifySpec, Wr as OpenSandboxRunPromptOptions, Wt as EdgeDeliveryOutcome, Wu as GroupOf, X as Shell, Xa as inProcessSandboxClient, Xc as CoordinationVerbs, Xi as sanitizeMcpToolSchema, Xl as CoordinationLog, Xn as CheckRunner, Xo as DefinePersona, Xr as CheckpointCapableBox, Xt as RunGraphOptions, Xu as PairwiseVerdict, Y as GitWorkspaceOptions, Ya as InProcessSandboxClientOptions, Yc as CoordinationToolFace, Yd as ManagerReentryState, Yi as createMcpEnvironment, Yl as CoordinationDeliveryEvidence, Yn as CheckRunContext, Yo as WinnerStrategy, Yr as BranchCapableBox, Yt as GraphResult, Yu as PairwiseOptions, Z as Workspace, Za as HarvestCorpusOptions, Zc as DriveHarness, Zi as BenchmarkCell, Zl as CoordinationOwnerId, Zn as CheckSource, Zo as DefinePersonaInput, Zr as ForkCapableBox, Zu as ProfileKeyOf, _ as boxSurfaceReader, _a as StrategyCtx, _c as AuthorizedSpawn, _d as renderAnytimeTable, _h as SqlStatements, _i as resolveSandboxClient, _l as ProgressSample, _n as RollingDispatchOptions, _o as EqualKOnCostOptions, _r as visibleCheckScore, _s as LeaderboardSpec, _t as SUBTREE_RESULT_LIMIT, _u as runCancelRequestFile, a as SandboxInstance, aa as runBenchmark, ad as AuditIntentInput, ai as AcquireOptions, al as SupervisorNodeContext, an as analyzesFindingsReportPrompt, ao as ObserveInput, ar as canDisplace, as as ShapeBudget, at as analyzeTrace, au as WorkerSteerRequest, b as AnalystAuthoring, ba as StrategyShotResult, bc as DeliverableResolutionInput, bd as WaterfallSpan, bh as InMemoryResultBlobStore, bi as assertModelAllowed, bl as ProgressView, bn as rollingDispatch, bo as FanoutOptions, br as EvolutionStrategy, bs as DeclaredCheckPlacement, bt as settledToIteration, bu as supervisorRunDir, c as VerifierEnvironmentOptions, ca as AgenticSurface, cd as auditIntent, cf as SpawnPreflightContext, ci as recoverRetainedRun, cl as SupervisorToolDescriptor, cn as dumbContinuationFailPrompt, co as observe, cr as defaultExtractCandidate, cs as DefinedLeaderboard, ct as captureWorkerTraceEvidence, cu as cancelWorker, d as HarvestSurfaceDiffsOptions, da as ArtifactHandle, dd as AnytimeStrategySummary, df as SuperviseProfileEntry, di as ClaimRetainedInteractiveControlOptions, dl as resolveSupervisorProfile, dn as kernelPromptRegistry, do as CombinatorShape, dr as modelAuthoredChecks, ds as LeaderboardBenchmarkAdapter, dt as DEFAULT_MAX_DEPTH, du as readRunCancelRequest, ea as BenchmarkReport, ed as pairwiseSignificance, ei as SessionCapableBox, el as ResolveDriveHarness, en as runGraph, eo as HarvestReport, er as StructuralRolloutConfig, es as Persona, et as gitWorkspace, eu as RunCancelRequest, f as SurfaceDiff, fa as CorpusReadbackOptions, fd as AnytimeTaskCurve, ff as WorkerResumeContext, fi as claimRetainedInteractiveControl, fl as supervisorAgent, fn as naiveContinuationPrompt, fo as Corpus, fr as officialChecksFromMeta, fs as LeaderboardFlagSpec, ft as createRootHandle, fu as readRunCancellation, g as WatchedSurface, ga as StrategyArtifacts, gd as plateauLength, gf as canonicalFindingEvent, gh as SqlSpawnJournal, gi as ResolveSandboxClientOptions, gl as PlateauOptions, gn as DispatchUnit, go as EqualKOnCost, gr as structuralRollout, gs as LeaderboardScore, gt as createFencedSqlRunContext, gu as readWorkerSteerRequests, h as SurfaceReader, ha as Strategy, hd as bestSoFar, hh as SqlResultBlobStore, hi as startRetainedInteractiveRun, hl as NoProgressForOptions, hn as DispatchStopReason, ho as EqualKArm, hr as selectBestIndex, hs as LeaderboardScenario, ht as SqlRunContextOptions, hu as readWorkerSteerAcknowledgement, i as SandboxEvent, ia as printBenchmarkReport, id as renderPairwiseMarkdown, ii as probeSandboxCapabilities, in as RegisteredPrompt, io as ObservationError, ir as VisibleCheck, is as RunPersonifiedOptions, it as TrajectoryAnalysis, iu as WorkerSteerAcknowledgement, j as AttachWorkerOptions, ja as LoopDispatchOptions, jc as WorkerSpawnRetryPolicy, jd as AuthoredAnalystLimits, jh as replaySpawnTree, ji as renderCorpusToInstructions, jl as ReentryTaskInput, jm as WatchTraceOptions, jn as ChatCompletionsTransport, jo as Pipeline, jr as strategyAuthorContract, js as IsolatedCheckResult, jt as WorktreePatchArtifact, ju as workerSteerRequestFile, k as WorktreeFanoutOptions, ka as sampleThenRefine, kc as WorkerSpawnRetryAttempt, kd as AnalyzeOnSettleRoute, kh as materializeTreeView, ki as FileCorpus, kl as sampleFromSettled, km as PublishOptions, kn as codeModeSupervisorTools, ko as PanelSpec, kr as assertStrategyContract, ks as IsolatedCheckBoxEvidence, kt as patchDelivered, ku as workerSteerAcknowledgementFile, l as createVerifierEnvironment, la as AgenticTask, ld as defaultAuditorInstruction, lf as SpawnRefusal, li as startRetainedRun, ll as SupervisorToolInvocationContext, ln as dumbContinuationPassPrompt, lo as renderReport, lr as defaultStructuralRolloutPolicy, ls as LeaderboardBenchScore, lt as parseWorkerToolTraceArtifact, lu as legacySupervisorRunDir, m as SurfaceReadOutcome, ma as ShotSpec, md as areaUnderCurve, mf as WorkerWatchOptions, mi as recoverRetainedInteractiveRun, ml as AllWorkersStalledOptions, mn as DispatchReport, mo as CorpusRecord, mr as sandboxCheckRunner, ms as LeaderboardRunContext, mt as FencedSqlRunContext, mu as readWorkerCancellation, n as AnalystFinding, na as BenchmarkTaskRow, nd as renderLeaderboardMarkdown, ni as CriuCapableClient, nl as ResolvedSupervisorProfile, nn as PromptHandle, no as Observation, nr as StructuralRolloutPolicy, ns as PersonaExecutors, nt as localShell, nu as WorkerCancelRequest, o as computeFindingId, oa as AgenticOptions, od as AuditIntentOptions, oi as acquireSandbox, ol as SupervisorNodeContextSeed, on as createPromptRegistry, oo as ObserveOptions, or as compareCheckOutcomes, os as ShapeContext, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as WriteWorkerSteerOptions, p as SurfaceReadBox, pa as RunAgenticOptions, pd as anytimeReport, pf as WorkerSpawnContext, pi as reconnectRetainedInteractiveRun, pn as promptHandle, po as CorpusFilter, pr as resolveEntrySymbol, ps as LeaderboardIterationInfo, pt as createSupervisor, pu as readWorkerCancelRequests, q as copyUntrackedIntoClone, qa as InProcessOnPrompt, qc as createSupervisorSpanRecorder, qd as EventAcknowledgement, qi as McpEndpoint, ql as CoordinationHttpAudit, qn as CheckExecChannel, qo as WidenLineage, qr as TurnResult, qt as GraphEdgeCapError, qu as LeaderboardOptions, r as CreateSandboxOptions, ra as Environment, rd as renderLeaderboardSvg, ri as SandboxCapabilities, rl as SupervisorAgentDeps, rn as PromptRegistry, ro as ObservationAnalysis, rr as StructuralRolloutResult, rs as RunPersonified, rt as runInWorkspace, ru as WorkerCancellation, s as makeFinding, sa as AgenticRunResult, sd as IntentAudit, sf as SpawnPreflight, si as reconnectRetainedRun, sl as SupervisorProfile, sn as delegatesWorkerBriefPrompt, so as defaultAnalystInstruction, sr as composeCheckSources, ss as ShapeRegistry, st as WorkerToolTraceArtifact, su as cancelRun, t as AgentProfile, ta as BenchmarkStrategySummary, td as renderLeaderboardHtml, ti as createSandboxLineage, tl as ResolveSupervisorTools, to as harvestCorpus, tr as StructuralRolloutMessage, ts as PersonaContext, tt as jjWorkspace, tu as RunCancellation, u as BoxSurfaceReaderOptions, ua as AgenticTool, ud as AnytimeReport, uf as SpawnRefusalCause, ui as startRetainedRunInEnvironment, ul as assertCoordinationBinding, un as formatPromptHandle, uo as AssertTraceDerivedFindings, ur as filterAuthoredAsserts, us as LeaderboardBenchTask, ut as workerTraceAnalysisStore, uu as legacySupervisorRunsRoot, v as fsSurfaceReader, va as StrategyMessage, vc as AuthorizedSpawnContext, vd as WaterfallCollector, vh as FileResultBlobStore, vi as profileChatClient, vl as ProgressTracker, vn as freeSlots, vo as EqualKVerdict, vr as EvolutionAuthor, vs as defineLeaderboard, vt as ScopeArgs, vu as runCancellationFile, w as SurfaceWorkerOut, wa as defineStrategy, wd as AnalystFindingEvent, wh as SpawnForestInDoubtNode, wi as builtinShapes, wl as allWorkersStalled, wo as LoopUntil, wr as TournamentRow, ws as declaredCheckDeliverable, wt as ProvisionSupervisorRequest, wu as workerCancellationFile, x as SuperviseSurfaceOptions, xa as SurfaceScore, xc as SuperviseOptions, xd as createWaterfallCollector, xh as InMemorySpawnJournal, xi as assertProfileModelsAllowed, xl as StopDecision, xn as DelegateOptions, xo as FanoutSynthesis, xr as StrategyEvolutionConfig, xs as DeclaredCheckStateCapture, xt as SqlRunContext, xu as supervisorRunsRoot, y as harvestSurfaceDiffs, ya as StrategyResult, yc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, yd as WaterfallReport, yf as normalizeAnalyzeOnSettle, yh as FileSpawnJournal, yi as profileOptimizerModelCall, yl as ProgressTrackerOptions, yn as queueOf, yo as Fanout, yr as EvolutionReport, ys as DeclaredCheck, yt as createScope, yu as safeWorkerFile, z as NOTE_MAX_CHARS, za as TERMINAL_DECISIONS, zc as RunContextLease, zi as widen, zl as collectDelivered, zm as SqlRunOwnershipError, zn as AuthoredProfile, zo as TrajectoryNode, zr as connectStdioMcp, zt as readWorkerInteractiveAdmissions, zu as completionAuthorizes } from "./index-CSyzK6Kd.js";
2
+ import { $ as WorkspaceRun, $a as HarvestFailure, $c as ObserveSupervisorNodeEvent, $d as QuestionEscalationRecord, $i as BenchmarkLift, $l as PriorCoordination, $n as RepairStop, $o as Outcome, $r as SandboxLineageHandle, $t as defaultEdgeTraversalCap, $u as leaderboard, A as worktreeFanout, Aa as LoopCampaignDispatchOptions, Ac as WorkerSpawnRetryHooks, Ad as AuthoredAnalystDefinition, Ah as pendingWaits, Ai as InMemoryCorpus, Al as ReentryContinuity, Am as createEventBus, An as unsafeInProcessRunner, Ao as PanelVerdict, Ar as authorStrategy, As as IsolatedCheckOptions, At as WorktreeCliExecutorOptions, Au as workerSteerAcknowledgementsDir, B as VERIFY_TAIL_CHARS, Ba as TerminalDecision, Bc as createFileRunContext, Bd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Bi as CreateScopeAnalystOptions, Bl as pickBestDelivered, Bm as SqlRunStoreOptions, Bn as ProfileRichness, Bo as TrajectoryReport, Br as materializeLocalMcp, Bt as workerInteractiveAdmissionFile, Bu as deterministicCompletion, C as SurfaceWorkerConfig, Ca as breadthStrategy, Cc as SuperviseRegistryTable, Ch as SpawnForestEvent, Ci as trajectoryReport, Cl as allOf, Cn as delegate, Co as FlatWidenGate, Cr as TournamentCell, Cs as checkProgramDigest, Ct as ProvisionSupervisorConnection, Cu as workerCancelRequestsFile, D as superviseSurface, Da as runAgentic, Dc as workerFromBackend, Dd as AnalystRegistry, Dh as SpawnForestTree, Di as definePersona, Dl as noProgressFor, Dm as BusStats, Dn as CodeModeOptions, Do as Panel, Dr as AuthorStrategyOptions, Ds as readDeclaredCheck, Dt as provisionSupervisor, Du as workerInboxFile, E as failuresAnalyst, Ea as refine, Ed as AnalystLensOutput, Eh as SpawnForestNode, Ei as registerShape, El as createProgressTracker, Em as BusRecord, En as finalizeBestDelivered, Eo as LoopUntilState, Er as strategyTournament, Es as declaredCheckJudge, Et as SupervisorCleanupReceipt, Eu as workerControlLogFile, F as readWorkerInteractiveBinding, Fa as loopCampaignDispatch, Fc as withWorkerSpawnRetry, Fd as ContinuityMode, Fi as panel, Fl as FinalizeContext, Fm as ExecutorResultMapping, Fn as ChatWorkerSeamOptions, Fo as ScopeAnalyst, Fr as McpSpawnFault, Ft as InteractiveWorkerOptions, Fu as CompletionAnalyst, G as CopyOptions, Ga as localSandboxClient, Gc as SupervisorSpanOutcome, Gd as DownMessageEvent, Gi as registryScopeAnalyst, Gl as CoordinationTransportOptions, Gn as profileRichnessFinding, Go as Widen, Gr as SandboxRun, Gt as EdgeTraversal, Gu as Interval, H as closingWorkerNote, Ha as isTerminalDecision, Hc as withRunContext, Hd as DownMessageAuthorizationInput, Hi as assertTraceDerivedFindings, Hl as CoordinationAuthentication, Hn as asAuthoredProfile, Ho as TrajectoryReportOptions, Hr as OpenSandboxRunBeforeStartContext, Ht as createInPlaceCliExecutor, Hu as stopSentinel, I as workerInteractiveBindingFile, Ia as loopDispatch, Ic as InMemoryRunContext, Id as CoordinationEvent, Ii as pipeline, Il as FinalizerSettled, Im as gateOnDeliverable, In as chatTransportExecutor, Io as ScopeAnalyzeInput, Ir as McpToolDescriptor, It as InteractiveWorkerResult, Iu as CompletionEvidence, J as withUntrackedArtifacts, Ja as InProcessPromptCtx, Jc as CoordinationBinding, Jd as MakeWorkerAgent, Ji as McpEnvironmentOptions, Jl as CoordinationHttpOptions, Jn as CheckOutcome, Jo as WidenSpec, Jr as openSandboxRun, Jt as GraphNode, Ju as LeaderboardRow, K as UntrackedCopyStats, Ka as inlineSandboxClient, Kc as SupervisorSpanRecorder, Kd as EscalateQuestion, Ki as observationFromRegistry, Kl as serveCoordinationMcp, Kn as supervisorInstructions, Ko as WidenDecision, Kr as SandboxRunAbortError, Kt as GraphEdge, Ku as Leaderboard, L as workerInteractiveBindingsDir, La as superviseDispatch, Lc as InMemoryRunContextOptions, Ld as CoordinationStats, Li as selectValidWinner, Ll as SupervisorFinalizer, Lm as mapExecutorResult, Ln as chatWorkerSeam, Lo as ScopeWidenGate, Lr as StdioMcpConnection, Lt as workerFromInteractiveProvider, Lu as CompletionPolicy, M as WorkerInteractiveBinding, Ma as LoopOptionsForDispatch, Mc as isPreSpawnExecutorFailure, Md as AuthorizeDownMessage, Mh as contentAddress, Mi as fanout, Ml as UNPROVEN_CONTINUITY, Mm as defaultToolDetectors, Mn as ChatSessionStore, Mo as PipelineStage, Mr as strategyAuthorSystemPrompt, Ms as runIsolatedCheck, Mt as createWorktreeCliExecutor, Mu as workerSteerRequestsDir, N as WorkerInteractiveProviderSource, Na as SuperviseDispatchOptions, Nc as resolveWorkerSpawnRetry, Nd as AuthorizedDownMessage, Ni as flatWidenGate, Nl as composeReentryTask, Nm as watchTrace, Nn as ChatTransportExecutorOptions, No as RenderCorpusToInstructions, Nr as LocalMcpMaterialization, Nt as InteractiveWorkerEnvironment, Nu as workerSteersDir, O as AuthoredHarness, Oa as sample, Oc as ResolvedWorkerSpawnRetry, Oh as loadSpawnForest, Oi as runPersonified, Ol as plateau, Om as EventBus, On as CodeModeRunner, Oo as PanelJudge, Or as AuthoredStrategy, Os as IsolatedCheckBox, Ot as PatchDeliverableOptions, Ou as workerInboxFileFromEventDir, P as attachWorker, Pa as SuperviseOptionsForDispatch, Pc as retryPreSpawnRefusals, Pd as ContinuationInstruction, Pi as loopUntil, Pl as DeliveredOutput, Pm as DeliverableSpec, Pn as ChatTransportTool, Po as RenderCorpusToInstructionsOptions, Pr as MaterializeLocalMcpOptions, Pt as InteractiveWorkerKeyInput, Pu as writeWorkerSteer, Q as WorkspaceCommit, Qa as HarvestError, Qc as DriveHarnessOwnerContext, Qd as QuestionEscalationOutcome, Qi as BenchmarkConfig, Ql as FileCoordinationLog, Qn as CheckSourceCtx, Qo as LoopShape, Qr as SandboxLineage, Qt as TraversalContinuity, Qu as ScoreOf, R as EVIDENCE_MAX_CHARS, Ra as RunAgentRoundsOptions, Rc as RunContext, Ri as verify, Rl as bestDelivered, Rm as SqlRunLease, Rn as createChatSessionStore, Ro as SteerContext, Rr as StdioMcpServerSpec, Rt as WorkerInteractiveAdmission, Ru as CompletionVerdict, S as SuperviseSurfaceResult, Sa as adaptiveRefine, Sc as SuperviseRegistry, Sh as SpawnForest, Si as equalKOnCost, Sl as StopRule, Sn as defaultDelegateBudget, So as FanoutWinnerSelector, Sr as StrategyTournament, Ss as assertDeclaredCheck, St as createSqlRunContext, Su as supervisorWorkersDir, T as analystsFromRegistry, Ta as depthStrategy, Tc as supervise, Td as AnalystKind, Th as SpawnForestMissingTree, Ti as createShapeRegistry, Tl as anyOf, Tm as BusEvent, To as LoopUntilSpec, Tr as runStrategyEvolution, Ts as declaredCheckDigest, Tt as ProvisionedSupervisor, Tu as workerCancellationsDir, U as composeWorkerEvidence, Ua as runAgentRounds, Uc as SupervisorSpanAttributes, Ud as DownMessageDeliveryAttempt, Ui as buildSteerContext, Ul as CoordinationMcpHandle, Un as assessAuthoredProfile, Uo as Verify, Ur as OpenSandboxRunOptions, Ut as AgentGraph, Uu as AxisScoresOf, V as WorkerEvidenceInput, Va as defaultSelectWinner, Vc as createInMemoryRunContext, Vd as DefinedAnalystRecord, Vi as RegistryAnalyzeProjection, Vl as runFinalizer, Vm as openSqlRunStore, Vn as ProfileRichnessThresholds, Vo as TrajectoryReportFn, Vr as Deliverable, Vt as InPlaceCliExecutorOptions, Vu as sentinelCompletion, W as settledWorkerOut, Wa as LocalSandboxClientOptions, Wc as SupervisorSpanOptions, Wd as DownMessageDeliveryOutcome, Wi as createScopeAnalyst, Wl as CoordinationPublicAddress, Wn as defaultProfileRichnessThresholds, Wo as VerifySpec, Wr as OpenSandboxRunPromptOptions, Wt as EdgeDeliveryOutcome, Wu as GroupOf, X as Shell, Xa as inProcessSandboxClient, Xc as CoordinationVerbs, Xi as sanitizeMcpToolSchema, Xl as CoordinationLog, Xn as CheckRunner, Xo as DefinePersona, Xr as CheckpointCapableBox, Xt as RunGraphOptions, Xu as PairwiseVerdict, Y as GitWorkspaceOptions, Ya as InProcessSandboxClientOptions, Yc as CoordinationToolFace, Yd as ManagerReentryState, Yi as createMcpEnvironment, Yl as CoordinationDeliveryEvidence, Yn as CheckRunContext, Yo as WinnerStrategy, Yr as BranchCapableBox, Yt as GraphResult, Yu as PairwiseOptions, Z as Workspace, Za as HarvestCorpusOptions, Zc as DriveHarness, Zi as BenchmarkCell, Zl as CoordinationOwnerId, Zn as CheckSource, Zo as DefinePersonaInput, Zr as ForkCapableBox, Zu as ProfileKeyOf, _ as boxSurfaceReader, _a as StrategyCtx, _c as AuthorizedSpawn, _d as renderAnytimeTable, _h as SqlStatements, _i as resolveSandboxClient, _l as ProgressSample, _n as RollingDispatchOptions, _o as EqualKOnCostOptions, _r as visibleCheckScore, _s as LeaderboardSpec, _t as SUBTREE_RESULT_LIMIT, _u as runCancelRequestFile, a as SandboxInstance, aa as runBenchmark, ad as AuditIntentInput, ai as AcquireOptions, al as SupervisorNodeContext, an as analyzesFindingsReportPrompt, ao as ObserveInput, ar as canDisplace, as as ShapeBudget, at as analyzeTrace, au as WorkerSteerRequest, b as AnalystAuthoring, ba as StrategyShotResult, bc as DeliverableResolutionInput, bd as WaterfallSpan, bh as InMemoryResultBlobStore, bi as assertModelAllowed, bl as ProgressView, bn as rollingDispatch, bo as FanoutOptions, br as EvolutionStrategy, bs as DeclaredCheckPlacement, bt as settledToIteration, bu as supervisorRunDir, c as VerifierEnvironmentOptions, ca as AgenticSurface, cd as auditIntent, cf as SpawnPreflightContext, ci as recoverRetainedRun, cl as SupervisorToolDescriptor, cn as dumbContinuationFailPrompt, co as observe, cr as defaultExtractCandidate, cs as DefinedLeaderboard, ct as captureWorkerTraceEvidence, cu as cancelWorker, d as HarvestSurfaceDiffsOptions, da as ArtifactHandle, dd as AnytimeStrategySummary, df as SuperviseProfileEntry, di as ClaimRetainedInteractiveControlOptions, dl as resolveSupervisorProfile, dn as kernelPromptRegistry, do as CombinatorShape, dr as modelAuthoredChecks, ds as LeaderboardBenchmarkAdapter, dt as DEFAULT_MAX_DEPTH, du as readRunCancelRequest, ea as BenchmarkReport, ed as pairwiseSignificance, ei as SessionCapableBox, el as ResolveDriveHarness, en as runGraph, eo as HarvestReport, er as StructuralRolloutConfig, es as Persona, et as gitWorkspace, eu as RunCancelRequest, f as SurfaceDiff, fa as CorpusReadbackOptions, fd as AnytimeTaskCurve, ff as WorkerResumeContext, fi as claimRetainedInteractiveControl, fl as supervisorAgent, fn as naiveContinuationPrompt, fo as Corpus, fr as officialChecksFromMeta, fs as LeaderboardFlagSpec, ft as createRootHandle, fu as readRunCancellation, g as WatchedSurface, ga as StrategyArtifacts, gd as plateauLength, gf as canonicalFindingEvent, gh as SqlSpawnJournal, gi as ResolveSandboxClientOptions, gl as PlateauOptions, gn as DispatchUnit, go as EqualKOnCost, gr as structuralRollout, gs as LeaderboardScore, gt as createFencedSqlRunContext, gu as readWorkerSteerRequests, h as SurfaceReader, ha as Strategy, hd as bestSoFar, hh as SqlResultBlobStore, hi as startRetainedInteractiveRun, hl as NoProgressForOptions, hn as DispatchStopReason, ho as EqualKArm, hr as selectBestIndex, hs as LeaderboardScenario, ht as SqlRunContextOptions, hu as readWorkerSteerAcknowledgement, i as SandboxEvent, ia as printBenchmarkReport, id as renderPairwiseMarkdown, ii as probeSandboxCapabilities, in as RegisteredPrompt, io as ObservationError, ir as VisibleCheck, is as RunPersonifiedOptions, it as TrajectoryAnalysis, iu as WorkerSteerAcknowledgement, j as AttachWorkerOptions, ja as LoopDispatchOptions, jc as WorkerSpawnRetryPolicy, jd as AuthoredAnalystLimits, jh as replaySpawnTree, ji as renderCorpusToInstructions, jl as ReentryTaskInput, jm as WatchTraceOptions, jn as ChatCompletionsTransport, jo as Pipeline, jr as strategyAuthorContract, js as IsolatedCheckResult, jt as WorktreePatchArtifact, ju as workerSteerRequestFile, k as WorktreeFanoutOptions, ka as sampleThenRefine, kc as WorkerSpawnRetryAttempt, kd as AnalyzeOnSettleRoute, kh as materializeTreeView, ki as FileCorpus, kl as sampleFromSettled, km as PublishOptions, kn as codeModeSupervisorTools, ko as PanelSpec, kr as assertStrategyContract, ks as IsolatedCheckBoxEvidence, kt as patchDelivered, ku as workerSteerAcknowledgementFile, l as createVerifierEnvironment, la as AgenticTask, ld as defaultAuditorInstruction, lf as SpawnRefusal, li as startRetainedRun, ll as SupervisorToolInvocationContext, ln as dumbContinuationPassPrompt, lo as renderReport, lr as defaultStructuralRolloutPolicy, ls as LeaderboardBenchScore, lt as parseWorkerToolTraceArtifact, lu as legacySupervisorRunDir, m as SurfaceReadOutcome, ma as ShotSpec, md as areaUnderCurve, mf as WorkerWatchOptions, mi as recoverRetainedInteractiveRun, ml as AllWorkersStalledOptions, mn as DispatchReport, mo as CorpusRecord, mr as sandboxCheckRunner, ms as LeaderboardRunContext, mt as FencedSqlRunContext, mu as readWorkerCancellation, n as AnalystFinding, na as BenchmarkTaskRow, nd as renderLeaderboardMarkdown, ni as CriuCapableClient, nl as ResolvedSupervisorProfile, nn as PromptHandle, no as Observation, nr as StructuralRolloutPolicy, ns as PersonaExecutors, nt as localShell, nu as WorkerCancelRequest, o as computeFindingId, oa as AgenticOptions, od as AuditIntentOptions, oi as acquireSandbox, ol as SupervisorNodeContextSeed, on as createPromptRegistry, oo as ObserveOptions, or as compareCheckOutcomes, os as ShapeContext, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as WriteWorkerSteerOptions, p as SurfaceReadBox, pa as RunAgenticOptions, pd as anytimeReport, pf as WorkerSpawnContext, pi as reconnectRetainedInteractiveRun, pn as promptHandle, po as CorpusFilter, pr as resolveEntrySymbol, ps as LeaderboardIterationInfo, pt as createSupervisor, pu as readWorkerCancelRequests, q as copyUntrackedIntoClone, qa as InProcessOnPrompt, qc as createSupervisorSpanRecorder, qd as EventAcknowledgement, qi as McpEndpoint, ql as CoordinationHttpAudit, qn as CheckExecChannel, qo as WidenLineage, qr as TurnResult, qt as GraphEdgeCapError, qu as LeaderboardOptions, r as CreateSandboxOptions, ra as Environment, rd as renderLeaderboardSvg, ri as SandboxCapabilities, rl as SupervisorAgentDeps, rn as PromptRegistry, ro as ObservationAnalysis, rr as StructuralRolloutResult, rs as RunPersonified, rt as runInWorkspace, ru as WorkerCancellation, s as makeFinding, sa as AgenticRunResult, sd as IntentAudit, sf as SpawnPreflight, si as reconnectRetainedRun, sl as SupervisorProfile, sn as delegatesWorkerBriefPrompt, so as defaultAnalystInstruction, sr as composeCheckSources, ss as ShapeRegistry, st as WorkerToolTraceArtifact, su as cancelRun, t as AgentProfile, ta as BenchmarkStrategySummary, td as renderLeaderboardHtml, ti as createSandboxLineage, tl as ResolveSupervisorTools, to as harvestCorpus, tr as StructuralRolloutMessage, ts as PersonaContext, tt as jjWorkspace, tu as RunCancellation, u as BoxSurfaceReaderOptions, ua as AgenticTool, ud as AnytimeReport, uf as SpawnRefusalCause, ui as startRetainedRunInEnvironment, ul as assertCoordinationBinding, un as formatPromptHandle, uo as AssertTraceDerivedFindings, ur as filterAuthoredAsserts, us as LeaderboardBenchTask, ut as workerTraceAnalysisStore, uu as legacySupervisorRunsRoot, v as fsSurfaceReader, va as StrategyMessage, vc as AuthorizedSpawnContext, vd as WaterfallCollector, vh as FileResultBlobStore, vi as profileChatClient, vl as ProgressTracker, vn as freeSlots, vo as EqualKVerdict, vr as EvolutionAuthor, vs as defineLeaderboard, vt as ScopeArgs, vu as runCancellationFile, w as SurfaceWorkerOut, wa as defineStrategy, wd as AnalystFindingEvent, wh as SpawnForestInDoubtNode, wi as builtinShapes, wl as allWorkersStalled, wo as LoopUntil, wr as TournamentRow, ws as declaredCheckDeliverable, wt as ProvisionSupervisorRequest, wu as workerCancellationFile, x as SuperviseSurfaceOptions, xa as SurfaceScore, xc as SuperviseOptions, xd as createWaterfallCollector, xh as InMemorySpawnJournal, xi as assertProfileModelsAllowed, xl as StopDecision, xn as DelegateOptions, xo as FanoutSynthesis, xr as StrategyEvolutionConfig, xs as DeclaredCheckStateCapture, xt as SqlRunContext, xu as supervisorRunsRoot, y as harvestSurfaceDiffs, ya as StrategyResult, yc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, yd as WaterfallReport, yf as normalizeAnalyzeOnSettle, yh as FileSpawnJournal, yi as profileOptimizerModelCall, yl as ProgressTrackerOptions, yn as queueOf, yo as Fanout, yr as EvolutionReport, ys as DeclaredCheck, yt as createScope, yu as safeWorkerFile, z as NOTE_MAX_CHARS, za as TERMINAL_DECISIONS, zc as RunContextLease, zi as widen, zl as collectDelivered, zm as SqlRunOwnershipError, zn as AuthoredProfile, zo as TrajectoryNode, zr as connectStdioMcp, zt as readWorkerInteractiveAdmissions, zu as completionAuthorizes } from "./index-CkLB8mJF.js";
3
3
  import { $ as decodeHarnessUsage, $n as PeerMailLimits, $t as ResourceRequest, A as createInbox, At as AgentEnvironmentProvider, B as secretEnvOfMcpServer, Bn as ToolSpec, Bt as AgentTurnResult, C as SteerableSandboxArgs, Ct as mapSandboxToolEvent, D as Inbox, Dt as AgentEnvironment, E as AuthorityInboxMessage, Et as sumSandboxUsage, F as ResolvedMcpServerLaunch, Ft as AgentEnvironmentSummary, G as CodexRolloutStoreRef, Gn as ToolLoopMessageRecord, Gt as ExecRequest, H as CodexRolloutIdentity, Hn as ToolLoopChat, Ht as CheckpointRequest, I as envKeyProvider, It as AgentProfileRef, J as addHarnessUsage, Jn as DEFAULT_PEER_MAIL_LIMITS, Jt as PlacementInfo, K as CodexRolloutTurn, Kn as ToolLoopToolCall, Kt as ExecResult, L as mcpSecretEnvMetadataKey, Lt as AgentSession, M as BridgeModelCredential, Mt as AgentEnvironmentProviderRegistry, N as BridgeSeam, Nt as AgentEnvironmentQuery, O as InboxMessage, Ot as AgentEnvironmentCapabilities, P as KeyProvider, Pt as AgentEnvironmentStatus, Q as HarnessUsage, Qn as PeerMailKind, Qt as ProviderPromptOptions, R as resolveMcpServerLaunch, Rt as AgentSessionRef, S as SandboxSteeringOptions, St as mapSandboxEvent, T as createSteerableSandboxSession, Tt as sandboxProgressEvents, U as CodexRolloutSession, Un as ToolLoopCompaction, Ut as CreateAgentEnvironmentInput, V as CodexForkBoundary, Vn as ToolLoopCallContext, Vt as CheckpointRef, W as CodexRolloutStoreReader, Wn as ToolLoopCompactionOptions, Wt as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, X as harnessUsageIsEmpty, Xn as PeerMailEnvelope, Xt as ProviderExecutorOptions, Y as createCodexRolloutStoreReader, Yn as PEER_MAIL_WIRE_KEY, Yt as ProviderAsSandboxClientOptions, Z as readCodexRolloutSession, Zn as PeerMailEvent, Zt as ProviderLeafOut, _ as cliInPlaceExecutor, _n as WorktreeProfileMaterializationReceipt, _t as SandboxUsageLedger, a as StreamAgentTurnOptions, an as resolveAgentEnvironmentProvider, ar as PeerMailboxOptions, at as SharedBoxPlacement, b as createExecutorRegistry, bt as createSandboxUsageLedger, c as CliInPlaceSeam, cn as SandboxControlClient, cr as isPeerMailEnvelope, ct as SharedBoxStats, d as CliWorktreeSeam, dn as ProviderWorkspaceRetentionPort, dt as sharedBoxRefusal, en as SandboxClientProviderOptions, er as PeerMailOutcome, et as DEFAULT_SHARED_BOX_RESOURCES, f as ExecutorConfig, fn as ProviderPlacement, ft as sharedWorkerClientName, g as SandboxSeam, gn as WorktreeHarnessResult, gt as SandboxToolPartState, h as RouterToolsSeam, hn as WorktreeCommandResult, ht as SandboxServedBackend, i as CollectedAgentTurn, in as providerAsSandboxClient, ir as PeerMailbox, it as SharedBoxHandle, j as BridgeHarnessStore, jt as AgentEnvironmentProviderRef, k as PeerInboxMessage, kt as AgentEnvironmentEvent, l as CliSeam, ln as createTangleSandboxExactProcessProvider, lr as peerMailTools, lt as SharedWorkerIdentity, m as RouterSeam, mn as WorktreeCheckRunner, mt as SandboxOutputMarker, n as AgentTurnInput, nn as createAgentEnvironmentProviderRegistry, nr as PeerMailRefusal, nt as ROUTER_CLIENT_HEADER, o as collectAgentTurn, on as sandboxClientAsProvider, or as claimsAuthority, ot as SharedBoxPlacementOptions, p as ProviderSeam, pn as InPlaceHarnessResult, pt as SandboxLeafOut, q as CodexStoreDelta, qn as AUTHORITY_MARKERS, qt as ForkRequest, r as AgentTurnUsage, rn as providerAsExecutor, rr as PeerMailSendInput, rt as SharedBoxCloseReceipt, s as streamAgentTurn, sn as CreateTangleSandboxExactProcessProviderOptions, sr as createPeerMailbox, st as SharedBoxProcess, t as AgentTurnBackend, tn as WorkspaceRequest, tr as PeerMailReadout, tt as DEFAULT_SHARED_BOX_WORKERS, u as CliWorktreeBridgeSeam, un as ProviderWorkspaceRetentionContext, ur as peerMailVerbNames, ut as sharedBoxPlacement, v as cliWorktreeExecutor, vt as assertSandboxServedModel, w as SteerableSandboxSession, wt as sandboxEventServedBackend, x as DEFAULT_SANDBOX_STEERING_MAX_TURNS, xt as extractLlmCallEvent, y as createExecutor, yt as createSandboxToolPartState, z as resolveSecretEnv, zn as RouterTransportConfig, zt as AgentSessionStatus } from "./stream-agent-turn-Bk79CnTw.js";
4
4
  export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type AdmittedFinding, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalyzeOnSettleRoute, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuditIntentInput, type AuditIntentOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, type AuthoredHarness, type AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, type AuthorizeDownMessage, type AuthorizedDownMessage, type AuthorizedSpawn, type AuthorizedSpawnContext, type AxisScoresOf, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BoxSurfaceReaderOptions, type BranchCapableBox, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, BudgetReconcileFault, type BudgetViolation, type BusEvent, type BusRecord, type BusStats, CONTINUATIONS_DIR, CONTINUATION_FACTS, type ChatCompletionsTransport, type ChatSessionStore, type ChatTransportExecutorOptions, type ChatTransportTool, type ChatWorkerSeamOptions, type CheckExecChannel, type CheckOutcome, type CheckRead, type CheckRunContext, type CheckRunner, type CheckSource, type CheckSourceCtx, CheckUnavailableError, type CheckVerdict, type CheckpointCapableBox, type CheckpointRef, type CheckpointRequest, type ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeOptions, type CodeModeRunner, type CodexForkBoundary, type CodexRolloutIdentity, type CodexRolloutSession, type CodexRolloutStoreReader, type CodexRolloutStoreRef, type CodexRolloutTurn, type CodexStoreDelta, type CollectedAgentTurn, type CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, type ContinuationAppend, type ContinuationContext, type ContinuationEntry, type ContinuationInstruction, type ContinuationNoteInput, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type ContinuityMode, type CoordinationAuthentication, type CoordinationBinding, type CoordinationDeliveryEvidence, type CoordinationEvent, type CoordinationHttpAudit, type CoordinationHttpOptions, type CoordinationLog, type CoordinationMcpHandle, type CoordinationOwnerId, type CoordinationPublicAddress, type CoordinationStats, type CoordinationToolFace, type CoordinationTransportOptions, type CoordinationVerbs, type CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, type CreateScopeAnalystOptions, type CreateTangleSandboxExactProcessProviderOptions, type CriuCapableClient, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_AWAIT_EVENT_TIMEOUT_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, type DeclaredCheck, type DeclaredCheckPlacement, type DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, type DelegateOptions, type Deliverable, type DeliverableResolutionInput, type DeliverableSpec, type DeliveredOutput, type DispatchReport, type DispatchStopReason, type DispatchUnit, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type DriveHarnessOwnerContext, type Driver, type DriverAttemptRecord, type DriverAttemptStop, DriverAttemptsExhaustedError, type DriverBudgetReadout, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverLoopRecord, type DriverProgressMark, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EscalateQuestion, type EventAcknowledgement, type EventBus, type EvolutionAuthor, type EvolutionReport, type 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, type ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, type FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FlatWidenGate, type FleetYield, type ForkCapableBox, type ForkRequest, type GitWorkspaceOptions, type GraphEdge, GraphEdgeCapError, type GraphNode, type GraphResult, type GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, type HarvestCorpusOptions, HarvestError, type HarvestFailure, type HarvestReport, type HarvestSurfaceDiffsOptions, type HeldEnvironment, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InPlaceCliExecutorOptions, type InPlaceHarnessResult, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type IntentAudit, type InteractiveWorkerEnvironment, type InteractiveWorkerKeyInput, type InteractiveWorkerOptions, type InteractiveWorkerResult, type Interval, type IsolatedCheckBox, type IsolatedCheckBoxEvidence, type IsolatedCheckOptions, type IsolatedCheckResult, type Iteration, type KeyProvider, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntil, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, type McpEndpoint, type McpEnvironmentOptions, McpSpawnFault, type McpToolDescriptor, 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, type Observation, type ObservationAnalysis, ObservationError, type ObserveInput, type ObserveOptions, type ObserveSupervisorNodeEvent, type OpenSandboxRunBeforeStartContext, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, type PairwiseOptions, type PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, type PeerMailEnvelope, type PeerMailEvent, type PeerMailKind, type PeerMailLimits, type PeerMailOutcome, type PeerMailReadout, type PeerMailRefusal, type PeerMailSendInput, type PeerMailbox, type PeerMailboxOptions, type PendingWait, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, type ProfileKeyOf, type ProfileMaterializationReceipt, type ProfileRichness, type ProfileRichnessThresholds, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, type PromptHandle, type PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, type ProvisionSupervisorConnection, type ProvisionSupervisorRequest, type ProvisionedSupervisor, type PublishOptions, type QuestionEscalationOutcome, type QuestionEscalationRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReentryContinuity, type ReentryTaskInput, type RegisteredPrompt, type RegistryAnalyzeProjection, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, type RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, ReservationWaitRefused, type ReserveOptions, type ResolveDriveHarness, type ResolveSandboxClientOptions, type ResolveSupervisorTools, type ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, type ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedPendingCause, 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, type RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSignal, type RootStreamReceipt, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunContext, type RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, SUBTREE_RESULT_LIMIT, type SandboxCapabilities, type SandboxClient, type SandboxClientProviderOptions, type SandboxControlClient, type SandboxEvent, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, type SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, type SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, type ScoreOf, type SelectionReceipt, type SessionCapableBox, type SessionMessageLike, type SessionTraceBox, type Settled, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxHandle, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxProcess, type SharedBoxStats, type SharedWorkerIdentity, type Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, SqlResultBlobStore, type SqlRunContext, type SqlRunContextOptions, type SqlRunLease, SqlRunOwnershipError, type SqlRunStoreOptions, SqlSpawnJournal, type SqlStatements, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, type StdioMcpConnection, type StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, type SteerableSandboxArgs, type SteerableSandboxSession, type StopDecision, type StopRule, type Strategy, type StrategyArtifacts, type StrategyCtx, type StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, type StrategyTournament, type StreamAgentTurnOptions, type StructuralRolloutConfig, type StructuralRolloutMessage, type StructuralRolloutPolicy, type StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SuperviseSurfaceOptions, type SuperviseSurfaceResult, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, type SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, type SupervisorSpanAttributes, type SupervisorSpanOptions, type SupervisorSpanOutcome, type SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, type SurfaceDiff, type SurfaceReadBox, type SurfaceReadOutcome, type SurfaceReader, type SurfaceScore, type SurfaceWorkerConfig, type SurfaceWorkerOut, TERMINAL_DECISIONS, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolSpec, type ToolStepInput, type TournamentCell, type TournamentRow, type TraceSource, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, type TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, type UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, type VerifierEnvironmentOptions, type Verify, type VerifySpec, type VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, type WaitOpts, type WaitOutcome, type WaitProbe, type WaitProbeRegistry, type WaitRejection, type WaitSpec, type WatchTraceOptions, type WatchedSurface, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEvidenceInput, type WorkerInteractiveAdmission, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSlots, type WorkerSpawnContext, type WorkerSpawnRetryAttempt, type WorkerSpawnRetryHooks, type WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceSeamCarrier, type WorkerTraceUnavailableReason, type WorkerWatchOptions, type Workspace, type WorkspaceCheckpointMarker, type WorkspaceCommit, type WorkspaceRequest, type WorkspaceRun, type WorktreeCheckRunner, type WorktreeCliExecutorOptions, type WorktreeCommandResult, type WorktreeFanoutOptions, type WorktreeHarnessResult, type WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, auditIntent, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeContinuationNote, composeReentryTask, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSqlRunContext, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, isWaitOutcome, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, pendingWaits, persistHarnessTranscript, pickBestDelivered, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveAdmissions, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, superviseSurface, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, timerAt, trajectoryReport, unsafeInProcessRunner, upstreamUnavailableSignal, validateWaitSpec, verdictFromJudgeScore, verify, visibleCheckScore, waitUntil, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerInteractiveAdmissionFile, workerInteractiveBindingFile, workerInteractiveBindingsDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
package/dist/kernel.js CHANGED
@@ -1,11 +1,11 @@
1
- import { $n as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, At as cliWorktreeExecutor, Br as createOpenInferenceFileExporter, Bt as FileSpawnJournal, Cn as claimsAuthority, Ct as startRetainedInteractiveRun, D as passedItems, Dn as peerMailVerbNames, Dr as persistHarnessTranscript, E as failedItems, En as peerMailTools, Er as harnessTranscriptArtifact, Et as rollingDispatch, Fn as harnessUsageIsEmpty, Ft as DEFAULT_SANDBOX_STEERING_MAX_TURNS, G as createWorkerSlots, Gn as probeSandboxCapabilities, Hn as isTerminalDecision, Ht as InMemorySpawnJournal, I as createScope, In as readCodexRolloutSession, It as createSteerableSandboxSession, J as isWaitOutcome, Jt as materializeTreeView, Kn as acquireSandbox, Ma as decodeHarnessUsage, Mt as createExecutorRegistry, N as SUBTREE_RESULT_LIMIT, Nn as addHarnessUsage, O as verdictFromJudgeScore, Pn as createCodexRolloutStoreReader, Pt as createWorktreeCliExecutor, Q as waitUntil, Qt as captureWorkerTraceEvidence, Rt as createInPlaceCliExecutor, S as composeContinuationNote, Sn as PEER_MAIL_WIRE_KEY, St as recoverRetainedInteractiveRun, T as expandQuestions, Tn as isPeerMailEnvelope, Tr as captureHarnessTranscript, Tt as queueOf, Un as runAgentRounds, Vn as defaultSelectWinner, Vr as createOtelExporter, Vt as InMemoryResultBlobStore, W as settledToIteration, Wn as createSandboxLineage, X as timerAt, Xt as replaySpawnTree, Y as pollFor, Yt as pendingWaits, Z as validateWaitSpec, Zt as WORKER_TOOL_TRACE_SCHEMA_VERSION, _ as CheckUnavailableError, _n as createActivityLog, _r as startRetainedRunInEnvironment, _t as attachWorker, a as collectDelivered, aa as createSandboxUsageLedger, an as createBudgetPool, ar as sandboxClientAsProvider, bn as AUTHORITY_MARKERS, bt as workerInteractiveBindingsDir, ca as mapSandboxEvent, cn as spendFromUsageEvents, cr as createPushTraceSource, d as classifyDriverFailure, da as sandboxEventServedBackend, dn as readWorkerTraceContext, en as parseWorkerToolTraceArtifact, fa as sandboxProgressEvents, fn as workerTraceEnv, g as CONTINUATION_FACTS, gn as DEFAULT_STALL_AFTER_MS, gr as startRetainedRun, gt as workerInteractiveAdmissionFile, h as CONTINUATIONS_DIR, hr as recoverRetainedRun, ht as readWorkerInteractiveAdmissions, i as bestDelivered, ia as createSandboxToolPartState, ir as resolveAgentEnvironmentProvider, jt as createExecutor, kr as contentAddress, kt as cliInPlaceExecutor, l as DriverAttemptsExhaustedError, la as mapSandboxToolEvent, lr as decodeToolPart, m as upstreamUnavailableSignal, mn as workerTraceSeamKey, mr as reconnectRetainedRun, n as createRootHandle, na as assertSandboxServedModel, nn as BudgetReconcileFault, nr as providerAsExecutor, o as pickBestDelivered, oa as extractLlmCallEvent, p as summarizeDriverAttempts, pa as sumSandboxUsage, pn as workerTraceHeaders, q as createWaitProbes, qt as loadSpawnForest, r as createSupervisor, rn as ReservationWaitRefused, rr as providerAsSandboxClient, s as runFinalizer, t as DEFAULT_MAX_DEPTH, tn as workerTraceAnalysisStore, tr as createAgentEnvironmentProviderRegistry, ur as sandboxSessionTraceSource, v as admitContinuationPolicy, vn as readWorkerProgress, vt as readWorkerInteractiveBinding, w as distillFindings, wn as createPeerMailbox, wt as freeSlots, x as checkVerdictOf, xn as DEFAULT_PEER_MAIL_LIMITS, xt as reconnectRetainedInteractiveRun, y as admitFinding, yn as createInbox, yt as workerInteractiveBindingFile, zn as TERMINAL_DECISIONS, zt as FileResultBlobStore } from "./supervisor-UXgaPisu.js";
2
- import { $ as sampleThenRefine, B as officialChecksFromMeta, F as composeCheckSources, G as visibleCheckScore, H as sandboxCheckRunner, I as defaultExtractCandidate, J as defineStrategy, K as adaptiveRefine, L as defaultStructuralRolloutPolicy, N as canDisplace, P as compareCheckOutcomes, Q as sample, R as filterAuthoredAsserts, U as selectBestIndex, V as resolveEntrySymbol, W as structuralRollout, X as refine, Y as depthStrategy, Z as runAgentic, _ as sharedBoxRefusal, at as profileOptimizerModelCall, et as ObservationError, g as sharedBoxPlacement, h as ROUTER_CLIENT_HEADER, it as profileChatClient, lt as collectAgentTurn, m as DEFAULT_SHARED_BOX_WORKERS, nt as observe, p as DEFAULT_SHARED_BOX_RESOURCES, q as breadthStrategy, rt as renderReport, tt as defaultAnalystInstruction, ut as streamAgentTurn, v as sharedWorkerClientName, z as modelAuthoredChecks } from "./search-method-CbUyhdz5.js";
1
+ import { $n as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, At as cliWorktreeExecutor, Br as createOpenInferenceFileExporter, Bt as FileSpawnJournal, Cn as claimsAuthority, Ct as startRetainedInteractiveRun, D as passedItems, Dn as peerMailVerbNames, Dr as persistHarnessTranscript, E as failedItems, En as peerMailTools, Er as harnessTranscriptArtifact, Et as rollingDispatch, Fn as harnessUsageIsEmpty, Ft as DEFAULT_SANDBOX_STEERING_MAX_TURNS, G as createWorkerSlots, Gn as probeSandboxCapabilities, Hn as isTerminalDecision, Ht as InMemorySpawnJournal, I as createScope, In as readCodexRolloutSession, It as createSteerableSandboxSession, J as isWaitOutcome, Jt as materializeTreeView, Kn as acquireSandbox, Ma as decodeHarnessUsage, Mt as createExecutorRegistry, N as SUBTREE_RESULT_LIMIT, Nn as addHarnessUsage, O as verdictFromJudgeScore, Pn as createCodexRolloutStoreReader, Pt as createWorktreeCliExecutor, Q as waitUntil, Qt as captureWorkerTraceEvidence, Rt as createInPlaceCliExecutor, S as composeContinuationNote, Sn as PEER_MAIL_WIRE_KEY, St as recoverRetainedInteractiveRun, T as expandQuestions, Tn as isPeerMailEnvelope, Tr as captureHarnessTranscript, Tt as queueOf, Un as runAgentRounds, Vn as defaultSelectWinner, Vr as createOtelExporter, Vt as InMemoryResultBlobStore, W as settledToIteration, Wn as createSandboxLineage, X as timerAt, Xt as replaySpawnTree, Y as pollFor, Yt as pendingWaits, Z as validateWaitSpec, Zt as WORKER_TOOL_TRACE_SCHEMA_VERSION, _ as CheckUnavailableError, _n as createActivityLog, _r as startRetainedRunInEnvironment, _t as attachWorker, a as collectDelivered, aa as createSandboxUsageLedger, an as createBudgetPool, ar as sandboxClientAsProvider, bn as AUTHORITY_MARKERS, bt as workerInteractiveBindingsDir, ca as mapSandboxEvent, cn as spendFromUsageEvents, cr as createPushTraceSource, d as classifyDriverFailure, da as sandboxEventServedBackend, dn as readWorkerTraceContext, en as parseWorkerToolTraceArtifact, fa as sandboxProgressEvents, fn as workerTraceEnv, g as CONTINUATION_FACTS, gn as DEFAULT_STALL_AFTER_MS, gr as startRetainedRun, gt as workerInteractiveAdmissionFile, h as CONTINUATIONS_DIR, hr as recoverRetainedRun, ht as readWorkerInteractiveAdmissions, i as bestDelivered, ia as createSandboxToolPartState, ir as resolveAgentEnvironmentProvider, jt as createExecutor, kr as contentAddress, kt as cliInPlaceExecutor, l as DriverAttemptsExhaustedError, la as mapSandboxToolEvent, lr as decodeToolPart, m as upstreamUnavailableSignal, mn as workerTraceSeamKey, mr as reconnectRetainedRun, n as createRootHandle, na as assertSandboxServedModel, nn as BudgetReconcileFault, nr as providerAsExecutor, o as pickBestDelivered, oa as extractLlmCallEvent, p as summarizeDriverAttempts, pa as sumSandboxUsage, pn as workerTraceHeaders, q as createWaitProbes, qt as loadSpawnForest, r as createSupervisor, rn as ReservationWaitRefused, rr as providerAsSandboxClient, s as runFinalizer, t as DEFAULT_MAX_DEPTH, tn as workerTraceAnalysisStore, tr as createAgentEnvironmentProviderRegistry, ur as sandboxSessionTraceSource, v as admitContinuationPolicy, vn as readWorkerProgress, vt as readWorkerInteractiveBinding, w as distillFindings, wn as createPeerMailbox, wt as freeSlots, x as checkVerdictOf, xn as DEFAULT_PEER_MAIL_LIMITS, xt as reconnectRetainedInteractiveRun, y as admitFinding, yn as createInbox, yt as workerInteractiveBindingFile, zn as TERMINAL_DECISIONS, zt as FileResultBlobStore } from "./supervisor-YAc4U8HQ.js";
2
+ import { $ as sampleThenRefine, B as officialChecksFromMeta, F as composeCheckSources, G as visibleCheckScore, H as sandboxCheckRunner, I as defaultExtractCandidate, J as defineStrategy, K as adaptiveRefine, L as defaultStructuralRolloutPolicy, N as canDisplace, P as compareCheckOutcomes, Q as sample, R as filterAuthoredAsserts, U as selectBestIndex, V as resolveEntrySymbol, W as structuralRollout, X as refine, Y as depthStrategy, Z as runAgentic, _ as sharedBoxRefusal, at as profileOptimizerModelCall, et as ObservationError, g as sharedBoxPlacement, h as ROUTER_CLIENT_HEADER, it as profileChatClient, lt as collectAgentTurn, m as DEFAULT_SHARED_BOX_WORKERS, nt as observe, p as DEFAULT_SHARED_BOX_RESOURCES, q as breadthStrategy, rt as renderReport, tt as defaultAnalystInstruction, ut as streamAgentTurn, v as sharedWorkerClientName, z as modelAuthoredChecks } from "./search-method-q43Af9yu.js";
3
3
  import { n as assertModelAllowed, r as assertProfileModelsAllowed } from "./model-policy-BbSCSak0.js";
4
- import { $ as renderCorpusToInstructions, $t as resolveMcpServerLaunch, A as unsafeInProcessRunner, At as completionAuthorizes, B as SandboxRunAbortError, Bt as auditIntent, C as withUntrackedArtifacts, Ct as assertDeclaredCheck, D as patchDelivered, Dt as declaredCheckJudge, E as createSqlRunContext, Et as declaredCheckDigest, F as strategyTournament, Ft as pairwiseSignificance, G as trajectoryReport, Gt as SqlSpawnJournal, H as printBenchmarkReport, Ht as SqlRunOwnershipError, I as assertStrategyContract, It as renderLeaderboardHtml, J as builtinShapes, Jt as materializeLocalMcp, K as definePersona, Kt as McpSpawnFault, L as authorStrategy, Lt as renderLeaderboardMarkdown, M as chatWorkerSeam, Mt as sentinelCompletion, N as createChatSessionStore, Nt as stopSentinel, Ot as readDeclaredCheck, P as runStrategyEvolution, Pt as leaderboard, Q as InMemoryCorpus, Qt as mcpSecretEnvMetadataKey, R as strategyAuthorContract, Rt as renderLeaderboardSvg, S as copyUntrackedIntoClone, St as superviseDispatch, T as createFencedSqlRunContext, Tt as declaredCheckDeliverable, U as runBenchmark, Ut as openSqlRunStore, V as openSandboxRun, Vt as defaultAuditorInstruction, W as equalKOnCost, Wt as SqlResultBlobStore, X as registerShape, Xt as sanitizeMcpToolSchema, Y as createShapeRegistry, Yt as createMcpEnvironment, Z as FileCorpus, Zt as envKeyProvider, _ as NOTE_MAX_CHARS, _t as resolveSandboxClient, a as localShell, at as selectValidWinner, b as composeWorkerEvidence, bt as loopCampaignDispatch, c as createVerifierEnvironment, ct as assertTraceDerivedFindings, d as harvestSurfaceDiffs, dt as registryScopeAnalyst, en as resolveSecretEnv, et as fanout, f as analystsFromRegistry, ft as observationFromRegistry, g as EVIDENCE_MAX_CHARS, gt as defineLeaderboard, h as worktreeFanout, ht as harvestCorpus, i as jjWorkspace, it as pipeline, j as chatTransportExecutor, jt as deterministicCompletion, k as codeModeSupervisorTools, kt as runIsolatedCheck, l as boxSurfaceReader, lt as buildSteerContext, m as superviseSurface, mt as HarvestError, n as makeFinding, nn as createTangleSandboxExactProcessProvider, nt as loopUntil, o as runInWorkspace, ot as verify, p as failuresAnalyst, pt as inProcessSandboxClient, q as runPersonified, qt as connectStdioMcp, r as gitWorkspace, rt as panel, s as createWaterfallCollector, st as widen, t as computeFindingId, tn as secretEnvOfMcpServer, tt as flatWidenGate, u as fsSurfaceReader, ut as createScopeAnalyst, v as VERIFY_TAIL_CHARS, vt as localSandboxClient, w as analyzeTrace, wt as checkProgramDigest, x as settledWorkerOut, xt as loopDispatch, y as closingWorkerNote, yt as inlineSandboxClient, z as strategyAuthorSystemPrompt, zt as renderPairwiseMarkdown } from "./runtime-Bid-kBes.js";
5
- import { E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as createEventBus, L as defaultToolDetectors, N as normalizeAnalyzeOnSettle, O as canonicalFindingEvent, R as watchTrace, _ as renderAnytimeTable, a as allOf, b as withRunContext, c as createProgressTracker, f as sampleFromSettled, g as plateauLength, h as bestSoFar, i as finalizeBestDelivered, l as noProgressFor, m as areaUnderCurve, o as allWorkersStalled, p as anytimeReport, s as anyOf, u as plateau, v as createFileRunContext, x as FileCoordinationLog, y as createInMemoryRunContext } from "./coordination-driver-B-HOpGN4.js";
6
- import { C as gateOnDeliverable, S as serveCoordinationMcp, b as composeReentryTask, c as resolveWorkerSpawnRetry, d as assertCoordinationBinding, l as retryPreSpawnRefusals, m as supervisorAgent, o as workerFromBackend, p as resolveSupervisorProfile, r as supervise, s as isPreSpawnExecutorFailure, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, u as withWorkerSpawnRetry, w as mapExecutorResult, x as createSupervisorSpanRecorder, y as UNPROVEN_CONTINUITY } from "./supervise-zt91I62x.js";
4
+ import { $ as renderCorpusToInstructions, $t as resolveMcpServerLaunch, A as unsafeInProcessRunner, At as completionAuthorizes, B as SandboxRunAbortError, Bt as auditIntent, C as withUntrackedArtifacts, Ct as assertDeclaredCheck, D as patchDelivered, Dt as declaredCheckJudge, E as createSqlRunContext, Et as declaredCheckDigest, F as strategyTournament, Ft as pairwiseSignificance, G as trajectoryReport, Gt as SqlSpawnJournal, H as printBenchmarkReport, Ht as SqlRunOwnershipError, I as assertStrategyContract, It as renderLeaderboardHtml, J as builtinShapes, Jt as materializeLocalMcp, K as definePersona, Kt as McpSpawnFault, L as authorStrategy, Lt as renderLeaderboardMarkdown, M as chatWorkerSeam, Mt as sentinelCompletion, N as createChatSessionStore, Nt as stopSentinel, Ot as readDeclaredCheck, P as runStrategyEvolution, Pt as leaderboard, Q as InMemoryCorpus, Qt as mcpSecretEnvMetadataKey, R as strategyAuthorContract, Rt as renderLeaderboardSvg, S as copyUntrackedIntoClone, St as superviseDispatch, T as createFencedSqlRunContext, Tt as declaredCheckDeliverable, U as runBenchmark, Ut as openSqlRunStore, V as openSandboxRun, Vt as defaultAuditorInstruction, W as equalKOnCost, Wt as SqlResultBlobStore, X as registerShape, Xt as sanitizeMcpToolSchema, Y as createShapeRegistry, Yt as createMcpEnvironment, Z as FileCorpus, Zt as envKeyProvider, _ as NOTE_MAX_CHARS, _t as resolveSandboxClient, a as localShell, at as selectValidWinner, b as composeWorkerEvidence, bt as loopCampaignDispatch, c as createVerifierEnvironment, ct as assertTraceDerivedFindings, d as harvestSurfaceDiffs, dt as registryScopeAnalyst, en as resolveSecretEnv, et as fanout, f as analystsFromRegistry, ft as observationFromRegistry, g as EVIDENCE_MAX_CHARS, gt as defineLeaderboard, h as worktreeFanout, ht as harvestCorpus, i as jjWorkspace, it as pipeline, j as chatTransportExecutor, jt as deterministicCompletion, k as codeModeSupervisorTools, kt as runIsolatedCheck, l as boxSurfaceReader, lt as buildSteerContext, m as superviseSurface, mt as HarvestError, n as makeFinding, nn as createTangleSandboxExactProcessProvider, nt as loopUntil, o as runInWorkspace, ot as verify, p as failuresAnalyst, pt as inProcessSandboxClient, q as runPersonified, qt as connectStdioMcp, r as gitWorkspace, rt as panel, s as createWaterfallCollector, st as widen, t as computeFindingId, tn as secretEnvOfMcpServer, tt as flatWidenGate, u as fsSurfaceReader, ut as createScopeAnalyst, v as VERIFY_TAIL_CHARS, vt as localSandboxClient, w as analyzeTrace, wt as checkProgramDigest, x as settledWorkerOut, xt as loopDispatch, y as closingWorkerNote, yt as inlineSandboxClient, z as strategyAuthorSystemPrompt, zt as renderPairwiseMarkdown } from "./runtime-B3TTjtzE.js";
5
+ import { E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as createEventBus, L as defaultToolDetectors, N as normalizeAnalyzeOnSettle, O as canonicalFindingEvent, R as watchTrace, _ as renderAnytimeTable, a as allOf, b as withRunContext, c as createProgressTracker, f as sampleFromSettled, g as plateauLength, h as bestSoFar, i as finalizeBestDelivered, l as noProgressFor, m as areaUnderCurve, o as allWorkersStalled, p as anytimeReport, s as anyOf, u as plateau, v as createFileRunContext, x as FileCoordinationLog, y as createInMemoryRunContext } from "./coordination-driver-BmkANXc5.js";
6
+ import { C as gateOnDeliverable, S as serveCoordinationMcp, b as composeReentryTask, c as resolveWorkerSpawnRetry, d as assertCoordinationBinding, l as retryPreSpawnRefusals, m as supervisorAgent, o as workerFromBackend, p as resolveSupervisorProfile, r as supervise, s as isPreSpawnExecutorFailure, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, u as withWorkerSpawnRetry, w as mapExecutorResult, x as createSupervisorSpanRecorder, y as UNPROVEN_CONTINUITY } from "./supervise-DL_Hj1uk.js";
7
7
  import { C as workerInboxFileFromEventDir, D as workerSteerRequestsDir, E as workerSteerRequestFile, O as workerSteersDir, S as workerInboxFile, T as workerSteerAcknowledgementsDir, _ as supervisorWorkersDir, a as legacySupervisorRunsRoot, b as workerCancellationsDir, c as readWorkerCancelRequests, d as readWorkerSteerRequests, f as runCancelRequestFile, g as supervisorRunsRoot, h as supervisorRunDir, i as legacySupervisorRunDir, j as writeWorkerSteer, l as readWorkerCancellation, m as safeWorkerFile, n as cancelWorker, o as readRunCancelRequest, p as runCancellationFile, s as readRunCancellation, t as cancelRun, u as readWorkerSteerAcknowledgement, v as workerCancelRequestsFile, w as workerSteerAcknowledgementFile, x as workerControlLogFile, y as workerCancellationFile } from "./run-layout-vwd4SwX_.js";
8
- import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-CkN8RRjv.js";
9
- import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-C1eIBN70.js";
10
- import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-KjJaTmbO.js";
8
+ import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-BNUmrHwC.js";
9
+ import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-BfHKdHzV.js";
10
+ import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-XmlRTlaI.js";
11
11
  export { AUTHORITY_MARKERS, BudgetReconcileFault, CONTINUATIONS_DIR, CONTINUATION_FACTS, CheckUnavailableError, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_AWAIT_EVENT_TIMEOUT_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DriverAttemptsExhaustedError, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, ReservationWaitRefused, SUBTREE_RESULT_LIMIT, SandboxRunAbortError, SqlResultBlobStore, SqlRunOwnershipError, SqlSpawnJournal, TERMINAL_DECISIONS, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, WORKER_TOOL_TRACE_SCHEMA_VERSION, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, auditIntent, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeContinuationNote, composeReentryTask, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSqlRunContext, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, isWaitOutcome, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, pendingWaits, persistHarnessTranscript, pickBestDelivered, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveAdmissions, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, superviseSurface, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, timerAt, trajectoryReport, unsafeInProcessRunner, upstreamUnavailableSignal, validateWaitSpec, verdictFromJudgeScore, verify, visibleCheckScore, waitUntil, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerInteractiveAdmissionFile, workerInteractiveBindingFile, workerInteractiveBindingsDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
@@ -1,6 +1,6 @@
1
- import { Mt as createExecutorRegistry } from "./supervisor-UXgaPisu.js";
1
+ import { Mt as createExecutorRegistry } from "./supervisor-YAc4U8HQ.js";
2
2
  import { i as ConfigError } from "./errors-DodWX-cb.js";
3
- import { K as definePersona, h as worktreeFanout, q as runPersonified } from "./runtime-Bid-kBes.js";
3
+ import { K as definePersona, h as worktreeFanout, q as runPersonified } from "./runtime-B3TTjtzE.js";
4
4
  import { t as runAnalystLoop } from "./analyst-loop-DZw5QWT9.js";
5
5
  import { t as createKbGate } from "./kb-gate-DpaSwXVx.js";
6
6
  //#region src/loop-runner.ts
@@ -243,4 +243,4 @@ if (invokedScript && /loop-runner-bin\.(js|ts|mjs)$/.test(invokedScript)) main()
243
243
  //#endregion
244
244
  export { isDelegatedLoopMode as a, worktreeLoopRunner as c, auditLoopRunner as i, runLoopRunnerCli as n, researchLoopRunner as o, DELEGATED_LOOP_MODES as r, runDelegatedLoop as s, parseLoopRunnerArgv as t };
245
245
 
246
- //# sourceMappingURL=loop-runner-bin-Cg78CKmf.js.map
246
+ //# sourceMappingURL=loop-runner-bin-BhExTk_4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loop-runner-bin-Cg78CKmf.js","names":[],"sources":["../src/loop-runner.ts","../src/loop-runner-bin.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 {@link 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 */\nexport interface 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. */\nexport interface 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 */\nexport interface 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. */\nexport interface 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","#!/usr/bin/env node\n/**\n *\n * `agent-runtime-loop` — the schedulable entrypoint for the configured\n * delegated loop-runner. A cron job / routine / Makefile target invokes:\n *\n * agent-runtime-loop --mode research --config ./loops.config.js\n *\n * The config module wires the registry (with full access to env / creds —\n * which is why the deps live there, not in this generic bin). It must default-\n * export a `DelegatedLoopRegistry`, or a `() => DelegatedLoopRegistry | Promise<…>`.\n * The bin runs the selected mode, prints the `DelegatedLoopResult` as JSON, and\n * exits 0 on `ok`, 1 on a recorded failure, 2 on a usage/config error.\n *\n * @experimental\n */\n\nimport {\n DELEGATED_LOOP_MODES,\n type DelegatedLoopMode,\n type DelegatedLoopRegistry,\n type DelegatedLoopResult,\n isDelegatedLoopMode,\n runDelegatedLoop,\n} from './loop-runner'\n\n/** @experimental Parsed CLI invocation. */\nexport interface LoopRunnerCliArgs {\n mode: string\n /** Loads the registry — the bin wires this from `--config`; tests inject a stub. */\n loadRegistry: () => Promise<DelegatedLoopRegistry> | DelegatedLoopRegistry\n now?: () => number\n}\n\n/** @experimental */\nexport interface LoopRunnerCliResult {\n exitCode: number\n result?: DelegatedLoopResult\n error?: string\n}\n\n/**\n *\n * Pure CLI core (no process / argv / IO) so it's unit-testable: validate the\n * mode, load the registry, dispatch, map to an exit code (0 ok / 1 failed /\n * 2 usage). Exported for embedding in custom runners + tests.\n *\n * @experimental\n */\nexport async function runLoopRunnerCli(args: LoopRunnerCliArgs): Promise<LoopRunnerCliResult> {\n if (!isDelegatedLoopMode(args.mode)) {\n return {\n exitCode: 2,\n error: `unknown mode '${args.mode}' (expected one of: ${DELEGATED_LOOP_MODES.join(', ')})`,\n }\n }\n let registry: DelegatedLoopRegistry\n try {\n registry = await args.loadRegistry()\n } catch (err) {\n return { exitCode: 2, error: `failed to load registry: ${errMsg(err)}` }\n }\n if (!registry[args.mode]) {\n return {\n exitCode: 2,\n error: `config registers no runner for mode '${args.mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n }\n }\n // runDelegatedLoop throws only on a missing runner (guarded above); a failing\n // engine is captured as { ok: false } → exit 1, not a crash.\n const result = await runDelegatedLoop(args.mode as DelegatedLoopMode, registry, {\n ...(args.now ? { now: args.now } : {}),\n })\n return { exitCode: result.ok ? 0 : 1, result }\n}\n\n/** Parse `--mode X --config Y` from an argv tail (`process.argv.slice(2)`). */\nexport function parseLoopRunnerArgv(argv: string[]): { mode?: string; config?: string } {\n const out: { mode?: string; config?: string } = {}\n for (let i = 0; i < argv.length; i += 1) {\n const a = argv[i]\n if (a === '--mode') out.mode = argv[++i]\n else if (a === '--config') out.config = argv[++i]\n else if (a?.startsWith('--mode=')) out.mode = a.slice('--mode='.length)\n else if (a?.startsWith('--config=')) out.config = a.slice('--config='.length)\n }\n return out\n}\n\n/** Normalize a config module's default export → a registry. */\nfunction resolveRegistry(mod: unknown): DelegatedLoopRegistry {\n const def = (mod as { default?: unknown })?.default ?? mod\n const value = typeof def === 'function' ? (def as () => unknown)() : def\n return value as DelegatedLoopRegistry\n}\n\nfunction errMsg(err: unknown): string {\n return err instanceof Error ? err.message : String(err)\n}\n\n/** The argv → IO → exit shell. Kept thin; logic lives in `runLoopRunnerCli`. */\nasync function main(): Promise<void> {\n const { mode, config } = parseLoopRunnerArgv(process.argv.slice(2))\n if (!mode || !config) {\n process.stderr.write(\n 'usage: agent-runtime-loop --mode <mode> --config <module>\\n' +\n ` modes: ${DELEGATED_LOOP_MODES.join(' | ')}\\n` +\n ' config: a JS/TS module default-exporting a DelegatedLoopRegistry (or a factory)\\n',\n )\n process.exit(2)\n }\n const { pathToFileURL } = await import('node:url')\n const { resolve } = await import('node:path')\n const cli = await runLoopRunnerCli({\n mode,\n loadRegistry: async () => resolveRegistry(await import(pathToFileURL(resolve(config)).href)),\n })\n process.stdout.write(`${JSON.stringify(cli.result ?? { error: cli.error }, null, 2)}\\n`)\n if (cli.error) process.stderr.write(`${cli.error}\\n`)\n process.exit(cli.exitCode)\n}\n\n// Run only when executed as the bin — never when imported for the testable\n// core, and never when bundled into a runtime that has no `process.argv`\n// (e.g. Cloudflare Workers, where `process` is a shim without `argv`). Reading\n// `process.argv[1]` directly would throw at module load there; `process.argv?.`\n// keeps the guard a no-op instead of crashing the Worker on startup.\nconst invokedScript = typeof process !== 'undefined' ? process.argv?.[1] : undefined\nif (invokedScript && /loop-runner-bin\\.(js|ts|mjs)$/.test(invokedScript)) {\n void main()\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"loop-runner-bin-BhExTk_4.js","names":[],"sources":["../src/loop-runner.ts","../src/loop-runner-bin.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 {@link 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 */\nexport interface 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. */\nexport interface 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 */\nexport interface 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. */\nexport interface 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","#!/usr/bin/env node\n/**\n *\n * `agent-runtime-loop` — the schedulable entrypoint for the configured\n * delegated loop-runner. A cron job / routine / Makefile target invokes:\n *\n * agent-runtime-loop --mode research --config ./loops.config.js\n *\n * The config module wires the registry (with full access to env / creds —\n * which is why the deps live there, not in this generic bin). It must default-\n * export a `DelegatedLoopRegistry`, or a `() => DelegatedLoopRegistry | Promise<…>`.\n * The bin runs the selected mode, prints the `DelegatedLoopResult` as JSON, and\n * exits 0 on `ok`, 1 on a recorded failure, 2 on a usage/config error.\n *\n * @experimental\n */\n\nimport {\n DELEGATED_LOOP_MODES,\n type DelegatedLoopMode,\n type DelegatedLoopRegistry,\n type DelegatedLoopResult,\n isDelegatedLoopMode,\n runDelegatedLoop,\n} from './loop-runner'\n\n/** @experimental Parsed CLI invocation. */\nexport interface LoopRunnerCliArgs {\n mode: string\n /** Loads the registry — the bin wires this from `--config`; tests inject a stub. */\n loadRegistry: () => Promise<DelegatedLoopRegistry> | DelegatedLoopRegistry\n now?: () => number\n}\n\n/** @experimental */\nexport interface LoopRunnerCliResult {\n exitCode: number\n result?: DelegatedLoopResult\n error?: string\n}\n\n/**\n *\n * Pure CLI core (no process / argv / IO) so it's unit-testable: validate the\n * mode, load the registry, dispatch, map to an exit code (0 ok / 1 failed /\n * 2 usage). Exported for embedding in custom runners + tests.\n *\n * @experimental\n */\nexport async function runLoopRunnerCli(args: LoopRunnerCliArgs): Promise<LoopRunnerCliResult> {\n if (!isDelegatedLoopMode(args.mode)) {\n return {\n exitCode: 2,\n error: `unknown mode '${args.mode}' (expected one of: ${DELEGATED_LOOP_MODES.join(', ')})`,\n }\n }\n let registry: DelegatedLoopRegistry\n try {\n registry = await args.loadRegistry()\n } catch (err) {\n return { exitCode: 2, error: `failed to load registry: ${errMsg(err)}` }\n }\n if (!registry[args.mode]) {\n return {\n exitCode: 2,\n error: `config registers no runner for mode '${args.mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n }\n }\n // runDelegatedLoop throws only on a missing runner (guarded above); a failing\n // engine is captured as { ok: false } → exit 1, not a crash.\n const result = await runDelegatedLoop(args.mode as DelegatedLoopMode, registry, {\n ...(args.now ? { now: args.now } : {}),\n })\n return { exitCode: result.ok ? 0 : 1, result }\n}\n\n/** Parse `--mode X --config Y` from an argv tail (`process.argv.slice(2)`). */\nexport function parseLoopRunnerArgv(argv: string[]): { mode?: string; config?: string } {\n const out: { mode?: string; config?: string } = {}\n for (let i = 0; i < argv.length; i += 1) {\n const a = argv[i]\n if (a === '--mode') out.mode = argv[++i]\n else if (a === '--config') out.config = argv[++i]\n else if (a?.startsWith('--mode=')) out.mode = a.slice('--mode='.length)\n else if (a?.startsWith('--config=')) out.config = a.slice('--config='.length)\n }\n return out\n}\n\n/** Normalize a config module's default export → a registry. */\nfunction resolveRegistry(mod: unknown): DelegatedLoopRegistry {\n const def = (mod as { default?: unknown })?.default ?? mod\n const value = typeof def === 'function' ? (def as () => unknown)() : def\n return value as DelegatedLoopRegistry\n}\n\nfunction errMsg(err: unknown): string {\n return err instanceof Error ? err.message : String(err)\n}\n\n/** The argv → IO → exit shell. Kept thin; logic lives in `runLoopRunnerCli`. */\nasync function main(): Promise<void> {\n const { mode, config } = parseLoopRunnerArgv(process.argv.slice(2))\n if (!mode || !config) {\n process.stderr.write(\n 'usage: agent-runtime-loop --mode <mode> --config <module>\\n' +\n ` modes: ${DELEGATED_LOOP_MODES.join(' | ')}\\n` +\n ' config: a JS/TS module default-exporting a DelegatedLoopRegistry (or a factory)\\n',\n )\n process.exit(2)\n }\n const { pathToFileURL } = await import('node:url')\n const { resolve } = await import('node:path')\n const cli = await runLoopRunnerCli({\n mode,\n loadRegistry: async () => resolveRegistry(await import(pathToFileURL(resolve(config)).href)),\n })\n process.stdout.write(`${JSON.stringify(cli.result ?? { error: cli.error }, null, 2)}\\n`)\n if (cli.error) process.stderr.write(`${cli.error}\\n`)\n process.exit(cli.exitCode)\n}\n\n// Run only when executed as the bin — never when imported for the testable\n// core, and never when bundled into a runtime that has no `process.argv`\n// (e.g. Cloudflare Workers, where `process` is a shim without `argv`). Reading\n// `process.argv[1]` directly would throw at module load there; `process.argv?.`\n// keeps the guard a no-op instead of crashing the Worker on startup.\nconst invokedScript = typeof process !== 'undefined' ? process.argv?.[1] : undefined\nif (invokedScript && /loop-runner-bin\\.(js|ts|mjs)$/.test(invokedScript)) {\n void main()\n}\n"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { i as Budget } from "./types-D56jQad-.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { O as AuthoredHarness, Yo as WinnerStrategy, jt as WorktreePatchArtifact, k as WorktreeFanoutOptions } from "./index-CSyzK6Kd.js";
3
+ import { O as AuthoredHarness, Yo as WinnerStrategy, jt as WorktreePatchArtifact, k as WorktreeFanoutOptions } from "./index-CkLB8mJF.js";
4
4
  import { n as FactCandidate, t as CreateKbGateOptions } from "./kb-gate-C8z2juK8.js";
5
5
  import { AgentProfile } from "@tangle-network/agent-interface";
6
6
  //#region src/loop-runner.d.ts
@@ -162,4 +162,4 @@ declare function parseLoopRunnerArgv(argv: string[]): {
162
162
  };
163
163
  //#endregion
164
164
  export { researchLoopRunner as _, DELEGATED_LOOP_MODES as a, DelegatedLoopResult as c, ResearchLoopRunnerOptions as d, RunDelegatedLoopOptions as f, isDelegatedLoopMode as g, auditLoopRunner as h, runLoopRunnerCli as i, DelegatedLoopRunner as l, WorktreeLoopRunnerOptions as m, LoopRunnerCliResult as n, DelegatedLoopMode as o, VetoedFact as p, parseLoopRunnerArgv as r, DelegatedLoopRegistry as s, LoopRunnerCliArgs as t, ResearchLoopResult as u, runDelegatedLoop as v, worktreeLoopRunner as y };
165
- //# sourceMappingURL=loop-runner-bin-Dtt8FdYO.d.ts.map
165
+ //# sourceMappingURL=loop-runner-bin-CINywrHK.d.ts.map
@@ -1,2 +1,2 @@
1
- import { i as runLoopRunnerCli, n as LoopRunnerCliResult, r as parseLoopRunnerArgv, t as LoopRunnerCliArgs } from "./loop-runner-bin-Dtt8FdYO.js";
1
+ import { i as runLoopRunnerCli, n as LoopRunnerCliResult, r as parseLoopRunnerArgv, t as LoopRunnerCliArgs } from "./loop-runner-bin-CINywrHK.js";
2
2
  export { LoopRunnerCliArgs, LoopRunnerCliResult, parseLoopRunnerArgv, runLoopRunnerCli };
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runLoopRunnerCli, t as parseLoopRunnerArgv } from "./loop-runner-bin-Cg78CKmf.js";
2
+ import { n as runLoopRunnerCli, t as parseLoopRunnerArgv } from "./loop-runner-bin-BhExTk_4.js";
3
3
  export { parseLoopRunnerArgv, runLoopRunnerCli };