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