@tangle-network/agent-runtime 0.338.0 → 0.339.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activation-CsbNax2X.d.ts → activation-CJIIl_Ey.d.ts} +4 -24
- package/dist/{activation-kbkAuSmY.js → activation-CVSFxis9.js} +5 -18
- package/dist/{activation-kbkAuSmY.js.map → activation-CVSFxis9.js.map} +1 -1
- package/dist/agent.d.ts +4 -4
- package/dist/agent.js +3 -3
- package/dist/{bundle-DM60AI2B.js → bundle-DVOhBTic.js} +2 -2
- package/dist/{bundle-DM60AI2B.js.map → bundle-DVOhBTic.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +4 -63
- package/dist/candidate-execution/index.js +6 -145
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{delegate-Se1YZKMb.js → delegate-CCWE_AkU.js} +2 -2
- package/dist/{delegate-Se1YZKMb.js.map → delegate-CCWE_AkU.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-T2a1Ouay.js → driver-control-acknowledgers-C53ggdJ6.js} +12 -8
- package/dist/driver-control-acknowledgers-C53ggdJ6.js.map +1 -0
- package/dist/{durable-file-B_eJr6Mb.js → durable-file-gNI9ILAn.js} +1 -3
- package/dist/durable-file-gNI9ILAn.js.map +1 -0
- package/dist/durable.d.ts +3 -35
- package/dist/durable.js +10 -10
- package/dist/durable.js.map +1 -1
- package/dist/{graph-CY0wH838.js → graph-CI9JXKqO.js} +4 -4
- package/dist/graph-CI9JXKqO.js.map +1 -0
- package/dist/{graph-registry-By0tUj4S.js → graph-registry-BnO64cn8.js} +3 -3
- package/dist/{graph-registry-By0tUj4S.js.map → graph-registry-BnO64cn8.js.map} +1 -1
- package/dist/{improve-CWGBT13K.js → improve-BOXTLWJ3.js} +8 -35
- package/dist/improve-BOXTLWJ3.js.map +1 -0
- package/dist/{improvement-adapter-D5gwwoXQ.d.ts → improvement-adapter-HUt_-cWA.d.ts} +2 -20
- package/dist/index.d.ts +9 -206
- package/dist/index.js +91 -302
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +10 -142
- package/dist/intelligence.js +7 -81
- package/dist/intelligence.js.map +1 -1
- package/dist/{jsonl-file-DBv31uPi.js → jsonl-file-C9Kde_0Z.js} +2 -2
- package/dist/{jsonl-file-DBv31uPi.js.map → jsonl-file-C9Kde_0Z.js.map} +1 -1
- package/dist/kernel.d.ts +4 -3
- package/dist/kernel.js +12 -14
- package/dist/loop-runner-CWzG1bH4.d.ts +32 -0
- package/dist/loop-runner-bin.d.ts +32 -2
- package/dist/loop-runner-bin.js +93 -1
- package/dist/loop-runner-bin.js.map +1 -0
- package/dist/loop-runner-pmPIHFVY.js +59 -0
- package/dist/loop-runner-pmPIHFVY.js.map +1 -0
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +99 -418
- package/dist/mcp/index.js +121 -203
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.js +231 -1
- package/dist/mcp/memory-bin.js.map +1 -1
- package/dist/model-policy-CyCUwHed.js.map +1 -1
- package/dist/placement.d.ts +2 -9
- package/dist/placement.js +1 -1
- package/dist/placement.js.map +1 -1
- package/dist/platform.d.ts +188 -1
- package/dist/platform.js +129 -1
- package/dist/platform.js.map +1 -1
- package/dist/{prepare-Bt0IouPq.js → prepare-bXkvPMJA.js} +8 -160
- package/dist/prepare-bXkvPMJA.js.map +1 -0
- package/dist/{profile-Do-5xO_D.js → profile-Dpei_Sq0.js} +2 -2
- package/dist/profile-Dpei_Sq0.js.map +1 -0
- package/dist/{profile-materialization-BnoEf1co.d.ts → profile-materialization-B1wm2SPT.d.ts} +3 -5
- package/dist/profiles.d.ts +2 -2
- package/dist/profiles.js +3 -40
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-DGxQ8_YM.d.ts → protected-model-port-BGgpy2r9.d.ts} +3 -29
- package/dist/protected-redaction-DFCeo4vg.js.map +1 -1
- package/dist/{provision-supervisor-0jMufp4h.js → provision-supervisor-CJ6Zz6dz.js} +6 -6
- package/dist/{provision-supervisor-0jMufp4h.js.map → provision-supervisor-CJ6Zz6dz.js.map} +1 -1
- package/dist/{run-cancellation-BoW5Sg9Y.js → run-cancellation-C9oL62sW.js} +3 -7
- package/dist/{run-cancellation-BoW5Sg9Y.js.map → run-cancellation-C9oL62sW.js.map} +1 -1
- package/dist/{runtime-D37zRSs7.js → runtime-B2fjL9Oi.js} +2531 -2889
- package/dist/runtime-B2fjL9Oi.js.map +1 -0
- package/dist/{runtime-hooks-Bj6wJHlH.d.ts → runtime-hooks-nsqxSUFL.d.ts} +2 -6
- package/dist/{sandbox-profile-compat-xSoVtdWw.js → sandbox-profile-compat-BzVBFqrz.js} +2 -4
- package/dist/sandbox-profile-compat-BzVBFqrz.js.map +1 -0
- package/dist/{search-executor-DmgUm5p7.js → search-executor-zMumiak_.js} +3 -3
- package/dist/search-executor-zMumiak_.js.map +1 -0
- package/dist/{server-DQHJszfk.js → server-_4voDNrl.js} +362 -67
- package/dist/server-_4voDNrl.js.map +1 -0
- package/dist/{structural-rollout-DAvIE8mw.js → structural-rollout-DpLCXzaL.js} +80 -80
- package/dist/structural-rollout-DpLCXzaL.js.map +1 -0
- package/dist/{substrate-B0TYNrXn.js → substrate-CGDFTSRh.js} +2 -9
- package/dist/substrate-CGDFTSRh.js.map +1 -0
- package/dist/{supervise-WuPAwfPh.js → supervise-qAwXmPtD.js} +10 -57
- package/dist/supervise-qAwXmPtD.js.map +1 -0
- package/dist/{supervisor-CPG1I9UN.js → supervisor-DHrUJhEZ.js} +179 -236
- package/dist/supervisor-DHrUJhEZ.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +13 -13
- package/dist/testing.js.map +1 -1
- package/dist/tool-loop.d.ts +1 -1
- package/dist/{tool-server-Dqer2M4_.js → tool-server-XV4aJwoQ.js} +2 -2
- package/dist/tool-server-XV4aJwoQ.js.map +1 -0
- package/dist/top-snapshot-CbZE1JsU.js +502 -0
- package/dist/top-snapshot-CbZE1JsU.js.map +1 -0
- package/dist/tui/bin.js +711 -1
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +2 -70
- package/dist/tui/index.js +3 -3
- package/dist/{types-CrNWif8-.d.ts → types-CaOXqRTq.d.ts} +713 -2096
- package/dist/workspace-store/index.d.ts +2 -27
- package/dist/workspace-store/index.js +2 -2
- package/dist/workspace-store/index.js.map +1 -1
- package/dist/{workspace-streams-BZZds1Fw.d.ts → workspace-streams-BiS4ABah.d.ts} +3 -18
- package/package.json +1 -1
- package/skills/agent-graphs/references/authoring.md +3 -2
- package/dist/coder-yhVWbdWc.js +0 -40
- package/dist/coder-yhVWbdWc.js.map +0 -1
- package/dist/delegation-status-CF4D0NZ_.js +0 -358
- package/dist/delegation-status-CF4D0NZ_.js.map +0 -1
- package/dist/driver-control-acknowledgers-T2a1Ouay.js.map +0 -1
- package/dist/durable-file-B_eJr6Mb.js.map +0 -1
- package/dist/graph-CY0wH838.js.map +0 -1
- package/dist/improve-CWGBT13K.js.map +0 -1
- package/dist/integrations-6xttbPi9.d.ts +0 -190
- package/dist/integrations-dFi-ALk7.js +0 -132
- package/dist/integrations-dFi-ALk7.js.map +0 -1
- package/dist/kb-gate-C8z2juK8.d.ts +0 -80
- package/dist/kb-gate-DpaSwXVx.js +0 -80
- package/dist/kb-gate-DpaSwXVx.js.map +0 -1
- package/dist/loop-runner-bin-CFnrAHpl.d.ts +0 -164
- package/dist/loop-runner-bin-CdPlhy9g.js +0 -246
- package/dist/loop-runner-bin-CdPlhy9g.js.map +0 -1
- package/dist/memory-server-DXQ8IxGR.js +0 -234
- package/dist/memory-server-DXQ8IxGR.js.map +0 -1
- package/dist/openai-tools-DoQ32vpe.js +0 -44
- package/dist/openai-tools-DoQ32vpe.js.map +0 -1
- package/dist/openai-tools-zh2I_uD7.d.ts +0 -24
- package/dist/prepare-Bt0IouPq.js.map +0 -1
- package/dist/profile-Do-5xO_D.js.map +0 -1
- package/dist/runtime-D37zRSs7.js.map +0 -1
- package/dist/sandbox-profile-compat-xSoVtdWw.js.map +0 -1
- package/dist/search-executor-DmgUm5p7.js.map +0 -1
- package/dist/server-DQHJszfk.js.map +0 -1
- package/dist/structural-rollout-DAvIE8mw.js.map +0 -1
- package/dist/substrate-B0TYNrXn.js.map +0 -1
- package/dist/supervise-WuPAwfPh.js.map +0 -1
- package/dist/supervisor-CPG1I9UN.js.map +0 -1
- package/dist/tool-server-Dqer2M4_.js.map +0 -1
- package/dist/top-app-C55Wa7uy.js +0 -1214
- package/dist/top-app-C55Wa7uy.js.map +0 -1
|
@@ -126,7 +126,7 @@ async function upsertCommittedJsonLine(path, record, key) {
|
|
|
126
126
|
allowWhitespaceLines: true
|
|
127
127
|
})) if (key(prior) !== id) updated.push(prior);
|
|
128
128
|
updated.push(snapshot);
|
|
129
|
-
const { writeAtomicDurableFile } = await import("./durable-file-
|
|
129
|
+
const { writeAtomicDurableFile } = await import("./durable-file-gNI9ILAn.js").then((n) => n.r);
|
|
130
130
|
writeAtomicDurableFile(path, `${updated.map((row) => JSON.stringify(row)).join("\n")}\n`, { preserveMode: true });
|
|
131
131
|
}
|
|
132
132
|
/** FileHandle.write may legally make a short write. Loop until every byte is appended. */
|
|
@@ -203,4 +203,4 @@ function isNoEntError(error) {
|
|
|
203
203
|
//#endregion
|
|
204
204
|
export { readCommittedJsonLines as a, readCommittedJsonFile as i, isNoEntError as n, upsertCommittedJsonLine as o, prepareJsonlAppend as r, withJsonlFileLock as s, appendCommittedJsonLine as t };
|
|
205
205
|
|
|
206
|
-
//# sourceMappingURL=jsonl-file-
|
|
206
|
+
//# sourceMappingURL=jsonl-file-C9Kde_0Z.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonl-file-DBv31uPi.js","names":[],"sources":["../src/durable/jsonl-file.ts"],"sourcesContent":["import type { FileHandle } from 'node:fs/promises'\n\n/** Parse in-memory evidence with the same commit boundary as streamed journal reads. */\nexport function parseCommittedJsonLines<T>(text: string, source: string): T[] {\n const lines = text.split('\\n')\n const records: T[] = []\n for (const [index, line] of lines.entries()) {\n const record = parseRecord<T>(line, source, index + 1, index < lines.length - 1)\n if (record !== undefined) records.push(record.value)\n }\n return records\n}\n\n/** Read a fixed file prefix one record at a time, never allocating the whole journal as a string.\n * A reader cannot chase concurrent appends forever. Missing files are empty only when requested;\n * corruption, short reads, and other I/O errors remain failures. Closing the iterator closes the fd. */\nexport async function* readCommittedJsonLines<T>(\n path: string,\n options: {\n allowMissing?: boolean\n allowWhitespaceLines?: boolean\n onBytes?: (bytes: Uint8Array) => void\n } = {},\n): AsyncGenerator<T> {\n const fs = await import('node:fs/promises')\n let handle: FileHandle\n try {\n handle = await fs.open(path, 'r')\n } catch (error) {\n if (options.allowMissing && isNoEntError(error)) return\n throw error\n }\n try {\n const { size } = await handle.stat()\n if (size === 0) return\n const { StringDecoder } = await import('node:string_decoder')\n const decoder = new StringDecoder('utf8')\n const stream = handle.createReadStream({ autoClose: false, end: size - 1 })\n const fragments: string[] = []\n let lineNumber = 1\n try {\n for await (const chunk of stream) {\n options.onBytes?.(chunk as Buffer)\n const text = decoder.write(chunk as Buffer)\n let start = 0\n let end = text.indexOf('\\n', start)\n while (end !== -1) {\n fragments.push(text.slice(start, end))\n const record = parseRecord<T>(\n fragments.join(''),\n path,\n lineNumber++,\n true,\n options.allowWhitespaceLines,\n )\n fragments.length = 0\n if (record !== undefined) yield record.value\n start = end + 1\n end = text.indexOf('\\n', start)\n }\n if (start < text.length) fragments.push(text.slice(start))\n }\n if (stream.bytesRead !== size) {\n throw new Error(`${path}: journal changed while reading its committed prefix`)\n }\n fragments.push(decoder.end())\n const record = parseRecord<T>(\n fragments.join(''),\n path,\n lineNumber,\n false,\n options.allowWhitespaceLines,\n )\n if (record !== undefined) yield record.value\n } finally {\n stream.destroy()\n }\n } finally {\n await handle.close()\n }\n}\n\n/** An invalid unterminated tail may be a torn write; other parse failures are not evidence of one. */\nfunction parseRecord<T>(\n line: string,\n source: string,\n lineNumber: number,\n terminated: boolean,\n allowWhitespaceLines = false,\n): { value: T } | undefined {\n if (line.length === 0 || (allowWhitespaceLines && line.trim().length === 0)) return undefined\n try {\n return { value: JSON.parse(line) as T }\n } catch (cause) {\n if (!(cause instanceof SyntaxError)) throw cause\n if (!terminated) return undefined\n throw new Error(`${source}: malformed JSONL record at line ${lineNumber}`, { cause })\n }\n}\n\n/** Append one JSONL record under the caller's existing single-writer discipline.\n * The caller creates the parent directory. Recover only an uncommitted tail, handle short\n * writes, and fsync before acknowledging.\n * An optional acknowledgement reads the same open descriptor after sync (the spawn journal\n * validates its file stamp here). Queueing, validation, and failure policy belong to the owner.\n * @internal\n */\nexport function appendCommittedJsonLine(path: string, record: unknown): Promise<void>\nexport function appendCommittedJsonLine<T>(\n path: string,\n record: unknown,\n acknowledge: (handle: FileHandle) => Promise<T>,\n): Promise<T>\nexport async function appendCommittedJsonLine<T>(\n path: string,\n record: unknown,\n acknowledge?: (handle: FileHandle) => Promise<T>,\n): Promise<T | undefined> {\n const fs = await import('node:fs/promises')\n const needsSeparator = await prepareJsonlAppend(path)\n const handle = await fs.open(path, 'a')\n try {\n await writeAllBytes(handle, `${needsSeparator ? '\\n' : ''}${JSON.stringify(record)}\\n`)\n await handle.sync()\n return await acknowledge?.(handle)\n } finally {\n await handle.close()\n }\n}\n\n/** Serialize JSONL file updates across processes and aliases using Eval's existing file lock.\n * The caller owns validation and the record format. The lock path names the canonical file,\n * including its first write, so two directory aliases cannot acquire different write heads.\n * @internal\n */\nexport async function withJsonlFileLock<T>(\n path: string,\n operation: (canonicalPath: string) => Promise<T>,\n): Promise<T> {\n const fs = await import('node:fs/promises')\n const { dirname } = await import('node:path')\n const { tryAcquireAtomicFileLock } = await import('@tangle-network/agent-eval/ledger-core')\n await fs.mkdir(dirname(path), { recursive: true })\n const file = await fs.open(path, 'a')\n await file.close()\n const canonicalPath = await fs.realpath(path)\n const deadline = Date.now() + 5000\n for (;;) {\n const acquisition = tryAcquireAtomicFileLock({ lockPath: `${canonicalPath}.lock` })\n if (!acquisition.acquired) {\n if (Date.now() >= deadline) {\n throw new Error(`journal file lock unavailable after 5000ms: ${canonicalPath}`)\n }\n await new Promise((resolve) => setTimeout(resolve, 25))\n continue\n }\n try {\n return await operation(canonicalPath)\n } finally {\n acquisition.lock.release()\n }\n }\n}\n\n/** Read one keyed registry snapshot without an extra whole-file text allocation.\n * Historical registry files allow whitespace-only separators; append journals remain strict.\n * @internal\n */\nexport async function readCommittedJsonFile<T>(path: string): Promise<T[]> {\n const records: T[] = []\n for await (const record of readCommittedJsonLines<T>(path, {\n allowMissing: true,\n allowWhitespaceLines: true,\n })) {\n records.push(record)\n }\n return records\n}\n\n/** Replace one keyed row and publish one durable snapshot. The caller holds the file lock.\n * Keep unrelated rows in order and put the replacement last. No revision archive is retained.\n * @internal\n */\nexport async function upsertCommittedJsonLine<T>(\n path: string,\n record: T,\n key: (record: T) => string,\n): Promise<void> {\n const encoded = JSON.stringify(record)\n if (encoded === undefined) throw new Error('JSONL records must be JSON serializable')\n const snapshot: T = JSON.parse(encoded)\n const id = key(snapshot)\n const updated: T[] = []\n for await (const prior of readCommittedJsonLines<T>(path, {\n allowMissing: true,\n allowWhitespaceLines: true,\n })) {\n if (key(prior) !== id) updated.push(prior)\n }\n updated.push(snapshot)\n // Reuse Runtime's file publication owner; this module owns JSONL framing, not another\n // durability implementation. Preserve the existing snapshot's permissions across rename.\n const { writeAtomicDurableFile } = await import('../runtime/supervise/durable-file')\n writeAtomicDurableFile(path, `${updated.map((row) => JSON.stringify(row)).join('\\n')}\\n`, {\n preserveMode: true,\n })\n}\n\n/** FileHandle.write may legally make a short write. Loop until every byte is appended. */\nexport async function writeAllBytes(\n handle: Pick<FileHandle, 'write'>,\n value: string | Uint8Array,\n): Promise<void> {\n const bytes = typeof value === 'string' ? Buffer.from(value) : Buffer.from(value)\n let offset = 0\n while (offset < bytes.byteLength) {\n const { bytesWritten } = await handle.write(bytes, offset, bytes.byteLength - offset, null)\n if (bytesWritten <= 0) {\n throw new Error(`append-only file write made no progress at byte ${offset}`)\n }\n offset += bytesWritten\n }\n}\n\n/** Prepare the tail under the journal owner's existing single-writer discipline.\n * Healthy appends read one byte, regardless of history size. Only recovery scans backward,\n * retaining a valid unterminated value or truncating an uncommitted torn tail. */\nexport async function prepareJsonlAppend(path: string): Promise<boolean> {\n const fs = await import('node:fs/promises')\n let handle: FileHandle\n try {\n handle = await fs.open(path, 'r+')\n } catch (error) {\n if (isNoEntError(error)) return false\n throw error\n }\n try {\n const size = (await handle.stat()).size\n if (size === 0) return false\n const lastByte = Buffer.allocUnsafe(1)\n await readAt(handle, lastByte, size - 1)\n if (lastByte[0] === 0x0a) return false\n\n const chunks: Buffer[] = []\n let end = size\n let tailStart = 0\n while (end > 0) {\n const start = Math.max(0, end - 65_536)\n const chunk = Buffer.allocUnsafe(end - start)\n await readAt(handle, chunk, start)\n const newline = chunk.lastIndexOf(0x0a)\n chunks.push(chunk.subarray(newline + 1))\n if (newline >= 0) {\n tailStart = start + newline + 1\n break\n }\n end = start\n }\n const tail = Buffer.concat(chunks.reverse()).toString('utf8')\n try {\n JSON.parse(tail)\n return true\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error\n await handle.truncate(tailStart)\n await handle.sync()\n return false\n }\n } finally {\n await handle.close()\n }\n}\n\n/** A short read is legal; an unexpected EOF means the owner's snapshot changed. */\nasync function readAt(handle: FileHandle, buffer: Buffer, position: number): Promise<void> {\n let offset = 0\n while (offset < buffer.length) {\n const { bytesRead } = await handle.read(\n buffer,\n offset,\n buffer.length - offset,\n position + offset,\n )\n if (bytesRead === 0) throw new Error('journal changed while preparing its append tail')\n offset += bytesRead\n }\n}\n\n/** True for a filesystem error meaning \"the file is not there yet\" — the one condition an\n * append-only reader treats as an empty log rather than a fault. */\nexport function isNoEntError(error: unknown): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n 'code' in error &&\n (error as { code: unknown }).code === 'ENOENT'\n )\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"jsonl-file-C9Kde_0Z.js","names":[],"sources":["../src/durable/jsonl-file.ts"],"sourcesContent":["import type { FileHandle } from 'node:fs/promises'\n\n/** Parse in-memory evidence with the same commit boundary as streamed journal reads. */\nexport function parseCommittedJsonLines<T>(text: string, source: string): T[] {\n const lines = text.split('\\n')\n const records: T[] = []\n for (const [index, line] of lines.entries()) {\n const record = parseRecord<T>(line, source, index + 1, index < lines.length - 1)\n if (record !== undefined) records.push(record.value)\n }\n return records\n}\n\n/** Read a fixed file prefix one record at a time, never allocating the whole journal as a string.\n * A reader cannot chase concurrent appends forever. Missing files are empty only when requested;\n * corruption, short reads, and other I/O errors remain failures. Closing the iterator closes the fd. */\nexport async function* readCommittedJsonLines<T>(\n path: string,\n options: {\n allowMissing?: boolean\n allowWhitespaceLines?: boolean\n onBytes?: (bytes: Uint8Array) => void\n } = {},\n): AsyncGenerator<T> {\n const fs = await import('node:fs/promises')\n let handle: FileHandle\n try {\n handle = await fs.open(path, 'r')\n } catch (error) {\n if (options.allowMissing && isNoEntError(error)) return\n throw error\n }\n try {\n const { size } = await handle.stat()\n if (size === 0) return\n const { StringDecoder } = await import('node:string_decoder')\n const decoder = new StringDecoder('utf8')\n const stream = handle.createReadStream({ autoClose: false, end: size - 1 })\n const fragments: string[] = []\n let lineNumber = 1\n try {\n for await (const chunk of stream) {\n options.onBytes?.(chunk as Buffer)\n const text = decoder.write(chunk as Buffer)\n let start = 0\n let end = text.indexOf('\\n', start)\n while (end !== -1) {\n fragments.push(text.slice(start, end))\n const record = parseRecord<T>(\n fragments.join(''),\n path,\n lineNumber++,\n true,\n options.allowWhitespaceLines,\n )\n fragments.length = 0\n if (record !== undefined) yield record.value\n start = end + 1\n end = text.indexOf('\\n', start)\n }\n if (start < text.length) fragments.push(text.slice(start))\n }\n if (stream.bytesRead !== size) {\n throw new Error(`${path}: journal changed while reading its committed prefix`)\n }\n fragments.push(decoder.end())\n const record = parseRecord<T>(\n fragments.join(''),\n path,\n lineNumber,\n false,\n options.allowWhitespaceLines,\n )\n if (record !== undefined) yield record.value\n } finally {\n stream.destroy()\n }\n } finally {\n await handle.close()\n }\n}\n\n/** An invalid unterminated tail may be a torn write; other parse failures are not evidence of one. */\nfunction parseRecord<T>(\n line: string,\n source: string,\n lineNumber: number,\n terminated: boolean,\n allowWhitespaceLines = false,\n): { value: T } | undefined {\n if (line.length === 0 || (allowWhitespaceLines && line.trim().length === 0)) return undefined\n try {\n return { value: JSON.parse(line) as T }\n } catch (cause) {\n if (!(cause instanceof SyntaxError)) throw cause\n if (!terminated) return undefined\n throw new Error(`${source}: malformed JSONL record at line ${lineNumber}`, { cause })\n }\n}\n\n/** Append one JSONL record under the caller's existing single-writer discipline.\n * The caller creates the parent directory. Recover only an uncommitted tail, handle short\n * writes, and fsync before acknowledging.\n * An optional acknowledgement reads the same open descriptor after sync (the spawn journal\n * validates its file stamp here). Queueing, validation, and failure policy belong to the owner.\n * @internal\n */\nexport function appendCommittedJsonLine(path: string, record: unknown): Promise<void>\nexport function appendCommittedJsonLine<T>(\n path: string,\n record: unknown,\n acknowledge: (handle: FileHandle) => Promise<T>,\n): Promise<T>\nexport async function appendCommittedJsonLine<T>(\n path: string,\n record: unknown,\n acknowledge?: (handle: FileHandle) => Promise<T>,\n): Promise<T | undefined> {\n const fs = await import('node:fs/promises')\n const needsSeparator = await prepareJsonlAppend(path)\n const handle = await fs.open(path, 'a')\n try {\n await writeAllBytes(handle, `${needsSeparator ? '\\n' : ''}${JSON.stringify(record)}\\n`)\n await handle.sync()\n return await acknowledge?.(handle)\n } finally {\n await handle.close()\n }\n}\n\n/** Serialize JSONL file updates across processes and aliases using Eval's existing file lock.\n * The caller owns validation and the record format. The lock path names the canonical file,\n * including its first write, so two directory aliases cannot acquire different write heads.\n * @internal\n */\nexport async function withJsonlFileLock<T>(\n path: string,\n operation: (canonicalPath: string) => Promise<T>,\n): Promise<T> {\n const fs = await import('node:fs/promises')\n const { dirname } = await import('node:path')\n const { tryAcquireAtomicFileLock } = await import('@tangle-network/agent-eval/ledger-core')\n await fs.mkdir(dirname(path), { recursive: true })\n const file = await fs.open(path, 'a')\n await file.close()\n const canonicalPath = await fs.realpath(path)\n const deadline = Date.now() + 5000\n for (;;) {\n const acquisition = tryAcquireAtomicFileLock({ lockPath: `${canonicalPath}.lock` })\n if (!acquisition.acquired) {\n if (Date.now() >= deadline) {\n throw new Error(`journal file lock unavailable after 5000ms: ${canonicalPath}`)\n }\n await new Promise((resolve) => setTimeout(resolve, 25))\n continue\n }\n try {\n return await operation(canonicalPath)\n } finally {\n acquisition.lock.release()\n }\n }\n}\n\n/** Read one keyed registry snapshot without an extra whole-file text allocation.\n * Historical registry files allow whitespace-only separators; append journals remain strict.\n * @internal\n */\nexport async function readCommittedJsonFile<T>(path: string): Promise<T[]> {\n const records: T[] = []\n for await (const record of readCommittedJsonLines<T>(path, {\n allowMissing: true,\n allowWhitespaceLines: true,\n })) {\n records.push(record)\n }\n return records\n}\n\n/** Replace one keyed row and publish one durable snapshot. The caller holds the file lock.\n * Keep unrelated rows in order and put the replacement last. No revision archive is retained.\n * @internal\n */\nexport async function upsertCommittedJsonLine<T>(\n path: string,\n record: T,\n key: (record: T) => string,\n): Promise<void> {\n const encoded = JSON.stringify(record)\n if (encoded === undefined) throw new Error('JSONL records must be JSON serializable')\n const snapshot: T = JSON.parse(encoded)\n const id = key(snapshot)\n const updated: T[] = []\n for await (const prior of readCommittedJsonLines<T>(path, {\n allowMissing: true,\n allowWhitespaceLines: true,\n })) {\n if (key(prior) !== id) updated.push(prior)\n }\n updated.push(snapshot)\n // Reuse Runtime's file publication owner; this module owns JSONL framing, not another\n // durability implementation. Preserve the existing snapshot's permissions across rename.\n const { writeAtomicDurableFile } = await import('../runtime/supervise/durable-file')\n writeAtomicDurableFile(path, `${updated.map((row) => JSON.stringify(row)).join('\\n')}\\n`, {\n preserveMode: true,\n })\n}\n\n/** FileHandle.write may legally make a short write. Loop until every byte is appended. */\nasync function writeAllBytes(\n handle: Pick<FileHandle, 'write'>,\n value: string | Uint8Array,\n): Promise<void> {\n const bytes = typeof value === 'string' ? Buffer.from(value) : Buffer.from(value)\n let offset = 0\n while (offset < bytes.byteLength) {\n const { bytesWritten } = await handle.write(bytes, offset, bytes.byteLength - offset, null)\n if (bytesWritten <= 0) {\n throw new Error(`append-only file write made no progress at byte ${offset}`)\n }\n offset += bytesWritten\n }\n}\n\n/** Prepare the tail under the journal owner's existing single-writer discipline.\n * Healthy appends read one byte, regardless of history size. Only recovery scans backward,\n * retaining a valid unterminated value or truncating an uncommitted torn tail. */\nexport async function prepareJsonlAppend(path: string): Promise<boolean> {\n const fs = await import('node:fs/promises')\n let handle: FileHandle\n try {\n handle = await fs.open(path, 'r+')\n } catch (error) {\n if (isNoEntError(error)) return false\n throw error\n }\n try {\n const size = (await handle.stat()).size\n if (size === 0) return false\n const lastByte = Buffer.allocUnsafe(1)\n await readAt(handle, lastByte, size - 1)\n if (lastByte[0] === 0x0a) return false\n\n const chunks: Buffer[] = []\n let end = size\n let tailStart = 0\n while (end > 0) {\n const start = Math.max(0, end - 65_536)\n const chunk = Buffer.allocUnsafe(end - start)\n await readAt(handle, chunk, start)\n const newline = chunk.lastIndexOf(0x0a)\n chunks.push(chunk.subarray(newline + 1))\n if (newline >= 0) {\n tailStart = start + newline + 1\n break\n }\n end = start\n }\n const tail = Buffer.concat(chunks.reverse()).toString('utf8')\n try {\n JSON.parse(tail)\n return true\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error\n await handle.truncate(tailStart)\n await handle.sync()\n return false\n }\n } finally {\n await handle.close()\n }\n}\n\n/** A short read is legal; an unexpected EOF means the owner's snapshot changed. */\nasync function readAt(handle: FileHandle, buffer: Buffer, position: number): Promise<void> {\n let offset = 0\n while (offset < buffer.length) {\n const { bytesRead } = await handle.read(\n buffer,\n offset,\n buffer.length - offset,\n position + offset,\n )\n if (bytesRead === 0) throw new Error('journal changed while preparing its append tail')\n offset += bytesRead\n }\n}\n\n/** True for a filesystem error meaning \"the file is not there yet\" — the one condition an\n * append-only reader treats as an empty log rather than a fault. */\nexport function isNoEntError(error: unknown): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n 'code' in error &&\n (error as { code: unknown }).code === 'ENOENT'\n )\n}\n"],"mappings":"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"}
|
package/dist/kernel.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { $ as SubtreeSummary, $C as NodeExecutionIdentity, $a as filterAuthoredAsserts, $c as harvestCorpus, $d as SelectSeat, $f as RegisteredPrompt, $h as SharedBoxHandle, $i as delegate, $l as PersonaContext, $n as runInWorkspace, $o as StreamAgentTurnOptions, $p as runCancellationFile, $r as ProvisionSupervisorRequest, $s as LocalSandboxClientOptions, $t as ForkRequest, $v as CheckUnavailableError, $w as HarnessTranscriptReadOptions, $x as DownMessageAuthorizationInput, $y as renderPairwiseMarkdown, A as RetainedPendingCause, AT as LoopResult, Aa as ProfileRichnessThresholds, Ab as createOtelExporter, Ac as breadthStrategy, Ad as superviseFleetCapabilities, Af as WorkerEventEntry, Ag as mapSandboxToolEvent, Ah as RouterToolsSeam, Ai as graphFromStored, Al as PipelineStage, Am as ContinuationAppend, An as WorkerInteractiveProviderSource, Ao as acquireSandbox, Ap as resolveSupervisorProfile, Ar as readWorkerSteerRequests, As as registryScopeAnalyst, At as SpawnRefusalCause, Au as IsolatedCheckOptions, Aw as TeamProgress, Ax as GateRequest, Ay as CodeModeTool, B as Spend, BT as OutputAdapter, Ba as CheckSource, Bc as StrategyCtx, Bd as WorkerSpawnRetryAttempt, Bf as ReservationFloor, Bg as RouterTransportConfig, Bh as InboxMessage, Bi as DispatchReport, Bl as TrajectoryReportOptions, Bm as VerdictSummary, Bn as spendFromUsageEvents, Bo as reconnectRetainedInteractiveRun, Bp as allOf, Br as workerInboxFileFromEventDir, Bs as BenchmarkStrategySummary, Bt as AgentProfile, Bw as StartRetainedInteractiveRunOptions, Bx as QuestionEscalationOutcome, By as Interval, C as RuntimeFailureCause, CC as InMemorySpawnJournal, CE as RetainedRunStartMaterial, CS as isPeerMailEnvelope, CT as LoopEndedPayload, Ca as ChatTransportTool, Cc as AgenticTool, Cd as GraphTopology, Cf as readWorkerTraceContext, Cg as resolveSecretEnv, Ch as createExecutor, Ci as createInPlaceCliExecutor, Cl as LoopUntilSpec, Cm as CoordinationLog, Cn as analystsFromRegistry, Co as openSandboxRun, Cp as SupervisorNodeContextSeed, Cr as WriteWorkerSteerOptions, Cs as verify, Cu as checkProgramDigest, Cw as decodeToolPart, Cx as LeadMessage, Cy as harnessUsageIsEmpty, D as runtimeFailureCause, DT as LoopLineageOptions, Da as createChatSessionStore, Dc as StrategyMessage, Dd as runGraph, Df as WorkerSlots, Dg as SandboxToolPartState, Dh as CliWorktreeSeam, Di as StoredGraph, Dl as PanelSpec, Dm as AdmittedFinding, Dn as worktreeFanout, Do as SessionCapableBox, Dp as ManagerWakePolicy, Dr as readWorkerCancelRequests, Ds as assertTraceDerivedFindings, Dt as SpawnPreflight, Du as readDeclaredCheck, Dw as DEFAULT_STALL_AFTER_MS, Dx as WorkerWatchOptions, Dy as CodeModeOptions, E as RuntimeFailureOwner, EE as StartRetainedRunOptions, ET as LoopIterationStartedPayload, Ea as chatWorkerSeam, Ec as RunAgenticOptions, Ed as TraversalContinuity, Ef as workerTraceSeamKey, Eg as SandboxOutputMarker, Eh as CliWorktreeBridgeSeam, Ei as GraphSelection, El as PanelJudge, Em as PriorCoordination, En as WorktreeFanoutOptions, Eo as SandboxLineageHandle, Ep as DEFAULT_DEADLINE_WARNING_MS, Er as legacySupervisorRunsRoot, Es as RegistryAnalyzeProjection, Eu as declaredCheckJudge, Ew as ActivityNote, Ex as ToolOutcomeEvent, Ey as decodeHarnessUsage, F as Budget, FS as PublishOptions, FT as LoopTraceEmitter, Fa as supervisorInstructions, Fc as AuthorStrategyOptions, Fd as AuthorizedSpawnContext, Ff as BudgetPool, Fg as createSandboxUsageLedger, Fh as SteerableSandboxSession, Fi as lookupGraph, Fl as ScopeWidenGate, Fm as ContinuationPanelInput, Fn as VERIFY_TAIL_CHARS, Fo as recoverRetainedRun, Fp as ProgressTracker, Fr as workerCancelRequestsFile, Fs as sanitizeMcpToolSchema, Ft as AgentEnvironmentEvent, Fw as RecoverRetainedInteractiveRunOptions, Fx as RouteWhen, Fy as createCodeModeTools, G as NodeSnapshot, GC as SpawnModelSubstitution, GS as AnalystLensOutput, GT as Validator, Ga as StructuralRolloutPolicy, Gc as defineStrategy, Gd as retryPreSpawnRefusals, Gf as ReservationTicket, Gg as ToolLoopCompaction, Gh as DEFAULT_SHARED_BOX_WORKERS, Gi as queueOf, Gl as WidenLineage, Gm as expandQuestions, Gn as GitWorkspaceOptions, Go as profileChatClient, Gp as plateau, Gr as workerSteersDir, Gs as LoopCampaignDispatchOptions, Gt as AgentTurnResult, Gw as HarnessTranscriptUnavailable, Gy as PairwiseVerdict, H as SpendGap, HC as ExecutorContext, HT as SandboxClient, Ha as RepairStop, Hc as adaptiveRefine, Hd as WorkerSpawnRetryPolicy, Hf as ReservationRejection, Hg as ToolSpec, Hh as PeerInboxMessage, Hi as DispatchUnit, Hl as VerifySpec, Hm as admitFinding, Hn as UntrackedCopyStats, Ho as startRetainedInteractiveRun, Hp as anyOf, Hr as workerSteerAcknowledgementsDir, Hs as Environment, Ht as AgentSession, Hw as HarnessTranscriptCapture, Hy as LeaderboardOptions, I as BudgetOverspend, IS as createEventBus, IT as LoopTraceEvent, Ia as CheckExecChannel, Ic as AuthoredStrategy, Id as DeliverableResolutionInput, If as BudgetPoolRestore, Ig as extractLlmCallEvent, Ih as createSteerableSandboxSession, Ii as pickBestGraph, Il as SteerContext, Im as ContinuationPanelResult, In as WorkerEvidenceInput, Io as startRetainedRun, Ip as ProgressTrackerOptions, Ir as workerCancellationFile, Is as BenchmarkCell, It as AgentEnvironmentProvider, Iw as RetainedInteractiveAdmissionHook, Ix as ChildQuestionInbox, Iy as describeCodeModeTools, J as Settled, JC as ExecutorExecutionBinding, Ja as canDisplace, Jb as InPlaceHarnessResult, Jc as strategyAuthorSystemPrompt, Jd as SuperviseRegistryTable, Jf as createBudgetPool, Jg as ToolLoopToolCall, Jh as SharedBoxPlacementOptions, Ji as DesignerToolsEnv, Jl as DefinePersona, Jm as DriverBudgetReadout, Jn as WorkspaceCommit, Jo as assertProfileModelsAllowed, Jp as RunCancellation, Jr as RemoteSupervisorReader, Js as SuperviseDispatchOptions, Jt as CheckpointRequest, Jw as captureHarnessTranscript, Jy as leaderboard, K as NodeStatus, KC as AgentExecutionRef, KS as AnalystRegistry, Ka as StructuralRolloutResult, Kc as sampleThenRefine, Kd as withWorkerSpawnRetry, Kf as ReservationWaitRefused, Kg as ToolLoopCompactionOptions, Kh as SharedBoxCloseReceipt, Ki as rollingDispatch, Kl as WidenSpec, Km as failedItems, Kn as Shell, Ko as profileOptimizerModelCall, Kp as sampleFromSettled, Kr as writeWorkerSteer, Ks as LoopDispatchOptions, Kt as AnalystFinding, Kw as HarnessTranscriptUnavailableReason, Ky as ProfileKeyOf, L as BudgetViolation, LS as WatchTraceOptions, LT as LoopWinner, La as CheckOutcome, Lc as ShotSpec, Ld as SuperviseOptions, Lf as BudgetReadout, Lg as sandboxEventServedBackend, Lh as AuthorityInboxMessage, Li as recordGraphRun, Ll as TrajectoryNode, Lm as ContinuationPolicy, Ln as closingWorkerNote, Lo as startRetainedRunInEnvironment, Lp as ProgressView, Lr as workerCancellationsDir, Ls as BenchmarkConfig, Lt as AgentEnvironmentQuery, Lw as RetainedInteractiveEnvironmentInput, Lx as EscalateQuestion, Ly as runCodeMode, M as TRACE_SUMMARY_SCHEMA, MS as BusRecord, MT as LoopStartedPayload, Ma as assessAuthoredProfile, Mc as refine, Md as workerFromBackend, Mf as DEADLINE_CHECK_IN_MESSAGE, Mg as SandboxServedBackend, Mh as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Mi as graphRunsFor, Ml as RenderCorpusToInstructionsOptions, Mm as ContinuationEntry, Mn as readWorkerInteractiveBinding, Mo as S3PrivateCasStoreOptions, Mp as NoProgressForOptions, Mr as supervisorRunDir, Ms as McpEndpoint, Mt as WorkerSpawnContext, Mu as runIsolatedCheck, Mw as createActivityLog, My as CodeModeToolsOptions, N as TraceRootArtifact, NS as BusStats, NT as LoopTeardownFailedPayload, Na as defaultProfileRichnessThresholds, Nc as runAgentic, Nd as DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, Nf as DEFAULT_CHECK_IN_IDLE_MS, Ng as SandboxUsageLedger, Nh as SandboxSteeringOptions, Ni as listGraphRuns, Nl as ScopeAnalyst, Nm as ContinuationNoteInput, Nn as EVIDENCE_MAX_CHARS, No as createS3PrivateCasStore, Np as PlateauOptions, Nr as supervisorRunsRoot, Ns as McpEnvironmentOptions, Nt as AgentEnvironment, Nw as readWorkerProgress, Nx as RouteGate, Ny as CodeModeToolset, O as settlementFailureCause, OT as LoopPlanDescription, Oa as AuthoredProfile, Oc as StrategyShotResult, Of as createWorkerSlots, Og as createSandboxToolPartState, Oh as ProviderSeam, Oi as digestOfGraph, Ol as PanelVerdict, Om as CONTINUATION_FACTS, On as AttachWorkerOptions, Oo as createSandboxLineage, Op as ResolvedSupervisorProfile, Or as readWorkerCancellation, Os as buildSteerContext, Ot as SpawnPreflightContext, Ou as IsolatedCheckBox, Ow as ExecutorProgress, Oy as CodeModeResult, P as TraceSummary, PS as EventBus, PT as LoopTokenUsage, Pa as profileRichnessFinding, Pc as sample, Pd as AuthorizedSpawn, Pf as DeadlineCheckIn, Pg as assertSandboxServedModel, Ph as SteerableSandboxArgs, Pi as loadGraph, Pl as ScopeAnalyzeInput, Pm as ContinuationPanel, Pn as NOTE_MAX_CHARS, Po as reconnectRetainedRun, Pp as ProgressSample, Pr as supervisorWorkersDir, Ps as createMcpEnvironment, Pt as AgentEnvironmentCapabilities, Pw as ReconnectRetainedInteractiveRunOptions, Px as RouteMatch, Py as RunCodeModeOptions, Q as SubtreeResult, QC as MaterializedModelIdentity, QS as DefinedAnalystRecord, Qa as defaultStructuralRolloutPolicy, Qb as WorktreeProfileMaterializationReceipt, Qc as HarvestReport, Qd as SeatStage, Qf as PromptRegistry, Qh as ROUTER_CLIENT_HEADER, Qi as defaultDelegateBudget, Ql as Persona, Qm as DriverRetryPolicy, Qn as localShell, Qo as CollectedAgentTurn, Qp as runCancelRequestFile, Qr as ProvisionSupervisorConnection, Qs as superviseDispatch, Qt as ExecResult, Qw as HarnessTranscriptReadLimits, Qx as ContinuityMode, Qy as renderLeaderboardSvg, R as ResourceLimit, RS as defaultToolDetectors, RT as MountManifestEntry, Ra as CheckRunContext, Rc as Strategy, Rf as BudgetReconcileFault, Rg as sumSandboxUsage, Rh as Inbox, Ri as storedGraphDigests, Rl as TrajectoryReport, Rm as ContinuationProfile, Rn as composeWorkerEvidence, Ro as ClaimRetainedInteractiveControlOptions, Rp as StopDecision, Rr as workerControlLogFile, Rs as BenchmarkLift, Rt as AgentEnvironmentStatus, Rw as RetainedInteractiveRunHandle, Ry as AxisScoresOf, SC as InMemoryResultBlobStore, SE as RetainedRunSnapshot, SS as createPeerMailbox, ST as LoopDecisionPayload, Sa as ChatTransportExecutorOptions, Sc as AgenticTask, Sd as GraphResult, Sf as WorkerTraceSeamCarrier, Sg as resolveMcpServerLaunch, Sh as ExecutorConfig, Si as InPlaceCliExecutorOptions, Sl as LoopUntil, Sm as CoordinationDeliveryEvidence, Sn as AnalystAuthoring, So as TurnResult, Sp as SupervisorNodeContext, Sr as WorkerSteerRequest, Ss as selectValidWinner, Su as assertDeclaredCheck, Sw as createPushTraceSource, Sx as EventAcknowledgement, Sy as createCodexRolloutStoreReader, T as RuntimeFailureContext, TE as StartRetainedRunInEnvironmentOptions, TS as peerMailVerbNames, TT as LoopIterationEndedPayload, Ta as chatTransportExecutor, Tc as CorpusReadbackOptions, Tf as workerTraceHeaders, Tg as SandboxLeafOut, Th as CliSeam, Ti as GraphRunRecord, Tl as Panel, Tm as FileCoordinationLog, Tn as AuthoredHarness, To as SandboxLineage, Tp as SupervisorToolInvocationContext, Tr as legacySupervisorRunDir, Ts as CreateScopeAnalystOptions, Tu as declaredCheckDigest, Tw as ActivityLog, Tx as ManagerWake, Ty as HarnessUsage, U as Handle, UC as ExecutorFactory, US as AnalystFindingEvent, UT as SelectionReceipt, Ua as StructuralRolloutConfig, Uc as assertStrategyContract, Ud as isPreSpawnExecutorFailure, Uf as ReservationShortfall, Ug as ToolLoopCallContext, Uh as createInbox, Ui as RollingDispatchOptions, Ul as Widen, Um as checkVerdictOf, Un as copyUntrackedIntoClone, Uo as ResolveSandboxClientOptions, Up as createProgressTracker, Ur as workerSteerRequestFile, Us as printBenchmarkReport, Ut as AgentSessionRef, Uw as HarnessTranscriptEvidence, Uy as LeaderboardRow, V as SpendChannel, VC as AgentSpec, VS as AnalystAssignmentRecord, VT as RunProvenance, Va as CheckSourceCtx, Vc as StrategyResult, Vd as WorkerSpawnRetryHooks, Vf as ReservationHolder, Vg as RouterRouting, Vh as InboxReceipt, Vi as DispatchStopReason, Vl as Verify, Vm as admitContinuationPolicy, Vn as CopyOptions, Vo as recoverRetainedInteractiveRun, Vp as allWorkersStalled, Vr as workerSteerAcknowledgementFile, Vs as BenchmarkTaskRow, Vt as AgentProfileRef, Vw as HarnessTranscriptArtifact, Vx as QuestionEscalationRecord, Vy as Leaderboard, W as NodeId, WC as ExecutorRegistry, WS as AnalystKind, WT as ValidationCtx, Wa as StructuralRolloutMessage, Wc as authorStrategy, Wd as resolveWorkerSpawnRetry, Wf as ReservationStage, Wg as ToolLoopChat, Wh as DEFAULT_SHARED_BOX_RESOURCES, Wi as freeSlots, Wl as WidenDecision, Wm as distillFindings, Wn as withUntrackedArtifacts, Wo as resolveSandboxClient, Wp as noProgressFor, Wr as workerSteerRequestsDir, Ws as runBenchmark, Wt as AgentSessionStatus, Ww as HarnessTranscriptFile, Wy as PairwiseOptions, X as SpawnPrior, XC as ExecutorNodeContext, XS as AuthoredAnalystDefinition, Xa as composeCheckSources, Xb as WorktreeCommandResult, Xc as HarvestError, Xd as SeatSelection, Xf as GraphRouteError, Xh as SharedWorkerIdentity, Xi as graphDesignerExtraTools, Xl as LoopShape, Xm as DriverProgressMark, Xn as gitWorkspace, Xo as AgentTurnInput, Xp as readRunCancelRequest, Xr as RemoteWorkerEvents, Xs as loopCampaignDispatch, Xt as CreateSandboxOptions, Xw as persistHarnessTranscript, Xx as AuthorizedDownMessage, Xy as renderLeaderboardHtml, Y as SpawnOpts, YC as ExecutorMaterialization, YS as AnalyzeOnSettleRoute, Ya as compareCheckOutcomes, Yb as WorktreeCheckRunner, Yc as HarvestCorpusOptions, Yd as SeatSegment, Yf as defaultEdgeTraversalCap, Yh as SharedBoxStats, Yi as GraphDesignerExtraTools, Yl as DefinePersonaInput, Ym as DriverContractState, Yn as WorkspaceRun, Yo as AgentTurnBackend, Yp as cancelRun, Yr as RemoteSupervisorTree, Ys as SuperviseOptionsForDispatch, Yt as CreateAgentEnvironmentInput, Yw as harnessTranscriptArtifact, Yx as AuthorizeDownMessage, Yy as pairwiseSignificance, Z as SpawnRejection, ZC as MaterializedExecutionIdentity, ZS as AuthoredAnalystLimits, Za as defaultExtractCandidate, Zb as WorktreeHarnessResult, Zc as HarvestFailure, Zd as SeatSelectionInput, Zf as PromptHandle, Zh as sharedBoxPlacement, Zi as DelegateOptions, Zl as Outcome, Zm as DriverReentry, Zn as jjWorkspace, Zo as AgentTurnUsage, Zp as readRunCancellation, Zr as connectRemoteSupervisor, Zs as loopDispatch, Zt as ExecRequest, Zw as HarnessTranscriptMetadata, Zx as ContinuationInstruction, Zy as renderLeaderboardMarkdown, _C as SpawnForestTree, _E as RetainedRunEnvironmentAdmission, _S as PeerMailRefusal, _T as AgentRunSpec, _a as Scope, _b as SandboxEvidenceRetentionPort, _c as connectStdioMcp, _d as EdgeDeliveryOutcome, _f as createScope, _g as BridgeSeam, _i as InteractiveWorkerKeyInput, _l as Fanout, _m as CoordinationTransportOptions, _n as SurfaceReader, _o as OpenSandboxRunBeforeStartContext, _p as ObserveSupervisorNodeEvent, _r as searchPresets, _s as fanout, _t as upstreamUnavailableSignal, _u as LeaderboardSpec, _w as WorkerTraceUnavailableReason, _y as CodexRolloutStoreReader, aC as SqlRunStoreOptions, aE as RecoverRetainedRunOptions, aS as MapItemFailurePolicy, aT as ProviderNativeCapturePhase, aa as RecursiveReservationPolicy, ab as bestSoFar, ac as inlineSandboxClient, af as createFileRunContext, ag as createAgentEnvironmentProviderRegistry, ai as bestProfileFor, al as defaultAnalystInstruction, am as FinalizeContext, an as computeFindingId, ao as structuralRollout, ap as formatPromptHandle, ar as parseWorkerToolTraceArtifact, as as PrivateCasOptions, at as RootProviderModelEvidence, au as ShapeRegistry, aw as ExecutorAccounting, ay as verdictFromJudgeScore, bC as replaySpawnTree, bE as RetainedRunIntentAdmission, bS as PeerMailboxOptions, bT as ExecCtx, ba as ChatCompletionsTransport, bc as AgenticRunResult, bd as GraphEdgeCapError, bf as ScopeArgs, bg as envKeyProvider, bi as workerFromInteractiveProvider, bl as FanoutWinnerSelector, bm as CoordinationHttpOptions, bn as fsSurfaceReader, bo as SandboxRun, bp as SupervisorAgentDeps, br as WorkerCancellation, bs as panel, bu as DeclaredCheckPlacement, bw as ToolStepInput, bx as AwaitWakeInput, by as CodexStoreDelta, cE as RetainedInteractiveEnvironmentAdmission, cS as MapTraversalEvent, cT as ProviderWorkspaceCaptureReceipt, ca as RootSegmentEntry, cb as WaterfallCollector, cc as InProcessSandboxClientOptions, cf as SupervisorSpanAttributes, cg as ProviderLeafOut, ci as profileRegistry, cl as AssertTraceDerivedFindings, cm as bestDelivered, cn as createVerifierEnvironment, co as EvolutionReport, cp as promptHandle, cr as SqlRunContextOptions, cs as trajectoryReport, ct as DriverAttemptRecord, cu as DefinedLeaderboard, cw as ExecutorResult, cy as CompletionPolicy, dC as materializeTreeView, dE as RetainedRunAdmission, dS as PEER_MAIL_WIRE_KEY, dT as ProviderWorkspaceRetentionContext, da as Supervisor, db as createWaterfallCollector, dc as LocalMcpMaterialization, df as SupervisorSpanRecorder, dg as UnavailablePausePolicy, di as PatchDeliverableOptions, dl as CorpusFilter, dm as pickBestDelivered, dn as createTangleSandboxExactProcessProvider, do as StrategyTournament, dp as assertCoordinationBinding, dr as SEARCH_SPEC_CORRELATION_KEY, ds as registerShape, dt as DriverContinuationRecord, du as LeaderboardBenchmarkAdapter, dw as HeldForContinuation, dy as deterministicCompletion, eC as canonicalFindingEvent, eE as NativeContextContinuationExecution, eS as DownMessageDeliveryAttempt, eT as RetainedHarnessTranscriptCapture, ea as ResultBlobStore, eb as AnytimeReport, ec as localSandboxClient, ef as subscriptionUsageLimitSignal, eg as SharedBoxProcess, ei as ProvisionedSupervisor, el as Observation, em as ReentryContinuity, en as PlacementInfo, eo as modelAuthoredChecks, ep as analyzesFindingsReportPrompt, er as TrajectoryAnalysis, es as collectAgentTurn, et as TreeView, eu as PersonaExecutors, ew as ProfileMaterializationReceipt, ey as CheckVerdict, fC as SpawnForest, fE as RetainedRunAdmissionHook, fS as PeerMailEnvelope, fT as ProviderWorkspaceRetentionPort, fa as SupervisorOpts, fb as RunAgentRoundsOptions, fc as MaterializeLocalMcpOptions, ff as createSupervisorSpanRecorder, fg as ProviderPlacement, fi as patchDelivered, fl as CorpusRecord, fm as runFinalizer, fn as BoxSurfaceReaderOptions, fo as TournamentCell, fp as CoordinationBinding, fr as SearchSpec, fs as definePersona, ft as DriverFailureClass, fu as LeaderboardFlagSpec, fw as HeldRelease, fy as sentinelCompletion, gC as SpawnForestNode, gE as RetainedRunEffect, gS as PeerMailReadout, gT as UsageEvent, ga as ResumedWork, gb as SandboxEvidenceRetentionError, gc as StdioMcpServerSpec, gd as AgentGraph, gf as settledToIteration, gg as BridgeModelCredential, gi as InteractiveWorkerEnvironment, gl as EqualKVerdict, gm as CoordinationReadAccess, gn as SurfaceReadOutcome, go as Deliverable, gp as DriveHarnessOwnerContext, gr as compileSearchSpec, gs as renderCorpusToInstructions, gt as summarizeDriverAttempts, gu as LeaderboardScore, gw as WorkerTraceEvidence, gy as CodexRolloutSession, hC as SpawnForestMissingTree, hE as RetainedRunDispatchedAdmission, hS as PeerMailOutcome, hT as TokenUsageProvenance, ha as ResumedKeyState, hb as SandboxEvidenceReceipt, hc as StdioMcpConnection, hf as createRootHandle, hg as BridgeHarnessStore, hi as createWorktreeCliExecutor, hl as EqualKOnCostOptions, hm as CoordinationPublicAddress, hn as SurfaceReadBox, ho as strategyTournament, hp as DriveHarness, hr as assertSearchSpec, hs as InMemoryCorpus, ht as classifyDriverFailure, hu as LeaderboardScenario, hw as WorkerInteractiveUnavailableReason, hy as CodexRolloutIdentity, iC as SqlRunOwnershipError, iE as RecoverRetainedRunIntentOptions, iT as ProviderCheckpointCaptureContext, ia as WorkspaceCheckpointMarker, ib as areaUnderCurve, ic as isTerminalDecision, if as RunContextLease, ig as AgentEnvironmentProviderRegistry, ii as ProfileRunRecord, il as ObserveOptions, im as DeliveredOutput, in as WorkspaceRequest, io as selectBestIndex, ip as dumbContinuationPassPrompt, ir as captureWorkerTraceEvidence, is as PrivateCasOffloadReport, it as ProviderModelExecutionEvidence, iu as ShapeContext, iw as Executor, iy as mapExecutorResult, j as TRACE_ROOT_SCHEMA, jS as BusEvent, jT as LoopSandboxPlacement, ja as asAuthoredProfile, jc as depthStrategy, jf as WorkerEventPage, jg as sandboxProgressEvents, jh as SandboxSeam, ji as graphRegistry, jl as RenderCorpusToInstructions, jm as ContinuationContext, jn as attachWorker, jo as S3PrivateCasStore, jp as AllWorkersStalledOptions, jr as safeWorkerFile, js as observationFromRegistry, jt as SuperviseProfileEntry, ju as IsolatedCheckResult, jw as WorkerProgress, jx as JsonScalar, jy as CodeModeToolContext, k as EvidencePendingEvent, kT as LoopPlanPayload, ka as ProfileRichness, kb as createOpenInferenceFileExporter, kc as SurfaceScore, kd as supervise, kf as WorkerEventCursor, kg as mapSandboxEvent, kh as RouterSeam, ki as graphDigest, kl as Pipeline, km as CheckRead, kn as WorkerInteractiveBinding, ko as AcquireOptions, kp as SupervisorProfile, kr as readWorkerSteerAcknowledgement, ks as createScopeAnalyst, kt as SpawnRefusal, ku as IsolatedCheckBoxEvidence, kw as ScopeProgressInput, kx as GateDecision, ky as CodeModeStore, lE as RetainedInteractiveIntentAdmission, lS as AUTHORITY_MARKERS, lT as ProviderWorkspaceCaptureResult, la as RootSignal, lb as WaterfallReport, lc as inProcessSandboxClient, lf as SupervisorSpanOptions, lg as ProviderPromptOptions, li as profileRunsForName, ll as CombinatorShape, lm as collectDelivered, ln as CreateTangleSandboxExactProcessProviderOptions, lo as EvolutionStrategy, lp as supervisorAgent, lr as createFencedSqlRunContext, ls as builtinShapes, lt as DriverAttemptStop, lu as LeaderboardBenchScore, lw as ExecutorTeardownWarning, ly as CompletionVerdict, mC as SpawnForestInDoubtNode, mE as RetainedRunCancellation, mS as PeerMailLimits, mT as ExecutorToolCall, ma as ReenteredWorkers, mb as SandboxEvidenceContext, mc as McpSpawnFault, mf as createSupervisor, mg as cliWorktreeExecutor, mi as WorktreePatchArtifact, ml as EqualKOnCost, mm as CoordinationMcpHandle, mn as SurfaceDiff, mo as runStrategyEvolution, mp as CoordinationVerbs, mr as SearchSpecOwnedOption, ms as FileCorpus, mt as DriverRepromptRefusal, mu as LeaderboardRunContext, mw as WorkerInteractiveSession, my as CodexForkBoundary, nE as NativeContextContinuationInput, nS as DownMessageEvent, nT as resolveHarnessTranscriptCapture, na as SpawnJournal, nb as AnytimeTaskCurve, nc as TerminalDecision, nf as InMemoryRunContextOptions, ng as sharedWorkerClientName, ni as provisionSupervisor, nl as ObservationError, nm as UNPROVEN_CONTINUITY, nn as SandboxEvent, no as resolveEntrySymbol, np as delegatesWorkerBriefPrompt, nr as WORKER_TOOL_TRACE_SCHEMA_VERSION, ns as PrivateCasArtifactPort, nt as NoWinnerError, nu as RunPersonifiedOptions, nw as UnknownMaterializationReason, ny as ExecutorResultMapping, oC as openSqlRunStore, oE as RecoverRetainedRunResult, oS as MapOnSettleRoute, oT as ProviderWorkspaceAttemptProvenance, oa as RootHandle, ob as plateauLength, oc as InProcessOnPrompt, of as createInMemoryRunContext, og as resolveAgentEnvironmentProvider, oi as loadProfile, ol as observe, om as FinalizerSettled, on as makeFinding, oo as visibleCheckScore, op as kernelPromptRegistry, or as workerTraceAnalysisStore, os as createPrivateCasArtifactPort, ot as RootStreamReceipt, ou as ProviderAsSandboxClientOptions, ow as ExecutorCancellation, oy as CompletionAnalyst, pC as SpawnForestEvent, pE as RetainedRunCancelOptions, pS as PeerMailEvent, pT as ExecutorProgressEvent, pa as Agent, pb as runAgentRounds, pc as McpListedTool, pf as DEFAULT_MAX_DEPTH, pg as cliInPlaceExecutor, pi as WorktreeCliExecutorOptions, pl as EqualKArm, pm as CoordinationAuthentication, pn as HarvestSurfaceDiffsOptions, po as TournamentRow, pp as CoordinationToolFace, pr as SearchSpecInputs, ps as runPersonified, pt as DriverLoopRecord, pu as LeaderboardIterationInfo, pw as Runtime, py as stopSentinel, q as RetainedExecutionState, qC as ExecutionBindingReceipt, qS as AnalystRunContext, qa as VisibleCheck, qc as strategyAuthorContract, qd as SuperviseRegistry, qf as ReserveOptions, qg as ToolLoopMessageRecord, qh as SharedBoxPlacement, qi as DesignerRunGraphEnv, ql as WinnerStrategy, qm as passedItems, qn as Workspace, qo as assertModelAllowed, qp as RunCancelRequest, qr as RemoteSupervisorAgent, qs as LoopOptionsForDispatch, qt as CheckpointRef, qw as ReadableEnvironment, qy as ScoreOf, rC as SqlRunLease, rE as ReconnectRetainedRunOptions, rS as WorkerResumeContext, rT as retainHarnessTranscript, ra as TraceRootReceipt, rb as anytimeReport, rc as defaultSelectWinner, rf as RunContext, rg as AgentEnvironmentProviderRef, ri as ProfileRegistryDir, rl as ObserveInput, rm as composeReentryTask, rn as SandboxInstance, ro as sandboxCheckRunner, rp as dumbContinuationFailPrompt, rr as WorkerToolTraceArtifact, rs as PrivateCasDurableStore, rt as ProviderModelAttemptEvidence, ru as ShapeBudget, rw as EnvironmentTeardownReceipt, ry as gateOnDeliverable, sE as RetainedInteractiveAdmission, sS as MapSpawnMarker, sT as ProviderWorkspaceCaptureProvenance, sa as RootSegment, sb as renderAnytimeTable, sc as InProcessPromptCtx, sf as withRunContext, sg as ProviderExecutorOptions, si as pickBestProfile, sl as renderReport, sm as SupervisorFinalizer, sn as VerifierEnvironmentOptions, so as EvolutionAuthor, sp as naiveContinuationPrompt, sr as FencedSqlRunContext, ss as equalKOnCost, st as SupervisedResult, su as providerAsSandboxClient, sw as ExecutorCancellationRequest, sy as CompletionEvidence, tC as normalizeAnalyzeOnSettle, tE as NativeContextContinuationHandle, tS as DownMessageDeliveryOutcome, tT as RetainedHarnessTranscriptDescriptor, ta as SpawnEvent, tb as AnytimeStrategySummary, tc as TERMINAL_DECISIONS, tf as InMemoryRunContext, tg as sharedBoxRefusal, ti as SupervisorCleanupReceipt, tl as ObservationAnalysis, tm as ReentryTaskInput, tn as ResourceRequest, to as officialChecksFromMeta, tp as createPromptRegistry, tr as analyzeTrace, ts as streamAgentTurn, tt as FleetYield, tu as RunPersonified, tw as RootMaterialization, ty as DeliverableSpec, uE as RetainedInteractiveStartedAdmission, uS as DEFAULT_PEER_MAIL_LIMITS, uT as ProviderWorkspaceEntryMetadata, ua as SteerableRootHandle, ub as WaterfallSpan, uc as HttpMcpServerSpec, uf as SupervisorSpanOutcome, ug as providerAsExecutor, ui as recordProfileRun, ul as Corpus, um as finalizeBestDelivered, un as SandboxControlClient, uo as StrategyEvolutionConfig, ur as CompiledSearchSpec, us as createShapeRegistry, ut as DriverAttemptsExhaustedError, uu as LeaderboardBenchTask, uw as HeldEnvironment, uy as completionAuthorizes, vC as loadSpawnForest, vE as RetainedRunEventOptions, vS as PeerMailSendInput, vT as DefaultVerdict, va as UnconfirmedTeardown, vb as captureBeforeDestroy, vc as materializeLocalMcp, vd as EdgeTraversal, vf as DEFAULT_BUDGET_STOP_HOLD_MS, vg as KeyProvider, vi as InteractiveWorkerOptions, vl as FanoutOptions, vm as serveCoordinationMcp, vn as WatchedSurface, vo as OpenSandboxRunOptions, vp as ResolveDriveHarness, vr as searchSpecDigest, vs as flatWidenGate, vt as BlockedToolReport, vu as defineLeaderboard, vw as SessionMessageLike, vy as CodexRolloutStoreRef, w as RuntimeFailureCode, wC as contentAddress, wE as RetainedRunTurnInput, wS as peerMailTools, wT as LoopIterationDispatchPayload, wa as ChatWorkerSeamOptions, wc as ArtifactHandle, wd as RunGraphOptions, wf as workerTraceEnv, wg as secretEnvOfMcpServer, wh as CliInPlaceSeam, wi as GraphRegistryDir, wl as LoopUntilState, wm as CoordinationOwnerId, wn as failuresAnalyst, wo as BranchCapableBox, wp as SupervisorToolDescriptor, wr as cancelWorker, ws as widen, wt as MakeWorkerAgent, wu as declaredCheckDeliverable, ww as sandboxSessionTraceSource, wx as ManagerReentryState, wy as readCodexRolloutSession, xC as FileSpawnJournal, xE as RetainedRunReplayPoint, xS as claimsAuthority, xT as Iteration, xa as ChatSessionStore, xc as AgenticSurface, xd as GraphNode, xf as WorkerTraceResolver, xg as mcpSecretEnvMetadataKey, xh as createExecutorRegistry, xi as WorkerInteractiveAdmission, xl as FlatWidenGate, xm as CoordinationRejectReason, xn as harvestSurfaceDiffs, xo as SandboxRunAbortError, xr as WorkerSteerAcknowledgement, xs as pipeline, xu as DeclaredCheckStateCapture, xw as TraceSource, xx as CoordinationEvent, xy as addHarnessUsage, yC as FileResultBlobStore, yE as RetainedRunHandle, yS as PeerMailbox, yT as Driver, ya as WidenGate, yc as AgenticOptions, yd as GraphEdge, yf as SUBTREE_RESULT_LIMIT, yg as ResolvedMcpServerLaunch, yi as InteractiveWorkerResult, yl as FanoutSynthesis, ym as CoordinationHttpAudit, yn as boxSurfaceReader, yo as OpenSandboxRunPromptOptions, yp as ResolveSupervisorTools, yr as WorkerCancelRequest, ys as loopUntil, yt as CoordinationStats, yu as DeclaredCheck, yw as SessionTraceBox, yy as CodexRolloutTurn, z as ResourceSpend, zS as watchTrace, zT as MountRecorder, za as CheckRunner, zc as StrategyArtifacts, zd as ResolvedWorkerSpawnRetry, zf as LeakedReservation, zg as RouterResponseReceipt, zh as InboxLease, zi as taskShapeDigest, zl as TrajectoryReportFn, zm as PanelFinding, zn as settledWorkerOut, zo as claimRetainedInteractiveControl, zp as StopRule, zr as workerInboxFile, zs as BenchmarkReport, zt as AgentEnvironmentSummary, zw as RetainedInteractiveStartMaterial, zy as GroupOf } from "./types-CrNWif8-.js";
|
|
2
|
-
import {
|
|
1
|
+
import { $ as NoWinnerError, $_ as WorktreeProfileMaterializationReceipt, $a as strategyTournament, $b as ScopeProgressInput, $c as TrajectoryNode, $d as formatPromptHandle, $f as CoordinationLog, $g as LeaderboardRow, $i as ChatTransportExecutorOptions, $n as SqlRunContextOptions, $o as createScopeAnalyst, $p as DEFAULT_SHARED_BOX_WORKERS, $r as GraphRunRecord, $s as depthStrategy, $t as createVerifierEnvironment, $u as WorkerSpawnRetryAttempt, $v as PeerMailbox, $x as LoopPlanPayload, $y as InMemorySpawnJournal, A as TraceRootArtifact, AS as RecoverRetainedRunResult, Aa as filterAuthoredAsserts, Ab as ExecutorCancellation, Ac as AssertTraceDerivedFindings, Ad as BudgetReadout, Af as RunCancelRequest, Ag as CodexRolloutStoreReader, Ai as SpawnJournal, Al as LeaderboardScenario, Am as SandboxOutputMarker, An as settledWorkerOut, Ao as PrivateCasDurableStore, Ap as createExecutorRegistry, Ar as RemoteWorkerEvents, As as InProcessSandboxClientOptions, At as AgentEnvironmentStatus, Au as EdgeDeliveryOutcome, Ax as ProviderWorkspaceAttemptProvenance, Ay as CodexExecutionEvidence, B as Handle, BS as RetainedRunEffect, Ba as AgentTurnUsage, Bb as WorkerTraceEvidence, Bc as FanoutWinnerSelector, Bf as FinalizeContext, Bg as CodeModeStore, Bi as SupervisorOpts, Bl as declaredCheckDigest, Bm as RouterTransportConfig, Bn as WorkspaceRun, Bo as renderCorpusToInstructions, Bp as SandboxSeam, Br as loadProfile, Bs as materializeLocalMcp, Bt as CreateAgentEnvironmentInput, Bu as runGraph, Bx as UsageEvent, By as SqlAdapter, C_ as runAgentRounds, Ca as StructuralRolloutResult, Cb as NodeExecutionIdentity, Cc as ObservationAnalysis, Cd as SupervisorSpanOutcome, Cf as ProgressView, Cg as completionAuthorizes, Ci as GraphDesignerExtraTools, Cl as DefinedLeaderboard, Cm as ResolvedMcpServerLaunch, Cn as readWorkerInteractiveBinding, Co as recoverRetainedInteractiveRun, Cr as supervisorRunDir, Cs as LocalSandboxClientOptions, Ct as SuperviseProfileEntry, Cv as QuestionEscalationTarget, Cx as HarnessTranscriptReadOptions, Cy as AnalystLensOutput, DS as ReconnectRetainedRunOptions, Da as composeCheckSources, Db as EnvironmentTeardownReceipt, Dc as defaultAnalystInstruction, Df as anyOf, Dg as CodexForkBoundary, Di as delegate, Dl as LeaderboardFlagSpec, Dm as resolveSecretEnv, Dn as WorkerEvidenceInput, Do as profileChatClient, Dr as RemoteSupervisorAgent, Ds as inlineSandboxClient, Dt as AgentEnvironmentEvent, Dv as QuestionRecord, Dx as retainHarnessTranscript, Dy as AuthoredAnalystDefinition, E as EvidencePendingEvent, ES as NativeContextContinuationInput, E_ as SandboxEvidenceRetentionPort, Ea as compareCheckOutcomes, Eb as UnknownMaterializationReason, Ec as ObserveOptions, Ed as WorkerTraceResolver, Ef as allWorkersStalled, Eg as stopSentinel, Ei as defaultDelegateBudget, El as LeaderboardBenchmarkAdapter, Em as resolveMcpServerLaunch, En as VERIFY_TAIL_CHARS, Eo as resolveSandboxClient, Er as writeWorkerSteer, Es as defaultSelectWinner, Et as AgentEnvironmentCapabilities, Ev as QuestionPolicy, Ex as resolveHarnessTranscriptCapture, F as ResourceLimit, FS as RetainedRunAdmission, Fa as selectBestIndex, Fb as HeldForContinuation, Fc as EqualKArm, Fd as ReservationShortfall, Ff as ReentryContinuity, Fg as createCodexRolloutStoreReader, Fi as RootSegment, Fl as DeclaredCheckPlacement, Fm as SandboxServedBackend, Fn as withUntrackedArtifacts, Fo as trajectoryReport, Fp as CliWorktreeBridgeSeam, Fr as SupervisorCleanupReceipt, Fs as McpListedTool, Ft as AgentSessionStatus, Fu as GraphResult, Fv as DownMessageDeliveryAttempt, Fx as ProviderWorkspaceRetentionContext, G as Settled, GS as RetainedRunReplayPoint, Ga as EvolutionAuthor, Gb as TraceSource, Gc as PanelSpec, Gd as PromptHandle, Gf as CoordinationMcpHandle, Gg as RunCodeModeOptions, Gi as Scope, Gl as IsolatedCheckOptions, Gm as ToolLoopCompaction, Gn as TrajectoryAnalysis, Go as pipeline, Gp as createSteerableSandboxSession, Gr as InteractiveWorkerEnvironment, Gs as AgenticTool, Gt as PlacementInfo, Gu as workerFromBackend, Gv as PEER_MAIL_WIRE_KEY, Gx as Iteration, Gy as SpawnForestMissingTree, H as NodeSnapshot, HS as RetainedRunEventOptions, Ha as StreamAgentTurnOptions, Hb as SessionMessageLike, Hc as LoopUntilState, Hf as SupervisorFinalizer, Hg as CodeModeToolContext, Hi as ReenteredWorkers, Hl as readDeclaredCheck, Hm as ToolSpec, Hn as jjWorkspace, Ho as flatWidenGate, Hp as SandboxSteeringOptions, Hr as profileRegistry, Hs as AgenticRunResult, Ht as ExecRequest, Hu as supervise, Hv as MapTraversalEvent, Hx as DefaultVerdict, Hy as SpawnForest, I as ResourceSpend, IS as RetainedRunAdmissionHook, Ia as structuralRollout, Ib as HeldRelease, Ic as EqualKOnCostOptions, Id as ReservationStage, If as ReentryTaskInput, Ig as harnessUsageIsEmpty, Ii as RootSegmentEntry, Il as DeclaredCheckStateCapture, Im as SandboxUsageLedger, In as GitWorkspaceOptions, Io as definePersona, Ip as CliWorktreeSeam, Ir as provisionSupervisor, Is as McpSpawnFault, It as AgentTurnResult, Iu as GraphTopology, Iv as DownMessageDeliveryOutcome, Ix as ProviderWorkspaceRetentionPort, Iy as CodexTokenUsage, J as SpawnRejection, JS as RetainedRunTurnInput, Ja as StrategyEvolutionConfig, Jb as sandboxSessionTraceSource, Jc as RenderCorpusToInstructionsOptions, Jd as analyzesFindingsReportPrompt, Jg as AxisScoresOf, Ji as WorkerEventCursor, Jm as ToolLoopToolCall, Jn as parseWorkerToolTraceArtifact, Jo as widen, Jp as InboxLease, Jr as InteractiveWorkerResult, Js as RunAgenticOptions, Jt as SandboxInstance, Ju as SuperviseOptions, Jv as PeerMailLimits, Jx as LoopIterationDispatchPayload, Jy as loadSpawnForest, K as SpawnOpts, KS as RetainedRunSnapshot, Ka as EvolutionReport, Kb as createPushTraceSource, Kc as PanelVerdict, Kd as PromptRegistry, Kg as createCodeModeTools, Ki as UnconfirmedTeardown, Kl as IsolatedCheckResult, Kn as analyzeTrace, Ko as selectValidWinner, Kp as AuthorityInboxMessage, Kr as InteractiveWorkerKeyInput, Ks as ArtifactHandle, Kt as ResourceRequest, Kv as PeerMailEnvelope, Kx as LoopDecisionPayload, Ky as SpawnForestNode, L as Spend, LS as RetainedRunCancelOptions, La as visibleCheckScore, Lb as Runtime, Lc as EqualKVerdict, Ld as ReservationTicket, Lf as UNPROVEN_CONTINUITY, Lg as readCodexRolloutSession, Li as RootSignal, Ll as assertDeclaredCheck, Lm as extractLlmCallEvent, Ln as Shell, Lo as runPersonified, Lp as ProviderSeam, Lr as ProfileRegistryDir, Ls as StdioMcpConnection, Lt as AnalystFinding, Lu as RunGraphOptions, Lv as DownMessageEvent, Lx as ExecutorProgressEvent, Ly as CodexExecutionPolicy, M as Budget, MS as RetainedInteractiveEnvironmentAdmission, Ma as officialChecksFromMeta, Mb as ExecutorResult, Mc as Corpus, Md as ReservationFloor, Mf as cancelRun, Mg as CodexRolloutTurn, Mi as WorkspaceCheckpointMarker, Ml as LeaderboardSpec, Mm as createSandboxToolPartState, Mn as CopyOptions, Mo as PrivateCasOptions, Mp as createExecutor, Mr as ProvisionSupervisorConnection, Ms as HttpMcpServerSpec, Mt as AgentProfile, Mu as GraphEdge, Mv as ContinuationInstruction, Mx as ProviderWorkspaceCaptureReceipt, N as BudgetOverspend, NS as RetainedInteractiveIntentAdmission, N_ as createOtelExporter, Na as resolveEntrySymbol, Nb as ExecutorTeardownWarning, Nc as CorpusFilter, Nd as ReservationHolder, Nf as readRunCancelRequest, Ng as CodexStoreDelta, Ni as RecursiveReservationPolicy, Nl as defineLeaderboard, Nm as mapSandboxEvent, Nn as UntrackedCopyStats, No as createPrivateCasArtifactPort, Np as CliInPlaceSeam, Nr as ProvisionSupervisorRequest, Ns as LocalMcpMaterialization, Nt as AgentSession, Nu as GraphEdgeCapError, Nx as ProviderWorkspaceCaptureResult, O as TRACE_ROOT_SCHEMA, OS as RecoverRetainedRunIntentOptions, Oa as defaultExtractCandidate, Ob as Executor, Oc as observe, Od as BudgetPool, Of as noProgressFor, Og as CodexRolloutIdentity, Oi as ResultBlobStore, Ol as LeaderboardIterationInfo, Om as secretEnvOfMcpServer, On as closingWorkerNote, Oo as profileOptimizerModelCall, Or as RemoteSupervisorReader, Os as InProcessOnPrompt, Ot as AgentEnvironmentProvider, Ox as ProviderCheckpointCaptureContext, Oy as AuthoredAnalystLimits, P as BudgetViolation, PS as RetainedInteractiveStartedAdmission, Pa as sandboxCheckRunner, Pb as HeldEnvironment, Pc as CorpusRecord, Pd as ReservationRejection, Pf as readRunCancellation, Pg as addHarnessUsage, Pi as RootHandle, Pl as DeclaredCheck, Pm as mapSandboxToolEvent, Pn as copyUntrackedIntoClone, Po as equalKOnCost, Pp as CliSeam, Pr as ProvisionedSupervisor, Ps as MaterializeLocalMcpOptions, Pt as AgentSessionRef, Pu as GraphNode, Px as ProviderWorkspaceEntryMetadata, Q as FleetYield, Q_ as WorktreeHarnessResult, Qa as runStrategyEvolution, Qb as ExecutorProgress, Qc as SteerContext, Qd as dumbContinuationPassPrompt, Qg as LeaderboardOptions, Qi as ChatSessionStore, Qn as FencedSqlRunContext, Qo as buildSteerContext, Qp as DEFAULT_SHARED_BOX_RESOURCES, Qr as GraphRegistryDir, Qs as breadthStrategy, Qt as VerifierEnvironmentOptions, Qu as ResolvedWorkerSpawnRetry, Qv as PeerMailSendInput, Qx as LoopPlanDescription, Qy as InMemoryResultBlobStore, R as SpendChannel, RS as RetainedRunCancellation, Ra as AgentTurnBackend, Rb as WorkerInteractiveSession, Rc as FanoutOptions, Rd as ReserveOptions, Rf as composeReentryTask, Rg as HarnessUsage, Ri as SteerableRootHandle, Rl as checkProgramDigest, Rm as sumSandboxUsage, Rn as Workspace, Ro as FileCorpus, Rp as RouterSeam, Rr as ProfileRunRecord, Rs as StdioMcpServerSpec, Rt as CheckpointRef, Rv as WorkerResumeContext, Rx as ExecutorToolCall, Ry as SqlRunOwnershipError, S_ as RunAgentRoundsOptions, Sa as StructuralRolloutPolicy, Sb as MaterializedModelIdentity, Sc as Observation, Sd as SupervisorSpanOptions, Sf as PlateauOptions, Sg as CompletionVerdict, Si as DesignerToolsEnv, Sl as providerAsSandboxClient, Sm as KeyProvider, Sn as attachWorker, So as reconnectRetainedInteractiveRun, Sr as safeWorkerFile, Ss as superviseDispatch, Sv as QuestionEscalationRecord, Sx as HarnessTranscriptReadLimits, Sy as AnalystKind, TS as NativeContextContinuationHandle, T_ as SandboxEvidenceReceipt, Ta as canDisplace, Tb as RootMaterialization, Tc as ObserveInput, Td as createSupervisorSpanRecorder, Tf as StopRule, Tg as sentinelCompletion, Ti as DelegateOptions, Tl as LeaderboardBenchTask, Tm as mcpSecretEnvMetadataKey, Tn as NOTE_MAX_CHARS, To as ResolveSandboxClientOptions, Tr as workerInboxFileFromEventDir, Ts as TerminalDecision, Tt as AgentEnvironment, Tx as RetainedHarnessTranscriptDescriptor, Ty as AnalystRunContext, U as NodeStatus, US as RetainedRunHandle, Ua as collectAgentTurn, Ub as SessionTraceBox, Uc as Panel, Ud as defaultEdgeTraversalCap, Uf as bestDelivered, Ug as CodeModeToolsOptions, Ui as ResumedKeyState, Ul as IsolatedCheckBox, Um as ToolLoopCallContext, Un as localShell, Uo as loopUntil, Up as SteerableSandboxArgs, Ur as profileRunsForName, Us as AgenticSurface, Ut as ExecResult, Uu as superviseFleetCapabilities, Uv as AUTHORITY_MARKERS, Ux as Driver, Uy as SpawnForestEvent, V as NodeId, VS as RetainedRunEnvironmentAdmission, Va as CollectedAgentTurn, Vb as WorkerTraceUnavailableReason, Vc as LoopUntilSpec, Vf as FinalizerSettled, Vg as CodeModeTool, Vi as Agent, Vl as declaredCheckJudge, Vm as RouterRouting, Vn as gitWorkspace, Vo as fanout, Vp as DEFAULT_SANDBOX_STEERING_MAX_TURNS, Vr as pickBestProfile, Vs as AgenticOptions, Vt as CreateSandboxOptions, Vv as MapSpawnMarker, Vx as AgentRunSpec, Vy as materializeTreeView, W as RetainedExecutionState, WS as RetainedRunIntentAdmission, Wa as streamAgentTurn, Wb as ToolStepInput, Wc as PanelJudge, Wd as GraphRouteError, Wg as CodeModeToolset, Wi as ResumedWork, Wl as IsolatedCheckBoxEvidence, Wm as ToolLoopChat, Wn as runInWorkspace, Wo as panel, Wp as SteerableSandboxSession, Wr as recordProfileRun, Ws as AgenticTask, Wt as ForkRequest, Wv as DEFAULT_PEER_MAIL_LIMITS, Wx as ExecCtx, Wy as SpawnForestInDoubtNode, X as SubtreeSummary, XS as StartRetainedRunOptions, X_ as WorktreeCheckRunner, Xa as TournamentCell, Xb as ActivityNote, Xc as ScopeAnalyzeInput, Xd as delegatesWorkerBriefPrompt, Xg as Interval, Xi as WorkerEventPage, Xn as createSupervisor, Xo as RegistryAnalyzeProjection, Xp as PeerInboxMessage, Xr as InPlaceCliExecutorOptions, Xs as StrategyShotResult, Xt as computeFindingId, Xv as PeerMailReadout, Xx as LoopIterationStartedPayload, Xy as replaySpawnTree, Y as SubtreeResult, YS as StartRetainedRunInEnvironmentOptions, Y_ as InPlaceHarnessResult, Ya as StrategyTournament, Yb as ActivityLog, Yc as ScopeAnalyst, Yd as createPromptRegistry, Yf as serveCoordinationMcp, Yg as GroupOf, Yi as WorkerEventEntry, Yn as DEFAULT_MAX_DEPTH, Yo as CreateScopeAnalystOptions, Yp as InboxMessage, Yr as workerFromInteractiveProvider, Ys as StrategyMessage, Yt as WorkspaceRequest, Yv as PeerMailOutcome, Yx as LoopIterationEndedPayload, Yy as FileResultBlobStore, Z as TreeView, Z_ as WorktreeCommandResult, Za as TournamentRow, Zb as DEFAULT_STALL_AFTER_MS, Zc as ScopeWidenGate, Zd as dumbContinuationFailPrompt, Zg as Leaderboard, Zi as ChatCompletionsTransport, Zn as createRootHandle, Zo as assertTraceDerivedFindings, Zp as createInbox, Zr as createInPlaceCliExecutor, Zs as SurfaceScore, Zt as makeFinding, Zu as createWorkerSlots, Zv as PeerMailRefusal, Zx as LoopLineageOptions, Zy as FileSpawnJournal, __ as renderAnytimeTable, _a as CheckSource, _b as ExecutionBindingReceipt, _c as HarvestCorpusOptions, _d as RunContextLease, _f as SupervisorToolInvocationContext, _g as mapExecutorResult, _i as RollingDispatchOptions, _l as RunPersonifiedOptions, _m as UnavailablePausePolicy, _n as WorktreePatchArtifact, _o as recoverRetainedRun, _r as cancelWorker, _s as LoopOptionsForDispatch, _x as ReadableEnvironment, _y as WatchTraceOptions, aS as LoopTraceEmitter, a_ as pairwiseSignificance, aa as AuthoredProfile, ac as ShotSpec, ad as withWorkerSpawnRetry, af as CoordinationToolFace, ai as graphRegistry, al as WidenDecision, am as sharedBoxPlacement, an as SurfaceReader, ao as SandboxRunAbortError, ap as ContinuationPanel, ar as SearchSpecOwnedOption, as as sanitizeMcpToolSchema, at as DriverAttemptRecord, av as ManagerReentryState, ax as RecoverRetainedInteractiveRunOptions, ay as peerMailVerbNames, b_ as WaterfallSpan, ba as StructuralRolloutConfig, bb as ExecutorNodeContext, bc as HarvestReport, bd as withRunContext, bf as AllWorkersStalledOptions, bg as CompletionEvidence, bi as rollingDispatch, bl as ShapeRegistry, bm as BridgeModelCredential, bn as WorkerInteractiveBinding, bo as ClaimRetainedInteractiveControlOptions, br as readWorkerSteerAcknowledgement, bs as loopCampaignDispatch, bv as QuestionDecision, bx as persistHarnessTranscript, by as AnalystAssignmentRecord, cS as MountManifestEntry, c_ as renderLeaderboardSvg, ca as asAuthoredProfile, cc as StrategyCtx, cd as SeatSegment, ci as loadGraph, cl as WinnerStrategy, cm as sharedWorkerClientName, cn as fsSurfaceReader, co as SandboxLineage, cp as ContinuationPolicy, cr as searchPresets, cs as BenchmarkLift, ct as DriverFailureClass, cx as RetainedInteractiveRunHandle, dS as RunProvenance, d_ as AnytimeStrategySummary, da as profileRichnessFinding, db as AgentSpec, dc as assertStrategyContract, dd as SeatStage, df as ResolveSupervisorTools, di as recordGraphRun, dl as LoopShape, dm as createAgentEnvironmentProviderRegistry, dn as analystsFromRegistry, do as AcquireOptions, dp as VerdictSummary, dr as createScope, ds as BenchmarkTaskRow, dv as GateRequest, dx as HarnessTranscriptArtifact, dy as BusEvent, eS as LoopResult, e_ as PairwiseOptions, ea as ChatTransportTool, eb as contentAddress, ec as refine, ed as WorkerSpawnRetryHooks, ef as kernelPromptRegistry, ei as GraphSelection, el as TrajectoryReport, em as SharedBoxCloseReceipt, en as BoxSurfaceReaderOptions, eo as Deliverable, ep as FileCoordinationLog, er as createFencedSqlRunContext, es as registryScopeAnalyst, et as ProviderModelAttemptEvidence, ev as GitRunner, ex as TeamProgress, ey as PeerMailboxOptions, f as BackendErrorDetail, fS as SandboxClient, f_ as AnytimeTaskCurve, fa as supervisorInstructions, fb as ExecutorContext, fc as authorStrategy, ff as SupervisorAgentDeps, fg as CheckUnavailableError, fi as storedGraphDigests, fl as Outcome, fm as resolveAgentEnvironmentProvider, fn as failuresAnalyst, fo as acquireSandbox, fp as admitContinuationPolicy, fr as ScopeArgs, fs as Environment, fv as JsonScalar, fx as HarnessTranscriptCapture, fy as BusRecord, g_ as plateauLength, ga as CheckRunner, gb as AgentExecutionRef, gc as strategyAuthorSystemPrompt, gd as RunContext, gf as SupervisorToolDescriptor, gg as gateOnDeliverable, gi as DispatchUnit, gl as RunPersonified, gm as providerAsExecutor, gn as WorktreeCliExecutorOptions, go as reconnectRetainedRun, gr as WriteWorkerSteerOptions, gs as LoopDispatchOptions, gt as MakeWorkerAgent, gv as RouteWhen, gx as HarnessTranscriptUnavailableReason, gy as createEventBus, hS as Validator, h_ as bestSoFar, ha as CheckRunContext, hb as SpawnModelSubstitution, hc as strategyAuthorContract, hd as InMemoryRunContextOptions, hf as SupervisorNodeContextSeed, hg as ExecutorResultMapping, hi as DispatchStopReason, hl as PersonaExecutors, hm as ProviderPromptOptions, hn as worktreeFanout, ho as createS3PrivateCasStore, hp as DriverRetryPolicy, hr as WorkerSteerRequest, hs as LoopCampaignDispatchOptions, hv as RouteMatch, hx as HarnessTranscriptUnavailable, hy as PublishOptions, iS as LoopTokenUsage, i_ as leaderboard, ia as createChatSessionStore, ic as AuthoredStrategy, id as retryPreSpawnRefusals, ii as graphFromStored, il as Widen, im as SharedWorkerIdentity, in as SurfaceReadOutcome, io as SandboxRun, ip as ContinuationEntry, ir as SearchSpecInputs, is as createMcpEnvironment, it as SupervisedResult, iv as LeadMessage, ix as ReconnectRetainedInteractiveRunOptions, iy as peerMailTools, j as TraceSummary, jS as RetainedInteractiveAdmission, ja as modelAuthoredChecks, jb as ExecutorCancellationRequest, jc as CombinatorShape, jd as LeakedReservation, jf as RunCancellation, jg as CodexRolloutStoreRef, ji as TraceRootReceipt, jl as LeaderboardScore, jm as SandboxToolPartState, jn as spendFromUsageEvents, jo as PrivateCasOffloadReport, jp as ExecutorConfig, jr as connectRemoteSupervisor, js as inProcessSandboxClient, jt as AgentEnvironmentSummary, ju as EdgeTraversal, jx as ProviderWorkspaceCaptureProvenance, jy as LocalHarnessResult, k as TRACE_SUMMARY_SCHEMA, kS as RecoverRetainedRunOptions, ka as defaultStructuralRolloutPolicy, kb as ExecutorAccounting, kc as renderReport, kd as BudgetPoolRestore, kf as plateau, kg as CodexRolloutSession, ki as SpawnEvent, kl as LeaderboardRunContext, km as SandboxLeafOut, kn as composeWorkerEvidence, ko as PrivateCasArtifactPort, kr as RemoteSupervisorTree, ks as InProcessPromptCtx, kt as AgentEnvironmentQuery, ku as AgentGraph, kv as questionEscalationTargets, kx as ProviderNativeCapturePhase, ky as DefinedAnalystRecord, lS as MountRecorder, l_ as renderPairwiseMarkdown, la as assessAuthoredProfile, lc as StrategyResult, lf as ObserveSupervisorNodeEvent, li as lookupGraph, ll as DefinePersona, ln as harvestSurfaceDiffs, lo as SandboxLineageHandle, lp as ContinuationProfile, lr as searchSpecDigest, ls as BenchmarkReport, lt as DriverRepromptRefusal, lx as RetainedInteractiveStartMaterial, mS as ValidationCtx, m_ as areaUnderCurve, ma as CheckOutcome, mb as ExecutorRegistry, mc as sampleThenRefine, md as InMemoryRunContext, mf as SupervisorNodeContext, mg as DeliverableSpec, mi as DispatchReport, ml as PersonaContext, mm as ProviderLeafOut, mn as WorktreeFanoutOptions, mo as S3PrivateCasStoreOptions, mp as DriverReentry, mr as WorkerSteerAcknowledgement, ms as runBenchmark, mv as RouteGate, mx as HarnessTranscriptFile, my as EventBus, nS as LoopStartedPayload, n_ as ProfileKeyOf, na as chatTransportExecutor, nc as sample, nd as isPreSpawnExecutorFailure, nf as promptHandle, ni as digestOfGraph, nl as Verify, nm as SharedBoxPlacementOptions, nn as SurfaceDiff, no as OpenSandboxRunOptions, nr as SEARCH_SPEC_CORRELATION_KEY, ns as McpEndpoint, nt as RootProviderModelEvidence, nv as CoordinationEvent, nx as createActivityLog, ny as createPeerMailbox, oS as LoopTraceEvent, o_ as renderLeaderboardHtml, oa as ProfileRichness, oc as Strategy, od as SuperviseRegistry, of as CoordinationVerbs, oi as graphRunsFor, ol as WidenLineage, om as ROUTER_CLIENT_HEADER, on as WatchedSurface, oo as TurnResult, op as ContinuationPanelInput, or as assertSearchSpec, os as BenchmarkCell, ot as DriverAttemptStop, ox as RetainedInteractiveAdmissionHook, pS as SelectionReceipt, p_ as anytimeReport, pa as CheckExecChannel, pb as ExecutorFactory, pc as defineStrategy, pd as subscriptionUsageLimitSignal, pg as CheckVerdict, pi as taskShapeDigest, pl as Persona, pm as ProviderExecutorOptions, pn as AuthoredHarness, po as S3PrivateCasStore, pp as DriverContractState, pr as WorkerCancellation, ps as printBenchmarkReport, px as HarnessTranscriptEvidence, py as BusStats, q as SpawnPrior, qS as RetainedRunStartMaterial, qa as EvolutionStrategy, qb as decodeToolPart, qc as PipelineStage, qd as RegisteredPrompt, qg as runCodeMode, qi as WidenGate, ql as runIsolatedCheck, qm as ToolLoopMessageRecord, qn as WorkerToolTraceArtifact, qo as verify, qp as Inbox, qr as InteractiveWorkerOptions, qs as CorpusReadbackOptions, qt as SandboxEvent, qv as PeerMailEvent, qx as LoopEndedPayload, qy as SpawnForestTree, rS as LoopTeardownFailedPayload, r_ as ScoreOf, ra as chatWorkerSeam, rc as AuthorStrategyOptions, rd as resolveWorkerSpawnRetry, rf as supervisorAgent, ri as graphDigest, rl as VerifySpec, rm as SharedBoxStats, rn as SurfaceReadBox, ro as OpenSandboxRunPromptOptions, rp as ContinuationAppend, rr as SearchSpec, rs as McpEnvironmentOptions, rt as RootStreamReceipt, rv as EventAcknowledgement, rx as readWorkerProgress, ry as isPeerMailEnvelope, sS as LoopWinner, s_ as renderLeaderboardMarkdown, sa as ProfileRichnessThresholds, sc as StrategyArtifacts, sd as SuperviseRegistryTable, sf as DriveHarness, si as listGraphRuns, sl as WidenSpec, sm as sharedBoxRefusal, sn as boxSurfaceReader, so as openSandboxRun, sp as ContinuationPanelResult, sr as compileSearchSpec, ss as BenchmarkConfig, st as DriverContinuationRecord, sv as ToolOutcomeEvent, sx as RetainedInteractiveEnvironmentInput, tS as LoopSandboxPlacement, t_ as PairwiseVerdict, ta as ChatWorkerSeamOptions, tc as runAgentic, td as WorkerSpawnRetryPolicy, tf as naiveContinuationPrompt, ti as StoredGraph, tl as TrajectoryReportOptions, tm as SharedBoxPlacement, tn as HarvestSurfaceDiffsOptions, to as OpenSandboxRunBeforeStartContext, tr as CompiledSearchSpec, ts as observationFromRegistry, tt as ProviderModelExecutionEvidence, tx as WorkerProgress, ty as claimsAuthority, uS as OutputAdapter, u_ as AnytimeReport, ua as defaultProfileRichnessThresholds, uc as adaptiveRefine, ui as pickBestGraph, ul as DefinePersonaInput, um as AgentEnvironmentProviderRegistry, un as AnalystAuthoring, uo as createSandboxLineage, up as PanelFinding, ur as settledToIteration, us as BenchmarkStrategySummary, ut as BlockedToolReport, uv as GateDecision, ux as StartRetainedInteractiveRunOptions, v_ as WaterfallCollector, va as CheckSourceCtx, vb as ExecutorExecutionBinding, vc as HarvestError, vd as createFileRunContext, vg as verdictFromJudgeScore, vi as freeSlots, vl as ShapeBudget, vm as ProviderPlacement, vn as createWorktreeCliExecutor, vo as startRetainedRun, vr as legacySupervisorRunDir, vs as SuperviseDispatchOptions, vt as SettledWorker, vx as captureHarnessTranscript, vy as defaultToolDetectors, wS as NativeContextContinuationExecution, w_ as SandboxEvidenceContext, wa as VisibleCheck, wb as ProfileMaterializationReceipt, wc as ObservationError, wd as SupervisorSpanRecorder, wf as StopDecision, wg as deterministicCompletion, wi as graphDesignerExtraTools, wl as LeaderboardBenchScore, wm as envKeyProvider, wn as EVIDENCE_MAX_CHARS, wo as startRetainedInteractiveRun, wr as supervisorRunsRoot, ws as TERMINAL_DECISIONS, wt as WorkerSpawnContext, wx as RetainedHarnessTranscriptCapture, wy as AnalystRegistry, x_ as createWaterfallCollector, xa as StructuralRolloutMessage, xb as MaterializedExecutionIdentity, xc as harvestCorpus, xd as SupervisorSpanAttributes, xf as NoProgressForOptions, xg as CompletionPolicy, xi as DesignerRunGraphEnv, xl as ProviderAsSandboxClientOptions, xm as BridgeSeam, xn as WorkerInteractiveProviderSource, xo as claimRetainedInteractiveControl, xr as readWorkerSteerRequests, xs as loopDispatch, xx as HarnessTranscriptMetadata, xy as AnalystFindingEvent, y_ as WaterfallReport, ya as RepairStop, yb as ExecutorMaterialization, yc as HarvestFailure, yd as createInMemoryRunContext, yf as SupervisorProfile, yg as CompletionAnalyst, yi as queueOf, yl as ShapeContext, ym as BridgeHarnessStore, yn as AttachWorkerOptions, yo as startRetainedRunInEnvironment, yr as readWorkerCancellation, ys as SuperviseOptionsForDispatch, yx as harnessTranscriptArtifact, yy as watchTrace, z as SpendGap, zS as RetainedRunDispatchedAdmission, za as AgentTurnInput, zb as WorkerInteractiveUnavailableReason, zc as FanoutSynthesis, zd as createBudgetPool, zf as DeliveredOutput, zg as decodeHarnessUsage, zi as Supervisor, zl as declaredCheckDeliverable, zm as RouterResponseReceipt, zn as WorkspaceCommit, zo as InMemoryCorpus, zp as RouterToolsSeam, zr as bestProfileFor, zs as connectStdioMcp, zt as CheckpointRequest, zu as TraversalContinuity, zv as MapItemFailurePolicy, zx as TokenUsageProvenance, zy as openSqlRunStore } from "./types-CaOXqRTq.js";
|
|
2
|
+
import { l as AgentCandidateWorkspaceArchiveLimits } from "./workspace-streams-BiS4ABah.js";
|
|
3
|
+
import { l as assertProfileMaterializes } from "./profile-materialization-B1wm2SPT.js";
|
|
3
4
|
import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-0fKkoweu.js";
|
|
4
|
-
export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type AdmittedFinding, type Agent, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRef, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentProfileRef, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystAssignmentRecord, AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalystRunContext, type AnalyzeOnSettleRoute, AnytimeReport, AnytimeStrategySummary, AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, AuthoredHarness, AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, type AuthorizeDownMessage, type AuthorizedDownMessage, type AuthorizedSpawn, type AuthorizedSpawnContext, type AwaitWakeInput, AxisScoresOf, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BlockedToolReport, BoxSurfaceReaderOptions, type BranchCapableBox, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, BudgetReconcileFault, type BudgetViolation, BusEvent, BusRecord, BusStats, CONTINUATION_FACTS, ChatCompletionsTransport, ChatSessionStore, ChatTransportExecutorOptions, ChatTransportTool, ChatWorkerSeamOptions, CheckExecChannel, CheckOutcome, type CheckRead, CheckRunContext, CheckRunner, CheckSource, CheckSourceCtx, CheckUnavailableError, CheckVerdict, type CheckpointRef, type CheckpointRequest, type ChildQuestionInbox, ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeOptions, type CodeModeResult, type CodeModeStore, type CodeModeTool, type CodeModeToolContext, type CodeModeToolsOptions, type CodeModeToolset, CodexForkBoundary, CodexRolloutIdentity, CodexRolloutSession, CodexRolloutStoreReader, CodexRolloutStoreRef, CodexRolloutTurn, CodexStoreDelta, type CollectedAgentTurn, type CombinatorShape, CompiledSearchSpec, CompletionAnalyst, CompletionEvidence, CompletionPolicy, CompletionVerdict, type ContinuationAppend, type ContinuationContext, type ContinuationEntry, type ContinuationInstruction, type ContinuationNoteInput, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type ContinuityMode, type CoordinationAuthentication, type CoordinationBinding, type CoordinationDeliveryEvidence, type CoordinationEvent, type CoordinationHttpAudit, type CoordinationHttpOptions, type CoordinationLog, type CoordinationMcpHandle, type CoordinationOwnerId, type CoordinationPublicAddress, type CoordinationReadAccess, type CoordinationRejectReason, type CoordinationStats, type CoordinationToolFace, type CoordinationTransportOptions, type CoordinationVerbs, CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, CreateScopeAnalystOptions, type CreateTangleSandboxExactProcessProviderOptions, DEADLINE_CHECK_IN_MESSAGE, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_BUDGET_STOP_HOLD_MS, DEFAULT_CHECK_IN_IDLE_MS, DEFAULT_DEADLINE_WARNING_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, type DeadlineCheckIn, DeclaredCheck, DeclaredCheckPlacement, DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, DelegateOptions, Deliverable, type DeliverableResolutionInput, DeliverableSpec, type DeliveredOutput, DesignerRunGraphEnv, DesignerToolsEnv, DispatchReport, DispatchStopReason, DispatchUnit, type DownMessageAuthorizationInput, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type DriveHarnessOwnerContext, type Driver, type DriverAttemptRecord, type DriverAttemptStop, DriverAttemptsExhaustedError, type DriverBudgetReadout, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverLoopRecord, type DriverProgressMark, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCost, type EqualKOnCostOptions, type EqualKVerdict, type EscalateQuestion, type EventAcknowledgement, EventBus, type EvidencePendingEvent, EvolutionAuthor, EvolutionReport, EvolutionStrategy, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type Fanout, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FlatWidenGate, type FleetYield, type ForkRequest, type GateDecision, type GateRequest, GitWorkspaceOptions, GraphDesignerExtraTools, type GraphEdge, GraphEdgeCapError, type RouteGate as GraphGate, type GraphNode, GraphRegistryDir, type GraphResult, GraphRouteError, GraphRunRecord, GraphSelection, type GraphTopology, GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, HarvestCorpusOptions, HarvestError, HarvestFailure, HarvestReport, HarvestSurfaceDiffsOptions, type HeldEnvironment, type HeldForContinuation, type HeldRelease, type HttpMcpServerSpec, InMemoryCorpus, InMemoryResultBlobStore, InMemoryRunContext, InMemoryRunContextOptions, InMemorySpawnJournal, InPlaceCliExecutorOptions, type InPlaceHarnessResult, InProcessOnPrompt, InProcessPromptCtx, InProcessSandboxClientOptions, type Inbox, type InboxLease, type InboxMessage, type InboxReceipt, InteractiveWorkerEnvironment, InteractiveWorkerKeyInput, InteractiveWorkerOptions, InteractiveWorkerResult, Interval, IsolatedCheckBox, IsolatedCheckBoxEvidence, IsolatedCheckOptions, IsolatedCheckResult, type Iteration, type JsonScalar, KeyProvider, type LeadMessage, Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, LeaderboardOptions, LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntil, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type ManagerWake, type ManagerWakePolicy, type MapItemFailurePolicy, type MapOnSettleRoute, type MapSpawnMarker, type MapTraversalEvent, MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, McpEndpoint, McpEnvironmentOptions, McpListedTool, McpSpawnFault, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, Observation, ObservationAnalysis, ObservationError, ObserveInput, ObserveOptions, type ObserveSupervisorNodeEvent, OpenSandboxRunBeforeStartContext, OpenSandboxRunOptions, OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, PairwiseOptions, PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PatchDeliverableOptions, type PeerInboxMessage, PeerMailEnvelope, PeerMailEvent, PeerMailLimits, PeerMailOutcome, PeerMailReadout, PeerMailRefusal, PeerMailSendInput, PeerMailbox, PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type Pipeline, type PipelineStage, type PlacementInfo, type PlateauOptions, type PriorCoordination, PrivateCasArtifactPort, PrivateCasDurableStore, PrivateCasOffloadReport, PrivateCasOptions, ProfileKeyOf, type ProfileMaterializationReceipt, ProfileRegistryDir, ProfileRichness, ProfileRichnessThresholds, ProfileRunRecord, type ProgressSample, type ProgressTracker, type ProgressTrackerOptions, type ProgressView, PromptHandle, PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, ProvisionSupervisorConnection, ProvisionSupervisorRequest, ProvisionedSupervisor, PublishOptions, type QuestionEscalationOutcome, type QuestionEscalationRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReenteredWorkers, ReentryContinuity, ReentryTaskInput, RegisteredPrompt, RegistryAnalyzeProjection, RemoteSupervisorAgent, RemoteSupervisorReader, RemoteSupervisorTree, RemoteWorkerEvents, type RenderCorpusToInstructions, type RenderCorpusToInstructionsOptions, RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, ReservationWaitRefused, type ReserveOptions, type ResolveDriveHarness, ResolveSandboxClientOptions, type ResolveSupervisorTools, ResolvedMcpServerLaunch, type ResolvedSupervisorProfile, ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedPendingCause, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RetainedRunTurnInput, RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSegment, type RootSegmentEntry, type RootSignal, type RootStreamReceipt, type RouteMatch, type RouteWhen, type RouterResponseReceipt, type RouterRouting, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunCodeModeOptions, RunContext, RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, type RuntimeFailureCause, type RuntimeFailureCode, type RuntimeFailureContext, type RuntimeFailureOwner, S3PrivateCasStore, S3PrivateCasStoreOptions, SEARCH_SPEC_CORRELATION_KEY, SUBTREE_RESULT_LIMIT, type SandboxClient, type SandboxControlClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, SandboxEvidenceRetentionError, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, ScoreOf, SearchSpec, SearchSpecInputs, SearchSpecOwnedOption, type SeatSegment, type SeatSelection, type SeatSelectionInput, type SeatStage, type SelectSeat, type SelectionReceipt, type SessionCapableBox, type SessionMessageLike, type SessionTraceBox, type Settled, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxHandle, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxProcess, type SharedBoxStats, type SharedWorkerIdentity, Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnModelSubstitution, type SpawnOpts, type SpawnPreflight, type SpawnPreflightContext, type SpawnPrior, type SpawnRefusal, type SpawnRefusalCause, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, SqlRunContextOptions, type SqlRunLease, SqlRunOwnershipError, type SqlRunStoreOptions, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, StdioMcpConnection, StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, SteerableSandboxArgs, SteerableSandboxSession, type StopDecision, type StopRule, StoredGraph, type Strategy, type StrategyArtifacts, type StrategyCtx, StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, StrategyTournament, type StreamAgentTurnOptions, StructuralRolloutConfig, StructuralRolloutMessage, StructuralRolloutPolicy, StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, SupervisorSpanAttributes, SupervisorSpanOptions, SupervisorSpanOutcome, SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, SurfaceDiff, SurfaceReadBox, SurfaceReadOutcome, SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, TaskQueueEntry, TaskQueueOptions, TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopCompactionOptions, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, TournamentCell, TournamentRow, type TraceRootArtifact, type TraceRootReceipt, type TraceSource, type TraceSummary, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportFn, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, VerifierEnvironmentOptions, type Verify, type VerifySpec, VisibleCheck, WORKER_TOOL_TRACE_SCHEMA_VERSION, WatchTraceOptions, WatchedSurface, WaterfallCollector, WaterfallReport, WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancelRequest, type WorkerCancellation, type WorkerEventCursor, type WorkerEventEntry, type WorkerEventPage, WorkerEvidenceInput, type WorkerInteractiveAdmission, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSlots, type WorkerSpawnContext, WorkerSpawnRetryAttempt, WorkerSpawnRetryHooks, WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceSeamCarrier, type WorkerTraceUnavailableReason, type WorkerWatchOptions, Workspace, type WorkspaceCheckpointMarker, WorkspaceCommit, type WorkspaceRequest, WorkspaceRun, type WorktreeCheckRunner, WorktreeCliExecutorOptions, type WorktreeCommandResult, WorktreeFanoutOptions, type WorktreeHarnessResult, WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileMaterializes, assertProfileModelsAllowed, assertSandboxServedModel, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureBeforeDestroy, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, collectAgentTurn, collectDelivered, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, describeCodeModeTools, deterministicCompletion, digestOfGraph, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localSandboxClient, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestDelivered, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runCodeMode, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, runtimeFailureCause, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, settlementFailureCause, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, taskShapeDigest, trajectoryReport, upstreamUnavailableSignal, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
|
|
5
|
+
export { AUTHORITY_MARKERS, type AcquireOptions, type ActivityLog, type ActivityNote, type Agent, type AgentCandidateWorkspaceArchiveLimits, type AgentEnvironment, type AgentEnvironmentCapabilities, type AgentEnvironmentEvent, type AgentEnvironmentProvider, type AgentEnvironmentProviderRegistry, type AgentEnvironmentQuery, type AgentEnvironmentStatus, type AgentEnvironmentSummary, type AgentExecutionRef, type AgentGraph, type AgentProfile, type AgentRunSpec, type AgentSession, type AgentSessionRef, type AgentSessionStatus, type AgentSpec, type AgentTurnBackend, type AgentTurnInput, type AgentTurnResult, type AgentTurnUsage, type AgenticOptions, type AgenticRunResult, type AgenticSurface, type AgenticTask, type AgenticTool, type AllWorkersStalledOptions, type AnalystAssignmentRecord, AnalystAuthoring, type AnalystFinding, type AnalystFindingEvent, type AnalystKind, type AnalystLensOutput, type AnalystRegistry, type AnalystRunContext, AnytimeReport, AnytimeStrategySummary, AnytimeTaskCurve, type ArtifactHandle, type AssertTraceDerivedFindings, type AttachWorkerOptions, type AuthorStrategyOptions, type AuthoredAnalystDefinition, type AuthoredAnalystLimits, AuthoredHarness, AuthoredProfile, type AuthoredStrategy, type AuthorityInboxMessage, AxisScoresOf, type BackendErrorDetail, type BenchmarkCell, type BenchmarkConfig, type BenchmarkLift, type BenchmarkReport, type BenchmarkStrategySummary, type BenchmarkTaskRow, type BlockedToolReport, BoxSurfaceReaderOptions, type BridgeHarnessStore, type BridgeModelCredential, type BridgeSeam, type Budget, type BudgetOverspend, type BudgetPool, type BudgetPoolRestore, type BudgetReadout, type BudgetViolation, BusEvent, BusRecord, BusStats, ChatCompletionsTransport, ChatSessionStore, ChatTransportExecutorOptions, ChatTransportTool, ChatWorkerSeamOptions, CheckExecChannel, CheckOutcome, CheckRunContext, CheckRunner, CheckSource, CheckSourceCtx, CheckUnavailableError, CheckVerdict, type CheckpointRef, type CheckpointRequest, ClaimRetainedInteractiveControlOptions, type CliInPlaceSeam, type CliSeam, type CliWorktreeBridgeSeam, type CliWorktreeSeam, type CodeModeStore, type CodeModeTool, type CodeModeToolContext, type CodeModeToolsOptions, type CodeModeToolset, type CodexExecutionEvidence, type CodexExecutionPolicy, CodexForkBoundary, CodexRolloutIdentity, CodexRolloutSession, CodexRolloutStoreReader, CodexRolloutStoreRef, CodexRolloutTurn, CodexStoreDelta, type CodexTokenUsage, type CollectedAgentTurn, type CombinatorShape, CompiledSearchSpec, CompletionAnalyst, CompletionEvidence, CompletionPolicy, CompletionVerdict, type ContinuationAppend, type ContinuationEntry, type ContinuationInstruction, type ContinuationPanel, type ContinuationPanelInput, type ContinuationPanelResult, type ContinuationPolicy, type ContinuationProfile, type CoordinationEvent, type CoordinationLog, type CoordinationMcpHandle, type CoordinationToolFace, type CoordinationVerbs, CopyOptions, type Corpus, type CorpusFilter, type CorpusReadbackOptions, type CorpusRecord, type CreateAgentEnvironmentInput, type CreateSandboxOptions, CreateScopeAnalystOptions, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DeclaredCheck, DeclaredCheckPlacement, DeclaredCheckStateCapture, type DefaultVerdict, type DefinePersona, type DefinePersonaInput, type DefinedAnalystRecord, type DefinedLeaderboard, DelegateOptions, Deliverable, DeliverableSpec, type DeliveredOutput, DesignerRunGraphEnv, DesignerToolsEnv, DispatchReport, DispatchStopReason, DispatchUnit, type DownMessageDeliveryAttempt, type DownMessageDeliveryOutcome, type DownMessageEvent, type DriveHarness, type Driver, type DriverAttemptRecord, type DriverAttemptStop, type DriverContinuationRecord, type DriverContractState, type DriverFailureClass, type DriverReentry, type DriverRepromptRefusal, type DriverRetryPolicy, EVIDENCE_MAX_CHARS, type EdgeDeliveryOutcome, type EdgeTraversal, type Environment, type EnvironmentTeardownReceipt, type EqualKArm, type EqualKOnCostOptions, type EqualKVerdict, type EventAcknowledgement, EventBus, type EvidencePendingEvent, EvolutionAuthor, EvolutionReport, EvolutionStrategy, type ExecCtx, type ExecRequest, type ExecResult, type ExecutionBindingReceipt, type Executor, type ExecutorAccounting, type ExecutorCancellation, type ExecutorCancellationRequest, type ExecutorConfig, type ExecutorContext, type ExecutorExecutionBinding, type ExecutorFactory, type ExecutorMaterialization, type ExecutorNodeContext, type ExecutorProgress, type ExecutorProgressEvent, type ExecutorRegistry, type ExecutorResult, ExecutorResultMapping, type ExecutorTeardownWarning, type ExecutorToolCall, type FanoutOptions, type FanoutSynthesis, type FanoutWinnerSelector, FencedSqlRunContext, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, type FinalizeContext, type FinalizerSettled, type FleetYield, type ForkRequest, type GateDecision, type GateRequest, type GitRunner, GitWorkspaceOptions, GraphDesignerExtraTools, type GraphEdge, GraphEdgeCapError, type GraphNode, GraphRegistryDir, type GraphResult, GraphRouteError, GraphRunRecord, GraphSelection, type GraphTopology, GroupOf, type Handle, type HarnessTranscriptArtifact, type HarnessTranscriptCapture, type HarnessTranscriptEvidence, type HarnessTranscriptFile, type HarnessTranscriptMetadata, type HarnessTranscriptReadLimits, type HarnessTranscriptReadOptions, type HarnessTranscriptUnavailable, type HarnessTranscriptUnavailableReason, type HarnessUsage, HarvestCorpusOptions, HarvestError, HarvestFailure, HarvestReport, HarvestSurfaceDiffsOptions, type HeldEnvironment, type HeldForContinuation, type HeldRelease, type HttpMcpServerSpec, InMemoryCorpus, InMemoryResultBlobStore, InMemoryRunContext, InMemoryRunContextOptions, InMemorySpawnJournal, InPlaceCliExecutorOptions, type InPlaceHarnessResult, InProcessOnPrompt, InProcessPromptCtx, InProcessSandboxClientOptions, type Inbox, type InboxLease, type InboxMessage, InteractiveWorkerEnvironment, InteractiveWorkerKeyInput, InteractiveWorkerOptions, InteractiveWorkerResult, Interval, IsolatedCheckBox, IsolatedCheckBoxEvidence, IsolatedCheckOptions, IsolatedCheckResult, type Iteration, type JsonScalar, KeyProvider, type LeadMessage, Leaderboard, type LeaderboardBenchScore, type LeaderboardBenchTask, type LeaderboardBenchmarkAdapter, type LeaderboardFlagSpec, type LeaderboardIterationInfo, LeaderboardOptions, LeaderboardRow, type LeaderboardRunContext, type LeaderboardScenario, type LeaderboardScore, type LeaderboardSpec, type LeakedReservation, type LocalHarnessResult, LocalMcpMaterialization, type LocalSandboxClientOptions, type LoopCampaignDispatchOptions, type LoopDecisionPayload, type LoopDispatchOptions, type LoopEndedPayload, type LoopIterationDispatchPayload, type LoopIterationEndedPayload, type LoopIterationStartedPayload, type LoopLineageOptions, type LoopOptionsForDispatch, type LoopPlanDescription, type LoopPlanPayload, type LoopResult, type LoopSandboxPlacement, type LoopShape, type LoopStartedPayload, type LoopTeardownFailedPayload, type LoopTokenUsage, type LoopTraceEmitter, type LoopTraceEvent, type LoopUntilSpec, type LoopUntilState, type LoopWinner, type MakeWorkerAgent, type ManagerReentryState, type MapItemFailurePolicy, type MapSpawnMarker, type MapTraversalEvent, MaterializeLocalMcpOptions, type MaterializedExecutionIdentity, type MaterializedModelIdentity, McpEndpoint, McpEnvironmentOptions, McpListedTool, McpSpawnFault, type MountManifestEntry, type MountRecorder, NOTE_MAX_CHARS, type NativeContextContinuationExecution, type NativeContextContinuationHandle, type NativeContextContinuationInput, type NoProgressForOptions, type NoWinnerError, type NodeExecutionIdentity, type NodeId, type NodeSnapshot, type NodeStatus, Observation, ObservationAnalysis, ObservationError, ObserveInput, ObserveOptions, type ObserveSupervisorNodeEvent, OpenSandboxRunBeforeStartContext, OpenSandboxRunOptions, OpenSandboxRunPromptOptions, type Outcome, type OutputAdapter, PEER_MAIL_WIRE_KEY, PairwiseOptions, PairwiseVerdict, type Panel, type PanelFinding, type PanelJudge, type PanelSpec, type PanelVerdict, type PeerInboxMessage, PeerMailEnvelope, PeerMailEvent, PeerMailLimits, PeerMailOutcome, PeerMailReadout, PeerMailRefusal, PeerMailSendInput, PeerMailbox, PeerMailboxOptions, type Persona, type PersonaContext, type PersonaExecutors, type PipelineStage, type PlacementInfo, type PlateauOptions, PrivateCasArtifactPort, PrivateCasDurableStore, PrivateCasOffloadReport, PrivateCasOptions, ProfileKeyOf, type ProfileMaterializationReceipt, ProfileRegistryDir, ProfileRichness, ProfileRichnessThresholds, ProfileRunRecord, type ProgressView, PromptHandle, PromptRegistry, type ProviderAsSandboxClientOptions, type ProviderCheckpointCaptureContext, type ProviderExecutorOptions, type ProviderLeafOut, type ProviderModelAttemptEvidence, type ProviderModelExecutionEvidence, type ProviderNativeCapturePhase, type ProviderPlacement, type ProviderPromptOptions, type ProviderSeam, type ProviderWorkspaceAttemptProvenance, type ProviderWorkspaceCaptureProvenance, type ProviderWorkspaceCaptureReceipt, type ProviderWorkspaceCaptureResult, type ProviderWorkspaceEntryMetadata, type ProviderWorkspaceRetentionContext, type ProviderWorkspaceRetentionPort, ProvisionSupervisorConnection, ProvisionSupervisorRequest, ProvisionedSupervisor, PublishOptions, type QuestionDecision, type QuestionEscalationRecord, type QuestionEscalationTarget, type QuestionPolicy, type QuestionRecord, ROUTER_CLIENT_HEADER, type ReadableEnvironment, type ReconnectRetainedInteractiveRunOptions, type ReconnectRetainedRunOptions, type RecoverRetainedInteractiveRunOptions, type RecoverRetainedRunIntentOptions, type RecoverRetainedRunOptions, type RecoverRetainedRunResult, type RecursiveReservationPolicy, type ReenteredWorkers, ReentryContinuity, ReentryTaskInput, RegisteredPrompt, RegistryAnalyzeProjection, RemoteSupervisorAgent, RemoteSupervisorReader, RemoteSupervisorTree, RemoteWorkerEvents, type RenderCorpusToInstructionsOptions, RepairStop, type ReservationFloor, type ReservationHolder, type ReservationRejection, type ReservationShortfall, type ReservationStage, type ReservationTicket, type ReserveOptions, ResolveSandboxClientOptions, type ResolveSupervisorTools, ResolvedMcpServerLaunch, ResolvedWorkerSpawnRetry, type ResourceLimit, type ResourceRequest, type ResourceSpend, type ResultBlobStore, type ResumedKeyState, type ResumedWork, type RetainedExecutionState, type RetainedHarnessTranscriptCapture, type RetainedHarnessTranscriptDescriptor, type RetainedInteractiveAdmission, type RetainedInteractiveAdmissionHook, type RetainedInteractiveEnvironmentAdmission, type RetainedInteractiveEnvironmentInput, type RetainedInteractiveIntentAdmission, type RetainedInteractiveRunHandle, type RetainedInteractiveStartMaterial, type RetainedInteractiveStartedAdmission, type RetainedRunAdmission, type RetainedRunAdmissionHook, type RetainedRunCancelOptions, type RetainedRunCancellation, type RetainedRunDispatchedAdmission, type RetainedRunEffect, type RetainedRunEnvironmentAdmission, type RetainedRunEventOptions, type RetainedRunHandle, type RetainedRunIntentAdmission, type RetainedRunReplayPoint, type RetainedRunSnapshot, type RetainedRunStartMaterial, type RetainedRunTurnInput, RollingDispatchOptions, type RootHandle, type RootMaterialization, type RootProviderModelEvidence, type RootSegment, type RootSegmentEntry, type RootSignal, type RootStreamReceipt, type RouteGate, type RouteMatch, type RouteWhen, type RouterResponseReceipt, type RouterRouting, type RouterSeam, type RouterToolsSeam, type RouterTransportConfig, type RunAgentRoundsOptions, type RunAgenticOptions, type RunCancelRequest, type RunCancellation, type RunCodeModeOptions, RunContext, RunContextLease, type RunGraphOptions, type RunPersonified, type RunPersonifiedOptions, type RunProvenance, type Runtime, S3PrivateCasStore, S3PrivateCasStoreOptions, SEARCH_SPEC_CORRELATION_KEY, type SandboxClient, type SandboxEvent, type SandboxEvidenceContext, type SandboxEvidenceReceipt, type SandboxEvidenceRetentionPort, type SandboxInstance, type SandboxLeafOut, type SandboxLineage, type SandboxLineageHandle, type SandboxOutputMarker, SandboxRun, SandboxRunAbortError, type SandboxSeam, type SandboxServedBackend, SandboxSteeringOptions, type SandboxToolPartState, type SandboxUsageLedger, type Scope, type ScopeAnalyst, type ScopeAnalyzeInput, type ScopeArgs, type ScopeProgressInput, type ScopeWidenGate, ScoreOf, SearchSpec, SearchSpecInputs, SearchSpecOwnedOption, type SeatSegment, type SeatStage, type SelectionReceipt, type SessionMessageLike, type SessionTraceBox, type Settled, type SettledWorker, type ShapeBudget, type ShapeContext, type ShapeRegistry, type SharedBoxCloseReceipt, type SharedBoxPlacement, type SharedBoxPlacementOptions, type SharedBoxStats, type SharedWorkerIdentity, Shell, type ShotSpec, type SpawnEvent, type SpawnForest, type SpawnForestEvent, type SpawnForestInDoubtNode, type SpawnForestMissingTree, type SpawnForestNode, type SpawnForestTree, type SpawnJournal, type SpawnModelSubstitution, type SpawnOpts, type SpawnPrior, type SpawnRejection, type Spend, type SpendChannel, type SpendGap, type SqlAdapter, SqlRunContextOptions, SqlRunOwnershipError, type StartRetainedInteractiveRunOptions, type StartRetainedRunInEnvironmentOptions, type StartRetainedRunOptions, StdioMcpConnection, StdioMcpServerSpec, type SteerContext, type SteerableRootHandle, SteerableSandboxArgs, SteerableSandboxSession, type StopDecision, type StopRule, StoredGraph, type Strategy, type StrategyArtifacts, type StrategyCtx, StrategyEvolutionConfig, type StrategyMessage, type StrategyResult, type StrategyShotResult, StrategyTournament, type StreamAgentTurnOptions, StructuralRolloutConfig, StructuralRolloutMessage, StructuralRolloutPolicy, StructuralRolloutResult, type SubtreeResult, type SubtreeSummary, type SuperviseDispatchOptions, type SuperviseOptions, type SuperviseOptionsForDispatch, type SuperviseProfileEntry, type SuperviseRegistry, type SuperviseRegistryTable, type SupervisedResult, type Supervisor, type SupervisorAgentDeps, SupervisorCleanupReceipt, type SupervisorFinalizer, type SupervisorNodeContext, type SupervisorNodeContextSeed, type SupervisorOpts, type SupervisorProfile, SupervisorSpanAttributes, SupervisorSpanOptions, SupervisorSpanOutcome, SupervisorSpanRecorder, type SupervisorToolDescriptor, type SupervisorToolInvocationContext, SurfaceDiff, SurfaceReadBox, SurfaceReadOutcome, SurfaceReader, type SurfaceScore, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, TaskQueueEntry, TaskQueueOptions, TaskQueueSettlement, type TeamProgress, type TerminalDecision, type TokenUsageProvenance, type ToolLoopCallContext, type ToolLoopChat, type ToolLoopCompaction, type ToolLoopMessageRecord, type ToolLoopToolCall, type ToolOutcomeEvent, type ToolSpec, type ToolStepInput, TournamentCell, TournamentRow, type TraceRootArtifact, type TraceRootReceipt, type TraceSource, type TraceSummary, type TrajectoryAnalysis, type TrajectoryNode, type TrajectoryReport, type TrajectoryReportOptions, type TraversalContinuity, type TreeView, TurnResult, UNPROVEN_CONTINUITY, type UnavailablePausePolicy, type UnconfirmedTeardown, type UnknownMaterializationReason, UntrackedCopyStats, type UsageEvent, VERIFY_TAIL_CHARS, type ValidationCtx, type Validator, type VerdictSummary, VerifierEnvironmentOptions, type Verify, type VerifySpec, VisibleCheck, WatchTraceOptions, WatchedSurface, WaterfallCollector, WaterfallReport, WaterfallSpan, type Widen, type WidenDecision, type WidenGate, type WidenLineage, type WidenSpec, type WinnerStrategy, type WorkerCancellation, type WorkerEventCursor, type WorkerEventEntry, type WorkerEventPage, WorkerEvidenceInput, type WorkerInteractiveBinding, type WorkerInteractiveProviderSource, type WorkerInteractiveSession, type WorkerInteractiveUnavailableReason, type WorkerProgress, type WorkerResumeContext, type WorkerSpawnContext, WorkerSpawnRetryAttempt, WorkerSpawnRetryHooks, WorkerSpawnRetryPolicy, type WorkerSteerAcknowledgement, type WorkerSteerRequest, type WorkerToolTraceArtifact, type WorkerTraceEvidence, type WorkerTraceResolver, type WorkerTraceUnavailableReason, Workspace, type WorkspaceCheckpointMarker, WorkspaceCommit, type WorkspaceRequest, WorkspaceRun, type WorktreeCheckRunner, WorktreeCliExecutorOptions, type WorktreeCommandResult, WorktreeFanoutOptions, type WorktreeHarnessResult, WorktreePatchArtifact, type WorktreeProfileMaterializationReceipt, type WriteWorkerSteerOptions, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, type questionEscalationTargets, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
|
package/dist/kernel.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
import { St as DEFAULT_CHECK_IN_IDLE_MS, xt as DEADLINE_CHECK_IN_MESSAGE } from "./sandbox-profile-compat-xSoVtdWw.js";
|
|
1
|
+
import { $t as createInPlaceCliExecutor, Ai as createBudgetPool, Bi as mapSandboxEvent, Bt as startRetainedRunInEnvironment, Ci as TRACE_ROOT_SCHEMA, Cn as DEFAULT_PEER_MAIL_LIMITS, Ct as TERMINAL_DECISIONS, Di as contentAddress, Dn as isPeerMailEnvelope, Dt as createCodeModeTools, En as createPeerMailbox, F as freeSlots, I as queueOf, It as providerAsSandboxClient, Ji as sumSandboxUsage, Jn as subscriptionUsageLimitSignal, Jt as persistHarnessTranscript, Ki as extractLlmCallEvent, Kt as captureHarnessTranscript, L as rollingDispatch, Lt as reconnectRetainedRun, M as settledToIteration, Mn as createActivityLog, Mt as createAgentEnvironmentProviderRegistry, Ni as spendFromUsageEvents, Nn as readWorkerProgress, Nt as resolveAgentEnvironmentProvider, On as peerMailTools, Ot as runCodeMode, Pt as providerAsExecutor, Qn as verdictFromJudgeScore, Qt as createWorktreeCliExecutor, Rt as recoverRetainedRun, S as FileSpawnJournal, Sn as AUTHORITY_MARKERS, St as acquireSandbox, Tn as claimsAuthority, Vi as mapSandboxToolEvent, Wt as createWorkerSlots, Xn as gateOnDeliverable, Xt as resolveHarnessTranscriptCapture, Yi as decodeHarnessUsage, Yn as CheckUnavailableError, Zn as mapExecutorResult, Zt as retainHarnessTranscript, _ as attachWorker, _t as runAgentRounds, at as materializeTreeView, b as recoverRetainedInteractiveRun, bn as createInbox, ct as FileResultBlobStore, d as createScope, dr as createCodexRolloutStoreReader, er as admitContinuationPolicy, f as replaySpawnTree, fr as harnessUsageIsEmpty, gr as sandboxSessionTraceSource, gt as createSteerableSandboxSession, hr as decodeToolPart, ht as DEFAULT_SANDBOX_STEERING_MAX_TURNS, it as loadSpawnForest, jn as DEFAULT_STALL_AFTER_MS, kn as peerMailVerbNames, kr as assertProfileMaterializes, m as parseWorkerToolTraceArtifact, mr as createPushTraceSource, n as createSupervisor, o as createRootHandle, ot as InMemoryResultBlobStore, pr as readCodexRolloutSession, pt as createExecutor, qt as harnessTranscriptArtifact, r as bestDelivered, sn as createOtelExporter, st as InMemorySpawnJournal, t as DEFAULT_MAX_DEPTH, ur as addHarnessUsage, ut as createExecutorRegistry, v as readWorkerInteractiveBinding, wi as TRACE_SUMMARY_SCHEMA, wn as PEER_MAIL_WIRE_KEY, wt as defaultSelectWinner, x as startRetainedInteractiveRun, xt as createSandboxLineage, y as reconnectRetainedInteractiveRun, zi as createSandboxToolPartState, zt as startRetainedRun } from "./supervisor-DHrUJhEZ.js";
|
|
2
|
+
import { A as defaultAnalystInstruction, D as runAgentic, E as refine, F as collectAgentTurn, I as streamAgentTurn, M as renderReport, N as profileChatClient, O as sample, P as profileOptimizerModelCall, S as strategyAuthorSystemPrompt, T as depthStrategy, _ as defineStrategy, a as defaultStructuralRolloutPolicy, b as sampleThenRefine, c as officialChecksFromMeta, d as selectBestIndex, f as structuralRollout, g as authorStrategy, h as assertStrategyContract, i as defaultExtractCandidate, j as observe, k as ObservationError, l as resolveEntrySymbol, m as adaptiveRefine, n as compareCheckOutcomes, o as filterAuthoredAsserts, p as visibleCheckScore, r as composeCheckSources, s as modelAuthoredChecks, t as canDisplace, u as sandboxCheckRunner, w as breadthStrategy, x as strategyAuthorContract } from "./structural-rollout-DpLCXzaL.js";
|
|
4
3
|
import { runTaskQueue } from "./task-queue.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
import {
|
|
10
|
-
import { A as
|
|
11
|
-
import {
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
export { AUTHORITY_MARKERS, BudgetReconcileFault, CONTINUATION_FACTS, CheckUnavailableError, DEADLINE_CHECK_IN_MESSAGE, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY, DEFAULT_BUDGET_STOP_HOLD_MS, DEFAULT_CHECK_IN_IDLE_MS, DEFAULT_DEADLINE_WARNING_MS, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, DriverAttemptsExhaustedError, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, GraphRouteError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, ReservationWaitRefused, SEARCH_SPEC_CORRELATION_KEY, SUBTREE_RESULT_LIMIT, SandboxEvidenceRetentionError, SandboxRunAbortError, SqlRunOwnershipError, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, WORKER_TOOL_TRACE_SCHEMA_VERSION, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, admitFinding, allOf, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertCoordinationBinding, assertDeclaredCheck, assertModelAllowed, assertProfileMaterializes, assertProfileModelsAllowed, assertSandboxServedModel, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, builtinShapes, canDisplace, cancelRun, cancelWorker, canonicalFindingEvent, captureBeforeDestroy, captureHarnessTranscript, captureWorkerTraceEvidence, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, checkVerdictOf, claimRetainedInteractiveControl, claimsAuthority, classifyDriverFailure, cliInPlaceExecutor, cliWorktreeExecutor, closingWorkerNote, collectAgentTurn, collectDelivered, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOpenInferenceFileExporter, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createProgressTracker, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createSandboxUsageLedger, createScope, createScopeAnalyst, createShapeRegistry, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createTangleSandboxExactProcessProvider, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, describeCodeModeTools, deterministicCompletion, digestOfGraph, distillFindings, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, expandQuestions, extractLlmCallEvent, failedItems, failuresAnalyst, fanout, filterAuthoredAsserts, finalizeBestDelivered, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, isTerminalDecision, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, legacySupervisorRunsRoot, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localSandboxClient, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, normalizeAnalyzeOnSettle, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, passedItems, patchDelivered, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestDelivered, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancelRequests, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, readWorkerTraceContext, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registerShape, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveSupervisorProfile, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCancelRequestFile, runCancellationFile, runCodeMode, runFinalizer, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, runtimeFailureCause, safeWorkerFile, sample, sampleFromSettled, sampleThenRefine, sandboxCheckRunner, sandboxEventServedBackend, sandboxProgressEvents, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, settlementFailureCause, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, summarizeDriverAttempts, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, supervisorWorkersDir, taskShapeDigest, trajectoryReport, upstreamUnavailableSignal, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerCancelRequestsFile, workerCancellationFile, workerCancellationsDir, workerControlLogFile, workerFromBackend, workerFromInteractiveProvider, workerInboxFile, workerInboxFileFromEventDir, workerSteerAcknowledgementFile, workerSteerAcknowledgementsDir, workerSteerRequestFile, workerSteerRequestsDir, workerSteersDir, workerTraceAnalysisStore, workerTraceEnv, workerTraceHeaders, workerTraceSeamKey, worktreeFanout, writeWorkerSteer };
|
|
4
|
+
import { a as defaultToolDetectors, f as createFileRunContext, h as FileCoordinationLog, m as withRunContext, o as watchTrace, p as createInMemoryRunContext, u as createEventBus } from "./driver-control-acknowledgers-C53ggdJ6.js";
|
|
5
|
+
import { A as supervisorAgent, B as noProgressFor, C as delegatesWorkerBriefPrompt, D as kernelPromptRegistry, E as formatPromptHandle, G as plateauLength, H as anytimeReport, K as renderAnytimeTable, L as serveCoordinationMcp, M as UNPROVEN_CONTINUITY, N as composeReentryTask, O as naiveContinuationPrompt, R as allWorkersStalled, S as createPromptRegistry, T as dumbContinuationPassPrompt, U as areaUnderCurve, V as plateau, W as bestSoFar, Y as createSupervisorSpanRecorder, c as retryPreSpawnRefusals, f as GraphRouteError, k as promptHandle, l as withWorkerSpawnRetry, n as superviseFleetCapabilities, o as isPreSpawnExecutorFailure, s as resolveWorkerSpawnRetry, t as supervise, u as workerFromBackend, v as defaultEdgeTraversalCap, w as dumbContinuationFailPrompt, x as analyzesFindingsReportPrompt, z as anyOf } from "./supervise-qAwXmPtD.js";
|
|
6
|
+
import { _ as sharedWorkerClientName, f as DEFAULT_SHARED_BOX_RESOURCES, g as sharedBoxRefusal, h as ROUTER_CLIENT_HEADER, m as sharedBoxPlacement, p as DEFAULT_SHARED_BOX_WORKERS } from "./search-executor-zMumiak_.js";
|
|
7
|
+
import { _ as supervisorRunsRoot, f as readWorkerCancellation, g as supervisorRunDir, h as safeWorkerFile, i as readRunCancellation, l as legacySupervisorRunDir, m as readWorkerSteerRequests, n as cancelRun, p as readWorkerSteerAcknowledgement, r as readRunCancelRequest, s as cancelWorker, x as writeWorkerSteer, y as workerInboxFileFromEventDir } from "./run-cancellation-C9oL62sW.js";
|
|
8
|
+
import { a as graphRunsFor, c as loadGraph, d as recordGraphRun, f as storedGraphDigests, i as graphRegistry, l as lookupGraph, n as graphDigest, p as taskShapeDigest, r as graphFromStored, s as listGraphRuns, t as digestOfGraph, u as pickBestGraph } from "./graph-registry-BnO64cn8.js";
|
|
9
|
+
import { $ as runPersonified, $t as openSqlRunStore, A as searchSpecDigest, At as secretEnvOfMcpServer, B as chatWorkerSeam, Bt as readDeclaredCheck, C as withUntrackedArtifacts, Ct as materializeLocalMcp, D as assertSearchSpec, Dt as mcpSecretEnvMetadataKey, E as SEARCH_SPEC_CORRELATION_KEY, Et as envKeyProvider, F as profileRegistry, Ft as assertDeclaredCheck, G as openSandboxRun, Gt as stopSentinel, H as runStrategyEvolution, Ht as completionAuthorizes, I as profileRunsForName, It as checkProgramDigest, J as runBenchmark, Jt as renderLeaderboardHtml, K as createS3PrivateCasStore, Kt as leaderboard, L as recordProfileRun, Lt as declaredCheckDeliverable, M as bestProfileFor, Mt as loopCampaignDispatch, N as loadProfile, Nt as loopDispatch, O as compileSearchSpec, Ot as resolveMcpServerLaunch, P as pickBestProfile, Pt as superviseDispatch, Q as definePersona, Qt as SqlRunOwnershipError, R as graphDesignerExtraTools, Rt as declaredCheckDigest, S as copyUntrackedIntoClone, St as connectStdioMcp, T as createFencedSqlRunContext, Tt as sanitizeMcpToolSchema, U as strategyTournament, Ut as deterministicCompletion, V as createChatSessionStore, Vt as runIsolatedCheck, W as SandboxRunAbortError, Wt as sentinelCompletion, X as equalKOnCost, Xt as renderLeaderboardSvg, Y as createPrivateCasArtifactPort, Yt as renderLeaderboardMarkdown, Z as trajectoryReport, Zt as renderPairwiseMarkdown, _ as NOTE_MAX_CHARS, _t as HarvestError, a as localShell, at as loopUntil, b as composeWorkerEvidence, bt as resolveSandboxClient, c as createVerifierEnvironment, ct as selectValidWinner, d as harvestSurfaceDiffs, dt as assertTraceDerivedFindings, et as FileCorpus, f as analystsFromRegistry, ft as buildSteerContext, g as EVIDENCE_MAX_CHARS, gt as inProcessSandboxClient, ht as observationFromRegistry, i as jjWorkspace, it as flatWidenGate, j as connectRemoteSupervisor, jt as inlineSandboxClient, k as searchPresets, kt as resolveSecretEnv, l as boxSurfaceReader, lt as verify, m as worktreeFanout, mt as registryScopeAnalyst, n as makeFinding, nt as renderCorpusToInstructions, o as runInWorkspace, ot as panel, p as failuresAnalyst, pt as createScopeAnalyst, q as printBenchmarkReport, qt as pairwiseSignificance, r as gitWorkspace, rt as fanout, s as createWaterfallCollector, st as pipeline, t as computeFindingId, tt as InMemoryCorpus, u as fsSurfaceReader, ut as widen, v as VERIFY_TAIL_CHARS, vt as harvestCorpus, w as analyzeTrace, wt as createMcpEnvironment, x as settledWorkerOut, xt as McpSpawnFault, y as closingWorkerNote, yt as defineLeaderboard, z as chatTransportExecutor, zt as declaredCheckJudge } from "./runtime-B2fjL9Oi.js";
|
|
10
|
+
import { n as workerFromInteractiveProvider, r as claimRetainedInteractiveControl, t as provisionSupervisor } from "./provision-supervisor-CJ6Zz6dz.js";
|
|
11
|
+
import { a as defaultProfileRichnessThresholds, i as assessAuthoredProfile, n as delegate, o as profileRichnessFinding, r as asAuthoredProfile, s as supervisorInstructions, t as defaultDelegateBudget } from "./delegate-CCWE_AkU.js";
|
|
12
|
+
import { n as runGraph, t as GraphEdgeCapError } from "./graph-CI9JXKqO.js";
|
|
13
|
+
export { AUTHORITY_MARKERS, CheckUnavailableError, DEFAULT_MAX_DEPTH, DEFAULT_PEER_MAIL_LIMITS, DEFAULT_SANDBOX_STEERING_MAX_TURNS, DEFAULT_SHARED_BOX_RESOURCES, DEFAULT_SHARED_BOX_WORKERS, DEFAULT_STALL_AFTER_MS, EVIDENCE_MAX_CHARS, FileCoordinationLog, FileCorpus, FileResultBlobStore, FileSpawnJournal, GraphEdgeCapError, GraphRouteError, HarvestError, InMemoryCorpus, InMemoryResultBlobStore, InMemorySpawnJournal, McpSpawnFault, NOTE_MAX_CHARS, ObservationError, PEER_MAIL_WIRE_KEY, ROUTER_CLIENT_HEADER, SEARCH_SPEC_CORRELATION_KEY, SandboxRunAbortError, SqlRunOwnershipError, TERMINAL_DECISIONS, TRACE_ROOT_SCHEMA, TRACE_SUMMARY_SCHEMA, UNPROVEN_CONTINUITY, VERIFY_TAIL_CHARS, acquireSandbox, adaptiveRefine, addHarnessUsage, admitContinuationPolicy, allWorkersStalled, analystsFromRegistry, analyzeTrace, analyzesFindingsReportPrompt, anyOf, anytimeReport, areaUnderCurve, asAuthoredProfile, assertDeclaredCheck, assertProfileMaterializes, assertSearchSpec, assertStrategyContract, assertTraceDerivedFindings, assessAuthoredProfile, attachWorker, authorStrategy, bestDelivered, bestProfileFor, bestSoFar, boxSurfaceReader, breadthStrategy, buildSteerContext, canDisplace, cancelRun, cancelWorker, captureHarnessTranscript, chatTransportExecutor, chatWorkerSeam, checkProgramDigest, claimRetainedInteractiveControl, claimsAuthority, closingWorkerNote, collectAgentTurn, compareCheckOutcomes, compileSearchSpec, completionAuthorizes, composeCheckSources, composeReentryTask, composeWorkerEvidence, computeFindingId, connectRemoteSupervisor, connectStdioMcp, contentAddress, copyUntrackedIntoClone, createActivityLog, createAgentEnvironmentProviderRegistry, createBudgetPool, createChatSessionStore, createCodeModeTools, createCodexRolloutStoreReader, createEventBus, createExecutor, createExecutorRegistry, createFencedSqlRunContext, createFileRunContext, createInMemoryRunContext, createInPlaceCliExecutor, createInbox, createMcpEnvironment, createOtelExporter, createPeerMailbox, createPrivateCasArtifactPort, createPromptRegistry, createPushTraceSource, createRootHandle, createS3PrivateCasStore, createSandboxLineage, createSandboxToolPartState, createScope, createScopeAnalyst, createSteerableSandboxSession, createSupervisor, createSupervisorSpanRecorder, createVerifierEnvironment, createWaterfallCollector, createWorkerSlots, createWorktreeCliExecutor, declaredCheckDeliverable, declaredCheckDigest, declaredCheckJudge, decodeHarnessUsage, decodeToolPart, defaultAnalystInstruction, defaultDelegateBudget, defaultEdgeTraversalCap, defaultExtractCandidate, defaultProfileRichnessThresholds, defaultSelectWinner, defaultStructuralRolloutPolicy, defaultToolDetectors, defineLeaderboard, definePersona, defineStrategy, delegate, delegatesWorkerBriefPrompt, depthStrategy, deterministicCompletion, digestOfGraph, dumbContinuationFailPrompt, dumbContinuationPassPrompt, envKeyProvider, equalKOnCost, extractLlmCallEvent, failuresAnalyst, fanout, filterAuthoredAsserts, flatWidenGate, formatPromptHandle, freeSlots, fsSurfaceReader, gateOnDeliverable, gitWorkspace, graphDesignerExtraTools, graphDigest, graphFromStored, graphRegistry, graphRunsFor, harnessTranscriptArtifact, harnessUsageIsEmpty, harvestCorpus, harvestSurfaceDiffs, inProcessSandboxClient, inlineSandboxClient, isPeerMailEnvelope, isPreSpawnExecutorFailure, jjWorkspace, kernelPromptRegistry, leaderboard, legacySupervisorRunDir, listGraphRuns, loadGraph, loadProfile, loadSpawnForest, localShell, lookupGraph, loopCampaignDispatch, loopDispatch, loopUntil, makeFinding, mapExecutorResult, mapSandboxEvent, mapSandboxToolEvent, materializeLocalMcp, materializeTreeView, mcpSecretEnvMetadataKey, modelAuthoredChecks, naiveContinuationPrompt, noProgressFor, observationFromRegistry, observe, officialChecksFromMeta, openSandboxRun, openSqlRunStore, pairwiseSignificance, panel, parseWorkerToolTraceArtifact, peerMailTools, peerMailVerbNames, persistHarnessTranscript, pickBestGraph, pickBestProfile, pipeline, plateau, plateauLength, printBenchmarkReport, profileChatClient, profileOptimizerModelCall, profileRegistry, profileRichnessFinding, profileRunsForName, promptHandle, providerAsExecutor, providerAsSandboxClient, provisionSupervisor, queueOf, readCodexRolloutSession, readDeclaredCheck, readRunCancelRequest, readRunCancellation, readWorkerCancellation, readWorkerInteractiveBinding, readWorkerProgress, readWorkerSteerAcknowledgement, readWorkerSteerRequests, reconnectRetainedInteractiveRun, reconnectRetainedRun, recordGraphRun, recordProfileRun, recoverRetainedInteractiveRun, recoverRetainedRun, refine, registryScopeAnalyst, renderAnytimeTable, renderCorpusToInstructions, renderLeaderboardHtml, renderLeaderboardMarkdown, renderLeaderboardSvg, renderPairwiseMarkdown, renderReport, replaySpawnTree, resolveAgentEnvironmentProvider, resolveEntrySymbol, resolveHarnessTranscriptCapture, resolveMcpServerLaunch, resolveSandboxClient, resolveSecretEnv, resolveWorkerSpawnRetry, retainHarnessTranscript, retryPreSpawnRefusals, rollingDispatch, runAgentRounds, runAgentic, runBenchmark, runCodeMode, runGraph, runInWorkspace, runIsolatedCheck, runPersonified, runStrategyEvolution, runTaskQueue, safeWorkerFile, sample, sampleThenRefine, sandboxCheckRunner, sandboxSessionTraceSource, sanitizeMcpToolSchema, searchPresets, searchSpecDigest, secretEnvOfMcpServer, selectBestIndex, selectValidWinner, sentinelCompletion, serveCoordinationMcp, settledToIteration, settledWorkerOut, sharedBoxPlacement, sharedBoxRefusal, sharedWorkerClientName, spendFromUsageEvents, startRetainedInteractiveRun, startRetainedRun, startRetainedRunInEnvironment, stopSentinel, storedGraphDigests, strategyAuthorContract, strategyAuthorSystemPrompt, strategyTournament, streamAgentTurn, structuralRollout, subscriptionUsageLimitSignal, sumSandboxUsage, supervise, superviseDispatch, superviseFleetCapabilities, supervisorAgent, supervisorInstructions, supervisorRunDir, supervisorRunsRoot, taskShapeDigest, trajectoryReport, verdictFromJudgeScore, verify, visibleCheckScore, watchTrace, widen, withRunContext, withUntrackedArtifacts, withWorkerSpawnRetry, workerFromBackend, workerFromInteractiveProvider, workerInboxFileFromEventDir, worktreeFanout, writeWorkerSteer };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./types-CaOXqRTq.js";
|
|
2
|
+
import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
|
|
3
|
+
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
4
|
+
//#region src/loop-runner.d.ts
|
|
5
|
+
/** All valid delegated-loop mode names — used for validation and CLI surfaces. @experimental */
|
|
6
|
+
declare const DELEGATED_LOOP_MODES: readonly ["code", "review", "research", "audit", "self-improve"];
|
|
7
|
+
/** @experimental */
|
|
8
|
+
type DelegatedLoopMode = (typeof DELEGATED_LOOP_MODES)[number];
|
|
9
|
+
/** @experimental A pre-configured loop for one mode. Returns the mode's raw
|
|
10
|
+
* output; the dispatcher wraps it in a `DelegatedLoopResult`. */
|
|
11
|
+
type DelegatedLoopRunner<T = unknown> = (signal: AbortSignal) => Promise<T>;
|
|
12
|
+
/** @experimental Mode → configured runner. Partial: only register the modes a
|
|
13
|
+
* given product/routine actually uses. */
|
|
14
|
+
type DelegatedLoopRegistry = Partial<Record<DelegatedLoopMode, DelegatedLoopRunner>>;
|
|
15
|
+
/** @experimental Uniform result — never throws from a registered runner; a
|
|
16
|
+
* thrown engine becomes `{ ok: false, error }` so a routine can record + move on. */
|
|
17
|
+
interface DelegatedLoopResult<T = unknown> {
|
|
18
|
+
mode: DelegatedLoopMode;
|
|
19
|
+
ok: boolean;
|
|
20
|
+
output?: T;
|
|
21
|
+
error?: string;
|
|
22
|
+
durationMs: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* `audit` mode — analyst loop over captured trace/run data.
|
|
26
|
+
*
|
|
27
|
+
* @experimental
|
|
28
|
+
*/
|
|
29
|
+
declare function auditLoopRunner<TProposal = unknown, TEdit = unknown>(options: RunAnalystLoopOpts): DelegatedLoopRunner<RunAnalystLoopResult<TProposal, TEdit>>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { auditLoopRunner as i, DelegatedLoopResult as n, DelegatedLoopRunner as r, DelegatedLoopRegistry as t };
|
|
32
|
+
//# sourceMappingURL=loop-runner-CWzG1bH4.d.ts.map
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as DelegatedLoopResult, t as DelegatedLoopRegistry } from "./loop-runner-CWzG1bH4.js";
|
|
2
|
+
//#region src/loop-runner-bin.d.ts
|
|
3
|
+
/** @experimental Parsed CLI invocation. */
|
|
4
|
+
interface LoopRunnerCliArgs {
|
|
5
|
+
mode: string;
|
|
6
|
+
/** Loads the registry — the bin wires this from `--config`; tests inject a stub. */
|
|
7
|
+
loadRegistry: () => Promise<DelegatedLoopRegistry> | DelegatedLoopRegistry;
|
|
8
|
+
now?: () => number;
|
|
9
|
+
}
|
|
10
|
+
/** @experimental */
|
|
11
|
+
interface LoopRunnerCliResult {
|
|
12
|
+
exitCode: number;
|
|
13
|
+
result?: DelegatedLoopResult;
|
|
14
|
+
error?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* Pure CLI core (no process / argv / IO) so it's unit-testable: validate the
|
|
19
|
+
* mode, load the registry, dispatch, map to an exit code (0 ok / 1 failed /
|
|
20
|
+
* 2 usage). Exported for embedding in custom runners + tests.
|
|
21
|
+
*
|
|
22
|
+
* @experimental
|
|
23
|
+
*/
|
|
24
|
+
declare function runLoopRunnerCli(args: LoopRunnerCliArgs): Promise<LoopRunnerCliResult>;
|
|
25
|
+
/** Parse `--mode X --config Y` from an argv tail (`process.argv.slice(2)`). */
|
|
26
|
+
declare function parseLoopRunnerArgv(argv: string[]): {
|
|
27
|
+
mode?: string;
|
|
28
|
+
config?: string;
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { LoopRunnerCliArgs, LoopRunnerCliResult, parseLoopRunnerArgv, runLoopRunnerCli };
|
|
32
|
+
//# sourceMappingURL=loop-runner-bin.d.ts.map
|