@tangle-network/agent-runtime 0.311.2 → 0.312.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/{activation-Dvl9gE_g.js → activation-CE5vCzYS.js} +2 -2
  2. package/dist/{activation-Dvl9gE_g.js.map → activation-CE5vCzYS.js.map} +1 -1
  3. package/dist/{activation-BxR-Im_k.d.ts → activation-K-k4BRp9.d.ts} +2 -3
  4. package/dist/agent.d.ts +1 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-CIfgl4Yj.js → coordination-driver-Cp2z1zz6.js} +14 -14
  7. package/dist/coordination-driver-Cp2z1zz6.js.map +1 -0
  8. package/dist/{delegate-05Ddb4_L.js → delegate-DPkyIx3C.js} +2 -2
  9. package/dist/{delegate-05Ddb4_L.js.map → delegate-DPkyIx3C.js.map} +1 -1
  10. package/dist/durable.d.ts +1 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-BNVGyp1P.js → graph-DP0X2bVC.js} +5 -5
  13. package/dist/graph-DP0X2bVC.js.map +1 -0
  14. package/dist/{improvement-cycle-Ig1_rWAw.js → improvement-cycle-D5r4auxT.js} +3 -3
  15. package/dist/{improvement-cycle-Ig1_rWAw.js.map → improvement-cycle-D5r4auxT.js.map} +1 -1
  16. package/dist/{index-B0c5PmmO.d.ts → index-BdIi1eIV.d.ts} +11256 -2501
  17. package/dist/index.d.ts +4 -6
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +2 -3
  20. package/dist/intelligence.js +3 -3
  21. package/dist/kernel.d.ts +2 -4
  22. package/dist/kernel.js +8 -8
  23. package/dist/{loop-runner-bin-Beh7PECB.js → loop-runner-bin-Cn7244xv.js} +3 -3
  24. package/dist/{loop-runner-bin-Beh7PECB.js.map → loop-runner-bin-Cn7244xv.js.map} +1 -1
  25. package/dist/{loop-runner-bin-drXESgaI.d.ts → loop-runner-bin-CoKHGqxE.d.ts} +2 -3
  26. package/dist/loop-runner-bin.d.ts +1 -1
  27. package/dist/loop-runner-bin.js +1 -1
  28. package/dist/mcp/bin.js +3 -3
  29. package/dist/mcp/index.d.ts +2 -5
  30. package/dist/mcp/index.js +4 -4
  31. package/dist/{openai-tools-CJHfmFzg.d.ts → openai-tools-C2GoLNjj.d.ts} +2 -2
  32. package/dist/profiles.d.ts +1 -1
  33. package/dist/{provision-supervisor-CfKlAMTb.js → provision-supervisor-BahNK2L0.js} +3 -3
  34. package/dist/{provision-supervisor-CfKlAMTb.js.map → provision-supervisor-BahNK2L0.js.map} +1 -1
  35. package/dist/{runtime-DsnHqwNx.js → runtime-DRrpUP7n.js} +8 -8
  36. package/dist/{runtime-DsnHqwNx.js.map → runtime-DRrpUP7n.js.map} +1 -1
  37. package/dist/{search-executor-BNLvgp0X.js → search-executor-BuwMU5TF.js} +2 -2
  38. package/dist/{search-executor-BNLvgp0X.js.map → search-executor-BuwMU5TF.js.map} +1 -1
  39. package/dist/{server-Bx4d5imQ.js → server-DMqPF86Y.js} +3 -3
  40. package/dist/{server-Bx4d5imQ.js.map → server-DMqPF86Y.js.map} +1 -1
  41. package/dist/{supervise-D6MgxpMI.js → supervise-CGMzXi_j.js} +47 -20
  42. package/dist/supervise-CGMzXi_j.js.map +1 -0
  43. package/dist/{supervisor-WYRLsCp1.js → supervisor-DgcmBicU.js} +33 -23
  44. package/dist/supervisor-DgcmBicU.js.map +1 -0
  45. package/dist/testing.d.ts +1 -2
  46. package/dist/testing.js +12 -12
  47. package/dist/tui/index.d.ts +1 -1
  48. package/dist/tui/index.js +1 -1
  49. package/package.json +1 -1
  50. package/skills/profile-authoring/SKILL.md +1 -1
  51. package/dist/coordination-driver-CIfgl4Yj.js.map +0 -1
  52. package/dist/graph-BNVGyp1P.js.map +0 -1
  53. package/dist/stream-agent-turn-fd2XzrTv.d.ts +0 -2252
  54. package/dist/substrate-GW6LFx4A.d.ts +0 -284
  55. package/dist/supervise-D6MgxpMI.js.map +0 -1
  56. package/dist/supervisor-WYRLsCp1.js.map +0 -1
  57. package/dist/types-RlLmOHFR.d.ts +0 -6210
package/dist/index.d.ts CHANGED
@@ -1,13 +1,11 @@
1
- import { $a as OpenAIChatToolChoice, $r as NotFoundError, $t as RuntimeEventCollector, Aa as RuntimeRunCompleteInput, Ba as AgentBackendInput, Bt as OtelExporter, Fa as RuntimeRunRow, Ga as AgentTaskContext, Gt as buildRuntimeEventOtelSpans, Ha as AgentKnowledgeProvider, Ht as RuntimeEventOtelOptions, Ia as RuntimeRunStatus, It as LoopSpanNode, Ja as AgentTaskStatus, Jr as AgentEvalError, Jt as generateSpanId, Ka as AgentTaskRunResult, Kt as createOpenInferenceFileExporter, La as startRuntimeRun, Lt as OtelAttribute, Ma as RuntimeRunHandle, Na as RuntimeRunOptions, Pa as RuntimeRunPersistenceAdapter, Qa as OpenAIChatTool, Qr as JudgeError, Qt as toOtelAttributes, Ra as AgentAdapter, Rt as OtelExportConfig, Ua as AgentRuntimeEvent, Ut as buildLoopOtelSpans, Va as AgentExecutionBackend, Vt as OtelSpan, Wa as AgentRuntimeEventSink, Wt as buildLoopSpanNodes, Xa as KnowledgeReadinessDecision, Xr as BackendTransportError, Xt as padSpanId, Ya as BackendErrorDetail, Yr as AgentEvalErrorCode, Yt as loopEventToOtelSpan, Za as OpenAIChatResponseFormat, Zr as ConfigError, Zt as padTraceId, ai as RuntimeRunStateError, an as SanitizedKnowledgeRequirement, ao as RuntimeStreamEvent, cn as sanitizeAgentRuntimeEvent, dt as SupervisedResult, ei as PlannerError, en as RuntimeStreamEventCollector, eo as RunAgentTaskOptions, g as ExecutorFactory, i as Budget, ii as RetainedRunDispatchBindingError, in as SanitizedKnowledgeReadinessReport, io as RuntimeSessionStore, ja as RuntimeRunCost, ln as sanitizeKnowledgeReadinessReport, ni as RetainedInteractiveBindingError, nn as RuntimeStreamEventSummary, no as RuntimeCanonicalStreamEvent, oi as ValidationError, on as createRuntimeEventCollector, qa as AgentTaskSpec, qt as createOtelExporter, ri as RetainedRunAdmissionError, rn as RuntimeTelemetryOptions, ro as RuntimeSession, sn as createRuntimeStreamEventCollector, ti as RetainedInteractiveAdmissionError, tn as RuntimeStreamEventSink, to as RunAgentTaskStreamOptions, un as sanitizeRuntimeStreamEvent, za as AgentBackendContext, zt as OtelExportStats } from "./types-RlLmOHFR.js";
1
+ import { $w as KnowledgeReadinessDecision, $x as DeliverableSpec, AS as AgentEvalError, Ab as createOpenInferenceFileExporter, Ad as D1StmtLike, BS as RetainedRunDispatchBindingError, Bb as RuntimeStreamEventSummary, Cb as OtelExportStats, DS as Redactor, Db as buildLoopOtelSpans, Eb as RuntimeEventOtelOptions, FS as NotFoundError, Fb as padTraceId, Fs as IsolatedCheckResult, Gb as createRuntimeStreamEventCollector, Gn as StructuralRolloutPolicy, Gw as AgentKnowledgeProvider, HS as ValidationError, Hb as SanitizedKnowledgeReadinessReport, Hw as AgentBackendContext, IS as PlannerError, Ib as toOtelAttributes, Jb as sanitizeRuntimeStreamEvent, Jw as AgentTaskContext, Kb as sanitizeAgentRuntimeEvent, Kw as AgentRuntimeEvent, LS as RetainedInteractiveAdmissionError, Lb as RuntimeEventCollector, MS as BackendTransportError, Mb as generateSpanId, Md as d1ToSqlAdapter, NS as ConfigError, Nb as loopEventToOtelSpan, Ns as IsolatedCheckBoxEvidence, Ob as buildLoopSpanNodes, PS as JudgeError, Pb as padSpanId, Qw as BackendErrorDetail, RS as RetainedInteractiveBindingError, Rb as RuntimeStreamEventCollector, Sb as OtelExportConfig, Sc as SuperviseOptions, Tb as OtelSpan, Ub as SanitizedKnowledgeRequirement, Uw as AgentBackendInput, VS as RuntimeRunStateError, Vb as RuntimeTelemetryOptions, Vw as AgentAdapter, Wb as createRuntimeEventCollector, Ww as AgentExecutionBackend, Xd as Budget, Xw as AgentTaskSpec, Yw as AgentTaskRunResult, Zw as AgentTaskStatus, _w as RuntimeRunStatus, aT as RuntimeCanonicalStreamEvent, bb as LoopSpanNode, cT as RuntimeStreamEvent, dw as RuntimeRunCompleteInput, eT as OpenAIChatResponseFormat, fw as RuntimeRunCost, gw as RuntimeRunRow, hw as RuntimeRunPersistenceAdapter, iT as RunAgentTaskStreamOptions, jS as AgentEvalErrorCode, jb as createOtelExporter, jd as SqlAdapter, kb as buildRuntimeEventOtelSpans, kd as D1DatabaseLike, mw as RuntimeRunOptions, nT as OpenAIChatToolChoice, np as SupervisedResult, oT as RuntimeSession, pl as SupervisorProfile, pw as RuntimeRunHandle, qb as sanitizeKnowledgeReadinessReport, qw as AgentRuntimeEventSink, rT as RunAgentTaskOptions, sT as RuntimeSessionStore, sf as ExecutorFactory, tT as OpenAIChatTool, tv as WorktreeCheckRunner, vw as startRuntimeRun, wb as OtelExporter, xb as OtelAttribute, zS as RetainedRunAdmissionError, zb as RuntimeStreamEventSink, zh as ExecutorConfig } from "./index-BdIi1eIV.js";
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
- import { Es as IsolatedCheckBoxEvidence, Gm as d1ToSqlAdapter, Gn as StructuralRolloutPolicy, Hm as D1DatabaseLike, Os as IsolatedCheckResult, Pm as DeliverableSpec, Um as D1StmtLike, Wm as SqlAdapter, hc as SuperviseOptions, ol as SupervisorProfile } from "./index-B0c5PmmO.js";
5
4
  import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
6
5
  import { P as AgentCandidateOutputArtifactPort } from "./workspace-streams-CpSmt3zx.js";
7
- import { f as ExecutorConfig, fr as Redactor, ln as WorktreeCheckRunner } from "./stream-agent-turn-fd2XzrTv.js";
8
- import { $ as ImproveScenarioPartitions, A as createCommandProfileTrainer, At as AgenticGeneratorShotReceipt, B as ImproveMethodContext, C as ControlledTrainingCommand, Ct as subscriptionLane, D as ProfileTrainerRequest, Dt as AgenticGeneratorOptions, E as ProfileTrainer, Et as AgenticGeneratorExecutorForWorktree, F as ImproveCodeResult, Ft as defaultBuildPrompt, G as ImproveMethodSource, H as ImproveMethodLineage, I as ImproveCodeRunOptions, It as CandidateGenerator, J as ImproveProfileAgent, K as ImproveOptimizationRunOptions, L as ImproveCost, M as ImproveCandidateValidator, Mt as VerifyResult, N as ImproveCodeBaseOptions, Nt as agenticGenerator, O as TrainingBoundaryResult, Ot as AgenticGeneratorShotDisposition, P as ImproveCodeOptions, Pt as commandVerifier, Q as ImproveRuntimeCodeGeneratorOptions, R as ImproveCustomCodeGeneratorOptions, S as CheckpointServingPort, St as sharedBoxLane, T as ImproveTrainingResult, Tt as ReadonlyAgentProfile, U as ImproveMethodOptions, V as ImproveMethodFactory, W as ImproveMethodResult, X as ImproveProfileSurface, Y as ImproveProfileComponents, Z as ImproveResult, _ as SearchMethodOptions, _t as SearchTraceOptions, at as ImproveSkillsOptions, b as SearchImprovementDecision, bt as isSearchEnvironmentFault, ct as ImprovementCodeCandidate, dt as SearchPromotion, et as ImproveSearchAgent, ft as SearchCellContext, g as improve, gt as SearchLaneOptions, ht as SearchLaneKind, i as AgentImprovementActivationTransition, it as ImproveSearchResult, j as ImproveCandidateValidationInput, jt as Verifier, k as TrainingDatasetDocument, kt as AgenticGeneratorShotExecution, lt as ImprovementProfileCandidate, mt as SearchLane, n as AgentImprovementActivationResultStore, nt as ImproveSearchMethod, ot as ImproveSurface, pt as SearchEnvironmentFault, q as ImproveOptions, rt as ImproveSearchOptions, st as ImprovementCandidate, t as AgentImprovementActivationReconciliation, tt as ImproveSearchIdentity, ut as SearchDispatchContext, v as searchMethod, vt as SharedBoxSearchLane, w as ImproveTrainingOptions, wt as DeepReadonly, x as decideSearchImprovement, xt as routerLane, y as DecideSearchImprovementOptions, yt as dedicatedLane, z as ImproveLineage } from "./activation-BxR-Im_k.js";
9
- import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-drXESgaI.js";
10
- import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-CJHfmFzg.js";
6
+ import { $ as ImproveScenarioPartitions, A as createCommandProfileTrainer, At as AgenticGeneratorShotReceipt, B as ImproveMethodContext, C as ControlledTrainingCommand, Ct as subscriptionLane, D as ProfileTrainerRequest, Dt as AgenticGeneratorOptions, E as ProfileTrainer, Et as AgenticGeneratorExecutorForWorktree, F as ImproveCodeResult, Ft as defaultBuildPrompt, G as ImproveMethodSource, H as ImproveMethodLineage, I as ImproveCodeRunOptions, It as CandidateGenerator, J as ImproveProfileAgent, K as ImproveOptimizationRunOptions, L as ImproveCost, M as ImproveCandidateValidator, Mt as VerifyResult, N as ImproveCodeBaseOptions, Nt as agenticGenerator, O as TrainingBoundaryResult, Ot as AgenticGeneratorShotDisposition, P as ImproveCodeOptions, Pt as commandVerifier, Q as ImproveRuntimeCodeGeneratorOptions, R as ImproveCustomCodeGeneratorOptions, S as CheckpointServingPort, St as sharedBoxLane, T as ImproveTrainingResult, Tt as ReadonlyAgentProfile, U as ImproveMethodOptions, V as ImproveMethodFactory, W as ImproveMethodResult, X as ImproveProfileSurface, Y as ImproveProfileComponents, Z as ImproveResult, _ as SearchMethodOptions, _t as SearchTraceOptions, at as ImproveSkillsOptions, b as SearchImprovementDecision, bt as isSearchEnvironmentFault, ct as ImprovementCodeCandidate, dt as SearchPromotion, et as ImproveSearchAgent, ft as SearchCellContext, g as improve, gt as SearchLaneOptions, ht as SearchLaneKind, i as AgentImprovementActivationTransition, it as ImproveSearchResult, j as ImproveCandidateValidationInput, jt as Verifier, k as TrainingDatasetDocument, kt as AgenticGeneratorShotExecution, lt as ImprovementProfileCandidate, mt as SearchLane, n as AgentImprovementActivationResultStore, nt as ImproveSearchMethod, ot as ImproveSurface, pt as SearchEnvironmentFault, q as ImproveOptions, rt as ImproveSearchOptions, st as ImprovementCandidate, t as AgentImprovementActivationReconciliation, tt as ImproveSearchIdentity, ut as SearchDispatchContext, v as searchMethod, vt as SharedBoxSearchLane, w as ImproveTrainingOptions, wt as DeepReadonly, x as decideSearchImprovement, xt as routerLane, y as DecideSearchImprovementOptions, yt as dedicatedLane, z as ImproveLineage } from "./activation-K-k4BRp9.js";
7
+ import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-CoKHGqxE.js";
8
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-C2GoLNjj.js";
11
9
  import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge, AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
