@tangle-network/agent-runtime 0.301.0 → 0.306.2
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-V6aaOlZV.js → activation-kaJzXM7Y.js} +3 -3
- package/dist/{activation-V6aaOlZV.js.map → activation-kaJzXM7Y.js.map} +1 -1
- package/dist/{activation-CRgEJutr.d.ts → activation-wZ-8vOjV.d.ts} +88 -13
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{bundle-C9v5TH_H.js → bundle-E6mbRX2P.js} +2 -2
- package/dist/{bundle-C9v5TH_H.js.map → bundle-E6mbRX2P.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +3 -26
- package/dist/candidate-execution/index.js +6 -6
- package/dist/{coordination-driver-vNrdQBSH.js → coordination-driver-Y2gf8pBT.js} +9 -16
- package/dist/coordination-driver-Y2gf8pBT.js.map +1 -0
- package/dist/{delegate-B-jFJcbW.js → delegate-B7bwEFQl.js} +2 -2
- package/dist/{delegate-B-jFJcbW.js.map → delegate-B7bwEFQl.js.map} +1 -1
- package/dist/durable.d.ts +3 -15
- package/dist/durable.js +158 -124
- package/dist/durable.js.map +1 -1
- package/dist/{graph-Dwv_hQB_.js → graph-VUwNFYff.js} +4 -5
- package/dist/graph-VUwNFYff.js.map +1 -0
- package/dist/{improvement-cycle-Cf37Kexd.js → improvement-cycle-DuIGusyA.js} +1129 -10
- package/dist/improvement-cycle-DuIGusyA.js.map +1 -0
- package/dist/{index-CxBVmgqL.d.ts → index-DflDZq_I.d.ts} +50 -688
- package/dist/index.d.ts +378 -12
- package/dist/index.js +223 -320
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +5 -5
- package/dist/intelligence.js +7 -8
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-DiTNiJNs.d.ts → loop-runner-bin-DZfRUVWy.d.ts} +3 -3
- package/dist/{loop-runner-bin-C8MI8N1A.js → loop-runner-bin-Dp1V3P2W.js} +3 -3
- package/dist/{loop-runner-bin-C8MI8N1A.js.map → loop-runner-bin-Dp1V3P2W.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 +3 -3
- package/dist/mcp/index.d.ts +6 -35
- package/dist/mcp/index.js +311 -364
- package/dist/mcp/index.js.map +1 -1
- package/dist/model-policy-DydyWTQg.js.map +1 -1
- package/dist/{openai-tools-BeogJ6V8.d.ts → openai-tools-YO30D2s3.d.ts} +2 -2
- package/dist/{prepare-CGVNMb1o.js → prepare-CulUz6Wm.js} +7 -13
- package/dist/prepare-CulUz6Wm.js.map +1 -0
- package/dist/{profile-BetOB4_Q.js → profile-DY9lT3gH.js} +2 -2
- package/dist/{profile-BetOB4_Q.js.map → profile-DY9lT3gH.js.map} +1 -1
- package/dist/profiles.d.ts +2 -94
- package/dist/profiles.js +2 -451
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-CuVHkhti.js → protected-model-port-BT2iYAsU.js} +4 -4
- package/dist/{protected-model-port-CuVHkhti.js.map → protected-model-port-BT2iYAsU.js.map} +1 -1
- package/dist/{protected-model-port-CAa0t1MT.d.ts → protected-model-port-C9QtEf3y.d.ts} +2 -2
- package/dist/{provision-supervisor-CS0fBIhp.js → provision-supervisor-CfK8fla-.js} +4 -3
- package/dist/{provision-supervisor-CS0fBIhp.js.map → provision-supervisor-CfK8fla-.js.map} +1 -1
- package/dist/{runtime-6VPSJVeg.js → runtime-D452tieK.js} +67 -469
- package/dist/runtime-D452tieK.js.map +1 -0
- package/dist/{search-method-wTTS7mGG.js → search-executor-D3AT8_hb.js} +239 -1132
- package/dist/search-executor-D3AT8_hb.js.map +1 -0
- package/dist/{server-BfHD5iLD.js → server-D1Tfxo-v.js} +5 -12
- package/dist/server-D1Tfxo-v.js.map +1 -0
- package/dist/{stream-agent-turn-B1ipFtOc.d.ts → stream-agent-turn-B1giFgOg.d.ts} +2 -2
- package/dist/{substrate-DKBMd0Dl.d.ts → substrate-L_sC7jCD.d.ts} +2 -2
- package/dist/{supervise-BJrEC2Mh.js → supervise-CtewGpxh.js} +14 -24
- package/dist/supervise-CtewGpxh.js.map +1 -0
- package/dist/{supervisor-DA_nvF-h.js → supervisor-DYKPbcZa.js} +488 -1407
- package/dist/supervisor-DYKPbcZa.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +14 -14
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-jD9mNnJM.d.ts → types-DeuEkBhI.d.ts} +114 -258
- package/dist/{workspace-archive-pz8YJ1fr.d.ts → workspace-streams-CpSmt3zx.d.ts} +67 -3
- package/dist/{workspace-streams-D5gHJdTb.js → workspace-streams-DaQceg2p.js} +699 -2
- package/dist/workspace-streams-DaQceg2p.js.map +1 -0
- package/package.json +8 -8
- package/skills/generate-eval/SKILL.md +1 -1
- package/skills/profile-authoring/SKILL.md +2 -2
- package/dist/coordination-driver-vNrdQBSH.js.map +0 -1
- package/dist/graph-Dwv_hQB_.js.map +0 -1
- package/dist/improvement-cycle-Cf37Kexd.js.map +0 -1
- package/dist/prepare-CGVNMb1o.js.map +0 -1
- package/dist/runtime-6VPSJVeg.js.map +0 -1
- package/dist/search-method-wTTS7mGG.js.map +0 -1
- package/dist/server-BfHD5iLD.js.map +0 -1
- package/dist/supervise-BJrEC2Mh.js.map +0 -1
- package/dist/supervisor-DA_nvF-h.js.map +0 -1
- package/dist/workspace-streams-D5gHJdTb.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as SpawnJournal, $i as
|
|
1
|
+
import { $ as SpawnJournal, $i as ExecCtx, A as NodeExecutionIdentity, B as ResultBlobStore, Ct as WorkerTraceResolver, Di as RetainedRunHandle, Dn as ReconnectRetainedInteractiveRunOptions, Er as CheckVerdict, Fi as BudgetPool, Fn as HarnessTranscriptCapture, I as ProviderModelExecutionEvidence, In as HarnessTranscriptEvidence, It as OtelExportConfig, J as RootStreamReceipt, Kr as AgentEvalError$1, L as RecursiveReservationPolicy, Lt as OtelExportStats, M as NodeSnapshot, Ni as StartRetainedRunInEnvironmentOptions, Nn as StartRetainedInteractiveRunOptions, On as RecoverRetainedInteractiveRunOptions, P as ProfileMaterializationReceipt, Pi as StartRetainedRunOptions, Pr as ContinuationPolicy, Q as SpawnEvent, Qi as Driver, Rt as OtelExporter, Sa as SelectionReceipt, U as RetainedExecutionState, V as ResumedKeyState, W as RootHandle, X as Scope, Xi as AgentRunSpec, Y as Runtime, Z as Settled, _a as MountManifestEntry, _n as RetainedPendingCause, _r as DriverRetryPolicy, ai as SlotPermit, at as SpendGap, b as ExecutorRegistry, bt as WorkerTraceEvidence, ct as SubtreeSummary, di as ReconnectRetainedRunOptions, ea as Iteration, er as ProviderWorkspaceCaptureProvenance, et as SpawnOpts, fi as RecoverRetainedRunIntentOptions, fn as TraceSource, g as ExecutorFactory, ga as LoopWinner, gn as RetainedChildRecovery, ha as LoopTraceEvent, hr as DriverReentry, i as Budget, j as NodeId, jn as RetainedInteractiveRunHandle, k as NoWinnerError, kt as TraceContext, l as ExecutionBindingReceipt, la as LoopResult, lt as SupervisedResult, ma as LoopTraceEmitter, mi as RecoverRetainedRunResult, mt as UnconfirmedTeardown, n as AgentExecutionRef, o as BudgetViolation, oa as LoopLineageOptions, oi as WorkerSlots, or as DriverAttemptRecord, ot as SteerableRootHandle, pi as RecoverRetainedRunOptions, pt as TreeView, r as AgentSpec, rt as Spend, s as DefaultVerdict, t as Agent, u as Executor, ur as DriverContinuationRecord, ut as Supervisor, va as MountRecorder, vt as WorkerInteractiveSession, w as FleetYield, wa as Validator, wi as RetainedRunEffect, wn as WorkerProgress, wr as CheckRead, x as ExecutorResult, xa as SandboxClient, xn as ExecutorProgress, ya as OutputAdapter, yt as WorkerInteractiveUnavailableReason, zi as LeakedReservation } from "./types-DeuEkBhI.js";
|
|
2
2
|
import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
|
|
3
3
|
import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-Bj6wJHlH.js";
|
|
4
|
-
import {
|
|
5
|
-
import { Bn as ToolLoopCompactionOptions, D as Inbox, Fn as RouterTransportConfig, Hn as ToolLoopToolCall, In as ToolSpec, Mt as AgentEnvironmentProviderRegistry, Nn as runLocalHarness, P as KeyProvider, Pn as RouterResponseReceipt, Rn as ToolLoopChat, Vn as ToolLoopMessageRecord, Yn as PeerMailLimits, cn as InPlaceHarnessResult, cr as JsonRpcResponse, dn as WorktreeHarnessResult, dr as McpTransport, er as PeerMailbox, f as ExecutorConfig, fr as Redactor, gn as GitRunner, h as RouterToolsSeam, ln as WorktreeCheckRunner, qn as PeerMailEvent, sr as JsonRpcMessage, ur as McpToolDescriptor$1 } from "./stream-agent-turn-
|
|
6
|
-
import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-
|
|
4
|
+
import { P as AgentCandidateOutputArtifactPort, g as AgentCandidateArtifactPort, l as AgentCandidateWorkspaceArchiveLimits } from "./workspace-streams-CpSmt3zx.js";
|
|
5
|
+
import { Bn as ToolLoopCompactionOptions, D as Inbox, Fn as RouterTransportConfig, Hn as ToolLoopToolCall, In as ToolSpec, Mt as AgentEnvironmentProviderRegistry, Nn as runLocalHarness, P as KeyProvider, Pn as RouterResponseReceipt, Rn as ToolLoopChat, Vn as ToolLoopMessageRecord, Yn as PeerMailLimits, cn as InPlaceHarnessResult, cr as JsonRpcResponse, dn as WorktreeHarnessResult, dr as McpTransport, er as PeerMailbox, f as ExecutorConfig, fr as Redactor, gn as GitRunner, h as RouterToolsSeam, ln as WorktreeCheckRunner, qn as PeerMailEvent, sr as JsonRpcMessage, ur as McpToolDescriptor$1 } from "./stream-agent-turn-B1giFgOg.js";
|
|
6
|
+
import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-L_sC7jCD.js";
|
|
7
7
|
import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
|
|
8
8
|
import { AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, MaximumCharge, PairedPromotionDecision, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
|
|
9
9
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
@@ -258,434 +258,16 @@ declare function replaySpawnTree(journal: SpawnJournal, blobs: ResultBlobStore,
|
|
|
258
258
|
* matches the recorded cursor. It does not recover live executors or driver state after restart.
|
|
259
259
|
*/
|
|
260
260
|
declare function materializeTreeView(events: SpawnEvent[]): TreeView;
|
|
261
|
-
/**
|
|
262
|
-
* The waits a journaled tree shows as ARMED but never woken — what a resumed run re-arms with the
|
|
263
|
-
* ORIGINAL absolute deadline. Reading it from the journal (rather than from any live state) is
|
|
264
|
-
* what makes "SIGKILL a waiting tree, a new process keeps waiting to the same instant" true.
|
|
265
|
-
*/
|
|
266
|
-
declare function pendingWaits(events: SpawnEvent[]): PendingWait[];
|
|
267
261
|
//#endregion
|
|
268
|
-
//#region src/durable/
|
|
269
|
-
/** The minimal statement seam; structurally the same shape `SqlConversationJournal` accepts. */
|
|
270
|
-
interface SqlStatements {
|
|
271
|
-
/** Execute a write statement (INSERT/UPDATE/DELETE/DDL). */
|
|
272
|
-
exec(sql: string, params?: readonly unknown[]): Promise<{
|
|
273
|
-
rowsAffected: number;
|
|
274
|
-
}>;
|
|
275
|
-
/** Execute a read statement (SELECT). Returns rows as plain objects. */
|
|
276
|
-
query<TRow = Record<string, unknown>>(sql: string, params?: readonly unknown[]): Promise<TRow[]>;
|
|
277
|
-
}
|
|
278
|
-
/** SQL-backed `SpawnJournal`. One row per event; insertion order is replay order. */
|
|
279
|
-
declare class SqlSpawnJournal implements SpawnJournal {
|
|
280
|
-
private readonly db;
|
|
281
|
-
private readonly table;
|
|
282
|
-
private readonly cache;
|
|
283
|
-
private appendTail;
|
|
284
|
-
constructor(db: SqlStatements, table?: string);
|
|
285
|
-
/** Create the journal's tables if absent. Idempotent. */
|
|
286
|
-
migrate(): Promise<void>;
|
|
287
|
-
loadTree(root: NodeId): Promise<SpawnEvent[] | undefined>;
|
|
288
|
-
beginTree(root: NodeId, at: string): Promise<void>;
|
|
289
|
-
appendEvent(root: NodeId, ev: SpawnEvent): Promise<void>;
|
|
290
|
-
private validationIndex;
|
|
291
|
-
private maxEventId;
|
|
292
|
-
private migrated;
|
|
293
|
-
private ensureMigrated;
|
|
294
|
-
private serializeAppend;
|
|
295
|
-
}
|
|
296
|
-
/** SQL-backed `ResultBlobStore`. One content-addressed row per settled result. */
|
|
297
|
-
declare class SqlResultBlobStore implements ResultBlobStore {
|
|
298
|
-
private readonly db;
|
|
299
|
-
private readonly table;
|
|
300
|
-
private migrated;
|
|
301
|
-
constructor(db: SqlStatements, table?: string);
|
|
302
|
-
migrate(): Promise<void>;
|
|
303
|
-
put(outRef: string, artifact: unknown): Promise<void>;
|
|
304
|
-
get(outRef: string): Promise<unknown | undefined>;
|
|
305
|
-
private ensureMigrated;
|
|
306
|
-
}
|
|
307
|
-
//#endregion
|
|
308
|
-
//#region src/conversation/call-policy.d.ts
|
|
262
|
+
//#region src/durable/sql-adapter.d.ts
|
|
309
263
|
/**
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* conversation-level credit cap and `maxTurns` bound the broader run.
|
|
315
|
-
*
|
|
316
|
-
* Deadlines abort the underlying backend stream via `AbortSignal` linkage so
|
|
317
|
-
* the OpenAI/SDK clients tear down their HTTP request cleanly instead of
|
|
318
|
-
* leaking sockets. Retries replay the same logical turn (same `turnId`) so
|
|
319
|
-
* any caching gateway can dedupe. Circuit breakers are *per participant*: A's
|
|
320
|
-
* failures don't open B's breaker.
|
|
264
|
+
* SQL seam for Runtime's shared-SQL run persistence (`openSqlRunStore`,
|
|
265
|
+
* `createFencedSqlRunContext`). Callers wire a `SqlAdapter` against the driver
|
|
266
|
+
* their deployment already uses (D1, postgres, sqlite, libSQL); Runtime takes
|
|
267
|
+
* no native database dependency.
|
|
321
268
|
*
|
|
322
269
|
* @stable
|
|
323
270
|
*/
|
|
324
|
-
/** Pure judgment of whether an error is worth retrying. Defaults: TimeoutError, AbortError, fetch-level network errors. */
|
|
325
|
-
type RetryableErrorPredicate = (err: unknown) => boolean;
|
|
326
|
-
/** Backoff between attempts. Constant ms, or `(attempt: 1-indexed) => ms`. */
|
|
327
|
-
type RetryBackoff = number | ((attempt: number) => number);
|
|
328
|
-
/** Circuit-breaker tuning. `failuresToOpen` consecutive failures opens it; closed only after `cooldownMs`. */
|
|
329
|
-
interface CircuitBreakerConfig {
|
|
330
|
-
failuresToOpen: number;
|
|
331
|
-
cooldownMs: number;
|
|
332
|
-
}
|
|
333
|
-
interface BackendCallPolicy {
|
|
334
|
-
/** Per-attempt wall clock limit. Exceeding fires an AbortSignal and is treated as a retryable failure. */
|
|
335
|
-
perAttemptDeadlineMs?: number;
|
|
336
|
-
/** Number of retries after the first attempt; total attempts = 1 + maxRetries. Default 0. */
|
|
337
|
-
maxRetries?: number;
|
|
338
|
-
/** Backoff between attempts. Default 250ms with jitter. */
|
|
339
|
-
retryBackoffMs?: RetryBackoff;
|
|
340
|
-
/** Custom retry classifier. Defaults to retrying transport failures and retryable HTTP statuses. */
|
|
341
|
-
isRetryable?: RetryableErrorPredicate;
|
|
342
|
-
/** Circuit breaker that opens after N consecutive failures per participant. */
|
|
343
|
-
circuitBreaker?: CircuitBreakerConfig;
|
|
344
|
-
}
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region src/conversation/headers.d.ts
|
|
347
|
-
/**
|
|
348
|
-
* Header bag carried through `AgentBackendContext.propagatedHeaders` so
|
|
349
|
-
* backends that opt in can merge them into their outbound HTTP requests.
|
|
350
|
-
* Distinct from `buildForwardHeaders` so callers can attach extra
|
|
351
|
-
* non-protocol headers (e.g. tracing) without colliding.
|
|
352
|
-
*/
|
|
353
|
-
type PropagatedHeaders = Readonly<Record<string, string>>;
|
|
354
|
-
//#endregion
|
|
355
|
-
//#region src/conversation/types.d.ts
|
|
356
|
-
/** @stable */
|
|
357
|
-
interface ConversationParticipant {
|
|
358
|
-
/**
|
|
359
|
-
* Stable name used as the speaker label in the transcript. Must be unique
|
|
360
|
-
* within a `Conversation`.
|
|
361
|
-
*/
|
|
362
|
-
name: string;
|
|
363
|
-
/**
|
|
364
|
-
* Backend that runs this participant's turn. Reuses the existing
|
|
365
|
-
* `AgentExecutionBackend` contract from `runAgentTaskStream`, so an iterable,
|
|
366
|
-
* sandbox, or profile-backed Runtime executor works through the same runner.
|
|
367
|
-
*/
|
|
368
|
-
backend: AgentExecutionBackend;
|
|
369
|
-
/**
|
|
370
|
-
* Optional human label for traces / dashboards. Distinct from `name`, which
|
|
371
|
-
* is the addressing key.
|
|
372
|
-
*/
|
|
373
|
-
label?: string;
|
|
374
|
-
/**
|
|
375
|
-
* Optional per-participant override of the conversation's default
|
|
376
|
-
* `callPolicy`. Use to tighten the deadline or raise the retry budget for
|
|
377
|
-
* a participant known to be slow or flaky.
|
|
378
|
-
*/
|
|
379
|
-
callPolicy?: BackendCallPolicy;
|
|
380
|
-
/**
|
|
381
|
-
* Who pays for THIS participant's outbound calls?
|
|
382
|
-
*
|
|
383
|
-
* - `'forward-user'` (default) — propagate the caller's
|
|
384
|
-
* `X-Tangle-Forwarded-Authorization` so the downstream gateway bills the
|
|
385
|
-
* original user. Right for pass-through agents that aggregate/route
|
|
386
|
-
* without taking economic risk.
|
|
387
|
-
* - `'agent-owned'` — DO NOT forward the user's auth; the participant's
|
|
388
|
-
* backend uses its own credentials (typically a sk-tan-AGENT or x402
|
|
389
|
-
* wallet baked into the backend at construction). Downstream charges
|
|
390
|
-
* land on the agent, not the user. Right for resold-bundle agents that
|
|
391
|
-
* take margin between their inbound price and their sub-agent costs.
|
|
392
|
-
* - `(state) => AuthSource` — per-turn / per-condition decision, e.g. base
|
|
393
|
-
* sub-services are agent-owned but premium add-ons forward the user.
|
|
394
|
-
*
|
|
395
|
-
* The agent's own credentials live on its caller-owned backend or
|
|
396
|
-
* profile-bound Runtime executor; this field is purely about *whether to
|
|
397
|
-
* also forward the user's identity downstream*.
|
|
398
|
-
*/
|
|
399
|
-
authSource?: AuthSource;
|
|
400
|
-
}
|
|
401
|
-
/** @stable */
|
|
402
|
-
type AuthSource = 'forward-user' | 'agent-owned' | ((state: ConversationDriveState) => 'forward-user' | 'agent-owned');
|
|
403
|
-
/** @stable */
|
|
404
|
-
type TurnOrder = 'alternate' | 'round-robin' | ((state: ConversationDriveState) => number);
|
|
405
|
-
/** @stable */
|
|
406
|
-
interface ConversationDriveState {
|
|
407
|
-
transcript: readonly ConversationTurn[];
|
|
408
|
-
turnIndex: number;
|
|
409
|
-
spentCreditsCents: number;
|
|
410
|
-
}
|
|
411
|
-
/** @stable */
|
|
412
|
-
interface HaltContext extends ConversationDriveState {
|
|
413
|
-
lastTurn: ConversationTurn;
|
|
414
|
-
}
|
|
415
|
-
/** @stable */
|
|
416
|
-
interface HaltSignal {
|
|
417
|
-
halted: true;
|
|
418
|
-
reason: string;
|
|
419
|
-
}
|
|
420
|
-
/** @stable */
|
|
421
|
-
type HaltPredicate = (ctx: HaltContext) => boolean | HaltSignal | Promise<boolean | HaltSignal>;
|
|
422
|
-
/** @stable */
|
|
423
|
-
type HaltReason = {
|
|
424
|
-
kind: 'max_turns';
|
|
425
|
-
turns: number;
|
|
426
|
-
} | {
|
|
427
|
-
kind: 'max_credits';
|
|
428
|
-
spentCents: number;
|
|
429
|
-
capCents: number;
|
|
430
|
-
} | {
|
|
431
|
-
kind: 'predicate';
|
|
432
|
-
reason: string;
|
|
433
|
-
} | {
|
|
434
|
-
kind: 'abort';
|
|
435
|
-
} | {
|
|
436
|
-
kind: 'participant_error';
|
|
437
|
-
participant: string;
|
|
438
|
-
message: string;
|
|
439
|
-
};
|
|
440
|
-
/** @stable */
|
|
441
|
-
interface ConversationPolicy {
|
|
442
|
-
/** Hard cap on speaker-turns. Each call into a participant's backend counts as 1. */
|
|
443
|
-
maxTurns: number;
|
|
444
|
-
/**
|
|
445
|
-
* Hard cap on aggregate credit spend across all participants, in cents.
|
|
446
|
-
* Computed by summing `llm_call.costUsd` from every participant's stream.
|
|
447
|
-
* Unset (`undefined`) means no credit ceiling — the run is bounded only by
|
|
448
|
-
* `maxTurns` and `haltOn`.
|
|
449
|
-
*/
|
|
450
|
-
maxCreditsCents?: number;
|
|
451
|
-
/**
|
|
452
|
-
* Speaker selection. Defaults to `'alternate'` for two-participant
|
|
453
|
-
* conversations and `'round-robin'` for any other arity.
|
|
454
|
-
*/
|
|
455
|
-
turnOrder?: TurnOrder;
|
|
456
|
-
/**
|
|
457
|
-
* Optional convergence / content-based halt. Called after every turn ends;
|
|
458
|
-
* returning truthy stops the loop with `{ kind: 'predicate', ... }`.
|
|
459
|
-
*/
|
|
460
|
-
haltOn?: HaltPredicate;
|
|
461
|
-
/**
|
|
462
|
-
* Default per-turn resilience policy applied to every participant call
|
|
463
|
-
* (deadline, retries, circuit breaker). Individual participants may
|
|
464
|
-
* override via `ConversationParticipant.callPolicy`.
|
|
465
|
-
*/
|
|
466
|
-
defaultCallPolicy?: BackendCallPolicy;
|
|
467
|
-
}
|
|
468
|
-
/** @stable */
|
|
469
|
-
interface ConversationTurn {
|
|
470
|
-
index: number;
|
|
471
|
-
speaker: string;
|
|
472
|
-
/**
|
|
473
|
-
* Deterministic turn identifier — stable across retries of the same logical
|
|
474
|
-
* turn so caching gateways and trace backends can dedupe. Shape:
|
|
475
|
-
* `${runId}.t${index}.${speakerSlug}`.
|
|
476
|
-
*/
|
|
477
|
-
turnId: string;
|
|
478
|
-
/** Backend session used for this turn. Present on turns recorded by session-aware runners. */
|
|
479
|
-
sessionId?: string;
|
|
480
|
-
text: string;
|
|
481
|
-
/**
|
|
482
|
-
* Aggregated backend usage for this turn alone. Populated from any
|
|
483
|
-
* `llm_call` stream events the backend emitted; `undefined` when the
|
|
484
|
-
* backend reports no usage.
|
|
485
|
-
*/
|
|
486
|
-
usage?: {
|
|
487
|
-
tokensIn?: number;
|
|
488
|
-
tokensOut?: number;
|
|
489
|
-
costUsd?: number;
|
|
490
|
-
latencyMs?: number;
|
|
491
|
-
model?: string;
|
|
492
|
-
};
|
|
493
|
-
/**
|
|
494
|
-
* Number of attempts that ran before this turn committed. `1` is the
|
|
495
|
-
* common case; higher means the call policy retried after transient
|
|
496
|
-
* failures.
|
|
497
|
-
*/
|
|
498
|
-
attempts: number;
|
|
499
|
-
startedAt: string;
|
|
500
|
-
endedAt: string;
|
|
501
|
-
}
|
|
502
|
-
/** @stable */
|
|
503
|
-
interface Conversation {
|
|
504
|
-
participants: readonly ConversationParticipant[];
|
|
505
|
-
policy: ConversationPolicy;
|
|
506
|
-
}
|
|
507
|
-
/** @stable */
|
|
508
|
-
interface RunConversationOptions {
|
|
509
|
-
/** First message kicking off the conversation. Routes to the first speaker. */
|
|
510
|
-
seed: string;
|
|
511
|
-
/**
|
|
512
|
-
* Optional run identifier for cross-participant trace correlation. Auto-
|
|
513
|
-
* generated when omitted. Reusing a runId against the same `journal`
|
|
514
|
-
* resumes the prior run — the runner replays the persisted transcript and
|
|
515
|
-
* continues from the first un-recorded turn.
|
|
516
|
-
*/
|
|
517
|
-
runId?: string;
|
|
518
|
-
/** Cancellation signal — aborts mid-stream and halts with `{ kind: 'abort' }`. */
|
|
519
|
-
signal?: AbortSignal;
|
|
520
|
-
/**
|
|
521
|
-
* Event sink for per-turn micro-events. Distinct from the result transcript:
|
|
522
|
-
* the sink fires for every text-delta, every turn-start/end, and the
|
|
523
|
-
* conversation-start/end markers. Used to drive SSE / dashboard updates
|
|
524
|
-
* without waiting for the conversation to finish.
|
|
525
|
-
*/
|
|
526
|
-
onEvent?: (event: ConversationStreamEvent) => void | Promise<void>;
|
|
527
|
-
/**
|
|
528
|
-
* Optional durable transcript. When set, the runner persists every
|
|
529
|
-
* committed turn before yielding `turn_end`. Reusing the same `runId`
|
|
530
|
-
* against the same journal resumes from the last committed turn — so a
|
|
531
|
-
* driver process crash mid-run loses zero acknowledged turns.
|
|
532
|
-
*/
|
|
533
|
-
journal?: ConversationJournal;
|
|
534
|
-
/**
|
|
535
|
-
* Stores each participant's backend session. The runner keeps an in-memory
|
|
536
|
-
* store for one invocation when omitted. Reuse a durable store with the same
|
|
537
|
-
* `runId` and journal after a process restart. Backends implementing `resume`
|
|
538
|
-
* continue their provider session; other backends receive the full transcript.
|
|
539
|
-
*/
|
|
540
|
-
sessionStore?: RuntimeSessionStore;
|
|
541
|
-
/**
|
|
542
|
-
* Headers to forward verbatim to every participant backend call (gateway
|
|
543
|
-
* propagation: `X-Tangle-Forwarded-Authorization`, run/turn correlation,
|
|
544
|
-
* depth counter). Backends opt in by reading `propagatedHeaders` from
|
|
545
|
-
* their `AgentBackendContext`; backends that ignore the field still work.
|
|
546
|
-
*/
|
|
547
|
-
propagatedHeaders?: PropagatedHeaders;
|
|
548
|
-
/**
|
|
549
|
-
* Inbound depth at the point this driver was invoked. The runner
|
|
550
|
-
* increments it on every outbound participant call; gateways refuse at
|
|
551
|
-
* `DEFAULT_MAX_DEPTH`. Default 0 (origin caller).
|
|
552
|
-
*/
|
|
553
|
-
inboundDepth?: number;
|
|
554
|
-
/**
|
|
555
|
-
* Parent turn id when this conversation is *inside* another turn (i.e. the
|
|
556
|
-
* driver is itself a participant via `createConversationBackend`). The
|
|
557
|
-
* runner stamps each outbound call with this as `X-Tangle-Parent-TurnId`
|
|
558
|
-
* so trace stitching survives nested orchestration.
|
|
559
|
-
*/
|
|
560
|
-
parentTurnId?: string;
|
|
561
|
-
}
|
|
562
|
-
/** @stable */
|
|
563
|
-
interface ConversationResult {
|
|
564
|
-
runId: string;
|
|
565
|
-
transcript: ConversationTurn[];
|
|
566
|
-
turns: number;
|
|
567
|
-
spentCreditsCents: number;
|
|
568
|
-
halted: HaltReason;
|
|
569
|
-
durationMs: number;
|
|
570
|
-
startedAt: string;
|
|
571
|
-
endedAt: string;
|
|
572
|
-
}
|
|
573
|
-
/** @stable */
|
|
574
|
-
type ConversationStreamEvent = {
|
|
575
|
-
type: 'conversation_start';
|
|
576
|
-
runId: string;
|
|
577
|
-
participants: readonly string[];
|
|
578
|
-
seed: string;
|
|
579
|
-
timestamp: string;
|
|
580
|
-
} | {
|
|
581
|
-
type: 'conversation_resumed';
|
|
582
|
-
runId: string;
|
|
583
|
-
participants: readonly string[];
|
|
584
|
-
transcript: readonly ConversationTurn[];
|
|
585
|
-
timestamp: string;
|
|
586
|
-
} | {
|
|
587
|
-
type: 'turn_start';
|
|
588
|
-
runId: string;
|
|
589
|
-
index: number;
|
|
590
|
-
speaker: string;
|
|
591
|
-
turnId: string;
|
|
592
|
-
attempt: number;
|
|
593
|
-
timestamp: string;
|
|
594
|
-
} | {
|
|
595
|
-
type: 'turn_text_delta';
|
|
596
|
-
runId: string;
|
|
597
|
-
index: number;
|
|
598
|
-
speaker: string;
|
|
599
|
-
turnId: string;
|
|
600
|
-
text: string;
|
|
601
|
-
timestamp?: string;
|
|
602
|
-
} | {
|
|
603
|
-
type: 'turn_retry';
|
|
604
|
-
runId: string;
|
|
605
|
-
index: number;
|
|
606
|
-
speaker: string;
|
|
607
|
-
turnId: string;
|
|
608
|
-
attempt: number;
|
|
609
|
-
reason: string;
|
|
610
|
-
timestamp: string;
|
|
611
|
-
} | {
|
|
612
|
-
type: 'turn_end';
|
|
613
|
-
runId: string;
|
|
614
|
-
turn: ConversationTurn;
|
|
615
|
-
timestamp: string;
|
|
616
|
-
} | {
|
|
617
|
-
type: 'conversation_end';
|
|
618
|
-
runId: string;
|
|
619
|
-
result: ConversationResult;
|
|
620
|
-
timestamp: string;
|
|
621
|
-
};
|
|
622
|
-
//#endregion
|
|
623
|
-
//#region src/conversation/journal.d.ts
|
|
624
|
-
interface ConversationJournalEntry {
|
|
625
|
-
runId: string;
|
|
626
|
-
startedAt: string;
|
|
627
|
-
/** Set when the run reaches a terminal state. */
|
|
628
|
-
halted?: HaltReason;
|
|
629
|
-
endedAt?: string;
|
|
630
|
-
turns: ConversationTurn[];
|
|
631
|
-
}
|
|
632
|
-
interface ConversationJournal {
|
|
633
|
-
/**
|
|
634
|
-
* Load any prior state for `runId`. Returns `undefined` for a fresh run.
|
|
635
|
-
* Implementations MUST NOT mutate the returned object — the runner clones
|
|
636
|
-
* before continuing — but the runtime treats absence and emptiness
|
|
637
|
-
* identically, so a journal with zero turns is equivalent to "fresh."
|
|
638
|
-
*/
|
|
639
|
-
loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
|
|
640
|
-
/**
|
|
641
|
-
* Initialise journal state for a fresh run. Called once per run, before any
|
|
642
|
-
* `appendTurn`. Idempotent: calling with an existing runId is a no-op if
|
|
643
|
-
* the entry already exists with the same `startedAt`.
|
|
644
|
-
*/
|
|
645
|
-
beginRun(runId: string, startedAt: string): Promise<void>;
|
|
646
|
-
/**
|
|
647
|
-
* Append a committed turn. The runner only calls this AFTER the turn's
|
|
648
|
-
* backend stream completed and the credit total has been updated, so an
|
|
649
|
-
* appended turn is observed-committed and never speculative.
|
|
650
|
-
*/
|
|
651
|
-
appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
|
|
652
|
-
/**
|
|
653
|
-
* Record the run's terminal halt reason + end time. Once called, the run
|
|
654
|
-
* is observed-final; subsequent `loadRun` returns the same halt.
|
|
655
|
-
*/
|
|
656
|
-
recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
|
|
657
|
-
}
|
|
658
|
-
/** In-memory `ConversationJournal` — suitable for testing and single-process runs. */
|
|
659
|
-
declare class InMemoryConversationJournal implements ConversationJournal {
|
|
660
|
-
private readonly entries;
|
|
661
|
-
loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
|
|
662
|
-
beginRun(runId: string, startedAt: string): Promise<void>;
|
|
663
|
-
appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
|
|
664
|
-
recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
|
|
665
|
-
}
|
|
666
|
-
/**
|
|
667
|
-
* JSONL on disk. One line per record; first line is the `begin`, subsequent
|
|
668
|
-
* lines are `turn` records, terminal line is `halt`. Replays the whole file
|
|
669
|
-
* on `loadRun` — cheap for the conversation sizes this is designed for
|
|
670
|
-
* (thousands of turns, not millions). For huge runs, plug in a real DB
|
|
671
|
-
* adapter; the interface is small.
|
|
672
|
-
*
|
|
673
|
-
* Reads and appends over the shared append-only spine (`durable/jsonl-file`): each
|
|
674
|
-
* `appendTurn` / `recordHalt` finishes a short write and calls `fsync`, so a process
|
|
675
|
-
* crash between writes never loses an acknowledged turn, and a crash DURING one leaves
|
|
676
|
-
* an uncommitted final line that the next read skips and the next append truncates.
|
|
677
|
-
*/
|
|
678
|
-
declare class FileConversationJournal implements ConversationJournal {
|
|
679
|
-
private readonly path;
|
|
680
|
-
constructor(path: string);
|
|
681
|
-
loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
|
|
682
|
-
beginRun(runId: string, startedAt: string): Promise<void>;
|
|
683
|
-
appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
|
|
684
|
-
recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
|
|
685
|
-
private appendRecord;
|
|
686
|
-
}
|
|
687
|
-
//#endregion
|
|
688
|
-
//#region src/conversation/journal-sql.d.ts
|
|
689
271
|
/**
|
|
690
272
|
* Minimal SQL driver shape. Implementations forward to whichever client the
|
|
691
273
|
* deployment already uses; agent-runtime takes no opinion on which.
|
|
@@ -722,32 +304,6 @@ interface D1StmtLike {
|
|
|
722
304
|
results?: TRow[];
|
|
723
305
|
}>;
|
|
724
306
|
}
|
|
725
|
-
/**
|
|
726
|
-
* SQL-backed ConversationJournal. Two tables — runs (one row per runId, holds
|
|
727
|
-
* start/halt timestamps + halt reason) and turns (one row per committed turn,
|
|
728
|
-
* payload is the ConversationTurn JSON). Replays the turns table on
|
|
729
|
-
* `loadRun` and writes append-only per `appendTurn`.
|
|
730
|
-
*/
|
|
731
|
-
declare class SqlConversationJournal implements ConversationJournal {
|
|
732
|
-
private readonly db;
|
|
733
|
-
private readonly table;
|
|
734
|
-
/**
|
|
735
|
-
* @param db SQL adapter (D1, postgres, sqlite, libSQL — all work)
|
|
736
|
-
* @param table Table-name prefix; the journal creates `${table}_runs` and
|
|
737
|
-
* `${table}_turns`. Lets multiple journals share a database
|
|
738
|
-
* without colliding (e.g. one per product surface).
|
|
739
|
-
*/
|
|
740
|
-
constructor(db: SqlAdapter, table?: string);
|
|
741
|
-
/**
|
|
742
|
-
* Create the journal's tables if absent. Idempotent. Call once at deploy
|
|
743
|
-
* (or at app boot) — running on every request is harmless but adds latency.
|
|
744
|
-
*/
|
|
745
|
-
migrate(): Promise<void>;
|
|
746
|
-
loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
|
|
747
|
-
beginRun(runId: string, startedAt: string): Promise<void>;
|
|
748
|
-
appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
|
|
749
|
-
recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
|
|
750
|
-
}
|
|
751
307
|
//#endregion
|
|
752
308
|
//#region src/durable/sql-run-store.d.ts
|
|
753
309
|
/** @internal The SQL run context owns the payload schema; this store owns publication. */
|
|
@@ -3570,45 +3126,6 @@ declare function anytimeReport(spans: WaterfallSpan[], opts?: {
|
|
|
3570
3126
|
/** One row per (strategy, satisficing target): the shareable time-to-satisfactory table. */
|
|
3571
3127
|
declare function renderAnytimeTable(report: AnytimeReport): string;
|
|
3572
3128
|
//#endregion
|
|
3573
|
-
//#region src/runtime/audit-intent.d.ts
|
|
3574
|
-
interface AuditIntentInput {
|
|
3575
|
-
/** The declared intent: the task text / acceptance criteria the agent was given. */
|
|
3576
|
-
declaredIntent: string;
|
|
3577
|
-
/** The trajectory so far — tool calls + results + assistant turns (any event shapes). */
|
|
3578
|
-
trace: ReadonlyArray<unknown>;
|
|
3579
|
-
/** The principal's actual intent when it differs from the literal task (the contract). */
|
|
3580
|
-
userIntent?: string;
|
|
3581
|
-
/** The loop-level purpose (meta-intent): what the WHOLE run is for — lets the auditor
|
|
3582
|
-
* flag locally-sensible work that serves the wrong larger objective. */
|
|
3583
|
-
metaIntent?: string;
|
|
3584
|
-
runId?: string;
|
|
3585
|
-
}
|
|
3586
|
-
interface AuditIntentOptions {
|
|
3587
|
-
/** Exact auditor identity. */
|
|
3588
|
-
profile: AgentProfile;
|
|
3589
|
-
/** Execution substrate. All behavior comes from the profile. */
|
|
3590
|
-
executor: ExecutorConfig;
|
|
3591
|
-
/** Cap trace lines fed to the auditor. Default 80. */
|
|
3592
|
-
maxTraceLines?: number;
|
|
3593
|
-
signal?: AbortSignal;
|
|
3594
|
-
}
|
|
3595
|
-
interface IntentAudit {
|
|
3596
|
-
/** What the agent's actions reveal it is actually optimizing — one sentence. */
|
|
3597
|
-
revealedIntent: string;
|
|
3598
|
-
verdict: 'aligned' | 'drifting' | 'diverged';
|
|
3599
|
-
/** Trajectory-grounded evidence for the verdict (specific calls/patterns). */
|
|
3600
|
-
evidence: string;
|
|
3601
|
-
/** The single recommended intervention. */
|
|
3602
|
-
recommendation: 'continue' | 'steer' | 'abort';
|
|
3603
|
-
/** When recommendation is 'steer': the corrective instruction to inject. */
|
|
3604
|
-
steer?: string;
|
|
3605
|
-
confidence: number;
|
|
3606
|
-
}
|
|
3607
|
-
/** Default system instruction for intent-auditor agents: diagnose diverged/drifting trajectories. */
|
|
3608
|
-
declare const defaultAuditorInstruction: string;
|
|
3609
|
-
/** The route-rigor analyst: compare declared vs revealed vs user intent over a trajectory and return aligned / drifting / diverged with evidence and one recommended intervention. */
|
|
3610
|
-
declare function auditIntent(input: AuditIntentInput, opts: AuditIntentOptions): Promise<IntentAudit>;
|
|
3611
|
-
//#endregion
|
|
3612
3129
|
//#region src/runtime/benchmark-report.d.ts
|
|
3613
3130
|
/** Pull the headline score in [0,1] from a record. Default: the held-out split, else the search split,
|
|
3614
3131
|
* else a `composite`/`passed`/`score` entry in the raw bag. Override to score a domain differently. */
|
|
@@ -4462,9 +3979,6 @@ interface ProgressView {
|
|
|
4462
3979
|
readonly workers: ReadonlyArray<WorkerProgress>;
|
|
4463
3980
|
/** Nodes running or acquiring. */
|
|
4464
3981
|
readonly inFlight: number;
|
|
4465
|
-
/** Armed wait-state nodes — deliberately separate from `inFlight`: a tree whose only remaining
|
|
4466
|
-
* nodes are waits is NOT stalled, it is waiting on the world. */
|
|
4467
|
-
readonly waiting: number;
|
|
4468
3982
|
}
|
|
4469
3983
|
/** A stop rule's answer. `reason` is required when stopping — a run that ends must be able to say
|
|
4470
3984
|
* why in the result, and an unexplained early stop is indistinguishable from a bug. */
|
|
@@ -4582,10 +4096,6 @@ interface ManagerWakePolicy {
|
|
|
4582
4096
|
/** Wake once this long before the deadline and ask for the best result now. Default 15 min. */
|
|
4583
4097
|
readonly deadlineWarningMs?: number;
|
|
4584
4098
|
}
|
|
4585
|
-
/** How long a waiting manager hears nothing before Runtime wakes it to reconsider: 15 min. */
|
|
4586
|
-
declare const DEFAULT_WAKE_HEARTBEAT_MS: number;
|
|
4587
|
-
/** How long a wake waits for more events after its first, while other workers still run: 2 s. */
|
|
4588
|
-
declare const DEFAULT_WAKE_DEBOUNCE_MS = 2000;
|
|
4589
4099
|
/** How long before its deadline a manager is woken once to submit its best result: 15 min. */
|
|
4590
4100
|
declare const DEFAULT_DEADLINE_WARNING_MS: number;
|
|
4591
4101
|
//#endregion
|
|
@@ -5186,21 +4696,21 @@ declare function workerFromBackend(backend: ExecutorConfig, deliverable?: Delive
|
|
|
5186
4696
|
/** Manager-authored profiles are untrusted until product policy says otherwise. Remote MCP and
|
|
5187
4697
|
* ambient connection grants therefore fail closed by default, in addition to local MCP and hooks. */
|
|
5188
4698
|
declare const DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY: AgentProfileSecurityPolicy;
|
|
5189
|
-
/** A name→value table
|
|
5190
|
-
*
|
|
5191
|
-
*
|
|
4699
|
+
/** A name→value table in this package's resolver-port shape: construction stays the caller's,
|
|
4700
|
+
* lookup stays lazy, and a table backed by a file, a plugin loader, or a plain object all
|
|
4701
|
+
* satisfy one interface. */
|
|
5192
4702
|
interface SuperviseRegistryTable<T> {
|
|
5193
4703
|
resolve(name: string): T | undefined;
|
|
5194
|
-
/** The names the table holds. The
|
|
4704
|
+
/** The names the table holds. The three code-valued tables may omit it, because a caller names
|
|
5195
4705
|
* their entries from data it already has. The profiles table must list them, because a
|
|
5196
4706
|
* director can choose only from a menu it can read. */
|
|
5197
4707
|
names?(): readonly string[];
|
|
5198
4708
|
}
|
|
5199
4709
|
/**
|
|
5200
|
-
* The name→value tables that make the
|
|
4710
|
+
* The name→value tables that make the three CODE-valued options expressible as run DATA, and the
|
|
5201
4711
|
* profiles a director may spawn by name.
|
|
5202
4712
|
*
|
|
5203
|
-
* `deliverable` / `finalizer` / `analysts`
|
|
4713
|
+
* `deliverable` / `finalizer` / `analysts` are functions and registries, so a recorded
|
|
5204
4714
|
* run configuration (a JSON row, a campaign spec, a resumed run's options) cannot carry them — and
|
|
5205
4715
|
* a run with no `deliverable` cannot return a `winner` at all outside the sandbox backend, because
|
|
5206
4716
|
* the finalizer keeps only children whose oracle passed and nothing else writes that verdict. A
|
|
@@ -5217,7 +4727,6 @@ interface SuperviseRegistry {
|
|
|
5217
4727
|
readonly deliverables?: SuperviseRegistryTable<DeliverableSpec<unknown>>;
|
|
5218
4728
|
readonly finalizers?: SuperviseRegistryTable<SupervisorFinalizer>;
|
|
5219
4729
|
readonly analysts?: SuperviseRegistryTable<AnalystRegistry$1>;
|
|
5220
|
-
readonly probes?: SuperviseRegistryTable<WaitProbeRegistry>;
|
|
5221
4730
|
readonly profiles?: SuperviseRegistryTable<SuperviseProfileEntry> & {
|
|
5222
4731
|
names(): readonly string[];
|
|
5223
4732
|
};
|
|
@@ -5570,8 +5079,9 @@ interface SuperviseOptions {
|
|
|
5570
5079
|
* resumable run per directory but collides across concurrent runs sharing one `runDir`.
|
|
5571
5080
|
*/
|
|
5572
5081
|
readonly runDir?: string;
|
|
5573
|
-
/**
|
|
5574
|
-
* `blobs` / `runContext`) instead of derived from `runDir`.
|
|
5082
|
+
/** Advanced test seam: opt into resume-first when the durable stores are caller-supplied
|
|
5083
|
+
* (`journal` + `blobs` / `runContext`) instead of derived from `runDir`. The normal durable path
|
|
5084
|
+
* is `runDir` or a `runContext` (see `docs/durability.md`). Exactly what the file
|
|
5575
5085
|
* context sets automatically: load the prior tree for `runId` before starting fresh, refuse a
|
|
5576
5086
|
* reused id without it. Ignored when `runDir` is also set — the file context owns the flag. */
|
|
5577
5087
|
readonly resume?: boolean;
|
|
@@ -5580,11 +5090,6 @@ interface SuperviseOptions {
|
|
|
5580
5090
|
/** Override the spawn journal directly (advanced; `runDir` is the ordinary durable path). Pair
|
|
5581
5091
|
* with `blobs` — a journal whose result payloads live in a different store cannot replay. */
|
|
5582
5092
|
readonly journal?: SpawnJournal;
|
|
5583
|
-
/** Predicate registry for `poll` wait-states (`Scope.wait`). A `poll` names its predicate so the
|
|
5584
|
-
* wait survives a restart; this is what the name resolves against. Unset ⇒ `poll` waits are
|
|
5585
|
-
* refused `unknown-probe` and `timer` waits still work. A `string` names an entry in
|
|
5586
|
-
* `registry.probes`. */
|
|
5587
|
-
readonly probes?: WaitProbeRegistry | string;
|
|
5588
5093
|
/**
|
|
5589
5094
|
* PROGRESS-derived stop rule (BOTH arms). Ends a run that has stopped LEARNING before it
|
|
5590
5095
|
* exhausts a ceiling — the answer to "a run should end because it is done or stuck, not because
|
|
@@ -5892,11 +5397,6 @@ declare class FileObserverJournal implements ObserverJournal {
|
|
|
5892
5397
|
declare function verifyObserverRecords(records: readonly ObserverRecord[], pursuitId?: string): readonly ObserverRecord[];
|
|
5893
5398
|
/** Compute the canonical SHA-256 digest for an unsigned observer record. */
|
|
5894
5399
|
declare function observerRecordDigest(record: Omit<ObserverRecord, 'digest'>): string;
|
|
5895
|
-
/** Build the canonical durable observer hook in one call. */
|
|
5896
|
-
declare function createFileObserverHooks(path: string, pursuitId: string): {
|
|
5897
|
-
readonly journal: FileObserverJournal;
|
|
5898
|
-
readonly hooks: RuntimeHooks;
|
|
5899
|
-
};
|
|
5900
5400
|
//#endregion
|
|
5901
5401
|
//#region src/durable/observer-projection.d.ts
|
|
5902
5402
|
/**
|
|
@@ -6083,7 +5583,6 @@ interface PursuitNodeProjection {
|
|
|
6083
5583
|
/** Each channel on which the settled spend exceeded the node's reservation. The status is the
|
|
6084
5584
|
* node's own outcome: a `done` node that overspent still delivered its output. */
|
|
6085
5585
|
readonly budgetViolation?: BudgetViolation;
|
|
6086
|
-
readonly wait?: unknown;
|
|
6087
5586
|
readonly firstSequence: number;
|
|
6088
5587
|
readonly lastSequence: number;
|
|
6089
5588
|
readonly firstObservedAt: number;
|
|
@@ -6153,19 +5652,6 @@ interface PursuitObserverDelivery {
|
|
|
6153
5652
|
readonly timeoutMs?: number;
|
|
6154
5653
|
readonly fetch?: typeof fetch;
|
|
6155
5654
|
}
|
|
6156
|
-
/** The execution state Runtime reports. It never claims the pursuit's semantic success. */
|
|
6157
|
-
type PursuitObserverState = 'running' | 'done' | 'failed';
|
|
6158
|
-
type PursuitObserverDeliveryOutcome = {
|
|
6159
|
-
readonly succeeded: true;
|
|
6160
|
-
readonly status: number;
|
|
6161
|
-
} | {
|
|
6162
|
-
readonly succeeded: false;
|
|
6163
|
-
readonly reason: string;
|
|
6164
|
-
};
|
|
6165
|
-
/** The Intelligence route that persists a delivered projection on its run spine. */
|
|
6166
|
-
declare const PURSUIT_OBSERVER_DELIVERY_PATH = "/v1/ingest/pursuit-observer";
|
|
6167
|
-
/** POST one projection. Never throws; the outcome says whether Intelligence accepted it. */
|
|
6168
|
-
declare function deliverPursuitObserver(delivery: PursuitObserverDelivery, state: PursuitObserverState, projection: PursuitProjection): Promise<PursuitObserverDeliveryOutcome>;
|
|
6169
5655
|
//#endregion
|
|
6170
5656
|
//#region src/durable/run-fork.d.ts
|
|
6171
5657
|
/**
|
|
@@ -6196,8 +5682,6 @@ interface PursuitFork {
|
|
|
6196
5682
|
* spend of every version of one lineage groups under one id.
|
|
6197
5683
|
*/
|
|
6198
5684
|
declare const RUN_FORK_CORRELATION_KEYS: readonly ["forkParentRunId", "forkParentSettleDigest", "forkProfileDiffId", "lineageRootRunId"];
|
|
6199
|
-
/** The correlation key an accepted uncertain parent adds: its uncertain node ids, comma-joined. */
|
|
6200
|
-
declare const FORK_PARENT_UNCERTAIN_NODES_KEY = "forkParentUncertainNodes";
|
|
6201
5685
|
//#endregion
|
|
6202
5686
|
//#region src/durable/supervise-pursuit.d.ts
|
|
6203
5687
|
interface SupervisePursuitOptions extends SuperviseOptions {
|
|
@@ -6319,6 +5803,13 @@ interface PursuitVersionStop {
|
|
|
6319
5803
|
/** A version takes the lead when its score beats the kept version's by more than this.
|
|
6320
5804
|
* Default 0. */
|
|
6321
5805
|
readonly minImprovement?: number;
|
|
5806
|
+
/**
|
|
5807
|
+
* Stop after this many versions in a row failed identically: each run ended `driver-failed`
|
|
5808
|
+
* with the same error, or the judge could not score it. Such a failure repeats whatever the
|
|
5809
|
+
* next change is (a refused workspace file, a broken credential), so neither patience nor a
|
|
5810
|
+
* version cap should be what stops it. Default 3.
|
|
5811
|
+
*/
|
|
5812
|
+
readonly identicalFailures?: number;
|
|
6322
5813
|
}
|
|
6323
5814
|
/** An outside judge. Runtime calls it after a version's settle record exists, never inside the
|
|
6324
5815
|
* version's tree, and gives it no handle into that tree. Place it where you like, such as its own
|
|
@@ -6383,6 +5874,12 @@ interface PursuitVersionChain {
|
|
|
6383
5874
|
/** Why the chain stopped: the kernel's close reason (`patience`, `max-nodes`, `budget`,
|
|
6384
5875
|
* `deadline` or `converged`). */
|
|
6385
5876
|
readonly reason: SearchCloseReason;
|
|
5877
|
+
/** Present when the chain stopped because its last `versions` versions failed identically
|
|
5878
|
+
* (`stop.identicalFailures`); `reason` is then `converged`. */
|
|
5879
|
+
readonly identicalFailures?: {
|
|
5880
|
+
readonly versions: number;
|
|
5881
|
+
readonly failure: string;
|
|
5882
|
+
};
|
|
6386
5883
|
/** The kept version's number: the kernel's leader when the chain closed. */
|
|
6387
5884
|
readonly best: number;
|
|
6388
5885
|
/** Every judged version, first first. */
|
|
@@ -6392,11 +5889,6 @@ interface PursuitVersionChain {
|
|
|
6392
5889
|
/** A bounded receipt over the exact ledger bytes. */
|
|
6393
5890
|
readonly receipt: SearchHistoryReceipt;
|
|
6394
5891
|
}
|
|
6395
|
-
/** Where `'review-of-best'` mounts a review: `inputs/review/version-<n>.md`. One review lives in
|
|
6396
|
-
* a profile at a time. */
|
|
6397
|
-
declare const REVIEW_DIR = "inputs/review/";
|
|
6398
|
-
/** The chain's directory beside the first version's: the ledger and its content blobs. */
|
|
6399
|
-
declare function pursuitVersionsLedgerPath(runDir: string): string;
|
|
6400
5892
|
/**
|
|
6401
5893
|
* Validate a `versions` option before any compute. The same check runs inside `supervisePursuit`;
|
|
6402
5894
|
* a caller that records the option as data can run it at preflight.
|
|
@@ -6564,7 +6056,7 @@ interface DeclaredCheckPlacement {
|
|
|
6564
6056
|
type DeclaredCheckStateCapture = (into: string) => Promise<void>;
|
|
6565
6057
|
/** Refuse a malformed declaration before any compute. */
|
|
6566
6058
|
declare function assertDeclaredCheck(check: DeclaredCheck, context: string): void;
|
|
6567
|
-
/** The canonical digest of a
|
|
6059
|
+
/** The canonical digest of a check program's files: the digest a record names a program by. */
|
|
6568
6060
|
declare function checkProgramDigest(dir: string): Promise<Sha256Digest>;
|
|
6569
6061
|
/** The digest a version judge records: the program, the sealed cases, and how they are run. */
|
|
6570
6062
|
declare function declaredCheckDigest(check: DeclaredCheck): Sha256Digest;
|
|
@@ -7430,9 +6922,8 @@ interface TrajectoryNode {
|
|
|
7430
6922
|
readonly children: ReadonlyArray<NodeId>;
|
|
7431
6923
|
readonly label: string;
|
|
7432
6924
|
readonly runtime: string;
|
|
7433
|
-
/** Terminal status the journal recorded for this node.
|
|
7434
|
-
|
|
7435
|
-
readonly status: 'done' | 'failed' | 'cancelled' | 'pending' | 'waiting';
|
|
6925
|
+
/** Terminal status the journal recorded for this node. */
|
|
6926
|
+
readonly status: 'done' | 'failed' | 'cancelled' | 'pending';
|
|
7436
6927
|
/** This node's OWN conserved spend (from its `settled` event). */
|
|
7437
6928
|
readonly ownSpend: Spend;
|
|
7438
6929
|
/** This node's spend PLUS every descendant's — the rolled-up subtree cost. The cost a parent
|
|
@@ -8771,7 +8262,13 @@ declare function resolveSandboxClient(opts: ResolveSandboxClientOptions): Sandbo
|
|
|
8771
8262
|
* @stable
|
|
8772
8263
|
*/
|
|
8773
8264
|
declare function startRetainedInteractiveRun(options: StartRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle>;
|
|
8774
|
-
/**
|
|
8265
|
+
/**
|
|
8266
|
+
* Retry one exact start after its provider response may have been lost.
|
|
8267
|
+
*
|
|
8268
|
+
* Resolves to the handle of the admitted process (resumed through the exact,
|
|
8269
|
+
* idempotent start request), or `null` when the provider no longer holds the
|
|
8270
|
+
* environment (not found; nothing remains to stop). @stable
|
|
8271
|
+
*/
|
|
8775
8272
|
declare function recoverRetainedInteractiveRun(options: RecoverRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
|
|
8776
8273
|
/** Rebuild controls for one exact provider-owned coding-agent process. @stable */
|
|
8777
8274
|
declare function reconnectRetainedInteractiveRun(options: ReconnectRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
|
|
@@ -8920,44 +8417,6 @@ interface AcquireOptions {
|
|
|
8920
8417
|
*/
|
|
8921
8418
|
declare function acquireSandbox(client: SandboxClient, options: CreateSandboxOptions, acquire?: AcquireOptions): Promise<SandboxInstance>;
|
|
8922
8419
|
//#endregion
|
|
8923
|
-
//#region src/runtime/sandbox-capabilities.d.ts
|
|
8924
|
-
/**
|
|
8925
|
-
* What the loop kernel is allowed to know about a sandbox backend: a single
|
|
8926
|
-
* capability bit, never the backend's identity. `canFork` gates the legacy
|
|
8927
|
-
* checkpoint+fork fanout path; current live branching is detected on the box.
|
|
8928
|
-
*
|
|
8929
|
-
* @experimental
|
|
8930
|
-
*/
|
|
8931
|
-
interface SandboxCapabilities {
|
|
8932
|
-
/**
|
|
8933
|
-
* True only when `client.criuStatus()` returned `{ available: true }`.
|
|
8934
|
-
* Current live `branch(count)` boxes do not need this bit. When both paths
|
|
8935
|
-
* are absent, a fork-enabled fanout degrades to independent fresh boxes.
|
|
8936
|
-
*/
|
|
8937
|
-
canFork: boolean;
|
|
8938
|
-
}
|
|
8939
|
-
/**
|
|
8940
|
-
* Probe (and memoize per client) what the loop may rely on. A client without a
|
|
8941
|
-
* `criuStatus` method, or whose probe rejects, yields `canFork = false` — a
|
|
8942
|
-
* failed probe must never claim a capability the platform may not have. The
|
|
8943
|
-
* promise is cached so concurrent fanout branches share one round-trip.
|
|
8944
|
-
*
|
|
8945
|
-
* @experimental
|
|
8946
|
-
*/
|
|
8947
|
-
declare function probeSandboxCapabilities(client: SandboxClient): Promise<SandboxCapabilities>;
|
|
8948
|
-
/**
|
|
8949
|
-
* Narrowed view of the optional CRIU probe. The loop-side `SandboxClient`
|
|
8950
|
-
* does not require `criuStatus`; this widens it optionally so the probe can be
|
|
8951
|
-
* read without importing sandbox-backend specifics. @experimental
|
|
8952
|
-
*/
|
|
8953
|
-
interface CriuCapableClient {
|
|
8954
|
-
criuStatus?: () => Promise<{
|
|
8955
|
-
available: boolean;
|
|
8956
|
-
criuVersion?: string;
|
|
8957
|
-
reason?: string;
|
|
8958
|
-
}>;
|
|
8959
|
-
}
|
|
8960
|
-
//#endregion
|
|
8961
8420
|
//#region src/runtime/sandbox-lineage.d.ts
|
|
8962
8421
|
/**
|
|
8963
8422
|
* A live box plus the session that threads its iterations together. Handed back
|
|
@@ -8973,8 +8432,7 @@ interface SandboxLineageHandle {
|
|
|
8973
8432
|
* Stable session id threaded through this box's `streamPrompt` calls. Minted
|
|
8974
8433
|
* by the lineage on `start`; reused on `continue` so the server continues the
|
|
8975
8434
|
* same conversation. A forked handle starts a fresh session on its new box —
|
|
8976
|
-
* the shared context comes from the live branch
|
|
8977
|
-
* shared session id.
|
|
8435
|
+
* the shared context comes from the live branch, not a shared session id.
|
|
8978
8436
|
*/
|
|
8979
8437
|
sessionId: string;
|
|
8980
8438
|
}
|
|
@@ -9007,8 +8465,8 @@ interface SandboxLineage {
|
|
|
9007
8465
|
* the parent's IMAGE and PROFILE: under a real fork `specs[i]` does NOT
|
|
9008
8466
|
* re-select a per-branch
|
|
9009
8467
|
* profile (the SDK forks the running box, it can't swap the image). `specs[i]`
|
|
9010
|
-
* picks the per-branch profile ONLY on the degraded fresh-box path (no
|
|
9011
|
-
*
|
|
8468
|
+
* picks the per-branch profile ONLY on the degraded fresh-box path (no live
|
|
8469
|
+
* branch support).
|
|
9012
8470
|
* A heterogeneous-profile fanout therefore homogenizes to the parent's profile
|
|
9013
8471
|
* when fork is available — pass a single shared spec for forked fanouts, or
|
|
9014
8472
|
* use `random@k` (no fork) when branches must differ. Each child's first turn
|
|
@@ -9033,13 +8491,11 @@ interface SandboxLineage {
|
|
|
9033
8491
|
teardown(): Promise<void>;
|
|
9034
8492
|
}
|
|
9035
8493
|
/**
|
|
9036
|
-
* Build a lineage bound to one client
|
|
9037
|
-
* capabilities are passed in (not re-probed) so the kernel probes once per run
|
|
9038
|
-
* and the lineage stays a pure function of "what this platform can do".
|
|
8494
|
+
* Build a lineage bound to one client. Branching is read from each box.
|
|
9039
8495
|
*
|
|
9040
8496
|
* @experimental
|
|
9041
8497
|
*/
|
|
9042
|
-
declare function createSandboxLineage(client: SandboxClient,
|
|
8498
|
+
declare function createSandboxLineage(client: SandboxClient, options?: {
|
|
9043
8499
|
maxConcurrency?: number;
|
|
9044
8500
|
streaming?: 'sse' | 'poll';
|
|
9045
8501
|
/** Run provenance recorder forwarded to every `prepareBox` the lineage runs
|
|
@@ -9052,30 +8508,10 @@ declare function createSandboxLineage(client: SandboxClient, capabilities: Sandb
|
|
|
9052
8508
|
beforeDelete?: (box: SandboxInstance) => Promise<void>;
|
|
9053
8509
|
onAcquire?: (box: SandboxInstance, profile: AgentProfile) => void;
|
|
9054
8510
|
}): SandboxLineage;
|
|
9055
|
-
/**
|
|
9056
|
-
* Loop-side widening of the box's optional checkpoint method. The
|
|
9057
|
-
* `SandboxClient`/`SandboxInstance` surface the kernel relies on does not
|
|
9058
|
-
* require checkpointing; this reads it optionally so the lineage can probe-gate
|
|
9059
|
-
* without importing sandbox-backend specifics. @experimental
|
|
9060
|
-
*/
|
|
9061
|
-
interface CheckpointCapableBox {
|
|
9062
|
-
checkpoint?: (options?: {
|
|
9063
|
-
leaveRunning?: boolean;
|
|
9064
|
-
tags?: string[];
|
|
9065
|
-
}) => Promise<{
|
|
9066
|
-
checkpointId: string;
|
|
9067
|
-
}>;
|
|
9068
|
-
}
|
|
9069
8511
|
/** Loop-side view of the current Sandbox SDK's live branch method. @experimental */
|
|
9070
8512
|
interface BranchCapableBox {
|
|
9071
8513
|
branch?: (count: number, options?: BranchOptions) => Promise<SandboxInstance[]>;
|
|
9072
8514
|
}
|
|
9073
|
-
/** Loop-side widening of the legacy checkpoint fork method. @experimental */
|
|
9074
|
-
interface ForkCapableBox {
|
|
9075
|
-
fork?: (checkpointId: string, options?: {
|
|
9076
|
-
name?: string;
|
|
9077
|
-
}) => Promise<SandboxInstance>;
|
|
9078
|
-
}
|
|
9079
8515
|
/**
|
|
9080
8516
|
* Loop-side widening of the box's optional session accessor. The real
|
|
9081
8517
|
* `SandboxInstance` exposes `session(id).status()`; the loop reads it optionally
|
|
@@ -10303,7 +9739,7 @@ declare class GraphEdgeCapError extends Error {
|
|
|
10303
9739
|
* Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
|
|
10304
9740
|
* above belongs here — the default is "a graph honors it", not "someone remembered to add it".
|
|
10305
9741
|
*/
|
|
10306
|
-
declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "runContext", "steerDir", "
|
|
9742
|
+
declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
|
|
10307
9743
|
/** `backend` and `driverBackend` keep graph-specific documentation below.
|
|
10308
9744
|
*
|
|
10309
9745
|
* Do not inherit and redeclare them through an indexed access type.
|
|
@@ -10475,10 +9911,6 @@ type WorkerInteractiveAdmission = {
|
|
|
10475
9911
|
readonly ref: AgentInteractiveSessionRef;
|
|
10476
9912
|
readonly refDigest: `sha256:${string}`;
|
|
10477
9913
|
};
|
|
10478
|
-
/** Return the exact credential-free admission file for one worker and phase. */
|
|
10479
|
-
declare function workerInteractiveAdmissionFile(eventDir: string, workerId: string, phase: WorkerInteractiveAdmission['phase']): string;
|
|
10480
|
-
/** Read all durable admissions for one worker, oldest phase first. */
|
|
10481
|
-
declare function readWorkerInteractiveAdmissions(eventDir: string, workerId: string): ReadonlyArray<WorkerInteractiveAdmission>;
|
|
10482
9914
|
//#endregion
|
|
10483
9915
|
//#region src/runtime/supervise/interactive-worker.d.ts
|
|
10484
9916
|
/** Environment fields supplied to every interactive worker after Runtime adds the exact profile. */
|
|
@@ -10707,11 +10139,6 @@ interface ScopeArgs {
|
|
|
10707
10139
|
readonly blobs: ResultBlobStore;
|
|
10708
10140
|
/** The open executor resolver (BYO → router/inline → registered harness factory). */
|
|
10709
10141
|
readonly executors: ExecutorRegistry;
|
|
10710
|
-
/** Predicate resolver for `poll` wait-states. Absent ⇒ `wait` refuses a `poll` with
|
|
10711
|
-
* `unknown-probe`; `timer` waits never touch it. */
|
|
10712
|
-
readonly probes?: WaitProbeRegistry;
|
|
10713
|
-
/** Injected sleeper for wait-states — a test drives a week-long timer in microseconds. */
|
|
10714
|
-
readonly waitSleep?: (ms: number, signal: AbortSignal) => Promise<void>;
|
|
10715
10142
|
/** Per-spawn executor-construction seams (sandbox client, router config, cli bin). */
|
|
10716
10143
|
readonly seams: Readonly<Record<string, unknown>>;
|
|
10717
10144
|
/** This scope's recursion depth (root = 0). */
|
|
@@ -10784,11 +10211,6 @@ interface ScopeArgs {
|
|
|
10784
10211
|
readonly maxSpawnOrdinal: number;
|
|
10785
10212
|
/** Highest cursor `seq` already journaled; new settlements start at `+1`. */
|
|
10786
10213
|
readonly maxCursorSeq: number;
|
|
10787
|
-
/** Highest `waiting` ordinal already journaled; new waits start at `+1`. */
|
|
10788
|
-
readonly maxWaitOrdinal: number;
|
|
10789
|
-
/** Waits journaled as armed but never woken — re-armed (same node id, same absolute deadline)
|
|
10790
|
-
* when `wait` is called again with the SAME label. */
|
|
10791
|
-
readonly waits: ReadonlyArray<PendingWait>;
|
|
10792
10214
|
/** Keyed assignments from the prior journal — what a keyed re-spawn resolves against. */
|
|
10793
10215
|
readonly keys: ReadonlyMap<string, ResumedKeyState<unknown>>;
|
|
10794
10216
|
/** Prior committed spend summed off the journal (settled child work + metered inference). */
|
|
@@ -11051,10 +10473,6 @@ interface AttachWorkerOptions {
|
|
|
11051
10473
|
readonly providers: WorkerInteractiveProviderSource;
|
|
11052
10474
|
readonly signal?: AbortSignal;
|
|
11053
10475
|
}
|
|
11054
|
-
/** Directory containing exact per-worker interactive binding records. @stable */
|
|
11055
|
-
declare function workerInteractiveBindingsDir(eventDir: string): string;
|
|
11056
|
-
/** Exact durable binding file for one worker id. @stable */
|
|
11057
|
-
declare function workerInteractiveBindingFile(eventDir: string, workerId: string): string;
|
|
11058
10476
|
/** Read and validate one exact durable worker binding. @stable */
|
|
11059
10477
|
declare function readWorkerInteractiveBinding(eventDir: string, workerId: string): WorkerInteractiveBinding | undefined;
|
|
11060
10478
|
/**
|
|
@@ -11120,17 +10538,7 @@ interface WorktreeFanoutOptions extends PatchDeliverableOptions {
|
|
|
11120
10538
|
*/
|
|
11121
10539
|
declare function worktreeFanout<Task>(options: WorktreeFanoutOptions): CombinatorShape<Task, WorktreePatchArtifact>;
|
|
11122
10540
|
//#endregion
|
|
11123
|
-
//#region src/runtime/supervise-
|
|
11124
|
-
/** What a surface worker settles with — the surface verdict the driver + deliverable read. `resolved` is
|
|
11125
|
-
* the surface check's pass/fail (settled ⟺ resolved); `score` is the partial-credit fraction; `failing`
|
|
11126
|
-
* carries the tests this worker left red (so the analyst can target them). */
|
|
11127
|
-
interface SurfaceWorkerOut {
|
|
11128
|
-
readonly resolved: boolean;
|
|
11129
|
-
readonly score: number;
|
|
11130
|
-
readonly shots: number;
|
|
11131
|
-
readonly summary: string;
|
|
11132
|
-
readonly failing?: readonly string[];
|
|
11133
|
-
}
|
|
10541
|
+
//#region src/runtime/supervise-analysts.d.ts
|
|
11134
10542
|
/**
|
|
11135
10543
|
* Adapt an `agent-eval` `AnalystRegistry` into the lens shape `supervise({ analysts })` takes.
|
|
11136
10544
|
*
|
|
@@ -11180,52 +10588,6 @@ interface AnalystAuthoring {
|
|
|
11180
10588
|
* the driver the still-FAILING tests (not just a score), so the next spawn targets the persistently-hard
|
|
11181
10589
|
* cases. Swap `analysts` to change what the driver improves from — that's the one knob. */
|
|
11182
10590
|
declare function failuresAnalyst(): AnalystRegistry$1;
|
|
11183
|
-
/** How a worker runs the surface task (its router substrate + per-attempt bounds). */
|
|
11184
|
-
interface SurfaceWorkerConfig {
|
|
11185
|
-
readonly routerBaseUrl: string;
|
|
11186
|
-
readonly routerKey: string;
|
|
11187
|
-
/** Exact worker behavior, tools, and model. */
|
|
11188
|
-
readonly profile: AgentProfile;
|
|
11189
|
-
readonly analystProfile?: AgentProfile;
|
|
11190
|
-
readonly innerTurns?: number;
|
|
11191
|
-
/** Refine-shot budget for ONE worker attempt (max steered shots). Default 1. */
|
|
11192
|
-
readonly budget?: number;
|
|
11193
|
-
}
|
|
11194
|
-
interface SuperviseSurfaceOptions {
|
|
11195
|
-
/** The graded surface workers solve (open/tools/call/score/close). */
|
|
11196
|
-
readonly surface: AgenticSurface;
|
|
11197
|
-
/** Where/how each worker runs the surface task. */
|
|
11198
|
-
readonly worker: SurfaceWorkerConfig;
|
|
11199
|
-
/** The conserved compute pool for the whole supervised run. Default: sized off the worker's inner-loop
|
|
11200
|
-
* bounds for a handful of worker spawns — raise it to let the driver try more. */
|
|
11201
|
-
readonly budget?: Budget;
|
|
11202
|
-
/** The driver brain's Router endpoint/auth. Model and behavior remain owned by `profile`. */
|
|
11203
|
-
readonly router?: RouterTransportConfig;
|
|
11204
|
-
/** The self-improvement lens fed to the driver on each settled worker. Default `failuresAnalyst()`
|
|
11205
|
-
* (target the still-failing tests). Pass a custom registry to change it, or `null` to turn the
|
|
11206
|
-
* within-run self-improvement OFF (the driver sees raw settled outputs). */
|
|
11207
|
-
readonly analysts?: AnalystRegistry$1 | null;
|
|
11208
|
-
/** The strategy each worker runs over the surface. Default `refine` (iterate-with-feedback). */
|
|
11209
|
-
readonly strategy?: Strategy;
|
|
11210
|
-
/** Max workers working at once; later spawns queue. Default 1 (serial — required when workers share
|
|
11211
|
-
* a persistent artifact, so they continue each other instead of racing the file). */
|
|
11212
|
-
readonly workerSlots?: number;
|
|
11213
|
-
}
|
|
11214
|
-
/** The deployable outcome of a supervised surface run. */
|
|
11215
|
-
interface SuperviseSurfaceResult {
|
|
11216
|
-
readonly resolved: boolean;
|
|
11217
|
-
readonly score: number;
|
|
11218
|
-
readonly usd: number;
|
|
11219
|
-
readonly tokensIn: number;
|
|
11220
|
-
readonly tokensOut: number;
|
|
11221
|
-
readonly ms: number;
|
|
11222
|
-
/** Total conserved-pool iterations = the driver + worker LLM rounds the run actually spent. */
|
|
11223
|
-
readonly completions: number;
|
|
11224
|
-
}
|
|
11225
|
-
/** Drive a team of agents (spawned + steered by `profile`) to solve a graded `AgenticSurface` task, and
|
|
11226
|
-
* report the deployable outcome + the full conserved spend. This is `supervise()` configured for surfaces
|
|
11227
|
-
* — there is no other entrypoint to learn. */
|
|
11228
|
-
declare function superviseSurface(profile: SupervisorProfile, task: AgenticTask, opts: SuperviseSurfaceOptions): Promise<SuperviseSurfaceResult>;
|
|
11229
10591
|
//#endregion
|
|
11230
10592
|
//#region src/runtime/surface-diff.d.ts
|
|
11231
10593
|
/** Outcome of reading one surface back at settle. `missing: true` means the path no longer exists
|
|
@@ -11362,5 +10724,5 @@ interface VerifierEnvironmentOptions {
|
|
|
11362
10724
|
/** 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. */
|
|
11363
10725
|
declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
|
|
11364
10726
|
//#endregion
|
|
11365
|
-
export { WorkspaceRun as $, SandboxEvidenceRetentionPort as $a, InMemoryRunContextOptions as $c, AuthorizeDownMessage as $d, hostDirectoryReader as $f, materializeTreeView as $h, McpEndpoint as $i, composeReentryTask as $l, PublishOptions as $m, StructuralRolloutMessage as $n, TrajectoryReportOptions as $o, DelegationTaskQueueOptions as $p, createSandboxLineage as $r, VersionVerdict as $s, runGraphWithTestBrain as $t, workerSteersDir as $u, worktreeFanout as A, defineStrategy as Aa, createFileObserverHooks as Ac, AnytimeReport as Ad, SpawnPreflight as Af, HaltPredicate as Ah, builtinShapes as Ai, DEFAULT_DEADLINE_WARNING_MS as Al, UiAuditorDelegationOutput as Am, ChatSessionStore as An, Fanout as Ao, FleetHandle as Ap, strategyAuthorSystemPrompt as Ar, DeclaredCheck as As, createWorktreeCliExecutor as At, legacySupervisorRunsRoot as Au, VERIFY_TAIL_CHARS as B, SuperviseOptionsForDispatch as Ba, SuperviseTestOptions as Bc, WaterfallSpan as Bd, canonicalFindingEvent as Bf, SqlSpawnJournal as Bh, loopUntil as Bi, ProgressView as Bl, composeLoopTraceEmitters as Bm, asAuthoredProfile as Bn, PanelSpec as Bo, RunDetachedTurnOptions as Bp, OpenSandboxRunBeforeStartContext as Br, IsolatedCheckBoxEvidence as Bs, createInPlaceCliExecutor as Bt, supervisorRunDir as Bu, SurfaceWorkerConfig as C, StrategyCtx as Ca, PursuitRunTotals as Cc, renderLeaderboardSvg as Cd, QuestionEscalationTarget as Cf, validateProfileMaterialization as Cg, ConversationDriveState as Ch, PrivateCasArtifactPort as Ci, SupervisorProfile as Cl, DelegationStatus as Cm, driverAgent as Cn, Corpus as Co, DetachedWinnerSelection as Cp, runStrategyEvolution as Cr, LeaderboardFlagSpec as Cs, ProvisionedSupervisor as Ct, WorkerCancellation as Cu, superviseSurface as D, SurfaceScore as Da, ObserverJournal as Dc, IntentAudit as Dd, QuestionRecord as Df, ConversationStreamEvent as Dh, createPrivateCasArtifactPort as Di, resolveSupervisorProfile as Dl, FeedbackRefersTo as Dm, codeModeSupervisorTools as Dn, EqualKOnCost as Do, detachedSessionDelegate as Dp, assertStrategyContract as Dr, LeaderboardScore as Ds, patchDelivered as Dt, cancelRun as Du, failuresAnalyst as E, StrategyShotResult as Ea, FileObserverJournal as Ec, AuditIntentOptions as Ed, QuestionPolicy as Ef, ConversationResult as Eh, PrivateCasOptions as Ei, assertCoordinationBinding as El, FeedbackRating as Em, CodeModeRunner as En, EqualKArm as Eo, coderTaskFromArgs as Ep, AuthoredStrategy as Er, LeaderboardScenario as Es, PatchDeliverableOptions as Et, WriteWorkerSteerOptions as Eu, readWorkerInteractiveBinding as F, sampleThenRefine as Fa, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Fc, bestSoFar as Fd, ToolOutcomeEvent as Ff, BackendCallPolicy as Fh, FileCorpus as Fi, NoProgressForOptions as Fl, DelegationTraceCaps as Fm, chatWorkerSeam as Fn, LoopUntil as Fo, DetachedSessionRefParts as Fp, StdioMcpConnection as Fr, declaredCheckDeliverable as Fs, workerFromInteractiveProvider as Ft, readWorkerSteerAcknowledgement as Fu, CopyOptions as G, TERMINAL_DECISIONS as Ga, WorkerSpawnRetryAttempt as Gc, AnalystFindingEvent as Gd, questionEscalationTargets as Gf, InMemorySpawnJournal as Gh, widen as Gi, anyOf as Gl, FileDelegationStore as Gm, CheckExecChannel as Gn, RenderCorpusToInstructionsOptions as Go, runDetachedTurn as Gp, TurnResult as Gr, NextPursuitVersion as Gs, GraphEdgeCapError as Gt, workerCancellationsDir as Gu, closingWorkerNote as H, loopDispatch as Ha, superviseWithTestBrain as Hc, ANALYST_DEFINITION_BOUNDS as Hd, downMessageRefusalReasons as Hf, FileResultBlobStore as Hh, pipeline as Hi, StopRule as Hl, DelegationPersistenceError as Hm, defaultProfileRichnessThresholds as Hn, Pipeline as Ho, detachedTurnEvents as Hp, OpenSandboxRunPromptOptions as Hr, IsolatedCheckResult as Hs, EdgeDeliveryOutcome as Ht, supervisorWorkersDir as Hu, workerInteractiveBindingFile as I, LoopCampaignDispatchOptions as Ia, DeliverableResolutionInput as Ic, plateauLength as Id, WorkerResumeContext as If, CircuitBreakerConfig as Ih, InMemoryCorpus as Ii, PlateauOptions as Il, DelegationTraceCollector as Im, createChatSessionStore as In, LoopUntilSpec as Io, DetachedTurn as Ip, StdioMcpServerSpec as Ir, declaredCheckDigest as Is, WorkerInteractiveAdmission as It, readWorkerSteerRequests as Iu, withUntrackedArtifacts as J, isTerminalDecision as Ja, isPreSpawnExecutorFailure as Jc, AnalystRegistry$1 as Jd, SPAWN_RESOURCE_PATH_MAX_BYTES as Jf, SpawnForestInDoubtNode as Jh, assertTraceDerivedFindings as Ji, plateau as Jl, CoderOutput as Jm, CheckRunner as Jn, ScopeWidenGate as Jo, DelegationResumeContext as Jp, CheckpointCapableBox as Jr, PursuitVersionStop as Js, RunGraphOptions as Jt, workerInboxFileFromEventDir as Ju, UntrackedCopyStats as K, TerminalDecision as Ka, WorkerSpawnRetryHooks as Kc, AnalystKind as Kd, ResolveSpawnResourcePathsResult as Kf, SpawnForest as Kh, CreateScopeAnalystOptions as Ki, createProgressTracker as Kl, FileDelegationStoreOptions as Km, CheckOutcome as Kn, ScopeAnalyst as Ko, DelegationArgs as Kp, openSandboxRun as Kr, NextPursuitVersionInput as Ks, GraphNode as Kt, workerControlLogFile as Ku, workerInteractiveBindingsDir as L, LoopDispatchOptions as La, SuperviseOptions as Lc, renderAnytimeTable as Ld, WorkerSpawnContext as Lf, RetryBackoff as Lh, renderCorpusToInstructions as Li, ProgressSample as Ll, DelegationTraceSpan as Lm, AuthoredProfile as Ln, LoopUntilState as Lo, DetachedTurnResumeDriverOptions as Lp, connectStdioMcp as Lr, declaredCheckJudge as Ls, readWorkerInteractiveAdmissions as Lt, runCancelRequestFile as Lu, WorkerInteractiveBinding as M, refine as Ma, verifyObserverRecords as Mc, AnytimeTaskCurve as Md, SpawnRefusal as Mf, HaltSignal as Mh, registerShape as Mi, DEFAULT_WAKE_HEARTBEAT_MS as Ml, CappedDelegationTrace as Mm, ChatTransportTool as Mn, FanoutSynthesis as Mo, SiblingSandboxExecutorOptions as Mp, MaterializeLocalMcpOptions as Mr, DeclaredCheckStateCapture as Ms, InteractiveWorkerKeyInput as Mt, readRunCancellation as Mu, WorkerInteractiveProviderSource as N, runAgentic as Na, AuthorizedSpawn as Nc, anytimeReport as Nd, SpawnRefusalCause as Nf, RunConversationOptions as Nh, definePersona as Ni, ManagerWakePolicy as Nl, DELEGATION_TRACE_MAX_BYTES as Nm, ChatWorkerSeamOptions as Nn, FanoutWinnerSelector as No, createFleetWorkspaceExecutor as Np, McpSpawnFault as Nr, assertDeclaredCheck as Ns, InteractiveWorkerOptions as Nt, readWorkerCancelRequests as Nu, AuthoredHarness as O, adaptiveRefine as Oa, ObserverRecord as Oc, auditIntent as Od, QuestionUrgency as Of, ConversationTurn as Oh, equalKOnCost as Oi, supervisorAgent as Ol, ResearchOutputShape as Om, unsafeInProcessRunner as On, EqualKOnCostOptions as Oo, settleDetachedCoderTurn as Op, authorStrategy as Or, LeaderboardSpec as Os, WorktreeCliExecutorOptions as Ot, cancelWorker as Ou, attachWorker as P, sample as Pa, AuthorizedSpawnContext as Pc, areaUnderCurve as Pd, SuperviseProfileEntry as Pf, TurnOrder as Ph, runPersonified as Pi, AllWorkersStalledOptions as Pl, DELEGATION_TRACE_MAX_SPANS as Pm, chatTransportExecutor as Pn, FlatWidenGate as Po, createSiblingSandboxExecutor as Pp, McpToolDescriptor as Pr, checkProgramDigest as Ps, InteractiveWorkerResult as Pt, readWorkerCancellation as Pu, WorkspaceCommit as Q, SandboxEvidenceRetentionError as Qa, InMemoryRunContext as Qc, AuthoredAnalystLimits as Qd, environmentReader as Qf, loadSpawnForest as Qh, observationFromRegistry as Qi, UNPROVEN_CONTINUITY as Ql, EventBus as Qm, StructuralRolloutConfig as Qn, TrajectoryReportFn as Qo, DelegationTaskQueue as Qp, SessionCapableBox as Qr, VersionJudge as Qs, runGraph as Qt, workerSteerRequestsDir as Qu, EVIDENCE_MAX_CHARS as R, LoopOptionsForDispatch as Ra, SuperviseRegistry as Rc, WaterfallCollector as Rd, WorkerWatchOptions as Rf, RetryableErrorPredicate as Rh, fanout as Ri, ProgressTracker as Rl, buildDelegationTraceSpans as Rm, ProfileRichness as Rn, Panel as Ro, DriveTurnCapableBox as Rp, materializeLocalMcp as Rr, readDeclaredCheck as Rs, workerInteractiveAdmissionFile as Rt, runCancellationFile as Ru, SuperviseSurfaceResult as S, StrategyArtifacts as Sa, PursuitRunProjection as Sc, renderLeaderboardMarkdown as Sd, QuestionEscalationRecord as Sf, sandboxActProfileMaterialization as Sg, Conversation as Sh, assertProfileModelsAllowed as Si, SupervisorNodeContextSeed as Sl, DelegationResultPayload as Sm, DriverAgentOptions as Sn, CombinatorShape as So, DetachedSessionDelegateOptions as Sp, TournamentRow as Sr, LeaderboardBenchmarkAdapter as Ss, ProvisionSupervisorRequest as St, WorkerCancelRequest as Su, analystsFromRegistry as T, StrategyResult as Ta, projectPursuit as Tc, AuditIntentInput as Td, QuestionOption as Tf, ConversationPolicy as Th, PrivateCasOffloadReport as Ti, SupervisorToolInvocationContext as Tl, DelegationStatusResult as Tm, CodeModeOptions as Tn, CorpusRecord as To, UiAuditorDelegate as Tp, AuthorStrategyOptions as Tr, LeaderboardRunContext as Ts, provisionSupervisor as Tt, WorkerSteerRequest as Tu, composeWorkerEvidence as U, superviseDispatch as Ua, workerFromBackend as Uc, AnalystAssignmentRecord as Ud, normalizeAnalyzeOnSettle as Uf, FileSpawnJournal as Uh, selectValidWinner as Ui, allOf as Ul, DelegationStateCorruptError as Um, profileRichnessFinding as Un, PipelineStage as Uo, formatDetachedSessionRef as Up, SandboxRun as Ur, runIsolatedCheck as Us, EdgeTraversal as Ut, workerCancelRequestsFile as Uu, WorkerEvidenceInput as V, loopCampaignDispatch as Va, supervise as Vc, createWaterfallCollector as Vd, createCoordinationTools as Vf, SqlStatements as Vh, panel as Vi, StopDecision as Vl, createDelegationTraceCollector as Vm, assessAuthoredProfile as Vn, PanelVerdict as Vo, createDetachedTurnResumeDriver as Vp, OpenSandboxRunOptions as Vr, IsolatedCheckOptions as Vs, AgentGraph as Vt, supervisorRunsRoot as Vu, settledWorkerOut as W, RunAgentRoundsOptions as Wa, ResolvedWorkerSpawnRetry as Wc, AnalystDefinitionIssue as Wd, parseAuthoredAnalystDefinition as Wf, InMemoryResultBlobStore as Wh, verify as Wi, allWorkersStalled as Wl, DelegationStore as Wm, supervisorInstructions as Wn, RenderCorpusToInstructions as Wo, parseDetachedSessionRef as Wp, SandboxRunAbortError as Wr, JudgedPursuitVersion as Ws, GraphEdge as Wt, workerCancellationFile as Wu, Shell as X, SandboxEvidenceContext as Xa, retryPreSpawnRefusals as Xc, AnalyzeOnSettleRoute as Xd, SpawnResourceRead as Xf, SpawnForestNode as Xh, createScopeAnalyst as Xi, ReentryContinuity as Xl, BusRecord as Xm, CheckSourceCtx as Xn, TrajectoryNode as Xo, DelegationResumeTick as Xp, SandboxLineage as Xr, REVIEW_DIR as Xs, TraversalContinuity as Xt, workerSteerAcknowledgementsDir as Xu, GitWorkspaceOptions as Y, runAgentRounds as Ya, resolveWorkerSpawnRetry as Yc, AnalystToolGroupName as Yd, SpawnResourceBytes as Yf, SpawnForestMissingTree as Yh, buildSteerContext as Yi, sampleFromSettled as Yl, BusEvent as Ym, CheckSource as Yn, SteerContext as Yo, DelegationResumeDriver as Yp, ForkCapableBox as Yr, PursuitVersions as Ys, RunGraphTestOptions as Yt, workerSteerAcknowledgementFile as Yu, Workspace as Z, SandboxEvidenceReceipt as Za, withWorkerSpawnRetry as Zc, AuthoredAnalystDefinition as Zd, SpawnResourceReader as Zf, SpawnForestTree as Zh, registryScopeAnalyst as Zi, ReentryTaskInput as Zl, BusStats as Zm, RepairStop as Zn, TrajectoryReport as Zo, DelegationRunContext as Zp, SandboxLineageHandle as Zr, SettledPursuitVersion as Zs, defaultEdgeTraversalCap as Zt, workerSteerRequestFile as Zu, boxSurfaceReader as _, ArtifactHandle as _a, PursuitNodePlatform as _c, ProfileKeyOf as _d, ManagerReentryState as _f, promptControlProfileMaterialization as _g, ConversationJournal as _h, ResolveSandboxClientOptions as _i, ResolveSupervisorTools as _l, DelegationHistoryArgs as _m, queueOf as _n, ObserveOptions as _o, eventToSnapshot as _p, EvolutionReport as _r, ShapeContext as _s, SUBTREE_RESULT_LIMIT as _t, CoordinationOwnerId as _u, SandboxInstance$1 as a, BenchmarkLift as aa, supervisePursuit as ac, completionAuthorizes as ad, CoordinationStats as af, AssertProfileMaterializationOptions as ag, ExecutorResultMapping as ah, S3PrivateCasStore as ai, SupervisorSpanAttributes as al, DelegateCodeResult as am, delegatesWorkerBriefPrompt as an, InProcessPromptCtx as ao, DELEGATE_DESCRIPTION as ap, composeCheckSources as ar, WidenSpec as as, analyzeTrace as at, collectDelivered as au, AnalystAuthoring as b, ShotSpec as ba, PursuitNodeUsage as bc, pairwiseSignificance as bd, QuestionDecision as bf, promptResourceProfileMaterialization as bg, InMemoryConversationJournal as bh, profileOptimizerModelCall as bi, SupervisorAgentTestDeps as bl, DelegationProfile as bm, defaultDelegateBudget as bn, renderReport as bo, CoderReviewer as bp, StrategyTournament as br, LeaderboardBenchScore as bs, settledToIteration as bt, RunCancelRequest as bu, VerifierEnvironmentOptions as c, BenchmarkTaskRow as ca, RUN_FORK_CORRELATION_KEYS as cc, stopSentinel as cd, DefinedAnalystRecord as cf, KnownAgentProfileMaterializationAxis as cg, SqlRunLease as ch, reconnectRetainedRun as ci, SupervisorSpanRecorder as cl, DelegateResearchArgs as cm, formatPromptHandle as cn, HarvestCorpusOptions as co, DelegateArgs as cp, filterAuthoredAsserts as cr, DefinePersonaInput as cs, captureWorkerTraceEvidence as ct, CoordinationAuthentication as cu, HarvestSurfaceDiffsOptions as d, runBenchmark as da, PursuitObserverDeliveryOutcome as dc, Interval as dd, DownMessageDeliveryOutcome as df, ValidateProfileMaterializationOptions as dg, openSqlRunStore as dh, startRetainedRunInEnvironment as di, CoordinationToolFace as dl, DelegateUiAuditArgs as dm, promptHandle as dn, HarvestReport as do, DelegateResult as dp, resolveEntrySymbol as dr, Persona as ds, DEFAULT_MAX_DEPTH as dt, CoordinationTransportOptions as du, McpEnvironmentOptions as ea, assertPursuitVersions as ec, writeWorkerSteer as ed, AuthorizedDownMessage as ef, pendingWaits as eg, createEventBus as eh, CriuCapableClient as ei, RunContext as el, SubmitInput as em, PromptHandle as en, captureBeforeDestroy as eo, resolveSpawnResourcePaths as ep, StructuralRolloutPolicy as er, Verify as es, gitWorkspace as et, DeliveredOutput as eu, SurfaceDiff as f, AgenticOptions as fa, PursuitObserverState as fc, Leaderboard as fd, DownMessageEvent as ff, assertProfileMaterialization as fg, D1DatabaseLike as fh, ClaimRetainedInteractiveControlOptions as fi, CoordinationVerbs as fl, DelegateUiAuditConfig as fm, DispatchReport as fn, harvestCorpus as fo, createDelegateHandler as fp, sandboxCheckRunner as fr, PersonaContext as fs, createRootHandle as ft, serveCoordinationMcp as fu, WatchedSurface as g, AgenticTool as ga, PursuitNodePlacement as gc, PairwiseVerdict as gd, MakeWorkerAgent as gf, profileMaterializationAxes$1 as gg, d1ToSqlAdapter as gh, startRetainedInteractiveRun as gi, ResolveDriveHarness as gl, DelegationFeedbackSnapshot as gm, freeSlots as gn, ObserveInput as go, InMemoryFeedbackStore as gp, EvolutionAuthor as gr, ShapeBudget as gs, createFencedSqlRunContext as gt, CoordinationLog as gu, SurfaceReader as h, AgenticTask as ha, PursuitNodeCost as hc, PairwiseOptions as hd, LeadMessage as hf, fullProfileMaterialization as hg, SqlConversationJournal as hh, recoverRetainedInteractiveRun as hi, ObserveSupervisorNodeEvent as hl, DelegationError as hm, RollingDispatchOptions as hn, ObservationError as ho, FeedbackStore as hp, visibleCheckScore as hr, RunPersonifiedOptions as hs, SqlRunContextOptions as ht, CoordinationDeliveryEvidence as hu, SandboxEvent$1 as i, BenchmarkConfig as ia, SupervisedPursuitResult as ic, CompletionVerdict as id, CoordinationEvent as if, AgentProfileMaterializationAxis as ig, DeliverableSpec as ih, acquireSandbox as ii, withRunContext as il, DelegateCodeConfig as im, createPromptRegistry as in, InProcessOnPrompt as io, createMcpServer as ip, compareCheckOutcomes as ir, WidenLineage as is, TrajectoryAnalysis as it, bestDelivered as iu, AttachWorkerOptions as j, depthStrategy as ja, observerRecordDigest as jc, AnytimeStrategySummary as jd, SpawnPreflightContext as jf, HaltReason as jh, createShapeRegistry as ji, DEFAULT_WAKE_DEBOUNCE_MS as jl, delegationProfiles as jm, ChatTransportExecutorOptions as jn, FanoutOptions as jo, FleetWorkspaceExecutorOptions as jp, LocalMcpMaterialization as jr, DeclaredCheckPlacement as js, InteractiveWorkerEnvironment as jt, readRunCancelRequest as ju, WorktreeFanoutOptions as k, breadthStrategy as ka, ObserverRecordKind as kc, defaultAuditorInstruction as kd, SettledWorker as kf, HaltContext as kh, trajectoryReport as ki, supervisorAgentWithTestBrain as kl, UiAuditLensFilter as km, ChatCompletionsTransport as kn, EqualKVerdict as ko, DelegationExecutor as kp, strategyAuthorContract as kr, defineLeaderboard as ks, WorktreePatchArtifact as kt, legacySupervisorRunDir as ku, createVerifierEnvironment as l, Environment as la, PURSUIT_OBSERVER_DELIVERY_PATH as lc, AxisScoresOf as ld, DownMessageAuthorizationInput as lf, ProfileMaterializationContract as lg, SqlRunOwnershipError as lh, recoverRetainedRun as li, createSupervisorSpanRecorder as ll, DelegateResearchConfig as lm, kernelPromptRegistry as ln, HarvestError as lo, DelegateError as lp, modelAuthoredChecks as lr, LoopShape as ls, parseWorkerToolTraceArtifact as lt, CoordinationMcpHandle as lu, SurfaceReadOutcome as m, AgenticSurface as ma, PursuitCostProvenance as mc, LeaderboardRow as md, EventAcknowledgement as mf, defineProfileMaterializationContract as mg, SqlAdapter as mh, reconnectRetainedInteractiveRun as mi, DriveHarnessOwnerContext as ml, DelegateUiAuditRoute as mm, DispatchUnit as mn, ObservationAnalysis as mo, FeedbackEvent as mp, structuralRollout as mr, RunPersonified as ms, FencedSqlRunContext as mt, CoordinationHttpOptions as mu, AnalystFinding$1 as n, sanitizeMcpToolSchema as na, SupervisePursuitError as nc, CompletionEvidence as nd, ContinuationInstruction as nf, contentAddress as ng, defaultToolDetectors as nh, probeSandboxCapabilities as ni, createFileRunContext as nl, hashIdempotencyInput as nm, RegisteredPrompt as nn, localSandboxClient as no, McpServerOptions as np, VisibleCheck as nr, Widen as ns, localShell as nt, FinalizerSettled as nu, computeFindingId$1 as o, BenchmarkReport as oa, FORK_PARENT_UNCERTAIN_NODES_KEY as oc, deterministicCompletion as od, CoordinationTools as of, CanonicalAgentProfileMaterializationAxis as og, gateOnDeliverable as oh, S3PrivateCasStoreOptions as oi, SupervisorSpanOptions as ol, DelegateFeedbackArgs as om, dumbContinuationFailPrompt as on, InProcessSandboxClientOptions as oo, DELEGATE_INPUT_SCHEMA as op, defaultExtractCandidate as or, WinnerStrategy as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, pickBestDelivered as ou, SurfaceReadBox as p, AgenticRunResult as pa, deliverPursuitObserver as pc, LeaderboardOptions as pd, EscalateQuestion as pf, controlProfileMaterialization as pg, D1StmtLike as ph, claimRetainedInteractiveControl as pi, DriveHarness as pl, DelegateUiAuditResult as pm, DispatchStopReason as pn, Observation as po, validateDelegateArgs as pp, selectBestIndex as pr, PersonaExecutors as ps, createSupervisor as pt, CoordinationHttpAudit as pu, copyUntrackedIntoClone as q, defaultSelectWinner as qa, WorkerSpawnRetryPolicy as qc, AnalystLensOutput as qd, ResolvedSpawnResourcePath as qf, SpawnForestEvent as qh, RegistryAnalyzeProjection as qi, noProgressFor as ql, InMemoryDelegationStore as qm, CheckRunContext as qn, ScopeAnalyzeInput as qo, DelegationRecord as qp, BranchCapableBox as qr, PursuitVersionChain as qs, GraphResult as qt, workerInboxFile as qu, CreateSandboxOptions$1 as r, BenchmarkCell as ra, SupervisePursuitOptions as rc, CompletionPolicy as rd, ContinuityMode as rf, AGENT_PROFILE_MATERIALIZATION_AXES as rg, watchTrace as rh, AcquireOptions as ri, createInMemoryRunContext as rl, DelegateCodeArgs as rm, analyzesFindingsReportPrompt as rn, inlineSandboxClient as ro, createInProcessTransport as rp, canDisplace as rr, WidenDecision as rs, runInWorkspace as rt, SupervisorFinalizer as ru, makeFinding$1 as s, BenchmarkStrategySummary as sa, PursuitFork as sc, sentinelCompletion as sd, CoordinationToolsOptions as sf, DefineProfileMaterializationContractOptions as sg, mapExecutorResult as sh, createS3PrivateCasStore as si, SupervisorSpanOutcome as sl, DelegateFeedbackResult as sm, dumbContinuationPassPrompt as sn, inProcessSandboxClient as so, DELEGATE_TOOL_NAME as sp, defaultStructuralRolloutPolicy as sr, DefinePersona as ss, WorkerToolTraceArtifact as st, runFinalizer as su, AgentProfile$2 as t, createMcpEnvironment as ta, pursuitVersionsLedgerPath as tc, CompletionAnalyst as td, AwaitWakeInput as tf, replaySpawnTree as tg, WatchTraceOptions as th, SandboxCapabilities as ti, RunContextLease as tl, SubmitOutput as tm, PromptRegistry as tn, LocalSandboxClientOptions as to, McpServer as tp, StructuralRolloutResult as tr, VerifySpec as ts, jjWorkspace as tt, FinalizeContext as tu, BoxSurfaceReaderOptions as u, printBenchmarkReport as ua, PursuitObserverDelivery as uc, GroupOf as ud, DownMessageDeliveryAttempt as uf, ProfileMaterializationIssue as ug, SqlRunStoreOptions as uh, startRetainedRun as ui, CoordinationBinding as ul, DelegateResearchResult as um, naiveContinuationPrompt as un, HarvestFailure as uo, DelegateHandlerOptions as up, officialChecksFromMeta as ur, Outcome as us, workerTraceAnalysisStore as ut, CoordinationPublicAddress as uu, fsSurfaceReader as v, CorpusReadbackOptions as va, PursuitNodeProjection as vc, ScoreOf as vd, ManagerWake as vf, promptModelProfileMaterialization as vg, ConversationJournalEntry as vh, resolveSandboxClient as vi, ResolvedSupervisorProfile as vl, DelegationHistoryEntry as vm, rollingDispatch as vn, defaultAnalystInstruction as vo, CoderDelegate as vp, EvolutionStrategy as vr, ShapeRegistry as vs, ScopeArgs as vt, FileCoordinationLog as vu, SurfaceWorkerOut as w, StrategyMessage as wa, PursuitStatus as wc, renderPairwiseMarkdown as wd, QuestionLevel as wf, worktreeCliProfileMaterialization as wg, ConversationParticipant as wh, PrivateCasDurableStore as wi, SupervisorToolDescriptor as wl, DelegationStatusArgs as wm, finalizeBestDelivered as wn, CorpusFilter as wo, SettleDetachedCoderTurnOptions as wp, strategyTournament as wr, LeaderboardIterationInfo as ws, SupervisorCleanupReceipt as wt, WorkerSteerAcknowledgement as wu, SuperviseSurfaceOptions as x, Strategy as xa, PursuitProjection as xc, renderLeaderboardHtml as xd, QuestionEscalationOutcome as xf, renderProfileMaterializationIssues as xg, AuthSource as xh, assertModelAllowed as xi, SupervisorNodeContext as xl, DelegationProgress as xm, delegate as xn, AssertTraceDerivedFindings as xo, DelegateRunCtx as xp, TournamentCell as xr, LeaderboardBenchTask as xs, ProvisionSupervisorConnection as xt, RunCancellation as xu, harvestSurfaceDiffs as y, RunAgenticOptions as ya, PursuitNodeTiming as yc, leaderboard as yd, Question as yf, promptOnlyProfileMaterialization as yg, FileConversationJournal as yh, profileChatClient as yi, SupervisorAgentDeps as yl, DelegationHistoryResult as ym, DelegateOptions as yn, observe as yo, CoderReview as yp, StrategyEvolutionConfig as yr, DefinedLeaderboard as ys, createScope as yt, PriorCoordination as yu, NOTE_MAX_CHARS as z, SuperviseDispatchOptions as za, SuperviseRegistryTable as zc, WaterfallReport as zd, analystToolGroupNames as zf, SqlResultBlobStore as zh, flatWidenGate as zi, ProgressTrackerOptions as zl, capDelegationTrace as zm, ProfileRichnessThresholds as zn, PanelJudge as zo, DriveTurnTick as zp, Deliverable as zr, IsolatedCheckBox as zs, InPlaceCliExecutorOptions as zt, safeWorkerFile as zu };
|
|
11366
|
-
//# sourceMappingURL=index-
|
|
10727
|
+
export { WORKER_TOOL_TRACE_SCHEMA_VERSION as $, Observation as $a, SupervisorNodeContext as $c, QuestionUrgency as $d, settleDetachedCoderTurn as $f, AgenticRunResult as $i, WorkerCancellation as $l, replaySpawnTree as $m, filterAuthoredAsserts as $n, PersonaExecutors as $o, ResearchOutputShape as $p, claimRetainedInteractiveControl as $r, PursuitNodeUsage as $s, formatPromptHandle as $t, renderLeaderboardSvg as $u, readWorkerInteractiveBinding as A, RunAgentRoundsOptions as Aa, InMemoryRunContext as Ac, CoordinationStats as Ad, DELEGATE_DESCRIPTION as Af, verify as Ai, DeliveredOutput as Al, ExecutorResultMapping as Am, ProfileRichnessThresholds as An, RenderCorpusToInstructions as Ao, DelegateCodeResult as Ap, Deliverable as Ar, JudgedPursuitVersion as As, InPlaceCliExecutorOptions as At, writeWorkerSteer as Au, copyUntrackedIntoClone as B, captureBeforeDestroy as Ba, SupervisorSpanRecorder as Bc, LeadMessage as Bd, FeedbackStore as Bf, McpEnvironmentOptions as Bi, CoordinationPublicAddress as Bl, d1ToSqlAdapter as Bm, CheckSource as Bn, Verify as Bo, DelegationError as Bp, SandboxLineageHandle as Br, SupervisePursuitError as Bs, RunGraphTestOptions as Bt, GroupOf as Bu, AuthoredHarness as C, LoopDispatchOptions as Ca, WorkerSpawnRetryAttempt as Cc, AuthoredAnalystLimits as Cd, environmentReader as Cf, renderCorpusToInstructions as Ci, noProgressFor as Cl, EventBus as Cm, ChatTransportTool as Cn, LoopUntilState as Co, DelegationTaskQueue as Cp, MaterializeLocalMcpOptions as Cr, declaredCheckJudge as Cs, createWorktreeCliExecutor as Ct, workerInboxFile as Cu, WorkerInteractiveBinding as D, loopCampaignDispatch as Da, resolveWorkerSpawnRetry as Dc, ContinuationInstruction as Dd, McpServerOptions as Df, panel as Di, ReentryTaskInput as Dl, defaultToolDetectors as Dm, createChatSessionStore as Dn, PanelVerdict as Do, hashIdempotencyInput as Dp, StdioMcpServerSpec as Dr, IsolatedCheckOptions as Ds, InteractiveWorkerResult as Dt, workerSteerRequestFile as Du, AttachWorkerOptions as E, SuperviseOptionsForDispatch as Ea, isPreSpawnExecutorFailure as Ec, AwaitWakeInput as Ed, McpServer as Ef, loopUntil as Ei, ReentryContinuity as El, WatchTraceOptions as Em, chatWorkerSeam as En, PanelSpec as Eo, SubmitOutput as Ep, StdioMcpConnection as Er, IsolatedCheckBoxEvidence as Es, InteractiveWorkerOptions as Et, workerSteerAcknowledgementsDir as Eu, closingWorkerNote as F, runAgentRounds as Fa, createInMemoryRunContext as Fc, DownMessageDeliveryAttempt as Fd, DelegateHandlerOptions as Ff, buildSteerContext as Fi, collectDelivered as Fl, SqlRunStoreOptions as Fm, supervisorInstructions as Fn, SteerContext as Fo, DelegateResearchResult as Fp, SandboxRunAbortError as Fr, PursuitVersions as Fs, GraphEdge as Ft, completionAuthorizes as Fu, WorkspaceCommit as G, InProcessPromptCtx as Ga, DriveHarness as Gc, QuestionDecision as Gd, CoderReviewer as Gf, BenchmarkLift as Gi, CoordinationDeliveryEvidence as Gl, SpawnForest as Gm, StructuralRolloutPolicy as Gn, WidenSpec as Go, DelegationProfile as Gp, S3PrivateCasStore as Gr, RUN_FORK_CORRELATION_KEYS as Gs, PromptHandle as Gt, PairwiseOptions as Gu, GitWorkspaceOptions as H, localSandboxClient as Ha, CoordinationBinding as Hc, ManagerReentryState as Hd, eventToSnapshot as Hf, sanitizeMcpToolSchema as Hi, serveCoordinationMcp as Hl, FileSpawnJournal as Hm, RepairStop as Hn, Widen as Ho, DelegationHistoryArgs as Hp, createSandboxLineage as Hr, SupervisedPursuitResult as Hs, defaultEdgeTraversalCap as Ht, Leaderboard as Hu, composeWorkerEvidence as I, SandboxEvidenceContext as Ia, withRunContext as Ic, DownMessageDeliveryOutcome as Id, DelegateResult as If, createScopeAnalyst as Ii, pickBestDelivered as Il, openSqlRunStore as Im, CheckExecChannel as In, TrajectoryNode as Io, DelegateUiAuditArgs as Ip, TurnResult as Ir, SettledPursuitVersion as Is, GraphEdgeCapError as It, deterministicCompletion as Iu, jjWorkspace as J, HarvestCorpusOptions as Ja, ResolveDriveHarness as Jc, QuestionEscalationTarget as Jd, DetachedWinnerSelection as Jf, BenchmarkTaskRow as Ji, FileCoordinationLog as Jl, SpawnForestMissingTree as Jm, canDisplace as Jn, DefinePersonaInput as Jo, DelegationStatus as Jp, reconnectRetainedRun as Jr, PursuitNodeCost as Js, analyzesFindingsReportPrompt as Jt, ScoreOf as Ju, WorkspaceRun as K, InProcessSandboxClientOptions as Ka, DriveHarnessOwnerContext as Kc, QuestionEscalationOutcome as Kd, DelegateRunCtx as Kf, BenchmarkReport as Ki, CoordinationLog as Kl, SpawnForestEvent as Km, StructuralRolloutResult as Kn, WinnerStrategy as Ko, DelegationProgress as Kp, S3PrivateCasStoreOptions as Kr, PursuitObserverDelivery as Ks, PromptRegistry as Kt, PairwiseVerdict as Ku, settledWorkerOut as L, SandboxEvidenceReceipt as La, SupervisorSpanAttributes as Lc, DownMessageEvent as Ld, createDelegateHandler as Lf, registryScopeAnalyst as Li, runFinalizer as Ll, D1DatabaseLike as Lm, CheckOutcome as Ln, TrajectoryReport as Lo, DelegateUiAuditConfig as Lp, openSandboxRun as Lr, VersionJudge as Ls, GraphNode as Lt, sentinelCompletion as Lu, NOTE_MAX_CHARS as M, TerminalDecision as Ma, RunContext as Mc, CoordinationToolsOptions as Md, DELEGATE_TOOL_NAME as Mf, CreateScopeAnalystOptions as Mi, FinalizerSettled as Ml, mapExecutorResult as Mm, assessAuthoredProfile as Mn, ScopeAnalyst as Mo, DelegateFeedbackResult as Mp, OpenSandboxRunOptions as Mr, NextPursuitVersionInput as Ms, AgentGraph as Mt, CompletionEvidence as Mu, VERIFY_TAIL_CHARS as N, defaultSelectWinner as Na, RunContextLease as Nc, DefinedAnalystRecord as Nd, DelegateArgs as Nf, RegistryAnalyzeProjection as Ni, SupervisorFinalizer as Nl, SqlRunLease as Nm, defaultProfileRichnessThresholds as Nn, ScopeAnalyzeInput as No, DelegateResearchArgs as Np, OpenSandboxRunPromptOptions as Nr, PursuitVersionChain as Ns, EdgeDeliveryOutcome as Nt, CompletionPolicy as Nu, WorkerInteractiveProviderSource as O, loopDispatch as Oa, retryPreSpawnRefusals as Oc, ContinuityMode as Od, createInProcessTransport as Of, pipeline as Oi, UNPROVEN_CONTINUITY as Ol, watchTrace as Om, AuthoredProfile as On, Pipeline as Oo, DelegateCodeArgs as Op, connectStdioMcp as Or, IsolatedCheckResult as Os, workerFromInteractiveProvider as Ot, workerSteerRequestsDir as Ou, WorkerEvidenceInput as P, isTerminalDecision as Pa, createFileRunContext as Pc, DownMessageAuthorizationInput as Pd, DelegateError as Pf, assertTraceDerivedFindings as Pi, bestDelivered as Pl, SqlRunOwnershipError as Pm, profileRichnessFinding as Pn, ScopeWidenGate as Po, DelegateResearchConfig as Pp, SandboxRun as Pr, PursuitVersionStop as Ps, EdgeTraversal as Pt, CompletionVerdict as Pu, analyzeTrace as Q, harvestCorpus as Qa, SupervisorAgentTestDeps as Qc, QuestionRecord as Qd, detachedSessionDelegate as Qf, AgenticOptions as Qi, WorkerCancelRequest as Ql, materializeTreeView as Qm, defaultStructuralRolloutPolicy as Qn, PersonaContext as Qo, FeedbackRefersTo as Qp, ClaimRetainedInteractiveControlOptions as Qr, PursuitNodeTiming as Qs, dumbContinuationPassPrompt as Qt, renderLeaderboardMarkdown as Qu, CopyOptions as R, SandboxEvidenceRetentionError as Ra, SupervisorSpanOptions as Rc, EscalateQuestion as Rd, validateDelegateArgs as Rf, observationFromRegistry as Ri, CoordinationAuthentication as Rl, D1StmtLike as Rm, CheckRunContext as Rn, TrajectoryReportFn as Ro, DelegateUiAuditResult as Rp, BranchCapableBox as Rr, VersionVerdict as Rs, GraphResult as Rt, stopSentinel as Ru, failuresAnalyst as S, LoopCampaignDispatchOptions as Sa, ResolvedWorkerSpawnRetry as Sc, AuthoredAnalystDefinition as Sd, SpawnResourceReader as Sf, worktreeCliProfileMaterialization as Sh, InMemoryCorpus as Si, createProgressTracker as Sl, BusStats as Sm, ChatTransportExecutorOptions as Sn, LoopUntilSpec as So, DelegationRunContext as Sp, LocalMcpMaterialization as Sr, declaredCheckDigest as Ss, WorktreePatchArtifact as St, workerControlLogFile as Su, worktreeFanout as T, SuperviseDispatchOptions as Ta, WorkerSpawnRetryPolicy as Tc, AuthorizedDownMessage as Td, resolveSpawnResourcePaths as Tf, flatWidenGate as Ti, sampleFromSettled as Tl, createEventBus as Tm, chatTransportExecutor as Tn, PanelJudge as To, SubmitInput as Tp, McpToolDescriptor as Tr, IsolatedCheckBox as Ts, InteractiveWorkerKeyInput as Tt, workerSteerAcknowledgementFile as Tu, Shell as U, inlineSandboxClient as Ua, CoordinationToolFace as Uc, ManagerWake as Ud, CoderDelegate as Uf, BenchmarkCell as Ui, CoordinationHttpAudit as Ul, InMemoryResultBlobStore as Um, StructuralRolloutConfig as Un, WidenDecision as Uo, DelegationHistoryEntry as Up, AcquireOptions as Ur, supervisePursuit as Us, runGraph as Ut, LeaderboardOptions as Uu, withUntrackedArtifacts as V, LocalSandboxClientOptions as Va, createSupervisorSpanRecorder as Vc, MakeWorkerAgent as Vd, InMemoryFeedbackStore as Vf, createMcpEnvironment as Vi, CoordinationTransportOptions as Vl, FileResultBlobStore as Vm, CheckSourceCtx as Vn, VerifySpec as Vo, DelegationFeedbackSnapshot as Vp, SessionCapableBox as Vr, SupervisePursuitOptions as Vs, TraversalContinuity as Vt, Interval as Vu, Workspace as W, InProcessOnPrompt as Wa, CoordinationVerbs as Wc, Question as Wd, CoderReview as Wf, BenchmarkConfig as Wi, CoordinationHttpOptions as Wl, InMemorySpawnJournal as Wm, StructuralRolloutMessage as Wn, WidenLineage as Wo, DelegationHistoryResult as Wp, acquireSandbox as Wr, PursuitFork as Ws, runGraphWithTestBrain as Wt, LeaderboardRow as Wu, runInWorkspace as X, HarvestFailure as Xa, ResolvedSupervisorProfile as Xc, QuestionOption as Xd, UiAuditorDelegate as Xf, printBenchmarkReport as Xi, RunCancelRequest as Xl, SpawnForestTree as Xm, composeCheckSources as Xn, Outcome as Xo, DelegationStatusResult as Xp, startRetainedRun as Xr, PursuitNodePlatform as Xs, delegatesWorkerBriefPrompt as Xt, pairwiseSignificance as Xu, localShell as Y, HarvestError as Ya, ResolveSupervisorTools as Yc, QuestionLevel as Yd, SettleDetachedCoderTurnOptions as Yf, Environment as Yi, PriorCoordination as Yl, SpawnForestNode as Ym, compareCheckOutcomes as Yn, LoopShape as Yo, DelegationStatusArgs as Yp, recoverRetainedRun as Yr, PursuitNodePlacement as Ys, createPromptRegistry as Yt, leaderboard as Yu, TrajectoryAnalysis as Z, HarvestReport as Za, SupervisorAgentDeps as Zc, QuestionPolicy as Zd, coderTaskFromArgs as Zf, runBenchmark as Zi, RunCancellation as Zl, loadSpawnForest as Zm, defaultExtractCandidate as Zn, Persona as Zo, FeedbackRating as Zp, startRetainedRunInEnvironment as Zr, PursuitNodeProjection as Zs, dumbContinuationFailPrompt as Zt, renderLeaderboardHtml as Zu, boxSurfaceReader as _, depthStrategy as _a, SuperviseRegistryTable as _c, AnalystKind as _d, ResolveSpawnResourcePathsResult as _f, promptOnlyProfileMaterialization as _h, createShapeRegistry as _i, StopDecision as _l, FileDelegationStoreOptions as _m, CodeModeRunner as _n, FanoutOptions as _o, DelegationArgs as _p, AuthoredStrategy as _r, DeclaredCheckPlacement as _s, SupervisorCleanupReceipt as _t, supervisorRunsRoot as _u, SandboxInstance$1 as a, RunAgenticOptions as aa, FileObserverJournal as ac, areaUnderCurve as ad, SuperviseProfileEntry as af, DefineProfileMaterializationContractOptions as ah, profileChatClient as ai, resolveSupervisorProfile as al, DELEGATION_TRACE_MAX_SPANS as am, DispatchUnit as an, observe as ao, createSiblingSandboxExecutor as ap, structuralRollout as ar, DefinedLeaderboard as as, createRootHandle as at, legacySupervisorRunDir as au, AnalystAuthoring as b, sample as ba, superviseWithTestBrain as bc, AnalystToolGroupName as bd, SpawnResourceBytes as bf, sandboxActProfileMaterialization as bh, runPersonified as bi, allWorkersStalled as bl, BusEvent as bm, ChatCompletionsTransport as bn, FlatWidenGate as bo, DelegationResumeDriver as bp, strategyAuthorContract as br, checkProgramDigest as bs, patchDelivered as bt, workerCancellationFile as bu, VerifierEnvironmentOptions as c, StrategyArtifacts as ca, ObserverRecordKind as cc, renderAnytimeTable as cd, WorkerSpawnContext as cf, ProfileMaterializationIssue as ch, assertProfileModelsAllowed as ci, DEFAULT_DEADLINE_WARNING_MS as cl, DelegationTraceSpan as cm, queueOf as cn, CombinatorShape as co, DetachedTurnResumeDriverOptions as cp, EvolutionReport as cr, LeaderboardBenchmarkAdapter as cs, SqlRunContextOptions as ct, readRunCancellation as cu, HarvestSurfaceDiffsOptions as d, StrategyResult as da, AuthorizedSpawn as dc, WaterfallSpan as dd, canonicalFindingEvent as df, controlProfileMaterialization as dh, PrivateCasOffloadReport as di, NoProgressForOptions as dl, composeLoopTraceEmitters as dm, defaultDelegateBudget as dn, CorpusRecord as do, RunDetachedTurnOptions as dp, StrategyTournament as dr, LeaderboardRunContext as ds, ScopeArgs as dt, readWorkerSteerAcknowledgement as du, AgenticSurface as ea, PursuitProjection as ec, renderPairwiseMarkdown as ed, SettledWorker as ef, contentAddress as eh, reconnectRetainedInteractiveRun as ei, SupervisorNodeContextSeed as el, UiAuditLensFilter as em, kernelPromptRegistry as en, ObservationAnalysis as eo, DelegationExecutor as ep, modelAuthoredChecks as er, RunPersonified as es, WorkerToolTraceArtifact as et, WorkerSteerAcknowledgement as eu, SurfaceDiff as f, StrategyShotResult as fa, AuthorizedSpawnContext as fc, createWaterfallCollector as fd, createCoordinationTools as ff, defineProfileMaterializationContract as fh, PrivateCasOptions as fi, PlateauOptions as fl, createDelegationTraceCollector as fm, delegate as fn, EqualKArm as fo, createDetachedTurnResumeDriver as fp, TournamentCell as fr, LeaderboardScenario as fs, createScope as ft, readWorkerSteerRequests as fu, WatchedSurface as g, defineStrategy as ga, SuperviseRegistry as gc, AnalystFindingEvent as gd, questionEscalationTargets as gf, promptModelProfileMaterialization as gh, builtinShapes as gi, ProgressView as gl, FileDelegationStore as gm, CodeModeOptions as gn, Fanout as go, runDetachedTurn as gp, AuthorStrategyOptions as gr, DeclaredCheck as gs, ProvisionedSupervisor as gt, supervisorRunDir as gu, SurfaceReader as h, breadthStrategy as ha, SuperviseOptions as hc, AnalystDefinitionIssue as hd, parseAuthoredAnalystDefinition as hf, promptControlProfileMaterialization as hh, trajectoryReport as hi, ProgressTrackerOptions as hl, DelegationStore as hm, finalizeBestDelivered as hn, EqualKVerdict as ho, parseDetachedSessionRef as hp, strategyTournament as hr, defineLeaderboard as hs, ProvisionSupervisorRequest as ht, safeWorkerFile as hu, SandboxEvent$1 as i, CorpusReadbackOptions as ia, projectPursuit as ic, anytimeReport as id, SpawnRefusalCause as if, CanonicalAgentProfileMaterializationAxis as ih, resolveSandboxClient as ii, assertCoordinationBinding as il, DELEGATION_TRACE_MAX_BYTES as im, DispatchStopReason as in, defaultAnalystInstruction as io, createFleetWorkspaceExecutor as ip, selectBestIndex as ir, ShapeRegistry as is, DEFAULT_MAX_DEPTH as it, cancelWorker as iu, EVIDENCE_MAX_CHARS as j, TERMINAL_DECISIONS as ja, InMemoryRunContextOptions as jc, CoordinationTools as jd, DELEGATE_INPUT_SCHEMA as jf, widen as ji, FinalizeContext as jl, gateOnDeliverable as jm, asAuthoredProfile as jn, RenderCorpusToInstructionsOptions as jo, DelegateFeedbackArgs as jp, OpenSandboxRunBeforeStartContext as jr, NextPursuitVersion as js, createInPlaceCliExecutor as jt, CompletionAnalyst as ju, attachWorker as k, superviseDispatch as ka, withWorkerSpawnRetry as kc, CoordinationEvent as kd, createMcpServer as kf, selectValidWinner as ki, composeReentryTask as kl, DeliverableSpec as km, ProfileRichness as kn, PipelineStage as ko, DelegateCodeConfig as kp, materializeLocalMcp as kr, runIsolatedCheck as ks, WorkerInteractiveAdmission as kt, workerSteersDir as ku, createVerifierEnvironment as l, StrategyCtx as la, observerRecordDigest as lc, WaterfallCollector as ld, WorkerWatchOptions as lf, ValidateProfileMaterializationOptions as lh, PrivateCasArtifactPort as li, ManagerWakePolicy as ll, buildDelegationTraceSpans as lm, rollingDispatch as ln, Corpus as lo, DriveTurnCapableBox as lp, EvolutionStrategy as lr, LeaderboardFlagSpec as ls, createFencedSqlRunContext as lt, readWorkerCancelRequests as lu, SurfaceReadOutcome as m, adaptiveRefine as ma, DeliverableResolutionInput as mc, AnalystAssignmentRecord as md, normalizeAnalyzeOnSettle as mf, profileMaterializationAxes$1 as mh, equalKOnCost as mi, ProgressTracker as ml, DelegationStateCorruptError as mm, driverAgent as mn, EqualKOnCostOptions as mo, formatDetachedSessionRef as mp, runStrategyEvolution as mr, LeaderboardSpec as ms, ProvisionSupervisorConnection as mt, runCancellationFile as mu, AnalystFinding$1 as n, AgenticTool as na, PursuitRunTotals as nc, AnytimeStrategySummary as nd, SpawnPreflightContext as nf, AgentProfileMaterializationAxis as nh, startRetainedInteractiveRun as ni, SupervisorToolDescriptor as nl, delegationProfiles as nm, promptHandle as nn, ObserveInput as no, FleetWorkspaceExecutorOptions as np, resolveEntrySymbol as nr, ShapeBudget as ns, parseWorkerToolTraceArtifact as nt, WriteWorkerSteerOptions as nu, computeFindingId$1 as o, ShotSpec as oa, ObserverJournal as oc, bestSoFar as od, ToolOutcomeEvent as of, KnownAgentProfileMaterializationAxis as oh, profileOptimizerModelCall as oi, supervisorAgent as ol, DelegationTraceCaps as om, RollingDispatchOptions as on, renderReport as oo, DetachedSessionRefParts as op, visibleCheckScore as or, LeaderboardBenchScore as os, createSupervisor as ot, legacySupervisorRunsRoot as ou, SurfaceReadBox as p, SurfaceScore as pa, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as pc, ANALYST_DEFINITION_BOUNDS as pd, downMessageRefusalReasons as pf, fullProfileMaterialization as ph, createPrivateCasArtifactPort as pi, ProgressSample as pl, DelegationPersistenceError as pm, DriverAgentOptions as pn, EqualKOnCost as po, detachedTurnEvents as pp, TournamentRow as pr, LeaderboardScore as ps, settledToIteration as pt, runCancelRequestFile as pu, gitWorkspace as q, inProcessSandboxClient as qa, ObserveSupervisorNodeEvent as qc, QuestionEscalationRecord as qd, DetachedSessionDelegateOptions as qf, BenchmarkStrategySummary as qi, CoordinationOwnerId as ql, SpawnForestInDoubtNode as qm, VisibleCheck as qn, DefinePersona as qo, DelegationResultPayload as qp, createS3PrivateCasStore as qr, PursuitCostProvenance as qs, RegisteredPrompt as qt, ProfileKeyOf as qu, CreateSandboxOptions$1 as r, ArtifactHandle as ra, PursuitStatus as rc, AnytimeTaskCurve as rd, SpawnRefusal as rf, AssertProfileMaterializationOptions as rh, ResolveSandboxClientOptions as ri, SupervisorToolInvocationContext as rl, CappedDelegationTrace as rm, DispatchReport as rn, ObserveOptions as ro, SiblingSandboxExecutorOptions as rp, sandboxCheckRunner as rr, ShapeContext as rs, workerTraceAnalysisStore as rt, cancelRun as ru, makeFinding$1 as s, Strategy as sa, ObserverRecord as sc, plateauLength as sd, WorkerResumeContext as sf, ProfileMaterializationContract as sh, assertModelAllowed as si, supervisorAgentWithTestBrain as sl, DelegationTraceCollector as sm, freeSlots as sn, AssertTraceDerivedFindings as so, DetachedTurn as sp, EvolutionAuthor as sr, LeaderboardBenchTask as ss, FencedSqlRunContext as st, readRunCancelRequest as su, AgentProfile$2 as t, AgenticTask as ta, PursuitRunProjection as tc, AnytimeReport as td, SpawnPreflight as tf, AGENT_PROFILE_MATERIALIZATION_AXES as th, recoverRetainedInteractiveRun as ti, SupervisorProfile as tl, UiAuditorDelegationOutput as tm, naiveContinuationPrompt as tn, ObservationError as to, FleetHandle as tp, officialChecksFromMeta as tr, RunPersonifiedOptions as ts, captureWorkerTraceEvidence as tt, WorkerSteerRequest as tu, BoxSurfaceReaderOptions as u, StrategyMessage as ua, verifyObserverRecords as uc, WaterfallReport as ud, analystToolGroupNames as uf, assertProfileMaterialization as uh, PrivateCasDurableStore as ui, AllWorkersStalledOptions as ul, capDelegationTrace as um, DelegateOptions as un, CorpusFilter as uo, DriveTurnTick as up, StrategyEvolutionConfig as ur, LeaderboardIterationInfo as us, SUBTREE_RESULT_LIMIT as ut, readWorkerCancellation as uu, fsSurfaceReader as v, refine as va, SuperviseTestOptions as vc, AnalystLensOutput as vd, ResolvedSpawnResourcePath as vf, promptResourceProfileMaterialization as vh, registerShape as vi, StopRule as vl, InMemoryDelegationStore as vm, codeModeSupervisorTools as vn, FanoutSynthesis as vo, DelegationRecord as vp, assertStrategyContract as vr, DeclaredCheckStateCapture as vs, provisionSupervisor as vt, supervisorWorkersDir as vu, WorktreeFanoutOptions as w, LoopOptionsForDispatch as wa, WorkerSpawnRetryHooks as wc, AuthorizeDownMessage as wd, hostDirectoryReader as wf, fanout as wi, plateau as wl, PublishOptions as wm, ChatWorkerSeamOptions as wn, Panel as wo, DelegationTaskQueueOptions as wp, McpSpawnFault as wr, readDeclaredCheck as ws, InteractiveWorkerEnvironment as wt, workerInboxFileFromEventDir as wu, analystsFromRegistry as x, sampleThenRefine as xa, workerFromBackend as xc, AnalyzeOnSettleRoute as xd, SpawnResourceRead as xf, validateProfileMaterialization as xh, FileCorpus as xi, anyOf as xl, BusRecord as xm, ChatSessionStore as xn, LoopUntil as xo, DelegationResumeTick as xp, strategyAuthorSystemPrompt as xr, declaredCheckDeliverable as xs, WorktreeCliExecutorOptions as xt, workerCancellationsDir as xu, harvestSurfaceDiffs as y, runAgentic as ya, supervise as yc, AnalystRegistry$1 as yd, SPAWN_RESOURCE_PATH_MAX_BYTES as yf, renderProfileMaterializationIssues as yh, definePersona as yi, allOf as yl, CoderOutput as ym, unsafeInProcessRunner as yn, FanoutWinnerSelector as yo, DelegationResumeContext as yp, authorStrategy as yr, assertDeclaredCheck as ys, PatchDeliverableOptions as yt, workerCancelRequestsFile as yu, UntrackedCopyStats as z, SandboxEvidenceRetentionPort as za, SupervisorSpanOutcome as zc, EventAcknowledgement as zd, FeedbackEvent as zf, McpEndpoint as zi, CoordinationMcpHandle as zl, SqlAdapter as zm, CheckRunner as zn, TrajectoryReportOptions as zo, DelegateUiAuditRoute as zp, SandboxLineage as zr, assertPursuitVersions as zs, RunGraphOptions as zt, AxisScoresOf as zu };
|
|
10728
|
+
//# sourceMappingURL=index-DflDZq_I.d.ts.map
|