@tangle-network/agent-runtime 0.111.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.
- package/dist/{activation-CsuHCZVN.js → activation-Cdc_tRNR.js} +2 -2
- package/dist/{activation-CsuHCZVN.js.map → activation-Cdc_tRNR.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{environment-provider-CTEMEP9u.d.ts → environment-provider-Cl97VeCv.d.ts} +43 -2
- package/dist/environment-provider.d.ts +1 -1
- package/dist/{improvement-cycle-ryAyCLKN.js → improvement-cycle-BCjD-g_C.js} +3 -3
- package/dist/{improvement-cycle-ryAyCLKN.js.map → improvement-cycle-BCjD-g_C.js.map} +1 -1
- package/dist/{index-DlLPNELY.d.ts → index-B0sAaAO_.d.ts} +144 -17
- package/dist/{index-BmI2uxy5.d.ts → index-B6glsqBp.d.ts} +3 -3
- package/dist/{index-sLuBoGud.d.ts → index-C9vg2af7.d.ts} +4 -4
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +1 -1
- package/dist/intelligence.js +2 -2
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +5 -5
- package/dist/{knowledge-DBNAteaC.js → knowledge-In_1LsHg.js} +3 -3
- package/dist/{knowledge-DBNAteaC.js.map → knowledge-In_1LsHg.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-vRo5TZt_.d.ts → loop-runner-bin-CHnWCyiB.d.ts} +3 -3
- package/dist/{loop-runner-bin-BLOckrqT.js → loop-runner-bin-DF98VMqr.js} +3 -3
- package/dist/{loop-runner-bin-BLOckrqT.js.map → loop-runner-bin-DF98VMqr.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-st-hERvA.js → openai-tools-g5FS2twc.js} +2 -2
- package/dist/{openai-tools-st-hERvA.js.map → openai-tools-g5FS2twc.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{runtime-fwz-erxT.js → runtime-6sL2vhTQ.js} +4 -4
- package/dist/{runtime-fwz-erxT.js.map → runtime-6sL2vhTQ.js.map} +1 -1
- package/dist/{structural-rollout-CgnNy7_4.js → structural-rollout-D5GbH3cy.js} +2 -2
- package/dist/{structural-rollout-CgnNy7_4.js.map → structural-rollout-D5GbH3cy.js.map} +1 -1
- package/dist/{supervise-CeZtA1wu.js → supervise-6jSTe0kO.js} +322 -30
- package/dist/supervise-6jSTe0kO.js.map +1 -0
- package/dist/{supervisor-ByCPHcp9.js → supervisor-B4hOPKJV.js} +48 -6
- package/dist/{supervisor-ByCPHcp9.js.map → supervisor-B4hOPKJV.js.map} +1 -1
- package/dist/testing.js +8 -8
- package/package.json +1 -1
- 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 {
|
|
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
|
-
/**
|
|
6633
|
-
*
|
|
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
|
|
6639
|
-
|
|
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>;
|
|
@@ -7170,6 +7265,27 @@ declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unkno
|
|
|
7170
7265
|
* deliverable check that makes "settled ⟺ delivered" true — the guard against "ran but didn't
|
|
7171
7266
|
* deliver"). The ONE place a backend becomes a spawnable worker. */
|
|
7172
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
|
+
}
|
|
7173
7289
|
interface SuperviseOptions {
|
|
7174
7290
|
/** The conserved compute pool for the whole run. */
|
|
7175
7291
|
readonly budget: Budget;
|
|
@@ -7177,8 +7293,16 @@ interface SuperviseOptions {
|
|
|
7177
7293
|
readonly backend?: ExecutorConfig;
|
|
7178
7294
|
/** The independent completion check for backend-derived workers and direct supervisor
|
|
7179
7295
|
* submissions. Strongly recommended: without it the supervisor cannot submit its own work and
|
|
7180
|
-
* backend-derived workers fall back to their own validity signal.
|
|
7181
|
-
|
|
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;
|
|
7182
7306
|
/** Override the worker seam directly (tests / advanced) instead of deriving it from `backend`. */
|
|
7183
7307
|
readonly makeWorkerAgent?: MakeWorkerAgent;
|
|
7184
7308
|
/** The supervisor's router substrate (`harness` null). The profile's model wins. */
|
|
@@ -7204,8 +7328,9 @@ interface SuperviseOptions {
|
|
|
7204
7328
|
* sandboxes a real fleet runs at once). Omit/`<= 0` = no cap (the pool stays the only fence). */
|
|
7205
7329
|
readonly maxLiveWorkers?: number;
|
|
7206
7330
|
/** Analyst lenses available to the driver. Required for `analyzeOnSettle`. Unset → status quo
|
|
7207
|
-
* (the driver receives settled worker outputs, no analyst findings).
|
|
7208
|
-
|
|
7331
|
+
* (the driver receives settled worker outputs, no analyst findings). A `string` names an entry in
|
|
7332
|
+
* `registry.analysts`. */
|
|
7333
|
+
readonly analysts?: AnalystRegistry | string;
|
|
7209
7334
|
/** Analyst kind ids run AUTOMATICALLY when a worker settles `done` — each re-enters as a `finding`
|
|
7210
7335
|
* the driver pulls (`await_event`) and composes its next steer from. The self-improving UP-leg,
|
|
7211
7336
|
* threaded to the driver at this level (propagate to sub-drivers via a recursive `makeWorkerAgent`).
|
|
@@ -7250,8 +7375,9 @@ interface SuperviseOptions {
|
|
|
7250
7375
|
readonly journal?: SpawnJournal;
|
|
7251
7376
|
/** Predicate registry for `poll` wait-states (`Scope.wait`). A `poll` names its predicate so the
|
|
7252
7377
|
* wait survives a restart; this is what the name resolves against. Unset ⇒ `poll` waits are
|
|
7253
|
-
* refused `unknown-probe` and `timer` waits still work.
|
|
7254
|
-
|
|
7378
|
+
* refused `unknown-probe` and `timer` waits still work. A `string` names an entry in
|
|
7379
|
+
* `registry.probes`. */
|
|
7380
|
+
readonly probes?: WaitProbeRegistry | string;
|
|
7255
7381
|
/**
|
|
7256
7382
|
* PROGRESS-derived stop rule (router-brained supervisor). Ends a run that has stopped LEARNING
|
|
7257
7383
|
* before it exhausts a ceiling — the answer to "a run should end because it is done or stuck,
|
|
@@ -7284,8 +7410,9 @@ interface SuperviseOptions {
|
|
|
7284
7410
|
* highest-scoring DELIVERED child (the exact behavior every existing caller had). Alternatives:
|
|
7285
7411
|
* `collectDelivered` (every verified distinct output with provenance — a Pareto set / recorded
|
|
7286
7412
|
* disagreement) or a custom `SupervisorFinalizer`. Whatever the finalizer, it operates on
|
|
7287
|
-
* structurally DELIVERED outputs only — an undelivered or invalid child stays ineligible.
|
|
7288
|
-
|
|
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;
|
|
7289
7416
|
}
|
|
7290
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. */
|
|
7291
7418
|
declare function supervise(profile: SupervisorProfile, task: unknown, opts: SuperviseOptions): Promise<SupervisedResult<unknown>>;
|
|
@@ -7576,5 +7703,5 @@ interface VerifierEnvironmentOptions {
|
|
|
7576
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. */
|
|
7577
7704
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
7578
7705
|
//#endregion
|
|
7579
|
-
export { supervisorRunsRoot as $, Corpus as $a, DiffResult as $c, RunAgenticOptions as $i, DelegateCodeArgs as $l, streamAgentTurn as $n, LeaderboardFlagSpec as $o, CriuCapableClient as $r, DownMessageEvent as $s, FinalizerSettled as $t, DelegationTraceCollector as $u, GitWorkspaceOptions as A, ResolvedMcpServerLaunch as Aa, RouterToolsSeam as Ac, DeliverableSpec as Ad, buildSteerContext as Ai, createSiblingSandboxExecutor as Al, StructuralRolloutConfig as An, Verify as Ao, StdioMcpServerSpec as Ar, AuditIntentInput as As, CoordinationMcpHandle as At, readTraceContextFromEnv as Au, analyzeTrace as B, inProcessSandboxClient as Ba, Inbox as Bc, BenchmarkReport as Bi, parseDetachedSessionRef as Bl, filterAuthoredAsserts as Bn, Outcome as Bo, openSandboxRun as Br, bestSoFar as Bs, ProgressTrackerOptions as Bt, OtelExporter as Bu, closingWorkerNote as C, RunLoopOptions as Ca, BridgeSeam as Cc, BusStats as Cd, pipeline as Ci, detachedSessionDelegate as Cl, CheckExecChannel as Cn, ScopeAnalyzeInput as Co, dumbDriver as Cr, ScoreOf as Cs, DelegateOptions as Ct, FeedbackRefersTo as Cu, UntrackedCopyStats as D, LocalSandboxClientOptions as Da, ExecutorConfig as Dc, WatchTraceOptions as Dd, CreateScopeAnalystOptions as Di, FleetWorkspaceExecutorOptions as Dl, CheckSource as Dn, TrajectoryReport as Do, McpSpawnFault as Dr, renderLeaderboardMarkdown as Ds, SupervisorAgentDeps as Dt, UiAuditorDelegationOutput as Du, CopyOptions as E, runLoop as Ea, CliWorktreeSeam as Ec, createEventBus as Ed, widen as Ei, FleetHandle as El, CheckRunner as En, TrajectoryNode as Eo, MaterializeLocalMcpOptions as Er, renderLeaderboardHtml as Es, DriveHarness as Et, UiAuditLensFilter as Eu, gitWorkspace as F, secretEnvOfMcpServer as Fa, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Fc, InMemorySpawnJournal as Fd, createMcpEnvironment as Fi, DriveTurnTick as Fl, canDisplace as Fn, WidenSpec as Fo, OpenSandboxRunOptions as Fr, AnytimeReport as Fs, AllWorkersStalledOptions as Ft, EvalRunsExportResult as Fu, ScopeArgs as G, Observation as Ga, piExecutor as Gc, runBenchmark as Gi, DelegationResumeDriver as Gl, selectBestIndex as Gn, RunPersonifiedOptions as Go, SessionCapableBox as Gr, WaterfallSpan as Gs, allWorkersStalled as Gt, buildRuntimeEventOtelSpans as Gu, SuperviseOptions as H, HarvestFailure as Ha, createInbox as Hc, BenchmarkTaskRow as Hi, DelegationArgs as Hl, officialChecksFromMeta as Hn, PersonaContext as Ho, ForkCapableBox as Hr, renderAnytimeTable as Hs, StopDecision as Ht, RuntimeEventOtelOptions as Hu, jjWorkspace as I, inlineSandboxClient as Ia, SandboxSteeringOptions as Ic, contentAddress as Id, sanitizeMcpToolSchema as Ii, RunDetachedTurnOptions as Il, compareCheckOutcomes as In, WinnerStrategy as Io, OpenSandboxRunPromptOptions as Ir, AnytimeStrategySummary as Is, NoProgressForOptions as It, INTELLIGENCE_WIRE_VERSION as Iu, WorkerSteerRequest as J, defaultAnalystInstruction as Ja, WorktreeCommandResult as Jc, AgenticSurface as Ji, DelegationTaskQueue as Jl, AgentTurnBackend as Jn, ShapeRegistry as Jo, createSandboxToolPartState as Jr, AnalystRegistry as Js, noProgressFor as Jt, loopEventToOtelSpan as Ju, createScope as K, ObserveInput as Ka, piSeamKey as Kc, AgenticOptions as Ki, DelegationResumeTick as Kl, structuralRollout as Kn, ShapeBudget as Ko, createSandboxLineage as Kr, createWaterfallCollector as Ks, anyOf as Kt, createOtelExporter as Ku, localShell as L, InProcessOnPrompt as La, SteerableSandboxArgs as Lc, materializeTreeView as Ld, BenchmarkCell as Li, createDetachedTurnResumeDriver as Ll, composeCheckSources as Ln, DefinePersona as Lo, SandboxRun as Lr, AnytimeTaskCurve as Ls, PlateauOptions as Lt, LoopSpanNode as Lu, Workspace as M, mcpSecretEnvMetadataKey as Ma, cliWorktreeExecutor as Mc, FileResultBlobStore as Md, registryScopeAnalyst as Mi, DetachedTurn as Ml, StructuralRolloutPolicy as Mn, Widen as Mo, materializeLocalMcp as Mr, IntentAudit as Ms, DriverAgentOptions as Mt, EvalRunEvent as Mu, WorkspaceCommit as N, resolveMcpServerLaunch as Na, createExecutor as Nc, FileSpawnJournal as Nd, McpEndpoint as Ni, DetachedTurnResumeDriverOptions as Nl, StructuralRolloutResult as Nn, WidenDecision as No, Deliverable as Nr, auditIntent as Ns, driverAgent as Nt, EvalRunGeneration as Nu, copyUntrackedIntoClone as O, localSandboxClient as Oa, ProviderSeam as Oc, defaultToolDetectors as Od, RegistryAnalyzeProjection as Oi, SiblingSandboxExecutorOptions as Ol, CheckSourceCtx as On, TrajectoryReportFn as Oo, McpToolDescriptor as Or, renderLeaderboardSvg as Os, SupervisorProfile as Ot, TraceContext as Ou, WorkspaceRun as P, resolveSecretEnv as Pa, createExecutorRegistry as Pc, InMemoryResultBlobStore as Pd, McpEnvironmentOptions as Pi, DriveTurnCapableBox as Pl, VisibleCheck as Pn, WidenLineage as Po, OpenSandboxRunBeforeStartContext as Pr, defaultAuditorInstruction as Ps, finalizeBestDelivered as Pt, EvalRunsExportConfig as Pu, supervisorRunDir as Q, CombinatorShape as Qa, DiffOptions as Qc, CorpusReadbackOptions as Qi, hashIdempotencyInput as Ql, collectAgentTurn as Qn, LeaderboardBenchmarkAdapter as Qo, sumSandboxUsage as Qr, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Qs, FinalizeContext as Qt, DelegationTraceCaps as Qu, runInWorkspace as R, InProcessPromptCtx as Ra, SteerableSandboxSession as Rc, pendingWaits as Rd, BenchmarkConfig as Ri, detachedTurnEvents as Rl, defaultExtractCandidate as Rn, DefinePersonaInput as Ro, SandboxRunAbortError as Rr, anytimeReport as Rs, ProgressSample as Rt, OtelAttribute as Ru, WorkerEvidenceInput as S, RunAgentRoundsOptions as Sa, validateDelegateArgs as Sc, BusRecord as Sd, panel as Si, coderTaskFromArgs as Sl, supervisorInstructions as Sn, ScopeAnalyst as So, SteeringDecision as Sr, ProfileKeyOf as Ss, rollingDispatch as St, FeedbackRating as Su, settledWorkerOut as T, runAgentRounds as Ta, CliWorktreeBridgeSeam as Tc, PublishOptions as Td, verify as Ti, DelegationExecutor as Tl, CheckRunContext as Tn, SteerContext as To, LocalMcpMaterialization as Tr, pairwiseSignificance as Ts, delegate as Tt, ResearchSource as Tu, supervise as U, HarvestReport as Ua, PI_RUNTIME as Uc, Environment as Ui, DelegationRecord as Ul, resolveEntrySymbol as Un, PersonaExecutors as Uo, SandboxLineage as Ur, WaterfallCollector as Us, StopRule as Ut, buildLoopOtelSpans as Uu, createSupervisor as V, HarvestCorpusOptions as Va, InboxMessage as Vc, BenchmarkStrategySummary as Vi, runDetachedTurn as Vl, modelAuthoredChecks as Vn, Persona as Vo, CheckpointCapableBox as Vr, plateauLength as Vs, ProgressView as Vt, OtelSpan as Vu, workerFromBackend as W, harvestCorpus as Wa, PiSeam as Wc, printBenchmarkReport as Wi, DelegationResumeContext as Wl, sandboxCheckRunner as Wn, RunPersonified as Wo, SandboxLineageHandle as Wr, WaterfallReport as Ws, allOf as Wt, buildLoopSpanNodes as Wu, readWorkerSteerRequests as X, renderReport as Xa, WorktreeProfileMaterializationReceipt as Xc, AgenticTool as Xi, SubmitInput as Xl, CollectedAgentTurn as Xn, LeaderboardBenchScore as Xo, mapSandboxEvent as Xr, CoordinationTools as Xs, sampleFromSettled as Xt, DELEGATION_TRACE_MAX_BYTES as Xu, legacySupervisorRunDir as Y, observe as Ya, WorktreeHarnessResult as Yc, AgenticTask as Yi, DelegationTaskQueueOptions as Yl, AgentTurnUsage as Yn, DefinedLeaderboard as Yo, extractLlmCallEvent as Yr, CoordinationEvent as Ys, plateau as Yt, CappedDelegationTrace as Yu, safeWorkerFile as Z, AssertTraceDerivedFindings as Za, CreateWorktreeOptions as Zc, ArtifactHandle as Zi, SubmitOutput as Zl, StreamAgentTurnOptions as Zn, LeaderboardBenchTask as Zo, mapSandboxToolEvent as Zr, CoordinationToolsOptions as Zs, DeliveredOutput as Zt, DELEGATION_TRACE_MAX_SPANS as Zu, WorktreeFanoutOptions as _, LoopCampaignDispatchOptions as _a, DELEGATE_TOOL_NAME as _c, PlannerError as _d, InMemoryCorpus as _i, DelegateRunCtx as _l, asAuthoredProfile as _n, PanelVerdict as _o, authorStrategy as _r, Leaderboard as _s, DispatchUnit as _t, DelegationProgress as _u, SandboxInstance$1 as a, StrategyMessage as aa, QuestionPolicy as ac, DelegationPersistenceError as ad, resolveSandboxClient as ai, removeWorktree as al, runTree as an, EqualKVerdict as ao, EvolutionCandidate as ar, defineLeaderboard as as, RunContext as at, DelegateResearchConfig as au, NOTE_MAX_CHARS as b, loopCampaignDispatch as ba, DelegateResult as bc, CoderOutput as bd, flatWidenGate as bi, SettleDetachedCoderTurnOptions as bl, defaultProfileRichnessThresholds as bn, RenderCorpusToInstructions as bo, DumbDriverOptions as br, PairwiseOptions as bs, freeSlots as bt, DelegationStatusArgs as bu, VerifierEnvironmentOptions as c, SurfaceScore as ca, SettledWorker as cc, FileDelegationStore as cd, promotionGate as ci, McpToolDescriptor$1 as cl, PriorCoordination as cn, FanoutSynthesis as co, ReproductionCheck as cr, CompletionPolicy as cs, PatchDeliverableOptions as ct, DelegateUiAuditConfig as cu, SuperviseSurfaceResult as d, defineStrategy as da, McpServer as dc, AgentEvalError$1 as dd, builtinShapes as di, FeedbackStore as dl, ReservationTicket as dn, LoopUntil as do, pickChampion as dr, deterministicCompletion as ds, WorktreePatchArtifact as dt, DelegationError as du, ShotPersona as ea, MakeWorkerAgent as ec, DelegationTraceSpan as ed, SandboxCapabilities as ei, GitRunner as el, SupervisorFinalizer as en, CorpusFilter as eo, ChampionPick as er, LeaderboardIterationInfo as es, workerInboxFile as et, DelegateCodeConfig as eu, SurfaceWorkerConfig as f, depthStrategy as fa, McpServerOptions as fc, AgentEvalErrorCode as fd, createShapeRegistry as fi, InMemoryFeedbackStore as fl, createBudgetPool as fn, LoopUntilSpec as fo, runStrategyEvolution as fr, sentinelCompletion as fs, createWorktreeCliExecutor as ft, DelegationFeedbackSnapshot as fu, AuthoredHarness as g, sampleThenRefine as ga, DELEGATE_INPUT_SCHEMA as gc, NotFoundError as gd, FileCorpus as gi, CoderReviewer as gl, ProfileRichnessThresholds as gn, PanelSpec as go, assertStrategyContract as gr, Interval as gs, DispatchStopReason as gt, DelegationProfile as gu, superviseSurface as h, sample as ha, DELEGATE_DESCRIPTION as hc, JudgeError as hd, runPersonified as hi, CoderReview as hl, ProfileRichness as hn, PanelJudge as ho, AuthoredStrategy as hr, GroupOf as hs, DispatchReport as ht, DelegationHistoryResult as hu, SandboxEvent$1 as i, StrategyCtx as ia, QuestionOption as ic, createDelegationTraceCollector as id, ResolveSandboxClientOptions as ii, createWorktree as il, runFinalizer as in, EqualKOnCostOptions as io, EvolutionBandInfo as ir, LeaderboardSpec as is, InMemoryRunContextOptions as it, DelegateResearchArgs as iu, Shell as j, envKeyProvider as ja, SandboxSeam as jc, gateOnDeliverable as jd, createScopeAnalyst as ji, DetachedSessionRefParts as jl, StructuralRolloutMessage as jn, VerifySpec as jo, connectStdioMcp as jr, AuditIntentOptions as js, serveCoordinationMcp as jt, traceContextToEnv as ju, withUntrackedArtifacts as k, KeyProvider as ka, RouterSeam as kc, watchTrace as kd, assertTraceDerivedFindings as ki, createFleetWorkspaceExecutor as kl, RepairStop as kn, TrajectoryReportOptions as ko, StdioMcpConnection as kr, renderPairwiseMarkdown as ks, supervisorAgent as kt, createPropagatingTraceEmitter as ku, createVerifierEnvironment as l, adaptiveRefine as la, WorkerWatchOptions as lc, FileDelegationStoreOptions as ld, equalKOnCost as li, McpTransport as ll, BudgetPool as ln, FanoutWinnerSelector as lo, StrategyEvolutionConfig as lr, CompletionVerdict as ls, patchDelivered as lt, DelegateUiAuditResult as lu, failuresAnalyst as m, runAgentic as ma, createMcpServer as mc, ConfigError as md, definePersona as mi, CoderDelegate as ml, AuthoredProfile as mn, Panel as mo, AuthorStrategyOptions as mr, AxisScoresOf as ms, ConcurrencyCaps as mt, DelegationHistoryEntry as mu, AnalystFinding$1 as n, Strategy as na, QuestionDecision as nc, capDelegationTrace as nd, AcquireOptions as ni, WorktreeHandle as nl, collectDelivered as nn, EqualKArm as no, EvolutionArchiveNode as nr, LeaderboardScenario as ns, writeWorkerSteer as nt, DelegateFeedbackArgs as nu, computeFindingId$1 as o, StrategyResult as oa, QuestionRecord as oc, DelegationStateCorruptError as od, PromotionGateOptions as oi, JsonRpcMessage as ol, CoordinationLog as on, Fanout as oo, EvolutionGeneration as or, CompletionAnalyst as os, createFileRunContext as ot, DelegateResearchResult as ou, SurfaceWorkerOut as p, refine as pa, createInProcessTransport as pc, BackendTransportError as pd, registerShape as pi, eventToSnapshot as pl, spendFromUsageEvents as pn, LoopUntilState as po, selectChampion as pr, stopSentinel as ps, assertModelAllowed as pt, DelegationHistoryArgs as pu, settledToIteration as q, ObserveOptions as qa, WorktreeCheckRunner as qc, AgenticRunResult as qi, DelegationRunContext as ql, visibleCheckScore as qn, ShapeContext as qo, SandboxToolPartState as qr, AnalystFindingEvent as qs, createProgressTracker as qt, exportEvalRuns as qu, CreateSandboxOptions$1 as r, StrategyArtifacts as ra, QuestionLevel as rc, composeLoopTraceEmitters as rd, acquireSandbox as ri, captureWorktreeDiff as rl, pickBestDelivered as rn, EqualKOnCost as ro, EvolutionAuthor as rr, LeaderboardScore as rs, InMemoryRunContext as rt, DelegateFeedbackResult as ru, makeFinding$1 as s, StrategyShotResult as sa, QuestionUrgency as sc, DelegationStore as sd, PromotionVerdict as si, JsonRpcResponse as sl, FileCoordinationLog as sn, FanoutOptions as so, EvolutionReport as sr, CompletionEvidence as ss, createInMemoryRunContext as st, DelegateUiAuditArgs as su, AgentProfile$2 as t, ShotSpec as ta, Question as tc, buildDelegationTraceSpans as td, probeSandboxCapabilities as ti, RemoveWorktreeOptions as tl, bestDelivered as tn, CorpusRecord as to, ChampionPolicy as tr, LeaderboardRunContext as ts, workerInboxFileFromEventDir as tt, DelegateCodeResult as tu, SuperviseSurfaceOptions as u, breadthStrategy as ua, createCoordinationTools as uc, InMemoryDelegationStore as ud, trajectoryReport as ui, FeedbackEvent as ul, BudgetReadout as un, FlatWidenGate as uo, discriminatingMeans as ur, completionAuthorizes as us, WorktreeCliExecutorOptions as ut, DelegateUiAuditRoute as uu, worktreeFanout as v, LoopDispatchOptions as va, DelegateArgs as vc, RuntimeRunStateError as vd, renderCorpusToInstructions as vi, DetachedSessionDelegateOptions as vl, assessAuthoredProfile as vn, Pipeline as vo, strategyAuthorContract as vr, LeaderboardOptions as vs, RollingDispatchOptions as vt, DelegationResultPayload as vu, composeWorkerEvidence as w, defaultSelectWinner as wa, CliSeam as wc, EventBus as wd, selectValidWinner as wi, settleDetachedCoderTurn as wl, CheckOutcome as wn, ScopeWidenGate as wo, naiveDriver as wr, leaderboard as ws, defaultDelegateBudget as wt, ResearchOutputShape as wu, VERIFY_TAIL_CHARS as x, loopDispatch as xa, createDelegateHandler as xc, BusEvent as xd, loopUntil as xi, UiAuditorDelegate as xl, profileRichnessFinding as xn, RenderCorpusToInstructionsOptions as xo, NaiveDriverOptions as xr, PairwiseVerdict as xs, queueOf as xt, DelegationStatusResult as xu, EVIDENCE_MAX_CHARS as y, LoopOptionsForDispatch as ya, DelegateHandlerOptions as yc, ValidationError as yd, fanout as yi, DetachedWinnerSelection as yl, authoredWorker as yn, PipelineStage as yo, ApplyContinuation as yr, LeaderboardRow as ys, effectiveConcurrency as yt, DelegationStatus as yu, TrajectoryAnalysis as z, InProcessSandboxClientOptions as za, createSteerableSandboxSession as zc, replaySpawnTree as zd, BenchmarkLift as zi, formatDetachedSessionRef as zl, defaultStructuralRolloutPolicy as zn, LoopShape as zo, TurnResult as zr, areaUnderCurve as zs, ProgressTracker as zt, OtelExportConfig as zu };
|
|
7580
|
-
//# sourceMappingURL=index-
|
|
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,
|
|
2
|
-
import {
|
|
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-
|
|
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 {
|
|
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-
|
|
11
|
-
import "./loop-runner-bin-
|
|
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-
|
|
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
|
|
5
|
-
import {
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
9
|
-
import { D as researchDriverNote, E as optimizerMethod, O as strategyAuthorMethod, T as buildDriverSystem } from "./structural-rollout-
|
|
10
|
-
import { A as improve, B as agenticGenerator, F as normalizeRolloutPolicy, G as summarizeFindings, H as defaultBuildPrompt, I as parseRolloutPolicy, K as worktreeChangedPaths, L as serializeRolloutPolicy, M as rawTraceDistiller, N as ROLLOUT_POLICY_EXTENSION, P as applyRolloutPolicyToProfile, R as structuralRolloutPolicyFromProfile, U as rawTraceEvidenceProblem, V as commandVerifier, W as requiresRawTraceEvidence, j as withMethodRuntimeControls, z as AGENTIC_PROFILE_RESOURCE_ROOT } from "./improvement-cycle-
|
|
8
|
+
import { 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 { Ft as McpSpawnFault, It as connectStdioMcp } from "./runtime-
|
|
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-
|
|
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-
|
|
17
|
-
import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-
|
|
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";
|
package/dist/intelligence.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { x as RuntimeStreamEvent } from "./types-C9j4qg6l.js";
|
|
2
2
|
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
3
|
import { b as LoopTraceEvent } from "./types-DnNGJ5Gz.js";
|
|
4
|
-
import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-
|
|
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";
|
package/dist/intelligence.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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";
|