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