@tangle-network/agent-runtime 0.111.0 → 0.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{activation-CsuHCZVN.js → activation-DGozpA_7.js} +2 -2
  2. package/dist/{activation-CsuHCZVN.js.map → activation-DGozpA_7.js.map} +1 -1
  3. package/dist/agent.d.ts +1 -1
  4. package/dist/agent.js +2 -2
  5. package/dist/{environment-provider-CTEMEP9u.d.ts → environment-provider-DG-cSx89.d.ts} +51 -5
  6. package/dist/environment-provider.d.ts +1 -1
  7. package/dist/{improvement-cycle-ryAyCLKN.js → improvement-cycle-DxBZsG33.js} +3 -3
  8. package/dist/{improvement-cycle-ryAyCLKN.js.map → improvement-cycle-DxBZsG33.js.map} +1 -1
  9. package/dist/{index-BmI2uxy5.d.ts → index-B-DkjCqQ.d.ts} +3 -3
  10. package/dist/{index-DlLPNELY.d.ts → index-BdnhmGUH.d.ts} +149 -18
  11. package/dist/{index-sLuBoGud.d.ts → index-DmXPCQ2X.d.ts} +4 -4
  12. package/dist/index.d.ts +5 -5
  13. package/dist/index.js +7 -7
  14. package/dist/intelligence.d.ts +1 -1
  15. package/dist/intelligence.js +2 -2
  16. package/dist/kernel.d.ts +3 -3
  17. package/dist/kernel.js +5 -5
  18. package/dist/{knowledge-DBNAteaC.js → knowledge-h7sDHsnd.js} +3 -3
  19. package/dist/{knowledge-DBNAteaC.js.map → knowledge-h7sDHsnd.js.map} +1 -1
  20. package/dist/knowledge.d.ts +1 -1
  21. package/dist/knowledge.js +1 -1
  22. package/dist/{loop-runner-bin-BLOckrqT.js → loop-runner-bin-D1TTr39X.js} +3 -3
  23. package/dist/{loop-runner-bin-BLOckrqT.js.map → loop-runner-bin-D1TTr39X.js.map} +1 -1
  24. package/dist/{loop-runner-bin-vRo5TZt_.d.ts → loop-runner-bin-DN8491Y_.d.ts} +3 -3
  25. package/dist/loop-runner-bin.d.ts +1 -1
  26. package/dist/loop-runner-bin.js +1 -1
  27. package/dist/mcp/bin.js +1 -1
  28. package/dist/mcp/index.d.ts +1 -1
  29. package/dist/mcp/index.js +4 -4
  30. package/dist/{openai-tools-st-hERvA.js → openai-tools-B1lRpTZr.js} +2 -2
  31. package/dist/{openai-tools-st-hERvA.js.map → openai-tools-B1lRpTZr.js.map} +1 -1
  32. package/dist/primeintellect/index.d.ts +1 -1
  33. package/dist/{runtime-fwz-erxT.js → runtime-Cs2e63LL.js} +4 -4
  34. package/dist/{runtime-fwz-erxT.js.map → runtime-Cs2e63LL.js.map} +1 -1
  35. package/dist/{structural-rollout-CgnNy7_4.js → structural-rollout-DXmSoA9q.js} +2 -2
  36. package/dist/{structural-rollout-CgnNy7_4.js.map → structural-rollout-DXmSoA9q.js.map} +1 -1
  37. package/dist/{supervise-CeZtA1wu.js → supervise-S7glOjJH.js} +323 -30
  38. package/dist/supervise-S7glOjJH.js.map +1 -0
  39. package/dist/{supervisor-ByCPHcp9.js → supervisor-zebR4ICs.js} +53 -7
  40. package/dist/{supervisor-ByCPHcp9.js.map → supervisor-zebR4ICs.js.map} +1 -1
  41. package/dist/testing.js +8 -8
  42. package/package.json +1 -1
  43. package/dist/supervise-CeZtA1wu.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { R as Budget, ut as SupervisedResult } from "./environment-provider-CTEMEP9u.js";
2
- import { Ad as DeliverableSpec, Dc as ExecutorConfig, H as SuperviseOptions, Ot as SupervisorProfile } from "./index-DlLPNELY.js";
1
+ import { R as Budget, dt as SupervisedResult } from "./environment-provider-DG-cSx89.js";
2
+ import { H as SuperviseOptions, Ld as DeliverableSpec, Mt as SupervisorProfile, Pc as ExecutorConfig } from "./index-BdnhmGUH.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-BmI2uxy5.d.ts.map
140
+ //# sourceMappingURL=index-B-DkjCqQ.d.ts.map
@@ -2,12 +2,12 @@ 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 { $ as RootHandle, B as Executor, H as ExecutorFactory, I as Agent, K as NodeId, L as AgentSpec, Mt as TraceSource, R as Budget, U as ExecutorRegistry, Vt as WorkerProgress, X as ResultBlobStore, Z as ResumedKeyState, _t as PendingWait, at as SpawnJournal, bt as WaitProbeRegistry, dt as Supervisor, i as AgentEnvironmentProvider, it as SpawnEvent, lt as Spend, mt as UsageEvent, nt as Scope, o as AgentEnvironmentProviderRegistry, ot as SpawnOpts, pt as TreeView, rt as Settled, tt as Runtime, ut as SupervisedResult, w as ProviderExecutorOptions, z as DefaultVerdict, zt as ExecutorProgress } from "./environment-provider-CTEMEP9u.js";
5
+ import { B as Executor, Bt as ExecutorProgress, H as ExecutorFactory, Ht as WorkerProgress, I as Agent, L as AgentSpec, Nt as TraceSource, Q as ResumedKeyState, R as Budget, U as ExecutorRegistry, Z as ResultBlobStore, at as SpawnEvent, dt as SupervisedResult, et as RootHandle, ft as Supervisor, ht as UsageEvent, i as AgentEnvironmentProvider, it as Settled, mt as TreeView, nt as Runtime, o as AgentEnvironmentProviderRegistry, ot as SpawnJournal, q as NodeId, rt as Scope, st as SpawnOpts, ut as Spend, vt as PendingWait, w as ProviderExecutorOptions, xt as WaitProbeRegistry, z as DefaultVerdict } from "./environment-provider-DG-cSx89.js";
6
6
  import { o as UiLens, r as UiFinding, s as CoderTask } from "./substrate-BcnuSHXm.js";
7
7
  import { D as RuntimeTelemetryOptions, c as runLocalHarness, d as RouterConfig, i as LocalHarness, m as ToolSpec, n as CodexExecutionPolicy, r as CodexTokenUsage, x as ToolLoopCompactionOptions, y as ToolLoopChat } from "./local-harness-Dh8PJ0ot.js";
8
8
  import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, DetectorSignal, HarnessType, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RunRecord, StreamingDetector, ToolSpan, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
9
9
  import { DispatchFn, JudgeConfig, ProfileDispatchFn, RunProfileMatrixOptions, RunProfileMatrixResult, Scenario } from "@tangle-network/agent-eval/campaign";
