@tangle-network/agent-runtime 0.349.0 → 0.352.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activation-wBipBkCf.d.ts → activation-BidzGkUQ.d.ts} +2 -24
- package/dist/{activation-tNGW73Y9.js → activation-C6zNC2kx.js} +12 -14
- package/dist/{activation-tNGW73Y9.js.map → activation-C6zNC2kx.js.map} +1 -1
- package/dist/agent.d.ts +8 -12
- package/dist/agent.js +9 -12
- package/dist/agent.js.map +1 -1
- package/dist/{analyst-loop-DZw5QWT9.js → analyst-loop-BZvXCDKy.js} +2 -3
- package/dist/{analyst-loop-DZw5QWT9.js.map → analyst-loop-BZvXCDKy.js.map} +1 -1
- package/dist/analyst-loop.d.ts +3 -5
- package/dist/analyst-loop.js +1 -2
- package/dist/{bundle-1xaJEgjq.js → bundle-DeDkJbsr.js} +3 -4
- package/dist/{bundle-1xaJEgjq.js.map → bundle-DeDkJbsr.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +13 -33
- package/dist/candidate-execution/index.js +16 -18
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/chat-turn.d.ts +2 -0
- package/dist/chat-turn.js +1 -0
- package/dist/{coordination-manager-B2Z_MmL9.js → coordination-manager-B7QadgrI.js} +101 -132
- package/dist/{coordination-manager-B2Z_MmL9.js.map → coordination-manager-B7QadgrI.js.map} +1 -1
- package/dist/{delegate-Dr-63jFl.js → delegate-CoscoyEo.js} +19 -21
- package/dist/delegate-CoscoyEo.js.map +1 -0
- package/dist/durable.d.ts +16 -149
- package/dist/durable.js +57 -980
- package/dist/durable.js.map +1 -1
- package/dist/{errors-DodWX-cb.js → errors-AzSuGI23.js} +5 -3
- package/dist/errors-AzSuGI23.js.map +1 -0
- package/dist/execution-handle-Bd2_nUB6.js +167 -0
- package/dist/execution-handle-Bd2_nUB6.js.map +1 -0
- package/dist/execution-handle-CujvqgCn.d.ts +130 -0
- package/dist/{graph-DPejYB3C.js → graph-mojMML8e.js} +192 -14
- package/dist/graph-mojMML8e.js.map +1 -0
- package/dist/{improve-DwSahPi1.js → improve-Dm5ZE8mr.js} +36 -53
- package/dist/{improve-DwSahPi1.js.map → improve-Dm5ZE8mr.js.map} +1 -1
- package/dist/{improvement-adapter-sIthWkcN.d.ts → improvement-adapter-D5GRU1eY.d.ts} +2 -6
- package/dist/index.d.ts +41 -89
- package/dist/index.js +45 -61
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +39 -59
- package/dist/intelligence.js +24 -33
- package/dist/intelligence.js.map +1 -1
- package/dist/journal-store-BJPMUydp.js +3925 -0
- package/dist/journal-store-BJPMUydp.js.map +1 -0
- package/dist/kernel.d.ts +5 -5
- package/dist/kernel.js +12 -11
- package/dist/{loop-runner-CP6MfO1b.js → loop-runner-5cL_vZi0.js} +5 -6
- package/dist/{loop-runner-CP6MfO1b.js.map → loop-runner-5cL_vZi0.js.map} +1 -1
- package/dist/{loop-runner-C6pGq-2l.d.ts → loop-runner-DyLD-aNb.d.ts} +3 -5
- package/dist/loop-runner-bin.d.ts +5 -8
- package/dist/loop-runner-bin.js +2 -3
- package/dist/mcp/bin.js +6 -8
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +8 -18
- package/dist/mcp/index.js +17 -25
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.js +4 -6
- package/dist/mcp/memory-bin.js.map +1 -1
- package/dist/{model-policy-CyCUwHed.js → model-policy-C-RGAUW4.js} +11 -13
- package/dist/{model-policy-CyCUwHed.js.map → model-policy-C-RGAUW4.js.map} +1 -1
- package/dist/placement.d.ts +12 -14
- package/dist/placement.js +1 -2
- package/dist/platform.d.ts +7 -13
- package/dist/platform.js +3 -6
- package/dist/platform.js.map +1 -1
- package/dist/{prepare-B9wWffjO.js → prepare-XWwsOh8O.js} +50 -69
- package/dist/{prepare-B9wWffjO.js.map → prepare-XWwsOh8O.js.map} +1 -1
- package/dist/{profile-JLJd2wFG.js → profile-C01SQZKa.js} +58 -92
- package/dist/profile-C01SQZKa.js.map +1 -0
- package/dist/{profile-materialization-bPm0gGLO.d.ts → profile-materialization-BRY22Oh8.d.ts} +1 -3
- package/dist/profiles.d.ts +25 -12
- package/dist/profiles.js +52 -11
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-DVVh-hEk.d.ts → protected-model-port-IKqhTypD.d.ts} +2 -14
- package/dist/{protected-redaction-DFCeo4vg.js → protected-redaction-DilFZch5.js} +2 -3
- package/dist/{protected-redaction-DFCeo4vg.js.map → protected-redaction-DilFZch5.js.map} +1 -1
- package/dist/{provision-supervisor-C4v2vqDo.js → provision-supervisor-D9pO-iPl.js} +11 -15
- package/dist/{provision-supervisor-C4v2vqDo.js.map → provision-supervisor-D9pO-iPl.js.map} +1 -1
- package/dist/{run-cancellation-CzFhQGMa.js → run-cancellation-CoJRKvih.js} +6 -7
- package/dist/{run-cancellation-CzFhQGMa.js.map → run-cancellation-CoJRKvih.js.map} +1 -1
- package/dist/{runtime-CsvGCQpl.js → runtime-BJPXHWbc.js} +652 -215
- package/dist/runtime-BJPXHWbc.js.map +1 -0
- package/dist/{runtime-hooks-tXpAarhW.js → runtime-hooks-CsW2pfFk.js} +2 -3
- package/dist/{runtime-hooks-tXpAarhW.js.map → runtime-hooks-CsW2pfFk.js.map} +1 -1
- package/dist/{runtime-hooks-nsqxSUFL.d.ts → runtime-hooks-ZQqPw-0g.d.ts} +1 -3
- package/dist/{sandbox-profile-compat-DtuJWFrM.js → sandbox-profile-compat-CXjozdWL.js} +52 -653
- package/dist/sandbox-profile-compat-CXjozdWL.js.map +1 -0
- package/dist/{search-executor-CCb82Umc.js → search-executor-CQEHMXoT.js} +12 -15
- package/dist/{search-executor-CCb82Umc.js.map → search-executor-CQEHMXoT.js.map} +1 -1
- package/dist/{server-CKPwZU-I.js → server-U9NGgudQ.js} +19 -30
- package/dist/{server-CKPwZU-I.js.map → server-U9NGgudQ.js.map} +1 -1
- package/dist/{structural-rollout-DylC_fwU.js → structural-rollout-wMSxE7bn.js} +71 -70
- package/dist/structural-rollout-wMSxE7bn.js.map +1 -0
- package/dist/{substrate-CGDFTSRh.js → substrate-Db2pp6y3.js} +2 -3
- package/dist/{substrate-CGDFTSRh.js.map → substrate-Db2pp6y3.js.map} +1 -1
- package/dist/{supervise-BGfm2GlY.js → supervise-CNNhX0ab.js} +460 -195
- package/dist/supervise-CNNhX0ab.js.map +1 -0
- package/dist/supervision-discovery-CewADdEs.js +772 -0
- package/dist/supervision-discovery-CewADdEs.js.map +1 -0
- package/dist/{supervisor-wS9Ehz_x.js → supervisor-rK5Y8en6.js} +521 -4320
- package/dist/supervisor-rK5Y8en6.js.map +1 -0
- package/dist/{task-queue-0fKkoweu.d.ts → task-queue-kefGy79U.d.ts} +1 -3
- package/dist/task-queue.d.ts +1 -1
- package/dist/task-queue.js +1 -2
- package/dist/testing.d.ts +7 -15
- package/dist/testing.js +241 -244
- package/dist/testing.js.map +1 -1
- package/dist/tool-loop.d.ts +16 -19
- package/dist/tool-loop.js +2 -3
- package/dist/{tool-server-XV4aJwoQ.js → tool-server-CZWd_Opp.js} +3 -4
- package/dist/{tool-server-XV4aJwoQ.js.map → tool-server-CZWd_Opp.js.map} +1 -1
- package/dist/{top-snapshot-CflmaDgk.js → top-snapshot-DcV7VG4m.js} +179 -163
- package/dist/top-snapshot-DcV7VG4m.js.map +1 -0
- package/dist/tui/bin.js +50 -81
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +27 -58
- package/dist/tui/index.js +2 -2
- package/dist/{types-C8BGOCBn.d.ts → types-0uzVKtFW.d.ts} +388 -484
- package/dist/{types-Cwrea-bU.d.ts → types-qsqfyQoY.d.ts} +1 -3
- package/dist/util-ebWMWzY0.js +624 -0
- package/dist/util-ebWMWzY0.js.map +1 -0
- package/dist/workspace-store/index.d.ts +12 -22
- package/dist/workspace-store/index.js +13 -10
- package/dist/workspace-store/index.js.map +1 -1
- package/dist/{workspace-streams-BiS4ABah.d.ts → workspace-streams-Dq2Fzk3c.d.ts} +1 -11
- package/package.json +31 -26
- package/skills/agent-graphs/SKILL.md +17 -4
- package/skills/be-ambitious/SKILL.md +46 -0
- package/skills/graph-designer/SKILL.md +9 -2
- package/dist/delegate-Dr-63jFl.js.map +0 -1
- package/dist/errors-DodWX-cb.js.map +0 -1
- package/dist/graph-DPejYB3C.js.map +0 -1
- package/dist/profile-JLJd2wFG.js.map +0 -1
- package/dist/record-events-D93DkpAx.js +0 -263
- package/dist/record-events-D93DkpAx.js.map +0 -1
- package/dist/runtime-CsvGCQpl.js.map +0 -1
- package/dist/sandbox-profile-compat-DtuJWFrM.js.map +0 -1
- package/dist/structural-rollout-DylC_fwU.js.map +0 -1
- package/dist/supervise-BGfm2GlY.js.map +0 -1
- package/dist/supervisor-wS9Ehz_x.js.map +0 -1
- package/dist/top-snapshot-CflmaDgk.js.map +0 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-
|
|
2
|
-
import { N as AgentCandidateOutputArtifactPort, g as AgentCandidateArtifactPort, l as AgentCandidateWorkspaceArchiveLimits, n as AgentCandidateWorkspaceTree } from "./workspace-streams-
|
|
3
|
-
import { a as ProfileMaterializationContract } from "./profile-materialization-
|
|
4
|
-
import { n as AnalystRegistryLike } from "./types-
|
|
1
|
+
import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-ZQqPw-0g.js";
|
|
2
|
+
import { N as AgentCandidateOutputArtifactPort, g as AgentCandidateArtifactPort, l as AgentCandidateWorkspaceArchiveLimits, n as AgentCandidateWorkspaceTree } from "./workspace-streams-Dq2Fzk3c.js";
|
|
3
|
+
import { a as ProfileMaterializationContract } from "./profile-materialization-BRY22Oh8.js";
|
|
4
|
+
import { n as AnalystRegistryLike } from "./types-qsqfyQoY.js";
|
|
5
5
|
import { AgentCandidateArtifactRef, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionControlClaim, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfileMcpServer, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferReceipt, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, ReasoningEffort, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent, TokenUsage, WorkspaceCheckpointRef, WorkspaceCheckpointRequest } from "@tangle-network/agent-interface";
|
|
6
6
|
import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, CustomTokenPricing, DataAcquisitionPlan, DefaultVerdict, DefaultVerdict as DefaultVerdict$1, DefaultVerdict as DefaultVerdict$2, DetectorSignal, HarnessType as HarnessType$1, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, MaximumCharge, NotFoundError, PairedPromotionDecision, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, TraceStore, UserQuestion, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
|
|
7
7
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
8
8
|
import { BackendType, CreateRequestOptions, CreateSandboxOptions, CreateSandboxOptions as CreateSandboxOptions$1, PromptOptions, SandboxEvent, SandboxEvent as SandboxEvent$1, SandboxInstance, SandboxInstance as SandboxInstance$1, SandboxResources } from "@tangle-network/sandbox";
|
|
9
|
+
import { z } from "zod";
|
|
9
10
|
import { watch } from "node:fs";
|
|
10
11
|
import { ChildProcess } from "node:child_process";
|
|
11
12
|
import { HarnessId, WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize";
|
|
@@ -16,7 +17,6 @@ import { EvaluationClaim, SealedExperiment } from "@tangle-network/agent-eval/ex
|
|
|
16
17
|
import { stuckLoopView, toolWasteView } from "@tangle-network/agent-eval/pipelines";
|
|
17
18
|
import { AgentEnvironment, AgentEnvironment as AgentEnvironment$1, AgentEnvironmentCapabilities, AgentEnvironmentCapabilities as AgentEnvironmentCapabilities$1, AgentEnvironmentEvent, AgentEnvironmentEvent as AgentEnvironmentEvent$1, AgentEnvironmentProvider, AgentEnvironmentProvider as AgentEnvironmentProvider$1, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentSession, AgentSessionRef, AgentSessionStatus as AgentSessionStatus$1, AgentTurnInput, AgentTurnInput as AgentTurnInput$1, AgentTurnResult as AgentTurnResult$1, AgentTurnResult as AgentTurnResult$2, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, CreateAgentEnvironmentInput as CreateAgentEnvironmentInput$1, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from "@tangle-network/agent-interface/environment-provider";
|
|
18
19
|
import { CodemodeExecuteOptions, CodemodeJsonSchema, CodemodeResult, CodemodeSandboxOptions } from "@earendil-works/pi-codemode";
|
|
19
|
-
//#region src/runtime/retained-run-types.d.ts
|
|
20
20
|
/** Cursor plus runtime sequence needed to continue one ordered replay. @stable */
|
|
21
21
|
interface RetainedRunReplayPoint {
|
|
22
22
|
readonly cursor: string;
|
|
@@ -300,8 +300,6 @@ type RecoverRetainedRunResult = {
|
|
|
300
300
|
readonly outcome: 'unverifiable';
|
|
301
301
|
readonly environment: AgentEnvironment;
|
|
302
302
|
};
|
|
303
|
-
//#endregion
|
|
304
|
-
//#region src/runtime-usage.d.ts
|
|
305
303
|
/** Observed subtotals, with missing measurements kept separate from measured zeroes. */
|
|
306
304
|
interface RuntimeUsageTotals {
|
|
307
305
|
/** Observed input tokens across normalized per-call events. */
|
|
@@ -319,8 +317,6 @@ interface RuntimeUsageTotals {
|
|
|
319
317
|
/** Sum of reported external estimates; never included in `costUsd` or proof of complete cost. */
|
|
320
318
|
estimatedCostUsd?: number;
|
|
321
319
|
}
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/runtime-run.d.ts
|
|
324
320
|
/** @stable */
|
|
325
321
|
type RuntimeRunStatus = 'running' | 'completed' | 'failed' | 'cancelled';
|
|
326
322
|
/** @stable */
|
|
@@ -421,8 +417,6 @@ interface RuntimeRunHandle {
|
|
|
421
417
|
* @stable
|
|
422
418
|
*/
|
|
423
419
|
declare function startRuntimeRun(options: RuntimeRunOptions): RuntimeRunHandle;
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/runtime/types.d.ts
|
|
426
420
|
/** @stable */
|
|
427
421
|
interface ValidationCtx {
|
|
428
422
|
/** Iteration index this output came from (0-based). */
|
|
@@ -1068,8 +1062,6 @@ interface ExecCtx {
|
|
|
1068
1062
|
*/
|
|
1069
1063
|
parentSpanId?: string;
|
|
1070
1064
|
}
|
|
1071
|
-
//#endregion
|
|
1072
|
-
//#region src/runtime/supervise/contracts/execution-events.d.ts
|
|
1073
1065
|
/**
|
|
1074
1066
|
* Normalized usage event — the single channel every executor reports through, so the
|
|
1075
1067
|
* conserved pool meters all runtimes identically. `tokens` carries `LoopTokenUsage`'s
|
|
@@ -1220,8 +1212,6 @@ type UsageEvent = {
|
|
|
1220
1212
|
} | {
|
|
1221
1213
|
kind: 'iteration';
|
|
1222
1214
|
};
|
|
1223
|
-
//#endregion
|
|
1224
|
-
//#region src/runtime/provider-workspace-retention.d.ts
|
|
1225
1215
|
/** The caller-owned boundary used to retain an executable provider workspace. */
|
|
1226
1216
|
interface ProviderWorkspaceRetentionPort {
|
|
1227
1217
|
/** Maximum wall-clock time Runtime gives queueing, capture, and verification. */
|
|
@@ -1462,8 +1452,6 @@ interface ProviderWorkspaceCaptureReceipt {
|
|
|
1462
1452
|
readonly coverageComplete: boolean;
|
|
1463
1453
|
readonly incompleteReason?: string;
|
|
1464
1454
|
}
|
|
1465
|
-
//#endregion
|
|
1466
|
-
//#region src/runtime/retained-harness-transcript.d.ts
|
|
1467
1455
|
/** Inventory and source identity only; native bytes remain in the original workspace archive. */
|
|
1468
1456
|
interface RetainedHarnessTranscriptDescriptor {
|
|
1469
1457
|
readonly kind: 'retained-harness-transcript';
|
|
@@ -1553,8 +1541,6 @@ declare function resolveHarnessTranscriptCapture(capture: HarnessTranscriptCaptu
|
|
|
1553
1541
|
declare function resolveHarnessTranscriptCapture(capture: HarnessTranscriptCapture, options?: HarnessTranscriptReadOptions & {
|
|
1554
1542
|
content?: true;
|
|
1555
1543
|
}): Promise<HarnessTranscriptArtifact | undefined>;
|
|
1556
|
-
//#endregion
|
|
1557
|
-
//#region src/runtime/harness-transcript.d.ts
|
|
1558
1544
|
declare const HARNESS_TRANSCRIPT_SCHEMA_VERSION: 1;
|
|
1559
1545
|
interface HarnessTranscriptFile {
|
|
1560
1546
|
readonly path: string;
|
|
@@ -1679,8 +1665,6 @@ declare function harnessTranscriptArtifact(evidence: HarnessTranscriptEvidence,
|
|
|
1679
1665
|
declare function harnessTranscriptArtifact(evidence: HarnessTranscriptEvidence, blobs: Pick<ResultBlobStore, 'get'>, options?: HarnessTranscriptReadOptions & {
|
|
1680
1666
|
content?: true;
|
|
1681
1667
|
}): Promise<HarnessTranscriptArtifact | undefined>;
|
|
1682
|
-
//#endregion
|
|
1683
|
-
//#region src/runtime/retained-interactive-types.d.ts
|
|
1684
1668
|
/** Environment and exact AgentProfile used to start one native coding-agent process. @stable */
|
|
1685
1669
|
type RetainedInteractiveEnvironmentInput = Omit<CreateAgentEnvironmentInput, 'idempotencyKey' | 'profile' | 'signal'> & {
|
|
1686
1670
|
readonly idempotencyKey: string;
|
|
@@ -1727,8 +1711,6 @@ interface RetainedInteractiveRunHandle extends AgentInteractiveSession {
|
|
|
1727
1711
|
signal?: AbortSignal;
|
|
1728
1712
|
}): Promise<AgentInteractiveSessionPromptAcknowledgement>;
|
|
1729
1713
|
}
|
|
1730
|
-
//#endregion
|
|
1731
|
-
//#region src/runtime/supervise/progress.d.ts
|
|
1732
1714
|
/** How long a worker may produce no metered activity before a `progress()` read calls it stalled.
|
|
1733
1715
|
* Deliberately generous: a coding harness routinely spends minutes inside one tool call, and a
|
|
1734
1716
|
* false stall that provokes a steer is worse than a late one. */
|
|
@@ -1858,8 +1840,6 @@ interface ScopeProgressInput {
|
|
|
1858
1840
|
/** Fold the scope-derived facts and the executor's optional enrichment into one read. Pure: the
|
|
1859
1841
|
* caller supplies `now`, so a test can observe a stall without waiting for one. */
|
|
1860
1842
|
declare function readWorkerProgress(scope: ScopeProgressInput, executor: ExecutorProgress | undefined, now: number, stallAfterMs?: number): WorkerProgress;
|
|
1861
|
-
//#endregion
|
|
1862
|
-
//#region src/runtime/supervise/trace-source.d.ts
|
|
1863
1843
|
interface ToolStepInput {
|
|
1864
1844
|
readonly toolName: string;
|
|
1865
1845
|
readonly args: unknown;
|
|
@@ -1906,8 +1886,6 @@ declare function createPushTraceSource(opts?: {
|
|
|
1906
1886
|
interface SessionMessageLike {
|
|
1907
1887
|
readonly parts?: ReadonlyArray<unknown>;
|
|
1908
1888
|
}
|
|
1909
|
-
//#endregion
|
|
1910
|
-
//#region src/runtime/supervise/contracts/executor-port.d.ts
|
|
1911
1889
|
/**
|
|
1912
1890
|
* The leaf runtime — ONE open interface, not a closed union. `execute` returns a
|
|
1913
1891
|
* `Promise<ExecutorResult>` for one-shot executors OR an `AsyncIterable<UsageEvent>` for
|
|
@@ -2266,8 +2244,6 @@ interface EnvironmentTeardownReceipt {
|
|
|
2266
2244
|
/** The runtime tag of a `Executor` impl. Open by intent: custom runtimes use their own string name.
|
|
2267
2245
|
* External executors can register additional runtime strings without widening this type. */
|
|
2268
2246
|
type Runtime = 'router' | 'inline' | 'sandbox' | 'cli' | (string & {});
|
|
2269
|
-
//#endregion
|
|
2270
|
-
//#region src/runtime/supervise/contracts/execution-identity.d.ts
|
|
2271
2247
|
/** Caller-owned identity beyond the exact profile/task bytes Scope can compute itself. */
|
|
2272
2248
|
interface AgentExecutionRef {
|
|
2273
2249
|
readonly candidateDigest?: Sha256Digest;
|
|
@@ -2390,8 +2366,6 @@ interface ExecutorNodeContext {
|
|
|
2390
2366
|
readonly attemptId: string;
|
|
2391
2367
|
readonly identity?: NodeExecutionIdentity;
|
|
2392
2368
|
}
|
|
2393
|
-
//#endregion
|
|
2394
|
-
//#region src/runtime/supervise/contracts/executor-construction.d.ts
|
|
2395
2369
|
/**
|
|
2396
2370
|
* `AgentProfile` is the complete execution authority. Scope parses and snapshots it before calling
|
|
2397
2371
|
* any registry, including one that resolves caller-supplied factories. The default registry
|
|
@@ -2482,8 +2456,6 @@ interface ExecutorRegistry {
|
|
|
2482
2456
|
error: string;
|
|
2483
2457
|
};
|
|
2484
2458
|
}
|
|
2485
|
-
//#endregion
|
|
2486
|
-
//#region src/errors.d.ts
|
|
2487
2459
|
/**
|
|
2488
2460
|
*
|
|
2489
2461
|
* A backend transport call (HTTP, gRPC, sidecar IPC) failed with a non-success
|
|
@@ -2510,6 +2482,8 @@ declare class BackendTransportError extends AgentEvalError {
|
|
|
2510
2482
|
* status arrived.
|
|
2511
2483
|
*/
|
|
2512
2484
|
readonly upstreamCode?: string;
|
|
2485
|
+
/** Validated producer remedy; absent when the upstream supplied no trusted structured remedy. */
|
|
2486
|
+
readonly remediation?: RuntimeFailureCause['remediation'];
|
|
2513
2487
|
/**
|
|
2514
2488
|
* Truncated upstream response body (≤2 KiB) when available. Diagnostic
|
|
2515
2489
|
* only — surfaces in `backend_error.error.body` and `final.error.body`
|
|
@@ -2521,12 +2495,11 @@ declare class BackendTransportError extends AgentEvalError {
|
|
|
2521
2495
|
cause?: unknown;
|
|
2522
2496
|
status?: number;
|
|
2523
2497
|
upstreamCode?: string;
|
|
2498
|
+
remediation?: RuntimeFailureCause['remediation'];
|
|
2524
2499
|
body?: string;
|
|
2525
2500
|
providerDispatch?: 'not_started';
|
|
2526
2501
|
});
|
|
2527
2502
|
}
|
|
2528
|
-
//#endregion
|
|
2529
|
-
//#region src/redact.d.ts
|
|
2530
2503
|
/**
|
|
2531
2504
|
* Redaction for values that may leave the Runtime process. The built-in
|
|
2532
2505
|
* redactor is agent-eval's redaction core (`@tangle-network/agent-eval/traces`,
|
|
@@ -2549,12 +2522,8 @@ type Redactor = (value: unknown) => unknown;
|
|
|
2549
2522
|
* on customer input and never mutates it.
|
|
2550
2523
|
*/
|
|
2551
2524
|
declare function defaultRedactor(value: unknown): unknown;
|
|
2552
|
-
//#endregion
|
|
2553
|
-
//#region src/durable/content-address.d.ts
|
|
2554
2525
|
/** Stable content address shared by result and trace artifacts. */
|
|
2555
2526
|
declare function contentAddress(artifact: unknown): string;
|
|
2556
|
-
//#endregion
|
|
2557
|
-
//#region src/durable/in-memory-spawn-stores.d.ts
|
|
2558
2527
|
/**
|
|
2559
2528
|
* In-memory `ResultBlobStore`. Content-addressed: `put` verifies the supplied
|
|
2560
2529
|
* `outRef` matches the artifact's hash so a stale/forged ref fails loud rather than
|
|
@@ -2582,8 +2551,6 @@ declare class InMemorySpawnJournal implements SpawnJournal {
|
|
|
2582
2551
|
beginTree(root: NodeId, at: string): Promise<void>;
|
|
2583
2552
|
appendEvent(root: NodeId, ev: SpawnEvent): Promise<void>;
|
|
2584
2553
|
}
|
|
2585
|
-
//#endregion
|
|
2586
|
-
//#region src/durable/spawn-journal/journal-store.d.ts
|
|
2587
2554
|
/**
|
|
2588
2555
|
* JSONL on disk. One line per record: the first record is `begin`, subsequent records
|
|
2589
2556
|
* are `event` or atomic `events` envelopes. `loadTree` replays the whole file,
|
|
@@ -2608,8 +2575,6 @@ declare class FileSpawnJournal implements SpawnJournal {
|
|
|
2608
2575
|
private serializeAppend;
|
|
2609
2576
|
private writeRecord;
|
|
2610
2577
|
}
|
|
2611
|
-
//#endregion
|
|
2612
|
-
//#region src/durable/spawn-journal/replay.d.ts
|
|
2613
2578
|
/**
|
|
2614
2579
|
* Re-feed a journaled spawn tree in strict `seq` order, rehydrating each settled
|
|
2615
2580
|
* child's `out` from the blob store by `outRef`, and return the `Settled[]` exactly
|
|
@@ -2624,8 +2589,6 @@ declare class FileSpawnJournal implements SpawnJournal {
|
|
|
2624
2589
|
* @stable
|
|
2625
2590
|
*/
|
|
2626
2591
|
declare function replaySpawnTree(journal: SpawnJournal, blobs: ResultBlobStore, root: NodeId): Promise<Settled<unknown>[]>;
|
|
2627
|
-
//#endregion
|
|
2628
|
-
//#region src/durable/spawn-journal/result-blob-store.d.ts
|
|
2629
2592
|
/**
|
|
2630
2593
|
* FS `ResultBlobStore`. One JSON file per artifact under `dir`, named by a
|
|
2631
2594
|
* filesystem-safe encoding of the `outRef` (`sha256:<hex>` → `sha256-<hex>.json`).
|
|
@@ -2641,8 +2604,6 @@ declare class FileResultBlobStore implements ResultBlobStore {
|
|
|
2641
2604
|
get(outRef: string): Promise<unknown | undefined>;
|
|
2642
2605
|
private blobPath;
|
|
2643
2606
|
}
|
|
2644
|
-
//#endregion
|
|
2645
|
-
//#region src/durable/spawn-journal/spawn-forest.d.ts
|
|
2646
2607
|
/** One journal tree in a recursively loaded supervision forest. */
|
|
2647
2608
|
interface SpawnForestTree {
|
|
2648
2609
|
readonly root: NodeId;
|
|
@@ -2703,8 +2664,6 @@ interface SpawnForest {
|
|
|
2703
2664
|
* change the result already observed.
|
|
2704
2665
|
*/
|
|
2705
2666
|
declare function loadSpawnForest(journal: SpawnJournal, root: NodeId): Promise<SpawnForest>;
|
|
2706
|
-
//#endregion
|
|
2707
|
-
//#region src/durable/spawn-journal/tree-view.d.ts
|
|
2708
2667
|
/**
|
|
2709
2668
|
* Materialize a recorded `TreeView` from a journaled event list for inspection. Folds
|
|
2710
2669
|
* `spawned`/`settled`/`cancelled` into a per-node snapshot in `seq` order, then adds each
|
|
@@ -2712,8 +2671,6 @@ declare function loadSpawnForest(journal: SpawnJournal, root: NodeId): Promise<S
|
|
|
2712
2671
|
* matches the recorded cursor. It does not recover live executors or driver state after restart.
|
|
2713
2672
|
*/
|
|
2714
2673
|
declare function materializeTreeView(events: SpawnEvent[]): TreeView;
|
|
2715
|
-
//#endregion
|
|
2716
|
-
//#region src/durable/sql-adapter.d.ts
|
|
2717
2674
|
/**
|
|
2718
2675
|
* SQL seam for Runtime's shared-SQL run persistence (`openSqlRunStore`,
|
|
2719
2676
|
* `createFencedSqlRunContext`). Callers wire a `SqlAdapter` against the driver
|
|
@@ -2737,8 +2694,6 @@ interface SqlAdapter {
|
|
|
2737
2694
|
/** Execute a read statement (SELECT). Returns rows as plain objects. */
|
|
2738
2695
|
query<TRow = Record<string, unknown>>(sql: string, params?: readonly unknown[]): Promise<TRow[]>;
|
|
2739
2696
|
}
|
|
2740
|
-
//#endregion
|
|
2741
|
-
//#region src/durable/sql-run-store.d.ts
|
|
2742
2697
|
/** @internal The SQL run context owns the payload schema; this store owns publication. */
|
|
2743
2698
|
interface SqlRunStoreOptions {
|
|
2744
2699
|
readonly tablePrefix?: string;
|
|
@@ -2775,8 +2730,6 @@ declare function openSqlRunStore<Payload>(db: SqlAdapter, runId: string, options
|
|
|
2775
2730
|
read(): Promise<readonly Payload[]>;
|
|
2776
2731
|
acquire(signal?: AbortSignal): Promise<SqlRunLease<Payload>>;
|
|
2777
2732
|
}>;
|
|
2778
|
-
//#endregion
|
|
2779
|
-
//#region src/mcp/codex-execution-policy.d.ts
|
|
2780
2733
|
/** Isolation settings asserted before a reproducible Codex run is allowed to start. */
|
|
2781
2734
|
interface CodexExecutionPolicy {
|
|
2782
2735
|
sessionPersistence: 'ephemeral';
|
|
@@ -2806,8 +2759,6 @@ interface CodexExecutionPolicy {
|
|
|
2806
2759
|
callerReadDeniedPaths: 'enforced';
|
|
2807
2760
|
containerSockets: false;
|
|
2808
2761
|
}
|
|
2809
|
-
//#endregion
|
|
2810
|
-
//#region src/mcp/codex-token-usage.d.ts
|
|
2811
2762
|
/**
|
|
2812
2763
|
* Exact aggregate usage emitted by Codex's terminal `turn.completed` JSONL event.
|
|
2813
2764
|
*
|
|
@@ -2823,8 +2774,6 @@ interface CodexTokenUsage {
|
|
|
2823
2774
|
reasoningOutputTokens: number;
|
|
2824
2775
|
cacheWriteInputTokens?: number;
|
|
2825
2776
|
}
|
|
2826
|
-
//#endregion
|
|
2827
|
-
//#region src/mcp/local-harness-invocation.d.ts
|
|
2828
2777
|
/**
|
|
2829
2778
|
* Local coding harness available inside the sandbox — a narrowing of the shared `HarnessType`
|
|
2830
2779
|
* vocabulary, NOT a private spelling of it. The harness id is `claude-code`; `claude` is the
|
|
@@ -2836,8 +2785,6 @@ type LocalHarness = Extract<HarnessType, 'claude-code' | 'codex' | 'kimi-code' |
|
|
|
2836
2785
|
/** Every local harness, in table order — the one list `AGENT_RUNTIME_LOCAL_HARNESSES` and any
|
|
2837
2786
|
* other harness enumeration reads, so adding a row above is the only edit a new harness needs. */
|
|
2838
2787
|
declare const LOCAL_HARNESSES: ReadonlyArray<LocalHarness>;
|
|
2839
|
-
//#endregion
|
|
2840
|
-
//#region src/mcp/local-harness-process.d.ts
|
|
2841
2788
|
/** @experimental */
|
|
2842
2789
|
interface RunLocalHarnessOptions {
|
|
2843
2790
|
harness: LocalHarness;
|
|
@@ -2936,8 +2883,6 @@ interface LocalHarnessResult {
|
|
|
2936
2883
|
* @experimental
|
|
2937
2884
|
*/
|
|
2938
2885
|
declare function runLocalHarness(options: RunLocalHarnessOptions): Promise<LocalHarnessResult>;
|
|
2939
|
-
//#endregion
|
|
2940
|
-
//#region src/mcp/codex-execution-evidence.d.ts
|
|
2941
2886
|
/** Zero-model-call evidence for the exact Codex process about to run. */
|
|
2942
2887
|
interface CodexExecutionEvidence {
|
|
2943
2888
|
cliVersion: string;
|
|
@@ -2953,8 +2898,6 @@ interface CodexExecutionEvidence {
|
|
|
2953
2898
|
readDeniedPathCount: number;
|
|
2954
2899
|
policy: CodexExecutionPolicy;
|
|
2955
2900
|
}
|
|
2956
|
-
//#endregion
|
|
2957
|
-
//#region src/mcp/tools/coordination-analysts.d.ts
|
|
2958
2901
|
/**
|
|
2959
2902
|
* What one analyst lens may return.
|
|
2960
2903
|
*
|
|
@@ -3136,8 +3079,6 @@ interface AnalystAssignmentRecord {
|
|
|
3136
3079
|
readonly directive?: string;
|
|
3137
3080
|
readonly to?: string;
|
|
3138
3081
|
}
|
|
3139
|
-
//#endregion
|
|
3140
|
-
//#region src/runtime/supervise/detector-monitor.d.ts
|
|
3141
3082
|
interface WatchTraceOptions {
|
|
3142
3083
|
/** The detectors to run online. Defaults to a stuck-loop + error-streak panel. */
|
|
3143
3084
|
readonly detectors?: ReadonlyArray<StreamingDetector>;
|
|
@@ -3156,8 +3097,6 @@ declare function defaultToolDetectors(): StreamingDetector[];
|
|
|
3156
3097
|
/** Subscribe to a `TraceSource` and run the streaming detectors over its live spans. Returns an
|
|
3157
3098
|
* unsubscribe. A defensive `argHash` failure (circular args) never throws out of the side-channel. */
|
|
3158
3099
|
declare function watchTrace(source: TraceSource, opts?: WatchTraceOptions): () => void;
|
|
3159
|
-
//#endregion
|
|
3160
|
-
//#region src/runtime/supervise/event-bus.d.ts
|
|
3161
3100
|
/**
|
|
3162
3101
|
*
|
|
3163
3102
|
* The child→parent message bus: the ONE pipe carrying every message a worker, sub-driver, or
|
|
@@ -3242,8 +3181,6 @@ interface EventBus<E extends BusEvent> {
|
|
|
3242
3181
|
/** Create the child→parent coordination bus: one typed pipe for settled outputs, questions, and analyst findings, with a priority-ordered pull queue and a pass-through subscribe lane.
|
|
3243
3182
|
* @experimental In-process queue; durability is a transport swap that does not exist yet. */
|
|
3244
3183
|
declare function createEventBus<E extends BusEvent>(now?: () => number): EventBus<E>;
|
|
3245
|
-
//#endregion
|
|
3246
|
-
//#region src/mcp/protocol.d.ts
|
|
3247
3184
|
/**
|
|
3248
3185
|
* Shared wire contracts for the in-process stdio MCP servers.
|
|
3249
3186
|
*
|
|
@@ -3300,8 +3237,6 @@ interface JsonRpcResponse {
|
|
|
3300
3237
|
data?: unknown;
|
|
3301
3238
|
};
|
|
3302
3239
|
}
|
|
3303
|
-
//#endregion
|
|
3304
|
-
//#region src/runtime/supervise/peer-mail.d.ts
|
|
3305
3240
|
/** One admitted peer message. `threadId` is the root mail's id; `depth` is 0 for a root mail and
|
|
3306
3241
|
* one more than its parent for a reply, which is what the reply-depth cap counts. */
|
|
3307
3242
|
interface PeerMailEnvelope {
|
|
@@ -3436,8 +3371,6 @@ declare function createPeerMailbox(opts: PeerMailboxOptions): PeerMailbox;
|
|
|
3436
3371
|
* authority rule, because the receiving model reads them as part of the channel's contract.
|
|
3437
3372
|
*/
|
|
3438
3373
|
declare function peerMailTools(mailbox: PeerMailbox, capabilityId: string): McpToolDescriptor[];
|
|
3439
|
-
//#endregion
|
|
3440
|
-
//#region src/mcp/tools/coordination-map-contracts.d.ts
|
|
3441
3374
|
/** What a map does when one of its items fails. See {@link MapOnSettleRoute.onItemFailure}. */
|
|
3442
3375
|
type MapItemFailurePolicy = 'all-or-refuse' | 'settled-subset';
|
|
3443
3376
|
/**
|
|
@@ -3507,8 +3440,6 @@ interface MapTraversalEvent {
|
|
|
3507
3440
|
readonly items?: number;
|
|
3508
3441
|
readonly reason?: string;
|
|
3509
3442
|
}
|
|
3510
|
-
//#endregion
|
|
3511
|
-
//#region src/mcp/tools/coordination-messages.d.ts
|
|
3512
3443
|
/** How a spawn CONTINUES a node's prior work: `'fresh'` starts a brand-new session (the default,
|
|
3513
3444
|
* and the only pre-continuity behavior); `'resume'` re-attaches to the node's most recent
|
|
3514
3445
|
* SETTLED worker — a NEW live worker is spawned whose spawn context carries the prior worker's
|
|
@@ -3579,8 +3510,6 @@ interface AuthorizedDownMessage {
|
|
|
3579
3510
|
}
|
|
3580
3511
|
/** Product decision over an exact continuation before it is durably recorded or delivered. */
|
|
3581
3512
|
type AuthorizeDownMessage = (input: DownMessageAuthorizationInput) => AuthorizedDownMessage;
|
|
3582
|
-
//#endregion
|
|
3583
|
-
//#region src/mcp/tools/coordination-questions.d.ts
|
|
3584
3513
|
type QuestionLevel = 'worker' | 'driver' | 'loop';
|
|
3585
3514
|
type QuestionUrgency = 'continue-without' | 'blocks-step' | 'blocks-run';
|
|
3586
3515
|
interface QuestionOption {
|
|
@@ -3666,8 +3595,6 @@ interface QuestionEscalationRecord {
|
|
|
3666
3595
|
readonly reason?: string;
|
|
3667
3596
|
readonly at: number;
|
|
3668
3597
|
}
|
|
3669
|
-
//#endregion
|
|
3670
|
-
//#region src/mcp/tools/coordination-route-contracts.d.ts
|
|
3671
3598
|
/** A JSON scalar: what a route condition compares. A numeric or stateful rule is a field the
|
|
3672
3599
|
* settling node writes (a boolean or a counter), never an expression evaluated here. */
|
|
3673
3600
|
type JsonScalar = string | number | boolean | null;
|
|
@@ -3856,8 +3783,6 @@ type RouteFlowEvent = {
|
|
|
3856
3783
|
readonly detail: string;
|
|
3857
3784
|
readonly result?: unknown;
|
|
3858
3785
|
};
|
|
3859
|
-
//#endregion
|
|
3860
|
-
//#region src/mcp/tools/coordination-events.d.ts
|
|
3861
3786
|
/** Every message on the one typed pipe. UP (child→parent): question / settled / finding — queued for
|
|
3862
3787
|
* the driver to `pull`. An `instruction` is the pre-delivery authorization receipt and is retained
|
|
3863
3788
|
* as evidence. DOWN (parent→child): steer / answer — record-only (history + subscribers), routed
|
|
@@ -4081,8 +4006,6 @@ interface ToolOutcomeEvent {
|
|
|
4081
4006
|
readonly error?: string;
|
|
4082
4007
|
readonly elapsedMs: number;
|
|
4083
4008
|
}
|
|
4084
|
-
//#endregion
|
|
4085
|
-
//#region src/mcp/worktree.d.ts
|
|
4086
4009
|
/** Pluggable git runner (sync) — replaceable in tests. */
|
|
4087
4010
|
type GitRunner = (args: ReadonlyArray<string>, opts: {
|
|
4088
4011
|
cwd: string;
|
|
@@ -4091,8 +4014,6 @@ type GitRunner = (args: ReadonlyArray<string>, opts: {
|
|
|
4091
4014
|
stderr: string;
|
|
4092
4015
|
exitCode: number;
|
|
4093
4016
|
};
|
|
4094
|
-
//#endregion
|
|
4095
|
-
//#region src/mcp/worktree-harness.d.ts
|
|
4096
4017
|
/** Outcome of one verification command run in the worktree (test or typecheck). */
|
|
4097
4018
|
interface WorktreeCommandResult {
|
|
4098
4019
|
/** The shell command line that was run. */
|
|
@@ -4198,8 +4119,6 @@ interface InPlaceHarnessResult {
|
|
|
4198
4119
|
/** The harness subprocess outcome. */
|
|
4199
4120
|
harness: WorktreeHarnessResult['harness'];
|
|
4200
4121
|
}
|
|
4201
|
-
//#endregion
|
|
4202
|
-
//#region src/sanitize.d.ts
|
|
4203
4122
|
/** @stable */
|
|
4204
4123
|
interface RuntimeTelemetryOptions {
|
|
4205
4124
|
/**
|
|
@@ -4294,8 +4213,6 @@ declare function createRuntimeEventCollector<TState = unknown, TAction = unknown
|
|
|
4294
4213
|
* @stable
|
|
4295
4214
|
*/
|
|
4296
4215
|
declare function createRuntimeStreamEventCollector(options?: RuntimeTelemetryOptions): RuntimeStreamEventCollector;
|
|
4297
|
-
//#endregion
|
|
4298
|
-
//#region src/otel-export.d.ts
|
|
4299
4216
|
interface OtelExportConfig {
|
|
4300
4217
|
/** OTLP endpoint. Reads OTEL_EXPORTER_OTLP_ENDPOINT env by default. */
|
|
4301
4218
|
endpoint?: string;
|
|
@@ -4426,8 +4343,6 @@ declare function padSpanId(id: string): string;
|
|
|
4426
4343
|
* UUID-form, preserving the pre-strict-W3C wire id), everything else is derived with
|
|
4427
4344
|
* `deriveHexId(id, 16)` so every process derives the SAME wire id for the same run. */
|
|
4428
4345
|
declare function padTraceId(id: string): string;
|
|
4429
|
-
//#endregion
|
|
4430
|
-
//#region src/runtime/sandbox-evidence-retention.d.ts
|
|
4431
4346
|
/** One durable capture before a Sandbox box is removed. */
|
|
4432
4347
|
interface SandboxEvidenceRetentionPort {
|
|
4433
4348
|
readonly timeoutMs: number;
|
|
@@ -4464,8 +4379,6 @@ interface SandboxEvidenceReceipt {
|
|
|
4464
4379
|
readonly coverageComplete: boolean;
|
|
4465
4380
|
readonly incompleteReason?: string;
|
|
4466
4381
|
}
|
|
4467
|
-
//#endregion
|
|
4468
|
-
//#region src/runtime/agent-rounds.d.ts
|
|
4469
4382
|
/** @stable */
|
|
4470
4383
|
interface RunAgentRoundsOptions<Task, Output, Decision> {
|
|
4471
4384
|
driver: Driver<Task, Output, Decision>;
|
|
@@ -4547,8 +4460,6 @@ interface RunAgentRoundsOptions<Task, Output, Decision> {
|
|
|
4547
4460
|
* @stable
|
|
4548
4461
|
*/
|
|
4549
4462
|
declare function runAgentRounds<Task, Output, Decision>(options: RunAgentRoundsOptions<Task, Output, Decision>): Promise<LoopResult<Task, Output, Decision>>;
|
|
4550
|
-
//#endregion
|
|
4551
|
-
//#region src/runtime/waterfall.d.ts
|
|
4552
4463
|
interface WaterfallSpan {
|
|
4553
4464
|
id: string;
|
|
4554
4465
|
/** The spawn label (`shot:0`, `analyst:1`, a nested agent's label) — the row name. */
|
|
@@ -4606,8 +4517,6 @@ interface WaterfallCollector {
|
|
|
4606
4517
|
}
|
|
4607
4518
|
/** Build a `WaterfallCollector` that records agent spans and renders them as an ASCII timeline. */
|
|
4608
4519
|
declare function createWaterfallCollector(): WaterfallCollector;
|
|
4609
|
-
//#endregion
|
|
4610
|
-
//#region src/runtime/anytime.d.ts
|
|
4611
4520
|
interface AnytimeTaskCurve {
|
|
4612
4521
|
taskId: string;
|
|
4613
4522
|
strategy: string;
|
|
@@ -4683,8 +4592,6 @@ declare function anytimeReport(spans: WaterfallSpan[], opts?: {
|
|
|
4683
4592
|
}): AnytimeReport;
|
|
4684
4593
|
/** One row per (strategy, satisficing target): the shareable time-to-satisfactory table. */
|
|
4685
4594
|
declare function renderAnytimeTable(report: AnytimeReport): string;
|
|
4686
|
-
//#endregion
|
|
4687
|
-
//#region src/runtime/benchmark-report.d.ts
|
|
4688
4595
|
/** Pull the headline score in [0,1] from a record. Default: the held-out split, else the search split,
|
|
4689
4596
|
* else a `composite`/`passed`/`score` entry in the raw bag. Override to score a domain differently. */
|
|
4690
4597
|
type ScoreOf = (record: RunRecord) => number | undefined;
|
|
@@ -4818,8 +4725,6 @@ declare function renderLeaderboardSvg(report: Leaderboard): string;
|
|
|
4818
4725
|
/** Render a self-contained HTML leaderboard page (the hosted surface): the SVG charts + the full Markdown
|
|
4819
4726
|
* matrix as a table. Single file, no assets, opens in any browser. */
|
|
4820
4727
|
declare function renderLeaderboardHtml(report: Leaderboard): string;
|
|
4821
|
-
//#endregion
|
|
4822
|
-
//#region src/runtime/code-mode.d.ts
|
|
4823
4728
|
type CodeModeResult = CodemodeResult;
|
|
4824
4729
|
type CodeModeStore = NonNullable<CodemodeExecuteOptions['store']>;
|
|
4825
4730
|
interface CodeModeToolContext {
|
|
@@ -4884,8 +4789,6 @@ interface CodeModeToolset {
|
|
|
4884
4789
|
* avoid silently losing store writes; concurrency within a program is queued.
|
|
4885
4790
|
*/
|
|
4886
4791
|
declare function createCodeModeTools(granted: ReadonlyArray<CodeModeTool>, options?: CodeModeToolsOptions): CodeModeToolset;
|
|
4887
|
-
//#endregion
|
|
4888
|
-
//#region src/runtime/harness-usage.d.ts
|
|
4889
4792
|
/**
|
|
4890
4793
|
* One harness's own token-usage report for one turn, in the runtime's field names.
|
|
4891
4794
|
*
|
|
@@ -4926,8 +4829,6 @@ interface HarnessUsage {
|
|
|
4926
4829
|
* cannot read the numbers.
|
|
4927
4830
|
*/
|
|
4928
4831
|
declare function decodeHarnessUsage(event: SandboxEvent, harness?: HarnessType): HarnessUsage | undefined;
|
|
4929
|
-
//#endregion
|
|
4930
|
-
//#region src/runtime/codex-rollout-store.d.ts
|
|
4931
4832
|
/** Who wrote one rollout, exactly as its own `session_meta` states it. Nothing here is inferred. */
|
|
4932
4833
|
interface CodexRolloutIdentity {
|
|
4933
4834
|
/** The rollout's own thread id (`session_meta.payload.id`). */
|
|
@@ -5055,8 +4956,6 @@ declare function createCodexRolloutStoreReader(ref: CodexRolloutStoreRef): Codex
|
|
|
5055
4956
|
declare function addHarnessUsage(left: HarnessUsage, right: HarnessUsage): HarnessUsage;
|
|
5056
4957
|
/** True when a report states any spend at all. */
|
|
5057
4958
|
declare function harnessUsageIsEmpty(usage: HarnessUsage): boolean;
|
|
5058
|
-
//#endregion
|
|
5059
|
-
//#region src/runtime/completion.d.ts
|
|
5060
4959
|
/** Trace-derived evidence for a completion claim — an artifact (output) or a verifier metric,
|
|
5061
4960
|
* never the judge's own verdict. Mirrors the steer-firewall's provenance discipline. */
|
|
5062
4961
|
interface CompletionEvidence {
|
|
@@ -5112,8 +5011,13 @@ declare function deterministicCompletion<Task, Output>(check: (output: Output, h
|
|
|
5112
5011
|
passed: boolean;
|
|
5113
5012
|
reasons?: string;
|
|
5114
5013
|
}): CompletionAnalyst<Task, Output>;
|
|
5115
|
-
|
|
5116
|
-
|
|
5014
|
+
/** Kernel-owned leaf identity; never reconstructed from the worker's submitted output. */
|
|
5015
|
+
interface CompletionCheckContext {
|
|
5016
|
+
readonly profile: AgentProfile;
|
|
5017
|
+
readonly node: ExecutorNodeContext | undefined;
|
|
5018
|
+
readonly originalVerdict: DefaultVerdict$1 | undefined;
|
|
5019
|
+
readonly signal: AbortSignal;
|
|
5020
|
+
}
|
|
5117
5021
|
/**
|
|
5118
5022
|
* The deployable completion oracle passed to {@link gateOnDeliverable}: a `check` that
|
|
5119
5023
|
* decides DELIVERED (settles `valid` ⟺ it passes) plus an optional `describe` of what the spawn
|
|
@@ -5126,8 +5030,9 @@ interface DeliverableSpec<Out = unknown> {
|
|
|
5126
5030
|
/** The deployable check that decides DELIVERED. Return a `CheckVerdict` to report the items it
|
|
5127
5031
|
* read and one `FAIL <item> <where>: <reason>` line per failed item; `true` or a passing verdict
|
|
5128
5032
|
* delivers. Throw `CheckUnavailableError` (or anything) when the check could not run: that is
|
|
5129
|
-
* never a verdict on the result.
|
|
5130
|
-
|
|
5033
|
+
* never a verdict on the result. Only gateFactoryOnDeliverable supplies the trusted leaf
|
|
5034
|
+
* context; direct checks and graph finalizers receive none. */
|
|
5035
|
+
check: (out: Out, context?: CompletionCheckContext) => boolean | CheckVerdict | Promise<boolean | CheckVerdict>;
|
|
5131
5036
|
/** What the spawn was supposed to produce — surfaced in traces/reports. */
|
|
5132
5037
|
describe?: string;
|
|
5133
5038
|
/** Judge the run's current state with no submitted result. Runtime calls it when a manager's
|
|
@@ -5205,8 +5110,6 @@ declare function verdictFromJudgeScore(score: {
|
|
|
5205
5110
|
readonly notes: string;
|
|
5206
5111
|
readonly failed?: true;
|
|
5207
5112
|
}, threshold: number): CheckVerdict;
|
|
5208
|
-
//#endregion
|
|
5209
|
-
//#region src/profiles/coder.d.ts
|
|
5210
5113
|
/**
|
|
5211
5114
|
*
|
|
5212
5115
|
* `CoderTask` + `coderTaskToPrompt` — the per-task DATA + pure formatter for code-modification tasks
|
|
@@ -5240,8 +5143,6 @@ interface CoderTask {
|
|
|
5240
5143
|
/** Default 400. Hard cap; the gate hard-fails when exceeded. */
|
|
5241
5144
|
maxDiffLines?: number;
|
|
5242
5145
|
}
|
|
5243
|
-
//#endregion
|
|
5244
|
-
//#region src/mcp/detached-coder.d.ts
|
|
5245
5146
|
/** @experimental The structured coder result the sandbox-session path decodes + gates. */
|
|
5246
5147
|
interface CoderOutput {
|
|
5247
5148
|
/** Branch the agent wrote the patch on. */
|
|
@@ -5264,8 +5165,6 @@ interface CoderOutput {
|
|
|
5264
5165
|
/** Optional reviewer commentary surfaced by the agent. */
|
|
5265
5166
|
reviewerNotes?: string;
|
|
5266
5167
|
}
|
|
5267
|
-
//#endregion
|
|
5268
|
-
//#region src/mcp/delegation-store.d.ts
|
|
5269
5168
|
/** @stable */
|
|
5270
5169
|
interface DelegationStore {
|
|
5271
5170
|
/**
|
|
@@ -5340,8 +5239,6 @@ declare class FileDelegationStore implements DelegationStore {
|
|
|
5340
5239
|
private enqueueWrite;
|
|
5341
5240
|
private writeSnapshot;
|
|
5342
5241
|
}
|
|
5343
|
-
//#endregion
|
|
5344
|
-
//#region src/mcp/delegation-trace.d.ts
|
|
5345
5242
|
/**
|
|
5346
5243
|
* One span of a delegation's compact trace. Flat (parent linkage by id), all
|
|
5347
5244
|
* values JSON-safe scalars — `FileDelegationStore` round-trips records
|
|
@@ -5372,8 +5269,6 @@ interface DelegationTraceSpan {
|
|
|
5372
5269
|
* @experimental
|
|
5373
5270
|
*/
|
|
5374
5271
|
declare function composeLoopTraceEmitters(...emitters: ReadonlyArray<LoopTraceEmitter | undefined>): LoopTraceEmitter | undefined;
|
|
5375
|
-
//#endregion
|
|
5376
|
-
//#region src/mcp/trace-propagation.d.ts
|
|
5377
5272
|
interface TraceContext {
|
|
5378
5273
|
/** Trace id inherited from the parent process, or a fresh one. */
|
|
5379
5274
|
traceId: string;
|
|
@@ -5402,8 +5297,6 @@ declare function createPropagatingTraceEmitter(ctx: TraceContext): {
|
|
|
5402
5297
|
exporter: OtelExporter | undefined;
|
|
5403
5298
|
context: TraceContext;
|
|
5404
5299
|
};
|
|
5405
|
-
//#endregion
|
|
5406
|
-
//#region src/profiles/researcher.d.ts
|
|
5407
5300
|
/** Source families a researcher profile may prefer for a task. One owner: the delegation
|
|
5408
5301
|
* vocabulary (`DelegateResearchArgs.sources`) re-exports this type rather than restating it.
|
|
5409
5302
|
* @experimental */
|
|
@@ -5522,8 +5415,6 @@ declare function researcherProfile(options: ResearcherProfileOptions & {
|
|
|
5522
5415
|
validator: Validator<ResearchOutput>;
|
|
5523
5416
|
agentRunSpec: AgentRunSpec<ResearchTask>;
|
|
5524
5417
|
};
|
|
5525
|
-
//#endregion
|
|
5526
|
-
//#region src/profiles/ui-auditor/substrate.d.ts
|
|
5527
5418
|
/**
|
|
5528
5419
|
*
|
|
5529
5420
|
* UI audit finding shapes — the unit of evidence a contributor can act on.
|
|
@@ -5596,8 +5487,6 @@ interface UiFinding {
|
|
|
5596
5487
|
/** ISO-8601 creation timestamp set by the writer when persisted. */
|
|
5597
5488
|
createdAt?: string;
|
|
5598
5489
|
}
|
|
5599
|
-
//#endregion
|
|
5600
|
-
//#region src/mcp/types.d.ts
|
|
5601
5490
|
/**
|
|
5602
5491
|
* Every delegation profile a queued record can carry. One owner: the tool schemas and validators
|
|
5603
5492
|
* that filter on a profile read this list, so a profile added here cannot be one a tool refuses.
|
|
@@ -5838,8 +5727,6 @@ interface DelegationHistoryEntry {
|
|
|
5838
5727
|
/** Inherited trace identity recorded at submit — join key into the caller's trace. */
|
|
5839
5728
|
traceId?: string;
|
|
5840
5729
|
}
|
|
5841
|
-
//#endregion
|
|
5842
|
-
//#region src/mcp/task-queue.d.ts
|
|
5843
5730
|
/** Arguments accepted by the durable delegation queue. @stable */
|
|
5844
5731
|
type DelegationArgs = DelegateCodeArgs | DelegateResearchArgs | DelegateUiAuditArgs;
|
|
5845
5732
|
/**
|
|
@@ -6114,8 +6001,6 @@ declare class DelegationTaskQueue {
|
|
|
6114
6001
|
private failPersistence;
|
|
6115
6002
|
private enforceRetention;
|
|
6116
6003
|
}
|
|
6117
|
-
//#endregion
|
|
6118
|
-
//#region src/mcp/detached-turn.d.ts
|
|
6119
6004
|
/** @experimental The terminal payload of a finished detached turn. */
|
|
6120
6005
|
interface DetachedTurn {
|
|
6121
6006
|
/** Final assistant text. */
|
|
@@ -6169,8 +6054,6 @@ interface RunDetachedTurnOptions {
|
|
|
6169
6054
|
* @experimental
|
|
6170
6055
|
*/
|
|
6171
6056
|
declare function runDetachedTurn(options: RunDetachedTurnOptions): Promise<DetachedTurn>;
|
|
6172
|
-
//#endregion
|
|
6173
|
-
//#region src/mcp/executor.d.ts
|
|
6174
6057
|
/** @experimental */
|
|
6175
6058
|
interface DelegationExecutor {
|
|
6176
6059
|
/** Sandbox client the kernel calls. Returned with `describePlacement` set. */
|
|
@@ -6243,8 +6126,6 @@ interface FleetWorkspaceExecutorOptions {
|
|
|
6243
6126
|
* @experimental
|
|
6244
6127
|
*/
|
|
6245
6128
|
declare function createFleetWorkspaceExecutor(options: FleetWorkspaceExecutorOptions): DelegationExecutor;
|
|
6246
|
-
//#endregion
|
|
6247
|
-
//#region src/mcp/delegates.d.ts
|
|
6248
6129
|
/** @experimental */
|
|
6249
6130
|
interface DelegateRunCtx {
|
|
6250
6131
|
signal: AbortSignal;
|
|
@@ -6377,8 +6258,6 @@ interface DetachedSessionDelegateOptions {
|
|
|
6377
6258
|
* @experimental
|
|
6378
6259
|
*/
|
|
6379
6260
|
declare function detachedSessionDelegate(options: DetachedSessionDelegateOptions): CoderDelegate;
|
|
6380
|
-
//#endregion
|
|
6381
|
-
//#region src/mcp/feedback-store.d.ts
|
|
6382
6261
|
/** @stable */
|
|
6383
6262
|
interface FeedbackEvent {
|
|
6384
6263
|
id: string;
|
|
@@ -6401,8 +6280,6 @@ interface FeedbackStore {
|
|
|
6401
6280
|
refersToRef?: string;
|
|
6402
6281
|
}): Promise<FeedbackEvent[]>;
|
|
6403
6282
|
}
|
|
6404
|
-
//#endregion
|
|
6405
|
-
//#region src/runtime/tool-loop.d.ts
|
|
6406
6283
|
/** Provider-neutral conversation record accepted by a tool-loop brain. */
|
|
6407
6284
|
type ToolLoopMessageRecord = Record<string, unknown>;
|
|
6408
6285
|
/** One provider-neutral tool request emitted by a tool-loop model. */
|
|
@@ -6479,8 +6356,6 @@ interface ToolLoopCompaction {
|
|
|
6479
6356
|
type ToolLoopCompactionOptions = Omit<ToolLoopCompaction, 'distill'> & {
|
|
6480
6357
|
readonly distill?: ToolLoopCompaction['distill'];
|
|
6481
6358
|
};
|
|
6482
|
-
//#endregion
|
|
6483
|
-
//#region src/runtime/router-retry-policy.d.ts
|
|
6484
6359
|
/** Exact retry controls accepted at `AgentProfile.model.metadata.retry`. */
|
|
6485
6360
|
interface RouterRetryPolicy {
|
|
6486
6361
|
/** Total attempts, including the first request. */
|
|
@@ -6496,8 +6371,6 @@ interface RouterRetryPolicy {
|
|
|
6496
6371
|
/** Deadline for receiving one attempt's response headers. Zero disables it. */
|
|
6497
6372
|
readonly requestTimeoutMs?: number;
|
|
6498
6373
|
}
|
|
6499
|
-
//#endregion
|
|
6500
|
-
//#region src/runtime/router-request-body.d.ts
|
|
6501
6374
|
/**
|
|
6502
6375
|
* Router provider routing, lowered into every request a transport sends as
|
|
6503
6376
|
* `providerOptions.gateway.{only, allowFallbacks}` and `require_model`. Braid's Z.ai-only release
|
|
@@ -6574,8 +6447,6 @@ interface ToolSpec {
|
|
|
6574
6447
|
outputSchema?: Record<string, unknown> | boolean;
|
|
6575
6448
|
};
|
|
6576
6449
|
}
|
|
6577
|
-
//#endregion
|
|
6578
|
-
//#region src/runtime/router-http-transport.d.ts
|
|
6579
6450
|
/**
|
|
6580
6451
|
* Connection details for Runtime's Router-backed executors.
|
|
6581
6452
|
*
|
|
@@ -6608,8 +6479,6 @@ interface RouterResponseReceipt {
|
|
|
6608
6479
|
readonly headers: Readonly<Record<string, string>>;
|
|
6609
6480
|
readonly body: string | null;
|
|
6610
6481
|
}
|
|
6611
|
-
//#endregion
|
|
6612
|
-
//#region src/runtime/sandbox-events.d.ts
|
|
6613
6482
|
/** The provider/model the platform reports it actually bound to a turn, when it reports one.
|
|
6614
6483
|
* `source` is the platform's own account of where that choice came from — `environment` means
|
|
6615
6484
|
* the platform chose, not the request. */
|
|
@@ -6706,8 +6575,6 @@ declare function sumSandboxUsage(events: readonly SandboxEvent[], agentRunName?:
|
|
|
6706
6575
|
estimatedCostUsd?: number;
|
|
6707
6576
|
tokensUnknownReason?: string;
|
|
6708
6577
|
};
|
|
6709
|
-
//#endregion
|
|
6710
|
-
//#region src/runtime/sandbox-executor-output.d.ts
|
|
6711
6578
|
/**
|
|
6712
6579
|
* Cross-event state for {@link mapSandboxToolEvent}. Sandbox backends emit a
|
|
6713
6580
|
* tool invocation as MANY `message.part.updated` frames on the same call id
|
|
@@ -6818,8 +6685,6 @@ interface SandboxLeafOut {
|
|
|
6818
6685
|
toolCalls?: ExecutorToolCall[];
|
|
6819
6686
|
outcome?: AgentRunOutcome;
|
|
6820
6687
|
}
|
|
6821
|
-
//#endregion
|
|
6822
|
-
//#region src/runtime/key-provider.d.ts
|
|
6823
6688
|
/** Resolve named secrets. The ONE seam every secret store adapts to. */
|
|
6824
6689
|
interface KeyProvider {
|
|
6825
6690
|
/** The value for `name`, or `undefined` when this provider does not hold it. */
|
|
@@ -6874,8 +6739,6 @@ interface ResolvedMcpServerLaunch {
|
|
|
6874
6739
|
* pre-0.40 spawn precedence: the secret value wins in the child env.
|
|
6875
6740
|
*/
|
|
6876
6741
|
declare function resolveMcpServerLaunch(server: AgentProfileMcpServer, keys: KeyProvider | undefined, label: string): Promise<ResolvedMcpServerLaunch>;
|
|
6877
|
-
//#endregion
|
|
6878
|
-
//#region src/runtime/supervise/bridge-config.d.ts
|
|
6879
6742
|
/**
|
|
6880
6743
|
* cli-bridge seam. A local OpenAI-compatible bridge that fronts harness CLIs
|
|
6881
6744
|
* (claude-code / opencode / kimi / pi) behind one HTTP surface. The spawned
|
|
@@ -6924,6 +6787,8 @@ declare function resolveMcpServerLaunch(server: AgentProfileMcpServer, keys: Key
|
|
|
6924
6787
|
interface BridgeSeam {
|
|
6925
6788
|
bridgeUrl: string;
|
|
6926
6789
|
bridgeBearer: string;
|
|
6790
|
+
/** Require Bridge-owned final JSON; conversation text, tools and usage remain trace evidence. */
|
|
6791
|
+
outputFormat?: 'json';
|
|
6927
6792
|
/**
|
|
6928
6793
|
* Optional request-scoped model credential.
|
|
6929
6794
|
*
|
|
@@ -6991,8 +6856,6 @@ interface BridgeModelCredential {
|
|
|
6991
6856
|
/** Live credential service. Runtime retains this reference through reusable captures. */
|
|
6992
6857
|
provider: KeyProvider;
|
|
6993
6858
|
}
|
|
6994
|
-
//#endregion
|
|
6995
|
-
//#region src/runtime/provider-placement.d.ts
|
|
6996
6859
|
/** Caller-declared execution placement. Matching never changes the authored profile.
|
|
6997
6860
|
* @experimental */
|
|
6998
6861
|
interface ProviderPlacement {
|
|
@@ -7007,8 +6870,6 @@ interface ProviderPlacement {
|
|
|
7007
6870
|
};
|
|
7008
6871
|
promptOptions?: ProviderPromptOptions;
|
|
7009
6872
|
}
|
|
7010
|
-
//#endregion
|
|
7011
|
-
//#region src/runtime/supervise/upstream-unavailable.d.ts
|
|
7012
6873
|
/** How long an agent waits after its upstream refused a turn for capacity: the codes and
|
|
7013
6874
|
* statuses `upstreamUnavailableSignal` reads. A pause is not a failure: a driver spends neither
|
|
7014
6875
|
* `maxAttempts` nor `maxConsecutiveFailures` on it. */
|
|
@@ -7019,8 +6880,6 @@ interface UnavailablePausePolicy {
|
|
|
7019
6880
|
* hour. */
|
|
7020
6881
|
readonly maxUnavailablePauseMs?: number;
|
|
7021
6882
|
}
|
|
7022
|
-
//#endregion
|
|
7023
|
-
//#region src/runtime/environment-provider/provider-executor-admission.d.ts
|
|
7024
6883
|
/** Adapt an environment provider into an `ExecutorFactory` for `createExecutor`.
|
|
7025
6884
|
*
|
|
7026
6885
|
* `createExecutor({ backend: 'provider', provider })` is the composition most callers want; it
|
|
@@ -7134,8 +6993,6 @@ interface ProviderExecutorOptions {
|
|
|
7134
6993
|
*/
|
|
7135
6994
|
unavailablePause?: UnavailablePausePolicy | false;
|
|
7136
6995
|
}
|
|
7137
|
-
//#endregion
|
|
7138
|
-
//#region src/runtime/environment-provider/provider-registry.d.ts
|
|
7139
6996
|
/** Provider object or registry name accepted by runtime provider adapters.
|
|
7140
6997
|
* @experimental */
|
|
7141
6998
|
type AgentEnvironmentProviderRef = AgentEnvironmentProvider | string;
|
|
@@ -7158,8 +7015,6 @@ declare function createAgentEnvironmentProviderRegistry(providers?: Iterable<Age
|
|
|
7158
7015
|
/** Resolve a provider instance or registry name, failing loudly when a name is unknown.
|
|
7159
7016
|
* @experimental */
|
|
7160
7017
|
declare function resolveAgentEnvironmentProvider(provider: AgentEnvironmentProviderRef, registry?: AgentEnvironmentProviderRegistry): AgentEnvironmentProvider;
|
|
7161
|
-
//#endregion
|
|
7162
|
-
//#region src/runtime/shared-box-worker.d.ts
|
|
7163
7018
|
/** The request header the router records as a usage row's `clientName`. */
|
|
7164
7019
|
declare const ROUTER_CLIENT_HEADER = "x-tangle-client";
|
|
7165
7020
|
/**
|
|
@@ -7179,8 +7034,6 @@ declare function sharedWorkerClientName(nodeId: string): string;
|
|
|
7179
7034
|
* resource the materializer does not lower into the worker's directory.
|
|
7180
7035
|
*/
|
|
7181
7036
|
declare function sharedBoxRefusal(profile: AgentProfile): string | undefined;
|
|
7182
|
-
//#endregion
|
|
7183
|
-
//#region src/runtime/shared-box.d.ts
|
|
7184
7037
|
/**
|
|
7185
7038
|
* The most workers one default box carries at once.
|
|
7186
7039
|
*
|
|
@@ -7277,8 +7130,6 @@ interface SharedBoxPlacement {
|
|
|
7277
7130
|
* profile keeps the dedicated provider.
|
|
7278
7131
|
*/
|
|
7279
7132
|
declare function sharedBoxPlacement(options: SharedBoxPlacementOptions): SharedBoxPlacement;
|
|
7280
|
-
//#endregion
|
|
7281
|
-
//#region src/runtime/supervise/inbox.d.ts
|
|
7282
7133
|
/** A message from the run's AUTHORITY — the parent driver. These two kinds carry instruction. */
|
|
7283
7134
|
interface AuthorityInboxMessage {
|
|
7284
7135
|
/** The sender's `messageId`, or one minted on arrival. What {@link InboxLease.commit} names. */
|
|
@@ -7335,8 +7186,6 @@ interface Inbox {
|
|
|
7335
7186
|
/** Render taken messages as ONE operator turn to fold into the worker's conversation. */
|
|
7336
7187
|
fold(messages: ReadonlyArray<InboxMessage>): string;
|
|
7337
7188
|
}
|
|
7338
|
-
//#endregion
|
|
7339
|
-
//#region src/runtime/supervise/sandbox-session.d.ts
|
|
7340
7189
|
/** Ceiling on continuation turns (turn 0 is the task, each later turn a folded steer). */
|
|
7341
7190
|
declare const DEFAULT_SANDBOX_STEERING_MAX_TURNS = 24;
|
|
7342
7191
|
/** Opt-in configuration for the steerable sandbox worker (`SandboxSeam.steering`); absent, the single-shot composition is kept. */
|
|
@@ -7386,8 +7235,6 @@ interface SteerableSandboxArgs {
|
|
|
7386
7235
|
}
|
|
7387
7236
|
/** One steerable sandbox worker. The returned session is inert until `stream()` is drained. */
|
|
7388
7237
|
declare function createSteerableSandboxSession(args: SteerableSandboxArgs): SteerableSandboxSession;
|
|
7389
|
-
//#endregion
|
|
7390
|
-
//#region src/runtime/supervise/runtime-seams.d.ts
|
|
7391
7238
|
/**
|
|
7392
7239
|
* Router/inline transport seam. The profile owns model, prompt, and generation behavior.
|
|
7393
7240
|
*/
|
|
@@ -7482,8 +7329,8 @@ interface CliSeam {
|
|
|
7482
7329
|
* named as data. `repoRoot` is transport data; `AgentProfile.harness` selects the CLI.
|
|
7483
7330
|
* `taskPrompt` remains an optional direct-call fallback for callers that execute with `undefined`.
|
|
7484
7331
|
* The authored
|
|
7485
|
-
* `profile.prompt
|
|
7486
|
-
* `
|
|
7332
|
+
* `profile.prompt` uses native replace/append controls and a caller-instruction preamble;
|
|
7333
|
+
* `profile.model.default` selects the native model. Everything else mirrors `WorktreeCliExecutorOptions`.
|
|
7487
7334
|
*/
|
|
7488
7335
|
interface CliWorktreeSeam {
|
|
7489
7336
|
repoRoot: string;
|
|
@@ -7512,7 +7359,7 @@ interface CliWorktreeSeam {
|
|
|
7512
7359
|
* cli-in-place seam. A supervisor-authored `AgentProfile` driving a local coding-harness CLI
|
|
7513
7360
|
* (claude-code / codex / opencode / pi) on a workspace the CALLER supplies — the leaf
|
|
7514
7361
|
* `createInPlaceCliExecutor` named as data. `workspacePath` is transport data;
|
|
7515
|
-
* `AgentProfile.harness` selects the CLI, and the authored `profile.prompt
|
|
7362
|
+
* `AgentProfile.harness` selects the CLI, and the authored `profile.prompt` +
|
|
7516
7363
|
* `profile.model.default` reach the harness via the §1.5 `harnessInvocation` mapper.
|
|
7517
7364
|
*
|
|
7518
7365
|
* READ THIS BEFORE CHOOSING BETWEEN THIS AND `cli-worktree`. They differ in ONE thing, and it is
|
|
@@ -7634,8 +7481,6 @@ interface RouterToolsSeam {
|
|
|
7634
7481
|
durationMs?: number;
|
|
7635
7482
|
}) => void;
|
|
7636
7483
|
}
|
|
7637
|
-
//#endregion
|
|
7638
|
-
//#region src/runtime/supervise/executor-config.d.ts
|
|
7639
7484
|
/**
|
|
7640
7485
|
* Config for {@link createExecutor}: the backend is DATA — the cost dial a profile,
|
|
7641
7486
|
* an experiment config, or a replay journal can name — not an import choice. Each
|
|
@@ -7667,8 +7512,6 @@ type ExecutorConfig = ({
|
|
|
7667
7512
|
* `UsageEvent` reporting channel.
|
|
7668
7513
|
*/
|
|
7669
7514
|
declare function createExecutor(config: ExecutorConfig): ExecutorFactory<unknown>;
|
|
7670
|
-
//#endregion
|
|
7671
|
-
//#region src/runtime/supervise/executor-registry.d.ts
|
|
7672
7515
|
/**
|
|
7673
7516
|
* The open resolver/registry. Pre-registers the three built-ins under their
|
|
7674
7517
|
* runtime tags (`'router'`, `'sandbox'`, `'cli'`) and accepts `register(name,
|
|
@@ -7680,8 +7523,6 @@ declare function createExecutor(config: ExecutorConfig): ExecutorFactory<unknown
|
|
|
7680
7523
|
* harness-derived runtime (`'sandbox'` for any `BackendType`); else fail loud.
|
|
7681
7524
|
*/
|
|
7682
7525
|
declare function createExecutorRegistry(): ExecutorRegistry;
|
|
7683
|
-
//#endregion
|
|
7684
|
-
//#region src/mcp/tools/delegate.d.ts
|
|
7685
7526
|
/** The synchronous result the `delegate` tool returns to the calling agent: the delivered output (or
|
|
7686
7527
|
* the no-winner reason) PLUS the conserved spend of the whole delegation. */
|
|
7687
7528
|
type DelegateResult = {
|
|
@@ -7721,8 +7562,6 @@ interface DelegateHandlerOptions {
|
|
|
7721
7562
|
* delivered output with its conserved cost.
|
|
7722
7563
|
*/
|
|
7723
7564
|
declare function createDelegateHandler(options: DelegateHandlerOptions): (raw: unknown) => Promise<DelegateResult>;
|
|
7724
|
-
//#endregion
|
|
7725
|
-
//#region src/mcp/server.d.ts
|
|
7726
7565
|
/** @experimental */
|
|
7727
7566
|
interface McpServerOptions {
|
|
7728
7567
|
/**
|
|
@@ -7779,8 +7618,6 @@ interface McpServer {
|
|
|
7779
7618
|
* @experimental
|
|
7780
7619
|
*/
|
|
7781
7620
|
declare function createMcpServer(options?: McpServerOptions): McpServer;
|
|
7782
|
-
//#endregion
|
|
7783
|
-
//#region src/mcp/tools/spawn-resource-paths.d.ts
|
|
7784
7621
|
/** One successful read: the bytes as a string plus the identity the journal records. */
|
|
7785
7622
|
interface SpawnResourceBytes {
|
|
7786
7623
|
readonly content: string;
|
|
@@ -7842,8 +7679,6 @@ type ResolveSpawnResourcePathsResult = {
|
|
|
7842
7679
|
* is refused with the reason and what to do instead.
|
|
7843
7680
|
*/
|
|
7844
7681
|
declare function resolveSpawnResourcePaths(profile: unknown, source: string | SpawnResourceReader | undefined): Promise<ResolveSpawnResourcePathsResult>;
|
|
7845
|
-
//#endregion
|
|
7846
|
-
//#region src/runtime/supervise/driver-retry.d.ts
|
|
7847
7682
|
/** Whether the declared completion check has passed; `'none'` means the caller declared no check. */
|
|
7848
7683
|
type DriverContractState = 'met' | 'unmet' | 'none';
|
|
7849
7684
|
/** How hard the root driver is retried after a transient failure; `enabled: false` restores pre-#741 behavior. */
|
|
@@ -7916,8 +7751,6 @@ type DriverReentry = {
|
|
|
7916
7751
|
/** Of `live`, the workers this process re-placed; the others are gone and their work is lost. */
|
|
7917
7752
|
readonly replaced: ReadonlyArray<string>;
|
|
7918
7753
|
};
|
|
7919
|
-
//#endregion
|
|
7920
|
-
//#region src/runtime/supervise/continuation.d.ts
|
|
7921
7754
|
/** One time the check ran inside the run, whatever started it. */
|
|
7922
7755
|
interface CheckRead {
|
|
7923
7756
|
/** 1-based count of check reads in this manager, the unavailable ones included. */
|
|
@@ -8131,8 +7964,6 @@ interface VerdictSummary {
|
|
|
8131
7964
|
readonly failed?: number;
|
|
8132
7965
|
readonly total?: number;
|
|
8133
7966
|
}
|
|
8134
|
-
//#endregion
|
|
8135
|
-
//#region src/runtime/supervise/coordination-log.d.ts
|
|
8136
7967
|
/** Stable identity of the supervisor that owns one coordination stream. High-level supervision
|
|
8137
7968
|
* derives it from the exact root/child execution identity plus its parent assignment. */
|
|
8138
7969
|
type CoordinationOwnerId = string;
|
|
@@ -8186,8 +8017,6 @@ declare class FileCoordinationLog implements CoordinationLog {
|
|
|
8186
8017
|
private appendRecord;
|
|
8187
8018
|
load(runId: string, ownerId?: CoordinationOwnerId): Promise<PriorCoordination>;
|
|
8188
8019
|
}
|
|
8189
|
-
//#endregion
|
|
8190
|
-
//#region src/runtime/supervise/coordination-http.d.ts
|
|
8191
8020
|
/** Why the coordination boundary refused a request. The refusal's JSON-RPC error body names it, so
|
|
8192
8021
|
* an agent reads more than a bare status, and its audit event records it. */
|
|
8193
8022
|
type CoordinationRejectReason = 'method-not-allowed' | 'unknown-path' | 'wrong-host' | 'origin-refused' | 'listener-closed' | 'scope-stopped' | 'credential-refused' | 'unsupported-content-type' | 'body-too-large' | 'malformed-request' | 'request-limit' | 'body-timeout' | 'action-timeout';
|
|
@@ -8211,8 +8040,6 @@ interface CoordinationHttpOptions {
|
|
|
8211
8040
|
/** Audit fields exclude credentials, request bodies, and arbitrary error strings. */
|
|
8212
8041
|
readonly onAudit?: (event: CoordinationHttpAudit) => Promise<void> | void;
|
|
8213
8042
|
}
|
|
8214
|
-
//#endregion
|
|
8215
|
-
//#region src/runtime/supervise/coordination-mcp.d.ts
|
|
8216
8043
|
interface CoordinationMcpHandle {
|
|
8217
8044
|
/** The URL an in-box harness mounts as `mcp.mcpServers.coordination.url`. */
|
|
8218
8045
|
readonly url: string;
|
|
@@ -8222,6 +8049,8 @@ interface CoordinationMcpHandle {
|
|
|
8222
8049
|
readonly url: string;
|
|
8223
8050
|
readonly headers: Readonly<Record<string, string>>;
|
|
8224
8051
|
};
|
|
8052
|
+
/** Independent operator capability; never persist its protected headers in profiles or journals. */
|
|
8053
|
+
readonly control: CoordinationControlAccess;
|
|
8225
8054
|
/** Runtime-only credentials. Never put these headers in canonical profiles or journals. */
|
|
8226
8055
|
readonly headers: Readonly<Record<string, string>>;
|
|
8227
8056
|
/** The current credential's expiry under `authentication.ttlMs`; undefined when it lives as long
|
|
@@ -8274,12 +8103,19 @@ interface CoordinationReadAccess {
|
|
|
8274
8103
|
readonly url: string;
|
|
8275
8104
|
readonly headers: Readonly<Record<string, string>>;
|
|
8276
8105
|
}
|
|
8106
|
+
/** Runtime-only owned-worker control capability, separate from read and manager authority. */
|
|
8107
|
+
interface CoordinationControlAccess extends CoordinationReadAccess {
|
|
8108
|
+
readonly runId: string;
|
|
8109
|
+
readonly actorId: string;
|
|
8110
|
+
}
|
|
8277
8111
|
interface CoordinationTransportOptions extends CoordinationHttpOptions {
|
|
8278
8112
|
/** Publish the read capability before dispatch, so a remote client can observe the first worker. */
|
|
8279
8113
|
readonly onReadReady?: (access: CoordinationReadAccess & {
|
|
8280
8114
|
readonly runId: string;
|
|
8281
8115
|
readonly actorId: string;
|
|
8282
8116
|
}) => void | Promise<void>;
|
|
8117
|
+
/** Publish the separate operator capability before dispatch. */
|
|
8118
|
+
readonly onControlReady?: (access: CoordinationControlAccess) => void | Promise<void>;
|
|
8283
8119
|
readonly host?: string;
|
|
8284
8120
|
readonly port?: number;
|
|
8285
8121
|
/** Required for remote binds. Each server mints a distinct run/actor credential. */
|
|
@@ -8382,8 +8218,6 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
|
|
|
8382
8218
|
* verbs in code (`SupervisorToolInvocationContext.verbs`). */
|
|
8383
8219
|
onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor>, coordination: Pick<CoordinationTools, 'awaitSettlement'>) => void;
|
|
8384
8220
|
}): Promise<CoordinationMcpHandle>;
|
|
8385
|
-
//#endregion
|
|
8386
|
-
//#region src/runtime/supervise/finalizer.d.ts
|
|
8387
8221
|
/** One settled worker as the finalizer sees it — the ledger row (structural fields only). */
|
|
8388
8222
|
interface FinalizerSettled {
|
|
8389
8223
|
readonly id: string;
|
|
@@ -8417,8 +8251,6 @@ type SupervisorFinalizer = (ctx: FinalizeContext) => Promise<unknown | undefined
|
|
|
8417
8251
|
* existing caller had: the highest-scoring delivered child's output, `undefined` when nothing
|
|
8418
8252
|
* delivered (or the best delivered child carries no artifact). */
|
|
8419
8253
|
declare const bestDelivered: SupervisorFinalizer;
|
|
8420
|
-
//#endregion
|
|
8421
|
-
//#region src/runtime/supervise/reentry.d.ts
|
|
8422
8254
|
/** What the next drive continues, as the drive harness can prove it before the turn starts. */
|
|
8423
8255
|
interface ReentryContinuity {
|
|
8424
8256
|
/** `continued`: the next turn is sent into the harness session that received the last one.
|
|
@@ -8451,8 +8283,6 @@ interface ReentryTaskInput {
|
|
|
8451
8283
|
}
|
|
8452
8284
|
/** Compose the task for one re-entered drive. */
|
|
8453
8285
|
declare function composeReentryTask(input: ReentryTaskInput): string;
|
|
8454
|
-
//#endregion
|
|
8455
|
-
//#region src/runtime/supervise/run-cancellation.d.ts
|
|
8456
8286
|
/** One durable run-scoped cancel request: cancel the WHOLE run, not one worker. */
|
|
8457
8287
|
interface RunCancelRequest {
|
|
8458
8288
|
/** Caller-minted stable operation identifier — the idempotency key of the whole operation. */
|
|
@@ -8538,8 +8368,6 @@ declare function cancelRun(eventDir: string, operationId: string, options?: {
|
|
|
8538
8368
|
readonly deadlineMs?: number;
|
|
8539
8369
|
readonly operator?: string;
|
|
8540
8370
|
}): RunCancellation;
|
|
8541
|
-
//#endregion
|
|
8542
|
-
//#region src/runtime/supervise/stop-rules.d.ts
|
|
8543
8371
|
/** The read-model a `StopRule` decides from — the run's progress, not its budget. */
|
|
8544
8372
|
interface ProgressView {
|
|
8545
8373
|
readonly now: number;
|
|
@@ -8632,12 +8460,8 @@ interface AllWorkersStalledOptions {
|
|
|
8632
8460
|
declare function allWorkersStalled(opts?: AllWorkersStalledOptions): StopRule;
|
|
8633
8461
|
/** Stop when ANY rule stops — the ordinary composition (each rule is a separate reason to end). */
|
|
8634
8462
|
declare function anyOf(...rules: ReadonlyArray<StopRule>): StopRule;
|
|
8635
|
-
//#endregion
|
|
8636
|
-
//#region src/runtime/supervise/supervisor-agent-profile.d.ts
|
|
8637
8463
|
/** A supervisor is an exact canonical AgentProfile; no looser model/prompt shape exists. */
|
|
8638
8464
|
type SupervisorProfile = AgentProfile;
|
|
8639
|
-
//#endregion
|
|
8640
|
-
//#region src/runtime/supervise/wake.d.ts
|
|
8641
8465
|
/** How Runtime wakes a manager that ended its turn with work open. */
|
|
8642
8466
|
interface ManagerWakePolicy {
|
|
8643
8467
|
/** Wake with no event after this long, so a waiting manager can reconsider. Default 15 min. */
|
|
@@ -8647,8 +8471,6 @@ interface ManagerWakePolicy {
|
|
|
8647
8471
|
/** Wake once this long before the deadline and ask for the best result now. Default 15 min. */
|
|
8648
8472
|
readonly deadlineWarningMs?: number;
|
|
8649
8473
|
}
|
|
8650
|
-
//#endregion
|
|
8651
|
-
//#region src/runtime/supervise/supervisor-agent-contracts.d.ts
|
|
8652
8474
|
type CoordinationBinding = CoordinationTransportOptions;
|
|
8653
8475
|
/** Trusted run/node identity Runtime binds to one manager. Model-authored tool arguments cannot
|
|
8654
8476
|
* provide or replace any of these fields. */
|
|
@@ -9006,15 +8828,11 @@ interface SupervisorAgentDeps {
|
|
|
9006
8828
|
interface SupervisorAgentTestDeps extends SupervisorAgentDeps {
|
|
9007
8829
|
readonly brain: ToolLoopChat;
|
|
9008
8830
|
}
|
|
9009
|
-
//#endregion
|
|
9010
|
-
//#region src/runtime/supervise/supervisor-agent.d.ts
|
|
9011
8831
|
/** Build a supervisor `Agent` from its profile: the brain resolves from `profile.harness`
|
|
9012
8832
|
* (backend-as-data), the same resolution rule as every worker. */
|
|
9013
8833
|
declare function supervisorAgent(profile: SupervisorProfile, deps: SupervisorAgentDeps): Agent<unknown, unknown>;
|
|
9014
8834
|
/** Scripted-brain construction for deterministic tests. Not exported from Runtime's main entry. */
|
|
9015
8835
|
declare function supervisorAgentWithTestBrain(profile: SupervisorProfile, deps: SupervisorAgentTestDeps): Agent<unknown, unknown>;
|
|
9016
|
-
//#endregion
|
|
9017
|
-
//#region src/runtime/supervise/root-stream.d.ts
|
|
9018
8836
|
/** One line of `root-stream.jsonl`. */
|
|
9019
8837
|
type RootStreamRecord = {
|
|
9020
8838
|
/** 1-based position in the file, continuing across drive attempts and across processes. */
|
|
@@ -9044,8 +8862,6 @@ declare function readRootStreamReceipt(runDir: string): Promise<RootStreamReceip
|
|
|
9044
8862
|
/** Every committed line of the root stream, in order, or `undefined` when there is no file. A
|
|
9045
8863
|
* torn final line from a process that died mid-write is not a record and is left out. */
|
|
9046
8864
|
declare function readRootStream(runDir: string): Promise<RootStreamRecord[] | undefined>;
|
|
9047
|
-
//#endregion
|
|
9048
|
-
//#region src/runtime/supervise/budget.d.ts
|
|
9049
8865
|
/** Opaque, single-use reservation handle returned by `reserve` and consumed by
|
|
9050
8866
|
* `reconcile`. Carries the reserved ceilings so reconciliation needs no lookup. */
|
|
9051
8867
|
interface ReservationTicket {
|
|
@@ -9209,8 +9025,6 @@ interface BudgetPool {
|
|
|
9209
9025
|
* none), an absolute instant. A resumed pool passes the ORIGINAL instant.
|
|
9210
9026
|
*/
|
|
9211
9027
|
declare function createBudgetPool(root: Budget, runStartedAtMs: number, restore?: BudgetPoolRestore): BudgetPool;
|
|
9212
|
-
//#endregion
|
|
9213
|
-
//#region src/runtime/supervise/run-parking.d.ts
|
|
9214
9028
|
/** Release a durable coordinator after it has only waited this long. The caller's keeper owns wakeup. */
|
|
9215
9029
|
interface RunParkingPolicy {
|
|
9216
9030
|
/** Milliseconds of idle waiting before returning RunParkedError. Runtime owns the default idle threshold. */
|
|
@@ -9234,8 +9048,6 @@ declare class RunParkedError extends Error {
|
|
|
9234
9048
|
readonly parking: RunParkingRecord;
|
|
9235
9049
|
constructor(runId: string, parking: RunParkingRecord);
|
|
9236
9050
|
}
|
|
9237
|
-
//#endregion
|
|
9238
|
-
//#region src/runtime/supervise/deadline.d.ts
|
|
9239
9051
|
/**
|
|
9240
9052
|
* What a steerable child's own time box does: a check-in, not a kill. At the child's deadline its
|
|
9241
9053
|
* lead's scope delivers `DEADLINE_CHECK_IN_MESSAGE` to the child's inbox and keeps it
|
|
@@ -9252,16 +9064,12 @@ declare class RunParkedError extends Error {
|
|
|
9252
9064
|
type DeadlineCheckIn = false | {
|
|
9253
9065
|
readonly idleMs?: number;
|
|
9254
9066
|
};
|
|
9255
|
-
//#endregion
|
|
9256
|
-
//#region src/runtime/supervise/worker-trace.d.ts
|
|
9257
9067
|
/**
|
|
9258
9068
|
* Resolve the trace context a worker spawned BY `spawningNodeId` should inherit. `undefined` means
|
|
9259
9069
|
* this run records no spans, so nothing is stamped. Supplied by
|
|
9260
9070
|
* `SupervisorSpanRecorder.workerTrace` and threaded to the scope as `SupervisorOpts.workerTrace`.
|
|
9261
9071
|
*/
|
|
9262
9072
|
type WorkerTraceResolver = (spawningNodeId: string) => TraceContext | undefined;
|
|
9263
|
-
//#endregion
|
|
9264
|
-
//#region src/runtime/supervise/otel-spans.d.ts
|
|
9265
9073
|
/** OTLP span attribute values; exported because `SupervisorSpanOptions.attributes` is public. */
|
|
9266
9074
|
type SupervisorSpanAttributes = Record<string, string | number | boolean>;
|
|
9267
9075
|
type Attrs = SupervisorSpanAttributes;
|
|
@@ -9317,8 +9125,6 @@ interface SupervisorSpanRecorder {
|
|
|
9317
9125
|
}
|
|
9318
9126
|
/** Build the span recorder for one run, or `undefined` when no exporter resolves (off by default; "configured but unreachable" also costs nothing). */
|
|
9319
9127
|
declare function createSupervisorSpanRecorder(opts: SupervisorSpanOptions): SupervisorSpanRecorder | undefined;
|
|
9320
|
-
//#endregion
|
|
9321
|
-
//#region src/runtime/supervise/run-context.d.ts
|
|
9322
9128
|
/** Options for a supervised run context. */
|
|
9323
9129
|
interface InMemoryRunContextOptions {
|
|
9324
9130
|
/**
|
|
@@ -9390,22 +9196,8 @@ declare function createInMemoryRunContext(opts?: InMemoryRunContextOptions): InM
|
|
|
9390
9196
|
* existing consumer writes to disk or resumes unless it asks for this.
|
|
9391
9197
|
*/
|
|
9392
9198
|
declare function createFileRunContext(dir: string, opts?: InMemoryRunContextOptions): RunContext;
|
|
9393
|
-
//#endregion
|
|
9394
|
-
//#region src/runtime/supervise/seat-chain.d.ts
|
|
9395
9199
|
/** A stage is authored in the immutable profile. A selection is a concrete, private placement. */
|
|
9396
|
-
|
|
9397
|
-
readonly harness: string;
|
|
9398
|
-
readonly provider: string;
|
|
9399
|
-
readonly model: string;
|
|
9400
|
-
readonly selector: {
|
|
9401
|
-
readonly kind: 'all-eligible';
|
|
9402
|
-
} | {
|
|
9403
|
-
readonly kind: 'seat';
|
|
9404
|
-
readonly id: string;
|
|
9405
|
-
};
|
|
9406
|
-
readonly tools?: AgentProfile['tools'];
|
|
9407
|
-
readonly permissions?: AgentProfile['permissions'];
|
|
9408
|
-
}
|
|
9200
|
+
type SeatStage = Readonly<NonNullable<AgentProfile['seats']>[number]>;
|
|
9409
9201
|
interface SeatSegment {
|
|
9410
9202
|
readonly seat: string;
|
|
9411
9203
|
readonly harness: string;
|
|
@@ -9447,8 +9239,6 @@ declare function subscriptionUsageLimitSignal(failure: {
|
|
|
9447
9239
|
readonly error: string;
|
|
9448
9240
|
readonly errorCode?: string;
|
|
9449
9241
|
}): 'subscription-usage-limit' | undefined;
|
|
9450
|
-
//#endregion
|
|
9451
|
-
//#region src/runtime/supervise/supervise-registry.d.ts
|
|
9452
9242
|
/** A name→value table in this package's resolver-port shape: construction stays the caller's,
|
|
9453
9243
|
* lookup stays lazy, and a table backed by a file, a plugin loader, or a plain object all
|
|
9454
9244
|
* satisfy one interface. */
|
|
@@ -9484,8 +9274,6 @@ interface SuperviseRegistry {
|
|
|
9484
9274
|
names(): readonly string[];
|
|
9485
9275
|
};
|
|
9486
9276
|
}
|
|
9487
|
-
//#endregion
|
|
9488
|
-
//#region src/runtime/supervise/worker-retry.d.ts
|
|
9489
9277
|
/** One re-entry, reported before it waits. */
|
|
9490
9278
|
interface WorkerSpawnRetryAttempt {
|
|
9491
9279
|
/** 1-based: the attempt that just failed. */
|
|
@@ -9566,8 +9354,6 @@ declare function withWorkerSpawnRetry(make: MakeWorkerAgent, policy: WorkerSpawn
|
|
|
9566
9354
|
declare function retryPreSpawnRefusals<Out>(inner: Executor<Out>, policy: ResolvedWorkerSpawnRetry, hooks?: WorkerSpawnRetryHooks & {
|
|
9567
9355
|
worker?: string;
|
|
9568
9356
|
}): Executor<Out>;
|
|
9569
|
-
//#endregion
|
|
9570
|
-
//#region src/runtime/supervise/worker-slots.d.ts
|
|
9571
9357
|
/**
|
|
9572
9358
|
* Worker slots: the one bound on how many spawned agents work at the same time.
|
|
9573
9359
|
*
|
|
@@ -9615,8 +9401,6 @@ interface SlotPermit {
|
|
|
9615
9401
|
* run that should share one bound.
|
|
9616
9402
|
*/
|
|
9617
9403
|
declare function createWorkerSlots(max?: number): WorkerSlots;
|
|
9618
|
-
//#endregion
|
|
9619
|
-
//#region src/runtime/supervise/supervise-options.d.ts
|
|
9620
9404
|
interface SuperviseOptions {
|
|
9621
9405
|
/** Whole-run persistence and ownership. SQL contexts are acquired before replay and compute. */
|
|
9622
9406
|
readonly runContext?: RunContext;
|
|
@@ -10160,8 +9944,6 @@ type DeliverableResolutionInput = AuthorizedSpawnContext;
|
|
|
10160
9944
|
interface SuperviseTestOptions extends SuperviseOptions {
|
|
10161
9945
|
readonly brain: ToolLoopChat;
|
|
10162
9946
|
}
|
|
10163
|
-
//#endregion
|
|
10164
|
-
//#region src/runtime/supervise/supervise-worker-backend.d.ts
|
|
10165
9947
|
/**
|
|
10166
9948
|
* Build the worker seam from a backend (WHERE workers run) + an optional completion oracle (the
|
|
10167
9949
|
* deliverable check that makes "settled ⟺ delivered" true — the guard against "ran but didn't
|
|
@@ -10186,8 +9968,6 @@ interface SuperviseTestOptions extends SuperviseOptions {
|
|
|
10186
9968
|
* a stamp asserting something that never happened.
|
|
10187
9969
|
*/
|
|
10188
9970
|
declare function workerFromBackend(backend: ExecutorConfig, deliverable?: DeliverableSpec<unknown>, seams?: () => Readonly<Record<string, unknown>>): MakeWorkerAgent;
|
|
10189
|
-
//#endregion
|
|
10190
|
-
//#region src/runtime/supervise/supervise.d.ts
|
|
10191
9971
|
/** Capabilities a data-only consumer may require before building an opted-in run. `graphTools`:
|
|
10192
9972
|
* a manager whose profile grants `run_graph` can start an agent graph as one subtask. */
|
|
10193
9973
|
declare const superviseFleetCapabilities: Readonly<{
|
|
@@ -10349,8 +10129,6 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
|
|
|
10349
10129
|
childWork: Spend;
|
|
10350
10130
|
};
|
|
10351
10131
|
}>;
|
|
10352
|
-
//#endregion
|
|
10353
|
-
//#region src/durable/run-fork.d.ts
|
|
10354
10132
|
/**
|
|
10355
10133
|
* Start a run as a version of a settled run: the parent's recorded root inputs plus one change.
|
|
10356
10134
|
*
|
|
@@ -10379,8 +10157,6 @@ interface PursuitFork {
|
|
|
10379
10157
|
* spend of every version of one lineage groups under one id.
|
|
10380
10158
|
*/
|
|
10381
10159
|
declare const RUN_FORK_CORRELATION_KEYS: readonly ["forkParentRunId", "forkParentSettleDigest", "forkProfileDiffId", "lineageRootRunId"];
|
|
10382
|
-
//#endregion
|
|
10383
|
-
//#region src/runtime/supervise/prompt-registry.d.ts
|
|
10384
10160
|
/**
|
|
10385
10161
|
*
|
|
10386
10162
|
* The kernel prompt registry — versioned prompt text as DATA, addressed by `PromptHandle`.
|
|
@@ -10453,8 +10229,6 @@ declare const dumbContinuationPassPrompt: RegisteredPrompt;
|
|
|
10453
10229
|
/** The kernel's seeded registry: every surface the runtime's own builders derive from. A caller
|
|
10454
10230
|
* may register additional surfaces/versions on the returned registry. */
|
|
10455
10231
|
declare function kernelPromptRegistry(): PromptRegistry;
|
|
10456
|
-
//#endregion
|
|
10457
|
-
//#region src/runtime/supervise/graph-flow.d.ts
|
|
10458
10232
|
/** A flow node's usable settle matched no routes edge leaving it (`unrouted`), or a fired edge named
|
|
10459
10233
|
* a node that still had a running worker (`target-live`). The flow spawned nothing more; the full
|
|
10460
10234
|
* evidence rides on the error, shaped like `GraphEdgeCapError`. */
|
|
@@ -10471,12 +10245,17 @@ declare class GraphRouteError extends Error {
|
|
|
10471
10245
|
readonly detail: string;
|
|
10472
10246
|
}, ledger: ReadonlyArray<EdgeTraversal>, result: SupervisedResult<unknown>);
|
|
10473
10247
|
}
|
|
10474
|
-
//#endregion
|
|
10475
|
-
//#region src/runtime/supervise/graph-topology.d.ts
|
|
10476
10248
|
/** Default per-edge traversal cap — the cyclic-graph backstop when an edge names none. */
|
|
10477
10249
|
declare const defaultEdgeTraversalCap = 32;
|
|
10478
|
-
|
|
10479
|
-
|
|
10250
|
+
/** An environment-owned check command, run outside the agent's conversation. */
|
|
10251
|
+
interface GraphCommandCheck {
|
|
10252
|
+
readonly command: string;
|
|
10253
|
+
readonly timeoutMs?: number;
|
|
10254
|
+
}
|
|
10255
|
+
interface GraphFromStoredOptions {
|
|
10256
|
+
readonly trigger?: Readonly<Record<string, unknown>>;
|
|
10257
|
+
readonly checks?: Readonly<Record<string, AgentGraph['deliverable']['check'] | GraphCommandCheck>>;
|
|
10258
|
+
}
|
|
10480
10259
|
/** A graph node: an id and a canonical `AgentProfile`. The profile is the ONLY way a node is
|
|
10481
10260
|
* described — its `prompt.systemPrompt` is the standing role (the 0.117 canonical resolution;
|
|
10482
10261
|
* never a legacy top-level-only reduction), its tools/mcp/resources are its capabilities. */
|
|
@@ -10625,10 +10404,16 @@ interface GraphTopology {
|
|
|
10625
10404
|
readonly gates?: AgentGraph['gates'];
|
|
10626
10405
|
}
|
|
10627
10406
|
interface AgentGraph {
|
|
10407
|
+
/** Preserve fully bound literal data when serializing a hydrated graph. */
|
|
10408
|
+
readonly triggerBindings?: readonly [];
|
|
10628
10409
|
readonly nodes: ReadonlyArray<GraphNode>;
|
|
10629
10410
|
readonly edges: ReadonlyArray<GraphEdge>;
|
|
10630
10411
|
/** Termination is mandatory, not optional: the independent completion oracle. */
|
|
10631
|
-
readonly deliverable: DeliverableSpec<unknown
|
|
10412
|
+
readonly deliverable: DeliverableSpec<unknown> & {
|
|
10413
|
+
readonly checkRef?: string;
|
|
10414
|
+
readonly command?: GraphCommandCheck;
|
|
10415
|
+
readonly when?: RouteWhen;
|
|
10416
|
+
};
|
|
10632
10417
|
/** One conserved pool across the whole graph — cycles without conservation never terminate. */
|
|
10633
10418
|
readonly budget: Budget;
|
|
10634
10419
|
/** Setting it makes this a FLOW graph: Runtime spawns every entry at once, each with its task,
|
|
@@ -10808,8 +10593,6 @@ declare function runGraph(graph: AgentGraph, opts: RunGraphOptions): Promise<Gra
|
|
|
10808
10593
|
/** Alias for graph tests written before `RunGraphOptions.brain` was production. The production
|
|
10809
10594
|
* entry accepts the same shape; this wrapper only keeps the `/testing` import path working. */
|
|
10810
10595
|
declare function runGraphWithTestBrain(graph: AgentGraph, opts: RunGraphTestOptions): Promise<GraphResult>;
|
|
10811
|
-
//#endregion
|
|
10812
|
-
//#region src/durable/observer-journal.d.ts
|
|
10813
10596
|
type ObserverRecordKind = 'event' | 'decision';
|
|
10814
10597
|
/**
|
|
10815
10598
|
* One immutable record in the observer plane. `sequence` is journal order, not
|
|
@@ -10853,6 +10636,8 @@ declare class FileObserverJournal implements ObserverJournal {
|
|
|
10853
10636
|
private previousDigest;
|
|
10854
10637
|
private appendFailure;
|
|
10855
10638
|
constructor(path: string, pursuitId: string);
|
|
10639
|
+
/** Open existing committed history by its recorded identity; never creates a file. */
|
|
10640
|
+
static open(path: string): Promise<FileObserverJournal | undefined>;
|
|
10856
10641
|
hooks(): RuntimeHooks;
|
|
10857
10642
|
appendEvent(event: RuntimeHookEvent): Promise<ObserverRecord>;
|
|
10858
10643
|
appendDecision(point: RuntimeDecisionPoint): Promise<ObserverRecord>;
|
|
@@ -10864,8 +10649,6 @@ declare class FileObserverJournal implements ObserverJournal {
|
|
|
10864
10649
|
}
|
|
10865
10650
|
/** Compute the canonical SHA-256 digest for an unsigned observer record. */
|
|
10866
10651
|
declare function observerRecordDigest(record: Omit<ObserverRecord, 'digest'>): string;
|
|
10867
|
-
//#endregion
|
|
10868
|
-
//#region src/durable/observer-projection.d.ts
|
|
10869
10652
|
/**
|
|
10870
10653
|
* One settled projection status, shared by runs and nodes. `down` is the journal's own word for a
|
|
10871
10654
|
* failure (a settlement is journaled as `kind: 'down'`, cancellation included), so a consumer can
|
|
@@ -10970,6 +10753,8 @@ interface PursuitRunProjection {
|
|
|
10970
10753
|
readonly status: PursuitStatus;
|
|
10971
10754
|
readonly settledAt?: number;
|
|
10972
10755
|
readonly error?: string;
|
|
10756
|
+
/** Runtime-classified root failure; absent in legacy observer history. */
|
|
10757
|
+
readonly failure?: RuntimeFailureCause;
|
|
10973
10758
|
/** Subscription execution of the root manager, ordered across seat changes. */
|
|
10974
10759
|
readonly segments?: ReadonlyArray<SeatSegment>;
|
|
10975
10760
|
readonly resumeAt?: string;
|
|
@@ -11037,6 +10822,7 @@ interface PursuitNodeProjection {
|
|
|
11037
10822
|
readonly score?: number;
|
|
11038
10823
|
readonly valid?: boolean;
|
|
11039
10824
|
readonly reason?: string;
|
|
10825
|
+
readonly failure?: RuntimeFailureCause;
|
|
11040
10826
|
/** Subscription execution of this logical child, ordered across seat changes. */
|
|
11041
10827
|
readonly segments?: ReadonlyArray<SeatSegment>;
|
|
11042
10828
|
readonly resumeAt?: string;
|
|
@@ -11095,8 +10881,6 @@ interface PursuitProjection {
|
|
|
11095
10881
|
* unmeasured channel into a zero, because a fabricated zero is indistinguishable from free work.
|
|
11096
10882
|
*/
|
|
11097
10883
|
declare function projectPursuit(records: readonly ObserverRecord[]): PursuitProjection;
|
|
11098
|
-
//#endregion
|
|
11099
|
-
//#region src/durable/pursuit-observer-delivery.d.ts
|
|
11100
10884
|
/**
|
|
11101
10885
|
* Where a pursuit's observer projection is delivered while it runs, so a run started anywhere is
|
|
11102
10886
|
* findable in one place by its pursuit id.
|
|
@@ -11125,8 +10909,6 @@ interface PursuitObserverDelivery {
|
|
|
11125
10909
|
readonly timeoutMs?: number;
|
|
11126
10910
|
readonly fetch?: typeof fetch;
|
|
11127
10911
|
}
|
|
11128
|
-
//#endregion
|
|
11129
|
-
//#region src/durable/run-reopen.d.ts
|
|
11130
10912
|
/** `supervisePursuit`'s `reopen` option: reopen this settled run under its own run id. */
|
|
11131
10913
|
interface RunReopen {
|
|
11132
10914
|
/** Who reopens the run. Required and non-empty. */
|
|
@@ -11146,8 +10928,6 @@ interface RunReopen {
|
|
|
11146
10928
|
*/
|
|
11147
10929
|
readonly budget?: Budget;
|
|
11148
10930
|
}
|
|
11149
|
-
//#endregion
|
|
11150
|
-
//#region src/durable/supervise-pursuit.d.ts
|
|
11151
10931
|
interface SupervisePursuitOptions extends SuperviseOptions {
|
|
11152
10932
|
/** Stable objective identity spanning concrete Runtime runs. */
|
|
11153
10933
|
readonly pursuitId: string;
|
|
@@ -11249,12 +11029,15 @@ interface SuperviseGraphPursuitOptions extends RunGraphOptions {
|
|
|
11249
11029
|
/** Stable objective identity spanning concrete Runtime runs. */
|
|
11250
11030
|
readonly pursuitId: string;
|
|
11251
11031
|
/** The directory this execution owns: journal, blobs, observer journal, lock and terminal
|
|
11252
|
-
* records. Re-running the same `runDir` and `runId` resumes
|
|
11032
|
+
* records. Re-running the same `runDir` and `runId` resumes an unsettled graph; a settled
|
|
11033
|
+
* graph requires an explicit `reopen`. */
|
|
11253
11034
|
readonly runDir: string;
|
|
11254
|
-
/** Always `'release'
|
|
11035
|
+
/** Always `'release'`: a reopened segment reuses its journal, not retired environments. */
|
|
11255
11036
|
readonly retainedAtSettlement?: 'release';
|
|
11256
11037
|
/** As for {@link supervisePursuit}. */
|
|
11257
11038
|
readonly observerDelivery?: PursuitObserverDelivery;
|
|
11039
|
+
/** Explicitly reopen a settled segment under this graph's existing run id and journal. */
|
|
11040
|
+
readonly reopen?: RunReopen;
|
|
11258
11041
|
}
|
|
11259
11042
|
/**
|
|
11260
11043
|
* One-call durable execution of an `AgentGraph`: the graph twin of {@link supervisePursuit}.
|
|
@@ -11266,11 +11049,10 @@ interface SuperviseGraphPursuitOptions extends RunGraphOptions {
|
|
|
11266
11049
|
* the graph from its spawn journal. `result.json` holds the graph's supervised result, the same
|
|
11267
11050
|
* record every supervised run leaves; the edge ledger is the journal's `edge` events and the
|
|
11268
11051
|
* returned `result.ledger`. Version chains and forks are `supervisePursuit` features and are not
|
|
11269
|
-
* offered here.
|
|
11052
|
+
* offered here. An explicit `reopen` uses the same archived-settle and resume contract as
|
|
11053
|
+
* `supervisePursuit`; ordinary re-entry of a settled graph stays refused.
|
|
11270
11054
|
*/
|
|
11271
11055
|
declare function superviseGraphPursuit(graph: AgentGraph, opts: SuperviseGraphPursuitOptions): Promise<SupervisedPursuitResult<GraphResult>>;
|
|
11272
|
-
//#endregion
|
|
11273
|
-
//#region src/durable/pursuit-versions.d.ts
|
|
11274
11056
|
/**
|
|
11275
11057
|
* Continue a pursuit across versions: after each version settles, an outside judge scores it, and
|
|
11276
11058
|
* the next version forks from the version the chain keeps with one change, until the stop rule
|
|
@@ -11396,8 +11178,6 @@ interface PursuitVersionChain {
|
|
|
11396
11178
|
* a caller that records the option as data can run it at preflight.
|
|
11397
11179
|
*/
|
|
11398
11180
|
declare function assertPursuitVersions(versions: unknown): asserts versions is PursuitVersions;
|
|
11399
|
-
//#endregion
|
|
11400
|
-
//#region src/runtime/isolated-checker.d.ts
|
|
11401
11181
|
interface IsolatedCheckOptions {
|
|
11402
11182
|
/** Trusted workspace boundary containing the untrusted tree. */
|
|
11403
11183
|
workspaceRoot: string;
|
|
@@ -11502,8 +11282,6 @@ type IsolatedCheckResult = {
|
|
|
11502
11282
|
* command there with only the environment `env` names, and deletes the box.
|
|
11503
11283
|
*/
|
|
11504
11284
|
declare function runIsolatedCheck(options: IsolatedCheckOptions): Promise<IsolatedCheckResult>;
|
|
11505
|
-
//#endregion
|
|
11506
|
-
//#region src/runtime/declared-check.d.ts
|
|
11507
11285
|
/** A check program as a record declares it. */
|
|
11508
11286
|
interface DeclaredCheck {
|
|
11509
11287
|
/** The evaluator program's files. A directory whose canonical digest differs is refused. */
|
|
@@ -11589,8 +11367,6 @@ declare function declaredCheckDeliverable(check: DeclaredCheck, placement: Decla
|
|
|
11589
11367
|
* `null`, which never counts as an improvement.
|
|
11590
11368
|
*/
|
|
11591
11369
|
declare function declaredCheckJudge(check: DeclaredCheck, placement: DeclaredCheckPlacement): VersionJudge;
|
|
11592
|
-
//#endregion
|
|
11593
|
-
//#region src/runtime/define-leaderboard.d.ts
|
|
11594
11370
|
/** Structured per-case verdict a `score` function may return (a bare number is
|
|
11595
11371
|
* shorthand for `{ composite }`). `composite` is the [0,1] leaderboard score;
|
|
11596
11372
|
* `dimensions` are recorded as extra judge dimensions. */
|
|
@@ -11779,8 +11555,6 @@ interface DefinedLeaderboard<TCase, TArtifact = string> {
|
|
|
11779
11555
|
* exposes the same domain as a structural `BenchmarkAdapter`.
|
|
11780
11556
|
*/
|
|
11781
11557
|
declare function defineLeaderboard<TCase, TArtifact = string>(spec: LeaderboardSpec<TCase, TArtifact>): DefinedLeaderboard<TCase, TArtifact>;
|
|
11782
|
-
//#endregion
|
|
11783
|
-
//#region src/runtime/environment-provider/provider-sandbox-adapter.d.ts
|
|
11784
11558
|
/** Adapt a neutral environment provider to the `SandboxClient` interface used by existing loop paths.
|
|
11785
11559
|
* @experimental */
|
|
11786
11560
|
declare function providerAsSandboxClient(provider: AgentEnvironmentProvider, options?: ProviderAsSandboxClientOptions): SandboxClient;
|
|
@@ -11805,8 +11579,6 @@ interface ProviderAsSandboxClientOptions {
|
|
|
11805
11579
|
* callback, unsupported fields are refused before any environment is created. */
|
|
11806
11580
|
mapCreateOptions?: (options: CreateSandboxOptions | undefined) => Partial<CreateAgentEnvironmentInput>;
|
|
11807
11581
|
}
|
|
11808
|
-
//#endregion
|
|
11809
|
-
//#region src/runtime/personify/types.d.ts
|
|
11810
11582
|
/**
|
|
11811
11583
|
* The terminal contract: a loop returns a FINISHED deliverable, or the concrete
|
|
11812
11584
|
* list of blockers that stopped it — never a half-done best-effort coercion. A `blocked`
|
|
@@ -12027,8 +11799,6 @@ interface RunPersonifiedOptions<Task, D> {
|
|
|
12027
11799
|
}
|
|
12028
11800
|
/** The composed run signature. */
|
|
12029
11801
|
type RunPersonified = <Task, D>(options: RunPersonifiedOptions<Task, D>) => Promise<SupervisedResult<Outcome<D>>>;
|
|
12030
|
-
//#endregion
|
|
12031
|
-
//#region src/runtime/personify/wave-types.d.ts
|
|
12032
11802
|
/**
|
|
12033
11803
|
* A combinator is just a `LoopShape`: a factory `(ShapeContext) => Agent` whose `Agent.act`
|
|
12034
11804
|
* runs the combinator's structure over the `Scope` (spawn children, drain `next()`, select via
|
|
@@ -12518,8 +12288,6 @@ interface EqualKOnCostOptions {
|
|
|
12518
12288
|
* the impl (e.g. 0.05). A tighter tolerance = a stricter equal-compute claim. */
|
|
12519
12289
|
readonly tolerance?: number;
|
|
12520
12290
|
}
|
|
12521
|
-
//#endregion
|
|
12522
|
-
//#region src/runtime/observe.d.ts
|
|
12523
12291
|
interface ObserveInput {
|
|
12524
12292
|
/** What the worker was asked to do. */
|
|
12525
12293
|
task: string;
|
|
@@ -12595,8 +12363,6 @@ declare function observe(input: ObserveInput, opts: ObserveOptions): Promise<Obs
|
|
|
12595
12363
|
/** Operator-facing report, split by who should act. The agent block is the
|
|
12596
12364
|
* steer; the operator block is the advice. */
|
|
12597
12365
|
declare function renderReport(findings: ReadonlyArray<AnalystFinding>): string;
|
|
12598
|
-
//#endregion
|
|
12599
|
-
//#region src/runtime/harvest-corpus.d.ts
|
|
12600
12366
|
type HarvestCorpusOptions = ObserveOptions & {
|
|
12601
12367
|
/** The completed runs to analyze — map your store's rows to `ObserveInput`. */
|
|
12602
12368
|
runs: AsyncIterable<ObserveInput> | Iterable<ObserveInput>;
|
|
@@ -12632,10 +12398,8 @@ declare class HarvestError extends Error {
|
|
|
12632
12398
|
}
|
|
12633
12399
|
/** Batch the selected observation implementation over completed runs and retain its findings. */
|
|
12634
12400
|
declare function harvestCorpus(opts: HarvestCorpusOptions): Promise<HarvestReport>;
|
|
12635
|
-
//#endregion
|
|
12636
|
-
//#region src/runtime/strategy-author.d.ts
|
|
12637
12401
|
/** The compressed consumable a skill carries: everything an author needs to emit a loop. */
|
|
12638
|
-
declare const strategyAuthorContract = "\nYou author an OPTIMIZATION STRATEGY for an agentic loop system. A strategy decides how to\nspend a compute budget to beat a task's deployable check. You compose exactly two steps:\n\n shot(spec?: { handle?, messages?, steer?, profile?, tools? }): Promise<ShotResult | null>\n Runs ONE worker attempt (a bounded tool loop) over an artifact.\n - omit handle => the shot opens its OWN fresh artifact and closes it after (a sample).\n - pass handle => the shot CONTINUES that artifact (state accumulates across shots).\n - messages => the carried conversation (pass the previous ShotResult.messages to continue).\n - steer => a corrective instruction injected before the shot.\n - profile => a complete AgentProfile — give THIS shot its own instructions,\n model, skills, tools, hooks, and subagents. Include name, harness, and\n model: { provider, default }; put standing instructions in prompt.
|
|
12402
|
+
declare const strategyAuthorContract = "\nYou author an OPTIMIZATION STRATEGY for an agentic loop system. A strategy decides how to\nspend a compute budget to beat a task's deployable check. You compose exactly two steps:\n\n shot(spec?: { handle?, messages?, steer?, profile?, tools? }): Promise<ShotResult | null>\n Runs ONE worker attempt (a bounded tool loop) over an artifact.\n - omit handle => the shot opens its OWN fresh artifact and closes it after (a sample).\n - pass handle => the shot CONTINUES that artifact (state accumulates across shots).\n - messages => the carried conversation (pass the previous ShotResult.messages to continue).\n - steer => a corrective instruction injected before the shot.\n - profile => a complete AgentProfile — give THIS shot its own instructions,\n model, skills, tools, hooks, and subagents. Include name, harness, and\n model: { provider, default }; put standing instructions in prompt.appendSystemPrompt.\n For example: { ...opts.workerProfile, name: 'researcher',\n prompt: { ...opts.workerProfile.prompt,\n appendSystemPrompt: 'Inspect the evidence before proposing a change.' } }.\n Choose an available model from the current execution setup. Omit profile to use\n the worker's exact profile. Every shot spends from the same conserved budget.\n - tools => string[] — restrict THIS shot to a subset of the task's tools by\n name (focus an explore shot on read-only tools, an execute shot on write tools).\n Restriction-only; unknown names make the shot fail. ALWAYS select from\n await listTools(handle) — never hardcode. Omitted => the shot sees every tool.\n ShotResult = { messages, score (0..1 on the task's check), passes, total, completions, toolErrors }\n Returns null if the attempt failed infra-wise.\n\n critique(messages): Promise<string | null>\n A firewalled trace-analyst reads the attempt's trajectory and returns ONE corrective\n instruction (or null when it judges the work complete). Costs ~1 completion.\n\n consult(messages, instruction): Promise<string | null>\n The RAW analyst channel: the same firewalled critic answers YOUR instruction over the\n trajectory verbatim (no reformatting) — use it when you need a specific reply format\n (a decision, a prediction). Costs ~1 completion.\n\n surface.open(task) / surface.close(handle)\n Open a persistent artifact you manage yourself (remember to close in a finally).\n close is idempotent — closing an already-closed handle is a safe no-op.\n\n listTools(handle): Promise<Array<{ name, description? }>>\n The tools THIS task actually offers. TOOL SETS VARY PER TASK — if you restrict a\n shot with `tools`, you MUST pick names from await listTools(handle); hardcoding\n names from an example kills your shots on every task whose tools differ.\n\nRules:\n- ALWAYS await every shot/critique/surface call — a floating promise that rejects\n crashes the whole benchmark run.\n- Stay within ~budget total shots; every shot/critique spends from a conserved pool.\n- For a FRESH attempt OMIT `messages` entirely (never pass `[]` — an empty array is a\n fresh conversation too, but be explicit). To CONTINUE, pass the previous\n ShotResult.messages unchanged.\n- Return { score, resolved, completions, progression, shots } — score = the BEST checkpoint\n you reached (keep-best, never final-state), progression = score after each shot.\n- The module must be EXACTLY this shape (no other imports, no commentary outside code):\n\nimport { defineStrategy } from '@tangle-network/agent-runtime/kernel'\nexport default defineStrategy('your-strategy-name', async ({ surface, task, opts, budget, shot, critique, listTools }) => {\n // your composition (listTools comes from the destructured context — it is NOT a global)\n})\n";
|
|
12639
12403
|
interface AuthorStrategyOptions {
|
|
12640
12404
|
/** Exact author identity. Runtime binds it to every authoring turn. */
|
|
12641
12405
|
profile: AgentProfile;
|
|
@@ -12773,8 +12537,6 @@ declare const sampleThenRefine: Strategy<{
|
|
|
12773
12537
|
progression: number[];
|
|
12774
12538
|
shots: number;
|
|
12775
12539
|
}>;
|
|
12776
|
-
//#endregion
|
|
12777
|
-
//#region src/runtime/strategy.d.ts
|
|
12778
12540
|
interface AgenticTask {
|
|
12779
12541
|
readonly id: string;
|
|
12780
12542
|
readonly userPrompt: string;
|
|
@@ -12904,8 +12666,6 @@ interface RunAgenticOptions<Result extends StrategyResult = StrategyResult> exte
|
|
|
12904
12666
|
}
|
|
12905
12667
|
/** Run a Strategy through the keystone Supervisor — `Agent.act` over a conserved-budget Scope. */
|
|
12906
12668
|
declare function runAgentic<Result extends StrategyResult = StrategyResult>(opts: RunAgenticOptions<Result>): Promise<AgenticRunResult & Result>;
|
|
12907
|
-
//#endregion
|
|
12908
|
-
//#region src/runtime/stdio-mcp-client.d.ts
|
|
12909
12669
|
interface StdioMcpServerSpec {
|
|
12910
12670
|
/** Command that starts the MCP server (stdio transport). */
|
|
12911
12671
|
command: string;
|
|
@@ -12979,8 +12739,6 @@ interface LocalMcpMaterialization {
|
|
|
12979
12739
|
* scored as if it had no MCP surface.
|
|
12980
12740
|
*/
|
|
12981
12741
|
declare function materializeLocalMcp(profile: AgentProfile, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
|
|
12982
|
-
//#endregion
|
|
12983
|
-
//#region src/runtime/http-mcp-client.d.ts
|
|
12984
12742
|
interface HttpMcpServerSpec {
|
|
12985
12743
|
/** The MCP endpoint URL, e.g. `https://host/mcp`. */
|
|
12986
12744
|
url: string;
|
|
@@ -12994,8 +12752,6 @@ interface HttpMcpServerSpec {
|
|
|
12994
12752
|
/** Override fetch (tests + constrained runtimes). */
|
|
12995
12753
|
fetchImpl?: typeof fetch;
|
|
12996
12754
|
}
|
|
12997
|
-
//#endregion
|
|
12998
|
-
//#region src/runtime/in-process-sandbox-client.d.ts
|
|
12999
12755
|
/** Context handed to each `onPrompt` call. */
|
|
13000
12756
|
interface InProcessPromptCtx {
|
|
13001
12757
|
/** 0-based round index — increments per `streamPrompt` on the same box.
|
|
@@ -13052,8 +12808,6 @@ interface InProcessSandboxClientOptions {
|
|
|
13052
12808
|
* @experimental
|
|
13053
12809
|
*/
|
|
13054
12810
|
declare function inProcessSandboxClient(options: InProcessSandboxClientOptions): SandboxClient;
|
|
13055
|
-
//#endregion
|
|
13056
|
-
//#region src/runtime/inline-sandbox-client.d.ts
|
|
13057
12811
|
/**
|
|
13058
12812
|
* Adapt an `ExecutorFactory` into a `SandboxClient` for `runAgentRounds`. The factory is
|
|
13059
12813
|
* instantiated fresh per `streamPrompt` (mirrors the per-spawn executor lifecycle):
|
|
@@ -13065,8 +12819,6 @@ declare function inProcessSandboxClient(options: InProcessSandboxClientOptions):
|
|
|
13065
12819
|
declare function inlineSandboxClient(factory: ExecutorFactory<unknown>, defaults?: {
|
|
13066
12820
|
profile?: AgentProfile;
|
|
13067
12821
|
}): SandboxClient;
|
|
13068
|
-
//#endregion
|
|
13069
|
-
//#region src/runtime/iteration-result.d.ts
|
|
13070
12822
|
/**
|
|
13071
12823
|
* The kernel's winner argmax — best-valid-score, ties broken by earliest index,
|
|
13072
12824
|
* falling back to the best-scoring non-errored output when none is valid. Exported
|
|
@@ -13086,8 +12838,6 @@ declare function defaultSelectWinner<Task, Output>(iterations: Iteration<Task, O
|
|
|
13086
12838
|
declare const TERMINAL_DECISIONS: readonly ["stop", "pick-winner", "fail", "done"];
|
|
13087
12839
|
/** One of the kernel's terminal decision values. @stable */
|
|
13088
12840
|
type TerminalDecision = (typeof TERMINAL_DECISIONS)[number];
|
|
13089
|
-
//#endregion
|
|
13090
|
-
//#region src/runtime/local-sandbox-client.d.ts
|
|
13091
12841
|
interface LocalSandboxClientOptions {
|
|
13092
12842
|
/** Optional code-mode presentation over the same explicitly trusted MCP tools. */
|
|
13093
12843
|
codeMode?: true | CodeModeToolsOptions;
|
|
@@ -13105,8 +12855,6 @@ interface LocalSandboxClientOptions {
|
|
|
13105
12855
|
* different per-create profile and provides no host isolation. */
|
|
13106
12856
|
profileSecurityPolicy?: AgentProfileSecurityPolicy;
|
|
13107
12857
|
}
|
|
13108
|
-
//#endregion
|
|
13109
|
-
//#region src/runtime/loop-dispatch.d.ts
|
|
13110
12858
|
/** runAgentRounds options minus the `ctx` (loopDispatch builds the ctx). */
|
|
13111
12859
|
type LoopOptionsForDispatch<Task, Output, Decision> = Omit<RunAgentRoundsOptions<Task, Output, Decision>, 'ctx'>;
|
|
13112
12860
|
interface LoopDispatchOptions<Task, Output, Decision, TScenario extends Scenario, TArtifact> {
|
|
@@ -13201,8 +12949,6 @@ declare function loopCampaignDispatch<Task, Output, Decision, TScenario extends
|
|
|
13201
12949
|
* inside Eval's paid-call lifecycle.
|
|
13202
12950
|
*/
|
|
13203
12951
|
declare function loopDispatch<Task, Output, Decision, TScenario extends Scenario, TArtifact>(opts: LoopDispatchOptions<Task, Output, Decision, TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
|
|
13204
|
-
//#endregion
|
|
13205
|
-
//#region src/runtime/run-benchmark.d.ts
|
|
13206
12952
|
/** A checkable task domain — implement these 5 hooks and the suite does the rest. The
|
|
13207
12953
|
* same seam as `AgenticSurface`; `Environment` is the RL/gym-standard name for it. */
|
|
13208
12954
|
type Environment = AgenticSurface;
|
|
@@ -13302,8 +13048,6 @@ interface BenchmarkReport {
|
|
|
13302
13048
|
declare function runBenchmark(cfg: BenchmarkConfig): Promise<BenchmarkReport>;
|
|
13303
13049
|
/** Pretty-print a report — the "free optimization" verdict, with the cost vector. */
|
|
13304
13050
|
declare function printBenchmarkReport(report: BenchmarkReport): void;
|
|
13305
|
-
//#endregion
|
|
13306
|
-
//#region src/runtime/mcp-environment.d.ts
|
|
13307
13051
|
/** Where a handle's MCP server lives; headers carry per-artifact scoping. */
|
|
13308
13052
|
interface McpEndpoint {
|
|
13309
13053
|
url: string;
|
|
@@ -13331,8 +13075,6 @@ interface McpEnvironmentOptions {
|
|
|
13331
13075
|
declare function sanitizeMcpToolSchema(s: unknown): Record<string, unknown>;
|
|
13332
13076
|
/** Wrap any MCP server as an `Environment`: `tools/list` becomes `AgenticTool[]` with provider-safe schemas; the domain supplies only the artifact lifecycle hooks. */
|
|
13333
13077
|
declare function createMcpEnvironment(opts: McpEnvironmentOptions): Environment;
|
|
13334
|
-
//#endregion
|
|
13335
|
-
//#region src/runtime/observation-registry.d.ts
|
|
13336
13078
|
/** Adapt any Eval analyst registry, including recursive engines, to observation and harvesting. */
|
|
13337
13079
|
declare function observationFromRegistry(registry: Pick<AnalystRegistry, 'run'>, options: {
|
|
13338
13080
|
inputs: AnalystRunInputs$1 | ((input: ObserveInput) => AnalystRunInputs$1 | Promise<AnalystRunInputs$1>);
|
|
@@ -13342,8 +13084,6 @@ declare function observationFromRegistry(registry: Pick<AnalystRegistry, 'run'>,
|
|
|
13342
13084
|
/** Retain the complete registry result, including unsuccessful analysts, in caller-owned storage. */
|
|
13343
13085
|
record?: (result: AnalystRunResult$1, input: ObserveInput) => void | Promise<void>;
|
|
13344
13086
|
}): ObservationAnalysis;
|
|
13345
|
-
//#endregion
|
|
13346
|
-
//#region src/runtime/personify/analyst.d.ts
|
|
13347
13087
|
/** Reject analyst findings derived from evaluation scores instead of execution traces. */
|
|
13348
13088
|
declare const assertTraceDerivedFindings: AssertTraceDerivedFindings;
|
|
13349
13089
|
/**
|
|
@@ -13418,8 +13158,6 @@ declare function registryScopeAnalyst<D>(registry: AnalystRegistryLike, buildInp
|
|
|
13418
13158
|
* that must never leak.
|
|
13419
13159
|
*/
|
|
13420
13160
|
declare function buildSteerContext<D>(findings: ReadonlyArray<AnalystFinding>, settledSoFar: ReadonlyArray<Settled<Outcome<D>>>): SteerContext<D>;
|
|
13421
|
-
//#endregion
|
|
13422
|
-
//#region src/runtime/personify/combinators.d.ts
|
|
13423
13161
|
/**
|
|
13424
13162
|
* The single content-free valid-only winner selector. Among the gated-VALID children only
|
|
13425
13163
|
* (`verdict.valid === true`), pick by `strategy` — best score / smallest delivered artifact /
|
|
@@ -13515,8 +13253,6 @@ declare function widen<Task, Seed, D>(spec: WidenSpec<Seed, D>): CombinatorShape
|
|
|
13515
13253
|
* dormant. A gate run passes this explicitly; a test asserts the default is flat.
|
|
13516
13254
|
*/
|
|
13517
13255
|
declare function flatWidenGate<D>(): ScopeWidenGate<D>;
|
|
13518
|
-
//#endregion
|
|
13519
|
-
//#region src/runtime/personify/corpus.d.ts
|
|
13520
13256
|
/**
|
|
13521
13257
|
* In-memory `Corpus`. Keyed by record `id`; `append` validates the record, is idempotent on an
|
|
13522
13258
|
* identical re-append, and returns a typed `{ succeeded: false }` on a conflicting re-append under
|
|
@@ -13567,8 +13303,6 @@ declare class FileCorpus implements Corpus {
|
|
|
13567
13303
|
* "nothing learned yet" read, not an error).
|
|
13568
13304
|
*/
|
|
13569
13305
|
declare function renderCorpusToInstructions(opts: RenderCorpusToInstructionsOptions): Promise<AgentProfile>;
|
|
13570
|
-
//#endregion
|
|
13571
|
-
//#region src/runtime/personify/persona.d.ts
|
|
13572
13306
|
/**
|
|
13573
13307
|
* Build a frozen `Persona`. Fails loud on the executors-supplied invariant: a persona with
|
|
13574
13308
|
* neither a pre-built registry nor a seam bag cannot resolve its built-in runtimes, so it is
|
|
@@ -13587,8 +13321,6 @@ declare function definePersona<D = unknown>(input: DefinePersonaInput<D>): Perso
|
|
|
13587
13321
|
* @stable
|
|
13588
13322
|
*/
|
|
13589
13323
|
declare function runPersonified<Task, D>(options: RunPersonifiedOptions<Task, D>): Promise<SupervisedResult<Outcome<D>>>;
|
|
13590
|
-
//#endregion
|
|
13591
|
-
//#region src/runtime/personify/trajectory.d.ts
|
|
13592
13324
|
/**
|
|
13593
13325
|
* Reconstruct the whole spawn tree for `root` with per-node + rolled-up `Spend`. Reads the
|
|
13594
13326
|
* journal for structure + spend and, when `withOutputs`, the blob store for each `done`
|
|
@@ -13610,8 +13342,6 @@ declare function trajectoryReport(journal: SpawnJournal, blobs: ResultBlobStore,
|
|
|
13610
13342
|
* identical work would read as unequal compute whenever their cache hit rates differed.
|
|
13611
13343
|
*/
|
|
13612
13344
|
declare function equalKOnCost(arms: ReadonlyArray<EqualKArm>, options?: EqualKOnCostOptions): EqualKVerdict;
|
|
13613
|
-
//#endregion
|
|
13614
|
-
//#region src/runtime/private-cas.d.ts
|
|
13615
13345
|
/**
|
|
13616
13346
|
* Off-host storage that holds a private CAS's bytes after the host deletes its local copy.
|
|
13617
13347
|
* Keys are the run namespace and the content digest, so a retry stores the same object again.
|
|
@@ -13716,8 +13446,6 @@ interface PrivateCasArtifactPort extends AgentCandidateOutputArtifactPort {
|
|
|
13716
13446
|
* but by a caller that copies and syncs what it keeps.
|
|
13717
13447
|
*/
|
|
13718
13448
|
declare function createPrivateCasArtifactPort(root: string, namespace: string, options?: PrivateCasOptions): PrivateCasArtifactPort;
|
|
13719
|
-
//#endregion
|
|
13720
|
-
//#region src/runtime/profile-chat-client.d.ts
|
|
13721
13449
|
/** Profile-exact adapter for packages that consume agent-eval's ChatClient contract.
|
|
13722
13450
|
* Every call still enters Runtime through createExecutor -> streamAgentTurn, and every
|
|
13723
13451
|
* behavioral field is checked against the exact AgentProfile before any transport runs. */
|
|
@@ -13735,8 +13463,6 @@ declare function profileOptimizerModelCall(args: {
|
|
|
13735
13463
|
context: string;
|
|
13736
13464
|
pricing?: CustomTokenPricing;
|
|
13737
13465
|
}): ExternalOptimizerModelCall;
|
|
13738
|
-
//#endregion
|
|
13739
|
-
//#region src/runtime/resolve-sandbox-client.d.ts
|
|
13740
13466
|
interface ResolveSandboxClientOptions {
|
|
13741
13467
|
/** The execution transport for the driven loop. */
|
|
13742
13468
|
backend: 'sandbox' | 'bridge' | 'router' | 'local';
|
|
@@ -13765,8 +13491,6 @@ interface ResolveSandboxClientOptions {
|
|
|
13765
13491
|
* `createExecutor`/`inlineSandboxClient` branch in each product.
|
|
13766
13492
|
*/
|
|
13767
13493
|
declare function resolveSandboxClient(opts: ResolveSandboxClientOptions): SandboxClient;
|
|
13768
|
-
//#endregion
|
|
13769
|
-
//#region src/runtime/retained-interactive.d.ts
|
|
13770
13494
|
/**
|
|
13771
13495
|
* Start one retry-safe native coding-agent TUI without dispatching a headless turn.
|
|
13772
13496
|
* The intent admission is durable before provider.create; the environment and
|
|
@@ -13784,8 +13508,6 @@ declare function startRetainedInteractiveRun(options: StartRetainedInteractiveRu
|
|
|
13784
13508
|
declare function recoverRetainedInteractiveRun(options: RecoverRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
|
|
13785
13509
|
/** Rebuild controls for one exact provider-owned coding-agent process. @stable */
|
|
13786
13510
|
declare function reconnectRetainedInteractiveRun(options: ReconnectRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
|
|
13787
|
-
//#endregion
|
|
13788
|
-
//#region src/runtime/retained-interactive-control.d.ts
|
|
13789
13511
|
/** Input for acquiring write authority over one exact interactive process. @stable */
|
|
13790
13512
|
interface ClaimRetainedInteractiveControlOptions {
|
|
13791
13513
|
readonly handle: RetainedInteractiveRunHandle;
|
|
@@ -13804,8 +13526,6 @@ interface ClaimRetainedInteractiveControlOptions {
|
|
|
13804
13526
|
* @stable
|
|
13805
13527
|
*/
|
|
13806
13528
|
declare function claimRetainedInteractiveControl(options: ClaimRetainedInteractiveControlOptions): Promise<AgentInteractiveSessionControlClaim>;
|
|
13807
|
-
//#endregion
|
|
13808
|
-
//#region src/runtime/retained-run-start.d.ts
|
|
13809
13529
|
/**
|
|
13810
13530
|
* Dispatch one detached, replayable run and return only after exact durable
|
|
13811
13531
|
* coordinates are confirmed by the provider and persisted by the caller.
|
|
@@ -13852,8 +13572,6 @@ declare function recoverRetainedRun(options: RecoverRetainedRunIntentOptions): P
|
|
|
13852
13572
|
declare function recoverRetainedRun(options: RecoverRetainedRunOptions): Promise<RecoverRetainedRunResult>;
|
|
13853
13573
|
/** Rebuild a retained-run client without retaining any object from the starter. @stable */
|
|
13854
13574
|
declare function reconnectRetainedRun(options: ReconnectRetainedRunOptions): Promise<RetainedRunHandle | null>;
|
|
13855
|
-
//#endregion
|
|
13856
|
-
//#region src/runtime/s3-private-cas-namespace.d.ts
|
|
13857
13575
|
interface PrivateCasNamespaceObject {
|
|
13858
13576
|
readonly key: string;
|
|
13859
13577
|
readonly etag: string;
|
|
@@ -13889,8 +13607,6 @@ interface PrivateCasNamespaceOperations {
|
|
|
13889
13607
|
signal?: AbortSignal;
|
|
13890
13608
|
}): Promise<PrivateCasNamespaceRetirement>;
|
|
13891
13609
|
}
|
|
13892
|
-
//#endregion
|
|
13893
|
-
//#region src/runtime/s3-private-cas-store.d.ts
|
|
13894
13610
|
/** An S3-compatible bucket (Amazon S3, Cloudflare R2) addressed with path-style requests. */
|
|
13895
13611
|
interface S3PrivateCasStoreOptions {
|
|
13896
13612
|
/** HTTPS origin of the S3 API, for example `https://<account>.r2.cloudflarestorage.com`. */
|
|
@@ -13934,8 +13650,6 @@ interface S3PrivateCasStore extends PrivateCasDurableStore, PrivateCasNamespaceO
|
|
|
13934
13650
|
* metadata. Reads return raw bytes; the private CAS port verifies them.
|
|
13935
13651
|
*/
|
|
13936
13652
|
declare function createS3PrivateCasStore(options: S3PrivateCasStoreOptions): S3PrivateCasStore;
|
|
13937
|
-
//#endregion
|
|
13938
|
-
//#region src/runtime/sandbox-acquire.d.ts
|
|
13939
13653
|
/** @experimental */
|
|
13940
13654
|
interface AcquireOptions {
|
|
13941
13655
|
/**
|
|
@@ -13965,8 +13679,6 @@ interface AcquireOptions {
|
|
|
13965
13679
|
* @experimental
|
|
13966
13680
|
*/
|
|
13967
13681
|
declare function acquireSandbox(client: SandboxClient, options: CreateSandboxOptions, acquire?: AcquireOptions): Promise<SandboxInstance>;
|
|
13968
|
-
//#endregion
|
|
13969
|
-
//#region src/runtime/sandbox-lineage.d.ts
|
|
13970
13682
|
/**
|
|
13971
13683
|
* A live box plus the session that threads its iterations together. Handed back
|
|
13972
13684
|
* by `start`/`fork`, passed into `continue`/`fork` to descend from. Opaque to
|
|
@@ -14057,8 +13769,6 @@ declare function createSandboxLineage(client: SandboxClient, options?: {
|
|
|
14057
13769
|
beforeDelete?: (box: SandboxInstance) => Promise<void>;
|
|
14058
13770
|
onAcquire?: (box: SandboxInstance, profile: AgentProfile) => void;
|
|
14059
13771
|
}): SandboxLineage;
|
|
14060
|
-
//#endregion
|
|
14061
|
-
//#region src/runtime/sandbox-run.d.ts
|
|
14062
13772
|
/**
|
|
14063
13773
|
* How a typed deliverable `Out` is materialized from a finished turn.
|
|
14064
13774
|
* - `events` — pure parse over the event array (identical to `OutputAdapter`).
|
|
@@ -14177,8 +13887,6 @@ interface OpenSandboxRunOptions {
|
|
|
14177
13887
|
* @experimental
|
|
14178
13888
|
*/
|
|
14179
13889
|
declare function openSandboxRun<Out>(client: SandboxClient, options: OpenSandboxRunOptions, deliverable: Deliverable<Out>): Promise<SandboxRun<Out>>;
|
|
14180
|
-
//#endregion
|
|
14181
|
-
//#region src/runtime/strategy-evolution.d.ts
|
|
14182
13890
|
interface EvolutionAuthor {
|
|
14183
13891
|
/** Exact author identity. */
|
|
14184
13892
|
profile: AgentProfile;
|
|
@@ -14320,8 +14028,6 @@ declare function runStrategyEvolution(cfg: StrategyEvolutionConfig): Promise<Evo
|
|
|
14320
14028
|
* by task and repeat, keyed by strategy name. `names` maps node ids to report names.
|
|
14321
14029
|
*/
|
|
14322
14030
|
declare function strategyTournament(state: SearchStateView, split: SearchSplit, names: ReadonlyMap<string, string>): StrategyTournament;
|
|
14323
|
-
//#endregion
|
|
14324
|
-
//#region src/runtime/stream-agent-turn.d.ts
|
|
14325
14031
|
/**
|
|
14326
14032
|
* The execution substrate one turn runs on — a closed discriminated union over
|
|
14327
14033
|
* the three stream surfaces the runtime already owns.
|
|
@@ -14440,8 +14146,6 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
14440
14146
|
* @stable
|
|
14441
14147
|
*/
|
|
14442
14148
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
14443
|
-
//#endregion
|
|
14444
|
-
//#region src/runtime/structural-rollout.d.ts
|
|
14445
14149
|
/** Provider-neutral conversation records read by structural candidate extraction. */
|
|
14446
14150
|
type StructuralRolloutMessage = Record<string, unknown>;
|
|
14447
14151
|
/** The rollout's compute recipe — promoted from the proven rigs' env vars (K/REPAIRS/
|
|
@@ -14615,15 +14319,11 @@ interface StructuralRolloutConfig {
|
|
|
14615
14319
|
* `k + repairRounds + 1` so the samples, repairs, and the check-author consult all admit.
|
|
14616
14320
|
*/
|
|
14617
14321
|
declare function structuralRollout(config?: StructuralRolloutConfig): Strategy<StructuralRolloutResult>;
|
|
14618
|
-
//#endregion
|
|
14619
|
-
//#region src/runtime/supervise/authoring.d.ts
|
|
14620
14322
|
/** What the supervisor AUTHORS per sub-task: one complete canonical profile whose name and
|
|
14621
|
-
* task-specific
|
|
14323
|
+
* task-specific guidance are present. Every other `AgentProfile` axis is preserved exactly. */
|
|
14622
14324
|
type AuthoredProfile = AgentProfile & {
|
|
14623
14325
|
readonly name: string;
|
|
14624
|
-
readonly prompt: AgentProfilePrompt
|
|
14625
|
-
readonly systemPrompt: string;
|
|
14626
|
-
};
|
|
14326
|
+
readonly prompt: AgentProfilePrompt;
|
|
14627
14327
|
};
|
|
14628
14328
|
/** Narrow an untyped `spawn_worker` profile argument to an `AuthoredProfile`, or null if the
|
|
14629
14329
|
* supervisor failed to author one (empty/placeholder profile — a skill violation worth catching). */
|
|
@@ -14645,8 +14345,7 @@ declare const defaultProfileRichnessThresholds: ProfileRichnessThresholds;
|
|
|
14645
14345
|
/** Per-field verdict on one authored profile — the raw material the bench renders + scores. */
|
|
14646
14346
|
interface ProfileRichness {
|
|
14647
14347
|
readonly name: string;
|
|
14648
|
-
/**
|
|
14649
|
-
* convention, or a bare-string prompt — whichever the author used). */
|
|
14348
|
+
/** Resolved authored guidance from replacement, addition and instruction sections. */
|
|
14650
14349
|
readonly systemPrompt: string;
|
|
14651
14350
|
readonly systemPromptChars: number;
|
|
14652
14351
|
readonly systemPromptLines: number;
|
|
@@ -14676,8 +14375,6 @@ declare function profileRichnessFinding(richness: ProfileRichness, opts?: {
|
|
|
14676
14375
|
analystId?: string;
|
|
14677
14376
|
runId?: string;
|
|
14678
14377
|
}): AnalystFinding;
|
|
14679
|
-
//#endregion
|
|
14680
|
-
//#region src/runtime/supervise/chat-transport-executor.d.ts
|
|
14681
14378
|
/** Buffered OpenAI-compatible completion port used only for offline execution. */
|
|
14682
14379
|
type ChatCompletionsTransport = NonNullable<RouterToolsSeam['complete']>;
|
|
14683
14380
|
/** Conversation history keyed by the settled Runtime worker id. */
|
|
@@ -14722,8 +14419,6 @@ interface ChatWorkerSeamOptions {
|
|
|
14722
14419
|
}
|
|
14723
14420
|
/** Session-owning worker factory for graph continuity. */
|
|
14724
14421
|
declare function chatWorkerSeam(opts: ChatWorkerSeamOptions): MakeWorkerAgent;
|
|
14725
|
-
//#endregion
|
|
14726
|
-
//#region src/runtime/supervise/worker-events.d.ts
|
|
14727
14422
|
/** Live observation is bounded and process-local. A reconnect explicitly reports expired history. */
|
|
14728
14423
|
interface WorkerEventCursor {
|
|
14729
14424
|
readonly epoch: string;
|
|
@@ -14746,8 +14441,6 @@ type WorkerEventPage = {
|
|
|
14746
14441
|
readonly historyExpired: boolean;
|
|
14747
14442
|
readonly remaining: number;
|
|
14748
14443
|
};
|
|
14749
|
-
//#endregion
|
|
14750
|
-
//#region src/runtime/supervise/contracts/agent-scope.d.ts
|
|
14751
14444
|
/**
|
|
14752
14445
|
* One self-similar atom. A leaf is an `Agent` that never calls `scope.spawn`; a driver
|
|
14753
14446
|
* is an `Agent` whose `act` spawns children and reacts to them via `scope.next()`. An
|
|
@@ -15014,8 +14707,6 @@ interface WidenGate<Out> {
|
|
|
15014
14707
|
* must be explicitly argued per cell, never defaulted on). */
|
|
15015
14708
|
readonly judgeExempt?: boolean;
|
|
15016
14709
|
}
|
|
15017
|
-
//#endregion
|
|
15018
|
-
//#region src/runtime/supervise/contracts/supervisor-port.d.ts
|
|
15019
14710
|
/**
|
|
15020
14711
|
* Owns the conserved pool, the spawn log, the abort cascade, the OTP intensity breaker,
|
|
15021
14712
|
* and the root handle. `run` executes the root `Agent` to completion; `attach` wires a
|
|
@@ -15227,8 +14918,6 @@ type RootSignal = {
|
|
|
15227
14918
|
kind: 'cancel';
|
|
15228
14919
|
reason?: string;
|
|
15229
14920
|
};
|
|
15230
|
-
//#endregion
|
|
15231
|
-
//#region src/runtime/supervise/contracts/spawn-journal.d.ts
|
|
15232
14921
|
/** Journaled spawn-tree events (B1/B2). `seq` is the cursor order; `at` is an ISO
|
|
15233
14922
|
* timestamp for human inspection only (NOT a replay input). */
|
|
15234
14923
|
/** The file Runtime writes into a retained owner's workspace immediately before a checkpoint, and
|
|
@@ -15388,6 +15077,8 @@ type SpawnEvent = {
|
|
|
15388
15077
|
/** Provider model evidence is independent from the planned materialization receipt. */
|
|
15389
15078
|
providerModel?: ProviderModelExecutionEvidence;
|
|
15390
15079
|
infra?: boolean;
|
|
15080
|
+
/** Runtime-classified diagnosis; absent only when older records did not carry it. */
|
|
15081
|
+
failure?: RuntimeFailureCause;
|
|
15391
15082
|
/** Exact child failure. Present on every new `status: 'down'` record; optional only so
|
|
15392
15083
|
* journals written before this field existed remain replayable. */
|
|
15393
15084
|
reason?: string;
|
|
@@ -15428,6 +15119,8 @@ type SpawnEvent = {
|
|
|
15428
15119
|
reason: string;
|
|
15429
15120
|
source?: string;
|
|
15430
15121
|
infra?: boolean;
|
|
15122
|
+
/** Runtime-classified diagnosis; absent only when older records did not carry it. */
|
|
15123
|
+
failure?: RuntimeFailureCause;
|
|
15431
15124
|
spent?: Spend;
|
|
15432
15125
|
providerModel?: ProviderModelExecutionEvidence;
|
|
15433
15126
|
trace?: WorkerTraceEvidence;
|
|
@@ -15554,6 +15247,8 @@ type SpawnEvent = {
|
|
|
15554
15247
|
reason?: string;
|
|
15555
15248
|
retainedPendingCause?: RetainedPendingCause;
|
|
15556
15249
|
infra?: boolean;
|
|
15250
|
+
/** Runtime-classified diagnosis; absent only when older records did not carry it. */
|
|
15251
|
+
failure?: RuntimeFailureCause;
|
|
15557
15252
|
trace?: WorkerTraceEvidence;
|
|
15558
15253
|
outRef?: string;
|
|
15559
15254
|
traceRoot?: TraceRootReceipt;
|
|
@@ -16067,8 +15762,6 @@ interface ResultBlobStore {
|
|
|
16067
15762
|
put(outRef: string, artifact: unknown): Promise<void>;
|
|
16068
15763
|
get(outRef: string): Promise<unknown | undefined>;
|
|
16069
15764
|
}
|
|
16070
|
-
//#endregion
|
|
16071
|
-
//#region src/runtime/supervise/delegate.d.ts
|
|
16072
15765
|
/** The conserved pool a `delegate()` call applies when the caller does not pass its own `budget`.
|
|
16073
15766
|
* A modest token ceiling + a small iteration ceiling — generous enough for a few-worker decompose,
|
|
16074
15767
|
* bounded enough that an unsupervised intent cannot run away. Callers override via `opts.budget`. */
|
|
@@ -16102,8 +15795,6 @@ interface DelegateOptions<Out = unknown> {
|
|
|
16102
15795
|
* authored worker's delivered output; a `no-winner` result names why (never a fabricated success).
|
|
16103
15796
|
*/
|
|
16104
15797
|
declare function delegate<Out = unknown>(intent: string, opts: DelegateOptions<Out>): Promise<SupervisedResult<Out>>;
|
|
16105
|
-
//#endregion
|
|
16106
|
-
//#region src/runtime/supervise/designer-tools.d.ts
|
|
16107
15798
|
/** How the ENVIRONMENT executes a graph the designer asked to run. */
|
|
16108
15799
|
interface DesignerRunGraphEnv {
|
|
16109
15800
|
/** Run one graph (check already re-bound by {@link DesignerToolsEnv.bindCheck}). */
|
|
@@ -16129,8 +15820,6 @@ interface GraphDesignerExtraTools {
|
|
|
16129
15820
|
/** The designer's three tools over one registry. Record-every-run is enforced
|
|
16130
15821
|
* by construction: running IS recording. */
|
|
16131
15822
|
declare function graphDesignerExtraTools(env: DesignerToolsEnv): GraphDesignerExtraTools;
|
|
16132
|
-
//#endregion
|
|
16133
|
-
//#region src/runtime/supervise/dispatch.d.ts
|
|
16134
15823
|
/** One unit of queued work: the agent to run, its task, and the spawn options (budget + label).
|
|
16135
15824
|
* `nextUnit` mints these lazily so a queue can be generated, re-ordered, or grown while the
|
|
16136
15825
|
* dispatcher runs. */
|
|
@@ -16201,19 +15890,31 @@ declare function queueOf<Out>(units: ReadonlyArray<{
|
|
|
16201
15890
|
task: unknown;
|
|
16202
15891
|
label: string;
|
|
16203
15892
|
}>, budget: Budget): () => DispatchUnit<Out> | undefined;
|
|
16204
|
-
|
|
16205
|
-
|
|
15893
|
+
/** Explicit authored trigger slots in compiled graph data. An empty list marks fully bound data. */
|
|
15894
|
+
declare const graphTriggerBindingsSchema: z.ZodArray<z.ZodObject<{
|
|
15895
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
15896
|
+
mode: z.ZodEnum<{
|
|
15897
|
+
value: "value";
|
|
15898
|
+
text: "text";
|
|
15899
|
+
}>;
|
|
15900
|
+
parts: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
15901
|
+
literal: z.ZodString;
|
|
15902
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15903
|
+
trigger: z.ZodArray<z.ZodString>;
|
|
15904
|
+
}, z.core.$strict>]>>;
|
|
15905
|
+
}, z.core.$strict>>;
|
|
15906
|
+
/** @useDeclaredType */
|
|
15907
|
+
type GraphTriggerBinding = z.infer<typeof graphTriggerBindingsSchema>[number];
|
|
16206
15908
|
/** @inline */
|
|
16207
15909
|
interface StoredGraphContent {
|
|
16208
15910
|
readonly digest: string;
|
|
15911
|
+
/** Authored trigger-slot provenance; present (even empty) on compiled loader output. */
|
|
15912
|
+
readonly triggerBindings?: readonly GraphTriggerBinding[];
|
|
16209
15913
|
readonly nodes: ReadonlyArray<{
|
|
16210
15914
|
readonly id: string;
|
|
16211
15915
|
readonly profile: AgentProfile;
|
|
16212
15916
|
}>;
|
|
16213
|
-
readonly deliverable:
|
|
16214
|
-
readonly describe?: string;
|
|
16215
|
-
readonly checkRef?: string;
|
|
16216
|
-
};
|
|
15917
|
+
readonly deliverable: Pick<AgentGraph['deliverable'], 'describe' | 'checkRef' | 'command' | 'when'>;
|
|
16217
15918
|
/** A flow graph's entry and gates; absent for any other graph. */
|
|
16218
15919
|
readonly entry?: AgentGraph['entry'];
|
|
16219
15920
|
readonly gates?: AgentGraph['gates'];
|
|
@@ -16232,6 +15933,12 @@ type StoredGraph = StoredGraphContent & ({
|
|
|
16232
15933
|
}>;
|
|
16233
15934
|
readonly budget?: AgentGraph['budget'];
|
|
16234
15935
|
});
|
|
15936
|
+
/** Editable graph data; registration computes its digest when it is omitted. */
|
|
15937
|
+
type StoredGraphInput = Omit<Extract<StoredGraph, {
|
|
15938
|
+
readonly observed?: false;
|
|
15939
|
+
}>, 'digest'> & {
|
|
15940
|
+
readonly digest?: string;
|
|
15941
|
+
};
|
|
16235
15942
|
/** One run or an explicitly incomplete observation of a graph, for one task shape. */
|
|
16236
15943
|
interface GraphRunRecord {
|
|
16237
15944
|
/** Content-address of the exact graph that ran. */
|
|
@@ -16324,7 +16031,7 @@ declare function recordGraphRun(reg: GraphRegistryDir, graph: AgentGraph, record
|
|
|
16324
16031
|
* Imported observations retain their source identity and never authorize replay.
|
|
16325
16032
|
* A reader refreshing facts can preserve independently joined labels; an explicit
|
|
16326
16033
|
* correction leaves preserveLabels unset and replaces the record. */
|
|
16327
|
-
declare function recordStoredGraphRun(reg: GraphRegistryDir,
|
|
16034
|
+
declare function recordStoredGraphRun(reg: GraphRegistryDir, definition: StoredGraph | StoredGraphInput, record?: GraphRunRecord, options?: {
|
|
16328
16035
|
readonly preserveLabels?: boolean;
|
|
16329
16036
|
}): Promise<StoredGraph>;
|
|
16330
16037
|
/** All records, newest last. */
|
|
@@ -16383,13 +16090,196 @@ declare function loadGraph(reg: GraphRegistryDir, digest: string): Promise<Store
|
|
|
16383
16090
|
/** The designer's lookup: replay the known-good graph for this task shape, or
|
|
16384
16091
|
* author a new one — with the reason stated either way (the decision is data). */
|
|
16385
16092
|
declare function lookupGraph(reg: GraphRegistryDir, taskDigest: string): Promise<GraphSelection>;
|
|
16386
|
-
/** Rehydrate a stored graph
|
|
16387
|
-
|
|
16388
|
-
declare function graphFromStored(stored: StoredGraph, check: AgentGraph['deliverable']['check']): AgentGraph;
|
|
16093
|
+
/** Rehydrate a stored graph, binding trigger data and an environment-owned named check. */
|
|
16094
|
+
declare function graphFromStored(stored: StoredGraph | StoredGraphInput, environment?: AgentGraph['deliverable']['check'] | GraphFromStoredOptions): AgentGraph;
|
|
16389
16095
|
/** Digests present on disk (integrity probe for tests and audits). */
|
|
16390
16096
|
declare function storedGraphDigests(reg: GraphRegistryDir): Promise<string[]>;
|
|
16391
|
-
|
|
16392
|
-
|
|
16097
|
+
type GraphFileSeat = NonNullable<AgentProfile['seats']>[number];
|
|
16098
|
+
/** A provider name in authored data needs an environment-owned canonical connection binding. */
|
|
16099
|
+
declare class GraphFileResolutionError extends Error {
|
|
16100
|
+
readonly provider: string;
|
|
16101
|
+
readonly node: string;
|
|
16102
|
+
readonly code: "CONNECTION_REQUIRED";
|
|
16103
|
+
readonly fixCommand = "tangle graph run --help";
|
|
16104
|
+
constructor(provider: string, node: string);
|
|
16105
|
+
}
|
|
16106
|
+
interface LoadGraphFileOptions {
|
|
16107
|
+
/** Exact authored bytes. The file argument still names the format and default working directory. */
|
|
16108
|
+
readonly source?: string;
|
|
16109
|
+
readonly cwd?: string;
|
|
16110
|
+
readonly signal?: AbortSignal;
|
|
16111
|
+
readonly params?: Readonly<Record<string, unknown>>;
|
|
16112
|
+
readonly trigger?: Readonly<Record<string, unknown>>;
|
|
16113
|
+
/** Concrete Bridge inventory defaults, in preference order. No authentication is performed here. */
|
|
16114
|
+
readonly seats?: readonly GraphFileSeat[];
|
|
16115
|
+
/** One CLI override for every node, ahead of per-node options and authored seats. */
|
|
16116
|
+
readonly seat?: string;
|
|
16117
|
+
readonly nodeSeats?: Readonly<Record<string, string | readonly string[]>>;
|
|
16118
|
+
/** Bridge-owned syntax, model and login resolution. Undefined marks an unavailable candidate;
|
|
16119
|
+
* errors propagate unchanged. The loader does not parse aliases or reasoning effort. */
|
|
16120
|
+
readonly resolveSeat?: (seat: string | undefined, context: Pick<LoadGraphFileOptions, 'cwd' | 'signal'> & {
|
|
16121
|
+
readonly node: string;
|
|
16122
|
+
readonly lastCandidate: boolean;
|
|
16123
|
+
}) => GraphFileSeat | undefined | Promise<GraphFileSeat | undefined>;
|
|
16124
|
+
/** Environment-owned provider-name bindings; files never carry Hub credentials. */
|
|
16125
|
+
readonly needs?: Readonly<Record<string, NonNullable<AgentProfile['connections']>[number]>>;
|
|
16126
|
+
/** Optional host resolution for providers without an own static binding. Calls may overlap;
|
|
16127
|
+
* the host owns coalescing, authentication and cancellation; errors propagate unchanged. */
|
|
16128
|
+
readonly resolveNeed?: (provider: string, context: Pick<LoadGraphFileOptions, 'cwd' | 'signal'> & {
|
|
16129
|
+
readonly node: string;
|
|
16130
|
+
}) => NonNullable<AgentProfile['connections']>[number] | undefined | Promise<NonNullable<AgentProfile['connections']>[number] | undefined>;
|
|
16131
|
+
readonly registry?: PromptRegistry;
|
|
16132
|
+
readonly analysts?: AnalystRegistry$1;
|
|
16133
|
+
}
|
|
16134
|
+
interface LoadedGraphFile {
|
|
16135
|
+
readonly graph: StoredGraph;
|
|
16136
|
+
readonly params: Readonly<Record<string, unknown>>;
|
|
16137
|
+
/** Deployment metadata is preserved separately and never contributes to the graph digest. */
|
|
16138
|
+
readonly on?: unknown;
|
|
16139
|
+
}
|
|
16140
|
+
/** Compile canonical YAML/JSON to content-addressed graph data. Host resolvers may perform I/O. */
|
|
16141
|
+
declare function loadGraphFile(file: string, options?: LoadGraphFileOptions): Promise<LoadedGraphFile>;
|
|
16142
|
+
/** The same data grammar as routes; no executable expressions or additional operators. */
|
|
16143
|
+
declare const graphRouteWhenSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
16144
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16145
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16146
|
+
pointer: z.ZodString;
|
|
16147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16148
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16149
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16150
|
+
pointer: z.ZodString;
|
|
16151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16152
|
+
exists: z.ZodBoolean;
|
|
16153
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16154
|
+
pointer: z.ZodString;
|
|
16155
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
16156
|
+
all: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
16157
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16158
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16159
|
+
pointer: z.ZodString;
|
|
16160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16161
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16162
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16163
|
+
pointer: z.ZodString;
|
|
16164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16165
|
+
exists: z.ZodBoolean;
|
|
16166
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16167
|
+
pointer: z.ZodString;
|
|
16168
|
+
}, z.core.$strict>]>>;
|
|
16169
|
+
}, z.core.$strict>]>;
|
|
16170
|
+
/** Authoring envelope. Canonical profiles and topology are validated by their existing owners. */
|
|
16171
|
+
declare const graphFileSchema: z.ZodObject<{
|
|
16172
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
16173
|
+
graph: z.ZodOptional<z.ZodString>;
|
|
16174
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16175
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16176
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
16177
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
16178
|
+
string: "string";
|
|
16179
|
+
number: "number";
|
|
16180
|
+
boolean: "boolean";
|
|
16181
|
+
object: "object";
|
|
16182
|
+
null: "null";
|
|
16183
|
+
array: "array";
|
|
16184
|
+
integer: "integer";
|
|
16185
|
+
}>>;
|
|
16186
|
+
}, z.core.$strict>>>;
|
|
16187
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
16188
|
+
id: z.ZodString;
|
|
16189
|
+
profile: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16190
|
+
seat: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
16191
|
+
needs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16192
|
+
}, z.core.$strict>>;
|
|
16193
|
+
entry: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16194
|
+
node: z.ZodString;
|
|
16195
|
+
task: z.ZodUnknown;
|
|
16196
|
+
}, z.core.$strict>]>>>;
|
|
16197
|
+
edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16198
|
+
gates: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
16199
|
+
budget: z.ZodObject<{
|
|
16200
|
+
maxIterations: z.ZodNumber;
|
|
16201
|
+
maxTokens: z.ZodNumber;
|
|
16202
|
+
maxUsd: z.ZodOptional<z.ZodNumber>;
|
|
16203
|
+
deadlineMs: z.ZodOptional<z.ZodNumber>;
|
|
16204
|
+
resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16205
|
+
unit: z.ZodString;
|
|
16206
|
+
limit: z.ZodNumber;
|
|
16207
|
+
}, z.core.$strict>>>;
|
|
16208
|
+
}, z.core.$strict>;
|
|
16209
|
+
check: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
16210
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16211
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16212
|
+
pointer: z.ZodString;
|
|
16213
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16215
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16216
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16217
|
+
pointer: z.ZodString;
|
|
16218
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16220
|
+
exists: z.ZodBoolean;
|
|
16221
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16222
|
+
pointer: z.ZodString;
|
|
16223
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16225
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16226
|
+
all: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
16227
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16228
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16229
|
+
pointer: z.ZodString;
|
|
16230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16231
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16232
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16233
|
+
pointer: z.ZodString;
|
|
16234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16235
|
+
exists: z.ZodBoolean;
|
|
16236
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16237
|
+
pointer: z.ZodString;
|
|
16238
|
+
}, z.core.$strict>]>>;
|
|
16239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16240
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16241
|
+
command: z.ZodObject<{
|
|
16242
|
+
command: z.ZodString;
|
|
16243
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
16244
|
+
}, z.core.$strict>;
|
|
16245
|
+
}, z.core.$strict>]>>;
|
|
16246
|
+
deliverable: z.ZodOptional<z.ZodObject<{
|
|
16247
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
16248
|
+
checkRef: z.ZodString;
|
|
16249
|
+
command: z.ZodOptional<z.ZodObject<{
|
|
16250
|
+
command: z.ZodString;
|
|
16251
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
16252
|
+
}, z.core.$strict>>;
|
|
16253
|
+
when: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
16254
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16255
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16256
|
+
pointer: z.ZodString;
|
|
16257
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16258
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16259
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16260
|
+
pointer: z.ZodString;
|
|
16261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16262
|
+
exists: z.ZodBoolean;
|
|
16263
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16264
|
+
pointer: z.ZodString;
|
|
16265
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
16266
|
+
all: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
16267
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16268
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16269
|
+
pointer: z.ZodString;
|
|
16270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16271
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
16272
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16273
|
+
pointer: z.ZodString;
|
|
16274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16275
|
+
exists: z.ZodBoolean;
|
|
16276
|
+
node: z.ZodOptional<z.ZodString>;
|
|
16277
|
+
pointer: z.ZodString;
|
|
16278
|
+
}, z.core.$strict>]>>;
|
|
16279
|
+
}, z.core.$strict>]>>;
|
|
16280
|
+
}, z.core.$strict>>;
|
|
16281
|
+
on: z.ZodOptional<z.ZodUnknown>;
|
|
16282
|
+
}, z.core.$strict>;
|
|
16393
16283
|
/** @inline */
|
|
16394
16284
|
interface ObservedFact<T> {
|
|
16395
16285
|
readonly value: T | null;
|
|
@@ -16462,8 +16352,6 @@ declare function graphFromSessionFacts(facts: readonly ObservedSessionFacts[], o
|
|
|
16462
16352
|
readonly graph: StoredGraph;
|
|
16463
16353
|
readonly record: GraphRunRecord;
|
|
16464
16354
|
};
|
|
16465
|
-
//#endregion
|
|
16466
|
-
//#region src/runtime/supervise/in-place-cli-executor.d.ts
|
|
16467
16355
|
/** @experimental */
|
|
16468
16356
|
interface InPlaceCliExecutorOptions {
|
|
16469
16357
|
/** Absolute path to the EXISTING directory the harness edits. The caller owns its lifecycle:
|
|
@@ -16503,8 +16391,6 @@ interface InPlaceCliExecutorOptions {
|
|
|
16503
16391
|
* @experimental
|
|
16504
16392
|
*/
|
|
16505
16393
|
declare function createInPlaceCliExecutor(options: InPlaceCliExecutorOptions): Executor<InPlaceHarnessResult>;
|
|
16506
|
-
//#endregion
|
|
16507
|
-
//#region src/runtime/supervise/interactive-worker.d.ts
|
|
16508
16394
|
/** Environment fields supplied to every interactive worker after Runtime adds the exact profile. */
|
|
16509
16395
|
type InteractiveWorkerEnvironment = Omit<CreateAgentEnvironmentInput, 'profile' | 'idempotencyKey' | 'signal'>;
|
|
16510
16396
|
/** Native interactive worker output. Provider usage is intentionally not fabricated. */
|
|
@@ -16556,8 +16442,6 @@ interface InteractiveWorkerKeyInput {
|
|
|
16556
16442
|
* it through the provider's public `get`/interactive contract.
|
|
16557
16443
|
*/
|
|
16558
16444
|
declare function workerFromInteractiveProvider(provider: AgentEnvironmentProvider, options?: InteractiveWorkerOptions): MakeWorkerAgent;
|
|
16559
|
-
//#endregion
|
|
16560
|
-
//#region src/runtime/supervise/profile-registry.d.ts
|
|
16561
16445
|
/** One completed run of one exact profile revision, under its stable NAME. */
|
|
16562
16446
|
interface ProfileRunRecord {
|
|
16563
16447
|
/** The profile's stable name — the registry key (routing identity). */
|
|
@@ -16605,8 +16489,6 @@ declare function bestProfileFor(reg: ProfileRegistryDir, name: string): Promise<
|
|
|
16605
16489
|
profile: AgentProfile;
|
|
16606
16490
|
record: ProfileRunRecord;
|
|
16607
16491
|
} | undefined>;
|
|
16608
|
-
//#endregion
|
|
16609
|
-
//#region src/runtime/supervise/provision-supervisor.d.ts
|
|
16610
16492
|
/** Caller-supplied environment provider for one supervisor run. */
|
|
16611
16493
|
interface ProvisionSupervisorConnection {
|
|
16612
16494
|
/** A constructed provider that owns exact-profile admission and environment reconnection. */
|
|
@@ -16661,8 +16543,6 @@ interface ProvisionedSupervisor {
|
|
|
16661
16543
|
* connection selection; Runtime does not infer them from process environment variables.
|
|
16662
16544
|
*/
|
|
16663
16545
|
declare function provisionSupervisor(request: ProvisionSupervisorRequest): Promise<ProvisionedSupervisor>;
|
|
16664
|
-
//#endregion
|
|
16665
|
-
//#region src/runtime/supervise/remote-supervisor.d.ts
|
|
16666
16546
|
/** Minimal agent identity and topology returned by the protected reader. */
|
|
16667
16547
|
interface RemoteSupervisorAgent {
|
|
16668
16548
|
readonly id: string;
|
|
@@ -16670,6 +16550,7 @@ interface RemoteSupervisorAgent {
|
|
|
16670
16550
|
readonly label: string;
|
|
16671
16551
|
readonly status: string;
|
|
16672
16552
|
readonly runtime: string;
|
|
16553
|
+
readonly failure?: RuntimeFailureCause;
|
|
16673
16554
|
}
|
|
16674
16555
|
/** Current owned tree, including nested managers and resumed nodes. */
|
|
16675
16556
|
interface RemoteSupervisorTree {
|
|
@@ -16683,15 +16564,54 @@ type RemoteWorkerEvents = WorkerEventPage;
|
|
|
16683
16564
|
interface RemoteSupervisorReader {
|
|
16684
16565
|
tree(): Promise<RemoteSupervisorTree>;
|
|
16685
16566
|
observe(workerId: string, cursor?: WorkerEventCursor): Promise<{
|
|
16686
|
-
agent:
|
|
16567
|
+
agent: RemoteSupervisorAgent;
|
|
16687
16568
|
events: RemoteWorkerEvents;
|
|
16688
16569
|
}>;
|
|
16689
16570
|
close(): Promise<void>;
|
|
16690
16571
|
}
|
|
16572
|
+
declare const steerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16573
|
+
delivered: z.ZodLiteral<true>;
|
|
16574
|
+
progress: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16576
|
+
delivered: z.ZodLiteral<false>;
|
|
16577
|
+
outcome: z.ZodCustom<"unknown-worker" | "already-settled" | "runtime-has-no-inbox" | "scope-stopped" | "runtime-error", "unknown-worker" | "already-settled" | "runtime-has-no-inbox" | "scope-stopped" | "runtime-error">;
|
|
16578
|
+
reason: z.ZodString;
|
|
16579
|
+
progress: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16580
|
+
}, z.core.$strip>], "delivered">;
|
|
16581
|
+
declare const cancelSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
16582
|
+
live: z.ZodNumber;
|
|
16583
|
+
queued: z.ZodNumber;
|
|
16584
|
+
cancelled: z.ZodLiteral<true>;
|
|
16585
|
+
workerId: z.ZodString;
|
|
16586
|
+
label: z.ZodString;
|
|
16587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16588
|
+
live: z.ZodNumber;
|
|
16589
|
+
queued: z.ZodNumber;
|
|
16590
|
+
released: z.ZodLiteral<true>;
|
|
16591
|
+
workerId: z.ZodString;
|
|
16592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16593
|
+
live: z.ZodNumber;
|
|
16594
|
+
queued: z.ZodNumber;
|
|
16595
|
+
error: z.ZodLiteral<"not-live">;
|
|
16596
|
+
reason: z.ZodString;
|
|
16597
|
+
}, z.core.$strip>]>;
|
|
16598
|
+
/** Actual handler outcomes; queue admission never stands in for delivered steering.
|
|
16599
|
+
* @useDeclaredType
|
|
16600
|
+
*/
|
|
16601
|
+
type RemoteSupervisorSteerResult = z.infer<typeof steerSchema>;
|
|
16602
|
+
/** @useDeclaredType */
|
|
16603
|
+
type RemoteSupervisorCancelResult = z.infer<typeof cancelSchema>;
|
|
16604
|
+
/** A separate capability for the same manager's owned workers, without manager tool grants. */
|
|
16605
|
+
interface RemoteSupervisorControl extends RemoteSupervisorReader {
|
|
16606
|
+
steer(workerId: string, instruction: string, options?: {
|
|
16607
|
+
readonly interrupt?: boolean;
|
|
16608
|
+
}): Promise<RemoteSupervisorSteerResult>;
|
|
16609
|
+
cancel(workerId: string, reason?: string): Promise<RemoteSupervisorCancelResult>;
|
|
16610
|
+
}
|
|
16691
16611
|
/** Connect with the server's readOnly URL and protected headers; credentials never enter a profile. */
|
|
16692
16612
|
declare function connectRemoteSupervisor(spec: HttpMcpServerSpec): Promise<RemoteSupervisorReader>;
|
|
16693
|
-
|
|
16694
|
-
|
|
16613
|
+
/** Connect with the dedicated /control capability, keeping credentials on the protected transport. */
|
|
16614
|
+
declare function connectRemoteSupervisorControl(access: CoordinationControlAccess): Promise<RemoteSupervisorControl>;
|
|
16695
16615
|
/** One atomically admitted down-leg request for an exact worker id. @stable */
|
|
16696
16616
|
interface WorkerSteerRequest {
|
|
16697
16617
|
readonly schemaVersion: 1;
|
|
@@ -16844,8 +16764,6 @@ declare function cancelWorker(eventDir: string, worker: string, operationId: str
|
|
|
16844
16764
|
readonly reason?: string;
|
|
16845
16765
|
readonly source?: string;
|
|
16846
16766
|
}): WorkerCancellation;
|
|
16847
|
-
//#endregion
|
|
16848
|
-
//#region src/runtime/supervise/scope-contract.d.ts
|
|
16849
16767
|
/** Construction args for `createScope`. The supervisor threads the shared pool, journal,
|
|
16850
16768
|
* blob store, and executor registry through; `depth`/`maxDepth` pair the runtime
|
|
16851
16769
|
* recursion ceiling with the conserved pool (R3). */
|
|
@@ -16950,12 +16868,8 @@ interface ScopeArgs {
|
|
|
16950
16868
|
};
|
|
16951
16869
|
};
|
|
16952
16870
|
}
|
|
16953
|
-
//#endregion
|
|
16954
|
-
//#region src/runtime/supervise/scope-construction.d.ts
|
|
16955
16871
|
/** Create the reactive `Scope` a driver's `Agent.act` runs inside: spawn children on an atomically reserved conserved budget, settle via the `next()` cursor, journal for replay. */
|
|
16956
16872
|
declare function createScope<Out>(args: ScopeArgs): Scope<Out>;
|
|
16957
|
-
//#endregion
|
|
16958
|
-
//#region src/runtime/supervise/scope-observation.d.ts
|
|
16959
16873
|
/**
|
|
16960
16874
|
* The step-8 merge-boundary adapter (M4): rehydrate a `Settled.done` into the kernel's
|
|
16961
16875
|
* `Iteration` shape so `defaultSelectWinner` stays single-sourced — the supervisor selects
|
|
@@ -16968,8 +16882,6 @@ declare function createScope<Out>(args: ScopeArgs): Scope<Out>;
|
|
|
16968
16882
|
* Fail loud on a `down` settlement: only a `done` child is an iteration.
|
|
16969
16883
|
*/
|
|
16970
16884
|
declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unknown, Out>;
|
|
16971
|
-
//#endregion
|
|
16972
|
-
//#region src/runtime/supervise/search-spec.d.ts
|
|
16973
16885
|
/**
|
|
16974
16886
|
* One multi-agent research configuration: seven orthogonal axes, all data.
|
|
16975
16887
|
*
|
|
@@ -17122,8 +17034,6 @@ type CompiledSearchSpec = {
|
|
|
17122
17034
|
* ```
|
|
17123
17035
|
*/
|
|
17124
17036
|
declare function compileSearchSpec(raw: SearchSpec, inputs: SearchSpecInputs): CompiledSearchSpec;
|
|
17125
|
-
//#endregion
|
|
17126
|
-
//#region src/runtime/supervise/sql-run-context.d.ts
|
|
17127
17037
|
interface SqlRunContextOptions extends SqlRunStoreOptions, InMemoryRunContextOptions {}
|
|
17128
17038
|
/** SQL stores are read-only outside an acquired ownership capability. runGraph acquires it. */
|
|
17129
17039
|
/** A `RunContext` bound to one fenced SQL ownership generation; read-only until acquired. */
|
|
@@ -17143,8 +17053,16 @@ interface FencedSqlRunContext extends RunContext {
|
|
|
17143
17053
|
* @experimental
|
|
17144
17054
|
*/
|
|
17145
17055
|
declare function createFencedSqlRunContext(db: SqlAdapter, runId: string, options?: SqlRunContextOptions): Promise<FencedSqlRunContext>;
|
|
17146
|
-
|
|
17147
|
-
|
|
17056
|
+
interface ValidateStoredGraphOptions {
|
|
17057
|
+
readonly registry?: PromptRegistry;
|
|
17058
|
+
readonly analysts?: AnalystRegistry$1;
|
|
17059
|
+
/** Environment-owned bindings only. A custom checkRef is refused without its own binding. */
|
|
17060
|
+
readonly checks?: GraphFromStoredOptions['checks'];
|
|
17061
|
+
}
|
|
17062
|
+
/** Validate compiled, runnable StoredGraph data. Authored params/seats/on envelopes belong to
|
|
17063
|
+
* loadGraphFile; observations belong to the registry's observation importer, never this entry.
|
|
17064
|
+
* No check function or model call is executed while validating environment-owned references. */
|
|
17065
|
+
declare function validateStoredGraph(value: unknown, options?: ValidateStoredGraphOptions): StoredGraph;
|
|
17148
17066
|
/**
|
|
17149
17067
|
* Mint a `RootHandle` plus its supervisor-private control. The handle is the substrate a
|
|
17150
17068
|
* chat/pi-viz client attaches to (Q2): `view()` reads the live tree, `signal()` delivers
|
|
@@ -17153,15 +17071,11 @@ declare function createFencedSqlRunContext(db: SqlAdapter, runId: string, option
|
|
|
17153
17071
|
* driving a live run gets a typed error, never a silent no-op.
|
|
17154
17072
|
*/
|
|
17155
17073
|
declare function createRootHandle<Out>(): SteerableRootHandle<Out>;
|
|
17156
|
-
//#endregion
|
|
17157
|
-
//#region src/runtime/supervise/supervisor-run.d.ts
|
|
17158
17074
|
/** The default recursion-depth ceiling. The conserved pool bounds depth (every level draws its
|
|
17159
17075
|
* slice from the one above); this only stops a runaway recursion of tiny slices. */
|
|
17160
17076
|
declare const DEFAULT_MAX_DEPTH = 16;
|
|
17161
17077
|
/** Create a supervisor that owns one recursive agent execution tree. */
|
|
17162
17078
|
declare function createSupervisor<Task, Out>(): Supervisor<Task, Out>;
|
|
17163
|
-
//#endregion
|
|
17164
|
-
//#region src/runtime/supervise/trace-evidence.d.ts
|
|
17165
17079
|
/** Schema version for content-addressed worker tool-trace artifacts. */
|
|
17166
17080
|
declare const WORKER_TOOL_TRACE_SCHEMA_VERSION: 1;
|
|
17167
17081
|
/** Bytes stored under `WorkerTraceEvidence.traceRef`. */
|
|
@@ -17171,8 +17085,6 @@ interface WorkerToolTraceArtifact {
|
|
|
17171
17085
|
}
|
|
17172
17086
|
/** Validate a stored trace artifact before an analyst or replay trusts it. */
|
|
17173
17087
|
declare function parseWorkerToolTraceArtifact(value: unknown, traceRef?: string): WorkerToolTraceArtifact;
|
|
17174
|
-
//#endregion
|
|
17175
|
-
//#region src/runtime/supervise/trajectory-recorder.d.ts
|
|
17176
17088
|
interface TrajectoryAnalysis {
|
|
17177
17089
|
/** Structured run summary (tool-call count, step order). Steps carry a single timestamp, so per-span
|
|
17178
17090
|
* duration is 0; loop/waste detection keys on call PATTERNS + cross-span windows, not durations. */
|
|
@@ -17185,8 +17097,6 @@ interface TrajectoryAnalysis {
|
|
|
17185
17097
|
}
|
|
17186
17098
|
/** Collect the source's spans and run the agent-eval batch analyzers over them under one `runId`. */
|
|
17187
17099
|
declare function analyzeTrace(source: TraceSource, runId?: string): Promise<TrajectoryAnalysis>;
|
|
17188
|
-
//#endregion
|
|
17189
|
-
//#region src/runtime/workspace.d.ts
|
|
17190
17100
|
/** Command runner seam. Host code can use `localShell`; sandbox code can wrap `box.exec`. */
|
|
17191
17101
|
type Shell = (args: ReadonlyArray<string>, cwd?: string) => Promise<{
|
|
17192
17102
|
stdout: string;
|
|
@@ -17242,8 +17152,6 @@ declare function runInWorkspace<T>(ws: Workspace, body: (cwd: string) => Promise
|
|
|
17242
17152
|
tmpPrefix?: string;
|
|
17243
17153
|
commitOnInvalid?: boolean;
|
|
17244
17154
|
}): Promise<WorkspaceRun<T>>;
|
|
17245
|
-
//#endregion
|
|
17246
|
-
//#region src/runtime/supervise/untracked-clone.d.ts
|
|
17247
17155
|
interface UntrackedCopyStats {
|
|
17248
17156
|
/** Files + symlinks that landed in the clone. */
|
|
17249
17157
|
copied: number;
|
|
@@ -17269,14 +17177,10 @@ declare function copyUntrackedIntoClone(sourceDir: string, cloneDir: string, opt
|
|
|
17269
17177
|
* `commit`/`head` pass through untouched, so delivery semantics are unchanged.
|
|
17270
17178
|
*/
|
|
17271
17179
|
declare function withUntrackedArtifacts(ws: Workspace, sourceDir: string, log?: (message: string) => void): Workspace;
|
|
17272
|
-
//#endregion
|
|
17273
|
-
//#region src/runtime/supervise/usage-metering.d.ts
|
|
17274
17180
|
/** Fold a normalized `UsageEvent` array into a `Spend`. Tokens and usd are separate
|
|
17275
17181
|
* channels; iterations come from `'iteration'` events. Pure; `ms` stays zero (the
|
|
17276
17182
|
* pool does not read wall-clock). */
|
|
17277
17183
|
declare function spendFromUsageEvents(events: UsageEvent[]): Spend;
|
|
17278
|
-
//#endregion
|
|
17279
|
-
//#region src/runtime/supervise/worker-evidence.d.ts
|
|
17280
17184
|
/**
|
|
17281
17185
|
* Evidence-rich worker settlement.
|
|
17282
17186
|
*
|
|
@@ -17333,8 +17237,6 @@ declare function settledWorkerOut(input: {
|
|
|
17333
17237
|
* (`composeWorkerEvidence` keeps the note's FIRST `NOTE_MAX_CHARS` chars).
|
|
17334
17238
|
*/
|
|
17335
17239
|
declare function closingWorkerNote(stdout: string, stderr: string): string | undefined;
|
|
17336
|
-
//#endregion
|
|
17337
|
-
//#region src/runtime/supervise/worker-interactive.d.ts
|
|
17338
17240
|
/** Durable exact-process binding or capability decision for one supervised worker. @stable */
|
|
17339
17241
|
type WorkerInteractiveBinding = {
|
|
17340
17242
|
readonly schemaVersion: 1;
|
|
@@ -17369,8 +17271,6 @@ declare function readWorkerInteractiveBinding(eventDir: string, workerId: string
|
|
|
17369
17271
|
* @stable
|
|
17370
17272
|
*/
|
|
17371
17273
|
declare function attachWorker(eventDir: string, workerId: string, options: AttachWorkerOptions): Promise<WorkerInteractiveSession>;
|
|
17372
|
-
//#endregion
|
|
17373
|
-
//#region src/runtime/supervise/worktree-cli-executor.d.ts
|
|
17374
17274
|
/** Terminal artifact of one worktree-CLI run — the canonical worktree-harness result (the captured
|
|
17375
17275
|
* diff + the harness's run record + the derived checks). */
|
|
17376
17276
|
type WorktreePatchArtifact = WorktreeHarnessResult;
|
|
@@ -17439,8 +17339,6 @@ interface WorktreeCliExecutorOptions {
|
|
|
17439
17339
|
* @experimental
|
|
17440
17340
|
*/
|
|
17441
17341
|
declare function createWorktreeCliExecutor(options: WorktreeCliExecutorOptions): Executor<WorktreePatchArtifact>;
|
|
17442
|
-
//#endregion
|
|
17443
|
-
//#region src/runtime/supervise/patch-checks.d.ts
|
|
17444
17342
|
/** @experimental The per-task constraints the mechanical gate enforces. */
|
|
17445
17343
|
interface CoderCheckConstraints {
|
|
17446
17344
|
/** Default 400. Hard cap; gate fails when exceeded. */
|
|
@@ -17448,8 +17346,6 @@ interface CoderCheckConstraints {
|
|
|
17448
17346
|
/** Literal path prefixes the patch must not touch. */
|
|
17449
17347
|
forbiddenPaths?: string[];
|
|
17450
17348
|
}
|
|
17451
|
-
//#endregion
|
|
17452
|
-
//#region src/runtime/supervise/patch-deliverable.d.ts
|
|
17453
17349
|
/** @experimental */
|
|
17454
17350
|
interface PatchDeliverableOptions extends CoderCheckConstraints {
|
|
17455
17351
|
/**
|
|
@@ -17460,8 +17356,6 @@ interface PatchDeliverableOptions extends CoderCheckConstraints {
|
|
|
17460
17356
|
*/
|
|
17461
17357
|
require?: ReadonlyArray<'tests' | 'typecheck'>;
|
|
17462
17358
|
}
|
|
17463
|
-
//#endregion
|
|
17464
|
-
//#region src/runtime/supervise/worktree-fanout.d.ts
|
|
17465
17359
|
/** @experimental One authored profile in a worktree fanout. Its exact `harness` field chooses the
|
|
17466
17360
|
* local CLI; the supervisor authors the complete profile per sub-task. */
|
|
17467
17361
|
interface AuthoredHarness {
|
|
@@ -17516,8 +17410,6 @@ interface WorktreeFanoutOptions extends PatchDeliverableOptions {
|
|
|
17516
17410
|
* @experimental
|
|
17517
17411
|
*/
|
|
17518
17412
|
declare function worktreeFanout<Task>(options: WorktreeFanoutOptions): CombinatorShape<Task, WorktreePatchArtifact>;
|
|
17519
|
-
//#endregion
|
|
17520
|
-
//#region src/runtime/supervise-analysts.d.ts
|
|
17521
17413
|
/**
|
|
17522
17414
|
* Adapt an `agent-eval` `AnalystRegistry` into the lens shape `supervise({ analysts })` takes.
|
|
17523
17415
|
*
|
|
@@ -17567,8 +17459,6 @@ interface AnalystAuthoring {
|
|
|
17567
17459
|
* the driver the still-FAILING tests (not just a score), so the next spawn targets the persistently-hard
|
|
17568
17460
|
* cases. Swap `analysts` to change what the driver improves from — that's the one knob. */
|
|
17569
17461
|
declare function failuresAnalyst(): AnalystRegistry$1;
|
|
17570
|
-
//#endregion
|
|
17571
|
-
//#region src/runtime/surface-diff.d.ts
|
|
17572
17462
|
/** Outcome of reading one surface back at settle. `missing: true` means the path no longer exists
|
|
17573
17463
|
* (a deletion — a valid, reportable outcome); any other failure carries its diagnostic. */
|
|
17574
17464
|
type SurfaceReadOutcome = {
|
|
@@ -17689,8 +17579,6 @@ declare function boxSurfaceReader(box: SurfaceReadBox, options?: BoxSurfaceReade
|
|
|
17689
17579
|
* Absence maps to `missing: true`; every other failure carries the error message.
|
|
17690
17580
|
*/
|
|
17691
17581
|
declare function fsSurfaceReader(root: string): SurfaceReader;
|
|
17692
|
-
//#endregion
|
|
17693
|
-
//#region src/runtime/verifier-environment.d.ts
|
|
17694
17582
|
interface VerifierEnvironmentOptions {
|
|
17695
17583
|
name: string;
|
|
17696
17584
|
/** The deployable check over a submitted answer. Graded via passes/total. */
|
|
@@ -17702,8 +17590,6 @@ interface VerifierEnvironmentOptions {
|
|
|
17702
17590
|
}
|
|
17703
17591
|
/** Any checkable task as an `Environment`, no tool surface required: the artifact is the worker's answer and the domain is one deployable `check` over it. */
|
|
17704
17592
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
17705
|
-
//#endregion
|
|
17706
|
-
//#region src/mcp/tools/coordination-contracts.d.ts
|
|
17707
17593
|
/** A worker whose settlement reached the manager's inbox. */
|
|
17708
17594
|
interface SettledWorker {
|
|
17709
17595
|
readonly id: string;
|
|
@@ -18236,8 +18122,6 @@ interface BlockedToolReport {
|
|
|
18236
18122
|
readonly probed: string;
|
|
18237
18123
|
readonly at: string;
|
|
18238
18124
|
}
|
|
18239
|
-
//#endregion
|
|
18240
|
-
//#region src/runtime/supervise/driver-attempt-evidence.d.ts
|
|
18241
18125
|
/** Why the retry loop stopped. `completed` is the only non-failure. */
|
|
18242
18126
|
type DriverAttemptStop = 'completed' | 'terminal-error' | 'retry-disabled' | 'aborted' | 'budget-exhausted' | 'deadline' | 'no-progress' | 'max-attempts' | 'pending-unresolved' | 'repeated-failure';
|
|
18243
18127
|
/** One attempt's record — the legible failure the issue's third ask names. Emitted per attempt so
|
|
@@ -18369,8 +18253,6 @@ interface DriverContinuationRecord extends DriverLoopRecord {
|
|
|
18369
18253
|
* Empty for a manager with no check. */
|
|
18370
18254
|
readonly continuations: ReadonlyArray<ContinuationEntry>;
|
|
18371
18255
|
}
|
|
18372
|
-
//#endregion
|
|
18373
|
-
//#region src/runtime/supervise/contracts/supervisor-result.d.ts
|
|
18374
18256
|
/** Provider-observed model identity for the root manager's settled inference turns.
|
|
18375
18257
|
* Runtime records this only from a Runtime-owned provider/bridge receipt; an authored profile
|
|
18376
18258
|
* alias is never substituted when the provider omits the identity. */
|
|
@@ -18410,7 +18292,7 @@ type ProviderModelExecutionEvidence = {
|
|
|
18410
18292
|
readonly reason: 'provider-model-missing' | 'provider-model-conflict';
|
|
18411
18293
|
};
|
|
18412
18294
|
/**
|
|
18413
|
-
* A driver's `act()` rejection, normalized to
|
|
18295
|
+
* A driver's `act()` rejection, normalized to serializable evidence so it survives the typed
|
|
18414
18296
|
* no-winner boundary (an `Error` does not cross a structured-clone / JSON hop intact). A
|
|
18415
18297
|
* non-`Error` rejection normalizes to `{ name: 'NonError', message }` — never dropped.
|
|
18416
18298
|
* Exported so a consumer handling `reason: 'driver-failed'` names this type instead of retyping
|
|
@@ -18420,6 +18302,8 @@ interface NoWinnerError {
|
|
|
18420
18302
|
name: string;
|
|
18421
18303
|
message: string;
|
|
18422
18304
|
stack?: string;
|
|
18305
|
+
/** Structural failure evidence captured before the rejection becomes message text. */
|
|
18306
|
+
failure?: RuntimeFailureCause;
|
|
18423
18307
|
}
|
|
18424
18308
|
/**
|
|
18425
18309
|
* How this run's spawned CHILDREN ended, counted by node id off the complete journal FOREST at
|
|
@@ -18644,8 +18528,6 @@ type SupervisedResult<Out> = {
|
|
|
18644
18528
|
* recoverable by the caller. A non-`Error` rejection is normalized, never dropped. */
|
|
18645
18529
|
error: NoWinnerError;
|
|
18646
18530
|
};
|
|
18647
|
-
//#endregion
|
|
18648
|
-
//#region src/runtime/supervise/contracts/node-lifecycle.d.ts
|
|
18649
18531
|
/** `'queued'` is an admitted child that holds its budget slice and waits for a worker slot
|
|
18650
18532
|
* (`workerSlots`); it runs nothing until the allocator grants one. `'acquiring'` is first-class
|
|
18651
18533
|
* (M1): a node spends real time + reaps an orphan box during sandbox acquire BEFORE it is
|
|
@@ -18816,10 +18698,7 @@ type Settled<Out> = {
|
|
|
18816
18698
|
* `retainedExecution` is; the `reason` text names the same thing, but a reader must never
|
|
18817
18699
|
* have to parse it (#1204). */
|
|
18818
18700
|
retainedPendingCause?: RetainedPendingCause;
|
|
18819
|
-
/**
|
|
18820
|
-
* while both were still values. Present on a live settlement whose executor threw; the
|
|
18821
|
-
* journal does not record it, so a replayed settlement leaves it to
|
|
18822
|
-
* `settlementFailureCause`. */
|
|
18701
|
+
/** Typed terminal diagnosis, preserved by the journal and replay. Legacy records may omit it. */
|
|
18823
18702
|
failure?: RuntimeFailureCause;
|
|
18824
18703
|
/** Present when this child led workers of its own: a bounded account of its team. */
|
|
18825
18704
|
subtree?: SubtreeSummary;
|
|
@@ -18863,6 +18742,8 @@ interface SubtreeResult {
|
|
|
18863
18742
|
readonly agents: number;
|
|
18864
18743
|
}
|
|
18865
18744
|
interface NodeSnapshot {
|
|
18745
|
+
/** Typed terminal diagnosis, beside status and never a replacement for lifecycle reason. */
|
|
18746
|
+
readonly failure?: RuntimeFailureCause;
|
|
18866
18747
|
readonly id: NodeId;
|
|
18867
18748
|
readonly parent?: NodeId;
|
|
18868
18749
|
readonly label: string;
|
|
@@ -18955,8 +18836,6 @@ interface TreeView {
|
|
|
18955
18836
|
* settles on the ordinary path and the recorded-result path writes no marker.
|
|
18956
18837
|
*/
|
|
18957
18838
|
type RetainedExecutionState = 'pending' | 'released' | 'release-unconfirmed';
|
|
18958
|
-
//#endregion
|
|
18959
|
-
//#region src/runtime/supervise/contracts/accounting.d.ts
|
|
18960
18839
|
/** Caller-defined resource ceiling in non-negative safe-integer units, consistent throughout a tree. */
|
|
18961
18840
|
interface ResourceLimit {
|
|
18962
18841
|
readonly unit: string;
|
|
@@ -19086,8 +18965,6 @@ interface BudgetViolation {
|
|
|
19086
18965
|
/** Every overspent channel, in the order tokens, iterations, usd, then resources. Never empty. */
|
|
19087
18966
|
readonly overspent: ReadonlyArray<BudgetOverspend>;
|
|
19088
18967
|
}
|
|
19089
|
-
//#endregion
|
|
19090
|
-
//#region src/runtime/supervise/trace-root.d.ts
|
|
19091
18968
|
/** Schema identifier of a stored {@link TraceRootArtifact}. */
|
|
19092
18969
|
declare const TRACE_ROOT_SCHEMA = "agent-runtime.trace-root.v1";
|
|
19093
18970
|
/** Schema identifier of the {@link TraceSummary} carried by a trace root's last leaf. */
|
|
@@ -19111,8 +18988,6 @@ interface TraceRootArtifact {
|
|
|
19111
18988
|
readonly leaves: readonly string[];
|
|
19112
18989
|
readonly summary: TraceSummary;
|
|
19113
18990
|
}
|
|
19114
|
-
//#endregion
|
|
19115
|
-
//#region src/runtime/supervise/retained-executor.d.ts
|
|
19116
18991
|
/**
|
|
19117
18992
|
* Why a retained execution has no accepted terminal result, classified where the cause is still
|
|
19118
18993
|
* a typed value rather than a string in a journal.
|
|
@@ -19202,8 +19077,6 @@ interface RetainedLeafContinuation {
|
|
|
19202
19077
|
readonly priorSession: RetainedRunEnvironmentAdmission;
|
|
19203
19078
|
readonly priorSpent: Spend;
|
|
19204
19079
|
}
|
|
19205
|
-
//#endregion
|
|
19206
|
-
//#region src/runtime/failure-cause.d.ts
|
|
19207
19080
|
/**
|
|
19208
19081
|
* Who must act before the same work can succeed.
|
|
19209
19082
|
*
|
|
@@ -19217,9 +19090,48 @@ interface RetainedLeafContinuation {
|
|
|
19217
19090
|
* - `unknown`: nothing structural attributes the failure.
|
|
19218
19091
|
* @stable
|
|
19219
19092
|
*/
|
|
19220
|
-
type RuntimeFailureOwner = '
|
|
19093
|
+
type RuntimeFailureOwner = RuntimeFailureCause['owner'];
|
|
19221
19094
|
/** Stable failure codes. A consumer branches on these, never on `cause` text. @stable */
|
|
19222
|
-
type RuntimeFailureCode = '
|
|
19095
|
+
type RuntimeFailureCode = RuntimeFailureCause['code'];
|
|
19096
|
+
/** @internal Validate Runtime-owned failure values on observation transports. */
|
|
19097
|
+
declare const runtimeFailureCauseSchema: z.ZodReadonly<z.ZodObject<{
|
|
19098
|
+
code: z.ZodEnum<{
|
|
19099
|
+
aborted: "aborted";
|
|
19100
|
+
"deadline-exceeded": "deadline-exceeded";
|
|
19101
|
+
"budget-exhausted": "budget-exhausted";
|
|
19102
|
+
"credential-refused": "credential-refused";
|
|
19103
|
+
"request-rejected": "request-rejected";
|
|
19104
|
+
"upstream-unavailable": "upstream-unavailable";
|
|
19105
|
+
transport: "transport";
|
|
19106
|
+
"provider-contract": "provider-contract";
|
|
19107
|
+
"retained-unobservable": "retained-unobservable";
|
|
19108
|
+
"nested-recovery": "nested-recovery";
|
|
19109
|
+
platform: "platform";
|
|
19110
|
+
"work-failed": "work-failed";
|
|
19111
|
+
unknown: "unknown";
|
|
19112
|
+
}>;
|
|
19113
|
+
owner: z.ZodEnum<{
|
|
19114
|
+
provider: "provider";
|
|
19115
|
+
platform: "platform";
|
|
19116
|
+
unknown: "unknown";
|
|
19117
|
+
runtime: "runtime";
|
|
19118
|
+
work: "work";
|
|
19119
|
+
caller: "caller";
|
|
19120
|
+
}>;
|
|
19121
|
+
cause: z.ZodString;
|
|
19122
|
+
providerCode: z.ZodOptional<z.ZodString>;
|
|
19123
|
+
remediation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
19124
|
+
cause: z.ZodEnum<{
|
|
19125
|
+
api_key_selected: "api_key_selected";
|
|
19126
|
+
provider_unresolved: "provider_unresolved";
|
|
19127
|
+
subscription_unverified: "subscription_unverified";
|
|
19128
|
+
not_authenticated: "not_authenticated";
|
|
19129
|
+
}>;
|
|
19130
|
+
fix: z.ZodString;
|
|
19131
|
+
harness: z.ZodString;
|
|
19132
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
19133
|
+
}, z.core.$strip>>>;
|
|
19134
|
+
}, z.core.$strip>>;
|
|
19223
19135
|
/**
|
|
19224
19136
|
* A terminal failure as values, carried on final and settled events beside their existing
|
|
19225
19137
|
* `reason` and `error` fields.
|
|
@@ -19228,16 +19140,9 @@ type RuntimeFailureCode = 'aborted' | 'deadline-exceeded' | 'budget-exhausted' |
|
|
|
19228
19140
|
* and cause chain, the caller's signal and deadline, or the settlement's typed fields — never from
|
|
19229
19141
|
* message text. `cause` is the redacted, bounded cause chain for people; it is not a contract.
|
|
19230
19142
|
* @stable
|
|
19143
|
+
* @useDeclaredType
|
|
19231
19144
|
*/
|
|
19232
|
-
|
|
19233
|
-
readonly code: RuntimeFailureCode;
|
|
19234
|
-
readonly owner: RuntimeFailureOwner;
|
|
19235
|
-
readonly cause: string;
|
|
19236
|
-
/** The upstream or provider machine code the failure carried, when it carried one. */
|
|
19237
|
-
readonly providerCode?: string;
|
|
19238
|
-
}
|
|
19239
|
-
//#endregion
|
|
19240
|
-
//#region src/types.d.ts
|
|
19145
|
+
type RuntimeFailureCause = z.infer<typeof runtimeFailureCauseSchema>;
|
|
19241
19146
|
/** @stable */
|
|
19242
19147
|
interface AgentTaskSpec {
|
|
19243
19148
|
id: string;
|
|
@@ -19773,6 +19678,5 @@ interface KnowledgeReadinessDecision {
|
|
|
19773
19678
|
blockingGapIds: string[];
|
|
19774
19679
|
nonBlockingGapIds: string[];
|
|
19775
19680
|
}
|
|
19776
|
-
//#endregion
|
|
19777
|
-
export { NoWinnerError as $, RetainedRunHandle as $S, RuntimeEventCollector as $_, EvolutionAuthor as $a, WorkerTraceEvidence as $b, LoopUntilState as $c, DeadlineCheckIn as $d, ReentryTaskInput as $f, readCodexRolloutSession as $g, DelegationStatus as $h, Scope as $i, readDeclaredCheck as $l, extractLlmCallEvent as $m, SqlRunContextOptions as $n, flatWidenGate as $o, CliWorktreeSeam as $p, ObservedSessionFacts as $r, AgenticRunResult as $s, createVerifierEnvironment as $t, GraphRouteError as $u, MapItemFailurePolicy as $v, Driver as $x, openSqlRunStore as $y, TraceRootArtifact as A, RuntimeRunPersistenceAdapter as AS, areaUnderCurve as A_, StructuralRolloutPolicy as Aa, ExecutionBindingReceipt as Ab, HarvestFailure as Ac, retryPreSpawnRefusals as Ad, SupervisorAgentTestDeps as Af, DeliverableSpec as Ag, DelegationArgs as Ah, DesignerToolsEnv as Ai, ShapeContext as Al, ProviderLeafOut as Am, settledWorkerOut as An, startRetainedRunInEnvironment as Ao, DriverContractState as Ap, RemoteWorkerEvents as Ar, SuperviseOptionsForDispatch as As, AgentEnvironmentStatus as At, PursuitRunProjection as Au, RouteWhen as Av, persistHarnessTranscript as Ax, createEventBus as Ay, Handle as B, RecoverRetainedRunResult as BS, SandboxEvidenceContext as B_, officialChecksFromMeta as Ba, EnvironmentTeardownReceipt as Bb, renderReport as Bc, InMemoryRunContext as Bd, ProgressView as Bf, deterministicCompletion as Bg, DelegateCodeArgs as Bh, WorkspaceCheckpointMarker as Bi, LeaderboardRunContext as Bl, envKeyProvider as Bm, WorkspaceRun as Bn, PrivateCasArtifactPort as Bo, McpServer as Bp, loadProfile as Br, InProcessPromptCtx as Bs, CreateAgentEnvironmentInput$1 as Bt, EdgeDeliveryOutcome as Bu, QuestionPolicy as Bv, ProviderWorkspaceAttemptProvenance as Bx, AnalyzeOnSettleRoute as By, RuntimeFailureCause as C, SelectionReceipt as CS, renderLeaderboardMarkdown as C_, CheckRunContext as Ca, ValidationError as Cb, authorStrategy as Cc, createWorkerSlots as Cd, CoordinationVerbs as Cf, DelegationStore as Cg, FleetWorkspaceExecutorOptions as Ch, DispatchStopReason as Ci, Outcome as Cl, sharedBoxRefusal as Cm, readWorkerInteractiveBinding as Cn, createS3PrivateCasStore as Co, ContinuationPanelInput as Cp, supervisorRunDir as Cr, Environment as Cs, SuperviseProfileEntry as Ct, PursuitCostProvenance as Cu, DecideGate as Cv, HarnessTranscriptEvidence as Cx, McpToolDescriptor as Cy, RetainedPendingCause as D, RuntimeRunCost as DS, AnytimeStrategySummary as D_, RepairStop as Da, ExecutorRegistry as Db, strategyAuthorSystemPrompt as Dc, WorkerSpawnRetryPolicy as Dd, ResolveDriveHarness as Df, CoderTask as Dg, DetachedTurn as Dh, queueOf as Di, RunPersonified as Dl, createAgentEnvironmentProviderRegistry as Dm, WorkerEvidenceInput as Dn, reconnectRetainedRun as Do, PanelFinding as Dp, RemoteSupervisorAgent as Dr, LoopDispatchOptions as Ds, AgentEnvironmentEvent$1 as Dt, PursuitNodeTiming as Du, RouteFlow as Dv, ReadableEnvironment as Dx, BusStats as Dy, EvidencePendingEvent as E, RuntimeRunCompleteInput as ES, AnytimeReport as E_, CheckSourceCtx as Ea, ExecutorFactory as Eb, strategyAuthorContract as Ec, WorkerSpawnRetryHooks as Ed, ObserveSupervisorNodeEvent as Ef, CoderOutput as Eg, createSiblingSandboxExecutor as Eh, freeSlots as Ei, PersonaExecutors as El, AgentEnvironmentProviderRegistry as Em, VERIFY_TAIL_CHARS as En, PrivateCasNamespaceRetirement as Eo, ContinuationProfile as Ep, writeWorkerSteer as Er, LoopCampaignDispatchOptions as Es, AgentEnvironmentCapabilities$1 as Et, PursuitNodeProjection as Eu, JsonScalar as Ev, HarnessTranscriptUnavailableReason as Ex, BusRecord as Ey, ResourceLimit as F, NativeContextContinuationHandle as FS, WaterfallReport as F_, composeCheckSources as Fa, MaterializedModelIdentity as Fb, ObservationError as Fc, SeatSelection as Fd, ManagerWakePolicy as Ff, CompletionAnalyst as Fg, DelegationRunContext as Fh, delegate as Fi, LeaderboardBenchScore as Fl, BridgeHarnessStore as Fm, withUntrackedArtifacts as Fn, startRetainedInteractiveRun as Fo, SpawnResourceBytes as Fp, SupervisorCleanupReceipt as Fr, TERMINAL_DECISIONS as Fs, AgentSessionStatus$1 as Ft, ObserverJournal as Fu, QuestionEscalationOutcome as Fv, RetainedHarnessTranscriptDescriptor as Fx, AnalystFindingEvent as Fy, Settled as G, RetainedRunAdmission as GS, OtelExportStats as G_, visibleCheckScore as Ga, ExecutorResult as Gb, CorpusRecord as Gc, createInMemoryRunContext as Gd, noProgressFor as Gf, CodexRolloutSession as Gg, DelegateUiAuditConfig as Gh, RootSignal as Gi, DeclaredCheck as Gl, SandboxLeafOut as Gm, TrajectoryAnalysis as Gn, equalKOnCost as Go, DelegateResult as Gp, InteractiveWorkerEnvironment as Gr, MaterializeLocalMcpOptions as Gs, PlacementInfo as Gt, GraphResult as Gu, AuthorizedDownMessage as Gv, ProviderWorkspaceRetentionContext as Gx, LocalHarnessResult as Gy, NodeSnapshot as H, RetainedInteractiveEnvironmentAdmission as HS, SandboxEvidenceRetentionPort as H_, sandboxCheckRunner as Ha, ExecutorAccounting as Hb, CombinatorShape as Hc, RunContext as Hd, StopRule as Hf, stopSentinel as Hg, DelegateResearchArgs as Hh, RootHandle as Hi, LeaderboardScore as Hl, resolveMcpServerLaunch as Hm, jjWorkspace as Hn, PrivateCasOffloadReport as Ho, createMcpServer as Hp, profileRegistry as Hr, inProcessSandboxClient as Hs, ExecRequest as Ht, GraphEdge as Hu, QuestionUrgency as Hv, ProviderWorkspaceCaptureReceipt as Hx, AuthoredAnalystLimits as Hy, ResourceSpend as I, NativeContextContinuationInput as IS, WaterfallSpan as I_, defaultExtractCandidate as Ia, NodeExecutionIdentity as Ib, ObserveInput as Ic, SeatSelectionInput as Id, SupervisorProfile as If, CompletionEvidence as Ig, DelegationTaskQueue as Ih, ResultBlobStore as Ii, LeaderboardBenchTask as Il, BridgeModelCredential as Im, GitWorkspaceOptions as In, ResolveSandboxClientOptions as Io, SpawnResourceRead as Ip, provisionSupervisor as Ir, TerminalDecision as Is, AgentTurnResult$2 as It, ObserverRecord as Iu, QuestionEscalationRecord as Iv, resolveHarnessTranscriptCapture as Ix, AnalystKind as Iy, SpawnRejection as J, RetainedRunCancellation as JS, buildLoopOtelSpans as J_, AgentTurnUsage as Ja, HeldForContinuation as Jb, EqualKVerdict as Jc, SupervisorSpanOptions as Jd, RunCancellation as Jf, CodexRolloutTurn as Jg, DelegationFeedbackSnapshot as Jh, SupervisorOpts as Ji, assertDeclaredCheck as Jl, createSandboxToolPartState as Jm, parseWorkerToolTraceArtifact as Jn, runPersonified as Jo, ExecutorConfig as Jp, InteractiveWorkerResult as Jr, StdioMcpConnection as Js, SandboxInstance$1 as Jt, RunGraphTestOptions as Ju, DownMessageAuthorizationInput as Jv, ExecutorToolCall as Jx, LOCAL_HARNESSES as Jy, SpawnOpts as K, RetainedRunAdmissionHook as KS, OtelExporter as K_, AgentTurnBackend as Ka, ExecutorTeardownWarning as Kb, EqualKArm as Kc, withRunContext as Kd, plateau as Kf, CodexRolloutStoreReader as Kg, DelegateUiAuditRoute as Kh, SteerableRootHandle as Ki, DeclaredCheckPlacement as Kl, SandboxOutputMarker as Km, analyzeTrace as Kn, trajectoryReport as Ko, createDelegateHandler as Kp, InteractiveWorkerKeyInput as Kr, McpListedTool as Ks, ResourceRequest as Kt, GraphTopology as Ku, ContinuationInstruction as Kv, ProviderWorkspaceRetentionPort as Kx, RunLocalHarnessOptions as Ky, Spend as L, ReconnectRetainedRunOptions as LS, createWaterfallCollector as L_, defaultStructuralRolloutPolicy as La, ProfileMaterializationReceipt as Lb, ObserveOptions as Lc, SeatStage as Ld, AllWorkersStalledOptions as Lf, CompletionPolicy as Lg, DelegationTaskQueueOptions as Lh, SpawnEvent as Li, LeaderboardBenchmarkAdapter as Ll, BridgeSeam as Lm, Shell as Ln, resolveSandboxClient as Lo, SpawnResourceReader as Lp, ProfileRegistryDir as Lr, defaultSelectWinner as Ls, AnalystFinding$1 as Lt, ObserverRecordKind as Lu, QuestionEscalationTarget as Lv, retainHarnessTranscript as Lx, AnalystLensOutput as Ly, Budget as M, RuntimeRunStatus as MS, plateauLength as M_, VisibleCheck as Ma, ExecutorMaterialization as Mb, harvestCorpus as Mc, SuperviseRegistry as Md, SupervisorNodeContextSeed as Mf, gateOnDeliverable as Mg, DelegationResumeContext as Mh, graphDesignerExtraTools as Mi, ProviderAsSandboxClientOptions as Ml, providerAsExecutor as Mm, CopyOptions as Mn, claimRetainedInteractiveControl as Mo, DriverRetryPolicy as Mp, ProvisionSupervisorConnection as Mr, loopDispatch as Ms, AgentProfile$2 as Mt, PursuitStatus as Mu, EscalateQuestion as Mv, HarnessTranscriptReadLimits as Mx, defaultToolDetectors as My, BudgetOverspend as N, startRuntimeRun as NS, renderAnytimeTable as N_, canDisplace as Na, ExecutorNodeContext as Nb, Observation as Nc, SuperviseRegistryTable as Nd, SupervisorToolDescriptor as Nf, mapExecutorResult as Ng, DelegationResumeDriver as Nh, DelegateOptions as Ni, providerAsSandboxClient as Nl, UnavailablePausePolicy as Nm, UntrackedCopyStats as Nn, reconnectRetainedInteractiveRun as No, ResolveSpawnResourcePathsResult as Np, ProvisionSupervisorRequest as Nr, superviseDispatch as Ns, AgentSession as Nt, projectPursuit as Nu, Question as Nv, HarnessTranscriptReadOptions as Nx, watchTrace as Ny, TRACE_ROOT_SCHEMA as O, RuntimeRunHandle as OS, AnytimeTaskCurve as O_, StructuralRolloutConfig as Oa, SpawnModelSubstitution as Ob, HarvestCorpusOptions as Oc, isPreSpawnExecutorFailure as Od, ResolveSupervisorTools as Of, CheckUnavailableError as Og, RunDetachedTurnOptions as Oh, rollingDispatch as Oi, RunPersonifiedOptions as Ol, resolveAgentEnvironmentProvider as Om, closingWorkerNote as On, recoverRetainedRun as Oo, VerdictSummary as Op, RemoteSupervisorReader as Or, LoopOptionsForDispatch as Os, AgentEnvironmentProvider$1 as Ot, PursuitNodeUsage as Ou, RouteGate as Ov, captureHarnessTranscript as Ox, EventBus as Oy, BudgetViolation as P, NativeContextContinuationExecution as PS, WaterfallCollector as P_, compareCheckOutcomes as Pa, MaterializedExecutionIdentity as Pb, ObservationAnalysis as Pc, SeatSegment as Pd, SupervisorToolInvocationContext as Pf, verdictFromJudgeScore as Pg, DelegationResumeTick as Ph, defaultDelegateBudget as Pi, DefinedLeaderboard as Pl, ProviderPlacement as Pm, copyUntrackedIntoClone as Pn, recoverRetainedInteractiveRun as Po, ResolvedSpawnResourcePath as Pp, ProvisionedSupervisor as Pr, LocalSandboxClientOptions as Ps, AgentSessionRef as Pt, FileObserverJournal as Pu, QuestionDecision as Pv, RetainedHarnessTranscriptCapture as Px, AnalystAssignmentRecord as Py, FleetYield as Q, RetainedRunEventOptions as QS, padTraceId as Q_, streamAgentTurn as Qa, WorkerInteractiveUnavailableReason as Qb, LoopUntilSpec as Qc, WorkerTraceResolver as Qd, ReentryContinuity as Qf, harnessUsageIsEmpty as Qg, DelegationResultPayload as Qh, ResumedWork as Qi, declaredCheckJudge as Ql, SandboxUsageLedger as Qm, FencedSqlRunContext as Qn, fanout as Qo, CliWorktreeBridgeSeam as Qp, GraphSessionObservationOptions as Qr, AgenticOptions as Qs, VerifierEnvironmentOptions as Qt, defaultEdgeTraversalCap as Qu, WorkerResumeContext as Qv, DefaultVerdict$2 as Qx, SqlRunOwnershipError as Qy, SpendChannel as R, RecoverRetainedRunIntentOptions as RS, RunAgentRoundsOptions as R_, filterAuthoredAsserts as Ra, RootMaterialization as Rb, defaultAnalystInstruction as Rc, SelectSeat as Rd, NoProgressForOptions as Rf, CompletionVerdict as Rg, SubmitInput as Rh, SpawnJournal as Ri, LeaderboardFlagSpec as Rl, KeyProvider as Rm, Workspace as Rn, profileChatClient as Ro, environmentReader as Rp, ProfileRunRecord as Rr, inlineSandboxClient as Rs, CheckpointRef as Rt, observerRecordDigest as Ru, QuestionLevel as Rv, ProviderCheckpointCaptureContext as Rx, AnalystRegistry$1 as Ry, RuntimeStreamEvent as S, SandboxClient as SS, renderLeaderboardHtml as S_, CheckOutcome as Sa, NotFoundError as Sb, assertStrategyContract as Sc, WorkerSlots as Sd, CoordinationToolFace as Sf, DelegationPersistenceError as Sg, FleetHandle as Sh, DispatchReport as Si, LoopShape as Sl, ROUTER_CLIENT_HEADER as Sm, attachWorker as Sn, S3PrivateCasStoreOptions as So, ContinuationPanel as Sp, safeWorkerFile as Sr, BenchmarkTaskRow as Ss, SpawnRefusalCause as St, PursuitObserverDelivery as Su, WorkerWatchOptions as Sv, HarnessTranscriptCapture as Sx, McpToolAnnotations as Sy, RuntimeFailureOwner as T, Validator as TS, renderPairwiseMarkdown as T_, CheckSource as Ta, ExecutorContext as Tb, sampleThenRefine as Tc, WorkerSpawnRetryAttempt as Td, DriveHarnessOwnerContext as Tf, FileDelegationStoreOptions as Tg, createFleetWorkspaceExecutor as Th, RollingDispatchOptions as Ti, PersonaContext as Tl, AgentEnvironmentProviderRef as Tm, NOTE_MAX_CHARS as Tn, PrivateCasNamespaceObject as To, ContinuationPolicy as Tp, workerInboxFileFromEventDir as Tr, runBenchmark as Ts, AgentEnvironment$1 as Tt, PursuitNodePlatform as Tu, GateRequest as Tv, HarnessTranscriptUnavailable as Tx, BusEvent as Ty, NodeStatus as U, RetainedInteractiveIntentAdmission as US, OtelAttribute as U_, selectBestIndex as Ua, ExecutorCancellation as Ub, Corpus as Uc, RunContextLease as Ud, allWorkersStalled as Uf, CodexForkBoundary as Ug, DelegateResearchConfig as Uh, RootSegment as Ui, LeaderboardSpec as Ul, resolveSecretEnv as Um, localShell as Un, PrivateCasOptions as Uo, DelegateError as Up, profileRunsForName as Ur, HttpMcpServerSpec as Us, ExecResult as Ut, GraphEdgeCapError as Uu, questionEscalationTargets as Uv, ProviderWorkspaceCaptureResult as Ux, DefinedAnalystRecord as Uy, NodeId as V, RetainedInteractiveAdmission as VS, SandboxEvidenceReceipt as V_, resolveEntrySymbol as Va, Executor as Vb, AssertTraceDerivedFindings as Vc, InMemoryRunContextOptions as Vd, StopDecision as Vf, sentinelCompletion as Vg, DelegateCodeConfig as Vh, RecursiveReservationPolicy as Vi, LeaderboardScenario as Vl, mcpSecretEnvMetadataKey as Vm, gitWorkspace as Vn, PrivateCasDurableStore as Vo, McpServerOptions as Vp, pickBestProfile as Vr, InProcessSandboxClientOptions as Vs, CreateSandboxOptions$1 as Vt, EdgeTraversal as Vu, QuestionRecord as Vv, ProviderWorkspaceCaptureProvenance as Vx, AuthoredAnalystDefinition as Vy, RetainedExecutionState as W, RetainedInteractiveStartedAdmission as WS, OtelExportConfig as W_, structuralRollout as Wa, ExecutorCancellationRequest as Wb, CorpusFilter as Wc, createFileRunContext as Wd, anyOf as Wf, CodexRolloutIdentity as Wg, DelegateUiAuditArgs as Wh, RootSegmentEntry as Wi, defineLeaderboard as Wl, secretEnvOfMcpServer as Wm, runInWorkspace as Wn, createPrivateCasArtifactPort as Wo, DelegateHandlerOptions as Wp, recordProfileRun as Wr, LocalMcpMaterialization as Ws, ForkRequest as Wt, GraphNode as Wu, AuthorizeDownMessage as Wv, ProviderWorkspaceEntryMetadata as Wx, CodexExecutionEvidence as Wy, SubtreeSummary as X, RetainedRunEffect as XS, loopEventToOtelSpan as X_, StreamAgentTurnOptions as Xa, Runtime as Xb, FanoutSynthesis as Xc, SupervisorSpanRecorder as Xd, readRunCancelRequest as Xf, addHarnessUsage as Xg, DelegationHistoryEntry as Xh, ReenteredWorkers as Xi, declaredCheckDeliverable as Xl, mapSandboxToolEvent as Xm, createSupervisor as Xn, InMemoryCorpus as Xo, CliInPlaceSeam as Xp, InPlaceCliExecutorOptions as Xr, connectStdioMcp as Xs, computeFindingId$1 as Xt, runGraph as Xu, DownMessageDeliveryOutcome as Xv, UsageEvent as Xx, CodexTokenUsage as Xy, SubtreeResult as Y, RetainedRunDispatchedAdmission as YS, createOtelExporter as Y_, CollectedAgentTurn as Ya, HeldRelease as Yb, FanoutOptions as Yc, SupervisorSpanOutcome as Yd, cancelRun as Yf, CodexStoreDelta as Yg, DelegationHistoryArgs as Yh, Agent as Yi, checkProgramDigest as Yl, mapSandboxEvent as Ym, DEFAULT_MAX_DEPTH as Yn, FileCorpus as Yo, createExecutor as Yp, workerFromInteractiveProvider as Yr, StdioMcpServerSpec as Ys, WorkspaceRequest as Yt, TraversalContinuity as Yu, DownMessageDeliveryAttempt as Yv, TokenUsageProvenance as Yx, LocalHarness as Yy, TreeView as Z, RetainedRunEnvironmentAdmission as ZS, padSpanId as Z_, collectAgentTurn as Za, WorkerInteractiveSession as Zb, FanoutWinnerSelector as Zc, createSupervisorSpanRecorder as Zd, readRunCancellation as Zf, createCodexRolloutStoreReader as Zg, DelegationProgress as Zh, ResumedKeyState as Zi, declaredCheckDigest as Zl, SandboxServedBackend as Zm, createRootHandle as Zn, renderCorpusToInstructions as Zo, CliSeam as Zp, createInPlaceCliExecutor as Zr, materializeLocalMcp as Zs, makeFinding$1 as Zt, runGraphWithTestBrain as Zu, DownMessageEvent as Zv, AgentRunSpec as Zx, CodexExecutionPolicy as Zy, RunAgentTaskOptions as _, LoopWinner as _S, PairwiseVerdict as __, assessAuthoredProfile as _a, AgentEvalError$1 as _b, Strategy as _c, workerFromBackend as _d, RootStreamRecord as _f, TraceContext as _g, DetachedSessionDelegateOptions as _h, pickBestGraph as _i, WidenLineage as _l, SharedBoxPlacement as _m, WorktreePatchArtifact as _n, SandboxLineageHandle as _o, FileCoordinationLog as _p, cancelWorker as _r, BenchmarkCell as _s, PeerAuditAccess as _t, SupervisePursuitOptions as _u, EventAcknowledgement as _v, RetainedInteractiveEnvironmentInput as _x, isPeerMailEnvelope as _y, AgentKnowledgeProvider as a, StartRetainedRunInEnvironmentOptions as aC, LoopIterationEndedPayload as aS, CodeModeToolsOptions as a_, ChatCompletionsTransport as aa, SpawnForestMissingTree as ab, RunAgenticOptions as ac, delegatesWorkerBriefPrompt as ad, BudgetPool as af, UiAuditorDelegationOutput as ag, ToolLoopCallContext as ah, GraphRunRecord as ai, RenderCorpusToInstructionsOptions as al, SandboxSteeringOptions as am, SurfaceReader as an, TournamentRow as ao, SupervisorFinalizer as ap, SearchSpecOwnedOption as ar, widen as as, DriverAttemptRecord as at, JudgedPursuitVersion as au, SanitizedKnowledgeRequirement as av, ActivityLog as ax, PEER_MAIL_WIRE_KEY as ay, RuntimeSession as b, OutputAdapter as bS, leaderboard as b_, supervisorInstructions as ba, ConfigError as bb, StrategyResult as bc, SuperviseOptions as bd, supervisorAgent as bf, DelegationTraceSpan as bg, detachedSessionDelegate as bh, storedGraphDigests as bi, DefinePersona as bl, SharedWorkerIdentity as bm, WorkerInteractiveBinding as bn, acquireSandbox as bo, ContinuationAppend as bp, readWorkerSteerAcknowledgement as br, BenchmarkReport as bs, SpawnPreflightContext as bt, supervisePursuit as bu, ManagerWake as bv, StartRetainedInteractiveRunOptions as bx, JsonRpcMessage as by, AgentTaskContext as c, LoopPlanDescription as cS, createCodeModeTools as c_, ChatTransportTool as ca, loadSpawnForest as cb, SurfaceScore as cc, formatPromptHandle as cd, LeakedReservation as cf, UiFindingSeverity as cg, ToolLoopCompactionOptions as ch, digestOfGraph as ci, ScopeWidenGate as cl, createSteerableSandboxSession as cm, fsSurfaceReader as cn, Deliverable as co, CoordinationMcpHandle as cp, searchPresets as cr, assertTraceDerivedFindings as cs, DriverFailureClass as ct, PursuitVersionChain as cu, sanitizeKnowledgeReadinessReport as cv, ExecutorProgress as cx, PeerMailLimits as cy, AgentTaskStatus as d, LoopSandboxPlacement as dS, GroupOf as d_, chatWorkerSeam as da, FileSpawnJournal as db, refine as dc, promptHandle as dd, ReservationRejection as df, KnowledgeUpdate as dg, FeedbackEvent as dh, graphFromStored as di, TrajectoryReport as dl, InboxLease as dm, analystsFromRegistry as dn, OpenSandboxRunPromptOptions as do, CoordinationTransportOptions as dp, createScope as dr, registryScopeAnalyst as ds, CoordinationStats as dt, SettledPursuitVersion as du, WorktreeCommandResult as dv, WorkerProgress as dx, PeerMailRefusal as dy, RetainedRunIntentAdmission as eC, ExecCtx as eS, HarnessUsage as e_, UnconfirmedTeardown as ea, SqlAdapter as eb, AgenticSurface as ec, PromptHandle as ed, ParkedRun as ef, DelegationStatusResult as eg, sumSandboxUsage as eh, graphFromSessionFacts as ei, Panel as el, ProviderSeam as em, BoxSurfaceReaderOptions as en, EvolutionReport as eo, UNPROVEN_CONTINUITY as ep, createFencedSqlRunContext as er, loopUntil as es, ProviderModelAttemptEvidence as et, IsolatedCheckBox as eu, RuntimeStreamEventCollector as ev, WorkerTraceUnavailableReason as ex, MapOnSettleRoute as ey, BackendErrorDetail as f, LoopStartedPayload as fS, Interval as f_, createChatSessionStore as fa, InMemoryResultBlobStore as fb, runAgentic as fc, PursuitFork as fd, ReservationShortfall as ff, ResearchOutput as fg, FeedbackStore as fh, graphRegistry as fi, TrajectoryReportOptions as fl, InboxMessage as fm, failuresAnalyst as fn, SandboxRun as fo, serveCoordinationMcp as fp, ScopeArgs as fr, observationFromRegistry as fs, CoordinationTools as ft, VersionJudge as fu, WorktreeHarnessResult as fv, createActivityLog as fx, PeerMailSendInput as fy, OpenAIChatToolChoice as g, LoopTraceEvent as gS, PairwiseOptions as g_, asAuthoredProfile as ga, defaultRedactor as gb, ShotSpec as gc, superviseWithTestBrain as gd, createBudgetPool as gf, researcherProfile as gg, DelegateRunCtx as gh, lookupGraph as gi, WidenDecision as gl, SharedBoxCloseReceipt as gm, WorktreeCliExecutorOptions as gn, SandboxLineage as go, CoordinationLog as gp, WriteWorkerSteerOptions as gr, sanitizeMcpToolSchema as gs, MakeWorkerAgent as gt, SupervisePursuitError as gu, CoordinationEvent as gv, RetainedInteractiveAdmissionHook as gx, createPeerMailbox as gy, OpenAIChatTool as h, LoopTraceEmitter as hS, LeaderboardRow as h_, ProfileRichnessThresholds as ha, Redactor as hb, AuthoredStrategy as hc, superviseFleetCapabilities as hd, ReserveOptions as hf, ResearcherProfileOptions as hg, CoderReviewer as hh, loadGraph as hi, Widen as hl, DEFAULT_SHARED_BOX_WORKERS as hm, worktreeFanout as hn, openSandboxRun as ho, CoordinationDeliveryEvidence as hp, WorkerSteerRequest as hr, createMcpEnvironment as hs, GraphSubtasks as ht, SuperviseGraphPursuitOptions as hu, AwaitWakeInput as hv, RecoverRetainedInteractiveRunOptions as hx, claimsAuthority as hy, AgentExecutionBackend as i, RetainedRunTurnInput as iC, LoopIterationDispatchPayload as iS, CodeModeToolContext as i_, WorkerEventPage as ia, SpawnForestInDoubtNode as ib, CorpusReadbackOptions as ic, createPromptRegistry as id, readRunParking as if, UiAuditLensFilter as ig, ToolSpec as ih, GraphRunQuery as ii, PipelineStage as il, DEFAULT_SANDBOX_STEERING_MAX_TURNS as im, SurfaceReadOutcome as in, TournamentCell as io, FinalizerSettled as ip, SearchSpecInputs as ir, verify as is, SupervisedResult as it, runIsolatedCheck as iu, SanitizedKnowledgeReadinessReport as iv, createPushTraceSource as ix, DEFAULT_PEER_MAIL_LIMITS as iy, TraceSummary as j, RuntimeRunRow as jS, bestSoFar as j_, StructuralRolloutResult as ja, ExecutorExecutionBinding as jb, HarvestReport as jc, withWorkerSpawnRetry as jd, SupervisorNodeContext as jf, ExecutorResultMapping as jg, DelegationRecord as jh, GraphDesignerExtraTools as ji, ShapeRegistry as jl, ProviderPromptOptions as jm, spendFromUsageEvents as jn, ClaimRetainedInteractiveControlOptions as jo, DriverReentry as jp, connectRemoteSupervisor as jr, loopCampaignDispatch as js, AgentEnvironmentSummary as jt, PursuitRunTotals as ju, ChildQuestionInbox as jv, HarnessTranscriptMetadata as jx, WatchTraceOptions as jy, TRACE_SUMMARY_SCHEMA as k, RuntimeRunOptions as kS, anytimeReport as k_, StructuralRolloutMessage as ka, AgentExecutionRef as kb, HarvestError as kc, resolveWorkerSpawnRetry as kd, SupervisorAgentDeps as kf, CheckVerdict as kg, runDetachedTurn as kh, DesignerRunGraphEnv as ki, ShapeBudget as kl, ProviderExecutorOptions as km, composeWorkerEvidence as kn, startRetainedRun as ko, admitContinuationPolicy as kp, RemoteSupervisorTree as kr, SuperviseDispatchOptions as ks, AgentEnvironmentQuery as kt, PursuitProjection as ku, RouteMatch as kv, harnessTranscriptArtifact as kx, PublishOptions as ky, AgentTaskRunResult as l, LoopPlanPayload as lS, runCodeMode as l_, ChatWorkerSeamOptions as la, FileResultBlobStore as lb, breadthStrategy as lc, kernelPromptRegistry as ld, ReservationFloor as lf, UiLens as lg, ToolLoopMessageRecord as lh, graphCorpusSummary as li, SteerContext as ll, AuthorityInboxMessage as lm, harvestSurfaceDiffs as ln, OpenSandboxRunBeforeStartContext as lo, CoordinationPublicAddress as lp, searchSpecDigest as lr, buildSteerContext as ls, DriverRepromptRefusal as lt, PursuitVersionStop as lu, InPlaceHarnessResult as lv, ScopeProgressInput as lx, PeerMailOutcome as ly, OpenAIChatResponseFormat as m, LoopTokenUsage as mS, LeaderboardOptions as m_, ProfileRichness as ma, contentAddress as mb, AuthorStrategyOptions as mc, supervise as md, ReservationTicket as mf, ResearchTask as mg, CoderReview as mh, listGraphRuns as mi, VerifySpec as ml, DEFAULT_SHARED_BOX_RESOURCES as mm, WorktreeFanoutOptions as mn, TurnResult as mo, CoordinationRejectReason as mp, WorkerSteerAcknowledgement as mr, McpEnvironmentOptions as ms, GraphSubtaskPreparation as mt, assertPursuitVersions as mu, GitRunner as mv, ReconnectRetainedInteractiveRunOptions as mx, PeerMailboxOptions as my, AgentBackendContext as n, RetainedRunSnapshot as nC, LoopDecisionPayload as nS, CodeModeStore as n_, WorkerEventCursor as na, SpawnForest as nb, AgenticTool as nc, RegisteredPrompt as nd, RunParkingPolicy as nf, FeedbackRefersTo as ng, RouterTransportConfig as nh, GraphCorpusSummary as ni, PanelSpec as nl, RouterToolsSeam as nm, SurfaceDiff as nn, StrategyEvolutionConfig as no, DeliveredOutput as np, SEARCH_SPEC_CORRELATION_KEY as nr, pipeline as ns, RootProviderModelEvidence as nt, IsolatedCheckOptions as nu, RuntimeStreamEventSummary as nv, ToolStepInput as nx, MapTraversalEvent as ny, AgentRuntimeEvent as o, StartRetainedRunOptions as oC, LoopIterationStartedPayload as oS, CodeModeToolset as o_, ChatSessionStore as oa, SpawnForestNode as ob, StrategyMessage as oc, dumbContinuationFailPrompt as od, BudgetPoolRestore as of, UiFinding as og, ToolLoopChat as oh, GraphSelection as oi, ScopeAnalyst as ol, SteerableSandboxArgs as om, WatchedSurface as on, runStrategyEvolution as oo, bestDelivered as op, assertSearchSpec as or, CreateScopeAnalystOptions as os, DriverAttemptStop as ot, NextPursuitVersion as ou, createRuntimeEventCollector as ov, ActivityNote as ox, PeerMailEnvelope as oy, KnowledgeReadinessDecision as p, LoopTeardownFailedPayload as pS, Leaderboard as p_, AuthoredProfile as pa, InMemorySpawnJournal as pb, sample as pc, RUN_FORK_CORRELATION_KEYS as pd, ReservationStage as pf, ResearchSource as pg, CoderDelegate as ph, graphRunsFor as pi, Verify as pl, PeerInboxMessage as pm, AuthoredHarness as pn, SandboxRunAbortError as po, CoordinationHttpAudit as pp, WorkerCancellation as pr, McpEndpoint as ps, CoordinationToolsOptions as pt, VersionVerdict as pu, WorktreeProfileMaterializationReceipt as pv, readWorkerProgress as px, PeerMailbox as py, SpawnPrior as q, RetainedRunCancelOptions as qS, OtelSpan as q_, AgentTurnInput$1 as qa, HeldEnvironment as qb, EqualKOnCostOptions as qc, SupervisorSpanAttributes as qd, RunCancelRequest as qf, CodexRolloutStoreRef as qg, DelegationError as qh, Supervisor as qi, DeclaredCheckStateCapture as ql, SandboxToolPartState as qm, WorkerToolTraceArtifact as qn, definePersona as qo, createExecutorRegistry as qp, InteractiveWorkerOptions as qr, McpSpawnFault as qs, SandboxEvent$1 as qt, RunGraphOptions as qu, ContinuityMode as qv, ExecutorProgressEvent as qx, runLocalHarness as qy, AgentBackendInput as r, RetainedRunStartMaterial as rC, LoopEndedPayload as rS, CodeModeTool as r_, WorkerEventEntry as ra, SpawnForestEvent as rb, ArtifactHandle as rc, analyzesFindingsReportPrompt as rd, RunParkingRecord as rf, ResearchOutputShape as rg, RouterRouting as rh, GraphRegistryDir as ri, PanelVerdict as rl, SandboxSeam as rm, SurfaceReadBox as rn, StrategyTournament as ro, FinalizeContext as rp, SearchSpec as rr, selectValidWinner as rs, RootStreamReceipt as rt, IsolatedCheckResult as ru, RuntimeTelemetryOptions as rv, TraceSource as rx, AUTHORITY_MARKERS as ry, AgentRuntimeEventSink as s, LoopLineageOptions as sS, RunCodeModeOptions as s_, ChatTransportExecutorOptions as sa, SpawnForestTree as sb, StrategyShotResult as sc, dumbContinuationPassPrompt as sd, BudgetReadout as sf, UiFindingScreenshot as sg, ToolLoopCompaction as sh, StoredGraph as si, ScopeAnalyzeInput as sl, SteerableSandboxSession as sm, boxSurfaceReader as sn, strategyTournament as so, CoordinationAuthentication as sp, compileSearchSpec as sr, RegistryAnalyzeProjection as ss, DriverContinuationRecord as st, NextPursuitVersionInput as su, createRuntimeStreamEventCollector as sv, DEFAULT_STALL_AFTER_MS as sx, PeerMailEvent as sy, AgentAdapter as t, RetainedRunReplayPoint as tC, Iteration as tS, decodeHarnessUsage as t_, WidenGate as ta, materializeTreeView as tb, AgenticTask as tc, PromptRegistry as td, RunParkedError as tf, FeedbackRating as tg, RouterResponseReceipt as th, GraphCorpusGroup as ti, PanelJudge as tl, RouterSeam as tm, HarvestSurfaceDiffsOptions as tn, EvolutionStrategy as to, composeReentryTask as tp, CompiledSearchSpec as tr, panel as ts, ProviderModelExecutionEvidence as tt, IsolatedCheckBoxEvidence as tu, RuntimeStreamEventSink as tv, SessionMessageLike as tx, MapSpawnMarker as ty, AgentTaskSpec as u, LoopResult as uS, AxisScoresOf as u_, chatTransportExecutor as ua, replaySpawnTree as ub, depthStrategy as uc, naiveContinuationPrompt as ud, ReservationHolder as uf, KnowledgeItem as ug, ToolLoopToolCall as uh, graphDigest as ui, TrajectoryNode as ul, Inbox as um, AnalystAuthoring as un, OpenSandboxRunOptions as uo, CoordinationReadAccess as up, settledToIteration as ur, createScopeAnalyst as us, BlockedToolReport as ut, PursuitVersions as uu, WorktreeCheckRunner as uv, TeamProgress as ux, PeerMailReadout as uy, RunAgentTaskStreamOptions as v, MountManifestEntry as vS, ProfileKeyOf as v_, defaultProfileRichnessThresholds as va, AgentEvalErrorCode as vb, StrategyArtifacts as vc, AuthorizedSpawn as vd, readRootStream as vf, createPropagatingTraceEmitter as vg, DetachedWinnerSelection as vh, recordGraphRun as vi, WidenSpec as vl, SharedBoxPlacementOptions as vm, createWorktreeCliExecutor as vn, createSandboxLineage as vo, PriorCoordination as vp, legacySupervisorRunDir as vr, BenchmarkConfig as vs, SettledWorker as vt, SupervisedPursuitResult as vu, LeadMessage as vv, RetainedInteractiveRunHandle as vx, peerMailTools as vy, RuntimeFailureCode as w, ValidationCtx as wS, renderLeaderboardSvg as w_, CheckRunner as wa, AgentSpec as wb, defineStrategy as wc, ResolvedWorkerSpawnRetry as wd, DriveHarness as wf, FileDelegationStore as wg, SiblingSandboxExecutorOptions as wh, DispatchUnit as wi, Persona as wl, sharedWorkerClientName as wm, EVIDENCE_MAX_CHARS as wn, PrivateCasNamespaceInventory as wo, ContinuationPanelResult as wp, supervisorRunsRoot as wr, printBenchmarkReport as ws, WorkerSpawnContext as wt, PursuitNodeCost as wu, GateDecision as wv, HarnessTranscriptFile as wx, McpTransport as wy, RuntimeSessionStore as x, RunProvenance as xS, pairwiseSignificance as x_, CheckExecChannel as xa, JudgeError as xb, adaptiveRefine as xc, SuperviseTestOptions as xd, supervisorAgentWithTestBrain as xf, composeLoopTraceEmitters as xg, DelegationExecutor as xh, taskShapeDigest as xi, DefinePersonaInput as xl, sharedBoxPlacement as xm, WorkerInteractiveProviderSource as xn, S3PrivateCasStore as xo, ContinuationEntry as xp, readWorkerSteerRequests as xr, BenchmarkStrategySummary as xs, SpawnRefusal as xt, RunReopen as xu, ToolOutcomeEvent as xv, HarnessTranscriptArtifact as xx, JsonRpcResponse as xy, RuntimeCanonicalStreamEvent as y, MountRecorder as yS, ScoreOf as y_, profileRichnessFinding as ya, BackendTransportError as yb, StrategyCtx as yc, AuthorizedSpawnContext as yd, readRootStreamReceipt as yf, readTraceContextFromEnv as yg, UiAuditorDelegate as yh, recordStoredGraphRun as yi, WinnerStrategy as yl, SharedBoxStats as ym, AttachWorkerOptions as yn, AcquireOptions as yo, CheckRead as yp, readWorkerCancellation as yr, BenchmarkLift as ys, SpawnPreflight as yt, superviseGraphPursuit as yu, ManagerReentryState as yv, RetainedInteractiveStartMaterial as yx, peerMailVerbNames as yy, SpendGap as z, RecoverRetainedRunOptions as zS, runAgentRounds as z_, modelAuthoredChecks as za, UnknownMaterializationReason as zb, observe as zc, subscriptionUsageLimitSignal as zd, PlateauOptions as zf, completionAuthorizes as zg, SubmitOutput as zh, TraceRootReceipt as zi, LeaderboardIterationInfo as zl, ResolvedMcpServerLaunch as zm, WorkspaceCommit as zn, profileOptimizerModelCall as zo, resolveSpawnResourcePaths as zp, bestProfileFor as zr, InProcessOnPrompt as zs, CheckpointRequest as zt, AgentGraph as zu, QuestionOption as zv, ProviderNativeCapturePhase as zx, AnalystRunContext as zy };
|
|
19778
|
-
//# sourceMappingURL=types-C8BGOCBn.d.ts.map
|
|
19681
|
+
export { NoWinnerError as $, NativeContextContinuationExecution as $S, WaterfallCollector as $_, filterAuthoredAsserts as $a, MaterializedExecutionIdentity as $b, defaultAnalystInstruction as $c, SeatSelectionInput as $d, SupervisorProfile as $f, verdictFromJudgeScore as $g, DelegationRunContext as $h, SpawnJournal as $i, LeaderboardFlagSpec as $l, BridgeHarnessStore as $m, validateStoredGraph as $n, profileChatClient as $o, SpawnResourceBytes as $p, InteractiveWorkerOptions as $r, inlineSandboxClient as $s, createVerifierEnvironment as $t, observerRecordDigest as $u, QuestionDecision as $v, RetainedHarnessTranscriptCapture as $x, AnalystAssignmentRecord as $y, TraceRootArtifact as A, LoopSandboxPlacement as AS, GroupOf as A_, ProfileRichnessThresholds as Aa, FileSpawnJournal as Ab, AuthoredStrategy as Ac, RUN_FORK_CORRELATION_KEYS as Ad, ReservationStage as Af, ResearchOutput as Ag, FeedbackStore as Ah, lookupGraph as Ai, Widen as Al, InboxMessage as Am, settledWorkerOut as An, openSandboxRun as Ao, serveCoordinationMcp as Ap, RemoteSupervisorCancelResult as Ar, createMcpEnvironment as As, AgentEnvironmentStatus as At, SuperviseGraphPursuitOptions as Au, WorktreeCommandResult as Av, WorkerProgress as Ax, PeerMailRefusal as Ay, Handle as B, RunProvenance as BS, pairwiseSignificance as B_, CheckSource as Ba, JudgeError as Bb, sampleThenRefine as Bc, createWorkerSlots as Bd, CoordinationVerbs as Bf, DelegationPersistenceError as Bg, FleetHandle as Bh, RollingDispatchOptions as Bi, PersonaContext as Bl, ROUTER_CLIENT_HEADER as Bm, WorkspaceRun as Bn, PrivateCasNamespaceObject as Bo, ContinuationPanel as Bp, ProvisionedSupervisor as Br, runBenchmark as Bs, CreateAgentEnvironmentInput$1 as Bt, PursuitNodePlatform as Bu, ToolOutcomeEvent as Bv, HarnessTranscriptArtifact as Bx, JsonRpcResponse as By, RuntimeFailureCause as C, RetainedRunTurnInput as CC, LoopIterationDispatchPayload as CS, CodeModeToolContext as C_, ChatTransportTool as Ca, SpawnForestInDoubtNode as Cb, SurfaceScore as Cc, dumbContinuationFailPrompt as Cd, BudgetPoolRestore as Cf, UiAuditorDelegationOutput as Cg, ToolLoopCallContext as Ch, graphCorpusSummary as Ci, ScopeWidenGate as Cl, SandboxSteeringOptions as Cm, readWorkerInteractiveBinding as Cn, Deliverable as Co, bestDelivered as Cp, readWorkerSteerRequests as Cr, assertTraceDerivedFindings as Cs, SuperviseProfileEntry as Ct, PursuitVersionChain as Cu, SanitizedKnowledgeReadinessReport as Cv, createPushTraceSource as Cx, DEFAULT_PEER_MAIL_LIMITS as Cy, RetainedPendingCause as D, LoopPlanDescription as DS, createCodeModeTools as D_, createChatSessionStore as Da, loadSpawnForest as Db, runAgentic as Dc, naiveContinuationPrompt as Dd, ReservationHolder as Df, UiLens as Dg, ToolLoopMessageRecord as Dh, graphRunsFor as Di, TrajectoryReportOptions as Dl, AuthorityInboxMessage as Dm, WorkerEvidenceInput as Dn, SandboxRun as Do, CoordinationPublicAddress as Dp, workerInboxFileFromEventDir as Dr, observationFromRegistry as Ds, AgentEnvironmentEvent$1 as Dt, VersionJudge as Du, sanitizeKnowledgeReadinessReport as Dv, ExecutorProgress as Dx, PeerMailLimits as Dy, EvidencePendingEvent as E, LoopLineageOptions as ES, RunCodeModeOptions as E_, chatWorkerSeam as Ea, SpawnForestTree as Eb, refine as Ec, kernelPromptRegistry as Ed, ReservationFloor as Ef, UiFindingSeverity as Eg, ToolLoopCompactionOptions as Eh, graphRegistry as Ei, TrajectoryReport as El, createSteerableSandboxSession as Em, VERIFY_TAIL_CHARS as En, OpenSandboxRunPromptOptions as Eo, CoordinationMcpHandle as Ep, supervisorRunsRoot as Er, registryScopeAnalyst as Es, AgentEnvironmentCapabilities$1 as Et, SettledPursuitVersion as Eu, createRuntimeStreamEventCollector as Ev, DEFAULT_STALL_AFTER_MS as Ex, PeerMailEvent as Ey, ResourceLimit as F, LoopTraceEvent as FS, PairwiseOptions as F_, supervisorInstructions as Fa, defaultRedactor as Fb, StrategyResult as Fc, AuthorizedSpawn as Fd, readRootStream as Ff, TraceContext as Fg, DetachedSessionDelegateOptions as Fh, taskShapeDigest as Fi, DefinePersona as Fl, SharedBoxPlacement as Fm, withUntrackedArtifacts as Fn, acquireSandbox as Fo, FileCoordinationLog as Fp, RemoteWorkerEvents as Fr, BenchmarkReport as Fs, AgentSessionStatus$1 as Ft, supervisePursuit as Fu, CoordinationEvent as Fv, RetainedInteractiveAdmissionHook as Fx, createPeerMailbox as Fy, Settled as G, RuntimeRunCompleteInput as GS, AnytimeReport as G_, StructuralRolloutPolicy as Ga, ExecutorFactory as Gb, HarvestFailure as Gc, isPreSpawnExecutorFailure as Gd, ResolveSupervisorTools as Gf, CoderTask as Gg, DetachedTurn as Gh, DesignerToolsEnv as Gi, ShapeContext as Gl, createAgentEnvironmentProviderRegistry as Gm, TrajectoryAnalysis as Gn, startRetainedRunInEnvironment as Go, PanelFinding as Gp, bestProfileFor as Gr, SuperviseOptionsForDispatch as Gs, PlacementInfo as Gt, PursuitRunProjection as Gu, JsonScalar as Gv, HarnessTranscriptUnavailableReason as Gx, BusRecord as Gy, NodeSnapshot as H, SelectionReceipt as HS, renderLeaderboardMarkdown as H_, RepairStop as Ha, ValidationError as Hb, strategyAuthorSystemPrompt as Hc, WorkerSpawnRetryAttempt as Hd, DriveHarnessOwnerContext as Hf, FileDelegationStore as Hg, SiblingSandboxExecutorOptions as Hh, queueOf as Hi, RunPersonified as Hl, sharedWorkerClientName as Hm, jjWorkspace as Hn, reconnectRetainedRun as Ho, ContinuationPanelResult as Hp, provisionSupervisor as Hr, LoopDispatchOptions as Hs, ExecRequest as Ht, PursuitNodeTiming as Hu, DecideGate as Hv, HarnessTranscriptEvidence as Hx, McpToolDescriptor as Hy, ResourceSpend as I, LoopWinner as IS, PairwiseVerdict as I_, CheckExecChannel as Ia, AgentEvalError$1 as Ib, adaptiveRefine as Ic, AuthorizedSpawnContext as Id, readRootStreamReceipt as If, createPropagatingTraceEmitter as Ig, DetachedWinnerSelection as Ih, GraphTriggerBinding as Ii, DefinePersonaInput as Il, SharedBoxPlacementOptions as Im, GitWorkspaceOptions as In, S3PrivateCasStore as Io, PriorCoordination as Ip, connectRemoteSupervisor as Ir, BenchmarkStrategySummary as Is, AgentTurnResult$2 as It, RunReopen as Iu, EventAcknowledgement as Iv, RetainedInteractiveEnvironmentInput as Ix, isPeerMailEnvelope as Iy, SpawnRejection as J, RuntimeRunOptions as JS, anytimeReport as J_, canDisplace as Ja, AgentExecutionRef as Jb, Observation as Jc, withWorkerSpawnRetry as Jd, SupervisorNodeContext as Jf, CompletionCheckContext as Jg, DelegationArgs as Jh, DelegateOptions as Ji, providerAsSandboxClient as Jl, ProviderLeafOut as Jm, parseWorkerToolTraceArtifact as Jn, reconnectRetainedInteractiveRun as Jo, DriverContractState as Jp, profileRegistry as Jr, superviseDispatch as Js, SandboxInstance$1 as Jt, projectPursuit as Ju, RouteMatch as Jv, harnessTranscriptArtifact as Jx, PublishOptions as Jy, SpawnOpts as K, RuntimeRunCost as KS, AnytimeStrategySummary as K_, StructuralRolloutResult as Ka, ExecutorRegistry as Kb, HarvestReport as Kc, resolveWorkerSpawnRetry as Kd, SupervisorAgentDeps as Kf, CheckUnavailableError as Kg, RunDetachedTurnOptions as Kh, GraphDesignerExtraTools as Ki, ShapeRegistry as Kl, resolveAgentEnvironmentProvider as Km, analyzeTrace as Kn, ClaimRetainedInteractiveControlOptions as Ko, VerdictSummary as Kp, loadProfile as Kr, loopCampaignDispatch as Ks, ResourceRequest as Kt, PursuitRunTotals as Ku, RouteFlow as Kv, ReadableEnvironment as Kx, BusStats as Ky, Spend as L, MountManifestEntry as LS, ProfileKeyOf as L_, CheckOutcome as La, AgentEvalErrorCode as Lb, assertStrategyContract as Lc, SuperviseOptions as Ld, supervisorAgent as Lf, readTraceContextFromEnv as Lg, UiAuditorDelegate as Lh, DispatchReport as Li, LoopShape as Ll, SharedBoxStats as Lm, Shell as Ln, S3PrivateCasStoreOptions as Lo, CheckRead as Lp, connectRemoteSupervisorControl as Lr, BenchmarkTaskRow as Ls, AnalystFinding$1 as Lt, PursuitObserverDelivery as Lu, LeadMessage as Lv, RetainedInteractiveRunHandle as Lx, peerMailTools as Ly, Budget as M, LoopTeardownFailedPayload as MS, Leaderboard as M_, assessAuthoredProfile as Ma, InMemorySpawnJournal as Mb, Strategy as Mc, superviseFleetCapabilities as Md, ReserveOptions as Mf, ResearchTask as Mg, CoderReview as Mh, recordGraphRun as Mi, WidenLineage as Ml, DEFAULT_SHARED_BOX_RESOURCES as Mm, CopyOptions as Mn, SandboxLineageHandle as Mo, CoordinationRejectReason as Mp, RemoteSupervisorReader as Mr, BenchmarkCell as Ms, AgentProfile$2 as Mt, SupervisePursuitOptions as Mu, WorktreeProfileMaterializationReceipt as Mv, readWorkerProgress as Mx, PeerMailbox as My, BudgetOverspend as N, LoopTokenUsage as NS, LeaderboardOptions as N_, defaultProfileRichnessThresholds as Na, contentAddress as Nb, StrategyArtifacts as Nc, superviseWithTestBrain as Nd, createBudgetPool as Nf, ResearcherProfileOptions as Ng, CoderReviewer as Nh, recordStoredGraphRun as Ni, WidenSpec as Nl, DEFAULT_SHARED_BOX_WORKERS as Nm, UntrackedCopyStats as Nn, createSandboxLineage as No, CoordinationDeliveryEvidence as Np, RemoteSupervisorSteerResult as Nr, BenchmarkConfig as Ns, AgentSession as Nt, SupervisedPursuitResult as Nu, GitRunner as Nv, ReconnectRetainedInteractiveRunOptions as Nx, PeerMailboxOptions as Ny, TRACE_ROOT_SCHEMA as O, LoopPlanPayload as OS, runCodeMode as O_, AuthoredProfile as Oa, FileResultBlobStore as Ob, sample as Oc, promptHandle as Od, ReservationRejection as Of, KnowledgeItem as Og, ToolLoopToolCall as Oh, listGraphRuns as Oi, Verify as Ol, Inbox as Om, closingWorkerNote as On, SandboxRunAbortError as Oo, CoordinationReadAccess as Op, writeWorkerSteer as Or, McpEndpoint as Os, AgentEnvironmentProvider$1 as Ot, VersionVerdict as Ou, InPlaceHarnessResult as Ov, ScopeProgressInput as Ox, PeerMailOutcome as Oy, BudgetViolation as P, LoopTraceEmitter as PS, LeaderboardRow as P_, profileRichnessFinding as Pa, Redactor as Pb, StrategyCtx as Pc, workerFromBackend as Pd, RootStreamRecord as Pf, researcherProfile as Pg, DelegateRunCtx as Ph, storedGraphDigests as Pi, WinnerStrategy as Pl, SharedBoxCloseReceipt as Pm, copyUntrackedIntoClone as Pn, AcquireOptions as Po, CoordinationLog as Pp, RemoteSupervisorTree as Pr, BenchmarkLift as Ps, AgentSessionRef as Pt, superviseGraphPursuit as Pu, AwaitWakeInput as Pv, RecoverRetainedInteractiveRunOptions as Px, claimsAuthority as Py, FleetYield as Q, startRuntimeRun as QS, renderAnytimeTable as Q_, defaultStructuralRolloutPolicy as Qa, ExecutorNodeContext as Qb, ObserveOptions as Qc, SeatSelection as Qd, ManagerWakePolicy as Qf, mapExecutorResult as Qg, DelegationResumeTick as Qh, SpawnEvent as Qi, LeaderboardBenchmarkAdapter as Ql, ProviderPlacement as Qm, ValidateStoredGraphOptions as Qn, resolveSandboxClient as Qo, ResolvedSpawnResourcePath as Qp, InteractiveWorkerKeyInput as Qr, defaultSelectWinner as Qs, VerifierEnvironmentOptions as Qt, ObserverRecordKind as Qu, Question as Qv, HarnessTranscriptReadOptions as Qx, watchTrace as Qy, SpendChannel as R, MountRecorder as RS, ScoreOf as R_, CheckRunContext as Ra, BackendTransportError as Rb, authorStrategy as Rc, SuperviseTestOptions as Rd, supervisorAgentWithTestBrain as Rf, DelegationTraceSpan as Rg, detachedSessionDelegate as Rh, DispatchStopReason as Ri, Outcome as Rl, SharedWorkerIdentity as Rm, Workspace as Rn, createS3PrivateCasStore as Ro, ContinuationAppend as Rp, ProvisionSupervisorConnection as Rr, Environment as Rs, CheckpointRef as Rt, PursuitCostProvenance as Ru, ManagerReentryState as Rv, RetainedInteractiveStartMaterial as Rx, peerMailVerbNames as Ry, RuntimeStreamEvent as S, RetainedRunStartMaterial as SC, LoopEndedPayload as SS, CodeModeTool as S_, ChatTransportExecutorOptions as Sa, SpawnForestEvent as Sb, StrategyShotResult as Sc, delegatesWorkerBriefPrompt as Sd, BudgetPool as Sf, UiAuditLensFilter as Sg, ToolSpec as Sh, digestOfGraph as Si, ScopeAnalyzeInput as Sl, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Sm, attachWorker as Sn, strategyTournament as So, SupervisorFinalizer as Sp, readWorkerSteerAcknowledgement as Sr, RegistryAnalyzeProjection as Ss, SpawnRefusalCause as St, NextPursuitVersionInput as Su, RuntimeTelemetryOptions as Sv, TraceSource as Sx, AUTHORITY_MARKERS as Sy, RuntimeFailureOwner as T, StartRetainedRunOptions as TC, LoopIterationStartedPayload as TS, CodeModeToolset as T_, chatTransportExecutor as Ta, SpawnForestNode as Tb, depthStrategy as Tc, formatPromptHandle as Td, LeakedReservation as Tf, UiFindingScreenshot as Tg, ToolLoopCompaction as Th, graphFromStored as Ti, TrajectoryNode as Tl, SteerableSandboxSession as Tm, NOTE_MAX_CHARS as Tn, OpenSandboxRunOptions as To, CoordinationControlAccess as Tp, supervisorRunDir as Tr, createScopeAnalyst as Ts, AgentEnvironment$1 as Tt, PursuitVersions as Tu, createRuntimeEventCollector as Tv, ActivityNote as Tx, PeerMailEnvelope as Ty, NodeStatus as U, ValidationCtx as US, renderLeaderboardSvg as U_, StructuralRolloutConfig as Ua, AgentSpec as Ub, HarvestCorpusOptions as Uc, WorkerSpawnRetryHooks as Ud, ObserveSupervisorNodeEvent as Uf, FileDelegationStoreOptions as Ug, createFleetWorkspaceExecutor as Uh, rollingDispatch as Ui, RunPersonifiedOptions as Ul, AgentEnvironmentProviderRef as Um, localShell as Un, recoverRetainedRun as Uo, ContinuationPolicy as Up, ProfileRegistryDir as Ur, LoopOptionsForDispatch as Us, ExecResult as Ut, PursuitNodeUsage as Uu, GateDecision as Uv, HarnessTranscriptFile as Ux, McpTransport as Uy, NodeId as V, SandboxClient as VS, renderLeaderboardHtml as V_, CheckSourceCtx as Va, NotFoundError as Vb, strategyAuthorContract as Vc, ResolvedWorkerSpawnRetry as Vd, DriveHarness as Vf, DelegationStore as Vg, FleetWorkspaceExecutorOptions as Vh, freeSlots as Vi, PersonaExecutors as Vl, sharedBoxRefusal as Vm, gitWorkspace as Vn, PrivateCasNamespaceRetirement as Vo, ContinuationPanelInput as Vp, SupervisorCleanupReceipt as Vr, LoopCampaignDispatchOptions as Vs, CreateSandboxOptions$1 as Vt, PursuitNodeProjection as Vu, WorkerWatchOptions as Vv, HarnessTranscriptCapture as Vx, McpToolAnnotations as Vy, RetainedExecutionState as W, Validator as WS, renderPairwiseMarkdown as W_, StructuralRolloutMessage as Wa, ExecutorContext as Wb, HarvestError as Wc, WorkerSpawnRetryPolicy as Wd, ResolveDriveHarness as Wf, CoderOutput as Wg, createSiblingSandboxExecutor as Wh, DesignerRunGraphEnv as Wi, ShapeBudget as Wl, AgentEnvironmentProviderRegistry as Wm, runInWorkspace as Wn, startRetainedRun as Wo, ContinuationProfile as Wp, ProfileRunRecord as Wr, SuperviseDispatchOptions as Ws, ForkRequest as Wt, PursuitProjection as Wu, GateRequest as Wv, HarnessTranscriptUnavailable as Wx, BusEvent as Wy, SubtreeSummary as X, RuntimeRunRow as XS, bestSoFar as X_, composeCheckSources as Xa, ExecutorExecutionBinding as Xb, ObservationError as Xc, SuperviseRegistryTable as Xd, SupervisorToolDescriptor as Xf, ExecutorResultMapping as Xg, DelegationResumeContext as Xh, delegate as Xi, LeaderboardBenchScore as Xl, providerAsExecutor as Xm, createSupervisor as Xn, startRetainedInteractiveRun as Xo, DriverRetryPolicy as Xp, recordProfileRun as Xr, TERMINAL_DECISIONS as Xs, computeFindingId$1 as Xt, ObserverJournal as Xu, ChildQuestionInbox as Xv, HarnessTranscriptMetadata as Xx, WatchTraceOptions as Xy, SubtreeResult as Y, RuntimeRunPersistenceAdapter as YS, areaUnderCurve as Y_, compareCheckOutcomes as Ya, ExecutionBindingReceipt as Yb, ObservationAnalysis as Yc, SuperviseRegistry as Yd, SupervisorNodeContextSeed as Yf, DeliverableSpec as Yg, DelegationRecord as Yh, defaultDelegateBudget as Yi, DefinedLeaderboard as Yl, ProviderPromptOptions as Ym, DEFAULT_MAX_DEPTH as Yn, recoverRetainedInteractiveRun as Yo, DriverReentry as Yp, profileRunsForName as Yr, LocalSandboxClientOptions as Ys, WorkspaceRequest as Yt, FileObserverJournal as Yu, RouteWhen as Yv, persistHarnessTranscript as Yx, createEventBus as Yy, TreeView as Z, RuntimeRunStatus as ZS, plateauLength as Z_, defaultExtractCandidate as Za, ExecutorMaterialization as Zb, ObserveInput as Zc, SeatSegment as Zd, SupervisorToolInvocationContext as Zf, gateOnDeliverable as Zg, DelegationResumeDriver as Zh, ResultBlobStore as Zi, LeaderboardBenchTask as Zl, UnavailablePausePolicy as Zm, createRootHandle as Zn, ResolveSandboxClientOptions as Zo, ResolveSpawnResourcePathsResult as Zp, InteractiveWorkerEnvironment as Zr, TerminalDecision as Zs, makeFinding$1 as Zt, ObserverRecord as Zu, EscalateQuestion as Zv, HarnessTranscriptReadLimits as Zx, defaultToolDetectors as Zy, RunAgentTaskOptions as _, RetainedRunEventOptions as _C, DefaultVerdict$2 as _S, harnessUsageIsEmpty as __, WorkerEventCursor as _a, SqlRunOwnershipError as _b, AgenticTool as _c, PromptHandle as _d, ParkedRun as _f, DelegationStatus as _g, extractLlmCallEvent as _h, GraphRunQuery as _i, PanelSpec as _l, CliWorktreeSeam as _m, WorktreePatchArtifact as _n, StrategyEvolutionConfig as _o, UNPROVEN_CONTINUITY as _p, WorkerSteerRequest as _r, pipeline as _s, PeerAuditAccess as _t, IsolatedCheckOptions as _u, padTraceId as _v, WorkerInteractiveUnavailableReason as _x, WorkerResumeContext as _y, AgentKnowledgeProvider as a, RecoverRetainedRunResult as aC, ProviderWorkspaceAttemptProvenance as aS, deterministicCompletion as a_, RootSegmentEntry as aa, AnalyzeOnSettleRoute as ab, LocalMcpMaterialization as ac, GraphNode as ad, RunContext as af, DelegateCodeConfig as ag, mcpSecretEnvMetadataKey as ah, ObservedSessionFacts as ai, CorpusFilter as al, McpServerOptions as am, SurfaceReader as an, structuralRollout as ao, StopRule as ap, SearchSpec as ar, createPrivateCasArtifactPort as as, DriverAttemptRecord as at, defineLeaderboard as au, SandboxEvidenceContext as av, EnvironmentTeardownReceipt as ax, QuestionPolicy as ay, RuntimeSession as b, RetainedRunReplayPoint as bC, Iteration as bS, decodeHarnessUsage as b_, ChatCompletionsTransport as ba, materializeTreeView as bb, RunAgenticOptions as bc, analyzesFindingsReportPrompt as bd, RunParkingRecord as bf, FeedbackRefersTo as bg, RouterTransportConfig as bh, StoredGraph as bi, RenderCorpusToInstructionsOptions as bl, RouterToolsSeam as bm, WorkerInteractiveBinding as bn, TournamentRow as bo, FinalizeContext as bp, legacySupervisorRunDir as br, widen as bs, SpawnPreflightContext as bt, JudgedPursuitVersion as bu, RuntimeStreamEventSink as bv, SessionMessageLike as bx, MapSpawnMarker as by, AgentTaskContext as c, RetainedInteractiveIntentAdmission as cC, ProviderWorkspaceCaptureResult as cS, CodexForkBoundary as c_, Supervisor as ca, DefinedAnalystRecord as cb, McpSpawnFault as cc, RunGraphOptions as cd, createInMemoryRunContext as cf, DelegateUiAuditArgs as cg, secretEnvOfMcpServer as ch, graphRouteWhenSchema as ci, EqualKOnCostOptions as cl, DelegateHandlerOptions as cm, fsSurfaceReader as cn, AgentTurnInput$1 as co, noProgressFor as cp, assertSearchSpec as cr, definePersona as cs, DriverFailureClass as ct, DeclaredCheckStateCapture as cu, OtelAttribute as cv, ExecutorCancellation as cx, questionEscalationTargets as cy, AgentTaskStatus as d, RetainedRunAdmissionHook as dC, ProviderWorkspaceRetentionPort as dS, CodexRolloutStoreReader as d_, ReenteredWorkers as da, RunLocalHarnessOptions as db, connectStdioMcp as dc, runGraph as dd, SupervisorSpanOptions as df, DelegationError as dg, SandboxToolPartState as dh, LoadGraphFileOptions as di, FanoutSynthesis as dl, createExecutorRegistry as dm, analystsFromRegistry as dn, StreamAgentTurnOptions as do, RunCancellation as dp, searchSpecDigest as dr, InMemoryCorpus as ds, CoordinationStats as dt, declaredCheckDeliverable as du, OtelExporter as dv, ExecutorTeardownWarning as dx, ContinuationInstruction as dy, NativeContextContinuationHandle as eC, RetainedHarnessTranscriptDescriptor as eS, CompletionAnalyst as e_, TraceRootReceipt as ea, AnalystFindingEvent as eb, InProcessOnPrompt as ec, AgentGraph as ed, SeatStage as ef, DelegationTaskQueue as eg, BridgeModelCredential as eh, InteractiveWorkerResult as ei, observe as el, SpawnResourceRead as em, BoxSurfaceReaderOptions as en, modelAuthoredChecks as eo, AllWorkersStalledOptions as ep, FencedSqlRunContext as er, profileOptimizerModelCall as es, ProviderModelAttemptEvidence as et, LeaderboardIterationInfo as eu, WaterfallReport as ev, MaterializedModelIdentity as ex, QuestionEscalationOutcome as ey, BackendErrorDetail as f, RetainedRunCancelOptions as fC, ExecutorProgressEvent as fS, CodexRolloutStoreRef as f_, ResumedKeyState as fa, runLocalHarness as fb, materializeLocalMcp as fc, runGraphWithTestBrain as fd, SupervisorSpanOutcome as ff, DelegationFeedbackSnapshot as fg, createSandboxToolPartState as fh, LoadedGraphFile as fi, FanoutWinnerSelector as fl, ExecutorConfig as fm, failuresAnalyst as fn, collectAgentTurn as fo, cancelRun as fp, settledToIteration as fr, renderCorpusToInstructions as fs, CoordinationTools as ft, declaredCheckDigest as fu, OtelSpan as fv, HeldEnvironment as fx, ContinuityMode as fy, OpenAIChatToolChoice as g, RetainedRunEnvironmentAdmission as gC, AgentRunSpec as gS, createCodexRolloutStoreReader as g_, WidenGate as ga, CodexExecutionPolicy as gb, AgenticTask as gc, GraphRouteError as gd, DeadlineCheckIn as gf, DelegationResultPayload as gg, SandboxUsageLedger as gh, GraphRegistryDir as gi, PanelJudge as gl, CliWorktreeBridgeSeam as gm, WorktreeCliExecutorOptions as gn, EvolutionStrategy as go, ReentryTaskInput as gp, WorkerSteerAcknowledgement as gr, panel as gs, MakeWorkerAgent as gt, IsolatedCheckBoxEvidence as gu, padSpanId as gv, WorkerInteractiveSession as gx, DownMessageEvent as gy, OpenAIChatTool as h, RetainedRunEffect as hC, UsageEvent as hS, addHarnessUsage as h_, UnconfirmedTeardown as ha, CodexTokenUsage as hb, AgenticSurface as hc, defaultEdgeTraversalCap as hd, WorkerTraceResolver as hf, DelegationProgress as hg, SandboxServedBackend as hh, GraphCorpusSummary as hi, Panel as hl, CliSeam as hm, worktreeFanout as hn, EvolutionReport as ho, ReentryContinuity as hp, WorkerCancellation as hr, loopUntil as hs, GraphSubtasks as ht, IsolatedCheckBox as hu, loopEventToOtelSpan as hv, Runtime as hx, DownMessageDeliveryOutcome as hy, AgentExecutionBackend as i, RecoverRetainedRunOptions as iC, ProviderNativeCapturePhase as iS, completionAuthorizes as i_, RootSegment as ia, AnalystRunContext as ib, HttpMcpServerSpec as ic, GraphEdgeCapError as id, InMemoryRunContextOptions as if, DelegateCodeArgs as ig, envKeyProvider as ih, GraphSessionObservationOptions as ii, Corpus as il, McpServer as im, SurfaceReadOutcome as in, selectBestIndex as io, StopDecision as ip, SEARCH_SPEC_CORRELATION_KEY as ir, PrivateCasOptions as is, SupervisedResult as it, LeaderboardSpec as iu, runAgentRounds as iv, UnknownMaterializationReason as ix, QuestionOption as iy, TraceSummary as j, LoopStartedPayload as jS, Interval as j_, asAuthoredProfile as ja, InMemoryResultBlobStore as jb, ShotSpec as jc, supervise as jd, ReservationTicket as jf, ResearchSource as jg, CoderDelegate as jh, pickBestGraph as ji, WidenDecision as jl, PeerInboxMessage as jm, spendFromUsageEvents as jn, SandboxLineage as jo, CoordinationHttpAudit as jp, RemoteSupervisorControl as jr, sanitizeMcpToolSchema as js, AgentEnvironmentSummary as jt, SupervisePursuitError as ju, WorktreeHarnessResult as jv, createActivityLog as jx, PeerMailSendInput as jy, TRACE_SUMMARY_SCHEMA as k, LoopResult as kS, AxisScoresOf as k_, ProfileRichness as ka, replaySpawnTree as kb, AuthorStrategyOptions as kc, PursuitFork as kd, ReservationShortfall as kf, KnowledgeUpdate as kg, FeedbackEvent as kh, loadGraph as ki, VerifySpec as kl, InboxLease as km, composeWorkerEvidence as kn, TurnResult as ko, CoordinationTransportOptions as kp, RemoteSupervisorAgent as kr, McpEnvironmentOptions as ks, AgentEnvironmentQuery as kt, assertPursuitVersions as ku, WorktreeCheckRunner as kv, TeamProgress as kx, PeerMailReadout as ky, AgentTaskRunResult as l, RetainedInteractiveStartedAdmission as lC, ProviderWorkspaceEntryMetadata as lS, CodexRolloutIdentity as l_, SupervisorOpts as la, CodexExecutionEvidence as lb, StdioMcpConnection as lc, RunGraphTestOptions as ld, withRunContext as lf, DelegateUiAuditConfig as lg, SandboxLeafOut as lh, GraphFileResolutionError as li, EqualKVerdict as ll, DelegateResult as lm, harvestSurfaceDiffs as ln, AgentTurnUsage as lo, plateau as lp, compileSearchSpec as lr, runPersonified as ls, DriverRepromptRefusal as lt, assertDeclaredCheck as lu, OtelExportConfig as lv, ExecutorCancellationRequest as lx, AuthorizeDownMessage as ly, OpenAIChatResponseFormat as m, RetainedRunDispatchedAdmission as mC, TokenUsageProvenance as mS, CodexStoreDelta as m_, Scope as ma, LocalHarness as mb, AgenticRunResult as mc, GraphFromStoredOptions as md, createSupervisorSpanRecorder as mf, DelegationHistoryEntry as mg, mapSandboxToolEvent as mh, GraphCorpusGroup as mi, LoopUntilState as ml, CliInPlaceSeam as mm, WorktreeFanoutOptions as mn, EvolutionAuthor as mo, readRunCancellation as mp, ScopeArgs as mr, flatWidenGate as ms, GraphSubtaskPreparation as mt, readDeclaredCheck as mu, createOtelExporter as mv, HeldRelease as mx, DownMessageDeliveryAttempt as my, AgentBackendContext as n, ReconnectRetainedRunOptions as nC, retainHarnessTranscript as nS, CompletionPolicy as n_, RecursiveReservationPolicy as na, AnalystLensOutput as nb, InProcessSandboxClientOptions as nc, EdgeTraversal as nd, subscriptionUsageLimitSignal as nf, SubmitInput as ng, KeyProvider as nh, InPlaceCliExecutorOptions as ni, AssertTraceDerivedFindings as nl, environmentReader as nm, SurfaceDiff as nn, resolveEntrySymbol as no, PlateauOptions as np, createFencedSqlRunContext as nr, PrivateCasDurableStore as ns, RootProviderModelEvidence as nt, LeaderboardScenario as nu, createWaterfallCollector as nv, ProfileMaterializationReceipt as nx, QuestionEscalationTarget as ny, AgentRuntimeEvent as o, RetainedInteractiveAdmission as oC, ProviderWorkspaceCaptureProvenance as oS, sentinelCompletion as o_, RootSignal as oa, AuthoredAnalystDefinition as ob, MaterializeLocalMcpOptions as oc, GraphResult as od, RunContextLease as of, DelegateResearchArgs as og, resolveMcpServerLaunch as oh, graphFromSessionFacts as oi, CorpusRecord as ol, createMcpServer as om, WatchedSurface as on, visibleCheckScore as oo, allWorkersStalled as op, SearchSpecInputs as or, equalKOnCost as os, DriverAttemptStop as ot, DeclaredCheck as ou, SandboxEvidenceReceipt as ov, Executor as ox, QuestionRecord as oy, KnowledgeReadinessDecision as p, RetainedRunCancellation as pC, ExecutorToolCall as pS, CodexRolloutTurn as p_, ResumedWork as pa, LOCAL_HARNESSES as pb, AgenticOptions as pc, GraphCommandCheck as pd, SupervisorSpanRecorder as pf, DelegationHistoryArgs as pg, mapSandboxEvent as ph, loadGraphFile as pi, LoopUntilSpec as pl, createExecutor as pm, AuthoredHarness as pn, streamAgentTurn as po, readRunCancelRequest as pp, createScope as pr, fanout as ps, CoordinationToolsOptions as pt, declaredCheckJudge as pu, buildLoopOtelSpans as pv, HeldForContinuation as px, DownMessageAuthorizationInput as py, SpawnPrior as q, RuntimeRunHandle as qS, AnytimeTaskCurve as q_, VisibleCheck as qa, SpawnModelSubstitution as qb, harvestCorpus as qc, retryPreSpawnRefusals as qd, SupervisorAgentTestDeps as qf, CheckVerdict as qg, runDetachedTurn as qh, graphDesignerExtraTools as qi, ProviderAsSandboxClientOptions as ql, ProviderExecutorOptions as qm, WorkerToolTraceArtifact as qn, claimRetainedInteractiveControl as qo, admitContinuationPolicy as qp, pickBestProfile as qr, loopDispatch as qs, SandboxEvent$1 as qt, PursuitStatus as qu, RouteGate as qv, captureHarnessTranscript as qx, EventBus as qy, AgentBackendInput as r, RecoverRetainedRunIntentOptions as rC, ProviderCheckpointCaptureContext as rS, CompletionVerdict as r_, RootHandle as ra, AnalystRegistry$1 as rb, inProcessSandboxClient as rc, GraphEdge as rd, InMemoryRunContext as rf, SubmitOutput as rg, ResolvedMcpServerLaunch as rh, createInPlaceCliExecutor as ri, CombinatorShape as rl, resolveSpawnResourcePaths as rm, SurfaceReadBox as rn, sandboxCheckRunner as ro, ProgressView as rp, CompiledSearchSpec as rr, PrivateCasOffloadReport as rs, RootStreamReceipt as rt, LeaderboardScore as ru, RunAgentRoundsOptions as rv, RootMaterialization as rx, QuestionLevel as ry, AgentRuntimeEventSink as s, RetainedInteractiveEnvironmentAdmission as sC, ProviderWorkspaceCaptureReceipt as sS, stopSentinel as s_, SteerableRootHandle as sa, AuthoredAnalystLimits as sb, McpListedTool as sc, GraphTopology as sd, createFileRunContext as sf, DelegateResearchConfig as sg, resolveSecretEnv as sh, graphFileSchema as si, EqualKArm as sl, DelegateError as sm, boxSurfaceReader as sn, AgentTurnBackend as so, anyOf as sp, SearchSpecOwnedOption as sr, trajectoryReport as ss, DriverContinuationRecord as st, DeclaredCheckPlacement as su, SandboxEvidenceRetentionPort as sv, ExecutorAccounting as sx, QuestionUrgency as sy, AgentAdapter as t, NativeContextContinuationInput as tC, resolveHarnessTranscriptCapture as tS, CompletionEvidence as t_, WorkspaceCheckpointMarker as ta, AnalystKind as tb, InProcessPromptCtx as tc, EdgeDeliveryOutcome as td, SelectSeat as tf, DelegationTaskQueueOptions as tg, BridgeSeam as th, workerFromInteractiveProvider as ti, renderReport as tl, SpawnResourceReader as tm, HarvestSurfaceDiffsOptions as tn, officialChecksFromMeta as to, NoProgressForOptions as tp, SqlRunContextOptions as tr, PrivateCasArtifactPort as ts, ProviderModelExecutionEvidence as tt, LeaderboardRunContext as tu, WaterfallSpan as tv, NodeExecutionIdentity as tx, QuestionEscalationRecord as ty, AgentTaskSpec as u, RetainedRunAdmission as uC, ProviderWorkspaceRetentionContext as uS, CodexRolloutSession as u_, Agent as ua, LocalHarnessResult as ub, StdioMcpServerSpec as uc, TraversalContinuity as ud, SupervisorSpanAttributes as uf, DelegateUiAuditRoute as ug, SandboxOutputMarker as uh, GraphFileSeat as ui, FanoutOptions as ul, createDelegateHandler as um, AnalystAuthoring as un, CollectedAgentTurn as uo, RunCancelRequest as up, searchPresets as ur, FileCorpus as us, BlockedToolReport as ut, checkProgramDigest as uu, OtelExportStats as uv, ExecutorResult as ux, AuthorizedDownMessage as uy, RunAgentTaskStreamOptions as v, RetainedRunHandle as vC, Driver as vS, readCodexRolloutSession as v_, WorkerEventEntry as va, openSqlRunStore as vb, ArtifactHandle as vc, PromptRegistry as vd, RunParkedError as vf, DelegationStatusResult as vg, sumSandboxUsage as vh, GraphRunRecord as vi, PanelVerdict as vl, ProviderSeam as vm, createWorktreeCliExecutor as vn, StrategyTournament as vo, composeReentryTask as vp, WriteWorkerSteerOptions as vr, selectValidWinner as vs, SettledWorker as vt, IsolatedCheckResult as vu, RuntimeEventCollector as vv, WorkerTraceEvidence as vx, MapItemFailurePolicy as vy, RuntimeFailureCode as w, StartRetainedRunInEnvironmentOptions as wC, LoopIterationEndedPayload as wS, CodeModeToolsOptions as w_, ChatWorkerSeamOptions as wa, SpawnForestMissingTree as wb, breadthStrategy as wc, dumbContinuationPassPrompt as wd, BudgetReadout as wf, UiFinding as wg, ToolLoopChat as wh, graphDigest as wi, SteerContext as wl, SteerableSandboxArgs as wm, EVIDENCE_MAX_CHARS as wn, OpenSandboxRunBeforeStartContext as wo, CoordinationAuthentication as wp, safeWorkerFile as wr, buildSteerContext as ws, WorkerSpawnContext as wt, PursuitVersionStop as wu, SanitizedKnowledgeRequirement as wv, ActivityLog as wx, PEER_MAIL_WIRE_KEY as wy, RuntimeSessionStore as x, RetainedRunSnapshot as xC, LoopDecisionPayload as xS, CodeModeStore as x_, ChatSessionStore as xa, SpawnForest as xb, StrategyMessage as xc, createPromptRegistry as xd, readRunParking as xf, ResearchOutputShape as xg, RouterRouting as xh, StoredGraphInput as xi, ScopeAnalyst as xl, SandboxSeam as xm, WorkerInteractiveProviderSource as xn, runStrategyEvolution as xo, FinalizerSettled as xp, readWorkerCancellation as xr, CreateScopeAnalystOptions as xs, SpawnRefusal as xt, NextPursuitVersion as xu, RuntimeStreamEventSummary as xv, ToolStepInput as xx, MapTraversalEvent as xy, RuntimeCanonicalStreamEvent as y, RetainedRunIntentAdmission as yC, ExecCtx as yS, HarnessUsage as y_, WorkerEventPage as ya, SqlAdapter as yb, CorpusReadbackOptions as yc, RegisteredPrompt as yd, RunParkingPolicy as yf, FeedbackRating as yg, RouterResponseReceipt as yh, GraphSelection as yi, PipelineStage as yl, RouterSeam as ym, AttachWorkerOptions as yn, TournamentCell as yo, DeliveredOutput as yp, cancelWorker as yr, verify as ys, SpawnPreflight as yt, runIsolatedCheck as yu, RuntimeStreamEventCollector as yv, WorkerTraceUnavailableReason as yx, MapOnSettleRoute as yy, SpendGap as z, OutputAdapter as zS, leaderboard as z_, CheckRunner as za, ConfigError as zb, defineStrategy as zc, WorkerSlots as zd, CoordinationToolFace as zf, composeLoopTraceEmitters as zg, DelegationExecutor as zh, DispatchUnit as zi, Persona as zl, sharedBoxPlacement as zm, WorkspaceCommit as zn, PrivateCasNamespaceInventory as zo, ContinuationEntry as zp, ProvisionSupervisorRequest as zr, printBenchmarkReport as zs, CheckpointRequest as zt, PursuitNodeCost as zu, ManagerWake as zv, StartRetainedInteractiveRunOptions as zx, JsonRpcMessage as zy };
|
|
19682
|
+
//# sourceMappingURL=types-0uzVKtFW.d.ts.map
|