@tangle-network/agent-runtime 0.110.0 → 0.112.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-Cdc_tRNR.js} +2 -2
  2. package/dist/{activation-CsuHCZVN.js.map → activation-Cdc_tRNR.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-Cl97VeCv.d.ts} +43 -2
  6. package/dist/environment-provider.d.ts +1 -1
  7. package/dist/{improvement-cycle-ryAyCLKN.js → improvement-cycle-BCjD-g_C.js} +3 -3
  8. package/dist/{improvement-cycle-ryAyCLKN.js.map → improvement-cycle-BCjD-g_C.js.map} +1 -1
  9. package/dist/{index-D_OdNLe0.d.ts → index-B0sAaAO_.d.ts} +164 -24
  10. package/dist/{index-C-Zn0VrN.d.ts → index-B6glsqBp.d.ts} +3 -3
  11. package/dist/{index-WODlt7iz.d.ts → index-C9vg2af7.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-In_1LsHg.js} +3 -3
  19. package/dist/{knowledge-DBNAteaC.js.map → knowledge-In_1LsHg.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-BUm83y1g.d.ts → loop-runner-bin-CHnWCyiB.d.ts} +3 -3
  23. package/dist/{loop-runner-bin-zE7DyGop.js → loop-runner-bin-DF98VMqr.js} +3 -3
  24. package/dist/{loop-runner-bin-zE7DyGop.js.map → loop-runner-bin-DF98VMqr.js.map} +1 -1
  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-g5FS2twc.js} +2 -2
  31. package/dist/{openai-tools-st-hERvA.js.map → openai-tools-g5FS2twc.js.map} +1 -1
  32. package/dist/primeintellect/index.d.ts +1 -1
  33. package/dist/{runtime-DSkMJb_X.js → runtime-6sL2vhTQ.js} +31 -13
  34. package/dist/{runtime-DSkMJb_X.js.map → runtime-6sL2vhTQ.js.map} +1 -1
  35. package/dist/{structural-rollout-CgnNy7_4.js → structural-rollout-D5GbH3cy.js} +2 -2
  36. package/dist/{structural-rollout-CgnNy7_4.js.map → structural-rollout-D5GbH3cy.js.map} +1 -1
  37. package/dist/{supervise-CeZtA1wu.js → supervise-6jSTe0kO.js} +322 -30
  38. package/dist/supervise-6jSTe0kO.js.map +1 -0
  39. package/dist/{supervisor-ByCPHcp9.js → supervisor-B4hOPKJV.js} +48 -6
  40. package/dist/{supervisor-ByCPHcp9.js.map → supervisor-B4hOPKJV.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
@@ -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-Cl97VeCv.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";
@@ -6596,7 +6596,8 @@ interface CoordinationMcpHandle {
6596
6596
  close(): Promise<void>;
6597
6597
  }
6598
6598
  /** 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. */
6599
+ * opencode locally, same host); pass `host` to bind elsewhere when the harness is remote — a
6600
+ * non-loopback host additionally requires `allowUnauthenticatedRemote`. */
6600
6601
  declare function serveCoordinationMcp(opts: {
6601
6602
  scope: Scope<unknown>;
6602
6603
  blobs: ResultBlobStore;
@@ -6612,7 +6613,13 @@ declare function serveCoordinationMcp(opts: {
6612
6613
  * {@link DEFAULT_AWAIT_EVENT_TIMEOUT_MS}; `<= 0` = prior unbounded block (in-process only). */
6613
6614
  awaitTimeoutMs?: number;
6614
6615
  port?: number;
6616
+ /** Bind address. Omit = `127.0.0.1`. A non-loopback host is REFUSED unless
6617
+ * `allowUnauthenticatedRemote` acknowledges the exposure. */
6615
6618
  host?: string;
6619
+ /** Explicit acknowledgment that binding a non-loopback `host` publishes UNAUTHENTICATED
6620
+ * spawn_agent / steer_agent / stop to everyone who can reach the port. Required for any
6621
+ * non-loopback bind; ignored for loopback ones. */
6622
+ allowUnauthenticatedRemote?: boolean;
6616
6623
  /** Trace-analyst lenses the driver can run (`run_analyst`) or auto-fire on settle. */
6617
6624
  analysts?: AnalystRegistry;
6618
6625
  /** Analyst kinds to auto-run when a worker settles `done` — findings flow up the bus. */
@@ -6629,23 +6636,107 @@ declare function serveCoordinationMcp(opts: {
6629
6636
  }): Promise<CoordinationMcpHandle>;
6630
6637
  //#endregion
6631
6638
  //#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. */
6639
+ /**
6640
+ * The supervisor's profile — the subset of an `AgentProfile` that selects + shapes its brain.
6641
+ * `harness` is the backend-as-data discriminant; `systemPrompt` is the standing instruction.
6642
+ *
6643
+ * A canonical `AgentProfile` from `@tangle-network/agent-interface` satisfies this interface
6644
+ * structurally: its `model` is a hints OBJECT and its system prompt lives at `prompt.systemPrompt`,
6645
+ * so both spellings are accepted here and reduced by {@link resolveSupervisorProfile}. Before that,
6646
+ * a canonical profile's model object reached `RouterConfig.model` (a string) as an object and its
6647
+ * `prompt.systemPrompt` was dropped — a request the provider rejects, and a supervisor running the
6648
+ * default strategy while its profile named another.
6649
+ *
6650
+ * WHAT EACH ARM HONORS — the two brains read different amounts of a profile, so state it rather
6651
+ * than let a caller infer that a field took effect:
6652
+ *
6653
+ * - ROUTER arm (`harness` null): only `name`, the resolved model id (`model`, or
6654
+ * `model.default`), and the resolved system prompt (`prompt.systemPrompt`/`systemPrompt` plus
6655
+ * `prompt.instructions` and `resources.instructions`) reach the brain. A full `AgentProfile`'s
6656
+ * `tools`, `mcp`, `permissions`, `resources.skills`/`files`, `hooks`, `modes`, `subagents`,
6657
+ * `model.provider`, `model.small` and `model.reasoningEffort` are NOT honored here: the router
6658
+ * brain is one `ToolLoopChat` over the coordination verbs, and `routerChatWithTools` (its only
6659
+ * transport) has no parameter for any of them.
6660
+ * - HARNESS arm (`harness` set): the WHOLE profile object is handed to `deps.driveHarness`
6661
+ * untouched, plus the resolved system prompt as a separate argument. Everything the profile
6662
+ * declares is the harness's to materialize; this module changes none of it.
6663
+ */
6634
6664
  interface SupervisorProfile {
6635
6665
  readonly name?: string;
6636
6666
  /** null/undefined → router brain (in-process tool-loop); a coding-CLI harness → sandboxed brain. */
6637
6667
  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;
6668
+ /** The router model when the brain is router-driven: a model id, or a canonical profile's model
6669
+ * hints whose `default` IS the id. Absent (including a hints object with no `default`) → the
6670
+ * deps router config's model applies. Other hints (`small`, `provider`, `reasoningEffort`) are
6671
+ * harness-arm material only. */
6672
+ readonly model?: string | AgentProfileModelHints;
6673
+ /** Canonical `AgentProfile` prompt shaping. `prompt.systemPrompt` and the top-level `systemPrompt`
6674
+ * are the same standing instruction in two spellings; disagreeing values are a fault, not a pick.
6675
+ * `prompt.instructions` lines are appended to the resolved prompt, one per line. */
6676
+ readonly prompt?: AgentProfilePrompt;
6677
+ /** Canonical `AgentProfile` resources. Only `instructions` shapes the brain here (appended to the
6678
+ * resolved system prompt); every other resource is the harness's to materialize. */
6679
+ readonly resources?: AgentProfileResources;
6640
6680
  /** The standing instructions ("you delegate, you do not solve"). */
6641
6681
  readonly systemPrompt?: string;
6642
6682
  }
6683
+ /** A `SupervisorProfile` reduced to the scalars the two brain arms consume. `modelId`/`systemPrompt`
6684
+ * stay `undefined` when the profile named none — the caller's fallback (`deps.router.model`,
6685
+ * the built-in default supervisor prompt) then applies, and this type cannot hide which happened.
6686
+ *
6687
+ * There is deliberately no `reasoningEffort` here: the router brain runs on `routerChatWithTools`,
6688
+ * which has no `reasoning_effort` parameter, so a field carrying it would be a public promise
6689
+ * nothing keeps. `model.reasoningEffort` still reaches the harness arm inside the profile. */
6690
+ interface ResolvedSupervisorProfile {
6691
+ readonly name: string;
6692
+ readonly harness: string | null;
6693
+ readonly modelId?: string;
6694
+ readonly systemPrompt?: string;
6695
+ }
6696
+ /**
6697
+ * Reduce either profile spelling — a hand-written `SupervisorProfile` or a canonical `AgentProfile`
6698
+ * — to the scalars the brain arms consume:
6699
+ *
6700
+ * - `modelId`: a string `model` verbatim, else `model.default`. Absent or unresolvable → the
6701
+ * router config's own model applies unchanged.
6702
+ * - `systemPrompt`: the system prompt plus the `prompt.instructions` and `resources.instructions`
6703
+ * lines, one per line.
6704
+ *
6705
+ * `supervisorAgent` resolves each piece only where it is consumed (the model id on the router arm
6706
+ * only); this whole-profile reduction is the caller-facing view of the same rules.
6707
+ */
6708
+ declare function resolveSupervisorProfile(profile: SupervisorProfile): ResolvedSupervisorProfile;
6709
+ /** Where the coordination MCP binds. Omit = an ephemeral port on `127.0.0.1` (the local-harness
6710
+ * default); set `host` when the root or the harness runs off-host. */
6711
+ interface CoordinationBinding {
6712
+ readonly host?: string;
6713
+ readonly port?: number;
6714
+ /** Explicit acknowledgment required to bind a NON-loopback host — see
6715
+ * {@link assertCoordinationBinding} for what is being accepted. */
6716
+ readonly allowUnauthenticatedRemote?: boolean;
6717
+ }
6718
+ /**
6719
+ * Fail closed on a non-loopback coordination bind. `serveCoordinationMcp` mounts spawn_agent /
6720
+ * steer_agent / stop with NO authentication of any kind (it is a bare JSON-RPC-over-HTTP handler),
6721
+ * so a non-loopback bind lets anyone who can reach the port spawn agents and spend the run's
6722
+ * conserved budget. There is no token to require yet, so the only honest options are loopback or an
6723
+ * explicit, recorded acknowledgment — never a silent bind.
6724
+ */
6725
+ declare function assertCoordinationBinding(binding: CoordinationBinding | undefined): void;
6643
6726
  /** How to run a sandboxed harness as the DRIVER, with the coordination verbs mounted — the substrate
6644
6727
  * seam the caller supplies (mirrors `makeWorkerAgent` for spawned children). It runs `profile` on
6645
6728
  * `task` in its backend (sandbox / cli-bridge) with `coordinationMcpUrl` mounted as an MCP server,
6646
6729
  * so the harness calls spawn_agent / await_event / stop as native tools over the live scope. */
6647
6730
  type DriveHarness = (args: {
6731
+ /** The caller's profile, EXACTLY as passed to `supervisorAgent` — never rewritten. A canonical
6732
+ * `AgentProfile` stays schema-valid here (the canonical schema rejects unknown top-level keys,
6733
+ * so hoisting a resolved prompt onto it would make a profile its own validator refuses). */
6648
6734
  readonly profile: SupervisorProfile;
6735
+ /** The standing instruction assembled from the profile: its system prompt in either spelling,
6736
+ * plus the `prompt.instructions` and `resources.instructions` lines. Absent when the profile
6737
+ * names none — the harness's own default then applies. This, not `profile.systemPrompt`, is what
6738
+ * the harness should run under. */
6739
+ readonly systemPrompt?: string;
6649
6740
  readonly task: unknown;
6650
6741
  readonly scope: Scope<unknown>;
6651
6742
  readonly coordinationMcpUrl: string;
@@ -6708,6 +6799,10 @@ interface SupervisorAgentDeps {
6708
6799
  /** How the settled ledger becomes the run's output (both arms). Default `bestDelivered` — the
6709
6800
  * exact keep-best every existing caller had. Always runs under the delivered-only invariant. */
6710
6801
  readonly finalizer?: SupervisorFinalizer;
6802
+ /** Where the coordination MCP binds (sandbox arm). Omit = an ephemeral loopback port, which is
6803
+ * unreachable from an off-host harness. A non-loopback host fails closed — see
6804
+ * {@link assertCoordinationBinding}. */
6805
+ readonly coordination?: CoordinationBinding;
6711
6806
  }
6712
6807
  /** Build a supervisor `Agent` from its profile: the brain resolves from `profile.harness` (backend-as-data), the same resolution rule as every worker. */
6713
6808
  declare function supervisorAgent(profile: SupervisorProfile, deps: SupervisorAgentDeps): Agent<unknown, unknown>;
@@ -7014,16 +7109,21 @@ declare function createFileRunContext(dir: string, opts?: InMemoryRunContextOpti
7014
7109
  //#endregion
7015
7110
  //#region src/runtime/supervise/run-layout.d.ts
7016
7111
  /**
7017
- * The on-disk supervisor-run layout: `<root>/.loops/supervisor/<id>`.
7112
+ * The on-disk supervisor-run layout: `<root>/.agent/supervisor/<id>`.
7018
7113
  *
7019
7114
  * This is the durable, cross-process face of a supervisor run — the counterpart to the in-process
7020
7115
  * `Inbox` seam in `./inbox`. A run persists its state under one directory so that any OTHER process
7021
- * can find it after the fact: `@tangle-network/traces` reads exactly this layout
7022
- * (`traces analyze --supervisor-run-dir` expects `<runDir>/ws/.loops/supervisor/<id>`), a restarted
7023
- * host can rehydrate a run it no longer holds handles to, and a human can steer a live worker by
7024
- * appending one NDJSON line. Until now the layout was defined only in the unpublished `loops` repo
7025
- * (`src/supervisor-control.ts`) — a published reader depending on an unpublished writer's
7026
- * convention — so the contract is promoted here, names preserved.
7116
+ * can find it after the fact: `@tangle-network/traces` reads exactly this layout via
7117
+ * `traces analyze --supervisor-run-dir`, a restarted host can rehydrate a run it no longer holds
7118
+ * handles to, and a human can steer a live worker by appending one NDJSON line. Until now the
7119
+ * layout was defined only in the unpublished `loops` repo (`src/supervisor-control.ts`) — a
7120
+ * published reader depending on an unpublished writer's convention — so the contract is promoted
7121
+ * here, names preserved.
7122
+ *
7123
+ * `.agent` is the one dot-dir for ALL agent-owned state (skills already write
7124
+ * `.agent/hypotheses/`, `.agent/skill-runs.jsonl`); supervisor runs live beside them rather than
7125
+ * under a product-branded dir. Runs written by older writers used `.loops/supervisor/<id>` —
7126
+ * readers that must see those keep a legacy fallback; this writer never creates `.loops` again.
7027
7127
  *
7028
7128
  * Layout, relative to `supervisorRunDir(root, id)`:
7029
7129
  *
@@ -7052,8 +7152,16 @@ interface WorkerSteerRequest {
7052
7152
  readonly worker: string;
7053
7153
  readonly message: string;
7054
7154
  }
7155
+ /** The root every supervisor run of one workspace lives under. */
7156
+ declare function supervisorRunsRoot(rootDir: string): string;
7055
7157
  /** The run directory every artifact of one supervisor run lives under. */
7056
7158
  declare function supervisorRunDir(rootDir: string, id: string): string;
7159
+ /**
7160
+ * Where a pre-rename writer put the same run (`<root>/.loops/supervisor/<id>`). Readers that must
7161
+ * see historical runs check {@link supervisorRunDir} first and fall back to this; nothing writes
7162
+ * here anymore.
7163
+ */
7164
+ declare function legacySupervisorRunDir(rootDir: string, id: string): string;
7057
7165
  /** A worker label reduced to a safe filename stem. Empty labels get a stable fallback. */
7058
7166
  declare function safeWorkerFile(label: string): string;
7059
7167
  /** The durable inbox file for one worker of one run. */
@@ -7157,6 +7265,27 @@ declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unkno
7157
7265
  * deliverable check that makes "settled ⟺ delivered" true — the guard against "ran but didn't
7158
7266
  * deliver"). The ONE place a backend becomes a spawnable worker. */
7159
7267
  declare function workerFromBackend(backend: ExecutorConfig, deliverable?: DeliverableSpec<unknown>): MakeWorkerAgent;
7268
+ /** A name→value table, in this package's resolver-port shape (the same one `WaitProbeRegistry`
7269
+ * uses): construction stays the caller's, lookup stays lazy, and a table backed by a file, a
7270
+ * plugin loader, or a plain object all satisfy one interface. */
7271
+ interface SuperviseRegistryTable<T> {
7272
+ resolve(name: string): T | undefined;
7273
+ }
7274
+ /**
7275
+ * The name→value tables that make the four CODE-valued options expressible as run DATA.
7276
+ *
7277
+ * `deliverable` / `finalizer` / `analysts` / `probes` are functions and registries, so a recorded
7278
+ * run configuration (a JSON row, a campaign spec, a resumed run's options) cannot carry them — and
7279
+ * a run with no `deliverable` cannot return a `winner` at all outside the sandbox backend, because
7280
+ * the finalizer keeps only children whose oracle passed and nothing else writes that verdict. A
7281
+ * caller that owns the code registers it here once and names it from data thereafter.
7282
+ */
7283
+ interface SuperviseRegistry {
7284
+ readonly deliverables?: SuperviseRegistryTable<DeliverableSpec<unknown>>;
7285
+ readonly finalizers?: SuperviseRegistryTable<SupervisorFinalizer>;
7286
+ readonly analysts?: SuperviseRegistryTable<AnalystRegistry>;
7287
+ readonly probes?: SuperviseRegistryTable<WaitProbeRegistry>;
7288
+ }
7160
7289
  interface SuperviseOptions {
7161
7290
  /** The conserved compute pool for the whole run. */
7162
7291
  readonly budget: Budget;
@@ -7164,8 +7293,16 @@ interface SuperviseOptions {
7164
7293
  readonly backend?: ExecutorConfig;
7165
7294
  /** The independent completion check for backend-derived workers and direct supervisor
7166
7295
  * submissions. Strongly recommended: without it the supervisor cannot submit its own work and
7167
- * backend-derived workers fall back to their own validity signal. */
7168
- readonly deliverable?: DeliverableSpec<unknown>;
7296
+ * backend-derived workers fall back to their own validity signal. A `string` names an entry in
7297
+ * `registry.deliverables`. */
7298
+ readonly deliverable?: DeliverableSpec<unknown> | string;
7299
+ /** Name→value tables for the four code-valued options, so a recorded run configuration can name
7300
+ * them instead of carrying closures. See {@link SuperviseRegistry}. */
7301
+ readonly registry?: SuperviseRegistry;
7302
+ /** Where the coordination MCP binds when the supervisor is harness-driven. Omit = an ephemeral
7303
+ * port on `127.0.0.1`, which an off-host root cannot reach. A non-loopback host is refused
7304
+ * unless `allowUnauthenticatedRemote` acknowledges that the verbs are unauthenticated. */
7305
+ readonly coordination?: CoordinationBinding;
7169
7306
  /** Override the worker seam directly (tests / advanced) instead of deriving it from `backend`. */
7170
7307
  readonly makeWorkerAgent?: MakeWorkerAgent;
7171
7308
  /** The supervisor's router substrate (`harness` null). The profile's model wins. */
@@ -7191,8 +7328,9 @@ interface SuperviseOptions {
7191
7328
  * sandboxes a real fleet runs at once). Omit/`<= 0` = no cap (the pool stays the only fence). */
7192
7329
  readonly maxLiveWorkers?: number;
7193
7330
  /** Analyst lenses available to the driver. Required for `analyzeOnSettle`. Unset → status quo
7194
- * (the driver receives settled worker outputs, no analyst findings). */
7195
- readonly analysts?: AnalystRegistry;
7331
+ * (the driver receives settled worker outputs, no analyst findings). A `string` names an entry in
7332
+ * `registry.analysts`. */
7333
+ readonly analysts?: AnalystRegistry | string;
7196
7334
  /** Analyst kind ids run AUTOMATICALLY when a worker settles `done` — each re-enters as a `finding`
7197
7335
  * the driver pulls (`await_event`) and composes its next steer from. The self-improving UP-leg,
7198
7336
  * threaded to the driver at this level (propagate to sub-drivers via a recursive `makeWorkerAgent`).
@@ -7237,8 +7375,9 @@ interface SuperviseOptions {
7237
7375
  readonly journal?: SpawnJournal;
7238
7376
  /** Predicate registry for `poll` wait-states (`Scope.wait`). A `poll` names its predicate so the
7239
7377
  * wait survives a restart; this is what the name resolves against. Unset ⇒ `poll` waits are
7240
- * refused `unknown-probe` and `timer` waits still work. */
7241
- readonly probes?: WaitProbeRegistry;
7378
+ * refused `unknown-probe` and `timer` waits still work. A `string` names an entry in
7379
+ * `registry.probes`. */
7380
+ readonly probes?: WaitProbeRegistry | string;
7242
7381
  /**
7243
7382
  * PROGRESS-derived stop rule (router-brained supervisor). Ends a run that has stopped LEARNING
7244
7383
  * before it exhausts a ceiling — the answer to "a run should end because it is done or stuck,
@@ -7271,8 +7410,9 @@ interface SuperviseOptions {
7271
7410
  * highest-scoring DELIVERED child (the exact behavior every existing caller had). Alternatives:
7272
7411
  * `collectDelivered` (every verified distinct output with provenance — a Pareto set / recorded
7273
7412
  * disagreement) or a custom `SupervisorFinalizer`. Whatever the finalizer, it operates on
7274
- * structurally DELIVERED outputs only — an undelivered or invalid child stays ineligible. */
7275
- readonly finalizer?: SupervisorFinalizer;
7413
+ * structurally DELIVERED outputs only — an undelivered or invalid child stays ineligible. A
7414
+ * `string` names an entry in `registry.finalizers`. */
7415
+ readonly finalizer?: SupervisorFinalizer | string;
7276
7416
  }
7277
7417
  /** One-call supervisor: build + run a supervisor from its profile with sensible defaults; the raw `supervisorAgent` + `createSupervisor().run` seams stay available for power use. */
7278
7418
  declare function supervise(profile: SupervisorProfile, task: unknown, opts: SuperviseOptions): Promise<SupervisedResult<unknown>>;
@@ -7563,5 +7703,5 @@ interface VerifierEnvironmentOptions {
7563
7703
  /** 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. */
7564
7704
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
7565
7705
  //#endregion
7566
- export { workerInboxFileFromEventDir as $, CorpusRecord as $a, RemoveWorktreeOptions as $c, ShotSpec as $i, DelegateCodeResult as $l, ChampionPolicy as $n, LeaderboardRunContext as $o, probeSandboxCapabilities as $r, Question as $s, bestDelivered as $t, buildDelegationTraceSpans as $u, GitWorkspaceOptions as A, mcpSecretEnvMetadataKey as Aa, cliWorktreeExecutor as Ac, FileResultBlobStore as Ad, registryScopeAnalyst as Ai, DetachedTurn as Al, StructuralRolloutPolicy as An, Widen as Ao, materializeLocalMcp as Ar, IntentAudit as As, DriverAgentOptions as At, EvalRunEvent as Au, analyzeTrace as B, HarvestFailure as Ba, createInbox as Bc, BenchmarkTaskRow as Bi, DelegationArgs as Bl, officialChecksFromMeta as Bn, PersonaContext as Bo, ForkCapableBox as Br, renderAnytimeTable as Bs, StopDecision as Bt, RuntimeEventOtelOptions as Bu, closingWorkerNote as C, runAgentRounds as Ca, CliWorktreeBridgeSeam as Cc, PublishOptions as Cd, verify as Ci, DelegationExecutor as Cl, CheckRunContext as Cn, SteerContext as Co, LocalMcpMaterialization as Cr, pairwiseSignificance as Cs, delegate as Ct, ResearchSource as Cu, UntrackedCopyStats as D, KeyProvider as Da, RouterSeam as Dc, watchTrace as Dd, assertTraceDerivedFindings as Di, createFleetWorkspaceExecutor as Dl, RepairStop as Dn, TrajectoryReportOptions as Do, StdioMcpConnection as Dr, renderPairwiseMarkdown as Ds, supervisorAgent as Dt, createPropagatingTraceEmitter as Du, CopyOptions as E, localSandboxClient as Ea, ProviderSeam as Ec, defaultToolDetectors as Ed, RegistryAnalyzeProjection as Ei, SiblingSandboxExecutorOptions as El, CheckSourceCtx as En, TrajectoryReportFn as Eo, McpToolDescriptor as Er, renderLeaderboardSvg as Es, SupervisorProfile as Et, TraceContext as Eu, gitWorkspace as F, InProcessOnPrompt as Fa, SteerableSandboxArgs as Fc, materializeTreeView as Fd, BenchmarkCell as Fi, createDetachedTurnResumeDriver as Fl, composeCheckSources as Fn, DefinePersona as Fo, SandboxRun as Fr, AnytimeTaskCurve as Fs, PlateauOptions as Ft, LoopSpanNode as Fu, ScopeArgs as G, ObserveOptions as Ga, WorktreeCheckRunner as Gc, AgenticRunResult as Gi, DelegationRunContext as Gl, visibleCheckScore as Gn, ShapeContext as Go, SandboxToolPartState as Gr, AnalystFindingEvent as Gs, createProgressTracker as Gt, exportEvalRuns as Gu, SuperviseOptions as H, harvestCorpus as Ha, PiSeam as Hc, printBenchmarkReport as Hi, DelegationResumeContext as Hl, sandboxCheckRunner as Hn, RunPersonified as Ho, SandboxLineageHandle as Hr, WaterfallReport as Hs, allOf as Ht, buildLoopSpanNodes as Hu, jjWorkspace as I, InProcessPromptCtx as Ia, SteerableSandboxSession as Ic, pendingWaits as Id, BenchmarkConfig as Ii, detachedTurnEvents as Il, defaultExtractCandidate as In, DefinePersonaInput as Io, SandboxRunAbortError as Ir, anytimeReport as Is, ProgressSample as It, OtelAttribute as Iu, WorkerSteerRequest as J, renderReport as Ja, WorktreeProfileMaterializationReceipt as Jc, AgenticTool as Ji, SubmitInput as Jl, CollectedAgentTurn as Jn, LeaderboardBenchScore as Jo, mapSandboxEvent as Jr, CoordinationTools as Js, sampleFromSettled as Jt, DELEGATION_TRACE_MAX_BYTES as Ju, createScope as K, defaultAnalystInstruction as Ka, WorktreeCommandResult as Kc, AgenticSurface as Ki, DelegationTaskQueue as Kl, AgentTurnBackend as Kn, ShapeRegistry as Ko, createSandboxToolPartState as Kr, AnalystRegistry as Ks, noProgressFor as Kt, loopEventToOtelSpan as Ku, localShell as L, InProcessSandboxClientOptions as La, createSteerableSandboxSession as Lc, replaySpawnTree as Ld, BenchmarkLift as Li, formatDetachedSessionRef as Ll, defaultStructuralRolloutPolicy as Ln, LoopShape as Lo, TurnResult as Lr, areaUnderCurve as Ls, ProgressTracker as Lt, OtelExportConfig as Lu, Workspace as M, resolveSecretEnv as Ma, createExecutorRegistry as Mc, InMemoryResultBlobStore as Md, McpEnvironmentOptions as Mi, DriveTurnCapableBox as Ml, VisibleCheck as Mn, WidenLineage as Mo, OpenSandboxRunBeforeStartContext as Mr, defaultAuditorInstruction as Ms, finalizeBestDelivered as Mt, EvalRunsExportConfig as Mu, WorkspaceCommit as N, secretEnvOfMcpServer as Na, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Nc, InMemorySpawnJournal as Nd, createMcpEnvironment as Ni, DriveTurnTick as Nl, canDisplace as Nn, WidenSpec as No, OpenSandboxRunOptions as Nr, AnytimeReport as Ns, AllWorkersStalledOptions as Nt, EvalRunsExportResult as Nu, copyUntrackedIntoClone as O, ResolvedMcpServerLaunch as Oa, RouterToolsSeam as Oc, DeliverableSpec as Od, buildSteerContext as Oi, createSiblingSandboxExecutor as Ol, StructuralRolloutConfig as On, Verify as Oo, StdioMcpServerSpec as Or, AuditIntentInput as Os, CoordinationMcpHandle as Ot, readTraceContextFromEnv as Ou, WorkspaceRun as P, inlineSandboxClient as Pa, SandboxSteeringOptions as Pc, contentAddress as Pd, sanitizeMcpToolSchema as Pi, RunDetachedTurnOptions as Pl, compareCheckOutcomes as Pn, WinnerStrategy as Po, OpenSandboxRunPromptOptions as Pr, AnytimeStrategySummary as Ps, NoProgressForOptions as Pt, INTELLIGENCE_WIRE_VERSION as Pu, workerInboxFile as Q, CorpusFilter as Qa, GitRunner as Qc, ShotPersona as Qi, DelegateCodeConfig as Ql, ChampionPick as Qn, LeaderboardIterationInfo as Qo, SandboxCapabilities as Qr, MakeWorkerAgent as Qs, SupervisorFinalizer as Qt, DelegationTraceSpan as Qu, runInWorkspace as R, inProcessSandboxClient as Ra, Inbox as Rc, BenchmarkReport as Ri, parseDetachedSessionRef as Rl, filterAuthoredAsserts as Rn, Outcome as Ro, openSandboxRun as Rr, bestSoFar as Rs, ProgressTrackerOptions as Rt, OtelExporter as Ru, WorkerEvidenceInput as S, defaultSelectWinner as Sa, CliSeam as Sc, EventBus as Sd, selectValidWinner as Si, settleDetachedCoderTurn as Sl, CheckOutcome as Sn, ScopeWidenGate as So, naiveDriver as Sr, leaderboard as Ss, defaultDelegateBudget as St, ResearchOutputShape as Su, settledWorkerOut as T, LocalSandboxClientOptions as Ta, ExecutorConfig as Tc, WatchTraceOptions as Td, CreateScopeAnalystOptions as Ti, FleetWorkspaceExecutorOptions as Tl, CheckSource as Tn, TrajectoryReport as To, McpSpawnFault as Tr, renderLeaderboardMarkdown as Ts, SupervisorAgentDeps as Tt, UiAuditorDelegationOutput as Tu, supervise as U, Observation as Ua, piExecutor as Uc, runBenchmark as Ui, DelegationResumeDriver as Ul, selectBestIndex as Un, RunPersonifiedOptions as Uo, SessionCapableBox as Ur, WaterfallSpan as Us, allWorkersStalled as Ut, buildRuntimeEventOtelSpans as Uu, createSupervisor as V, HarvestReport as Va, PI_RUNTIME as Vc, Environment as Vi, DelegationRecord as Vl, resolveEntrySymbol as Vn, PersonaExecutors as Vo, SandboxLineage as Vr, WaterfallCollector as Vs, StopRule as Vt, buildLoopOtelSpans as Vu, workerFromBackend as W, ObserveInput as Wa, piSeamKey as Wc, AgenticOptions as Wi, DelegationResumeTick as Wl, structuralRollout as Wn, ShapeBudget as Wo, createSandboxLineage as Wr, createWaterfallCollector as Ws, anyOf as Wt, createOtelExporter as Wu, safeWorkerFile as X, CombinatorShape as Xa, DiffOptions as Xc, CorpusReadbackOptions as Xi, hashIdempotencyInput as Xl, collectAgentTurn as Xn, LeaderboardBenchmarkAdapter as Xo, sumSandboxUsage as Xr, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Xs, FinalizeContext as Xt, DelegationTraceCaps as Xu, readWorkerSteerRequests as Y, AssertTraceDerivedFindings as Ya, CreateWorktreeOptions as Yc, ArtifactHandle as Yi, SubmitOutput as Yl, StreamAgentTurnOptions as Yn, LeaderboardBenchTask as Yo, mapSandboxToolEvent as Yr, CoordinationToolsOptions as Ys, DeliveredOutput as Yt, DELEGATION_TRACE_MAX_SPANS as Yu, supervisorRunDir as Z, Corpus as Za, DiffResult as Zc, RunAgenticOptions as Zi, DelegateCodeArgs as Zl, streamAgentTurn as Zn, LeaderboardFlagSpec as Zo, CriuCapableClient as Zr, DownMessageEvent as Zs, FinalizerSettled as Zt, DelegationTraceCollector as Zu, WorktreeFanoutOptions as _, LoopOptionsForDispatch as _a, DelegateHandlerOptions as _c, ValidationError as _d, fanout as _i, DetachedWinnerSelection as _l, authoredWorker as _n, PipelineStage as _o, ApplyContinuation as _r, LeaderboardRow as _s, effectiveConcurrency as _t, DelegationStatus as _u, SandboxInstance$1 as a, StrategyShotResult as aa, QuestionUrgency as ac, DelegationStore as ad, PromotionVerdict as ai, JsonRpcResponse as al, FileCoordinationLog as an, FanoutOptions as ao, EvolutionReport as ar, CompletionEvidence as as, createInMemoryRunContext as at, DelegateUiAuditArgs as au, NOTE_MAX_CHARS as b, RunAgentRoundsOptions as ba, validateDelegateArgs as bc, BusRecord as bd, panel as bi, coderTaskFromArgs as bl, supervisorInstructions as bn, ScopeAnalyst as bo, SteeringDecision as br, ProfileKeyOf as bs, rollingDispatch as bt, FeedbackRating as bu, VerifierEnvironmentOptions as c, breadthStrategy as ca, createCoordinationTools as cc, InMemoryDelegationStore as cd, trajectoryReport as ci, FeedbackEvent as cl, BudgetReadout as cn, FlatWidenGate as co, discriminatingMeans as cr, completionAuthorizes as cs, WorktreeCliExecutorOptions as ct, DelegateUiAuditRoute as cu, SuperviseSurfaceResult as d, refine as da, createInProcessTransport as dc, BackendTransportError as dd, registerShape as di, eventToSnapshot as dl, spendFromUsageEvents as dn, LoopUntilState as do, selectChampion as dr, stopSentinel as ds, assertModelAllowed as dt, DelegationHistoryArgs as du, Strategy as ea, QuestionDecision as ec, capDelegationTrace as ed, AcquireOptions as ei, WorktreeHandle as el, collectDelivered as en, EqualKArm as eo, EvolutionArchiveNode as er, LeaderboardScenario as es, writeWorkerSteer as et, DelegateFeedbackArgs as eu, SurfaceWorkerConfig as f, runAgentic as fa, createMcpServer as fc, ConfigError as fd, definePersona as fi, CoderDelegate as fl, AuthoredProfile as fn, Panel as fo, AuthorStrategyOptions as fr, AxisScoresOf as fs, ConcurrencyCaps as ft, DelegationHistoryEntry as fu, AuthoredHarness as g, LoopDispatchOptions as ga, DelegateArgs as gc, RuntimeRunStateError as gd, renderCorpusToInstructions as gi, DetachedSessionDelegateOptions as gl, assessAuthoredProfile as gn, Pipeline as go, strategyAuthorContract as gr, LeaderboardOptions as gs, RollingDispatchOptions as gt, DelegationResultPayload as gu, superviseSurface as h, LoopCampaignDispatchOptions as ha, DELEGATE_TOOL_NAME as hc, PlannerError as hd, InMemoryCorpus as hi, DelegateRunCtx as hl, asAuthoredProfile as hn, PanelVerdict as ho, authorStrategy as hr, Leaderboard as hs, DispatchUnit as ht, DelegationProgress as hu, SandboxEvent$1 as i, StrategyResult as ia, QuestionRecord as ic, DelegationStateCorruptError as id, PromotionGateOptions as ii, JsonRpcMessage as il, CoordinationLog as in, Fanout as io, EvolutionGeneration as ir, CompletionAnalyst as is, createFileRunContext as it, DelegateResearchResult as iu, Shell as j, resolveMcpServerLaunch as ja, createExecutor as jc, FileSpawnJournal as jd, McpEndpoint as ji, DetachedTurnResumeDriverOptions as jl, StructuralRolloutResult as jn, WidenDecision as jo, Deliverable as jr, auditIntent as js, driverAgent as jt, EvalRunGeneration as ju, withUntrackedArtifacts as k, envKeyProvider as ka, SandboxSeam as kc, gateOnDeliverable as kd, createScopeAnalyst as ki, DetachedSessionRefParts as kl, StructuralRolloutMessage as kn, VerifySpec as ko, connectStdioMcp as kr, AuditIntentOptions as ks, serveCoordinationMcp as kt, traceContextToEnv as ku, createVerifierEnvironment as l, defineStrategy as la, McpServer as lc, AgentEvalError$1 as ld, builtinShapes as li, FeedbackStore as ll, ReservationTicket as ln, LoopUntil as lo, pickChampion as lr, deterministicCompletion as ls, WorktreePatchArtifact as lt, DelegationError as lu, failuresAnalyst as m, sampleThenRefine as ma, DELEGATE_INPUT_SCHEMA as mc, NotFoundError as md, FileCorpus as mi, CoderReviewer as ml, ProfileRichnessThresholds as mn, PanelSpec as mo, assertStrategyContract as mr, Interval as ms, DispatchStopReason as mt, DelegationProfile as mu, AnalystFinding$1 as n, StrategyCtx as na, QuestionOption as nc, createDelegationTraceCollector as nd, ResolveSandboxClientOptions as ni, createWorktree as nl, runFinalizer as nn, EqualKOnCostOptions as no, EvolutionBandInfo as nr, LeaderboardSpec as ns, InMemoryRunContextOptions as nt, DelegateResearchArgs as nu, computeFindingId$1 as o, SurfaceScore as oa, SettledWorker as oc, FileDelegationStore as od, promotionGate as oi, McpToolDescriptor$1 as ol, PriorCoordination as on, FanoutSynthesis as oo, ReproductionCheck as or, CompletionPolicy as os, PatchDeliverableOptions as ot, DelegateUiAuditConfig as ou, SurfaceWorkerOut as p, sample as pa, DELEGATE_DESCRIPTION as pc, JudgeError as pd, runPersonified as pi, CoderReview as pl, ProfileRichness as pn, PanelJudge as po, AuthoredStrategy as pr, GroupOf as ps, DispatchReport as pt, DelegationHistoryResult as pu, settledToIteration as q, observe as qa, WorktreeHarnessResult as qc, AgenticTask as qi, DelegationTaskQueueOptions as ql, AgentTurnUsage as qn, DefinedLeaderboard as qo, extractLlmCallEvent as qr, CoordinationEvent as qs, plateau as qt, CappedDelegationTrace as qu, CreateSandboxOptions$1 as r, StrategyMessage as ra, QuestionPolicy as rc, DelegationPersistenceError as rd, resolveSandboxClient as ri, removeWorktree as rl, runTree as rn, EqualKVerdict as ro, EvolutionCandidate as rr, defineLeaderboard as rs, RunContext as rt, DelegateResearchConfig as ru, makeFinding$1 as s, adaptiveRefine as sa, WorkerWatchOptions as sc, FileDelegationStoreOptions as sd, equalKOnCost as si, McpTransport as sl, BudgetPool as sn, FanoutWinnerSelector as so, StrategyEvolutionConfig as sr, CompletionVerdict as ss, patchDelivered as st, DelegateUiAuditResult as su, AgentProfile$2 as t, StrategyArtifacts as ta, QuestionLevel as tc, composeLoopTraceEmitters as td, acquireSandbox as ti, captureWorktreeDiff as tl, pickBestDelivered as tn, EqualKOnCost as to, EvolutionAuthor as tr, LeaderboardScore as ts, InMemoryRunContext as tt, DelegateFeedbackResult as tu, SuperviseSurfaceOptions as u, depthStrategy as ua, McpServerOptions as uc, AgentEvalErrorCode as ud, createShapeRegistry as ui, InMemoryFeedbackStore as ul, createBudgetPool as un, LoopUntilSpec as uo, runStrategyEvolution as ur, sentinelCompletion as us, createWorktreeCliExecutor as ut, DelegationFeedbackSnapshot as uu, worktreeFanout as v, loopCampaignDispatch as va, DelegateResult as vc, CoderOutput as vd, flatWidenGate as vi, SettleDetachedCoderTurnOptions as vl, defaultProfileRichnessThresholds as vn, RenderCorpusToInstructions as vo, DumbDriverOptions as vr, PairwiseOptions as vs, freeSlots as vt, DelegationStatusArgs as vu, composeWorkerEvidence as w, runLoop as wa, CliWorktreeSeam as wc, createEventBus as wd, widen as wi, FleetHandle as wl, CheckRunner as wn, TrajectoryNode as wo, MaterializeLocalMcpOptions as wr, renderLeaderboardHtml as ws, DriveHarness as wt, UiAuditLensFilter as wu, VERIFY_TAIL_CHARS as x, RunLoopOptions as xa, BridgeSeam as xc, BusStats as xd, pipeline as xi, detachedSessionDelegate as xl, CheckExecChannel as xn, ScopeAnalyzeInput as xo, dumbDriver as xr, ScoreOf as xs, DelegateOptions as xt, FeedbackRefersTo as xu, EVIDENCE_MAX_CHARS as y, loopDispatch as ya, createDelegateHandler as yc, BusEvent as yd, loopUntil as yi, UiAuditorDelegate as yl, profileRichnessFinding as yn, RenderCorpusToInstructionsOptions as yo, NaiveDriverOptions as yr, PairwiseVerdict as ys, queueOf as yt, DelegationStatusResult as yu, TrajectoryAnalysis as z, HarvestCorpusOptions as za, InboxMessage as zc, BenchmarkStrategySummary as zi, runDetachedTurn as zl, modelAuthoredChecks as zn, Persona as zo, CheckpointCapableBox as zr, plateauLength as zs, ProgressView as zt, OtelSpan as zu };
7567
- //# sourceMappingURL=index-D_OdNLe0.d.ts.map
7706
+ export { safeWorkerFile as $, ObserveOptions as $a, WorktreeCheckRunner as $c, AgenticRunResult as $i, DelegationRunContext as $l, visibleCheckScore as $n, ShapeContext as $o, SandboxToolPartState as $r, AnalystFindingEvent as $s, createProgressTracker as $t, exportEvalRuns as $u, GitWorkspaceOptions as A, defaultSelectWinner as Aa, CliSeam as Ac, EventBus as Ad, selectValidWinner as Ai, settleDetachedCoderTurn as Al, CheckOutcome as An, ScopeWidenGate as Ao, naiveDriver as Ar, leaderboard as As, ResolvedSupervisorProfile as At, ResearchOutputShape as Au, analyzeTrace as B, resolveSecretEnv as Ba, createExecutorRegistry as Bc, InMemoryResultBlobStore as Bd, McpEnvironmentOptions as Bi, DriveTurnCapableBox as Bl, VisibleCheck as Bn, WidenLineage as Bo, OpenSandboxRunBeforeStartContext as Br, defaultAuditorInstruction as Bs, finalizeBestDelivered as Bt, EvalRunsExportConfig as Bu, closingWorkerNote as C, LoopCampaignDispatchOptions as Ca, DELEGATE_TOOL_NAME as Cc, PlannerError as Cd, InMemoryCorpus as Ci, DelegateRunCtx as Cl, asAuthoredProfile as Cn, PanelVerdict as Co, authorStrategy as Cr, Leaderboard as Cs, queueOf as Ct, DelegationProgress as Cu, UntrackedCopyStats as D, loopDispatch as Da, createDelegateHandler as Dc, BusEvent as Dd, loopUntil as Di, UiAuditorDelegate as Dl, profileRichnessFinding as Dn, RenderCorpusToInstructionsOptions as Do, NaiveDriverOptions as Dr, PairwiseVerdict as Ds, delegate as Dt, DelegationStatusResult as Du, CopyOptions as E, loopCampaignDispatch as Ea, DelegateResult as Ec, CoderOutput as Ed, flatWidenGate as Ei, SettleDetachedCoderTurnOptions as El, defaultProfileRichnessThresholds as En, RenderCorpusToInstructions as Eo, DumbDriverOptions as Er, PairwiseOptions as Es, defaultDelegateBudget as Et, DelegationStatusArgs as Eu, gitWorkspace as F, KeyProvider as Fa, RouterSeam as Fc, watchTrace as Fd, assertTraceDerivedFindings as Fi, createFleetWorkspaceExecutor as Fl, RepairStop as Fn, TrajectoryReportOptions as Fo, StdioMcpConnection as Fr, renderPairwiseMarkdown as Fs, supervisorAgent as Ft, createPropagatingTraceEmitter as Fu, supervise as G, InProcessSandboxClientOptions as Ga, createSteerableSandboxSession as Gc, replaySpawnTree as Gd, BenchmarkLift as Gi, formatDetachedSessionRef as Gl, defaultStructuralRolloutPolicy as Gn, LoopShape as Go, TurnResult as Gr, areaUnderCurve as Gs, ProgressTracker as Gt, OtelExportConfig as Gu, SuperviseOptions as H, inlineSandboxClient as Ha, SandboxSteeringOptions as Hc, contentAddress as Hd, sanitizeMcpToolSchema as Hi, RunDetachedTurnOptions as Hl, compareCheckOutcomes as Hn, WinnerStrategy as Ho, OpenSandboxRunPromptOptions as Hr, AnytimeStrategySummary as Hs, NoProgressForOptions as Ht, INTELLIGENCE_WIRE_VERSION as Hu, jjWorkspace as I, ResolvedMcpServerLaunch as Ia, RouterToolsSeam as Ic, DeliverableSpec as Id, buildSteerContext as Ii, createSiblingSandboxExecutor as Il, StructuralRolloutConfig as In, Verify as Io, StdioMcpServerSpec as Ir, AuditIntentInput as Is, CoordinationMcpHandle as It, readTraceContextFromEnv as Iu, createScope as J, HarvestFailure as Ja, createInbox as Jc, BenchmarkTaskRow as Ji, DelegationArgs as Jl, officialChecksFromMeta as Jn, PersonaContext as Jo, ForkCapableBox as Jr, renderAnytimeTable as Js, StopDecision as Jt, RuntimeEventOtelOptions as Ju, workerFromBackend as K, inProcessSandboxClient as Ka, Inbox as Kc, BenchmarkReport as Ki, parseDetachedSessionRef as Kl, filterAuthoredAsserts as Kn, Outcome as Ko, openSandboxRun as Kr, bestSoFar as Ks, ProgressTrackerOptions as Kt, OtelExporter as Ku, localShell as L, envKeyProvider as La, SandboxSeam as Lc, gateOnDeliverable as Ld, createScopeAnalyst as Li, DetachedSessionRefParts as Ll, StructuralRolloutMessage as Ln, VerifySpec as Lo, connectStdioMcp as Lr, AuditIntentOptions as Ls, serveCoordinationMcp as Lt, traceContextToEnv as Lu, Workspace as M, runLoop as Ma, CliWorktreeSeam as Mc, createEventBus as Md, widen as Mi, FleetHandle as Ml, CheckRunner as Mn, TrajectoryNode as Mo, MaterializeLocalMcpOptions as Mr, renderLeaderboardHtml as Ms, SupervisorProfile as Mt, UiAuditLensFilter as Mu, WorkspaceCommit as N, LocalSandboxClientOptions as Na, ExecutorConfig as Nc, WatchTraceOptions as Nd, CreateScopeAnalystOptions as Ni, FleetWorkspaceExecutorOptions as Nl, CheckSource as Nn, TrajectoryReport as No, McpSpawnFault as Nr, renderLeaderboardMarkdown as Ns, assertCoordinationBinding as Nt, UiAuditorDelegationOutput as Nu, copyUntrackedIntoClone as O, RunAgentRoundsOptions as Oa, validateDelegateArgs as Oc, BusRecord as Od, panel as Oi, coderTaskFromArgs as Ol, supervisorInstructions as On, ScopeAnalyst as Oo, SteeringDecision as Or, ProfileKeyOf as Os, CoordinationBinding as Ot, FeedbackRating as Ou, WorkspaceRun as P, localSandboxClient as Pa, ProviderSeam as Pc, defaultToolDetectors as Pd, RegistryAnalyzeProjection as Pi, SiblingSandboxExecutorOptions as Pl, CheckSourceCtx as Pn, TrajectoryReportFn as Po, McpToolDescriptor as Pr, renderLeaderboardSvg as Ps, resolveSupervisorProfile as Pt, TraceContext as Pu, readWorkerSteerRequests as Q, ObserveInput as Qa, piSeamKey as Qc, AgenticOptions as Qi, DelegationResumeTick as Ql, structuralRollout as Qn, ShapeBudget as Qo, createSandboxLineage as Qr, createWaterfallCollector as Qs, anyOf as Qt, createOtelExporter as Qu, runInWorkspace as R, mcpSecretEnvMetadataKey as Ra, cliWorktreeExecutor as Rc, FileResultBlobStore as Rd, registryScopeAnalyst as Ri, DetachedTurn as Rl, StructuralRolloutPolicy as Rn, Widen as Ro, materializeLocalMcp as Rr, IntentAudit as Rs, DriverAgentOptions as Rt, EvalRunEvent as Ru, WorkerEvidenceInput as S, sampleThenRefine as Sa, DELEGATE_INPUT_SCHEMA as Sc, NotFoundError as Sd, FileCorpus as Si, CoderReviewer as Sl, ProfileRichnessThresholds as Sn, PanelSpec as So, assertStrategyContract as Sr, Interval as Ss, freeSlots as St, DelegationProfile as Su, settledWorkerOut as T, LoopOptionsForDispatch as Ta, DelegateHandlerOptions as Tc, ValidationError as Td, fanout as Ti, DetachedWinnerSelection as Tl, authoredWorker as Tn, PipelineStage as To, ApplyContinuation as Tr, LeaderboardRow as Ts, DelegateOptions as Tt, DelegationStatus as Tu, SuperviseRegistry as U, InProcessOnPrompt as Ua, SteerableSandboxArgs as Uc, materializeTreeView as Ud, BenchmarkCell as Ui, createDetachedTurnResumeDriver as Ul, composeCheckSources as Un, DefinePersona as Uo, SandboxRun as Ur, AnytimeTaskCurve as Us, PlateauOptions as Ut, LoopSpanNode as Uu, createSupervisor as V, secretEnvOfMcpServer as Va, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Vc, InMemorySpawnJournal as Vd, createMcpEnvironment as Vi, DriveTurnTick as Vl, canDisplace as Vn, WidenSpec as Vo, OpenSandboxRunOptions as Vr, AnytimeReport as Vs, AllWorkersStalledOptions as Vt, EvalRunsExportResult as Vu, SuperviseRegistryTable as W, InProcessPromptCtx as Wa, SteerableSandboxSession as Wc, pendingWaits as Wd, BenchmarkConfig as Wi, detachedTurnEvents as Wl, defaultExtractCandidate as Wn, DefinePersonaInput as Wo, SandboxRunAbortError as Wr, anytimeReport as Ws, ProgressSample as Wt, OtelAttribute as Wu, WorkerSteerRequest as X, harvestCorpus as Xa, PiSeam as Xc, printBenchmarkReport as Xi, DelegationResumeContext as Xl, sandboxCheckRunner as Xn, RunPersonified as Xo, SandboxLineageHandle as Xr, WaterfallReport as Xs, allOf as Xt, buildLoopSpanNodes as Xu, settledToIteration as Y, HarvestReport as Ya, PI_RUNTIME as Yc, Environment as Yi, DelegationRecord as Yl, resolveEntrySymbol as Yn, PersonaExecutors as Yo, SandboxLineage as Yr, WaterfallCollector as Ys, StopRule as Yt, buildLoopOtelSpans as Yu, legacySupervisorRunDir as Z, Observation as Za, piExecutor as Zc, runBenchmark as Zi, DelegationResumeDriver as Zl, selectBestIndex as Zn, RunPersonifiedOptions as Zo, SessionCapableBox as Zr, WaterfallSpan as Zs, allWorkersStalled as Zt, buildRuntimeEventOtelSpans as Zu, WorktreeFanoutOptions as _, defineStrategy as _a, McpServer as _c, AgentEvalError$1 as _d, builtinShapes as _i, FeedbackStore as _l, ReservationTicket as _n, LoopUntil as _o, pickChampion as _r, deterministicCompletion as _s, DispatchReport as _t, DelegationError as _u, SandboxInstance$1 as a, RunAgenticOptions as aa, DownMessageEvent as ac, DelegationTraceCollector as ad, CriuCapableClient as ai, DiffResult as al, FinalizerSettled as an, Corpus as ao, streamAgentTurn as ar, LeaderboardFlagSpec as as, InMemoryRunContext as at, DelegateCodeArgs as au, NOTE_MAX_CHARS as b, runAgentic as ba, createMcpServer as bc, ConfigError as bd, definePersona as bi, CoderDelegate as bl, AuthoredProfile as bn, Panel as bo, AuthorStrategyOptions as br, AxisScoresOf as bs, RollingDispatchOptions as bt, DelegationHistoryEntry as bu, VerifierEnvironmentOptions as c, Strategy as ca, QuestionDecision as cc, capDelegationTrace as cd, AcquireOptions as ci, WorktreeHandle as cl, collectDelivered as cn, EqualKArm as co, EvolutionArchiveNode as cr, LeaderboardScenario as cs, createFileRunContext as ct, DelegateFeedbackArgs as cu, SuperviseSurfaceResult as d, StrategyMessage as da, QuestionPolicy as dc, DelegationPersistenceError as dd, resolveSandboxClient as di, removeWorktree as dl, runTree as dn, EqualKVerdict as do, EvolutionCandidate as dr, defineLeaderboard as ds, patchDelivered as dt, DelegateResearchConfig as du, AgenticSurface as ea, AnalystRegistry as ec, loopEventToOtelSpan as ed, createSandboxToolPartState as ei, WorktreeCommandResult as el, noProgressFor as en, defaultAnalystInstruction as eo, AgentTurnBackend as er, ShapeRegistry as es, supervisorRunDir as et, DelegationTaskQueue as eu, SurfaceWorkerConfig as f, StrategyResult as fa, QuestionRecord as fc, DelegationStateCorruptError as fd, PromotionGateOptions as fi, JsonRpcMessage as fl, CoordinationLog as fn, Fanout as fo, EvolutionGeneration as fr, CompletionAnalyst as fs, WorktreeCliExecutorOptions as ft, DelegateResearchResult as fu, AuthoredHarness as g, breadthStrategy as ga, createCoordinationTools as gc, InMemoryDelegationStore as gd, trajectoryReport as gi, FeedbackEvent as gl, BudgetReadout as gn, FlatWidenGate as go, discriminatingMeans as gr, completionAuthorizes as gs, ConcurrencyCaps as gt, DelegateUiAuditRoute as gu, superviseSurface as h, adaptiveRefine as ha, WorkerWatchOptions as hc, FileDelegationStoreOptions as hd, equalKOnCost as hi, McpTransport as hl, BudgetPool as hn, FanoutWinnerSelector as ho, StrategyEvolutionConfig as hr, CompletionVerdict as hs, assertModelAllowed as ht, DelegateUiAuditResult as hu, SandboxEvent$1 as i, CorpusReadbackOptions as ia, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as ic, DelegationTraceCaps as id, sumSandboxUsage as ii, DiffOptions as il, FinalizeContext as in, CombinatorShape as io, collectAgentTurn as ir, LeaderboardBenchmarkAdapter as is, writeWorkerSteer as it, hashIdempotencyInput as iu, Shell as j, runAgentRounds as ja, CliWorktreeBridgeSeam as jc, PublishOptions as jd, verify as ji, DelegationExecutor as jl, CheckRunContext as jn, SteerContext as jo, LocalMcpMaterialization as jr, pairwiseSignificance as js, SupervisorAgentDeps as jt, ResearchSource as ju, withUntrackedArtifacts as k, RunLoopOptions as ka, BridgeSeam as kc, BusStats as kd, pipeline as ki, detachedSessionDelegate as kl, CheckExecChannel as kn, ScopeAnalyzeInput as ko, dumbDriver as kr, ScoreOf as ks, DriveHarness as kt, FeedbackRefersTo as ku, createVerifierEnvironment as l, StrategyArtifacts as la, QuestionLevel as lc, composeLoopTraceEmitters as ld, acquireSandbox as li, captureWorktreeDiff as ll, pickBestDelivered as ln, EqualKOnCost as lo, EvolutionAuthor as lr, LeaderboardScore as ls, createInMemoryRunContext as lt, DelegateFeedbackResult as lu, failuresAnalyst as m, SurfaceScore as ma, SettledWorker as mc, FileDelegationStore as md, promotionGate as mi, McpToolDescriptor$1 as ml, PriorCoordination as mn, FanoutSynthesis as mo, ReproductionCheck as mr, CompletionPolicy as ms, createWorktreeCliExecutor as mt, DelegateUiAuditConfig as mu, AnalystFinding$1 as n, AgenticTool as na, CoordinationTools as nc, DELEGATION_TRACE_MAX_BYTES as nd, mapSandboxEvent as ni, WorktreeProfileMaterializationReceipt as nl, sampleFromSettled as nn, renderReport as no, CollectedAgentTurn as nr, LeaderboardBenchScore as ns, workerInboxFile as nt, SubmitInput as nu, computeFindingId$1 as o, ShotPersona as oa, MakeWorkerAgent as oc, DelegationTraceSpan as od, SandboxCapabilities as oi, GitRunner as ol, SupervisorFinalizer as on, CorpusFilter as oo, ChampionPick as or, LeaderboardIterationInfo as os, InMemoryRunContextOptions as ot, DelegateCodeConfig as ou, SurfaceWorkerOut as p, StrategyShotResult as pa, QuestionUrgency as pc, DelegationStore as pd, PromotionVerdict as pi, JsonRpcResponse as pl, FileCoordinationLog as pn, FanoutOptions as po, EvolutionReport as pr, CompletionEvidence as ps, WorktreePatchArtifact as pt, DelegateUiAuditArgs as pu, ScopeArgs as q, HarvestCorpusOptions as qa, InboxMessage as qc, BenchmarkStrategySummary as qi, runDetachedTurn as ql, modelAuthoredChecks as qn, Persona as qo, CheckpointCapableBox as qr, plateauLength as qs, ProgressView as qt, OtelSpan as qu, CreateSandboxOptions$1 as r, ArtifactHandle as ra, CoordinationToolsOptions as rc, DELEGATION_TRACE_MAX_SPANS as rd, mapSandboxToolEvent as ri, CreateWorktreeOptions as rl, DeliveredOutput as rn, AssertTraceDerivedFindings as ro, StreamAgentTurnOptions as rr, LeaderboardBenchTask as rs, workerInboxFileFromEventDir as rt, SubmitOutput as ru, makeFinding$1 as s, ShotSpec as sa, Question as sc, buildDelegationTraceSpans as sd, probeSandboxCapabilities as si, RemoveWorktreeOptions as sl, bestDelivered as sn, CorpusRecord as so, ChampionPolicy as sr, LeaderboardRunContext as ss, RunContext as st, DelegateCodeResult as su, AgentProfile$2 as t, AgenticTask as ta, CoordinationEvent as tc, CappedDelegationTrace as td, extractLlmCallEvent as ti, WorktreeHarnessResult as tl, plateau as tn, observe as to, AgentTurnUsage as tr, DefinedLeaderboard as ts, supervisorRunsRoot as tt, DelegationTaskQueueOptions as tu, SuperviseSurfaceOptions as u, StrategyCtx as ua, QuestionOption as uc, createDelegationTraceCollector as ud, ResolveSandboxClientOptions as ui, createWorktree as ul, runFinalizer as un, EqualKOnCostOptions as uo, EvolutionBandInfo as ur, LeaderboardSpec as us, PatchDeliverableOptions as ut, DelegateResearchArgs as uu, worktreeFanout as v, depthStrategy as va, McpServerOptions as vc, AgentEvalErrorCode as vd, createShapeRegistry as vi, InMemoryFeedbackStore as vl, createBudgetPool as vn, LoopUntilSpec as vo, runStrategyEvolution as vr, sentinelCompletion as vs, DispatchStopReason as vt, DelegationFeedbackSnapshot as vu, composeWorkerEvidence as w, LoopDispatchOptions as wa, DelegateArgs as wc, RuntimeRunStateError as wd, renderCorpusToInstructions as wi, DetachedSessionDelegateOptions as wl, assessAuthoredProfile as wn, Pipeline as wo, strategyAuthorContract as wr, LeaderboardOptions as ws, rollingDispatch as wt, DelegationResultPayload as wu, VERIFY_TAIL_CHARS as x, sample as xa, DELEGATE_DESCRIPTION as xc, JudgeError as xd, runPersonified as xi, CoderReview as xl, ProfileRichness as xn, PanelJudge as xo, AuthoredStrategy as xr, GroupOf as xs, effectiveConcurrency as xt, DelegationHistoryResult as xu, EVIDENCE_MAX_CHARS as y, refine as ya, createInProcessTransport as yc, BackendTransportError as yd, registerShape as yi, eventToSnapshot as yl, spendFromUsageEvents as yn, LoopUntilState as yo, selectChampion as yr, stopSentinel as ys, DispatchUnit as yt, DelegationHistoryArgs as yu, TrajectoryAnalysis as z, resolveMcpServerLaunch as za, createExecutor as zc, FileSpawnJournal as zd, McpEndpoint as zi, DetachedTurnResumeDriverOptions as zl, StructuralRolloutResult as zn, WidenDecision as zo, Deliverable as zr, auditIntent as zs, driverAgent as zt, EvalRunGeneration as zu };
7707
+ //# sourceMappingURL=index-B0sAaAO_.d.ts.map
@@ -1,5 +1,5 @@
1
- import { R as Budget, ut as SupervisedResult } from "./environment-provider-CTEMEP9u.js";
2
- import { Et as SupervisorProfile, H as SuperviseOptions, Od as DeliverableSpec, Tc as ExecutorConfig } from "./index-D_OdNLe0.js";
1
+ import { R as Budget, dt as SupervisedResult } from "./environment-provider-Cl97VeCv.js";
2
+ import { H as SuperviseOptions, Id as DeliverableSpec, Mt as SupervisorProfile, Nc as ExecutorConfig } from "./index-B0sAaAO_.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-C-Zn0VrN.d.ts.map
140
+ //# sourceMappingURL=index-B6glsqBp.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 { An as StructuralRolloutPolicy, fd as ConfigError } from "./index-D_OdNLe0.js";
5
+ import { Rn as StructuralRolloutPolicy, bd as ConfigError } from "./index-B0sAaAO_.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-C-Zn0VrN.js";
11
- import "./loop-runner-bin-BUm83y1g.js";
10
+ import "./index-B6glsqBp.js";
11
+ import "./loop-runner-bin-CHnWCyiB.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-WODlt7iz.d.ts.map
544
+ //# sourceMappingURL=index-C9vg2af7.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 { Au as EvalRunEvent, Bu as RuntimeEventOtelOptions, Fu as LoopSpanNode, Gc as WorktreeCheckRunner, Gu as exportEvalRuns, Hu as buildLoopSpanNodes, Iu as OtelAttribute, Ks as AnalystRegistry, Ku as loopEventToOtelSpan, Lu as OtelExportConfig, Mu as EvalRunsExportConfig, Nu as EvalRunsExportResult, Pu as INTELLIGENCE_WIRE_VERSION, Qt as SupervisorFinalizer, Ru as OtelExporter, Uu as buildRuntimeEventOtelSpans, Vu as buildLoopOtelSpans, Wu as createOtelExporter, Xt as FinalizeContext, _d as ValidationError, dd as BackendTransportError, fd as ConfigError, gd as RuntimeRunStateError, hd as PlannerError, ju as EvalRunGeneration, ld as AgentEvalError, md as NotFoundError, pd as JudgeError, qs as CoordinationEvent, ud as AgentEvalErrorCode, zu as OtelSpan } from "./index-D_OdNLe0.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-Cl97VeCv.js";
5
+ import { $c as WorktreeCheckRunner, $u as exportEvalRuns, Bu as EvalRunsExportConfig, Cd as PlannerError, Gu as OtelExportConfig, Hu as INTELLIGENCE_WIRE_VERSION, Ju as RuntimeEventOtelOptions, Ku as OtelExporter, Qu as createOtelExporter, Ru as EvalRunEvent, Sd as NotFoundError, Td as ValidationError, Uu as LoopSpanNode, Vu as EvalRunsExportResult, Wu as OtelAttribute, Xu as buildLoopSpanNodes, Yu as buildLoopOtelSpans, Zu as buildRuntimeEventOtelSpans, _d as AgentEvalError, bd as ConfigError, ec as AnalystRegistry, ed as loopEventToOtelSpan, in as FinalizeContext, on as SupervisorFinalizer, qu as OtelSpan, tc as CoordinationEvent, vd as AgentEvalErrorCode, wd as RuntimeRunStateError, xd as JudgeError, yd as BackendTransportError, zu as EvalRunGeneration } from "./index-B0sAaAO_.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-WODlt7iz.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-C9vg2af7.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-C-Zn0VrN.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-BUm83y1g.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-B6glsqBp.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-CHnWCyiB.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-B4hOPKJV.js";
9
+ import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-D5GbH3cy.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-BCjD-g_C.js";
11
11
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-C7iJOWm3.js";
12
- import { Nt as McpSpawnFault, Pt as connectStdioMcp } from "./runtime-DSkMJb_X.js";
12
+ import { Ft as McpSpawnFault, It as connectStdioMcp } from "./runtime-6sL2vhTQ.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-In_1LsHg.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-zE7DyGop.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-DF98VMqr.js";
17
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-g5FS2twc.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-Cl97VeCv.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-BCjD-g_C.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-Cdc_tRNR.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";