12
10
  import { AgentProfile as AgentProfile$1, ControlBudget, ControlDecision, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult, ControlStep, CustomTokenPricing, DataAcquisitionPlan, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement, MaximumCharge, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
13
11
  import { ZodType } from "zod";
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { $r as sanitizeAgentRuntimeEvent, Br as buildLoopOtelSpans, Hr as buildRuntimeEventOtelSpans, Jr as padSpanId, Kr as generateSpanId, Qr as createRuntimeStreamEventCollector, Rr as defaultRedactorIdentityMaterial, Ur as createOpenInferenceFileExporter, Vr as buildLoopSpanNodes, Wr as createOtelExporter, Xr as toOtelAttributes, Yi as executableAgentProfileSnapshot, Yr as padTraceId, Zr as createRuntimeEventCollector, ei as sanitizeKnowledgeReadinessReport, qr as loopEventToOtelSpan, ti as sanitizeRuntimeStreamEvent, va as providerMessageText, zr as resolveRedactor } from "./supervisor-WYRLsCp1.js";
1
+ import { $r as sanitizeAgentRuntimeEvent, Br as buildLoopOtelSpans, Hr as buildRuntimeEventOtelSpans, Jr as padSpanId, Kr as generateSpanId, Qr as createRuntimeStreamEventCollector, Rr as defaultRedactorIdentityMaterial, Ur as createOpenInferenceFileExporter, Vr as buildLoopSpanNodes, Wr as createOtelExporter, Xr as toOtelAttributes, Yi as executableAgentProfileSnapshot, Yr as padTraceId, Zr as createRuntimeEventCollector, ei as sanitizeKnowledgeReadinessReport, qr as loopEventToOtelSpan, ti as sanitizeRuntimeStreamEvent, va as providerMessageText, zr as resolveRedactor } from "./supervisor-DgcmBicU.js";
2
2
  import { a as JudgeError, c as RetainedInteractiveAdmissionError, d as RetainedRunDispatchBindingError, f as RuntimeRunStateError, i as ConfigError, l as RetainedInteractiveBindingError, m as ValidationError, o as NotFoundError, r as BackendTransportError, s as PlannerError, t as AgentEvalError, u as RetainedRunAdmissionError } from "./errors-DodWX-cb.js";
3
- import { $ as createIterableBackend, Q as streamAgentTurn, X as strategyAuthorMethod, Y as optimizerMethod, at as startOrResumeRuntimeSession, et as createSandboxPromptBackend, i as isSearchEnvironmentFault, it as nowIso, l as sharedBoxLane, nt as InMemoryRuntimeSessionStore, o as routerLane, ot as touchSession, r as dedicatedLane, rt as newRuntimeSession, t as SearchEnvironmentFault, tt as normalizeBackendStreamEvent, u as subscriptionLane, y as decideSearchImprovement } from "./search-executor-BNLvgp0X.js";
3
+ import { $ as createIterableBackend, Q as streamAgentTurn, X as strategyAuthorMethod, Y as optimizerMethod, at as startOrResumeRuntimeSession, et as createSandboxPromptBackend, i as isSearchEnvironmentFault, it as nowIso, l as sharedBoxLane, nt as InMemoryRuntimeSessionStore, o as routerLane, ot as touchSession, r as dedicatedLane, rt as newRuntimeSession, t as SearchEnvironmentFault, tt as normalizeBackendStreamEvent, u as subscriptionLane, y as decideSearchImprovement } from "./search-executor-BuwMU5TF.js";
4
4
  import { A as canonicalCandidateBytes$1, F as immutableCandidateValue, I as omitTopLevelDigest, P as embeddedCandidateArtifact, d as persistCandidateOutputArtifact, j as canonicalCandidateDigest$1, s as captureAgentCandidateWorkspace } from "./workspace-streams-BEvSX97P.js";
5
5
  import { t as assertExecutableAgentProfile } from "./model-policy-DydyWTQg.js";
6
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-Dvl9gE_g.js";
7
- import { Ht as McpSpawnFault, Ut as connectStdioMcp } from "./runtime-DsnHqwNx.js";
6
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-CE5vCzYS.js";
7
+ import { Ht as McpSpawnFault, Ut as connectStdioMcp } from "./runtime-DRrpUP7n.js";
8
8
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
9
- import { $ as commandVerifier, B as assertCandidateValidator, G as rawTraceDistiller, H as parseExecutionRef, J as normalizeRolloutPolicy, K as ROLLOUT_POLICY_EXTENSION, L as improve, Q as agenticGenerator, R as createCommandProfileTrainer, U as privateValuePaths, W as withMethodRuntimeControls, X as serializeRolloutPolicy, Y as parseRolloutPolicy, Z as structuralRolloutPolicyFromProfile, et as defaultBuildPrompt, q as applyRolloutPolicyToProfile, z as searchMethod } from "./improvement-cycle-Ig1_rWAw.js";
9
+ import { $ as commandVerifier, B as assertCandidateValidator, G as rawTraceDistiller, H as parseExecutionRef, J as normalizeRolloutPolicy, K as ROLLOUT_POLICY_EXTENSION, L as improve, Q as agenticGenerator, R as createCommandProfileTrainer, U as privateValuePaths, W as withMethodRuntimeControls, X as serializeRolloutPolicy, Y as parseRolloutPolicy, Z as structuralRolloutPolicyFromProfile, et as defaultBuildPrompt, q as applyRolloutPolicyToProfile, z as searchMethod } from "./improvement-cycle-D5r4auxT.js";
10
10
  import { t as sealAgentCandidateBundle } from "./bundle-BK3XBY6q.js";
11
- import { r as supervise } from "./supervise-D6MgxpMI.js";
12
- import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-Beh7PECB.js";
11
+ import { r as supervise } from "./supervise-CGMzXi_j.js";
12
+ import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-Cn7244xv.js";
13
13
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DoQ32vpe.js";
14
14
  import { agentCandidateKnowledgeSchema, agentCandidateWorkspaceManifestMaterialSchema, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, sha256DigestSchema } from "@tangle-network/agent-interface";
15
15
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
@@ -1,9 +1,8 @@
1
- import { ao as RuntimeStreamEvent, ba as LoopTraceEvent, rn as RuntimeTelemetryOptions, zt as OtelExportStats } from "./types-RlLmOHFR.js";
1
+ import { Cb as OtelExportStats, DS as Redactor, OS as defaultRedactor, Ov as ToolSpec, Vb as RuntimeTelemetryOptions, cT as RuntimeStreamEvent, kS as resolveRedactor, m_ as AgentEnvironmentProviderRegistry, p_ as AgentEnvironmentProviderRef, tw as LoopTraceEvent } from "./index-BdIi1eIV.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
3
  import { C as AgentCandidateExecutorPort, H as AgentCandidateRunFinalization, P as AgentCandidateOutputArtifactPort, U as AgentCandidateTaskExecution, b as AgentCandidateExecutionPorts, v as AgentCandidateBenchmarkGraderPort } from "./workspace-streams-CpSmt3zx.js";
4
- import { In as ToolSpec, Mt as AgentEnvironmentProviderRegistry, fr as Redactor, jt as AgentEnvironmentProviderRef, mr as resolveRedactor, pr as defaultRedactor } from "./stream-agent-turn-fd2XzrTv.js";
5
4
  import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-C9QtEf3y.js";
6
- import { $ as ImproveScenarioPartitions, U as ImproveMethodOptions, W as ImproveMethodResult, Z as ImproveResult, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, q as ImproveOptions, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions } from "./activation-BxR-Im_k.js";
5
+ import { $ as ImproveScenarioPartitions, U as ImproveMethodOptions, W as ImproveMethodResult, Z as ImproveResult, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, q as ImproveOptions, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions } from "./activation-K-k4BRp9.js";
7
6
  import { AgentCandidateBenchmarkCellRef, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentCandidateLineage, AgentCandidateProfileActivation as CandidateProfileMaterialization, AgentImprovementActivation, AgentImprovementActivation as AgentImprovementActivation$1, AgentImprovementActivationIntent, AgentImprovementActivationIntent as AgentImprovementActivationIntent$1, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementActivationTargetState, AgentImprovementActivationTargetTransition, AgentImprovementEvaluation, AgentImprovementEvaluation as AgentImprovementEvaluation$1, AgentImprovementMeasuredComparison, AgentImprovementMeasuredComparison as AgentImprovementMeasuredComparison$1, AgentImprovementProposal, AgentImprovementProposal as AgentImprovementProposal$1, AgentImprovementReview, AgentImprovementReview as AgentImprovementReview$1, AgentImprovementReviewDecision, AgentImprovementReviewDecision as AgentImprovementReviewDecision$1, AgentImprovementSource, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRunReceipt, AgentProfileImprovementTaskMaterial, AgentProfileMcpServer, CandidateExecutionEvidence, CandidateExecutionEvidence as CandidateExecutionEvidence$1, Sha256Digest } from "@tangle-network/agent-interface";
8
7
  import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
9
8
  import { ProposalFinding as ProposalFinding$1 } from "@tangle-network/agent-eval/analyst";
@@ -1,7 +1,7 @@
1
- import { An as resolveAgentEnvironmentProvider, Br as buildLoopOtelSpans, Gr as flatOtelSpan, Hr as buildRuntimeEventOtelSpans, Lr as defaultRedactor, Wr as createOtelExporter, zr as resolveRedactor } from "./supervisor-WYRLsCp1.js";
1
+ import { An as resolveAgentEnvironmentProvider, Br as buildLoopOtelSpans, Gr as flatOtelSpan, Hr as buildRuntimeEventOtelSpans, Lr as defaultRedactor, Wr as createOtelExporter, zr as resolveRedactor } from "./supervisor-DgcmBicU.js";
2
2
  import { F as immutableCandidateValue, j as canonicalCandidateDigest$1 } from "./workspace-streams-BEvSX97P.js";
3
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-Dvl9gE_g.js";
4
- import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, V as assertProfileTrainingIsHeldOut, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-Ig1_rWAw.js";
3
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-CE5vCzYS.js";
4
+ import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, V as assertProfileTrainingIsHeldOut, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-D5r4auxT.js";
5
5
  import { a as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-8A1CAWG8.js";
6
6
  import { d as omitUndefinedObjectFields, f as parseAgentCandidateProfileActivation, i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-BhQShsM1.js";
7
7
  import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-ug52OmvB.js";
package/dist/kernel.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { $ as Settled, $i as createBudgetPool, $n as ProviderWorkspaceAttemptProvenance, A as NodeExecutionIdentity, Ai as RetainedRunEnvironmentAdmission, An as RetainedInteractiveEnvironmentInput, Ar as ContinuationContext, At as workerTraceSeamKey, B as ResultBlobStore, Bi as BudgetPool, Bn as ReadableEnvironment, Br as admitContinuationPolicy, C as ExecutorToolCall, Ca as MountRecorder, Ci as RetainedInteractiveStartedAdmission, Cn as TeamProgress, Cr as RetainedPendingCause, Ct as WorkerTraceUnavailableReason, D as MaterializedExecutionIdentity, Da as SelectionReceipt, Di as RetainedRunCancellation, Dn as ReconnectRetainedInteractiveRunOptions, Dr as CheckUnavailableError, Dt as readWorkerTraceContext, E as HeldEnvironment, Ea as SandboxClient, Ei as RetainedRunCancelOptions, En as readWorkerProgress, Er as CheckRead, Et as WorkerTraceSeamCarrier, F as ProviderModelAttemptEvidence, Fi as RetainedRunSnapshot, Fn as HarnessTranscriptCapture, Fr as ContinuationPanelResult, G as RootMaterialization, Gi as ReservationFloor, Gn as HarnessTranscriptReadLimits, Gr as failedItems, H as ResumedWork, Hi as BudgetReadout, Hn as harnessTranscriptArtifact, Hr as checkVerdictOf, I as ProviderModelExecutionEvidence, Ii as RetainedRunStartMaterial, In as HarnessTranscriptEvidence, Ir as ContinuationPolicy, J as RootProviderModelEvidence, Ji as ReservationShortfall, Jn as RetainedHarnessTranscriptDescriptor, K as RootModel, Ki as ReservationHolder, Kn as HarnessTranscriptReadOptions, Kr as passedItems, Kt as createOpenInferenceFileExporter, L as RecursiveReservationPolicy, Li as RetainedRunTurnInput, Ln as HarnessTranscriptFile, Lr as ContinuationProfile, M as NodeSnapshot, Mi as RetainedRunHandle, Mn as RetainedInteractiveStartMaterial, Mr as ContinuationNoteInput, N as NodeStatus, Ni as RetainedRunIntentAdmission, Nn as StartRetainedInteractiveRunOptions, Nr as ContinuationPanel, O as MaterializedModelIdentity, Oa as ValidationCtx, Oi as RetainedRunDispatchedAdmission, On as RecoverRetainedInteractiveRunOptions, Or as CheckVerdict, Ot as workerTraceEnv, P as ProfileMaterializationReceipt, Pi as RetainedRunReplayPoint, Pn as HarnessTranscriptArtifact, Pr as ContinuationPanelInput, Q as Scope, Qi as ReserveOptions, Qn as ProviderNativeCapturePhase, R as ResourceLimit, Ri as StartRetainedRunInEnvironmentOptions, Rn as HarnessTranscriptUnavailable, Rr as PanelFinding, S as ExecutorTeardownWarning, Sa as MountManifestEntry, Si as RetainedInteractiveIntentAdmission, Sn as ScopeProgressInput, St as WorkerTraceEvidence, T as Handle, Ta as RunProvenance, Ti as RetainedRunAdmissionHook, Tn as createActivityLog, Tr as CONTINUATION_FACTS, Tt as WorkerTraceResolver, U as RetainedExecutionState, Ui as BudgetReconcileFault, Un as persistHarnessTranscript, Ur as distillFindings, V as ResumedKeyState, Vi as BudgetPoolRestore, Vn as captureHarnessTranscript, Vr as admitFinding, W as RootHandle, Wi as LeakedReservation, Wn as HarnessTranscriptMetadata, Wr as expandQuestions, X as RootStreamReceipt, Xi as ReservationTicket, Xn as retainHarnessTranscript, Y as RootSignal, Yi as ReservationStage, Yn as resolveHarnessTranscriptCapture, Z as Runtime, Zi as ReservationWaitRefused, Zn as ProviderCheckpointCaptureContext, _ as ExecutorMaterialization, _a as LoopTeardownFailedPayload, _i as RecoverRetainedRunIntentOptions, _n as sandboxSessionTraceSource, _r as DriverRetryPolicy, _t as UnknownMaterializationReason, a as BudgetOverspend, aa as Iteration, ar as ProviderWorkspaceRetentionPort, at as Spend, b as ExecutorRegistry, ba as LoopTraceEvent, bi as RetainedInteractiveAdmission, bn as DEFAULT_STALL_AFTER_MS, br as upstreamUnavailableSignal, bt as WorkerInteractiveSession, c as EnvironmentTeardownReceipt, ca as LoopIterationDispatchPayload, ci as DEFAULT_CHECK_IN_IDLE_MS, cr as DriverAttemptsExhaustedError, ct as SteerableRootHandle, d as ExecutorAccounting, da as LoopLineageOptions, di as WorkerSlots, dn as SessionMessageLike, dr as DriverContractState, dt as SupervisedResult, ea as spendFromUsageEvents, er as ProviderWorkspaceCaptureProvenance, et as SpawnEvent, f as ExecutorCancellation, fa as LoopPlanDescription, fi as createWorkerSlots, fn as SessionTraceBox, fr as DriverFailureClass, ft as Supervisor, g as ExecutorFactory, ga as LoopStartedPayload, gi as ReconnectRetainedRunOptions, gn as decodeToolPart, gr as DriverRepromptRefusal, gt as UnconfirmedTeardown, h as ExecutorExecutionBinding, ha as LoopSandboxPlacement, hi as NativeContextContinuationInput, hn as createPushTraceSource, hr as DriverReentry, ht as TreeView, i as Budget, ia as ExecCtx, ir as ProviderWorkspaceRetentionContext, it as SpawnRejection, j as NodeId, ji as RetainedRunEventOptions, jn as RetainedInteractiveRunHandle, jr as ContinuationEntry, k as NoWinnerError, ka as Validator, ki as RetainedRunEffect, kn as RetainedInteractiveAdmissionHook, kr as ContinuationAppend, kt as workerTraceHeaders, l as ExecutionBindingReceipt, la as LoopIterationEndedPayload, li as DeadlineCheckIn, lr as DriverBudgetReadout, lt as SubtreeResult, m as ExecutorContext, ma as LoopResult, mi as NativeContextContinuationHandle, mn as TraceSource, mr as DriverProgressMark, mt as TokenUsageProvenance, n as AgentExecutionRef, na as DefaultVerdict, nr as ProviderWorkspaceCaptureResult, nt as SpawnOpts, o as BudgetViolation, oa as LoopDecisionPayload, or as DriverAttemptRecord, ot as SpendChannel, p as ExecutorCancellationRequest, pa as LoopPlanPayload, pi as NativeContextContinuationExecution, pn as ToolStepInput, pr as DriverLoopRecord, pt as SupervisorOpts, q as RootModelChange, qi as ReservationRejection, qn as RetainedHarnessTranscriptCapture, qr as verdictFromJudgeScore, qt as createOtelExporter, r as AgentSpec, ra as Driver, rr as ProviderWorkspaceEntryMetadata, rt as SpawnPrior, sa as LoopEndedPayload, si as DEADLINE_CHECK_IN_MESSAGE, sr as DriverAttemptStop, st as SpendGap, t as Agent, ta as AgentRunSpec, tr as ProviderWorkspaceCaptureReceipt, tt as SpawnJournal, u as Executor, ua as LoopIterationStartedPayload, ur as DriverContinuationRecord, ut as SubtreeSummary, v as ExecutorNodeContext, va as LoopTokenUsage, vi as RecoverRetainedRunOptions, vn as ActivityLog, vr as classifyDriverFailure, vt as UsageEvent, w as FleetYield, wa as OutputAdapter, wi as RetainedRunAdmission, wn as WorkerProgress, wr as AdmittedFinding, wt as WorkspaceCheckpointMarker, x as ExecutorResult, xa as LoopWinner, xi as RetainedInteractiveEnvironmentAdmission, xn as ExecutorProgress, xr as UnavailablePausePolicy, xt as WorkerInteractiveUnavailableReason, y as ExecutorProgressEvent, ya as LoopTraceEmitter, yi as RecoverRetainedRunResult, yn as ActivityNote, yr as summarizeDriverAttempts, yt as WidenGate, z as ResourceSpend, zi as StartRetainedRunOptions, zn as HarnessTranscriptUnavailableReason, zr as VerdictSummary } from "./types-RlLmOHFR.js";
2
- import { $ as WORKER_TOOL_TRACE_SCHEMA_VERSION, $a as Observation, $c as ResolveDriveHarness, $i as AgenticRunResult, $l as FileCoordinationLog, $m as SpawnForestMissingTree, $n as filterAuthoredAsserts, $o as PersonaExecutors, $r as claimRetainedInteractiveControl, $t as formatPromptHandle, $u as ScoreOf, A as readWorkerInteractiveBinding, Aa as RunAgentRoundsOptions, Ac as SeatSegment, Ad as AuthorizedDownMessage, Ai as verify, Al as sampleFromSettled, Am as createEventBus, An as ProfileRichnessThresholds, Ao as RenderCorpusToInstructions, Ar as Deliverable, At as InPlaceCliExecutorOptions, Au as workerSteerAcknowledgementFile, B as copyUntrackedIntoClone, Ba as captureBeforeDestroy, Bc as createInMemoryRunContext, Bd as DownMessageDeliveryAttempt, Bi as McpEnvironmentOptions, Bl as collectDelivered, Bm as SqlRunStoreOptions, Bn as CheckSource, Bo as Verify, Br as SandboxLineageHandle, Bu as completionAuthorizes, C as AuthoredHarness, Ca as LoopDispatchOptions, Cc as WorkerSpawnRetryAttempt, Cd as AnalystLensOutput, Ci as renderCorpusToInstructions, Cl as StopRule, Cn as ChatTransportTool, Co as LoopUntilState, Cr as MaterializeLocalMcpOptions, Cs as declaredCheckJudge, Ct as createWorktreeCliExecutor, Cu as supervisorWorkersDir, D as WorkerInteractiveBinding, Da as loopCampaignDispatch, Dc as resolveWorkerSpawnRetry, Dd as AuthoredAnalystDefinition, Di as panel, Dl as createProgressTracker, Dm as BusStats, Dn as createChatSessionStore, Do as PanelVerdict, Dr as StdioMcpServerSpec, Ds as IsolatedCheckOptions, Dt as InteractiveWorkerResult, Du as workerControlLogFile, E as AttachWorkerOptions, Ea as SuperviseOptionsForDispatch, Ec as isPreSpawnExecutorFailure, Ed as AnalyzeOnSettleRoute, Ei as loopUntil, El as anyOf, Em as BusRecord, En as chatWorkerSeam, Eo as PanelSpec, Er as StdioMcpConnection, Es as IsolatedCheckBoxEvidence, Et as InteractiveWorkerOptions, Eu as workerCancellationsDir, F as closingWorkerNote, Fa as runAgentRounds, Fc as InMemoryRunContext, Fd as CoordinationStats, Fi as buildSteerContext, Fl as DeliveredOutput, Fm as ExecutorResultMapping, Fn as supervisorInstructions, Fo as SteerContext, Fr as SandboxRunAbortError, Ft as GraphEdge, Fu as writeWorkerSteer, G as WorkspaceCommit, Ga as InProcessPromptCtx, Gc as SupervisorSpanRecorder, Gd as LeadMessage, Gi as BenchmarkLift, Gl as CoordinationPublicAddress, Gn as StructuralRolloutPolicy, Go as WidenSpec, Gr as S3PrivateCasStore, Gt as PromptHandle, Gu as GroupOf, H as GitWorkspaceOptions, Ha as localSandboxClient, Hc as SupervisorSpanAttributes, Hd as DownMessageEvent, Hi as sanitizeMcpToolSchema, Hl as runFinalizer, Hn as RepairStop, Ho as Widen, Hr as createSandboxLineage, Ht as defaultEdgeTraversalCap, Hu as sentinelCompletion, I as composeWorkerEvidence, Ia as SandboxEvidenceContext, Ic as InMemoryRunContextOptions, Ii as createScopeAnalyst, Il as FinalizeContext, Im as gateOnDeliverable, In as CheckExecChannel, Io as TrajectoryNode, Ir as TurnResult, It as GraphEdgeCapError, Iu as CompletionAnalyst, J as jjWorkspace, Ja as HarvestCorpusOptions, Jc as CoordinationToolFace, Jd as ManagerWake, Ji as BenchmarkTaskRow, Jl as CoordinationHttpAudit, Jm as InMemoryResultBlobStore, Jn as canDisplace, Jo as DefinePersonaInput, Jr as reconnectRetainedRun, Jt as analyzesFindingsReportPrompt, Ju as LeaderboardOptions, K as WorkspaceRun, Ka as InProcessSandboxClientOptions, Kc as createSupervisorSpanRecorder, Kd as MakeWorkerAgent, Ki as BenchmarkReport, Kl as CoordinationTransportOptions, Km as FileResultBlobStore, Kn as StructuralRolloutResult, Ko as WinnerStrategy, Kr as S3PrivateCasStoreOptions, Kt as PromptRegistry, Ku as Interval, L as settledWorkerOut, La as SandboxEvidenceReceipt, Lc as RunContext, Li as registryScopeAnalyst, Ll as FinalizerSettled, Lm as mapExecutorResult, Ln as CheckOutcome, Lo as TrajectoryReport, Lr as openSandboxRun, Lt as GraphNode, Lu as CompletionEvidence, M as NOTE_MAX_CHARS, Ma as TerminalDecision, Mc as SeatSelectionInput, Md as ContinuationInstruction, Mi as CreateScopeAnalystOptions, Ml as ReentryTaskInput, Mm as defaultToolDetectors, Mn as assessAuthoredProfile, Mo as ScopeAnalyst, Mr as OpenSandboxRunOptions, Mt as AgentGraph, Mu as workerSteerRequestFile, N as VERIFY_TAIL_CHARS, Na as defaultSelectWinner, Nc as SeatStage, Nd as ContinuityMode, Ni as RegistryAnalyzeProjection, Nl as UNPROVEN_CONTINUITY, Nm as watchTrace, Nn as defaultProfileRichnessThresholds, No as ScopeAnalyzeInput, Nr as OpenSandboxRunPromptOptions, Nt as EdgeDeliveryOutcome, Nu as workerSteerRequestsDir, O as WorkerInteractiveProviderSource, Oa as loopDispatch, Oc as retryPreSpawnRefusals, Od as AuthoredAnalystLimits, Oi as pipeline, Ol as noProgressFor, Om as EventBus, On as AuthoredProfile, Oo as Pipeline, Or as connectStdioMcp, Os as IsolatedCheckResult, Ot as workerFromInteractiveProvider, Ou as workerInboxFile, P as WorkerEvidenceInput, Pa as isTerminalDecision, Pc as SelectSeat, Pd as CoordinationEvent, Pi as assertTraceDerivedFindings, Pl as composeReentryTask, Pm as DeliverableSpec, Pn as profileRichnessFinding, Po as ScopeWidenGate, Pr as SandboxRun, Pt as EdgeTraversal, Pu as workerSteersDir, Q as analyzeTrace, Qa as harvestCorpus, Qc as ObserveSupervisorNodeEvent, Qd as QuestionEscalationRecord, Qi as AgenticOptions, Ql as CoordinationOwnerId, Qm as SpawnForestInDoubtNode, Qn as defaultStructuralRolloutPolicy, Qo as PersonaContext, Qr as ClaimRetainedInteractiveControlOptions, Qt as dumbContinuationPassPrompt, Qu as ProfileKeyOf, R as CopyOptions, Ra as SandboxEvidenceRetentionError, Rc as RunContextLease, Rd as DefinedAnalystRecord, Ri as observationFromRegistry, Rl as SupervisorFinalizer, Rm as SqlRunLease, Rn as CheckRunContext, Ro as TrajectoryReportFn, Rr as BranchCapableBox, Rt as GraphResult, Ru as CompletionPolicy, S as failuresAnalyst, Sa as LoopCampaignDispatchOptions, Sc as ResolvedWorkerSpawnRetry, Sd as AnalystKind, Si as InMemoryCorpus, Sl as StopDecision, Sn as ChatTransportExecutorOptions, So as LoopUntilSpec, Sr as LocalMcpMaterialization, Ss as declaredCheckDigest, St as WorktreePatchArtifact, Su as supervisorRunsRoot, T as worktreeFanout, Ta as SuperviseDispatchOptions, Tc as WorkerSpawnRetryPolicy, Ti as flatWidenGate, Tl as allWorkersStalled, Tm as BusEvent, Tn as chatTransportExecutor, To as PanelJudge, Tr as McpToolDescriptor, Ts as IsolatedCheckBox, Tt as InteractiveWorkerKeyInput, Tu as workerCancellationFile, U as Shell, Ua as inlineSandboxClient, Uc as SupervisorSpanOptions, Ud as EscalateQuestion, Ui as BenchmarkCell, Ul as CoordinationAuthentication, Un as StructuralRolloutConfig, Uo as WidenDecision, Ur as AcquireOptions, Ut as runGraph, Uu as stopSentinel, V as withUntrackedArtifacts, Va as LocalSandboxClientOptions, Vc as withRunContext, Vd as DownMessageDeliveryOutcome, Vi as createMcpEnvironment, Vl as pickBestDelivered, Vm as openSqlRunStore, Vn as CheckSourceCtx, Vo as VerifySpec, Vr as SessionCapableBox, Vt as TraversalContinuity, Vu as deterministicCompletion, W as Workspace, Wa as InProcessOnPrompt, Wc as SupervisorSpanOutcome, Wd as EventAcknowledgement, Wi as BenchmarkConfig, Wl as CoordinationMcpHandle, Wn as StructuralRolloutMessage, Wo as WidenLineage, Wr as acquireSandbox, Wu as AxisScoresOf, X as runInWorkspace, Xa as HarvestFailure, Xc as DriveHarness, Xi as printBenchmarkReport, Xl as CoordinationDeliveryEvidence, Xm as SpawnForest, Xn as composeCheckSources, Xo as Outcome, Xr as startRetainedRun, Xt as delegatesWorkerBriefPrompt, Xu as PairwiseOptions, Y as localShell, Ya as HarvestError, Yc as CoordinationVerbs, Yi as Environment, Yl as CoordinationHttpOptions, Ym as InMemorySpawnJournal, Yn as compareCheckOutcomes, Yo as LoopShape, Yr as recoverRetainedRun, Yt as createPromptRegistry, Yu as LeaderboardRow, Z as TrajectoryAnalysis, Za as HarvestReport, Zc as DriveHarnessOwnerContext, Zd as QuestionEscalationOutcome, Zi as runBenchmark, Zl as CoordinationLog, Zm as SpawnForestEvent, Zn as defaultExtractCandidate, Zo as Persona, Zr as startRetainedRunInEnvironment, Zt as dumbContinuationFailPrompt, Zu as PairwiseVerdict, _ as boxSurfaceReader, _a as depthStrategy, _c as SuperviseRegistryTable, _d as createWaterfallCollector, _i as createShapeRegistry, _l as PlateauOptions, _n as CodeModeRunner, _o as FanoutOptions, _r as AuthoredStrategy, _s as DeclaredCheckPlacement, _t as SupervisorCleanupReceipt, _u as readWorkerSteerRequests, a as SandboxInstance, aa as RunAgenticOptions, ad as renderPairwiseMarkdown, ah as contentAddress, ai as profileChatClient, al as SupervisorNodeContextSeed, an as DispatchUnit, ao as observe, ar as structuralRollout, as as DefinedLeaderboard, at as createRootHandle, au as WorkerSteerAcknowledgement, b as AnalystAuthoring, ba as sample, bi as runPersonified, bl as ProgressTrackerOptions, bn as ChatCompletionsTransport, bo as FlatWidenGate, br as strategyAuthorContract, bs as checkProgramDigest, bt as patchDelivered, bu as safeWorkerFile, c as VerifierEnvironmentOptions, ca as StrategyArtifacts, cd as AnytimeTaskCurve, cf as SpawnRefusal, ci as assertProfileModelsAllowed, cl as SupervisorToolInvocationContext, cn as queueOf, co as CombinatorShape, cr as EvolutionReport, cs as LeaderboardBenchmarkAdapter, ct as SqlRunContextOptions, cu as cancelRun, d as HarvestSurfaceDiffsOptions, da as StrategyResult, dc as AuthorizedSpawn, dd as bestSoFar, df as ToolOutcomeEvent, di as PrivateCasOffloadReport, dl as supervisorAgent, dn as defaultDelegateBudget, do as CorpusRecord, dr as StrategyTournament, ds as LeaderboardRunContext, dt as ScopeArgs, du as legacySupervisorRunsRoot, ea as AgenticSurface, ed as leaderboard, eh as SpawnForestNode, ei as reconnectRetainedInteractiveRun, el as ResolveSupervisorTools, en as kernelPromptRegistry, eo as ObservationAnalysis, er as modelAuthoredChecks, es as RunPersonified, et as WorkerToolTraceArtifact, eu as PriorCoordination, f as SurfaceDiff, fa as StrategyShotResult, fc as AuthorizedSpawnContext, fd as plateauLength, ff as WorkerResumeContext, fi as PrivateCasOptions, fn as delegate, fo as EqualKArm, fr as TournamentCell, fs as LeaderboardScenario, ft as createScope, fu as readRunCancelRequest, g as WatchedSurface, ga as defineStrategy, gc as SuperviseRegistry, gd as WaterfallSpan, gf as canonicalFindingEvent, gi as builtinShapes, gl as NoProgressForOptions, gn as CodeModeOptions, go as Fanout, gr as AuthorStrategyOptions, gs as DeclaredCheck, gt as ProvisionedSupervisor, gu as readWorkerSteerAcknowledgement, h as SurfaceReader, ha as breadthStrategy, hc as SuperviseOptions, hd as WaterfallReport, hi as trajectoryReport, hl as AllWorkersStalledOptions, hn as finalizeBestDelivered, ho as EqualKVerdict, hr as strategyTournament, hs as defineLeaderboard, ht as ProvisionSupervisorRequest, hu as readWorkerCancellation, i as SandboxEvent, ia as CorpusReadbackOptions, id as renderLeaderboardSvg, ih as replaySpawnTree, ii as resolveSandboxClient, il as SupervisorNodeContext, in as DispatchStopReason, io as defaultAnalystInstruction, ir as selectBestIndex, is as ShapeRegistry, it as DEFAULT_MAX_DEPTH, iu as WorkerCancellation, j as EVIDENCE_MAX_CHARS, ja as TERMINAL_DECISIONS, jc as SeatSelection, jd as AwaitWakeInput, ji as widen, jl as ReentryContinuity, jm as WatchTraceOptions, jn as asAuthoredProfile, jo as RenderCorpusToInstructionsOptions, jr as OpenSandboxRunBeforeStartContext, jt as createInPlaceCliExecutor, ju as workerSteerAcknowledgementsDir, k as attachWorker, ka as superviseDispatch, kc as withWorkerSpawnRetry, kd as AuthorizeDownMessage, ki as selectValidWinner, kl as plateau, km as PublishOptions, kn as ProfileRichness, ko as PipelineStage, kr as materializeLocalMcp, ks as runIsolatedCheck, kt as WorkerInteractiveAdmission, ku as workerInboxFileFromEventDir, l as createVerifierEnvironment, la as StrategyCtx, ld as anytimeReport, lf as SpawnRefusalCause, li as PrivateCasArtifactPort, ll as assertCoordinationBinding, ln as rollingDispatch, lo as Corpus, lr as EvolutionStrategy, ls as LeaderboardFlagSpec, lt as createFencedSqlRunContext, lu as cancelWorker, m as SurfaceReadOutcome, ma as adaptiveRefine, mc as DeliverableResolutionInput, md as WaterfallCollector, mf as WorkerWatchOptions, mi as equalKOnCost, ml as ManagerWakePolicy, mo as EqualKOnCostOptions, mr as runStrategyEvolution, ms as LeaderboardSpec, mt as ProvisionSupervisorConnection, mu as readWorkerCancelRequests, n as AnalystFinding, na as AgenticTool, nd as renderLeaderboardHtml, nh as loadSpawnForest, ni as startRetainedInteractiveRun, nl as SupervisorAgentDeps, nn as promptHandle, no as ObserveInput, nr as resolveEntrySymbol, ns as ShapeBudget, nt as parseWorkerToolTraceArtifact, nu as RunCancellation, o as computeFindingId, oa as ShotSpec, od as AnytimeReport, of as SpawnPreflight, oi as profileOptimizerModelCall, ol as SupervisorProfile, on as RollingDispatchOptions, oo as renderReport, or as visibleCheckScore, os as LeaderboardBenchScore, ot as createSupervisor, ou as WorkerSteerRequest, p as SurfaceReadBox, pa as SurfaceScore, pc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, pd as renderAnytimeTable, pf as WorkerSpawnContext, pi as createPrivateCasArtifactPort, pl as DEFAULT_DEADLINE_WARNING_MS, po as EqualKOnCost, pr as TournamentRow, ps as LeaderboardScore, pt as settledToIteration, pu as readRunCancellation, q as gitWorkspace, qa as inProcessSandboxClient, qc as CoordinationBinding, qd as ManagerReentryState, qi as BenchmarkStrategySummary, ql as serveCoordinationMcp, qm as FileSpawnJournal, qn as VisibleCheck, qo as DefinePersona, qr as createS3PrivateCasStore, qt as RegisteredPrompt, qu as Leaderboard, r as CreateSandboxOptions, ra as ArtifactHandle, rd as renderLeaderboardMarkdown, rh as materializeTreeView, ri as ResolveSandboxClientOptions, rn as DispatchReport, ro as ObserveOptions, rr as sandboxCheckRunner, rs as ShapeContext, rt as workerTraceAnalysisStore, ru as WorkerCancelRequest, s as makeFinding, sa as Strategy, sd as AnytimeStrategySummary, sf as SpawnPreflightContext, si as assertModelAllowed, sl as SupervisorToolDescriptor, sn as freeSlots, so as AssertTraceDerivedFindings, sr as EvolutionAuthor, ss as LeaderboardBenchTask, st as FencedSqlRunContext, su as WriteWorkerSteerOptions, t as AgentProfile, ta as AgenticTask, td as pairwiseSignificance, th as SpawnForestTree, ti as recoverRetainedInteractiveRun, tl as ResolvedSupervisorProfile, tn as naiveContinuationPrompt, to as ObservationError, tr as officialChecksFromMeta, ts as RunPersonifiedOptions, tt as captureWorkerTraceEvidence, tu as RunCancelRequest, u as BoxSurfaceReaderOptions, ua as StrategyMessage, ud as areaUnderCurve, uf as SuperviseProfileEntry, ui as PrivateCasDurableStore, ul as resolveSupervisorProfile, un as DelegateOptions, uo as CorpusFilter, ur as StrategyEvolutionConfig, us as LeaderboardIterationInfo, ut as SUBTREE_RESULT_LIMIT, uu as legacySupervisorRunDir, v as fsSurfaceReader, va as refine, vi as registerShape, vl as ProgressSample, vn as codeModeSupervisorTools, vo as FanoutSynthesis, vr as assertStrategyContract, vs as DeclaredCheckStateCapture, vt as provisionSupervisor, vu as runCancelRequestFile, w as WorktreeFanoutOptions, wa as LoopOptionsForDispatch, wc as WorkerSpawnRetryHooks, wd as AnalystRegistry, wi as fanout, wl as allOf, wn as ChatWorkerSeamOptions, wo as Panel, wr as McpSpawnFault, ws as readDeclaredCheck, wt as InteractiveWorkerEnvironment, wu as workerCancelRequestsFile, x as analystsFromRegistry, xa as sampleThenRefine, xc as workerFromBackend, xd as AnalystFindingEvent, xi as FileCorpus, xl as ProgressView, xn as ChatSessionStore, xo as LoopUntil, xr as strategyAuthorSystemPrompt, xs as declaredCheckDeliverable, xt as WorktreeCliExecutorOptions, xu as supervisorRunDir, y as harvestSurfaceDiffs, ya as runAgentic, yc as supervise, yd as AnalystAssignmentRecord, yf as normalizeAnalyzeOnSettle, yi as definePersona, yl as ProgressTracker, yn as unsafeInProcessRunner, yo as FanoutWinnerSelector, yr as authorStrategy, ys as assertDeclaredCheck, yt as PatchDeliverableOptions, yu as runCancellationFile, z as UntrackedCopyStats, za as SandboxEvidenceRetentionPort, zc as createFileRunContext, zd as DownMessageAuthorizationInput, zi as McpEndpoint, zl as bestDelivered, zm as SqlRunOwnershipError, zn as CheckRunner, zo as TrajectoryReportOptions, zr as SandboxLineage, zt as RunGraphOptions, zu as CompletionVerdict } from "./index-B0c5PmmO.js";
3
- import { $ as decodeHarnessUsage, $n as PeerMailSendInput, $t as WorkspaceRequest, A as createInbox, At as AgentEnvironmentProvider, B as secretEnvOfMcpServer, Bn as ToolLoopCompactionOptions, Bt as AgentTurnResult, C as SteerableSandboxArgs, Ct as mapSandboxToolEvent, D as Inbox, Dt as AgentEnvironment, E as AuthorityInboxMessage, Et as sumSandboxUsage, F as ResolvedMcpServerLaunch, Fn as RouterTransportConfig, Ft as AgentEnvironmentSummary, G as CodexRolloutStoreRef, Gn as PEER_MAIL_WIRE_KEY, Gt as ExecResult, H as CodexRolloutIdentity, Hn as ToolLoopToolCall, Ht as CheckpointRequest, I as envKeyProvider, In as ToolSpec, It as AgentProfileRef, J as addHarnessUsage, Jn as PeerMailKind, Jt as ProviderAsSandboxClientOptions, K as CodexRolloutTurn, Kn as PeerMailEnvelope, Kt as ForkRequest, L as mcpSecretEnvMetadataKey, Ln as ToolLoopCallContext, Lt as AgentSession, M as BridgeModelCredential, Mt as AgentEnvironmentProviderRegistry, N as BridgeSeam, Nt as AgentEnvironmentQuery, O as InboxMessage, Ot as AgentEnvironmentCapabilities, P as KeyProvider, Pn as RouterResponseReceipt, Pt as AgentEnvironmentStatus, Q as HarnessUsage, Qn as PeerMailRefusal, Qt as ResourceRequest, R as resolveMcpServerLaunch, Rn as ToolLoopChat, Rt as AgentSessionRef, S as SandboxSteeringOptions, St as mapSandboxEvent, T as createSteerableSandboxSession, Tt as sandboxProgressEvents, U as CodexRolloutSession, Un as AUTHORITY_MARKERS, Ut as CreateAgentEnvironmentInput, V as CodexForkBoundary, Vn as ToolLoopMessageRecord, Vt as CheckpointRef, W as CodexRolloutStoreReader, Wn as DEFAULT_PEER_MAIL_LIMITS, Wt as ExecRequest, X as harnessUsageIsEmpty, Xn as PeerMailOutcome, Xt as ProviderLeafOut, Y as createCodexRolloutStoreReader, Yn as PeerMailLimits, Yt as ProviderExecutorOptions, Z as readCodexRolloutSession, Zn as PeerMailReadout, Zt as ProviderPromptOptions, _ as cliInPlaceExecutor, _t as SandboxUsageLedger, a as StreamAgentTurnOptions, an as SandboxControlClient, ar as peerMailTools, at as SharedBoxPlacement, b as createExecutorRegistry, bt as createSandboxUsageLedger, c as CliInPlaceSeam, cn as InPlaceHarnessResult, ct as SharedBoxStats, d as CliWorktreeSeam, dn as WorktreeHarnessResult, dt as sharedBoxRefusal, en as createAgentEnvironmentProviderRegistry, er as PeerMailbox, et as DEFAULT_SHARED_BOX_RESOURCES, f as ExecutorConfig, fn as WorktreeProfileMaterializationReceipt, ft as sharedWorkerClientName, g as SandboxSeam, gt as SandboxToolPartState, h as RouterToolsSeam, ht as SandboxServedBackend, i as CollectedAgentTurn, in as CreateTangleSandboxExactProcessProviderOptions, ir as isPeerMailEnvelope, it as SharedBoxHandle, j as BridgeHarnessStore, jt as AgentEnvironmentProviderRef, k as PeerInboxMessage, kt as AgentEnvironmentEvent, l as CliSeam, ln as WorktreeCheckRunner, lt as SharedWorkerIdentity, m as RouterSeam, mt as SandboxOutputMarker, n as AgentTurnInput, nn as providerAsSandboxClient, nr as claimsAuthority, nt as ROUTER_CLIENT_HEADER, o as collectAgentTurn, on as createTangleSandboxExactProcessProvider, or as peerMailVerbNames, ot as SharedBoxPlacementOptions, p as ProviderSeam, pt as SandboxLeafOut, q as CodexStoreDelta, qn as PeerMailEvent, qt as PlacementInfo, r as AgentTurnUsage, rn as resolveAgentEnvironmentProvider, rr as createPeerMailbox, rt as SharedBoxCloseReceipt, s as streamAgentTurn, sn as ProviderPlacement, st as SharedBoxProcess, t as AgentTurnBackend, tn as providerAsExecutor, tr as PeerMailboxOptions, tt as DEFAULT_SHARED_BOX_WORKERS, u as CliWorktreeBridgeSeam, un as WorktreeCommandResult, ut as sharedBoxPlacement, v as cliWorktreeExecutor, vt as assertSandboxServedModel, w as SteerableSandboxSession, wt as sandboxEventServedBackend, x as DEFAULT_SANDBOX_STEERING_MAX_TURNS, xt as extractLlmCallEvent, y as createExecutor, yt as createSandboxToolPartState, z as resolveSecretEnv, zn as ToolLoopCompaction, zt as AgentSessionStatus } from "./stream-agent-turn-fd2XzrTv.js";
1
+ import { $ as WORKER_TOOL_TRACE_SCHEMA_VERSION, $C as LoopTokenUsage, $S as RecoverRetainedRunOptions, $_ as ProviderPlacement, $a as InProcessSandboxClientOptions, $c as createSupervisorSpanRecorder, $d as EnvironmentTeardownReceipt, $f as SteerableRootHandle, $g as SandboxUsageLedger, $h as ActivityLog, $i as BenchmarkReport, $l as CoordinationTransportOptions, $m as SpawnRefusal, $n as filterAuthoredAsserts, $o as WinnerStrategy, $p as DriverLoopRecord, $r as claimRetainedInteractiveControl, $t as formatPromptHandle, $u as Interval, $x as DeliverableSpec, A as readWorkerInteractiveBinding, AC as ReservationStage, A_ as ProviderAsSandboxClientOptions, Aa as LoopDispatchOptions, Ab as createOpenInferenceFileExporter, Ac as WorkerSpawnRetryAttempt, Af as ResourceSpend, Ag as addHarnessUsage, Ai as renderCorpusToInstructions, Al as StopRule, Am as DownMessageAuthorizationInput, An as ProfileRichnessThresholds, Ao as LoopUntilState, Ap as HarnessTranscriptCapture, Ar as Deliverable, As as declaredCheckJudge, At as InPlaceCliExecutorOptions, Au as supervisorWorkersDir, Av as ToolLoopChat, Ax as peerMailTools, B as copyUntrackedIntoClone, BC as Iteration, B_ as CreateTangleSandboxExactProcessProviderOptions, Ba as defaultSelectWinner, Bc as SeatStage, Bd as SpawnForestMissingTree, Bf as RootSignal, Bg as SharedBoxHandle, Bh as ProviderSeam, Bi as RegistryAnalyzeProjection, Bl as UNPROVEN_CONTINUITY, Bn as CheckSource, Bo as ScopeAnalyzeInput, Bp as HarnessTranscriptReadLimits, Br as SandboxLineageHandle, Bu as workerSteerRequestsDir, Bx as EventBus, C as AuthoredHarness, CC as BudgetReadout, CS as expandQuestions, C_ as CheckpointRef, Ca as defineStrategy, Cc as SuperviseRegistry, Cd as WaterfallSpan, Cf as NodeSnapshot, Cg as CodexForkBoundary, Ci as builtinShapes, Cl as NoProgressForOptions, Cm as ContinuationInstruction, Cn as ChatTransportTool, Co as Fanout, Cp as RecoverRetainedInteractiveRunOptions, Cr as MaterializeLocalMcpOptions, Cs as DeclaredCheck, Ct as createWorktreeCliExecutor, Cu as readWorkerSteerAcknowledgement, Cx as PeerMailRefusal, D as WorkerInteractiveBinding, DC as ReservationHolder, D_ as ExecResult, Da as sample, Dd as SqlRunStoreOptions, Df as ProviderModelExecutionEvidence, Dg as CodexRolloutStoreRef, Di as runPersonified, Dl as ProgressTrackerOptions, Dn as createChatSessionStore, Do as FlatWidenGate, Dp as RetainedInteractiveStartMaterial, Dr as StdioMcpServerSpec, Ds as checkProgramDigest, Dt as InteractiveWorkerResult, Du as safeWorkerFile, Dv as RouterTransportConfig, Dx as claimsAuthority, E as AttachWorkerOptions, EC as ReservationFloor, ES as verdictFromJudgeScore, E_ as ExecRequest, Ea as runAgentic, Ec as supervise, Ed as SqlRunOwnershipError, Ef as ProviderModelAttemptEvidence, Eg as CodexRolloutStoreReader, Ei as definePersona, El as ProgressTracker, Em as CoordinationStats, En as chatWorkerSeam, Eo as FanoutWinnerSelector, Ep as RetainedInteractiveRunHandle, Er as StdioMcpConnection, Es as assertDeclaredCheck, Et as InteractiveWorkerOptions, Eu as runCancellationFile, Ev as RouterResponseReceipt, Ex as PeerMailboxOptions, F as closingWorkerNote, FC as spendFromUsageEvents, F_ as WorkspaceRequest, Fa as loopDispatch, Fc as retryPreSpawnRefusals, Fd as InMemoryResultBlobStore, Ff as RootHandle, Fg as decodeHarnessUsage, Fh as CliInPlaceSeam, Fi as pipeline, Fl as noProgressFor, Fm as EventAcknowledgement, Fn as supervisorInstructions, Fo as Pipeline, Fp as ReadableEnvironment, Fr as SandboxRunAbortError, Fs as IsolatedCheckResult, Ft as GraphEdge, Fu as workerInboxFile, G as WorkspaceCommit, GC as LoopIterationStartedPayload, GS as DeadlineCheckIn, G_ as ProviderNativeCapturePhase, Ga as SandboxEvidenceRetentionError, Gc as RunContextLease, Gd as replaySpawnTree, Gf as SpawnEvent, Gg as SharedWorkerIdentity, Gh as cliWorktreeExecutor, Gi as observationFromRegistry, Gl as SupervisorFinalizer, Gn as StructuralRolloutPolicy, Go as TrajectoryReportFn, Gp as retainHarnessTranscript, Gr as S3PrivateCasStore, Gt as PromptHandle, Gu as CompletionPolicy, Gx as watchTrace, H as GitWorkspaceOptions, HC as LoopEndedPayload, H_ as createTangleSandboxExactProcessProvider, Ha as runAgentRounds, Hc as InMemoryRunContext, Hd as SpawnForestTree, Hf as Runtime, Hg as SharedBoxPlacementOptions, Hh as RouterToolsSeam, Hi as buildSteerContext, Hl as DeliveredOutput, Hm as QuestionEscalationOutcome, Hn as RepairStop, Ho as SteerContext, Hp as RetainedHarnessTranscriptCapture, Hr as createSandboxLineage, Ht as defaultEdgeTraversalCap, Hu as writeWorkerSteer, Hx as createEventBus, I as composeWorkerEvidence, IC as AgentRunSpec, I_ as createAgentEnvironmentProviderRegistry, Ia as superviseDispatch, Ic as withWorkerSpawnRetry, Id as InMemorySpawnJournal, If as RootMaterialization, Ig as DEFAULT_SHARED_BOX_RESOURCES, Ih as CliSeam, Ii as selectValidWinner, Il as plateau, Im as LeadMessage, In as CheckExecChannel, Io as PipelineStage, Ip as captureHarnessTranscript, Ir as TurnResult, Is as runIsolatedCheck, It as GraphEdgeCapError, Iu as workerInboxFileFromEventDir, J as jjWorkspace, JC as LoopPlanPayload, JS as NativeContextContinuationExecution, J_ as ProviderWorkspaceCaptureReceipt, Ja as LocalSandboxClientOptions, Jc as withRunContext, Jd as AgentExecutionRef, Jf as SpawnPrior, Jg as sharedWorkerClientName, Jh as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Ji as createMcpEnvironment, Jl as pickBestDelivered, Jn as canDisplace, Jo as VerifySpec, Jp as DriverAttemptsExhaustedError, Jr as reconnectRetainedRun, Jt as analyzesFindingsReportPrompt, Ju as deterministicCompletion, Jx as ToolStepInput, K as WorkspaceRun, KC as LoopLineageOptions, KS as WorkerSlots, K_ as ProviderWorkspaceAttemptProvenance, Ka as SandboxEvidenceRetentionPort, Kc as createFileRunContext, Kd as contentAddress, Kf as SpawnJournal, Kg as sharedBoxPlacement, Kh as createExecutor, Ki as McpEndpoint, Kl as bestDelivered, Kn as StructuralRolloutResult, Ko as TrajectoryReportOptions, Kp as DriverAttemptRecord, Kr as S3PrivateCasStoreOptions, Kt as PromptRegistry, Ku as CompletionVerdict, Kx as SessionMessageLike, L as settledWorkerOut, LC as DefaultVerdict, L_ as providerAsExecutor, La as RunAgentRoundsOptions, Lc as SeatSegment, Ld as SpawnForest, Lf as RootProviderModelEvidence, Lg as DEFAULT_SHARED_BOX_WORKERS, Lh as CliWorktreeBridgeSeam, Li as verify, Ll as sampleFromSettled, Lm as MakeWorkerAgent, Ln as CheckOutcome, Lo as RenderCorpusToInstructions, Lp as harnessTranscriptArtifact, Lr as openSandboxRun, Lt as GraphNode, Lu as workerSteerAcknowledgementFile, Lx as BusEvent, M as NOTE_MAX_CHARS, MC as ReservationWaitRefused, M_ as ProviderLeafOut, Ma as SuperviseDispatchOptions, Mc as WorkerSpawnRetryPolicy, Mf as ResumedKeyState, Mg as harnessUsageIsEmpty, Mi as flatWidenGate, Ml as allWorkersStalled, Mm as DownMessageDeliveryOutcome, Mn as assessAuthoredProfile, Mo as PanelJudge, Mp as HarnessTranscriptFile, Mr as OpenSandboxRunOptions, Ms as IsolatedCheckBox, Mt as AgentGraph, Mu as workerCancellationFile, Mv as ToolLoopCompactionOptions, N as VERIFY_TAIL_CHARS, NC as ReserveOptions, N_ as ProviderPromptOptions, Na as SuperviseOptionsForDispatch, Nc as isPreSpawnExecutorFailure, Nd as FileResultBlobStore, Nf as ResumedWork, Ng as readCodexRolloutSession, Ni as loopUntil, Nl as anyOf, Nm as DownMessageEvent, Nn as defaultProfileRichnessThresholds, No as PanelSpec, Np as HarnessTranscriptUnavailable, Nr as OpenSandboxRunPromptOptions, Ns as IsolatedCheckBoxEvidence, Nt as EdgeDeliveryOutcome, Nu as workerCancellationsDir, Nv as ToolLoopMessageRecord, O as WorkerInteractiveProviderSource, OC as ReservationRejection, O_ as ForkRequest, Oa as sampleThenRefine, Oc as workerFromBackend, Od as openSqlRunStore, Of as RecursiveReservationPolicy, Og as CodexRolloutTurn, Oi as FileCorpus, Ol as ProgressView, On as AuthoredProfile, Oo as LoopUntil, Op as StartRetainedInteractiveRunOptions, Or as connectStdioMcp, Os as declaredCheckDeliverable, Ot as workerFromInteractiveProvider, Ou as supervisorRunDir, Ov as ToolSpec, Ox as createPeerMailbox, P as WorkerEvidenceInput, PC as createBudgetPool, P_ as ResourceRequest, Pa as loopCampaignDispatch, Pc as resolveWorkerSpawnRetry, Pd as FileSpawnJournal, Pf as RetainedExecutionState, Pg as HarnessUsage, Pi as panel, Pl as createProgressTracker, Pm as EscalateQuestion, Pn as profileRichnessFinding, Po as PanelVerdict, Pp as HarnessTranscriptUnavailableReason, Pr as SandboxRun, Ps as IsolatedCheckOptions, Pt as EdgeTraversal, Pu as workerControlLogFile, Pv as ToolLoopToolCall, Q as analyzeTrace, QC as LoopTeardownFailedPayload, QS as RecoverRetainedRunIntentOptions, Q_ as ProviderWorkspaceRetentionPort, Qa as InProcessPromptCtx, Qc as SupervisorSpanRecorder, Qd as BudgetViolation, Qf as SpendGap, Qg as SandboxToolPartState, Qh as createSteerableSandboxSession, Qi as BenchmarkLift, Ql as CoordinationPublicAddress, Qm as SpawnPreflightContext, Qn as defaultStructuralRolloutPolicy, Qo as WidenSpec, Qp as DriverFailureClass, Qr as ClaimRetainedInteractiveControlOptions, Qt as dumbContinuationPassPrompt, Qu as GroupOf, Qx as sandboxSessionTraceSource, R as CopyOptions, RC as Driver, R_ as providerAsSandboxClient, Ra as TERMINAL_DECISIONS, Rc as SeatSelection, Rd as SpawnForestEvent, Rf as RootSegment, Rg as ROUTER_CLIENT_HEADER, Rh as CliWorktreeSeam, Ri as widen, Rl as ReentryContinuity, Rm as ManagerReentryState, Rn as CheckRunContext, Ro as RenderCorpusToInstructionsOptions, Rp as persistHarnessTranscript, Rr as BranchCapableBox, Rt as GraphResult, Ru as workerSteerAcknowledgementsDir, Rx as BusRecord, S as failuresAnalyst, SC as BudgetPoolRestore, SS as distillFindings, S_ as AgentTurnResult, Sa as breadthStrategy, Sc as SuperviseOptions, Sd as WaterfallReport, Sf as NodeId, Sg as secretEnvOfMcpServer, Si as trajectoryReport, Sl as AllWorkersStalledOptions, Sm as BlockedToolReport, Sn as ChatTransportExecutorOptions, So as EqualKVerdict, Sp as ReconnectRetainedInteractiveRunOptions, Sr as LocalMcpMaterialization, Ss as defineLeaderboard, St as WorktreePatchArtifact, Su as readWorkerCancellation, Sx as PeerMailReadout, T as worktreeFanout, TC as LeakedReservation, TS as passedItems, T_ as CreateAgentEnvironmentInput, Ta as refine, Td as SqlRunLease, Tf as ProfileMaterializationReceipt, Tg as CodexRolloutSession, Ti as registerShape, Tl as ProgressSample, Tm as CoordinationEvent, Tn as chatTransportExecutor, To as FanoutSynthesis, Tp as RetainedInteractiveEnvironmentInput, Tr as McpToolDescriptor, Ts as DeclaredCheckStateCapture, Tt as InteractiveWorkerKeyInput, Tu as runCancelRequestFile, Tx as PeerMailbox, U as Shell, UC as LoopIterationDispatchPayload, US as DEADLINE_CHECK_IN_MESSAGE, U_ as UnavailablePausePolicy, Ua as SandboxEvidenceContext, Uc as InMemoryRunContextOptions, Ud as loadSpawnForest, Uf as Scope, Ug as SharedBoxProcess, Uh as SandboxSeam, Ui as createScopeAnalyst, Ul as FinalizeContext, Um as QuestionEscalationRecord, Un as StructuralRolloutConfig, Uo as TrajectoryNode, Up as RetainedHarnessTranscriptDescriptor, Ur as AcquireOptions, Ut as runGraph, Uu as CompletionAnalyst, Ux as WatchTraceOptions, V as withUntrackedArtifacts, VC as LoopDecisionPayload, V_ as SandboxControlClient, Va as isTerminalDecision, Vc as SelectSeat, Vd as SpawnForestNode, Vf as RootStreamReceipt, Vg as SharedBoxPlacement, Vh as RouterSeam, Vi as assertTraceDerivedFindings, Vl as composeReentryTask, Vn as CheckSourceCtx, Vo as ScopeWidenGate, Vp as HarnessTranscriptReadOptions, Vr as SessionCapableBox, Vt as TraversalContinuity, Vu as workerSteersDir, Vx as PublishOptions, W as Workspace, WC as LoopIterationEndedPayload, WS as DEFAULT_CHECK_IN_IDLE_MS, W_ as ProviderCheckpointCaptureContext, Wa as SandboxEvidenceReceipt, Wc as RunContext, Wd as materializeTreeView, Wf as Settled, Wg as SharedBoxStats, Wh as cliInPlaceExecutor, Wi as registryScopeAnalyst, Wl as FinalizerSettled, Wn as StructuralRolloutMessage, Wo as TrajectoryReport, Wp as resolveHarnessTranscriptCapture, Wr as acquireSandbox, Wu as CompletionEvidence, Wx as defaultToolDetectors, X as runInWorkspace, XC as LoopSandboxPlacement, XS as NativeContextContinuationInput, X_ as ProviderWorkspaceEntryMetadata, Xa as inlineSandboxClient, Xc as SupervisorSpanOptions, Xd as Budget, Xf as Spend, Xg as SandboxOutputMarker, Xh as SteerableSandboxArgs, Xi as BenchmarkCell, Xl as CoordinationAuthentication, Xn as composeCheckSources, Xo as WidenDecision, Xp as DriverContinuationRecord, Xr as startRetainedRun, Xt as delegatesWorkerBriefPrompt, Xu as stopSentinel, Xx as createPushTraceSource, Y as localShell, YC as LoopResult, YS as NativeContextContinuationHandle, Y_ as ProviderWorkspaceCaptureResult, Ya as localSandboxClient, Yc as SupervisorSpanAttributes, Yd as AgentSpec, Yf as SpawnRejection, Yg as SandboxLeafOut, Yh as SandboxSteeringOptions, Yi as sanitizeMcpToolSchema, Yl as runFinalizer, Yn as compareCheckOutcomes, Yo as Widen, Yp as DriverBudgetReadout, Yr as recoverRetainedRun, Yt as createPromptRegistry, Yu as sentinelCompletion, Yx as TraceSource, Z as TrajectoryAnalysis, ZC as LoopStartedPayload, ZS as ReconnectRetainedRunOptions, Z_ as ProviderWorkspaceRetentionContext, Za as InProcessOnPrompt, Zc as SupervisorSpanOutcome, Zd as BudgetOverspend, Zf as SpendChannel, Zg as SandboxServedBackend, Zh as SteerableSandboxSession, Zi as BenchmarkConfig, Zl as CoordinationMcpHandle, Zm as SpawnPreflight, Zn as defaultExtractCandidate, Zo as WidenLineage, Zp as DriverContractState, Zr as startRetainedRunInEnvironment, Zt as dumbContinuationFailPrompt, Zu as AxisScoresOf, Zx as decodeToolPart, _ as boxSurfaceReader, _C as RetainedRunStartMaterial, _S as PanelFinding, __ as AgentEnvironmentSummary, _a as StrategyMessage, _d as areaUnderCurve, _f as HeldEnvironment, _g as ResolvedMcpServerLaunch, _i as PrivateCasDurableStore, _l as resolveSupervisorProfile, _m as AuthoredAnalystDefinition, _n as CodeModeRunner, _o as CorpusFilter, _p as WorkerTraceSeamCarrier, _r as AuthoredStrategy, _s as LeaderboardIterationInfo, _t as SupervisorCleanupReceipt, _u as legacySupervisorRunDir, _x as PeerMailEnvelope, a as SandboxInstance, aC as RetainedRunAdmission, aS as CheckRead, a_ as mapSandboxToolEvent, aa as AgenticOptions, ad as ProfileKeyOf, af as ExecutorContext, ag as WorkerProgress, ah as WorkerWatchOptions, ai as profileChatClient, al as ObserveSupervisorNodeEvent, am as summarizeDriverAttempts, an as DispatchUnit, ao as harvestCorpus, ap as TokenUsageProvenance, ar as structuralRollout, as as PersonaContext, at as createRootHandle, au as CoordinationOwnerId, aw as OutputAdapter, b as AnalystAuthoring, bC as StartRetainedRunOptions, bS as admitFinding, b_ as AgentSessionRef, ba as SurfaceScore, bc as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, bd as renderAnytimeTable, bf as NoWinnerError, bg as resolveMcpServerLaunch, bi as createPrivateCasArtifactPort, bl as DEFAULT_DEADLINE_WARNING_MS, bm as AuthorizedDownMessage, bn as ChatCompletionsTransport, bo as EqualKOnCost, bp as workerTraceHeaders, br as strategyAuthorContract, bs as LeaderboardScore, bt as patchDelivered, bu as readRunCancellation, bx as PeerMailLimits, c as VerifierEnvironmentOptions, cC as RetainedRunCancellation, cS as ContinuationAppend, c_ as sumSandboxUsage, ca as AgenticTask, cd as pairwiseSignificance, cf as ExecutorMaterialization, cg as AuthorityInboxMessage, ci as assertProfileModelsAllowed, cl as ResolvedSupervisorProfile, cn as queueOf, co as ObservationError, cp as UnknownMaterializationReason, cr as EvolutionReport, cs as RunPersonifiedOptions, ct as SqlRunContextOptions, cu as RunCancelRequest, cw as SelectionReceipt, d as HarvestSurfaceDiffsOptions, dC as RetainedRunEnvironmentAdmission, dS as ContinuationNoteInput, d_ as AgentEnvironmentEvent, da as CorpusReadbackOptions, dd as renderLeaderboardSvg, df as ExecutorRegistry, dg as PeerInboxMessage, di as AgentTurnUsage, dl as SupervisorNodeContext, dm as AnalystFindingEvent, dn as defaultDelegateBudget, do as defaultAnalystInstruction, dp as WorkerInteractiveSession, dr as StrategyTournament, ds as ShapeRegistry, dt as ScopeArgs, du as WorkerCancellation, eC as RecoverRetainedRunResult, eS as ExecutorResultMapping, e_ as assertSandboxServedModel, ea as BenchmarkStrategySummary, ed as Leaderboard, ef as ExecutionBindingReceipt, eg as ActivityNote, eh as SpawnRefusalCause, ei as reconnectRetainedInteractiveRun, el as CoordinationBinding, em as DriverProgressMark, en as kernelPromptRegistry, eo as inProcessSandboxClient, ep as SubtreeResult, er as modelAuthoredChecks, es as DefinePersona, et as WorkerToolTraceArtifact, eu as serveCoordinationMcp, ev as InPlaceHarnessResult, ew as LoopTraceEmitter, f as SurfaceDiff, fC as RetainedRunEventOptions, fS as ContinuationPanel, f_ as AgentEnvironmentProvider, fa as RunAgenticOptions, fd as renderPairwiseMarkdown, ff as ExecutorResult, fg as createInbox, fi as CollectedAgentTurn, fl as SupervisorNodeContextSeed, fm as AnalystKind, fn as delegate, fo as observe, fp as WorkerInteractiveUnavailableReason, fr as TournamentCell, fs as DefinedLeaderboard, ft as createScope, fu as WorkerSteerAcknowledgement, g as WatchedSurface, gC as RetainedRunSnapshot, gS as ContinuationProfile, g_ as AgentEnvironmentStatus, ga as StrategyCtx, gd as anytimeReport, gf as Handle, gg as KeyProvider, gi as PrivateCasArtifactPort, gl as assertCoordinationBinding, gm as AnalyzeOnSettleRoute, gn as CodeModeOptions, go as Corpus, gp as WorkerTraceResolver, gr as AuthorStrategyOptions, gs as LeaderboardFlagSpec, gt as ProvisionedSupervisor, gu as cancelWorker, gx as PEER_MAIL_WIRE_KEY, h as SurfaceReader, hC as RetainedRunReplayPoint, hS as ContinuationPolicy, h_ as AgentEnvironmentQuery, ha as StrategyArtifacts, hd as AnytimeTaskCurve, hf as FleetYield, hg as BridgeSeam, hi as streamAgentTurn, hl as SupervisorToolInvocationContext, hn as finalizeBestDelivered, ho as CombinatorShape, hp as WorkspaceCheckpointMarker, hr as strategyTournament, hs as LeaderboardBenchmarkAdapter, ht as ProvisionSupervisorRequest, hu as cancelRun, hx as DEFAULT_PEER_MAIL_LIMITS, i as SandboxEvent, iC as RetainedInteractiveStartedAdmission, iS as CONTINUATION_FACTS, i_ as mapSandboxEvent, ia as runBenchmark, id as PairwiseVerdict, if as ExecutorCancellationRequest, ig as TeamProgress, ih as WorkerSpawnContext, ii as resolveSandboxClient, il as DriveHarnessOwnerContext, im as classifyDriverFailure, in as DispatchStopReason, io as HarvestReport, ip as SupervisorOpts, ir as selectBestIndex, is as Persona, it as DEFAULT_MAX_DEPTH, iu as CoordinationLog, iv as WorktreeProfileMaterializationReceipt, iw as MountRecorder, j as EVIDENCE_MAX_CHARS, jC as ReservationTicket, j_ as ProviderExecutorOptions, ja as LoopOptionsForDispatch, jb as createOtelExporter, jc as WorkerSpawnRetryHooks, jf as ResultBlobStore, jg as createCodexRolloutStoreReader, ji as fanout, jl as allOf, jm as DownMessageDeliveryAttempt, jn as asAuthoredProfile, jo as Panel, jp as HarnessTranscriptEvidence, jr as OpenSandboxRunBeforeStartContext, js as readDeclaredCheck, jt as createInPlaceCliExecutor, ju as workerCancelRequestsFile, jv as ToolLoopCompaction, jx as peerMailVerbNames, k as attachWorker, kC as ReservationShortfall, k_ as PlacementInfo, ka as LoopCampaignDispatchOptions, kc as ResolvedWorkerSpawnRetry, kf as ResourceLimit, kg as CodexStoreDelta, ki as InMemoryCorpus, kl as StopDecision, km as DefinedAnalystRecord, kn as ProfileRichness, ko as LoopUntilSpec, kp as HarnessTranscriptArtifact, kr as materializeLocalMcp, ks as declaredCheckDigest, kt as WorkerInteractiveAdmission, ku as supervisorRunsRoot, kv as ToolLoopCallContext, kx as isPeerMailEnvelope, l as createVerifierEnvironment, lC as RetainedRunDispatchedAdmission, lS as ContinuationContext, l_ as AgentEnvironment, la as AgenticTool, ld as renderLeaderboardHtml, lf as ExecutorNodeContext, lg as Inbox, li as AgentTurnBackend, ll as SupervisorAgentDeps, lm as AnalystAssignmentRecord, ln as rollingDispatch, lo as ObserveInput, lp as UsageEvent, lr as EvolutionStrategy, ls as ShapeBudget, lt as createFencedSqlRunContext, lu as RunCancellation, lw as ValidationCtx, m as SurfaceReadOutcome, mC as RetainedRunIntentAdmission, mS as ContinuationPanelResult, m_ as AgentEnvironmentProviderRegistry, ma as Strategy, md as AnytimeStrategySummary, mf as ExecutorToolCall, mg as BridgeModelCredential, mi as collectAgentTurn, ml as SupervisorToolDescriptor, mm as AnalystRegistry, mo as AssertTraceDerivedFindings, mp as WorkerTraceUnavailableReason, mr as runStrategyEvolution, ms as LeaderboardBenchTask, mt as ProvisionSupervisorConnection, mu as WriteWorkerSteerOptions, mx as AUTHORITY_MARKERS, n as AnalystFinding, nC as RetainedInteractiveEnvironmentAdmission, nS as mapExecutorResult, n_ as createSandboxUsageLedger, na as Environment, nd as LeaderboardRow, nf as ExecutorAccounting, ng as ExecutorProgress, nh as ToolOutcomeEvent, ni as startRetainedInteractiveRun, nl as CoordinationVerbs, nm as DriverRepromptRefusal, nn as promptHandle, no as HarvestError, np as SupervisedResult, nr as resolveEntrySymbol, ns as LoopShape, nt as parseWorkerToolTraceArtifact, nu as CoordinationHttpOptions, nv as WorktreeCommandResult, nw as LoopWinner, o as computeFindingId, oC as RetainedRunAdmissionHook, oS as CheckUnavailableError, o_ as sandboxEventServedBackend, oa as AgenticRunResult, od as ScoreOf, of as ExecutorExecutionBinding, og as createActivityLog, oi as profileOptimizerModelCall, ol as ResolveDriveHarness, om as upstreamUnavailableSignal, on as RollingDispatchOptions, oo as Observation, op as TreeView, or as visibleCheckScore, os as PersonaExecutors, ot as createSupervisor, ou as FileCoordinationLog, ow as RunProvenance, p as SurfaceReadBox, pC as RetainedRunHandle, pS as ContinuationPanelInput, p_ as AgentEnvironmentProviderRef, pa as ShotSpec, pd as AnytimeReport, pf as ExecutorTeardownWarning, pg as BridgeHarnessStore, pi as StreamAgentTurnOptions, pl as SupervisorProfile, pm as AnalystLensOutput, po as renderReport, pp as WorkerTraceEvidence, pr as TournamentRow, ps as LeaderboardBenchScore, pt as settledToIteration, pu as WorkerSteerRequest, q as gitWorkspace, qC as LoopPlanDescription, qS as createWorkerSlots, q_ as ProviderWorkspaceCaptureProvenance, qa as captureBeforeDestroy, qc as createInMemoryRunContext, qd as Agent, qf as SpawnOpts, qg as sharedBoxRefusal, qh as createExecutorRegistry, qi as McpEnvironmentOptions, ql as collectDelivered, qn as VisibleCheck, qo as Verify, qp as DriverAttemptStop, qr as createS3PrivateCasStore, qt as RegisteredPrompt, qu as completionAuthorizes, qx as SessionTraceBox, r as CreateSandboxOptions, rC as RetainedInteractiveIntentAdmission, rS as AdmittedFinding, r_ as extractLlmCallEvent, ra as printBenchmarkReport, rd as PairwiseOptions, rf as ExecutorCancellation, rg as ScopeProgressInput, rh as WorkerResumeContext, ri as ResolveSandboxClientOptions, rl as DriveHarness, rm as DriverRetryPolicy, rn as DispatchReport, ro as HarvestFailure, rp as Supervisor, rr as sandboxCheckRunner, rs as Outcome, rt as workerTraceAnalysisStore, ru as CoordinationDeliveryEvidence, rv as WorktreeHarnessResult, rw as MountManifestEntry, s as makeFinding, sC as RetainedRunCancelOptions, sS as CheckVerdict, s_ as sandboxProgressEvents, sa as AgenticSurface, sd as leaderboard, sf as ExecutorFactory, sg as readWorkerProgress, sh as canonicalFindingEvent, si as assertModelAllowed, sl as ResolveSupervisorTools, sm as RetainedPendingCause, sn as freeSlots, so as ObservationAnalysis, sp as UnconfirmedTeardown, sr as EvolutionAuthor, ss as RunPersonified, st as FencedSqlRunContext, su as PriorCoordination, sw as SandboxClient, t as AgentProfile, tC as RetainedInteractiveAdmission, tS as gateOnDeliverable, t_ as createSandboxToolPartState, ta as BenchmarkTaskRow, td as LeaderboardOptions, tf as Executor, tg as DEFAULT_STALL_AFTER_MS, th as SuperviseProfileEntry, ti as recoverRetainedInteractiveRun, tl as CoordinationToolFace, tm as DriverReentry, tn as naiveContinuationPrompt, to as HarvestCorpusOptions, tp as SubtreeSummary, tr as officialChecksFromMeta, ts as DefinePersonaInput, tt as captureWorkerTraceEvidence, tu as CoordinationHttpAudit, tv as WorktreeCheckRunner, tw as LoopTraceEvent, u as BoxSurfaceReaderOptions, uC as RetainedRunEffect, uS as ContinuationEntry, u_ as AgentEnvironmentCapabilities, ua as ArtifactHandle, ud as renderLeaderboardMarkdown, uf as ExecutorProgressEvent, ug as InboxMessage, uh as normalizeAnalyzeOnSettle, ui as AgentTurnInput, un as DelegateOptions, uo as ObserveOptions, up as WidenGate, ur as StrategyEvolutionConfig, us as ShapeContext, ut as SUBTREE_RESULT_LIMIT, uu as WorkerCancelRequest, uw as Validator, v as fsSurfaceReader, vC as RetainedRunTurnInput, vS as VerdictSummary, v_ as AgentProfileRef, va as StrategyResult, vc as AuthorizedSpawn, vd as bestSoFar, vf as MaterializedExecutionIdentity, vg as envKeyProvider, vi as PrivateCasOffloadReport, vl as supervisorAgent, vm as AuthoredAnalystLimits, vn as codeModeSupervisorTools, vo as CorpusRecord, vp as readWorkerTraceContext, vr as assertStrategyContract, vs as LeaderboardRunContext, vt as provisionSupervisor, vu as legacySupervisorRunsRoot, vx as PeerMailEvent, w as WorktreeFanoutOptions, wC as BudgetReconcileFault, wS as failedItems, w_ as CheckpointRequest, wa as depthStrategy, wc as SuperviseRegistryTable, wd as createWaterfallCollector, wf as NodeStatus, wg as CodexRolloutIdentity, wi as createShapeRegistry, wl as PlateauOptions, wm as ContinuityMode, wn as ChatWorkerSeamOptions, wo as FanoutOptions, wp as RetainedInteractiveAdmissionHook, wr as McpSpawnFault, ws as DeclaredCheckPlacement, wt as InteractiveWorkerEnvironment, wu as readWorkerSteerRequests, wx as PeerMailSendInput, x as analystsFromRegistry, xC as BudgetPool, xS as checkVerdictOf, x_ as AgentSessionStatus, xa as adaptiveRefine, xc as DeliverableResolutionInput, xd as WaterfallCollector, xf as NodeExecutionIdentity, xg as resolveSecretEnv, xi as equalKOnCost, xl as ManagerWakePolicy, xm as AwaitWakeInput, xn as ChatSessionStore, xo as EqualKOnCostOptions, xp as workerTraceSeamKey, xr as strategyAuthorSystemPrompt, xs as LeaderboardSpec, xt as WorktreeCliExecutorOptions, xu as readWorkerCancelRequests, xx as PeerMailOutcome, y as harvestSurfaceDiffs, yC as StartRetainedRunInEnvironmentOptions, yS as admitContinuationPolicy, y_ as AgentSession, ya as StrategyShotResult, yc as AuthorizedSpawnContext, yd as plateauLength, yf as MaterializedModelIdentity, yg as mcpSecretEnvMetadataKey, yi as PrivateCasOptions, ym as AuthorizeDownMessage, yn as unsafeInProcessRunner, yo as EqualKArm, yp as workerTraceEnv, yr as authorStrategy, ys as LeaderboardScenario, yt as PatchDeliverableOptions, yu as readRunCancelRequest, yx as PeerMailKind, z as UntrackedCopyStats, zC as ExecCtx, z_ as resolveAgentEnvironmentProvider, za as TerminalDecision, zc as SeatSelectionInput, zd as SpawnForestInDoubtNode, zf as RootSegmentEntry, zg as SharedBoxCloseReceipt, zh as ExecutorConfig, zi as CreateScopeAnalystOptions, zl as ReentryTaskInput, zm as ManagerWake, zn as CheckRunner, zo as ScopeAnalyst, zp as HarnessTranscriptMetadata, zr as SandboxLineage, zt as RunGraphOptions, zu as workerSteerRequestFile, zx as BusStats } from "./index-BdIi1eIV.js";
4
2
  import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-0fKkoweu.js";
5
- export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type AdmittedFinding, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystAssignmentRecord, type AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalyzeOnSettleRoute, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, type AuthoredHarness, type AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, type AuthorizeDownMessage, type AuthorizedDownMessage, type AuthorizedSpawn, type AuthorizedSpawnContext, type AwaitWakeInput, type AxisScoresOf, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BoxSurfaceReaderOptions, type BranchCapableBox, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, BudgetReconcileFault, type BudgetViolation, type BusEvent, type BusRecord, type BusStats, CONTINUATION_FACTS, type ChatCompletionsTransport, type ChatSessionStore, type ChatTransportExecutorOptions, type ChatTransportTool, type ChatWorkerSeamOptions, type CheckExecChannel, type CheckOutcome, type CheckRead, type CheckRunContext, type CheckRunner, type CheckSource, type CheckSourceCtx, CheckUnavailableError, type CheckVerdict, type CheckpointRef, type CheckpointRequest, type ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeOptions, type CodeModeRunner, type CodexForkBoundary, type CodexRolloutIdentity, type CodexRolloutSession, type CodexRolloutStoreReader, type CodexRolloutStoreRef, type CodexRolloutTurn, type CodexStoreDelta, type CollectedAgentTurn, type CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, type ContinuationAppend, type ContinuationContext, type ContinuationEntry, type ContinuationInstruction, type ContinuationNoteInput, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type ContinuityMode, type CoordinationAuthentication, type CoordinationBinding, type CoordinationDeliveryEvidence, type CoordinationEvent, type CoordinationHttpAudit, type CoordinationHttpOptions, type CoordinationLog, type CoordinationMcpHandle, type CoordinationOwnerId, type CoordinationPublicAddress, type CoordinationStats, type CoordinationToolFace, type CoordinationTransportOptions, type CoordinationVerbs, type CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, type CreateScopeAnalystOptions, type CreateTangleSandboxExactProcessProviderOptions, DEADLINE_CHECK_IN_MESSAGE, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_CHECK_IN_IDLE_MS, DEFAULT_DEADLINE_WARNING_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, type DeadlineCheckIn, type DeclaredCheck, type DeclaredCheckPlacement, type DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, type DelegateOptions, type Deliverable, type DeliverableResolutionInput, type DeliverableSpec, type DeliveredOutput, type DispatchReport, type DispatchStopReason, type DispatchUnit, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type DriveHarnessOwnerContext, type Driver, type DriverAttemptRecord, type DriverAttemptStop, DriverAttemptsExhaustedError, type DriverBudgetReadout, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverLoopRecord, type DriverProgressMark, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EscalateQuestion, type EventAcknowledgement, type EventBus, type EvolutionAuthor, type EvolutionReport, type EvolutionStrategy, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, type ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, type FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FlatWidenGate, type FleetYield, type ForkRequest, type GitWorkspaceOptions, type GraphEdge, GraphEdgeCapError, type GraphNode, type GraphResult, type GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, type HarvestCorpusOptions, HarvestError, type HarvestFailure, type HarvestReport, type HarvestSurfaceDiffsOptions, type HeldEnvironment, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InPlaceCliExecutorOptions, type InPlaceHarnessResult, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type InteractiveWorkerEnvironment, type InteractiveWorkerKeyInput, type InteractiveWorkerOptions, type InteractiveWorkerResult, type Interval, type IsolatedCheckBox, type IsolatedCheckBoxEvidence, type IsolatedCheckOptions, type IsolatedCheckResult, type Iteration, type KeyProvider, type LeadMessage, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntil, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type ManagerWake, type ManagerWakePolicy, type MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, type McpEndpoint, type McpEnvironmentOptions, McpSpawnFault, type McpToolDescriptor, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, type Observation, type ObservationAnalysis, ObservationError, type ObserveInput, type ObserveOptions, type ObserveSupervisorNodeEvent, type OpenSandboxRunBeforeStartContext, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, type PairwiseOptions, type PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, type PeerMailEnvelope, type PeerMailEvent, type PeerMailKind, type PeerMailLimits, type PeerMailOutcome, type PeerMailReadout, type PeerMailRefusal, type PeerMailSendInput, type PeerMailbox, type PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, type PrivateCasArtifactPort, type PrivateCasDurableStore, type PrivateCasOffloadReport, type PrivateCasOptions, type ProfileKeyOf, type ProfileMaterializationReceipt, type ProfileRichness, type ProfileRichnessThresholds, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, type PromptHandle, type PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, type ProvisionSupervisorConnection, type ProvisionSupervisorRequest, type ProvisionedSupervisor, type PublishOptions, type QuestionEscalationOutcome, type QuestionEscalationRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReentryContinuity, type ReentryTaskInput, type RegisteredPrompt, type RegistryAnalyzeProjection, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, type RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, ReservationWaitRefused, type ReserveOptions, type ResolveDriveHarness, type ResolveSandboxClientOptions, type ResolveSupervisorTools, type ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, type ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedPendingCause, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RetainedRunTurnInput, type RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootModel, type RootModelChange, type RootProviderModelEvidence, type RootSignal, type RootStreamReceipt, type RouterResponseReceipt, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunContext, type RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, type S3PrivateCasStore, type S3PrivateCasStoreOptions, SUBTREE_RESULT_LIMIT, type SandboxClient, type SandboxControlClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, SandboxEvidenceRetentionError, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, type SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, type SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, type ScoreOf, type SeatSegment, type SeatSelection, type SeatSelectionInput, type SeatStage, type SelectSeat, type SelectionReceipt, type SessionCapableBox, type SessionMessageLike, type SessionTraceBox, type Settled, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxHandle, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxProcess, type SharedBoxStats, type SharedWorkerIdentity, type Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type SqlRunContextOptions, type SqlRunLease, SqlRunOwnershipError, type SqlRunStoreOptions, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, type StdioMcpConnection, type StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, type SteerableSandboxArgs, type SteerableSandboxSession, type StopDecision, type StopRule, type Strategy, type StrategyArtifacts, type StrategyCtx, type StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, type StrategyTournament, type StreamAgentTurnOptions, type StructuralRolloutConfig, type StructuralRolloutMessage, type StructuralRolloutPolicy, type StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, type SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, type SupervisorSpanAttributes, type SupervisorSpanOptions, type SupervisorSpanOutcome, type SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, type SurfaceDiff, type SurfaceReadBox, type SurfaceReadOutcome, type SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, type TaskQueueEntry, type TaskQueueOptions, type TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, type TournamentCell, type TournamentRow, type TraceSource, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, type TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, type UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, type VerifierEnvironmentOptions, type Verify, type VerifySpec, type VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, type WatchTraceOptions, type WatchedSurface, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEvidenceInput, type WorkerInteractiveAdmission, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSlots, type WorkerSpawnContext, type WorkerSpawnRetryAttempt, type WorkerSpawnRetryHooks, type WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceSeamCarrier, type WorkerTraceUnavailableReason, type WorkerWatchOptions, type Workspace, type WorkspaceCheckpointMarker, type WorkspaceCommit, type WorkspaceRequest, type WorkspaceRun, type WorktreeCheckRunner, type WorktreeCliExecutorOptions, type WorktreeCommandResult, type WorktreeFanoutOptions, type WorktreeHarnessResult, type WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureBeforeDestroy, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestDelivered, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, trajectoryReport, unsafeInProcessRunner, upstreamUnavailableSignal, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
3
+ export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type AdmittedFinding, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystAssignmentRecord, type AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalyzeOnSettleRoute, type AnytimeReport, type AnytimeStrategySummary, type AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, type AuthoredHarness, type AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, type AuthorizeDownMessage, type AuthorizedDownMessage, type AuthorizedSpawn, type AuthorizedSpawnContext, type AwaitWakeInput, type AxisScoresOf, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BlockedToolReport, type BoxSurfaceReaderOptions, type BranchCapableBox, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, BudgetReconcileFault, type BudgetViolation, type BusEvent, type BusRecord, type BusStats, CONTINUATION_FACTS, type ChatCompletionsTransport, type ChatSessionStore, type ChatTransportExecutorOptions, type ChatTransportTool, type ChatWorkerSeamOptions, type CheckExecChannel, type CheckOutcome, type CheckRead, type CheckRunContext, type CheckRunner, type CheckSource, type CheckSourceCtx, CheckUnavailableError, type CheckVerdict, type CheckpointRef, type CheckpointRequest, type ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeOptions, type CodeModeRunner, type CodexForkBoundary, type CodexRolloutIdentity, type CodexRolloutSession, type CodexRolloutStoreReader, type CodexRolloutStoreRef, type CodexRolloutTurn, type CodexStoreDelta, type CollectedAgentTurn, type CombinatorShape, type CompletionAnalyst, type CompletionEvidence, type CompletionPolicy, type CompletionVerdict, type ContinuationAppend, type ContinuationContext, type ContinuationEntry, type ContinuationInstruction, type ContinuationNoteInput, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type ContinuityMode, type CoordinationAuthentication, type CoordinationBinding, type CoordinationDeliveryEvidence, type CoordinationEvent, type CoordinationHttpAudit, type CoordinationHttpOptions, type CoordinationLog, type CoordinationMcpHandle, type CoordinationOwnerId, type CoordinationPublicAddress, type CoordinationStats, type CoordinationToolFace, type CoordinationTransportOptions, type CoordinationVerbs, type CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, type CreateScopeAnalystOptions, type CreateTangleSandboxExactProcessProviderOptions, DEADLINE_CHECK_IN_MESSAGE, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_CHECK_IN_IDLE_MS, DEFAULT_DEADLINE_WARNING_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, type DeadlineCheckIn, type DeclaredCheck, type DeclaredCheckPlacement, type DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, type DelegateOptions, type Deliverable, type DeliverableResolutionInput, type DeliverableSpec, type DeliveredOutput, type DispatchReport, type DispatchStopReason, type DispatchUnit, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type DriveHarnessOwnerContext, type Driver, type DriverAttemptRecord, type DriverAttemptStop, DriverAttemptsExhaustedError, type DriverBudgetReadout, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverLoopRecord, type DriverProgressMark, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EscalateQuestion, type EventAcknowledgement, type EventBus, type EvolutionAuthor, type EvolutionReport, type EvolutionStrategy, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, type ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, type FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FlatWidenGate, type FleetYield, type ForkRequest, type GitWorkspaceOptions, type GraphEdge, GraphEdgeCapError, type GraphNode, type GraphResult, type GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, type HarvestCorpusOptions, HarvestError, type HarvestFailure, type HarvestReport, type HarvestSurfaceDiffsOptions, type HeldEnvironment, InMemoryCorpus, InMemoryResultBlobStore, type InMemoryRunContext, type InMemoryRunContextOptions, InMemorySpawnJournal, type InPlaceCliExecutorOptions, type InPlaceHarnessResult, type InProcessOnPrompt, type InProcessPromptCtx, type InProcessSandboxClientOptions, type Inbox, type InboxMessage, type InteractiveWorkerEnvironment, type InteractiveWorkerKeyInput, type InteractiveWorkerOptions, type InteractiveWorkerResult, type Interval, type IsolatedCheckBox, type IsolatedCheckBoxEvidence, type IsolatedCheckOptions, type IsolatedCheckResult, type Iteration, type KeyProvider, type LeadMessage, type Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, type LeaderboardOptions, type LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntil, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type ManagerWake, type ManagerWakePolicy, type MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, type McpEndpoint, type McpEnvironmentOptions, McpSpawnFault, type McpToolDescriptor, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, type Observation, type ObservationAnalysis, ObservationError, type ObserveInput, type ObserveOptions, type ObserveSupervisorNodeEvent, type OpenSandboxRunBeforeStartContext, type OpenSandboxRunOptions, type OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, type PairwiseOptions, type PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, type PeerMailEnvelope, type PeerMailEvent, type PeerMailKind, type PeerMailLimits, type PeerMailOutcome, type PeerMailReadout, type PeerMailRefusal, type PeerMailSendInput, type PeerMailbox, type PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, type PrivateCasArtifactPort, type PrivateCasDurableStore, type PrivateCasOffloadReport, type PrivateCasOptions, type ProfileKeyOf, type ProfileMaterializationReceipt, type ProfileRichness, type ProfileRichnessThresholds, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, type PromptHandle, type PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, type ProvisionSupervisorConnection, type ProvisionSupervisorRequest, type ProvisionedSupervisor, type PublishOptions, type QuestionEscalationOutcome, type QuestionEscalationRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReentryContinuity, type ReentryTaskInput, type RegisteredPrompt, type RegistryAnalyzeProjection, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, type RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, ReservationWaitRefused, type ReserveOptions, type ResolveDriveHarness, type ResolveSandboxClientOptions, type ResolveSupervisorTools, type ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, type ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedPendingCause, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RetainedRunTurnInput, type RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSegment, type RootSegmentEntry, type RootSignal, type RootStreamReceipt, type RouterResponseReceipt, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunContext, type RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, type S3PrivateCasStore, type S3PrivateCasStoreOptions, SUBTREE_RESULT_LIMIT, type SandboxClient, type SandboxControlClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, SandboxEvidenceRetentionError, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, type SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, type SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, type ScoreOf, type SeatSegment, type SeatSelection, type SeatSelectionInput, type SeatStage, type SelectSeat, type SelectionReceipt, type SessionCapableBox, type SessionMessageLike, type SessionTraceBox, type Settled, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxHandle, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxProcess, type SharedBoxStats, type SharedWorkerIdentity, type Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type SqlRunContextOptions, type SqlRunLease, SqlRunOwnershipError, type SqlRunStoreOptions, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, type StdioMcpConnection, type StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, type SteerableSandboxArgs, type SteerableSandboxSession, type StopDecision, type StopRule, type Strategy, type StrategyArtifacts, type StrategyCtx, type StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, type StrategyTournament, type StreamAgentTurnOptions, type StructuralRolloutConfig, type StructuralRolloutMessage, type StructuralRolloutPolicy, type StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, type SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, type SupervisorSpanAttributes, type SupervisorSpanOptions, type SupervisorSpanOutcome, type SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, type SurfaceDiff, type SurfaceReadBox, type SurfaceReadOutcome, type SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, type TaskQueueEntry, type TaskQueueOptions, type TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, type TournamentCell, type TournamentRow, type TraceSource, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, type TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, type UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, type VerifierEnvironmentOptions, type Verify, type VerifySpec, type VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, type WatchTraceOptions, type WatchedSurface, type WaterfallCollector, type WaterfallReport, type WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEvidenceInput, type WorkerInteractiveAdmission, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSlots, type WorkerSpawnContext, type WorkerSpawnRetryAttempt, type WorkerSpawnRetryHooks, type WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceSeamCarrier, type WorkerTraceUnavailableReason, type WorkerWatchOptions, type Workspace, type WorkspaceCheckpointMarker, type WorkspaceCommit, type WorkspaceRequest, type WorkspaceRun, type WorktreeCheckRunner, type WorktreeCliExecutorOptions, type WorktreeCommandResult, type WorktreeFanoutOptions, type WorktreeHarnessResult, type WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureBeforeDestroy, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestDelivered, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, trajectoryReport, unsafeInProcessRunner, upstreamUnavailableSignal, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
package/dist/kernel.js CHANGED
@@ -1,13 +1,13 @@
1
- import { $n as parseWorkerToolTraceArtifact, $t as PEER_MAIL_WIRE_KEY, An as resolveAgentEnvironmentProvider, Ar as resolveHarnessTranscriptCapture, Bn as InMemoryResultBlobStore, Bt as createInPlaceCliExecutor, Dn as createAgentEnvironmentProviderRegistry, Dr as harnessTranscriptArtifact, Dt as passedItems, Er as captureHarnessTranscript, Et as failedItems, Gn as replaySpawnTree, Gt as workerTraceSeamKey, Ht as readWorkerTraceContext, It as createWorktreeCliExecutor, Jt as createActivityLog, Lt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Mn as decodeToolPart, Mr as contentAddress, Mt as cliWorktreeExecutor, Nn as sandboxSessionTraceSource, Nt as createExecutor, On as providerAsExecutor, Or as persistHarnessTranscript, Ot as verdictFromJudgeScore, Pt as createExecutorRegistry, Qt as DEFAULT_PEER_MAIL_LIMITS, Rn as FileResultBlobStore, Rt as createSteerableSandboxSession, S as createScope, St as checkVerdictOf, Tt as expandQuestions, Un as loadSpawnForest, Ur as createOpenInferenceFileExporter, Ut as workerTraceEnv, Vn as InMemorySpawnJournal, Wn as materializeTreeView, Wr as createOtelExporter, Wt as workerTraceHeaders, Xn as WORKER_TOOL_TRACE_SCHEMA_VERSION, Xt as createInbox, Yt as readWorkerProgress, Zn as captureWorkerTraceEvidence, Zt as AUTHORITY_MARKERS, _n as runAgentRounds, _t as CONTINUATION_FACTS, a as collectDelivered, aa as extractLlmCallEvent, ar as createBudgetPool, bn as SandboxEvidenceRetentionError, br as createWorkerSlots, bt as admitFinding, ca as mapSandboxToolEvent, cr as spendFromUsageEvents, ct as reconnectRetainedInteractiveRun, d as classifyDriverFailure, da as sandboxProgressEvents, dn as harnessUsageIsEmpty, dt as freeSlots, en as claimsAuthority, er as workerTraceAnalysisStore, fa as sumSandboxUsage, fn as readCodexRolloutSession, ft as queueOf, gn as isTerminalDecision, gr as startRetainedRunInEnvironment, hn as defaultSelectWinner, hr as startRetainedRun, ht as mapExecutorResult, i as bestDelivered, ia as createSandboxUsageLedger, in as peerMailVerbNames, j as settledToIteration, jn as createPushTraceSource, jr as retainHarnessTranscript, jt as cliInPlaceExecutor, kn as providerAsSandboxClient, l as DriverAttemptsExhaustedError, ln as addHarnessUsage, lt as recoverRetainedInteractiveRun, m as upstreamUnavailableSignal, mr as recoverRetainedRun, mt as gateOnDeliverable, n as createRootHandle, nn as isPeerMailEnvelope, nr as BudgetReconcileFault, o as pickBestDelivered, ot as attachWorker, p as summarizeDriverAttempts, pa as decodeHarnessUsage, pn as TERMINAL_DECISIONS, pr as reconnectRetainedRun, pt as rollingDispatch, qt as DEFAULT_STALL_AFTER_MS, r as createSupervisor, ra as createSandboxToolPartState, rn as peerMailTools, rr as ReservationWaitRefused, s as runFinalizer, sa as mapSandboxEvent, st as readWorkerInteractiveBinding, t as DEFAULT_MAX_DEPTH, ta as assertSandboxServedModel, tn as createPeerMailbox, ua as sandboxEventServedBackend, un as createCodexRolloutStoreReader, ut as startRetainedInteractiveRun, vn as createSandboxLineage, vt as CheckUnavailableError, wt as distillFindings, xn as captureBeforeDestroy, y as SUBTREE_RESULT_LIMIT, yn as acquireSandbox, yt as admitContinuationPolicy, zn as FileSpawnJournal } from "./supervisor-WYRLsCp1.js";
2
- import { A as resolveEntrySymbol, B as runAgentic, C as compareCheckOutcomes, D as filterAuthoredAsserts, E as defaultStructuralRolloutPolicy, F as adaptiveRefine, G as observe, H as sampleThenRefine, I as breadthStrategy, J as profileOptimizerModelCall, K as renderReport, L as defineStrategy, M as selectBestIndex, N as structuralRollout, O as modelAuthoredChecks, P as visibleCheckScore, Q as streamAgentTurn, R as depthStrategy, S as canDisplace, T as defaultExtractCandidate, U as ObservationError, V as sample, W as defaultAnalystInstruction, Z as collectAgentTurn, _ as sharedWorkerClientName, f as DEFAULT_SHARED_BOX_RESOURCES, g as sharedBoxRefusal, h as sharedBoxPlacement, j as sandboxCheckRunner, k as officialChecksFromMeta, m as ROUTER_CLIENT_HEADER, p as DEFAULT_SHARED_BOX_WORKERS, q as profileChatClient, w as composeCheckSources, z as refine } from "./search-executor-BNLvgp0X.js";
1
+ import { $n as parseWorkerToolTraceArtifact, $t as PEER_MAIL_WIRE_KEY, An as resolveAgentEnvironmentProvider, Ar as resolveHarnessTranscriptCapture, Bn as InMemoryResultBlobStore, Bt as createInPlaceCliExecutor, Dn as createAgentEnvironmentProviderRegistry, Dr as harnessTranscriptArtifact, Dt as passedItems, Er as captureHarnessTranscript, Et as failedItems, Gn as replaySpawnTree, Gt as workerTraceSeamKey, Ht as readWorkerTraceContext, It as createWorktreeCliExecutor, Jt as createActivityLog, Lt as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Mn as decodeToolPart, Mr as contentAddress, Mt as cliWorktreeExecutor, Nn as sandboxSessionTraceSource, Nt as createExecutor, On as providerAsExecutor, Or as persistHarnessTranscript, Ot as verdictFromJudgeScore, Pt as createExecutorRegistry, Qt as DEFAULT_PEER_MAIL_LIMITS, Rn as FileResultBlobStore, Rt as createSteerableSandboxSession, S as createScope, St as checkVerdictOf, Tt as expandQuestions, Un as loadSpawnForest, Ur as createOpenInferenceFileExporter, Ut as workerTraceEnv, Vn as InMemorySpawnJournal, Wn as materializeTreeView, Wr as createOtelExporter, Wt as workerTraceHeaders, Xn as WORKER_TOOL_TRACE_SCHEMA_VERSION, Xt as createInbox, Yt as readWorkerProgress, Zn as captureWorkerTraceEvidence, Zt as AUTHORITY_MARKERS, _n as runAgentRounds, _t as CONTINUATION_FACTS, a as collectDelivered, aa as extractLlmCallEvent, ar as createBudgetPool, bn as SandboxEvidenceRetentionError, br as createWorkerSlots, bt as admitFinding, ca as mapSandboxToolEvent, cr as spendFromUsageEvents, ct as reconnectRetainedInteractiveRun, d as classifyDriverFailure, da as sandboxProgressEvents, dn as harnessUsageIsEmpty, dt as freeSlots, en as claimsAuthority, er as workerTraceAnalysisStore, fa as sumSandboxUsage, fn as readCodexRolloutSession, ft as queueOf, gn as isTerminalDecision, gr as startRetainedRunInEnvironment, hn as defaultSelectWinner, hr as startRetainedRun, ht as mapExecutorResult, i as bestDelivered, ia as createSandboxUsageLedger, in as peerMailVerbNames, j as settledToIteration, jn as createPushTraceSource, jr as retainHarnessTranscript, jt as cliInPlaceExecutor, kn as providerAsSandboxClient, l as DriverAttemptsExhaustedError, ln as addHarnessUsage, lt as recoverRetainedInteractiveRun, m as upstreamUnavailableSignal, mr as recoverRetainedRun, mt as gateOnDeliverable, n as createRootHandle, nn as isPeerMailEnvelope, nr as BudgetReconcileFault, o as pickBestDelivered, ot as attachWorker, p as summarizeDriverAttempts, pa as decodeHarnessUsage, pn as TERMINAL_DECISIONS, pr as reconnectRetainedRun, pt as rollingDispatch, qt as DEFAULT_STALL_AFTER_MS, r as createSupervisor, ra as createSandboxToolPartState, rn as peerMailTools, rr as ReservationWaitRefused, s as runFinalizer, sa as mapSandboxEvent, st as readWorkerInteractiveBinding, t as DEFAULT_MAX_DEPTH, ta as assertSandboxServedModel, tn as createPeerMailbox, ua as sandboxEventServedBackend, un as createCodexRolloutStoreReader, ut as startRetainedInteractiveRun, vn as createSandboxLineage, vt as CheckUnavailableError, wt as distillFindings, xn as captureBeforeDestroy, y as SUBTREE_RESULT_LIMIT, yn as acquireSandbox, yt as admitContinuationPolicy, zn as FileSpawnJournal } from "./supervisor-DgcmBicU.js";
2
+ import { A as resolveEntrySymbol, B as runAgentic, C as compareCheckOutcomes, D as filterAuthoredAsserts, E as defaultStructuralRolloutPolicy, F as adaptiveRefine, G as observe, H as sampleThenRefine, I as breadthStrategy, J as profileOptimizerModelCall, K as renderReport, L as defineStrategy, M as selectBestIndex, N as structuralRollout, O as modelAuthoredChecks, P as visibleCheckScore, Q as streamAgentTurn, R as depthStrategy, S as canDisplace, T as defaultExtractCandidate, U as ObservationError, V as sample, W as defaultAnalystInstruction, Z as collectAgentTurn, _ as sharedWorkerClientName, f as DEFAULT_SHARED_BOX_RESOURCES, g as sharedBoxRefusal, h as sharedBoxPlacement, j as sandboxCheckRunner, k as officialChecksFromMeta, m as ROUTER_CLIENT_HEADER, p as DEFAULT_SHARED_BOX_WORKERS, q as profileChatClient, w as composeCheckSources, z as refine } from "./search-executor-BuwMU5TF.js";
3
3
  import { gt as DEFAULT_CHECK_IN_IDLE_MS, ht as DEADLINE_CHECK_IN_MESSAGE } from "./workspace-streams-BEvSX97P.js";
4
4
  import { runTaskQueue } from "./task-queue.js";
5
5
  import { n as assertModelAllowed, r as assertProfileModelsAllowed } from "./model-policy-DydyWTQg.js";
6
- import { $ as renderCorpusToInstructions, A as chatWorkerSeam, At as completionAuthorizes, B as createS3PrivateCasStore, Bt as SqlRunOwnershipError, C as analyzeTrace, Ct as assertDeclaredCheck, D as codeModeSupervisorTools, Dt as declaredCheckJudge, Et as declaredCheckDigest, F as authorStrategy, Ft as pairwiseSignificance, G as trajectoryReport, Gt as createMcpEnvironment, H as runBenchmark, Ht as McpSpawnFault, I as strategyAuthorContract, It as renderLeaderboardHtml, J as builtinShapes, Jt as mcpSecretEnvMetadataKey, K as definePersona, Kt as sanitizeMcpToolSchema, L as strategyAuthorSystemPrompt, Lt as renderLeaderboardMarkdown, M as runStrategyEvolution, Mt as sentinelCompletion, N as strategyTournament, Nt as stopSentinel, O as unsafeInProcessRunner, Ot as readDeclaredCheck, P as assertStrategyContract, Pt as leaderboard, Q as InMemoryCorpus, Qt as createTangleSandboxExactProcessProvider, R as SandboxRunAbortError, Rt as renderLeaderboardSvg, S as withUntrackedArtifacts, St as superviseDispatch, T as patchDelivered, Tt as declaredCheckDeliverable, U as createPrivateCasArtifactPort, Ut as connectStdioMcp, V as printBenchmarkReport, Vt as openSqlRunStore, W as equalKOnCost, Wt as materializeLocalMcp, X as registerShape, Xt as resolveSecretEnv, Y as createShapeRegistry, Yt as resolveMcpServerLaunch, Z as FileCorpus, Zt as secretEnvOfMcpServer, _ as VERIFY_TAIL_CHARS, _t as resolveSandboxClient, a as localShell, at as selectValidWinner, b as settledWorkerOut, bt as loopCampaignDispatch, c as createVerifierEnvironment, ct as assertTraceDerivedFindings, d as harvestSurfaceDiffs, dt as registryScopeAnalyst, et as fanout, f as analystsFromRegistry, ft as observationFromRegistry, g as NOTE_MAX_CHARS, gt as defineLeaderboard, h as EVIDENCE_MAX_CHARS, ht as harvestCorpus, i as jjWorkspace, it as pipeline, j as createChatSessionStore, jt as deterministicCompletion, k as chatTransportExecutor, kt as runIsolatedCheck, l as boxSurfaceReader, lt as buildSteerContext, m as worktreeFanout, mt as HarvestError, n as makeFinding, nt as loopUntil, o as runInWorkspace, ot as verify, p as failuresAnalyst, pt as inProcessSandboxClient, q as runPersonified, qt as envKeyProvider, r as gitWorkspace, rt as panel, s as createWaterfallCollector, st as widen, t as computeFindingId, tt as flatWidenGate, u as fsSurfaceReader, ut as createScopeAnalyst, v as closingWorkerNote, vt as localSandboxClient, w as createFencedSqlRunContext, wt as checkProgramDigest, x as copyUntrackedIntoClone, xt as loopDispatch, y as composeWorkerEvidence, yt as inlineSandboxClient, z as openSandboxRun, zt as renderPairwiseMarkdown } from "./runtime-DsnHqwNx.js";
7
- import { B as defaultToolDetectors, C as createInMemoryRunContext, I as normalizeAnalyzeOnSettle, S as createFileRunContext, T as FileCoordinationLog, V as watchTrace, _ as anytimeReport, a as DEFAULT_DEADLINE_WARNING_MS, b as plateauLength, d as anyOf, f as createProgressTracker, g as sampleFromSettled, i as finalizeBestDelivered, j as canonicalFindingEvent, l as allOf, m as plateau, p as noProgressFor, u as allWorkersStalled, v as areaUnderCurve, w as withRunContext, x as renderAnytimeTable, y as bestSoFar, z as createEventBus } from "./coordination-driver-CIfgl4Yj.js";
8
- import { b as createSupervisorSpanRecorder, c as resolveWorkerSpawnRetry, d as assertCoordinationBinding, f as resolveSupervisorProfile, l as retryPreSpawnRefusals, o as workerFromBackend, p as supervisorAgent, r as supervise, s as isPreSpawnExecutorFailure, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, u as withWorkerSpawnRetry, v as UNPROVEN_CONTINUITY, x as serveCoordinationMcp, y as composeReentryTask } from "./supervise-D6MgxpMI.js";
6
+ import { $ as renderCorpusToInstructions, A as chatWorkerSeam, At as completionAuthorizes, B as createS3PrivateCasStore, Bt as SqlRunOwnershipError, C as analyzeTrace, Ct as assertDeclaredCheck, D as codeModeSupervisorTools, Dt as declaredCheckJudge, Et as declaredCheckDigest, F as authorStrategy, Ft as pairwiseSignificance, G as trajectoryReport, Gt as createMcpEnvironment, H as runBenchmark, Ht as McpSpawnFault, I as strategyAuthorContract, It as renderLeaderboardHtml, J as builtinShapes, Jt as mcpSecretEnvMetadataKey, K as definePersona, Kt as sanitizeMcpToolSchema, L as strategyAuthorSystemPrompt, Lt as renderLeaderboardMarkdown, M as runStrategyEvolution, Mt as sentinelCompletion, N as strategyTournament, Nt as stopSentinel, O as unsafeInProcessRunner, Ot as readDeclaredCheck, P as assertStrategyContract, Pt as leaderboard, Q as InMemoryCorpus, Qt as createTangleSandboxExactProcessProvider, R as SandboxRunAbortError, Rt as renderLeaderboardSvg, S as withUntrackedArtifacts, St as superviseDispatch, T as patchDelivered, Tt as declaredCheckDeliverable, U as createPrivateCasArtifactPort, Ut as connectStdioMcp, V as printBenchmarkReport, Vt as openSqlRunStore, W as equalKOnCost, Wt as materializeLocalMcp, X as registerShape, Xt as resolveSecretEnv, Y as createShapeRegistry, Yt as resolveMcpServerLaunch, Z as FileCorpus, Zt as secretEnvOfMcpServer, _ as VERIFY_TAIL_CHARS, _t as resolveSandboxClient, a as localShell, at as selectValidWinner, b as settledWorkerOut, bt as loopCampaignDispatch, c as createVerifierEnvironment, ct as assertTraceDerivedFindings, d as harvestSurfaceDiffs, dt as registryScopeAnalyst, et as fanout, f as analystsFromRegistry, ft as observationFromRegistry, g as NOTE_MAX_CHARS, gt as defineLeaderboard, h as EVIDENCE_MAX_CHARS, ht as harvestCorpus, i as jjWorkspace, it as pipeline, j as createChatSessionStore, jt as deterministicCompletion, k as chatTransportExecutor, kt as runIsolatedCheck, l as boxSurfaceReader, lt as buildSteerContext, m as worktreeFanout, mt as HarvestError, n as makeFinding, nt as loopUntil, o as runInWorkspace, ot as verify, p as failuresAnalyst, pt as inProcessSandboxClient, q as runPersonified, qt as envKeyProvider, r as gitWorkspace, rt as panel, s as createWaterfallCollector, st as widen, t as computeFindingId, tt as flatWidenGate, u as fsSurfaceReader, ut as createScopeAnalyst, v as closingWorkerNote, vt as localSandboxClient, w as createFencedSqlRunContext, wt as checkProgramDigest, x as copyUntrackedIntoClone, xt as loopDispatch, y as composeWorkerEvidence, yt as inlineSandboxClient, z as openSandboxRun, zt as renderPairwiseMarkdown } from "./runtime-DRrpUP7n.js";
7
+ import { B as defaultToolDetectors, C as createInMemoryRunContext, I as normalizeAnalyzeOnSettle, S as createFileRunContext, T as FileCoordinationLog, V as watchTrace, _ as anytimeReport, a as DEFAULT_DEADLINE_WARNING_MS, b as plateauLength, d as anyOf, f as createProgressTracker, g as sampleFromSettled, i as finalizeBestDelivered, j as canonicalFindingEvent, l as allOf, m as plateau, p as noProgressFor, u as allWorkersStalled, v as areaUnderCurve, w as withRunContext, x as renderAnytimeTable, y as bestSoFar, z as createEventBus } from "./coordination-driver-Cp2z1zz6.js";
8
+ import { b as createSupervisorSpanRecorder, c as resolveWorkerSpawnRetry, d as assertCoordinationBinding, f as resolveSupervisorProfile, l as retryPreSpawnRefusals, o as workerFromBackend, p as supervisorAgent, r as supervise, s as isPreSpawnExecutorFailure, t as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, u as withWorkerSpawnRetry, v as UNPROVEN_CONTINUITY, x as serveCoordinationMcp, y as composeReentryTask } from "./supervise-CGMzXi_j.js";
9
9
  import { C as workerInboxFileFromEventDir, D as workerSteerRequestsDir, E as workerSteerRequestFile, O as workerSteersDir, S as workerInboxFile, T as workerSteerAcknowledgementsDir, _ as supervisorWorkersDir, a as legacySupervisorRunsRoot, b as workerCancellationsDir, c as readWorkerCancelRequests, d as readWorkerSteerRequests, f as runCancelRequestFile, g as supervisorRunsRoot, h as supervisorRunDir, i as legacySupervisorRunDir, j as writeWorkerSteer, l as readWorkerCancellation, m as safeWorkerFile, n as cancelWorker, o as readRunCancelRequest, p as runCancellationFile, s as readRunCancellation, t as cancelRun, u as readWorkerSteerAcknowledgement, v as workerCancelRequestsFile, w as workerSteerAcknowledgementFile, x as workerControlLogFile, y as workerCancellationFile } from "./run-layout-DSCWdbX2.js";
10
- import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-CfKlAMTb.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-05Ddb4_L.js";
12
- import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-BNVGyp1P.js";
10
+ import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-BahNK2L0.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-DPkyIx3C.js";
12
+ import { a as analyzesFindingsReportPrompt, c as dumbContinuationFailPrompt, d as kernelPromptRegistry, f as naiveContinuationPrompt, l as dumbContinuationPassPrompt, n as defaultEdgeTraversalCap, o as createPromptRegistry, p as promptHandle, r as runGraph, s as delegatesWorkerBriefPrompt, t as GraphEdgeCapError, u as formatPromptHandle } from "./graph-DP0X2bVC.js";
13
13
  export { AUTHORITY_MARKERS, BudgetReconcileFault, CONTINUATION_FACTS, CheckUnavailableError, DEADLINE_CHECK_IN_MESSAGE, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_CHECK_IN_IDLE_MS, DEFAULT_DEADLINE_WARNING_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DriverAttemptsExhaustedError, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, ReservationWaitRefused, SUBTREE_RESULT_LIMIT, SandboxEvidenceRetentionError, SandboxRunAbortError, SqlRunOwnershipError, TERMINAL_DECISIONS, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, WORKER_TOOL_TRACE_SCHEMA_VERSION, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileModelsAllowed, assertSandboxServedModel, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureBeforeDestroy, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, codeModeSupervisorTools, collectAgentTurn, collectDelivered, compareCheckOutcomes, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, loadSpawnForest, localSandboxClient, localShell, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestDelivered, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRichnessFinding, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, trajectoryReport, unsafeInProcessRunner, upstreamUnavailableSignal, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
@@ -1,6 +1,6 @@
1
- import { Pt as createExecutorRegistry } from "./supervisor-WYRLsCp1.js";
1
+ import { Pt as createExecutorRegistry } from "./supervisor-DgcmBicU.js";
2
2
  import { i as ConfigError } from "./errors-DodWX-cb.js";
3
- import { K as definePersona, m as worktreeFanout, q as runPersonified } from "./runtime-DsnHqwNx.js";
3
+ import { K as definePersona, m as worktreeFanout, q as runPersonified } from "./runtime-DRrpUP7n.js";
4
4
  import { t as runAnalystLoop } from "./analyst-loop-DZw5QWT9.js";
5
5
  import { t as createKbGate } from "./kb-gate-DpaSwXVx.js";
6
6
  //#region src/loop-runner.ts
@@ -243,4 +243,4 @@ if (invokedScript && /loop-runner-bin\.(js|ts|mjs)$/.test(invokedScript)) main()
243
243
  //#endregion
244
244
  export { isDelegatedLoopMode as a, worktreeLoopRunner as c, auditLoopRunner as i, runLoopRunnerCli as n, researchLoopRunner as o, DELEGATED_LOOP_MODES as r, runDelegatedLoop as s, parseLoopRunnerArgv as t };
245
245
 
246
- //# sourceMappingURL=loop-runner-bin-Beh7PECB.js.map
246
+ //# sourceMappingURL=loop-runner-bin-Cn7244xv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loop-runner-bin-Beh7PECB.js","names":[],"sources":["../src/loop-runner.ts","../src/loop-runner-bin.ts"],"sourcesContent":["/**\n *\n * `runDelegatedLoop` — the configured delegated loop-runner.\n *\n * One typed entrypoint a worker agent (or a scheduled routine) calls to run a\n * disciplined loop in a chosen MODE, over agent-runtime's hardened engines:\n *\n * code → build-in-a-loop on the GENERIC recursive path (worktreeLoopRunner: author one\n * `AgentProfile` per harness → worktree-CLI leaves → `patchDelivered` gate)\n * review → caller-registered runner — a `code` runner with an approval gate over candidates\n * research → research-in-a-loop with valid-only KB growth (createKbGate)\n * audit → analyze trace/run data → findings (runAnalystLoop, caller-wired)\n * self-improve → caller-registered `improve(profile, options)` run\n *\n * It is intentionally a thin façade: the value is that EVERY product reuses the\n * one hardened engine instead of forking delegation logic. The dispatcher owns\n * mode routing, timing, fail-loud on an unregistered mode, and a uniform result\n * shape; each mode's engine is a pre-configured runner in the registry (build it\n * with the factories below, or inject your own / a stub).\n *\n * @experimental\n */\n\nimport type { AgentProfile } from '@tangle-network/agent-interface'\nimport { runAnalystLoop } from './analyst-loop'\nimport type { RunAnalystLoopOpts, RunAnalystLoopResult } from './analyst-loop/types'\nimport { ConfigError } from './errors'\nimport { type CreateKbGateOptions, createKbGate, type FactCandidate } from './mcp/kb-gate'\nimport {\n type AuthoredHarness,\n type Budget,\n createExecutorRegistry,\n definePersona,\n runPersonified,\n type WinnerStrategy,\n type WorktreeFanoutOptions,\n type WorktreePatchArtifact,\n worktreeFanout,\n} from './runtime'\n\n/** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */\nexport const DELEGATED_LOOP_MODES = ['code', 'review', 'research', 'audit', 'self-improve'] as const\n\n/** @experimental */\nexport type DelegatedLoopMode = (typeof DELEGATED_LOOP_MODES)[number]\n\n/** Type guard — returns true when `value` is a valid `DelegatedLoopMode` string. @experimental */\nexport function isDelegatedLoopMode(value: unknown): value is DelegatedLoopMode {\n return typeof value === 'string' && (DELEGATED_LOOP_MODES as readonly string[]).includes(value)\n}\n\n/** @experimental A pre-configured loop for one mode. Returns the mode's raw\n * output; the dispatcher wraps it in a {@link DelegatedLoopResult}. */\nexport type DelegatedLoopRunner<T = unknown> = (signal: AbortSignal) => Promise<T>\n\n/** @experimental Mode → configured runner. Partial: only register the modes a\n * given product/routine actually uses. */\nexport type DelegatedLoopRegistry = Partial<Record<DelegatedLoopMode, DelegatedLoopRunner>>\n\n/** @experimental Uniform result — never throws from a registered runner; a\n * thrown engine becomes `{ ok: false, error }` so a routine can record + move on. */\nexport interface DelegatedLoopResult<T = unknown> {\n mode: DelegatedLoopMode\n ok: boolean\n output?: T\n error?: string\n durationMs: number\n}\n\n/** @experimental */\nexport interface RunDelegatedLoopOptions {\n signal?: AbortSignal\n /** Clock override for deterministic tests. */\n now?: () => number\n}\n\n/**\n *\n * Dispatch a configured loop by mode. Fails loud (throws `ConfigError`) when no\n * runner is registered for the mode — a routine pointed at an unwired mode is a\n * config bug, not a silent no-op. A runner that throws is captured as\n * `{ ok: false }` so unattended runs record the failure rather than crash.\n *\n * @experimental\n */\nexport async function runDelegatedLoop<T = unknown>(\n mode: DelegatedLoopMode,\n registry: DelegatedLoopRegistry,\n options: RunDelegatedLoopOptions = {},\n): Promise<DelegatedLoopResult<T>> {\n const runner = registry[mode] as DelegatedLoopRunner<T> | undefined\n if (!runner) {\n throw new ConfigError(\n `runDelegatedLoop: no runner registered for mode '${mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n )\n }\n const now = options.now ?? Date.now\n const signal = options.signal ?? new AbortController().signal\n const start = now()\n try {\n const output = await runner(signal)\n return { mode, ok: true, output, durationMs: now() - start }\n } catch (err) {\n return {\n mode,\n ok: false,\n error: err instanceof Error ? err.message : String(err),\n durationMs: now() - start,\n }\n }\n}\n\n/** @experimental Options for the local-repo `code` runner over the GENERIC recursive path. */\nexport interface WorktreeLoopRunnerOptions {\n /** Exact profile carried by the personified root that owns this fanout. */\n rootProfile: AgentProfile\n /** Absolute path to the local git checkout each worktree is cut from. */\n repoRoot: string\n /** The instruction handed to every authored harness (composed under each profile's systemPrompt). */\n taskPrompt: string\n /** The supervisor-authored harness profiles — one fanout item (one worktree-CLI leaf) each. */\n harnesses: ReadonlyArray<AuthoredHarness>\n /** Conserved budget pool bounding the fanout (equal-k holds by construction). */\n budget: Budget\n /** Shell command run in each worktree to derive the tests-PASS signal. */\n testCmd?: string\n /** Shell command run in each worktree to derive the typecheck-PASS signal. */\n typecheckCmd?: string\n /** Which verification signals the deliverable REQUIRES present-and-passing (default none). */\n require?: ReadonlyArray<'tests' | 'typecheck'>\n /** Diff-size cap (lines). */\n maxDiffLines?: number\n /** Literal path prefixes the patch must not touch (the secret-floor is always on regardless). */\n forbiddenPaths?: string[]\n /** Winner-selection strategy among gated candidates. Default `highest-score`. */\n winnerStrategy?: WinnerStrategy\n /** Test seams forwarded to the worktree-CLI leaves so the runner drives offline. */\n runGit?: WorktreeFanoutOptions['runGit']\n runHarness?: WorktreeFanoutOptions['runHarness']\n runCommand?: WorktreeFanoutOptions['runCommand']\n}\n\n/**\n *\n * `code` mode on the GENERIC recursive path: author one `AgentProfile` per harness, run them as a\n * `worktreeFanout` (N `createWorktreeCliExecutor` leaves, each `gateOnDeliverable`) through\n * `runPersonified` on the keystone Supervisor. The sandbox-session counterpart that drives the in-box\n * harness over a `SandboxClient` is `detachedSessionDelegate` (`./mcp/delegates`); here there is no\n * `runAgentRounds` driver, no role-coupled delegate — the harness list is the fanout, the gate is\n * `patchDelivered`,\n * the winner is the shared valid-only selector (NOT `defaultSelectWinner`, whose non-valid fallback\n * would surface an ungated patch). Equal-k holds by the conserved budget pool. Returns the winning\n * patch artifact, or throws when no candidate is delivered (fail loud, never a vacuous done).\n *\n * @experimental\n */\nexport function worktreeLoopRunner(\n options: WorktreeLoopRunnerOptions,\n): DelegatedLoopRunner<WorktreePatchArtifact> {\n const shape = worktreeFanout<string>({\n repoRoot: options.repoRoot,\n taskPrompt: options.taskPrompt,\n harnesses: options.harnesses,\n ...(options.testCmd !== undefined ? { testCmd: options.testCmd } : {}),\n ...(options.typecheckCmd !== undefined ? { typecheckCmd: options.typecheckCmd } : {}),\n ...(options.require !== undefined ? { require: options.require } : {}),\n ...(options.maxDiffLines !== undefined ? { maxDiffLines: options.maxDiffLines } : {}),\n ...(options.forbiddenPaths !== undefined ? { forbiddenPaths: options.forbiddenPaths } : {}),\n ...(options.winnerStrategy !== undefined ? { winnerStrategy: options.winnerStrategy } : {}),\n ...(options.runGit ? { runGit: options.runGit } : {}),\n ...(options.runHarness ? { runHarness: options.runHarness } : {}),\n ...(options.runCommand ? { runCommand: options.runCommand } : {}),\n })\n // The persona's only role here is to carry the fanout shape onto the Supervisor; each item's\n // executor is BYO (the gated worktree-CLI leaf), so the registry only needs to pass BYO through.\n const persona = definePersona<WorktreePatchArtifact>({\n name: 'worktree-coder',\n root: { profile: options.rootProfile, harness: null },\n directive: 'deliver a minimal validated patch on a fresh worktree',\n context: { role: 'coder' },\n executors: { registry: createExecutorRegistry() },\n })\n return async (signal) => {\n const result = await runPersonified<string, WorktreePatchArtifact>({\n persona,\n shape,\n task: options.taskPrompt,\n budget: options.budget,\n signal,\n })\n if (result.kind !== 'winner' || result.out.kind !== 'done') {\n const blockers =\n result.kind === 'winner' && result.out.kind === 'blocked'\n ? result.out.blockers.join('; ')\n : `supervisor settled ${result.kind}`\n throw new Error(`worktreeLoopRunner: no delivered patch (${blockers})`)\n }\n return result.out.deliverable\n }\n}\n\n/** @experimental A fact rejected at the KB gate — surfaced, never dropped. */\nexport interface VetoedFact {\n candidate: FactCandidate\n vetoedBy?: string\n reason?: string\n}\n\n/** @experimental */\nexport interface ResearchLoopResult {\n /** Facts that passed the fail-closed gate — safe to write to the KB. */\n accepted: FactCandidate[]\n /** Facts the gate vetoed in the final round — escalate, do not silently drop. */\n vetoed: VetoedFact[]\n /** Research rounds actually run. */\n rounds: number\n}\n\n/** @experimental Options for the default `research` runner. */\nexport interface ResearchLoopRunnerOptions {\n /**\n * The research engine (the consumer's web/doc searcher + extractor). Called\n * each round with the prior round's vetoes so it can re-research the gaps.\n * Returns fact candidates carrying their grounding (`verbatimPassage` +\n * `sourceText`).\n */\n research: (round: number, vetoed: VetoedFact[]) => Promise<FactCandidate[]>\n /** Gate config (extra judges, self-artifact kinds, …). The floor is always on. */\n gate?: CreateKbGateOptions\n /** Max research rounds (correct-on-veto remediation). Default 1. */\n maxRounds?: number\n}\n\n/**\n * `research` mode — research-in-a-loop with valid-only KB growth.\n *\n * Each round: research → gate every candidate (fail-closed; passage MUST be in\n * the source) → accept the clean ones → re-research the vetoed ones next round,\n * up to `maxRounds`. Vetoed facts in the final round are RETURNED (escalate,\n * never silently dropped) so the caller audits vs retries.\n *\n * @experimental\n */\nexport function researchLoopRunner(\n o: ResearchLoopRunnerOptions,\n): DelegatedLoopRunner<ResearchLoopResult> {\n const gate = createKbGate(o.gate)\n const maxRounds = Math.max(1, Math.trunc(o.maxRounds ?? 1))\n return async (signal) => {\n const accepted: FactCandidate[] = []\n let vetoed: VetoedFact[] = []\n let rounds = 0\n for (let round = 0; round < maxRounds; round += 1) {\n if (signal.aborted) break\n rounds += 1\n const candidates = await o.research(round, vetoed)\n if (candidates.length === 0) break\n vetoed = []\n for (const c of candidates) {\n const v = await gate(c)\n if (v.accepted) accepted.push(c)\n else vetoed.push({ candidate: c, vetoedBy: v.vetoedBy, reason: v.reason })\n }\n if (vetoed.length === 0) break\n }\n return { accepted, vetoed, rounds }\n }\n}\n\n/**\n * `audit` mode — analyst loop over captured trace/run data.\n *\n * @experimental\n */\nexport function auditLoopRunner<TProposal = unknown, TEdit = unknown>(\n options: RunAnalystLoopOpts,\n): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>> {\n return async () => runAnalystLoop<TProposal, TEdit>(options)\n}\n","#!/usr/bin/env node\n/**\n *\n * `agent-runtime-loop` — the schedulable entrypoint for the configured\n * delegated loop-runner. A cron job / routine / Makefile target invokes:\n *\n * agent-runtime-loop --mode research --config ./loops.config.js\n *\n * The config module wires the registry (with full access to env / creds —\n * which is why the deps live there, not in this generic bin). It must default-\n * export a `DelegatedLoopRegistry`, or a `() => DelegatedLoopRegistry | Promise<…>`.\n * The bin runs the selected mode, prints the `DelegatedLoopResult` as JSON, and\n * exits 0 on `ok`, 1 on a recorded failure, 2 on a usage/config error.\n *\n * @experimental\n */\n\nimport {\n DELEGATED_LOOP_MODES,\n type DelegatedLoopMode,\n type DelegatedLoopRegistry,\n type DelegatedLoopResult,\n isDelegatedLoopMode,\n runDelegatedLoop,\n} from './loop-runner'\n\n/** @experimental Parsed CLI invocation. */\nexport interface LoopRunnerCliArgs {\n mode: string\n /** Loads the registry — the bin wires this from `--config`; tests inject a stub. */\n loadRegistry: () => Promise<DelegatedLoopRegistry> | DelegatedLoopRegistry\n now?: () => number\n}\n\n/** @experimental */\nexport interface LoopRunnerCliResult {\n exitCode: number\n result?: DelegatedLoopResult\n error?: string\n}\n\n/**\n *\n * Pure CLI core (no process / argv / IO) so it's unit-testable: validate the\n * mode, load the registry, dispatch, map to an exit code (0 ok / 1 failed /\n * 2 usage). Exported for embedding in custom runners + tests.\n *\n * @experimental\n */\nexport async function runLoopRunnerCli(args: LoopRunnerCliArgs): Promise<LoopRunnerCliResult> {\n if (!isDelegatedLoopMode(args.mode)) {\n return {\n exitCode: 2,\n error: `unknown mode '${args.mode}' (expected one of: ${DELEGATED_LOOP_MODES.join(', ')})`,\n }\n }\n let registry: DelegatedLoopRegistry\n try {\n registry = await args.loadRegistry()\n } catch (err) {\n return { exitCode: 2, error: `failed to load registry: ${errMsg(err)}` }\n }\n if (!registry[args.mode]) {\n return {\n exitCode: 2,\n error: `config registers no runner for mode '${args.mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n }\n }\n // runDelegatedLoop throws only on a missing runner (guarded above); a failing\n // engine is captured as { ok: false } → exit 1, not a crash.\n const result = await runDelegatedLoop(args.mode as DelegatedLoopMode, registry, {\n ...(args.now ? { now: args.now } : {}),\n })\n return { exitCode: result.ok ? 0 : 1, result }\n}\n\n/** Parse `--mode X --config Y` from an argv tail (`process.argv.slice(2)`). */\nexport function parseLoopRunnerArgv(argv: string[]): { mode?: string; config?: string } {\n const out: { mode?: string; config?: string } = {}\n for (let i = 0; i < argv.length; i += 1) {\n const a = argv[i]\n if (a === '--mode') out.mode = argv[++i]\n else if (a === '--config') out.config = argv[++i]\n else if (a?.startsWith('--mode=')) out.mode = a.slice('--mode='.length)\n else if (a?.startsWith('--config=')) out.config = a.slice('--config='.length)\n }\n return out\n}\n\n/** Normalize a config module's default export → a registry. */\nfunction resolveRegistry(mod: unknown): DelegatedLoopRegistry {\n const def = (mod as { default?: unknown })?.default ?? mod\n const value = typeof def === 'function' ? (def as () => unknown)() : def\n return value as DelegatedLoopRegistry\n}\n\nfunction errMsg(err: unknown): string {\n return err instanceof Error ? err.message : String(err)\n}\n\n/** The argv → IO → exit shell. Kept thin; logic lives in `runLoopRunnerCli`. */\nasync function main(): Promise<void> {\n const { mode, config } = parseLoopRunnerArgv(process.argv.slice(2))\n if (!mode || !config) {\n process.stderr.write(\n 'usage: agent-runtime-loop --mode <mode> --config <module>\\n' +\n ` modes: ${DELEGATED_LOOP_MODES.join(' | ')}\\n` +\n ' config: a JS/TS module default-exporting a DelegatedLoopRegistry (or a factory)\\n',\n )\n process.exit(2)\n }\n const { pathToFileURL } = await import('node:url')\n const { resolve } = await import('node:path')\n const cli = await runLoopRunnerCli({\n mode,\n loadRegistry: async () => resolveRegistry(await import(pathToFileURL(resolve(config)).href)),\n })\n process.stdout.write(`${JSON.stringify(cli.result ?? { error: cli.error }, null, 2)}\\n`)\n if (cli.error) process.stderr.write(`${cli.error}\\n`)\n process.exit(cli.exitCode)\n}\n\n// Run only when executed as the bin — never when imported for the testable\n// core, and never when bundled into a runtime that has no `process.argv`\n// (e.g. Cloudflare Workers, where `process` is a shim without `argv`). Reading\n// `process.argv[1]` directly would throw at module load there; `process.argv?.`\n// keeps the guard a no-op instead of crashing the Worker on startup.\nconst invokedScript = typeof process !== 'undefined' ? process.argv?.[1] : undefined\nif (invokedScript && /loop-runner-bin\\.(js|ts|mjs)$/.test(invokedScript)) {\n void main()\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"loop-runner-bin-Cn7244xv.js","names":[],"sources":["../src/loop-runner.ts","../src/loop-runner-bin.ts"],"sourcesContent":["/**\n *\n * `runDelegatedLoop` — the configured delegated loop-runner.\n *\n * One typed entrypoint a worker agent (or a scheduled routine) calls to run a\n * disciplined loop in a chosen MODE, over agent-runtime's hardened engines:\n *\n * code → build-in-a-loop on the GENERIC recursive path (worktreeLoopRunner: author one\n * `AgentProfile` per harness → worktree-CLI leaves → `patchDelivered` gate)\n * review → caller-registered runner — a `code` runner with an approval gate over candidates\n * research → research-in-a-loop with valid-only KB growth (createKbGate)\n * audit → analyze trace/run data → findings (runAnalystLoop, caller-wired)\n * self-improve → caller-registered `improve(profile, options)` run\n *\n * It is intentionally a thin façade: the value is that EVERY product reuses the\n * one hardened engine instead of forking delegation logic. The dispatcher owns\n * mode routing, timing, fail-loud on an unregistered mode, and a uniform result\n * shape; each mode's engine is a pre-configured runner in the registry (build it\n * with the factories below, or inject your own / a stub).\n *\n * @experimental\n */\n\nimport type { AgentProfile } from '@tangle-network/agent-interface'\nimport { runAnalystLoop } from './analyst-loop'\nimport type { RunAnalystLoopOpts, RunAnalystLoopResult } from './analyst-loop/types'\nimport { ConfigError } from './errors'\nimport { type CreateKbGateOptions, createKbGate, type FactCandidate } from './mcp/kb-gate'\nimport {\n type AuthoredHarness,\n type Budget,\n createExecutorRegistry,\n definePersona,\n runPersonified,\n type WinnerStrategy,\n type WorktreeFanoutOptions,\n type WorktreePatchArtifact,\n worktreeFanout,\n} from './runtime'\n\n/** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */\nexport const DELEGATED_LOOP_MODES = ['code', 'review', 'research', 'audit', 'self-improve'] as const\n\n/** @experimental */\nexport type DelegatedLoopMode = (typeof DELEGATED_LOOP_MODES)[number]\n\n/** Type guard — returns true when `value` is a valid `DelegatedLoopMode` string. @experimental */\nexport function isDelegatedLoopMode(value: unknown): value is DelegatedLoopMode {\n return typeof value === 'string' && (DELEGATED_LOOP_MODES as readonly string[]).includes(value)\n}\n\n/** @experimental A pre-configured loop for one mode. Returns the mode's raw\n * output; the dispatcher wraps it in a {@link DelegatedLoopResult}. */\nexport type DelegatedLoopRunner<T = unknown> = (signal: AbortSignal) => Promise<T>\n\n/** @experimental Mode → configured runner. Partial: only register the modes a\n * given product/routine actually uses. */\nexport type DelegatedLoopRegistry = Partial<Record<DelegatedLoopMode, DelegatedLoopRunner>>\n\n/** @experimental Uniform result — never throws from a registered runner; a\n * thrown engine becomes `{ ok: false, error }` so a routine can record + move on. */\nexport interface DelegatedLoopResult<T = unknown> {\n mode: DelegatedLoopMode\n ok: boolean\n output?: T\n error?: string\n durationMs: number\n}\n\n/** @experimental */\nexport interface RunDelegatedLoopOptions {\n signal?: AbortSignal\n /** Clock override for deterministic tests. */\n now?: () => number\n}\n\n/**\n *\n * Dispatch a configured loop by mode. Fails loud (throws `ConfigError`) when no\n * runner is registered for the mode — a routine pointed at an unwired mode is a\n * config bug, not a silent no-op. A runner that throws is captured as\n * `{ ok: false }` so unattended runs record the failure rather than crash.\n *\n * @experimental\n */\nexport async function runDelegatedLoop<T = unknown>(\n mode: DelegatedLoopMode,\n registry: DelegatedLoopRegistry,\n options: RunDelegatedLoopOptions = {},\n): Promise<DelegatedLoopResult<T>> {\n const runner = registry[mode] as DelegatedLoopRunner<T> | undefined\n if (!runner) {\n throw new ConfigError(\n `runDelegatedLoop: no runner registered for mode '${mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n )\n }\n const now = options.now ?? Date.now\n const signal = options.signal ?? new AbortController().signal\n const start = now()\n try {\n const output = await runner(signal)\n return { mode, ok: true, output, durationMs: now() - start }\n } catch (err) {\n return {\n mode,\n ok: false,\n error: err instanceof Error ? err.message : String(err),\n durationMs: now() - start,\n }\n }\n}\n\n/** @experimental Options for the local-repo `code` runner over the GENERIC recursive path. */\nexport interface WorktreeLoopRunnerOptions {\n /** Exact profile carried by the personified root that owns this fanout. */\n rootProfile: AgentProfile\n /** Absolute path to the local git checkout each worktree is cut from. */\n repoRoot: string\n /** The instruction handed to every authored harness (composed under each profile's systemPrompt). */\n taskPrompt: string\n /** The supervisor-authored harness profiles — one fanout item (one worktree-CLI leaf) each. */\n harnesses: ReadonlyArray<AuthoredHarness>\n /** Conserved budget pool bounding the fanout (equal-k holds by construction). */\n budget: Budget\n /** Shell command run in each worktree to derive the tests-PASS signal. */\n testCmd?: string\n /** Shell command run in each worktree to derive the typecheck-PASS signal. */\n typecheckCmd?: string\n /** Which verification signals the deliverable REQUIRES present-and-passing (default none). */\n require?: ReadonlyArray<'tests' | 'typecheck'>\n /** Diff-size cap (lines). */\n maxDiffLines?: number\n /** Literal path prefixes the patch must not touch (the secret-floor is always on regardless). */\n forbiddenPaths?: string[]\n /** Winner-selection strategy among gated candidates. Default `highest-score`. */\n winnerStrategy?: WinnerStrategy\n /** Test seams forwarded to the worktree-CLI leaves so the runner drives offline. */\n runGit?: WorktreeFanoutOptions['runGit']\n runHarness?: WorktreeFanoutOptions['runHarness']\n runCommand?: WorktreeFanoutOptions['runCommand']\n}\n\n/**\n *\n * `code` mode on the GENERIC recursive path: author one `AgentProfile` per harness, run them as a\n * `worktreeFanout` (N `createWorktreeCliExecutor` leaves, each `gateOnDeliverable`) through\n * `runPersonified` on the keystone Supervisor. The sandbox-session counterpart that drives the in-box\n * harness over a `SandboxClient` is `detachedSessionDelegate` (`./mcp/delegates`); here there is no\n * `runAgentRounds` driver, no role-coupled delegate — the harness list is the fanout, the gate is\n * `patchDelivered`,\n * the winner is the shared valid-only selector (NOT `defaultSelectWinner`, whose non-valid fallback\n * would surface an ungated patch). Equal-k holds by the conserved budget pool. Returns the winning\n * patch artifact, or throws when no candidate is delivered (fail loud, never a vacuous done).\n *\n * @experimental\n */\nexport function worktreeLoopRunner(\n options: WorktreeLoopRunnerOptions,\n): DelegatedLoopRunner<WorktreePatchArtifact> {\n const shape = worktreeFanout<string>({\n repoRoot: options.repoRoot,\n taskPrompt: options.taskPrompt,\n harnesses: options.harnesses,\n ...(options.testCmd !== undefined ? { testCmd: options.testCmd } : {}),\n ...(options.typecheckCmd !== undefined ? { typecheckCmd: options.typecheckCmd } : {}),\n ...(options.require !== undefined ? { require: options.require } : {}),\n ...(options.maxDiffLines !== undefined ? { maxDiffLines: options.maxDiffLines } : {}),\n ...(options.forbiddenPaths !== undefined ? { forbiddenPaths: options.forbiddenPaths } : {}),\n ...(options.winnerStrategy !== undefined ? { winnerStrategy: options.winnerStrategy } : {}),\n ...(options.runGit ? { runGit: options.runGit } : {}),\n ...(options.runHarness ? { runHarness: options.runHarness } : {}),\n ...(options.runCommand ? { runCommand: options.runCommand } : {}),\n })\n // The persona's only role here is to carry the fanout shape onto the Supervisor; each item's\n // executor is BYO (the gated worktree-CLI leaf), so the registry only needs to pass BYO through.\n const persona = definePersona<WorktreePatchArtifact>({\n name: 'worktree-coder',\n root: { profile: options.rootProfile, harness: null },\n directive: 'deliver a minimal validated patch on a fresh worktree',\n context: { role: 'coder' },\n executors: { registry: createExecutorRegistry() },\n })\n return async (signal) => {\n const result = await runPersonified<string, WorktreePatchArtifact>({\n persona,\n shape,\n task: options.taskPrompt,\n budget: options.budget,\n signal,\n })\n if (result.kind !== 'winner' || result.out.kind !== 'done') {\n const blockers =\n result.kind === 'winner' && result.out.kind === 'blocked'\n ? result.out.blockers.join('; ')\n : `supervisor settled ${result.kind}`\n throw new Error(`worktreeLoopRunner: no delivered patch (${blockers})`)\n }\n return result.out.deliverable\n }\n}\n\n/** @experimental A fact rejected at the KB gate — surfaced, never dropped. */\nexport interface VetoedFact {\n candidate: FactCandidate\n vetoedBy?: string\n reason?: string\n}\n\n/** @experimental */\nexport interface ResearchLoopResult {\n /** Facts that passed the fail-closed gate — safe to write to the KB. */\n accepted: FactCandidate[]\n /** Facts the gate vetoed in the final round — escalate, do not silently drop. */\n vetoed: VetoedFact[]\n /** Research rounds actually run. */\n rounds: number\n}\n\n/** @experimental Options for the default `research` runner. */\nexport interface ResearchLoopRunnerOptions {\n /**\n * The research engine (the consumer's web/doc searcher + extractor). Called\n * each round with the prior round's vetoes so it can re-research the gaps.\n * Returns fact candidates carrying their grounding (`verbatimPassage` +\n * `sourceText`).\n */\n research: (round: number, vetoed: VetoedFact[]) => Promise<FactCandidate[]>\n /** Gate config (extra judges, self-artifact kinds, …). The floor is always on. */\n gate?: CreateKbGateOptions\n /** Max research rounds (correct-on-veto remediation). Default 1. */\n maxRounds?: number\n}\n\n/**\n * `research` mode — research-in-a-loop with valid-only KB growth.\n *\n * Each round: research → gate every candidate (fail-closed; passage MUST be in\n * the source) → accept the clean ones → re-research the vetoed ones next round,\n * up to `maxRounds`. Vetoed facts in the final round are RETURNED (escalate,\n * never silently dropped) so the caller audits vs retries.\n *\n * @experimental\n */\nexport function researchLoopRunner(\n o: ResearchLoopRunnerOptions,\n): DelegatedLoopRunner<ResearchLoopResult> {\n const gate = createKbGate(o.gate)\n const maxRounds = Math.max(1, Math.trunc(o.maxRounds ?? 1))\n return async (signal) => {\n const accepted: FactCandidate[] = []\n let vetoed: VetoedFact[] = []\n let rounds = 0\n for (let round = 0; round < maxRounds; round += 1) {\n if (signal.aborted) break\n rounds += 1\n const candidates = await o.research(round, vetoed)\n if (candidates.length === 0) break\n vetoed = []\n for (const c of candidates) {\n const v = await gate(c)\n if (v.accepted) accepted.push(c)\n else vetoed.push({ candidate: c, vetoedBy: v.vetoedBy, reason: v.reason })\n }\n if (vetoed.length === 0) break\n }\n return { accepted, vetoed, rounds }\n }\n}\n\n/**\n * `audit` mode — analyst loop over captured trace/run data.\n *\n * @experimental\n */\nexport function auditLoopRunner<TProposal = unknown, TEdit = unknown>(\n options: RunAnalystLoopOpts,\n): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>> {\n return async () => runAnalystLoop<TProposal, TEdit>(options)\n}\n","#!/usr/bin/env node\n/**\n *\n * `agent-runtime-loop` — the schedulable entrypoint for the configured\n * delegated loop-runner. A cron job / routine / Makefile target invokes:\n *\n * agent-runtime-loop --mode research --config ./loops.config.js\n *\n * The config module wires the registry (with full access to env / creds —\n * which is why the deps live there, not in this generic bin). It must default-\n * export a `DelegatedLoopRegistry`, or a `() => DelegatedLoopRegistry | Promise<…>`.\n * The bin runs the selected mode, prints the `DelegatedLoopResult` as JSON, and\n * exits 0 on `ok`, 1 on a recorded failure, 2 on a usage/config error.\n *\n * @experimental\n */\n\nimport {\n DELEGATED_LOOP_MODES,\n type DelegatedLoopMode,\n type DelegatedLoopRegistry,\n type DelegatedLoopResult,\n isDelegatedLoopMode,\n runDelegatedLoop,\n} from './loop-runner'\n\n/** @experimental Parsed CLI invocation. */\nexport interface LoopRunnerCliArgs {\n mode: string\n /** Loads the registry — the bin wires this from `--config`; tests inject a stub. */\n loadRegistry: () => Promise<DelegatedLoopRegistry> | DelegatedLoopRegistry\n now?: () => number\n}\n\n/** @experimental */\nexport interface LoopRunnerCliResult {\n exitCode: number\n result?: DelegatedLoopResult\n error?: string\n}\n\n/**\n *\n * Pure CLI core (no process / argv / IO) so it's unit-testable: validate the\n * mode, load the registry, dispatch, map to an exit code (0 ok / 1 failed /\n * 2 usage). Exported for embedding in custom runners + tests.\n *\n * @experimental\n */\nexport async function runLoopRunnerCli(args: LoopRunnerCliArgs): Promise<LoopRunnerCliResult> {\n if (!isDelegatedLoopMode(args.mode)) {\n return {\n exitCode: 2,\n error: `unknown mode '${args.mode}' (expected one of: ${DELEGATED_LOOP_MODES.join(', ')})`,\n }\n }\n let registry: DelegatedLoopRegistry\n try {\n registry = await args.loadRegistry()\n } catch (err) {\n return { exitCode: 2, error: `failed to load registry: ${errMsg(err)}` }\n }\n if (!registry[args.mode]) {\n return {\n exitCode: 2,\n error: `config registers no runner for mode '${args.mode}' (registered: ${\n Object.keys(registry).join(', ') || 'none'\n })`,\n }\n }\n // runDelegatedLoop throws only on a missing runner (guarded above); a failing\n // engine is captured as { ok: false } → exit 1, not a crash.\n const result = await runDelegatedLoop(args.mode as DelegatedLoopMode, registry, {\n ...(args.now ? { now: args.now } : {}),\n })\n return { exitCode: result.ok ? 0 : 1, result }\n}\n\n/** Parse `--mode X --config Y` from an argv tail (`process.argv.slice(2)`). */\nexport function parseLoopRunnerArgv(argv: string[]): { mode?: string; config?: string } {\n const out: { mode?: string; config?: string } = {}\n for (let i = 0; i < argv.length; i += 1) {\n const a = argv[i]\n if (a === '--mode') out.mode = argv[++i]\n else if (a === '--config') out.config = argv[++i]\n else if (a?.startsWith('--mode=')) out.mode = a.slice('--mode='.length)\n else if (a?.startsWith('--config=')) out.config = a.slice('--config='.length)\n }\n return out\n}\n\n/** Normalize a config module's default export → a registry. */\nfunction resolveRegistry(mod: unknown): DelegatedLoopRegistry {\n const def = (mod as { default?: unknown })?.default ?? mod\n const value = typeof def === 'function' ? (def as () => unknown)() : def\n return value as DelegatedLoopRegistry\n}\n\nfunction errMsg(err: unknown): string {\n return err instanceof Error ? err.message : String(err)\n}\n\n/** The argv → IO → exit shell. Kept thin; logic lives in `runLoopRunnerCli`. */\nasync function main(): Promise<void> {\n const { mode, config } = parseLoopRunnerArgv(process.argv.slice(2))\n if (!mode || !config) {\n process.stderr.write(\n 'usage: agent-runtime-loop --mode <mode> --config <module>\\n' +\n ` modes: ${DELEGATED_LOOP_MODES.join(' | ')}\\n` +\n ' config: a JS/TS module default-exporting a DelegatedLoopRegistry (or a factory)\\n',\n )\n process.exit(2)\n }\n const { pathToFileURL } = await import('node:url')\n const { resolve } = await import('node:path')\n const cli = await runLoopRunnerCli({\n mode,\n loadRegistry: async () => resolveRegistry(await import(pathToFileURL(resolve(config)).href)),\n })\n process.stdout.write(`${JSON.stringify(cli.result ?? { error: cli.error }, null, 2)}\\n`)\n if (cli.error) process.stderr.write(`${cli.error}\\n`)\n process.exit(cli.exitCode)\n}\n\n// Run only when executed as the bin — never when imported for the testable\n// core, and never when bundled into a runtime that has no `process.argv`\n// (e.g. Cloudflare Workers, where `process` is a shim without `argv`). Reading\n// `process.argv[1]` directly would throw at module load there; `process.argv?.`\n// keeps the guard a no-op instead of crashing the Worker on startup.\nconst invokedScript = typeof process !== 'undefined' ? process.argv?.[1] : undefined\nif (invokedScript && /loop-runner-bin\\.(js|ts|mjs)$/.test(invokedScript)) {\n void main()\n}\n"],"mappings":"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"}
@@ -1,6 +1,5 @@
1
- import { i as Budget } from "./types-RlLmOHFR.js";
1
+ import { $o as WinnerStrategy, C as AuthoredHarness, St as WorktreePatchArtifact, Xd as Budget, w as WorktreeFanoutOptions } from "./index-BdIi1eIV.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { C as AuthoredHarness, Ko as WinnerStrategy, St as WorktreePatchArtifact, w as WorktreeFanoutOptions } from "./index-B0c5PmmO.js";
4
3
  import { n as FactCandidate, t as CreateKbGateOptions } from "./kb-gate-C8z2juK8.js";
5
4
  import { AgentProfile } from "@tangle-network/agent-interface";
6
5
  //#region src/loop-runner.d.ts
@@ -162,4 +161,4 @@ declare function parseLoopRunnerArgv(argv: string[]): {
162
161
  };
163
162
  //#endregion
164
163
  export { researchLoopRunner as _, DELEGATED_LOOP_MODES as a, DelegatedLoopResult as c, ResearchLoopRunnerOptions as d, RunDelegatedLoopOptions as f, isDelegatedLoopMode as g, auditLoopRunner as h, runLoopRunnerCli as i, DelegatedLoopRunner as l, WorktreeLoopRunnerOptions as m, LoopRunnerCliResult as n, DelegatedLoopMode as o, VetoedFact as p, parseLoopRunnerArgv as r, DelegatedLoopRegistry as s, LoopRunnerCliArgs as t, ResearchLoopResult as u, runDelegatedLoop as v, worktreeLoopRunner as y };
165
- //# sourceMappingURL=loop-runner-bin-drXESgaI.d.ts.map
164
+ //# sourceMappingURL=loop-runner-bin-CoKHGqxE.d.ts.map