@tangle-network/agent-runtime 0.239.0 → 0.240.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activation-CRDZUoUE.d.ts → activation-CtkpoWet.d.ts} +2 -2
- package/dist/{activation-CUhkPtm0.js → activation-q224yRQK.js} +2 -2
- package/dist/{activation-CUhkPtm0.js.map → activation-q224yRQK.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-m-2dzvu6.js → coordination-driver-CMprWr0k.js} +9 -4
- package/dist/coordination-driver-CMprWr0k.js.map +1 -0
- package/dist/{delegate-DRQtaWF1.js → delegate-kwBecu_w.js} +2 -2
- package/dist/{delegate-DRQtaWF1.js.map → delegate-kwBecu_w.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-B17RjVhE.js → graph-Bke7I2gs.js} +3 -3
- package/dist/{graph-B17RjVhE.js.map → graph-Bke7I2gs.js.map} +1 -1
- package/dist/{improvement-cycle-BP4rDivU.js → improvement-cycle-BpSVwIJw.js} +3 -3
- package/dist/{improvement-cycle-BP4rDivU.js.map → improvement-cycle-BpSVwIJw.js.map} +1 -1
- package/dist/{index-DTGWDyrF.d.ts → index-CbZaoYbD.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-BGi5UT85.d.ts → loop-runner-bin-BUkkPt10.d.ts} +3 -3
- package/dist/{loop-runner-bin-mrOuv9SU.js → loop-runner-bin-DU8XqsGN.js} +3 -3
- package/dist/{loop-runner-bin-mrOuv9SU.js.map → loop-runner-bin-DU8XqsGN.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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-BPPAXxP2.d.ts → openai-tools-BI1ofIfL.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-CNdrsjvc.js → provision-supervisor-DoSrqsM7.js} +3 -3
- package/dist/{provision-supervisor-CNdrsjvc.js.map → provision-supervisor-DoSrqsM7.js.map} +1 -1
- package/dist/{runtime-BsPY_v8H.js → runtime-CmuAQsWI.js} +8 -8
- package/dist/{runtime-BsPY_v8H.js.map → runtime-CmuAQsWI.js.map} +1 -1
- package/dist/{server-b8uEBoK0.js → server-shkdLqls.js} +3 -3
- package/dist/{server-b8uEBoK0.js.map → server-shkdLqls.js.map} +1 -1
- package/dist/{stream-agent-turn-xgmm-M55.d.ts → stream-agent-turn-DayHmtvw.d.ts} +2 -2
- package/dist/{structural-rollout-sy2sH_7-.js → structural-rollout-CW67upUV.js} +2 -2
- package/dist/{structural-rollout-sy2sH_7-.js.map → structural-rollout-CW67upUV.js.map} +1 -1
- package/dist/{substrate-B_9stFWH.d.ts → substrate-iQOskmQ_.d.ts} +2 -2
- package/dist/{supervise-CBd3FyCS.js → supervise-DzoCYAe-.js} +3 -3
- package/dist/{supervise-CBd3FyCS.js.map → supervise-DzoCYAe-.js.map} +1 -1
- package/dist/{supervisor-De0lytFU.js → supervisor-CFSPj8rx.js} +2 -1
- package/dist/{supervisor-De0lytFU.js.map → supervisor-CFSPj8rx.js.map} +1 -1
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CE7ES_TD.d.ts → types-CEma9LKR.d.ts} +16 -1
- package/package.json +1 -1
- package/dist/coordination-driver-m-2dzvu6.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as NodeId, Bn as RecoverRetainedInteractiveRunOptions, Dr as StartRetainedRunInEnvironmentOptions, F as ProviderModelExecutionEvidence, Gn as StartRetainedInteractiveRunOptions, Gr as Iteration, H as RootHandle, In as WorkerProgress, J as Scope, K as RootStreamReceipt, Lt as OtelExportConfig, N as ProfileMaterializationReceipt, Nr as LeakedReservation, O as NoWinnerError, Or as StartRetainedRunOptions, Pn as ExecutorProgress, Q as SpawnOpts, R as ResultBlobStore, Rt as OtelExporter, Tn as TraceSource, Tt as TraceContext, Un as RetainedInteractiveRunHandle, Ur as Driver, Vr as AgentRunSpec, Wr as ExecCtx, X as SpawnEvent, Y as Settled, Z as SpawnJournal, Zr as LoopLineageOptions, _t as WorkerTraceEvidence, ai as LoopTraceEmitter, ar as ReconnectRetainedRunOptions, at as SupervisedResult, b as ExecutorRegistry, ci as MountManifestEntry, cr as RecoverRetainedRunResult, ei as LoopResult, fi as SandboxClient, g as ExecutorFactory, gt as WorkerInteractiveUnavailableReason, hi as Validator, ht as WorkerInteractiveSession, i as Budget, it as SteerableRootHandle, j as NodeSnapshot, k as NodeExecutionIdentity, kn as RetainedChildRecovery, kr as BudgetPool, l as ExecutionBindingReceipt, li as MountRecorder, lr as RetainedInteractiveAdmission, lt as TreeView, n as AgentExecutionRef, o as BudgetViolation, oi as LoopTraceEvent, or as RecoverRetainedRunIntentOptions, ot as Supervisor, pi as SelectionReceipt, pn as WaitProbeRegistry, pr as RetainedRunAdmission, q as Runtime, r as AgentSpec, rt as SpendGap, s as DefaultVerdict, si as LoopWinner, sr as RecoverRetainedRunOptions, t as Agent, tt as Spend, u as Executor, ui as OutputAdapter, un as PendingWait, ut as UnconfirmedTeardown, vr as RetainedRunEffect, w as FleetYield, x as ExecutorResult, xr as RetainedRunHandle, yt as WorkerTraceResolver, z as ResumedKeyState, zn as ReconnectRetainedInteractiveRunOptions } from "./types-
|
|
1
|
+
import { A as NodeId, Bn as RecoverRetainedInteractiveRunOptions, Dr as StartRetainedRunInEnvironmentOptions, F as ProviderModelExecutionEvidence, Gn as StartRetainedInteractiveRunOptions, Gr as Iteration, H as RootHandle, In as WorkerProgress, J as Scope, K as RootStreamReceipt, Lt as OtelExportConfig, N as ProfileMaterializationReceipt, Nr as LeakedReservation, O as NoWinnerError, Or as StartRetainedRunOptions, Pn as ExecutorProgress, Q as SpawnOpts, R as ResultBlobStore, Rt as OtelExporter, Tn as TraceSource, Tt as TraceContext, Un as RetainedInteractiveRunHandle, Ur as Driver, Vr as AgentRunSpec, Wr as ExecCtx, X as SpawnEvent, Y as Settled, Z as SpawnJournal, Zr as LoopLineageOptions, _t as WorkerTraceEvidence, ai as LoopTraceEmitter, ar as ReconnectRetainedRunOptions, at as SupervisedResult, b as ExecutorRegistry, ci as MountManifestEntry, cr as RecoverRetainedRunResult, ei as LoopResult, fi as SandboxClient, g as ExecutorFactory, gt as WorkerInteractiveUnavailableReason, hi as Validator, ht as WorkerInteractiveSession, i as Budget, it as SteerableRootHandle, j as NodeSnapshot, k as NodeExecutionIdentity, kn as RetainedChildRecovery, kr as BudgetPool, l as ExecutionBindingReceipt, li as MountRecorder, lr as RetainedInteractiveAdmission, lt as TreeView, n as AgentExecutionRef, o as BudgetViolation, oi as LoopTraceEvent, or as RecoverRetainedRunIntentOptions, ot as Supervisor, pi as SelectionReceipt, pn as WaitProbeRegistry, pr as RetainedRunAdmission, q as Runtime, r as AgentSpec, rt as SpendGap, s as DefaultVerdict, si as LoopWinner, sr as RecoverRetainedRunOptions, t as Agent, tt as Spend, u as Executor, ui as OutputAdapter, un as PendingWait, ut as UnconfirmedTeardown, vr as RetainedRunEffect, w as FleetYield, x as ExecutorResult, xr as RetainedRunHandle, yt as WorkerTraceResolver, z as ResumedKeyState, zn as ReconnectRetainedInteractiveRunOptions } from "./types-CEma9LKR.js";
|
|
2
2
|
import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
|
|
3
3
|
import { l as RuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
|
|
4
|
-
import { $n as McpTransport, $t as WorktreeCheckRunner, Cn as runLocalHarness, D as Inbox, Dn as ToolLoopChat, In as PeerMailEvent, P as KeyProvider, Qn as McpToolDescriptor$1, Qt as InPlaceHarnessResult, Rn as PeerMailLimits, Tn as ToolSpec, Un as PeerMailbox, Xn as JsonRpcMessage, Zn as JsonRpcResponse, er as Redactor, f as ExecutorConfig, h as RouterToolsSeam, kn as ToolLoopCompactionOptions, on as GitRunner, tn as WorktreeHarnessResult, wn as RouterTransportConfig, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-
|
|
5
|
-
import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-
|
|
4
|
+
import { $n as McpTransport, $t as WorktreeCheckRunner, Cn as runLocalHarness, D as Inbox, Dn as ToolLoopChat, In as PeerMailEvent, P as KeyProvider, Qn as McpToolDescriptor$1, Qt as InPlaceHarnessResult, Rn as PeerMailLimits, Tn as ToolSpec, Un as PeerMailbox, Xn as JsonRpcMessage, Zn as JsonRpcResponse, er as Redactor, f as ExecutorConfig, h as RouterToolsSeam, kn as ToolLoopCompactionOptions, on as GitRunner, tn as WorktreeHarnessResult, wn as RouterTransportConfig, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-DayHmtvw.js";
|
|
5
|
+
import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-iQOskmQ_.js";
|
|
6
6
|
import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
|
|
7
7
|
import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
|
|
8
8
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
@@ -9822,4 +9822,4 @@ interface VerifierEnvironmentOptions {
|
|
|
9822
9822
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
9823
9823
|
//#endregion
|
|
9824
9824
|
export { WorkspaceRun as $, SuperviseTestOptions as $a, FanoutOptions as $c, DelegateError as $d, DelegateResearchConfig as $f, registryScopeAnalyst as $i, CompletionEvidence as $l, RepairStop as $n, legacySupervisorRunsRoot as $o, BusRecord as $p, openSandboxRun as $r, DriverAttemptRecord as $s, runGraphWithTestBrain as $t, CoordinationEvent as $u, worktreeFanout as A, adaptiveRefine as Aa, HarvestCorpusOptions as Ac, canonicalFindingEvent as Ad, RunDetachedTurnOptions as Af, equalKOnCost as Ai, DefinePersonaInput as Al, DefineProfileMaterializationContractOptions as Am, unsafeInProcessRunner as An, supervisorAgentWithTestBrain as Ao, composeLoopTraceEmitters as Ap, runStrategyEvolution as Ar, ProgressView as As, createWorktreeCliExecutor as At, anytimeReport as Au, VERIFY_TAIL_CHARS as B, LoopOptionsForDispatch as Ba, defaultAnalystInstruction as Bc, SpawnResourceRead as Bd, DelegationResumeTick as Bf, fanout as Bi, ShapeRegistry as Bl, promptControlProfileMaterialization as Bm, ProfileRichness as Bn, CoordinationOwnerId as Bo, BackendTransportError as Bp, McpSpawnFault as Br, SupervisorSpanAttributes as Bs, createInPlaceCliExecutor as Bt, AnalystDefinitionIssue as Bu, SurfaceWorkerConfig as C, Strategy as Ca, IsolatedCheckResult as Cc, SpawnPreflightContext as Cd, createFleetWorkspaceExecutor as Cf, PromotionGateOptions as Ci, VerifySpec as Cl, pendingWaits as Cm, delegate as Cn, SupervisorNodeContextSeed as Co, DELEGATION_TRACE_MAX_BYTES as Cp, EvolutionCandidate as Cr, writeWorkerSteer as Cs, ProvisionedSupervisor as Ct, AuditIntentOptions as Cu, superviseSurface as D, StrategyResult as Da, InProcessPromptCtx as Dc, WorkerSpawnContext as Dd, DetachedTurnResumeDriverOptions as Df, profileOptimizerModelCall as Di, WidenSpec as Dl, AgentProfileMaterializationAxis as Dm, CodeModeOptions as Dn, assertCoordinationBinding as Do, DelegationTraceSpan as Dp, StrategyEvolutionConfig as Dr, ProgressSample as Ds, patchDelivered as Dt, AnytimeReport as Du, failuresAnalyst as E, StrategyMessage as Ea, InProcessOnPrompt as Ec, WorkerResumeContext as Ed, DetachedTurn as Ef, profileChatClient as Ei, WidenLineage as El, AGENT_PROFILE_MATERIALIZATION_AXES as Em, finalizeBestDelivered as En, SupervisorToolInvocationContext as Eo, DelegationTraceCollector as Ep, ReproductionCheck as Er, PlateauOptions as Es, PatchDeliverableOptions as Et, defaultAuditorInstruction as Eu, readWorkerInteractiveBinding as F, runAgentic as Fa, Observation as Fc, questionEscalationTargets as Fd, runDetachedTurn as Ff, definePersona as Fi, PersonaExecutors as Fl, assertProfileMaterialization as Fm, ChatWorkerSeamOptions as Fn, serveCoordinationMcp as Fo, FileDelegationStore as Fp, authorStrategy as Fr, anyOf as Fs, workerFromInteractiveProvider as Ft, WaterfallCollector as Fu, CopyOptions as G, superviseDispatch as Ga, Corpus as Gc, McpServer as Gd, SubmitOutput as Gf, selectValidWinner as Gi, LeaderboardFlagSpec as Gl, sandboxActProfileMaterialization as Gm, profileRichnessFinding as Gn, WorkerCancelRequest as Go, RetainedInteractiveAdmissionError as Gp, materializeLocalMcp as Gr, DeliveredOutput as Gs, GraphEdgeCapError as Gt, AnalystToolGroupName as Gu, closingWorkerNote as H, SuperviseOptionsForDispatch as Ha, renderReport as Hc, environmentReader as Hd, DelegationTaskQueue as Hf, loopUntil as Hi, LeaderboardBenchScore as Hl, promptOnlyProfileMaterialization as Hm, asAuthoredProfile as Hn, PriorCoordination as Ho, JudgeError as Hp, StdioMcpConnection as Hr, SupervisorSpanOutcome as Hs, EdgeDeliveryOutcome as Ht, AnalystKind as Hu, workerInteractiveBindingFile as I, sample as Ia, ObservationAnalysis as Ic, ResolveSpawnResourcePathsResult as Id, DelegationArgs as If, runPersonified as Ii, RunPersonified as Il, controlProfileMaterialization as Im, chatTransportExecutor as In, CoordinationHttpAudit as Io, FileDelegationStoreOptions as Ip, strategyAuthorContract as Ir, createProgressTracker as Is, WorkerInteractiveAdmission as It, WaterfallReport as Iu, withUntrackedArtifacts as J, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Ja, EqualKArm as Jc, createMcpServer as Jd, DelegateCodeConfig as Jf, CreateScopeAnalystOptions as Ji, LeaderboardScenario as Jl, CheckOutcome as Jn, WorkerSteerRequest as Jo, RetainedRunDispatchBindingError as Jp, OpenSandboxRunOptions as Jr, SupervisorFinalizer as Js, RunGraphOptions as Jt, AuthoredAnalystLimits as Ju, UntrackedCopyStats as K, AuthorizedSpawn as Ka, CorpusFilter as Kc, McpServerOptions as Kd, hashIdempotencyInput as Kf, verify as Ki, LeaderboardIterationInfo as Kl, validateProfileMaterialization as Km, supervisorInstructions as Kn, WorkerCancellation as Ko, RetainedInteractiveBindingError as Kp, Deliverable as Kr, FinalizeContext as Ks, GraphNode as Kt, AnalyzeOnSettleRoute as Ku, workerInteractiveBindingsDir as L, sampleThenRefine as La, ObservationError as Lc, ResolvedSpawnResourcePath as Ld, DelegationRecord as Lf, FileCorpus as Li, RunPersonifiedOptions as Ll, defineProfileMaterializationContract as Lm, chatWorkerSeam as Ln, CoordinationHttpOptions as Lo, InMemoryDelegationStore as Lp, strategyAuthorSystemPrompt as Lr, noProgressFor as Ls, readWorkerInteractiveAdmissions as Lt, WaterfallSpan as Lu, WorkerInteractiveBinding as M, defineStrategy as Ma, HarvestFailure as Mc, downMessageRefusalReasons as Md, detachedTurnEvents as Mf, builtinShapes as Mi, Outcome as Ml, ProfileMaterializationContract as Mm, ChatSessionStore as Mn, CoordinationMcpHandle as Mo, DelegationPersistenceError as Mp, AuthorStrategyOptions as Mr, StopRule as Ms, InteractiveWorkerKeyInput as Mt, bestSoFar as Mu, WorkerInteractiveProviderSource as N, depthStrategy as Na, HarvestReport as Nc, normalizeAnalyzeOnSettle as Nd, formatDetachedSessionRef as Nf, createShapeRegistry as Ni, Persona as Nl, ProfileMaterializationIssue as Nm, ChatTransportExecutorOptions as Nn, CoordinationPublicAddress as No, DelegationStateCorruptError as Np, AuthoredStrategy as Nr, allOf as Ns, InteractiveWorkerOptions as Nt, plateauLength as Nu, AuthoredHarness as O, StrategyShotResult as Oa, InProcessSandboxClientOptions as Oc, WorkerWatchOptions as Od, DriveTurnCapableBox as Of, assertModelAllowed as Oi, WinnerStrategy as Ol, AssertProfileMaterializationOptions as Om, CodeModeRunner as On, resolveSupervisorProfile as Oo, buildDelegationTraceSpans as Op, discriminatingMeans as Or, ProgressTracker as Os, WorktreeCliExecutorOptions as Ot, AnytimeStrategySummary as Ou, attachWorker as P, refine as Pa, harvestCorpus as Pc, parseAuthoredAnalystDefinition as Pd, parseDetachedSessionRef as Pf, registerShape as Pi, PersonaContext as Pl, ValidateProfileMaterializationOptions as Pm, ChatTransportTool as Pn, CoordinationTransportOptions as Po, DelegationStore as Pp, assertStrategyContract as Pr, allWorkersStalled as Ps, InteractiveWorkerResult as Pt, renderAnytimeTable as Pu, WorkspaceCommit as Q, SuperviseRegistryTable as Qa, Fanout as Qc, DelegateArgs as Qd, DelegateResearchArgs as Qf, createScopeAnalyst as Qi, CompletionAnalyst as Ql, CheckSourceCtx as Qn, legacySupervisorRunDir as Qo, BusEvent as Qp, TurnResult as Qr, runFinalizer as Qs, runGraph as Qt, ContinuityMode as Qu, EVIDENCE_MAX_CHARS as R, LoopCampaignDispatchOptions as Ra, ObserveInput as Rc, SPAWN_RESOURCE_PATH_MAX_BYTES as Rd, DelegationResumeContext as Rf, InMemoryCorpus as Ri, ShapeBudget as Rl, fullProfileMaterialization as Rm, createChatSessionStore as Rn, CoordinationDeliveryEvidence as Ro, AgentEvalError$1 as Rp, LocalMcpMaterialization as Rr, plateau as Rs, workerInteractiveAdmissionFile as Rt, createWaterfallCollector as Ru, SuperviseSurfaceResult as S, ShotSpec as Sa, IsolatedCheckOptions as Sc, SpawnPreflight as Sd, SiblingSandboxExecutorOptions as Sf, resolveSandboxClient as Si, Verify as Sl, materializeTreeView as Sm, defaultDelegateBudget as Sn, SupervisorNodeContext as So, CappedDelegationTrace as Sp, EvolutionBandInfo as Sr, workerSteersDir as Ss, ProvisionSupervisorRequest as St, AuditIntentInput as Su, analystsFromRegistry as T, StrategyCtx as Ta, inlineSandboxClient as Tc, SpawnRefusalCause as Td, DetachedSessionRefParts as Tf, promotionGate as Ti, WidenDecision as Tl, contentAddress as Tm, driverAgent as Tn, SupervisorToolDescriptor as To, DelegationTraceCaps as Tp, EvolutionReport as Tr, NoProgressForOptions as Ts, provisionSupervisor as Tt, auditIntent as Tu, composeWorkerEvidence as U, loopCampaignDispatch as Ua, AssertTraceDerivedFindings as Uc, hostDirectoryReader as Ud, DelegationTaskQueueOptions as Uf, panel as Ui, LeaderboardBenchTask as Ul, promptResourceProfileMaterialization as Um, assessAuthoredProfile as Un, RunCancelRequest as Uo, NotFoundError as Up, StdioMcpServerSpec as Ur, SupervisorSpanRecorder as Us, EdgeTraversal as Ut, AnalystLensOutput as Uu, WorkerEvidenceInput as V, SuperviseDispatchOptions as Va, observe as Vc, SpawnResourceReader as Vd, DelegationRunContext as Vf, flatWidenGate as Vi, DefinedLeaderboard as Vl, promptModelProfileMaterialization as Vm, ProfileRichnessThresholds as Vn, FileCoordinationLog as Vo, ConfigError as Vp, McpToolDescriptor as Vr, SupervisorSpanOptions as Vs, AgentGraph as Vt, AnalystFindingEvent as Vu, settledWorkerOut as W, loopDispatch as Wa, CombinatorShape as Wc, resolveSpawnResourcePaths as Wd, SubmitInput as Wf, pipeline as Wi, LeaderboardBenchmarkAdapter as Wl, renderProfileMaterializationIssues as Wm, defaultProfileRichnessThresholds as Wn, RunCancellation as Wo, PlannerError as Wp, connectStdioMcp as Wr, createSupervisorSpanRecorder as Ws, GraphEdge as Wt, AnalystRegistry$1 as Wu, Shell as X, SuperviseOptions as Xa, EqualKOnCostOptions as Xc, DELEGATE_INPUT_SCHEMA as Xd, DelegateFeedbackArgs as Xf, assertTraceDerivedFindings as Xi, LeaderboardSpec as Xl, CheckRunner as Xn, cancelRun as Xo, ValidationError as Xp, SandboxRun as Xr, collectDelivered as Xs, TraversalContinuity as Xt, AuthorizedDownMessage as Xu, GitWorkspaceOptions as Y, DeliverableResolutionInput as Ya, EqualKOnCost as Yc, DELEGATE_DESCRIPTION as Yd, DelegateCodeResult as Yf, RegistryAnalyzeProjection as Yi, LeaderboardScore as Yl, CheckRunContext as Yn, WriteWorkerSteerOptions as Yo, RuntimeRunStateError as Yp, OpenSandboxRunPromptOptions as Yr, bestDelivered as Ys, RunGraphTestOptions as Yt, AuthorizeDownMessage as Yu, Workspace as Z, SuperviseRegistry as Za, EqualKVerdict as Zc, DELEGATE_TOOL_NAME as Zd, DelegateFeedbackResult as Zf, buildSteerContext as Zi, defineLeaderboard as Zl, CheckSource as Zn, cancelWorker as Zo, CoderOutput as Zp, SandboxRunAbortError as Zr, pickBestDelivered as Zs, defaultEdgeTraversalCap as Zt, ContinuationInstruction as Zu, boxSurfaceReader as _, AgenticTask as _a, defaultSelectWinner as _c, QuestionOption as _d, detachedSessionDelegate as _f, claimRetainedInteractiveControl as _i, SteerContext as _l, SpawnForestInDoubtNode as _m, effectiveConcurrency as _n, ResolveDriveHarness as _o, FeedbackRefersTo as _p, visibleCheckScore as _r, workerInboxFileFromEventDir as _s, InMemoryRunContextOptions as _t, pairwiseSignificance as _u, SandboxInstance$1 as a, BenchmarkCell as aa, DriverReentry as ac, DownMessageAuthorizationInput as ad, FeedbackStore as af, SessionCapableBox as ai, LoopUntilState as al, defaultToolDetectors as am, delegatesWorkerBriefPrompt as an, WorkerSpawnRetryHooks as ao, DelegationError as ap, canDisplace as ar, readWorkerSteerRequests as as, analyzeTrace as at, stopSentinel as au, AnalystAuthoring as b, CorpusReadbackOptions as ba, LocalSandboxClientOptions as bc, QuestionUrgency as bd, FleetHandle as bf, startRetainedInteractiveRun as bi, TrajectoryReportFn as bl, SpawnForestTree as bm, rollingDispatch as bn, SupervisorAgentDeps as bo, UiAuditorDelegationOutput as bp, EvolutionArchiveNode as br, workerSteerRequestFile as bs, createInMemoryRunContext as bt, renderLeaderboardSvg as bu, VerifierEnvironmentOptions as c, BenchmarkReport as ca, DriverRetryPolicy as cc, DownMessageEvent as cd, CoderDelegate as cf, SandboxCapabilities as ci, PanelSpec as cl, ExecutorResultMapping as cm, formatPromptHandle as cn, resolveWorkerSpawnRetry as co, DelegationHistoryEntry as cp, defaultExtractCandidate as cr, safeWorkerFile as cs, captureWorkerTraceEvidence as ct, Interval as cu, HarvestSurfaceDiffsOptions as d, Environment as da, OnUnmetContract as dc, Question as dd, DelegateRunCtx as df, acquireSandbox as di, PipelineStage as dl, FileResultBlobStore as dm, promptHandle as dn, CoordinationBinding as do, DelegationProgress as dp, modelAuthoredChecks as dr, supervisorWorkersDir as ds, createRootHandle as dt, LeaderboardRow as du, observationFromRegistry as ea, DriverAttemptStop as ec, CoordinationStats as ed, DelegateHandlerOptions as ef, BranchCapableBox as ei, FanoutSynthesis as el, BusStats as em, PromptHandle as en, supervise as eo, DelegateResearchResult as ep, StructuralRolloutConfig as er, readRunCancelRequest as es, gitWorkspace as et, CompletionPolicy as eu, SurfaceDiff as f, printBenchmarkReport as fa, classifyDriverFailure as fc, QuestionDecision as fd, DetachedSessionDelegateOptions as ff, reconnectRetainedRun as fi, RenderCorpusToInstructions as fl, FileSpawnJournal as fm, ConcurrencyCaps as fn, CoordinationToolFace as fo, DelegationResultPayload as fp, officialChecksFromMeta as fr, workerCancelRequestsFile as fs, createSupervisor as ft, PairwiseOptions as fu, WatchedSurface as g, AgenticSurface as ga, TerminalDecision as gc, QuestionLevel as gd, coderTaskFromArgs as gf, ClaimRetainedInteractiveControlOptions as gi, ScopeWidenGate as gl, SpawnForestEvent as gm, RollingDispatchOptions as gn, ObserveSupervisorNodeEvent as go, FeedbackRating as gp, structuralRollout as gr, workerInboxFile as gs, InMemoryRunContext as gt, leaderboard as gu, SurfaceReader as h, AgenticRunResult as ha, TERMINAL_DECISIONS as hc, QuestionEscalationTarget as hd, UiAuditorDelegate as hf, startRetainedRunInEnvironment as hi, ScopeAnalyzeInput as hl, SpawnForest as hm, DispatchUnit as hn, DriveHarnessOwnerContext as ho, DelegationStatusResult as hp, selectBestIndex as hr, workerControlLogFile as hs, settledToIteration as ht, ScoreOf as hu, SandboxEvent$1 as i, sanitizeMcpToolSchema as ia, DriverProgressMark as ic, DefinedAnalystRecord as id, FeedbackEvent as if, SandboxLineageHandle as ii, LoopUntilSpec as il, WatchTraceOptions as im, createPromptRegistry as in, WorkerSpawnRetryAttempt as io, DelegateUiAuditRoute as ip, VisibleCheck as ir, readWorkerSteerAcknowledgement as is, TrajectoryAnalysis as it, sentinelCompletion as iu, AttachWorkerOptions as j, breadthStrategy as ja, HarvestError as jc, createCoordinationTools as jd, createDetachedTurnResumeDriver as jf, trajectoryReport as ji, LoopShape as jl, KnownAgentProfileMaterializationAxis as jm, ChatCompletionsTransport as jn, CoordinationAuthentication as jo, createDelegationTraceCollector as jp, selectChampion as jr, StopDecision as js, InteractiveWorkerEnvironment as jt, areaUnderCurve as ju, WorktreeFanoutOptions as k, SurfaceScore as ka, inProcessSandboxClient as kc, analystToolGroupNames as kd, DriveTurnTick as kf, assertProfileModelsAllowed as ki, DefinePersona as kl, CanonicalAgentProfileMaterializationAxis as km, codeModeSupervisorTools as kn, supervisorAgent as ko, capDelegationTrace as kp, pickChampion as kr, ProgressTrackerOptions as ks, WorktreePatchArtifact as kt, AnytimeTaskCurve as ku, createVerifierEnvironment as l, BenchmarkStrategySummary as la, DriverUnmetContractContext as lc, EscalateQuestion as ld, CoderReview as lf, probeSandboxCapabilities as li, PanelVerdict as ll, gateOnDeliverable as lm, kernelPromptRegistry as ln, retryPreSpawnRefusals as lo, DelegationHistoryResult as lp, defaultStructuralRolloutPolicy as lr, supervisorRunDir as ls, parseWorkerToolTraceArtifact as lt, Leaderboard as lu, SurfaceReadOutcome as m, AgenticOptions as ma, RunAgentRoundsOptions as mc, QuestionEscalationRecord as md, SettleDetachedCoderTurnOptions as mf, startRetainedRun as mi, ScopeAnalyst as ml, InMemorySpawnJournal as mm, DispatchStopReason as mn, DriveHarness as mo, DelegationStatusArgs as mp, sandboxCheckRunner as mr, workerCancellationsDir as ms, createScope as mt, ProfileKeyOf as mu, AnalystFinding$1 as n, McpEnvironmentOptions as na, DriverBudgetReadout as nc, CoordinationToolsOptions as nd, createDelegateHandler as nf, ForkCapableBox as ni, FlatWidenGate as nl, PublishOptions as nm, RegisteredPrompt as nn, workerFromBackend as no, DelegateUiAuditConfig as np, StructuralRolloutPolicy as nr, readWorkerCancelRequests as ns, localShell as nt, completionAuthorizes as nu, computeFindingId$1 as o, BenchmarkConfig as oa, DriverRepromptPolicy as oc, DownMessageDeliveryAttempt as od, InMemoryFeedbackStore as of, createSandboxLineage as oi, Panel as ol, watchTrace as om, dumbContinuationFailPrompt as on, WorkerSpawnRetryPolicy as oo, DelegationFeedbackSnapshot as op, compareCheckOutcomes as or, runCancelRequestFile as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, AxisScoresOf as ou, SurfaceReadBox as p, runBenchmark as pa, defaultUnmetContractSteer as pc, QuestionEscalationOutcome as pd, DetachedWinnerSelection as pf, recoverRetainedRun as pi, RenderCorpusToInstructionsOptions as pl, InMemoryResultBlobStore as pm, DispatchReport as pn, CoordinationVerbs as po, DelegationStatus as pp, resolveEntrySymbol as pr, workerCancellationFile as ps, ScopeArgs as pt, PairwiseVerdict as pu, copyUntrackedIntoClone as q, AuthorizedSpawnContext as qa, CorpusRecord as qc, createInProcessTransport as qd, DelegateCodeArgs as qf, widen as qi, LeaderboardRunContext as ql, worktreeCliProfileMaterialization as qm, CheckExecChannel as qn, WorkerSteerAcknowledgement as qo, RetainedRunAdmissionError as qp, OpenSandboxRunBeforeStartContext as qr, FinalizerSettled as qs, GraphResult as qt, AuthoredAnalystDefinition as qu, CreateSandboxOptions$1 as r, createMcpEnvironment as ra, DriverContractState as rc, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as rd, validateDelegateArgs as rf, SandboxLineage as ri, LoopUntil as rl, createEventBus as rm, analyzesFindingsReportPrompt as rn, ResolvedWorkerSpawnRetry as ro, DelegateUiAuditResult as rp, StructuralRolloutResult as rr, readWorkerCancellation as rs, runInWorkspace as rt, deterministicCompletion as ru, makeFinding$1 as s, BenchmarkLift as sa, DriverRepromptRefusal as sc, DownMessageDeliveryOutcome as sd, eventToSnapshot as sf, CriuCapableClient as si, PanelJudge as sl, DeliverableSpec as sm, dumbContinuationPassPrompt as sn, isPreSpawnExecutorFailure as so, DelegationHistoryArgs as sp, composeCheckSources as sr, runCancellationFile as ss, WorkerToolTraceArtifact as st, GroupOf as su, AgentProfile$2 as t, McpEndpoint as ta, DriverAttemptsExhaustedError as tc, CoordinationTools as td, DelegateResult as tf, CheckpointCapableBox as ti, FanoutWinnerSelector as tl, EventBus as tm, PromptRegistry as tn, superviseWithTestBrain as to, DelegateUiAuditArgs as tp, StructuralRolloutMessage as tr, readRunCancellation as ts, jjWorkspace as tt, CompletionVerdict as tu, BoxSurfaceReaderOptions as u, BenchmarkTaskRow as ua, DriverUnmetContractDecision as uc, MakeWorkerAgent as ud, CoderReviewer as uf, AcquireOptions as ui, Pipeline as ul, mapExecutorResult as um, naiveContinuationPrompt as un, withWorkerSpawnRetry as uo, DelegationProfile as up, filterAuthoredAsserts as ur, supervisorRunsRoot as us, workerTraceAnalysisStore as ut, LeaderboardOptions as uu, fsSurfaceReader as v, AgenticTool as va, isTerminalDecision as vc, QuestionPolicy as vd, settleDetachedCoderTurn as vf, reconnectRetainedInteractiveRun as vi, TrajectoryNode as vl, SpawnForestMissingTree as vm, freeSlots as vn, ResolveSupervisorTools as vo, ResearchOutputShape as vp, ChampionPick as vr, workerSteerAcknowledgementFile as vs, RunContext as vt, renderLeaderboardHtml as vu, SurfaceWorkerOut as w, StrategyArtifacts as wa, runIsolatedCheck as wc, SpawnRefusal as wd, createSiblingSandboxExecutor as wf, PromotionVerdict as wi, Widen as wl, replaySpawnTree as wm, DriverAgentOptions as wn, SupervisorProfile as wo, DELEGATION_TRACE_MAX_SPANS as wp, EvolutionGeneration as wr, AllWorkersStalledOptions as ws, SupervisorCleanupReceipt as wt, IntentAudit as wu, SuperviseSurfaceOptions as x, RunAgenticOptions as xa, localSandboxClient as xc, SettledWorker as xd, FleetWorkspaceExecutorOptions as xf, ResolveSandboxClientOptions as xi, TrajectoryReportOptions as xl, loadSpawnForest as xm, DelegateOptions as xn, SupervisorAgentTestDeps as xo, delegationProfiles as xp, EvolutionAuthor as xr, workerSteerRequestsDir as xs, ProvisionSupervisorConnection as xt, renderPairwiseMarkdown as xu, harvestSurfaceDiffs as y, ArtifactHandle as ya, runAgentRounds as yc, QuestionRecord as yd, DelegationExecutor as yf, recoverRetainedInteractiveRun as yi, TrajectoryReport as yl, SpawnForestNode as ym, queueOf as yn, ResolvedSupervisorProfile as yo, UiAuditLensFilter as yp, ChampionPolicy as yr, workerSteerAcknowledgementsDir as ys, createFileRunContext as yt, renderLeaderboardMarkdown as yu, NOTE_MAX_CHARS as z, LoopDispatchOptions as za, ObserveOptions as zc, SpawnResourceBytes as zd, DelegationResumeDriver as zf, renderCorpusToInstructions as zi, ShapeContext as zl, profileMaterializationAxes$1 as zm, AuthoredProfile as zn, CoordinationLog as zo, AgentEvalErrorCode as zp, MaterializeLocalMcpOptions as zr, sampleFromSettled as zs, InPlaceCliExecutorOptions as zt, ANALYST_DEFINITION_BOUNDS as zu };
|
|
9825
|
-
//# sourceMappingURL=index-
|
|
9825
|
+
//# sourceMappingURL=index-CbZaoYbD.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $t as RuntimeStreamEventCollector, Ai as AgentRuntimeEventSink, At as EvalRunEvent, Bi as RunAgentTaskOptions, Bt as RuntimeEventOtelOptions, Ci as startRuntimeRun, Di as AgentExecutionBackend, Ei as AgentBackendInput, Fi as BackendErrorDetail, Ft as LoopSpanNode, Gi as RuntimeStreamEvent, Gt as createOtelExporter, Hi as RuntimeCanonicalStreamEvent, Ht as buildLoopSpanNodes, Ii as KnowledgeReadinessDecision, It as OtelAttribute, Jt as loopEventToOtelSpan, Kt as exportEvalRuns, Li as OpenAIChatResponseFormat, Lt as OtelExportConfig, Mi as AgentTaskRunResult, Mt as EvalRunsExportConfig, Ni as AgentTaskSpec, Nt as EvalRunsExportResult, Oi as AgentKnowledgeProvider, Pi as AgentTaskStatus, Pt as INTELLIGENCE_WIRE_VERSION, Qt as RuntimeEventCollector, Ri as OpenAIChatTool, Rt as OtelExporter, Si as RuntimeRunStatus, Ti as AgentBackendContext, Ui as RuntimeSession, Ut as buildRuntimeEventOtelSpans, Vi as RunAgentTaskStreamOptions, Vt as buildLoopOtelSpans, Wi as RuntimeSessionStore, Wt as createOpenInferenceFileExporter, Xt as padTraceId, Yt as padSpanId, Zt as toOtelAttributes, _i as RuntimeRunCost, an as createRuntimeEventCollector, at as SupervisedResult, bi as RuntimeRunPersistenceAdapter, cn as sanitizeKnowledgeReadinessReport, en as RuntimeStreamEventSink, g as ExecutorFactory, gi as RuntimeRunCompleteInput, i as Budget, in as SanitizedKnowledgeRequirement, ji as AgentTaskContext, jt as EvalRunGeneration, ki as AgentRuntimeEvent, ln as sanitizeRuntimeStreamEvent, nn as RuntimeTelemetryOptions, on as createRuntimeStreamEventCollector, qt as generateSpanId, rn as SanitizedKnowledgeReadinessReport, sn as sanitizeAgentRuntimeEvent, tn as RuntimeStreamEventSummary, vi as RuntimeRunHandle, wi as AgentAdapter, xi as RuntimeRunRow, yi as RuntimeRunOptions, zi as OpenAIChatToolChoice, zt as OtelSpan } from "./types-
|
|
1
|
+
import { $t as RuntimeStreamEventCollector, Ai as AgentRuntimeEventSink, At as EvalRunEvent, Bi as RunAgentTaskOptions, Bt as RuntimeEventOtelOptions, Ci as startRuntimeRun, Di as AgentExecutionBackend, Ei as AgentBackendInput, Fi as BackendErrorDetail, Ft as LoopSpanNode, Gi as RuntimeStreamEvent, Gt as createOtelExporter, Hi as RuntimeCanonicalStreamEvent, Ht as buildLoopSpanNodes, Ii as KnowledgeReadinessDecision, It as OtelAttribute, Jt as loopEventToOtelSpan, Kt as exportEvalRuns, Li as OpenAIChatResponseFormat, Lt as OtelExportConfig, Mi as AgentTaskRunResult, Mt as EvalRunsExportConfig, Ni as AgentTaskSpec, Nt as EvalRunsExportResult, Oi as AgentKnowledgeProvider, Pi as AgentTaskStatus, Pt as INTELLIGENCE_WIRE_VERSION, Qt as RuntimeEventCollector, Ri as OpenAIChatTool, Rt as OtelExporter, Si as RuntimeRunStatus, Ti as AgentBackendContext, Ui as RuntimeSession, Ut as buildRuntimeEventOtelSpans, Vi as RunAgentTaskStreamOptions, Vt as buildLoopOtelSpans, Wi as RuntimeSessionStore, Wt as createOpenInferenceFileExporter, Xt as padTraceId, Yt as padSpanId, Zt as toOtelAttributes, _i as RuntimeRunCost, an as createRuntimeEventCollector, at as SupervisedResult, bi as RuntimeRunPersistenceAdapter, cn as sanitizeKnowledgeReadinessReport, en as RuntimeStreamEventSink, g as ExecutorFactory, gi as RuntimeRunCompleteInput, i as Budget, in as SanitizedKnowledgeRequirement, ji as AgentTaskContext, jt as EvalRunGeneration, ki as AgentRuntimeEvent, ln as sanitizeRuntimeStreamEvent, nn as RuntimeTelemetryOptions, on as createRuntimeStreamEventCollector, qt as generateSpanId, rn as SanitizedKnowledgeReadinessReport, sn as sanitizeAgentRuntimeEvent, tn as RuntimeStreamEventSummary, vi as RuntimeRunHandle, wi as AgentAdapter, xi as RuntimeRunRow, yi as RuntimeRunOptions, zi as OpenAIChatToolChoice, zt as OtelSpan } from "./types-CEma9LKR.js";
|
|
2
2
|
import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
|
|
3
3
|
import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
|
|
4
|
-
import { Bp as BackendTransportError, Gp as RetainedInteractiveAdmissionError, Hp as JudgeError, Jp as RetainedRunDispatchBindingError, Kp as RetainedInteractiveBindingError, Rp as AgentEvalError, Up as NotFoundError, Vp as ConfigError, Wp as PlannerError, Xa as SuperviseOptions, Xp as ValidationError, Yp as RuntimeRunStateError, nr as StructuralRolloutPolicy, qp as RetainedRunAdmissionError, sm as DeliverableSpec, wo as SupervisorProfile, zp as AgentEvalErrorCode } from "./index-
|
|
4
|
+
import { Bp as BackendTransportError, Gp as RetainedInteractiveAdmissionError, Hp as JudgeError, Jp as RetainedRunDispatchBindingError, Kp as RetainedInteractiveBindingError, Rp as AgentEvalError, Up as NotFoundError, Vp as ConfigError, Wp as PlannerError, Xa as SuperviseOptions, Xp as ValidationError, Yp as RuntimeRunStateError, nr as StructuralRolloutPolicy, qp as RetainedRunAdmissionError, sm as DeliverableSpec, wo as SupervisorProfile, zp as AgentEvalErrorCode } from "./index-CbZaoYbD.js";
|
|
5
5
|
import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
|
|
6
|
-
import { $t as WorktreeCheckRunner, er as Redactor, f as ExecutorConfig } from "./stream-agent-turn-
|
|
6
|
+
import { $t as WorktreeCheckRunner, er as Redactor, f as ExecutorConfig } from "./stream-agent-turn-DayHmtvw.js";
|
|
7
7
|
import { y as AgentCandidateOutputArtifactPort } from "./types-CuXu5zuS.js";
|
|
8
|
-
import { $ as ImprovementProfilePopulationLineageNode, A as ImproveMethodResult, B as ImproveSkillsOptions, C as ImproveCost, D as ImproveMethodFactory, E as ImproveMethodContext, F as ImproveProfileComponents, G as ImprovementProfileCandidate, H as ImprovementCandidate, I as ImproveProfileSurface, J as ImprovementProfileCandidatePopulationUnavailable, K as ImprovementProfileCandidatePopulation, L as ImproveResult, M as ImproveOptimizationRunOptions, N as ImproveOptions, O as ImproveMethodLineage, P as ImproveProfileAgent, Q as ImprovementProfilePopulationLineage, R as ImproveRuntimeCodeGeneratorOptions, S as ImproveCodeRunOptions, T as ImproveLineage, U as ImprovementCodeCandidate, V as ImproveSurface, W as ImprovementMaterializedProfilePopulationCandidate, X as ImprovementProfilePopulationCandidate, Y as ImprovementProfilePopulationArtifactSource, Z as ImprovementProfilePopulationCandidateSource, _ as ImproveCandidateValidationInput, at as AgenticGeneratorOptions, b as ImproveCodeOptions, ct as AgenticGeneratorShotReceipt, dt as agenticGenerator, et as ImprovementProfilePopulationObservationSource, ft as commandVerifier, g as improve, i as AgentImprovementActivationTransition, it as AgenticGeneratorExecutorForWorktree, j as ImproveMethodSource, k as ImproveMethodOptions, lt as Verifier, mt as CandidateGenerator, n as AgentImprovementActivationResultStore, nt as DeepReadonly, ot as AgenticGeneratorShotDisposition, pt as defaultBuildPrompt, q as ImprovementProfileCandidatePopulationAvailable, rt as ReadonlyAgentProfile, st as AgenticGeneratorShotExecution, t as AgentImprovementActivationReconciliation, tt as ImprovementRefusedProfilePopulationCandidate, ut as VerifyResult, v as ImproveCandidateValidator, w as ImproveCustomCodeGeneratorOptions, x as ImproveCodeResult, y as ImproveCodeBaseOptions, z as ImproveScenarioPartitions } from "./activation-
|
|
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-
|
|
10
|
-
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-
|
|
8
|
+
import { $ as ImprovementProfilePopulationLineageNode, A as ImproveMethodResult, B as ImproveSkillsOptions, C as ImproveCost, D as ImproveMethodFactory, E as ImproveMethodContext, F as ImproveProfileComponents, G as ImprovementProfileCandidate, H as ImprovementCandidate, I as ImproveProfileSurface, J as ImprovementProfileCandidatePopulationUnavailable, K as ImprovementProfileCandidatePopulation, L as ImproveResult, M as ImproveOptimizationRunOptions, N as ImproveOptions, O as ImproveMethodLineage, P as ImproveProfileAgent, Q as ImprovementProfilePopulationLineage, R as ImproveRuntimeCodeGeneratorOptions, S as ImproveCodeRunOptions, T as ImproveLineage, U as ImprovementCodeCandidate, V as ImproveSurface, W as ImprovementMaterializedProfilePopulationCandidate, X as ImprovementProfilePopulationCandidate, Y as ImprovementProfilePopulationArtifactSource, Z as ImprovementProfilePopulationCandidateSource, _ as ImproveCandidateValidationInput, at as AgenticGeneratorOptions, b as ImproveCodeOptions, ct as AgenticGeneratorShotReceipt, dt as agenticGenerator, et as ImprovementProfilePopulationObservationSource, ft as commandVerifier, g as improve, i as AgentImprovementActivationTransition, it as AgenticGeneratorExecutorForWorktree, j as ImproveMethodSource, k as ImproveMethodOptions, lt as Verifier, mt as CandidateGenerator, n as AgentImprovementActivationResultStore, nt as DeepReadonly, ot as AgenticGeneratorShotDisposition, pt as defaultBuildPrompt, q as ImprovementProfileCandidatePopulationAvailable, rt as ReadonlyAgentProfile, st as AgenticGeneratorShotExecution, t as AgentImprovementActivationReconciliation, tt as ImprovementRefusedProfilePopulationCandidate, ut as VerifyResult, v as ImproveCandidateValidator, w as ImproveCustomCodeGeneratorOptions, x as ImproveCodeResult, y as ImproveCodeBaseOptions, z as ImproveScenarioPartitions } from "./activation-CtkpoWet.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-BUkkPt10.js";
|
|
10
|
+
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-BI1ofIfL.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";
|
|
13
13
|
import { GepaOptimizationMethodConfig, ProfileDispatchFn, Scenario, SkillOptOptimizationMethodConfig } from "@tangle-network/agent-eval/campaign";
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Jn as defaultRedactorIdentityMaterial, Qr as writeAllBytes, Xr as prepareJsonlAppend, Yn as resolveRedactor, Zr as readCommittedJsonLines, _i as executableAgentProfileSnapshot, _r as createRuntimeEventCollector, ar as buildLoopOtelSpans, br as sanitizeKnowledgeReadinessReport, cr as createOpenInferenceFileExporter, fr as generateSpanId, gr as toOtelAttributes, hr as padTraceId, ir as INTELLIGENCE_WIRE_VERSION, lr as createOtelExporter, mr as padSpanId, or as buildLoopSpanNodes, pr as loopEventToOtelSpan, qn as defaultRedactor, sa as providerMessageText, sr as buildRuntimeEventOtelSpans, ur as exportEvalRuns, vr as createRuntimeStreamEventCollector, xr as sanitizeRuntimeStreamEvent, yr as sanitizeAgentRuntimeEvent } from "./supervisor-
|
|
1
|
+
import { Jn as defaultRedactorIdentityMaterial, Qr as writeAllBytes, Xr as prepareJsonlAppend, Yn as resolveRedactor, Zr as readCommittedJsonLines, _i as executableAgentProfileSnapshot, _r as createRuntimeEventCollector, ar as buildLoopOtelSpans, br as sanitizeKnowledgeReadinessReport, cr as createOpenInferenceFileExporter, fr as generateSpanId, gr as toOtelAttributes, hr as padTraceId, ir as INTELLIGENCE_WIRE_VERSION, lr as createOtelExporter, mr as padSpanId, or as buildLoopSpanNodes, pr as loopEventToOtelSpan, qn as defaultRedactor, sa as providerMessageText, sr as buildRuntimeEventOtelSpans, ur as exportEvalRuns, vr as createRuntimeStreamEventCollector, xr as sanitizeRuntimeStreamEvent, yr as sanitizeAgentRuntimeEvent } from "./supervisor-CFSPj8rx.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 { F as InMemoryRuntimeSessionStore, I as newRuntimeSession, L as nowIso, M as createIterableBackend, N as createSandboxPromptBackend, O as optimizerMethod, P as normalizeBackendStreamEvent, R as startOrResumeRuntimeSession, j as streamAgentTurn, k as strategyAuthorMethod, z as touchSession } from "./structural-rollout-
|
|
3
|
+
import { F as InMemoryRuntimeSessionStore, I as newRuntimeSession, L as nowIso, M as createIterableBackend, N as createSandboxPromptBackend, O as optimizerMethod, P as normalizeBackendStreamEvent, R as startOrResumeRuntimeSession, j as streamAgentTurn, k as strategyAuthorMethod, z as touchSession } from "./structural-rollout-CW67upUV.js";
|
|
4
4
|
import { t as assertExecutableAgentProfile } from "./model-policy-BbSCSak0.js";
|
|
5
|
-
import { Lt as McpSpawnFault, Rt as connectStdioMcp } from "./runtime-
|
|
5
|
+
import { Lt as McpSpawnFault, Rt as connectStdioMcp } from "./runtime-CmuAQsWI.js";
|
|
6
6
|
import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
7
|
-
import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-
|
|
7
|
+
import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-BpSVwIJw.js";
|
|
8
8
|
import { a as canonicalCandidateBytes, d as omitTopLevelDigest, l as embeddedCandidateArtifact, o as canonicalCandidateDigest$1, u as immutableCandidateValue } from "./protected-redaction-wGo44k2K.js";
|
|
9
9
|
import { d as persistCandidateOutputArtifact } from "./prepare-Dc30WRB0.js";
|
|
10
|
-
import { t as createAgentImprovementActivationResult } from "./activation-
|
|
10
|
+
import { t as createAgentImprovementActivationResult } from "./activation-q224yRQK.js";
|
|
11
11
|
import { i as sealAgentCandidateBundle, t as captureAgentCandidateWorkspace } from "./workspace-archive-CBX0hwL_.js";
|
|
12
|
-
import { n as supervise } from "./supervise-
|
|
13
|
-
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-
|
|
12
|
+
import { n as supervise } from "./supervise-DzoCYAe-.js";
|
|
13
|
+
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-DU8XqsGN.js";
|
|
14
14
|
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DoQ32vpe.js";
|
|
15
15
|
import { agentCandidateKnowledgeSchema, agentProfileSchema, canonicalAgentProfileDigest, sha256DigestSchema } from "@tangle-network/agent-interface";
|
|
16
16
|
import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
|
package/dist/intelligence.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Gi as RuntimeStreamEvent, nn as RuntimeTelemetryOptions, oi as LoopTraceEvent } from "./types-
|
|
1
|
+
import { Gi as RuntimeStreamEvent, nn as RuntimeTelemetryOptions, oi as LoopTraceEvent } from "./types-CEma9LKR.js";
|
|
2
2
|
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
|
-
import { Tn as ToolSpec, er as Redactor, nr as resolveRedactor, tr as defaultRedactor, vt as AgentEnvironmentProviderRef, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-
|
|
3
|
+
import { Tn as ToolSpec, er as Redactor, nr as resolveRedactor, tr as defaultRedactor, vt as AgentEnvironmentProviderRef, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-DayHmtvw.js";
|
|
4
4
|
import { D as AgentCandidateRunFinalization, O as AgentCandidateTaskExecution, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-CuXu5zuS.js";
|
|
5
5
|
import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-BlLP8ja6.js";
|
|
6
|
-
import { A as ImproveMethodResult, L as ImproveResult, N as ImproveOptions, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, k as ImproveMethodOptions, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions, z as ImproveScenarioPartitions } from "./activation-
|
|
6
|
+
import { A as ImproveMethodResult, L as ImproveResult, N as ImproveOptions, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, k as ImproveMethodOptions, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions, z as ImproveScenarioPartitions } from "./activation-CtkpoWet.js";
|
|
7
7
|
import { AgentCandidateBenchmarkCellRef, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentCandidateLineage, AgentCandidateProfileActivation as CandidateProfileMaterialization, AgentImprovementActivation, AgentImprovementActivation as AgentImprovementActivation$1, AgentImprovementActivationIntent, AgentImprovementActivationIntent as AgentImprovementActivationIntent$1, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementActivationTargetState, AgentImprovementActivationTargetTransition, AgentImprovementEvaluation, AgentImprovementEvaluation as AgentImprovementEvaluation$1, AgentImprovementMeasuredComparison, AgentImprovementMeasuredComparison as AgentImprovementMeasuredComparison$1, AgentImprovementProposal, AgentImprovementProposal as AgentImprovementProposal$1, AgentImprovementReview, AgentImprovementReview as AgentImprovementReview$1, AgentImprovementReviewDecision, AgentImprovementReviewDecision as AgentImprovementReviewDecision$1, AgentImprovementSource, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRunReceipt, AgentProfileImprovementTaskMaterial, AgentProfileMcpServer, CandidateExecutionEvidence, CandidateExecutionEvidence as CandidateExecutionEvidence$1, Sha256Digest } from "@tangle-network/agent-interface";
|
|
8
8
|
import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
|
|
9
9
|
import { ProposalFinding as ProposalFinding$1 } from "@tangle-network/agent-eval/analyst";
|
package/dist/intelligence.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Yn as resolveRedactor, ar as buildLoopOtelSpans, dr as flatOtelSpan, jn as resolveAgentEnvironmentProvider, lr as createOtelExporter, qn as defaultRedactor, sr as buildRuntimeEventOtelSpans } from "./supervisor-
|
|
2
|
-
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-
|
|
1
|
+
import { Yn as resolveRedactor, ar as buildLoopOtelSpans, dr as flatOtelSpan, jn as resolveAgentEnvironmentProvider, lr as createOtelExporter, qn as defaultRedactor, sr as buildRuntimeEventOtelSpans } from "./supervisor-CFSPj8rx.js";
|
|
2
|
+
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-BpSVwIJw.js";
|
|
3
3
|
import { o as canonicalCandidateDigest$1, u as immutableCandidateValue } from "./protected-redaction-wGo44k2K.js";
|
|
4
4
|
import { A as omitUndefinedObjectFields, M as parseExactAgentProfile, a as AGENT_CANDIDATE_EXECUTION_SUPPORT, j as parseAgentCandidateProfileActivation, w as applyExactAgentProfileDiff } from "./prepare-Dc30WRB0.js";
|
|
5
|
-
import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-
|
|
5
|
+
import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-q224yRQK.js";
|
|
6
6
|
import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-D5gDcnrH.js";
|
|
7
7
|
import { agentImprovementSourceSchema, agentProfileImprovementArmSchema, applyAgentProfileDiff } from "@tangle-network/agent-interface";
|
|
8
8
|
import { contentHash } from "@tangle-network/agent-eval";
|
package/dist/kernel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SpawnPrior, $n as captureHarnessTranscript, $r as LoopPlanPayload, A as NodeId, An as RetainedPendingCause, Ar as BudgetPoolRestore, B as ResumedWork, Bn as RecoverRetainedInteractiveRunOptions, Br as spendFromUsageEvents, C as ExecutorToolCall, Cn as SessionTraceBox, Cr as RetainedRunReplayPoint, Ct as workerTraceHeaders, D as MaterializedModelIdentity, Dn as decodeToolPart, Dr as StartRetainedRunInEnvironmentOptions, E as MaterializedExecutionIdentity, En as createPushTraceSource, Er as RetainedRunTurnInput, F as ProviderModelExecutionEvidence, Fn as ScopeProgressInput, Fr as ReservationRejection, G as RootSignal, Gn as StartRetainedInteractiveRunOptions, Gr as Iteration, Gt as createOtelExporter, H as RootHandle, Hn as RetainedInteractiveEnvironmentInput, Hr as DefaultVerdict, I as ResourceLimit, In as WorkerProgress, Ir as ReservationShortfall, J as Scope, Jn as HarnessTranscriptEvidence, Jr as LoopIterationDispatchPayload, K as RootStreamReceipt, Kn as HarnessTranscriptArtifact, Kr as LoopDecisionPayload, L as ResourceSpend, Ln as createActivityLog, Lr as ReservationStage, M as NodeStatus, Mn as ActivityNote, Mr as BudgetReconcileFault, N as ProfileMaterializationReceipt, Nn as DEFAULT_STALL_AFTER_MS, Nr as LeakedReservation, O as NoWinnerError, On as sandboxSessionTraceSource, Or as StartRetainedRunOptions, P as ProviderModelAttemptEvidence, Pn as ExecutorProgress, Pr as ReservationHolder, Q as SpawnOpts, Qn as ReadableEnvironment, Qr as LoopPlanDescription, R as ResultBlobStore, Rn as readWorkerProgress, Rr as ReservationTicket, S as ExecutorTeardownWarning, Sn as SessionMessageLike, Sr as RetainedRunIntentAdmission, St as workerTraceEnv, T as Handle, Tn as TraceSource, Tr as RetainedRunStartMaterial, U as RootMaterialization, Un as RetainedInteractiveRunHandle, Ur as Driver, V as RetainedExecutionState, Vn as RetainedInteractiveAdmissionHook, Vr as AgentRunSpec, W as RootProviderModelEvidence, Wn as RetainedInteractiveStartMaterial, Wr as ExecCtx, Wt as createOpenInferenceFileExporter, X as SpawnEvent, Xn as HarnessTranscriptUnavailable, Xr as LoopIterationStartedPayload, Y as Settled, Yn as HarnessTranscriptFile, Yr as LoopIterationEndedPayload, Z as SpawnJournal, Zn as HarnessTranscriptUnavailableReason, Zr as LoopLineageOptions, _ as ExecutorMaterialization, _n as isWaitOutcome, _r as RetainedRunDispatchedAdmission, _t as WorkerTraceEvidence, a as BudgetOverspend, ai as LoopTraceEmitter, ar as ReconnectRetainedRunOptions, at as SupervisedResult, b as ExecutorRegistry, bn as validateWaitSpec, br as RetainedRunEventOptions, bt as WorkerTraceSeamCarrier, c as EnvironmentTeardownReceipt, ci as MountManifestEntry, cr as RecoverRetainedRunResult, ct as TokenUsageProvenance, d as ExecutorAccounting, di as RunProvenance, dn as WaitOutcome, dr as RetainedInteractiveIntentAdmission, dt as UnknownMaterializationReason, ei as LoopResult, er as harnessTranscriptArtifact, et as SpawnRejection, f as ExecutorCancellation, fi as SandboxClient, fn as WaitProbe, fr as RetainedInteractiveStartedAdmission, ft as UsageEvent, g as ExecutorFactory, gn as createWaitProbes, gr as RetainedRunCancellation, gt as WorkerInteractiveUnavailableReason, h as ExecutorExecutionBinding, hi as Validator, hn as WaitSpec, hr as RetainedRunCancelOptions, ht as WorkerInteractiveSession, i as Budget, ii as LoopTokenUsage, ir as NativeContextContinuationInput, it as SteerableRootHandle, j as NodeSnapshot, jn as ActivityLog, jr as BudgetReadout, k as NodeExecutionIdentity, kr as BudgetPool, l as ExecutionBindingReceipt, li as MountRecorder, lr as RetainedInteractiveAdmission, lt as TreeView, m as ExecutorContext, mi as ValidationCtx, mn as WaitRejection, mr as RetainedRunAdmissionHook, mt as WidenGate, n as AgentExecutionRef, ni as LoopStartedPayload, nr as NativeContextContinuationExecution, nt as SpendChannel, o as BudgetViolation, oi as LoopTraceEvent, or as RecoverRetainedRunIntentOptions, ot as Supervisor, p as ExecutorCancellationRequest, pi as SelectionReceipt, pn as WaitProbeRegistry, pr as RetainedRunAdmission, pt as WaitOpts, q as Runtime, qn as HarnessTranscriptCapture, qr as LoopEndedPayload, r as AgentSpec, ri as LoopTeardownFailedPayload, rr as NativeContextContinuationHandle, rt as SpendGap, si as LoopWinner, sr as RecoverRetainedRunOptions, st as SupervisorOpts, t as Agent, ti as LoopSandboxPlacement, tr as persistHarnessTranscript, tt as Spend, u as Executor, ui as OutputAdapter, un as PendingWait, ur as RetainedInteractiveEnvironmentAdmission, ut as UnconfirmedTeardown, v as ExecutorNodeContext, vn as pollFor, vr as RetainedRunEffect, vt as WorkerTraceUnavailableReason, w as FleetYield, wn as ToolStepInput, wr as RetainedRunSnapshot, wt as workerTraceSeamKey, x as ExecutorResult, xn as waitUntil, xr as RetainedRunHandle, xt as readWorkerTraceContext, y as ExecutorProgressEvent, yn as timerAt, yr as RetainedRunEnvironmentAdmission, yt as WorkerTraceResolver, z as ResumedKeyState, zn as ReconnectRetainedInteractiveRunOptions, zr as createBudgetPool } from "./types-
|
|
2
|
-
import { $ as WorkspaceRun, $c as FanoutOptions, $i as registryScopeAnalyst, $l as CompletionEvidence, $n as RepairStop, $o as legacySupervisorRunsRoot, $p as BusRecord, $r as openSandboxRun, $s as DriverAttemptRecord, $u as CoordinationEvent, A as worktreeFanout, Aa as adaptiveRefine, Ac as HarvestCorpusOptions, Ad as canonicalFindingEvent, Ai as equalKOnCost, Al as DefinePersonaInput, An as unsafeInProcessRunner, Ar as runStrategyEvolution, As as ProgressView, At as createWorktreeCliExecutor, Au as anytimeReport, B as VERIFY_TAIL_CHARS, Ba as LoopOptionsForDispatch, Bc as defaultAnalystInstruction, Bi as fanout, Bl as ShapeRegistry, Bn as ProfileRichness, Bo as CoordinationOwnerId, Br as McpSpawnFault, Bs as SupervisorSpanAttributes, Bt as createInPlaceCliExecutor, C as SurfaceWorkerConfig, Ca as Strategy, Cc as IsolatedCheckResult, Cd as SpawnPreflightContext, Ci as PromotionGateOptions, Cl as VerifySpec, Cm as pendingWaits, Cn as delegate, Co as SupervisorNodeContextSeed, Cr as EvolutionCandidate, Cs as writeWorkerSteer, Ct as ProvisionedSupervisor, Cu as AuditIntentOptions, D as superviseSurface, Da as StrategyResult, Dc as InProcessPromptCtx, Dd as WorkerSpawnContext, Di as profileOptimizerModelCall, Dl as WidenSpec, Dn as CodeModeOptions, Do as assertCoordinationBinding, Dr as StrategyEvolutionConfig, Ds as ProgressSample, Dt as patchDelivered, Du as AnytimeReport, E as failuresAnalyst, Ea as StrategyMessage, Ec as InProcessOnPrompt, Ed as WorkerResumeContext, Ei as profileChatClient, El as WidenLineage, En as finalizeBestDelivered, Eo as SupervisorToolInvocationContext, Er as ReproductionCheck, Es as PlateauOptions, Et as PatchDeliverableOptions, Eu as defaultAuditorInstruction, F as readWorkerInteractiveBinding, Fa as runAgentic, Fc as Observation, Fi as definePersona, Fl as PersonaExecutors, Fn as ChatWorkerSeamOptions, Fo as serveCoordinationMcp, Fr as authorStrategy, Fs as anyOf, Ft as workerFromInteractiveProvider, Fu as WaterfallCollector, G as CopyOptions, Ga as superviseDispatch, Gc as Corpus, Gi as selectValidWinner, Gl as LeaderboardFlagSpec, Gn as profileRichnessFinding, Go as WorkerCancelRequest, Gr as materializeLocalMcp, Gs as DeliveredOutput, Gt as GraphEdgeCapError, H as closingWorkerNote, Ha as SuperviseOptionsForDispatch, Hc as renderReport, Hi as loopUntil, Hl as LeaderboardBenchScore, Hn as asAuthoredProfile, Ho as PriorCoordination, Hr as StdioMcpConnection, Hs as SupervisorSpanOutcome, Ht as EdgeDeliveryOutcome, Hu as AnalystKind, I as workerInteractiveBindingFile, Ia as sample, Ic as ObservationAnalysis, Ii as runPersonified, Il as RunPersonified, In as chatTransportExecutor, Io as CoordinationHttpAudit, Ir as strategyAuthorContract, Is as createProgressTracker, It as WorkerInteractiveAdmission, Iu as WaterfallReport, J as withUntrackedArtifacts, Ja as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, Jc as EqualKArm, Ji as CreateScopeAnalystOptions, Jl as LeaderboardScenario, Jn as CheckOutcome, Jo as WorkerSteerRequest, Jr as OpenSandboxRunOptions, Js as SupervisorFinalizer, Jt as RunGraphOptions, Ju as AuthoredAnalystLimits, K as UntrackedCopyStats, Ka as AuthorizedSpawn, Kc as CorpusFilter, Ki as verify, Kl as LeaderboardIterationInfo, Kn as supervisorInstructions, Ko as WorkerCancellation, Kr as Deliverable, Ks as FinalizeContext, Kt as GraphNode, Ku as AnalyzeOnSettleRoute, L as workerInteractiveBindingsDir, La as sampleThenRefine, Lc as ObservationError, Li as FileCorpus, Ll as RunPersonifiedOptions, Ln as chatWorkerSeam, Lo as CoordinationHttpOptions, Lr as strategyAuthorSystemPrompt, Ls as noProgressFor, Lt as readWorkerInteractiveAdmissions, Lu as WaterfallSpan, M as WorkerInteractiveBinding, Ma as defineStrategy, Mc as HarvestFailure, Mi as builtinShapes, Ml as Outcome, Mn as ChatSessionStore, Mo as CoordinationMcpHandle, Mr as AuthorStrategyOptions, Ms as StopRule, Mt as InteractiveWorkerKeyInput, Mu as bestSoFar, N as WorkerInteractiveProviderSource, Na as depthStrategy, Nc as HarvestReport, Nd as normalizeAnalyzeOnSettle, Ni as createShapeRegistry, Nl as Persona, Nn as ChatTransportExecutorOptions, No as CoordinationPublicAddress, Nr as AuthoredStrategy, Ns as allOf, Nt as InteractiveWorkerOptions, Nu as plateauLength, O as AuthoredHarness, Oa as StrategyShotResult, Oc as InProcessSandboxClientOptions, Od as WorkerWatchOptions, Oi as assertModelAllowed, Ol as WinnerStrategy, On as CodeModeRunner, Oo as resolveSupervisorProfile, Or as discriminatingMeans, Os as ProgressTracker, Ot as WorktreeCliExecutorOptions, Ou as AnytimeStrategySummary, P as attachWorker, Pa as refine, Pc as harvestCorpus, Pi as registerShape, Pl as PersonaContext, Pn as ChatTransportTool, Po as CoordinationTransportOptions, Pr as assertStrategyContract, Ps as allWorkersStalled, Pt as InteractiveWorkerResult, Pu as renderAnytimeTable, Q as WorkspaceCommit, Qa as SuperviseRegistryTable, Qc as Fanout, Qi as createScopeAnalyst, Ql as CompletionAnalyst, Qn as CheckSourceCtx, Qo as legacySupervisorRunDir, Qp as BusEvent, Qr as TurnResult, Qs as runFinalizer, Qt as runGraph, Qu as ContinuityMode, R as EVIDENCE_MAX_CHARS, Ra as LoopCampaignDispatchOptions, Rc as ObserveInput, Ri as InMemoryCorpus, Rl as ShapeBudget, Rn as createChatSessionStore, Ro as CoordinationDeliveryEvidence, Rr as LocalMcpMaterialization, Rs as plateau, Rt as workerInteractiveAdmissionFile, Ru as createWaterfallCollector, S as SuperviseSurfaceResult, Sa as ShotSpec, Sc as IsolatedCheckOptions, Sd as SpawnPreflight, Si as resolveSandboxClient, Sl as Verify, Sm as materializeTreeView, Sn as defaultDelegateBudget, So as SupervisorNodeContext, Sr as EvolutionBandInfo, Ss as workerSteersDir, St as ProvisionSupervisorRequest, Su as AuditIntentInput, T as analystsFromRegistry, Ta as StrategyCtx, Tc as inlineSandboxClient, Td as SpawnRefusalCause, Ti as promotionGate, Tl as WidenDecision, Tm as contentAddress, To as SupervisorToolDescriptor, Tr as EvolutionReport, Ts as NoProgressForOptions, Tt as provisionSupervisor, Tu as auditIntent, U as composeWorkerEvidence, Ua as loopCampaignDispatch, Uc as AssertTraceDerivedFindings, Ui as panel, Ul as LeaderboardBenchTask, Un as assessAuthoredProfile, Uo as RunCancelRequest, Ur as StdioMcpServerSpec, Us as SupervisorSpanRecorder, Ut as EdgeTraversal, Uu as AnalystLensOutput, V as WorkerEvidenceInput, Va as SuperviseDispatchOptions, Vc as observe, Vi as flatWidenGate, Vl as DefinedLeaderboard, Vn as ProfileRichnessThresholds, Vo as FileCoordinationLog, Vr as McpToolDescriptor, Vs as SupervisorSpanOptions, Vt as AgentGraph, Vu as AnalystFindingEvent, W as settledWorkerOut, Wa as loopDispatch, Wc as CombinatorShape, Wi as pipeline, Wl as LeaderboardBenchmarkAdapter, Wn as defaultProfileRichnessThresholds, Wo as RunCancellation, Wr as connectStdioMcp, Ws as createSupervisorSpanRecorder, Wt as GraphEdge, Wu as AnalystRegistry, X as Shell, Xa as SuperviseOptions, Xc as EqualKOnCostOptions, Xi as assertTraceDerivedFindings, Xl as LeaderboardSpec, Xn as CheckRunner, Xo as cancelRun, Xr as SandboxRun, Xs as collectDelivered, Xt as TraversalContinuity, Xu as AuthorizedDownMessage, Y as GitWorkspaceOptions, Ya as DeliverableResolutionInput, Yc as EqualKOnCost, Yi as RegistryAnalyzeProjection, Yl as LeaderboardScore, Yn as CheckRunContext, Yo as WriteWorkerSteerOptions, Yr as OpenSandboxRunPromptOptions, Ys as bestDelivered, Yu as AuthorizeDownMessage, Z as Workspace, Za as SuperviseRegistry, Zc as EqualKVerdict, Zi as buildSteerContext, Zl as defineLeaderboard, Zn as CheckSource, Zo as cancelWorker, Zr as SandboxRunAbortError, Zs as pickBestDelivered, Zt as defaultEdgeTraversalCap, Zu as ContinuationInstruction, _ as boxSurfaceReader, _a as AgenticTask, _c as defaultSelectWinner, _i as claimRetainedInteractiveControl, _l as SteerContext, _m as SpawnForestInDoubtNode, _n as effectiveConcurrency, _o as ResolveDriveHarness, _r as visibleCheckScore, _s as workerInboxFileFromEventDir, _t as InMemoryRunContextOptions, _u as pairwiseSignificance, a as SandboxInstance, aa as BenchmarkCell, ac as DriverReentry, ad as DownMessageAuthorizationInput, ai as SessionCapableBox, al as LoopUntilState, am as defaultToolDetectors, an as delegatesWorkerBriefPrompt, ao as WorkerSpawnRetryHooks, ar as canDisplace, as as readWorkerSteerRequests, at as analyzeTrace, au as stopSentinel, b as AnalystAuthoring, ba as CorpusReadbackOptions, bc as LocalSandboxClientOptions, bi as startRetainedInteractiveRun, bl as TrajectoryReportFn, bm as SpawnForestTree, bn as rollingDispatch, bo as SupervisorAgentDeps, br as EvolutionArchiveNode, bs as workerSteerRequestFile, bt as createInMemoryRunContext, bu as renderLeaderboardSvg, c as VerifierEnvironmentOptions, ca as BenchmarkReport, cc as DriverRetryPolicy, cd as DownMessageEvent, ci as SandboxCapabilities, cl as PanelSpec, cm as ExecutorResultMapping, cn as formatPromptHandle, co as resolveWorkerSpawnRetry, cr as defaultExtractCandidate, cs as safeWorkerFile, ct as captureWorkerTraceEvidence, cu as Interval, d as HarvestSurfaceDiffsOptions, da as Environment, dc as OnUnmetContract, di as acquireSandbox, dl as PipelineStage, dm as FileResultBlobStore, dn as promptHandle, do as CoordinationBinding, dr as modelAuthoredChecks, ds as supervisorWorkersDir, dt as createRootHandle, du as LeaderboardRow, ea as observationFromRegistry, ec as DriverAttemptStop, ed as CoordinationStats, ei as BranchCapableBox, el as FanoutSynthesis, em as BusStats, en as PromptHandle, eo as supervise, er as StructuralRolloutConfig, es as readRunCancelRequest, et as gitWorkspace, eu as CompletionPolicy, f as SurfaceDiff, fa as printBenchmarkReport, fc as classifyDriverFailure, fi as reconnectRetainedRun, fl as RenderCorpusToInstructions, fm as FileSpawnJournal, fn as ConcurrencyCaps, fo as CoordinationToolFace, fr as officialChecksFromMeta, fs as workerCancelRequestsFile, ft as createSupervisor, fu as PairwiseOptions, g as WatchedSurface, ga as AgenticSurface, gc as TerminalDecision, gi as ClaimRetainedInteractiveControlOptions, gl as ScopeWidenGate, gm as SpawnForestEvent, gn as RollingDispatchOptions, go as ObserveSupervisorNodeEvent, gr as structuralRollout, gs as workerInboxFile, gt as InMemoryRunContext, gu as leaderboard, h as SurfaceReader, ha as AgenticRunResult, hc as TERMINAL_DECISIONS, hi as startRetainedRunInEnvironment, hl as ScopeAnalyzeInput, hm as SpawnForest, hn as DispatchUnit, ho as DriveHarnessOwnerContext, hr as selectBestIndex, hs as workerControlLogFile, ht as settledToIteration, hu as ScoreOf, i as SandboxEvent, ia as sanitizeMcpToolSchema, ic as DriverProgressMark, id as DefinedAnalystRecord, ii as SandboxLineageHandle, il as LoopUntilSpec, im as WatchTraceOptions, in as createPromptRegistry, io as WorkerSpawnRetryAttempt, ir as VisibleCheck, is as readWorkerSteerAcknowledgement, it as TrajectoryAnalysis, iu as sentinelCompletion, j as AttachWorkerOptions, ja as breadthStrategy, jc as HarvestError, ji as trajectoryReport, jl as LoopShape, jn as ChatCompletionsTransport, jo as CoordinationAuthentication, jr as selectChampion, js as StopDecision, jt as InteractiveWorkerEnvironment, ju as areaUnderCurve, k as WorktreeFanoutOptions, ka as SurfaceScore, kc as inProcessSandboxClient, ki as assertProfileModelsAllowed, kl as DefinePersona, kn as codeModeSupervisorTools, ko as supervisorAgent, kr as pickChampion, ks as ProgressTrackerOptions, kt as WorktreePatchArtifact, ku as AnytimeTaskCurve, l as createVerifierEnvironment, la as BenchmarkStrategySummary, lc as DriverUnmetContractContext, ld as EscalateQuestion, li as probeSandboxCapabilities, ll as PanelVerdict, lm as gateOnDeliverable, ln as kernelPromptRegistry, lo as retryPreSpawnRefusals, lr as defaultStructuralRolloutPolicy, ls as supervisorRunDir, lt as parseWorkerToolTraceArtifact, lu as Leaderboard, m as SurfaceReadOutcome, ma as AgenticOptions, mc as RunAgentRoundsOptions, md as QuestionEscalationRecord, mi as startRetainedRun, ml as ScopeAnalyst, mm as InMemorySpawnJournal, mn as DispatchStopReason, mo as DriveHarness, mr as sandboxCheckRunner, ms as workerCancellationsDir, mt as createScope, mu as ProfileKeyOf, n as AnalystFinding, na as McpEnvironmentOptions, nc as DriverBudgetReadout, ni as ForkCapableBox, nl as FlatWidenGate, nm as PublishOptions, nn as RegisteredPrompt, no as workerFromBackend, nr as StructuralRolloutPolicy, ns as readWorkerCancelRequests, nt as localShell, nu as completionAuthorizes, o as computeFindingId, oa as BenchmarkConfig, oc as DriverRepromptPolicy, od as DownMessageDeliveryAttempt, oi as createSandboxLineage, ol as Panel, om as watchTrace, on as dumbContinuationFailPrompt, oo as WorkerSpawnRetryPolicy, or as compareCheckOutcomes, os as runCancelRequestFile, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as AxisScoresOf, p as SurfaceReadBox, pa as runBenchmark, pc as defaultUnmetContractSteer, pd as QuestionEscalationOutcome, pi as recoverRetainedRun, pl as RenderCorpusToInstructionsOptions, pm as InMemoryResultBlobStore, pn as DispatchReport, po as CoordinationVerbs, pr as resolveEntrySymbol, ps as workerCancellationFile, pt as ScopeArgs, pu as PairwiseVerdict, q as copyUntrackedIntoClone, qa as AuthorizedSpawnContext, qc as CorpusRecord, qi as widen, ql as LeaderboardRunContext, qn as CheckExecChannel, qo as WorkerSteerAcknowledgement, qr as OpenSandboxRunBeforeStartContext, qs as FinalizerSettled, qt as GraphResult, qu as AuthoredAnalystDefinition, r as CreateSandboxOptions, ra as createMcpEnvironment, rc as DriverContractState, rd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, ri as SandboxLineage, rl as LoopUntil, rm as createEventBus, rn as analyzesFindingsReportPrompt, ro as ResolvedWorkerSpawnRetry, rr as StructuralRolloutResult, rs as readWorkerCancellation, rt as runInWorkspace, ru as deterministicCompletion, s as makeFinding, sa as BenchmarkLift, sc as DriverRepromptRefusal, sd as DownMessageDeliveryOutcome, si as CriuCapableClient, sl as PanelJudge, sm as DeliverableSpec, sn as dumbContinuationPassPrompt, so as isPreSpawnExecutorFailure, sr as composeCheckSources, ss as runCancellationFile, st as WorkerToolTraceArtifact, su as GroupOf, t as AgentProfile, ta as McpEndpoint, tc as DriverAttemptsExhaustedError, ti as CheckpointCapableBox, tl as FanoutWinnerSelector, tm as EventBus, tn as PromptRegistry, tr as StructuralRolloutMessage, ts as readRunCancellation, tt as jjWorkspace, tu as CompletionVerdict, u as BoxSurfaceReaderOptions, ua as BenchmarkTaskRow, uc as DriverUnmetContractDecision, ud as MakeWorkerAgent, ui as AcquireOptions, ul as Pipeline, um as mapExecutorResult, un as naiveContinuationPrompt, uo as withWorkerSpawnRetry, ur as filterAuthoredAsserts, us as supervisorRunsRoot, ut as workerTraceAnalysisStore, uu as LeaderboardOptions, v as fsSurfaceReader, va as AgenticTool, vc as isTerminalDecision, vi as reconnectRetainedInteractiveRun, vl as TrajectoryNode, vm as SpawnForestMissingTree, vn as freeSlots, vo as ResolveSupervisorTools, vr as ChampionPick, vs as workerSteerAcknowledgementFile, vt as RunContext, vu as renderLeaderboardHtml, w as SurfaceWorkerOut, wa as StrategyArtifacts, wc as runIsolatedCheck, wd as SpawnRefusal, wi as PromotionVerdict, wl as Widen, wm as replaySpawnTree, wo as SupervisorProfile, wr as EvolutionGeneration, ws as AllWorkersStalledOptions, wt as SupervisorCleanupReceipt, wu as IntentAudit, x as SuperviseSurfaceOptions, xa as RunAgenticOptions, xc as localSandboxClient, xi as ResolveSandboxClientOptions, xl as TrajectoryReportOptions, xm as loadSpawnForest, xn as DelegateOptions, xr as EvolutionAuthor, xs as workerSteerRequestsDir, xt as ProvisionSupervisorConnection, xu as renderPairwiseMarkdown, y as harvestSurfaceDiffs, ya as ArtifactHandle, yc as runAgentRounds, yi as recoverRetainedInteractiveRun, yl as TrajectoryReport, ym as SpawnForestNode, yn as queueOf, yo as ResolvedSupervisorProfile, yr as ChampionPolicy, ys as workerSteerAcknowledgementsDir, yt as createFileRunContext, yu as renderLeaderboardMarkdown, z as NOTE_MAX_CHARS, za as LoopDispatchOptions, zc as ObserveOptions, zi as renderCorpusToInstructions, zl as ShapeContext, zn as AuthoredProfile, zo as CoordinationLog, zr as MaterializeLocalMcpOptions, zs as sampleFromSettled, zt as InPlaceCliExecutorOptions } from "./index-DTGWDyrF.js";
|
|
3
|
-
import { $ as decodeHarnessUsage, $t as WorktreeCheckRunner, A as createInbox, An as ToolLoopMessageRecord, At as CreateAgentEnvironmentInput, B as secretEnvOfMcpServer, Bn as PeerMailReadout, Bt as ResourceRequest, C as SteerableSandboxArgs, Ct as AgentProfileRef, D as Inbox, Dn as ToolLoopChat, Dt as AgentTurnResult, E as AuthorityInboxMessage, En as ToolLoopCallContext, Et as AgentSessionStatus, F as ResolvedMcpServerLaunch, Fn as PeerMailEnvelope, Ft as PlacementInfo, G as CodexRolloutStoreRef, Gn as claimsAuthority, Gt as providerAsSandboxClient, H as CodexRolloutIdentity, Hn as PeerMailSendInput, Ht as WorkspaceRequest, I as envKeyProvider, In as PeerMailEvent, It as ProviderAsSandboxClientOptions, J as addHarnessUsage, Jn as peerMailTools, Jt as CreateTangleSandboxExactProcessProviderOptions, K as CodexRolloutTurn, Kn as createPeerMailbox, Kt as resolveAgentEnvironmentProvider, L as mcpSecretEnvMetadataKey, Ln as PeerMailKind, Lt as ProviderExecutorOptions, M as BridgeModelCredential, Mn as AUTHORITY_MARKERS, Mt as ExecRequest, N as BridgeSeam, Nn as DEFAULT_PEER_MAIL_LIMITS, Nt as ExecResult, O as InboxMessage, On as ToolLoopCompaction, Ot as CheckpointRef, P as KeyProvider, Pn as PEER_MAIL_WIRE_KEY, Pt as ForkRequest, Q as HarnessUsage, Qt as InPlaceHarnessResult, R as resolveMcpServerLaunch, Rn as PeerMailLimits, Rt as ProviderLeafOut, S as SandboxSteeringOptions, St as AgentEnvironmentSummary, T as createSteerableSandboxSession, Tn as ToolSpec, Tt as AgentSessionRef, U as CodexRolloutSession, Un as PeerMailbox, Ut as createAgentEnvironmentProviderRegistry, V as CodexForkBoundary, Vn as PeerMailRefusal, Vt as SandboxClientProviderOptions, W as CodexRolloutStoreReader, Wn as PeerMailboxOptions, Wt as providerAsExecutor, X as harnessUsageIsEmpty, Xt as createTangleSandboxExactProcessProvider, Y as createCodexRolloutStoreReader, Yn as peerMailVerbNames, Yt as SandboxControlClient, Z as readCodexRolloutSession, Zt as ProviderPlacement, _ as cliInPlaceExecutor, _t as AgentEnvironmentProvider, a as StreamAgentTurnOptions, at as assertSandboxServedModel, b as createExecutorRegistry, bt as AgentEnvironmentQuery, c as CliInPlaceSeam, ct as extractLlmCallEvent, d as CliWorktreeSeam, dt as sandboxEventServedBackend, en as WorktreeCommandResult, et as SandboxLeafOut, f as ExecutorConfig, ft as sandboxProgressEvents, g as SandboxSeam, gt as AgentEnvironmentEvent, h as RouterToolsSeam, ht as AgentEnvironmentCapabilities, i as CollectedAgentTurn, it as SandboxUsageLedger, j as BridgeHarnessStore, jn as ToolLoopToolCall, jt as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, k as PeerInboxMessage, kn as ToolLoopCompactionOptions, kt as CheckpointRequest, l as CliSeam, lt as mapSandboxEvent, m as RouterSeam, mt as AgentEnvironment, n as AgentTurnInput, nn as WorktreeProfileMaterializationReceipt, nt as SandboxServedBackend, o as collectAgentTurn, ot as createSandboxToolPartState, p as ProviderSeam, pt as sumSandboxUsage, q as CodexStoreDelta, qn as isPeerMailEnvelope, qt as sandboxClientAsProvider, r as AgentTurnUsage, rt as SandboxToolPartState, s as streamAgentTurn, st as createSandboxUsageLedger, t as AgentTurnBackend, tn as WorktreeHarnessResult, tt as SandboxOutputMarker, u as CliWorktreeBridgeSeam, ut as mapSandboxToolEvent, v as cliWorktreeExecutor, vt as AgentEnvironmentProviderRef, w as SteerableSandboxSession, wn as RouterTransportConfig, wt as AgentSession, x as DEFAULT_SANDBOX_STEERING_MAX_TURNS, xt as AgentEnvironmentStatus, y as createExecutor, yt as AgentEnvironmentProviderRegistry, z as resolveSecretEnv, zn as PeerMailOutcome, zt as ProviderPromptOptions } from "./stream-agent-turn-
|
|
1
|
+
import { $ as SpawnPrior, $n as captureHarnessTranscript, $r as LoopPlanPayload, A as NodeId, An as RetainedPendingCause, Ar as BudgetPoolRestore, B as ResumedWork, Bn as RecoverRetainedInteractiveRunOptions, Br as spendFromUsageEvents, C as ExecutorToolCall, Cn as SessionTraceBox, Cr as RetainedRunReplayPoint, Ct as workerTraceHeaders, D as MaterializedModelIdentity, Dn as decodeToolPart, Dr as StartRetainedRunInEnvironmentOptions, E as MaterializedExecutionIdentity, En as createPushTraceSource, Er as RetainedRunTurnInput, F as ProviderModelExecutionEvidence, Fn as ScopeProgressInput, Fr as ReservationRejection, G as RootSignal, Gn as StartRetainedInteractiveRunOptions, Gr as Iteration, Gt as createOtelExporter, H as RootHandle, Hn as RetainedInteractiveEnvironmentInput, Hr as DefaultVerdict, I as ResourceLimit, In as WorkerProgress, Ir as ReservationShortfall, J as Scope, Jn as HarnessTranscriptEvidence, Jr as LoopIterationDispatchPayload, K as RootStreamReceipt, Kn as HarnessTranscriptArtifact, Kr as LoopDecisionPayload, L as ResourceSpend, Ln as createActivityLog, Lr as ReservationStage, M as NodeStatus, Mn as ActivityNote, Mr as BudgetReconcileFault, N as ProfileMaterializationReceipt, Nn as DEFAULT_STALL_AFTER_MS, Nr as LeakedReservation, O as NoWinnerError, On as sandboxSessionTraceSource, Or as StartRetainedRunOptions, P as ProviderModelAttemptEvidence, Pn as ExecutorProgress, Pr as ReservationHolder, Q as SpawnOpts, Qn as ReadableEnvironment, Qr as LoopPlanDescription, R as ResultBlobStore, Rn as readWorkerProgress, Rr as ReservationTicket, S as ExecutorTeardownWarning, Sn as SessionMessageLike, Sr as RetainedRunIntentAdmission, St as workerTraceEnv, T as Handle, Tn as TraceSource, Tr as RetainedRunStartMaterial, U as RootMaterialization, Un as RetainedInteractiveRunHandle, Ur as Driver, V as RetainedExecutionState, Vn as RetainedInteractiveAdmissionHook, Vr as AgentRunSpec, W as RootProviderModelEvidence, Wn as RetainedInteractiveStartMaterial, Wr as ExecCtx, Wt as createOpenInferenceFileExporter, X as SpawnEvent, Xn as HarnessTranscriptUnavailable, Xr as LoopIterationStartedPayload, Y as Settled, Yn as HarnessTranscriptFile, Yr as LoopIterationEndedPayload, Z as SpawnJournal, Zn as HarnessTranscriptUnavailableReason, Zr as LoopLineageOptions, _ as ExecutorMaterialization, _n as isWaitOutcome, _r as RetainedRunDispatchedAdmission, _t as WorkerTraceEvidence, a as BudgetOverspend, ai as LoopTraceEmitter, ar as ReconnectRetainedRunOptions, at as SupervisedResult, b as ExecutorRegistry, bn as validateWaitSpec, br as RetainedRunEventOptions, bt as WorkerTraceSeamCarrier, c as EnvironmentTeardownReceipt, ci as MountManifestEntry, cr as RecoverRetainedRunResult, ct as TokenUsageProvenance, d as ExecutorAccounting, di as RunProvenance, dn as WaitOutcome, dr as RetainedInteractiveIntentAdmission, dt as UnknownMaterializationReason, ei as LoopResult, er as harnessTranscriptArtifact, et as SpawnRejection, f as ExecutorCancellation, fi as SandboxClient, fn as WaitProbe, fr as RetainedInteractiveStartedAdmission, ft as UsageEvent, g as ExecutorFactory, gn as createWaitProbes, gr as RetainedRunCancellation, gt as WorkerInteractiveUnavailableReason, h as ExecutorExecutionBinding, hi as Validator, hn as WaitSpec, hr as RetainedRunCancelOptions, ht as WorkerInteractiveSession, i as Budget, ii as LoopTokenUsage, ir as NativeContextContinuationInput, it as SteerableRootHandle, j as NodeSnapshot, jn as ActivityLog, jr as BudgetReadout, k as NodeExecutionIdentity, kr as BudgetPool, l as ExecutionBindingReceipt, li as MountRecorder, lr as RetainedInteractiveAdmission, lt as TreeView, m as ExecutorContext, mi as ValidationCtx, mn as WaitRejection, mr as RetainedRunAdmissionHook, mt as WidenGate, n as AgentExecutionRef, ni as LoopStartedPayload, nr as NativeContextContinuationExecution, nt as SpendChannel, o as BudgetViolation, oi as LoopTraceEvent, or as RecoverRetainedRunIntentOptions, ot as Supervisor, p as ExecutorCancellationRequest, pi as SelectionReceipt, pn as WaitProbeRegistry, pr as RetainedRunAdmission, pt as WaitOpts, q as Runtime, qn as HarnessTranscriptCapture, qr as LoopEndedPayload, r as AgentSpec, ri as LoopTeardownFailedPayload, rr as NativeContextContinuationHandle, rt as SpendGap, si as LoopWinner, sr as RecoverRetainedRunOptions, st as SupervisorOpts, t as Agent, ti as LoopSandboxPlacement, tr as persistHarnessTranscript, tt as Spend, u as Executor, ui as OutputAdapter, un as PendingWait, ur as RetainedInteractiveEnvironmentAdmission, ut as UnconfirmedTeardown, v as ExecutorNodeContext, vn as pollFor, vr as RetainedRunEffect, vt as WorkerTraceUnavailableReason, w as FleetYield, wn as ToolStepInput, wr as RetainedRunSnapshot, wt as workerTraceSeamKey, x as ExecutorResult, xn as waitUntil, xr as RetainedRunHandle, xt as readWorkerTraceContext, y as ExecutorProgressEvent, yn as timerAt, yr as RetainedRunEnvironmentAdmission, yt as WorkerTraceResolver, z as ResumedKeyState, zn as ReconnectRetainedInteractiveRunOptions, zr as createBudgetPool } from "./types-CEma9LKR.js";
|
|
2
|
+
import { $ as WorkspaceRun, $c as FanoutOptions, $i as registryScopeAnalyst, $l as CompletionEvidence, $n as RepairStop, $o as legacySupervisorRunsRoot, $p as BusRecord, $r as openSandboxRun, $s as DriverAttemptRecord, $u as CoordinationEvent, A as worktreeFanout, Aa as adaptiveRefine, Ac as HarvestCorpusOptions, Ad as canonicalFindingEvent, Ai as equalKOnCost, Al as DefinePersonaInput, An as unsafeInProcessRunner, Ar as runStrategyEvolution, As as ProgressView, At as createWorktreeCliExecutor, Au as anytimeReport, B as VERIFY_TAIL_CHARS, Ba as LoopOptionsForDispatch, Bc as defaultAnalystInstruction, Bi as fanout, Bl as ShapeRegistry, Bn as ProfileRichness, Bo as CoordinationOwnerId, Br as McpSpawnFault, Bs as SupervisorSpanAttributes, Bt as createInPlaceCliExecutor, C as SurfaceWorkerConfig, Ca as Strategy, Cc as IsolatedCheckResult, Cd as SpawnPreflightContext, Ci as PromotionGateOptions, Cl as VerifySpec, Cm as pendingWaits, Cn as delegate, Co as SupervisorNodeContextSeed, Cr as EvolutionCandidate, Cs as writeWorkerSteer, Ct as ProvisionedSupervisor, Cu as AuditIntentOptions, D as superviseSurface, Da as StrategyResult, Dc as InProcessPromptCtx, Dd as WorkerSpawnContext, Di as profileOptimizerModelCall, Dl as WidenSpec, Dn as CodeModeOptions, Do as assertCoordinationBinding, Dr as StrategyEvolutionConfig, Ds as ProgressSample, Dt as patchDelivered, Du as AnytimeReport, E as failuresAnalyst, Ea as StrategyMessage, Ec as InProcessOnPrompt, Ed as WorkerResumeContext, Ei as profileChatClient, El as WidenLineage, En as finalizeBestDelivered, Eo as SupervisorToolInvocationContext, Er as ReproductionCheck, Es as PlateauOptions, Et as PatchDeliverableOptions, Eu as defaultAuditorInstruction, F as readWorkerInteractiveBinding, Fa as runAgentic, Fc as Observation, Fi as definePersona, Fl as PersonaExecutors, Fn as ChatWorkerSeamOptions, Fo as serveCoordinationMcp, Fr as authorStrategy, Fs as anyOf, Ft as workerFromInteractiveProvider, Fu as WaterfallCollector, G as CopyOptions, Ga as superviseDispatch, Gc as Corpus, Gi as selectValidWinner, Gl as LeaderboardFlagSpec, Gn as profileRichnessFinding, Go as WorkerCancelRequest, Gr as materializeLocalMcp, Gs as DeliveredOutput, Gt as GraphEdgeCapError, H as closingWorkerNote, Ha as SuperviseOptionsForDispatch, Hc as renderReport, Hi as loopUntil, Hl as LeaderboardBenchScore, Hn as asAuthoredProfile, Ho as PriorCoordination, Hr as StdioMcpConnection, Hs as SupervisorSpanOutcome, Ht as EdgeDeliveryOutcome, Hu as AnalystKind, I as workerInteractiveBindingFile, Ia as sample, Ic as ObservationAnalysis, Ii as runPersonified, Il as RunPersonified, In as chatTransportExecutor, Io as CoordinationHttpAudit, Ir as strategyAuthorContract, Is as createProgressTracker, It as WorkerInteractiveAdmission, Iu as WaterfallReport, J as withUntrackedArtifacts, Ja as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, Jc as EqualKArm, Ji as CreateScopeAnalystOptions, Jl as LeaderboardScenario, Jn as CheckOutcome, Jo as WorkerSteerRequest, Jr as OpenSandboxRunOptions, Js as SupervisorFinalizer, Jt as RunGraphOptions, Ju as AuthoredAnalystLimits, K as UntrackedCopyStats, Ka as AuthorizedSpawn, Kc as CorpusFilter, Ki as verify, Kl as LeaderboardIterationInfo, Kn as supervisorInstructions, Ko as WorkerCancellation, Kr as Deliverable, Ks as FinalizeContext, Kt as GraphNode, Ku as AnalyzeOnSettleRoute, L as workerInteractiveBindingsDir, La as sampleThenRefine, Lc as ObservationError, Li as FileCorpus, Ll as RunPersonifiedOptions, Ln as chatWorkerSeam, Lo as CoordinationHttpOptions, Lr as strategyAuthorSystemPrompt, Ls as noProgressFor, Lt as readWorkerInteractiveAdmissions, Lu as WaterfallSpan, M as WorkerInteractiveBinding, Ma as defineStrategy, Mc as HarvestFailure, Mi as builtinShapes, Ml as Outcome, Mn as ChatSessionStore, Mo as CoordinationMcpHandle, Mr as AuthorStrategyOptions, Ms as StopRule, Mt as InteractiveWorkerKeyInput, Mu as bestSoFar, N as WorkerInteractiveProviderSource, Na as depthStrategy, Nc as HarvestReport, Nd as normalizeAnalyzeOnSettle, Ni as createShapeRegistry, Nl as Persona, Nn as ChatTransportExecutorOptions, No as CoordinationPublicAddress, Nr as AuthoredStrategy, Ns as allOf, Nt as InteractiveWorkerOptions, Nu as plateauLength, O as AuthoredHarness, Oa as StrategyShotResult, Oc as InProcessSandboxClientOptions, Od as WorkerWatchOptions, Oi as assertModelAllowed, Ol as WinnerStrategy, On as CodeModeRunner, Oo as resolveSupervisorProfile, Or as discriminatingMeans, Os as ProgressTracker, Ot as WorktreeCliExecutorOptions, Ou as AnytimeStrategySummary, P as attachWorker, Pa as refine, Pc as harvestCorpus, Pi as registerShape, Pl as PersonaContext, Pn as ChatTransportTool, Po as CoordinationTransportOptions, Pr as assertStrategyContract, Ps as allWorkersStalled, Pt as InteractiveWorkerResult, Pu as renderAnytimeTable, Q as WorkspaceCommit, Qa as SuperviseRegistryTable, Qc as Fanout, Qi as createScopeAnalyst, Ql as CompletionAnalyst, Qn as CheckSourceCtx, Qo as legacySupervisorRunDir, Qp as BusEvent, Qr as TurnResult, Qs as runFinalizer, Qt as runGraph, Qu as ContinuityMode, R as EVIDENCE_MAX_CHARS, Ra as LoopCampaignDispatchOptions, Rc as ObserveInput, Ri as InMemoryCorpus, Rl as ShapeBudget, Rn as createChatSessionStore, Ro as CoordinationDeliveryEvidence, Rr as LocalMcpMaterialization, Rs as plateau, Rt as workerInteractiveAdmissionFile, Ru as createWaterfallCollector, S as SuperviseSurfaceResult, Sa as ShotSpec, Sc as IsolatedCheckOptions, Sd as SpawnPreflight, Si as resolveSandboxClient, Sl as Verify, Sm as materializeTreeView, Sn as defaultDelegateBudget, So as SupervisorNodeContext, Sr as EvolutionBandInfo, Ss as workerSteersDir, St as ProvisionSupervisorRequest, Su as AuditIntentInput, T as analystsFromRegistry, Ta as StrategyCtx, Tc as inlineSandboxClient, Td as SpawnRefusalCause, Ti as promotionGate, Tl as WidenDecision, Tm as contentAddress, To as SupervisorToolDescriptor, Tr as EvolutionReport, Ts as NoProgressForOptions, Tt as provisionSupervisor, Tu as auditIntent, U as composeWorkerEvidence, Ua as loopCampaignDispatch, Uc as AssertTraceDerivedFindings, Ui as panel, Ul as LeaderboardBenchTask, Un as assessAuthoredProfile, Uo as RunCancelRequest, Ur as StdioMcpServerSpec, Us as SupervisorSpanRecorder, Ut as EdgeTraversal, Uu as AnalystLensOutput, V as WorkerEvidenceInput, Va as SuperviseDispatchOptions, Vc as observe, Vi as flatWidenGate, Vl as DefinedLeaderboard, Vn as ProfileRichnessThresholds, Vo as FileCoordinationLog, Vr as McpToolDescriptor, Vs as SupervisorSpanOptions, Vt as AgentGraph, Vu as AnalystFindingEvent, W as settledWorkerOut, Wa as loopDispatch, Wc as CombinatorShape, Wi as pipeline, Wl as LeaderboardBenchmarkAdapter, Wn as defaultProfileRichnessThresholds, Wo as RunCancellation, Wr as connectStdioMcp, Ws as createSupervisorSpanRecorder, Wt as GraphEdge, Wu as AnalystRegistry, X as Shell, Xa as SuperviseOptions, Xc as EqualKOnCostOptions, Xi as assertTraceDerivedFindings, Xl as LeaderboardSpec, Xn as CheckRunner, Xo as cancelRun, Xr as SandboxRun, Xs as collectDelivered, Xt as TraversalContinuity, Xu as AuthorizedDownMessage, Y as GitWorkspaceOptions, Ya as DeliverableResolutionInput, Yc as EqualKOnCost, Yi as RegistryAnalyzeProjection, Yl as LeaderboardScore, Yn as CheckRunContext, Yo as WriteWorkerSteerOptions, Yr as OpenSandboxRunPromptOptions, Ys as bestDelivered, Yu as AuthorizeDownMessage, Z as Workspace, Za as SuperviseRegistry, Zc as EqualKVerdict, Zi as buildSteerContext, Zl as defineLeaderboard, Zn as CheckSource, Zo as cancelWorker, Zr as SandboxRunAbortError, Zs as pickBestDelivered, Zt as defaultEdgeTraversalCap, Zu as ContinuationInstruction, _ as boxSurfaceReader, _a as AgenticTask, _c as defaultSelectWinner, _i as claimRetainedInteractiveControl, _l as SteerContext, _m as SpawnForestInDoubtNode, _n as effectiveConcurrency, _o as ResolveDriveHarness, _r as visibleCheckScore, _s as workerInboxFileFromEventDir, _t as InMemoryRunContextOptions, _u as pairwiseSignificance, a as SandboxInstance, aa as BenchmarkCell, ac as DriverReentry, ad as DownMessageAuthorizationInput, ai as SessionCapableBox, al as LoopUntilState, am as defaultToolDetectors, an as delegatesWorkerBriefPrompt, ao as WorkerSpawnRetryHooks, ar as canDisplace, as as readWorkerSteerRequests, at as analyzeTrace, au as stopSentinel, b as AnalystAuthoring, ba as CorpusReadbackOptions, bc as LocalSandboxClientOptions, bi as startRetainedInteractiveRun, bl as TrajectoryReportFn, bm as SpawnForestTree, bn as rollingDispatch, bo as SupervisorAgentDeps, br as EvolutionArchiveNode, bs as workerSteerRequestFile, bt as createInMemoryRunContext, bu as renderLeaderboardSvg, c as VerifierEnvironmentOptions, ca as BenchmarkReport, cc as DriverRetryPolicy, cd as DownMessageEvent, ci as SandboxCapabilities, cl as PanelSpec, cm as ExecutorResultMapping, cn as formatPromptHandle, co as resolveWorkerSpawnRetry, cr as defaultExtractCandidate, cs as safeWorkerFile, ct as captureWorkerTraceEvidence, cu as Interval, d as HarvestSurfaceDiffsOptions, da as Environment, dc as OnUnmetContract, di as acquireSandbox, dl as PipelineStage, dm as FileResultBlobStore, dn as promptHandle, do as CoordinationBinding, dr as modelAuthoredChecks, ds as supervisorWorkersDir, dt as createRootHandle, du as LeaderboardRow, ea as observationFromRegistry, ec as DriverAttemptStop, ed as CoordinationStats, ei as BranchCapableBox, el as FanoutSynthesis, em as BusStats, en as PromptHandle, eo as supervise, er as StructuralRolloutConfig, es as readRunCancelRequest, et as gitWorkspace, eu as CompletionPolicy, f as SurfaceDiff, fa as printBenchmarkReport, fc as classifyDriverFailure, fi as reconnectRetainedRun, fl as RenderCorpusToInstructions, fm as FileSpawnJournal, fn as ConcurrencyCaps, fo as CoordinationToolFace, fr as officialChecksFromMeta, fs as workerCancelRequestsFile, ft as createSupervisor, fu as PairwiseOptions, g as WatchedSurface, ga as AgenticSurface, gc as TerminalDecision, gi as ClaimRetainedInteractiveControlOptions, gl as ScopeWidenGate, gm as SpawnForestEvent, gn as RollingDispatchOptions, go as ObserveSupervisorNodeEvent, gr as structuralRollout, gs as workerInboxFile, gt as InMemoryRunContext, gu as leaderboard, h as SurfaceReader, ha as AgenticRunResult, hc as TERMINAL_DECISIONS, hi as startRetainedRunInEnvironment, hl as ScopeAnalyzeInput, hm as SpawnForest, hn as DispatchUnit, ho as DriveHarnessOwnerContext, hr as selectBestIndex, hs as workerControlLogFile, ht as settledToIteration, hu as ScoreOf, i as SandboxEvent, ia as sanitizeMcpToolSchema, ic as DriverProgressMark, id as DefinedAnalystRecord, ii as SandboxLineageHandle, il as LoopUntilSpec, im as WatchTraceOptions, in as createPromptRegistry, io as WorkerSpawnRetryAttempt, ir as VisibleCheck, is as readWorkerSteerAcknowledgement, it as TrajectoryAnalysis, iu as sentinelCompletion, j as AttachWorkerOptions, ja as breadthStrategy, jc as HarvestError, ji as trajectoryReport, jl as LoopShape, jn as ChatCompletionsTransport, jo as CoordinationAuthentication, jr as selectChampion, js as StopDecision, jt as InteractiveWorkerEnvironment, ju as areaUnderCurve, k as WorktreeFanoutOptions, ka as SurfaceScore, kc as inProcessSandboxClient, ki as assertProfileModelsAllowed, kl as DefinePersona, kn as codeModeSupervisorTools, ko as supervisorAgent, kr as pickChampion, ks as ProgressTrackerOptions, kt as WorktreePatchArtifact, ku as AnytimeTaskCurve, l as createVerifierEnvironment, la as BenchmarkStrategySummary, lc as DriverUnmetContractContext, ld as EscalateQuestion, li as probeSandboxCapabilities, ll as PanelVerdict, lm as gateOnDeliverable, ln as kernelPromptRegistry, lo as retryPreSpawnRefusals, lr as defaultStructuralRolloutPolicy, ls as supervisorRunDir, lt as parseWorkerToolTraceArtifact, lu as Leaderboard, m as SurfaceReadOutcome, ma as AgenticOptions, mc as RunAgentRoundsOptions, md as QuestionEscalationRecord, mi as startRetainedRun, ml as ScopeAnalyst, mm as InMemorySpawnJournal, mn as DispatchStopReason, mo as DriveHarness, mr as sandboxCheckRunner, ms as workerCancellationsDir, mt as createScope, mu as ProfileKeyOf, n as AnalystFinding, na as McpEnvironmentOptions, nc as DriverBudgetReadout, ni as ForkCapableBox, nl as FlatWidenGate, nm as PublishOptions, nn as RegisteredPrompt, no as workerFromBackend, nr as StructuralRolloutPolicy, ns as readWorkerCancelRequests, nt as localShell, nu as completionAuthorizes, o as computeFindingId, oa as BenchmarkConfig, oc as DriverRepromptPolicy, od as DownMessageDeliveryAttempt, oi as createSandboxLineage, ol as Panel, om as watchTrace, on as dumbContinuationFailPrompt, oo as WorkerSpawnRetryPolicy, or as compareCheckOutcomes, os as runCancelRequestFile, ot as WORKER_TOOL_TRACE_SCHEMA_VERSION, ou as AxisScoresOf, p as SurfaceReadBox, pa as runBenchmark, pc as defaultUnmetContractSteer, pd as QuestionEscalationOutcome, pi as recoverRetainedRun, pl as RenderCorpusToInstructionsOptions, pm as InMemoryResultBlobStore, pn as DispatchReport, po as CoordinationVerbs, pr as resolveEntrySymbol, ps as workerCancellationFile, pt as ScopeArgs, pu as PairwiseVerdict, q as copyUntrackedIntoClone, qa as AuthorizedSpawnContext, qc as CorpusRecord, qi as widen, ql as LeaderboardRunContext, qn as CheckExecChannel, qo as WorkerSteerAcknowledgement, qr as OpenSandboxRunBeforeStartContext, qs as FinalizerSettled, qt as GraphResult, qu as AuthoredAnalystDefinition, r as CreateSandboxOptions, ra as createMcpEnvironment, rc as DriverContractState, rd as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, ri as SandboxLineage, rl as LoopUntil, rm as createEventBus, rn as analyzesFindingsReportPrompt, ro as ResolvedWorkerSpawnRetry, rr as StructuralRolloutResult, rs as readWorkerCancellation, rt as runInWorkspace, ru as deterministicCompletion, s as makeFinding, sa as BenchmarkLift, sc as DriverRepromptRefusal, sd as DownMessageDeliveryOutcome, si as CriuCapableClient, sl as PanelJudge, sm as DeliverableSpec, sn as dumbContinuationPassPrompt, so as isPreSpawnExecutorFailure, sr as composeCheckSources, ss as runCancellationFile, st as WorkerToolTraceArtifact, su as GroupOf, t as AgentProfile, ta as McpEndpoint, tc as DriverAttemptsExhaustedError, ti as CheckpointCapableBox, tl as FanoutWinnerSelector, tm as EventBus, tn as PromptRegistry, tr as StructuralRolloutMessage, ts as readRunCancellation, tt as jjWorkspace, tu as CompletionVerdict, u as BoxSurfaceReaderOptions, ua as BenchmarkTaskRow, uc as DriverUnmetContractDecision, ud as MakeWorkerAgent, ui as AcquireOptions, ul as Pipeline, um as mapExecutorResult, un as naiveContinuationPrompt, uo as withWorkerSpawnRetry, ur as filterAuthoredAsserts, us as supervisorRunsRoot, ut as workerTraceAnalysisStore, uu as LeaderboardOptions, v as fsSurfaceReader, va as AgenticTool, vc as isTerminalDecision, vi as reconnectRetainedInteractiveRun, vl as TrajectoryNode, vm as SpawnForestMissingTree, vn as freeSlots, vo as ResolveSupervisorTools, vr as ChampionPick, vs as workerSteerAcknowledgementFile, vt as RunContext, vu as renderLeaderboardHtml, w as SurfaceWorkerOut, wa as StrategyArtifacts, wc as runIsolatedCheck, wd as SpawnRefusal, wi as PromotionVerdict, wl as Widen, wm as replaySpawnTree, wo as SupervisorProfile, wr as EvolutionGeneration, ws as AllWorkersStalledOptions, wt as SupervisorCleanupReceipt, wu as IntentAudit, x as SuperviseSurfaceOptions, xa as RunAgenticOptions, xc as localSandboxClient, xi as ResolveSandboxClientOptions, xl as TrajectoryReportOptions, xm as loadSpawnForest, xn as DelegateOptions, xr as EvolutionAuthor, xs as workerSteerRequestsDir, xt as ProvisionSupervisorConnection, xu as renderPairwiseMarkdown, y as harvestSurfaceDiffs, ya as ArtifactHandle, yc as runAgentRounds, yi as recoverRetainedInteractiveRun, yl as TrajectoryReport, ym as SpawnForestNode, yn as queueOf, yo as ResolvedSupervisorProfile, yr as ChampionPolicy, ys as workerSteerAcknowledgementsDir, yt as createFileRunContext, yu as renderLeaderboardMarkdown, z as NOTE_MAX_CHARS, za as LoopDispatchOptions, zc as ObserveOptions, zi as renderCorpusToInstructions, zl as ShapeContext, zn as AuthoredProfile, zo as CoordinationLog, zr as MaterializeLocalMcpOptions, zs as sampleFromSettled, zt as InPlaceCliExecutorOptions } from "./index-CbZaoYbD.js";
|
|
3
|
+
import { $ as decodeHarnessUsage, $t as WorktreeCheckRunner, A as createInbox, An as ToolLoopMessageRecord, At as CreateAgentEnvironmentInput, B as secretEnvOfMcpServer, Bn as PeerMailReadout, Bt as ResourceRequest, C as SteerableSandboxArgs, Ct as AgentProfileRef, D as Inbox, Dn as ToolLoopChat, Dt as AgentTurnResult, E as AuthorityInboxMessage, En as ToolLoopCallContext, Et as AgentSessionStatus, F as ResolvedMcpServerLaunch, Fn as PeerMailEnvelope, Ft as PlacementInfo, G as CodexRolloutStoreRef, Gn as claimsAuthority, Gt as providerAsSandboxClient, H as CodexRolloutIdentity, Hn as PeerMailSendInput, Ht as WorkspaceRequest, I as envKeyProvider, In as PeerMailEvent, It as ProviderAsSandboxClientOptions, J as addHarnessUsage, Jn as peerMailTools, Jt as CreateTangleSandboxExactProcessProviderOptions, K as CodexRolloutTurn, Kn as createPeerMailbox, Kt as resolveAgentEnvironmentProvider, L as mcpSecretEnvMetadataKey, Ln as PeerMailKind, Lt as ProviderExecutorOptions, M as BridgeModelCredential, Mn as AUTHORITY_MARKERS, Mt as ExecRequest, N as BridgeSeam, Nn as DEFAULT_PEER_MAIL_LIMITS, Nt as ExecResult, O as InboxMessage, On as ToolLoopCompaction, Ot as CheckpointRef, P as KeyProvider, Pn as PEER_MAIL_WIRE_KEY, Pt as ForkRequest, Q as HarnessUsage, Qt as InPlaceHarnessResult, R as resolveMcpServerLaunch, Rn as PeerMailLimits, Rt as ProviderLeafOut, S as SandboxSteeringOptions, St as AgentEnvironmentSummary, T as createSteerableSandboxSession, Tn as ToolSpec, Tt as AgentSessionRef, U as CodexRolloutSession, Un as PeerMailbox, Ut as createAgentEnvironmentProviderRegistry, V as CodexForkBoundary, Vn as PeerMailRefusal, Vt as SandboxClientProviderOptions, W as CodexRolloutStoreReader, Wn as PeerMailboxOptions, Wt as providerAsExecutor, X as harnessUsageIsEmpty, Xt as createTangleSandboxExactProcessProvider, Y as createCodexRolloutStoreReader, Yn as peerMailVerbNames, Yt as SandboxControlClient, Z as readCodexRolloutSession, Zt as ProviderPlacement, _ as cliInPlaceExecutor, _t as AgentEnvironmentProvider, a as StreamAgentTurnOptions, at as assertSandboxServedModel, b as createExecutorRegistry, bt as AgentEnvironmentQuery, c as CliInPlaceSeam, ct as extractLlmCallEvent, d as CliWorktreeSeam, dt as sandboxEventServedBackend, en as WorktreeCommandResult, et as SandboxLeafOut, f as ExecutorConfig, ft as sandboxProgressEvents, g as SandboxSeam, gt as AgentEnvironmentEvent, h as RouterToolsSeam, ht as AgentEnvironmentCapabilities, i as CollectedAgentTurn, it as SandboxUsageLedger, j as BridgeHarnessStore, jn as ToolLoopToolCall, jt as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, k as PeerInboxMessage, kn as ToolLoopCompactionOptions, kt as CheckpointRequest, l as CliSeam, lt as mapSandboxEvent, m as RouterSeam, mt as AgentEnvironment, n as AgentTurnInput, nn as WorktreeProfileMaterializationReceipt, nt as SandboxServedBackend, o as collectAgentTurn, ot as createSandboxToolPartState, p as ProviderSeam, pt as sumSandboxUsage, q as CodexStoreDelta, qn as isPeerMailEnvelope, qt as sandboxClientAsProvider, r as AgentTurnUsage, rt as SandboxToolPartState, s as streamAgentTurn, st as createSandboxUsageLedger, t as AgentTurnBackend, tn as WorktreeHarnessResult, tt as SandboxOutputMarker, u as CliWorktreeBridgeSeam, ut as mapSandboxToolEvent, v as cliWorktreeExecutor, vt as AgentEnvironmentProviderRef, w as SteerableSandboxSession, wn as RouterTransportConfig, wt as AgentSession, x as DEFAULT_SANDBOX_STEERING_MAX_TURNS, xt as AgentEnvironmentStatus, y as createExecutor, yt as AgentEnvironmentProviderRegistry, z as resolveSecretEnv, zn as PeerMailOutcome, zt as ProviderPromptOptions } from "./stream-agent-turn-DayHmtvw.js";
|
|
4
4
|
export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type 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, type ChampionPick, type ChampionPolicy, type ChatCompletionsTransport, type ChatSessionStore, type ChatTransportExecutorOptions, type ChatTransportTool, type ChatWorkerSeamOptions, type CheckExecChannel, type CheckOutcome, type CheckRunContext, type CheckRunner, type CheckSource, type CheckSourceCtx, type CheckpointCapableBox, type CheckpointRef, type CheckpointRequest, type ClaimRetainedInteractiveControlOptions, type 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 ConcurrencyCaps, type ContinuationInstruction, 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_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_STALL_AFTER_MS, 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 DriverContractState, type DriverProgressMark, type DriverReentry, type DriverRepromptPolicy, type DriverRepromptRefusal, type DriverRetryPolicy, type DriverUnmetContractContext, type DriverUnmetContractDecision, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EscalateQuestion, type EventBus, type EvolutionArchiveNode, type EvolutionAuthor, type EvolutionBandInfo, type EvolutionCandidate, type EvolutionGeneration, type EvolutionReport, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, type ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, 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, 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 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 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 OnUnmetContract, type OpenSandboxRunBeforeStartContext, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, type PairwiseOptions, type PairwiseVerdict, type Panel, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, type PeerMailEnvelope, type PeerMailEvent, type PeerMailKind, type PeerMailLimits, type PeerMailOutcome, type PeerMailReadout, type PeerMailRefusal, type PeerMailSendInput, type PeerMailbox, type PeerMailboxOptions, type PendingWait, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, type ProfileKeyOf, type ProfileMaterializationReceipt, type ProfileRichness, type ProfileRichnessThresholds, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, type PromotionGateOptions, type PromotionVerdict, type PromptHandle, type PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProvisionSupervisorConnection, type ProvisionSupervisorRequest, type ProvisionedSupervisor, type PublishOptions, type QuestionEscalationOutcome, type QuestionEscalationRecord, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RegisteredPrompt, type RegistryAnalyzeProjection, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, type RepairStop, type ReproductionCheck, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, type ResolveDriveHarness, type ResolveSandboxClientOptions, type ResolveSupervisorTools, type ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, type ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedPendingCause, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RetainedRunTurnInput, type RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSignal, type RootStreamReceipt, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunContext, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, type SandboxCapabilities, type SandboxClient, type SandboxClientProviderOptions, type SandboxControlClient, type SandboxEvent, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, type SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, type SandboxSteeringOptions, type SandboxToolPartState, type 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 Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, type StdioMcpConnection, type StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, type SteerableSandboxArgs, type SteerableSandboxSession, type StopDecision, type StopRule, type Strategy, type StrategyArtifacts, type StrategyCtx, type StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, type StreamAgentTurnOptions, type StructuralRolloutConfig, type StructuralRolloutMessage, type StructuralRolloutPolicy, type StructuralRolloutResult, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseRegistry, type SuperviseRegistryTable, type SuperviseSurfaceOptions, type SuperviseSurfaceResult, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, type 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 TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolSpec, type ToolStepInput, type TraceSource, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, type TurnResult, type UnconfirmedTeardown, type UnknownMaterializationReason, type UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerifierEnvironmentOptions, type Verify, type VerifySpec, type VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, type WaitOpts, type WaitOutcome, type WaitProbe, type WaitProbeRegistry, type WaitRejection, type WaitSpec, type WatchTraceOptions, type WatchedSurface, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEvidenceInput, type WorkerInteractiveAdmission, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, 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 WorkspaceCommit, type WorkspaceRequest, type WorkspaceRun, type WorktreeCheckRunner, type WorktreeCliExecutorOptions, type WorktreeCommandResult, type WorktreeFanoutOptions, type WorktreeHarnessResult, type WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, auditIntent, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorktreeCliExecutor, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defaultUnmetContractSteer, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, discriminatingMeans, dumbContinuationFailPrompt, dumbContinuationPassPrompt, effectiveConcurrency, envKeyProvider, equalKOnCost, extractLlmCallEvent, 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, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, patchDelivered, peerMailTools, peerMailVerbNames, pendingWaits, persistHarnessTranscript, pickBestDelivered, pickChampion, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promotionGate, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveAdmissions, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, streamAgentTurn, structuralRollout, sumSandboxUsage, supervise, superviseDispatch, superviseSurface, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, timerAt, trajectoryReport, unsafeInProcessRunner, validateWaitSpec, verify, visibleCheckScore, waitUntil, watchTrace, widen, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerInteractiveAdmissionFile, workerInteractiveBindingFile, workerInteractiveBindingsDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
|
package/dist/kernel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as startRetainedInteractiveRun, $i as decodeHarnessUsage, $n as contentAddress, $t as isPeerMailEnvelope, A as validateWaitSpec, Ai as mapSandboxToolEvent, An as providerAsSandboxClient, At as workerTraceAnalysisStore, Bt as workerTraceEnv, Ci as assertSandboxServedModel, Ct as materializeTreeView, D as isWaitOutcome, Di as extractLlmCallEvent, Dn as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, Dt as captureWorkerTraceEvidence, E as createWaitProbes, Ei as createSandboxUsageLedger, Et as WORKER_TOOL_TRACE_SCHEMA_VERSION, Fn as sandboxSessionTraceSource, G as readWorkerInteractiveAdmissions, Gn as startRetainedRunInEnvironment, Gt as createActivityLog, Hn as reconnectRetainedRun, Ht as workerTraceSeamKey, It as spendFromUsageEvents, J as readWorkerInteractiveBinding, Jt as AUTHORITY_MARKERS, K as workerInteractiveAdmissionFile, Kt as readWorkerProgress, Mi as sandboxEventServedBackend, Mn as sandboxClientAsProvider, Ni as sandboxProgressEvents, Nn as createPushTraceSource, Nt as createBudgetPool, O as pollFor, On as createAgentEnvironmentProviderRegistry, Pi as sumSandboxUsage, Pn as decodeToolPart, Q as recoverRetainedInteractiveRun, Qn as persistHarnessTranscript, Qt as createPeerMailbox, St as loadSpawnForest, T as settledToIteration, Ti as createSandboxToolPartState, Tt as replaySpawnTree, Un as recoverRetainedRun, Vt as workerTraceHeaders, Wn as startRetainedRun, Wt as DEFAULT_STALL_AFTER_MS, X as workerInteractiveBindingsDir, Xn as captureHarnessTranscript, Xt as PEER_MAIL_WIRE_KEY, Y as workerInteractiveBindingFile, Yt as DEFAULT_PEER_MAIL_LIMITS, Z as reconnectRetainedInteractiveRun, Zn as harnessTranscriptArtifact, Zt as claimsAuthority, _n as runAgentRounds, _t as FileResultBlobStore, a as pickBestDelivered, at as rollingDispatch, bn as acquireSandbox, bt as InMemorySpawnJournal, c as DriverAttemptsExhaustedError, cn as createCodexRolloutStoreReader, cr as createOpenInferenceFileExporter, ct as cliInPlaceExecutor, d as defaultUnmetContractSteer, dt as createExecutorRegistry, en as peerMailTools, gn as isTerminalDecision, gt as createInPlaceCliExecutor, hn as defaultSelectWinner, ht as createSteerableSandboxSession, i as collectDelivered, it as queueOf, j as waitUntil, jn as resolveAgentEnvironmentProvider, jt as BudgetReconcileFault, k as timerAt, ki as mapSandboxEvent, kn as providerAsExecutor, kt as parseWorkerToolTraceArtifact, ln as harnessUsageIsEmpty, lr as createOtelExporter, lt as cliWorktreeExecutor, mt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, n as createSupervisor, nt as effectiveConcurrency, o as runFinalizer, pn as TERMINAL_DECISIONS, pt as createWorktreeCliExecutor, q as attachWorker, qt as createInbox, r as bestDelivered, rt as freeSlots, sn as addHarnessUsage, t as createRootHandle, tn as peerMailVerbNames, u as classifyDriverFailure, un as readCodexRolloutSession, ut as createExecutor, v as createScope, vn as createSandboxLineage, vt as FileSpawnJournal, wt as pendingWaits, yn as probeSandboxCapabilities, yt as InMemoryResultBlobStore, zt as readWorkerTraceContext } from "./supervisor-
|
|
2
|
-
import { A as collectAgentTurn, C as defaultAnalystInstruction, D as profileOptimizerModelCall, E as profileChatClient, S as ObservationError, T as renderReport, _ as depthStrategy, a as defaultStructuralRolloutPolicy, b as sample, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as defineStrategy, h as breadthStrategy, i as defaultExtractCandidate, j as streamAgentTurn, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, v as refine, w as observe, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-
|
|
1
|
+
import { $ as startRetainedInteractiveRun, $i as decodeHarnessUsage, $n as contentAddress, $t as isPeerMailEnvelope, A as validateWaitSpec, Ai as mapSandboxToolEvent, An as providerAsSandboxClient, At as workerTraceAnalysisStore, Bt as workerTraceEnv, Ci as assertSandboxServedModel, Ct as materializeTreeView, D as isWaitOutcome, Di as extractLlmCallEvent, Dn as DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, Dt as captureWorkerTraceEvidence, E as createWaitProbes, Ei as createSandboxUsageLedger, Et as WORKER_TOOL_TRACE_SCHEMA_VERSION, Fn as sandboxSessionTraceSource, G as readWorkerInteractiveAdmissions, Gn as startRetainedRunInEnvironment, Gt as createActivityLog, Hn as reconnectRetainedRun, Ht as workerTraceSeamKey, It as spendFromUsageEvents, J as readWorkerInteractiveBinding, Jt as AUTHORITY_MARKERS, K as workerInteractiveAdmissionFile, Kt as readWorkerProgress, Mi as sandboxEventServedBackend, Mn as sandboxClientAsProvider, Ni as sandboxProgressEvents, Nn as createPushTraceSource, Nt as createBudgetPool, O as pollFor, On as createAgentEnvironmentProviderRegistry, Pi as sumSandboxUsage, Pn as decodeToolPart, Q as recoverRetainedInteractiveRun, Qn as persistHarnessTranscript, Qt as createPeerMailbox, St as loadSpawnForest, T as settledToIteration, Ti as createSandboxToolPartState, Tt as replaySpawnTree, Un as recoverRetainedRun, Vt as workerTraceHeaders, Wn as startRetainedRun, Wt as DEFAULT_STALL_AFTER_MS, X as workerInteractiveBindingsDir, Xn as captureHarnessTranscript, Xt as PEER_MAIL_WIRE_KEY, Y as workerInteractiveBindingFile, Yt as DEFAULT_PEER_MAIL_LIMITS, Z as reconnectRetainedInteractiveRun, Zn as harnessTranscriptArtifact, Zt as claimsAuthority, _n as runAgentRounds, _t as FileResultBlobStore, a as pickBestDelivered, at as rollingDispatch, bn as acquireSandbox, bt as InMemorySpawnJournal, c as DriverAttemptsExhaustedError, cn as createCodexRolloutStoreReader, cr as createOpenInferenceFileExporter, ct as cliInPlaceExecutor, d as defaultUnmetContractSteer, dt as createExecutorRegistry, en as peerMailTools, gn as isTerminalDecision, gt as createInPlaceCliExecutor, hn as defaultSelectWinner, ht as createSteerableSandboxSession, i as collectDelivered, it as queueOf, j as waitUntil, jn as resolveAgentEnvironmentProvider, jt as BudgetReconcileFault, k as timerAt, ki as mapSandboxEvent, kn as providerAsExecutor, kt as parseWorkerToolTraceArtifact, ln as harnessUsageIsEmpty, lr as createOtelExporter, lt as cliWorktreeExecutor, mt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, n as createSupervisor, nt as effectiveConcurrency, o as runFinalizer, pn as TERMINAL_DECISIONS, pt as createWorktreeCliExecutor, q as attachWorker, qt as createInbox, r as bestDelivered, rt as freeSlots, sn as addHarnessUsage, t as createRootHandle, tn as peerMailVerbNames, u as classifyDriverFailure, un as readCodexRolloutSession, ut as createExecutor, v as createScope, vn as createSandboxLineage, vt as FileSpawnJournal, wt as pendingWaits, yn as probeSandboxCapabilities, yt as InMemoryResultBlobStore, zt as readWorkerTraceContext } from "./supervisor-CFSPj8rx.js";
|
|
2
|
+
import { A as collectAgentTurn, C as defaultAnalystInstruction, D as profileOptimizerModelCall, E as profileChatClient, S as ObservationError, T as renderReport, _ as depthStrategy, a as defaultStructuralRolloutPolicy, b as sample, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as defineStrategy, h as breadthStrategy, i as defaultExtractCandidate, j as streamAgentTurn, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, v as refine, w as observe, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-CW67upUV.js";
|
|
3
3
|
import { n as assertModelAllowed, r as assertProfileModelsAllowed } from "./model-policy-BbSCSak0.js";
|
|
4
|
-
import { $ as InMemoryCorpus, A as chatWorkerSeam, At as pairwiseSignificance, B as SandboxRunAbortError, Bt as createMcpEnvironment, C as withUntrackedArtifacts, Ct as loopDispatch, D as codeModeSupervisorTools, Dt as sentinelCompletion, Et as deterministicCompletion, F as selectChampion, Ft as auditIntent, G as equalKOnCost, Gt as resolveSecretEnv, H as printBenchmarkReport, Ht as envKeyProvider, I as assertStrategyContract, It as defaultAuditorInstruction, J as runPersonified, K as trajectoryReport, Kt as secretEnvOfMcpServer, L as authorStrategy, Lt as McpSpawnFault, M as discriminatingMeans, Mt as renderLeaderboardMarkdown, N as pickChampion, Nt as renderLeaderboardSvg, O as unsafeInProcessRunner, Ot as stopSentinel, P as runStrategyEvolution, Pt as renderPairwiseMarkdown, Q as FileCorpus, R as strategyAuthorContract, Rt as connectStdioMcp, S as copyUntrackedIntoClone, St as loopCampaignDispatch, T as patchDelivered, Tt as completionAuthorizes, U as runBenchmark, Ut as mcpSecretEnvMetadataKey, V as openSandboxRun, Vt as sanitizeMcpToolSchema, W as promotionGate, Wt as resolveMcpServerLaunch, X as createShapeRegistry, Y as builtinShapes, Z as registerShape, _ as NOTE_MAX_CHARS, _t as harvestCorpus, a as localShell, at as pipeline, b as composeWorkerEvidence, bt as localSandboxClient, c as createVerifierEnvironment, ct as widen, d as harvestSurfaceDiffs, dt as createScopeAnalyst, et as renderCorpusToInstructions, f as analystsFromRegistry, ft as registryScopeAnalyst, g as EVIDENCE_MAX_CHARS, gt as HarvestError, h as worktreeFanout, ht as inProcessSandboxClient, i as jjWorkspace, it as panel, j as createChatSessionStore, jt as renderLeaderboardHtml, k as chatTransportExecutor, kt as leaderboard, l as boxSurfaceReader, lt as assertTraceDerivedFindings, m as superviseSurface, mt as runIsolatedCheck, n as makeFinding, nt as flatWidenGate, o as runInWorkspace, ot as selectValidWinner, p as failuresAnalyst, pt as observationFromRegistry, q as definePersona, qt as createTangleSandboxExactProcessProvider, r as gitWorkspace, rt as loopUntil, s as createWaterfallCollector, st as verify, t as computeFindingId, tt as fanout, u as fsSurfaceReader, ut as buildSteerContext, 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 materializeLocalMcp } from "./runtime-
|
|
5
|
-
import { _ as createSupervisorSpanRecorder, a as isPreSpawnExecutorFailure, b as mapExecutorResult, c as withWorkerSpawnRetry, d as resolveSupervisorProfile, f as supervisorAgent, i as workerFromBackend, l as assertCoordinationBinding, n as supervise, o as resolveWorkerSpawnRetry, s as retryPreSpawnRefusals, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, v as serveCoordinationMcp, y as gateOnDeliverable } from "./supervise-
|
|
6
|
-
import { A as normalizeAnalyzeOnSettle, E as canonicalFindingEvent, F as watchTrace, N as createEventBus, P as defaultToolDetectors, _ as renderAnytimeTable, a as allOf, b as FileCoordinationLog, 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, w as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, y as createInMemoryRunContext } from "./coordination-driver-
|
|
4
|
+
import { $ as InMemoryCorpus, A as chatWorkerSeam, At as pairwiseSignificance, B as SandboxRunAbortError, Bt as createMcpEnvironment, C as withUntrackedArtifacts, Ct as loopDispatch, D as codeModeSupervisorTools, Dt as sentinelCompletion, Et as deterministicCompletion, F as selectChampion, Ft as auditIntent, G as equalKOnCost, Gt as resolveSecretEnv, H as printBenchmarkReport, Ht as envKeyProvider, I as assertStrategyContract, It as defaultAuditorInstruction, J as runPersonified, K as trajectoryReport, Kt as secretEnvOfMcpServer, L as authorStrategy, Lt as McpSpawnFault, M as discriminatingMeans, Mt as renderLeaderboardMarkdown, N as pickChampion, Nt as renderLeaderboardSvg, O as unsafeInProcessRunner, Ot as stopSentinel, P as runStrategyEvolution, Pt as renderPairwiseMarkdown, Q as FileCorpus, R as strategyAuthorContract, Rt as connectStdioMcp, S as copyUntrackedIntoClone, St as loopCampaignDispatch, T as patchDelivered, Tt as completionAuthorizes, U as runBenchmark, Ut as mcpSecretEnvMetadataKey, V as openSandboxRun, Vt as sanitizeMcpToolSchema, W as promotionGate, Wt as resolveMcpServerLaunch, X as createShapeRegistry, Y as builtinShapes, Z as registerShape, _ as NOTE_MAX_CHARS, _t as harvestCorpus, a as localShell, at as pipeline, b as composeWorkerEvidence, bt as localSandboxClient, c as createVerifierEnvironment, ct as widen, d as harvestSurfaceDiffs, dt as createScopeAnalyst, et as renderCorpusToInstructions, f as analystsFromRegistry, ft as registryScopeAnalyst, g as EVIDENCE_MAX_CHARS, gt as HarvestError, h as worktreeFanout, ht as inProcessSandboxClient, i as jjWorkspace, it as panel, j as createChatSessionStore, jt as renderLeaderboardHtml, k as chatTransportExecutor, kt as leaderboard, l as boxSurfaceReader, lt as assertTraceDerivedFindings, m as superviseSurface, mt as runIsolatedCheck, n as makeFinding, nt as flatWidenGate, o as runInWorkspace, ot as selectValidWinner, p as failuresAnalyst, pt as observationFromRegistry, q as definePersona, qt as createTangleSandboxExactProcessProvider, r as gitWorkspace, rt as loopUntil, s as createWaterfallCollector, st as verify, t as computeFindingId, tt as fanout, u as fsSurfaceReader, ut as buildSteerContext, 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 materializeLocalMcp } from "./runtime-CmuAQsWI.js";
|
|
5
|
+
import { _ as createSupervisorSpanRecorder, a as isPreSpawnExecutorFailure, b as mapExecutorResult, c as withWorkerSpawnRetry, d as resolveSupervisorProfile, f as supervisorAgent, i as workerFromBackend, l as assertCoordinationBinding, n as supervise, o as resolveWorkerSpawnRetry, s as retryPreSpawnRefusals, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, v as serveCoordinationMcp, y as gateOnDeliverable } from "./supervise-DzoCYAe-.js";
|
|
6
|
+
import { A as normalizeAnalyzeOnSettle, E as canonicalFindingEvent, F as watchTrace, N as createEventBus, P as defaultToolDetectors, _ as renderAnytimeTable, a as allOf, b as FileCoordinationLog, 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, w as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, y as createInMemoryRunContext } from "./coordination-driver-CMprWr0k.js";
|
|
7
7
|
import { C as workerInboxFileFromEventDir, D as workerSteerRequestsDir, E as workerSteerRequestFile, O as workerSteersDir, S as workerInboxFile, T as workerSteerAcknowledgementsDir, _ as supervisorWorkersDir, a as legacySupervisorRunsRoot, b as workerCancellationsDir, c as readWorkerCancelRequests, d as readWorkerSteerRequests, f as runCancelRequestFile, g as supervisorRunsRoot, h as supervisorRunDir, i as legacySupervisorRunDir, j as writeWorkerSteer, l as readWorkerCancellation, m as safeWorkerFile, n as cancelWorker, o as readRunCancelRequest, p as runCancellationFile, s as readRunCancellation, t as cancelRun, u as readWorkerSteerAcknowledgement, v as workerCancelRequestsFile, w as workerSteerAcknowledgementFile, x as workerControlLogFile, y as workerCancellationFile } from "./run-layout-hZREkcfu.js";
|
|
8
|
-
import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-
|
|
9
|
-
import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-
|
|
10
|
-
import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-
|
|
8
|
+
import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-DoSrqsM7.js";
|
|
9
|
+
import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-kwBecu_w.js";
|
|
10
|
+
import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-Bke7I2gs.js";
|
|
11
11
|
export { AUTHORITY_MARKERS, BudgetReconcileFault, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_AWAIT_EVENT_TIMEOUT_MS, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, 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, SandboxRunAbortError, TERMINAL_DECISIONS, VERIFY_TAIL_CHARS, WORKER_TOOL_TRACE_SCHEMA_VERSION, acquireSandbox, adaptiveRefine, addHarnessUsage, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, auditIntent, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaitProbes, createWaterfallCollector, createWorktreeCliExecutor, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultAuditorInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defaultUnmetContractSteer, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, discriminatingMeans, dumbContinuationFailPrompt, dumbContinuationPassPrompt, effectiveConcurrency, envKeyProvider, equalKOnCost, extractLlmCallEvent, 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, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, patchDelivered, peerMailTools, peerMailVerbNames, pendingWaits, persistHarnessTranscript, pickBestDelivered, pickChampion, pipeline, plateau, plateauLength, pollFor, printBenchmarkReport, probeSandboxCapabilities, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promotionGate, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveAdmissions, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxClientAsProvider, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectChampion, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, streamAgentTurn, structuralRollout, sumSandboxUsage, supervise, superviseDispatch, superviseSurface, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, timerAt, trajectoryReport, unsafeInProcessRunner, validateWaitSpec, verify, visibleCheckScore, waitUntil, watchTrace, widen, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerInteractiveAdmissionFile, workerInteractiveBindingFile, workerInteractiveBindingsDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as Budget } from "./types-
|
|
1
|
+
import { i as Budget } from "./types-CEma9LKR.js";
|
|
2
2
|
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
|
-
import { O as AuthoredHarness, Ol as WinnerStrategy, k as WorktreeFanoutOptions, kt as WorktreePatchArtifact } from "./index-
|
|
3
|
+
import { O as AuthoredHarness, Ol as WinnerStrategy, k as WorktreeFanoutOptions, kt as WorktreePatchArtifact } from "./index-CbZaoYbD.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-BUkkPt10.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { dt as createExecutorRegistry } from "./supervisor-
|
|
1
|
+
import { dt as createExecutorRegistry } from "./supervisor-CFSPj8rx.js";
|
|
2
2
|
import { i as ConfigError } from "./errors-DodWX-cb.js";
|
|
3
|
-
import { J as runPersonified, h as worktreeFanout, q as definePersona } from "./runtime-
|
|
3
|
+
import { J as runPersonified, h as worktreeFanout, q as definePersona } from "./runtime-CmuAQsWI.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-DU8XqsGN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loop-runner-bin-mrOuv9SU.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-DU8XqsGN.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-BUkkPt10.js";
|
|
2
2
|
export { LoopRunnerCliArgs, LoopRunnerCliResult, parseLoopRunnerArgv, runLoopRunnerCli };
|