@tangle-network/agent-runtime 0.324.0 → 0.325.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activation-CmWGOW1x.js → activation--9-iyGR8.js} +2 -2
- package/dist/{activation-CmWGOW1x.js.map → activation--9-iyGR8.js.map} +1 -1
- package/dist/{activation-CB2npL7F.d.ts → activation-Q3CJgiCu.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CNEeqMoh.js → coordination-driver-DkkUVe9g.js} +242 -139
- package/dist/coordination-driver-DkkUVe9g.js.map +1 -0
- package/dist/{delegate-C6oOTFB6.js → delegate-BDsaIl2K.js} +2 -2
- package/dist/{delegate-C6oOTFB6.js.map → delegate-BDsaIl2K.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +60 -21
- package/dist/durable.js.map +1 -1
- package/dist/graph-Cuz6Ubzd.js +348 -0
- package/dist/graph-Cuz6Ubzd.js.map +1 -0
- package/dist/{improvement-cycle-U74a-YKi.js → improvement-cycle-B5Z8cHKx.js} +3 -3
- package/dist/{improvement-cycle-U74a-YKi.js.map → improvement-cycle-B5Z8cHKx.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-BfcTX4-n.js → loop-runner-bin-C16VR9cI.js} +3 -3
- package/dist/{loop-runner-bin-BfcTX4-n.js.map → loop-runner-bin-C16VR9cI.js.map} +1 -1
- package/dist/{loop-runner-bin-CkchKbaB.d.ts → loop-runner-bin-Co7JKSwi.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-BR3rRmmC.d.ts → openai-tools-CbgZrQJ_.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-DhPJqazM.js → provision-supervisor-4BoHpGFJ.js} +3 -3
- package/dist/{provision-supervisor-DhPJqazM.js.map → provision-supervisor-4BoHpGFJ.js.map} +1 -1
- package/dist/{runtime-B9-ZiYFa.js → runtime-B9X_U-aV.js} +9 -9
- package/dist/{runtime-B9-ZiYFa.js.map → runtime-B9X_U-aV.js.map} +1 -1
- package/dist/{search-executor-CtNb_lIB.js → search-executor-C-b4NaFl.js} +2 -2
- package/dist/{search-executor-CtNb_lIB.js.map → search-executor-C-b4NaFl.js.map} +1 -1
- package/dist/{server-BLYiq6fK.js → server-CcHaXgUT.js} +3 -3
- package/dist/{server-BLYiq6fK.js.map → server-CcHaXgUT.js.map} +1 -1
- package/dist/{supervise-FOCAUADN.js → supervise-BlaB4CeL.js} +734 -18
- package/dist/supervise-BlaB4CeL.js.map +1 -0
- package/dist/{supervisor-DnKhkhKc.js → supervisor-fq4JGynd.js} +26 -9
- package/dist/{supervisor-DnKhkhKc.js.map → supervisor-fq4JGynd.js.map} +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-ytkoP4VV.d.ts → types-5r334mcg.d.ts} +577 -508
- package/package.json +1 -1
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/coordination-driver-CNEeqMoh.js.map +0 -1
- package/dist/graph-BKmo7d42.js +0 -805
- package/dist/graph-BKmo7d42.js.map +0 -1
- package/dist/supervise-FOCAUADN.js.map +0 -1
|
@@ -8002,6 +8002,8 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
|
|
|
8002
8002
|
scope: Scope<unknown>;
|
|
8003
8003
|
blobs: ResultBlobStore;
|
|
8004
8004
|
makeWorkerAgent: MakeWorkerAgent;
|
|
8005
|
+
/** Serve `run_graph` — see `CoordinationToolsOptions.graphs`. */
|
|
8006
|
+
graphs?: GraphSubtasks;
|
|
8005
8007
|
authorizeDownMessage?: AuthorizeDownMessage;
|
|
8006
8008
|
perWorker: Budget;
|
|
8007
8009
|
/** Independent completion check exposed to the driver as `submit_result`. The check runs
|
|
@@ -8529,6 +8531,8 @@ interface SupervisorAgentDeps {
|
|
|
8529
8531
|
readonly blobs: ResultBlobStore;
|
|
8530
8532
|
/** Resolve a spawned worker `profile` to a leaf agent — the recursion seam (same for both arms). */
|
|
8531
8533
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
8534
|
+
/** Serve `run_graph` (both arms) — see `CoordinationToolsOptions.graphs`. */
|
|
8535
|
+
readonly graphs?: GraphSubtasks;
|
|
8532
8536
|
/** Product authorization for every down-leg continuation to a child. */
|
|
8533
8537
|
readonly authorizeDownMessage?: AuthorizeDownMessage;
|
|
8534
8538
|
/** Per-child budget reserved from the conserved pool on each spawn. */
|
|
@@ -8708,6 +8712,80 @@ declare function supervisorAgent(profile: SupervisorProfile, deps: SupervisorAge
|
|
|
8708
8712
|
/** Scripted-brain construction for deterministic tests. Not exported from Runtime's main entry. */
|
|
8709
8713
|
declare function supervisorAgentWithTestBrain(profile: SupervisorProfile, deps: SupervisorAgentTestDeps): Agent<unknown, unknown>;
|
|
8710
8714
|
//#endregion
|
|
8715
|
+
//#region src/runtime/supervise/prompt-registry.d.ts
|
|
8716
|
+
/**
|
|
8717
|
+
*
|
|
8718
|
+
* The kernel prompt registry — versioned prompt text as DATA, addressed by `PromptHandle`.
|
|
8719
|
+
*
|
|
8720
|
+
* A role expressed as a builder FUNCTION is a role that can never improve: the only optimizable
|
|
8721
|
+
* surface it leaves is whatever thin string a caller happens to inject, while the real doctrine
|
|
8722
|
+
* sits hardcoded in TypeScript. This registry is the inverse: every standing instruction is a
|
|
8723
|
+
* versioned entry (`<surface>` + `v<n>`), so a graph edge, a supervisor front door, or an
|
|
8724
|
+
* optimizer names a handle and the TEXT is swappable, sweepable, and diffable without a code
|
|
8725
|
+
* change. Graph edges (`runGraph`) carry handles, never inline prose.
|
|
8726
|
+
*
|
|
8727
|
+
* A profile or graph may opt into one of these versioned texts. Runtime does not select a standing
|
|
8728
|
+
* supervisor policy when the profile omits one.
|
|
8729
|
+
*
|
|
8730
|
+
* @experimental
|
|
8731
|
+
*/
|
|
8732
|
+
/** A versioned reference into a prompt registry: `surface` names the role/edge the text serves,
|
|
8733
|
+
* `version` pins the exact text. The string form is `<surface>/v<n>` (e.g. `delegates/worker-brief/v1`). */
|
|
8734
|
+
interface PromptHandle {
|
|
8735
|
+
readonly surface: string;
|
|
8736
|
+
readonly version: number;
|
|
8737
|
+
}
|
|
8738
|
+
/** One registry entry: the handle plus the text it pins. */
|
|
8739
|
+
interface RegisteredPrompt {
|
|
8740
|
+
readonly surface: string;
|
|
8741
|
+
readonly version: number;
|
|
8742
|
+
readonly text: string;
|
|
8743
|
+
/** What the surface is FOR — shown by `list()`, never sent to a model. */
|
|
8744
|
+
readonly description?: string;
|
|
8745
|
+
}
|
|
8746
|
+
/** Versioned prompt store. `resolve` fails loud on an unknown handle: a directive that silently
|
|
8747
|
+
* resolved to nothing is the unobservable-edge failure this whole design exists to end. */
|
|
8748
|
+
interface PromptRegistry {
|
|
8749
|
+
resolve(handle: PromptHandle): RegisteredPrompt;
|
|
8750
|
+
/** Register a new entry; a duplicate (surface, version) fails loud — versions are immutable. */
|
|
8751
|
+
register(entry: RegisteredPrompt): void;
|
|
8752
|
+
list(): ReadonlyArray<RegisteredPrompt>;
|
|
8753
|
+
}
|
|
8754
|
+
/**
|
|
8755
|
+
* Parse `'<surface>/v<n>'` into a {@link PromptHandle}. The shorthand for authoring a graph edge:
|
|
8756
|
+
* `directive: promptHandle('delegates/worker-brief/v1')`.
|
|
8757
|
+
*/
|
|
8758
|
+
declare function promptHandle(ref: string): PromptHandle;
|
|
8759
|
+
/** The string form of a handle: `<surface>/v<n>`. */
|
|
8760
|
+
declare function formatPromptHandle(handle: PromptHandle): string;
|
|
8761
|
+
/** Create a registry, optionally seeded. Entries are copied; the registry never aliases caller state. */
|
|
8762
|
+
declare function createPromptRegistry(seed?: ReadonlyArray<RegisteredPrompt>): PromptRegistry;
|
|
8763
|
+
/**
|
|
8764
|
+
* Default DELEGATES-edge directive: the standing instruction a worker receives with every
|
|
8765
|
+
* traversal of a delegates edge that names this surface.
|
|
8766
|
+
*/
|
|
8767
|
+
declare const delegatesWorkerBriefPrompt: RegisteredPrompt;
|
|
8768
|
+
/**
|
|
8769
|
+
* Default ANALYZES-edge directive: what the RECEIVING node should do with an analyst's findings.
|
|
8770
|
+
* Wrapped around the findings payload on every traversal of an analyzes edge naming this surface.
|
|
8771
|
+
*/
|
|
8772
|
+
declare const analyzesFindingsReportPrompt: RegisteredPrompt;
|
|
8773
|
+
/**
|
|
8774
|
+
* Default NAIVE steering continuation — the no-signal control re-expressed as data: the same
|
|
8775
|
+
* fixed continuation every round, reading nothing from any verdict.
|
|
8776
|
+
*/
|
|
8777
|
+
declare const naiveContinuationPrompt: RegisteredPrompt;
|
|
8778
|
+
/**
|
|
8779
|
+
* Default DUMB steering continuations — the pass/fail-only control re-expressed as data: two
|
|
8780
|
+
* fixed texts keyed on the verdict's boolean and nothing else.
|
|
8781
|
+
*/
|
|
8782
|
+
declare const dumbContinuationFailPrompt: RegisteredPrompt;
|
|
8783
|
+
/** The pass branch of the dumb steering control — see {@link dumbContinuationFailPrompt}. */
|
|
8784
|
+
declare const dumbContinuationPassPrompt: RegisteredPrompt;
|
|
8785
|
+
/** The kernel's seeded registry: every surface the runtime's own builders derive from. A caller
|
|
8786
|
+
* may register additional surfaces/versions on the returned registry. */
|
|
8787
|
+
declare function kernelPromptRegistry(): PromptRegistry;
|
|
8788
|
+
//#endregion
|
|
8711
8789
|
//#region src/runtime/supervise/worker-trace.d.ts
|
|
8712
8790
|
/**
|
|
8713
8791
|
* Seam key the `Scope` seeds a {@link TraceContext} under on each child's `ExecutorContext.seams`.
|
|
@@ -9109,10 +9187,12 @@ interface SuperviseRegistry {
|
|
|
9109
9187
|
names(): readonly string[];
|
|
9110
9188
|
};
|
|
9111
9189
|
}
|
|
9112
|
-
/** Capabilities a data-only consumer may require before building an opted-in run.
|
|
9190
|
+
/** Capabilities a data-only consumer may require before building an opted-in run. `graphTools`:
|
|
9191
|
+
* a manager whose profile grants `run_graph` can start an agent graph as one subtask. */
|
|
9113
9192
|
declare const superviseFleetCapabilities: Readonly<{
|
|
9114
9193
|
peerAudit: true;
|
|
9115
9194
|
traceTools: true;
|
|
9195
|
+
graphTools: true;
|
|
9116
9196
|
}>;
|
|
9117
9197
|
interface SuperviseOptions {
|
|
9118
9198
|
/** Whole-run persistence and ownership. SQL contexts are acquired before replay and compute. */
|
|
@@ -9268,6 +9348,9 @@ interface SuperviseOptions {
|
|
|
9268
9348
|
* `false` runs every authored profile exactly as written. Applies to backend-derived workers;
|
|
9269
9349
|
* a caller-owned `makeWorkerAgent` decides its own children. */
|
|
9270
9350
|
readonly inheritSpawnRights?: boolean;
|
|
9351
|
+
/** The graph registry directory (`graph-registry`) whose stored graphs a manager's `run_graph`
|
|
9352
|
+
* may start by `graphDigest`. Omit and `run_graph` takes graphs as data only. */
|
|
9353
|
+
readonly graphRegistry?: string;
|
|
9271
9354
|
/** Run an external-harness supervisor explicitly. Required for a remote sandbox; optional as a
|
|
9272
9355
|
* caller-owned override for a local bridge. */
|
|
9273
9356
|
readonly driveHarness?: DriveHarness;
|
|
@@ -9769,96 +9852,295 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
|
|
|
9769
9852
|
};
|
|
9770
9853
|
}>;
|
|
9771
9854
|
//#endregion
|
|
9772
|
-
//#region src/
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
readonly
|
|
9782
|
-
readonly
|
|
9783
|
-
readonly kind: ObserverRecordKind;
|
|
9784
|
-
readonly observedAt: number;
|
|
9785
|
-
readonly previousDigest?: string;
|
|
9786
|
-
readonly event?: RuntimeHookEvent;
|
|
9787
|
-
readonly decision?: RuntimeDecisionPoint;
|
|
9788
|
-
readonly digest: string;
|
|
9855
|
+
//#region src/runtime/supervise/graph-overlay.d.ts
|
|
9856
|
+
/** Default per-edge traversal cap — the cyclic-graph backstop when an edge names none. */
|
|
9857
|
+
declare const defaultEdgeTraversalCap = 32;
|
|
9858
|
+
//#endregion
|
|
9859
|
+
//#region src/runtime/supervise/graph.d.ts
|
|
9860
|
+
/** A graph node: an id and a canonical `AgentProfile`. The profile is the ONLY way a node is
|
|
9861
|
+
* described — its `prompt.systemPrompt` is the standing role (the 0.117 canonical resolution;
|
|
9862
|
+
* never a legacy top-level-only reduction), its tools/mcp/resources are its capabilities. */
|
|
9863
|
+
interface GraphNode {
|
|
9864
|
+
readonly id: NodeId;
|
|
9865
|
+
readonly profile: AgentProfile;
|
|
9789
9866
|
}
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9867
|
+
type GraphEdge =
|
|
9868
|
+
/** Work flows down. The delegation directive is DATA → versionable, sweepable, optimizable.
|
|
9869
|
+
* Each spawn of `to` by `from` — and each mid-run steer from `from` to a live `to` worker —
|
|
9870
|
+
* is one traversal. */
|
|
9871
|
+
{
|
|
9872
|
+
readonly kind: 'delegates';
|
|
9873
|
+
readonly from: NodeId;
|
|
9874
|
+
readonly to: NodeId;
|
|
9875
|
+
readonly directive: PromptHandle;
|
|
9876
|
+
/** Cyclic-graph backstop: traversals beyond this REFUSE (fail loud). Default
|
|
9877
|
+
* {@link defaultEdgeTraversalCap}. */
|
|
9878
|
+
readonly maxTraversals?: number;
|
|
9879
|
+
/** Default continuity for this edge's SPAWN traversals. `'resume'` makes every spawn after
|
|
9880
|
+
* the node's first re-attach to its most recent SETTLED worker: a NEW live worker whose
|
|
9881
|
+
* spawn context carries `resume: { ofWorker, sequence }` for the executor seam, spending
|
|
9882
|
+
* from the same conserved pool — the node's first spawn is effectively `'fresh'`, and a
|
|
9883
|
+
* spawn while a prior worker is still live refuses loudly (steer is the live channel).
|
|
9884
|
+
* The driver's per-call `spawn_worker` `continuity` argument overrides either way. Omit =
|
|
9885
|
+
* `'fresh'` (today's behavior, byte-identical). Caps count resumes exactly like fresh
|
|
9886
|
+
* spawns. */
|
|
9887
|
+
readonly continuity?: ContinuityMode;
|
|
9888
|
+
} |
|
|
9889
|
+
/** Findings flow anywhere: an analyst over N nodes' settled traces, delivered to ONE node.
|
|
9890
|
+
* With a LENS analyst the directive wraps the findings for the recipient; with a NODE analyst
|
|
9891
|
+
* the directive is the analyst agent's task and the findings are its settle output. */
|
|
9892
|
+
{
|
|
9893
|
+
readonly kind: 'analyzes';
|
|
9894
|
+
/** The analyst REFERENCE, in one of two forms: a lens id resolved against
|
|
9895
|
+
* `RunGraphOptions.analysts` (environment), or the id of a graph NODE with no delegates
|
|
9896
|
+
* edge pointing at it — then each matching settle spawns that node's pinned profile as a
|
|
9897
|
+
* tool-equipped analyst WORKER (same spawn machinery, conserved budget, trace join) whose
|
|
9898
|
+
* task is this edge's directive plus the settled worker's trace evidence and whose settle
|
|
9899
|
+
* output is the findings. An id that is both a node and a registry lens is refused. */
|
|
9900
|
+
readonly analyst: string;
|
|
9901
|
+
readonly over: ReadonlyArray<NodeId>;
|
|
9902
|
+
readonly to: NodeId;
|
|
9903
|
+
readonly directive: PromptHandle;
|
|
9904
|
+
/** Observability cap: traversals beyond this are LEDGERED as exhausted (`unpropagated`).
|
|
9905
|
+
* Only delegates caps refuse traversal — they are what close the spawn cycle. */
|
|
9906
|
+
readonly maxTraversals?: number;
|
|
9907
|
+
};
|
|
9908
|
+
interface AgentGraph {
|
|
9909
|
+
readonly nodes: ReadonlyArray<GraphNode>;
|
|
9910
|
+
readonly edges: ReadonlyArray<GraphEdge>;
|
|
9911
|
+
/** Termination is mandatory, not optional: the independent completion oracle. */
|
|
9912
|
+
readonly deliverable: DeliverableSpec<unknown>;
|
|
9913
|
+
/** One conserved pool across the whole graph — cycles without conservation never terminate. */
|
|
9914
|
+
readonly budget: Budget;
|
|
9795
9915
|
}
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
*
|
|
9799
|
-
*
|
|
9800
|
-
*
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
readonly
|
|
9808
|
-
readonly
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9916
|
+
type EdgeDeliveryOutcome = 'delivered' | 'stripped' | 'empty' | 'unpropagated';
|
|
9917
|
+
/** How one ledgered hop CONTINUED: a spawn traversal stamps its effective spawn mode
|
|
9918
|
+
* (`'fresh'` | `'resume'`), and every mid-run delivery into an already-live recipient — a
|
|
9919
|
+
* driver steer leg and every analyzes delivery (routed steer or driver-destined finding) —
|
|
9920
|
+
* stamps `'steer'`. Zero ambiguity: every row carries exactly one of the three. */
|
|
9921
|
+
type TraversalContinuity = ContinuityMode | 'steer';
|
|
9922
|
+
/** One recorded edge traversal — the in-memory row; the journal twin is the `edge` SpawnEvent. */
|
|
9923
|
+
interface EdgeTraversal {
|
|
9924
|
+
/** Stable edge id: `delegates:<from>-><to>` or `analyzes:<analyst>:<over…>-><to>`. */
|
|
9925
|
+
readonly edge: string;
|
|
9926
|
+
readonly kind: 'delegates' | 'analyzes';
|
|
9927
|
+
readonly from: string;
|
|
9928
|
+
readonly to: string;
|
|
9929
|
+
/** The resolved directive reference (`<surface>/v<n>`). */
|
|
9930
|
+
readonly directive: string;
|
|
9931
|
+
/** 1-based per-edge ordinal. */
|
|
9932
|
+
readonly traversal: number;
|
|
9933
|
+
readonly outcome: EdgeDeliveryOutcome;
|
|
9934
|
+
/** How this hop continued — see {@link TraversalContinuity}. */
|
|
9935
|
+
readonly continuity: TraversalContinuity;
|
|
9936
|
+
/** Bytes of directive + payload that actually crossed the edge. */
|
|
9937
|
+
readonly bytes: number;
|
|
9938
|
+
readonly reason?: string;
|
|
9939
|
+
/** The concrete worker node id, once known. */
|
|
9940
|
+
readonly workerId?: string;
|
|
9941
|
+
}
|
|
9942
|
+
/** A delegates edge exhausted its traversal cap and the run produced no winner: the cap, not the
|
|
9943
|
+
* task, ended it. Carries the full evidence so failing loud loses nothing. */
|
|
9944
|
+
declare class GraphEdgeCapError extends Error {
|
|
9945
|
+
readonly exhaustedEdges: ReadonlyArray<string>;
|
|
9946
|
+
readonly ledger: ReadonlyArray<EdgeTraversal>;
|
|
9947
|
+
readonly result: SupervisedResult<unknown>;
|
|
9948
|
+
constructor(exhaustedEdges: ReadonlyArray<string>, ledger: ReadonlyArray<EdgeTraversal>, result: SupervisedResult<unknown>);
|
|
9823
9949
|
}
|
|
9824
|
-
/** Verify identity, monotonic sequence, payload shape, and the complete digest chain. */
|
|
9825
|
-
declare function verifyObserverRecords(records: readonly ObserverRecord[], pursuitId?: string): readonly ObserverRecord[];
|
|
9826
|
-
/** Compute the canonical SHA-256 digest for an unsigned observer record. */
|
|
9827
|
-
declare function observerRecordDigest(record: Omit<ObserverRecord, 'digest'>): string;
|
|
9828
|
-
//#endregion
|
|
9829
|
-
//#region src/durable/observer-projection.d.ts
|
|
9830
|
-
/**
|
|
9831
|
-
* One settled projection status, shared by runs and nodes. `down` is the journal's own word for a
|
|
9832
|
-
* failure (a settlement is journaled as `kind: 'down'`, cancellation included), so a consumer can
|
|
9833
|
-
* join run rows to node rows on `status` and read one failure population instead of two.
|
|
9834
|
-
*/
|
|
9835
|
-
type PursuitStatus = 'running' | 'done' | 'down';
|
|
9836
9950
|
/**
|
|
9837
|
-
*
|
|
9838
|
-
*
|
|
9839
|
-
* rest; `unknown` = nothing priced it, so `usd` is a floor and never the cost.
|
|
9951
|
+
* Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
|
|
9952
|
+
* above belongs here — the default is "a graph honors it", not "someone remembered to add it".
|
|
9840
9953
|
*/
|
|
9841
|
-
|
|
9842
|
-
/**
|
|
9843
|
-
*
|
|
9844
|
-
*
|
|
9845
|
-
*
|
|
9954
|
+
declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "peerAudit", "traceTools", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "selectSeat", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "deadlineCheckIn", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "segment", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel", "graphRegistry"];
|
|
9955
|
+
/** `backend` and `driverBackend` keep graph-specific documentation below.
|
|
9956
|
+
*
|
|
9957
|
+
* Do not inherit and redeclare them through an indexed access type.
|
|
9958
|
+
* TypeScript 7 correctly treats `SuperviseOptions['backend']` as including `undefined`, which makes
|
|
9959
|
+
* that redeclaration wider than the exact optional property inherited from `SuperviseOptions`.
|
|
9846
9960
|
*/
|
|
9847
|
-
|
|
9848
|
-
readonly input: number;
|
|
9849
|
-
readonly output: number;
|
|
9850
|
-
readonly cacheRead?: number;
|
|
9851
|
-
readonly cacheWrite?: number;
|
|
9852
|
-
readonly reasoning?: number;
|
|
9853
|
-
readonly tokensKnown: boolean;
|
|
9854
|
-
}
|
|
9961
|
+
type GraphInheritedSuperviseOption = Exclude<(typeof GRAPH_FORWARDED_SUPERVISE_OPTIONS)[number], 'backend' | 'driverBackend'>;
|
|
9855
9962
|
/**
|
|
9856
|
-
*
|
|
9963
|
+
* Options for one `runGraph` run.
|
|
9857
9964
|
*
|
|
9858
|
-
*
|
|
9859
|
-
*
|
|
9860
|
-
*
|
|
9861
|
-
*
|
|
9965
|
+
* Extends every forwarded `SuperviseOptions` key, so a graph honors what a `supervise()` run
|
|
9966
|
+
* honors WITHOUT anyone restating it here. Only the graph-specific members and the ones whose
|
|
9967
|
+
* graph semantics differ are declared below; everything else inherits its type AND its
|
|
9968
|
+
* documentation from `SuperviseOptions`, which is the one owner of both.
|
|
9969
|
+
*/
|
|
9970
|
+
interface RunGraphOptions extends Pick<SuperviseOptions, GraphInheritedSuperviseOption> {
|
|
9971
|
+
/** WHERE worker nodes run — the executor backend. Provide this OR `makeLeafAgent`. Forwarded to
|
|
9972
|
+
* `supervise()`, which derives every authorized leaf from it. A node that declares
|
|
9973
|
+
* `agent_runtime_coordination_spawn_worker` becomes a nested supervisor instead, whose own
|
|
9974
|
+
* leaves are derived the same way. */
|
|
9975
|
+
readonly backend?: Exclude<SuperviseOptions['backend'], undefined>;
|
|
9976
|
+
/** WHERE the ROOT node's harness brain runs — forwarded to `supervise()` verbatim (see
|
|
9977
|
+
* `SuperviseOptions.driverBackend`). Needed when the root node's profile declares an external
|
|
9978
|
+
* harness (`codex`, `claude-code`, `opencode`): that root is driven by the harness, not by the
|
|
9979
|
+
* router brain, and automatic execution supports a local `bridge`. Unlike `supervise()`, this
|
|
9980
|
+
* does NOT default to `backend`: a graph's `backend` places WORKER nodes, so the root driver
|
|
9981
|
+
* is selected only by this field. Omit = no harness driver, which is correct for a root whose
|
|
9982
|
+
* `profile.harness` is omitted or `cli-base` (that root runs on the router brain). */
|
|
9983
|
+
readonly driverBackend?: Exclude<SuperviseOptions['driverBackend'], undefined>;
|
|
9984
|
+
/** Leaf-execution override (offline tests / advanced). `runGraph` still owns node pinning,
|
|
9985
|
+
* directive delivery, and the edge ledger AROUND this seam — only the leaf `act` is yours.
|
|
9986
|
+
* Slots INSIDE the kernel's authorized path (`SuperviseOptions.makeLeafAgent`), so a node that
|
|
9987
|
+
* declares the spawn tool still becomes a nested supervisor even under an offline leaf. */
|
|
9988
|
+
readonly makeLeafAgent?: MakeWorkerAgent;
|
|
9989
|
+
/** The ROOT driver's inference seam — a caller-owned `ToolLoopChat` that makes every root
|
|
9990
|
+
* model call. Use it when the root's decisions must be caller-owned orchestration (a
|
|
9991
|
+
* deterministic conversation driver, a persona loop with its own LLM calls) rather than a
|
|
9992
|
+
* router-derived model call. The graph machinery around the seam is unchanged: node pinning,
|
|
9993
|
+
* directive delivery, the edge ledger, and the journal twin all run the same shipped path,
|
|
9994
|
+
* and the root profile keeps prompt control (`prompt-control-execution` materialization —
|
|
9995
|
+
* `systemPrompt`/`instructions` still apply). What moves to the caller with the brain:
|
|
9996
|
+
* model selection and provider-identity validation (`expectedModel` cannot be enforced on a
|
|
9997
|
+
* call the runtime did not place) and per-turn usage reporting (a brain that reports no
|
|
9998
|
+
* usage meters nothing into the pool). Omit = the router brain derived from the root
|
|
9999
|
+
* profile — the unchanged default. Mutually exclusive with `driverBackend`, and refused
|
|
10000
|
+
* when the root profile declares an external harness (that root is driven BY the harness). */
|
|
10001
|
+
readonly brain?: ToolLoopChat;
|
|
10002
|
+
/** Caller-side runtime hooks (telemetry, policy, product extensions). Composed AFTER the
|
|
10003
|
+
* graph's own spawn-binding hook on the SAME event stream — the graph never swallows the
|
|
10004
|
+
* seam supervise() exposes. */
|
|
10005
|
+
readonly hooks?: RuntimeHooks;
|
|
10006
|
+
/** The analyst lens registry `analyzes` edges resolve against. ENVIRONMENT — needed only for
|
|
10007
|
+
* lens analysts; an analyzes edge naming a graph NODE as its analyst needs no registry. */
|
|
10008
|
+
readonly analysts?: AnalystRegistry$1;
|
|
10009
|
+
/** Directive registry. Default: the seeded kernel registry (`kernelPromptRegistry()`).
|
|
10010
|
+
*
|
|
10011
|
+
* NOT `SuperviseOptions.registry`, which is the `SuperviseRegistry` name→value table for
|
|
10012
|
+
* code-valued options. The two share a name and nothing else, and this one wins here — see
|
|
10013
|
+
* `GRAPH_REFUSED_SUPERVISE_OPTIONS`. */
|
|
10014
|
+
readonly registry?: PromptRegistry;
|
|
10015
|
+
/** The run journal the edge ledger and every spawn/settle ride. Default: in-memory. */
|
|
10016
|
+
readonly journal?: SpawnJournal;
|
|
10017
|
+
readonly blobs?: ResultBlobStore;
|
|
10018
|
+
readonly runId?: string;
|
|
10019
|
+
/** Product authority over every steer/answer instruction (the filter seam). `runGraph` observes
|
|
10020
|
+
* what it CHANGES: a narrowed instruction ledgers its steer traversal as `stripped`. */
|
|
10021
|
+
readonly authorizeMessage?: SuperviseOptions['authorizeMessage'];
|
|
10022
|
+
}
|
|
10023
|
+
interface GraphResult<Out = unknown> {
|
|
10024
|
+
readonly result: SupervisedResult<Out>;
|
|
10025
|
+
/** Every edge traversal, in occurrence order — the observable-edge contract. */
|
|
10026
|
+
readonly ledger: ReadonlyArray<EdgeTraversal>;
|
|
10027
|
+
/** Edge ids whose traversal cap was hit — analyzes exhaustion included (observable here, never
|
|
10028
|
+
* a refusal). A DELEGATES cap paired with a `no-winner` result THROWS
|
|
10029
|
+
* ({@link GraphEdgeCapError}) instead of returning: only delegates caps refuse spawns, so only
|
|
10030
|
+
* they can have ended the run. A LIFECYCLE no-winner (`aborted` / `budget-exhausted`) returns
|
|
10031
|
+
* normally even with an exhausted delegates cap — the abort or the pool, not the cap, ended
|
|
10032
|
+
* that run, and the exhaustion stays observable here. */
|
|
10033
|
+
readonly exhaustedEdges: ReadonlyArray<string>;
|
|
10034
|
+
readonly runId: string;
|
|
10035
|
+
}
|
|
10036
|
+
/** `RunGraphOptions` with the brain REQUIRED — the shape the `/testing` entry's
|
|
10037
|
+
* `runGraphWithTestBrain` keeps accepting now that `brain` is a production option. */
|
|
10038
|
+
interface RunGraphTestOptions extends RunGraphOptions {
|
|
10039
|
+
readonly brain: ToolLoopChat;
|
|
10040
|
+
}
|
|
10041
|
+
/**
|
|
10042
|
+
* Execute an {@link AgentGraph}. The root node becomes the supervisor (`supervise()` — the
|
|
10043
|
+
* execution core), each worker node is spawnable BY NODE ID (`spawn_worker` with
|
|
10044
|
+
* `profile: { name: '<node id>' }`; the node's canonical profile is pinned by the graph), each
|
|
10045
|
+
* delegates directive is appended to the worker profile's `prompt.instructions` per traversal,
|
|
10046
|
+
* and each analyzes edge becomes an analyst-on-settle route with a real DESTINATION. Every
|
|
10047
|
+
* traversal is ledgered and journaled.
|
|
10048
|
+
*/
|
|
10049
|
+
declare function runGraph(graph: AgentGraph, opts: RunGraphOptions): Promise<GraphResult>;
|
|
10050
|
+
/** Alias for graph tests written before `RunGraphOptions.brain` was production. The production
|
|
10051
|
+
* entry accepts the same shape; this wrapper only keeps the `/testing` import path working. */
|
|
10052
|
+
declare function runGraphWithTestBrain(graph: AgentGraph, opts: RunGraphTestOptions): Promise<GraphResult>;
|
|
10053
|
+
//#endregion
|
|
10054
|
+
//#region src/durable/observer-journal.d.ts
|
|
10055
|
+
type ObserverRecordKind = 'event' | 'decision';
|
|
10056
|
+
/**
|
|
10057
|
+
* One immutable record in the observer plane. `sequence` is journal order, not
|
|
10058
|
+
* execution order; causal/runtime order remains available on the underlying event.
|
|
10059
|
+
* `previousDigest` + `digest` make deletion, reordering, or mutation detectable.
|
|
10060
|
+
*/
|
|
10061
|
+
interface ObserverRecord {
|
|
10062
|
+
readonly schemaVersion: 1;
|
|
10063
|
+
readonly pursuitId: string;
|
|
10064
|
+
readonly sequence: number;
|
|
10065
|
+
readonly kind: ObserverRecordKind;
|
|
10066
|
+
readonly observedAt: number;
|
|
10067
|
+
readonly previousDigest?: string;
|
|
10068
|
+
readonly event?: RuntimeHookEvent;
|
|
10069
|
+
readonly decision?: RuntimeDecisionPoint;
|
|
10070
|
+
readonly digest: string;
|
|
10071
|
+
}
|
|
10072
|
+
interface ObserverJournal {
|
|
10073
|
+
appendEvent(event: RuntimeHookEvent): Promise<ObserverRecord>;
|
|
10074
|
+
appendDecision(point: RuntimeDecisionPoint): Promise<ObserverRecord>;
|
|
10075
|
+
read(): Promise<readonly ObserverRecord[]>;
|
|
10076
|
+
hooks(): RuntimeHooks;
|
|
10077
|
+
}
|
|
10078
|
+
/**
|
|
10079
|
+
* Durable, append-only third-person history for one concrete Runtime execution.
|
|
10080
|
+
* It consumes Runtime's existing hook stream and does not participate in execution
|
|
10081
|
+
* decisions. A broken observer therefore cannot change what an agent is allowed to do.
|
|
10082
|
+
*
|
|
10083
|
+
* The write discipline deliberately matches `FileSpawnJournal`: serialized appends,
|
|
10084
|
+
* torn-tail recovery, short-write handling, and fsync before acknowledgement. One
|
|
10085
|
+
* execution owns one journal file; higher-level pursuit aggregation joins isolated
|
|
10086
|
+
* journals by `pursuitId` instead of making independent processes share a write head.
|
|
10087
|
+
*/
|
|
10088
|
+
declare class FileObserverJournal implements ObserverJournal {
|
|
10089
|
+
readonly path: string;
|
|
10090
|
+
readonly pursuitId: string;
|
|
10091
|
+
private tail;
|
|
10092
|
+
private initialized;
|
|
10093
|
+
private sequence;
|
|
10094
|
+
private previousDigest;
|
|
10095
|
+
private appendFailure;
|
|
10096
|
+
constructor(path: string, pursuitId: string);
|
|
10097
|
+
hooks(): RuntimeHooks;
|
|
10098
|
+
appendEvent(event: RuntimeHookEvent): Promise<ObserverRecord>;
|
|
10099
|
+
appendDecision(point: RuntimeDecisionPoint): Promise<ObserverRecord>;
|
|
10100
|
+
read(): Promise<readonly ObserverRecord[]>;
|
|
10101
|
+
private enqueue;
|
|
10102
|
+
private initialize;
|
|
10103
|
+
private readExistingUnsafe;
|
|
10104
|
+
private assertComplete;
|
|
10105
|
+
}
|
|
10106
|
+
/** Verify identity, monotonic sequence, payload shape, and the complete digest chain. */
|
|
10107
|
+
declare function verifyObserverRecords(records: readonly ObserverRecord[], pursuitId?: string): readonly ObserverRecord[];
|
|
10108
|
+
/** Compute the canonical SHA-256 digest for an unsigned observer record. */
|
|
10109
|
+
declare function observerRecordDigest(record: Omit<ObserverRecord, 'digest'>): string;
|
|
10110
|
+
//#endregion
|
|
10111
|
+
//#region src/durable/observer-projection.d.ts
|
|
10112
|
+
/**
|
|
10113
|
+
* One settled projection status, shared by runs and nodes. `down` is the journal's own word for a
|
|
10114
|
+
* failure (a settlement is journaled as `kind: 'down'`, cancellation included), so a consumer can
|
|
10115
|
+
* join run rows to node rows on `status` and read one failure population instead of two.
|
|
10116
|
+
*/
|
|
10117
|
+
type PursuitStatus = 'running' | 'done' | 'down';
|
|
10118
|
+
/**
|
|
10119
|
+
* Where a node's dollar figure came from. `reported` = a provider billed all of it; `estimated` =
|
|
10120
|
+
* a model catalog priced all of it; `partial` = a provider billed part and a catalog priced the
|
|
10121
|
+
* rest; `unknown` = nothing priced it, so `usd` is a floor and never the cost.
|
|
10122
|
+
*/
|
|
10123
|
+
type PursuitCostProvenance = 'reported' | 'estimated' | 'partial' | 'unknown';
|
|
10124
|
+
/**
|
|
10125
|
+
* One node's token usage by class. Cache and reasoning classes are absent when the provider did
|
|
10126
|
+
* not report them — absence is not zero. `tokensKnown` is `false` when work happened whose token
|
|
10127
|
+
* count no provider reported, which makes `input`/`output` a floor.
|
|
10128
|
+
*/
|
|
10129
|
+
interface PursuitNodeUsage {
|
|
10130
|
+
readonly input: number;
|
|
10131
|
+
readonly output: number;
|
|
10132
|
+
readonly cacheRead?: number;
|
|
10133
|
+
readonly cacheWrite?: number;
|
|
10134
|
+
readonly reasoning?: number;
|
|
10135
|
+
readonly tokensKnown: boolean;
|
|
10136
|
+
}
|
|
10137
|
+
/**
|
|
10138
|
+
* One node's PLATFORM consumption — box wall time, the resource a subscription seat really pays.
|
|
10139
|
+
*
|
|
10140
|
+
* Kept apart from `PursuitNodeCost` because the two answer different questions and fail
|
|
10141
|
+
* independently: a seat run reports a truthful `$0` and real minutes, a caller-account run
|
|
10142
|
+
* reports real dollars and may report no minutes at all. Collapsing them into one "spend known"
|
|
10143
|
+
* figure hides which one is missing.
|
|
9862
10144
|
*
|
|
9863
10145
|
* Absent on a node that ran no box. `boxMinutes` absent WITH the block present says a box ran and
|
|
9864
10146
|
* nothing measured it — a missing measurement is never a zero.
|
|
@@ -10201,6 +10483,32 @@ declare class SupervisePursuitError extends Error {
|
|
|
10201
10483
|
* An abandoned `supervise.lock.guard` requires removal after confirming no lock mutation is active.
|
|
10202
10484
|
*/
|
|
10203
10485
|
declare function supervisePursuit(profile: SupervisorProfile, task: unknown, opts: SupervisePursuitOptions): Promise<SupervisedPursuitResult<Awaited<ReturnType<typeof supervise>>>>;
|
|
10486
|
+
/** Options for {@link superviseGraphPursuit}: every `runGraph` option, plus the pursuit identity,
|
|
10487
|
+
* the run directory this execution owns, and optional observer delivery. */
|
|
10488
|
+
interface SuperviseGraphPursuitOptions extends RunGraphOptions {
|
|
10489
|
+
/** Stable objective identity spanning concrete Runtime runs. */
|
|
10490
|
+
readonly pursuitId: string;
|
|
10491
|
+
/** The directory this execution owns: journal, blobs, observer journal, lock and terminal
|
|
10492
|
+
* records. Re-running the same `runDir` and `runId` resumes the graph. */
|
|
10493
|
+
readonly runDir: string;
|
|
10494
|
+
/** Always `'release'`, as for {@link supervisePursuit}: a settled graph is never re-entered. */
|
|
10495
|
+
readonly retainedAtSettlement?: 'release';
|
|
10496
|
+
/** As for {@link supervisePursuit}. */
|
|
10497
|
+
readonly observerDelivery?: PursuitObserverDelivery;
|
|
10498
|
+
}
|
|
10499
|
+
/**
|
|
10500
|
+
* One-call durable execution of an `AgentGraph`: the graph twin of {@link supervisePursuit}.
|
|
10501
|
+
*
|
|
10502
|
+
* It owns the run directory exactly as `supervisePursuit` does — `supervise.lock` for the life of
|
|
10503
|
+
* the call, `observer.jsonl`, `result.json` once the graph settles, `failure.json` for the most
|
|
10504
|
+
* recent throw, and refusal of a settled directory before any compute — and runs the graph through
|
|
10505
|
+
* `runGraph`'s own path, so the root node is a `supervise()` root and a restarted process resumes
|
|
10506
|
+
* the graph from its spawn journal. `result.json` holds the graph's supervised result, the same
|
|
10507
|
+
* record every supervised run leaves; the edge ledger is the journal's `edge` events and the
|
|
10508
|
+
* returned `result.ledger`. Version chains and forks are `supervisePursuit` features and are not
|
|
10509
|
+
* offered here.
|
|
10510
|
+
*/
|
|
10511
|
+
declare function superviseGraphPursuit(graph: AgentGraph, opts: SuperviseGraphPursuitOptions): Promise<SupervisedPursuitResult<GraphResult>>;
|
|
10204
10512
|
//#endregion
|
|
10205
10513
|
//#region src/durable/pursuit-versions.d.ts
|
|
10206
10514
|
/**
|
|
@@ -13845,6 +14153,8 @@ interface DriverAgentOptions {
|
|
|
13845
14153
|
readonly blobs: ResultBlobStore;
|
|
13846
14154
|
/** Resolve a spawned `profile` to a worker LEAF or a driver child (the recursion seam). */
|
|
13847
14155
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
14156
|
+
/** Serve `run_graph` — see `CoordinationToolsOptions.graphs`. */
|
|
14157
|
+
readonly graphs?: GraphSubtasks;
|
|
13848
14158
|
readonly authorizeDownMessage?: AuthorizeDownMessage;
|
|
13849
14159
|
/** Per-child budget reserved from the conserved pool on each spawn. */
|
|
13850
14160
|
readonly perWorker: Budget;
|
|
@@ -13912,436 +14222,165 @@ interface DriverAgentOptions {
|
|
|
13912
14222
|
* `executeExtraTool`. Unset → coordination-only (the prior behavior). */
|
|
13913
14223
|
readonly extraTools?: ReadonlyArray<{
|
|
13914
14224
|
readonly name: string;
|
|
13915
|
-
readonly description?: string;
|
|
13916
|
-
readonly parameters: Record<string, unknown>;
|
|
13917
|
-
}>;
|
|
13918
|
-
/** Runs an `extraTools` call. Returns a string result, or null/undefined to signal "not handled"
|
|
13919
|
-
* so the call falls through to the coordination dispatch. Required iff `extraTools` is set. */
|
|
13920
|
-
readonly executeExtraTool?: (name: string, args: Record<string, unknown>) => Promise<string | null | undefined>;
|
|
13921
|
-
/** Max driver turns before the loop force-finalizes on the best settled child. Default: no
|
|
13922
|
-
* turn-count cap. The loop is bounded by the conserved budget pool (every driver turn is metered
|
|
13923
|
-
* into it), an absolute deadline, the driver's own stop, and abort, all checked before each
|
|
13924
|
-
* turn. Without a deadline, a manager stops once it has overdrawn its pool by the pool's size
|
|
13925
|
-
* again, and a brain that reports no usage keeps a 16-turn bound unless a dollar cap applies. A manager awaits one settlement per turn, so the old default of 16 ended any manager
|
|
13926
|
-
* with more than about 14 workers and tore its unfinished workers down: measured 2026-09-25 on
|
|
13927
|
-
* a 1 + 20 + 400 tree, 124 of 420 agents settled `down` at 16 and none at 0. */
|
|
13928
|
-
readonly maxTurns?: number;
|
|
13929
|
-
/** Injected clock for the in-loop absolute-deadline guard — keeps the deadline check
|
|
13930
|
-
* deterministic in tests. Defaults to `Date.now`. */
|
|
13931
|
-
readonly now?: () => number;
|
|
13932
|
-
/**
|
|
13933
|
-
* PROGRESS-derived stop (mechanic D). Today a run ends on a ceiling — iterations, tokens,
|
|
13934
|
-
* dollars, deadline, turn cap — which answers "may it continue?" and never "is it still getting
|
|
13935
|
-
* anywhere?". A stop rule reads the run's own progress (best-so-far over settled work, time
|
|
13936
|
-
* since the last settle, the live worker feed) and ends a run that has stopped learning BEFORE
|
|
13937
|
-
* it exhausts a budget.
|
|
13938
|
-
*
|
|
13939
|
-
* Composes with, and can never override, the hard guards: `poolStarved` / `deadlinePassed` /
|
|
13940
|
-
* abort / the driver's own stop are evaluated first, so a rule can only ADD a stop.
|
|
13941
|
-
*
|
|
13942
|
-
* THRESHOLDS are the caller's judgment, not this module's — build the rule with
|
|
13943
|
-
* `plateau({window, minDelta})` / `noProgressFor({...})` / `allWorkersStalled({...})` from
|
|
13944
|
-
* `supervise/stop-rules`. Omit ⇒ ceilings only (unchanged behavior).
|
|
13945
|
-
*/
|
|
13946
|
-
readonly stopRule?: StopRule;
|
|
13947
|
-
/** Called once with the rule's reason when a `stopRule` ends the run — so a caller can record
|
|
13948
|
-
* WHY a run stopped early instead of inferring it from an unexhausted budget. */
|
|
13949
|
-
readonly onProgressStop?: (reason: string, request?: RunCancelRequest) => void;
|
|
13950
|
-
/** Give the driver brain a chapter-lifecycle on its OWN context window. The LLM-brain front doors
|
|
13951
|
-
* lose to a dumb-Ralph respawn because the brain re-bills its whole coordination transcript every
|
|
13952
|
-
* turn — the same context overflow a single steered agent suffers, one level up. With this set,
|
|
13953
|
-
* once the brain's running conversation exceeds `thresholdTokens` it distills the accumulated
|
|
13954
|
-
* history to a compact progress note and continues fresh: the supervisor analog of respawning
|
|
13955
|
-
* against external tracking state, except the live `Scope` roster IS the durable state. Default
|
|
13956
|
-
* off (no behavior change). `distill` defaults to a self-summary authored by the brain combined
|
|
13957
|
-
* with the factual settled-worker roster; override to supply your own. */
|
|
13958
|
-
readonly compaction?: ToolLoopCompactionOptions;
|
|
13959
|
-
/** Pass-through subscriber for every coordination bus event: settled/question/finding,
|
|
13960
|
-
* pre-delivery instruction receipts, and steer/answer delivery outcomes. A durable caller uses
|
|
13961
|
-
* this to append the coordination log. Omit = no observer. */
|
|
13962
|
-
readonly onEvent?: (event: CoordinationEvent, record: BusRecord<CoordinationEvent>) => void | Promise<void>;
|
|
13963
|
-
/** Re-publish resume-time settlements through the awaited observer before the first brain turn. */
|
|
13964
|
-
readonly replaySettlements?: boolean;
|
|
13965
|
-
/** Questions, findings, and authorized continuation receipts loaded from a prior process.
|
|
13966
|
-
* Questions seed the ledger (`list_questions`, blocking-stop policy); all three feed the resume
|
|
13967
|
-
* brief. Continuation receipts are evidence only and are never auto-delivered. Omit = fresh. */
|
|
13968
|
-
readonly priorCoordination?: PriorCoordination;
|
|
13969
|
-
/** How the settled-worker ledger becomes the run's output. Default `bestDelivered` — the single
|
|
13970
|
-
* highest-scoring DELIVERED child (the exact keep-best every existing caller had). Runs under
|
|
13971
|
-
* the delivered-only invariant (`runFinalizer`): whatever the finalizer, an undelivered or
|
|
13972
|
-
* invalid child's output stays unreachable. */
|
|
13973
|
-
readonly finalizer?: SupervisorFinalizer;
|
|
13974
|
-
/** The recorder of this agent's conversation. A wrapper that builds a new driver for each `act`
|
|
13975
|
-
* passes one recorder to all of them, so the agent keeps one transcript across attempts.
|
|
13976
|
-
* @internal Runtime's own wiring between `supervisorAgent` and its router arm. */
|
|
13977
|
-
transcript?: RouterTranscript;
|
|
13978
|
-
/** Optional shared manager inbox used by a wrapper that must accept messages before async node
|
|
13979
|
-
* setup finishes. Ordinary callers omit it and the driver owns a fresh inbox. */
|
|
13980
|
-
readonly inbox?: Inbox;
|
|
13981
|
-
/**
|
|
13982
|
-
* The durable run directory (`SuperviseOptions.runDir` / the `run-layout` event dir) this driver
|
|
13983
|
-
* ACKNOWLEDGES worker-scoped cancel requests from. Each turn the driver reads the layout's
|
|
13984
|
-
* cancellation inbox once, applies any request naming one of ITS OWN workers through that
|
|
13985
|
-
* worker's existing per-child abort (cascading to the worker's subtree and no sibling), and
|
|
13986
|
-
* writes the durable {@link WorkerCancellation} acknowledgement: `cancel_requested` when the
|
|
13987
|
-
* abort is issued, `cancelled` only when the worker reaches a terminal `down` on the settle
|
|
13988
|
-
* path, `not_live` when the worker is already gone — a missing worker never reads as success.
|
|
13989
|
-
* Which requests this driver OWNS is set by {@link controlScope}. Omit = no acknowledger
|
|
13990
|
-
* (in-memory runs keep in-process control via handles).
|
|
13991
|
-
*/
|
|
13992
|
-
readonly controlDir?: string;
|
|
13993
|
-
/** Durable steer directory when it differs from the run-control directory. */
|
|
13994
|
-
readonly steerDir?: string;
|
|
13995
|
-
/**
|
|
13996
|
-
* Which cancel requests this driver's acknowledger owns when `controlDir` is set.
|
|
13997
|
-
*
|
|
13998
|
-
* `'run'` (the default, and the tree root's role): exact node ids of its OWN direct children,
|
|
13999
|
-
* plus every label/profile-name reference. `'subtree'` (a nested manager): exact direct-child
|
|
14000
|
-
* node ids ONLY — never labels or profile names, which can match workers under more than one
|
|
14001
|
-
* manager. Ownership makes each operation appliable by exactly ONE manager, so two acknowledgers
|
|
14002
|
-
* sharing one `controlDir` can never abort two workers for one operation or race on the
|
|
14003
|
-
* acknowledgement file. At the end of `act`, the owner writes an expiry record for each owned
|
|
14004
|
-
* request still open: `not_live` for one never applied, `unknown` for an abort whose settle the
|
|
14005
|
-
* run ended too soon to observe — so a reader can tell run-over from in-progress.
|
|
14006
|
-
*/
|
|
14007
|
-
/** Called with this driver's coordination tool descriptors once they exist and before the brain
|
|
14008
|
-
* loop starts — the seam a node tool uses to call the same verbs in code
|
|
14009
|
-
* (`SupervisorToolInvocationContext.verbs`). */
|
|
14010
|
-
readonly onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>, coordination: Pick<CoordinationTools, 'awaitSettlement'>) => void;
|
|
14011
|
-
readonly controlScope?: 'run' | 'subtree';
|
|
14012
|
-
/**
|
|
14013
|
-
* Abort the WHOLE run — the seam a run-scoped cancel request (`cancelRun`) is applied through.
|
|
14014
|
-
* Wired by `supervise()` to the run's ONE cascade controller (the attached root control), so a
|
|
14015
|
-
* run cancel takes the same path a caller's `RootHandle.abort` takes; there is no second
|
|
14016
|
-
* controller and no poller. Read only by the `'run'`-scoped manager with a `controlDir`; omit
|
|
14017
|
-
* and a run-scoped request stays unanswered.
|
|
14018
|
-
*/
|
|
14019
|
-
readonly abortRun?: (reason: string, request?: RunCancelRequest) => void;
|
|
14020
|
-
}
|
|
14021
|
-
/**
|
|
14022
|
-
* Build the intelligent recursive driver. Its `act` is the LLM tool-loop; spawn it as a
|
|
14023
|
-
* `driverChild` (`driver-executor.ts`) to run it inside a nested scope, recursively.
|
|
14024
|
-
*/
|
|
14025
|
-
declare function driverAgent(opts: DriverAgentOptions): Agent<unknown, unknown>;
|
|
14026
|
-
/** Keep-best finalize under the completion-oracle: return the highest-scoring DELIVERED child's
|
|
14027
|
-
* output (settled `done` AND `valid` — its deliverable check passed). Returns undefined when no
|
|
14028
|
-
* child delivered — an honest "the driver produced nothing", never a high-scoring result that
|
|
14029
|
-
* ran without passing its check (Foreman's 0/18 lesson). `valid` is the single delivery signal,
|
|
14030
|
-
* matching `defaultSelectWinner`'s valid-first rule; the oracle just doesn't fall back to an
|
|
14031
|
-
* unchecked best-effort. The same argmax as the `bestDelivered` finalizer (`pickBestDelivered`);
|
|
14032
|
-
* this direct form serves callers that hold a bare ledger + blob store. */
|
|
14033
|
-
declare function finalizeBestDelivered(settled: ReadonlyArray<{
|
|
14034
|
-
status: string;
|
|
14035
|
-
score?: number;
|
|
14036
|
-
valid?: boolean;
|
|
14037
|
-
outRef?: string;
|
|
14038
|
-
}>, blobs: ResultBlobStore): Promise<unknown>;
|
|
14039
|
-
//#endregion
|
|
14040
|
-
//#region src/runtime/supervise/delegate.d.ts
|
|
14041
|
-
/** The conserved pool a `delegate()` call applies when the caller does not pass its own `budget`.
|
|
14042
|
-
* A modest token ceiling + a small iteration ceiling — generous enough for a few-worker decompose,
|
|
14043
|
-
* bounded enough that an unsupervised intent cannot run away. Callers override via `opts.budget`. */
|
|
14044
|
-
declare const defaultDelegateBudget: Budget;
|
|
14045
|
-
/** Inputs to {@link delegate}. The intent is the first positional arg; everything here is optional
|
|
14046
|
-
* with explicit execution identity, so the common call names one exact supervisor profile. */
|
|
14047
|
-
interface DelegateOptions<Out = unknown> {
|
|
14048
|
-
/** The completion oracle (settled ⟺ delivered) the authored workers settle against. Strongly
|
|
14049
|
-
* recommended — without it the supervisor trusts a worker's self-report. For a code intent,
|
|
14050
|
-
* `patchDelivered()` is the canonical example; for a free-form answer, a content check. */
|
|
14051
|
-
readonly deliverable?: DeliverableSpec<Out>;
|
|
14052
|
-
/** WHERE the authored workers run — the worker-execution backend (`router-tools` / `sandbox` /
|
|
14053
|
-
* `cli-worktree` / …). The supervisor authors the worker PROFILE; this is the substrate it runs
|
|
14054
|
-
* on. Provide this OR `makeWorkerAgent`-style wiring through `supervise()` is unavailable. */
|
|
14055
|
-
readonly backend?: ExecutorConfig;
|
|
14056
|
-
/** The conserved compute pool for the whole delegation. Defaults to {@link defaultDelegateBudget}. */
|
|
14057
|
-
readonly budget?: Budget;
|
|
14058
|
-
/** Exact executable authoring supervisor. Model, prompt, harness, and provider live here. */
|
|
14059
|
-
readonly supervisorProfile: SupervisorProfile;
|
|
14060
|
-
/** Router endpoint/auth for a `cli-base` supervisor; contains no behavioral settings. */
|
|
14061
|
-
readonly router: RouterTransportConfig;
|
|
14062
|
-
/** Restrict the run to this subset of models (forwarded to `supervise()`). */
|
|
14063
|
-
readonly allowedModels?: readonly string[];
|
|
14064
|
-
readonly runId?: string;
|
|
14065
|
-
}
|
|
14066
|
-
/**
|
|
14067
|
-
* Delegate an INTENT to a default authoring supervisor and return its `SupervisedResult` unchanged.
|
|
14068
|
-
*
|
|
14069
|
-
* The supervisor authors + spawns whatever worker the intent needs over the conserved-budget pool;
|
|
14070
|
-
* `result.spentTotal` reports what the whole delegation actually cost. A `winner` result carries the
|
|
14071
|
-
* authored worker's delivered output; a `no-winner` result names why (never a fabricated success).
|
|
14072
|
-
*/
|
|
14073
|
-
declare function delegate<Out = unknown>(intent: string, opts: DelegateOptions<Out>): Promise<SupervisedResult<Out>>;
|
|
14074
|
-
//#endregion
|
|
14075
|
-
//#region src/runtime/supervise/prompt-registry.d.ts
|
|
14076
|
-
/**
|
|
14077
|
-
*
|
|
14078
|
-
* The kernel prompt registry — versioned prompt text as DATA, addressed by `PromptHandle`.
|
|
14079
|
-
*
|
|
14080
|
-
* A role expressed as a builder FUNCTION is a role that can never improve: the only optimizable
|
|
14081
|
-
* surface it leaves is whatever thin string a caller happens to inject, while the real doctrine
|
|
14082
|
-
* sits hardcoded in TypeScript. This registry is the inverse: every standing instruction is a
|
|
14083
|
-
* versioned entry (`<surface>` + `v<n>`), so a graph edge, a supervisor front door, or an
|
|
14084
|
-
* optimizer names a handle and the TEXT is swappable, sweepable, and diffable without a code
|
|
14085
|
-
* change. Graph edges (`runGraph`) carry handles, never inline prose.
|
|
14086
|
-
*
|
|
14087
|
-
* A profile or graph may opt into one of these versioned texts. Runtime does not select a standing
|
|
14088
|
-
* supervisor policy when the profile omits one.
|
|
14089
|
-
*
|
|
14090
|
-
* @experimental
|
|
14091
|
-
*/
|
|
14092
|
-
/** A versioned reference into a prompt registry: `surface` names the role/edge the text serves,
|
|
14093
|
-
* `version` pins the exact text. The string form is `<surface>/v<n>` (e.g. `delegates/worker-brief/v1`). */
|
|
14094
|
-
interface PromptHandle {
|
|
14095
|
-
readonly surface: string;
|
|
14096
|
-
readonly version: number;
|
|
14097
|
-
}
|
|
14098
|
-
/** One registry entry: the handle plus the text it pins. */
|
|
14099
|
-
interface RegisteredPrompt {
|
|
14100
|
-
readonly surface: string;
|
|
14101
|
-
readonly version: number;
|
|
14102
|
-
readonly text: string;
|
|
14103
|
-
/** What the surface is FOR — shown by `list()`, never sent to a model. */
|
|
14104
|
-
readonly description?: string;
|
|
14105
|
-
}
|
|
14106
|
-
/** Versioned prompt store. `resolve` fails loud on an unknown handle: a directive that silently
|
|
14107
|
-
* resolved to nothing is the unobservable-edge failure this whole design exists to end. */
|
|
14108
|
-
interface PromptRegistry {
|
|
14109
|
-
resolve(handle: PromptHandle): RegisteredPrompt;
|
|
14110
|
-
/** Register a new entry; a duplicate (surface, version) fails loud — versions are immutable. */
|
|
14111
|
-
register(entry: RegisteredPrompt): void;
|
|
14112
|
-
list(): ReadonlyArray<RegisteredPrompt>;
|
|
14113
|
-
}
|
|
14114
|
-
/**
|
|
14115
|
-
* Parse `'<surface>/v<n>'` into a {@link PromptHandle}. The shorthand for authoring a graph edge:
|
|
14116
|
-
* `directive: promptHandle('delegates/worker-brief/v1')`.
|
|
14117
|
-
*/
|
|
14118
|
-
declare function promptHandle(ref: string): PromptHandle;
|
|
14119
|
-
/** The string form of a handle: `<surface>/v<n>`. */
|
|
14120
|
-
declare function formatPromptHandle(handle: PromptHandle): string;
|
|
14121
|
-
/** Create a registry, optionally seeded. Entries are copied; the registry never aliases caller state. */
|
|
14122
|
-
declare function createPromptRegistry(seed?: ReadonlyArray<RegisteredPrompt>): PromptRegistry;
|
|
14123
|
-
/**
|
|
14124
|
-
* Default DELEGATES-edge directive: the standing instruction a worker receives with every
|
|
14125
|
-
* traversal of a delegates edge that names this surface.
|
|
14126
|
-
*/
|
|
14127
|
-
declare const delegatesWorkerBriefPrompt: RegisteredPrompt;
|
|
14128
|
-
/**
|
|
14129
|
-
* Default ANALYZES-edge directive: what the RECEIVING node should do with an analyst's findings.
|
|
14130
|
-
* Wrapped around the findings payload on every traversal of an analyzes edge naming this surface.
|
|
14131
|
-
*/
|
|
14132
|
-
declare const analyzesFindingsReportPrompt: RegisteredPrompt;
|
|
14133
|
-
/**
|
|
14134
|
-
* Default NAIVE steering continuation — the no-signal control re-expressed as data: the same
|
|
14135
|
-
* fixed continuation every round, reading nothing from any verdict.
|
|
14136
|
-
*/
|
|
14137
|
-
declare const naiveContinuationPrompt: RegisteredPrompt;
|
|
14138
|
-
/**
|
|
14139
|
-
* Default DUMB steering continuations — the pass/fail-only control re-expressed as data: two
|
|
14140
|
-
* fixed texts keyed on the verdict's boolean and nothing else.
|
|
14141
|
-
*/
|
|
14142
|
-
declare const dumbContinuationFailPrompt: RegisteredPrompt;
|
|
14143
|
-
/** The pass branch of the dumb steering control — see {@link dumbContinuationFailPrompt}. */
|
|
14144
|
-
declare const dumbContinuationPassPrompt: RegisteredPrompt;
|
|
14145
|
-
/** The kernel's seeded registry: every surface the runtime's own builders derive from. A caller
|
|
14146
|
-
* may register additional surfaces/versions on the returned registry. */
|
|
14147
|
-
declare function kernelPromptRegistry(): PromptRegistry;
|
|
14148
|
-
//#endregion
|
|
14149
|
-
//#region src/runtime/supervise/graph.d.ts
|
|
14150
|
-
/** A graph node: an id and a canonical `AgentProfile`. The profile is the ONLY way a node is
|
|
14151
|
-
* described — its `prompt.systemPrompt` is the standing role (the 0.117 canonical resolution;
|
|
14152
|
-
* never a legacy top-level-only reduction), its tools/mcp/resources are its capabilities. */
|
|
14153
|
-
interface GraphNode {
|
|
14154
|
-
readonly id: NodeId;
|
|
14155
|
-
readonly profile: AgentProfile;
|
|
14156
|
-
}
|
|
14157
|
-
type GraphEdge =
|
|
14158
|
-
/** Work flows down. The delegation directive is DATA → versionable, sweepable, optimizable.
|
|
14159
|
-
* Each spawn of `to` by `from` — and each mid-run steer from `from` to a live `to` worker —
|
|
14160
|
-
* is one traversal. */
|
|
14161
|
-
{
|
|
14162
|
-
readonly kind: 'delegates';
|
|
14163
|
-
readonly from: NodeId;
|
|
14164
|
-
readonly to: NodeId;
|
|
14165
|
-
readonly directive: PromptHandle;
|
|
14166
|
-
/** Cyclic-graph backstop: traversals beyond this REFUSE (fail loud). Default
|
|
14167
|
-
* {@link defaultEdgeTraversalCap}. */
|
|
14168
|
-
readonly maxTraversals?: number;
|
|
14169
|
-
/** Default continuity for this edge's SPAWN traversals. `'resume'` makes every spawn after
|
|
14170
|
-
* the node's first re-attach to its most recent SETTLED worker: a NEW live worker whose
|
|
14171
|
-
* spawn context carries `resume: { ofWorker, sequence }` for the executor seam, spending
|
|
14172
|
-
* from the same conserved pool — the node's first spawn is effectively `'fresh'`, and a
|
|
14173
|
-
* spawn while a prior worker is still live refuses loudly (steer is the live channel).
|
|
14174
|
-
* The driver's per-call `spawn_worker` `continuity` argument overrides either way. Omit =
|
|
14175
|
-
* `'fresh'` (today's behavior, byte-identical). Caps count resumes exactly like fresh
|
|
14176
|
-
* spawns. */
|
|
14177
|
-
readonly continuity?: ContinuityMode;
|
|
14178
|
-
} |
|
|
14179
|
-
/** Findings flow anywhere: an analyst over N nodes' settled traces, delivered to ONE node.
|
|
14180
|
-
* With a LENS analyst the directive wraps the findings for the recipient; with a NODE analyst
|
|
14181
|
-
* the directive is the analyst agent's task and the findings are its settle output. */
|
|
14182
|
-
{
|
|
14183
|
-
readonly kind: 'analyzes';
|
|
14184
|
-
/** The analyst REFERENCE, in one of two forms: a lens id resolved against
|
|
14185
|
-
* `RunGraphOptions.analysts` (environment), or the id of a graph NODE with no delegates
|
|
14186
|
-
* edge pointing at it — then each matching settle spawns that node's pinned profile as a
|
|
14187
|
-
* tool-equipped analyst WORKER (same spawn machinery, conserved budget, trace join) whose
|
|
14188
|
-
* task is this edge's directive plus the settled worker's trace evidence and whose settle
|
|
14189
|
-
* output is the findings. An id that is both a node and a registry lens is refused. */
|
|
14190
|
-
readonly analyst: string;
|
|
14191
|
-
readonly over: ReadonlyArray<NodeId>;
|
|
14192
|
-
readonly to: NodeId;
|
|
14193
|
-
readonly directive: PromptHandle;
|
|
14194
|
-
/** Observability cap: traversals beyond this are LEDGERED as exhausted (`unpropagated`).
|
|
14195
|
-
* Only delegates caps refuse traversal — they are what close the spawn cycle. */
|
|
14196
|
-
readonly maxTraversals?: number;
|
|
14197
|
-
};
|
|
14198
|
-
interface AgentGraph {
|
|
14199
|
-
readonly nodes: ReadonlyArray<GraphNode>;
|
|
14200
|
-
readonly edges: ReadonlyArray<GraphEdge>;
|
|
14201
|
-
/** Termination is mandatory, not optional: the independent completion oracle. */
|
|
14202
|
-
readonly deliverable: DeliverableSpec<unknown>;
|
|
14203
|
-
/** One conserved pool across the whole graph — cycles without conservation never terminate. */
|
|
14204
|
-
readonly budget: Budget;
|
|
14205
|
-
}
|
|
14206
|
-
type EdgeDeliveryOutcome = 'delivered' | 'stripped' | 'empty' | 'unpropagated';
|
|
14207
|
-
/** How one ledgered hop CONTINUED: a spawn traversal stamps its effective spawn mode
|
|
14208
|
-
* (`'fresh'` | `'resume'`), and every mid-run delivery into an already-live recipient — a
|
|
14209
|
-
* driver steer leg and every analyzes delivery (routed steer or driver-destined finding) —
|
|
14210
|
-
* stamps `'steer'`. Zero ambiguity: every row carries exactly one of the three. */
|
|
14211
|
-
type TraversalContinuity = ContinuityMode | 'steer';
|
|
14212
|
-
/** One recorded edge traversal — the in-memory row; the journal twin is the `edge` SpawnEvent. */
|
|
14213
|
-
interface EdgeTraversal {
|
|
14214
|
-
/** Stable edge id: `delegates:<from>-><to>` or `analyzes:<analyst>:<over…>-><to>`. */
|
|
14215
|
-
readonly edge: string;
|
|
14216
|
-
readonly kind: 'delegates' | 'analyzes';
|
|
14217
|
-
readonly from: string;
|
|
14218
|
-
readonly to: string;
|
|
14219
|
-
/** The resolved directive reference (`<surface>/v<n>`). */
|
|
14220
|
-
readonly directive: string;
|
|
14221
|
-
/** 1-based per-edge ordinal. */
|
|
14222
|
-
readonly traversal: number;
|
|
14223
|
-
readonly outcome: EdgeDeliveryOutcome;
|
|
14224
|
-
/** How this hop continued — see {@link TraversalContinuity}. */
|
|
14225
|
-
readonly continuity: TraversalContinuity;
|
|
14226
|
-
/** Bytes of directive + payload that actually crossed the edge. */
|
|
14227
|
-
readonly bytes: number;
|
|
14228
|
-
readonly reason?: string;
|
|
14229
|
-
/** The concrete worker node id, once known. */
|
|
14230
|
-
readonly workerId?: string;
|
|
14231
|
-
}
|
|
14232
|
-
/** Default per-edge traversal cap — the cyclic-graph backstop when an edge names none. */
|
|
14233
|
-
declare const defaultEdgeTraversalCap = 32;
|
|
14234
|
-
/** A delegates edge exhausted its traversal cap and the run produced no winner: the cap, not the
|
|
14235
|
-
* task, ended it. Carries the full evidence so failing loud loses nothing. */
|
|
14236
|
-
declare class GraphEdgeCapError extends Error {
|
|
14237
|
-
readonly exhaustedEdges: ReadonlyArray<string>;
|
|
14238
|
-
readonly ledger: ReadonlyArray<EdgeTraversal>;
|
|
14239
|
-
readonly result: SupervisedResult<unknown>;
|
|
14240
|
-
constructor(exhaustedEdges: ReadonlyArray<string>, ledger: ReadonlyArray<EdgeTraversal>, result: SupervisedResult<unknown>);
|
|
14225
|
+
readonly description?: string;
|
|
14226
|
+
readonly parameters: Record<string, unknown>;
|
|
14227
|
+
}>;
|
|
14228
|
+
/** Runs an `extraTools` call. Returns a string result, or null/undefined to signal "not handled"
|
|
14229
|
+
* so the call falls through to the coordination dispatch. Required iff `extraTools` is set. */
|
|
14230
|
+
readonly executeExtraTool?: (name: string, args: Record<string, unknown>) => Promise<string | null | undefined>;
|
|
14231
|
+
/** Max driver turns before the loop force-finalizes on the best settled child. Default: no
|
|
14232
|
+
* turn-count cap. The loop is bounded by the conserved budget pool (every driver turn is metered
|
|
14233
|
+
* into it), an absolute deadline, the driver's own stop, and abort, all checked before each
|
|
14234
|
+
* turn. Without a deadline, a manager stops once it has overdrawn its pool by the pool's size
|
|
14235
|
+
* again, and a brain that reports no usage keeps a 16-turn bound unless a dollar cap applies. A manager awaits one settlement per turn, so the old default of 16 ended any manager
|
|
14236
|
+
* with more than about 14 workers and tore its unfinished workers down: measured 2026-09-25 on
|
|
14237
|
+
* a 1 + 20 + 400 tree, 124 of 420 agents settled `down` at 16 and none at 0. */
|
|
14238
|
+
readonly maxTurns?: number;
|
|
14239
|
+
/** Injected clock for the in-loop absolute-deadline guard — keeps the deadline check
|
|
14240
|
+
* deterministic in tests. Defaults to `Date.now`. */
|
|
14241
|
+
readonly now?: () => number;
|
|
14242
|
+
/**
|
|
14243
|
+
* PROGRESS-derived stop (mechanic D). Today a run ends on a ceiling — iterations, tokens,
|
|
14244
|
+
* dollars, deadline, turn cap — which answers "may it continue?" and never "is it still getting
|
|
14245
|
+
* anywhere?". A stop rule reads the run's own progress (best-so-far over settled work, time
|
|
14246
|
+
* since the last settle, the live worker feed) and ends a run that has stopped learning BEFORE
|
|
14247
|
+
* it exhausts a budget.
|
|
14248
|
+
*
|
|
14249
|
+
* Composes with, and can never override, the hard guards: `poolStarved` / `deadlinePassed` /
|
|
14250
|
+
* abort / the driver's own stop are evaluated first, so a rule can only ADD a stop.
|
|
14251
|
+
*
|
|
14252
|
+
* THRESHOLDS are the caller's judgment, not this module's — build the rule with
|
|
14253
|
+
* `plateau({window, minDelta})` / `noProgressFor({...})` / `allWorkersStalled({...})` from
|
|
14254
|
+
* `supervise/stop-rules`. Omit ⇒ ceilings only (unchanged behavior).
|
|
14255
|
+
*/
|
|
14256
|
+
readonly stopRule?: StopRule;
|
|
14257
|
+
/** Called once with the rule's reason when a `stopRule` ends the run — so a caller can record
|
|
14258
|
+
* WHY a run stopped early instead of inferring it from an unexhausted budget. */
|
|
14259
|
+
readonly onProgressStop?: (reason: string, request?: RunCancelRequest) => void;
|
|
14260
|
+
/** Give the driver brain a chapter-lifecycle on its OWN context window. The LLM-brain front doors
|
|
14261
|
+
* lose to a dumb-Ralph respawn because the brain re-bills its whole coordination transcript every
|
|
14262
|
+
* turn — the same context overflow a single steered agent suffers, one level up. With this set,
|
|
14263
|
+
* once the brain's running conversation exceeds `thresholdTokens` it distills the accumulated
|
|
14264
|
+
* history to a compact progress note and continues fresh: the supervisor analog of respawning
|
|
14265
|
+
* against external tracking state, except the live `Scope` roster IS the durable state. Default
|
|
14266
|
+
* off (no behavior change). `distill` defaults to a self-summary authored by the brain combined
|
|
14267
|
+
* with the factual settled-worker roster; override to supply your own. */
|
|
14268
|
+
readonly compaction?: ToolLoopCompactionOptions;
|
|
14269
|
+
/** Pass-through subscriber for every coordination bus event: settled/question/finding,
|
|
14270
|
+
* pre-delivery instruction receipts, and steer/answer delivery outcomes. A durable caller uses
|
|
14271
|
+
* this to append the coordination log. Omit = no observer. */
|
|
14272
|
+
readonly onEvent?: (event: CoordinationEvent, record: BusRecord<CoordinationEvent>) => void | Promise<void>;
|
|
14273
|
+
/** Re-publish resume-time settlements through the awaited observer before the first brain turn. */
|
|
14274
|
+
readonly replaySettlements?: boolean;
|
|
14275
|
+
/** Questions, findings, and authorized continuation receipts loaded from a prior process.
|
|
14276
|
+
* Questions seed the ledger (`list_questions`, blocking-stop policy); all three feed the resume
|
|
14277
|
+
* brief. Continuation receipts are evidence only and are never auto-delivered. Omit = fresh. */
|
|
14278
|
+
readonly priorCoordination?: PriorCoordination;
|
|
14279
|
+
/** How the settled-worker ledger becomes the run's output. Default `bestDelivered` — the single
|
|
14280
|
+
* highest-scoring DELIVERED child (the exact keep-best every existing caller had). Runs under
|
|
14281
|
+
* the delivered-only invariant (`runFinalizer`): whatever the finalizer, an undelivered or
|
|
14282
|
+
* invalid child's output stays unreachable. */
|
|
14283
|
+
readonly finalizer?: SupervisorFinalizer;
|
|
14284
|
+
/** The recorder of this agent's conversation. A wrapper that builds a new driver for each `act`
|
|
14285
|
+
* passes one recorder to all of them, so the agent keeps one transcript across attempts.
|
|
14286
|
+
* @internal Runtime's own wiring between `supervisorAgent` and its router arm. */
|
|
14287
|
+
transcript?: RouterTranscript;
|
|
14288
|
+
/** Optional shared manager inbox used by a wrapper that must accept messages before async node
|
|
14289
|
+
* setup finishes. Ordinary callers omit it and the driver owns a fresh inbox. */
|
|
14290
|
+
readonly inbox?: Inbox;
|
|
14291
|
+
/**
|
|
14292
|
+
* The durable run directory (`SuperviseOptions.runDir` / the `run-layout` event dir) this driver
|
|
14293
|
+
* ACKNOWLEDGES worker-scoped cancel requests from. Each turn the driver reads the layout's
|
|
14294
|
+
* cancellation inbox once, applies any request naming one of ITS OWN workers through that
|
|
14295
|
+
* worker's existing per-child abort (cascading to the worker's subtree and no sibling), and
|
|
14296
|
+
* writes the durable {@link WorkerCancellation} acknowledgement: `cancel_requested` when the
|
|
14297
|
+
* abort is issued, `cancelled` only when the worker reaches a terminal `down` on the settle
|
|
14298
|
+
* path, `not_live` when the worker is already gone — a missing worker never reads as success.
|
|
14299
|
+
* Which requests this driver OWNS is set by {@link controlScope}. Omit = no acknowledger
|
|
14300
|
+
* (in-memory runs keep in-process control via handles).
|
|
14301
|
+
*/
|
|
14302
|
+
readonly controlDir?: string;
|
|
14303
|
+
/** Durable steer directory when it differs from the run-control directory. */
|
|
14304
|
+
readonly steerDir?: string;
|
|
14305
|
+
/**
|
|
14306
|
+
* Which cancel requests this driver's acknowledger owns when `controlDir` is set.
|
|
14307
|
+
*
|
|
14308
|
+
* `'run'` (the default, and the tree root's role): exact node ids of its OWN direct children,
|
|
14309
|
+
* plus every label/profile-name reference. `'subtree'` (a nested manager): exact direct-child
|
|
14310
|
+
* node ids ONLY — never labels or profile names, which can match workers under more than one
|
|
14311
|
+
* manager. Ownership makes each operation appliable by exactly ONE manager, so two acknowledgers
|
|
14312
|
+
* sharing one `controlDir` can never abort two workers for one operation or race on the
|
|
14313
|
+
* acknowledgement file. At the end of `act`, the owner writes an expiry record for each owned
|
|
14314
|
+
* request still open: `not_live` for one never applied, `unknown` for an abort whose settle the
|
|
14315
|
+
* run ended too soon to observe — so a reader can tell run-over from in-progress.
|
|
14316
|
+
*/
|
|
14317
|
+
/** Called with this driver's coordination tool descriptors once they exist and before the brain
|
|
14318
|
+
* loop starts — the seam a node tool uses to call the same verbs in code
|
|
14319
|
+
* (`SupervisorToolInvocationContext.verbs`). */
|
|
14320
|
+
readonly onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>, coordination: Pick<CoordinationTools, 'awaitSettlement'>) => void;
|
|
14321
|
+
readonly controlScope?: 'run' | 'subtree';
|
|
14322
|
+
/**
|
|
14323
|
+
* Abort the WHOLE run — the seam a run-scoped cancel request (`cancelRun`) is applied through.
|
|
14324
|
+
* Wired by `supervise()` to the run's ONE cascade controller (the attached root control), so a
|
|
14325
|
+
* run cancel takes the same path a caller's `RootHandle.abort` takes; there is no second
|
|
14326
|
+
* controller and no poller. Read only by the `'run'`-scoped manager with a `controlDir`; omit
|
|
14327
|
+
* and a run-scoped request stays unanswered.
|
|
14328
|
+
*/
|
|
14329
|
+
readonly abortRun?: (reason: string, request?: RunCancelRequest) => void;
|
|
14241
14330
|
}
|
|
14242
14331
|
/**
|
|
14243
|
-
*
|
|
14244
|
-
*
|
|
14245
|
-
*/
|
|
14246
|
-
declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "peerAudit", "traceTools", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "selectSeat", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "deadlineCheckIn", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "segment", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
|
|
14247
|
-
/** `backend` and `driverBackend` keep graph-specific documentation below.
|
|
14248
|
-
*
|
|
14249
|
-
* Do not inherit and redeclare them through an indexed access type.
|
|
14250
|
-
* TypeScript 7 correctly treats `SuperviseOptions['backend']` as including `undefined`, which makes
|
|
14251
|
-
* that redeclaration wider than the exact optional property inherited from `SuperviseOptions`.
|
|
14252
|
-
*/
|
|
14253
|
-
type GraphInheritedSuperviseOption = Exclude<(typeof GRAPH_FORWARDED_SUPERVISE_OPTIONS)[number], 'backend' | 'driverBackend'>;
|
|
14254
|
-
/**
|
|
14255
|
-
* Options for one `runGraph` run.
|
|
14256
|
-
*
|
|
14257
|
-
* Extends every forwarded `SuperviseOptions` key, so a graph honors what a `supervise()` run
|
|
14258
|
-
* honors WITHOUT anyone restating it here. Only the graph-specific members and the ones whose
|
|
14259
|
-
* graph semantics differ are declared below; everything else inherits its type AND its
|
|
14260
|
-
* documentation from `SuperviseOptions`, which is the one owner of both.
|
|
14332
|
+
* Build the intelligent recursive driver. Its `act` is the LLM tool-loop; spawn it as a
|
|
14333
|
+
* `driverChild` (`driver-executor.ts`) to run it inside a nested scope, recursively.
|
|
14261
14334
|
*/
|
|
14262
|
-
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
*
|
|
14287
|
-
* `
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
*
|
|
14291
|
-
*
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
readonly
|
|
14301
|
-
/** Directive registry. Default: the seeded kernel registry (`kernelPromptRegistry()`).
|
|
14302
|
-
*
|
|
14303
|
-
* NOT `SuperviseOptions.registry`, which is the `SuperviseRegistry` name→value table for
|
|
14304
|
-
* code-valued options. The two share a name and nothing else, and this one wins here — see
|
|
14305
|
-
* `GRAPH_REFUSED_SUPERVISE_OPTIONS`. */
|
|
14306
|
-
readonly registry?: PromptRegistry;
|
|
14307
|
-
/** The run journal the edge ledger and every spawn/settle ride. Default: in-memory. */
|
|
14308
|
-
readonly journal?: SpawnJournal;
|
|
14309
|
-
readonly blobs?: ResultBlobStore;
|
|
14335
|
+
declare function driverAgent(opts: DriverAgentOptions): Agent<unknown, unknown>;
|
|
14336
|
+
/** Keep-best finalize under the completion-oracle: return the highest-scoring DELIVERED child's
|
|
14337
|
+
* output (settled `done` AND `valid` — its deliverable check passed). Returns undefined when no
|
|
14338
|
+
* child delivered — an honest "the driver produced nothing", never a high-scoring result that
|
|
14339
|
+
* ran without passing its check (Foreman's 0/18 lesson). `valid` is the single delivery signal,
|
|
14340
|
+
* matching `defaultSelectWinner`'s valid-first rule; the oracle just doesn't fall back to an
|
|
14341
|
+
* unchecked best-effort. The same argmax as the `bestDelivered` finalizer (`pickBestDelivered`);
|
|
14342
|
+
* this direct form serves callers that hold a bare ledger + blob store. */
|
|
14343
|
+
declare function finalizeBestDelivered(settled: ReadonlyArray<{
|
|
14344
|
+
status: string;
|
|
14345
|
+
score?: number;
|
|
14346
|
+
valid?: boolean;
|
|
14347
|
+
outRef?: string;
|
|
14348
|
+
}>, blobs: ResultBlobStore): Promise<unknown>;
|
|
14349
|
+
//#endregion
|
|
14350
|
+
//#region src/runtime/supervise/delegate.d.ts
|
|
14351
|
+
/** The conserved pool a `delegate()` call applies when the caller does not pass its own `budget`.
|
|
14352
|
+
* A modest token ceiling + a small iteration ceiling — generous enough for a few-worker decompose,
|
|
14353
|
+
* bounded enough that an unsupervised intent cannot run away. Callers override via `opts.budget`. */
|
|
14354
|
+
declare const defaultDelegateBudget: Budget;
|
|
14355
|
+
/** Inputs to {@link delegate}. The intent is the first positional arg; everything here is optional
|
|
14356
|
+
* with explicit execution identity, so the common call names one exact supervisor profile. */
|
|
14357
|
+
interface DelegateOptions<Out = unknown> {
|
|
14358
|
+
/** The completion oracle (settled ⟺ delivered) the authored workers settle against. Strongly
|
|
14359
|
+
* recommended — without it the supervisor trusts a worker's self-report. For a code intent,
|
|
14360
|
+
* `patchDelivered()` is the canonical example; for a free-form answer, a content check. */
|
|
14361
|
+
readonly deliverable?: DeliverableSpec<Out>;
|
|
14362
|
+
/** WHERE the authored workers run — the worker-execution backend (`router-tools` / `sandbox` /
|
|
14363
|
+
* `cli-worktree` / …). The supervisor authors the worker PROFILE; this is the substrate it runs
|
|
14364
|
+
* on. Provide this OR `makeWorkerAgent`-style wiring through `supervise()` is unavailable. */
|
|
14365
|
+
readonly backend?: ExecutorConfig;
|
|
14366
|
+
/** The conserved compute pool for the whole delegation. Defaults to {@link defaultDelegateBudget}. */
|
|
14367
|
+
readonly budget?: Budget;
|
|
14368
|
+
/** Exact executable authoring supervisor. Model, prompt, harness, and provider live here. */
|
|
14369
|
+
readonly supervisorProfile: SupervisorProfile;
|
|
14370
|
+
/** Router endpoint/auth for a `cli-base` supervisor; contains no behavioral settings. */
|
|
14371
|
+
readonly router: RouterTransportConfig;
|
|
14372
|
+
/** Restrict the run to this subset of models (forwarded to `supervise()`). */
|
|
14373
|
+
readonly allowedModels?: readonly string[];
|
|
14310
14374
|
readonly runId?: string;
|
|
14311
|
-
/** Product authority over every steer/answer instruction (the filter seam). `runGraph` observes
|
|
14312
|
-
* what it CHANGES: a narrowed instruction ledgers its steer traversal as `stripped`. */
|
|
14313
|
-
readonly authorizeMessage?: SuperviseOptions['authorizeMessage'];
|
|
14314
|
-
}
|
|
14315
|
-
interface GraphResult<Out = unknown> {
|
|
14316
|
-
readonly result: SupervisedResult<Out>;
|
|
14317
|
-
/** Every edge traversal, in occurrence order — the observable-edge contract. */
|
|
14318
|
-
readonly ledger: ReadonlyArray<EdgeTraversal>;
|
|
14319
|
-
/** Edge ids whose traversal cap was hit — analyzes exhaustion included (observable here, never
|
|
14320
|
-
* a refusal). A DELEGATES cap paired with a `no-winner` result THROWS
|
|
14321
|
-
* ({@link GraphEdgeCapError}) instead of returning: only delegates caps refuse spawns, so only
|
|
14322
|
-
* they can have ended the run. A LIFECYCLE no-winner (`aborted` / `budget-exhausted`) returns
|
|
14323
|
-
* normally even with an exhausted delegates cap — the abort or the pool, not the cap, ended
|
|
14324
|
-
* that run, and the exhaustion stays observable here. */
|
|
14325
|
-
readonly exhaustedEdges: ReadonlyArray<string>;
|
|
14326
|
-
readonly runId: string;
|
|
14327
|
-
}
|
|
14328
|
-
/** `RunGraphOptions` with the brain REQUIRED — the shape the `/testing` entry's
|
|
14329
|
-
* `runGraphWithTestBrain` keeps accepting now that `brain` is a production option. */
|
|
14330
|
-
interface RunGraphTestOptions extends RunGraphOptions {
|
|
14331
|
-
readonly brain: ToolLoopChat;
|
|
14332
14375
|
}
|
|
14333
14376
|
/**
|
|
14334
|
-
*
|
|
14335
|
-
*
|
|
14336
|
-
*
|
|
14337
|
-
*
|
|
14338
|
-
*
|
|
14339
|
-
* traversal is ledgered and journaled.
|
|
14377
|
+
* Delegate an INTENT to a default authoring supervisor and return its `SupervisedResult` unchanged.
|
|
14378
|
+
*
|
|
14379
|
+
* The supervisor authors + spawns whatever worker the intent needs over the conserved-budget pool;
|
|
14380
|
+
* `result.spentTotal` reports what the whole delegation actually cost. A `winner` result carries the
|
|
14381
|
+
* authored worker's delivered output; a `no-winner` result names why (never a fabricated success).
|
|
14340
14382
|
*/
|
|
14341
|
-
declare function
|
|
14342
|
-
/** Alias for graph tests written before `RunGraphOptions.brain` was production. The production
|
|
14343
|
-
* entry accepts the same shape; this wrapper only keeps the `/testing` import path working. */
|
|
14344
|
-
declare function runGraphWithTestBrain(graph: AgentGraph, opts: RunGraphTestOptions): Promise<GraphResult>;
|
|
14383
|
+
declare function delegate<Out = unknown>(intent: string, opts: DelegateOptions<Out>): Promise<SupervisedResult<Out>>;
|
|
14345
14384
|
//#endregion
|
|
14346
14385
|
//#region src/runtime/supervise/designer-tools.d.ts
|
|
14347
14386
|
/** How the ENVIRONMENT executes a graph the designer asked to run. */
|
|
@@ -16309,6 +16348,29 @@ interface PeerAuditAccess {
|
|
|
16309
16348
|
register(nodeId: string, tools: ReadonlyArray<McpToolDescriptor$1>): void;
|
|
16310
16349
|
read(peerId: string, tool: 'observe_agent' | 'read_journal', args: Record<string, unknown>): Promise<unknown>;
|
|
16311
16350
|
}
|
|
16351
|
+
/** A graph a manager asked `run_graph` to run, validated and composed by the run that owns the
|
|
16352
|
+
* worker path, or the reason it was refused. */
|
|
16353
|
+
type GraphSubtaskPreparation = {
|
|
16354
|
+
readonly ok: true;
|
|
16355
|
+
/** The exact profile the spawn runs: the root node's pinned profile with the graph brief. */
|
|
16356
|
+
readonly profile: AgentProfile;
|
|
16357
|
+
readonly root: string;
|
|
16358
|
+
readonly nodes: ReadonlyArray<string>;
|
|
16359
|
+
} | {
|
|
16360
|
+
readonly ok: false;
|
|
16361
|
+
readonly reason: string;
|
|
16362
|
+
};
|
|
16363
|
+
/** How a run starts an agent graph as ONE subtask of a manager (`run_graph`). `supervise()`
|
|
16364
|
+
* supplies it when it owns the worker path: the graph's root node then runs as a nested manager
|
|
16365
|
+
* under the graph's node pinning, inside the caller's reservation. */
|
|
16366
|
+
interface GraphSubtasks {
|
|
16367
|
+
/** Validate a graph a manager wrote, or load a stored one by digest, and compose the exact root
|
|
16368
|
+
* profile the spawn runs. Never throws: a refusal carries its reason. */
|
|
16369
|
+
readonly prepare: (input: {
|
|
16370
|
+
readonly graph?: unknown;
|
|
16371
|
+
readonly graphDigest?: string;
|
|
16372
|
+
}) => Promise<GraphSubtaskPreparation>;
|
|
16373
|
+
}
|
|
16312
16374
|
interface CoordinationToolsOptions {
|
|
16313
16375
|
readonly scope: Scope<unknown>;
|
|
16314
16376
|
readonly peerAudit?: PeerAuditAccess;
|
|
@@ -16317,6 +16379,10 @@ interface CoordinationToolsOptions {
|
|
|
16317
16379
|
readonly sourceEvidenceRefs?: ReadonlyArray<string>;
|
|
16318
16380
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
16319
16381
|
readonly perWorker: Budget;
|
|
16382
|
+
/** Serve `run_graph`, which starts an agent graph as one subtask under this manager's conserved
|
|
16383
|
+
* pool. Present only when the run's worker path pins graph nodes; absent, the verb is not
|
|
16384
|
+
* mounted and a profile that grants it is refused at construction. */
|
|
16385
|
+
readonly graphs?: GraphSubtasks;
|
|
16320
16386
|
/** Called once when this manager declares completion through `stop` or an accepted submission. */
|
|
16321
16387
|
readonly onStop?: (reason: string | undefined) => void;
|
|
16322
16388
|
/**
|
|
@@ -18774,6 +18840,9 @@ type SpawnEvent = {
|
|
|
18774
18840
|
kind: 'edge';
|
|
18775
18841
|
/** The destination node when known (a spawned worker's id), else `graph:<node>`. */
|
|
18776
18842
|
id: NodeId;
|
|
18843
|
+
/** The node that drives this edge's graph, when a manager started the graph with `run_graph`.
|
|
18844
|
+
* One run journal can then hold several graphs' ledgers; absent for the run's own graph. */
|
|
18845
|
+
graph?: NodeId;
|
|
18777
18846
|
edge: {
|
|
18778
18847
|
kind: 'delegates' | 'analyzes' | 'data';
|
|
18779
18848
|
from: string;
|
|
@@ -20159,5 +20228,5 @@ interface KnowledgeReadinessDecision {
|
|
|
20159
20228
|
nonBlockingGapIds: string[];
|
|
20160
20229
|
}
|
|
20161
20230
|
//#endregion
|
|
20162
|
-
export { ExecutorResult as $, SpawnForestMissingTree as $C, toOtelAttributes as $S, StartRetainedRunInEnvironmentOptions as $T, ProviderWorkspaceCaptureResult as $_, GraphDesignerExtraTools as $a, workerInboxFile as $b, buildSteerContext as $c, IsolatedCheckBoxEvidence as $d, WorkerSpawnRetryPolicy as $f, SandboxLeafOut as $g, ActivityLog as $h, ProvisionSupervisorConnection as $i, AgenticSurface as $l, HarnessTranscriptMetadata as $m, Question as $n, CheckSourceCtx as $o, ProgressTracker as $p, WorkerInteractiveProviderSource as $r, recoverRetainedRun as $s, WorkerInteractiveSession as $t, PanelSpec as $u, runDetachedTurn as $v, LoopPlanDescription as $w, CodeModeResult as $x, createResearcherValidator as $y, TRACE_ROOT_SCHEMA as A, LOCAL_HARNESSES as AC, bestSoFar as AS, NativeContextContinuationInput as AT, ExecRequest as A_, graphDigest as Aa, WorkerSteerAcknowledgement as Ab, PrivateCasOptions as Ac, ShapeContext as Ad, PursuitStatus as Af, BridgeHarnessStore as Ag, CliWorktreeBridgeSeam as Ah, createRootHandle as Ai, SandboxEvidenceContext as Al, CoordinationHttpOptions as Am, AuthoredAnalystLimits as An, driverAgent as Ao, DriveHarness as Ap, SandboxInstance$1 as Ar, assertStrategyContract as As, Scope as At, ObserveOptions as Au, DetachedSessionDelegateOptions as Av, BudgetReconcileFault as Aw, verdictFromJudgeScore as Ax, DelegationResultPayload as Ay, EnvironmentTeardownReceipt as B, SqlRunStoreOptions as BC, OtelExportStats as BS, RetainedRunAdmissionHook as BT, createAgentEnvironmentProviderRegistry as B_, taskShapeDigest as Ba, readWorkerCancellation as Bb, InMemoryCorpus as Bc, LeaderboardScore as Bd, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Bf, DEFAULT_SHARED_BOX_RESOURCES as Bg, createExecutorRegistry as Bh, assertSearchSpec as Bi, InProcessSandboxClientOptions as Bl, EventBus as Bm, CoordinationToolsOptions as Bn, AuthoredProfile as Bo, SupervisorProfile as Bp, SurfaceReader as Br, TurnResult as Bs, SteerableRootHandle as Bt, EqualKOnCost as Bu, SiblingSandboxExecutorOptions as Bv, createBudgetPool as Bw, CodexRolloutIdentity as Bx, UI_FINDING_SEVERITIES as By, RuntimeFailureCause as C, captureWorktreeDiff as CC, renderLeaderboardSvg as CS, RuntimeRunStatus as CT, AgentSession as C_, InPlaceCliExecutorOptions as Ca, CoderOutput as Cb, CollectedAgentTurn as Cc, Outcome as Cd, PursuitNodePlatform as Cf, PeerMailbox as Cg, DelegateError as Ch, analyzeTrace as Ci, superviseDispatch as Cl, CoordinationAuthentication as Cm, AnalystKind as Cn, kernelPromptRegistry as Co, readWorkerTraceContext as Cp, normalizeAnalyzeOnSettle as Cr, StrategyTournament as Cs, RootMaterialization as Ct, HarvestFailure as Cu, FeedbackStore as Cv, DEFAULT_CHECK_IN_IDLE_MS as Cw, admitContinuationPolicy as Cx, DelegationError as Cy, runtimeFailureCause as D, CodexExecutionPolicy as DC, AnytimeTaskCurve as DS, WorkerEventPage as DT, CheckpointRef as D_, GraphSelection as Da, RunCancellation as Db, PrivateCasArtifactPort as Dc, RunPersonified as Dd, PursuitProjection as Df, isPeerMailEnvelope as Dg, validateDelegateArgs as Dh, parseWorkerToolTraceArtifact as Di, defaultSelectWinner as Dl, CoordinationTransportOptions as Dm, AnalystToolGroupName as Dn, defaultDelegateBudget as Do, CoordinationBinding as Dp, AnalystFinding$1 as Dr, strategyTournament as Ds, RootSignal as Dt, ObservationAnalysis as Du, CoderReview as Dv, BudgetPool as Dw, expandQuestions as Dx, DelegationHistoryResult as Dy, RuntimeFailureOwner as E, CodexExecutionEvidence as EC, AnytimeStrategySummary as ES, WorkerEventEntry as ET, AgentTurnResult$2 as E_, GraphRunRecord as Ea, RunCancelRequest as Eb, streamAgentTurn as Ec, PersonaExecutors as Ed, PursuitNodeUsage as Ef, createPeerMailbox as Eg, createDelegateHandler as Eh, captureWorkerTraceEvidence as Ei, TerminalDecision as El, CoordinationReadAccess as Em, AnalystRunContext as En, DelegateOptions as Eo, workerTraceSeamKey as Ep, AgentProfile$2 as Er, runStrategyEvolution as Es, RootSegmentEntry as Et, Observation as Eu, CoderDelegate as Ev, createWorkerSlots as Ew, distillFindings as Ex, DelegationHistoryEntry as Ey, AgentExecutionRef as F, localHarnessExecutable as FC, WaterfallSpan as FS, RetainedInteractiveAdmission as FT, ProviderExecutorOptions as F_, loadGraph as Fa, legacySupervisorRunDir as Fb, createShapeRegistry as Fc, LeaderboardBenchmarkAdapter as Fd, ObserverRecordKind as Ff, envKeyProvider as Fg, RouterToolsSeam as Fh, CompiledSearchSpec as Fi, LocalSandboxClientOptions as Fl, FileCoordinationLog as Fm, ContinuationInstruction as Fn, ChatTransportTool as Fo, ResolvedSupervisorProfile as Fp, BoxSurfaceReaderOptions as Fr, OpenSandboxRunBeforeStartContext as Fs, SpawnPrior as Ft, CombinatorShape as Fu, detachedSessionDelegate as Fv, ReservationShortfall as Fw, completionAuthorizes as Fx, FeedbackRefersTo as Fy, ExecutorCancellationRequest as G, d1ToSqlAdapter as GC, buildLoopSpanNodes as GS, RetainedRunEnvironmentAdmission as GT, SandboxControlClient as G_, freeSlots as Ga, safeWorkerFile as Gb, panel as Gc, DeclaredCheckStateCapture as Gd, SuperviseTestOptions as Gf, SharedBoxPlacement as Gg, createSteerableSandboxSession as Gh, ScopeArgs as Gi, McpSpawnFault as Gl, HarnessTranscriptEvidence as Gm, DownMessageEvent as Gn, defaultProfileRichnessThresholds as Go, supervisorAgent as Gp, AnalystAuthoring as Gr, SessionCapableBox as Gs, SupervisorOpts as Gt, FanoutSynthesis as Gu, DetachedTurnResumeDriverOptions as Gv, ExecCtx as Gw, CodexStoreDelta as Gx, UiLens as Gy, Executor as H, D1DatabaseLike as HC, OtelSpan as HS, RetainedRunCancellation as HT, providerAsSandboxClient as H_, DispatchStopReason as Ha, readWorkerSteerRequests as Hb, fanout as Hc, defineLeaderboard as Hd, SuperviseOptions as Hf, ROUTER_CLIENT_HEADER as Hg, SandboxSteeringOptions as Hh, searchPresets as Hi, HttpMcpServerSpec as Hl, createEventBus as Hm, DownMessageAuthorizationInput as Hn, ProfileRichnessThresholds as Ho, SupervisorToolInvocationContext as Hp, boxSurfaceReader as Hr, BranchCapableBox as Hs, SubtreeSummary as Ht, EqualKVerdict as Hu, createSiblingSandboxExecutor as Hv, AgentRunSpec as Hw, CodexRolloutStoreReader as Hx, UiFinding as Hy, AgentSpec as I, parseCodexTokenUsage as IC, createWaterfallCollector as IS, RetainedInteractiveEnvironmentAdmission as IT, ProviderLeafOut as I_, lookupGraph as Ia, legacySupervisorRunsRoot as Ib, registerShape as Ic, LeaderboardFlagSpec as Id, observerRecordDigest as If, mcpSecretEnvMetadataKey as Ig, SandboxSeam as Ih, SEARCH_SPEC_CORRELATION_KEY as Ii, localSandboxClient as Il, PriorCoordination as Im, ContinuityMode as In, ChatWorkerSeamOptions as Io, SupervisorAgentDeps as Ip, HarvestSurfaceDiffsOptions as Ir, OpenSandboxRunOptions as Is, SpawnRejection as It, Corpus as Iu, settleDetachedCoderTurn as Iv, ReservationStage as Iw, deterministicCompletion as Ix, ResearchOutputShape as Iy, ExecutorFactory as J, InMemoryResultBlobStore as JC, createOtelExporter as JS, RetainedRunIntentAdmission as JT, ProviderCheckpointCaptureContext as J_, WatchTraceOptions as Ja, supervisorWorkersDir as Jb, verify as Jc, declaredCheckDeliverable as Jd, superviseWithTestBrain as Jf, SharedBoxStats as Jg, ToolStepInput as Jh, RemoteSupervisorAgent as Ji, StdioMcpServerSpec as Jl, HarnessTranscriptUnavailableReason as Jm, LeadMessage as Jn, CheckExecChannel as Jo, ManagerWakePolicy as Jp, AuthoredHarness as Jr, acquireSandbox as Js, TreeView as Jt, LoopUntil as Ju, RunDetachedTurnOptions as Jv, LoopEndedPayload as Jw, harnessUsageIsEmpty as Jx, MultiHarnessResearcherFanoutOptions as Jy, ExecutorContext as K, FileResultBlobStore as KC, buildRuntimeEventOtelSpans as KS, RetainedRunEventOptions as KT, createTangleSandboxExactProcessProvider as K_, queueOf as Ka, supervisorRunDir as Kb, pipeline as Kc, assertDeclaredCheck as Kd, supervise as Kf, SharedBoxPlacementOptions as Kg, SessionMessageLike as Kh, createScope as Ki, McpToolDescriptor as Kl, HarnessTranscriptFile as Km, EscalateQuestion as Kn, profileRichnessFinding as Ko, supervisorAgentWithTestBrain as Kp, analystsFromRegistry as Kr, createSandboxLineage as Ks, TokenUsageProvenance as Kt, FanoutWinnerSelector as Ku, DriveTurnCapableBox as Kv, Iteration as Kw, addHarnessUsage as Kx, KnowledgeItem as Ky, Budget as L, runLocalHarness as LC, LoopSpanNode as LS, RetainedInteractiveIntentAdmission as LT, ProviderPromptOptions as L_, pickBestGraph as La, readRunCancelRequest as Lb, definePersona as Lc, LeaderboardIterationInfo as Ld, verifyObserverRecords as Lf, resolveMcpServerLaunch as Lg, cliInPlaceExecutor as Lh, SearchSpec as Li, inlineSandboxClient as Ll, BusEvent as Lm, CoordinationEvent as Ln, chatTransportExecutor as Lo, SupervisorAgentTestDeps as Lp, SurfaceDiff as Lr, OpenSandboxRunPromptOptions as Ls, Spend as Lt, CorpusFilter as Lu, DelegationExecutor as Lv, ReservationTicket as Lw, sentinelCompletion as Lx, UiAuditLensFilter as Ly, TraceRootArtifact as M, LocalHarnessResult as MC, renderAnytimeTable as MS, RecoverRetainedRunIntentOptions as MT, ForkRequest as M_, graphRegistry as Ma, WriteWorkerSteerOptions as Mb, equalKOnCost as Mc, DefinedLeaderboard as Md, FileObserverJournal as Mf, BridgeSeam as Mg, ExecutorConfig as Mh, FencedSqlRunContext as Mi, SandboxEvidenceRetentionError as Ml, CoordinationDeliveryEvidence as Mm, AuthorizedDownMessage as Mn, ChatCompletionsTransport as Mo, ObserveSupervisorNodeEvent as Mp, makeFinding$1 as Mr, strategyAuthorContract as Ms, SpawnEvent as Mt, observe as Mu, SettleDetachedCoderTurnOptions as Mv, ReservationFloor as Mw, CompletionEvidence as Mx, DelegationStatusArgs as My, TraceSummary as N, RunLocalHarnessOptions as NC, WaterfallCollector as NS, RecoverRetainedRunOptions as NT, PlacementInfo as N_, graphRunsFor as Na, cancelRun as Nb, trajectoryReport as Nc, LeaderboardBenchScore as Nd, ObserverJournal as Nf, KeyProvider as Ng, ProviderSeam as Nh, SqlRunContextOptions as Ni, SandboxEvidenceRetentionPort as Nl, CoordinationLog as Nm, AwaitWakeInput as Nn, ChatSessionStore as No, ResolveDriveHarness as Np, VerifierEnvironmentOptions as Nr, strategyAuthorSystemPrompt as Ns, SpawnJournal as Nt, renderReport as Nu, UiAuditorDelegate as Nv, ReservationHolder as Nw, CompletionPolicy as Nx, DelegationStatusResult as Ny, settlementFailureCause as O, CodexTokenUsage as OC, anytimeReport as OS, NativeContextContinuationExecution as OT, CheckpointRequest as O_, StoredGraph as Oa, WorkerCancelRequest as Ob, PrivateCasDurableStore as Oc, RunPersonifiedOptions as Od, PursuitRunProjection as Of, peerMailTools as Og, CliInPlaceSeam as Oh, workerTraceAnalysisStore as Oi, isTerminalDecision as Ol, serveCoordinationMcp as Om, AnalyzeOnSettleRoute as On, delegate as Oo, CoordinationToolFace as Op, CreateSandboxOptions$1 as Or, AuthorStrategyOptions as Os, RootStreamReceipt as Ot, ObservationError as Ou, CoderReviewer as Ov, BudgetPoolRestore as Ow, failedItems as Ox, DelegationProfile as Oy, Agent as P, harnessSupportsReasoningEffort as PC, WaterfallReport as PS, RecoverRetainedRunResult as PT, ProviderAsSandboxClientOptions as P_, listGraphRuns as Pa, cancelWorker as Pb, builtinShapes as Pc, LeaderboardBenchTask as Pd, ObserverRecord as Pf, ResolvedMcpServerLaunch as Pg, RouterSeam as Ph, createFencedSqlRunContext as Pi, captureBeforeDestroy as Pl, CoordinationOwnerId as Pm, BlockedToolReport as Pn, ChatTransportExecutorOptions as Po, ResolveSupervisorTools as Pp, createVerifierEnvironment as Pr, Deliverable as Ps, SpawnOpts as Pt, AssertTraceDerivedFindings as Pu, coderTaskFromArgs as Pv, ReservationRejection as Pw, CompletionVerdict as Px, FeedbackRating as Py, ExecutorRegistry as Q, SpawnForestInDoubtNode as QC, padTraceId as QS, RetainedRunTurnInput as QT, ProviderWorkspaceCaptureReceipt as Q_, DesignerToolsEnv as Qa, workerControlLogFile as Qb, assertTraceDerivedFindings as Qc, IsolatedCheckBox as Qd, WorkerSpawnRetryHooks as Qf, sharedWorkerClientName as Qg, sandboxSessionTraceSource as Qh, connectRemoteSupervisor as Qi, AgenticRunResult as Ql, persistHarnessTranscript as Qm, PeerAuditAccess as Qn, CheckSource as Qo, ProgressSample as Qp, WorkerInteractiveBinding as Qr, reconnectRetainedRun as Qs, WidenGate as Qt, PanelJudge as Qu, parseDetachedSessionRef as Qv, LoopLineageOptions as Qw, CodeModeOptions as Qx, ResearcherProfileOptions as Qy, BudgetOverspend as R, SqlRunLease as RC, OtelAttribute as RS, RetainedInteractiveStartedAdmission as RT, ResourceRequest as R_, recordGraphRun as Ra, readRunCancellation as Rb, runPersonified as Rc, LeaderboardRunContext as Rd, AuthorizedSpawn as Rf, resolveSecretEnv as Rg, cliWorktreeExecutor as Rh, SearchSpecInputs as Ri, InProcessOnPrompt as Rl, BusRecord as Rm, CoordinationStats as Rn, chatWorkerSeam as Ro, SupervisorNodeContext as Rp, SurfaceReadBox as Rr, SandboxRun as Rs, SpendChannel as Rt, CorpusRecord as Ru, FleetHandle as Rv, ReservationWaitRefused as Rw, stopSentinel as Rx, UiAuditorDelegationOutput as Ry, RuntimeStreamEvent as S, WorktreeHandle as SC, renderLeaderboardMarkdown as SS, RuntimeRunRow as ST, AgentProfileRef as S_, WorkerInteractiveAdmission as Sa, InMemoryDelegationStore as Sb, AgentTurnUsage as Sc, LoopShape as Sd, PursuitNodePlacement as Sf, PeerMailSendInput as Sg, DelegateArgs as Sh, TrajectoryAnalysis as Si, loopDispatch as Sl, runFinalizer as Sm, AnalystFindingEvent as Sn, formatPromptHandle as So, WorkerTraceSeamCarrier as Sp, downMessageRefusalReasons as Sr, StrategyEvolutionConfig as Ss, RootHandle as St, HarvestError as Su, FeedbackEvent as Sv, DEADLINE_CHECK_IN_MESSAGE as Sw, VerdictSummary as Sx, DelegateUiAuditRoute as Sy, RuntimeFailureContext as T, removeWorktree as TC, AnytimeReport as TS, WorkerEventCursor as TT, AgentSessionStatus$1 as T_, GraphRegistryDir as Ta, coderTaskToPrompt as Tb, collectAgentTurn as Tc, PersonaContext as Td, PursuitNodeTiming as Tf, claimsAuthority as Tg, DelegateResult as Th, WorkerToolTraceArtifact as Ti, TERMINAL_DECISIONS as Tl, CoordinationPublicAddress as Tm, AnalystRegistry$1 as Tn, promptHandle as To, workerTraceHeaders as Tp, questionEscalationTargets as Tr, TournamentRow as Ts, RootSegment as Tt, harvestCorpus as Tu, eventToSnapshot as Tv, WorkerSlots as Tw, checkVerdictOf as Tx, DelegationHistoryArgs as Ty, ExecutorAccounting as U, D1StmtLike as UC, RuntimeEventOtelOptions as US, RetainedRunDispatchedAdmission as UT, resolveAgentEnvironmentProvider as U_, DispatchUnit as Ua, runCancelRequestFile as Ub, flatWidenGate as Uc, DeclaredCheck as Ud, SuperviseRegistry as Uf, SharedBoxCloseReceipt as Ug, SteerableSandboxArgs as Uh, searchSpecDigest as Ui, LocalMcpMaterialization as Ul, HarnessTranscriptArtifact as Um, DownMessageDeliveryAttempt as Un, asAuthoredProfile as Uo, assertCoordinationBinding as Up, fsSurfaceReader as Ur, SandboxLineage as Us, SupervisedResult as Ut, Fanout as Uu, DetachedSessionRefParts as Uv, DefaultVerdict$1 as Uw, CodexRolloutStoreRef as Ux, UiFindingScreenshot as Uy, ExecutionBindingReceipt as V, openSqlRunStore as VC, OtelExporter as VS, RetainedRunCancelOptions as VT, providerAsExecutor as V_, DispatchReport as Va, readWorkerSteerAcknowledgement as Vb, renderCorpusToInstructions as Vc, LeaderboardSpec as Vd, DeliverableResolutionInput as Vf, DEFAULT_SHARED_BOX_WORKERS as Vg, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Vh, compileSearchSpec as Vi, inProcessSandboxClient as Vl, PublishOptions as Vm, DefinedAnalystRecord as Vn, ProfileRichness as Vo, SupervisorToolDescriptor as Vp, WatchedSurface as Vr, openSandboxRun as Vs, SubtreeResult as Vt, EqualKOnCostOptions as Vu, createFleetWorkspaceExecutor as Vv, spendFromUsageEvents as Vw, CodexRolloutSession as Vx, UI_LENSES as Vy, ExecutorCancellation as W, SqlAdapter as WC, buildLoopOtelSpans as WS, RetainedRunEffect as WT, CreateTangleSandboxExactProcessProviderOptions as W_, RollingDispatchOptions as Wa, runCancellationFile as Wb, loopUntil as Wc, DeclaredCheckPlacement as Wd, SuperviseRegistryTable as Wf, SharedBoxHandle as Wg, SteerableSandboxSession as Wh, SUBTREE_RESULT_LIMIT as Wi, MaterializeLocalMcpOptions as Wl, HarnessTranscriptCapture as Wm, DownMessageDeliveryOutcome as Wn, assessAuthoredProfile as Wo, resolveSupervisorProfile as Wp, harvestSurfaceDiffs as Wr, SandboxLineageHandle as Ws, Supervisor as Wt, FanoutOptions as Wu, DetachedTurn as Wv, Driver as Ww, CodexRolloutTurn as Wx, UiFindingSeverity as Wy, ExecutorNodeContext as X, SpawnForest as XC, loopEventToOtelSpan as XS, RetainedRunSnapshot as XT, ProviderWorkspaceAttemptProvenance as X_, watchTrace as Xa, workerCancellationFile as Xb, CreateScopeAnalystOptions as Xc, declaredCheckJudge as Xd, ResolvedWorkerSpawnRetry as Xf, sharedBoxPlacement as Xg, createPushTraceSource as Xh, RemoteSupervisorTree as Xi, materializeLocalMcp as Xl, captureHarnessTranscript as Xm, ManagerReentryState as Xn, CheckRunContext as Xo, NoProgressForOptions as Xp, worktreeFanout as Xr, S3PrivateCasStoreOptions as Xs, UnknownMaterializationReason as Xt, LoopUntilState as Xu, detachedTurnEvents as Xv, LoopIterationEndedPayload as Xw, HarnessUsage as Xx, ResearchSource as Xy, ExecutorMaterialization as Y, InMemorySpawnJournal as YC, generateSpanId as YS, RetainedRunReplayPoint as YT, ProviderNativeCapturePhase as Y_, defaultToolDetectors as Ya, workerCancelRequestsFile as Yb, widen as Yc, declaredCheckDigest as Yd, workerFromBackend as Yf, SharedWorkerIdentity as Yg, TraceSource as Yh, RemoteSupervisorReader as Yi, connectStdioMcp as Yl, ReadableEnvironment as Ym, MakeWorkerAgent as Yn, CheckOutcome as Yo, AllWorkersStalledOptions as Yp, WorktreeFanoutOptions as Yr, S3PrivateCasStore as Ys, UnconfirmedTeardown as Yt, LoopUntilSpec as Yu, createDetachedTurnResumeDriver as Yv, LoopIterationDispatchPayload as Yw, readCodexRolloutSession as Yx, ResearchOutput as Yy, ExecutorProgressEvent as Z, SpawnForestEvent as ZC, padSpanId as ZS, RetainedRunStartMaterial as ZT, ProviderWorkspaceCaptureProvenance as Z_, DesignerRunGraphEnv as Za, workerCancellationsDir as Zb, RegistryAnalyzeProjection as Zc, readDeclaredCheck as Zd, WorkerSpawnRetryAttempt as Zf, sharedBoxRefusal as Zg, decodeToolPart as Zh, RemoteWorkerEvents as Zi, AgenticOptions as Zl, harnessTranscriptArtifact as Zm, ManagerWake as Zn, CheckRunner as Zo, PlateauOptions as Zp, AttachWorkerOptions as Zr, createS3PrivateCasStore as Zs, UsageEvent as Zt, Panel as Zu, formatDetachedSessionRef as Zv, LoopIterationStartedPayload as Zw, decodeHarnessUsage as Zx, ResearchTask as Zy, RunAgentTaskOptions as _, CreateWorktreeOptions as _C, ProfileKeyOf as _S, RuntimeRunCompleteInput as _T, AgentEnvironmentProviderRef as __, InteractiveWorkerEnvironment as _a, DelegationPersistenceError as _b, profileOptimizerModelCall as _c, WidenLineage as _d, PursuitFork as _f, PeerMailEvent as _g, createInProcessTransport as _h, WorkspaceRun as _i, LoopDispatchOptions as _l, FinalizerSettled as _m, summarizeDriverAttempts as _n, analyzesFindingsReportPrompt as _o, SupervisorSpanOptions as _p, WorkerSpawnContext as _r, structuralRollout as _s, ResourceSpend as _t, refine as _u, JsonRpcMessage as _v, RetainedInteractiveBindingError as _w, ContinuationPanelInput as _x, DelegateResearchConfig as _y, AgentKnowledgeProvider as a, SanitizedKnowledgeReadinessReport as aC, RunCodeModeOptions as aS, LoopTokenUsage as aT, createSandboxToolPartState as a_, ProfileRunRecord as aa, readTraceContextFromEnv as ab, recoverRetainedInteractiveRun as ac, ScopeAnalyst as ad, NextPursuitVersionInput as af, WorkerProgress as ag, retainHarnessTranscript as ah, WorkerEvidenceInput as ai, createMcpEnvironment as al, allWorkersStalled as am, DriverAttemptStop as an, GraphEdgeCapError as ao, SeatSelection as ap, QuestionOption as ar, VisibleCheck as as, MaterializedExecutionIdentity as at, ShotSpec as au, ExecutorResultMapping as av, contentAddress as aw, workerSteersDir as ax, DelegationRunContext as ay, RuntimeSession as b, GitRunner as bC, pairwiseSignificance as bS, RuntimeRunOptions as bT, AgentEnvironmentStatus as b_, InteractiveWorkerResult as ba, FileDelegationStore as bb, AgentTurnBackend as bc, DefinePersona as bd, PursuitCostProvenance as bf, PeerMailReadout as bg, DELEGATE_INPUT_SCHEMA as bh, localShell as bi, SuperviseOptionsForDispatch as bl, collectDelivered as bm, AnalystAssignmentRecord as bn, dumbContinuationFailPrompt as bo, createSupervisorSpanRecorder as bp, canonicalFindingEvent as br, EvolutionReport as bs, ResumedWork as bt, sampleThenRefine as bu, McpToolDescriptor$1 as bv, RuntimeRunStateError as bw, ContinuationProfile as bx, DelegateUiAuditConfig as by, AgentTaskContext as c, createRuntimeStreamEventCollector as cC, runCodeMode as cS, LoopWinner as cT, mapSandboxEvent as c_, pickBestProfile as ca, DELEGATION_TRACE_MAX_BYTES as cb, RecoverRetainedInteractiveRunOptions as cc, SteerContext as cd, PursuitVersions as cf, AuthorityInboxMessage as cg, SPAWN_RESOURCE_PATH_MAX_BYTES as ch, settledWorkerOut as ci, BenchmarkConfig as cl, noProgressFor as cm, DriverContinuationRecord as cn, RunGraphOptions as co, SelectSeat as cp, QuestionUrgency as cr, composeCheckSources as cs, NodeExecutionIdentity as ct, StrategyCtx as cu, RouterResponseReceipt as cv, resolveRedactor as cw, CONTINUATION_FACTS as cx, SubmitInput as cy, AgentTaskStatus as d, sanitizeRuntimeStreamEvent as dC, Interval as dS, OutputAdapter as dT, sandboxProgressEvents as d_, recordProfileRun as da, DelegationTraceCollector as db, RetainedInteractiveRunHandle as dc, TrajectoryReportFn as dd, VersionVerdict as df, PeerInboxMessage as dg, SpawnResourceReader as dh, copyUntrackedIntoClone as di, BenchmarkStrategySummary as dl, ReentryContinuity as dm, DriverLoopRecord as dn, defaultEdgeTraversalCap as do, RunContext as dp, SpawnPreflightContext as dr, filterAuthoredAsserts as ds, NodeStatus as dt, StrategyShotResult as du, ToolLoopCallContext as dv, BackendTransportError as dw, CheckVerdict as dx, DelegateCodeArgs as dy, RuntimeEventCollector as eC, StartRetainedRunOptions as eE, CodeModeStore as eS, LoopPlanPayload as eT, SandboxOutputMarker as e_, ProvisionSupervisorRequest as ea, multiHarnessResearcherFanout as eb, startRetainedRun as ec, PanelVerdict as ed, IsolatedCheckOptions as ef, ActivityNote as eg, HarnessTranscriptReadLimits as eh, attachWorker as ei, createScopeAnalyst as el, ProgressTrackerOptions as em, WorkerInteractiveUnavailableReason as en, graphDesignerExtraTools as eo, isPreSpawnExecutorFailure as ep, QuestionDecision as er, RepairStop as es, ExecutorTeardownWarning as et, AgenticTask as eu, ProviderWorkspaceEntryMetadata as ev, SpawnForestNode as ew, workerInboxFileFromEventDir as ex, DelegationArgs as ey, BackendErrorDetail as f, InPlaceHarnessResult as fC, Leaderboard as fS, RunProvenance as fT, sumSandboxUsage as f_, PatchDeliverableOptions as fa, DelegationTraceSpan as fb, RetainedInteractiveStartMaterial as fc, TrajectoryReportOptions as fd, assertPursuitVersions as ff, createInbox as fg, environmentReader as fh, withUntrackedArtifacts as fi, BenchmarkTaskRow as fl, ReentryTaskInput as fm, DriverProgressMark as fn, runGraph as fo, RunContextLease as fp, SpawnRefusal as fr, modelAuthoredChecks as fs, ProfileMaterializationReceipt as ft, SurfaceScore as fu, ToolLoopChat as fv, ConfigError as fw, ContinuationAppend as fx, DelegateCodeConfig as fy, OpenAIChatToolChoice as g, WorktreeProfileMaterializationReceipt as gC, PairwiseVerdict as gS, Validator as gT, AgentEnvironmentProvider$1 as g_, createWorktreeCliExecutor as ga, createDelegationTraceCollector as gb, profileChatClient as gc, WidenDecision as gd, supervisePursuit as gf, PeerMailEnvelope as gg, McpServerOptions as gh, WorkspaceCommit as gi, LoopCampaignDispatchOptions as gl, FinalizeContext as gm, classifyDriverFailure as gn, RegisteredPrompt as go, SupervisorSpanAttributes as gp, WorkerResumeContext as gr, selectBestIndex as gs, ResourceLimit as gt, depthStrategy as gu, ToolLoopToolCall as gv, RetainedInteractiveAdmissionError as gw, ContinuationPanel as gx, DelegateResearchArgs as gy, OpenAIChatTool as h, WorktreeHarnessResult as hC, PairwiseOptions as hS, ValidationCtx as hT, AgentEnvironmentEvent$1 as h_, WorktreePatchArtifact as ha, composeLoopTraceEmitters as hb, resolveSandboxClient as hc, Widen as hd, SupervisedPursuitResult as hf, PEER_MAIL_WIRE_KEY as hg, McpServer as hh, Workspace as hi, runBenchmark as hl, DeliveredOutput as hm, DriverRetryPolicy as hn, PromptRegistry as ho, withRunContext as hp, ToolOutcomeEvent as hr, sandboxCheckRunner as hs, RecursiveReservationPolicy as ht, defineStrategy as hu, ToolLoopMessageRecord as hv, PlannerError as hw, ContinuationNoteInput as hx, DelegateFeedbackResult as hy, AgentExecutionBackend as i, RuntimeTelemetryOptions as iC, CodeModeToolset as iS, LoopTeardownFailedPayload as iT, assertSandboxServedModel as i_, ProfileRegistryDir as ia, mergeTraceEnv as ib, reconnectRetainedInteractiveRun as ic, RenderCorpusToInstructionsOptions as id, NextPursuitVersion as if, TeamProgress as ig, resolveHarnessTranscriptCapture as ih, VERIFY_TAIL_CHARS as ii, McpEnvironmentOptions as il, allOf as im, DriverAttemptRecord as in, GraphEdge as io, SeatSegment as ip, QuestionLevel as ir, StructuralRolloutResult as is, HeldEnvironment as it, RunAgenticOptions as iu, DeliverableSpec as iv, replaySpawnTree as iw, workerSteerRequestsDir as ix, DelegationResumeTick as iy, TRACE_SUMMARY_SCHEMA as j, LocalHarness as jC, plateauLength as jS, ReconnectRetainedRunOptions as jT, ExecResult as j_, graphFromStored as ja, WorkerSteerRequest as jb, createPrivateCasArtifactPort as jc, ShapeRegistry as jd, projectPursuit as jf, BridgeModelCredential as jg, CliWorktreeSeam as jh, createSupervisor as ji, SandboxEvidenceReceipt as jl, CoordinationRejectReason as jm, AuthorizeDownMessage as jn, finalizeBestDelivered as jo, DriveHarnessOwnerContext as jp, computeFindingId$1 as jr, authorStrategy as js, Settled as jt, defaultAnalystInstruction as ju, DetachedWinnerSelection as jv, LeakedReservation as jw, CompletionAnalyst as jx, DelegationStatus as jy, RetainedPendingCause as k, DEFAULT_LOCAL_HARNESS as kC, areaUnderCurve as kS, NativeContextContinuationHandle as kT, CreateAgentEnvironmentInput$1 as k_, digestOfGraph as ka, WorkerCancellation as kb, PrivateCasOffloadReport as kc, ShapeBudget as kd, PursuitRunTotals as kf, peerMailVerbNames as kg, CliSeam as kh, DEFAULT_MAX_DEPTH as ki, runAgentRounds as kl, CoordinationHttpAudit as km, AuthoredAnalystDefinition as kn, DriverAgentOptions as ko, CoordinationVerbs as kp, SandboxEvent$1 as kr, AuthoredStrategy as ks, Runtime as kt, ObserveInput as ku, DelegateRunCtx as kv, BudgetReadout as kw, passedItems as kx, DelegationProgress as ky, AgentTaskRunResult as l, sanitizeAgentRuntimeEvent as lC, AxisScoresOf as lS, MountManifestEntry as lT, mapSandboxToolEvent as l_, profileRegistry as la, DELEGATION_TRACE_MAX_SPANS as lb, RetainedInteractiveAdmissionHook as lc, TrajectoryNode as ld, SettledPursuitVersion as lf, Inbox as lg, SpawnResourceBytes as lh, CopyOptions as li, BenchmarkLift as ll, plateau as lm, DriverContractState as ln, RunGraphTestOptions as lo, InMemoryRunContext as lp, SettledWorker as lr, defaultExtractCandidate as ls, NodeId as lt, StrategyMessage as lu, RouterTransportConfig as lv, AgentEvalError$1 as lw, CheckRead as lx, SubmitOutput as ly, OpenAIChatResponseFormat as m, WorktreeCommandResult as mC, LeaderboardRow as mS, SelectionReceipt as mT, AgentEnvironmentCapabilities$1 as m_, WorktreeCliExecutorOptions as ma, capDelegationTrace as mb, ResolveSandboxClientOptions as mc, VerifySpec as md, SupervisePursuitOptions as mf, DEFAULT_PEER_MAIL_LIMITS as mg, resolveSpawnResourcePaths as mh, Shell as mi, printBenchmarkReport as ml, composeReentryTask as mm, DriverRepromptRefusal as mn, PromptHandle as mo, createInMemoryRunContext as mp, SuperviseProfileEntry as mr, resolveEntrySymbol as ms, ProviderModelExecutionEvidence as mt, breadthStrategy as mu, ToolLoopCompactionOptions as mv, NotFoundError as mw, ContinuationEntry as mx, DelegateFeedbackArgs as my, AgentBackendContext as n, RuntimeStreamEventSink as nC, CodeModeToolContext as nS, LoopSandboxPlacement as nT, SandboxToolPartState as n_, SupervisorCleanupReceipt as na, TraceContext as nb, ClaimRetainedInteractiveControlOptions as nc, PipelineStage as nd, runIsolatedCheck as nf, ExecutorProgress as ng, RetainedHarnessTranscriptCapture as nh, EVIDENCE_MAX_CHARS as ni, observationFromRegistry as nl, StopDecision as nm, WorkerTraceUnavailableReason as nn, EdgeDeliveryOutcome as no, retryPreSpawnRefusals as np, QuestionEscalationRecord as nr, StructuralRolloutMessage as ns, FleetYield as nt, ArtifactHandle as nu, ProviderWorkspaceRetentionPort as nv, loadSpawnForest as nw, workerSteerAcknowledgementsDir as nx, DelegationResumeContext as ny, AgentRuntimeEvent as o, SanitizedKnowledgeRequirement as oC, createCodeModeTools as oS, LoopTraceEmitter as oT, createSandboxUsageLedger as o_, bestProfileFor as oa, traceContextToEnv as ob, startRetainedInteractiveRun as oc, ScopeAnalyzeInput as od, PursuitVersionChain as of, createActivityLog as og, ResolveSpawnResourcePathsResult as oh, closingWorkerNote as oi, sanitizeMcpToolSchema as ol, anyOf as om, DriverAttemptsExhaustedError as on, GraphNode as oo, SeatSelectionInput as op, QuestionPolicy as or, canDisplace as os, MaterializedModelIdentity as ot, Strategy as ou, gateOnDeliverable as ov, Redactor as ow, writeWorkerSteer as ox, DelegationTaskQueue as oy, KnowledgeReadinessDecision as p, WorktreeCheckRunner as pC, LeaderboardOptions as pS, SandboxClient as pT, AgentEnvironment$1 as p_, patchDelivered as pa, buildDelegationTraceSpans as pb, StartRetainedInteractiveRunOptions as pc, Verify as pd, SupervisePursuitError as pf, AUTHORITY_MARKERS as pg, hostDirectoryReader as ph, GitWorkspaceOptions as pi, Environment as pl, UNPROVEN_CONTINUITY as pm, DriverReentry as pn, runGraphWithTestBrain as po, createFileRunContext as pp, SpawnRefusalCause as pr, officialChecksFromMeta as ps, ProviderModelAttemptEvidence as pt, adaptiveRefine as pu, ToolLoopCompaction as pv, JudgeError as pw, ContinuationContext as px, DelegateCodeResult as py, ExecutorExecutionBinding as q, FileSpawnJournal as qC, createOpenInferenceFileExporter as qS, RetainedRunHandle as qT, UnavailablePausePolicy as q_, rollingDispatch as qa, supervisorRunsRoot as qb, selectValidWinner as qc, checkProgramDigest as qd, superviseFleetCapabilities as qf, SharedBoxProcess as qg, SessionTraceBox as qh, settledToIteration as qi, StdioMcpConnection as ql, HarnessTranscriptUnavailable as qm, EventAcknowledgement as qn, supervisorInstructions as qo, DEFAULT_DEADLINE_WARNING_MS as qp, failuresAnalyst as qr, AcquireOptions as qs, TraceRootReceipt as qt, FlatWidenGate as qu, DriveTurnTick as qv, LoopDecisionPayload as qw, createCodexRolloutStoreReader as qx, KnowledgeUpdate as qy, AgentBackendInput as r, RuntimeStreamEventSummary as rC, CodeModeToolsOptions as rS, LoopStartedPayload as rT, SandboxUsageLedger as r_, provisionSupervisor as ra, createPropagatingTraceEmitter as rb, claimRetainedInteractiveControl as rc, RenderCorpusToInstructions as rd, JudgedPursuitVersion as rf, ScopeProgressInput as rg, RetainedHarnessTranscriptDescriptor as rh, NOTE_MAX_CHARS as ri, McpEndpoint as rl, StopRule as rm, WorkspaceCheckpointMarker as rn, EdgeTraversal as ro, withWorkerSpawnRetry as rp, QuestionEscalationTarget as rr, StructuralRolloutPolicy as rs, Handle as rt, CorpusReadbackOptions as ru, ProviderPlacement as rv, materializeTreeView as rw, workerSteerRequestFile as rx, DelegationResumeDriver as ry, AgentRuntimeEventSink as s, createRuntimeEventCollector as sC, describeCodeModeTools as sS, LoopTraceEvent as sT, extractLlmCallEvent as s_, loadProfile as sa, CappedDelegationTrace as sb, ReconnectRetainedInteractiveRunOptions as sc, ScopeWidenGate as sd, PursuitVersionStop as sf, readWorkerProgress as sg, ResolvedSpawnResourcePath as sh, composeWorkerEvidence as si, BenchmarkCell as sl, createProgressTracker as sm, DriverBudgetReadout as sn, GraphResult as so, SeatStage as sp, QuestionRecord as sr, compareCheckOutcomes as ss, NoWinnerError as st, StrategyArtifacts as su, mapExecutorResult as sv, defaultRedactor as sw, AdmittedFinding as sx, DelegationTaskQueueOptions as sy, AgentAdapter as t, RuntimeStreamEventCollector as tC, CodeModeTool as tS, LoopResult as tT, SandboxServedBackend as t_, ProvisionedSupervisor as ta, researcherProfile as tb, startRetainedRunInEnvironment as tc, Pipeline as td, IsolatedCheckResult as tf, DEFAULT_STALL_AFTER_MS as tg, HarnessTranscriptReadOptions as th, readWorkerInteractiveBinding as ti, registryScopeAnalyst as tl, ProgressView as tm, WorkerTraceEvidence as tn, AgentGraph as to, resolveWorkerSpawnRetry as tp, QuestionEscalationOutcome as tr, StructuralRolloutConfig as ts, ExecutorToolCall as tt, AgenticTool as tu, ProviderWorkspaceRetentionContext as tv, SpawnForestTree as tw, workerSteerAcknowledgementFile as tx, DelegationRecord as ty, AgentTaskSpec as u, sanitizeKnowledgeReadinessReport as uC, GroupOf as uS, MountRecorder as uT, sandboxEventServedBackend as u_, profileRunsForName as ua, DelegationTraceCaps as ub, RetainedInteractiveEnvironmentInput as uc, TrajectoryReport as ud, VersionJudge as uf, InboxMessage as ug, SpawnResourceRead as uh, UntrackedCopyStats as ui, BenchmarkReport as ul, sampleFromSettled as um, DriverFailureClass as un, TraversalContinuity as uo, InMemoryRunContextOptions as up, SpawnPreflight as ur, defaultStructuralRolloutPolicy as us, NodeSnapshot as ut, StrategyResult as uu, ToolSpec as uv, AgentEvalErrorCode as uw, CheckUnavailableError as ux, hashIdempotencyInput as uy, RunAgentTaskStreamOptions as v, DiffOptions as vC, ScoreOf as vS, RuntimeRunCost as vT, AgentEnvironmentProviderRegistry as v_, InteractiveWorkerKeyInput as va, DelegationStateCorruptError as vb, assertModelAllowed as vc, WidenSpec as vd, RUN_FORK_CORRELATION_KEYS as vf, PeerMailLimits as vg, createMcpServer as vh, gitWorkspace as vi, LoopOptionsForDispatch as vl, SupervisorFinalizer as vm, upstreamUnavailableSignal as vn, createPromptRegistry as vo, SupervisorSpanOutcome as vp, WorkerWatchOptions as vr, visibleCheckScore as vs, ResultBlobStore as vt, runAgentic as vu, JsonRpcResponse as vv, RetainedRunAdmissionError as vw, ContinuationPanelResult as vx, DelegateResearchResult as vy, RuntimeFailureCode as w, createWorktree as wC, renderPairwiseMarkdown as wS, startRuntimeRun as wT, AgentSessionRef as w_, createInPlaceCliExecutor as wa, CoderTask as wb, StreamAgentTurnOptions as wc, Persona as wd, PursuitNodeProjection as wf, PeerMailboxOptions as wg, DelegateHandlerOptions as wh, WORKER_TOOL_TRACE_SCHEMA_VERSION as wi, RunAgentRoundsOptions as wl, CoordinationMcpHandle as wm, AnalystLensOutput as wn, naiveContinuationPrompt as wo, workerTraceEnv as wp, parseAuthoredAnalystDefinition as wr, TournamentCell as ws, RootProviderModelEvidence as wt, HarvestReport as wu, InMemoryFeedbackStore as wv, DeadlineCheckIn as ww, admitFinding as wx, DelegationFeedbackSnapshot as wy, RuntimeSessionStore as x, RemoveWorktreeOptions as xC, renderLeaderboardHtml as xS, RuntimeRunPersistenceAdapter as xT, AgentEnvironmentSummary as x_, workerFromInteractiveProvider as xa, FileDelegationStoreOptions as xb, AgentTurnInput$1 as xc, DefinePersonaInput as xd, PursuitNodeCost as xf, PeerMailRefusal as xg, DELEGATE_TOOL_NAME as xh, runInWorkspace as xi, loopCampaignDispatch as xl, pickBestDelivered as xm, AnalystDefinitionIssue as xn, dumbContinuationPassPrompt as xo, WorkerTraceResolver as xp, createCoordinationTools as xr, EvolutionStrategy as xs, RetainedExecutionState as xt, HarvestCorpusOptions as xu, McpTransport as xv, ValidationError as xw, PanelFinding as xx, DelegateUiAuditResult as xy, RuntimeCanonicalStreamEvent as y, DiffResult as yC, leaderboard as yS, RuntimeRunHandle as yT, AgentEnvironmentQuery as y_, InteractiveWorkerOptions as ya, DelegationStore as yb, assertProfileModelsAllowed as yc, WinnerStrategy as yd, PursuitObserverDelivery as yf, PeerMailOutcome as yg, DELEGATE_DESCRIPTION as yh, jjWorkspace as yi, SuperviseDispatchOptions as yl, bestDelivered as ym, ANALYST_DEFINITION_BOUNDS as yn, delegatesWorkerBriefPrompt as yo, SupervisorSpanRecorder as yp, analystToolGroupNames as yr, EvolutionAuthor as ys, ResumedKeyState as yt, sample as yu, McpToolAnnotations as yv, RetainedRunDispatchBindingError as yw, ContinuationPolicy as yx, DelegateUiAuditArgs as yy, BudgetViolation as z, SqlRunOwnershipError as zC, OtelExportConfig as zS, RetainedRunAdmission as zT, WorkspaceRequest as z_, storedGraphDigests as za, readWorkerCancelRequests as zb, FileCorpus as zc, LeaderboardScenario as zd, AuthorizedSpawnContext as zf, secretEnvOfMcpServer as zg, createExecutor as zh, SearchSpecOwnedOption as zi, InProcessPromptCtx as zl, BusStats as zm, CoordinationTools as zn, createChatSessionStore as zo, SupervisorNodeContextSeed as zp, SurfaceReadOutcome as zr, SandboxRunAbortError as zs, SpendGap as zt, EqualKArm as zu, FleetWorkspaceExecutorOptions as zv, ReserveOptions as zw, CodexForkBoundary as zx, delegationProfiles as zy };
|
|
20163
|
-
//# sourceMappingURL=types-
|
|
20231
|
+
export { ExecutorResult as $, InMemorySpawnJournal as $C, generateSpanId as $S, RetainedRunReplayPoint as $T, ProviderNativeCapturePhase as $_, DesignerRunGraphEnv as $a, workerCancelRequestsFile as $b, loopDispatch as $c, PursuitCostProvenance as $d, SeatStage as $f, SharedWorkerIdentity as $g, TraceSource as $h, RemoteWorkerEvents as $i, HarvestError as $l, ReadableEnvironment as $m, ManagerWake as $n, StrategyEvolutionConfig as $o, AllWorkersStalledOptions as $p, AttachWorkerOptions as $r, AgentTurnUsage as $s, WorkerInteractiveSession as $t, LoopShape as $u, createDetachedTurnResumeDriver as $v, LoopIterationDispatchPayload as $w, readCodexRolloutSession as $x, ResearchOutput as $y, TRACE_ROOT_SCHEMA as A, CodexExecutionEvidence as AC, AnytimeStrategySummary as AS, WorkerEventEntry as AT, AgentTurnResult$2 as A_, StoredGraph as Aa, RunCancelRequest as Ab, buildSteerContext as Ac, IsolatedCheckBoxEvidence as Ad, AuthorizedSpawn as Af, createPeerMailbox as Ag, createDelegateHandler as Ah, workerTraceAnalysisStore as Ai, AgenticSurface as Al, CoordinationReadAccess as Am, AuthoredAnalystLimits as An, CheckSourceCtx as Ao, promptHandle as Ap, CreateSandboxOptions$1 as Ar, recoverRetainedRun as As, Scope as At, PanelSpec as Au, CoderDelegate as Av, createWorkerSlots as Aw, distillFindings as Ax, DelegationHistoryEntry as Ay, EnvironmentTeardownReceipt as B, parseCodexTokenUsage as BC, createWaterfallCollector as BS, RetainedInteractiveEnvironmentAdmission as BT, ProviderLeafOut as B_, recordGraphRun as Ba, legacySupervisorRunsRoot as Bb, BenchmarkLift as Bc, SettledPursuitVersion as Bd, superviseWithTestBrain as Bf, mcpSecretEnvMetadataKey as Bg, SandboxSeam as Bh, SearchSpecInputs as Bi, StrategyMessage as Bl, PriorCoordination as Bm, CoordinationToolsOptions as Bn, defaultExtractCandidate as Bo, SupervisorAgentDeps as Bp, SurfaceReadBox as Br, RetainedInteractiveAdmissionHook as Bs, SteerableRootHandle as Bt, TrajectoryNode as Bu, settleDetachedCoderTurn as Bv, ReservationStage as Bw, deterministicCompletion as Bx, ResearchOutputShape as By, RuntimeFailureCause as C, DiffResult as CC, leaderboard as CS, RuntimeRunHandle as CT, AgentEnvironmentQuery as C_, workerFromInteractiveProvider as Ca, DelegationStore as Cb, pipeline as Cc, assertDeclaredCheck as Cd, GraphResult as Cf, PeerMailOutcome as Cg, DELEGATE_DESCRIPTION as Ch, runInWorkspace as Ci, McpToolDescriptor as Cl, bestDelivered as Cm, AnalystKind as Cn, profileRichnessFinding as Co, createPromptRegistry as Cp, createCoordinationTools as Cr, createSandboxLineage as Cs, RootMaterialization as Ct, FanoutWinnerSelector as Cu, McpToolAnnotations as Cv, RetainedRunDispatchBindingError as Cw, ContinuationPolicy as Cx, DelegateUiAuditArgs as Cy, runtimeFailureCause as D, captureWorktreeDiff as DC, renderLeaderboardSvg as DS, RuntimeRunStatus as DT, AgentSession as D_, GraphRegistryDir as Da, CoderOutput as Db, CreateScopeAnalystOptions as Dc, declaredCheckJudge as Dd, runGraph as Df, PeerMailbox as Dg, DelegateError as Dh, WorkerToolTraceArtifact as Di, materializeLocalMcp as Dl, CoordinationAuthentication as Dm, AnalystToolGroupName as Dn, CheckRunContext as Do, formatPromptHandle as Dp, questionEscalationTargets as Dr, S3PrivateCasStoreOptions as Ds, RootSignal as Dt, LoopUntilState as Du, FeedbackStore as Dv, DEFAULT_CHECK_IN_IDLE_MS as Dw, admitContinuationPolicy as Dx, DelegationError as Dy, RuntimeFailureOwner as E, WorktreeHandle as EC, renderLeaderboardMarkdown as ES, RuntimeRunRow as ET, AgentProfileRef as E_, createInPlaceCliExecutor as Ea, InMemoryDelegationStore as Eb, widen as Ec, declaredCheckDigest as Ed, TraversalContinuity as Ef, PeerMailSendInput as Eg, DelegateArgs as Eh, WORKER_TOOL_TRACE_SCHEMA_VERSION as Ei, connectStdioMcp as El, runFinalizer as Em, AnalystRunContext as En, CheckOutcome as Eo, dumbContinuationPassPrompt as Ep, parseAuthoredAnalystDefinition as Er, S3PrivateCasStore as Es, RootSegmentEntry as Et, LoopUntilSpec as Eu, FeedbackEvent as Ev, DEADLINE_CHECK_IN_MESSAGE as Ew, VerdictSummary as Ex, DelegateUiAuditRoute as Ey, AgentExecutionRef as F, LocalHarness as FC, plateauLength as FS, ReconnectRetainedRunOptions as FT, ExecResult as F_, graphRunsFor as Fa, WorkerSteerRequest as Fb, McpEnvironmentOptions as Fc, NextPursuitVersion as Fd, SuperviseRegistry as Ff, BridgeModelCredential as Fg, CliWorktreeSeam as Fh, SqlRunContextOptions as Fi, RunAgenticOptions as Fl, CoordinationRejectReason as Fm, ContinuationInstruction as Fn, StructuralRolloutResult as Fo, DriveHarnessOwnerContext as Fp, VerifierEnvironmentOptions as Fr, reconnectRetainedInteractiveRun as Fs, SpawnPrior as Ft, RenderCorpusToInstructionsOptions as Fu, DetachedWinnerSelection as Fv, LeakedReservation as Fw, CompletionAnalyst as Fx, DelegationStatus as Fy, ExecutorCancellationRequest as G, openSqlRunStore as GC, OtelExporter as GS, RetainedRunCancelOptions as GT, providerAsExecutor as G_, DispatchUnit as Ga, readWorkerSteerAcknowledgement as Gb, printBenchmarkReport as Gc, SupervisePursuitError as Gd, WorkerSpawnRetryPolicy as Gf, DEFAULT_SHARED_BOX_WORKERS as Gg, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Gh, searchSpecDigest as Gi, breadthStrategy as Gl, PublishOptions as Gm, DownMessageEvent as Gn, resolveEntrySymbol as Go, SupervisorToolDescriptor as Gp, fsSurfaceReader as Gr, ResolveSandboxClientOptions as Gs, SupervisorOpts as Gt, VerifySpec as Gu, createFleetWorkspaceExecutor as Gv, spendFromUsageEvents as Gw, CodexRolloutSession as Gx, UI_LENSES as Gy, Executor as H, SqlRunLease as HC, OtelAttribute as HS, RetainedInteractiveStartedAdmission as HT, ResourceRequest as H_, taskShapeDigest as Ha, readRunCancellation as Hb, BenchmarkStrategySummary as Hc, VersionVerdict as Hd, ResolvedWorkerSpawnRetry as Hf, resolveSecretEnv as Hg, cliWorktreeExecutor as Hh, assertSearchSpec as Hi, StrategyShotResult as Hl, BusRecord as Hm, DownMessageAuthorizationInput as Hn, filterAuthoredAsserts as Ho, SupervisorNodeContext as Hp, SurfaceReader as Hr, RetainedInteractiveRunHandle as Hs, SubtreeSummary as Ht, TrajectoryReportFn as Hu, FleetHandle as Hv, ReservationWaitRefused as Hw, stopSentinel as Hx, UiAuditorDelegationOutput as Hy, AgentSpec as I, LocalHarnessResult as IC, renderAnytimeTable as IS, RecoverRetainedRunIntentOptions as IT, ForkRequest as I_, listGraphRuns as Ia, WriteWorkerSteerOptions as Ib, createMcpEnvironment as Ic, NextPursuitVersionInput as Id, SuperviseRegistryTable as If, BridgeSeam as Ig, ExecutorConfig as Ih, createFencedSqlRunContext as Ii, ShotSpec as Il, CoordinationDeliveryEvidence as Im, ContinuityMode as In, VisibleCheck as Io, ObserveSupervisorNodeEvent as Ip, createVerifierEnvironment as Ir, recoverRetainedInteractiveRun as Is, SpawnRejection as It, ScopeAnalyst as Iu, SettleDetachedCoderTurnOptions as Iv, ReservationFloor as Iw, CompletionEvidence as Ix, DelegationStatusArgs as Iy, ExecutorFactory as J, SqlAdapter as JC, buildLoopOtelSpans as JS, RetainedRunEffect as JT, CreateTangleSandboxExactProcessProviderOptions as J_, queueOf as Ja, runCancellationFile as Jb, LoopDispatchOptions as Jc, superviseGraphPursuit as Jd, retryPreSpawnRefusals as Jf, SharedBoxHandle as Jg, SteerableSandboxSession as Jh, createScope as Ji, refine as Jl, HarnessTranscriptCapture as Jm, GraphSubtaskPreparation as Jn, structuralRollout as Jo, resolveSupervisorProfile as Jp, analystsFromRegistry as Jr, profileOptimizerModelCall as Js, TreeView as Jt, WidenLineage as Ju, DetachedTurn as Jv, Driver as Jw, CodexRolloutTurn as Jx, UiFindingSeverity as Jy, ExecutorContext as K, D1DatabaseLike as KC, OtelSpan as KS, RetainedRunCancellation as KT, providerAsSandboxClient as K_, RollingDispatchOptions as Ka, readWorkerSteerRequests as Kb, runBenchmark as Kc, SupervisePursuitOptions as Kd, isPreSpawnExecutorFailure as Kf, ROUTER_CLIENT_HEADER as Kg, SandboxSteeringOptions as Kh, SUBTREE_RESULT_LIMIT as Ki, defineStrategy as Kl, createEventBus as Km, EscalateQuestion as Kn, sandboxCheckRunner as Ko, SupervisorToolInvocationContext as Kp, harvestSurfaceDiffs as Kr, resolveSandboxClient as Ks, TokenUsageProvenance as Kt, Widen as Ku, createSiblingSandboxExecutor as Kv, AgentRunSpec as Kw, CodexRolloutStoreReader as Kx, UiFinding as Ky, Budget as L, RunLocalHarnessOptions as LC, WaterfallCollector as LS, RecoverRetainedRunOptions as LT, PlacementInfo as L_, loadGraph as La, cancelRun as Lb, sanitizeMcpToolSchema as Lc, PursuitVersionChain as Ld, SuperviseTestOptions as Lf, KeyProvider as Lg, ProviderSeam as Lh, CompiledSearchSpec as Li, Strategy as Ll, CoordinationLog as Lm, CoordinationEvent as Ln, canDisplace as Lo, ResolveDriveHarness as Lp, BoxSurfaceReaderOptions as Lr, startRetainedInteractiveRun as Ls, Spend as Lt, ScopeAnalyzeInput as Lu, UiAuditorDelegate as Lv, ReservationHolder as Lw, CompletionPolicy as Lx, DelegationStatusResult as Ly, TraceRootArtifact as M, CodexTokenUsage as MC, anytimeReport as MS, NativeContextContinuationExecution as MT, CheckpointRequest as M_, graphDigest as Ma, WorkerCancelRequest as Mb, registryScopeAnalyst as Mc, IsolatedCheckResult as Md, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Mf, peerMailTools as Mg, CliInPlaceSeam as Mh, createRootHandle as Mi, AgenticTool as Ml, serveCoordinationMcp as Mm, AuthorizedDownMessage as Mn, StructuralRolloutConfig as Mo, CoordinationToolFace as Mp, SandboxInstance$1 as Mr, startRetainedRunInEnvironment as Ms, SpawnEvent as Mt, Pipeline as Mu, CoderReviewer as Mv, BudgetPoolRestore as Mw, failedItems as Mx, DelegationProfile as My, TraceSummary as N, DEFAULT_LOCAL_HARNESS as NC, areaUnderCurve as NS, NativeContextContinuationHandle as NT, CreateAgentEnvironmentInput$1 as N_, graphFromStored as Na, WorkerCancellation as Nb, observationFromRegistry as Nc, runIsolatedCheck as Nd, DeliverableResolutionInput as Nf, peerMailVerbNames as Ng, CliSeam as Nh, createSupervisor as Ni, ArtifactHandle as Nl, CoordinationHttpAudit as Nm, AwaitWakeInput as Nn, StructuralRolloutMessage as No, CoordinationVerbs as Np, computeFindingId$1 as Nr, ClaimRetainedInteractiveControlOptions as Ns, SpawnJournal as Nt, PipelineStage as Nu, DelegateRunCtx as Nv, BudgetReadout as Nw, passedItems as Nx, DelegationProgress as Ny, settlementFailureCause as O, createWorktree as OC, renderPairwiseMarkdown as OS, startRuntimeRun as OT, AgentSessionRef as O_, GraphRunRecord as Oa, CoderTask as Ob, RegistryAnalyzeProjection as Oc, readDeclaredCheck as Od, runGraphWithTestBrain as Of, PeerMailboxOptions as Og, DelegateHandlerOptions as Oh, captureWorkerTraceEvidence as Oi, AgenticOptions as Ol, CoordinationMcpHandle as Om, AnalyzeOnSettleRoute as On, CheckRunner as Oo, kernelPromptRegistry as Op, AgentProfile$2 as Or, createS3PrivateCasStore as Os, RootStreamReceipt as Ot, Panel as Ou, InMemoryFeedbackStore as Ov, DeadlineCheckIn as Ow, admitFinding as Ox, DelegationFeedbackSnapshot as Oy, Agent as P, LOCAL_HARNESSES as PC, bestSoFar as PS, NativeContextContinuationInput as PT, ExecRequest as P_, graphRegistry as Pa, WorkerSteerAcknowledgement as Pb, McpEndpoint as Pc, JudgedPursuitVersion as Pd, SuperviseOptions as Pf, BridgeHarnessStore as Pg, CliWorktreeBridgeSeam as Ph, FencedSqlRunContext as Pi, CorpusReadbackOptions as Pl, CoordinationHttpOptions as Pm, BlockedToolReport as Pn, StructuralRolloutPolicy as Po, DriveHarness as Pp, makeFinding$1 as Pr, claimRetainedInteractiveControl as Ps, SpawnOpts as Pt, RenderCorpusToInstructions as Pu, DetachedSessionDelegateOptions as Pv, BudgetReconcileFault as Pw, verdictFromJudgeScore as Px, DelegationResultPayload as Py, ExecutorRegistry as Q, InMemoryResultBlobStore as QC, createOtelExporter as QS, RetainedRunIntentAdmission as QT, ProviderCheckpointCaptureContext as Q_, watchTrace as Qa, supervisorWorkersDir as Qb, loopCampaignDispatch as Qc, PursuitObserverDelivery as Qd, SeatSelectionInput as Qf, SharedBoxStats as Qg, ToolStepInput as Qh, RemoteSupervisorTree as Qi, HarvestCorpusOptions as Ql, HarnessTranscriptUnavailableReason as Qm, ManagerReentryState as Qn, EvolutionStrategy as Qo, ManagerWakePolicy as Qp, worktreeFanout as Qr, AgentTurnInput$1 as Qs, WidenGate as Qt, DefinePersonaInput as Qu, RunDetachedTurnOptions as Qv, LoopEndedPayload as Qw, harnessUsageIsEmpty as Qx, MultiHarnessResearcherFanoutOptions as Qy, BudgetOverspend as R, harnessSupportsReasoningEffort as RC, WaterfallReport as RS, RecoverRetainedRunResult as RT, ProviderAsSandboxClientOptions as R_, lookupGraph as Ra, cancelWorker as Rb, BenchmarkCell as Rc, PursuitVersionStop as Rd, supervise as Rf, ResolvedMcpServerLaunch as Rg, RouterSeam as Rh, SEARCH_SPEC_CORRELATION_KEY as Ri, StrategyArtifacts as Rl, CoordinationOwnerId as Rm, CoordinationStats as Rn, compareCheckOutcomes as Ro, ResolveSupervisorTools as Rp, HarvestSurfaceDiffsOptions as Rr, ReconnectRetainedInteractiveRunOptions as Rs, SpendChannel as Rt, ScopeWidenGate as Ru, coderTaskFromArgs as Rv, ReservationRejection as Rw, CompletionVerdict as Rx, FeedbackRating as Ry, RuntimeStreamEvent as S, DiffOptions as SC, ScoreOf as SS, RuntimeRunCost as ST, AgentEnvironmentProviderRegistry as S_, InteractiveWorkerResult as Sa, DelegationStateCorruptError as Sb, panel as Sc, DeclaredCheckStateCapture as Sd, GraphNode as Sf, PeerMailLimits as Sg, createMcpServer as Sh, localShell as Si, McpSpawnFault as Sl, SupervisorFinalizer as Sm, AnalystFindingEvent as Sn, defaultProfileRichnessThresholds as So, analyzesFindingsReportPrompt as Sp, canonicalFindingEvent as Sr, SessionCapableBox as Ss, RootHandle as St, FanoutSynthesis as Su, JsonRpcResponse as Sv, RetainedRunAdmissionError as Sw, ContinuationPanelResult as Sx, DelegateResearchResult as Sy, RuntimeFailureContext as T, RemoveWorktreeOptions as TC, renderLeaderboardHtml as TS, RuntimeRunPersistenceAdapter as TT, AgentEnvironmentSummary as T_, InPlaceCliExecutorOptions as Ta, FileDelegationStoreOptions as Tb, verify as Tc, declaredCheckDeliverable as Td, RunGraphTestOptions as Tf, PeerMailRefusal as Tg, DELEGATE_TOOL_NAME as Th, analyzeTrace as Ti, StdioMcpServerSpec as Tl, pickBestDelivered as Tm, AnalystRegistry$1 as Tn, CheckExecChannel as To, dumbContinuationFailPrompt as Tp, normalizeAnalyzeOnSettle as Tr, acquireSandbox as Ts, RootSegment as Tt, LoopUntil as Tu, McpTransport as Tv, ValidationError as Tw, PanelFinding as Tx, DelegateUiAuditResult as Ty, ExecutorAccounting as U, SqlRunOwnershipError as UC, OtelExportConfig as US, RetainedRunAdmission as UT, WorkspaceRequest as U_, DispatchReport as Ua, readWorkerCancelRequests as Ub, BenchmarkTaskRow as Uc, assertPursuitVersions as Ud, WorkerSpawnRetryAttempt as Uf, secretEnvOfMcpServer as Ug, createExecutor as Uh, compileSearchSpec as Ui, SurfaceScore as Ul, BusStats as Um, DownMessageDeliveryAttempt as Un, modelAuthoredChecks as Uo, SupervisorNodeContextSeed as Up, WatchedSurface as Ur, RetainedInteractiveStartMaterial as Us, SupervisedResult as Ut, TrajectoryReportOptions as Uu, FleetWorkspaceExecutorOptions as Uv, ReserveOptions as Uw, CodexForkBoundary as Ux, delegationProfiles as Uy, ExecutionBindingReceipt as V, runLocalHarness as VC, LoopSpanNode as VS, RetainedInteractiveIntentAdmission as VT, ProviderPromptOptions as V_, storedGraphDigests as Va, readRunCancelRequest as Vb, BenchmarkReport as Vc, VersionJudge as Vd, workerFromBackend as Vf, resolveMcpServerLaunch as Vg, cliInPlaceExecutor as Vh, SearchSpecOwnedOption as Vi, StrategyResult as Vl, BusEvent as Vm, DefinedAnalystRecord as Vn, defaultStructuralRolloutPolicy as Vo, SupervisorAgentTestDeps as Vp, SurfaceReadOutcome as Vr, RetainedInteractiveEnvironmentInput as Vs, SubtreeResult as Vt, TrajectoryReport as Vu, DelegationExecutor as Vv, ReservationTicket as Vw, sentinelCompletion as Vx, UiAuditLensFilter as Vy, ExecutorCancellation as W, SqlRunStoreOptions as WC, OtelExportStats as WS, RetainedRunAdmissionHook as WT, createAgentEnvironmentProviderRegistry as W_, DispatchStopReason as Wa, readWorkerCancellation as Wb, Environment as Wc, SuperviseGraphPursuitOptions as Wd, WorkerSpawnRetryHooks as Wf, DEFAULT_SHARED_BOX_RESOURCES as Wg, createExecutorRegistry as Wh, searchPresets as Wi, adaptiveRefine as Wl, EventBus as Wm, DownMessageDeliveryOutcome as Wn, officialChecksFromMeta as Wo, SupervisorProfile as Wp, boxSurfaceReader as Wr, StartRetainedInteractiveRunOptions as Ws, Supervisor as Wt, Verify as Wu, SiblingSandboxExecutorOptions as Wv, createBudgetPool as Ww, CodexRolloutIdentity as Wx, UI_FINDING_SEVERITIES as Wy, ExecutorNodeContext as X, FileResultBlobStore as XC, buildRuntimeEventOtelSpans as XS, RetainedRunEventOptions as XT, createTangleSandboxExactProcessProvider as X_, WatchTraceOptions as Xa, supervisorRunDir as Xb, SuperviseDispatchOptions as Xc, PursuitFork as Xd, SeatSegment as Xf, SharedBoxPlacementOptions as Xg, SessionMessageLike as Xh, RemoteSupervisorAgent as Xi, sample as Xl, HarnessTranscriptFile as Xm, LeadMessage as Xn, EvolutionAuthor as Xo, supervisorAgentWithTestBrain as Xp, AuthoredHarness as Xr, assertProfileModelsAllowed as Xs, UnknownMaterializationReason as Xt, WinnerStrategy as Xu, DriveTurnCapableBox as Xv, Iteration as Xw, addHarnessUsage as Xx, KnowledgeItem as Xy, ExecutorMaterialization as Y, d1ToSqlAdapter as YC, buildLoopSpanNodes as YS, RetainedRunEnvironmentAdmission as YT, SandboxControlClient as Y_, rollingDispatch as Ya, safeWorkerFile as Yb, LoopOptionsForDispatch as Yc, supervisePursuit as Yd, withWorkerSpawnRetry as Yf, SharedBoxPlacement as Yg, createSteerableSandboxSession as Yh, settledToIteration as Yi, runAgentic as Yl, HarnessTranscriptEvidence as Ym, GraphSubtasks as Yn, visibleCheckScore as Yo, supervisorAgent as Yp, failuresAnalyst as Yr, assertModelAllowed as Ys, UnconfirmedTeardown as Yt, WidenSpec as Yu, DetachedTurnResumeDriverOptions as Yv, ExecCtx as Yw, CodexStoreDelta as Yx, UiLens as Yy, ExecutorProgressEvent as Z, FileSpawnJournal as ZC, createOpenInferenceFileExporter as ZS, RetainedRunHandle as ZT, UnavailablePausePolicy as Z_, defaultToolDetectors as Za, supervisorRunsRoot as Zb, SuperviseOptionsForDispatch as Zc, RUN_FORK_CORRELATION_KEYS as Zd, SeatSelection as Zf, SharedBoxProcess as Zg, SessionTraceBox as Zh, RemoteSupervisorReader as Zi, sampleThenRefine as Zl, HarnessTranscriptUnavailable as Zm, MakeWorkerAgent as Zn, EvolutionReport as Zo, DEFAULT_DEADLINE_WARNING_MS as Zp, WorktreeFanoutOptions as Zr, AgentTurnBackend as Zs, UsageEvent as Zt, DefinePersona as Zu, DriveTurnTick as Zv, LoopDecisionPayload as Zw, createCodexRolloutStoreReader as Zx, KnowledgeUpdate as Zy, RunAgentTaskOptions as _, WorktreeCheckRunner as _C, LeaderboardOptions as _S, SandboxClient as _T, AgentEnvironment$1 as __, WorktreePatchArtifact as _a, buildDelegationTraceSpans as _b, InMemoryCorpus as _c, LeaderboardScore as _d, AgentGraph as _f, AUTHORITY_MARKERS as _g, hostDirectoryReader as _h, Workspace as _i, InProcessSandboxClientOptions as _l, UNPROVEN_CONTINUITY as _m, summarizeDriverAttempts as _n, AuthoredProfile as _o, workerTraceHeaders as _p, ToolOutcomeEvent as _r, TurnResult as _s, ResourceSpend as _t, EqualKOnCost as _u, ToolLoopCompaction as _v, JudgeError as _w, ContinuationContext as _x, DelegateCodeResult as _y, AgentKnowledgeProvider as a, RuntimeStreamEventCollector as aC, CodeModeTool as aS, LoopResult as aT, SandboxServedBackend as a_, provisionSupervisor as aa, researcherProfile as ab, PrivateCasDurableStore as ac, RunPersonifiedOptions as ad, PursuitNodeUsage as af, DEFAULT_STALL_AFTER_MS as ag, HarnessTranscriptReadOptions as ah, NOTE_MAX_CHARS as ai, isTerminalDecision as al, ProgressView as am, DriverAttemptStop as an, delegate as ao, createFileRunContext as ap, QuestionEscalationTarget as ar, AuthorStrategyOptions as as, MaterializedExecutionIdentity as at, ObservationError as au, ProviderWorkspaceRetentionContext as av, SpawnForestTree as aw, workerSteerAcknowledgementFile as ax, DelegationRecord as ay, RuntimeSession as b, WorktreeProfileMaterializationReceipt as bC, PairwiseVerdict as bS, Validator as bT, AgentEnvironmentProvider$1 as b_, InteractiveWorkerKeyInput as ba, createDelegationTraceCollector as bb, flatWidenGate as bc, DeclaredCheck as bd, GraphEdge as bf, PeerMailEnvelope as bg, McpServerOptions as bh, gitWorkspace as bi, LocalMcpMaterialization as bl, FinalizeContext as bm, AnalystAssignmentRecord as bn, asAuthoredProfile as bo, PromptRegistry as bp, WorkerWatchOptions as br, SandboxLineage as bs, ResumedWork as bt, Fanout as bu, ToolLoopToolCall as bv, RetainedInteractiveAdmissionError as bw, ContinuationPanel as bx, DelegateResearchArgs as by, AgentTaskContext as c, RuntimeTelemetryOptions as cC, CodeModeToolset as cS, LoopTeardownFailedPayload as cT, assertSandboxServedModel as c_, bestProfileFor as ca, mergeTraceEnv as cb, createPrivateCasArtifactPort as cc, ShapeRegistry as cd, PursuitRunTotals as cf, TeamProgress as cg, resolveHarnessTranscriptCapture as ch, closingWorkerNote as ci, SandboxEvidenceReceipt as cl, allOf as cm, DriverContinuationRecord as cn, finalizeBestDelivered as co, SupervisorSpanAttributes as cp, QuestionPolicy as cr, authorStrategy as cs, NodeExecutionIdentity as ct, defaultAnalystInstruction as cu, DeliverableSpec as cv, replaySpawnTree as cw, workerSteerRequestsDir as cx, DelegationResumeTick as cy, AgentTaskStatus as d, createRuntimeEventCollector as dC, describeCodeModeTools as dS, LoopTraceEvent as dT, extractLlmCallEvent as d_, profileRegistry as da, CappedDelegationTrace as db, builtinShapes as dc, LeaderboardBenchTask as dd, FileObserverJournal as df, readWorkerProgress as dg, ResolvedSpawnResourcePath as dh, CopyOptions as di, captureBeforeDestroy as dl, createProgressTracker as dm, DriverLoopRecord as dn, ChatTransportExecutorOptions as do, SupervisorSpanRecorder as dp, SettledWorker as dr, Deliverable as ds, NodeStatus as dt, AssertTraceDerivedFindings as du, mapExecutorResult as dv, defaultRedactor as dw, AdmittedFinding as dx, DelegationTaskQueueOptions as dy, loopEventToOtelSpan as eC, RetainedRunSnapshot as eE, HarnessUsage as eS, LoopIterationEndedPayload as eT, sharedBoxPlacement as e_, connectRemoteSupervisor as ea, ResearchSource as eb, CollectedAgentTurn as ec, Outcome as ed, PursuitNodeCost as ef, createPushTraceSource as eg, captureHarnessTranscript as eh, WorkerInteractiveBinding as ei, superviseDispatch as el, NoProgressForOptions as em, WorkerInteractiveUnavailableReason as en, DesignerToolsEnv as eo, SelectSeat as ep, PeerAuditAccess as er, StrategyTournament as es, ExecutorTeardownWarning as et, HarvestFailure as eu, ProviderWorkspaceAttemptProvenance as ev, SpawnForest as ew, workerCancellationFile as ex, detachedTurnEvents as ey, BackendErrorDetail as f, createRuntimeStreamEventCollector as fC, runCodeMode as fS, LoopWinner as fT, mapSandboxEvent as f_, profileRunsForName as fa, DELEGATION_TRACE_MAX_BYTES as fb, createShapeRegistry as fc, LeaderboardBenchmarkAdapter as fd, ObserverJournal as ff, AuthorityInboxMessage as fg, SPAWN_RESOURCE_PATH_MAX_BYTES as fh, UntrackedCopyStats as fi, LocalSandboxClientOptions as fl, noProgressFor as fm, DriverProgressMark as fn, ChatTransportTool as fo, createSupervisorSpanRecorder as fp, SpawnPreflight as fr, OpenSandboxRunBeforeStartContext as fs, ProfileMaterializationReceipt as ft, CombinatorShape as fu, RouterResponseReceipt as fv, resolveRedactor as fw, CONTINUATION_FACTS as fx, SubmitInput as fy, OpenAIChatToolChoice as g, InPlaceHarnessResult as gC, Leaderboard as gS, RunProvenance as gT, sumSandboxUsage as g_, WorktreeCliExecutorOptions as ga, DelegationTraceSpan as gb, FileCorpus as gc, LeaderboardScenario as gd, verifyObserverRecords as gf, createInbox as gg, environmentReader as gh, Shell as gi, InProcessPromptCtx as gl, ReentryTaskInput as gm, classifyDriverFailure as gn, createChatSessionStore as go, workerTraceEnv as gp, SuperviseProfileEntry as gr, SandboxRunAbortError as gs, ResourceLimit as gt, EqualKArm as gu, ToolLoopChat as gv, ConfigError as gw, ContinuationAppend as gx, DelegateCodeConfig as gy, OpenAIChatTool as h, sanitizeRuntimeStreamEvent as hC, Interval as hS, OutputAdapter as hT, sandboxProgressEvents as h_, patchDelivered as ha, DelegationTraceCollector as hb, runPersonified as hc, LeaderboardRunContext as hd, observerRecordDigest as hf, PeerInboxMessage as hg, SpawnResourceReader as hh, GitWorkspaceOptions as hi, InProcessOnPrompt as hl, ReentryContinuity as hm, DriverRetryPolicy as hn, chatWorkerSeam as ho, readWorkerTraceContext as hp, SpawnRefusalCause as hr, SandboxRun as hs, RecursiveReservationPolicy as ht, CorpusRecord as hu, ToolLoopCallContext as hv, BackendTransportError as hw, CheckVerdict as hx, DelegateCodeArgs as hy, AgentExecutionBackend as i, RuntimeEventCollector as iC, StartRetainedRunOptions as iE, CodeModeStore as iS, LoopPlanPayload as iT, SandboxOutputMarker as i_, SupervisorCleanupReceipt as ia, multiHarnessResearcherFanout as ib, PrivateCasArtifactPort as ic, RunPersonified as id, PursuitNodeTiming as if, ActivityNote as ig, HarnessTranscriptReadLimits as ih, EVIDENCE_MAX_CHARS as ii, defaultSelectWinner as il, ProgressTrackerOptions as im, DriverAttemptRecord as in, defaultDelegateBudget as io, RunContextLease as ip, QuestionEscalationRecord as ir, strategyTournament as is, HeldEnvironment as it, ObservationAnalysis as iu, ProviderWorkspaceEntryMetadata as iv, SpawnForestNode as iw, workerInboxFileFromEventDir as ix, DelegationArgs as iy, TRACE_SUMMARY_SCHEMA as j, CodexExecutionPolicy as jC, AnytimeTaskCurve as jS, WorkerEventPage as jT, CheckpointRef as j_, digestOfGraph as ja, RunCancellation as jb, createScopeAnalyst as jc, IsolatedCheckOptions as jd, AuthorizedSpawnContext as jf, isPeerMailEnvelope as jg, validateDelegateArgs as jh, DEFAULT_MAX_DEPTH as ji, AgenticTask as jl, CoordinationTransportOptions as jm, AuthorizeDownMessage as jn, RepairStop as jo, CoordinationBinding as jp, SandboxEvent$1 as jr, startRetainedRun as js, Settled as jt, PanelVerdict as ju, CoderReview as jv, BudgetPool as jw, expandQuestions as jx, DelegationHistoryResult as jy, RetainedPendingCause as k, removeWorktree as kC, AnytimeReport as kS, WorkerEventCursor as kT, AgentSessionStatus$1 as k_, GraphSelection as ka, coderTaskToPrompt as kb, assertTraceDerivedFindings as kc, IsolatedCheckBox as kd, defaultEdgeTraversalCap as kf, claimsAuthority as kg, DelegateResult as kh, parseWorkerToolTraceArtifact as ki, AgenticRunResult as kl, CoordinationPublicAddress as km, AuthoredAnalystDefinition as kn, CheckSource as ko, naiveContinuationPrompt as kp, AnalystFinding$1 as kr, reconnectRetainedRun as ks, Runtime as kt, PanelJudge as ku, eventToSnapshot as kv, WorkerSlots as kw, checkVerdictOf as kx, DelegationHistoryArgs as ky, AgentTaskRunResult as l, SanitizedKnowledgeReadinessReport as lC, RunCodeModeOptions as lS, LoopTokenUsage as lT, createSandboxToolPartState as l_, loadProfile as la, readTraceContextFromEnv as lb, equalKOnCost as lc, DefinedLeaderboard as ld, PursuitStatus as lf, WorkerProgress as lg, retainHarnessTranscript as lh, composeWorkerEvidence as li, SandboxEvidenceRetentionError as ll, allWorkersStalled as lm, DriverContractState as ln, ChatCompletionsTransport as lo, SupervisorSpanOptions as lp, QuestionRecord as lr, strategyAuthorContract as ls, NodeId as lt, observe as lu, ExecutorResultMapping as lv, contentAddress as lw, workerSteersDir as lx, DelegationRunContext as ly, OpenAIChatResponseFormat as m, sanitizeKnowledgeReadinessReport as mC, GroupOf as mS, MountRecorder as mT, sandboxEventServedBackend as m_, PatchDeliverableOptions as ma, DelegationTraceCaps as mb, definePersona as mc, LeaderboardIterationInfo as md, ObserverRecordKind as mf, InboxMessage as mg, SpawnResourceRead as mh, withUntrackedArtifacts as mi, inlineSandboxClient as ml, sampleFromSettled as mm, DriverRepromptRefusal as mn, chatTransportExecutor as mo, WorkerTraceSeamCarrier as mp, SpawnRefusal as mr, OpenSandboxRunPromptOptions as ms, ProviderModelExecutionEvidence as mt, CorpusFilter as mu, ToolSpec as mv, AgentEvalErrorCode as mw, CheckUnavailableError as mx, hashIdempotencyInput as my, AgentBackendContext as n, padTraceId as nC, RetainedRunTurnInput as nE, CodeModeOptions as nS, LoopLineageOptions as nT, sharedWorkerClientName as n_, ProvisionSupervisorRequest as na, ResearcherProfileOptions as nb, collectAgentTurn as nc, PersonaContext as nd, PursuitNodePlatform as nf, sandboxSessionTraceSource as ng, persistHarnessTranscript as nh, attachWorker as ni, TERMINAL_DECISIONS as nl, ProgressSample as nm, WorkerTraceUnavailableReason as nn, graphDesignerExtraTools as no, InMemoryRunContextOptions as np, QuestionDecision as nr, TournamentRow as ns, FleetYield as nt, harvestCorpus as nu, ProviderWorkspaceCaptureReceipt as nv, SpawnForestInDoubtNode as nw, workerControlLogFile as nx, parseDetachedSessionRef as ny, AgentRuntimeEvent as o, RuntimeStreamEventSink as oC, CodeModeToolContext as oS, LoopSandboxPlacement as oT, SandboxToolPartState as o_, ProfileRegistryDir as oa, TraceContext as ob, PrivateCasOffloadReport as oc, ShapeBudget as od, PursuitProjection as of, ExecutorProgress as og, RetainedHarnessTranscriptCapture as oh, VERIFY_TAIL_CHARS as oi, runAgentRounds as ol, StopDecision as om, DriverAttemptsExhaustedError as on, DriverAgentOptions as oo, createInMemoryRunContext as op, QuestionLevel as or, AuthoredStrategy as os, MaterializedModelIdentity as ot, ObserveInput as ou, ProviderWorkspaceRetentionPort as ov, loadSpawnForest as ow, workerSteerAcknowledgementsDir as ox, DelegationResumeContext as oy, KnowledgeReadinessDecision as p, sanitizeAgentRuntimeEvent as pC, AxisScoresOf as pS, MountManifestEntry as pT, mapSandboxToolEvent as p_, recordProfileRun as pa, DELEGATION_TRACE_MAX_SPANS as pb, registerShape as pc, LeaderboardFlagSpec as pd, ObserverRecord as pf, Inbox as pg, SpawnResourceBytes as ph, copyUntrackedIntoClone as pi, localSandboxClient as pl, plateau as pm, DriverReentry as pn, ChatWorkerSeamOptions as po, WorkerTraceResolver as pp, SpawnPreflightContext as pr, OpenSandboxRunOptions as ps, ProviderModelAttemptEvidence as pt, Corpus as pu, RouterTransportConfig as pv, AgentEvalError$1 as pw, CheckRead as px, SubmitOutput as py, ExecutorExecutionBinding as q, D1StmtLike as qC, RuntimeEventOtelOptions as qS, RetainedRunDispatchedAdmission as qT, resolveAgentEnvironmentProvider as q_, freeSlots as qa, runCancelRequestFile as qb, LoopCampaignDispatchOptions as qc, SupervisedPursuitResult as qd, resolveWorkerSpawnRetry as qf, SharedBoxCloseReceipt as qg, SteerableSandboxArgs as qh, ScopeArgs as qi, depthStrategy as ql, HarnessTranscriptArtifact as qm, EventAcknowledgement as qn, selectBestIndex as qo, assertCoordinationBinding as qp, AnalystAuthoring as qr, profileChatClient as qs, TraceRootReceipt as qt, WidenDecision as qu, DetachedSessionRefParts as qv, DefaultVerdict$1 as qw, CodexRolloutStoreRef as qx, UiFindingScreenshot as qy, AgentBackendInput as r, toOtelAttributes as rC, StartRetainedRunInEnvironmentOptions as rE, CodeModeResult as rS, LoopPlanDescription as rT, SandboxLeafOut as r_, ProvisionedSupervisor as ra, createResearcherValidator as rb, streamAgentTurn as rc, PersonaExecutors as rd, PursuitNodeProjection as rf, ActivityLog as rg, HarnessTranscriptMetadata as rh, readWorkerInteractiveBinding as ri, TerminalDecision as rl, ProgressTracker as rm, WorkspaceCheckpointMarker as rn, DelegateOptions as ro, RunContext as rp, QuestionEscalationOutcome as rr, runStrategyEvolution as rs, Handle as rt, Observation as ru, ProviderWorkspaceCaptureResult as rv, SpawnForestMissingTree as rw, workerInboxFile as rx, runDetachedTurn as ry, AgentRuntimeEventSink as s, RuntimeStreamEventSummary as sC, CodeModeToolsOptions as sS, LoopStartedPayload as sT, SandboxUsageLedger as s_, ProfileRunRecord as sa, createPropagatingTraceEmitter as sb, PrivateCasOptions as sc, ShapeContext as sd, PursuitRunProjection as sf, ScopeProgressInput as sg, RetainedHarnessTranscriptDescriptor as sh, WorkerEvidenceInput as si, SandboxEvidenceContext as sl, StopRule as sm, DriverBudgetReadout as sn, driverAgent as so, withRunContext as sp, QuestionOption as sr, assertStrategyContract as ss, NoWinnerError as st, ObserveOptions as su, ProviderPlacement as sv, materializeTreeView as sw, workerSteerRequestFile as sx, DelegationResumeDriver as sy, AgentAdapter as t, padSpanId as tC, RetainedRunStartMaterial as tE, decodeHarnessUsage as tS, LoopIterationStartedPayload as tT, sharedBoxRefusal as t_, ProvisionSupervisorConnection as ta, ResearchTask as tb, StreamAgentTurnOptions as tc, Persona as td, PursuitNodePlacement as tf, decodeToolPart as tg, harnessTranscriptArtifact as th, WorkerInteractiveProviderSource as ti, RunAgentRoundsOptions as tl, PlateauOptions as tm, WorkerTraceEvidence as tn, GraphDesignerExtraTools as to, InMemoryRunContext as tp, Question as tr, TournamentCell as ts, ExecutorToolCall as tt, HarvestReport as tu, ProviderWorkspaceCaptureProvenance as tv, SpawnForestEvent as tw, workerCancellationsDir as tx, formatDetachedSessionRef as ty, AgentTaskSpec as u, SanitizedKnowledgeRequirement as uC, createCodeModeTools as uS, LoopTraceEmitter as uT, createSandboxUsageLedger as u_, pickBestProfile as ua, traceContextToEnv as ub, trajectoryReport as uc, LeaderboardBenchScore as ud, projectPursuit as uf, createActivityLog as ug, ResolveSpawnResourcePathsResult as uh, settledWorkerOut as ui, SandboxEvidenceRetentionPort as ul, anyOf as um, DriverFailureClass as un, ChatSessionStore as uo, SupervisorSpanOutcome as up, QuestionUrgency as ur, strategyAuthorSystemPrompt as us, NodeSnapshot as ut, renderReport as uu, gateOnDeliverable as uv, Redactor as uw, writeWorkerSteer as ux, DelegationTaskQueue as uy, RunAgentTaskStreamOptions as v, WorktreeCommandResult as vC, LeaderboardRow as vS, SelectionReceipt as vT, AgentEnvironmentCapabilities$1 as v_, createWorktreeCliExecutor as va, capDelegationTrace as vb, renderCorpusToInstructions as vc, LeaderboardSpec as vd, EdgeDeliveryOutcome as vf, DEFAULT_PEER_MAIL_LIMITS as vg, resolveSpawnResourcePaths as vh, WorkspaceCommit as vi, inProcessSandboxClient as vl, composeReentryTask as vm, upstreamUnavailableSignal as vn, ProfileRichness as vo, workerTraceSeamKey as vp, WorkerResumeContext as vr, openSandboxRun as vs, ResultBlobStore as vt, EqualKOnCostOptions as vu, ToolLoopCompactionOptions as vv, NotFoundError as vw, ContinuationEntry as vx, DelegateFeedbackArgs as vy, RuntimeFailureCode as w, GitRunner as wC, pairwiseSignificance as wS, RuntimeRunOptions as wT, AgentEnvironmentStatus as w_, WorkerInteractiveAdmission as wa, FileDelegationStore as wb, selectValidWinner as wc, checkProgramDigest as wd, RunGraphOptions as wf, PeerMailReadout as wg, DELEGATE_INPUT_SCHEMA as wh, TrajectoryAnalysis as wi, StdioMcpConnection as wl, collectDelivered as wm, AnalystLensOutput as wn, supervisorInstructions as wo, delegatesWorkerBriefPrompt as wp, downMessageRefusalReasons as wr, AcquireOptions as ws, RootProviderModelEvidence as wt, FlatWidenGate as wu, McpToolDescriptor$1 as wv, RuntimeRunStateError as ww, ContinuationProfile as wx, DelegateUiAuditConfig as wy, RuntimeSessionStore as x, CreateWorktreeOptions as xC, ProfileKeyOf as xS, RuntimeRunCompleteInput as xT, AgentEnvironmentProviderRef as x_, InteractiveWorkerOptions as xa, DelegationPersistenceError as xb, loopUntil as xc, DeclaredCheckPlacement as xd, GraphEdgeCapError as xf, PeerMailEvent as xg, createInProcessTransport as xh, jjWorkspace as xi, MaterializeLocalMcpOptions as xl, FinalizerSettled as xm, AnalystDefinitionIssue as xn, assessAuthoredProfile as xo, RegisteredPrompt as xp, analystToolGroupNames as xr, SandboxLineageHandle as xs, RetainedExecutionState as xt, FanoutOptions as xu, JsonRpcMessage as xv, RetainedInteractiveBindingError as xw, ContinuationPanelInput as xx, DelegateResearchConfig as xy, RuntimeCanonicalStreamEvent as y, WorktreeHarnessResult as yC, PairwiseOptions as yS, ValidationCtx as yT, AgentEnvironmentEvent$1 as y_, InteractiveWorkerEnvironment as ya, composeLoopTraceEmitters as yb, fanout as yc, defineLeaderboard as yd, EdgeTraversal as yf, PEER_MAIL_WIRE_KEY as yg, McpServer as yh, WorkspaceRun as yi, HttpMcpServerSpec as yl, DeliveredOutput as ym, ANALYST_DEFINITION_BOUNDS as yn, ProfileRichnessThresholds as yo, PromptHandle as yp, WorkerSpawnContext as yr, BranchCapableBox as ys, ResumedKeyState as yt, EqualKVerdict as yu, ToolLoopMessageRecord as yv, PlannerError as yw, ContinuationNoteInput as yx, DelegateFeedbackResult as yy, BudgetViolation as z, localHarnessExecutable as zC, WaterfallSpan as zS, RetainedInteractiveAdmission as zT, ProviderExecutorOptions as z_, pickBestGraph as za, legacySupervisorRunDir as zb, BenchmarkConfig as zc, PursuitVersions as zd, superviseFleetCapabilities as zf, envKeyProvider as zg, RouterToolsSeam as zh, SearchSpec as zi, StrategyCtx as zl, FileCoordinationLog as zm, CoordinationTools as zn, composeCheckSources as zo, ResolvedSupervisorProfile as zp, SurfaceDiff as zr, RecoverRetainedInteractiveRunOptions as zs, SpendGap as zt, SteerContext as zu, detachedSessionDelegate as zv, ReservationShortfall as zw, completionAuthorizes as zx, FeedbackRefersTo as zy };
|
|
20232
|
+
//# sourceMappingURL=types-5r334mcg.d.ts.map
|