@tangle-network/agent-runtime 0.123.0 → 0.126.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-B7sTehZB.js → activation-DhWJ3p8N.js} +2 -2
- package/dist/{activation-B7sTehZB.js.map → activation-DhWJ3p8N.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/{environment-provider-CY22kUQH.js → environment-provider-DqFS6FSZ.js} +3 -2
- package/dist/environment-provider-DqFS6FSZ.js.map +1 -0
- package/dist/{environment-provider-CEjwunXO.d.ts → environment-provider-PM9PeW_J.d.ts} +5 -1
- package/dist/environment-provider.d.ts +1 -1
- package/dist/environment-provider.js +1 -1
- package/dist/{improvement-cycle-BcwsSbT-.js → improvement-cycle-IJgCbKWQ.js} +5 -5
- package/dist/improvement-cycle-IJgCbKWQ.js.map +1 -0
- package/dist/{index-CKply5aj.d.ts → index-DIV33AF5.d.ts} +3 -3
- package/dist/{index-BKSzgMvA.d.ts → index-D_M4d1_B.d.ts} +5 -5
- package/dist/{index-CyXinqJw.d.ts → index-EdjCQBV9.d.ts} +52 -128
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +1 -1
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +6 -6
- package/dist/{knowledge-Cuvb21T7.js → knowledge-EnuEqm_Y.js} +3 -3
- package/dist/{knowledge-Cuvb21T7.js.map → knowledge-EnuEqm_Y.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-BjnNpN5m.d.ts → loop-runner-bin-Bo29_fiD.d.ts} +3 -3
- package/dist/{loop-runner-bin-Clhj8gy5.js → loop-runner-bin-qwT_4F5I.js} +3 -3
- package/dist/{loop-runner-bin-Clhj8gy5.js.map → loop-runner-bin-qwT_4F5I.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-BwTsBfd-.js → openai-tools-Bp1KSkP6.js} +2 -2
- package/dist/{openai-tools-BwTsBfd-.js.map → openai-tools-Bp1KSkP6.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{runtime-OI7oLLec.js → runtime-BzXz7OjS.js} +92 -130
- package/dist/runtime-BzXz7OjS.js.map +1 -0
- package/dist/{structural-rollout-C4Jv_7vt.js → structural-rollout-zY0oqQzO.js} +2 -2
- package/dist/{structural-rollout-C4Jv_7vt.js.map → structural-rollout-zY0oqQzO.js.map} +1 -1
- package/dist/{supervise-Dwq16u8n.js → supervise-Ds8FtyI9.js} +144 -49
- package/dist/supervise-Ds8FtyI9.js.map +1 -0
- package/dist/{supervisor-DjZ82HIB.js → supervisor-DpjO0Gmy.js} +67 -8
- package/dist/supervisor-DpjO0Gmy.js.map +1 -0
- package/dist/testing.js +9 -9
- package/package.json +4 -4
- package/dist/environment-provider-CY22kUQH.js.map +0 -1
- package/dist/improvement-cycle-BcwsSbT-.js.map +0 -1
- package/dist/runtime-OI7oLLec.js.map +0 -1
- package/dist/supervise-Dwq16u8n.js.map +0 -1
- package/dist/supervisor-DjZ82HIB.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ft as SuperviseOptions,
|
|
2
|
-
import { Ct as SupervisedResult, z as Budget } from "./environment-provider-
|
|
1
|
+
import { Ft as SuperviseOptions, Xt as SupervisorProfile, _f as DeliverableSpec, zl as ExecutorConfig } from "./index-EdjCQBV9.js";
|
|
2
|
+
import { Ct as SupervisedResult, z as Budget } from "./environment-provider-PM9PeW_J.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-DIV33AF5.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
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
2
|
import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
|
|
3
3
|
import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
|
|
4
|
-
import {
|
|
4
|
+
import { tf as ConfigError, zr as StructuralRolloutPolicy } from "./index-EdjCQBV9.js";
|
|
5
5
|
import "./types-DnNGJ5Gz.js";
|
|
6
|
-
import { hn as RuntimeTelemetryOptions } from "./environment-provider-
|
|
6
|
+
import { hn as RuntimeTelemetryOptions } from "./environment-provider-PM9PeW_J.js";
|
|
7
7
|
import { f as runLocalHarness, o as LocalHarness, w as ToolLoopChat } from "./local-harness-BIajef4A.js";
|
|
8
8
|
import "./index-B3bHsVLw.js";
|
|
9
9
|
import "./index-Efjb3nrQ.js";
|
|
10
10
|
import { H as CandidateGenerator, L as Verifier, a as ImproveCandidateValidationInput, j as ReadonlyAgentProfile, p as ImproveMethodFactory, t as Redactor } from "./redact-PQzmE1Jn.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./loop-runner-bin-
|
|
11
|
+
import "./index-DIV33AF5.js";
|
|
12
|
+
import "./loop-runner-bin-Bo29_fiD.js";
|
|
13
13
|
import "./openai-tools-B68JaOCx.js";
|
|
14
14
|
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";
|
|
15
15
|
import { GepaOptimizationMethodConfig, SkillOptOptimizationMethodConfig } from "@tangle-network/agent-eval/campaign";
|
|
@@ -542,4 +542,4 @@ declare function readinessServerSentEvent(report: KnowledgeReadinessReport, opti
|
|
|
542
542
|
declare function runtimeStreamServerSentEvent(event: RuntimeStreamEvent, options?: RuntimeTelemetryOptions & ServerSentEventOptions): string;
|
|
543
543
|
//#endregion
|
|
544
544
|
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 };
|
|
545
|
-
//# sourceMappingURL=index-
|
|
545
|
+
//# sourceMappingURL=index-D_M4d1_B.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { d as AgentTaskStatus, f as BackendErrorDetail, i as AgentExecutionBacke
|
|
|
2
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 { B as DefaultVerdict, Cn as PendingWait, Ct as SupervisedResult, En as WaitProbeRegistry, Et as TreeView, Gn as ExecutorProgress, H as Executor, I as Agent, K as ExecutorFactory, L as AgentExecutionRef, Nt as WorkerTraceResolver, Ot as UsageEvent, R as AgentSpec, Rn as TraceSource, Rt as TraceContext, St as SteerableRootHandle, V as ExecutionBindingReceipt, Xt as OtelExportConfig, Y as ExecutorRegistry, Zt as OtelExporter, _t as SpawnJournal, at as ProfileMaterializationReceipt, ct as ResumedKeyState, gt as SpawnEvent, ht as Settled, i as AgentEnvironmentProvider, jt as WorkerTraceEvidence, mt as Scope, nt as NodeId, o as AgentEnvironmentProviderRegistry, pt as Runtime, qn as WorkerProgress, rt as NodeSnapshot, st as ResultBlobStore, tt as NodeExecutionIdentity, ut as RootHandle, vt as SpawnOpts, w as ProviderExecutorOptions, wt as Supervisor, xt as Spend, z as Budget } from "./environment-provider-
|
|
5
|
+
import { B as DefaultVerdict, Cn as PendingWait, Ct as SupervisedResult, En as WaitProbeRegistry, Et as TreeView, Gn as ExecutorProgress, H as Executor, I as Agent, K as ExecutorFactory, L as AgentExecutionRef, Nt as WorkerTraceResolver, Ot as UsageEvent, R as AgentSpec, Rn as TraceSource, Rt as TraceContext, St as SteerableRootHandle, V as ExecutionBindingReceipt, Xt as OtelExportConfig, Y as ExecutorRegistry, Zt as OtelExporter, _t as SpawnJournal, at as ProfileMaterializationReceipt, ct as ResumedKeyState, gt as SpawnEvent, ht as Settled, i as AgentEnvironmentProvider, jt as WorkerTraceEvidence, mt as Scope, nt as NodeId, o as AgentEnvironmentProviderRegistry, pt as Runtime, qn as WorkerProgress, rt as NodeSnapshot, st as ResultBlobStore, tt as NodeExecutionIdentity, ut as RootHandle, vt as SpawnOpts, w as ProviderExecutorOptions, wt as Supervisor, xt as Spend, z as Budget } from "./environment-provider-PM9PeW_J.js";
|
|
6
6
|
import { o as UiLens, r as UiFinding, s as CoderTask } from "./substrate-BcnuSHXm.js";
|
|
7
7
|
import { E as ToolLoopCompactionOptions, f as runLocalHarness, h as RouterConfig, n as CodexExecutionPolicy, o as LocalHarness, r as CodexTokenUsage, v as ToolSpec, w as ToolLoopChat } from "./local-harness-BIajef4A.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, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
|
|
@@ -2492,8 +2492,24 @@ declare function canonicalFindingEvent(finding: AnalystFindingEvent): AnalystFin
|
|
|
2492
2492
|
* (the audit trail), routing adds delivery, never replaces the record.
|
|
2493
2493
|
*/
|
|
2494
2494
|
interface AnalyzeOnSettleRoute {
|
|
2495
|
-
/** The analyst lens id
|
|
2495
|
+
/** The analyst id: a lens id resolved against the `analysts` registry, or — when `agent` is
|
|
2496
|
+
* present — the AGENT analyst's stable identity carried on its finding/steer events (it need
|
|
2497
|
+
* not exist in any registry). */
|
|
2496
2498
|
readonly kind: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Make this analyst a tool-equipped AGENT instead of a registry lens: on each matching settle
|
|
2501
|
+
* the runtime spawns this profile as a WORKER through the SAME spawn machinery a driver spawn
|
|
2502
|
+
* uses (`Scope.spawn` + the run's `makeWorkerAgent` seam) — so its spend reserves from the
|
|
2503
|
+
* conserved pool, its node is journaled and traced like any worker, and a node-pinning seam
|
|
2504
|
+
* sees the spawn context marker (`WorkerSpawnContext.analyst`). Its task is `directive` plus
|
|
2505
|
+
* the settled worker's tool-trace evidence; its settle OUTPUT is the findings, published as a
|
|
2506
|
+
* `finding` event (same canonicalization) and delivered per `to` exactly like registry-analyst
|
|
2507
|
+
* findings. A settle that failed publishes `{ analystRunFailed }`; a spawn the pool or fences
|
|
2508
|
+
* refuse publishes `{ analystSpawnRefused }` — observable, never a silent drop. An agent
|
|
2509
|
+
* analyst's settlement never enters the settled-worker ledger, never feeds the finalizer, and
|
|
2510
|
+
* never re-fires the analyst-on-settle hook (no analyst-on-analyst cascade by construction).
|
|
2511
|
+
*/
|
|
2512
|
+
readonly agent?: AgentProfile$1;
|
|
2497
2513
|
/** Deliver the findings to this live worker, named by its PROFILE NAME (the stable node
|
|
2498
2514
|
* identity a graph pins) or its spawn label. Omit = the driver (bus only). Delivery goes
|
|
2499
2515
|
* through the same authorization + steer machinery a driver-authored steer uses and is
|
|
@@ -2501,7 +2517,10 @@ interface AnalyzeOnSettleRoute {
|
|
|
2501
2517
|
* failed one (`delivered: false`) is a recorded outcome, never a silent drop. */
|
|
2502
2518
|
readonly to?: string;
|
|
2503
2519
|
/** Standing instruction wrapped around the findings on a routed delivery — what the recipient
|
|
2504
|
-
* should DO with the analysis.
|
|
2520
|
+
* should DO with the analysis. For an AGENT analyst (`agent` set) it is instead the analysis
|
|
2521
|
+
* directive handed to the agent as its task; the routed delivery then carries the bare
|
|
2522
|
+
* findings, because the directive was already consumed upstream. Omit = the bare findings
|
|
2523
|
+
* JSON (and, for an agent analyst, a task of evidence only). */
|
|
2505
2524
|
readonly directive?: string;
|
|
2506
2525
|
/** Restrict which settled workers feed this lens, by profile name or spawn label. Omit =
|
|
2507
2526
|
* every settled `done` worker. */
|
|
@@ -2611,6 +2630,11 @@ interface WorkerSpawnContext {
|
|
|
2611
2630
|
readonly key?: string;
|
|
2612
2631
|
/** Trusted candidate/campaign attribution attached by product authorization. */
|
|
2613
2632
|
readonly execution?: AgentExecutionRef;
|
|
2633
|
+
/** Present (as the analyst id) ONLY when this spawn is an analyst-AGENT run initiated by the
|
|
2634
|
+
* runtime's analyst-on-settle hook ({@link AnalyzeOnSettleRoute.agent}) — authored by the
|
|
2635
|
+
* runtime, never accepted from a driver's tool arguments. A node-pinning `makeWorkerAgent`
|
|
2636
|
+
* reads it to admit the analyst node it would refuse as a driver-authored spawn. */
|
|
2637
|
+
readonly analyst?: string;
|
|
2614
2638
|
}
|
|
2615
2639
|
type MakeWorkerAgent = (profile: AgentProfile$1, context?: WorkerSpawnContext) => Agent<unknown, unknown>;
|
|
2616
2640
|
interface CoordinationToolsOptions {
|
|
@@ -2640,8 +2664,11 @@ interface CoordinationToolsOptions {
|
|
|
2640
2664
|
* {@link AnalyzeOnSettleRoute} generalizes the DESTINATION: findings can be delivered to a
|
|
2641
2665
|
* named live WORKER (wrapped in the route's directive, through the same authorized steer
|
|
2642
2666
|
* machinery a driver steer uses) instead of being hardwired to the spawning driver, and `over`
|
|
2643
|
-
* restricts which settled workers feed the lens.
|
|
2644
|
-
*
|
|
2667
|
+
* restricts which settled workers feed the lens. A route carrying `agent` generalizes the
|
|
2668
|
+
* ANALYST itself: a tool-equipped agent spawned as a worker whose settle output is the
|
|
2669
|
+
* findings (see {@link AnalyzeOnSettleRoute.agent}). Omit/empty = no auto-analysis (default;
|
|
2670
|
+
* the driver can still run lenses on demand via `run_analyst`). Lens routes require
|
|
2671
|
+
* `analysts`; agent routes do not. */
|
|
2645
2672
|
readonly analyzeOnSettle?: ReadonlyArray<string | AnalyzeOnSettleRoute>;
|
|
2646
2673
|
/** Hard cap on how many workers may be LIVE (spawned but not yet settled) at once. `spawn_agent`
|
|
2647
2674
|
* counts the scope's non-terminal nodes and fails closed (`error: 'max-live-workers'`) BEFORE
|
|
@@ -3255,7 +3282,7 @@ interface LeaderboardSpec<TCase, TArtifact = string> {
|
|
|
3255
3282
|
* print (+ write) the ranked leaderboard markdown under the export dir. */
|
|
3256
3283
|
export?: (result: RunProfileMatrixResult<TArtifact, LeaderboardScenario<TCase>>, ctx: LeaderboardRunContext) => Promise<void> | void;
|
|
3257
3284
|
/** LEVEL 2 — full dispatch replacement (in-process products bring their own).
|
|
3258
|
-
* The default is `loopDispatch` + the naive
|
|
3285
|
+
* The default is `loopDispatch` + the naive retry driver over the resolved backend. */
|
|
3259
3286
|
dispatch?: ProfileDispatchFn<LeaderboardScenario<TCase>, TArtifact>;
|
|
3260
3287
|
/** LEVEL 2 — full judge replacement. Default: `score` wrapped as one judge. */
|
|
3261
3288
|
judges?: JudgeConfig<TArtifact, LeaderboardScenario<TCase>>[];
|
|
@@ -5590,121 +5617,6 @@ interface LocalMcpMaterialization {
|
|
|
5590
5617
|
*/
|
|
5591
5618
|
declare function materializeLocalMcp(profile: AgentProfile$1, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
|
|
5592
5619
|
//#endregion
|
|
5593
|
-
//#region src/runtime/steering-drivers.d.ts
|
|
5594
|
-
/**
|
|
5595
|
-
* Terminal-or-continue decision shared by all three steering drivers. The
|
|
5596
|
-
* non-terminal `'refine'` keeps the loop running another shot; the terminal
|
|
5597
|
-
* `'pick-winner'`/`'fail'` stop it (`isTerminalDecision` in run-loop.ts treats
|
|
5598
|
-
* `'pick-winner'` and `'fail'` as terminal and any other string as a request
|
|
5599
|
-
* for another round). Identical to the reference refine driver's decision set.
|
|
5600
|
-
*/
|
|
5601
|
-
type SteeringDecision = 'refine' | 'pick-winner' | 'fail';
|
|
5602
|
-
/**
|
|
5603
|
-
* A steering POLICY as plain data — the delegates-edge directive form of the two control
|
|
5604
|
-
* drivers. `kind` names how much of the verdict the policy may read (the experimental axis);
|
|
5605
|
-
* the continuation strings are the payload. Because this is JSON-able data, it is versionable
|
|
5606
|
-
* in a prompt registry and attachable to a graph edge — the same policy that used to exist
|
|
5607
|
-
* only as a builder FUNCTION, which made it invisible to any optimizer. Default texts are
|
|
5608
|
-
* seeded in the kernel prompt registry (`delegates/naive-continuation`,
|
|
5609
|
-
* `delegates/dumb-continuation-pass` / `-fail`); a caller may carry its own.
|
|
5610
|
-
*/
|
|
5611
|
-
type SteeringDirectiveData = {
|
|
5612
|
-
/** Reads NOTHING from the verdict: one fixed continuation every round. */
|
|
5613
|
-
readonly kind: 'naive';
|
|
5614
|
-
readonly continuation: string;
|
|
5615
|
-
/** Hard traversal cap: the loop stops refining once history reaches this length. */
|
|
5616
|
-
readonly maxTraversals: number;
|
|
5617
|
-
} | {
|
|
5618
|
-
/** Reads ONLY `verdict.valid` (the boolean): one of two fixed continuations. */
|
|
5619
|
-
readonly kind: 'dumb';
|
|
5620
|
-
readonly onPass: string;
|
|
5621
|
-
readonly onFail: string;
|
|
5622
|
-
readonly maxTraversals: number;
|
|
5623
|
-
};
|
|
5624
|
-
/**
|
|
5625
|
-
* Interpret a {@link SteeringDirectiveData} as a loop `Driver` — the ONE interpreter both
|
|
5626
|
-
* control policies share. The directive is data; only `applyContinuation` (how the caller's
|
|
5627
|
-
* opaque Task carries a steering string) remains code, exactly as `taskToPrompt` does.
|
|
5628
|
-
*/
|
|
5629
|
-
declare function steeringDriver<Task, Output>(directive: SteeringDirectiveData, applyContinuation: ApplyContinuation<Task>, name?: string): Driver<Task, Output, SteeringDecision>;
|
|
5630
|
-
/**
|
|
5631
|
-
* Fold a steering string into the caller's Task shape, producing the Task for
|
|
5632
|
-
* the next shot. The substrate never assumes how a Task carries its prompt, so
|
|
5633
|
-
* the caller supplies this — the same way it supplies `taskToPrompt`. The
|
|
5634
|
-
* original `task` is passed so the fold can preserve task-level fields (ids,
|
|
5635
|
-
* fixtures, feature names) and replace only the instruction.
|
|
5636
|
-
*/
|
|
5637
|
-
type ApplyContinuation<Task> = (task: Task, continuation: string) => Task;
|
|
5638
|
-
/** Options for {@link naiveDriver}. */
|
|
5639
|
-
interface NaiveDriverOptions<Task> {
|
|
5640
|
-
/**
|
|
5641
|
-
* The fixed continuation issued every round after shot 0. The same string is
|
|
5642
|
-
* sent whether the prior shot passed inspection or not — the naive driver
|
|
5643
|
-
* reads no part of the verdict. Domain text is the caller's; the substrate
|
|
5644
|
-
* supplies none.
|
|
5645
|
-
*/
|
|
5646
|
-
continuation: string;
|
|
5647
|
-
/** Folds `continuation` into the caller's Task shape for the next shot. */
|
|
5648
|
-
applyContinuation: ApplyContinuation<Task>;
|
|
5649
|
-
/** Hard shot cap. The loop stops refining once history reaches this length. */
|
|
5650
|
-
maxIterations: number;
|
|
5651
|
-
/** Trace-event identifier. Default `'naive'`. */
|
|
5652
|
-
name?: string;
|
|
5653
|
-
}
|
|
5654
|
-
/**
|
|
5655
|
-
* `naiveDriver` — the no-signal steering control.
|
|
5656
|
-
*
|
|
5657
|
-
* `plan()` runs the initial `task` at shot 0, then issues the SAME fixed
|
|
5658
|
-
* `continuation` every subsequent round until a shot is valid or the cap is
|
|
5659
|
-
* hit. It reads NOTHING from `history[last].verdict` — not `.valid`, not
|
|
5660
|
-
* `.notes`, not `.scores`. It is the floor a coached loop must beat to earn its
|
|
5661
|
-
* coaching: any lift over naive that is not also present in `dumb` is
|
|
5662
|
-
* attributable to the pass/fail bit, and any lift of `refine` over `dumb` is
|
|
5663
|
-
* attributable to the grader's findings.
|
|
5664
|
-
*/
|
|
5665
|
-
/** Thin compatibility wrapper over {@link steeringDriver} for the naive (no-signal) control.
|
|
5666
|
-
* @deprecated The policy is DATA now — build the directive and interpret it:
|
|
5667
|
-
* `steeringDriver({ kind: 'naive', continuation, maxTraversals }, applyContinuation)`. This
|
|
5668
|
-
* wrapper survives for existing callers and will be removed in the next major. */
|
|
5669
|
-
declare function naiveDriver<Task, Output>(options: NaiveDriverOptions<Task>): Driver<Task, Output, SteeringDecision>;
|
|
5670
|
-
/** Options for {@link dumbDriver}. */
|
|
5671
|
-
interface DumbDriverOptions<Task> {
|
|
5672
|
-
/**
|
|
5673
|
-
* Continuation issued when the prior shot's verdict is valid. In a
|
|
5674
|
-
* stop-on-pass loop this is rarely reached (a valid shot ends the loop), but
|
|
5675
|
-
* it is required so the driver is total over the pass/fail bit; pass a
|
|
5676
|
-
* confirmation/keep-going string.
|
|
5677
|
-
*/
|
|
5678
|
-
onPass: string;
|
|
5679
|
-
/** Continuation issued when the prior shot's verdict is NOT valid. */
|
|
5680
|
-
onFail: string;
|
|
5681
|
-
/** Folds the chosen continuation into the caller's Task shape. */
|
|
5682
|
-
applyContinuation: ApplyContinuation<Task>;
|
|
5683
|
-
/** Hard shot cap. The loop stops refining once history reaches this length. */
|
|
5684
|
-
maxIterations: number;
|
|
5685
|
-
/** Trace-event identifier. Default `'dumb'`. */
|
|
5686
|
-
name?: string;
|
|
5687
|
-
}
|
|
5688
|
-
/**
|
|
5689
|
-
* `dumbDriver` — the pass/fail-only steering control.
|
|
5690
|
-
*
|
|
5691
|
-
* `plan()` runs the initial `task` at shot 0, then reads ONLY
|
|
5692
|
-
* `history[last].verdict.valid` (the boolean) and issues `onPass` or `onFail`
|
|
5693
|
-
* accordingly. It MUST NOT read `.notes` or `.scores` — that boundary is the
|
|
5694
|
-
* leak-free firewall. A `verdict` with no `valid` set (or no verdict) is
|
|
5695
|
-
* treated as not-valid, so the driver is total and never throws on a
|
|
5696
|
-
* grader/transport gap.
|
|
5697
|
-
*
|
|
5698
|
-
* The `dumb → refine` gap is the headline measurement: refine reads the
|
|
5699
|
-
* grader's `notes`, dumb reads only the pass/fail bit, so the difference is
|
|
5700
|
-
* exactly the value the findings add over a bare boolean.
|
|
5701
|
-
*/
|
|
5702
|
-
/** Thin compatibility wrapper over {@link steeringDriver} for the dumb (pass/fail-only) control.
|
|
5703
|
-
* @deprecated The policy is DATA now — build the directive and interpret it:
|
|
5704
|
-
* `steeringDriver({ kind: 'dumb', onPass, onFail, maxTraversals }, applyContinuation)`. This
|
|
5705
|
-
* wrapper survives for existing callers and will be removed in the next major. */
|
|
5706
|
-
declare function dumbDriver<Task, Output>(options: DumbDriverOptions<Task>): Driver<Task, Output, SteeringDecision>;
|
|
5707
|
-
//#endregion
|
|
5708
5620
|
//#region src/runtime/strategy-author.d.ts
|
|
5709
5621
|
/** The compressed consumable a skill carries: everything an author needs to emit a loop. */
|
|
5710
5622
|
declare const strategyAuthorContract = "\nYou author an OPTIMIZATION STRATEGY for an agentic loop system. A strategy decides how to\nspend a compute budget to beat a task's deployable check. You compose exactly two steps:\n\n shot(spec?: { handle?, messages?, steer?, persona?, tools? }): Promise<ShotResult | null>\n Runs ONE worker attempt (a bounded tool loop) over an artifact.\n - omit handle => the shot opens its OWN fresh artifact and closes it after (a sample).\n - pass handle => the shot CONTINUES that artifact (state accumulates across shots).\n - messages => the carried conversation (pass the previous ShotResult.messages to continue).\n - steer => a corrective instruction injected before the shot.\n - persona => { systemPrompt?, model? } — give THIS shot its own role and/or model\n (multi-agent strategies: a researcher shot then an engineer shot, a panel of k\n personas over one budget). On a fresh shot the systemPrompt replaces the task's; on\n a carried conversation it arrives as a hand-off message. Same conserved budget.\n - tools => string[] — restrict THIS shot to a subset of the task's tools by\n name (focus an explore shot on read-only tools, an execute shot on write tools).\n Restriction-only; unknown names make the shot fail. ALWAYS select from\n await listTools(handle) — never hardcode. Omitted => the shot sees every tool.\n ShotResult = { messages, score (0..1 on the task's check), passes, total, completions, toolErrors }\n Returns null if the attempt failed infra-wise.\n\n critique(messages): Promise<string | null>\n A firewalled trace-analyst reads the attempt's trajectory and returns ONE corrective\n instruction (or null when it judges the work complete). Costs ~1 completion.\n\n consult(messages, instruction): Promise<string | null>\n The RAW analyst channel: the same firewalled critic answers YOUR instruction over the\n trajectory verbatim (no reformatting) — use it when you need a specific reply format\n (a decision, a prediction). Costs ~1 completion.\n\n surface.open(task) / surface.close(handle)\n Open a persistent artifact you manage yourself (remember to close in a finally).\n close is idempotent — closing an already-closed handle is a safe no-op.\n\n listTools(handle): Promise<Array<{ name, description? }>>\n The tools THIS task actually offers. TOOL SETS VARY PER TASK — if you restrict a\n shot with `tools`, you MUST pick names from await listTools(handle); hardcoding\n names from an example kills your shots on every task whose tools differ.\n\nRules:\n- ALWAYS await every shot/critique/surface call — a floating promise that rejects\n crashes the whole benchmark run.\n- Stay within ~budget total shots; every shot/critique spends from a conserved pool.\n- For a FRESH attempt OMIT `messages` entirely (never pass `[]` — an empty array is a\n fresh conversation too, but be explicit). To CONTINUE, pass the previous\n ShotResult.messages unchanged.\n- Return { score, resolved, completions, progression, shots } — score = the BEST checkpoint\n you reached (keep-best, never final-state), progression = score after each shot.\n- The module must be EXACTLY this shape (no other imports, no commentary outside code):\n\nimport { defineStrategy } from '@tangle-network/agent-runtime/kernel'\nexport default defineStrategy('your-strategy-name', async ({ surface, task, budget, shot, critique, listTools }) => {\n // your composition (listTools comes from the destructured context — it is NOT a global)\n})\n";
|
|
@@ -7756,12 +7668,17 @@ type GraphEdge =
|
|
|
7756
7668
|
* {@link defaultEdgeTraversalCap}. */
|
|
7757
7669
|
readonly maxTraversals?: number;
|
|
7758
7670
|
} |
|
|
7759
|
-
/** Findings flow anywhere: an analyst
|
|
7760
|
-
*
|
|
7761
|
-
* the
|
|
7671
|
+
/** Findings flow anywhere: an analyst over N nodes' settled traces, delivered to ONE node.
|
|
7672
|
+
* With a LENS analyst the directive wraps the findings for the recipient; with a NODE analyst
|
|
7673
|
+
* the directive is the analyst agent's task and the findings are its settle output. */
|
|
7762
7674
|
{
|
|
7763
7675
|
readonly kind: 'analyzes';
|
|
7764
|
-
/** The analyst
|
|
7676
|
+
/** The analyst REFERENCE, in one of two forms: a lens id resolved against
|
|
7677
|
+
* `RunGraphOptions.analysts` (environment), or the id of a graph NODE with no delegates
|
|
7678
|
+
* edge pointing at it — then each matching settle spawns that node's pinned profile as a
|
|
7679
|
+
* tool-equipped analyst WORKER (same spawn machinery, conserved budget, trace join) whose
|
|
7680
|
+
* task is this edge's directive plus the settled worker's trace evidence and whose settle
|
|
7681
|
+
* output is the findings. An id that is both a node and a registry lens is refused. */
|
|
7765
7682
|
readonly analyst: string;
|
|
7766
7683
|
readonly over: ReadonlyArray<NodeId>;
|
|
7767
7684
|
readonly to: NodeId;
|
|
@@ -7821,8 +7738,15 @@ interface RunGraphOptions {
|
|
|
7821
7738
|
readonly hooks?: RuntimeHooks;
|
|
7822
7739
|
/** Inject the driver brain directly (offline tests / advanced). */
|
|
7823
7740
|
readonly brain?: ToolLoopChat;
|
|
7824
|
-
/** The analyst lens registry `analyzes` edges resolve against. ENVIRONMENT
|
|
7741
|
+
/** The analyst lens registry `analyzes` edges resolve against. ENVIRONMENT — needed only for
|
|
7742
|
+
* lens analysts; an analyzes edge naming a graph NODE as its analyst needs no registry. */
|
|
7825
7743
|
readonly analysts?: AnalystRegistry;
|
|
7744
|
+
/** Watch every worker's LIVE tool trace with the online detector panel and raise a `finding`
|
|
7745
|
+
* on the bus the moment one loops or error-storms — forwarded to `supervise()` verbatim (see
|
|
7746
|
+
* `SuperviseOptions.watchWorkers`). Online findings (`analyst: 'online:<detector>'`) are bus
|
|
7747
|
+
* events for the driver, not graph edges, so they are never ledgered as traversals. Omit =
|
|
7748
|
+
* off (no online watching, no extra events). */
|
|
7749
|
+
readonly watchWorkers?: WorkerWatchOptions;
|
|
7826
7750
|
/** Directive registry. Default: the seeded kernel registry (`kernelPromptRegistry()`). */
|
|
7827
7751
|
readonly registry?: PromptRegistry;
|
|
7828
7752
|
/** The run journal the edge ledger and every spawn/settle ride. Default: in-memory. */
|
|
@@ -8557,5 +8481,5 @@ interface VerifierEnvironmentOptions {
|
|
|
8557
8481
|
/** 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. */
|
|
8558
8482
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
8559
8483
|
//#endregion
|
|
8560
|
-
export { legacySupervisorRunsRoot as $, printBenchmarkReport as $a, WaterfallReport as $c, createDelegationTraceCollector as $d, defineProfileMaterializationContract as $f, SandboxLineageHandle as $i, createExecutor as $l, DeliveredOutput as $n, harvestCorpus as $o, structuralRollout as $r, RunPersonified as $s, assertCoordinationBinding as $t, createDetachedTurnResumeDriver as $u, GitWorkspaceOptions as A, loopUntil as Aa, PairwiseVerdict as Ac, DelegationHistoryEntry as Ad, InMemorySpawnJournal as Af, SteeringDirectiveData as Ai, McpServer as Al, defaultDelegateBudget as An, loopDispatch as Ao, CheckExecChannel as Ar, RenderCorpusToInstructionsOptions as As, runGraph as At, CoderDelegate as Au, analyzeTrace as B, createScopeAnalyst as Ba, AuditIntentOptions as Bc, ResearchOutputShape as Bd, replaySpawnTree as Bf, connectStdioMcp as Bi, DelegateResult as Bl, ProgressSample as Bn, envKeyProvider as Bo, StructuralRolloutResult as Br, VerifySpec as Bs, CoordinationBinding as Bt, settleDetachedCoderTurn as Bu, closingWorkerNote as C, definePersona as Ca, AxisScoresOf as Cc, DelegateUiAuditArgs as Cd, defaultToolDetectors as Cf, assertStrategyContract as Ci, QuestionUrgency as Cl, DispatchUnit as Cn, runAgentic as Co, asAuthoredProfile as Cr, Panel as Cs, EdgeTraversal as Ct, JsonRpcResponse as Cu, UntrackedCopyStats as D, renderCorpusToInstructions as Da, LeaderboardOptions as Dc, DelegationError as Dd, FileResultBlobStore as Df, DumbDriverOptions as Di, canonicalFindingEvent as Dl, queueOf as Dn, LoopDispatchOptions as Do, defaultProfileRichnessThresholds as Dr, Pipeline as Ds, GraphResult as Dt, FeedbackStore as Du, CopyOptions as E, InMemoryCorpus as Ea, Leaderboard as Ec, DelegateUiAuditRoute as Ed, gateOnDeliverable as Ef, ApplyContinuation as Ei, WorkerWatchOptions as El, freeSlots as En, LoopCampaignDispatchOptions as Eo, canonicalizeAuthoredProfile as Er, PanelVerdict as Es, GraphNode as Et, FeedbackEvent as Eu, gitWorkspace as F, widen as Fa, renderLeaderboardHtml as Fc, DelegationStatus as Fd, SpawnForestNode as Ff, MaterializeLocalMcpOptions as Fi, DELEGATE_INPUT_SCHEMA as Fl, driverAgent as Fn, runLoop as Fo, CheckSourceCtx as Fr, TrajectoryNode as Fs, SuperviseOptions as Ft, DetachedWinnerSelection as Fu, workerTraceAnalysisStore as G, sanitizeMcpToolSchema as Ga, AnytimeStrategySummary as Gc, DELEGATION_TRACE_MAX_BYTES as Gd, CanonicalAgentProfileMaterializationAxis as Gf, OpenSandboxRunPromptOptions as Gi, CliWorktreeBridgeSeam as Gl, StopRule as Gn, inlineSandboxClient as Go, defaultExtractCandidate as Gr, WinnerStrategy as Gs, ResolveSupervisorTools as Gt, createFleetWorkspaceExecutor as Gu, WorkerToolTraceArtifact as H, McpEndpoint as Ha, auditIntent as Hc, UiAuditLensFilter as Hd, AGENT_PROFILE_MATERIALIZATION_AXES as Hf, Deliverable as Hi, validateDelegateArgs as Hl, ProgressTrackerOptions as Hn, resolveMcpServerLaunch as Ho, canDisplace as Hr, WidenDecision as Hs, DriveHarnessOwnerContext as Ht, FleetHandle as Hu, jjWorkspace as I, CreateScopeAnalystOptions as Ia, renderLeaderboardMarkdown as Ic, DelegationStatusArgs as Id, SpawnForestTree as If, McpSpawnFault as Ii, DELEGATE_TOOL_NAME as Il, finalizeBestDelivered as In, LocalSandboxClientOptions as Io, RepairStop as Ir, TrajectoryReport as Is, SuperviseRegistry as It, SettleDetachedCoderTurnOptions as Iu, ScopeArgs as J, BenchmarkLift as Ja, areaUnderCurve as Jc, DelegationTraceCollector as Jd, ProfileMaterializationContract as Jf, TurnResult as Ji, ProviderSeam as Jl, anyOf as Jn, InProcessSandboxClientOptions as Jo, modelAuthoredChecks as Jr, LoopShape as Js, SupervisorNodeContext as Jt, DetachedTurn as Ju, createRootHandle as K, BenchmarkCell as Ka, AnytimeTaskCurve as Kc, DELEGATION_TRACE_MAX_SPANS as Kd, DefineProfileMaterializationContractOptions as Kf, SandboxRun as Ki, CliWorktreeSeam as Kl, allOf as Kn, InProcessOnPrompt as Ko, defaultStructuralRolloutPolicy as Kr, DefinePersona as Ks, ResolvedSupervisorProfile as Kt, createSiblingSandboxExecutor as Ku, localShell as L, RegistryAnalyzeProjection as La, renderLeaderboardSvg as Lc, DelegationStatusResult as Ld, loadSpawnForest as Lf, McpToolDescriptor as Li, DelegateArgs as Ll, AllWorkersStalledOptions as Ln, localSandboxClient as Lo, StructuralRolloutConfig as Lr, TrajectoryReportFn as Ls, SuperviseRegistryTable as Lt, UiAuditorDelegate as Lu, Workspace as M, pipeline as Ma, ScoreOf as Mc, DelegationProfile as Md, SpawnForestEvent as Mf, naiveDriver as Mi, createInProcessTransport as Ml, CoordinationMcpHandle as Mn, RunLoopOptions as Mo, CheckRunContext as Mr, ScopeAnalyzeInput as Ms, AuthorizedSpawnContext as Mt, CoderReviewer as Mu, WorkspaceCommit as N, selectValidWinner as Na, leaderboard as Nc, DelegationProgress as Nd, SpawnForestInDoubtNode as Nf, steeringDriver as Ni, createMcpServer as Nl, serveCoordinationMcp as Nn, defaultSelectWinner as No, CheckRunner as Nr, ScopeWidenGate as Ns, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Nt, DelegateRunCtx as Nu, copyUntrackedIntoClone as O, fanout as Oa, LeaderboardRow as Oc, DelegationFeedbackSnapshot as Od, FileSpawnJournal as Of, NaiveDriverOptions as Oi, createCoordinationTools as Ol, rollingDispatch as On, LoopOptionsForDispatch as Oo, profileRichnessFinding as Or, PipelineStage as Os, RunGraphOptions as Ot, InMemoryFeedbackStore as Ou, WorkspaceRun as P, verify as Pa, pairwiseSignificance as Pc, DelegationResultPayload as Pd, SpawnForestMissingTree as Pf, LocalMcpMaterialization as Pi, DELEGATE_DESCRIPTION as Pl, DriverAgentOptions as Pn, runAgentRounds as Po, CheckSource as Pr, SteerContext as Ps, DeliverableResolutionInput as Pt, DetachedSessionDelegateOptions as Pu, legacySupervisorRunDir as Q, Environment as Qa, WaterfallCollector as Qc, composeLoopTraceEmitters as Qd, controlProfileMaterialization as Qf, SandboxLineage as Qi, cliWorktreeExecutor as Ql, sampleFromSettled as Qn, HarvestReport as Qo, selectBestIndex as Qr, PersonaExecutors as Qs, SupervisorToolInvocationContext as Qt, RunDetachedTurnOptions as Qu, runInWorkspace as R, assertTraceDerivedFindings as Ra, renderPairwiseMarkdown as Rc, FeedbackRating as Rd, materializeTreeView as Rf, StdioMcpConnection as Ri, DelegateError as Rl, NoProgressForOptions as Rn, KeyProvider as Ro, StructuralRolloutMessage as Rr, TrajectoryReportOptions as Rs, supervise as Rt, coderTaskFromArgs as Ru, WorkerEvidenceInput as S, registerShape as Sa, stopSentinel as Sc, DelegateResearchResult as Sd, WatchTraceOptions as Sf, AuthoredStrategy as Si, QuestionRecord as Sl, DispatchStopReason as Sn, refine as So, ProfileRichnessThresholds as Sr, LoopUntilState as Ss, EdgeDeliveryOutcome as St, JsonRpcMessage as Su, settledWorkerOut as T, FileCorpus as Ta, Interval as Tc, DelegateUiAuditResult as Td, DeliverableSpec as Tf, strategyAuthorContract as Ti, WorkerSpawnContext as Tl, effectiveConcurrency as Tn, sampleThenRefine as To, authoredWorker as Tr, PanelSpec as Ts, GraphEdgeCapError as Tt, McpTransport as Tu, captureWorkerTraceEvidence as U, McpEnvironmentOptions as Ua, defaultAuditorInstruction as Uc, UiAuditorDelegationOutput as Ud, AgentProfileMaterializationAxis as Uf, OpenSandboxRunBeforeStartContext as Ui, BridgeSeam as Ul, ProgressView as Un, resolveSecretEnv as Uo, compareCheckOutcomes as Ur, WidenLineage as Us, ObserveSupervisorNodeEvent as Ut, FleetWorkspaceExecutorOptions as Uu, WORKER_TOOL_TRACE_SCHEMA_VERSION as V, registryScopeAnalyst as Va, IntentAudit as Vc, ResearchSource as Vd, contentAddress as Vf, materializeLocalMcp as Vi, createDelegateHandler as Vl, ProgressTracker as Vn, mcpSecretEnvMetadataKey as Vo, VisibleCheck as Vr, Widen as Vs, DriveHarness as Vt, DelegationExecutor as Vu, parseWorkerToolTraceArtifact as W, createMcpEnvironment as Wa, AnytimeReport as Wc, CappedDelegationTrace as Wd, AssertProfileMaterializationOptions as Wf, OpenSandboxRunOptions as Wi, CliSeam as Wl, StopDecision as Wn, secretEnvOfMcpServer as Wo, composeCheckSources as Wr, WidenSpec as Ws, ResolveDriveHarness as Wt, SiblingSandboxExecutorOptions as Wu, settledToIteration as X, BenchmarkStrategySummary as Xa, plateauLength as Xc, buildDelegationTraceSpans as Xd, ValidateProfileMaterializationOptions as Xf, CheckpointCapableBox as Xi, RouterToolsSeam as Xl, noProgressFor as Xn, HarvestCorpusOptions as Xo, resolveEntrySymbol as Xr, Persona as Xs, SupervisorProfile as Xt, DriveTurnCapableBox as Xu, createScope as Y, BenchmarkReport as Ya, bestSoFar as Yc, DelegationTraceSpan as Yd, ProfileMaterializationIssue as Yf, openSandboxRun as Yi, RouterSeam as Yl, createProgressTracker as Yn, inProcessSandboxClient as Yo, officialChecksFromMeta as Yr, Outcome as Ys, SupervisorNodeContextSeed as Yt, DetachedTurnResumeDriverOptions as Yu, WorkerSteerRequest as Z, BenchmarkTaskRow as Za, renderAnytimeTable as Zc, capDelegationTrace as Zd, assertProfileMaterialization as Zf, ForkCapableBox as Zi, SandboxSeam as Zl, plateau as Zn, HarvestFailure as Zo, sandboxCheckRunner as Zr, PersonaContext as Zs, SupervisorToolDescriptor as Zt, DriveTurnTick as Zu, WorktreeFanoutOptions as _, promotionGate as _a, CompletionPolicy as _c, DelegateCodeResult as _d, BusRecord as _f, discriminatingMeans as _i, Question as _l, naiveContinuationPrompt as _n, SurfaceScore as _o, ReservationTicket as _r, FanoutSynthesis as _s, WorktreePatchArtifact as _t, RemoveWorktreeOptions as _u, SandboxInstance$1 as a, mapSandboxEvent as aa, LeaderboardBenchScore as ac, DelegationRecord as ad, InMemoryDelegationStore as af, collectAgentTurn as ai, AuthorizeDownMessage as al, SupervisorSpanRecorder as an, AgenticTool as ao, promptResourceProfileMaterialization as ap, pickBestDelivered as ar, renderReport as as, workerControlLogFile as at, createSteerableSandboxSession as au, NOTE_MAX_CHARS as b, builtinShapes as ba, deterministicCompletion as bc, DelegateResearchArgs as bd, PublishOptions as bf, selectChampion as bi, QuestionOption as bl, ConcurrencyCaps as bn, defineStrategy as bo, AuthoredProfile as br, LoopUntil as bs, assertProfileModelsAllowed as bt, createWorktree as bu, VerifierEnvironmentOptions as c, CriuCapableClient as ca, LeaderboardFlagSpec as cc, DelegationResumeTick as cd, BackendTransportError as cf, ChampionPolicy as ci, CoordinationEvent as cl, PromptRegistry as cn, RunAgenticOptions as co, validateProfileMaterialization as cp, CoordinationDeliveryEvidence as cr, Corpus as cs, writeWorkerSteer as ct, createInbox as cu, SuperviseSurfaceResult as d, AcquireOptions as da, LeaderboardScenario as dc, DelegationTaskQueueOptions as dd, NotFoundError as df, EvolutionBandInfo as di, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as dl, createPromptRegistry as dn, Strategy as do, FileCoordinationLog as dr, EqualKArm as ds, RunContext as dt, WorktreeHarnessResult as du, SessionCapableBox as ea, RunPersonifiedOptions as ec, detachedTurnEvents as ed, DelegationPersistenceError as ef, visibleCheckScore as ei, WaterfallSpan as el, resolveSupervisorProfile as en, runBenchmark as eo, fullProfileMaterialization as ep, FinalizeContext as er, Observation as es, readWorkerSteerRequests as et, createExecutorRegistry as eu, SurfaceWorkerConfig as f, acquireSandbox as fa, LeaderboardScore as fc, SubmitInput as fd, PlannerError as ff, EvolutionCandidate as fi, DownMessageAuthorizationInput as fl, delegatesWorkerBriefPrompt as fn, StrategyArtifacts as fo, PriorCoordination as fr, EqualKOnCost as fs, createFileRunContext as ft, WorktreeProfileMaterializationReceipt as fu, AuthoredHarness as g, PromotionVerdict as ga, CompletionEvidence as gc, DelegateCodeConfig as gd, BusEvent as gf, StrategyEvolutionConfig as gi, MakeWorkerAgent as gl, kernelPromptRegistry as gn, StrategyShotResult as go, ReservationRejection as gr, FanoutOptions as gs, WorktreeCliExecutorOptions as gt, GitRunner as gu, superviseSurface as h, PromotionGateOptions as ha, CompletionAnalyst as hc, DelegateCodeArgs as hd, CoderOutput as hf, ReproductionCheck as hi, DownMessageEvent as hl, formatPromptHandle as hn, StrategyResult as ho, BudgetReadout as hr, Fanout as hs, patchDelivered as ht, DiffResult as hu, SandboxEvent$1 as i, extractLlmCallEvent as ia, DefinedLeaderboard as ic, DelegationArgs as id, FileDelegationStoreOptions as if, StreamAgentTurnOptions as ii, AnalyzeOnSettleRoute as il, SupervisorSpanOutcome as in, AgenticTask as io, promptOnlyProfileMaterialization as ip, collectDelivered as ir, observe as is, supervisorWorkersDir as it, SteerableSandboxSession as iu, Shell as j, panel as ja, ProfileKeyOf as jc, DelegationHistoryResult as jd, SpawnForest as jf, dumbDriver as ji, McpServerOptions as jl, delegate as jn, RunAgentRoundsOptions as jo, CheckOutcome as jr, ScopeAnalyst as js, AuthorizedSpawn as jt, CoderReview as ju, withUntrackedArtifacts as k, flatWidenGate as ka, PairwiseOptions as kc, DelegationHistoryArgs as kd, InMemoryResultBlobStore as kf, SteeringDecision as ki, normalizeAnalyzeOnSettle as kl, DelegateOptions as kn, loopCampaignDispatch as ko, supervisorInstructions as kr, RenderCorpusToInstructions as ks, defaultEdgeTraversalCap as kt, eventToSnapshot as ku, createVerifierEnvironment as l, SandboxCapabilities as la, LeaderboardIterationInfo as lc, DelegationRunContext as ld, ConfigError as lf, EvolutionArchiveNode as li, CoordinationTools as ll, RegisteredPrompt as ln, ShotPersona as lo, worktreeCliProfileMaterialization as lp, CoordinationLog as lr, CorpusFilter as ls, InMemoryRunContext as lt, WorktreeCheckRunner as lu, failuresAnalyst as m, resolveSandboxClient as ma, defineLeaderboard as mc, hashIdempotencyInput as md, ValidationError as mf, EvolutionReport as mi, DownMessageDeliveryOutcome as ml, dumbContinuationPassPrompt as mn, StrategyMessage as mo, BudgetPoolRestore as mr, EqualKVerdict as ms, PatchDeliverableOptions as mt, DiffOptions as mu, AnalystFinding$1 as n, SandboxToolPartState as na, ShapeContext as nc, parseDetachedSessionRef as nd, DelegationStore as nf, AgentTurnUsage as ni, AnalystFindingEvent as nl, SupervisorSpanAttributes as nn, AgenticRunResult as no, promptControlProfileMaterialization as np, SupervisorFinalizer as nr, ObserveOptions as ns, supervisorRunDir as nt, SandboxSteeringOptions as nu, computeFindingId$1 as o, mapSandboxToolEvent as oa, LeaderboardBenchTask as oc, DelegationResumeContext as od, AgentEvalError$1 as of, streamAgentTurn as oi, AuthorizedDownMessage as ol, createSupervisorSpanRecorder as on, ArtifactHandle as oo, renderProfileMaterializationIssues as op, runFinalizer as or, AssertTraceDerivedFindings as os, workerInboxFile as ot, Inbox as ou, SurfaceWorkerOut as p, ResolveSandboxClientOptions as pa, LeaderboardSpec as pc, SubmitOutput as pd, RuntimeRunStateError as pf, EvolutionGeneration as pi, DownMessageDeliveryAttempt as pl, dumbContinuationFailPrompt as pn, StrategyCtx as po, BudgetPool as pr, EqualKOnCostOptions as ps, createInMemoryRunContext as pt, CreateWorktreeOptions as pu, createSupervisor as q, BenchmarkConfig as qa, anytimeReport as qc, DelegationTraceCaps as qd, KnownAgentProfileMaterializationAxis as qf, SandboxRunAbortError as qi, ExecutorConfig as ql, allWorkersStalled as qn, InProcessPromptCtx as qo, filterAuthoredAsserts as qr, DefinePersonaInput as qs, SupervisorAgentDeps as qt, DetachedSessionRefParts as qu, CreateSandboxOptions$1 as r, createSandboxToolPartState as ra, ShapeRegistry as rc, runDetachedTurn as rd, FileDelegationStore as rf, CollectedAgentTurn as ri, AnalystRegistry as rl, SupervisorSpanOptions as rn, AgenticSurface as ro, promptModelProfileMaterialization as rp, bestDelivered as rr, defaultAnalystInstruction as rs, supervisorRunsRoot as rt, SteerableSandboxArgs as ru, makeFinding$1 as s, sumSandboxUsage as sa, LeaderboardBenchmarkAdapter as sc, DelegationResumeDriver as sd, AgentEvalErrorCode as sf, ChampionPick as si, ContinuationInstruction as sl, PromptHandle as sn, CorpusReadbackOptions as so, sandboxActProfileMaterialization as sp, runTree as sr, CombinatorShape as ss, workerInboxFileFromEventDir as st, InboxMessage as su, AgentProfile$2 as t, createSandboxLineage as ta, ShapeBudget as tc, formatDetachedSessionRef as td, DelegationStateCorruptError as tf, AgentTurnBackend as ti, createWaterfallCollector as tl, supervisorAgent as tn, AgenticOptions as to, profileMaterializationAxes as tp, FinalizerSettled as tr, ObserveInput as ts, safeWorkerFile as tt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as tu, SuperviseSurfaceOptions as u, probeSandboxCapabilities as ua, LeaderboardRunContext as uc, DelegationTaskQueue as ud, JudgeError as uf, EvolutionAuthor as ui, CoordinationToolsOptions as ul, analyzesFindingsReportPrompt as un, ShotSpec as uo, CoordinationOwnerId as ur, CorpusRecord as us, InMemoryRunContextOptions as ut, WorktreeCommandResult as uu, worktreeFanout as v, equalKOnCost as va, CompletionVerdict as vc, DelegateFeedbackArgs as vd, BusStats as vf, pickChampion as vi, QuestionDecision as vl, promptHandle as vn, adaptiveRefine as vo, createBudgetPool as vr, FanoutWinnerSelector as vs, createWorktreeCliExecutor as vt, WorktreeHandle as vu, composeWorkerEvidence as w, runPersonified as wa, GroupOf as wc, DelegateUiAuditConfig as wd, watchTrace as wf, authorStrategy as wi, SettledWorker as wl, RollingDispatchOptions as wn, sample as wo, assessAuthoredProfile as wr, PanelJudge as ws, GraphEdge as wt, McpToolDescriptor$1 as wu, VERIFY_TAIL_CHARS as x, createShapeRegistry as xa, sentinelCompletion as xc, DelegateResearchConfig as xd, createEventBus as xf, AuthorStrategyOptions as xi, QuestionPolicy as xl, DispatchReport as xn, depthStrategy as xo, ProfileRichness as xr, LoopUntilSpec as xs, AgentGraph as xt, removeWorktree as xu, EVIDENCE_MAX_CHARS as y, trajectoryReport as ya, completionAuthorizes as yc, DelegateFeedbackResult as yd, EventBus as yf, runStrategyEvolution as yi, QuestionLevel as yl, supervisorPolicyPrompt as yn, breadthStrategy as yo, spendFromUsageEvents as yr, FlatWidenGate as ys, assertModelAllowed as yt, captureWorktreeDiff as yu, TrajectoryAnalysis as z, buildSteerContext as za, AuditIntentInput as zc, FeedbackRefersTo as zd, pendingWaits as zf, StdioMcpServerSpec as zi, DelegateHandlerOptions as zl, PlateauOptions as zn, ResolvedMcpServerLaunch as zo, StructuralRolloutPolicy as zr, Verify as zs, workerFromBackend as zt, detachedSessionDelegate as zu };
|
|
8561
|
-
//# sourceMappingURL=index-
|
|
8484
|
+
export { legacySupervisorRunsRoot as $, CorpusReadbackOptions as $a, ContinuationInstruction as $c, AgentEvalErrorCode as $d, sandboxActProfileMaterialization as $f, sumSandboxUsage as $i, InboxMessage as $l, DeliveredOutput as $n, CombinatorShape as $o, structuralRollout as $r, LeaderboardBenchmarkAdapter as $s, assertCoordinationBinding as $t, DelegationResumeDriver as $u, GitWorkspaceOptions as A, assertTraceDerivedFindings as Aa, renderPairwiseMarkdown as Ac, FeedbackRating as Ad, materializeTreeView as Af, StdioMcpConnection as Ai, DelegateError as Al, defaultDelegateBudget as An, KeyProvider as Ao, CheckExecChannel as Ar, TrajectoryReportOptions as As, runGraph as At, coderTaskFromArgs as Au, analyzeTrace as B, BenchmarkLift as Ba, areaUnderCurve as Bc, DelegationTraceCollector as Bd, ProfileMaterializationContract as Bf, TurnResult as Bi, ProviderSeam as Bl, ProgressSample as Bn, InProcessSandboxClientOptions as Bo, StructuralRolloutResult as Br, LoopShape as Bs, CoordinationBinding as Bt, DetachedTurn as Bu, closingWorkerNote as C, panel as Ca, ProfileKeyOf as Cc, DelegationHistoryResult as Cd, SpawnForest as Cf, assertStrategyContract as Ci, McpServerOptions as Cl, DispatchUnit as Cn, RunAgentRoundsOptions as Co, asAuthoredProfile as Cr, ScopeAnalyst as Cs, EdgeTraversal as Ct, CoderReview as Cu, UntrackedCopyStats as D, widen as Da, renderLeaderboardHtml as Dc, DelegationStatus as Dd, SpawnForestNode as Df, MaterializeLocalMcpOptions as Di, DELEGATE_INPUT_SCHEMA as Dl, queueOf as Dn, runLoop as Do, defaultProfileRichnessThresholds as Dr, TrajectoryNode as Ds, GraphResult as Dt, DetachedWinnerSelection as Du, CopyOptions as E, verify as Ea, pairwiseSignificance as Ec, DelegationResultPayload as Ed, SpawnForestMissingTree as Ef, LocalMcpMaterialization as Ei, DELEGATE_DESCRIPTION as El, freeSlots as En, runAgentRounds as Eo, canonicalizeAuthoredProfile as Er, SteerContext as Es, GraphNode as Et, DetachedSessionDelegateOptions as Eu, gitWorkspace as F, McpEnvironmentOptions as Fa, defaultAuditorInstruction as Fc, UiAuditorDelegationOutput as Fd, AgentProfileMaterializationAxis as Ff, OpenSandboxRunBeforeStartContext as Fi, BridgeSeam as Fl, driverAgent as Fn, resolveSecretEnv as Fo, CheckSourceCtx as Fr, WidenLineage as Fs, SuperviseOptions as Ft, FleetWorkspaceExecutorOptions as Fu, workerTraceAnalysisStore as G, printBenchmarkReport as Ga, WaterfallReport as Gc, createDelegationTraceCollector as Gd, defineProfileMaterializationContract as Gf, SandboxLineageHandle as Gi, createExecutor as Gl, StopRule as Gn, harvestCorpus as Go, defaultExtractCandidate as Gr, RunPersonified as Gs, ResolveSupervisorTools as Gt, createDetachedTurnResumeDriver as Gu, WorkerToolTraceArtifact as H, BenchmarkStrategySummary as Ha, plateauLength as Hc, buildDelegationTraceSpans as Hd, ValidateProfileMaterializationOptions as Hf, CheckpointCapableBox as Hi, RouterToolsSeam as Hl, ProgressTrackerOptions as Hn, HarvestCorpusOptions as Ho, canDisplace as Hr, Persona as Hs, DriveHarnessOwnerContext as Ht, DriveTurnCapableBox as Hu, jjWorkspace as I, createMcpEnvironment as Ia, AnytimeReport as Ic, CappedDelegationTrace as Id, AssertProfileMaterializationOptions as If, OpenSandboxRunOptions as Ii, CliSeam as Il, finalizeBestDelivered as In, secretEnvOfMcpServer as Io, RepairStop as Ir, WidenSpec as Is, SuperviseRegistry as It, SiblingSandboxExecutorOptions as Iu, ScopeArgs as J, AgenticRunResult as Ja, AnalystFindingEvent as Jc, DelegationStore as Jd, promptControlProfileMaterialization as Jf, SandboxToolPartState as Ji, SandboxSteeringOptions as Jl, anyOf as Jn, ObserveOptions as Jo, modelAuthoredChecks as Jr, ShapeContext as Js, SupervisorNodeContext as Jt, parseDetachedSessionRef as Ju, createRootHandle as K, runBenchmark as Ka, WaterfallSpan as Kc, DelegationPersistenceError as Kd, fullProfileMaterialization as Kf, SessionCapableBox as Ki, createExecutorRegistry as Kl, allOf as Kn, Observation as Ko, defaultStructuralRolloutPolicy as Kr, RunPersonifiedOptions as Ks, ResolvedSupervisorProfile as Kt, detachedTurnEvents as Ku, localShell as L, sanitizeMcpToolSchema as La, AnytimeStrategySummary as Lc, DELEGATION_TRACE_MAX_BYTES as Ld, CanonicalAgentProfileMaterializationAxis as Lf, OpenSandboxRunPromptOptions as Li, CliWorktreeBridgeSeam as Ll, AllWorkersStalledOptions as Ln, inlineSandboxClient as Lo, StructuralRolloutConfig as Lr, WinnerStrategy as Ls, SuperviseRegistryTable as Lt, createFleetWorkspaceExecutor as Lu, Workspace as M, createScopeAnalyst as Ma, AuditIntentOptions as Mc, ResearchOutputShape as Md, replaySpawnTree as Mf, connectStdioMcp as Mi, DelegateResult as Ml, CoordinationMcpHandle as Mn, envKeyProvider as Mo, CheckRunContext as Mr, VerifySpec as Ms, AuthorizedSpawnContext as Mt, settleDetachedCoderTurn as Mu, WorkspaceCommit as N, registryScopeAnalyst as Na, IntentAudit as Nc, ResearchSource as Nd, contentAddress as Nf, materializeLocalMcp as Ni, createDelegateHandler as Nl, serveCoordinationMcp as Nn, mcpSecretEnvMetadataKey as No, CheckRunner as Nr, Widen as Ns, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Nt, DelegationExecutor as Nu, copyUntrackedIntoClone as O, CreateScopeAnalystOptions as Oa, renderLeaderboardMarkdown as Oc, DelegationStatusArgs as Od, SpawnForestTree as Of, McpSpawnFault as Oi, DELEGATE_TOOL_NAME as Ol, rollingDispatch as On, LocalSandboxClientOptions as Oo, profileRichnessFinding as Or, TrajectoryReport as Os, RunGraphOptions as Ot, SettleDetachedCoderTurnOptions as Ou, WorkspaceRun as P, McpEndpoint as Pa, auditIntent as Pc, UiAuditLensFilter as Pd, AGENT_PROFILE_MATERIALIZATION_AXES as Pf, Deliverable as Pi, validateDelegateArgs as Pl, DriverAgentOptions as Pn, resolveMcpServerLaunch as Po, CheckSource as Pr, WidenDecision as Ps, DeliverableResolutionInput as Pt, FleetHandle as Pu, legacySupervisorRunDir as Q, ArtifactHandle as Qa, AuthorizedDownMessage as Qc, AgentEvalError$1 as Qd, renderProfileMaterializationIssues as Qf, mapSandboxToolEvent as Qi, Inbox as Ql, sampleFromSettled as Qn, AssertTraceDerivedFindings as Qo, selectBestIndex as Qr, LeaderboardBenchTask as Qs, SupervisorToolInvocationContext as Qt, DelegationResumeContext as Qu, runInWorkspace as R, BenchmarkCell as Ra, AnytimeTaskCurve as Rc, DELEGATION_TRACE_MAX_SPANS as Rd, DefineProfileMaterializationContractOptions as Rf, SandboxRun as Ri, CliWorktreeSeam as Rl, NoProgressForOptions as Rn, InProcessOnPrompt as Ro, StructuralRolloutMessage as Rr, DefinePersona as Rs, supervise as Rt, createSiblingSandboxExecutor as Ru, WorkerEvidenceInput as S, loopUntil as Sa, PairwiseVerdict as Sc, DelegationHistoryEntry as Sd, InMemorySpawnJournal as Sf, AuthoredStrategy as Si, McpServer as Sl, DispatchStopReason as Sn, loopDispatch as So, ProfileRichnessThresholds as Sr, RenderCorpusToInstructionsOptions as Ss, EdgeDeliveryOutcome as St, CoderDelegate as Su, settledWorkerOut as T, selectValidWinner as Ta, leaderboard as Tc, DelegationProgress as Td, SpawnForestInDoubtNode as Tf, strategyAuthorContract as Ti, createMcpServer as Tl, effectiveConcurrency as Tn, defaultSelectWinner as To, authoredWorker as Tr, ScopeWidenGate as Ts, GraphEdgeCapError as Tt, DelegateRunCtx as Tu, captureWorkerTraceEvidence as U, BenchmarkTaskRow as Ua, renderAnytimeTable as Uc, capDelegationTrace as Ud, assertProfileMaterialization as Uf, ForkCapableBox as Ui, SandboxSeam as Ul, ProgressView as Un, HarvestFailure as Uo, compareCheckOutcomes as Ur, PersonaContext as Us, ObserveSupervisorNodeEvent as Ut, DriveTurnTick as Uu, WORKER_TOOL_TRACE_SCHEMA_VERSION as V, BenchmarkReport as Va, bestSoFar as Vc, DelegationTraceSpan as Vd, ProfileMaterializationIssue as Vf, openSandboxRun as Vi, RouterSeam as Vl, ProgressTracker as Vn, inProcessSandboxClient as Vo, VisibleCheck as Vr, Outcome as Vs, DriveHarness as Vt, DetachedTurnResumeDriverOptions as Vu, parseWorkerToolTraceArtifact as W, Environment as Wa, WaterfallCollector as Wc, composeLoopTraceEmitters as Wd, controlProfileMaterialization as Wf, SandboxLineage as Wi, cliWorktreeExecutor as Wl, StopDecision as Wn, HarvestReport as Wo, composeCheckSources as Wr, PersonaExecutors as Ws, ResolveDriveHarness as Wt, RunDetachedTurnOptions as Wu, settledToIteration as X, AgenticTask as Xa, AnalyzeOnSettleRoute as Xc, FileDelegationStoreOptions as Xd, promptOnlyProfileMaterialization as Xf, extractLlmCallEvent as Xi, SteerableSandboxSession as Xl, noProgressFor as Xn, observe as Xo, resolveEntrySymbol as Xr, DefinedLeaderboard as Xs, SupervisorProfile as Xt, DelegationArgs as Xu, createScope as Y, AgenticSurface as Ya, AnalystRegistry as Yc, FileDelegationStore as Yd, promptModelProfileMaterialization as Yf, createSandboxToolPartState as Yi, SteerableSandboxArgs as Yl, createProgressTracker as Yn, defaultAnalystInstruction as Yo, officialChecksFromMeta as Yr, ShapeRegistry as Ys, SupervisorNodeContextSeed as Yt, runDetachedTurn as Yu, WorkerSteerRequest as Z, AgenticTool as Za, AuthorizeDownMessage as Zc, InMemoryDelegationStore as Zd, promptResourceProfileMaterialization as Zf, mapSandboxEvent as Zi, createSteerableSandboxSession as Zl, plateau as Zn, renderReport as Zo, sandboxCheckRunner as Zr, LeaderboardBenchScore as Zs, SupervisorToolDescriptor as Zt, DelegationRecord as Zu, WorktreeFanoutOptions as _, FileCorpus as _a, Interval as _c, DelegateUiAuditResult as _d, DeliverableSpec as _f, discriminatingMeans as _i, WorkerSpawnContext as _l, naiveContinuationPrompt as _n, sampleThenRefine as _o, ReservationTicket as _r, PanelSpec as _s, WorktreePatchArtifact as _t, McpTransport as _u, SandboxInstance$1 as a, ResolveSandboxClientOptions as aa, LeaderboardSpec as ac, SubmitOutput as ad, RuntimeRunStateError as af, collectAgentTurn as ai, DownMessageDeliveryAttempt as al, SupervisorSpanRecorder as an, StrategyCtx as ao, pickBestDelivered as ar, EqualKOnCostOptions as as, workerControlLogFile as at, CreateWorktreeOptions as au, NOTE_MAX_CHARS as b, fanout as ba, LeaderboardRow as bc, DelegationFeedbackSnapshot as bd, FileSpawnJournal as bf, selectChampion as bi, createCoordinationTools as bl, ConcurrencyCaps as bn, LoopOptionsForDispatch as bo, AuthoredProfile as br, PipelineStage as bs, assertProfileModelsAllowed as bt, InMemoryFeedbackStore as bu, VerifierEnvironmentOptions as c, PromotionVerdict as ca, CompletionEvidence as cc, DelegateCodeConfig as cd, BusEvent as cf, ChampionPolicy as ci, MakeWorkerAgent as cl, PromptRegistry as cn, StrategyShotResult as co, CoordinationDeliveryEvidence as cr, FanoutOptions as cs, writeWorkerSteer as ct, GitRunner as cu, SuperviseSurfaceResult as d, trajectoryReport as da, completionAuthorizes as dc, DelegateFeedbackResult as dd, EventBus as df, EvolutionBandInfo as di, QuestionLevel as dl, createPromptRegistry as dn, breadthStrategy as do, FileCoordinationLog as dr, FlatWidenGate as ds, RunContext as dt, captureWorktreeDiff as du, CriuCapableClient as ea, LeaderboardFlagSpec as ec, DelegationResumeTick as ed, BackendTransportError as ef, visibleCheckScore as ei, CoordinationEvent as el, resolveSupervisorProfile as en, RunAgenticOptions as eo, validateProfileMaterialization as ep, FinalizeContext as er, Corpus as es, readWorkerSteerRequests as et, createInbox as eu, SurfaceWorkerConfig as f, builtinShapes as fa, deterministicCompletion as fc, DelegateResearchArgs as fd, PublishOptions as ff, EvolutionCandidate as fi, QuestionOption as fl, delegatesWorkerBriefPrompt as fn, defineStrategy as fo, PriorCoordination as fr, LoopUntil as fs, createFileRunContext as ft, createWorktree as fu, AuthoredHarness as g, runPersonified as ga, GroupOf as gc, DelegateUiAuditConfig as gd, watchTrace as gf, StrategyEvolutionConfig as gi, SettledWorker as gl, kernelPromptRegistry as gn, sample as go, ReservationRejection as gr, PanelJudge as gs, WorktreeCliExecutorOptions as gt, McpToolDescriptor$1 as gu, superviseSurface as h, definePersona as ha, AxisScoresOf as hc, DelegateUiAuditArgs as hd, defaultToolDetectors as hf, ReproductionCheck as hi, QuestionUrgency as hl, formatPromptHandle as hn, runAgentic as ho, BudgetReadout as hr, Panel as hs, patchDelivered as ht, JsonRpcResponse as hu, SandboxEvent$1 as i, acquireSandbox as ia, LeaderboardScore as ic, SubmitInput as id, PlannerError as if, StreamAgentTurnOptions as ii, DownMessageAuthorizationInput as il, SupervisorSpanOutcome as in, StrategyArtifacts as io, collectDelivered as ir, EqualKOnCost as is, supervisorWorkersDir as it, WorktreeProfileMaterializationReceipt as iu, Shell as j, buildSteerContext as ja, AuditIntentInput as jc, FeedbackRefersTo as jd, pendingWaits as jf, StdioMcpServerSpec as ji, DelegateHandlerOptions as jl, delegate as jn, ResolvedMcpServerLaunch as jo, CheckOutcome as jr, Verify as js, AuthorizedSpawn as jt, detachedSessionDelegate as ju, withUntrackedArtifacts as k, RegistryAnalyzeProjection as ka, renderLeaderboardSvg as kc, DelegationStatusResult as kd, loadSpawnForest as kf, McpToolDescriptor as ki, DelegateArgs as kl, DelegateOptions as kn, localSandboxClient as ko, supervisorInstructions as kr, TrajectoryReportFn as ks, defaultEdgeTraversalCap as kt, UiAuditorDelegate as ku, createVerifierEnvironment as l, promotionGate as la, CompletionPolicy as lc, DelegateCodeResult as ld, BusRecord as lf, EvolutionArchiveNode as li, Question as ll, RegisteredPrompt as ln, SurfaceScore as lo, CoordinationLog as lr, FanoutSynthesis as ls, InMemoryRunContext as lt, RemoveWorktreeOptions as lu, failuresAnalyst as m, registerShape as ma, stopSentinel as mc, DelegateResearchResult as md, WatchTraceOptions as mf, EvolutionReport as mi, QuestionRecord as ml, dumbContinuationPassPrompt as mn, refine as mo, BudgetPoolRestore as mr, LoopUntilState as ms, PatchDeliverableOptions as mt, JsonRpcMessage as mu, AnalystFinding$1 as n, probeSandboxCapabilities as na, LeaderboardRunContext as nc, DelegationTaskQueue as nd, JudgeError as nf, AgentTurnUsage as ni, CoordinationToolsOptions as nl, SupervisorSpanAttributes as nn, ShotSpec as no, SupervisorFinalizer as nr, CorpusRecord as ns, supervisorRunDir as nt, WorktreeCommandResult as nu, computeFindingId$1 as o, resolveSandboxClient as oa, defineLeaderboard as oc, hashIdempotencyInput as od, ValidationError as of, streamAgentTurn as oi, DownMessageDeliveryOutcome as ol, createSupervisorSpanRecorder as on, StrategyMessage as oo, runFinalizer as or, EqualKVerdict as os, workerInboxFile as ot, DiffOptions as ou, SurfaceWorkerOut as p, createShapeRegistry as pa, sentinelCompletion as pc, DelegateResearchConfig as pd, createEventBus as pf, EvolutionGeneration as pi, QuestionPolicy as pl, dumbContinuationFailPrompt as pn, depthStrategy as po, BudgetPool as pr, LoopUntilSpec as ps, createInMemoryRunContext as pt, removeWorktree as pu, createSupervisor as q, AgenticOptions as qa, createWaterfallCollector as qc, DelegationStateCorruptError as qd, profileMaterializationAxes as qf, createSandboxLineage as qi, DEFAULT_SANDBOX_STEERING_MAX_TURNS as ql, allWorkersStalled as qn, ObserveInput as qo, filterAuthoredAsserts as qr, ShapeBudget as qs, SupervisorAgentDeps as qt, formatDetachedSessionRef as qu, CreateSandboxOptions$1 as r, AcquireOptions as ra, LeaderboardScenario as rc, DelegationTaskQueueOptions as rd, NotFoundError as rf, CollectedAgentTurn as ri, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as rl, SupervisorSpanOptions as rn, Strategy as ro, bestDelivered as rr, EqualKArm as rs, supervisorRunsRoot as rt, WorktreeHarnessResult as ru, makeFinding$1 as s, PromotionGateOptions as sa, CompletionAnalyst as sc, DelegateCodeArgs as sd, CoderOutput as sf, ChampionPick as si, DownMessageEvent as sl, PromptHandle as sn, StrategyResult as so, runTree as sr, Fanout as ss, workerInboxFileFromEventDir as st, DiffResult as su, AgentProfile$2 as t, SandboxCapabilities as ta, LeaderboardIterationInfo as tc, DelegationRunContext as td, ConfigError as tf, AgentTurnBackend as ti, CoordinationTools as tl, supervisorAgent as tn, ShotPersona as to, worktreeCliProfileMaterialization as tp, FinalizerSettled as tr, CorpusFilter as ts, safeWorkerFile as tt, WorktreeCheckRunner as tu, SuperviseSurfaceOptions as u, equalKOnCost as ua, CompletionVerdict as uc, DelegateFeedbackArgs as ud, BusStats as uf, EvolutionAuthor as ui, QuestionDecision as ul, analyzesFindingsReportPrompt as un, adaptiveRefine as uo, CoordinationOwnerId as ur, FanoutWinnerSelector as us, InMemoryRunContextOptions as ut, WorktreeHandle as uu, worktreeFanout as v, InMemoryCorpus as va, Leaderboard as vc, DelegateUiAuditRoute as vd, gateOnDeliverable as vf, pickChampion as vi, WorkerWatchOptions as vl, promptHandle as vn, LoopCampaignDispatchOptions as vo, createBudgetPool as vr, PanelVerdict as vs, createWorktreeCliExecutor as vt, FeedbackEvent as vu, composeWorkerEvidence as w, pipeline as wa, ScoreOf as wc, DelegationProfile as wd, SpawnForestEvent as wf, authorStrategy as wi, createInProcessTransport as wl, RollingDispatchOptions as wn, RunLoopOptions as wo, assessAuthoredProfile as wr, ScopeAnalyzeInput as ws, GraphEdge as wt, CoderReviewer as wu, VERIFY_TAIL_CHARS as x, flatWidenGate as xa, PairwiseOptions as xc, DelegationHistoryArgs as xd, InMemoryResultBlobStore as xf, AuthorStrategyOptions as xi, normalizeAnalyzeOnSettle as xl, DispatchReport as xn, loopCampaignDispatch as xo, ProfileRichness as xr, RenderCorpusToInstructions as xs, AgentGraph as xt, eventToSnapshot as xu, EVIDENCE_MAX_CHARS as y, renderCorpusToInstructions as ya, LeaderboardOptions as yc, DelegationError as yd, FileResultBlobStore as yf, runStrategyEvolution as yi, canonicalFindingEvent as yl, supervisorPolicyPrompt as yn, LoopDispatchOptions as yo, spendFromUsageEvents as yr, Pipeline as ys, assertModelAllowed as yt, FeedbackStore as yu, TrajectoryAnalysis as z, BenchmarkConfig as za, anytimeReport as zc, DelegationTraceCaps as zd, KnownAgentProfileMaterializationAxis as zf, SandboxRunAbortError as zi, ExecutorConfig as zl, PlateauOptions as zn, InProcessPromptCtx as zo, StructuralRolloutPolicy as zr, DefinePersonaInput as zs, workerFromBackend as zt, DetachedSessionRefParts as zu };
|
|
8485
|
+
//# sourceMappingURL=index-EdjCQBV9.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { _ as RunAgentTaskOptions, a as AgentKnowledgeProvider, b as RuntimeSessionStore, c as AgentTaskContext, d as AgentTaskStatus, f as BackendErrorDetail, g as OpenAIChatToolChoice, h as OpenAIChatTool, i as AgentExecutionBackend, l as AgentTaskRunResult, m as OpenAIChatResponseFormat, n as AgentBackendContext, o as AgentRuntimeEvent, p as KnowledgeReadinessDecision, r as AgentBackendInput, s as AgentRuntimeEventSink, t as AgentAdapter, u as AgentTaskSpec, v as RunAgentTaskStreamOptions, x as RuntimeStreamEvent, y as RuntimeSession } from "./types-C9j4qg6l.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $d as AgentEvalErrorCode, Qd as AgentEvalError, Yc as AnalystRegistry, af as RuntimeRunStateError, ef as BackendTransportError, el as CoordinationEvent, er as FinalizeContext, if as PlannerError, nf as JudgeError, nr as SupervisorFinalizer, of as ValidationError, rf as NotFoundError, tf as ConfigError, tu as WorktreeCheckRunner } from "./index-EdjCQBV9.js";
|
|
3
3
|
import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-sbRpjStq.js";
|
|
4
4
|
import { A as RuntimeRunCompleteInput, F as RuntimeRunRow, I as RuntimeRunStatus, L as startRuntimeRun, M as RuntimeRunHandle, N as RuntimeRunOptions, P as RuntimeRunPersistenceAdapter, j as RuntimeRunCost, m as LoopResult, r as Driver } from "./types-DnNGJ5Gz.js";
|
|
5
|
-
import { $t as RuntimeEventOtelOptions, Ct as SupervisedResult, Gt as EvalRunsExportConfig, H as Executor, Jt as LoopSpanNode, Kt as EvalRunsExportResult, Mt as WorkerTraceUnavailableReason, Qt as OtelSpan, R as AgentSpec, Sn as sanitizeRuntimeStreamEvent, Ut as EvalRunEvent, Wt as EvalRunGeneration, Xt as OtelExportConfig, Y as ExecutorRegistry, Yt as OtelAttribute, Zt as OtelExporter, _n as SanitizedKnowledgeRequirement, an as exportEvalRuns, bn as sanitizeAgentRuntimeEvent, cn as padSpanId, dn as RuntimeEventCollector, en as buildLoopOtelSpans, fn as RuntimeStreamEventCollector, gn as SanitizedKnowledgeReadinessReport, hn as RuntimeTelemetryOptions, ht as Settled, in as createOtelExporter, jt as WorkerTraceEvidence, ln as padTraceId, mn as RuntimeStreamEventSummary, mt as Scope, nn as buildRuntimeEventOtelSpans, on as generateSpanId, pn as RuntimeStreamEventSink, qt as INTELLIGENCE_WIRE_VERSION, rn as createOpenInferenceFileExporter, sn as loopEventToOtelSpan, tn as buildLoopSpanNodes, un as toOtelAttributes, vn as createRuntimeEventCollector, wt as Supervisor, xn as sanitizeKnowledgeReadinessReport, xt as Spend, yn as createRuntimeStreamEventCollector, z as Budget } from "./environment-provider-
|
|
5
|
+
import { $t as RuntimeEventOtelOptions, Ct as SupervisedResult, Gt as EvalRunsExportConfig, H as Executor, Jt as LoopSpanNode, Kt as EvalRunsExportResult, Mt as WorkerTraceUnavailableReason, Qt as OtelSpan, R as AgentSpec, Sn as sanitizeRuntimeStreamEvent, Ut as EvalRunEvent, Wt as EvalRunGeneration, Xt as OtelExportConfig, Y as ExecutorRegistry, Yt as OtelAttribute, Zt as OtelExporter, _n as SanitizedKnowledgeRequirement, an as exportEvalRuns, bn as sanitizeAgentRuntimeEvent, cn as padSpanId, dn as RuntimeEventCollector, en as buildLoopOtelSpans, fn as RuntimeStreamEventCollector, gn as SanitizedKnowledgeReadinessReport, hn as RuntimeTelemetryOptions, ht as Settled, in as createOtelExporter, jt as WorkerTraceEvidence, ln as padTraceId, mn as RuntimeStreamEventSummary, mt as Scope, nn as buildRuntimeEventOtelSpans, on as generateSpanId, pn as RuntimeStreamEventSink, qt as INTELLIGENCE_WIRE_VERSION, rn as createOpenInferenceFileExporter, sn as loopEventToOtelSpan, tn as buildLoopSpanNodes, un as toOtelAttributes, vn as createRuntimeEventCollector, wt as Supervisor, xn as sanitizeKnowledgeReadinessReport, xt as Spend, yn as createRuntimeStreamEventCollector, z as Budget } from "./environment-provider-PM9PeW_J.js";
|
|
6
6
|
import { C as AgentCandidateCodeSurfaceSource, D as AgentCandidateBundleInput, E as buildAgentCandidateBundle, O as sealAgentCandidateBundle, S as AgentCandidateCodeSource, T as BuildAgentCandidateBundleInput, _ as exactProcessProviderAsCandidateExecutor, a as captureAgentCandidateWorkspace, b as FileAgentCandidateExecutionClaimStore, c as AGENT_CANDIDATE_EXECUTION_SUPPORT, d as recoverExpiredAgentCandidateExecution, f as persistCandidateOutputArtifact, g as ExactProcessCandidateExecutorOptions, h as candidateKnowledgeExecutionPaths, i as CreateAgentCandidateWorkspacePortOptions, l as verifyAgentCandidateBundle, m as CANDIDATE_KNOWLEDGE_ROOT_ENV, n as CaptureAgentCandidateWorkspaceOptions, o as captureAgentCandidateWorkspaceFiles, p as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, r as CapturedAgentCandidateWorkspace, s as createAgentCandidateWorkspacePort, t as AgentCandidateWorkspaceArchiveLimits, u as RecoverExpiredAgentCandidateOptions, v as DisposePreparedAgentCandidateOptions, w as AgentCandidateProfileSource, x as FileAgentCandidateExecutionClaimStoreOptions, y as disposePreparedAgentCandidateExecution } from "./index-B3bHsVLw.js";
|
|
7
7
|
import { A as AgentCandidateExecutionPhase, B as AgentCandidatePreparationEvidence, C as AgentCandidateExecutionClaim, D as AgentCandidateExecutionFailureClass, E as AgentCandidateExecutionCleanupHandles, F as AgentCandidateExecutionTerminalResult, I as AgentCandidateRetryRejection, L as InMemoryAgentCandidateExecutionClaimStore, M as AgentCandidateExecutionRecoveryEvidence, N as AgentCandidateExecutionStageResult, O as AgentCandidateExecutionFinishResult, P as AgentCandidateExecutionTerminalRecord, R as InMemoryAgentCandidateExecutionClaimStoreOptions, S as AgentCandidateExecutionAttemptRef, T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, a as AgentCandidateModelGrantSettleInput, b as executePreparedAgentCandidate, c as agentCandidateProfileAsAgentProfile, d as freezeGenericAgentCandidateProfile, f as omitUndefinedObjectFields, g as parseExactCandidateProfile, h as parseExactAgentProfileDiff, i as AgentCandidateModelGrantReserveInput, j as AgentCandidateExecutionPhaseResult, k as AgentCandidateExecutionLease, l as applyExactAgentProfileDiff, m as parseExactAgentProfile, n as AgentCandidateModelGrantClient, o as CreateProtectedAgentCandidateModelPortOptions, r as AgentCandidateModelGrantReservation, s as createProtectedAgentCandidateModelPort, t as AgentCandidateModelGrantActivateInput, u as assertCandidateProfileBinding, v as prepareAgentCandidateExecution, w as AgentCandidateExecutionClaimResult, x as AgentCandidateExecutionAttemptRecord, y as ExecutePreparedAgentCandidateOptions, z as candidateExecutionClaim } from "./protected-model-port-CoJOiINX.js";
|
|
8
8
|
import { A as CANDIDATE_TRACE_ENV, B as VerifiedAgentCandidate, C as AgentCandidateProtectedModelSettlement, D as AgentCandidateTaskExecution, E as AgentCandidateRunFinalization, F as PreparedAgentCandidateInstruction, I as PreparedAgentCandidateKnowledge, L as PreparedAgentCandidateLaunch, M as CanonicalCandidateDocument, N as PersistedTaskOutcomeEvidence, O as AgentCandidateVerificationPorts, P as PreparedAgentCandidateExecution, R as PreparedAgentCandidateTrace, S as AgentCandidateProtectedModelReservation, T as AgentCandidateRepositoryPort, V as VerifiedAgentCandidateTaskOutcome, _ as AgentCandidateModelLimits, a as AgentCandidateExecutionPorts, b as AgentCandidateOutputPurpose, c as AgentCandidateExecutorPort, d as AgentCandidateExecutorStopRequest, f as AgentCandidateExecutorTaskOutcomeCapture, g as AgentCandidateMemoryResetResult, h as AgentCandidateMemoryPort, i as AgentCandidateContainerPort, j as CANDIDATE_TRACE_TAGS, k as AgentCandidateWorkspacePort, l as AgentCandidateExecutorProfileFile, m as AgentCandidateExecutorWorkspaceInput, n as AgentCandidateBenchmarkGraderIdentity, o as AgentCandidateExecutorFinalCapture, p as AgentCandidateExecutorWorkspaceFile, r as AgentCandidateBenchmarkGraderPort, s as AgentCandidateExecutorMemoryCapture, t as AgentCandidateArtifactPort, u as AgentCandidateExecutorRequest, v as AgentCandidateModelPort, w as AgentCandidateProtectedRunCapture, x as AgentCandidateProtectedModelActivation, y as AgentCandidateOutputArtifactPort, z as ResolvedAgentCandidateContainer } from "./types-BaIpb0XT.js";
|
|
9
9
|
import { $ as sleep, A as RunConversationOptions, B as buildForwardHeaders, C as ConversationResult, D as HaltPredicate, E as HaltContext, F as InMemoryConversationJournal, G as CircuitBreakerState, H as readDepth, I as DEFAULT_MAX_DEPTH, J as RetryBackoff, K as CircuitOpenError, L as FORWARD_HEADERS, M as ConversationJournal, N as ConversationJournalEntry, O as HaltReason, P as FileConversationJournal, Q as makePerAttemptSignal, R as ForwardHeaderName, S as ConversationPolicy, T as ConversationTurn, U as BackendCallPolicy, V as isDepthExceeded, W as CircuitBreakerConfig, X as computeBackoff, Y as RetryableErrorPredicate, Z as defaultIsRetryable, _ as createConversationBackend, a as RunPersonaConfig, b as ConversationDriveState, c as runPersonaDispatch, d as D1DatabaseLike, f as D1StmtLike, g as defineConversation, h as d1ToSqlAdapter, i as PersonaDriver, j as TurnOrder, k as HaltSignal, l as runConversation, m as SqlConversationJournal, n as turnId, o as RunPersonaConversationOptions, p as SqlAdapter, q as DeadlineExceededError, r as PersonaConversationResult, s as runPersonaConversation, t as slugifySpeaker, u as runConversationStream, v as AuthSource, w as ConversationStreamEvent, x as ConversationParticipant, y as Conversation, z as PropagatedHeaders } from "./index-Efjb3nrQ.js";
|
|
10
|
-
import { $ as McpServeSpec, A as resolveRouterBaseUrl, B as RawTraceDistillerOptions, C as DEFAULT_ROUTER_BASE_URL, D as cleanModelId, E as RouterEnv, F as parseRolloutPolicy, G as strategyAuthorMethod, H as buildDriverSystem, I as serializeRolloutPolicy, J as OfficialOptimizerUnavailableError, K as OfficialGepaOptions, L as structuralRolloutPolicyFromProfile, M as ROLLOUT_POLICY_EXTENSION, N as applyRolloutPolicyToProfile, O as getModels, P as normalizeRolloutPolicy, Q as officialSkillOpt, R as ReflectiveGeneratorOptions, S as ChatModelValidation, T as ResolvedChatModel, U as optimizerMethod, V as rawTraceDistiller, W as researchDriverNote, X as OfficialSkillOptOptions, Y as OfficialSensitiveCandidateInput, Z as officialGepa, _ as AgentBackendKind, a as ControlStep, at as mcpBuildPrompt, b as decideKnowledgeReadiness, c as KnowledgeRequirement, ct as createIterableBackend, d as readinessServerSentEvent, et as mcpServeVerifier, f as runtimeStreamServerSentEvent, g as runAgentTaskStream, h as runAgentTask, i as ControlRunResult, it as findingLines, j as validateChatModelId, k as resolveChatModel, l as RunRecord, lt as createOpenAICompatibleBackend, m as applyRunRecordDefaults, n as ControlDecision, nt as driverLoopGenerator, o as DataAcquisitionPlan, ot as toolBuildPrompt, p as InMemoryRuntimeSessionStore, q as OfficialOptimizerContextOptions, r as ControlEvalResult, rt as BuildPromptFindingsInput, s as KnowledgeReadinessReport, st as BackendRetryPolicy, t as ControlBudget, tt as DriverLoopGeneratorOptions, u as ServerSentEventOptions, ut as createSandboxPromptBackend, v as ResolveAgentBackendOptions, w as ModelInfo, x as ChatModelCandidate, y as resolveAgentBackend, z as reflectiveGenerator } from "./index-
|
|
10
|
+
import { $ as McpServeSpec, A as resolveRouterBaseUrl, B as RawTraceDistillerOptions, C as DEFAULT_ROUTER_BASE_URL, D as cleanModelId, E as RouterEnv, F as parseRolloutPolicy, G as strategyAuthorMethod, H as buildDriverSystem, I as serializeRolloutPolicy, J as OfficialOptimizerUnavailableError, K as OfficialGepaOptions, L as structuralRolloutPolicyFromProfile, M as ROLLOUT_POLICY_EXTENSION, N as applyRolloutPolicyToProfile, O as getModels, P as normalizeRolloutPolicy, Q as officialSkillOpt, R as ReflectiveGeneratorOptions, S as ChatModelValidation, T as ResolvedChatModel, U as optimizerMethod, V as rawTraceDistiller, W as researchDriverNote, X as OfficialSkillOptOptions, Y as OfficialSensitiveCandidateInput, Z as officialGepa, _ as AgentBackendKind, a as ControlStep, at as mcpBuildPrompt, b as decideKnowledgeReadiness, c as KnowledgeRequirement, ct as createIterableBackend, d as readinessServerSentEvent, et as mcpServeVerifier, f as runtimeStreamServerSentEvent, g as runAgentTaskStream, h as runAgentTask, i as ControlRunResult, it as findingLines, j as validateChatModelId, k as resolveChatModel, l as RunRecord, lt as createOpenAICompatibleBackend, m as applyRunRecordDefaults, n as ControlDecision, nt as driverLoopGenerator, o as DataAcquisitionPlan, ot as toolBuildPrompt, p as InMemoryRuntimeSessionStore, q as OfficialOptimizerContextOptions, r as ControlEvalResult, rt as BuildPromptFindingsInput, s as KnowledgeReadinessReport, st as BackendRetryPolicy, t as ControlBudget, tt as DriverLoopGeneratorOptions, u as ServerSentEventOptions, ut as createSandboxPromptBackend, v as ResolveAgentBackendOptions, w as ModelInfo, x as ChatModelCandidate, y as resolveAgentBackend, z as reflectiveGenerator } from "./index-D_M4d1_B.js";
|
|
11
11
|
import { A as DeepReadonly, B as commandVerifier, C as ImproveResult, D as ImprovementCandidate, E as ImproveSurface, F as AgenticGeneratorShotExecution, H as CandidateGenerator, I as AgenticGeneratorShotReceipt, L as Verifier, M as AGENTIC_PROFILE_RESOURCE_ROOT, N as AgenticGeneratorOptions, O as ImprovementCodeCandidate, P as AgenticGeneratorShotDisposition, R as VerifyResult, S as ImproveProfileSurface, T as ImproveSkillsOptions, V as defaultBuildPrompt, _ as ImproveMethodSource, a as ImproveCandidateValidationInput, b as ImproveProfileAgent, c as ImproveCodeResult, d as ImproveLineage, f as ImproveMethodContext, g as ImproveMethodResult, h as ImproveMethodOptions, i as improve, j as ReadonlyAgentProfile, k as ImprovementProfileCandidate, l as ImproveCodeRunOptions, m as ImproveMethodLineage, o as ImproveCandidateValidator, p as ImproveMethodFactory, s as ImproveCodeOptions, u as ImproveCost, v as ImproveOptimizationRunOptions, w as ImproveScenarioPartitions, x as ImproveProfileComponents, y as ImproveOptions, z as agenticGenerator } from "./redact-PQzmE1Jn.js";
|
|
12
|
-
import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-
|
|
13
|
-
import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-
|
|
12
|
+
import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-DIV33AF5.js";
|
|
13
|
+
import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-Bo29_fiD.js";
|
|
14
14
|
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-B68JaOCx.js";
|
|
15
15
|
export { AGENTIC_PROFILE_RESOURCE_ROOT, AGENT_CANDIDATE_EXECUTION_SUPPORT, type AgentAdapter, type AgentBackendContext, type AgentBackendInput, type AgentBackendKind, type AgentCandidateArtifactPort, type AgentCandidateBenchmarkGraderIdentity, type AgentCandidateBenchmarkGraderPort, type AgentCandidateBundleInput, type AgentCandidateCodeSource, type AgentCandidateCodeSurfaceSource, type AgentCandidateContainerPort, type AgentCandidateExecutionAttemptRecord, type AgentCandidateExecutionAttemptRef, type AgentCandidateExecutionClaim, type AgentCandidateExecutionClaimResult, type AgentCandidateExecutionClaimStore, type AgentCandidateExecutionCleanupHandles, type AgentCandidateExecutionFailureClass, type AgentCandidateExecutionFinishResult, type AgentCandidateExecutionLease, type AgentCandidateExecutionPhase, type AgentCandidateExecutionPhaseResult, type AgentCandidateExecutionPorts, type AgentCandidateExecutionRecoveryEvidence, type AgentCandidateExecutionStageResult, type AgentCandidateExecutionTerminalRecord, type AgentCandidateExecutionTerminalResult, type AgentCandidateExecutorFinalCapture, type AgentCandidateExecutorMemoryCapture, type AgentCandidateExecutorPort, type AgentCandidateExecutorProfileFile, type AgentCandidateExecutorRequest, type AgentCandidateExecutorStopRequest, type AgentCandidateExecutorTaskOutcomeCapture, type AgentCandidateExecutorWorkspaceFile, type AgentCandidateExecutorWorkspaceInput, type AgentCandidateMemoryPort, type AgentCandidateMemoryResetResult, type AgentCandidateModelGrantActivateInput, type AgentCandidateModelGrantClient, type AgentCandidateModelGrantReservation, type AgentCandidateModelGrantReserveInput, type AgentCandidateModelGrantSettleInput, type AgentCandidateModelLimits, type AgentCandidateModelPort, type AgentCandidateOutputArtifactPort, type AgentCandidateOutputPurpose, type AgentCandidatePreparationEvidence, type AgentCandidateProfileSource, type AgentCandidateProtectedModelActivation, type AgentCandidateProtectedModelReservation, type AgentCandidateProtectedModelSettlement, type AgentCandidateProtectedRunCapture, type AgentCandidateRepositoryPort, type AgentCandidateRetryRejection, type AgentCandidateRunFinalization, type AgentCandidateTaskExecution, type AgentCandidateVerificationPorts, type AgentCandidateWorkspaceArchiveLimits, type AgentCandidateWorkspacePort, AgentEvalError, type AgentEvalErrorCode, type AgentExecutionBackend, type AgentKnowledgeProvider, type AgentKnowledgeReadinessCheckOptions, type AgentRuntimeEvent, type AgentRuntimeEventSink, type AgentSpec, type AgentTaskContext, type AgentTaskRunResult, type AgentTaskSpec, type AgentTaskStatus, type AgenticGeneratorOptions, type AgenticGeneratorShotDisposition, type AgenticGeneratorShotExecution, type AgenticGeneratorShotReceipt, type AnalystRegistry, type AuthSource, type BackendCallPolicy, type BackendErrorDetail, type BackendRetryPolicy, BackendTransportError, type Budget, type BuildAgentCandidateBundleInput, type BuildPromptFindingsInput, CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, CANDIDATE_KNOWLEDGE_ROOT_ENV, CANDIDATE_TRACE_ENV, CANDIDATE_TRACE_TAGS, type CandidateGenerator, type CanonicalCandidateDocument, type CaptureAgentCandidateWorkspaceOptions, type CapturedAgentCandidateWorkspace, type ChatModelCandidate, type ChatModelValidation, type CircuitBreakerConfig, CircuitBreakerState, CircuitOpenError, ConfigError, type ControlBudget, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlStep, type Conversation, type ConversationDriveState, type ConversationJournal, type ConversationJournalEntry, type ConversationParticipant, type ConversationPolicy, type ConversationResult, type ConversationStreamEvent, type ConversationTurn, type CoordinationEvent, type CreateAgentCandidateWorkspacePortOptions, type CreateKnowledgeImprovementActivationExecutorOptions, type CreateProtectedAgentCandidateModelPortOptions, type D1DatabaseLike, type D1StmtLike, DEFAULT_MAX_DEPTH, DEFAULT_ROUTER_BASE_URL, DELEGATED_LOOP_MODES, type DataAcquisitionPlan, DeadlineExceededError, type DeepReadonly, type DelegatedLoopMode, type DelegatedLoopRegistry, type DelegatedLoopResult, type DelegatedLoopRunner, type DisposePreparedAgentCandidateOptions, type Driver, type DriverLoopGeneratorOptions, type EvalRunEvent, type EvalRunGeneration, type EvalRunsExportConfig, type EvalRunsExportResult, type ExactProcessCandidateExecutorOptions, type ExecutePreparedAgentCandidateOptions, type Executor, type ExecutorRegistry, FORWARD_HEADERS, FileAgentCandidateExecutionClaimStore, type FileAgentCandidateExecutionClaimStoreOptions, FileConversationJournal, type FinalizeContext, type ForwardHeaderName, type HaltContext, type HaltPredicate, type HaltReason, type HaltSignal, INTELLIGENCE_WIRE_VERSION, type ImproveCandidateValidationInput, type ImproveCandidateValidator, type ImproveCodeOptions, type ImproveCodeResult, type ImproveCodeRunOptions, type ImproveCost, type ImproveLineage, type ImproveMethodContext, type ImproveMethodFactory, type ImproveMethodLineage, type ImproveMethodOptions, type ImproveMethodResult, type ImproveMethodSource, type ImproveOptimizationRunOptions, type ImproveOptions, type ImproveProfileAgent, type ImproveProfileComponents, type ImproveProfileSurface, type ImproveResult, type ImproveScenarioPartitions, type ImproveSkillsOptions, type ImproveSurface, type ImprovementCandidate, type ImprovementCodeCandidate, type ImprovementProfileCandidate, InMemoryAgentCandidateExecutionClaimStore, type InMemoryAgentCandidateExecutionClaimStoreOptions, InMemoryConversationJournal, InMemoryRuntimeSessionStore, JudgeError, type KnowledgeImprovementActivationExecutor, type KnowledgeImprovementCandidatePair, type KnowledgeImprovementExperimentBundles, type KnowledgeImprovementJobMeasurement, type KnowledgeImprovementJobResult, type KnowledgeReadinessCheck, type KnowledgeReadinessCheckInput, type KnowledgeReadinessCheckResult, type KnowledgeReadinessDecision, type KnowledgeReadinessReport, type KnowledgeRequirement, type LoopResult, type LoopRunnerCliArgs, type LoopRunnerCliResult, type LoopSpanNode, type McpServeSpec, type ModelInfo, NotFoundError, type OfficialGepaOptions, type OfficialOptimizerContextOptions, OfficialOptimizerUnavailableError, type OfficialSensitiveCandidateInput, type OfficialSkillOptOptions, type OpenAIChatResponseFormat, type OpenAIChatTool, type OpenAIChatToolChoice, type OtelAttribute, type OtelExportConfig, type OtelExporter, type OtelSpan, type PersistedTaskOutcomeEvidence, type PersonaConversationResult, type PersonaDriver, PlannerError, type PrepareAgentCandidateExecutionOptions, type PreparedAgentCandidateExecution, type PreparedAgentCandidateInstruction, type PreparedAgentCandidateKnowledge, type PreparedAgentCandidateLaunch, type PreparedAgentCandidateTrace, type PropagatedHeaders, RESEARCH_SUPERVISOR_SYSTEM_PROMPT, ROLLOUT_POLICY_EXTENSION, type RawTraceDistillerOptions, type ReadonlyAgentProfile, type RecoverExpiredAgentCandidateOptions, type ReflectiveGeneratorOptions, type ResearchLoopResult, type ResearchLoopRunnerOptions, type ResolveAgentBackendOptions, type ResolvedAgentCandidateContainer, type ResolvedChatModel, type RetryBackoff, type RetryableErrorPredicate, type RouterEnv, type RunAgentTaskOptions, type RunAgentTaskStreamOptions, type RunConversationOptions, type RunDelegatedLoopOptions, type RunKnowledgeImprovementJobOptions, type RunPersonaConfig, type RunPersonaConversationOptions, type RunRecord, type RuntimeDecisionEvidenceRef, type RuntimeDecisionKind, type RuntimeDecisionPoint, type RuntimeEventCollector, type RuntimeEventOtelOptions, type RuntimeHookContext, type RuntimeHookErrorContext, type RuntimeHookEvent, type RuntimeHookPhase, type RuntimeHookTarget, type RuntimeHooks, type RuntimeRunCompleteInput, type RuntimeRunCost, type RuntimeRunHandle, type RuntimeRunOptions, type RuntimeRunPersistenceAdapter, type RuntimeRunRow, RuntimeRunStateError, type RuntimeRunStatus, type RuntimeSession, type RuntimeSessionStore, type RuntimeStreamEvent, type RuntimeStreamEventCollector, type RuntimeStreamEventSink, type RuntimeStreamEventSummary, type RuntimeTelemetryOptions, type SanitizedKnowledgeReadinessReport, type SanitizedKnowledgeRequirement, type Scope, type ServerSentEventOptions, type Settled, type Spend, type SqlAdapter, SqlConversationJournal, type SupervisedKnowledgeUpdateInput, type SupervisedKnowledgeUpdateOptions, type SupervisedKnowledgeUpdateResult, type SupervisedKnowledgeUpdater, type SupervisedResult, type Supervisor, type SupervisorFinalizer, type TurnOrder, ValidationError, type VerifiedAgentCandidate, type VerifiedAgentCandidateTaskOutcome, type Verifier, type VerifyResult, type VetoedFact, type WorkerTraceEvidence, type WorkerTraceUnavailableReason, type WorktreeCheckRunner, type WorktreeLoopRunnerOptions, agentCandidateProfileAsAgentProfile, agenticGenerator, applyExactAgentProfileDiff, applyRolloutPolicyToProfile, applyRunRecordDefaults, assertCandidateProfileBinding, auditLoopRunner, buildAgentCandidateBundle, buildDriverSystem, buildForwardHeaders, buildKnowledgeImprovementExperimentBundles, buildLoopOtelSpans, buildLoopSpanNodes, buildRuntimeEventOtelSpans, candidateExecutionClaim, candidateKnowledgeExecutionPaths, captureAgentCandidateWorkspace, captureAgentCandidateWorkspaceFiles, cleanModelId, commandVerifier, composeRuntimeHooks, computeBackoff, createAgentCandidateWorkspacePort, createAgentKnowledgeReadinessCheck, createConversationBackend, createIterableBackend, createKnowledgeImprovementActivationExecutor, createOpenAICompatibleBackend, createOpenInferenceFileExporter, createOtelExporter, createProtectedAgentCandidateModelPort, createRuntimeEventCollector, createRuntimeStreamEventCollector, createSandboxPromptBackend, createSupervisedKnowledgeUpdater, d1ToSqlAdapter, decideKnowledgeReadiness, defaultBuildPrompt, defaultIsRetryable, defineConversation, defineRuntimeHooks, disposePreparedAgentCandidateExecution, driverLoopGenerator, exactProcessProviderAsCandidateExecutor, executePreparedAgentCandidate, exportEvalRuns, findingLines, formatSupervisedKnowledgeTask, freezeGenericAgentCandidateProfile, generateSpanId, getModels, improve, isDelegatedLoopMode, isDepthExceeded, knowledgeReadinessDeliverable, loopEventToOtelSpan, makePerAttemptSignal, mcpBuildPrompt, mcpServeVerifier, mcpToolsForRuntimeMcp, mcpToolsForRuntimeMcpSubset, normalizeRolloutPolicy, notifyRuntimeDecisionPoint, notifyRuntimeHookEvent, officialGepa, officialSkillOpt, omitUndefinedObjectFields, optimizerMethod, padSpanId, padTraceId, parseExactAgentProfile, parseExactAgentProfileDiff, parseExactCandidateProfile, parseLoopRunnerArgv, parseRolloutPolicy, persistCandidateOutputArtifact, prepareAgentCandidateExecution, rawTraceDistiller, readDepth, readinessServerSentEvent, recoverExpiredAgentCandidateExecution, reflectiveGenerator, researchDriverNote, researchLoopRunner, resolveAgentBackend, resolveChatModel, resolveRouterBaseUrl, runAgentTask, runAgentTaskStream, runConversation, runConversationStream, runDelegatedLoop, runKnowledgeImprovementJob, runLoopRunnerCli, runPersonaConversation, runPersonaDispatch, runSupervisedKnowledgeUpdate, runtimeStreamServerSentEvent, sanitizeAgentRuntimeEvent, sanitizeKnowledgeReadinessReport, sanitizeRuntimeStreamEvent, sealAgentCandidateBundle, serializeRolloutPolicy, sleep, slugifySpeaker, startRuntimeRun, strategyAuthorMethod, structuralRolloutPolicyFromProfile, toOtelAttributes, toolBuildPrompt, turnId, validateChatModelId, verifyAgentCandidateBundle, worktreeLoopRunner };
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@ import { i as sealAgentCandidateBundle, n as captureAgentCandidateWorkspaceFiles
|
|
|
5
5
|
import { i as buildAgentCandidateBundle, n as disposePreparedAgentCandidateExecution, r as FileAgentCandidateExecutionClaimStore, t as recoverExpiredAgentCandidateExecution } from "./candidate-execution-BFpq-Xi6.js";
|
|
6
6
|
import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-CXVfOUu_.js";
|
|
7
7
|
import { C as makePerAttemptSignal, S as defaultIsRetryable, _ as readDepth, a as FileConversationJournal, b as DeadlineExceededError, c as createConversationBackend, d as slugifySpeaker, f as turnId, g as isDepthExceeded, h as buildForwardHeaders, i as d1ToSqlAdapter, l as runConversation, m as FORWARD_HEADERS, n as runPersonaDispatch, o as InMemoryConversationJournal, p as DEFAULT_MAX_DEPTH, r as SqlConversationJournal, s as defineConversation, t as runPersonaConversation, u as runConversationStream, v as CircuitBreakerState, w as sleep, x as computeBackoff, y as CircuitOpenError } from "./conversation-BpLQZGPH.js";
|
|
8
|
-
import { B as sanitizeRuntimeStreamEvent, C as INTELLIGENCE_WIRE_VERSION, D as createOpenInferenceFileExporter, E as buildRuntimeEventOtelSpans, F as toOtelAttributes, I as createRuntimeEventCollector, Jt as runLocalHarness, L as createRuntimeStreamEventCollector, M as loopEventToOtelSpan, N as padSpanId, O as createOtelExporter, P as padTraceId, R as sanitizeAgentRuntimeEvent, T as buildLoopSpanNodes, bt as runBrainLoop, j as generateSpanId, k as exportEvalRuns, w as buildLoopOtelSpans, z as sanitizeKnowledgeReadinessReport } from "./supervisor-
|
|
9
|
-
import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-
|
|
10
|
-
import { A as improve, B as agenticGenerator, F as normalizeRolloutPolicy, G as summarizeFindings, H as defaultBuildPrompt, I as parseRolloutPolicy, K as worktreeChangedPaths, L as serializeRolloutPolicy, M as rawTraceDistiller, N as ROLLOUT_POLICY_EXTENSION, P as applyRolloutPolicyToProfile, R as structuralRolloutPolicyFromProfile, U as rawTraceEvidenceProblem, V as commandVerifier, W as requiresRawTraceEvidence, j as withMethodRuntimeControls, z as AGENTIC_PROFILE_RESOURCE_ROOT } from "./improvement-cycle-
|
|
8
|
+
import { B as sanitizeRuntimeStreamEvent, C as INTELLIGENCE_WIRE_VERSION, D as createOpenInferenceFileExporter, E as buildRuntimeEventOtelSpans, F as toOtelAttributes, I as createRuntimeEventCollector, Jt as runLocalHarness, L as createRuntimeStreamEventCollector, M as loopEventToOtelSpan, N as padSpanId, O as createOtelExporter, P as padTraceId, R as sanitizeAgentRuntimeEvent, T as buildLoopSpanNodes, bt as runBrainLoop, j as generateSpanId, k as exportEvalRuns, w as buildLoopOtelSpans, z as sanitizeKnowledgeReadinessReport } from "./supervisor-DpjO0Gmy.js";
|
|
9
|
+
import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-zY0oqQzO.js";
|
|
10
|
+
import { A as improve, B as agenticGenerator, F as normalizeRolloutPolicy, G as summarizeFindings, H as defaultBuildPrompt, I as parseRolloutPolicy, K as worktreeChangedPaths, L as serializeRolloutPolicy, M as rawTraceDistiller, N as ROLLOUT_POLICY_EXTENSION, P as applyRolloutPolicyToProfile, R as structuralRolloutPolicyFromProfile, U as rawTraceEvidenceProblem, V as commandVerifier, W as requiresRawTraceEvidence, j as withMethodRuntimeControls, z as AGENTIC_PROFILE_RESOURCE_ROOT } from "./improvement-cycle-IJgCbKWQ.js";
|
|
11
11
|
import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-C7iJOWm3.js";
|
|
12
|
-
import {
|
|
12
|
+
import { Ot as McpSpawnFault, kt as connectStdioMcp } from "./runtime-BzXz7OjS.js";
|
|
13
13
|
import { n as defaultRedactorIdentityMaterial, r as resolveRedactor, t as defaultRedactor } from "./redact-D-u-rrcn.js";
|
|
14
|
-
import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-
|
|
15
|
-
import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-
|
|
16
|
-
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-
|
|
14
|
+
import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-EnuEqm_Y.js";
|
|
15
|
+
import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-qwT_4F5I.js";
|
|
16
|
+
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-Bp1KSkP6.js";
|
|
17
17
|
import { a as resolveRouterBaseUrl, i as resolveChatModel, n as cleanModelId, o as validateChatModelId, r as getModels, t as DEFAULT_ROUTER_BASE_URL } from "./model-resolution-Btd9iIKV.js";
|
|
18
18
|
import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
|
|
19
19
|
import { gepaOptimizationMethod, skillOptOptimizationMethod } from "@tangle-network/agent-eval/campaign";
|
package/dist/intelligence.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { x as RuntimeStreamEvent } from "./types-C9j4qg6l.js";
|
|
2
2
|
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
3
|
import { b as LoopTraceEvent } from "./types-DnNGJ5Gz.js";
|
|
4
|
-
import { a as AgentEnvironmentProviderRef, hn as RuntimeTelemetryOptions, o as AgentEnvironmentProviderRegistry } from "./environment-provider-
|
|
4
|
+
import { a as AgentEnvironmentProviderRef, hn as RuntimeTelemetryOptions, o as AgentEnvironmentProviderRegistry } from "./environment-provider-PM9PeW_J.js";
|
|
5
5
|
import { v as ToolSpec } from "./local-harness-BIajef4A.js";
|
|
6
6
|
import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-CoJOiINX.js";
|
|
7
7
|
import { D as AgentCandidateTaskExecution, E as AgentCandidateRunFinalization, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-BaIpb0XT.js";
|
package/dist/intelligence.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { $ as parseExactAgentProfile, K as applyExactAgentProfileDiff, Q as parseAgentCandidateProfileActivation, Z as omitUndefinedObjectFields, rt as canonicalCandidateDigest$1, st as immutableCandidateValue, u as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare--8EvLqCr.js";
|
|
2
2
|
import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-CXVfOUu_.js";
|
|
3
|
-
import { A as flatOtelSpan, E as buildRuntimeEventOtelSpans, O as createOtelExporter, w as buildLoopOtelSpans } from "./supervisor-
|
|
4
|
-
import { D as buildAgentImprovementActivationTargets, E as assertProfileImprovementTargetsShareIdentity, O as isAgentImprovementProfileSurface, _ as AGENT_IMPROVEMENT_PROFILE_SURFACES, a as executeAgentCandidateExperimentCell, b as agentImprovementProfileSurfaceDigest, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as optimizationActivationReceiptFromMetadata, h as createOptimizationActivationReceipt, i as createAgentImprovementProposal, k as isAgentProfileMeasuredSurface, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as AGENT_PROFILE_MEASURED_SURFACES, w as agentImprovementTargetProfileDiffs, x as agentImprovementProfileSurfaceInput, y as agentImprovementProfileDiffs } from "./improvement-cycle-
|
|
3
|
+
import { A as flatOtelSpan, E as buildRuntimeEventOtelSpans, O as createOtelExporter, w as buildLoopOtelSpans } from "./supervisor-DpjO0Gmy.js";
|
|
4
|
+
import { D as buildAgentImprovementActivationTargets, E as assertProfileImprovementTargetsShareIdentity, O as isAgentImprovementProfileSurface, _ as AGENT_IMPROVEMENT_PROFILE_SURFACES, a as executeAgentCandidateExperimentCell, b as agentImprovementProfileSurfaceDigest, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as optimizationActivationReceiptFromMetadata, h as createOptimizationActivationReceipt, i as createAgentImprovementProposal, k as isAgentProfileMeasuredSurface, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as AGENT_PROFILE_MEASURED_SURFACES, w as agentImprovementTargetProfileDiffs, x as agentImprovementProfileSurfaceInput, y as agentImprovementProfileDiffs } from "./improvement-cycle-IJgCbKWQ.js";
|
|
5
5
|
import { r as resolveRedactor, t as defaultRedactor } from "./redact-D-u-rrcn.js";
|
|
6
|
-
import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-
|
|
7
|
-
import { i as resolveAgentEnvironmentProvider } from "./environment-provider-
|
|
6
|
+
import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-DhWJ3p8N.js";
|
|
7
|
+
import { i as resolveAgentEnvironmentProvider } from "./environment-provider-DqFS6FSZ.js";
|
|
8
8
|
import { contentHash } from "@tangle-network/agent-eval";
|
|
9
9
|
import { agentProfileImprovementArmSchema, applyAgentProfileDiff, defineAgentProfilePublicConfig } from "@tangle-network/agent-interface";
|
|
10
10
|
//#region src/intelligence/delivery.ts
|