@tangle-network/agent-runtime 0.109.2 → 0.111.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-CM-L6TtL.js → activation-CsuHCZVN.js} +3 -3
- package/dist/{activation-CM-L6TtL.js.map → activation-CsuHCZVN.js.map} +1 -1
- package/dist/agent.d.ts +4 -4
- package/dist/agent.js +2 -2
- package/dist/agent.js.map +1 -1
- package/dist/{analyst-loop-C8cGThTW.js → analyst-loop-BoNIG2hA.js} +30 -9
- package/dist/analyst-loop-BoNIG2hA.js.map +1 -0
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/analyst-loop.js +1 -1
- package/dist/candidate-execution/index.js +4 -4
- package/dist/{candidate-execution-nYMa-bc-.js → candidate-execution-Co3sRC_7.js} +4 -4
- package/dist/{candidate-execution-nYMa-bc-.js.map → candidate-execution-Co3sRC_7.js.map} +1 -1
- package/dist/{environment-provider-CfLUmKmf.js → environment-provider-BsHpW4Dp.js} +52 -5
- package/dist/environment-provider-BsHpW4Dp.js.map +1 -0
- package/dist/{environment-provider-CMqSAp-O.d.ts → environment-provider-CTEMEP9u.d.ts} +9 -1
- package/dist/environment-provider.d.ts +1 -1
- package/dist/environment-provider.js +1 -1
- package/dist/{improvement-adapter-BaAdfJKT.d.ts → improvement-adapter-D5gwwoXQ.d.ts} +2 -2
- package/dist/{improvement-cycle-9O4iVFOA.js → improvement-cycle-ryAyCLKN.js} +5 -5
- package/dist/{improvement-cycle-9O4iVFOA.js.map → improvement-cycle-ryAyCLKN.js.map} +1 -1
- package/dist/{index-BwY61sh3.d.ts → index-BmI2uxy5.d.ts} +3 -3
- package/dist/{index-CFJ_1m1U.d.ts → index-DlLPNELY.d.ts} +298 -92
- package/dist/{index-HsQm1Rrr.d.ts → index-sLuBoGud.d.ts} +6 -6
- package/dist/index.d.ts +5 -5
- package/dist/index.js +11 -11
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +39 -9
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +7 -7
- package/dist/{knowledge-1a38bcUT.js → knowledge-DBNAteaC.js} +5 -5
- package/dist/{knowledge-1a38bcUT.js.map → knowledge-DBNAteaC.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-C35m19w0.js → loop-runner-bin-BLOckrqT.js} +4 -4
- package/dist/{loop-runner-bin-C35m19w0.js.map → loop-runner-bin-BLOckrqT.js.map} +1 -1
- package/dist/{loop-runner-bin-DUQF0bYz.d.ts → loop-runner-bin-vRo5TZt_.d.ts} +4 -4
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-DT9FH2_t.js → openai-tools-st-hERvA.js} +2 -2
- package/dist/{openai-tools-DT9FH2_t.js.map → openai-tools-st-hERvA.js.map} +1 -1
- package/dist/{prepare-Pr19X93k.js → prepare-BKVdOn0w.js} +15 -14
- package/dist/prepare-BKVdOn0w.js.map +1 -0
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{protected-model-port-uthtDNqu.js → protected-model-port-BtldAE9j.js} +2 -2
- package/dist/{protected-model-port-uthtDNqu.js.map → protected-model-port-BtldAE9j.js.map} +1 -1
- package/dist/{runtime-dpJZmZtt.js → runtime-fwz-erxT.js} +422 -15
- package/dist/runtime-fwz-erxT.js.map +1 -0
- package/dist/{spawn-journal-CwPvKUTa.js → spawn-journal-DLhnom3e.js} +2 -2
- package/dist/{spawn-journal-CwPvKUTa.js.map → spawn-journal-DLhnom3e.js.map} +1 -1
- package/dist/{structural-rollout-ASQLr4-v.js → structural-rollout-CgnNy7_4.js} +3 -3
- package/dist/{structural-rollout-ASQLr4-v.js.map → structural-rollout-CgnNy7_4.js.map} +1 -1
- package/dist/{supervise-DyPmmhJ6.js → supervise-CeZtA1wu.js} +223 -107
- package/dist/supervise-CeZtA1wu.js.map +1 -0
- package/dist/{supervisor-sTJC9psT.js → supervisor-ByCPHcp9.js} +82 -24
- package/dist/supervisor-ByCPHcp9.js.map +1 -0
- package/dist/testing.js +9 -9
- package/dist/{types-CfGKhIuj.d.ts → types-zWfqDjeL.d.ts} +10 -1
- package/dist/{util-MVgdwuIS.js → util-Cc9g9Y-o.js} +2 -2
- package/dist/{util-MVgdwuIS.js.map → util-Cc9g9Y-o.js.map} +1 -1
- package/dist/{workspace-archive-C9w_rxt6.js → workspace-archive-CYYxZyA7.js} +2 -2
- package/dist/{workspace-archive-C9w_rxt6.js.map → workspace-archive-CYYxZyA7.js.map} +1 -1
- package/package.json +7 -7
- package/dist/analyst-loop-C8cGThTW.js.map +0 -1
- package/dist/environment-provider-CfLUmKmf.js.map +0 -1
- package/dist/prepare-Pr19X93k.js.map +0 -1
- package/dist/runtime-dpJZmZtt.js.map +0 -1
- package/dist/supervise-DyPmmhJ6.js.map +0 -1
- package/dist/supervisor-sTJC9psT.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as Budget, ut as SupervisedResult } from "./environment-provider-
|
|
2
|
-
import {
|
|
1
|
+
import { R as Budget, ut as SupervisedResult } from "./environment-provider-CTEMEP9u.js";
|
|
2
|
+
import { Ad as DeliverableSpec, Dc as ExecutorConfig, H as SuperviseOptions, Ot as SupervisorProfile } from "./index-DlLPNELY.js";
|
|
3
3
|
import { y as AgentCandidateOutputArtifactPort } from "./types-BaIpb0XT.js";
|
|
4
4
|
import { i as AgentImprovementActivationTransition, n as AgentImprovementActivationResultStore, t as AgentImprovementActivationReconciliation } from "./activation-DyWB0K6E.js";
|
|
5
5
|
import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge } from "@tangle-network/agent-interface";
|
|
@@ -137,4 +137,4 @@ declare function runKnowledgeImprovementJob(options: RunKnowledgeImprovementJobO
|
|
|
137
137
|
declare function buildKnowledgeImprovementExperimentBundles(bundle: AgentCandidateBundle, knowledge: KnowledgeImprovementCandidatePair): KnowledgeImprovementExperimentBundles;
|
|
138
138
|
//#endregion
|
|
139
139
|
export { KnowledgeImprovementActivationExecutor as C, CreateKnowledgeImprovementActivationExecutorOptions as S, SupervisedKnowledgeUpdater as _, KnowledgeImprovementJobResult as a, knowledgeReadinessDeliverable as b, createAgentKnowledgeReadinessCheck as c, KnowledgeReadinessCheckInput as d, KnowledgeReadinessCheckResult as f, SupervisedKnowledgeUpdateResult as g, SupervisedKnowledgeUpdateOptions as h, KnowledgeImprovementJobMeasurement as i, runKnowledgeImprovementJob as l, SupervisedKnowledgeUpdateInput as m, KnowledgeImprovementCandidatePair as n, RunKnowledgeImprovementJobOptions as o, RESEARCH_SUPERVISOR_SYSTEM_PROMPT as p, KnowledgeImprovementExperimentBundles as r, buildKnowledgeImprovementExperimentBundles as s, AgentKnowledgeReadinessCheckOptions as t, KnowledgeReadinessCheck as u, createSupervisedKnowledgeUpdater as v, createKnowledgeImprovementActivationExecutor as w, runSupervisedKnowledgeUpdate as x, formatSupervisedKnowledgeTask as y };
|
|
140
|
-
//# sourceMappingURL=index-
|
|
140
|
+
//# sourceMappingURL=index-BmI2uxy5.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as AgentTaskStatus, f as BackendErrorDetail, i as AgentExecutionBackend, x as RuntimeStreamEvent } from "./types-C9j4qg6l.js";
|
|
2
|
-
import { n as AnalystRegistryLike } from "./types-
|
|
2
|
+
import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
|
|
3
3
|
import { l as RuntimeHooks } from "./runtime-hooks-sbRpjStq.js";
|
|
4
4
|
import { C as MountRecorder, D as SelectionReceipt, E as SandboxClient, a as Iteration, b as LoopTraceEvent, d as LoopLineageOptions, i as ExecCtx, k as Validator, m as LoopResult, r as Driver, t as AgentRunSpec, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-DnNGJ5Gz.js";
|
|
5
|
-
import { $ as RootHandle, B as Executor, H as ExecutorFactory, I as Agent, K as NodeId, L as AgentSpec, Mt as TraceSource, R as Budget, U as ExecutorRegistry, Vt as WorkerProgress, X as ResultBlobStore, Z as ResumedKeyState, _t as PendingWait, at as SpawnJournal, bt as WaitProbeRegistry, dt as Supervisor, i as AgentEnvironmentProvider, it as SpawnEvent, lt as Spend, mt as UsageEvent, nt as Scope, o as AgentEnvironmentProviderRegistry, ot as SpawnOpts, pt as TreeView, rt as Settled, tt as Runtime, ut as SupervisedResult, w as ProviderExecutorOptions, z as DefaultVerdict, zt as ExecutorProgress } from "./environment-provider-
|
|
5
|
+
import { $ as RootHandle, B as Executor, H as ExecutorFactory, I as Agent, K as NodeId, L as AgentSpec, Mt as TraceSource, R as Budget, U as ExecutorRegistry, Vt as WorkerProgress, X as ResultBlobStore, Z as ResumedKeyState, _t as PendingWait, at as SpawnJournal, bt as WaitProbeRegistry, dt as Supervisor, i as AgentEnvironmentProvider, it as SpawnEvent, lt as Spend, mt as UsageEvent, nt as Scope, o as AgentEnvironmentProviderRegistry, ot as SpawnOpts, pt as TreeView, rt as Settled, tt as Runtime, ut as SupervisedResult, w as ProviderExecutorOptions, z as DefaultVerdict, zt as ExecutorProgress } from "./environment-provider-CTEMEP9u.js";
|
|
6
6
|
import { o as UiLens, r as UiFinding, s as CoderTask } from "./substrate-BcnuSHXm.js";
|
|
7
7
|
import { D as RuntimeTelemetryOptions, c as runLocalHarness, d as RouterConfig, i as LocalHarness, m as ToolSpec, n as CodexExecutionPolicy, r as CodexTokenUsage, x as ToolLoopCompactionOptions, y as ToolLoopChat } from "./local-harness-Dh8PJ0ot.js";
|
|
8
8
|
import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, DetectorSignal, HarnessType, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RunRecord, StreamingDetector, ToolSpan, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
|
|
@@ -99,6 +99,27 @@ declare function materializeTreeView(events: SpawnEvent[]): TreeView;
|
|
|
99
99
|
*/
|
|
100
100
|
declare function pendingWaits(events: SpawnEvent[]): PendingWait[];
|
|
101
101
|
//#endregion
|
|
102
|
+
//#region src/runtime/supervise/completion-gate.d.ts
|
|
103
|
+
/**
|
|
104
|
+
* The deployable completion oracle passed to {@link gateOnDeliverable}: a `check` that
|
|
105
|
+
* decides DELIVERED (settles `valid` ⟺ it resolves true) plus an optional `describe` of
|
|
106
|
+
* what the spawn was supposed to produce. The check reads the child's output — never the
|
|
107
|
+
* model judging itself.
|
|
108
|
+
*/
|
|
109
|
+
interface DeliverableSpec<Out = unknown> {
|
|
110
|
+
/** The deployable check that decides DELIVERED. `settled.valid ⟺ this resolves true`. */
|
|
111
|
+
check: (out: Out) => boolean | Promise<boolean>;
|
|
112
|
+
/** What the spawn was supposed to produce — surfaced in traces/reports. */
|
|
113
|
+
describe?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Wrap an `Executor` so its settlement `valid` reflects the deliverable check, not the
|
|
117
|
+
* inner verdict. Handles both `execute` shapes (one-shot `Promise<ExecutorResult>` and
|
|
118
|
+
* streaming `AsyncIterable<UsageEvent>` + `resultArtifact()`); the check runs once the inner
|
|
119
|
+
* executor has produced its output. The inner `score` is preserved; only `valid` is gated.
|
|
120
|
+
*/
|
|
121
|
+
declare function gateOnDeliverable<Out>(inner: Executor<Out>, deliverable: DeliverableSpec<Out>): Executor<Out>;
|
|
122
|
+
//#endregion
|
|
102
123
|
//#region src/runtime/supervise/detector-monitor.d.ts
|
|
103
124
|
interface WatchTraceOptions {
|
|
104
125
|
/** The detectors to run online. Defaults to a stuck-loop + error-streak panel. */
|
|
@@ -1730,27 +1751,6 @@ interface JsonRpcResponse {
|
|
|
1730
1751
|
};
|
|
1731
1752
|
}
|
|
1732
1753
|
//#endregion
|
|
1733
|
-
//#region src/runtime/supervise/completion-gate.d.ts
|
|
1734
|
-
/**
|
|
1735
|
-
* The deployable completion oracle passed to {@link gateOnDeliverable}: a `check` that
|
|
1736
|
-
* decides DELIVERED (settles `valid` ⟺ it resolves true) plus an optional `describe` of
|
|
1737
|
-
* what the spawn was supposed to produce. The check reads the child's output — never the
|
|
1738
|
-
* model judging itself.
|
|
1739
|
-
*/
|
|
1740
|
-
interface DeliverableSpec<Out = unknown> {
|
|
1741
|
-
/** The deployable check that decides DELIVERED. `settled.valid ⟺ this resolves true`. */
|
|
1742
|
-
check: (out: Out) => boolean | Promise<boolean>;
|
|
1743
|
-
/** What the spawn was supposed to produce — surfaced in traces/reports. */
|
|
1744
|
-
describe?: string;
|
|
1745
|
-
}
|
|
1746
|
-
/**
|
|
1747
|
-
* Wrap an `Executor` so its settlement `valid` reflects the deliverable check, not the
|
|
1748
|
-
* inner verdict. Handles both `execute` shapes (one-shot `Promise<ExecutorResult>` and
|
|
1749
|
-
* streaming `AsyncIterable<UsageEvent>` + `resultArtifact()`); the check runs once the inner
|
|
1750
|
-
* executor has produced its output. The inner `score` is preserved; only `valid` is gated.
|
|
1751
|
-
*/
|
|
1752
|
-
declare function gateOnDeliverable<Out>(inner: Executor<Out>, deliverable: DeliverableSpec<Out>): Executor<Out>;
|
|
1753
|
-
//#endregion
|
|
1754
1754
|
//#region src/mcp/worktree.d.ts
|
|
1755
1755
|
/**
|
|
1756
1756
|
*
|
|
@@ -1955,7 +1955,7 @@ interface PiSeam {
|
|
|
1955
1955
|
model?: string;
|
|
1956
1956
|
cwd?: string;
|
|
1957
1957
|
env?: Record<string, string>;
|
|
1958
|
-
/** Wall-clock ceiling for one `prompt` (the wait for `
|
|
1958
|
+
/** Wall-clock ceiling for one `prompt` (the wait for `agent_settled`). Omit = no timeout. */
|
|
1959
1959
|
turnTimeoutMs?: number;
|
|
1960
1960
|
/** Newest-last activity window `progress()` reports. Default 12. */
|
|
1961
1961
|
activityWindow?: number;
|
|
@@ -2490,6 +2490,12 @@ interface CoordinationToolsOptions {
|
|
|
2490
2490
|
readonly blobs: ResultBlobStore;
|
|
2491
2491
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
2492
2492
|
readonly perWorker: Budget;
|
|
2493
|
+
/**
|
|
2494
|
+
* The same independent completion check used for workers. When present, the driver receives a
|
|
2495
|
+
* `submit_result` tool and may finish work itself instead of being forced to delegate it. The
|
|
2496
|
+
* first passing submission is retained; a false or throwing check fails closed.
|
|
2497
|
+
*/
|
|
2498
|
+
readonly deliverable?: DeliverableSpec<unknown>;
|
|
2493
2499
|
readonly analysts?: AnalystRegistry;
|
|
2494
2500
|
readonly onEvent?: (event: CoordinationEvent) => void | Promise<void>;
|
|
2495
2501
|
readonly questionPolicy?: QuestionPolicy;
|
|
@@ -2564,6 +2570,10 @@ interface CoordinationTools {
|
|
|
2564
2570
|
readonly tools: McpToolDescriptor$1[];
|
|
2565
2571
|
isStopped(): boolean;
|
|
2566
2572
|
stopReason(): string | undefined;
|
|
2573
|
+
/** The first result whose injected independent check passed, if the driver submitted one. */
|
|
2574
|
+
submittedResult(): {
|
|
2575
|
+
readonly result: unknown;
|
|
2576
|
+
} | undefined;
|
|
2567
2577
|
settled(): ReadonlyArray<SettledWorker>;
|
|
2568
2578
|
questions(): ReadonlyArray<QuestionRecord>;
|
|
2569
2579
|
/** The full ordered log of every bus event — UP (settled / question / finding) and DOWN
|
|
@@ -4023,6 +4033,32 @@ declare function secretEnvOfMcpServer(server: AgentProfileMcpServer): Record<str
|
|
|
4023
4033
|
* server for the error (e.g. `profile.mcp['exa']`).
|
|
4024
4034
|
*/
|
|
4025
4035
|
declare function resolveSecretEnv(secretEnv: Record<string, string>, keys: KeyProvider | undefined, label: string): Promise<Record<string, string>>;
|
|
4036
|
+
/** The spawn-ready strings for one stdio MCP server: profile config values
|
|
4037
|
+
* resolved, secrets separated so the client can redact them. */
|
|
4038
|
+
interface ResolvedMcpServerLaunch {
|
|
4039
|
+
args?: string[];
|
|
4040
|
+
/** Public env, safe to appear in diagnostics. */
|
|
4041
|
+
env?: Record<string, string>;
|
|
4042
|
+
/** Resolved secret env. Reaches only the child process; redacted everywhere else. */
|
|
4043
|
+
protectedEnv?: Record<string, string>;
|
|
4044
|
+
}
|
|
4045
|
+
/**
|
|
4046
|
+
* Resolve a profile MCP server's `args`/`env` config values (interface ≥0.40
|
|
4047
|
+
* `AgentProfileConfigValue`) plus the legacy `metadata.secretEnv` channel into
|
|
4048
|
+
* the plain strings a spawn needs.
|
|
4049
|
+
*
|
|
4050
|
+
* Rules, all fail-closed:
|
|
4051
|
+
* - `args` must be public values. A secret-ref in argv is refused: argv is
|
|
4052
|
+
* readable by every host process (/proc/PID/cmdline) and outside the
|
|
4053
|
+
* protected-value redaction channel, so a secret there cannot be contained.
|
|
4054
|
+
* - `env` secret-refs resolve through the KeyProvider (missing provider or key
|
|
4055
|
+
* throws, naming the KEY NAME only) and land in `protectedEnv`.
|
|
4056
|
+
* - An env var declared secret on BOTH channels (env secret-ref and
|
|
4057
|
+
* metadata.secretEnv) is ambiguous configuration and throws.
|
|
4058
|
+
* - A public `env` entry shadowed by a legacy metadata secret keeps the
|
|
4059
|
+
* pre-0.40 spawn precedence: the secret value wins in the child env.
|
|
4060
|
+
*/
|
|
4061
|
+
declare function resolveMcpServerLaunch(server: AgentProfileMcpServer, keys: KeyProvider | undefined, label: string): Promise<ResolvedMcpServerLaunch>;
|
|
4026
4062
|
//#endregion
|
|
4027
4063
|
//#region src/runtime/local-sandbox-client.d.ts
|
|
4028
4064
|
interface LocalSandboxClientOptions {
|
|
@@ -4621,7 +4657,7 @@ declare function createScopeAnalyst<D>(scope: Scope<Outcome<D>>, options: Create
|
|
|
4621
4657
|
interface RegistryAnalyzeProjection {
|
|
4622
4658
|
readonly runId: string;
|
|
4623
4659
|
readonly inputs: AnalystRunInputs;
|
|
4624
|
-
/** Optional `run` opts (e.g. `priorFindings`) forwarded verbatim to the registry. */
|
|
4660
|
+
/** Optional `run` opts (e.g. `priorFindings`, `chainFindings`) forwarded verbatim to the registry. */
|
|
4625
4661
|
readonly opts?: Parameters<AnalystRegistryLike['run']>[2];
|
|
4626
4662
|
}
|
|
4627
4663
|
/**
|
|
@@ -5381,11 +5417,12 @@ interface MaterializeLocalMcpOptions {
|
|
|
5381
5417
|
timeoutMs?: number;
|
|
5382
5418
|
/** Cap on a tool result's text fed back to the worker. Default 2000 chars. */
|
|
5383
5419
|
maxResultChars?: number;
|
|
5384
|
-
/** Resolves a server's DECLARED secrets
|
|
5385
|
-
*
|
|
5386
|
-
*
|
|
5387
|
-
*
|
|
5388
|
-
*
|
|
5420
|
+
/** Resolves a server's DECLARED secrets at spawn time — env entries of kind
|
|
5421
|
+
* `secret-ref` (interface ≥0.40) and the legacy `metadata.secretEnv` map
|
|
5422
|
+
* (env var name → provider key name). The resolved values reach ONLY the
|
|
5423
|
+
* child process env — never the profile, the logs, or an error message.
|
|
5424
|
+
* Fail-closed: a server declaring secrets without a provider (or with a
|
|
5425
|
+
* missing key) throws instead of booting keyless. */
|
|
5389
5426
|
keys?: KeyProvider;
|
|
5390
5427
|
/** Required trust decision for profiles that declare local MCP processes.
|
|
5391
5428
|
* Omit to refuse all profile-controlled host execution. Passing
|
|
@@ -6435,6 +6472,9 @@ interface DriverAgentOptions {
|
|
|
6435
6472
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
6436
6473
|
/** Per-child budget reserved from the conserved pool on each spawn. */
|
|
6437
6474
|
readonly perWorker: Budget;
|
|
6475
|
+
/** Independent completion check for work the driver performs itself. When present, the driver
|
|
6476
|
+
* receives `submit_result`; the first passing submission ends the loop and becomes the output. */
|
|
6477
|
+
readonly deliverable?: DeliverableSpec<unknown>;
|
|
6438
6478
|
/** Hard cap on simultaneously-LIVE workers — `spawn_agent` fails closed once this many are in
|
|
6439
6479
|
* flight (a concurrency fence on top of the conserved-pool fence). Omit/`<= 0` = no cap. */
|
|
6440
6480
|
readonly maxLiveWorkers?: number;
|
|
@@ -6541,6 +6581,8 @@ interface CoordinationMcpHandle {
|
|
|
6541
6581
|
readonly port: number;
|
|
6542
6582
|
/** The coordination tools' settled-worker ledger (for the driver's finalize). */
|
|
6543
6583
|
settled(): ReadonlyArray<SettledWorker>;
|
|
6584
|
+
/** The first driver-authored result whose injected independent check passed. */
|
|
6585
|
+
submittedResult: CoordinationTools['submittedResult'];
|
|
6544
6586
|
/** Post-loop drain of already-settled, unpulled children into the ledger — call before reading
|
|
6545
6587
|
* `settled()` for a finalize, so a delivered child the harness never awaited is not lost. */
|
|
6546
6588
|
drainResolved: CoordinationTools['drainResolved'];
|
|
@@ -6560,6 +6602,8 @@ declare function serveCoordinationMcp(opts: {
|
|
|
6560
6602
|
blobs: ResultBlobStore;
|
|
6561
6603
|
makeWorkerAgent: MakeWorkerAgent;
|
|
6562
6604
|
perWorker: Budget;
|
|
6605
|
+
/** Independent completion check exposed to the driver as `submit_result`. */
|
|
6606
|
+
deliverable?: DeliverableSpec<unknown>;
|
|
6563
6607
|
/** Hard cap on simultaneously-LIVE workers — `spawn_agent` fails closed once this many are in
|
|
6564
6608
|
* flight (a concurrency fence on top of the conserved-pool fence). Omit/`<= 0` = no cap. */
|
|
6565
6609
|
maxLiveWorkers?: number;
|
|
@@ -6612,6 +6656,8 @@ interface SupervisorAgentDeps {
|
|
|
6612
6656
|
readonly makeWorkerAgent: MakeWorkerAgent;
|
|
6613
6657
|
/** Per-child budget reserved from the conserved pool on each spawn. */
|
|
6614
6658
|
readonly perWorker: Budget;
|
|
6659
|
+
/** Independent completion check for direct driver work (`submit_result`). */
|
|
6660
|
+
readonly deliverable?: DeliverableSpec<unknown>;
|
|
6615
6661
|
/** Hard cap on simultaneously-LIVE workers across both arms — `spawn_agent` fails closed once
|
|
6616
6662
|
* this many are in flight (a concurrency fence on top of the conserved-pool fence; bounds live
|
|
6617
6663
|
* boxes/sandboxes, not total work). Omit/`<= 0` = no cap. */
|
|
@@ -6966,6 +7012,81 @@ declare function createInMemoryRunContext(opts?: InMemoryRunContextOptions): InM
|
|
|
6966
7012
|
*/
|
|
6967
7013
|
declare function createFileRunContext(dir: string, opts?: InMemoryRunContextOptions): RunContext;
|
|
6968
7014
|
//#endregion
|
|
7015
|
+
//#region src/runtime/supervise/run-layout.d.ts
|
|
7016
|
+
/**
|
|
7017
|
+
* The on-disk supervisor-run layout: `<root>/.agent/supervisor/<id>`.
|
|
7018
|
+
*
|
|
7019
|
+
* This is the durable, cross-process face of a supervisor run — the counterpart to the in-process
|
|
7020
|
+
* `Inbox` seam in `./inbox`. A run persists its state under one directory so that any OTHER process
|
|
7021
|
+
* can find it after the fact: `@tangle-network/traces` reads exactly this layout via
|
|
7022
|
+
* `traces analyze --supervisor-run-dir`, a restarted host can rehydrate a run it no longer holds
|
|
7023
|
+
* handles to, and a human can steer a live worker by appending one NDJSON line. Until now the
|
|
7024
|
+
* layout was defined only in the unpublished `loops` repo (`src/supervisor-control.ts`) — a
|
|
7025
|
+
* published reader depending on an unpublished writer's convention — so the contract is promoted
|
|
7026
|
+
* here, names preserved.
|
|
7027
|
+
*
|
|
7028
|
+
* `.agent` is the one dot-dir for ALL agent-owned state (skills already write
|
|
7029
|
+
* `.agent/hypotheses/`, `.agent/skill-runs.jsonl`); supervisor runs live beside them rather than
|
|
7030
|
+
* under a product-branded dir. Runs written by older writers used `.loops/supervisor/<id>` —
|
|
7031
|
+
* readers that must see those keep a legacy fallback; this writer never creates `.loops` again.
|
|
7032
|
+
*
|
|
7033
|
+
* Layout, relative to `supervisorRunDir(root, id)`:
|
|
7034
|
+
*
|
|
7035
|
+
* workers/<label>.inbox.ndjson down-leg steer/answer requests for one worker (durable inbox);
|
|
7036
|
+
* each line is a {@link WorkerSteerRequest}
|
|
7037
|
+
* workers/<label>.ndjson best-effort per-worker control-event log (delivery bookkeeping)
|
|
7038
|
+
*
|
|
7039
|
+
* Reads are tolerant by contract: a partial trailing line (a writer mid-append) or a corrupt line
|
|
7040
|
+
* never poisons the rest of the file — later valid lines still matter.
|
|
7041
|
+
*
|
|
7042
|
+
* Promoted from `loops/src/supervisor-control.ts`. The one deliberate difference: the loops version
|
|
7043
|
+
* resolved a worker id to its label through the run journal before writing a steer; that resolution
|
|
7044
|
+
* stays with the caller (it is journal-format-specific), so `writeWorkerSteer` here takes the worker
|
|
7045
|
+
* LABEL directly.
|
|
7046
|
+
*
|
|
7047
|
+
* @experimental
|
|
7048
|
+
*/
|
|
7049
|
+
/** One durable down-leg request appended to a worker's inbox file. */
|
|
7050
|
+
interface WorkerSteerRequest {
|
|
7051
|
+
readonly id: string;
|
|
7052
|
+
/** ISO timestamp of the append. */
|
|
7053
|
+
readonly at: string;
|
|
7054
|
+
/** Who asked — 'human', a brain label, a tool name. Provenance, not authorization. */
|
|
7055
|
+
readonly source: string;
|
|
7056
|
+
/** The worker LABEL the request targets (already resolved by the caller). */
|
|
7057
|
+
readonly worker: string;
|
|
7058
|
+
readonly message: string;
|
|
7059
|
+
}
|
|
7060
|
+
/** The root every supervisor run of one workspace lives under. */
|
|
7061
|
+
declare function supervisorRunsRoot(rootDir: string): string;
|
|
7062
|
+
/** The run directory every artifact of one supervisor run lives under. */
|
|
7063
|
+
declare function supervisorRunDir(rootDir: string, id: string): string;
|
|
7064
|
+
/**
|
|
7065
|
+
* Where a pre-rename writer put the same run (`<root>/.loops/supervisor/<id>`). Readers that must
|
|
7066
|
+
* see historical runs check {@link supervisorRunDir} first and fall back to this; nothing writes
|
|
7067
|
+
* here anymore.
|
|
7068
|
+
*/
|
|
7069
|
+
declare function legacySupervisorRunDir(rootDir: string, id: string): string;
|
|
7070
|
+
/** A worker label reduced to a safe filename stem. Empty labels get a stable fallback. */
|
|
7071
|
+
declare function safeWorkerFile(label: string): string;
|
|
7072
|
+
/** The durable inbox file for one worker of one run. */
|
|
7073
|
+
declare function workerInboxFile(rootDir: string, supervisorId: string, worker: string): string;
|
|
7074
|
+
/** Same, addressed from an already-known run directory (the reader's usual entry point). */
|
|
7075
|
+
declare function workerInboxFileFromEventDir(eventDir: string, worker: string): string;
|
|
7076
|
+
/**
|
|
7077
|
+
* Durably append one steer request to a worker's inbox and log the delivery attempt.
|
|
7078
|
+
*
|
|
7079
|
+
* The inbox append is the durable act; the control-event log is best-effort bookkeeping and may
|
|
7080
|
+
* silently fail without voiding the steer.
|
|
7081
|
+
*/
|
|
7082
|
+
declare function writeWorkerSteer(rootDir: string, supervisorId: string, worker: string, message: string, source?: string): {
|
|
7083
|
+
worker: string;
|
|
7084
|
+
file: string;
|
|
7085
|
+
request: WorkerSteerRequest;
|
|
7086
|
+
};
|
|
7087
|
+
/** Read every valid steer request in a worker's inbox. Corrupt or partial lines are skipped. */
|
|
7088
|
+
declare function readWorkerSteerRequests(eventDir: string, worker: string): WorkerSteerRequest[];
|
|
7089
|
+
//#endregion
|
|
6969
7090
|
//#region src/runtime/supervise/scope.d.ts
|
|
6970
7091
|
/** Construction args for `createScope`. The supervisor threads the shared pool, journal,
|
|
6971
7092
|
* blob store, and executor registry through; `depth`/`maxDepth` pair the runtime
|
|
@@ -7054,9 +7175,9 @@ interface SuperviseOptions {
|
|
|
7054
7175
|
readonly budget: Budget;
|
|
7055
7176
|
/** WHERE workers run — derives the worker seam. Provide this OR an explicit `makeWorkerAgent`. */
|
|
7056
7177
|
readonly backend?: ExecutorConfig;
|
|
7057
|
-
/** The completion
|
|
7058
|
-
* without it the supervisor
|
|
7059
|
-
*
|
|
7178
|
+
/** The independent completion check for backend-derived workers and direct supervisor
|
|
7179
|
+
* submissions. Strongly recommended: without it the supervisor cannot submit its own work and
|
|
7180
|
+
* backend-derived workers fall back to their own validity signal. */
|
|
7060
7181
|
readonly deliverable?: DeliverableSpec<unknown>;
|
|
7061
7182
|
/** Override the worker seam directly (tests / advanced) instead of deriving it from `backend`. */
|
|
7062
7183
|
readonly makeWorkerAgent?: MakeWorkerAgent;
|
|
@@ -7187,6 +7308,148 @@ interface TrajectoryAnalysis {
|
|
|
7187
7308
|
/** Collect the source's spans and run the agent-eval batch analyzers over them under one `runId`. */
|
|
7188
7309
|
declare function analyzeTrace(source: TraceSource, runId?: string): Promise<TrajectoryAnalysis>;
|
|
7189
7310
|
//#endregion
|
|
7311
|
+
//#region src/runtime/workspace.d.ts
|
|
7312
|
+
/** Command runner seam. Host code can use `localShell`; sandbox code can wrap `box.exec`. */
|
|
7313
|
+
type Shell = (args: ReadonlyArray<string>, cwd?: string) => Promise<{
|
|
7314
|
+
stdout: string;
|
|
7315
|
+
stderr: string;
|
|
7316
|
+
code: number;
|
|
7317
|
+
}>;
|
|
7318
|
+
type WorkspaceCommit = {
|
|
7319
|
+
readonly ok: true;
|
|
7320
|
+
readonly rev: string;
|
|
7321
|
+
} | {
|
|
7322
|
+
readonly ok: false;
|
|
7323
|
+
readonly conflict: string;
|
|
7324
|
+
};
|
|
7325
|
+
interface Workspace {
|
|
7326
|
+
readonly ref: string;
|
|
7327
|
+
materialize(dir: string): Promise<void>;
|
|
7328
|
+
commit(dir: string, message: string): Promise<WorkspaceCommit>;
|
|
7329
|
+
head(): Promise<string>;
|
|
7330
|
+
}
|
|
7331
|
+
/** Host-process `Shell`: run a command via `execFile`, resolving `{ stdout, stderr, code }` (never throws on non-zero exit). */
|
|
7332
|
+
declare function localShell(): Shell;
|
|
7333
|
+
interface GitWorkspaceOptions {
|
|
7334
|
+
readonly ref: string;
|
|
7335
|
+
readonly shell?: Shell;
|
|
7336
|
+
readonly branch?: string;
|
|
7337
|
+
readonly noHooks?: boolean;
|
|
7338
|
+
}
|
|
7339
|
+
/** A `Workspace` over a git checkout: materialize an isolated worktree at `ref`, commit produced changes (conflict-aware), and read `head` — hooks disabled, identity pinned. */
|
|
7340
|
+
declare function gitWorkspace(opts: GitWorkspaceOptions): Workspace;
|
|
7341
|
+
/** A jj-backed `Workspace` (Jujutsu, colocated with git for the durable remote).
|
|
7342
|
+
* Same port, same `Shell` — a drop-in for `gitWorkspace`. jj suits agent loops:
|
|
7343
|
+
* no staging area, and a first-class operation log (native resume/undo). Live use
|
|
7344
|
+
* requires `jj` on the `Shell`'s host. */
|
|
7345
|
+
declare function jjWorkspace(opts: GitWorkspaceOptions): Workspace;
|
|
7346
|
+
interface WorkspaceRun<T> {
|
|
7347
|
+
readonly valid: boolean;
|
|
7348
|
+
readonly value: T;
|
|
7349
|
+
/** Present when a commit was attempted (valid, or `commitOnInvalid`). */
|
|
7350
|
+
readonly commit?: WorkspaceCommit;
|
|
7351
|
+
}
|
|
7352
|
+
/**
|
|
7353
|
+
* Run a worker `body` inside a FRESH clone of a shared `Workspace`, then commit its work back
|
|
7354
|
+
* so the next worker (or the supervisor) builds on it. This is the seam that turns isolated
|
|
7355
|
+
* per-worker cwds into one compounding artifact — `body` gets a real materialized dir, its
|
|
7356
|
+
* delivery is committed to the shared ref iff it's valid (a conflict is returned, never thrown).
|
|
7357
|
+
* The clone is removed after; durable state lives only in the ref.
|
|
7358
|
+
*/
|
|
7359
|
+
declare function runInWorkspace<T>(ws: Workspace, body: (cwd: string) => Promise<{
|
|
7360
|
+
valid: boolean;
|
|
7361
|
+
value: T;
|
|
7362
|
+
message?: string;
|
|
7363
|
+
}>, opts?: {
|
|
7364
|
+
tmpPrefix?: string;
|
|
7365
|
+
commitOnInvalid?: boolean;
|
|
7366
|
+
}): Promise<WorkspaceRun<T>>;
|
|
7367
|
+
//#endregion
|
|
7368
|
+
//#region src/runtime/supervise/untracked-clone.d.ts
|
|
7369
|
+
interface UntrackedCopyStats {
|
|
7370
|
+
/** Files + symlinks that landed in the clone. */
|
|
7371
|
+
copied: number;
|
|
7372
|
+
/** Total regular-file bytes enumerated (pre-copy, so the size warning fires first). */
|
|
7373
|
+
bytes: number;
|
|
7374
|
+
}
|
|
7375
|
+
interface CopyOptions {
|
|
7376
|
+
warnBytes?: number;
|
|
7377
|
+
log?: (message: string) => void;
|
|
7378
|
+
}
|
|
7379
|
+
/**
|
|
7380
|
+
* Copy every untracked file of `sourceDir`'s working tree — including git-ignored
|
|
7381
|
+
* build outputs (`git ls-files --others` with NO exclude flags lists both) — into
|
|
7382
|
+
* `cloneDir`, then shield the copied paths from the clone's `git add -A` via
|
|
7383
|
+
* `.git/info/exclude`. Nested git repos (listed as bare `dir/` entries), any path
|
|
7384
|
+
* containing a `.git` segment, and loop-infra dirs are skipped.
|
|
7385
|
+
*/
|
|
7386
|
+
declare function copyUntrackedIntoClone(sourceDir: string, cloneDir: string, opts?: CopyOptions): UntrackedCopyStats;
|
|
7387
|
+
/**
|
|
7388
|
+
* Wrap a `Workspace` so every `materialize` (the per-worker `git clone` inside
|
|
7389
|
+
* `runInWorkspace`) is followed by the untracked-artifact copy above — the clone
|
|
7390
|
+
* the worker starts in matches the source WORKING TREE, not just its history.
|
|
7391
|
+
* `commit`/`head` pass through untouched, so delivery semantics are unchanged.
|
|
7392
|
+
*/
|
|
7393
|
+
declare function withUntrackedArtifacts(ws: Workspace, sourceDir: string, log?: (message: string) => void): Workspace;
|
|
7394
|
+
//#endregion
|
|
7395
|
+
//#region src/runtime/supervise/worker-evidence.d.ts
|
|
7396
|
+
/**
|
|
7397
|
+
* Evidence-rich worker settlement.
|
|
7398
|
+
*
|
|
7399
|
+
* The supervisor BRAIN decides respawn/steer/stop from what a settled worker
|
|
7400
|
+
* shows it. A bare `finished passed=false patchBytes=6138` starves that
|
|
7401
|
+
* decision: the brain cannot quote the failing assertion, so its next worker
|
|
7402
|
+
* goal is authored blind. This module composes the bounded evidence block a
|
|
7403
|
+
* settling worker appends to its event stream and — on failure — returns as
|
|
7404
|
+
* its output artifact, so `observe_agent` hands the brain the failing verify
|
|
7405
|
+
* tail, a diff summary, and the worker's final note instead of counters.
|
|
7406
|
+
*/
|
|
7407
|
+
/** Hard cap on one worker's evidence block so the brain's context cannot blow up. */
|
|
7408
|
+
declare const EVIDENCE_MAX_CHARS = 3000;
|
|
7409
|
+
/** Tail of the verify output — the failing assertion lives at the END of a test log. */
|
|
7410
|
+
declare const VERIFY_TAIL_CHARS = 1200;
|
|
7411
|
+
/** Cap on the worker's closing note inside the evidence block. */
|
|
7412
|
+
declare const NOTE_MAX_CHARS = 300;
|
|
7413
|
+
interface WorkerEvidenceInput {
|
|
7414
|
+
readonly passed: boolean;
|
|
7415
|
+
readonly testPassed: boolean;
|
|
7416
|
+
readonly typecheckPassed: boolean;
|
|
7417
|
+
/** Combined stdout+stderr of the verify/test command (already backend-capped). */
|
|
7418
|
+
readonly testOutput: string;
|
|
7419
|
+
readonly typecheckOutput: string;
|
|
7420
|
+
readonly patch: string;
|
|
7421
|
+
/** The worker's own closing commentary, when the backend surfaces one. */
|
|
7422
|
+
readonly reviewerNotes?: string;
|
|
7423
|
+
}
|
|
7424
|
+
/**
|
|
7425
|
+
* Compose the settle evidence block. Section order is priority order under the
|
|
7426
|
+
* hard cap: the verify tail (what failed) survives before the diff head (what
|
|
7427
|
+
* was tried) and the worker note — a truncated diff is recoverable from the
|
|
7428
|
+
* persisted patch file, a truncated failing assertion is not recoverable at all.
|
|
7429
|
+
*/
|
|
7430
|
+
declare function composeWorkerEvidence(input: WorkerEvidenceInput): string;
|
|
7431
|
+
/**
|
|
7432
|
+
* What a settled worker exposes as its output artifact (the blob the brain's
|
|
7433
|
+
* `observe_agent` reads). A passing worker's output is its patch — the
|
|
7434
|
+
* deliverable. A failing worker's output is its evidence block. A passing
|
|
7435
|
+
* worker with NO edits — the post-delivery read-only reviewer: the workspace
|
|
7436
|
+
* already holds a delivered fix, so the gate stays green under an empty diff —
|
|
7437
|
+
* would otherwise settle with an EMPTY output and its review would be lost, so
|
|
7438
|
+
* it exposes its evidence block instead (the worker note carries the review).
|
|
7439
|
+
*/
|
|
7440
|
+
declare function settledWorkerOut(input: {
|
|
7441
|
+
readonly passed: boolean;
|
|
7442
|
+
readonly patch: string;
|
|
7443
|
+
readonly evidence: string;
|
|
7444
|
+
}): string;
|
|
7445
|
+
/**
|
|
7446
|
+
* The worker's closing commentary off a local harness run: the TAIL of its
|
|
7447
|
+
* stdout (falling back to stderr), bounded to the note cap so a reviewer's
|
|
7448
|
+
* final verdict line — written last — survives into the evidence block
|
|
7449
|
+
* (`composeWorkerEvidence` keeps the note's FIRST `NOTE_MAX_CHARS` chars).
|
|
7450
|
+
*/
|
|
7451
|
+
declare function closingWorkerNote(stdout: string, stderr: string): string | undefined;
|
|
7452
|
+
//#endregion
|
|
7190
7453
|
//#region src/runtime/supervise/worktree-fanout.d.ts
|
|
7191
7454
|
/** @experimental One authored harness profile in a worktree fanout: the §1.5 profile + which local
|
|
7192
7455
|
* harness CLI drives it. The supervisor authors `profile` per sub-task; `harness` chooses the leaf. */
|
|
@@ -7313,62 +7576,5 @@ interface VerifierEnvironmentOptions {
|
|
|
7313
7576
|
/** Any checkable task as an `Environment`, no tool surface required: the artifact is the worker's answer and the domain is one deployable `check` over it. */
|
|
7314
7577
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
7315
7578
|
//#endregion
|
|
7316
|
-
//#region src/runtime/workspace.d.ts
|
|
7317
|
-
|
|
7318
|
-
type Shell = (args: ReadonlyArray<string>, cwd?: string) => Promise<{
|
|
7319
|
-
stdout: string;
|
|
7320
|
-
stderr: string;
|
|
7321
|
-
code: number;
|
|
7322
|
-
}>;
|
|
7323
|
-
type WorkspaceCommit = {
|
|
7324
|
-
readonly ok: true;
|
|
7325
|
-
readonly rev: string;
|
|
7326
|
-
} | {
|
|
7327
|
-
readonly ok: false;
|
|
7328
|
-
readonly conflict: string;
|
|
7329
|
-
};
|
|
7330
|
-
interface Workspace {
|
|
7331
|
-
readonly ref: string;
|
|
7332
|
-
materialize(dir: string): Promise<void>;
|
|
7333
|
-
commit(dir: string, message: string): Promise<WorkspaceCommit>;
|
|
7334
|
-
head(): Promise<string>;
|
|
7335
|
-
}
|
|
7336
|
-
/** Host-process `Shell`: run a command via `execFile`, resolving `{ stdout, stderr, code }` (never throws on non-zero exit). */
|
|
7337
|
-
declare function localShell(): Shell;
|
|
7338
|
-
interface GitWorkspaceOptions {
|
|
7339
|
-
readonly ref: string;
|
|
7340
|
-
readonly shell?: Shell;
|
|
7341
|
-
readonly branch?: string;
|
|
7342
|
-
readonly noHooks?: boolean;
|
|
7343
|
-
}
|
|
7344
|
-
/** A `Workspace` over a git checkout: materialize an isolated worktree at `ref`, commit produced changes (conflict-aware), and read `head` — hooks disabled, identity pinned. */
|
|
7345
|
-
declare function gitWorkspace(opts: GitWorkspaceOptions): Workspace;
|
|
7346
|
-
/** A jj-backed `Workspace` (Jujutsu, colocated with git for the durable remote).
|
|
7347
|
-
* Same port, same `Shell` — a drop-in for `gitWorkspace`. jj suits agent loops:
|
|
7348
|
-
* no staging area, and a first-class operation log (native resume/undo). Live use
|
|
7349
|
-
* requires `jj` on the `Shell`'s host. */
|
|
7350
|
-
declare function jjWorkspace(opts: GitWorkspaceOptions): Workspace;
|
|
7351
|
-
interface WorkspaceRun<T> {
|
|
7352
|
-
readonly valid: boolean;
|
|
7353
|
-
readonly value: T;
|
|
7354
|
-
/** Present when a commit was attempted (valid, or `commitOnInvalid`). */
|
|
7355
|
-
readonly commit?: WorkspaceCommit;
|
|
7356
|
-
}
|
|
7357
|
-
/**
|
|
7358
|
-
* Run a worker `body` inside a FRESH clone of a shared `Workspace`, then commit its work back
|
|
7359
|
-
* so the next worker (or the supervisor) builds on it. This is the seam that turns isolated
|
|
7360
|
-
* per-worker cwds into one compounding artifact — `body` gets a real materialized dir, its
|
|
7361
|
-
* delivery is committed to the shared ref iff it's valid (a conflict is returned, never thrown).
|
|
7362
|
-
* The clone is removed after; durable state lives only in the ref.
|
|
7363
|
-
*/
|
|
7364
|
-
declare function runInWorkspace<T>(ws: Workspace, body: (cwd: string) => Promise<{
|
|
7365
|
-
valid: boolean;
|
|
7366
|
-
value: T;
|
|
7367
|
-
message?: string;
|
|
7368
|
-
}>, opts?: {
|
|
7369
|
-
tmpPrefix?: string;
|
|
7370
|
-
commitOnInvalid?: boolean;
|
|
7371
|
-
}): Promise<WorkspaceRun<T>>;
|
|
7372
|
-
//#endregion
|
|
7373
|
-
export { effectiveConcurrency as $, RenderCorpusToInstructionsOptions as $a, DetachedWinnerSelection as $c, LoopOptionsForDispatch as $i, DelegationStatus as $l, ApplyContinuation as $n, PairwiseVerdict as $o, fanout as $r, createDelegateHandler as $s, authoredWorker as $t, ValidationError as $u, createSupervisor as A, CombinatorShape as Aa, DiffOptions as Ac, AgenticTool as Ai, SubmitInput as Al, CollectedAgentTurn as An, LeaderboardBenchmarkAdapter as Ao, mapSandboxEvent as Ar, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as As, sampleFromSettled as At, DELEGATION_TRACE_MAX_BYTES as Au, createFileRunContext as B, FanoutSynthesis as Ba, JsonRpcMessage as Bc, StrategyResult as Bi, DelegateResearchResult as Bl, EvolutionGeneration as Bn, CompletionPolicy as Bo, PromotionGateOptions as Br, SettledWorker as Bs, CoordinationLog as Bt, DelegationStateCorruptError as Bu, failuresAnalyst as C, Observation as Ca, piExecutor as Cc, Environment as Ci, DelegationRecord as Cl, resolveEntrySymbol as Cn, RunPersonifiedOptions as Co, SandboxLineage as Cr, WaterfallSpan as Cs, StopRule as Ct, buildLoopOtelSpans as Cu, worktreeFanout as D, observe as Da, WorktreeHarnessResult as Dc, AgenticRunResult as Di, DelegationRunContext as Dl, visibleCheckScore as Dn, DefinedLeaderboard as Do, SandboxToolPartState as Dr, CoordinationEvent as Ds, createProgressTracker as Dt, exportEvalRuns as Du, WorktreeFanoutOptions as E, defaultAnalystInstruction as Ea, WorktreeCommandResult as Ec, AgenticOptions as Ei, DelegationResumeTick as El, structuralRollout as En, ShapeRegistry as Eo, createSandboxLineage as Er, AnalystRegistry as Es, anyOf as Et, createOtelExporter as Eu, createScope as F, EqualKOnCost as Fa, captureWorktreeDiff as Fc, ShotSpec as Fi, DelegateCodeResult as Fl, ChampionPolicy as Fn, LeaderboardScore as Fo, probeSandboxCapabilities as Fr, QuestionLevel as Fs, bestDelivered as Ft, buildDelegationTraceSpans as Fu, WorktreePatchArtifact as G, LoopUntilState as Ga, FeedbackStore as Gc, defineStrategy as Gi, DelegationError as Gl, pickChampion as Gn, stopSentinel as Go, builtinShapes as Gr, createInProcessTransport as Gs, ReservationTicket as Gt, AgentEvalError$1 as Gu, PatchDeliverableOptions as H, FlatWidenGate as Ha, McpToolDescriptor$1 as Hc, SurfaceScore as Hi, DelegateUiAuditConfig as Hl, ReproductionCheck as Hn, completionAuthorizes as Ho, promotionGate as Hr, createCoordinationTools as Hs, PriorCoordination as Ht, FileDelegationStore as Hu, settledToIteration as I, EqualKOnCostOptions as Ia, createWorktree as Ic, Strategy as Ii, DelegateFeedbackArgs as Il, EvolutionArchiveNode as In, LeaderboardSpec as Io, AcquireOptions as Ir, QuestionOption as Is, collectDelivered as It, capDelegationTrace as Iu, ConcurrencyCaps as J, PanelSpec as Ja, CoderDelegate as Jc, runAgentic as Ji, DelegationHistoryEntry as Jl, AuthorStrategyOptions as Jn, Interval as Jo, definePersona as Jr, DELEGATE_INPUT_SCHEMA as Js, AuthoredProfile as Jt, ConfigError as Ju, createWorktreeCliExecutor as K, Panel as Ka, InMemoryFeedbackStore as Kc, depthStrategy as Ki, DelegationFeedbackSnapshot as Kl, runStrategyEvolution as Kn, AxisScoresOf as Ko, createShapeRegistry as Kr, createMcpServer as Ks, createBudgetPool as Kt, AgentEvalErrorCode as Ku, InMemoryRunContext as L, EqualKVerdict as La, removeWorktree as Lc, StrategyArtifacts as Li, DelegateFeedbackResult as Ll, EvolutionAuthor as Ln, defineLeaderboard as Lo, acquireSandbox as Lr, QuestionPolicy as Ls, pickBestDelivered as Lt, composeLoopTraceEmitters as Lu, supervise as M, CorpusFilter as Ma, GitRunner as Mc, CorpusReadbackOptions as Mi, hashIdempotencyInput as Ml, collectAgentTurn as Mn, LeaderboardIterationInfo as Mo, sumSandboxUsage as Mr, MakeWorkerAgent as Ms, FinalizeContext as Mt, DelegationTraceCaps as Mu, workerFromBackend as N, CorpusRecord as Na, RemoveWorktreeOptions as Nc, RunAgenticOptions as Ni, DelegateCodeArgs as Nl, streamAgentTurn as Nn, LeaderboardRunContext as No, CriuCapableClient as Nr, Question as Ns, FinalizerSettled as Nt, DelegationTraceCollector as Nu, TrajectoryAnalysis as O, renderReport as Oa, WorktreeProfileMaterializationReceipt as Oc, AgenticSurface as Oi, DelegationTaskQueue as Ol, AgentTurnBackend as On, LeaderboardBenchScore as Oo, createSandboxToolPartState as Or, CoordinationTools as Os, noProgressFor as Ot, loopEventToOtelSpan as Ou, ScopeArgs as P, EqualKArm as Pa, WorktreeHandle as Pc, ShotPersona as Pi, DelegateCodeConfig as Pl, ChampionPick as Pn, LeaderboardScenario as Po, SandboxCapabilities as Pr, QuestionDecision as Ps, SupervisorFinalizer as Pt, DelegationTraceSpan as Pu, RollingDispatchOptions as Q, RenderCorpusToInstructions as Qa, DetachedSessionDelegateOptions as Qc, LoopDispatchOptions as Qi, DelegationResultPayload as Ql, strategyAuthorContract as Qn, PairwiseOptions as Qo, renderCorpusToInstructions as Qr, DelegateResult as Qs, assessAuthoredProfile as Qt, RuntimeRunStateError as Qu, InMemoryRunContextOptions as R, Fanout as Ra, DeliverableSpec as Rc, StrategyCtx as Ri, DelegateResearchArgs as Rl, EvolutionBandInfo as Rn, CompletionAnalyst as Ro, ResolveSandboxClientOptions as Rr, QuestionRecord as Rs, runFinalizer as Rt, createDelegationTraceCollector as Ru, SurfaceWorkerOut as S, harvestCorpus as Sa, PiSeam as Sc, BenchmarkTaskRow as Si, DelegationArgs as Sl, officialChecksFromMeta as Sn, RunPersonified as So, ForkCapableBox as Sr, WaterfallReport as Ss, StopDecision as St, RuntimeEventOtelOptions as Su, AuthoredHarness as T, ObserveOptions as Ta, WorktreeCheckRunner as Tc, runBenchmark as Ti, DelegationResumeDriver as Tl, selectBestIndex as Tn, ShapeContext as To, SessionCapableBox as Tr, AnalystFindingEvent as Ts, allWorkersStalled as Tt, buildRuntimeEventOtelSpans as Tu, patchDelivered as U, LoopUntil as Ua, McpTransport as Uc, adaptiveRefine as Ui, DelegateUiAuditResult as Ul, StrategyEvolutionConfig as Un, deterministicCompletion as Uo, equalKOnCost as Ur, McpServer as Us, BudgetPool as Ut, FileDelegationStoreOptions as Uu, createInMemoryRunContext as V, FanoutWinnerSelector as Va, JsonRpcResponse as Vc, StrategyShotResult as Vi, DelegateUiAuditArgs as Vl, EvolutionReport as Vn, CompletionVerdict as Vo, PromotionVerdict as Vr, WorkerWatchOptions as Vs, FileCoordinationLog as Vt, DelegationStore as Vu, WorktreeCliExecutorOptions as W, LoopUntilSpec as Wa, FeedbackEvent as Wc, breadthStrategy as Wi, DelegateUiAuditRoute as Wl, discriminatingMeans as Wn, sentinelCompletion as Wo, trajectoryReport as Wr, McpServerOptions as Ws, BudgetReadout as Wt, InMemoryDelegationStore as Wu, DispatchStopReason as X, Pipeline as Xa, CoderReviewer as Xc, sampleThenRefine as Xi, DelegationProfile as Xl, assertStrategyContract as Xn, LeaderboardOptions as Xo, FileCorpus as Xr, DelegateArgs as Xs, ProfileRichnessThresholds as Xt, NotFoundError as Xu, DispatchReport as Y, PanelVerdict as Ya, CoderReview as Yc, sample as Yi, DelegationHistoryResult as Yl, AuthoredStrategy as Yn, Leaderboard as Yo, runPersonified as Yr, DELEGATE_TOOL_NAME as Ys, ProfileRichness as Yt, JudgeError as Yu, DispatchUnit as Z, PipelineStage as Za, DelegateRunCtx as Zc, LoopCampaignDispatchOptions as Zi, DelegationProgress as Zl, authorStrategy as Zn, LeaderboardRow as Zo, InMemoryCorpus as Zr, DelegateHandlerOptions as Zs, asAuthoredProfile as Zt, PlannerError as Zu, VerifierEnvironmentOptions as _, InProcessSandboxClientOptions as _a, createSteerableSandboxSession as _c, replaySpawnTree as _d, BenchmarkCell as _i, createDetachedTurnResumeDriver as _l, composeCheckSources as _n, LoopShape as _o, SandboxRun as _r, areaUnderCurve as _s, PlateauOptions as _t, LoopSpanNode as _u, SandboxInstance$1 as a, runAgentRounds as aa, ExecutorConfig as ac, PublishOptions as ad, verify as ai, DelegationExecutor as al, CheckRunContext as an, TrajectoryReport as ao, LocalMcpMaterialization as ar, renderLeaderboardMarkdown as as, delegate as at, ResearchSource as au, SuperviseSurfaceResult as b, HarvestFailure as ba, createInbox as bc, BenchmarkReport as bi, parseDetachedSessionRef as bl, filterAuthoredAsserts as bn, PersonaContext as bo, openSandboxRun as br, renderAnytimeTable as bs, ProgressTrackerOptions as bt, OtelExporter as bu, GitWorkspaceOptions as c, localSandboxClient as ca, RouterToolsSeam as cc, defaultToolDetectors as cd, RegistryAnalyzeProjection as ci, SiblingSandboxExecutorOptions as cl, CheckSourceCtx as cn, Verify as co, McpToolDescriptor as cr, AuditIntentInput as cs, SupervisorProfile as ct, TraceContext as cu, WorkspaceCommit as d, mcpSecretEnvMetadataKey as da, createExecutor as dc, FileSpawnJournal as dd, createScopeAnalyst as di, DetachedSessionRefParts as dl, StructuralRolloutMessage as dn, WidenDecision as do, connectStdioMcp as dr, auditIntent as ds, serveCoordinationMcp as dt, traceContextToEnv as du, loopCampaignDispatch as ea, validateDelegateArgs as ec, CoderOutput as ed, flatWidenGate as ei, SettleDetachedCoderTurnOptions as el, defaultProfileRichnessThresholds as en, ScopeAnalyst as eo, DumbDriverOptions as er, ProfileKeyOf as es, freeSlots as et, DelegationStatusArgs as eu, WorkspaceRun as f, resolveSecretEnv as fa, createExecutorRegistry as fc, InMemoryResultBlobStore as fd, registryScopeAnalyst as fi, DetachedTurn as fl, StructuralRolloutPolicy as fn, WidenLineage as fo, materializeLocalMcp as fr, defaultAuditorInstruction as fs, DriverAgentOptions as ft, EvalRunEvent as fu, runInWorkspace as g, InProcessPromptCtx as ga, SteerableSandboxSession as gc, pendingWaits as gd, sanitizeMcpToolSchema as gi, RunDetachedTurnOptions as gl, compareCheckOutcomes as gn, DefinePersonaInput as go, OpenSandboxRunPromptOptions as gr, anytimeReport as gs, NoProgressForOptions as gt, INTELLIGENCE_WIRE_VERSION as gu, localShell as h, InProcessOnPrompt as ha, SteerableSandboxArgs as hc, materializeTreeView as hd, createMcpEnvironment as hi, DriveTurnTick as hl, canDisplace as hn, DefinePersona as ho, OpenSandboxRunOptions as hr, AnytimeTaskCurve as hs, AllWorkersStalledOptions as ht, EvalRunsExportResult as hu, SandboxEvent$1 as i, defaultSelectWinner as ia, CliWorktreeSeam as ic, EventBus as id, selectValidWinner as ii, settleDetachedCoderTurn as il, CheckOutcome as in, TrajectoryNode as io, naiveDriver as ir, renderLeaderboardHtml as is, defaultDelegateBudget as it, ResearchOutputShape as iu, SuperviseOptions as j, Corpus as ja, DiffResult as jc, ArtifactHandle as ji, SubmitOutput as jl, StreamAgentTurnOptions as jn, LeaderboardFlagSpec as jo, mapSandboxToolEvent as jr, DownMessageEvent as js, DeliveredOutput as jt, DELEGATION_TRACE_MAX_SPANS as ju, analyzeTrace as k, AssertTraceDerivedFindings as ka, CreateWorktreeOptions as kc, AgenticTask as ki, DelegationTaskQueueOptions as kl, AgentTurnUsage as kn, LeaderboardBenchTask as ko, extractLlmCallEvent as kr, CoordinationToolsOptions as ks, plateau as kt, CappedDelegationTrace as ku, Shell as l, KeyProvider as la, SandboxSeam as lc, watchTrace as ld, assertTraceDerivedFindings as li, createFleetWorkspaceExecutor as ll, RepairStop as ln, VerifySpec as lo, StdioMcpConnection as lr, AuditIntentOptions as ls, supervisorAgent as lt, createPropagatingTraceEmitter as lu, jjWorkspace as m, inlineSandboxClient as ma, SandboxSteeringOptions as mc, contentAddress as md, McpEnvironmentOptions as mi, DriveTurnCapableBox as ml, VisibleCheck as mn, WinnerStrategy as mo, OpenSandboxRunBeforeStartContext as mr, AnytimeStrategySummary as ms, finalizeBestDelivered as mt, EvalRunsExportConfig as mu, AnalystFinding$1 as n, RunAgentRoundsOptions as na, CliSeam as nc, BusRecord as nd, panel as ni, coderTaskFromArgs as nl, supervisorInstructions as nn, ScopeWidenGate as no, SteeringDecision as nr, leaderboard as ns, rollingDispatch as nt, FeedbackRating as nu, computeFindingId$1 as o, runLoop as oa, ProviderSeam as oc, createEventBus as od, widen as oi, FleetHandle as ol, CheckRunner as on, TrajectoryReportFn as oo, MaterializeLocalMcpOptions as or, renderLeaderboardSvg as os, DriveHarness as ot, UiAuditLensFilter as ou, gitWorkspace as p, secretEnvOfMcpServer as pa, DEFAULT_SANDBOX_STEERING_MAX_TURNS as pc, InMemorySpawnJournal as pd, McpEndpoint as pi, DetachedTurnResumeDriverOptions as pl, StructuralRolloutResult as pn, WidenSpec as po, Deliverable as pr, AnytimeReport as ps, driverAgent as pt, EvalRunGeneration as pu, assertModelAllowed as q, PanelJudge as qa, eventToSnapshot as qc, refine as qi, DelegationHistoryArgs as ql, selectChampion as qn, GroupOf as qo, registerShape as qr, DELEGATE_DESCRIPTION as qs, spendFromUsageEvents as qt, BackendTransportError as qu, CreateSandboxOptions$1 as r, RunLoopOptions as ra, CliWorktreeBridgeSeam as rc, BusStats as rd, pipeline as ri, detachedSessionDelegate as rl, CheckExecChannel as rn, SteerContext as ro, dumbDriver as rr, pairwiseSignificance as rs, DelegateOptions as rt, FeedbackRefersTo as ru, makeFinding$1 as s, LocalSandboxClientOptions as sa, RouterSeam as sc, WatchTraceOptions as sd, CreateScopeAnalystOptions as si, FleetWorkspaceExecutorOptions as sl, CheckSource as sn, TrajectoryReportOptions as so, McpSpawnFault as sr, renderPairwiseMarkdown as ss, SupervisorAgentDeps as st, UiAuditorDelegationOutput as su, AgentProfile$2 as t, loopDispatch as ta, BridgeSeam as tc, BusEvent as td, loopUntil as ti, UiAuditorDelegate as tl, profileRichnessFinding as tn, ScopeAnalyzeInput as to, NaiveDriverOptions as tr, ScoreOf as ts, queueOf as tt, DelegationStatusResult as tu, Workspace as u, envKeyProvider as ua, cliWorktreeExecutor as uc, FileResultBlobStore as ud, buildSteerContext as ui, createSiblingSandboxExecutor as ul, StructuralRolloutConfig as un, Widen as uo, StdioMcpServerSpec as ur, IntentAudit as us, CoordinationMcpHandle as ut, readTraceContextFromEnv as uu, createVerifierEnvironment as v, inProcessSandboxClient as va, Inbox as vc, BenchmarkConfig as vi, detachedTurnEvents as vl, defaultExtractCandidate as vn, Outcome as vo, SandboxRunAbortError as vr, bestSoFar as vs, ProgressSample as vt, OtelAttribute as vu, superviseSurface as w, ObserveInput as wa, piSeamKey as wc, printBenchmarkReport as wi, DelegationResumeContext as wl, sandboxCheckRunner as wn, ShapeBudget as wo, SandboxLineageHandle as wr, createWaterfallCollector as ws, allOf as wt, buildLoopSpanNodes as wu, SurfaceWorkerConfig as x, HarvestReport as xa, PI_RUNTIME as xc, BenchmarkStrategySummary as xi, runDetachedTurn as xl, modelAuthoredChecks as xn, PersonaExecutors as xo, CheckpointCapableBox as xr, WaterfallCollector as xs, ProgressView as xt, OtelSpan as xu, SuperviseSurfaceOptions as y, HarvestCorpusOptions as ya, InboxMessage as yc, BenchmarkLift as yi, formatDetachedSessionRef as yl, defaultStructuralRolloutPolicy as yn, Persona as yo, TurnResult as yr, plateauLength as ys, ProgressTracker as yt, OtelExportConfig as yu, RunContext as z, FanoutOptions as za, gateOnDeliverable as zc, StrategyMessage as zi, DelegateResearchConfig as zl, EvolutionCandidate as zn, CompletionEvidence as zo, resolveSandboxClient as zr, QuestionUrgency as zs, runTree as zt, DelegationPersistenceError as zu };
|
|
7374
|
-
//# sourceMappingURL=index-CFJ_1m1U.d.ts.map
|
|
7579
|
+
export { supervisorRunsRoot as $, Corpus as $a, DiffResult as $c, RunAgenticOptions as $i, DelegateCodeArgs as $l, streamAgentTurn as $n, LeaderboardFlagSpec as $o, CriuCapableClient as $r, DownMessageEvent as $s, FinalizerSettled as $t, DelegationTraceCollector as $u, GitWorkspaceOptions as A, ResolvedMcpServerLaunch as Aa, RouterToolsSeam as Ac, DeliverableSpec as Ad, buildSteerContext as Ai, createSiblingSandboxExecutor as Al, StructuralRolloutConfig as An, Verify as Ao, StdioMcpServerSpec as Ar, AuditIntentInput as As, CoordinationMcpHandle as At, readTraceContextFromEnv as Au, analyzeTrace as B, inProcessSandboxClient as Ba, Inbox as Bc, BenchmarkReport as Bi, parseDetachedSessionRef as Bl, filterAuthoredAsserts as Bn, Outcome as Bo, openSandboxRun as Br, bestSoFar as Bs, ProgressTrackerOptions as Bt, OtelExporter as Bu, closingWorkerNote as C, RunLoopOptions as Ca, BridgeSeam as Cc, BusStats as Cd, pipeline as Ci, detachedSessionDelegate as Cl, CheckExecChannel as Cn, ScopeAnalyzeInput as Co, dumbDriver as Cr, ScoreOf as Cs, DelegateOptions as Ct, FeedbackRefersTo as Cu, UntrackedCopyStats as D, LocalSandboxClientOptions as Da, ExecutorConfig as Dc, WatchTraceOptions as Dd, CreateScopeAnalystOptions as Di, FleetWorkspaceExecutorOptions as Dl, CheckSource as Dn, TrajectoryReport as Do, McpSpawnFault as Dr, renderLeaderboardMarkdown as Ds, SupervisorAgentDeps as Dt, UiAuditorDelegationOutput as Du, CopyOptions as E, runLoop as Ea, CliWorktreeSeam as Ec, createEventBus as Ed, widen as Ei, FleetHandle as El, CheckRunner as En, TrajectoryNode as Eo, MaterializeLocalMcpOptions as Er, renderLeaderboardHtml as Es, DriveHarness as Et, UiAuditLensFilter as Eu, gitWorkspace as F, secretEnvOfMcpServer as Fa, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Fc, InMemorySpawnJournal as Fd, createMcpEnvironment as Fi, DriveTurnTick as Fl, canDisplace as Fn, WidenSpec as Fo, OpenSandboxRunOptions as Fr, AnytimeReport as Fs, AllWorkersStalledOptions as Ft, EvalRunsExportResult as Fu, ScopeArgs as G, Observation as Ga, piExecutor as Gc, runBenchmark as Gi, DelegationResumeDriver as Gl, selectBestIndex as Gn, RunPersonifiedOptions as Go, SessionCapableBox as Gr, WaterfallSpan as Gs, allWorkersStalled as Gt, buildRuntimeEventOtelSpans as Gu, SuperviseOptions as H, HarvestFailure as Ha, createInbox as Hc, BenchmarkTaskRow as Hi, DelegationArgs as Hl, officialChecksFromMeta as Hn, PersonaContext as Ho, ForkCapableBox as Hr, renderAnytimeTable as Hs, StopDecision as Ht, RuntimeEventOtelOptions as Hu, jjWorkspace as I, inlineSandboxClient as Ia, SandboxSteeringOptions as Ic, contentAddress as Id, sanitizeMcpToolSchema as Ii, RunDetachedTurnOptions as Il, compareCheckOutcomes as In, WinnerStrategy as Io, OpenSandboxRunPromptOptions as Ir, AnytimeStrategySummary as Is, NoProgressForOptions as It, INTELLIGENCE_WIRE_VERSION as Iu, WorkerSteerRequest as J, defaultAnalystInstruction as Ja, WorktreeCommandResult as Jc, AgenticSurface as Ji, DelegationTaskQueue as Jl, AgentTurnBackend as Jn, ShapeRegistry as Jo, createSandboxToolPartState as Jr, AnalystRegistry as Js, noProgressFor as Jt, loopEventToOtelSpan as Ju, createScope as K, ObserveInput as Ka, piSeamKey as Kc, AgenticOptions as Ki, DelegationResumeTick as Kl, structuralRollout as Kn, ShapeBudget as Ko, createSandboxLineage as Kr, createWaterfallCollector as Ks, anyOf as Kt, createOtelExporter as Ku, localShell as L, InProcessOnPrompt as La, SteerableSandboxArgs as Lc, materializeTreeView as Ld, BenchmarkCell as Li, createDetachedTurnResumeDriver as Ll, composeCheckSources as Ln, DefinePersona as Lo, SandboxRun as Lr, AnytimeTaskCurve as Ls, PlateauOptions as Lt, LoopSpanNode as Lu, Workspace as M, mcpSecretEnvMetadataKey as Ma, cliWorktreeExecutor as Mc, FileResultBlobStore as Md, registryScopeAnalyst as Mi, DetachedTurn as Ml, StructuralRolloutPolicy as Mn, Widen as Mo, materializeLocalMcp as Mr, IntentAudit as Ms, DriverAgentOptions as Mt, EvalRunEvent as Mu, WorkspaceCommit as N, resolveMcpServerLaunch as Na, createExecutor as Nc, FileSpawnJournal as Nd, McpEndpoint as Ni, DetachedTurnResumeDriverOptions as Nl, StructuralRolloutResult as Nn, WidenDecision as No, Deliverable as Nr, auditIntent as Ns, driverAgent as Nt, EvalRunGeneration as Nu, copyUntrackedIntoClone as O, localSandboxClient as Oa, ProviderSeam as Oc, defaultToolDetectors as Od, RegistryAnalyzeProjection as Oi, SiblingSandboxExecutorOptions as Ol, CheckSourceCtx as On, TrajectoryReportFn as Oo, McpToolDescriptor as Or, renderLeaderboardSvg as Os, SupervisorProfile as Ot, TraceContext as Ou, WorkspaceRun as P, resolveSecretEnv as Pa, createExecutorRegistry as Pc, InMemoryResultBlobStore as Pd, McpEnvironmentOptions as Pi, DriveTurnCapableBox as Pl, VisibleCheck as Pn, WidenLineage as Po, OpenSandboxRunBeforeStartContext as Pr, defaultAuditorInstruction as Ps, finalizeBestDelivered as Pt, EvalRunsExportConfig as Pu, supervisorRunDir as Q, CombinatorShape as Qa, DiffOptions as Qc, CorpusReadbackOptions as Qi, hashIdempotencyInput as Ql, collectAgentTurn as Qn, LeaderboardBenchmarkAdapter as Qo, sumSandboxUsage as Qr, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Qs, FinalizeContext as Qt, DelegationTraceCaps as Qu, runInWorkspace as R, InProcessPromptCtx as Ra, SteerableSandboxSession as Rc, pendingWaits as Rd, BenchmarkConfig as Ri, detachedTurnEvents as Rl, defaultExtractCandidate as Rn, DefinePersonaInput as Ro, SandboxRunAbortError as Rr, anytimeReport as Rs, ProgressSample as Rt, OtelAttribute as Ru, WorkerEvidenceInput as S, RunAgentRoundsOptions as Sa, validateDelegateArgs as Sc, BusRecord as Sd, panel as Si, coderTaskFromArgs as Sl, supervisorInstructions as Sn, ScopeAnalyst as So, SteeringDecision as Sr, ProfileKeyOf as Ss, rollingDispatch as St, FeedbackRating as Su, settledWorkerOut as T, runAgentRounds as Ta, CliWorktreeBridgeSeam as Tc, PublishOptions as Td, verify as Ti, DelegationExecutor as Tl, CheckRunContext as Tn, SteerContext as To, LocalMcpMaterialization as Tr, pairwiseSignificance as Ts, delegate as Tt, ResearchSource as Tu, supervise as U, HarvestReport as Ua, PI_RUNTIME as Uc, Environment as Ui, DelegationRecord as Ul, resolveEntrySymbol as Un, PersonaExecutors as Uo, SandboxLineage as Ur, WaterfallCollector as Us, StopRule as Ut, buildLoopOtelSpans as Uu, createSupervisor as V, HarvestCorpusOptions as Va, InboxMessage as Vc, BenchmarkStrategySummary as Vi, runDetachedTurn as Vl, modelAuthoredChecks as Vn, Persona as Vo, CheckpointCapableBox as Vr, plateauLength as Vs, ProgressView as Vt, OtelSpan as Vu, workerFromBackend as W, harvestCorpus as Wa, PiSeam as Wc, printBenchmarkReport as Wi, DelegationResumeContext as Wl, sandboxCheckRunner as Wn, RunPersonified as Wo, SandboxLineageHandle as Wr, WaterfallReport as Ws, allOf as Wt, buildLoopSpanNodes as Wu, readWorkerSteerRequests as X, renderReport as Xa, WorktreeProfileMaterializationReceipt as Xc, AgenticTool as Xi, SubmitInput as Xl, CollectedAgentTurn as Xn, LeaderboardBenchScore as Xo, mapSandboxEvent as Xr, CoordinationTools as Xs, sampleFromSettled as Xt, DELEGATION_TRACE_MAX_BYTES as Xu, legacySupervisorRunDir as Y, observe as Ya, WorktreeHarnessResult as Yc, AgenticTask as Yi, DelegationTaskQueueOptions as Yl, AgentTurnUsage as Yn, DefinedLeaderboard as Yo, extractLlmCallEvent as Yr, CoordinationEvent as Ys, plateau as Yt, CappedDelegationTrace as Yu, safeWorkerFile as Z, AssertTraceDerivedFindings as Za, CreateWorktreeOptions as Zc, ArtifactHandle as Zi, SubmitOutput as Zl, StreamAgentTurnOptions as Zn, LeaderboardBenchTask as Zo, mapSandboxToolEvent as Zr, CoordinationToolsOptions as Zs, DeliveredOutput as Zt, DELEGATION_TRACE_MAX_SPANS as Zu, WorktreeFanoutOptions as _, LoopCampaignDispatchOptions as _a, DELEGATE_TOOL_NAME as _c, PlannerError as _d, InMemoryCorpus as _i, DelegateRunCtx as _l, asAuthoredProfile as _n, PanelVerdict as _o, authorStrategy as _r, Leaderboard as _s, DispatchUnit as _t, DelegationProgress as _u, SandboxInstance$1 as a, StrategyMessage as aa, QuestionPolicy as ac, DelegationPersistenceError as ad, resolveSandboxClient as ai, removeWorktree as al, runTree as an, EqualKVerdict as ao, EvolutionCandidate as ar, defineLeaderboard as as, RunContext as at, DelegateResearchConfig as au, NOTE_MAX_CHARS as b, loopCampaignDispatch as ba, DelegateResult as bc, CoderOutput as bd, flatWidenGate as bi, SettleDetachedCoderTurnOptions as bl, defaultProfileRichnessThresholds as bn, RenderCorpusToInstructions as bo, DumbDriverOptions as br, PairwiseOptions as bs, freeSlots as bt, DelegationStatusArgs as bu, VerifierEnvironmentOptions as c, SurfaceScore as ca, SettledWorker as cc, FileDelegationStore as cd, promotionGate as ci, McpToolDescriptor$1 as cl, PriorCoordination as cn, FanoutSynthesis as co, ReproductionCheck as cr, CompletionPolicy as cs, PatchDeliverableOptions as ct, DelegateUiAuditConfig as cu, SuperviseSurfaceResult as d, defineStrategy as da, McpServer as dc, AgentEvalError$1 as dd, builtinShapes as di, FeedbackStore as dl, ReservationTicket as dn, LoopUntil as do, pickChampion as dr, deterministicCompletion as ds, WorktreePatchArtifact as dt, DelegationError as du, ShotPersona as ea, MakeWorkerAgent as ec, DelegationTraceSpan as ed, SandboxCapabilities as ei, GitRunner as el, SupervisorFinalizer as en, CorpusFilter as eo, ChampionPick as er, LeaderboardIterationInfo as es, workerInboxFile as et, DelegateCodeConfig as eu, SurfaceWorkerConfig as f, depthStrategy as fa, McpServerOptions as fc, AgentEvalErrorCode as fd, createShapeRegistry as fi, InMemoryFeedbackStore as fl, createBudgetPool as fn, LoopUntilSpec as fo, runStrategyEvolution as fr, sentinelCompletion as fs, createWorktreeCliExecutor as ft, DelegationFeedbackSnapshot as fu, AuthoredHarness as g, sampleThenRefine as ga, DELEGATE_INPUT_SCHEMA as gc, NotFoundError as gd, FileCorpus as gi, CoderReviewer as gl, ProfileRichnessThresholds as gn, PanelSpec as go, assertStrategyContract as gr, Interval as gs, DispatchStopReason as gt, DelegationProfile as gu, superviseSurface as h, sample as ha, DELEGATE_DESCRIPTION as hc, JudgeError as hd, runPersonified as hi, CoderReview as hl, ProfileRichness as hn, PanelJudge as ho, AuthoredStrategy as hr, GroupOf as hs, DispatchReport as ht, DelegationHistoryResult as hu, SandboxEvent$1 as i, StrategyCtx as ia, QuestionOption as ic, createDelegationTraceCollector as id, ResolveSandboxClientOptions as ii, createWorktree as il, runFinalizer as in, EqualKOnCostOptions as io, EvolutionBandInfo as ir, LeaderboardSpec as is, InMemoryRunContextOptions as it, DelegateResearchArgs as iu, Shell as j, envKeyProvider as ja, SandboxSeam as jc, gateOnDeliverable as jd, createScopeAnalyst as ji, DetachedSessionRefParts as jl, StructuralRolloutMessage as jn, VerifySpec as jo, connectStdioMcp as jr, AuditIntentOptions as js, serveCoordinationMcp as jt, traceContextToEnv as ju, withUntrackedArtifacts as k, KeyProvider as ka, RouterSeam as kc, watchTrace as kd, assertTraceDerivedFindings as ki, createFleetWorkspaceExecutor as kl, RepairStop as kn, TrajectoryReportOptions as ko, StdioMcpConnection as kr, renderPairwiseMarkdown as ks, supervisorAgent as kt, createPropagatingTraceEmitter as ku, createVerifierEnvironment as l, adaptiveRefine as la, WorkerWatchOptions as lc, FileDelegationStoreOptions as ld, equalKOnCost as li, McpTransport as ll, BudgetPool as ln, FanoutWinnerSelector as lo, StrategyEvolutionConfig as lr, CompletionVerdict as ls, patchDelivered as lt, DelegateUiAuditResult as lu, failuresAnalyst as m, runAgentic as ma, createMcpServer as mc, ConfigError as md, definePersona as mi, CoderDelegate as ml, AuthoredProfile as mn, Panel as mo, AuthorStrategyOptions as mr, AxisScoresOf as ms, ConcurrencyCaps as mt, DelegationHistoryEntry as mu, AnalystFinding$1 as n, Strategy as na, QuestionDecision as nc, capDelegationTrace as nd, AcquireOptions as ni, WorktreeHandle as nl, collectDelivered as nn, EqualKArm as no, EvolutionArchiveNode as nr, LeaderboardScenario as ns, writeWorkerSteer as nt, DelegateFeedbackArgs as nu, computeFindingId$1 as o, StrategyResult as oa, QuestionRecord as oc, DelegationStateCorruptError as od, PromotionGateOptions as oi, JsonRpcMessage as ol, CoordinationLog as on, Fanout as oo, EvolutionGeneration as or, CompletionAnalyst as os, createFileRunContext as ot, DelegateResearchResult as ou, SurfaceWorkerOut as p, refine as pa, createInProcessTransport as pc, BackendTransportError as pd, registerShape as pi, eventToSnapshot as pl, spendFromUsageEvents as pn, LoopUntilState as po, selectChampion as pr, stopSentinel as ps, assertModelAllowed as pt, DelegationHistoryArgs as pu, settledToIteration as q, ObserveOptions as qa, WorktreeCheckRunner as qc, AgenticRunResult as qi, DelegationRunContext as ql, visibleCheckScore as qn, ShapeContext as qo, SandboxToolPartState as qr, AnalystFindingEvent as qs, createProgressTracker as qt, exportEvalRuns as qu, CreateSandboxOptions$1 as r, StrategyArtifacts as ra, QuestionLevel as rc, composeLoopTraceEmitters as rd, acquireSandbox as ri, captureWorktreeDiff as rl, pickBestDelivered as rn, EqualKOnCost as ro, EvolutionAuthor as rr, LeaderboardScore as rs, InMemoryRunContext as rt, DelegateFeedbackResult as ru, makeFinding$1 as s, StrategyShotResult as sa, QuestionUrgency as sc, DelegationStore as sd, PromotionVerdict as si, JsonRpcResponse as sl, FileCoordinationLog as sn, FanoutOptions as so, EvolutionReport as sr, CompletionEvidence as ss, createInMemoryRunContext as st, DelegateUiAuditArgs as su, AgentProfile$2 as t, ShotSpec as ta, Question as tc, buildDelegationTraceSpans as td, probeSandboxCapabilities as ti, RemoveWorktreeOptions as tl, bestDelivered as tn, CorpusRecord as to, ChampionPolicy as tr, LeaderboardRunContext as ts, workerInboxFileFromEventDir as tt, DelegateCodeResult as tu, SuperviseSurfaceOptions as u, breadthStrategy as ua, createCoordinationTools as uc, InMemoryDelegationStore as ud, trajectoryReport as ui, FeedbackEvent as ul, BudgetReadout as un, FlatWidenGate as uo, discriminatingMeans as ur, completionAuthorizes as us, WorktreeCliExecutorOptions as ut, DelegateUiAuditRoute as uu, worktreeFanout as v, LoopDispatchOptions as va, DelegateArgs as vc, RuntimeRunStateError as vd, renderCorpusToInstructions as vi, DetachedSessionDelegateOptions as vl, assessAuthoredProfile as vn, Pipeline as vo, strategyAuthorContract as vr, LeaderboardOptions as vs, RollingDispatchOptions as vt, DelegationResultPayload as vu, composeWorkerEvidence as w, defaultSelectWinner as wa, CliSeam as wc, EventBus as wd, selectValidWinner as wi, settleDetachedCoderTurn as wl, CheckOutcome as wn, ScopeWidenGate as wo, naiveDriver as wr, leaderboard as ws, defaultDelegateBudget as wt, ResearchOutputShape as wu, VERIFY_TAIL_CHARS as x, loopDispatch as xa, createDelegateHandler as xc, BusEvent as xd, loopUntil as xi, UiAuditorDelegate as xl, profileRichnessFinding as xn, RenderCorpusToInstructionsOptions as xo, NaiveDriverOptions as xr, PairwiseVerdict as xs, queueOf as xt, DelegationStatusResult as xu, EVIDENCE_MAX_CHARS as y, LoopOptionsForDispatch as ya, DelegateHandlerOptions as yc, ValidationError as yd, fanout as yi, DetachedWinnerSelection as yl, authoredWorker as yn, PipelineStage as yo, ApplyContinuation as yr, LeaderboardRow as ys, effectiveConcurrency as yt, DelegationStatus as yu, TrajectoryAnalysis as z, InProcessSandboxClientOptions as za, createSteerableSandboxSession as zc, replaySpawnTree as zd, BenchmarkLift as zi, formatDetachedSessionRef as zl, defaultStructuralRolloutPolicy as zn, LoopShape as zo, TurnResult as zr, areaUnderCurve as zs, ProgressTracker as zt, OtelExportConfig as zu };
|
|
7580
|
+
//# sourceMappingURL=index-DlLPNELY.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as RunAgentTaskOptions, b as RuntimeSessionStore, g as OpenAIChatToolChoice, h as OpenAIChatTool, i as AgentExecutionBackend, l as AgentTaskRunResult, m as OpenAIChatResponseFormat, n as AgentBackendContext, p as KnowledgeReadinessDecision, r as AgentBackendInput, v as RunAgentTaskStreamOptions, x as RuntimeStreamEvent, y as RuntimeSession } from "./types-C9j4qg6l.js";
|
|
2
|
-
import { i as SurfaceImprovementEdit } from "./improvement-adapter-
|
|
3
|
-
import { o as ImprovementProposalSource } from "./types-
|
|
2
|
+
import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
|
|
3
|
+
import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
|
|
4
4
|
import "./types-DnNGJ5Gz.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Mn as StructuralRolloutPolicy, md as ConfigError } from "./index-DlLPNELY.js";
|
|
6
6
|
import { D as RuntimeTelemetryOptions, c as runLocalHarness, i as LocalHarness, y as ToolLoopChat } from "./local-harness-Dh8PJ0ot.js";
|
|
7
7
|
import "./index-C-FYUuFG.js";
|
|
8
8
|
import "./index-Efjb3nrQ.js";
|
|
9
9
|
import { H as CandidateGenerator, L as Verifier, a as ImproveCandidateValidationInput, j as ReadonlyAgentProfile, p as ImproveMethodFactory, t as Redactor } from "./redact-BkasKlyd.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./loop-runner-bin-
|
|
10
|
+
import "./index-BmI2uxy5.js";
|
|
11
|
+
import "./loop-runner-bin-vRo5TZt_.js";
|
|
12
12
|
import "./openai-tools-B68JaOCx.js";
|
|
13
13
|
import { ControlBudget as ControlBudget$1, ControlDecision as ControlDecision$1, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult as ControlRunResult$1, ControlStep as ControlStep$1, DataAcquisitionPlan as DataAcquisitionPlan$1, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement as KnowledgeRequirement$1, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
|
|
14
14
|
import { GepaOptimizationMethodConfig, SkillOptOptimizationMethodConfig } from "@tangle-network/agent-eval/campaign";
|
|
@@ -541,4 +541,4 @@ declare function readinessServerSentEvent(report: KnowledgeReadinessReport, opti
|
|
|
541
541
|
declare function runtimeStreamServerSentEvent(event: RuntimeStreamEvent, options?: RuntimeTelemetryOptions & ServerSentEventOptions): string;
|
|
542
542
|
//#endregion
|
|
543
543
|
export { McpServeSpec as $, resolveRouterBaseUrl as A, RawTraceDistillerOptions as B, DEFAULT_ROUTER_BASE_URL as C, cleanModelId as D, RouterEnv as E, parseRolloutPolicy as F, strategyAuthorMethod as G, buildDriverSystem as H, serializeRolloutPolicy as I, OfficialOptimizerUnavailableError as J, OfficialGepaOptions as K, structuralRolloutPolicyFromProfile as L, ROLLOUT_POLICY_EXTENSION as M, applyRolloutPolicyToProfile as N, getModels as O, normalizeRolloutPolicy as P, officialSkillOpt as Q, ReflectiveGeneratorOptions as R, ChatModelValidation as S, ResolvedChatModel as T, optimizerMethod as U, rawTraceDistiller as V, researchDriverNote as W, OfficialSkillOptOptions as X, OfficialSensitiveCandidateInput as Y, officialGepa as Z, AgentBackendKind as _, ControlStep$1 as a, mcpBuildPrompt as at, decideKnowledgeReadiness as b, KnowledgeRequirement$1 as c, createIterableBackend as ct, readinessServerSentEvent as d, mcpServeVerifier as et, runtimeStreamServerSentEvent as f, runAgentTaskStream as g, runAgentTask as h, ControlRunResult$1 as i, findingLines as it, validateChatModelId as j, resolveChatModel as k, RunRecord$1 as l, createOpenAICompatibleBackend as lt, applyRunRecordDefaults as m, ControlDecision$1 as n, driverLoopGenerator as nt, DataAcquisitionPlan$1 as o, toolBuildPrompt as ot, InMemoryRuntimeSessionStore as p, OfficialOptimizerContextOptions as q, ControlEvalResult$1 as r, BuildPromptFindingsInput as rt, KnowledgeReadinessReport$1 as s, BackendRetryPolicy as st, ControlBudget$1 as t, DriverLoopGeneratorOptions as tt, ServerSentEventOptions as u, createSandboxPromptBackend as ut, ResolveAgentBackendOptions as v, ModelInfo as w, ChatModelCandidate as x, resolveAgentBackend as y, reflectiveGenerator as z };
|
|
544
|
-
//# sourceMappingURL=index-
|
|
544
|
+
//# sourceMappingURL=index-sLuBoGud.d.ts.map
|