@tangle-network/agent-runtime 0.295.2 → 0.295.4
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.
- package/dist/{activation-CkulncPi.js → activation-b7b_lmhE.js} +2 -2
- package/dist/{activation-CkulncPi.js.map → activation-b7b_lmhE.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-B_rF6bAa.js → coordination-driver-IBnJrG35.js} +2 -2
- package/dist/{coordination-driver-B_rF6bAa.js.map → coordination-driver-IBnJrG35.js.map} +1 -1
- package/dist/{delegate-_h6a-sZR.js → delegate-D3_pGiGW.js} +2 -2
- package/dist/{delegate-_h6a-sZR.js.map → delegate-D3_pGiGW.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-CN9gCxcw.js → graph-BbsdhFNv.js} +4 -4
- package/dist/{graph-CN9gCxcw.js.map → graph-BbsdhFNv.js.map} +1 -1
- package/dist/{improvement-cycle-EMHB3l51.js → improvement-cycle-C2IuQaRp.js} +3 -3
- package/dist/{improvement-cycle-EMHB3l51.js.map → improvement-cycle-C2IuQaRp.js.map} +1 -1
- package/dist/{index-CfMzoFhW.d.ts → index-D5p4txpC.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-BnxKYphD.d.ts → loop-runner-bin-CIxUa3W_.d.ts} +2 -2
- package/dist/{loop-runner-bin-C6-NQ7bS.js → loop-runner-bin-DTCYtNxx.js} +3 -3
- package/dist/{loop-runner-bin-C6-NQ7bS.js.map → loop-runner-bin-DTCYtNxx.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-BJ6-8M97.js → provision-supervisor-DRl8doHG.js} +3 -3
- package/dist/{provision-supervisor-BJ6-8M97.js.map → provision-supervisor-DRl8doHG.js.map} +1 -1
- package/dist/{runtime-7HtdodVO.js → runtime-Bgf9mm__.js} +16 -9
- package/dist/runtime-Bgf9mm__.js.map +1 -0
- package/dist/{search-method-rGfFP5yr.js → search-method-D3WdgmuN.js} +2 -2
- package/dist/{search-method-rGfFP5yr.js.map → search-method-D3WdgmuN.js.map} +1 -1
- package/dist/{server-B-DKa3MD.js → server-B3nNSFlK.js} +3 -3
- package/dist/{server-B-DKa3MD.js.map → server-B3nNSFlK.js.map} +1 -1
- package/dist/{supervise-CIyd8B3f.js → supervise-D5yxnDzD.js} +3 -3
- package/dist/{supervise-CIyd8B3f.js.map → supervise-D5yxnDzD.js.map} +1 -1
- package/dist/{supervisor-DnoT3-_F.js → supervisor-B1jEhBXU.js} +71 -6
- package/dist/supervisor-B1jEhBXU.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/package.json +1 -1
- package/dist/runtime-7HtdodVO.js.map +0 -1
- package/dist/supervisor-DnoT3-_F.js.map +0 -1
|
@@ -8478,7 +8478,7 @@ interface PrivateCasOffloadReport {
|
|
|
8478
8478
|
readonly durable: number;
|
|
8479
8479
|
/** Objects this pass copied to the durable store. */
|
|
8480
8480
|
readonly uploaded: number;
|
|
8481
|
-
/** Objects
|
|
8481
|
+
/** Objects without a durable receipt, including in-progress uploads and store refusals. */
|
|
8482
8482
|
readonly pending: ReadonlyArray<{
|
|
8483
8483
|
readonly digest: Sha256Digest;
|
|
8484
8484
|
readonly error: string;
|
|
@@ -11161,4 +11161,4 @@ interface VerifierEnvironmentOptions {
|
|
|
11161
11161
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
11162
11162
|
//#endregion
|
|
11163
11163
|
export { WorkspaceRun as $, SandboxEvidenceRetentionError as $a, createInMemoryRunContext as $c, DefinedAnalystRecord as $d, DelegateResult as $f, ValidateProfileMaterializationOptions as $h, observationFromRegistry as $i, runFinalizer as $l, openSqlRunStore as $m, RepairStop as $n, TrajectoryReportFn as $o, DelegateUiAuditArgs as $p, SandboxLineageHandle as $r, VersionJudge as $s, defaultEdgeTraversalCap as $t, sentinelCompletion as $u, worktreeFanout as A, breadthStrategy as Aa, AuthorizedSpawnContext as Ac, WaterfallCollector as Ad, downMessageRefusalReasons as Af, FileResultBlobStore as Ah, trajectoryReport as Ai, ProgressTracker as Al, DelegationPersistenceError as Am, unsafeInProcessRunner as An, EqualKVerdict as Ao, detachedTurnEvents as Ap, authorStrategy as Ar, defineLeaderboard as As, WorktreeCliExecutorOptions as At, runCancellationFile as Au, VERIFY_TAIL_CHARS as B, SuperviseDispatchOptions as Ba, ResolvedWorkerSpawnRetry as Bc, AnalystToolGroupName as Bd, environmentReader as Bf, loadSpawnForest as Bh, flatWidenGate as Bi, plateau as Bl, EventBus as Bm, ProfileRichness as Bn, PanelJudge as Bo, DelegationTaskQueue as Bp, materializeLocalMcp as Br, IsolatedCheckBox as Bs, workerInteractiveAdmissionFile as Bt, workerInboxFileFromEventDir as Bu, SurfaceWorkerConfig as C, StrategyArtifacts as Ca, ObserverJournal as Cc, AnytimeStrategySummary as Cd, SuperviseProfileEntry as Cf, BackendCallPolicy as Ch, assertProfileModelsAllowed as Ci, resolveSupervisorProfile as Cl, DelegationTraceCaps as Cm, delegate as Cn, CombinatorShape as Co, DetachedSessionRefParts as Cp, TournamentCell as Cr, LeaderboardBenchmarkAdapter as Cs, ProvisionSupervisorConnection as Ct, readRunCancelRequest as Cu, superviseSurface as D, StrategyShotResult as Da, observerRecordDigest as Dc, bestSoFar as Dd, analystToolGroupNames as Df, SqlResultBlobStore as Dh, PrivateCasOptions as Di, NoProgressForOptions as Dl, capDelegationTrace as Dm, CodeModeOptions as Dn, EqualKArm as Do, DriveTurnTick as Dp, AuthorStrategyOptions as Dr, LeaderboardScenario as Ds, provisionSupervisor as Dt, readWorkerSteerAcknowledgement as Du, failuresAnalyst as E, StrategyResult as Ea, createFileObserverHooks as Ec, areaUnderCurve as Ed, WorkerWatchOptions as Ef, RetryableErrorPredicate as Eh, PrivateCasOffloadReport as Ei, AllWorkersStalledOptions as El, buildDelegationTraceSpans as Em, finalizeBestDelivered as En, CorpusRecord as Eo, DriveTurnCapableBox as Ep, strategyTournament as Er, LeaderboardRunContext as Es, SupervisorCleanupReceipt as Et, readWorkerCancellation as Eu, readWorkerInteractiveBinding as F, sample as Fa, SuperviseRegistryTable as Fc, AnalystDefinitionIssue as Fd, ResolvedSpawnResourcePath as Ff, SpawnForestEvent as Fh, runPersonified as Fi, allOf as Fl, InMemoryDelegationStore as Fm, ChatWorkerSeamOptions as Fn, FlatWidenGate as Fo, DelegationRecord as Fp, McpSpawnFault as Fr, checkProgramDigest as Fs, InteractiveWorkerOptions as Ft, workerCancelRequestsFile as Fu, CopyOptions as G, RunAgentRoundsOptions as Ga, resolveWorkerSpawnRetry as Gc, AuthorizedDownMessage as Gd, createInProcessTransport as Gf, AGENT_PROFILE_MATERIALIZATION_AXES as Gh, verify as Gi, composeReentryTask as Gl, watchTrace as Gm, profileRichnessFinding as Gn, RenderCorpusToInstructions as Go, DelegateCodeArgs as Gp, SandboxRun as Gr, JudgedPursuitVersion as Gs, EdgeTraversal as Gt, workerSteersDir as Gu, closingWorkerNote as H, loopCampaignDispatch as Ha, WorkerSpawnRetryHooks as Hc, AuthoredAnalystDefinition as Hd, resolveSpawnResourcePaths as Hf, pendingWaits as Hh, panel as Hi, ReentryContinuity as Hl, createEventBus as Hm, asAuthoredProfile as Hn, PanelVerdict as Ho, SubmitInput as Hp, OpenSandboxRunBeforeStartContext as Hr, IsolatedCheckOptions as Hs, createInPlaceCliExecutor as Ht, workerSteerAcknowledgementsDir as Hu, workerInteractiveBindingFile as I, sampleThenRefine as Ia, SuperviseTestOptions as Ic, AnalystFindingEvent as Id, SPAWN_RESOURCE_PATH_MAX_BYTES as If, SpawnForestInDoubtNode as Ih, FileCorpus as Ii, allWorkersStalled as Il, CoderOutput as Im, chatTransportExecutor as In, LoopUntil as Io, DelegationResumeContext as Ip, McpToolDescriptor as Ir, declaredCheckDeliverable as Is, InteractiveWorkerResult as It, workerCancellationFile as Iu, withUntrackedArtifacts as J, defaultSelectWinner as Ja, InMemoryRunContext as Jc, CoordinationEvent as Jd, DELEGATE_INPUT_SCHEMA as Jf, CanonicalAgentProfileMaterializationAxis as Jh, RegistryAnalyzeProjection as Ji, FinalizerSettled as Jl, gateOnDeliverable as Jm, CheckOutcome as Jn, ScopeAnalyzeInput as Jo, DelegateFeedbackArgs as Jp, openSandboxRun as Jr, PursuitVersionChain as Js, GraphNode as Jt, CompletionEvidence as Ju, UntrackedCopyStats as K, TERMINAL_DECISIONS as Ka, retryPreSpawnRefusals as Kc, ContinuationInstruction as Kd, createMcpServer as Kf, AgentProfileMaterializationAxis as Kh, widen as Ki, DeliveredOutput as Kl, DeliverableSpec as Km, supervisorInstructions as Kn, RenderCorpusToInstructionsOptions as Ko, DelegateCodeConfig as Kp, SandboxRunAbortError as Kr, NextPursuitVersion as Ks, GraphEdge as Kt, writeWorkerSteer as Ku, workerInteractiveBindingsDir as L, LoopCampaignDispatchOptions as La, supervise as Lc, AnalystKind as Ld, SpawnResourceBytes as Lf, SpawnForestMissingTree as Lh, InMemoryCorpus as Li, anyOf as Ll, BusEvent as Lm, chatWorkerSeam as Ln, LoopUntilSpec as Lo, DelegationResumeDriver as Lp, StdioMcpConnection as Lr, declaredCheckDigest as Ls, workerFromInteractiveProvider as Lt, workerCancellationsDir as Lu, WorkerInteractiveBinding as M, depthStrategy as Ma, DeliverableResolutionInput as Mc, WaterfallSpan as Md, parseAuthoredAnalystDefinition as Mf, InMemoryResultBlobStore as Mh, createShapeRegistry as Mi, ProgressView as Ml, DelegationStore as Mm, ChatSessionStore as Mn, FanoutOptions as Mo, parseDetachedSessionRef as Mp, strategyAuthorSystemPrompt as Mr, DeclaredCheckPlacement as Ms, createWorktreeCliExecutor as Mt, supervisorRunDir as Mu, WorkerInteractiveProviderSource as N, refine as Na, SuperviseOptions as Nc, createWaterfallCollector as Nd, questionEscalationTargets as Nf, InMemorySpawnJournal as Nh, registerShape as Ni, StopDecision as Nl, FileDelegationStore as Nm, ChatTransportExecutorOptions as Nn, FanoutSynthesis as No, runDetachedTurn as Np, LocalMcpMaterialization as Nr, DeclaredCheckStateCapture as Ns, InteractiveWorkerEnvironment as Nt, supervisorRunsRoot as Nu, AuthoredHarness as O, SurfaceScore as Oa, verifyObserverRecords as Oc, plateauLength as Od, canonicalFindingEvent as Of, SqlSpawnJournal as Oh, createPrivateCasArtifactPort as Oi, PlateauOptions as Ol, composeLoopTraceEmitters as Om, CodeModeRunner as On, EqualKOnCost as Oo, RunDetachedTurnOptions as Op, AuthoredStrategy as Or, LeaderboardScore as Os, PatchDeliverableOptions as Ot, readWorkerSteerRequests as Ou, attachWorker as P, runAgentic as Pa, SuperviseRegistry as Pc, ANALYST_DEFINITION_BOUNDS as Pd, ResolveSpawnResourcePathsResult as Pf, SpawnForest as Ph, definePersona as Pi, StopRule as Pl, FileDelegationStoreOptions as Pm, ChatTransportTool as Pn, FanoutWinnerSelector as Po, DelegationArgs as Pp, MaterializeLocalMcpOptions as Pr, assertDeclaredCheck as Ps, InteractiveWorkerKeyInput as Pt, supervisorWorkersDir as Pu, WorkspaceCommit as Q, SandboxEvidenceReceipt as Qa, createFileRunContext as Qc, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Qd, DelegateHandlerOptions as Qf, ProfileMaterializationIssue as Qh, registryScopeAnalyst as Qi, pickBestDelivered as Ql, SqlRunStoreOptions as Qm, CheckSourceCtx as Qn, TrajectoryReport as Qo, DelegateResearchResult as Qp, SandboxLineage as Qr, SettledPursuitVersion as Qs, TraversalContinuity as Qt, deterministicCompletion as Qu, EVIDENCE_MAX_CHARS as R, LoopDispatchOptions as Ra, superviseWithTestBrain as Rc, AnalystLensOutput as Rd, SpawnResourceRead as Rf, SpawnForestNode as Rh, renderCorpusToInstructions as Ri, createProgressTracker as Rl, BusRecord as Rm, createChatSessionStore as Rn, LoopUntilState as Ro, DelegationResumeTick as Rp, StdioMcpServerSpec as Rr, declaredCheckJudge as Rs, WorkerInteractiveAdmission as Rt, workerControlLogFile as Ru, SuperviseSurfaceResult as S, Strategy as Sa, FileObserverJournal as Sc, AnytimeReport as Sd, SpawnRefusalCause as Sf, TurnOrder as Sh, assertModelAllowed as Si, assertCoordinationBinding as Sl, DELEGATION_TRACE_MAX_SPANS as Sm, defaultDelegateBudget as Sn, AssertTraceDerivedFindings as So, createSiblingSandboxExecutor as Sp, StrategyTournament as Sr, LeaderboardBenchTask as Ss, createSqlRunContext as St, legacySupervisorRunsRoot as Su, analystsFromRegistry as T, StrategyMessage as Ta, ObserverRecordKind as Tc, anytimeReport as Td, WorkerSpawnContext as Tf, RetryBackoff as Th, PrivateCasDurableStore as Ti, supervisorAgentWithTestBrain as Tl, DelegationTraceSpan as Tm, driverAgent as Tn, CorpusFilter as To, DetachedTurnResumeDriverOptions as Tp, runStrategyEvolution as Tr, LeaderboardIterationInfo as Ts, ProvisionedSupervisor as Tt, readWorkerCancelRequests as Tu, composeWorkerEvidence as U, loopDispatch as Ua, WorkerSpawnRetryPolicy as Uc, AuthoredAnalystLimits as Ud, McpServer as Uf, replaySpawnTree as Uh, pipeline as Ui, ReentryTaskInput as Ul, WatchTraceOptions as Um, assessAuthoredProfile as Un, Pipeline as Uo, SubmitOutput as Up, OpenSandboxRunOptions as Ur, IsolatedCheckResult as Us, AgentGraph as Ut, workerSteerRequestFile as Uu, WorkerEvidenceInput as V, SuperviseOptionsForDispatch as Va, WorkerSpawnRetryAttempt as Vc, AnalyzeOnSettleRoute as Vd, hostDirectoryReader as Vf, materializeTreeView as Vh, loopUntil as Vi, sampleFromSettled as Vl, PublishOptions as Vm, ProfileRichnessThresholds as Vn, PanelSpec as Vo, DelegationTaskQueueOptions as Vp, Deliverable as Vr, IsolatedCheckBoxEvidence as Vs, InPlaceCliExecutorOptions as Vt, workerSteerAcknowledgementFile as Vu, settledWorkerOut as W, superviseDispatch as Wa, isPreSpawnExecutorFailure as Wc, AuthorizeDownMessage as Wd, McpServerOptions as Wf, contentAddress as Wh, selectValidWinner as Wi, UNPROVEN_CONTINUITY as Wl, defaultToolDetectors as Wm, defaultProfileRichnessThresholds as Wn, PipelineStage as Wo, hashIdempotencyInput as Wp, OpenSandboxRunPromptOptions as Wr, runIsolatedCheck as Ws, EdgeDeliveryOutcome as Wt, workerSteerRequestsDir as Wu, Shell as X, runAgentRounds as Xa, RunContext as Xc, CoordinationTools as Xd, DelegateArgs as Xf, KnownAgentProfileMaterializationAxis as Xh, buildSteerContext as Xi, bestDelivered as Xl, SqlRunLease as Xm, CheckRunner as Xn, SteerContext as Xo, DelegateResearchArgs as Xp, CheckpointCapableBox as Xr, PursuitVersions as Xs, RunGraphOptions as Xt, CompletionVerdict as Xu, GitWorkspaceOptions as Y, isTerminalDecision as Ya, InMemoryRunContextOptions as Yc, CoordinationStats as Yd, DELEGATE_TOOL_NAME as Yf, DefineProfileMaterializationContractOptions as Yh, assertTraceDerivedFindings as Yi, SupervisorFinalizer as Yl, mapExecutorResult as Ym, CheckRunContext as Yn, ScopeWidenGate as Yo, DelegateFeedbackResult as Yp, BranchCapableBox as Yr, PursuitVersionStop as Ys, GraphResult as Yt, CompletionPolicy as Yu, Workspace as Z, SandboxEvidenceContext as Za, RunContextLease as Zc, CoordinationToolsOptions as Zd, DelegateError as Zf, ProfileMaterializationContract as Zh, createScopeAnalyst as Zi, collectDelivered as Zl, SqlRunOwnershipError as Zm, CheckSource as Zn, TrajectoryNode as Zo, DelegateResearchConfig as Zp, ForkCapableBox as Zr, REVIEW_DIR as Zs, RunGraphTestOptions as Zt, completionAuthorizes as Zu, boxSurfaceReader as _, AgenticTool as _a, PursuitProjection as _c, AuditIntentInput as _d, QuestionUrgency as _f, HaltContext as _h, startRetainedInteractiveRun as _i, SupervisorNodeContext as _l, UiAuditLensFilter as _m, RollingDispatchOptions as _n, ObserveInput as _o, DelegationExecutor as _p, visibleCheckScore as _r, ShapeBudget as _s, SUBTREE_RESULT_LIMIT as _t, WorkerSteerRequest as _u, SandboxInstance$1 as a, BenchmarkConfig as aa, SupervisedPursuitResult as ac, LeaderboardOptions as ad, EventAcknowledgement as af, promptControlProfileMaterialization as ag, ConversationJournal as ah, AcquireOptions as ai, createSupervisorSpanRecorder as al, DelegationHistoryArgs as am, analyzesFindingsReportPrompt as an, InProcessOnPrompt as ao, eventToSnapshot as ap, canDisplace as ar, WidenLineage as as, analyzeTrace as at, CoordinationHttpAudit as au, AnalystAuthoring as b, RunAgenticOptions as ba, PursuitStatus as bc, auditIntent as bd, SpawnPreflightContext as bf, HaltSignal as bh, profileChatClient as bi, SupervisorToolDescriptor as bl, CappedDelegationTrace as bm, rollingDispatch as bn, observe as bo, SiblingSandboxExecutorOptions as bp, EvolutionStrategy as br, DefinedLeaderboard as bs, settledToIteration as bt, cancelWorker as bu, VerifierEnvironmentOptions as c, BenchmarkStrategySummary as ca, PursuitFork as cc, PairwiseVerdict as cd, Question as cf, promptResourceProfileMaterialization as cg, InMemoryConversationJournal as ch, createS3PrivateCasStore as ci, CoordinationVerbs as cl, DelegationProfile as cm, dumbContinuationFailPrompt as cn, inProcessSandboxClient as co, CoderReviewer as cp, defaultExtractCandidate as cr, DefinePersona as cs, captureWorkerTraceEvidence as ct, CoordinationLog as cu, HarvestSurfaceDiffsOptions as d, printBenchmarkReport as da, PursuitNodeCost as dc, leaderboard as dd, QuestionEscalationRecord as df, validateProfileMaterialization as dg, ConversationDriveState as dh, startRetainedRun as di, ObserveSupervisorNodeEvent as dl, DelegationStatus as dm, kernelPromptRegistry as dn, HarvestFailure as do, DetachedWinnerSelection as dp, modelAuthoredChecks as dr, Outcome as ds, DEFAULT_MAX_DEPTH as dt, PriorCoordination as du, McpEndpoint as ea, VersionVerdict as ec, stopSentinel as ed, DownMessageAuthorizationInput as ef, assertProfileMaterialization as eg, D1DatabaseLike as eh, SessionCapableBox as ei, withRunContext as el, DelegateUiAuditConfig as em, runGraph as en, SandboxEvidenceRetentionPort as eo, createDelegateHandler as ep, StructuralRolloutConfig as er, TrajectoryReportOptions as es, gitWorkspace as et, CoordinationAuthentication as eu, SurfaceDiff as f, runBenchmark as fa, PursuitNodePlacement as fc, pairwiseSignificance as fd, QuestionEscalationTarget as ff, worktreeCliProfileMaterialization as fg, ConversationParticipant as fh, startRetainedRunInEnvironment as fi, ResolveDriveHarness as fl, DelegationStatusArgs as fm, naiveContinuationPrompt as fn, HarvestReport as fo, SettleDetachedCoderTurnOptions as fp, officialChecksFromMeta as fr, Persona as fs, createRootHandle as ft, RunCancelRequest as fu, WatchedSurface as g, AgenticTask as ga, PursuitNodeUsage as gc, renderPairwiseMarkdown as gd, QuestionRecord as gf, ConversationTurn as gh, recoverRetainedInteractiveRun as gi, SupervisorAgentTestDeps as gl, ResearchOutputShape as gm, DispatchUnit as gn, ObservationError as go, settleDetachedCoderTurn as gp, structuralRollout as gr, RunPersonifiedOptions as gs, createFencedSqlRunContext as gt, WorkerSteerAcknowledgement as gu, SurfaceReader as h, AgenticSurface as ha, PursuitNodeTiming as hc, renderLeaderboardSvg as hd, QuestionPolicy as hf, ConversationStreamEvent as hh, reconnectRetainedInteractiveRun as hi, SupervisorAgentDeps as hl, FeedbackRefersTo as hm, DispatchStopReason as hn, ObservationAnalysis as ho, detachedSessionDelegate as hp, selectBestIndex as hr, RunPersonified as hs, SqlRunContextOptions as ht, WorkerCancellation as hu, SandboxEvent$1 as i, BenchmarkCell as ia, SupervisePursuitOptions as ic, Leaderboard as id, EscalateQuestion as if, profileMaterializationAxes$1 as ig, d1ToSqlAdapter as ih, probeSandboxCapabilities as ii, SupervisorSpanRecorder as il, DelegationFeedbackSnapshot as im, RegisteredPrompt as in, inlineSandboxClient as io, InMemoryFeedbackStore as ip, VisibleCheck as ir, WidenDecision as is, TrajectoryAnalysis as it, serveCoordinationMcp as iu, AttachWorkerOptions as j, defineStrategy as ja, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as jc, WaterfallReport as jd, normalizeAnalyzeOnSettle as jf, FileSpawnJournal as jh, builtinShapes as ji, ProgressTrackerOptions as jl, DelegationStateCorruptError as jm, ChatCompletionsTransport as jn, Fanout as jo, formatDetachedSessionRef as jp, strategyAuthorContract as jr, DeclaredCheck as js, WorktreePatchArtifact as jt, safeWorkerFile as ju, WorktreeFanoutOptions as k, adaptiveRefine as ka, AuthorizedSpawn as kc, renderAnytimeTable as kd, createCoordinationTools as kf, SqlStatements as kh, equalKOnCost as ki, ProgressSample as kl, createDelegationTraceCollector as km, codeModeSupervisorTools as kn, EqualKOnCostOptions as ko, createDetachedTurnResumeDriver as kp, assertStrategyContract as kr, LeaderboardSpec as ks, patchDelivered as kt, runCancelRequestFile as ku, createVerifierEnvironment as l, BenchmarkTaskRow as la, RUN_FORK_CORRELATION_KEYS as lc, ProfileKeyOf as ld, QuestionDecision as lf, renderProfileMaterializationIssues as lg, AuthSource as lh, reconnectRetainedRun as li, DriveHarness as ll, DelegationProgress as lm, dumbContinuationPassPrompt as ln, HarvestCorpusOptions as lo, DelegateRunCtx as lp, defaultStructuralRolloutPolicy as lr, DefinePersonaInput as ls, parseWorkerToolTraceArtifact as lt, CoordinationOwnerId as lu, SurfaceReadOutcome as m, AgenticRunResult as ma, PursuitNodeProjection as mc, renderLeaderboardMarkdown as md, QuestionOption as mf, ConversationResult as mh, claimRetainedInteractiveControl as mi, ResolvedSupervisorProfile as ml, FeedbackRating as mm, DispatchReport as mn, Observation as mo, coderTaskFromArgs as mp, sandboxCheckRunner as mr, PersonaExecutors as ms, FencedSqlRunContext as mt, WorkerCancelRequest as mu, AnalystFinding$1 as n, createMcpEnvironment as na, pursuitVersionsLedgerPath as nc, GroupOf as nd, DownMessageDeliveryOutcome as nf, defineProfileMaterializationContract as ng, SqlAdapter as nh, CriuCapableClient as ni, SupervisorSpanOptions as nl, DelegateUiAuditRoute as nm, PromptHandle as nn, LocalSandboxClientOptions as no, FeedbackEvent as np, StructuralRolloutPolicy as nr, VerifySpec as ns, localShell as nt, CoordinationPublicAddress as nu, computeFindingId$1 as o, BenchmarkLift as oa, supervisePursuit as oc, LeaderboardRow as od, MakeWorkerAgent as of, promptModelProfileMaterialization as og, ConversationJournalEntry as oh, acquireSandbox as oi, CoordinationBinding as ol, DelegationHistoryEntry as om, createPromptRegistry as on, InProcessPromptCtx as oo, CoderDelegate as op, compareCheckOutcomes as or, WidenSpec as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, CoordinationHttpOptions as ou, SurfaceReadBox as p, AgenticOptions as pa, PursuitNodePlatform as pc, renderLeaderboardHtml as pd, QuestionLevel as pf, ConversationPolicy as ph, ClaimRetainedInteractiveControlOptions as pi, ResolveSupervisorTools as pl, DelegationStatusResult as pm, promptHandle as pn, harvestCorpus as po, UiAuditorDelegate as pp, resolveEntrySymbol as pr, PersonaContext as ps, createSupervisor as pt, RunCancellation as pu, copyUntrackedIntoClone as q, TerminalDecision as qa, withWorkerSpawnRetry as qc, ContinuityMode as qd, DELEGATE_DESCRIPTION as qf, AssertProfileMaterializationOptions as qh, CreateScopeAnalystOptions as qi, FinalizeContext as ql, ExecutorResultMapping as qm, CheckExecChannel as qn, ScopeAnalyst as qo, DelegateCodeResult as qp, TurnResult as qr, NextPursuitVersionInput as qs, GraphEdgeCapError as qt, CompletionAnalyst as qu, CreateSandboxOptions$1 as r, sanitizeMcpToolSchema as ra, SupervisePursuitError as rc, Interval as rd, DownMessageEvent as rf, fullProfileMaterialization as rg, SqlConversationJournal as rh, SandboxCapabilities as ri, SupervisorSpanOutcome as rl, DelegationError as rm, PromptRegistry as rn, localSandboxClient as ro, FeedbackStore as rp, StructuralRolloutResult as rr, Widen as rs, runInWorkspace as rt, CoordinationTransportOptions as ru, makeFinding$1 as s, BenchmarkReport as sa, FORK_PARENT_UNCERTAIN_NODES_KEY as sc, PairwiseOptions as sd, ManagerReentryState as sf, promptOnlyProfileMaterialization as sg, FileConversationJournal as sh, S3PrivateCasStoreOptions as si, CoordinationToolFace as sl, DelegationHistoryResult as sm, delegatesWorkerBriefPrompt as sn, InProcessSandboxClientOptions as so, CoderReview as sp, composeCheckSources as sr, WinnerStrategy as ss, WorkerToolTraceArtifact as st, CoordinationDeliveryEvidence as su, AgentProfile$2 as t, McpEnvironmentOptions as ta, assertPursuitVersions as tc, AxisScoresOf as td, DownMessageDeliveryAttempt as tf, controlProfileMaterialization as tg, D1StmtLike as th, createSandboxLineage as ti, SupervisorSpanAttributes as tl, DelegateUiAuditResult as tm, runGraphWithTestBrain as tn, captureBeforeDestroy as to, validateDelegateArgs as tp, StructuralRolloutMessage as tr, Verify as ts, jjWorkspace as tt, CoordinationMcpHandle as tu, BoxSurfaceReaderOptions as u, Environment as ua, PursuitCostProvenance as uc, ScoreOf as ud, QuestionEscalationOutcome as uf, sandboxActProfileMaterialization as ug, Conversation as uh, recoverRetainedRun as ui, DriveHarnessOwnerContext as ul, DelegationResultPayload as um, formatPromptHandle as un, HarvestError as uo, DetachedSessionDelegateOptions as up, filterAuthoredAsserts as ur, LoopShape as us, workerTraceAnalysisStore as ut, FileCoordinationLog as uu, fsSurfaceReader as v, ArtifactHandle as va, PursuitRunProjection as vc, AuditIntentOptions as vd, SettledWorker as vf, HaltPredicate as vh, ResolveSandboxClientOptions as vi, SupervisorNodeContextSeed as vl, UiAuditorDelegationOutput as vm, freeSlots as vn, ObserveOptions as vo, FleetHandle as vp, EvolutionAuthor as vr, ShapeContext as vs, ScopeArgs as vt, WriteWorkerSteerOptions as vu, SurfaceWorkerOut as w, StrategyCtx as wa, ObserverRecord as wc, AnytimeTaskCurve as wd, WorkerResumeContext as wf, CircuitBreakerConfig as wh, PrivateCasArtifactPort as wi, supervisorAgent as wl, DelegationTraceCollector as wm, DriverAgentOptions as wn, Corpus as wo, DetachedTurn as wp, TournamentRow as wr, LeaderboardFlagSpec as ws, ProvisionSupervisorRequest as wt, readRunCancellation as wu, SuperviseSurfaceOptions as x, ShotSpec as xa, projectPursuit as xc, defaultAuditorInstruction as xd, SpawnRefusal as xf, RunConversationOptions as xh, profileOptimizerModelCall as xi, SupervisorToolInvocationContext as xl, DELEGATION_TRACE_MAX_BYTES as xm, DelegateOptions as xn, renderReport as xo, createFleetWorkspaceExecutor as xp, StrategyEvolutionConfig as xr, LeaderboardBenchScore as xs, SqlRunContext as xt, legacySupervisorRunDir as xu, harvestSurfaceDiffs as y, CorpusReadbackOptions as ya, PursuitRunTotals as yc, IntentAudit as yd, SpawnPreflight as yf, HaltReason as yh, resolveSandboxClient as yi, SupervisorProfile as yl, delegationProfiles as ym, queueOf as yn, defaultAnalystInstruction as yo, FleetWorkspaceExecutorOptions as yp, EvolutionReport as yr, ShapeRegistry as ys, createScope as yt, cancelRun as yu, NOTE_MAX_CHARS as z, LoopOptionsForDispatch as za, workerFromBackend as zc, AnalystRegistry$1 as zd, SpawnResourceReader as zf, SpawnForestTree as zh, fanout as zi, noProgressFor as zl, BusStats as zm, AuthoredProfile as zn, Panel as zo, DelegationRunContext as zp, connectStdioMcp as zr, readDeclaredCheck as zs, readWorkerInteractiveAdmissions as zt, workerInboxFile as zu };
|
|
11164
|
-
//# sourceMappingURL=index-
|
|
11164
|
+
//# sourceMappingURL=index-D5p4txpC.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-C2MBdgd_.js";
|
|
2
2
|
import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
|
|
3
3
|
import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
|
|
4
|
-
import { Ch as BackendCallPolicy, Eh as RetryableErrorPredicate, Km as DeliverableSpec, Nc as SuperviseOptions, Sh as TurnOrder, Th as RetryBackoff, Us as IsolatedCheckResult, Vs as IsolatedCheckBoxEvidence, _h as HaltContext, ah as ConversationJournal, bh as HaltSignal, ch as InMemoryConversationJournal, dh as ConversationDriveState, eh as D1DatabaseLike, fh as ConversationParticipant, gh as ConversationTurn, hh as ConversationStreamEvent, ih as d1ToSqlAdapter, lh as AuthSource, mh as ConversationResult, nh as SqlAdapter, nr as StructuralRolloutPolicy, oh as ConversationJournalEntry, ph as ConversationPolicy, rh as SqlConversationJournal, sh as FileConversationJournal, th as D1StmtLike, uh as Conversation, vh as HaltPredicate, wh as CircuitBreakerConfig, xh as RunConversationOptions, yh as HaltReason, yl as SupervisorProfile } from "./index-
|
|
4
|
+
import { Ch as BackendCallPolicy, Eh as RetryableErrorPredicate, Km as DeliverableSpec, Nc as SuperviseOptions, Sh as TurnOrder, Th as RetryBackoff, Us as IsolatedCheckResult, Vs as IsolatedCheckBoxEvidence, _h as HaltContext, ah as ConversationJournal, bh as HaltSignal, ch as InMemoryConversationJournal, dh as ConversationDriveState, eh as D1DatabaseLike, fh as ConversationParticipant, gh as ConversationTurn, hh as ConversationStreamEvent, ih as d1ToSqlAdapter, lh as AuthSource, mh as ConversationResult, nh as SqlAdapter, nr as StructuralRolloutPolicy, oh as ConversationJournalEntry, ph as ConversationPolicy, rh as SqlConversationJournal, sh as FileConversationJournal, th as D1StmtLike, uh as Conversation, vh as HaltPredicate, wh as CircuitBreakerConfig, xh as RunConversationOptions, yh as HaltReason, yl as SupervisorProfile } from "./index-D5p4txpC.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, gn as WorktreeCheckRunner, yr as Redactor } from "./stream-agent-turn-D6lDcAYs.js";
|
|
7
7
|
import { E as AgentCandidateOutputArtifactPort } from "./workspace-archive-pz8YJ1fr.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-DZMqUGrJ.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-
|
|
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-CIxUa3W_.js";
|
|
10
10
|
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-Dlws03EW.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 writeAllBytes, Ba as providerMessageText, Br as createOtelExporter, Fr as resolveRedactor, Gr as padTraceId, Hr as generateSpanId, Ir as buildLoopOtelSpans, Jr as createRuntimeStreamEventCollector, Kr as toOtelAttributes, Lr as buildLoopSpanNodes, Oi as prepareJsonlAppend, Pr as defaultRedactorIdentityMaterial, Rr as buildRuntimeEventOtelSpans, Ur as loopEventToOtelSpan, Wr as padSpanId, Xr as sanitizeKnowledgeReadinessReport, Yi as executableAgentProfileSnapshot, Yr as sanitizeAgentRuntimeEvent, Zr as sanitizeRuntimeStreamEvent, ki as readCommittedJsonLines, qr as createRuntimeEventCollector, zr as createOpenInferenceFileExporter } from "./supervisor-
|
|
1
|
+
import { Ai as writeAllBytes, Ba as providerMessageText, Br as createOtelExporter, Fr as resolveRedactor, Gr as padTraceId, Hr as generateSpanId, Ir as buildLoopOtelSpans, Jr as createRuntimeStreamEventCollector, Kr as toOtelAttributes, Lr as buildLoopSpanNodes, Oi as prepareJsonlAppend, Pr as defaultRedactorIdentityMaterial, Rr as buildRuntimeEventOtelSpans, Ur as loopEventToOtelSpan, Wr as padSpanId, Xr as sanitizeKnowledgeReadinessReport, Yi as executableAgentProfileSnapshot, Yr as sanitizeAgentRuntimeEvent, Zr as sanitizeRuntimeStreamEvent, ki as readCommittedJsonLines, qr as createRuntimeEventCollector, zr as createOpenInferenceFileExporter } from "./supervisor-B1jEhBXU.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-
|
|
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-D3WdgmuN.js";
|
|
4
4
|
import { t as assertExecutableAgentProfile } from "./model-policy-DydyWTQg.js";
|
|
5
|
-
import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-
|
|
5
|
+
import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-b7b_lmhE.js";
|
|
6
6
|
import { A as embeddedCandidateArtifact, D as canonicalCandidateDigest$1, E as canonicalCandidateBytes$1, M as omitTopLevelDigest, c as persistCandidateOutputArtifact, i as captureAgentCandidateWorkspace, j as immutableCandidateValue } from "./workspace-streams-D4TMTrJV.js";
|
|
7
|
-
import { Jt as McpSpawnFault, Yt as connectStdioMcp } from "./runtime-
|
|
7
|
+
import { Jt as McpSpawnFault, Yt as connectStdioMcp } from "./runtime-Bgf9mm__.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-
|
|
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-C2IuQaRp.js";
|
|
10
10
|
import { t as sealAgentCandidateBundle } from "./bundle-CDR0caM4.js";
|
|
11
|
-
import { r as supervise } from "./supervise-
|
|
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-
|
|
11
|
+
import { r as supervise } from "./supervise-D5yxnDzD.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-DTCYtNxx.js";
|
|
13
13
|
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DoQ32vpe.js";
|
|
14
14
|
import { agentCandidateKnowledgeSchema, agentCandidateWorkspaceManifestMaterialSchema, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, sha256DigestSchema } from "@tangle-network/agent-interface";
|
|
15
15
|
import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
|
package/dist/intelligence.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { An as resolveAgentEnvironmentProvider, Br as createOtelExporter, Fr as resolveRedactor, Ir as buildLoopOtelSpans, Nr as defaultRedactor, Rr as buildRuntimeEventOtelSpans, Vr as flatOtelSpan } from "./supervisor-
|
|
2
|
-
import { x as assertProfileTrainingIsHeldOut } from "./search-method-
|
|
3
|
-
import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-
|
|
1
|
+
import { An as resolveAgentEnvironmentProvider, Br as createOtelExporter, Fr as resolveRedactor, Ir as buildLoopOtelSpans, Nr as defaultRedactor, Rr as buildRuntimeEventOtelSpans, Vr as flatOtelSpan } from "./supervisor-B1jEhBXU.js";
|
|
2
|
+
import { x as assertProfileTrainingIsHeldOut } from "./search-method-D3WdgmuN.js";
|
|
3
|
+
import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-b7b_lmhE.js";
|
|
4
4
|
import { D as canonicalCandidateDigest$1, j as immutableCandidateValue } from "./workspace-streams-D4TMTrJV.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-
|
|
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-C2IuQaRp.js";
|
|
6
6
|
import { a as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-Dzkj4AGj.js";
|
|
7
7
|
import { d as omitUndefinedObjectFields, f as parseAgentCandidateProfileActivation, i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-BubsrYhR.js";
|
|
8
8
|
import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-_Daje74V.js";
|
package/dist/kernel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-C2MBdgd_.js";
|
|
2
|
-
import { $ as WorkspaceRun, $a as SandboxEvidenceRetentionError, $c as createInMemoryRunContext, $d as DefinedAnalystRecord, $i as observationFromRegistry, $l as runFinalizer, $m as openSqlRunStore, $n as RepairStop, $o as TrajectoryReportFn, $r as SandboxLineageHandle, $t as defaultEdgeTraversalCap, $u as sentinelCompletion, A as worktreeFanout, Aa as breadthStrategy, Ac as AuthorizedSpawnContext, Ad as WaterfallCollector, Ah as FileResultBlobStore, Ai as trajectoryReport, Al as ProgressTracker, An as unsafeInProcessRunner, Ao as EqualKVerdict, Ar as authorStrategy, As as defineLeaderboard, At as WorktreeCliExecutorOptions, Au as runCancellationFile, B as VERIFY_TAIL_CHARS, Ba as SuperviseDispatchOptions, Bc as ResolvedWorkerSpawnRetry, Bh as loadSpawnForest, Bi as flatWidenGate, Bl as plateau, Bm as EventBus, Bn as ProfileRichness, Bo as PanelJudge, Br as materializeLocalMcp, Bs as IsolatedCheckBox, Bt as workerInteractiveAdmissionFile, Bu as workerInboxFileFromEventDir, C as SurfaceWorkerConfig, Ca as StrategyArtifacts, Cd as AnytimeStrategySummary, Cf as SuperviseProfileEntry, Ci as assertProfileModelsAllowed, Cl as resolveSupervisorProfile, Cn as delegate, Co as CombinatorShape, Cr as TournamentCell, Cs as LeaderboardBenchmarkAdapter, Ct as ProvisionSupervisorConnection, Cu as readRunCancelRequest, D as superviseSurface, Da as StrategyShotResult, Dd as bestSoFar, Dh as SqlResultBlobStore, Di as PrivateCasOptions, Dl as NoProgressForOptions, Dn as CodeModeOptions, Do as EqualKArm, Dr as AuthorStrategyOptions, Ds as LeaderboardScenario, Dt as provisionSupervisor, Du as readWorkerSteerAcknowledgement, E as failuresAnalyst, Ea as StrategyResult, Ed as areaUnderCurve, Ef as WorkerWatchOptions, Ei as PrivateCasOffloadReport, El as AllWorkersStalledOptions, En as finalizeBestDelivered, Eo as CorpusRecord, Er as strategyTournament, Es as LeaderboardRunContext, Et as SupervisorCleanupReceipt, Eu as readWorkerCancellation, F as readWorkerInteractiveBinding, Fa as sample, Fc as SuperviseRegistryTable, Fh as SpawnForestEvent, Fi as runPersonified, Fl as allOf, Fn as ChatWorkerSeamOptions, Fo as FlatWidenGate, Fr as McpSpawnFault, Fs as checkProgramDigest, Ft as InteractiveWorkerOptions, Fu as workerCancelRequestsFile, G as CopyOptions, Ga as RunAgentRoundsOptions, Gc as resolveWorkerSpawnRetry, Gd as AuthorizedDownMessage, Gi as verify, Gl as composeReentryTask, Gm as watchTrace, Gn as profileRichnessFinding, Go as RenderCorpusToInstructions, Gr as SandboxRun, Gt as EdgeTraversal, Gu as workerSteersDir, H as closingWorkerNote, Ha as loopCampaignDispatch, Hc as WorkerSpawnRetryHooks, Hd as AuthoredAnalystDefinition, Hh as pendingWaits, Hi as panel, Hl as ReentryContinuity, Hm as createEventBus, Hn as asAuthoredProfile, Ho as PanelVerdict, Hr as OpenSandboxRunBeforeStartContext, Hs as IsolatedCheckOptions, Ht as createInPlaceCliExecutor, Hu as workerSteerAcknowledgementsDir, I as workerInteractiveBindingFile, Ia as sampleThenRefine, Id as AnalystFindingEvent, Ih as SpawnForestInDoubtNode, Ii as FileCorpus, Il as allWorkersStalled, In as chatTransportExecutor, Io as LoopUntil, Ir as McpToolDescriptor, Is as declaredCheckDeliverable, It as InteractiveWorkerResult, Iu as workerCancellationFile, J as withUntrackedArtifacts, Ja as defaultSelectWinner, Jc as InMemoryRunContext, Jd as CoordinationEvent, Ji as RegistryAnalyzeProjection, Jl as FinalizerSettled, Jm as gateOnDeliverable, Jn as CheckOutcome, Jo as ScopeAnalyzeInput, Jr as openSandboxRun, Jt as GraphNode, Ju as CompletionEvidence, K as UntrackedCopyStats, Ka as TERMINAL_DECISIONS, Kc as retryPreSpawnRefusals, Kd as ContinuationInstruction, Ki as widen, Kl as DeliveredOutput, Km as DeliverableSpec, Kn as supervisorInstructions, Ko as RenderCorpusToInstructionsOptions, Kr as SandboxRunAbortError, Kt as GraphEdge, Ku as writeWorkerSteer, L as workerInteractiveBindingsDir, La as LoopCampaignDispatchOptions, Lc as supervise, Ld as AnalystKind, Lh as SpawnForestMissingTree, Li as InMemoryCorpus, Ll as anyOf, Lm as BusEvent, Ln as chatWorkerSeam, Lo as LoopUntilSpec, Lr as StdioMcpConnection, Ls as declaredCheckDigest, Lt as workerFromInteractiveProvider, Lu as workerCancellationsDir, M as WorkerInteractiveBinding, Ma as depthStrategy, Mc as DeliverableResolutionInput, Md as WaterfallSpan, Mh as InMemoryResultBlobStore, Mi as createShapeRegistry, Ml as ProgressView, Mn as ChatSessionStore, Mo as FanoutOptions, Mr as strategyAuthorSystemPrompt, Ms as DeclaredCheckPlacement, Mt as createWorktreeCliExecutor, Mu as supervisorRunDir, N as WorkerInteractiveProviderSource, Na as refine, Nc as SuperviseOptions, Nd as createWaterfallCollector, Nh as InMemorySpawnJournal, Ni as registerShape, Nl as StopDecision, Nn as ChatTransportExecutorOptions, No as FanoutSynthesis, Nr as LocalMcpMaterialization, Ns as DeclaredCheckStateCapture, Nt as InteractiveWorkerEnvironment, Nu as supervisorRunsRoot, O as AuthoredHarness, Oa as SurfaceScore, Od as plateauLength, Of as canonicalFindingEvent, Oh as SqlSpawnJournal, Oi as createPrivateCasArtifactPort, Ol as PlateauOptions, On as CodeModeRunner, Oo as EqualKOnCost, Or as AuthoredStrategy, Os as LeaderboardScore, Ot as PatchDeliverableOptions, Ou as readWorkerSteerRequests, P as attachWorker, Pa as runAgentic, Pc as SuperviseRegistry, Ph as SpawnForest, Pi as definePersona, Pl as StopRule, Pn as ChatTransportTool, Po as FanoutWinnerSelector, Pr as MaterializeLocalMcpOptions, Ps as assertDeclaredCheck, Pt as InteractiveWorkerKeyInput, Pu as supervisorWorkersDir, Q as WorkspaceCommit, Qa as SandboxEvidenceReceipt, Qc as createFileRunContext, Qd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Qi as registryScopeAnalyst, Ql as pickBestDelivered, Qm as SqlRunStoreOptions, Qn as CheckSourceCtx, Qo as TrajectoryReport, Qr as SandboxLineage, Qt as TraversalContinuity, Qu as deterministicCompletion, R as EVIDENCE_MAX_CHARS, Ra as LoopDispatchOptions, Rd as AnalystLensOutput, Rh as SpawnForestNode, Ri as renderCorpusToInstructions, Rl as createProgressTracker, Rm as BusRecord, Rn as createChatSessionStore, Ro as LoopUntilState, Rr as StdioMcpServerSpec, Rs as declaredCheckJudge, Rt as WorkerInteractiveAdmission, Ru as workerControlLogFile, S as SuperviseSurfaceResult, Sa as Strategy, Sd as AnytimeReport, Sf as SpawnRefusalCause, Si as assertModelAllowed, Sl as assertCoordinationBinding, Sn as defaultDelegateBudget, So as AssertTraceDerivedFindings, Sr as StrategyTournament, Ss as LeaderboardBenchTask, St as createSqlRunContext, Su as legacySupervisorRunsRoot, T as analystsFromRegistry, Ta as StrategyMessage, Td as anytimeReport, Tf as WorkerSpawnContext, Ti as PrivateCasDurableStore, To as CorpusFilter, Tr as runStrategyEvolution, Ts as LeaderboardIterationInfo, Tt as ProvisionedSupervisor, Tu as readWorkerCancelRequests, U as composeWorkerEvidence, Ua as loopDispatch, Uc as WorkerSpawnRetryPolicy, Ud as AuthoredAnalystLimits, Uh as replaySpawnTree, Ui as pipeline, Ul as ReentryTaskInput, Um as WatchTraceOptions, Un as assessAuthoredProfile, Uo as Pipeline, Ur as OpenSandboxRunOptions, Us as IsolatedCheckResult, Ut as AgentGraph, Uu as workerSteerRequestFile, V as WorkerEvidenceInput, Va as SuperviseOptionsForDispatch, Vc as WorkerSpawnRetryAttempt, Vd as AnalyzeOnSettleRoute, Vh as materializeTreeView, Vi as loopUntil, Vl as sampleFromSettled, Vm as PublishOptions, Vn as ProfileRichnessThresholds, Vo as PanelSpec, Vr as Deliverable, Vs as IsolatedCheckBoxEvidence, Vt as InPlaceCliExecutorOptions, Vu as workerSteerAcknowledgementFile, W as settledWorkerOut, Wa as superviseDispatch, Wc as isPreSpawnExecutorFailure, Wd as AuthorizeDownMessage, Wh as contentAddress, Wi as selectValidWinner, Wl as UNPROVEN_CONTINUITY, Wm as defaultToolDetectors, Wn as defaultProfileRichnessThresholds, Wo as PipelineStage, Wr as OpenSandboxRunPromptOptions, Ws as runIsolatedCheck, Wt as EdgeDeliveryOutcome, Wu as workerSteerRequestsDir, X as Shell, Xa as runAgentRounds, Xc as RunContext, Xi as buildSteerContext, Xl as bestDelivered, Xm as SqlRunLease, Xn as CheckRunner, Xo as SteerContext, Xr as CheckpointCapableBox, Xt as RunGraphOptions, Xu as CompletionVerdict, Y as GitWorkspaceOptions, Ya as isTerminalDecision, Yc as InMemoryRunContextOptions, Yd as CoordinationStats, Yi as assertTraceDerivedFindings, Yl as SupervisorFinalizer, Ym as mapExecutorResult, Yn as CheckRunContext, Yo as ScopeWidenGate, Yr as BranchCapableBox, Yt as GraphResult, Yu as CompletionPolicy, Z as Workspace, Za as SandboxEvidenceContext, Zc as RunContextLease, Zi as createScopeAnalyst, Zl as collectDelivered, Zm as SqlRunOwnershipError, Zn as CheckSource, Zo as TrajectoryNode, Zr as ForkCapableBox, Zu as completionAuthorizes, _ as boxSurfaceReader, _a as AgenticTool, _d as AuditIntentInput, _i as startRetainedInteractiveRun, _l as SupervisorNodeContext, _n as RollingDispatchOptions, _o as ObserveInput, _r as visibleCheckScore, _s as ShapeBudget, _t as SUBTREE_RESULT_LIMIT, _u as WorkerSteerRequest, a as SandboxInstance, aa as BenchmarkConfig, ad as LeaderboardOptions, af as EventAcknowledgement, ai as AcquireOptions, al as createSupervisorSpanRecorder, an as analyzesFindingsReportPrompt, ao as InProcessOnPrompt, ar as canDisplace, as as WidenLineage, at as analyzeTrace, au as CoordinationHttpAudit, b as AnalystAuthoring, ba as RunAgenticOptions, bd as auditIntent, bf as SpawnPreflightContext, bi as profileChatClient, bl as SupervisorToolDescriptor, bn as rollingDispatch, bo as observe, br as EvolutionStrategy, bs as DefinedLeaderboard, bt as settledToIteration, bu as cancelWorker, c as VerifierEnvironmentOptions, ca as BenchmarkStrategySummary, cd as PairwiseVerdict, ci as createS3PrivateCasStore, cl as CoordinationVerbs, cn as dumbContinuationFailPrompt, co as inProcessSandboxClient, cr as defaultExtractCandidate, cs as DefinePersona, ct as captureWorkerTraceEvidence, cu as CoordinationLog, d as HarvestSurfaceDiffsOptions, da as printBenchmarkReport, dd as leaderboard, df as QuestionEscalationRecord, di as startRetainedRun, dl as ObserveSupervisorNodeEvent, dn as kernelPromptRegistry, do as HarvestFailure, dr as modelAuthoredChecks, ds as Outcome, dt as DEFAULT_MAX_DEPTH, du as PriorCoordination, ea as McpEndpoint, ed as stopSentinel, ef as DownMessageAuthorizationInput, ei as SessionCapableBox, el as withRunContext, en as runGraph, eo as SandboxEvidenceRetentionPort, er as StructuralRolloutConfig, es as TrajectoryReportOptions, et as gitWorkspace, eu as CoordinationAuthentication, f as SurfaceDiff, fa as runBenchmark, fd as pairwiseSignificance, fi as startRetainedRunInEnvironment, fl as ResolveDriveHarness, fn as naiveContinuationPrompt, fo as HarvestReport, fr as officialChecksFromMeta, fs as Persona, ft as createRootHandle, fu as RunCancelRequest, g as WatchedSurface, ga as AgenticTask, gd as renderPairwiseMarkdown, gi as recoverRetainedInteractiveRun, gn as DispatchUnit, go as ObservationError, gr as structuralRollout, gs as RunPersonifiedOptions, gt as createFencedSqlRunContext, gu as WorkerSteerAcknowledgement, h as SurfaceReader, ha as AgenticSurface, hd as renderLeaderboardSvg, hi as reconnectRetainedInteractiveRun, hl as SupervisorAgentDeps, hn as DispatchStopReason, ho as ObservationAnalysis, hr as selectBestIndex, hs as RunPersonified, ht as SqlRunContextOptions, hu as WorkerCancellation, i as SandboxEvent, ia as BenchmarkCell, id as Leaderboard, if as EscalateQuestion, ii as probeSandboxCapabilities, il as SupervisorSpanRecorder, in as RegisteredPrompt, io as inlineSandboxClient, ir as VisibleCheck, is as WidenDecision, it as TrajectoryAnalysis, iu as serveCoordinationMcp, j as AttachWorkerOptions, ja as defineStrategy, jc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, jd as WaterfallReport, jf as normalizeAnalyzeOnSettle, jh as FileSpawnJournal, ji as builtinShapes, jl as ProgressTrackerOptions, jn as ChatCompletionsTransport, jo as Fanout, jr as strategyAuthorContract, js as DeclaredCheck, jt as WorktreePatchArtifact, ju as safeWorkerFile, k as WorktreeFanoutOptions, ka as adaptiveRefine, kc as AuthorizedSpawn, kd as renderAnytimeTable, kh as SqlStatements, ki as equalKOnCost, kl as ProgressSample, kn as codeModeSupervisorTools, ko as EqualKOnCostOptions, kr as assertStrategyContract, ks as LeaderboardSpec, kt as patchDelivered, ku as runCancelRequestFile, l as createVerifierEnvironment, la as BenchmarkTaskRow, ld as ProfileKeyOf, li as reconnectRetainedRun, ll as DriveHarness, ln as dumbContinuationPassPrompt, lo as HarvestCorpusOptions, lr as defaultStructuralRolloutPolicy, ls as DefinePersonaInput, lt as parseWorkerToolTraceArtifact, lu as CoordinationOwnerId, m as SurfaceReadOutcome, ma as AgenticRunResult, md as renderLeaderboardMarkdown, mi as claimRetainedInteractiveControl, ml as ResolvedSupervisorProfile, mn as DispatchReport, mo as Observation, mr as sandboxCheckRunner, ms as PersonaExecutors, mt as FencedSqlRunContext, mu as WorkerCancelRequest, n as AnalystFinding, na as createMcpEnvironment, nd as GroupOf, nf as DownMessageDeliveryOutcome, ni as CriuCapableClient, nl as SupervisorSpanOptions, nn as PromptHandle, no as LocalSandboxClientOptions, nr as StructuralRolloutPolicy, ns as VerifySpec, nt as localShell, nu as CoordinationPublicAddress, o as computeFindingId, oa as BenchmarkLift, od as LeaderboardRow, of as MakeWorkerAgent, oi as acquireSandbox, ol as CoordinationBinding, on as createPromptRegistry, oo as InProcessPromptCtx, or as compareCheckOutcomes, os as WidenSpec, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as CoordinationHttpOptions, p as SurfaceReadBox, pa as AgenticOptions, pd as renderLeaderboardHtml, pi as ClaimRetainedInteractiveControlOptions, pl as ResolveSupervisorTools, pn as promptHandle, po as harvestCorpus, pr as resolveEntrySymbol, ps as PersonaContext, pt as createSupervisor, pu as RunCancellation, q as copyUntrackedIntoClone, qa as TerminalDecision, qc as withWorkerSpawnRetry, qd as ContinuityMode, qi as CreateScopeAnalystOptions, ql as FinalizeContext, qm as ExecutorResultMapping, qn as CheckExecChannel, qo as ScopeAnalyst, qr as TurnResult, qt as GraphEdgeCapError, qu as CompletionAnalyst, r as CreateSandboxOptions, ra as sanitizeMcpToolSchema, rd as Interval, rf as DownMessageEvent, ri as SandboxCapabilities, rl as SupervisorSpanOutcome, rn as PromptRegistry, ro as localSandboxClient, rr as StructuralRolloutResult, rs as Widen, rt as runInWorkspace, ru as CoordinationTransportOptions, s as makeFinding, sa as BenchmarkReport, sd as PairwiseOptions, sf as ManagerReentryState, si as S3PrivateCasStoreOptions, sl as CoordinationToolFace, sn as delegatesWorkerBriefPrompt, so as InProcessSandboxClientOptions, sr as composeCheckSources, ss as WinnerStrategy, st as WorkerToolTraceArtifact, su as CoordinationDeliveryEvidence, t as AgentProfile, ta as McpEnvironmentOptions, td as AxisScoresOf, tf as DownMessageDeliveryAttempt, ti as createSandboxLineage, tl as SupervisorSpanAttributes, to as captureBeforeDestroy, tr as StructuralRolloutMessage, ts as Verify, tt as jjWorkspace, tu as CoordinationMcpHandle, u as BoxSurfaceReaderOptions, ua as Environment, ud as ScoreOf, uf as QuestionEscalationOutcome, ui as recoverRetainedRun, ul as DriveHarnessOwnerContext, un as formatPromptHandle, uo as HarvestError, ur as filterAuthoredAsserts, us as LoopShape, ut as workerTraceAnalysisStore, uu as FileCoordinationLog, v as fsSurfaceReader, va as ArtifactHandle, vd as AuditIntentOptions, vi as ResolveSandboxClientOptions, vl as SupervisorNodeContextSeed, vn as freeSlots, vo as ObserveOptions, vr as EvolutionAuthor, vs as ShapeContext, vt as ScopeArgs, vu as WriteWorkerSteerOptions, w as SurfaceWorkerOut, wa as StrategyCtx, wd as AnytimeTaskCurve, wf as WorkerResumeContext, wi as PrivateCasArtifactPort, wl as supervisorAgent, wo as Corpus, wr as TournamentRow, ws as LeaderboardFlagSpec, wt as ProvisionSupervisorRequest, wu as readRunCancellation, x as SuperviseSurfaceOptions, xa as ShotSpec, xd as defaultAuditorInstruction, xf as SpawnRefusal, xi as profileOptimizerModelCall, xl as SupervisorToolInvocationContext, xn as DelegateOptions, xo as renderReport, xr as StrategyEvolutionConfig, xs as LeaderboardBenchScore, xt as SqlRunContext, xu as legacySupervisorRunDir, y as harvestSurfaceDiffs, ya as CorpusReadbackOptions, yd as IntentAudit, yf as SpawnPreflight, yi as resolveSandboxClient, yl as SupervisorProfile, yn as queueOf, yo as defaultAnalystInstruction, yr as EvolutionReport, ys as ShapeRegistry, yt as createScope, yu as cancelRun, z as NOTE_MAX_CHARS, za as LoopOptionsForDispatch, zc as workerFromBackend, zd as AnalystRegistry, zh as SpawnForestTree, zi as fanout, zl as noProgressFor, zm as BusStats, zn as AuthoredProfile, zo as Panel, zr as connectStdioMcp, zs as readDeclaredCheck, zt as readWorkerInteractiveAdmissions, zu as workerInboxFile } from "./index-CfMzoFhW.js";
|
|
2
|
+
import { $ as WorkspaceRun, $a as SandboxEvidenceRetentionError, $c as createInMemoryRunContext, $d as DefinedAnalystRecord, $i as observationFromRegistry, $l as runFinalizer, $m as openSqlRunStore, $n as RepairStop, $o as TrajectoryReportFn, $r as SandboxLineageHandle, $t as defaultEdgeTraversalCap, $u as sentinelCompletion, A as worktreeFanout, Aa as breadthStrategy, Ac as AuthorizedSpawnContext, Ad as WaterfallCollector, Ah as FileResultBlobStore, Ai as trajectoryReport, Al as ProgressTracker, An as unsafeInProcessRunner, Ao as EqualKVerdict, Ar as authorStrategy, As as defineLeaderboard, At as WorktreeCliExecutorOptions, Au as runCancellationFile, B as VERIFY_TAIL_CHARS, Ba as SuperviseDispatchOptions, Bc as ResolvedWorkerSpawnRetry, Bh as loadSpawnForest, Bi as flatWidenGate, Bl as plateau, Bm as EventBus, Bn as ProfileRichness, Bo as PanelJudge, Br as materializeLocalMcp, Bs as IsolatedCheckBox, Bt as workerInteractiveAdmissionFile, Bu as workerInboxFileFromEventDir, C as SurfaceWorkerConfig, Ca as StrategyArtifacts, Cd as AnytimeStrategySummary, Cf as SuperviseProfileEntry, Ci as assertProfileModelsAllowed, Cl as resolveSupervisorProfile, Cn as delegate, Co as CombinatorShape, Cr as TournamentCell, Cs as LeaderboardBenchmarkAdapter, Ct as ProvisionSupervisorConnection, Cu as readRunCancelRequest, D as superviseSurface, Da as StrategyShotResult, Dd as bestSoFar, Dh as SqlResultBlobStore, Di as PrivateCasOptions, Dl as NoProgressForOptions, Dn as CodeModeOptions, Do as EqualKArm, Dr as AuthorStrategyOptions, Ds as LeaderboardScenario, Dt as provisionSupervisor, Du as readWorkerSteerAcknowledgement, E as failuresAnalyst, Ea as StrategyResult, Ed as areaUnderCurve, Ef as WorkerWatchOptions, Ei as PrivateCasOffloadReport, El as AllWorkersStalledOptions, En as finalizeBestDelivered, Eo as CorpusRecord, Er as strategyTournament, Es as LeaderboardRunContext, Et as SupervisorCleanupReceipt, Eu as readWorkerCancellation, F as readWorkerInteractiveBinding, Fa as sample, Fc as SuperviseRegistryTable, Fh as SpawnForestEvent, Fi as runPersonified, Fl as allOf, Fn as ChatWorkerSeamOptions, Fo as FlatWidenGate, Fr as McpSpawnFault, Fs as checkProgramDigest, Ft as InteractiveWorkerOptions, Fu as workerCancelRequestsFile, G as CopyOptions, Ga as RunAgentRoundsOptions, Gc as resolveWorkerSpawnRetry, Gd as AuthorizedDownMessage, Gi as verify, Gl as composeReentryTask, Gm as watchTrace, Gn as profileRichnessFinding, Go as RenderCorpusToInstructions, Gr as SandboxRun, Gt as EdgeTraversal, Gu as workerSteersDir, H as closingWorkerNote, Ha as loopCampaignDispatch, Hc as WorkerSpawnRetryHooks, Hd as AuthoredAnalystDefinition, Hh as pendingWaits, Hi as panel, Hl as ReentryContinuity, Hm as createEventBus, Hn as asAuthoredProfile, Ho as PanelVerdict, Hr as OpenSandboxRunBeforeStartContext, Hs as IsolatedCheckOptions, Ht as createInPlaceCliExecutor, Hu as workerSteerAcknowledgementsDir, I as workerInteractiveBindingFile, Ia as sampleThenRefine, Id as AnalystFindingEvent, Ih as SpawnForestInDoubtNode, Ii as FileCorpus, Il as allWorkersStalled, In as chatTransportExecutor, Io as LoopUntil, Ir as McpToolDescriptor, Is as declaredCheckDeliverable, It as InteractiveWorkerResult, Iu as workerCancellationFile, J as withUntrackedArtifacts, Ja as defaultSelectWinner, Jc as InMemoryRunContext, Jd as CoordinationEvent, Ji as RegistryAnalyzeProjection, Jl as FinalizerSettled, Jm as gateOnDeliverable, Jn as CheckOutcome, Jo as ScopeAnalyzeInput, Jr as openSandboxRun, Jt as GraphNode, Ju as CompletionEvidence, K as UntrackedCopyStats, Ka as TERMINAL_DECISIONS, Kc as retryPreSpawnRefusals, Kd as ContinuationInstruction, Ki as widen, Kl as DeliveredOutput, Km as DeliverableSpec, Kn as supervisorInstructions, Ko as RenderCorpusToInstructionsOptions, Kr as SandboxRunAbortError, Kt as GraphEdge, Ku as writeWorkerSteer, L as workerInteractiveBindingsDir, La as LoopCampaignDispatchOptions, Lc as supervise, Ld as AnalystKind, Lh as SpawnForestMissingTree, Li as InMemoryCorpus, Ll as anyOf, Lm as BusEvent, Ln as chatWorkerSeam, Lo as LoopUntilSpec, Lr as StdioMcpConnection, Ls as declaredCheckDigest, Lt as workerFromInteractiveProvider, Lu as workerCancellationsDir, M as WorkerInteractiveBinding, Ma as depthStrategy, Mc as DeliverableResolutionInput, Md as WaterfallSpan, Mh as InMemoryResultBlobStore, Mi as createShapeRegistry, Ml as ProgressView, Mn as ChatSessionStore, Mo as FanoutOptions, Mr as strategyAuthorSystemPrompt, Ms as DeclaredCheckPlacement, Mt as createWorktreeCliExecutor, Mu as supervisorRunDir, N as WorkerInteractiveProviderSource, Na as refine, Nc as SuperviseOptions, Nd as createWaterfallCollector, Nh as InMemorySpawnJournal, Ni as registerShape, Nl as StopDecision, Nn as ChatTransportExecutorOptions, No as FanoutSynthesis, Nr as LocalMcpMaterialization, Ns as DeclaredCheckStateCapture, Nt as InteractiveWorkerEnvironment, Nu as supervisorRunsRoot, O as AuthoredHarness, Oa as SurfaceScore, Od as plateauLength, Of as canonicalFindingEvent, Oh as SqlSpawnJournal, Oi as createPrivateCasArtifactPort, Ol as PlateauOptions, On as CodeModeRunner, Oo as EqualKOnCost, Or as AuthoredStrategy, Os as LeaderboardScore, Ot as PatchDeliverableOptions, Ou as readWorkerSteerRequests, P as attachWorker, Pa as runAgentic, Pc as SuperviseRegistry, Ph as SpawnForest, Pi as definePersona, Pl as StopRule, Pn as ChatTransportTool, Po as FanoutWinnerSelector, Pr as MaterializeLocalMcpOptions, Ps as assertDeclaredCheck, Pt as InteractiveWorkerKeyInput, Pu as supervisorWorkersDir, Q as WorkspaceCommit, Qa as SandboxEvidenceReceipt, Qc as createFileRunContext, Qd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, Qi as registryScopeAnalyst, Ql as pickBestDelivered, Qm as SqlRunStoreOptions, Qn as CheckSourceCtx, Qo as TrajectoryReport, Qr as SandboxLineage, Qt as TraversalContinuity, Qu as deterministicCompletion, R as EVIDENCE_MAX_CHARS, Ra as LoopDispatchOptions, Rd as AnalystLensOutput, Rh as SpawnForestNode, Ri as renderCorpusToInstructions, Rl as createProgressTracker, Rm as BusRecord, Rn as createChatSessionStore, Ro as LoopUntilState, Rr as StdioMcpServerSpec, Rs as declaredCheckJudge, Rt as WorkerInteractiveAdmission, Ru as workerControlLogFile, S as SuperviseSurfaceResult, Sa as Strategy, Sd as AnytimeReport, Sf as SpawnRefusalCause, Si as assertModelAllowed, Sl as assertCoordinationBinding, Sn as defaultDelegateBudget, So as AssertTraceDerivedFindings, Sr as StrategyTournament, Ss as LeaderboardBenchTask, St as createSqlRunContext, Su as legacySupervisorRunsRoot, T as analystsFromRegistry, Ta as StrategyMessage, Td as anytimeReport, Tf as WorkerSpawnContext, Ti as PrivateCasDurableStore, To as CorpusFilter, Tr as runStrategyEvolution, Ts as LeaderboardIterationInfo, Tt as ProvisionedSupervisor, Tu as readWorkerCancelRequests, U as composeWorkerEvidence, Ua as loopDispatch, Uc as WorkerSpawnRetryPolicy, Ud as AuthoredAnalystLimits, Uh as replaySpawnTree, Ui as pipeline, Ul as ReentryTaskInput, Um as WatchTraceOptions, Un as assessAuthoredProfile, Uo as Pipeline, Ur as OpenSandboxRunOptions, Us as IsolatedCheckResult, Ut as AgentGraph, Uu as workerSteerRequestFile, V as WorkerEvidenceInput, Va as SuperviseOptionsForDispatch, Vc as WorkerSpawnRetryAttempt, Vd as AnalyzeOnSettleRoute, Vh as materializeTreeView, Vi as loopUntil, Vl as sampleFromSettled, Vm as PublishOptions, Vn as ProfileRichnessThresholds, Vo as PanelSpec, Vr as Deliverable, Vs as IsolatedCheckBoxEvidence, Vt as InPlaceCliExecutorOptions, Vu as workerSteerAcknowledgementFile, W as settledWorkerOut, Wa as superviseDispatch, Wc as isPreSpawnExecutorFailure, Wd as AuthorizeDownMessage, Wh as contentAddress, Wi as selectValidWinner, Wl as UNPROVEN_CONTINUITY, Wm as defaultToolDetectors, Wn as defaultProfileRichnessThresholds, Wo as PipelineStage, Wr as OpenSandboxRunPromptOptions, Ws as runIsolatedCheck, Wt as EdgeDeliveryOutcome, Wu as workerSteerRequestsDir, X as Shell, Xa as runAgentRounds, Xc as RunContext, Xi as buildSteerContext, Xl as bestDelivered, Xm as SqlRunLease, Xn as CheckRunner, Xo as SteerContext, Xr as CheckpointCapableBox, Xt as RunGraphOptions, Xu as CompletionVerdict, Y as GitWorkspaceOptions, Ya as isTerminalDecision, Yc as InMemoryRunContextOptions, Yd as CoordinationStats, Yi as assertTraceDerivedFindings, Yl as SupervisorFinalizer, Ym as mapExecutorResult, Yn as CheckRunContext, Yo as ScopeWidenGate, Yr as BranchCapableBox, Yt as GraphResult, Yu as CompletionPolicy, Z as Workspace, Za as SandboxEvidenceContext, Zc as RunContextLease, Zi as createScopeAnalyst, Zl as collectDelivered, Zm as SqlRunOwnershipError, Zn as CheckSource, Zo as TrajectoryNode, Zr as ForkCapableBox, Zu as completionAuthorizes, _ as boxSurfaceReader, _a as AgenticTool, _d as AuditIntentInput, _i as startRetainedInteractiveRun, _l as SupervisorNodeContext, _n as RollingDispatchOptions, _o as ObserveInput, _r as visibleCheckScore, _s as ShapeBudget, _t as SUBTREE_RESULT_LIMIT, _u as WorkerSteerRequest, a as SandboxInstance, aa as BenchmarkConfig, ad as LeaderboardOptions, af as EventAcknowledgement, ai as AcquireOptions, al as createSupervisorSpanRecorder, an as analyzesFindingsReportPrompt, ao as InProcessOnPrompt, ar as canDisplace, as as WidenLineage, at as analyzeTrace, au as CoordinationHttpAudit, b as AnalystAuthoring, ba as RunAgenticOptions, bd as auditIntent, bf as SpawnPreflightContext, bi as profileChatClient, bl as SupervisorToolDescriptor, bn as rollingDispatch, bo as observe, br as EvolutionStrategy, bs as DefinedLeaderboard, bt as settledToIteration, bu as cancelWorker, c as VerifierEnvironmentOptions, ca as BenchmarkStrategySummary, cd as PairwiseVerdict, ci as createS3PrivateCasStore, cl as CoordinationVerbs, cn as dumbContinuationFailPrompt, co as inProcessSandboxClient, cr as defaultExtractCandidate, cs as DefinePersona, ct as captureWorkerTraceEvidence, cu as CoordinationLog, d as HarvestSurfaceDiffsOptions, da as printBenchmarkReport, dd as leaderboard, df as QuestionEscalationRecord, di as startRetainedRun, dl as ObserveSupervisorNodeEvent, dn as kernelPromptRegistry, do as HarvestFailure, dr as modelAuthoredChecks, ds as Outcome, dt as DEFAULT_MAX_DEPTH, du as PriorCoordination, ea as McpEndpoint, ed as stopSentinel, ef as DownMessageAuthorizationInput, ei as SessionCapableBox, el as withRunContext, en as runGraph, eo as SandboxEvidenceRetentionPort, er as StructuralRolloutConfig, es as TrajectoryReportOptions, et as gitWorkspace, eu as CoordinationAuthentication, f as SurfaceDiff, fa as runBenchmark, fd as pairwiseSignificance, fi as startRetainedRunInEnvironment, fl as ResolveDriveHarness, fn as naiveContinuationPrompt, fo as HarvestReport, fr as officialChecksFromMeta, fs as Persona, ft as createRootHandle, fu as RunCancelRequest, g as WatchedSurface, ga as AgenticTask, gd as renderPairwiseMarkdown, gi as recoverRetainedInteractiveRun, gn as DispatchUnit, go as ObservationError, gr as structuralRollout, gs as RunPersonifiedOptions, gt as createFencedSqlRunContext, gu as WorkerSteerAcknowledgement, h as SurfaceReader, ha as AgenticSurface, hd as renderLeaderboardSvg, hi as reconnectRetainedInteractiveRun, hl as SupervisorAgentDeps, hn as DispatchStopReason, ho as ObservationAnalysis, hr as selectBestIndex, hs as RunPersonified, ht as SqlRunContextOptions, hu as WorkerCancellation, i as SandboxEvent, ia as BenchmarkCell, id as Leaderboard, if as EscalateQuestion, ii as probeSandboxCapabilities, il as SupervisorSpanRecorder, in as RegisteredPrompt, io as inlineSandboxClient, ir as VisibleCheck, is as WidenDecision, it as TrajectoryAnalysis, iu as serveCoordinationMcp, j as AttachWorkerOptions, ja as defineStrategy, jc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, jd as WaterfallReport, jf as normalizeAnalyzeOnSettle, jh as FileSpawnJournal, ji as builtinShapes, jl as ProgressTrackerOptions, jn as ChatCompletionsTransport, jo as Fanout, jr as strategyAuthorContract, js as DeclaredCheck, jt as WorktreePatchArtifact, ju as safeWorkerFile, k as WorktreeFanoutOptions, ka as adaptiveRefine, kc as AuthorizedSpawn, kd as renderAnytimeTable, kh as SqlStatements, ki as equalKOnCost, kl as ProgressSample, kn as codeModeSupervisorTools, ko as EqualKOnCostOptions, kr as assertStrategyContract, ks as LeaderboardSpec, kt as patchDelivered, ku as runCancelRequestFile, l as createVerifierEnvironment, la as BenchmarkTaskRow, ld as ProfileKeyOf, li as reconnectRetainedRun, ll as DriveHarness, ln as dumbContinuationPassPrompt, lo as HarvestCorpusOptions, lr as defaultStructuralRolloutPolicy, ls as DefinePersonaInput, lt as parseWorkerToolTraceArtifact, lu as CoordinationOwnerId, m as SurfaceReadOutcome, ma as AgenticRunResult, md as renderLeaderboardMarkdown, mi as claimRetainedInteractiveControl, ml as ResolvedSupervisorProfile, mn as DispatchReport, mo as Observation, mr as sandboxCheckRunner, ms as PersonaExecutors, mt as FencedSqlRunContext, mu as WorkerCancelRequest, n as AnalystFinding, na as createMcpEnvironment, nd as GroupOf, nf as DownMessageDeliveryOutcome, ni as CriuCapableClient, nl as SupervisorSpanOptions, nn as PromptHandle, no as LocalSandboxClientOptions, nr as StructuralRolloutPolicy, ns as VerifySpec, nt as localShell, nu as CoordinationPublicAddress, o as computeFindingId, oa as BenchmarkLift, od as LeaderboardRow, of as MakeWorkerAgent, oi as acquireSandbox, ol as CoordinationBinding, on as createPromptRegistry, oo as InProcessPromptCtx, or as compareCheckOutcomes, os as WidenSpec, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as CoordinationHttpOptions, p as SurfaceReadBox, pa as AgenticOptions, pd as renderLeaderboardHtml, pi as ClaimRetainedInteractiveControlOptions, pl as ResolveSupervisorTools, pn as promptHandle, po as harvestCorpus, pr as resolveEntrySymbol, ps as PersonaContext, pt as createSupervisor, pu as RunCancellation, q as copyUntrackedIntoClone, qa as TerminalDecision, qc as withWorkerSpawnRetry, qd as ContinuityMode, qi as CreateScopeAnalystOptions, ql as FinalizeContext, qm as ExecutorResultMapping, qn as CheckExecChannel, qo as ScopeAnalyst, qr as TurnResult, qt as GraphEdgeCapError, qu as CompletionAnalyst, r as CreateSandboxOptions, ra as sanitizeMcpToolSchema, rd as Interval, rf as DownMessageEvent, ri as SandboxCapabilities, rl as SupervisorSpanOutcome, rn as PromptRegistry, ro as localSandboxClient, rr as StructuralRolloutResult, rs as Widen, rt as runInWorkspace, ru as CoordinationTransportOptions, s as makeFinding, sa as BenchmarkReport, sd as PairwiseOptions, sf as ManagerReentryState, si as S3PrivateCasStoreOptions, sl as CoordinationToolFace, sn as delegatesWorkerBriefPrompt, so as InProcessSandboxClientOptions, sr as composeCheckSources, ss as WinnerStrategy, st as WorkerToolTraceArtifact, su as CoordinationDeliveryEvidence, t as AgentProfile, ta as McpEnvironmentOptions, td as AxisScoresOf, tf as DownMessageDeliveryAttempt, ti as createSandboxLineage, tl as SupervisorSpanAttributes, to as captureBeforeDestroy, tr as StructuralRolloutMessage, ts as Verify, tt as jjWorkspace, tu as CoordinationMcpHandle, u as BoxSurfaceReaderOptions, ua as Environment, ud as ScoreOf, uf as QuestionEscalationOutcome, ui as recoverRetainedRun, ul as DriveHarnessOwnerContext, un as formatPromptHandle, uo as HarvestError, ur as filterAuthoredAsserts, us as LoopShape, ut as workerTraceAnalysisStore, uu as FileCoordinationLog, v as fsSurfaceReader, va as ArtifactHandle, vd as AuditIntentOptions, vi as ResolveSandboxClientOptions, vl as SupervisorNodeContextSeed, vn as freeSlots, vo as ObserveOptions, vr as EvolutionAuthor, vs as ShapeContext, vt as ScopeArgs, vu as WriteWorkerSteerOptions, w as SurfaceWorkerOut, wa as StrategyCtx, wd as AnytimeTaskCurve, wf as WorkerResumeContext, wi as PrivateCasArtifactPort, wl as supervisorAgent, wo as Corpus, wr as TournamentRow, ws as LeaderboardFlagSpec, wt as ProvisionSupervisorRequest, wu as readRunCancellation, x as SuperviseSurfaceOptions, xa as ShotSpec, xd as defaultAuditorInstruction, xf as SpawnRefusal, xi as profileOptimizerModelCall, xl as SupervisorToolInvocationContext, xn as DelegateOptions, xo as renderReport, xr as StrategyEvolutionConfig, xs as LeaderboardBenchScore, xt as SqlRunContext, xu as legacySupervisorRunDir, y as harvestSurfaceDiffs, ya as CorpusReadbackOptions, yd as IntentAudit, yf as SpawnPreflight, yi as resolveSandboxClient, yl as SupervisorProfile, yn as queueOf, yo as defaultAnalystInstruction, yr as EvolutionReport, ys as ShapeRegistry, yt as createScope, yu as cancelRun, z as NOTE_MAX_CHARS, za as LoopOptionsForDispatch, zc as workerFromBackend, zd as AnalystRegistry, zh as SpawnForestTree, zi as fanout, zl as noProgressFor, zm as BusStats, zn as AuthoredProfile, zo as Panel, zr as connectStdioMcp, zs as readDeclaredCheck, zt as readWorkerInteractiveAdmissions, zu as workerInboxFile } from "./index-D5p4txpC.js";
|
|
3
3
|
import { $ as decodeHarnessUsage, $n as PeerMailEnvelope, $t as WorkspaceRequest, A as createInbox, At as AgentEnvironmentProvider, B as secretEnvOfMcpServer, 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 ToolLoopChat, Gt as ExecResult, H as CodexRolloutIdentity, Hn as RouterTransportConfig, Ht as CheckpointRequest, I as envKeyProvider, It as AgentProfileRef, J as addHarnessUsage, Jn as ToolLoopMessageRecord, Jt as ProviderAsSandboxClientOptions, K as CodexRolloutTurn, Kn as ToolLoopCompaction, Kt as ForkRequest, 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 PEER_MAIL_WIRE_KEY, Qt as ResourceRequest, R as resolveMcpServerLaunch, Rt as AgentSessionRef, S as SandboxSteeringOptions, St as mapSandboxEvent, T as createSteerableSandboxSession, Tt as sandboxProgressEvents, U as CodexRolloutSession, Un as ToolSpec, Ut as CreateAgentEnvironmentInput, V as CodexForkBoundary, Vn as RouterResponseReceipt, Vt as CheckpointRef, W as CodexRolloutStoreReader, Wn as ToolLoopCallContext, Wt as ExecRequest, X as harnessUsageIsEmpty, Xn as AUTHORITY_MARKERS, Xt as ProviderLeafOut, Y as createCodexRolloutStoreReader, Yn as ToolLoopToolCall, Yt as ProviderExecutorOptions, Z as readCodexRolloutSession, Zn as DEFAULT_PEER_MAIL_LIMITS, Zt as ProviderPromptOptions, _ as cliInPlaceExecutor, _n as WorktreeCommandResult, _t as SandboxUsageLedger, a as StreamAgentTurnOptions, an as SandboxControlClient, ar as PeerMailRefusal, at as SharedBoxPlacement, b as createExecutorRegistry, bt as createSandboxUsageLedger, c as CliInPlaceSeam, cn as ProviderWorkspaceCaptureProvenance, cr as PeerMailboxOptions, ct as SharedBoxStats, d as CliWorktreeSeam, dn as ProviderWorkspaceEntryMetadata, dr as isPeerMailEnvelope, dt as sharedBoxRefusal, en as createAgentEnvironmentProviderRegistry, er as PeerMailEvent, et as DEFAULT_SHARED_BOX_RESOURCES, f as ExecutorConfig, fn as ProviderWorkspaceRetentionContext, fr as peerMailTools, ft as sharedWorkerClientName, g as SandboxSeam, gn as WorktreeCheckRunner, gt as SandboxToolPartState, h as RouterToolsSeam, hn as InPlaceHarnessResult, ht as SandboxServedBackend, i as CollectedAgentTurn, in as CreateTangleSandboxExactProcessProviderOptions, ir as PeerMailReadout, it as SharedBoxHandle, j as BridgeHarnessStore, jt as AgentEnvironmentProviderRef, k as PeerInboxMessage, kt as AgentEnvironmentEvent, l as CliSeam, ln as ProviderWorkspaceCaptureReceipt, lr as claimsAuthority, lt as SharedWorkerIdentity, m as RouterSeam, mn as ProviderPlacement, mt as SandboxOutputMarker, n as AgentTurnInput, nn as providerAsSandboxClient, nr as PeerMailLimits, nt as ROUTER_CLIENT_HEADER, o as collectAgentTurn, on as createTangleSandboxExactProcessProvider, or as PeerMailSendInput, ot as SharedBoxPlacementOptions, p as ProviderSeam, pn as ProviderWorkspaceRetentionPort, pr as peerMailVerbNames, pt as SandboxLeafOut, q as CodexStoreDelta, qn as ToolLoopCompactionOptions, qt as PlacementInfo, r as AgentTurnUsage, rn as resolveAgentEnvironmentProvider, rr as PeerMailOutcome, rt as SharedBoxCloseReceipt, s as streamAgentTurn, sn as ProviderWorkspaceAttemptProvenance, sr as PeerMailbox, st as SharedBoxProcess, t as AgentTurnBackend, tn as providerAsExecutor, tr as PeerMailKind, tt as DEFAULT_SHARED_BOX_WORKERS, u as CliWorktreeBridgeSeam, un as ProviderWorkspaceCaptureResult, ur as createPeerMailbox, ut as sharedBoxPlacement, v as cliWorktreeExecutor, vn as WorktreeHarnessResult, vt as assertSandboxServedModel, w as SteerableSandboxSession, wt as sandboxEventServedBackend, x as DEFAULT_SANDBOX_STEERING_MAX_TURNS, xt as extractLlmCallEvent, y as createExecutor, yn as WorktreeProfileMaterializationReceipt, yt as createSandboxToolPartState, z as resolveSecretEnv, zt as AgentSessionStatus } from "./stream-agent-turn-D6lDcAYs.js";
|
|
4
4
|
import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-0fKkoweu.js";
|
|
5
5
|
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_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 PrivateCasArtifactPort, type PrivateCasDurableStore, type PrivateCasOffloadReport, type PrivateCasOptions, 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 ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, 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 RouterResponseReceipt, 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, type S3PrivateCasStoreOptions, SUBTREE_RESULT_LIMIT, type SandboxCapabilities, type SandboxClient, type SandboxControlClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, SandboxEvidenceRetentionError, type SandboxEvidenceRetentionPort, 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 TaskQueueEntry, type TaskQueueOptions, type TaskQueueSettlement, 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, captureBeforeDestroy, 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, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, 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, runTaskQueue, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, 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,12 +1,12 @@
|
|
|
1
|
-
import { $n as parseWorkerToolTraceArtifact, $t as isPeerMailEnvelope, An as resolveAgentEnvironmentProvider, At as createExecutor, Bn as InMemoryResultBlobStore, Br as createOtelExporter, Bt as workerTraceEnv, Ct as freeSlots, D as passedItems, Dn as createAgentEnvironmentProviderRegistry, E as failedItems, Er as persistHarnessTranscript, Fn as sandboxSessionTraceSource, Ft as createSteerableSandboxSession, G as settledToIteration, Gt as createActivityLog, Ht as workerTraceSeamKey, I as createScope, J as pollFor, Jn as pendingWaits, Jt as AUTHORITY_MARKERS, K as createWaitProbes, Kn as loadSpawnForest, Kt as readWorkerProgress, Lt as createInPlaceCliExecutor, N as SUBTREE_RESULT_LIMIT, Nn as createPushTraceSource, Nt as createWorktreeCliExecutor, O as verdictFromJudgeScore, On as providerAsExecutor, Or as contentAddress, Ot as cliInPlaceExecutor, Pn as decodeToolPart, Pt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Qt as createPeerMailbox, Rn as FileResultBlobStore, S as composeContinuationNote, St as startRetainedInteractiveRun, T as expandQuestions, Tr as harnessTranscriptArtifact, Tt as rollingDispatch, Vn as InMemorySpawnJournal, Vt as workerTraceHeaders, Wt as DEFAULT_STALL_AFTER_MS, X as validateWaitSpec, Xn as WORKER_TOOL_TRACE_SCHEMA_VERSION, Xt as PEER_MAIL_WIRE_KEY, Y as timerAt, Yn as replaySpawnTree, Yt as DEFAULT_PEER_MAIL_LIMITS, Z as waitUntil, Zn as captureWorkerTraceEvidence, Zt as claimsAuthority, _ as CheckUnavailableError, _n as createSandboxLineage, _t as readWorkerInteractiveBinding, a as collectDelivered, aa as extractLlmCallEvent, ar as createBudgetPool, bn as SandboxEvidenceRetentionError, bt as reconnectRetainedInteractiveRun, ca as mapSandboxToolEvent, cn as harnessUsageIsEmpty, cr as spendFromUsageEvents, d as classifyDriverFailure, da as sandboxProgressEvents, dr as reconnectRetainedRun, en as peerMailTools, er as workerTraceAnalysisStore, fa as sumSandboxUsage, fn as TERMINAL_DECISIONS, fr as recoverRetainedRun, g as CONTINUATION_FACTS, gn as runAgentRounds, gt as attachWorker, h as CONTINUATIONS_DIR, hn as isTerminalDecision, ht as workerInteractiveAdmissionFile, i as bestDelivered, ia as createSandboxUsageLedger, ja as decodeHarnessUsage, jt as createExecutorRegistry, kn as providerAsSandboxClient, kt as cliWorktreeExecutor, l as DriverAttemptsExhaustedError, ln as readCodexRolloutSession, m as upstreamUnavailableSignal, mn as defaultSelectWinner, mr as startRetainedRunInEnvironment, mt as readWorkerInteractiveAdmissions, n as createRootHandle, nr as BudgetReconcileFault, o as pickBestDelivered, on as addHarnessUsage, p as summarizeDriverAttempts, pr as startRetainedRun, q as isWaitOutcome, qn as materializeTreeView, qt as createInbox, r as createSupervisor, ra as createSandboxToolPartState, rr as ReservationWaitRefused, s as runFinalizer, sa as mapSandboxEvent, sn as createCodexRolloutStoreReader, t as DEFAULT_MAX_DEPTH, ta as assertSandboxServedModel, tn as peerMailVerbNames, ua as sandboxEventServedBackend, v as admitContinuationPolicy, vn as probeSandboxCapabilities, vr as createWorkerSlots, vt as workerInteractiveBindingFile, w as distillFindings, wr as captureHarnessTranscript, wt as queueOf, x as checkVerdictOf, xn as captureBeforeDestroy, xt as recoverRetainedInteractiveRun, y as admitFinding, yn as acquireSandbox, yt as workerInteractiveBindingsDir, zn as FileSpawnJournal, zr as createOpenInferenceFileExporter, zt as readWorkerTraceContext } from "./supervisor-
|
|
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-
|
|
1
|
+
import { $n as parseWorkerToolTraceArtifact, $t as isPeerMailEnvelope, An as resolveAgentEnvironmentProvider, At as createExecutor, Bn as InMemoryResultBlobStore, Br as createOtelExporter, Bt as workerTraceEnv, Ct as freeSlots, D as passedItems, Dn as createAgentEnvironmentProviderRegistry, E as failedItems, Er as persistHarnessTranscript, Fn as sandboxSessionTraceSource, Ft as createSteerableSandboxSession, G as settledToIteration, Gt as createActivityLog, Ht as workerTraceSeamKey, I as createScope, J as pollFor, Jn as pendingWaits, Jt as AUTHORITY_MARKERS, K as createWaitProbes, Kn as loadSpawnForest, Kt as readWorkerProgress, Lt as createInPlaceCliExecutor, N as SUBTREE_RESULT_LIMIT, Nn as createPushTraceSource, Nt as createWorktreeCliExecutor, O as verdictFromJudgeScore, On as providerAsExecutor, Or as contentAddress, Ot as cliInPlaceExecutor, Pn as decodeToolPart, Pt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Qt as createPeerMailbox, Rn as FileResultBlobStore, S as composeContinuationNote, St as startRetainedInteractiveRun, T as expandQuestions, Tr as harnessTranscriptArtifact, Tt as rollingDispatch, Vn as InMemorySpawnJournal, Vt as workerTraceHeaders, Wt as DEFAULT_STALL_AFTER_MS, X as validateWaitSpec, Xn as WORKER_TOOL_TRACE_SCHEMA_VERSION, Xt as PEER_MAIL_WIRE_KEY, Y as timerAt, Yn as replaySpawnTree, Yt as DEFAULT_PEER_MAIL_LIMITS, Z as waitUntil, Zn as captureWorkerTraceEvidence, Zt as claimsAuthority, _ as CheckUnavailableError, _n as createSandboxLineage, _t as readWorkerInteractiveBinding, a as collectDelivered, aa as extractLlmCallEvent, ar as createBudgetPool, bn as SandboxEvidenceRetentionError, bt as reconnectRetainedInteractiveRun, ca as mapSandboxToolEvent, cn as harnessUsageIsEmpty, cr as spendFromUsageEvents, d as classifyDriverFailure, da as sandboxProgressEvents, dr as reconnectRetainedRun, en as peerMailTools, er as workerTraceAnalysisStore, fa as sumSandboxUsage, fn as TERMINAL_DECISIONS, fr as recoverRetainedRun, g as CONTINUATION_FACTS, gn as runAgentRounds, gt as attachWorker, h as CONTINUATIONS_DIR, hn as isTerminalDecision, ht as workerInteractiveAdmissionFile, i as bestDelivered, ia as createSandboxUsageLedger, ja as decodeHarnessUsage, jt as createExecutorRegistry, kn as providerAsSandboxClient, kt as cliWorktreeExecutor, l as DriverAttemptsExhaustedError, ln as readCodexRolloutSession, m as upstreamUnavailableSignal, mn as defaultSelectWinner, mr as startRetainedRunInEnvironment, mt as readWorkerInteractiveAdmissions, n as createRootHandle, nr as BudgetReconcileFault, o as pickBestDelivered, on as addHarnessUsage, p as summarizeDriverAttempts, pr as startRetainedRun, q as isWaitOutcome, qn as materializeTreeView, qt as createInbox, r as createSupervisor, ra as createSandboxToolPartState, rr as ReservationWaitRefused, s as runFinalizer, sa as mapSandboxEvent, sn as createCodexRolloutStoreReader, t as DEFAULT_MAX_DEPTH, ta as assertSandboxServedModel, tn as peerMailVerbNames, ua as sandboxEventServedBackend, v as admitContinuationPolicy, vn as probeSandboxCapabilities, vr as createWorkerSlots, vt as workerInteractiveBindingFile, w as distillFindings, wr as captureHarnessTranscript, wt as queueOf, x as checkVerdictOf, xn as captureBeforeDestroy, xt as recoverRetainedInteractiveRun, y as admitFinding, yn as acquireSandbox, yt as workerInteractiveBindingsDir, zn as FileSpawnJournal, zr as createOpenInferenceFileExporter, zt as readWorkerTraceContext } from "./supervisor-B1jEhBXU.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-D3WdgmuN.js";
|
|
3
3
|
import { runTaskQueue } from "./task-queue.js";
|
|
4
4
|
import { n as assertModelAllowed, r as assertProfileModelsAllowed } from "./model-policy-DydyWTQg.js";
|
|
5
|
-
import { $ as FileCorpus, $t as envKeyProvider, A as unsafeInProcessRunner, At as readDeclaredCheck, B as SandboxRunAbortError, Bt as renderLeaderboardSvg, C as withUntrackedArtifacts, Ct as loopDispatch, D as patchDelivered, Dt as declaredCheckDeliverable, E as createSqlRunContext, Et as checkProgramDigest, F as strategyTournament, Ft as stopSentinel, G as createPrivateCasArtifactPort, Gt as openSqlRunStore, H as createS3PrivateCasStore, Ht as auditIntent, I as assertStrategyContract, It as leaderboard, J as definePersona, Jt as McpSpawnFault, K as equalKOnCost, Kt as SqlResultBlobStore, L as authorStrategy, Lt as pairwiseSignificance, M as chatWorkerSeam, Mt as completionAuthorizes, N as createChatSessionStore, Nt as deterministicCompletion, Ot as declaredCheckDigest, P as runStrategyEvolution, Pt as sentinelCompletion, Q as registerShape, Qt as sanitizeMcpToolSchema, R as strategyAuthorContract, Rt as renderLeaderboardHtml, S as copyUntrackedIntoClone, St as loopCampaignDispatch, T as createFencedSqlRunContext, Tt as assertDeclaredCheck, U as printBenchmarkReport, Ut as defaultAuditorInstruction, V as openSandboxRun, Vt as renderPairwiseMarkdown, W as runBenchmark, Wt as SqlRunOwnershipError, X as builtinShapes, Xt as materializeLocalMcp, Y as runPersonified, Yt as connectStdioMcp, Z as createShapeRegistry, Zt as createMcpEnvironment, _ as NOTE_MAX_CHARS, _t as harvestCorpus, a as localShell, at as panel, b as composeWorkerEvidence, bt as localSandboxClient, c as createVerifierEnvironment, ct as verify, d as harvestSurfaceDiffs, dt as buildSteerContext, en as mcpSecretEnvMetadataKey, et as InMemoryCorpus, f as analystsFromRegistry, ft as createScopeAnalyst, g as EVIDENCE_MAX_CHARS, gt as HarvestError, h as worktreeFanout, ht as inProcessSandboxClient, i as jjWorkspace, in as createTangleSandboxExactProcessProvider, it as loopUntil, j as chatTransportExecutor, jt as runIsolatedCheck, k as codeModeSupervisorTools, kt as declaredCheckJudge, l as boxSurfaceReader, lt as widen, m as superviseSurface, mt as observationFromRegistry, n as makeFinding, nn as resolveSecretEnv, nt as fanout, o as runInWorkspace, ot as pipeline, p as failuresAnalyst, pt as registryScopeAnalyst, q as trajectoryReport, qt as SqlSpawnJournal, r as gitWorkspace, rn as secretEnvOfMcpServer, rt as flatWidenGate, s as createWaterfallCollector, st as selectValidWinner, t as computeFindingId, tn as resolveMcpServerLaunch, tt as renderCorpusToInstructions, u as fsSurfaceReader, ut as assertTraceDerivedFindings, v as VERIFY_TAIL_CHARS, vt as defineLeaderboard, w as analyzeTrace, wt as superviseDispatch, x as settledWorkerOut, xt as inlineSandboxClient, y as closingWorkerNote, yt as resolveSandboxClient, z as strategyAuthorSystemPrompt, zt as renderLeaderboardMarkdown } from "./runtime-
|
|
6
|
-
import { E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, H as defaultToolDetectors, N as normalizeAnalyzeOnSettle, O as canonicalFindingEvent, U as watchTrace, V as createEventBus, _ 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-
|
|
7
|
-
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-
|
|
5
|
+
import { $ as FileCorpus, $t as envKeyProvider, A as unsafeInProcessRunner, At as readDeclaredCheck, B as SandboxRunAbortError, Bt as renderLeaderboardSvg, C as withUntrackedArtifacts, Ct as loopDispatch, D as patchDelivered, Dt as declaredCheckDeliverable, E as createSqlRunContext, Et as checkProgramDigest, F as strategyTournament, Ft as stopSentinel, G as createPrivateCasArtifactPort, Gt as openSqlRunStore, H as createS3PrivateCasStore, Ht as auditIntent, I as assertStrategyContract, It as leaderboard, J as definePersona, Jt as McpSpawnFault, K as equalKOnCost, Kt as SqlResultBlobStore, L as authorStrategy, Lt as pairwiseSignificance, M as chatWorkerSeam, Mt as completionAuthorizes, N as createChatSessionStore, Nt as deterministicCompletion, Ot as declaredCheckDigest, P as runStrategyEvolution, Pt as sentinelCompletion, Q as registerShape, Qt as sanitizeMcpToolSchema, R as strategyAuthorContract, Rt as renderLeaderboardHtml, S as copyUntrackedIntoClone, St as loopCampaignDispatch, T as createFencedSqlRunContext, Tt as assertDeclaredCheck, U as printBenchmarkReport, Ut as defaultAuditorInstruction, V as openSandboxRun, Vt as renderPairwiseMarkdown, W as runBenchmark, Wt as SqlRunOwnershipError, X as builtinShapes, Xt as materializeLocalMcp, Y as runPersonified, Yt as connectStdioMcp, Z as createShapeRegistry, Zt as createMcpEnvironment, _ as NOTE_MAX_CHARS, _t as harvestCorpus, a as localShell, at as panel, b as composeWorkerEvidence, bt as localSandboxClient, c as createVerifierEnvironment, ct as verify, d as harvestSurfaceDiffs, dt as buildSteerContext, en as mcpSecretEnvMetadataKey, et as InMemoryCorpus, f as analystsFromRegistry, ft as createScopeAnalyst, g as EVIDENCE_MAX_CHARS, gt as HarvestError, h as worktreeFanout, ht as inProcessSandboxClient, i as jjWorkspace, in as createTangleSandboxExactProcessProvider, it as loopUntil, j as chatTransportExecutor, jt as runIsolatedCheck, k as codeModeSupervisorTools, kt as declaredCheckJudge, l as boxSurfaceReader, lt as widen, m as superviseSurface, mt as observationFromRegistry, n as makeFinding, nn as resolveSecretEnv, nt as fanout, o as runInWorkspace, ot as pipeline, p as failuresAnalyst, pt as registryScopeAnalyst, q as trajectoryReport, qt as SqlSpawnJournal, r as gitWorkspace, rn as secretEnvOfMcpServer, rt as flatWidenGate, s as createWaterfallCollector, st as selectValidWinner, t as computeFindingId, tn as resolveMcpServerLaunch, tt as renderCorpusToInstructions, u as fsSurfaceReader, ut as assertTraceDerivedFindings, v as VERIFY_TAIL_CHARS, vt as defineLeaderboard, w as analyzeTrace, wt as superviseDispatch, x as settledWorkerOut, xt as inlineSandboxClient, y as closingWorkerNote, yt as resolveSandboxClient, z as strategyAuthorSystemPrompt, zt as renderLeaderboardMarkdown } from "./runtime-Bgf9mm__.js";
|
|
6
|
+
import { E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, H as defaultToolDetectors, N as normalizeAnalyzeOnSettle, O as canonicalFindingEvent, U as watchTrace, V as createEventBus, _ 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-IBnJrG35.js";
|
|
7
|
+
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-D5yxnDzD.js";
|
|
8
8
|
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-DSCWdbX2.js";
|
|
9
|
-
import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-
|
|
10
|
-
import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-
|
|
11
|
-
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-
|
|
9
|
+
import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-DRl8doHG.js";
|
|
10
|
+
import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-D3_pGiGW.js";
|
|
11
|
+
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-BbsdhFNv.js";
|
|
12
12
|
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_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, SandboxEvidenceRetentionError, 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, captureBeforeDestroy, 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, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, 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, runTaskQueue, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, 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
1
|
import { i as Budget } from "./types-C2MBdgd_.js";
|
|
2
2
|
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
|
-
import { O as AuthoredHarness, jt as WorktreePatchArtifact, k as WorktreeFanoutOptions, ss as WinnerStrategy } from "./index-
|
|
3
|
+
import { O as AuthoredHarness, jt as WorktreePatchArtifact, k as WorktreeFanoutOptions, ss as WinnerStrategy } from "./index-D5p4txpC.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-
|
|
165
|
+
//# sourceMappingURL=loop-runner-bin-CIxUa3W_.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jt as createExecutorRegistry } from "./supervisor-
|
|
1
|
+
import { jt as createExecutorRegistry } from "./supervisor-B1jEhBXU.js";
|
|
2
2
|
import { i as ConfigError } from "./errors-DodWX-cb.js";
|
|
3
|
-
import { J as definePersona, Y as runPersonified, h as worktreeFanout } from "./runtime-
|
|
3
|
+
import { J as definePersona, Y as runPersonified, h as worktreeFanout } from "./runtime-Bgf9mm__.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-
|
|
246
|
+
//# sourceMappingURL=loop-runner-bin-DTCYtNxx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loop-runner-bin-C6-NQ7bS.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-DTCYtNxx.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,2 +1,2 @@
|
|
|
1
|
-
import { i as runLoopRunnerCli, n as LoopRunnerCliResult, r as parseLoopRunnerArgv, t as LoopRunnerCliArgs } from "./loop-runner-bin-
|
|
1
|
+
import { i as runLoopRunnerCli, n as LoopRunnerCliResult, r as parseLoopRunnerArgv, t as LoopRunnerCliArgs } from "./loop-runner-bin-CIxUa3W_.js";
|
|
2
2
|
export { LoopRunnerCliArgs, LoopRunnerCliResult, parseLoopRunnerArgv, runLoopRunnerCli };
|
package/dist/loop-runner-bin.js
CHANGED
package/dist/mcp/bin.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { jr as readTraceContextFromEnv } from "../supervisor-
|
|
2
|
+
import { jr as readTraceContextFromEnv } from "../supervisor-B1jEhBXU.js";
|
|
3
3
|
import { i as ConfigError } from "../errors-DodWX-cb.js";
|
|
4
|
-
import { s as supervisorInstructions } from "../delegate-
|
|
5
|
-
import { _ as FileDelegationStore, n as createMcpServer, p as DelegationTaskQueue } from "../server-
|
|
4
|
+
import { s as supervisorInstructions } from "../delegate-D3_pGiGW.js";
|
|
5
|
+
import { _ as FileDelegationStore, n as createMcpServer, p as DelegationTaskQueue } from "../server-B3nNSFlK.js";
|
|
6
6
|
//#region src/mcp/delegate-supervisor-provisioning.ts
|
|
7
7
|
function trimmed(value) {
|
|
8
8
|
const v = value?.trim();
|