10
- import { AgentProfile as AgentProfile$1, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileMcpServer, AgentProfileSecurityPolicy } from "@tangle-network/agent-interface";
10
+ import { AgentProfile as AgentProfile$1, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePrompt, AgentProfileResources, AgentProfileSecurityPolicy } from "@tangle-network/agent-interface";
11
11
  import { WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize";
12
12
  import { BackendType, CreateSandboxOptions, CreateSandboxOptions as CreateSandboxOptions$1, PromptOptions, SandboxEvent, SandboxEvent as SandboxEvent$1, SandboxInstance, SandboxInstance as SandboxInstance$1 } from "@tangle-network/sandbox";
13
13
  import { stuckLoopView, toolWasteView } from "@tangle-network/agent-eval/pipelines";
@@ -6167,6 +6167,10 @@ type BudgetReadout = Readonly<{
6167
6167
  deadlineMs: number;
6168
6168
  reservedTokens: number;
6169
6169
  }>;
6170
+ /** Why a reservation was refused. `budget-exhausted` means the pool ran out of a channel it
6171
+ * budgets; `usd-unbudgeted` means the root declared no dollar ceiling, so a dollar request is
6172
+ * unsatisfiable at any amount and the fix is to budget the root, not to ask for less. */
6173
+ type ReservationRejection = 'budget-exhausted' | 'usd-unbudgeted';
6170
6174
  interface BudgetPool {
6171
6175
  /**
6172
6176
  * Atomically reserve a child's full ceiling from the free balance. Fails closed
@@ -6178,7 +6182,7 @@ interface BudgetPool {
6178
6182
  ticket: ReservationTicket;
6179
6183
  } | {
6180
6184
  ok: false;
6181
- reason: 'budget-exhausted';
6185
+ reason: ReservationRejection;
6182
6186
  };
6183
6187
  /**
6184
6188
  * Release a reservation: commit the actual `spent`, refund the unspent remainder
@@ -6596,7 +6600,8 @@ interface CoordinationMcpHandle {
6596
6600
  close(): Promise<void>;
6597
6601
  }
6598
6602
  /** Stand up the coordination MCP over a live scope. The HOST address is `127.0.0.1` (the bridge runs
6599
- * opencode locally, same host); pass `host` to bind elsewhere when the harness is remote. */
6603
+ * opencode locally, same host); pass `host` to bind elsewhere when the harness is remote — a
6604
+ * non-loopback host additionally requires `allowUnauthenticatedRemote`. */
6600
6605
  declare function serveCoordinationMcp(opts: {
6601
6606
  scope: Scope<unknown>;
6602
6607
  blobs: ResultBlobStore;
@@ -6612,7 +6617,13 @@ declare function serveCoordinationMcp(opts: {
6612
6617
  * {@link DEFAULT_AWAIT_EVENT_TIMEOUT_MS}; `<= 0` = prior unbounded block (in-process only). */
6613
6618
  awaitTimeoutMs?: number;
6614
6619
  port?: number;
6620
+ /** Bind address. Omit = `127.0.0.1`. A non-loopback host is REFUSED unless
6621
+ * `allowUnauthenticatedRemote` acknowledges the exposure. */
6615
6622
  host?: string;
6623
+ /** Explicit acknowledgment that binding a non-loopback `host` publishes UNAUTHENTICATED
6624
+ * spawn_agent / steer_agent / stop to everyone who can reach the port. Required for any
6625
+ * non-loopback bind; ignored for loopback ones. */
6626
+ allowUnauthenticatedRemote?: boolean;
6616
6627
  /** Trace-analyst lenses the driver can run (`run_analyst`) or auto-fire on settle. */
6617
6628
  analysts?: AnalystRegistry;
6618
6629
  /** Analyst kinds to auto-run when a worker settles `done` — findings flow up the bus. */
@@ -6629,23 +6640,107 @@ declare function serveCoordinationMcp(opts: {
6629
6640
  }): Promise<CoordinationMcpHandle>;
6630
6641
  //#endregion
6631
6642
  //#region src/runtime/supervise/supervisor-agent.d.ts
6632
- /** The supervisor's profile — the subset of an `AgentProfile` that selects + shapes its brain.
6633
- * `harness` is the backend-as-data discriminant; `systemPrompt` is the standing instruction. */
6643
+ /**
6644
+ * The supervisor's profile — the subset of an `AgentProfile` that selects + shapes its brain.
6645
+ * `harness` is the backend-as-data discriminant; `systemPrompt` is the standing instruction.
6646
+ *
6647
+ * A canonical `AgentProfile` from `@tangle-network/agent-interface` satisfies this interface
6648
+ * structurally: its `model` is a hints OBJECT and its system prompt lives at `prompt.systemPrompt`,
6649
+ * so both spellings are accepted here and reduced by {@link resolveSupervisorProfile}. Before that,
6650
+ * a canonical profile's model object reached `RouterConfig.model` (a string) as an object and its
6651
+ * `prompt.systemPrompt` was dropped — a request the provider rejects, and a supervisor running the
6652
+ * default strategy while its profile named another.
6653
+ *
6654
+ * WHAT EACH ARM HONORS — the two brains read different amounts of a profile, so state it rather
6655
+ * than let a caller infer that a field took effect:
6656
+ *
6657
+ * - ROUTER arm (`harness` null): only `name`, the resolved model id (`model`, or
6658
+ * `model.default`), and the resolved system prompt (`prompt.systemPrompt`/`systemPrompt` plus
6659
+ * `prompt.instructions` and `resources.instructions`) reach the brain. A full `AgentProfile`'s
6660
+ * `tools`, `mcp`, `permissions`, `resources.skills`/`files`, `hooks`, `modes`, `subagents`,
6661
+ * `model.provider`, `model.small` and `model.reasoningEffort` are NOT honored here: the router
6662
+ * brain is one `ToolLoopChat` over the coordination verbs, and `routerChatWithTools` (its only
6663
+ * transport) has no parameter for any of them.
6664
+ * - HARNESS arm (`harness` set): the WHOLE profile object is handed to `deps.driveHarness`
6665
+ * untouched, plus the resolved system prompt as a separate argument. Everything the profile
6666
+ * declares is the harness's to materialize; this module changes none of it.
6667
+ */
6634
6668
  interface SupervisorProfile {
6635
6669
  readonly name?: string;
6636
6670
  /** null/undefined → router brain (in-process tool-loop); a coding-CLI harness → sandboxed brain. */
6637
6671
  readonly harness?: string | null;
6638
- /** The router model when the brain is router-driven (falls back to the deps router config). */
6639
- readonly model?: string;
6672
+ /** The router model when the brain is router-driven: a model id, or a canonical profile's model
6673
+ * hints whose `default` IS the id. Absent (including a hints object with no `default`) → the
6674
+ * deps router config's model applies. Other hints (`small`, `provider`, `reasoningEffort`) are
6675
+ * harness-arm material only. */
6676
+ readonly model?: string | AgentProfileModelHints;
6677
+ /** Canonical `AgentProfile` prompt shaping. `prompt.systemPrompt` and the top-level `systemPrompt`
6678
+ * are the same standing instruction in two spellings; disagreeing values are a fault, not a pick.
6679
+ * `prompt.instructions` lines are appended to the resolved prompt, one per line. */
6680
+ readonly prompt?: AgentProfilePrompt;
6681
+ /** Canonical `AgentProfile` resources. Only `instructions` shapes the brain here (appended to the
6682
+ * resolved system prompt); every other resource is the harness's to materialize. */
6683
+ readonly resources?: AgentProfileResources;
6640
6684
  /** The standing instructions ("you delegate, you do not solve"). */
6641
6685
  readonly systemPrompt?: string;
6642
6686
  }
6687
+ /** A `SupervisorProfile` reduced to the scalars the two brain arms consume. `modelId`/`systemPrompt`
6688
+ * stay `undefined` when the profile named none — the caller's fallback (`deps.router.model`,
6689
+ * the built-in default supervisor prompt) then applies, and this type cannot hide which happened.
6690
+ *
6691
+ * There is deliberately no `reasoningEffort` here: the router brain runs on `routerChatWithTools`,
6692
+ * which has no `reasoning_effort` parameter, so a field carrying it would be a public promise
6693
+ * nothing keeps. `model.reasoningEffort` still reaches the harness arm inside the profile. */
6694
+ interface ResolvedSupervisorProfile {
6695
+ readonly name: string;
6696
+ readonly harness: string | null;
6697
+ readonly modelId?: string;
6698
+ readonly systemPrompt?: string;
6699
+ }
6700
+ /**
6701
+ * Reduce either profile spelling — a hand-written `SupervisorProfile` or a canonical `AgentProfile`
6702
+ * — to the scalars the brain arms consume:
6703
+ *
6704
+ * - `modelId`: a string `model` verbatim, else `model.default`. Absent or unresolvable → the
6705
+ * router config's own model applies unchanged.
6706
+ * - `systemPrompt`: the system prompt plus the `prompt.instructions` and `resources.instructions`
6707
+ * lines, one per line.
6708
+ *
6709
+ * `supervisorAgent` resolves each piece only where it is consumed (the model id on the router arm
6710
+ * only); this whole-profile reduction is the caller-facing view of the same rules.
6711
+ */
6712
+ declare function resolveSupervisorProfile(profile: SupervisorProfile): ResolvedSupervisorProfile;
6713
+ /** Where the coordination MCP binds. Omit = an ephemeral port on `127.0.0.1` (the local-harness
6714
+ * default); set `host` when the root or the harness runs off-host. */
6715
+ interface CoordinationBinding {
6716
+ readonly host?: string;
6717
+ readonly port?: number;
6718
+ /** Explicit acknowledgment required to bind a NON-loopback host — see
6719
+ * {@link assertCoordinationBinding} for what is being accepted. */
6720
+ readonly allowUnauthenticatedRemote?: boolean;
6721
+ }
6722
+ /**
6723
+ * Fail closed on a non-loopback coordination bind. `serveCoordinationMcp` mounts spawn_agent /
6724
+ * steer_agent / stop with NO authentication of any kind (it is a bare JSON-RPC-over-HTTP handler),
6725
+ * so a non-loopback bind lets anyone who can reach the port spawn agents and spend the run's
6726
+ * conserved budget. There is no token to require yet, so the only honest options are loopback or an
6727
+ * explicit, recorded acknowledgment — never a silent bind.
6728
+ */
6729
+ declare function assertCoordinationBinding(binding: CoordinationBinding | undefined): void;
6643
6730
  /** How to run a sandboxed harness as the DRIVER, with the coordination verbs mounted — the substrate
6644
6731
  * seam the caller supplies (mirrors `makeWorkerAgent` for spawned children). It runs `profile` on
6645
6732
  * `task` in its backend (sandbox / cli-bridge) with `coordinationMcpUrl` mounted as an MCP server,
6646
6733
  * so the harness calls spawn_agent / await_event / stop as native tools over the live scope. */
6647
6734
  type DriveHarness = (args: {
6735
+ /** The caller's profile, EXACTLY as passed to `supervisorAgent` — never rewritten. A canonical
6736
+ * `AgentProfile` stays schema-valid here (the canonical schema rejects unknown top-level keys,
6737
+ * so hoisting a resolved prompt onto it would make a profile its own validator refuses). */
6648
6738
  readonly profile: SupervisorProfile;
6739
+ /** The standing instruction assembled from the profile: its system prompt in either spelling,
6740
+ * plus the `prompt.instructions` and `resources.instructions` lines. Absent when the profile
6741
+ * names none — the harness's own default then applies. This, not `profile.systemPrompt`, is what
6742
+ * the harness should run under. */
6743
+ readonly systemPrompt?: string;
6649
6744
  readonly task: unknown;
6650
6745
  readonly scope: Scope<unknown>;
6651
6746
  readonly coordinationMcpUrl: string;
@@ -6708,6 +6803,10 @@ interface SupervisorAgentDeps {
6708
6803
  /** How the settled ledger becomes the run's output (both arms). Default `bestDelivered` — the
6709
6804
  * exact keep-best every existing caller had. Always runs under the delivered-only invariant. */
6710
6805
  readonly finalizer?: SupervisorFinalizer;
6806
+ /** Where the coordination MCP binds (sandbox arm). Omit = an ephemeral loopback port, which is
6807
+ * unreachable from an off-host harness. A non-loopback host fails closed — see
6808
+ * {@link assertCoordinationBinding}. */
6809
+ readonly coordination?: CoordinationBinding;
6711
6810
  }
6712
6811
  /** Build a supervisor `Agent` from its profile: the brain resolves from `profile.harness` (backend-as-data), the same resolution rule as every worker. */
6713
6812
  declare function supervisorAgent(profile: SupervisorProfile, deps: SupervisorAgentDeps): Agent<unknown, unknown>;
@@ -7170,6 +7269,27 @@ declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unkno
7170
7269
  * deliverable check that makes "settled ⟺ delivered" true — the guard against "ran but didn't
7171
7270
  * deliver"). The ONE place a backend becomes a spawnable worker. */
7172
7271
  declare function workerFromBackend(backend: ExecutorConfig, deliverable?: DeliverableSpec<unknown>): MakeWorkerAgent;
7272
+ /** A name→value table, in this package's resolver-port shape (the same one `WaitProbeRegistry`
7273
+ * uses): construction stays the caller's, lookup stays lazy, and a table backed by a file, a
7274
+ * plugin loader, or a plain object all satisfy one interface. */
7275
+ interface SuperviseRegistryTable<T> {
7276
+ resolve(name: string): T | undefined;
7277
+ }
7278
+ /**
7279
+ * The name→value tables that make the four CODE-valued options expressible as run DATA.
7280
+ *
7281
+ * `deliverable` / `finalizer` / `analysts` / `probes` are functions and registries, so a recorded
7282
+ * run configuration (a JSON row, a campaign spec, a resumed run's options) cannot carry them — and
7283
+ * a run with no `deliverable` cannot return a `winner` at all outside the sandbox backend, because
7284
+ * the finalizer keeps only children whose oracle passed and nothing else writes that verdict. A
7285
+ * caller that owns the code registers it here once and names it from data thereafter.
7286
+ */
7287
+ interface SuperviseRegistry {
7288
+ readonly deliverables?: SuperviseRegistryTable<DeliverableSpec<unknown>>;
7289
+ readonly finalizers?: SuperviseRegistryTable<SupervisorFinalizer>;
7290
+ readonly analysts?: SuperviseRegistryTable<AnalystRegistry>;
7291
+ readonly probes?: SuperviseRegistryTable<WaitProbeRegistry>;
7292
+ }
7173
7293
  interface SuperviseOptions {
7174
7294
  /** The conserved compute pool for the whole run. */
7175
7295
  readonly budget: Budget;
@@ -7177,8 +7297,16 @@ interface SuperviseOptions {
7177
7297
  readonly backend?: ExecutorConfig;
7178
7298
  /** The independent completion check for backend-derived workers and direct supervisor
7179
7299
  * submissions. Strongly recommended: without it the supervisor cannot submit its own work and
7180
- * backend-derived workers fall back to their own validity signal. */
7181
- readonly deliverable?: DeliverableSpec<unknown>;
7300
+ * backend-derived workers fall back to their own validity signal. A `string` names an entry in
7301
+ * `registry.deliverables`. */
7302
+ readonly deliverable?: DeliverableSpec<unknown> | string;
7303
+ /** Name→value tables for the four code-valued options, so a recorded run configuration can name
7304
+ * them instead of carrying closures. See {@link SuperviseRegistry}. */
7305
+ readonly registry?: SuperviseRegistry;
7306
+ /** Where the coordination MCP binds when the supervisor is harness-driven. Omit = an ephemeral
7307
+ * port on `127.0.0.1`, which an off-host root cannot reach. A non-loopback host is refused
7308
+ * unless `allowUnauthenticatedRemote` acknowledges that the verbs are unauthenticated. */
7309
+ readonly coordination?: CoordinationBinding;
7182
7310
  /** Override the worker seam directly (tests / advanced) instead of deriving it from `backend`. */
7183
7311
  readonly makeWorkerAgent?: MakeWorkerAgent;
7184
7312
  /** The supervisor's router substrate (`harness` null). The profile's model wins. */
@@ -7204,8 +7332,9 @@ interface SuperviseOptions {
7204
7332
  * sandboxes a real fleet runs at once). Omit/`<= 0` = no cap (the pool stays the only fence). */
7205
7333
  readonly maxLiveWorkers?: number;
7206
7334
  /** Analyst lenses available to the driver. Required for `analyzeOnSettle`. Unset → status quo
7207
- * (the driver receives settled worker outputs, no analyst findings). */
7208
- readonly analysts?: AnalystRegistry;
7335
+ * (the driver receives settled worker outputs, no analyst findings). A `string` names an entry in
7336
+ * `registry.analysts`. */
7337
+ readonly analysts?: AnalystRegistry | string;
7209
7338
  /** Analyst kind ids run AUTOMATICALLY when a worker settles `done` — each re-enters as a `finding`
7210
7339
  * the driver pulls (`await_event`) and composes its next steer from. The self-improving UP-leg,
7211
7340
  * threaded to the driver at this level (propagate to sub-drivers via a recursive `makeWorkerAgent`).
@@ -7250,8 +7379,9 @@ interface SuperviseOptions {
7250
7379
  readonly journal?: SpawnJournal;
7251
7380
  /** Predicate registry for `poll` wait-states (`Scope.wait`). A `poll` names its predicate so the
7252
7381
  * wait survives a restart; this is what the name resolves against. Unset ⇒ `poll` waits are
7253
- * refused `unknown-probe` and `timer` waits still work. */
7254
- readonly probes?: WaitProbeRegistry;
7382
+ * refused `unknown-probe` and `timer` waits still work. A `string` names an entry in
7383
+ * `registry.probes`. */
7384
+ readonly probes?: WaitProbeRegistry | string;
7255
7385
  /**
7256
7386
  * PROGRESS-derived stop rule (router-brained supervisor). Ends a run that has stopped LEARNING
7257
7387
  * before it exhausts a ceiling — the answer to "a run should end because it is done or stuck,
@@ -7284,8 +7414,9 @@ interface SuperviseOptions {
7284
7414
  * highest-scoring DELIVERED child (the exact behavior every existing caller had). Alternatives:
7285
7415
  * `collectDelivered` (every verified distinct output with provenance — a Pareto set / recorded
7286
7416
  * disagreement) or a custom `SupervisorFinalizer`. Whatever the finalizer, it operates on
7287
- * structurally DELIVERED outputs only — an undelivered or invalid child stays ineligible. */
7288
- readonly finalizer?: SupervisorFinalizer;
7417
+ * structurally DELIVERED outputs only — an undelivered or invalid child stays ineligible. A
7418
+ * `string` names an entry in `registry.finalizers`. */
7419
+ readonly finalizer?: SupervisorFinalizer | string;
7289
7420
  }
7290
7421
  /** One-call supervisor: build + run a supervisor from its profile with sensible defaults; the raw `supervisorAgent` + `createSupervisor().run` seams stay available for power use. */
7291
7422
  declare function supervise(profile: SupervisorProfile, task: unknown, opts: SuperviseOptions): Promise<SupervisedResult<unknown>>;
@@ -7576,5 +7707,5 @@ interface VerifierEnvironmentOptions {
7576
7707
  /** 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. */
7577
7708
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
7578
7709
  //#endregion
7579
- export { supervisorRunsRoot as $, Corpus as $a, DiffResult as $c, RunAgenticOptions as $i, DelegateCodeArgs as $l, streamAgentTurn as $n, LeaderboardFlagSpec as $o, CriuCapableClient as $r, DownMessageEvent as $s, FinalizerSettled as $t, DelegationTraceCollector as $u, GitWorkspaceOptions as A, ResolvedMcpServerLaunch as Aa, RouterToolsSeam as Ac, DeliverableSpec as Ad, buildSteerContext as Ai, createSiblingSandboxExecutor as Al, StructuralRolloutConfig as An, Verify as Ao, StdioMcpServerSpec as Ar, AuditIntentInput as As, CoordinationMcpHandle as At, readTraceContextFromEnv as Au, analyzeTrace as B, inProcessSandboxClient as Ba, Inbox as Bc, BenchmarkReport as Bi, parseDetachedSessionRef as Bl, filterAuthoredAsserts as Bn, Outcome as Bo, openSandboxRun as Br, bestSoFar as Bs, ProgressTrackerOptions as Bt, OtelExporter as Bu, closingWorkerNote as C, RunLoopOptions as Ca, BridgeSeam as Cc, BusStats as Cd, pipeline as Ci, detachedSessionDelegate as Cl, CheckExecChannel as Cn, ScopeAnalyzeInput as Co, dumbDriver as Cr, ScoreOf as Cs, DelegateOptions as Ct, FeedbackRefersTo as Cu, UntrackedCopyStats as D, LocalSandboxClientOptions as Da, ExecutorConfig as Dc, WatchTraceOptions as Dd, CreateScopeAnalystOptions as Di, FleetWorkspaceExecutorOptions as Dl, CheckSource as Dn, TrajectoryReport as Do, McpSpawnFault as Dr, renderLeaderboardMarkdown as Ds, SupervisorAgentDeps as Dt, UiAuditorDelegationOutput as Du, CopyOptions as E, runLoop as Ea, CliWorktreeSeam as Ec, createEventBus as Ed, widen as Ei, FleetHandle as El, CheckRunner as En, TrajectoryNode as Eo, MaterializeLocalMcpOptions as Er, renderLeaderboardHtml as Es, DriveHarness as Et, UiAuditLensFilter as Eu, gitWorkspace as F, secretEnvOfMcpServer as Fa, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Fc, InMemorySpawnJournal as Fd, createMcpEnvironment as Fi, DriveTurnTick as Fl, canDisplace as Fn, WidenSpec as Fo, OpenSandboxRunOptions as Fr, AnytimeReport as Fs, AllWorkersStalledOptions as Ft, EvalRunsExportResult as Fu, ScopeArgs as G, Observation as Ga, piExecutor as Gc, runBenchmark as Gi, DelegationResumeDriver as Gl, selectBestIndex as Gn, RunPersonifiedOptions as Go, SessionCapableBox as Gr, WaterfallSpan as Gs, allWorkersStalled as Gt, buildRuntimeEventOtelSpans as Gu, SuperviseOptions as H, HarvestFailure as Ha, createInbox as Hc, BenchmarkTaskRow as Hi, DelegationArgs as Hl, officialChecksFromMeta as Hn, PersonaContext as Ho, ForkCapableBox as Hr, renderAnytimeTable as Hs, StopDecision as Ht, RuntimeEventOtelOptions as Hu, jjWorkspace as I, inlineSandboxClient as Ia, SandboxSteeringOptions as Ic, contentAddress as Id, sanitizeMcpToolSchema as Ii, RunDetachedTurnOptions as Il, compareCheckOutcomes as In, WinnerStrategy as Io, OpenSandboxRunPromptOptions as Ir, AnytimeStrategySummary as Is, NoProgressForOptions as It, INTELLIGENCE_WIRE_VERSION as Iu, WorkerSteerRequest as J, defaultAnalystInstruction as Ja, WorktreeCommandResult as Jc, AgenticSurface as Ji, DelegationTaskQueue as Jl, AgentTurnBackend as Jn, ShapeRegistry as Jo, createSandboxToolPartState as Jr, AnalystRegistry as Js, noProgressFor as Jt, loopEventToOtelSpan as Ju, createScope as K, ObserveInput as Ka, piSeamKey as Kc, AgenticOptions as Ki, DelegationResumeTick as Kl, structuralRollout as Kn, ShapeBudget as Ko, createSandboxLineage as Kr, createWaterfallCollector as Ks, anyOf as Kt, createOtelExporter as Ku, localShell as L, InProcessOnPrompt as La, SteerableSandboxArgs as Lc, materializeTreeView as Ld, BenchmarkCell as Li, createDetachedTurnResumeDriver as Ll, composeCheckSources as Ln, DefinePersona as Lo, SandboxRun as Lr, AnytimeTaskCurve as Ls, PlateauOptions as Lt, LoopSpanNode as Lu, Workspace as M, mcpSecretEnvMetadataKey as Ma, cliWorktreeExecutor as Mc, FileResultBlobStore as Md, registryScopeAnalyst as Mi, DetachedTurn as Ml, StructuralRolloutPolicy as Mn, Widen as Mo, materializeLocalMcp as Mr, IntentAudit as Ms, DriverAgentOptions as Mt, EvalRunEvent as Mu, WorkspaceCommit as N, resolveMcpServerLaunch as Na, createExecutor as Nc, FileSpawnJournal as Nd, McpEndpoint as Ni, DetachedTurnResumeDriverOptions as Nl, StructuralRolloutResult as Nn, WidenDecision as No, Deliverable as Nr, auditIntent as Ns, driverAgent as Nt, EvalRunGeneration as Nu, copyUntrackedIntoClone as O, localSandboxClient as Oa, ProviderSeam as Oc, defaultToolDetectors as Od, RegistryAnalyzeProjection as Oi, SiblingSandboxExecutorOptions as Ol, CheckSourceCtx as On, TrajectoryReportFn as Oo, McpToolDescriptor as Or, renderLeaderboardSvg as Os, SupervisorProfile as Ot, TraceContext as Ou, WorkspaceRun as P, resolveSecretEnv as Pa, createExecutorRegistry as Pc, InMemoryResultBlobStore as Pd, McpEnvironmentOptions as Pi, DriveTurnCapableBox as Pl, VisibleCheck as Pn, WidenLineage as Po, OpenSandboxRunBeforeStartContext as Pr, defaultAuditorInstruction as Ps, finalizeBestDelivered as Pt, EvalRunsExportConfig as Pu, supervisorRunDir as Q, CombinatorShape as Qa, DiffOptions as Qc, CorpusReadbackOptions as Qi, hashIdempotencyInput as Ql, collectAgentTurn as Qn, LeaderboardBenchmarkAdapter as Qo, sumSandboxUsage as Qr, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Qs, FinalizeContext as Qt, DelegationTraceCaps as Qu, runInWorkspace as R, InProcessPromptCtx as Ra, SteerableSandboxSession as Rc, pendingWaits as Rd, BenchmarkConfig as Ri, detachedTurnEvents as Rl, defaultExtractCandidate as Rn, DefinePersonaInput as Ro, SandboxRunAbortError as Rr, anytimeReport as Rs, ProgressSample as Rt, OtelAttribute as Ru, WorkerEvidenceInput as S, RunAgentRoundsOptions as Sa, validateDelegateArgs as Sc, BusRecord as Sd, panel as Si, coderTaskFromArgs as Sl, supervisorInstructions as Sn, ScopeAnalyst as So, SteeringDecision as Sr, ProfileKeyOf as Ss, rollingDispatch as St, FeedbackRating as Su, settledWorkerOut as T, runAgentRounds as Ta, CliWorktreeBridgeSeam as Tc, PublishOptions as Td, verify as Ti, DelegationExecutor as Tl, CheckRunContext as Tn, SteerContext as To, LocalMcpMaterialization as Tr, pairwiseSignificance as Ts, delegate as Tt, ResearchSource as Tu, supervise as U, HarvestReport as Ua, PI_RUNTIME as Uc, Environment as Ui, DelegationRecord as Ul, resolveEntrySymbol as Un, PersonaExecutors as Uo, SandboxLineage as Ur, WaterfallCollector as Us, StopRule as Ut, buildLoopOtelSpans as Uu, createSupervisor as V, HarvestCorpusOptions as Va, InboxMessage as Vc, BenchmarkStrategySummary as Vi, runDetachedTurn as Vl, modelAuthoredChecks as Vn, Persona as Vo, CheckpointCapableBox as Vr, plateauLength as Vs, ProgressView as Vt, OtelSpan as Vu, workerFromBackend as W, harvestCorpus as Wa, PiSeam as Wc, printBenchmarkReport as Wi, DelegationResumeContext as Wl, sandboxCheckRunner as Wn, RunPersonified as Wo, SandboxLineageHandle as Wr, WaterfallReport as Ws, allOf as Wt, buildLoopSpanNodes as Wu, readWorkerSteerRequests as X, renderReport as Xa, WorktreeProfileMaterializationReceipt as Xc, AgenticTool as Xi, SubmitInput as Xl, CollectedAgentTurn as Xn, LeaderboardBenchScore as Xo, mapSandboxEvent as Xr, CoordinationTools as Xs, sampleFromSettled as Xt, DELEGATION_TRACE_MAX_BYTES as Xu, legacySupervisorRunDir as Y, observe as Ya, WorktreeHarnessResult as Yc, AgenticTask as Yi, DelegationTaskQueueOptions as Yl, AgentTurnUsage as Yn, DefinedLeaderboard as Yo, extractLlmCallEvent as Yr, CoordinationEvent as Ys, plateau as Yt, CappedDelegationTrace as Yu, safeWorkerFile as Z, AssertTraceDerivedFindings as Za, CreateWorktreeOptions as Zc, ArtifactHandle as Zi, SubmitOutput as Zl, StreamAgentTurnOptions as Zn, LeaderboardBenchTask as Zo, mapSandboxToolEvent as Zr, CoordinationToolsOptions as Zs, DeliveredOutput as Zt, DELEGATION_TRACE_MAX_SPANS as Zu, WorktreeFanoutOptions as _, LoopCampaignDispatchOptions as _a, DELEGATE_TOOL_NAME as _c, PlannerError as _d, InMemoryCorpus as _i, DelegateRunCtx as _l, asAuthoredProfile as _n, PanelVerdict as _o, authorStrategy as _r, Leaderboard as _s, DispatchUnit as _t, DelegationProgress as _u, SandboxInstance$1 as a, StrategyMessage as aa, QuestionPolicy as ac, DelegationPersistenceError as ad, resolveSandboxClient as ai, removeWorktree as al, runTree as an, EqualKVerdict as ao, EvolutionCandidate as ar, defineLeaderboard as as, RunContext as at, DelegateResearchConfig as au, NOTE_MAX_CHARS as b, loopCampaignDispatch as ba, DelegateResult as bc, CoderOutput as bd, flatWidenGate as bi, SettleDetachedCoderTurnOptions as bl, defaultProfileRichnessThresholds as bn, RenderCorpusToInstructions as bo, DumbDriverOptions as br, PairwiseOptions as bs, freeSlots as bt, DelegationStatusArgs as bu, VerifierEnvironmentOptions as c, SurfaceScore as ca, SettledWorker as cc, FileDelegationStore as cd, promotionGate as ci, McpToolDescriptor$1 as cl, PriorCoordination as cn, FanoutSynthesis as co, ReproductionCheck as cr, CompletionPolicy as cs, PatchDeliverableOptions as ct, DelegateUiAuditConfig as cu, SuperviseSurfaceResult as d, defineStrategy as da, McpServer as dc, AgentEvalError$1 as dd, builtinShapes as di, FeedbackStore as dl, ReservationTicket as dn, LoopUntil as do, pickChampion as dr, deterministicCompletion as ds, WorktreePatchArtifact as dt, DelegationError as du, ShotPersona as ea, MakeWorkerAgent as ec, DelegationTraceSpan as ed, SandboxCapabilities as ei, GitRunner as el, SupervisorFinalizer as en, CorpusFilter as eo, ChampionPick as er, LeaderboardIterationInfo as es, workerInboxFile as et, DelegateCodeConfig as eu, SurfaceWorkerConfig as f, depthStrategy as fa, McpServerOptions as fc, AgentEvalErrorCode as fd, createShapeRegistry as fi, InMemoryFeedbackStore as fl, createBudgetPool as fn, LoopUntilSpec as fo, runStrategyEvolution as fr, sentinelCompletion as fs, createWorktreeCliExecutor as ft, DelegationFeedbackSnapshot as fu, AuthoredHarness as g, sampleThenRefine as ga, DELEGATE_INPUT_SCHEMA as gc, NotFoundError as gd, FileCorpus as gi, CoderReviewer as gl, ProfileRichnessThresholds as gn, PanelSpec as go, assertStrategyContract as gr, Interval as gs, DispatchStopReason as gt, DelegationProfile as gu, superviseSurface as h, sample as ha, DELEGATE_DESCRIPTION as hc, JudgeError as hd, runPersonified as hi, CoderReview as hl, ProfileRichness as hn, PanelJudge as ho, AuthoredStrategy as hr, GroupOf as hs, DispatchReport as ht, DelegationHistoryResult as hu, SandboxEvent$1 as i, StrategyCtx as ia, QuestionOption as ic, createDelegationTraceCollector as id, ResolveSandboxClientOptions as ii, createWorktree as il, runFinalizer as in, EqualKOnCostOptions as io, EvolutionBandInfo as ir, LeaderboardSpec as is, InMemoryRunContextOptions as it, DelegateResearchArgs as iu, Shell as j, envKeyProvider as ja, SandboxSeam as jc, gateOnDeliverable as jd, createScopeAnalyst as ji, DetachedSessionRefParts as jl, StructuralRolloutMessage as jn, VerifySpec as jo, connectStdioMcp as jr, AuditIntentOptions as js, serveCoordinationMcp as jt, traceContextToEnv as ju, withUntrackedArtifacts as k, KeyProvider as ka, RouterSeam as kc, watchTrace as kd, assertTraceDerivedFindings as ki, createFleetWorkspaceExecutor as kl, RepairStop as kn, TrajectoryReportOptions as ko, StdioMcpConnection as kr, renderPairwiseMarkdown as ks, supervisorAgent as kt, createPropagatingTraceEmitter as ku, createVerifierEnvironment as l, adaptiveRefine as la, WorkerWatchOptions as lc, FileDelegationStoreOptions as ld, equalKOnCost as li, McpTransport as ll, BudgetPool as ln, FanoutWinnerSelector as lo, StrategyEvolutionConfig as lr, CompletionVerdict as ls, patchDelivered as lt, DelegateUiAuditResult as lu, failuresAnalyst as m, runAgentic as ma, createMcpServer as mc, ConfigError as md, definePersona as mi, CoderDelegate as ml, AuthoredProfile as mn, Panel as mo, AuthorStrategyOptions as mr, AxisScoresOf as ms, ConcurrencyCaps as mt, DelegationHistoryEntry as mu, AnalystFinding$1 as n, Strategy as na, QuestionDecision as nc, capDelegationTrace as nd, AcquireOptions as ni, WorktreeHandle as nl, collectDelivered as nn, EqualKArm as no, EvolutionArchiveNode as nr, LeaderboardScenario as ns, writeWorkerSteer as nt, DelegateFeedbackArgs as nu, computeFindingId$1 as o, StrategyResult as oa, QuestionRecord as oc, DelegationStateCorruptError as od, PromotionGateOptions as oi, JsonRpcMessage as ol, CoordinationLog as on, Fanout as oo, EvolutionGeneration as or, CompletionAnalyst as os, createFileRunContext as ot, DelegateResearchResult as ou, SurfaceWorkerOut as p, refine as pa, createInProcessTransport as pc, BackendTransportError as pd, registerShape as pi, eventToSnapshot as pl, spendFromUsageEvents as pn, LoopUntilState as po, selectChampion as pr, stopSentinel as ps, assertModelAllowed as pt, DelegationHistoryArgs as pu, settledToIteration as q, ObserveOptions as qa, WorktreeCheckRunner as qc, AgenticRunResult as qi, DelegationRunContext as ql, visibleCheckScore as qn, ShapeContext as qo, SandboxToolPartState as qr, AnalystFindingEvent as qs, createProgressTracker as qt, exportEvalRuns as qu, CreateSandboxOptions$1 as r, StrategyArtifacts as ra, QuestionLevel as rc, composeLoopTraceEmitters as rd, acquireSandbox as ri, captureWorktreeDiff as rl, pickBestDelivered as rn, EqualKOnCost as ro, EvolutionAuthor as rr, LeaderboardScore as rs, InMemoryRunContext as rt, DelegateFeedbackResult as ru, makeFinding$1 as s, StrategyShotResult as sa, QuestionUrgency as sc, DelegationStore as sd, PromotionVerdict as si, JsonRpcResponse as sl, FileCoordinationLog as sn, FanoutOptions as so, EvolutionReport as sr, CompletionEvidence as ss, createInMemoryRunContext as st, DelegateUiAuditArgs as su, AgentProfile$2 as t, ShotSpec as ta, Question as tc, buildDelegationTraceSpans as td, probeSandboxCapabilities as ti, RemoveWorktreeOptions as tl, bestDelivered as tn, CorpusRecord as to, ChampionPolicy as tr, LeaderboardRunContext as ts, workerInboxFileFromEventDir as tt, DelegateCodeResult as tu, SuperviseSurfaceOptions as u, breadthStrategy as ua, createCoordinationTools as uc, InMemoryDelegationStore as ud, trajectoryReport as ui, FeedbackEvent as ul, BudgetReadout as un, FlatWidenGate as uo, discriminatingMeans as ur, completionAuthorizes as us, WorktreeCliExecutorOptions as ut, DelegateUiAuditRoute as uu, worktreeFanout as v, LoopDispatchOptions as va, DelegateArgs as vc, RuntimeRunStateError as vd, renderCorpusToInstructions as vi, DetachedSessionDelegateOptions as vl, assessAuthoredProfile as vn, Pipeline as vo, strategyAuthorContract as vr, LeaderboardOptions as vs, RollingDispatchOptions as vt, DelegationResultPayload as vu, composeWorkerEvidence as w, defaultSelectWinner as wa, CliSeam as wc, EventBus as wd, selectValidWinner as wi, settleDetachedCoderTurn as wl, CheckOutcome as wn, ScopeWidenGate as wo, naiveDriver as wr, leaderboard as ws, defaultDelegateBudget as wt, ResearchOutputShape as wu, VERIFY_TAIL_CHARS as x, loopDispatch as xa, createDelegateHandler as xc, BusEvent as xd, loopUntil as xi, UiAuditorDelegate as xl, profileRichnessFinding as xn, RenderCorpusToInstructionsOptions as xo, NaiveDriverOptions as xr, PairwiseVerdict as xs, queueOf as xt, DelegationStatusResult as xu, EVIDENCE_MAX_CHARS as y, LoopOptionsForDispatch as ya, DelegateHandlerOptions as yc, ValidationError as yd, fanout as yi, DetachedWinnerSelection as yl, authoredWorker as yn, PipelineStage as yo, ApplyContinuation as yr, LeaderboardRow as ys, effectiveConcurrency as yt, DelegationStatus as yu, TrajectoryAnalysis as z, InProcessSandboxClientOptions as za, createSteerableSandboxSession as zc, replaySpawnTree as zd, BenchmarkLift as zi, formatDetachedSessionRef as zl, defaultStructuralRolloutPolicy as zn, LoopShape as zo, TurnResult as zr, areaUnderCurve as zs, ProgressTracker as zt, OtelExportConfig as zu };
7580
- //# sourceMappingURL=index-DlLPNELY.d.ts.map
7710
+ export { safeWorkerFile as $, ObserveInput as $a, piSeamKey as $c, AgenticOptions as $i, DelegationResumeTick as $l, structuralRollout as $n, ShapeBudget as $o, createSandboxLineage as $r, createWaterfallCollector as $s, createProgressTracker as $t, createOtelExporter as $u, GitWorkspaceOptions as A, RunLoopOptions as Aa, BridgeSeam as Ac, BusStats as Ad, pipeline as Ai, detachedSessionDelegate as Al, CheckExecChannel as An, ScopeAnalyzeInput as Ao, dumbDriver as Ar, ScoreOf as As, ResolvedSupervisorProfile as At, FeedbackRefersTo as Au, analyzeTrace as B, resolveMcpServerLaunch as Ba, createExecutor as Bc, FileSpawnJournal as Bd, McpEndpoint as Bi, DetachedTurnResumeDriverOptions as Bl, StructuralRolloutResult as Bn, WidenDecision as Bo, Deliverable as Br, auditIntent as Bs, finalizeBestDelivered as Bt, EvalRunGeneration as Bu, closingWorkerNote as C, sampleThenRefine as Ca, DELEGATE_INPUT_SCHEMA as Cc, NotFoundError as Cd, FileCorpus as Ci, CoderReviewer as Cl, ProfileRichnessThresholds as Cn, PanelSpec as Co, assertStrategyContract as Cr, Interval as Cs, queueOf as Ct, DelegationProfile as Cu, UntrackedCopyStats as D, loopCampaignDispatch as Da, DelegateResult as Dc, CoderOutput as Dd, flatWidenGate as Di, SettleDetachedCoderTurnOptions as Dl, defaultProfileRichnessThresholds as Dn, RenderCorpusToInstructions as Do, DumbDriverOptions as Dr, PairwiseOptions as Ds, delegate as Dt, DelegationStatusArgs as Du, CopyOptions as E, LoopOptionsForDispatch as Ea, DelegateHandlerOptions as Ec, ValidationError as Ed, fanout as Ei, DetachedWinnerSelection as El, authoredWorker as En, PipelineStage as Eo, ApplyContinuation as Er, LeaderboardRow as Es, defaultDelegateBudget as Et, DelegationStatus as Eu, gitWorkspace as F, localSandboxClient as Fa, ProviderSeam as Fc, defaultToolDetectors as Fd, RegistryAnalyzeProjection as Fi, SiblingSandboxExecutorOptions as Fl, CheckSourceCtx as Fn, TrajectoryReportFn as Fo, McpToolDescriptor as Fr, renderLeaderboardSvg as Fs, supervisorAgent as Ft, TraceContext as Fu, supervise as G, InProcessPromptCtx as Ga, SteerableSandboxSession as Gc, pendingWaits as Gd, BenchmarkConfig as Gi, detachedTurnEvents as Gl, defaultExtractCandidate as Gn, DefinePersonaInput as Go, SandboxRunAbortError as Gr, anytimeReport as Gs, ProgressTracker as Gt, OtelAttribute as Gu, SuperviseOptions as H, secretEnvOfMcpServer as Ha, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Hc, InMemorySpawnJournal as Hd, createMcpEnvironment as Hi, DriveTurnTick as Hl, canDisplace as Hn, WidenSpec as Ho, OpenSandboxRunOptions as Hr, AnytimeReport as Hs, NoProgressForOptions as Ht, EvalRunsExportResult as Hu, jjWorkspace as I, KeyProvider as Ia, RouterSeam as Ic, watchTrace as Id, assertTraceDerivedFindings as Ii, createFleetWorkspaceExecutor as Il, RepairStop as In, TrajectoryReportOptions as Io, StdioMcpConnection as Ir, renderPairwiseMarkdown as Is, CoordinationMcpHandle as It, createPropagatingTraceEmitter as Iu, createScope as J, HarvestCorpusOptions as Ja, InboxMessage as Jc, BenchmarkStrategySummary as Ji, runDetachedTurn as Jl, modelAuthoredChecks as Jn, Persona as Jo, CheckpointCapableBox as Jr, plateauLength as Js, StopDecision as Jt, OtelSpan as Ju, workerFromBackend as K, InProcessSandboxClientOptions as Ka, createSteerableSandboxSession as Kc, replaySpawnTree as Kd, BenchmarkLift as Ki, formatDetachedSessionRef as Kl, defaultStructuralRolloutPolicy as Kn, LoopShape as Ko, TurnResult as Kr, areaUnderCurve as Ks, ProgressTrackerOptions as Kt, OtelExportConfig as Ku, localShell as L, ResolvedMcpServerLaunch as La, RouterToolsSeam as Lc, DeliverableSpec as Ld, buildSteerContext as Li, createSiblingSandboxExecutor as Ll, StructuralRolloutConfig as Ln, Verify as Lo, StdioMcpServerSpec as Lr, AuditIntentInput as Ls, serveCoordinationMcp as Lt, readTraceContextFromEnv as Lu, Workspace as M, runAgentRounds as Ma, CliWorktreeBridgeSeam as Mc, PublishOptions as Md, verify as Mi, DelegationExecutor as Ml, CheckRunContext as Mn, SteerContext as Mo, LocalMcpMaterialization as Mr, pairwiseSignificance as Ms, SupervisorProfile as Mt, ResearchSource as Mu, WorkspaceCommit as N, runLoop as Na, CliWorktreeSeam as Nc, createEventBus as Nd, widen as Ni, FleetHandle as Nl, CheckRunner as Nn, TrajectoryNode as No, MaterializeLocalMcpOptions as Nr, renderLeaderboardHtml as Ns, assertCoordinationBinding as Nt, UiAuditLensFilter as Nu, copyUntrackedIntoClone as O, loopDispatch as Oa, createDelegateHandler as Oc, BusEvent as Od, loopUntil as Oi, UiAuditorDelegate as Ol, profileRichnessFinding as On, RenderCorpusToInstructionsOptions as Oo, NaiveDriverOptions as Or, PairwiseVerdict as Os, CoordinationBinding as Ot, DelegationStatusResult as Ou, WorkspaceRun as P, LocalSandboxClientOptions as Pa, ExecutorConfig as Pc, WatchTraceOptions as Pd, CreateScopeAnalystOptions as Pi, FleetWorkspaceExecutorOptions as Pl, CheckSource as Pn, TrajectoryReport as Po, McpSpawnFault as Pr, renderLeaderboardMarkdown as Ps, resolveSupervisorProfile as Pt, UiAuditorDelegationOutput as Pu, readWorkerSteerRequests as Q, Observation as Qa, piExecutor as Qc, runBenchmark as Qi, DelegationResumeDriver as Ql, selectBestIndex as Qn, RunPersonifiedOptions as Qo, SessionCapableBox as Qr, WaterfallSpan as Qs, anyOf as Qt, buildRuntimeEventOtelSpans as Qu, runInWorkspace as R, envKeyProvider as Ra, SandboxSeam as Rc, gateOnDeliverable as Rd, createScopeAnalyst as Ri, DetachedSessionRefParts as Rl, StructuralRolloutMessage as Rn, VerifySpec as Ro, connectStdioMcp as Rr, AuditIntentOptions as Rs, DriverAgentOptions as Rt, traceContextToEnv as Ru, WorkerEvidenceInput as S, sample as Sa, DELEGATE_DESCRIPTION as Sc, JudgeError as Sd, runPersonified as Si, CoderReview as Sl, ProfileRichness as Sn, PanelJudge as So, AuthoredStrategy as Sr, GroupOf as Ss, freeSlots as St, DelegationHistoryResult as Su, settledWorkerOut as T, LoopDispatchOptions as Ta, DelegateArgs as Tc, RuntimeRunStateError as Td, renderCorpusToInstructions as Ti, DetachedSessionDelegateOptions as Tl, assessAuthoredProfile as Tn, Pipeline as To, strategyAuthorContract as Tr, LeaderboardOptions as Ts, DelegateOptions as Tt, DelegationResultPayload as Tu, SuperviseRegistry as U, inlineSandboxClient as Ua, SandboxSteeringOptions as Uc, contentAddress as Ud, sanitizeMcpToolSchema as Ui, RunDetachedTurnOptions as Ul, compareCheckOutcomes as Un, WinnerStrategy as Uo, OpenSandboxRunPromptOptions as Ur, AnytimeStrategySummary as Us, PlateauOptions as Ut, INTELLIGENCE_WIRE_VERSION as Uu, createSupervisor as V, resolveSecretEnv as Va, createExecutorRegistry as Vc, InMemoryResultBlobStore as Vd, McpEnvironmentOptions as Vi, DriveTurnCapableBox as Vl, VisibleCheck as Vn, WidenLineage as Vo, OpenSandboxRunBeforeStartContext as Vr, defaultAuditorInstruction as Vs, AllWorkersStalledOptions as Vt, EvalRunsExportConfig as Vu, SuperviseRegistryTable as W, InProcessOnPrompt as Wa, SteerableSandboxArgs as Wc, materializeTreeView as Wd, BenchmarkCell as Wi, createDetachedTurnResumeDriver as Wl, composeCheckSources as Wn, DefinePersona as Wo, SandboxRun as Wr, AnytimeTaskCurve as Ws, ProgressSample as Wt, LoopSpanNode as Wu, WorkerSteerRequest as X, HarvestReport as Xa, PI_RUNTIME as Xc, Environment as Xi, DelegationRecord as Xl, resolveEntrySymbol as Xn, PersonaExecutors as Xo, SandboxLineage as Xr, WaterfallCollector as Xs, allOf as Xt, buildLoopOtelSpans as Xu, settledToIteration as Y, HarvestFailure as Ya, createInbox as Yc, BenchmarkTaskRow as Yi, DelegationArgs as Yl, officialChecksFromMeta as Yn, PersonaContext as Yo, ForkCapableBox as Yr, renderAnytimeTable as Ys, StopRule as Yt, RuntimeEventOtelOptions as Yu, legacySupervisorRunDir as Z, harvestCorpus as Za, PiSeam as Zc, printBenchmarkReport as Zi, DelegationResumeContext as Zl, sandboxCheckRunner as Zn, RunPersonified as Zo, SandboxLineageHandle as Zr, WaterfallReport as Zs, allWorkersStalled as Zt, buildLoopSpanNodes as Zu, WorktreeFanoutOptions as _, breadthStrategy as _a, createCoordinationTools as _c, InMemoryDelegationStore as _d, trajectoryReport as _i, FeedbackEvent as _l, ReservationRejection as _n, FlatWidenGate as _o, discriminatingMeans as _r, completionAuthorizes as _s, DispatchReport as _t, DelegateUiAuditRoute as _u, SandboxInstance$1 as a, CorpusReadbackOptions as aa, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as ac, DelegationTraceCaps as ad, sumSandboxUsage as ai, DiffOptions as al, FinalizerSettled as an, CombinatorShape as ao, collectAgentTurn as ar, LeaderboardBenchmarkAdapter as as, InMemoryRunContext as at, hashIdempotencyInput as au, NOTE_MAX_CHARS as b, refine as ba, createInProcessTransport as bc, BackendTransportError as bd, registerShape as bi, eventToSnapshot as bl, spendFromUsageEvents as bn, LoopUntilState as bo, selectChampion as br, stopSentinel as bs, RollingDispatchOptions as bt, DelegationHistoryArgs as bu, VerifierEnvironmentOptions as c, ShotSpec as ca, Question as cc, buildDelegationTraceSpans as cd, probeSandboxCapabilities as ci, RemoveWorktreeOptions as cl, collectDelivered as cn, CorpusRecord as co, ChampionPolicy as cr, LeaderboardRunContext as cs, createFileRunContext as ct, DelegateCodeResult as cu, SuperviseSurfaceResult as d, StrategyCtx as da, QuestionOption as dc, createDelegationTraceCollector as dd, ResolveSandboxClientOptions as di, createWorktree as dl, runTree as dn, EqualKOnCostOptions as do, EvolutionBandInfo as dr, LeaderboardSpec as ds, patchDelivered as dt, DelegateResearchArgs as du, AgenticRunResult as ea, AnalystFindingEvent as ec, exportEvalRuns as ed, SandboxToolPartState as ei, WorktreeCheckRunner as el, noProgressFor as en, ObserveOptions as eo, visibleCheckScore as er, ShapeContext as es, supervisorRunDir as et, DelegationRunContext as eu, SurfaceWorkerConfig as f, StrategyMessage as fa, QuestionPolicy as fc, DelegationPersistenceError as fd, resolveSandboxClient as fi, removeWorktree as fl, CoordinationLog as fn, EqualKVerdict as fo, EvolutionCandidate as fr, defineLeaderboard as fs, WorktreeCliExecutorOptions as ft, DelegateResearchConfig as fu, AuthoredHarness as g, adaptiveRefine as ga, WorkerWatchOptions as gc, FileDelegationStoreOptions as gd, equalKOnCost as gi, McpTransport as gl, BudgetReadout as gn, FanoutWinnerSelector as go, StrategyEvolutionConfig as gr, CompletionVerdict as gs, ConcurrencyCaps as gt, DelegateUiAuditResult as gu, superviseSurface as h, SurfaceScore as ha, SettledWorker as hc, FileDelegationStore as hd, promotionGate as hi, McpToolDescriptor$1 as hl, BudgetPool as hn, FanoutSynthesis as ho, ReproductionCheck as hr, CompletionPolicy as hs, assertModelAllowed as ht, DelegateUiAuditConfig as hu, SandboxEvent$1 as i, ArtifactHandle as ia, CoordinationToolsOptions as ic, DELEGATION_TRACE_MAX_SPANS as id, mapSandboxToolEvent as ii, CreateWorktreeOptions as il, FinalizeContext as in, AssertTraceDerivedFindings as io, StreamAgentTurnOptions as ir, LeaderboardBenchTask as is, writeWorkerSteer as it, SubmitOutput as iu, Shell as j, defaultSelectWinner as ja, CliSeam as jc, EventBus as jd, selectValidWinner as ji, settleDetachedCoderTurn as jl, CheckOutcome as jn, ScopeWidenGate as jo, naiveDriver as jr, leaderboard as js, SupervisorAgentDeps as jt, ResearchOutputShape as ju, withUntrackedArtifacts as k, RunAgentRoundsOptions as ka, validateDelegateArgs as kc, BusRecord as kd, panel as ki, coderTaskFromArgs as kl, supervisorInstructions as kn, ScopeAnalyst as ko, SteeringDecision as kr, ProfileKeyOf as ks, DriveHarness as kt, FeedbackRating as ku, createVerifierEnvironment as l, Strategy as la, QuestionDecision as lc, capDelegationTrace as ld, AcquireOptions as li, WorktreeHandle as ll, pickBestDelivered as ln, EqualKArm as lo, EvolutionArchiveNode as lr, LeaderboardScenario as ls, createInMemoryRunContext as lt, DelegateFeedbackArgs as lu, failuresAnalyst as m, StrategyShotResult as ma, QuestionUrgency as mc, DelegationStore as md, PromotionVerdict as mi, JsonRpcResponse as ml, PriorCoordination as mn, FanoutOptions as mo, EvolutionReport as mr, CompletionEvidence as ms, createWorktreeCliExecutor as mt, DelegateUiAuditArgs as mu, AnalystFinding$1 as n, AgenticTask as na, CoordinationEvent as nc, CappedDelegationTrace as nd, extractLlmCallEvent as ni, WorktreeHarnessResult as nl, sampleFromSettled as nn, observe as no, AgentTurnUsage as nr, DefinedLeaderboard as ns, workerInboxFile as nt, DelegationTaskQueueOptions as nu, computeFindingId$1 as o, RunAgenticOptions as oa, DownMessageEvent as oc, DelegationTraceCollector as od, CriuCapableClient as oi, DiffResult as ol, SupervisorFinalizer as on, Corpus as oo, streamAgentTurn as or, LeaderboardFlagSpec as os, InMemoryRunContextOptions as ot, DelegateCodeArgs as ou, SurfaceWorkerOut as p, StrategyResult as pa, QuestionRecord as pc, DelegationStateCorruptError as pd, PromotionGateOptions as pi, JsonRpcMessage as pl, FileCoordinationLog as pn, Fanout as po, EvolutionGeneration as pr, CompletionAnalyst as ps, WorktreePatchArtifact as pt, DelegateResearchResult as pu, ScopeArgs as q, inProcessSandboxClient as qa, Inbox as qc, BenchmarkReport as qi, parseDetachedSessionRef as ql, filterAuthoredAsserts as qn, Outcome as qo, openSandboxRun as qr, bestSoFar as qs, ProgressView as qt, OtelExporter as qu, CreateSandboxOptions$1 as r, AgenticTool as ra, CoordinationTools as rc, DELEGATION_TRACE_MAX_BYTES as rd, mapSandboxEvent as ri, WorktreeProfileMaterializationReceipt as rl, DeliveredOutput as rn, renderReport as ro, CollectedAgentTurn as rr, LeaderboardBenchScore as rs, workerInboxFileFromEventDir as rt, SubmitInput as ru, makeFinding$1 as s, ShotPersona as sa, MakeWorkerAgent as sc, DelegationTraceSpan as sd, SandboxCapabilities as si, GitRunner as sl, bestDelivered as sn, CorpusFilter as so, ChampionPick as sr, LeaderboardIterationInfo as ss, RunContext as st, DelegateCodeConfig as su, AgentProfile$2 as t, AgenticSurface as ta, AnalystRegistry as tc, loopEventToOtelSpan as td, createSandboxToolPartState as ti, WorktreeCommandResult as tl, plateau as tn, defaultAnalystInstruction as to, AgentTurnBackend as tr, ShapeRegistry as ts, supervisorRunsRoot as tt, DelegationTaskQueue as tu, SuperviseSurfaceOptions as u, StrategyArtifacts as ua, QuestionLevel as uc, composeLoopTraceEmitters as ud, acquireSandbox as ui, captureWorktreeDiff as ul, runFinalizer as un, EqualKOnCost as uo, EvolutionAuthor as ur, LeaderboardScore as us, PatchDeliverableOptions as ut, DelegateFeedbackResult as uu, worktreeFanout as v, defineStrategy as va, McpServer as vc, AgentEvalError$1 as vd, builtinShapes as vi, FeedbackStore as vl, ReservationTicket as vn, LoopUntil as vo, pickChampion as vr, deterministicCompletion as vs, DispatchStopReason as vt, DelegationError as vu, composeWorkerEvidence as w, LoopCampaignDispatchOptions as wa, DELEGATE_TOOL_NAME as wc, PlannerError as wd, InMemoryCorpus as wi, DelegateRunCtx as wl, asAuthoredProfile as wn, PanelVerdict as wo, authorStrategy as wr, Leaderboard as ws, rollingDispatch as wt, DelegationProgress as wu, VERIFY_TAIL_CHARS as x, runAgentic as xa, createMcpServer as xc, ConfigError as xd, definePersona as xi, CoderDelegate as xl, AuthoredProfile as xn, Panel as xo, AuthorStrategyOptions as xr, AxisScoresOf as xs, effectiveConcurrency as xt, DelegationHistoryEntry as xu, EVIDENCE_MAX_CHARS as y, depthStrategy as ya, McpServerOptions as yc, AgentEvalErrorCode as yd, createShapeRegistry as yi, InMemoryFeedbackStore as yl, createBudgetPool as yn, LoopUntilSpec as yo, runStrategyEvolution as yr, sentinelCompletion as ys, DispatchUnit as yt, DelegationFeedbackSnapshot as yu, TrajectoryAnalysis as z, mcpSecretEnvMetadataKey as za, cliWorktreeExecutor as zc, FileResultBlobStore as zd, registryScopeAnalyst as zi, DetachedTurn as zl, StructuralRolloutPolicy as zn, Widen as zo, materializeLocalMcp as zr, IntentAudit as zs, driverAgent as zt, EvalRunEvent as zu };
7711
+ //# sourceMappingURL=index-BdnhmGUH.d.ts.map
@@ -2,13 +2,13 @@ import { _ as RunAgentTaskOptions, b as RuntimeSessionStore, g as OpenAIChatTool
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
4
  import "./types-DnNGJ5Gz.js";
5
- import { Mn as StructuralRolloutPolicy, md as ConfigError } from "./index-DlLPNELY.js";
5
+ import { xd as ConfigError, zn as StructuralRolloutPolicy } from "./index-BdnhmGUH.js";
6
6
  import { D as RuntimeTelemetryOptions, c as runLocalHarness, i as LocalHarness, y as ToolLoopChat } from "./local-harness-Dh8PJ0ot.js";
7
7
  import "./index-C-FYUuFG.js";
8
8
  import "./index-Efjb3nrQ.js";
9
9
  import { H as CandidateGenerator, L as Verifier, a as ImproveCandidateValidationInput, j as ReadonlyAgentProfile, p as ImproveMethodFactory, t as Redactor } from "./redact-BkasKlyd.js";
10
- import "./index-BmI2uxy5.js";
11
- import "./loop-runner-bin-vRo5TZt_.js";
10
+ import "./index-B-DkjCqQ.js";
11
+ import "./loop-runner-bin-DN8491Y_.js";
12
12
  import "./openai-tools-B68JaOCx.js";
13
13
  import { ControlBudget as ControlBudget$1, ControlDecision as ControlDecision$1, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult as ControlRunResult$1, ControlStep as ControlStep$1, DataAcquisitionPlan as DataAcquisitionPlan$1, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement as KnowledgeRequirement$1, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
14
14
  import { GepaOptimizationMethodConfig, SkillOptOptimizationMethodConfig } from "@tangle-network/agent-eval/campaign";
@@ -541,4 +541,4 @@ declare function readinessServerSentEvent(report: KnowledgeReadinessReport, opti
541
541
  declare function runtimeStreamServerSentEvent(event: RuntimeStreamEvent, options?: RuntimeTelemetryOptions & ServerSentEventOptions): string;
542
542
  //#endregion
543
543
  export { McpServeSpec as $, resolveRouterBaseUrl as A, RawTraceDistillerOptions as B, DEFAULT_ROUTER_BASE_URL as C, cleanModelId as D, RouterEnv as E, parseRolloutPolicy as F, strategyAuthorMethod as G, buildDriverSystem as H, serializeRolloutPolicy as I, OfficialOptimizerUnavailableError as J, OfficialGepaOptions as K, structuralRolloutPolicyFromProfile as L, ROLLOUT_POLICY_EXTENSION as M, applyRolloutPolicyToProfile as N, getModels as O, normalizeRolloutPolicy as P, officialSkillOpt as Q, ReflectiveGeneratorOptions as R, ChatModelValidation as S, ResolvedChatModel as T, optimizerMethod as U, rawTraceDistiller as V, researchDriverNote as W, OfficialSkillOptOptions as X, OfficialSensitiveCandidateInput as Y, officialGepa as Z, AgentBackendKind as _, ControlStep$1 as a, mcpBuildPrompt as at, decideKnowledgeReadiness as b, KnowledgeRequirement$1 as c, createIterableBackend as ct, readinessServerSentEvent as d, mcpServeVerifier as et, runtimeStreamServerSentEvent as f, runAgentTaskStream as g, runAgentTask as h, ControlRunResult$1 as i, findingLines as it, validateChatModelId as j, resolveChatModel as k, RunRecord$1 as l, createOpenAICompatibleBackend as lt, applyRunRecordDefaults as m, ControlDecision$1 as n, driverLoopGenerator as nt, DataAcquisitionPlan$1 as o, toolBuildPrompt as ot, InMemoryRuntimeSessionStore as p, OfficialOptimizerContextOptions as q, ControlEvalResult$1 as r, BuildPromptFindingsInput as rt, KnowledgeReadinessReport$1 as s, BackendRetryPolicy as st, ControlBudget$1 as t, DriverLoopGeneratorOptions as tt, ServerSentEventOptions as u, createSandboxPromptBackend as ut, ResolveAgentBackendOptions as v, ModelInfo as w, ChatModelCandidate as x, resolveAgentBackend as y, reflectiveGenerator as z };
544
- //# sourceMappingURL=index-sLuBoGud.d.ts.map
544
+ //# sourceMappingURL=index-DmXPCQ2X.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
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
2
  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";
3
3
  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";
4
- import { B as Executor, L as AgentSpec, R as Budget, U as ExecutorRegistry, dt as Supervisor, lt as Spend, nt as Scope, rt as Settled, ut as SupervisedResult } from "./environment-provider-CTEMEP9u.js";
5
- import { Bu as OtelExporter, Fu as EvalRunsExportResult, Gu as buildRuntimeEventOtelSpans, Hu as RuntimeEventOtelOptions, Iu as INTELLIGENCE_WIRE_VERSION, Js as AnalystRegistry, Ju as loopEventToOtelSpan, Ku as createOtelExporter, Lu as LoopSpanNode, Mu as EvalRunEvent, Nu as EvalRunGeneration, Pu as EvalRunsExportConfig, Qt as FinalizeContext, Ru as OtelAttribute, Uu as buildLoopOtelSpans, Vu as OtelSpan, Wu as buildLoopSpanNodes, Ys as CoordinationEvent, _d as PlannerError, dd as AgentEvalError, en as SupervisorFinalizer, fd as AgentEvalErrorCode, gd as NotFoundError, hd as JudgeError, md as ConfigError, pd as BackendTransportError, qc as WorktreeCheckRunner, qu as exportEvalRuns, vd as RuntimeRunStateError, yd as ValidationError, zu as OtelExportConfig } from "./index-DlLPNELY.js";
4
+ import { B as Executor, L as AgentSpec, R as Budget, U as ExecutorRegistry, dt as SupervisedResult, ft as Supervisor, it as Settled, rt as Scope, ut as Spend } from "./environment-provider-DG-cSx89.js";
5
+ import { $u as createOtelExporter, Bu as EvalRunGeneration, Cd as NotFoundError, Ed as ValidationError, Gu as OtelAttribute, Hu as EvalRunsExportResult, Ju as OtelSpan, Ku as OtelExportConfig, Qu as buildRuntimeEventOtelSpans, Sd as JudgeError, Td as RuntimeRunStateError, Uu as INTELLIGENCE_WIRE_VERSION, Vu as EvalRunsExportConfig, Wu as LoopSpanNode, Xu as buildLoopOtelSpans, Yu as RuntimeEventOtelOptions, Zu as buildLoopSpanNodes, bd as BackendTransportError, ed as exportEvalRuns, el as WorktreeCheckRunner, in as FinalizeContext, nc as CoordinationEvent, on as SupervisorFinalizer, qu as OtelExporter, tc as AnalystRegistry, td as loopEventToOtelSpan, vd as AgentEvalError, wd as PlannerError, xd as ConfigError, yd as AgentEvalErrorCode, zu as EvalRunEvent } from "./index-BdnhmGUH.js";
6
6
  import { A as createRuntimeEventCollector, C as RuntimeEventCollector, D as RuntimeTelemetryOptions, E as RuntimeStreamEventSummary, M as sanitizeAgentRuntimeEvent, N as sanitizeKnowledgeReadinessReport, O as SanitizedKnowledgeReadinessReport, P as sanitizeRuntimeStreamEvent, T as RuntimeStreamEventSink, j as createRuntimeStreamEventCollector, k as SanitizedKnowledgeRequirement, w as RuntimeStreamEventCollector } from "./local-harness-Dh8PJ0ot.js";
7
7
  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-C-FYUuFG.js";
8
8
  import { A as AgentCandidateExecutionTerminalRecord, C as AgentCandidateExecutionFailureClass, D as AgentCandidateExecutionPhaseResult, E as AgentCandidateExecutionPhase, F as candidateExecutionClaim, I as AgentCandidatePreparationEvidence, M as AgentCandidateRetryRejection, N as InMemoryAgentCandidateExecutionClaimStore, O as AgentCandidateExecutionRecoveryEvidence, P as InMemoryAgentCandidateExecutionClaimStoreOptions, S as AgentCandidateExecutionCleanupHandles, T as AgentCandidateExecutionLease, _ as AgentCandidateExecutionAttemptRecord, a as AgentCandidateModelGrantSettleInput, b as AgentCandidateExecutionClaimResult, c as applyExactAgentProfileDiff, d as parseExactAgentProfile, f as parseExactAgentProfileDiff, g as executePreparedAgentCandidate, h as ExecutePreparedAgentCandidateOptions, i as AgentCandidateModelGrantReserveInput, j as AgentCandidateExecutionTerminalResult, k as AgentCandidateExecutionStageResult, l as assertCandidateProfileBinding, m as prepareAgentCandidateExecution, n as AgentCandidateModelGrantClient, o as CreateProtectedAgentCandidateModelPortOptions, p as PrepareAgentCandidateExecutionOptions, r as AgentCandidateModelGrantReservation, s as createProtectedAgentCandidateModelPort, t as AgentCandidateModelGrantActivateInput, v as AgentCandidateExecutionAttemptRef, w as AgentCandidateExecutionFinishResult, x as AgentCandidateExecutionClaimStore, y as AgentCandidateExecutionClaim } from "./protected-model-port-BP6Z4eau.js";
9
9
  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";
10
10
  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";
11
- 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-sLuBoGud.js";
11
+ 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-DmXPCQ2X.js";
12
12
  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-BkasKlyd.js";
13
- 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-BmI2uxy5.js";
14
- 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-vRo5TZt_.js";
13
+ 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-B-DkjCqQ.js";
14
+ 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-DN8491Y_.js";
15
15
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-B68JaOCx.js";
16
16
  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 WorktreeCheckRunner, type WorktreeLoopRunnerOptions, 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, createOtelExporter, createProtectedAgentCandidateModelPort, createRuntimeEventCollector, createRuntimeStreamEventCollector, createSandboxPromptBackend, createSupervisedKnowledgeUpdater, d1ToSqlAdapter, decideKnowledgeReadiness, defaultBuildPrompt, defaultIsRetryable, defineConversation, defineRuntimeHooks, disposePreparedAgentCandidateExecution, driverLoopGenerator, exactProcessProviderAsCandidateExecutor, executePreparedAgentCandidate, exportEvalRuns, findingLines, formatSupervisedKnowledgeTask, getModels, improve, isDelegatedLoopMode, isDepthExceeded, knowledgeReadinessDeliverable, loopEventToOtelSpan, makePerAttemptSignal, mcpBuildPrompt, mcpServeVerifier, mcpToolsForRuntimeMcp, mcpToolsForRuntimeMcpSubset, normalizeRolloutPolicy, notifyRuntimeDecisionPoint, notifyRuntimeHookEvent, officialGepa, officialSkillOpt, optimizerMethod, parseExactAgentProfile, parseExactAgentProfileDiff, 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, toolBuildPrompt, turnId, validateChatModelId, verifyAgentCandidateBundle, worktreeLoopRunner };
package/dist/index.js CHANGED
@@ -5,16 +5,16 @@ 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-Co3sRC_7.js";
6
6
  import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BtldAE9j.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 { P as runLocalHarness, T as runBrainLoop } from "./supervisor-ByCPHcp9.js";
9
- import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-CgnNy7_4.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-ryAyCLKN.js";
8
+ import { P as runLocalHarness, T as runBrainLoop } from "./supervisor-zebR4ICs.js";
9
+ import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-DXmSoA9q.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-DxBZsG33.js";
11
11
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-C7iJOWm3.js";
12
- import { Ft as McpSpawnFault, It as connectStdioMcp } from "./runtime-fwz-erxT.js";
12
+ import { Ft as McpSpawnFault, It as connectStdioMcp } from "./runtime-Cs2e63LL.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-DBNAteaC.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-h7sDHsnd.js";
15
15
  import { a as createOtelExporter, c as loopEventToOtelSpan, d as sanitizeAgentRuntimeEvent, f as sanitizeKnowledgeReadinessReport, i as buildRuntimeEventOtelSpans, l as createRuntimeEventCollector, n as buildLoopOtelSpans, o as exportEvalRuns, p as sanitizeRuntimeStreamEvent, r as buildLoopSpanNodes, t as INTELLIGENCE_WIRE_VERSION, u as createRuntimeStreamEventCollector } from "./otel-export-D34IQW1C.js";
16
- 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-BLOckrqT.js";
17
- import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-st-hERvA.js";
16
+ 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-D1TTr39X.js";
17
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-B1lRpTZr.js";
18
18
  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";
19
19
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
20
20
  import { gepaOptimizationMethod, skillOptOptimizationMethod } from "@tangle-network/agent-eval/campaign";
@@ -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, o as AgentEnvironmentProviderRegistry } from "./environment-provider-CTEMEP9u.js";
4
+ import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-DG-cSx89.js";
5
5
  import { D as RuntimeTelemetryOptions, m as ToolSpec } from "./local-harness-Dh8PJ0ot.js";
6
6
  import { h as ExecutePreparedAgentCandidateOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as PrepareAgentCandidateExecutionOptions, u as parseAgentCandidateProfileActivation, x as AgentCandidateExecutionClaimStore } from "./protected-model-port-BP6Z4eau.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";
@@ -1,8 +1,8 @@
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-BKVdOn0w.js";
2
2
  import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-BtldAE9j.js";
3
- 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-ryAyCLKN.js";
3
+ 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-DxBZsG33.js";
4
4
  import { r as resolveRedactor, t as defaultRedactor } from "./redact-D-u-rrcn.js";
5
- import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-CsuHCZVN.js";
5
+ import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-DGozpA_7.js";
6
6
  import { i as resolveAgentEnvironmentProvider } from "./environment-provider-BsHpW4Dp.js";
7
7
  import { a as createOtelExporter, i as buildRuntimeEventOtelSpans, n as buildLoopOtelSpans, s as flatOtelSpan } from "./otel-export-D34IQW1C.js";
8
8
  import { contentHash } from "@tangle-network/agent-eval";