@tangle-network/agent-runtime 0.172.0 → 0.174.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/{activation-DTleO7Fl.js → activation-DQo7-oIF.js} +2 -2
  2. package/dist/{activation-DTleO7Fl.js.map → activation-DQo7-oIF.js.map} +1 -1
  3. package/dist/agent.d.ts +1 -1
  4. package/dist/agent.js +2 -2
  5. package/dist/{authoring-c9yTIa3G.js → authoring-B4aR-Tea.js} +2 -2
  6. package/dist/{authoring-c9yTIa3G.js.map → authoring-B4aR-Tea.js.map} +1 -1
  7. package/dist/durable.d.ts +1 -1
  8. package/dist/durable.js +1 -1
  9. package/dist/{graph-CtMnqYYC.js → graph-CoSt0kup.js} +2 -2
  10. package/dist/{graph-CtMnqYYC.js.map → graph-CoSt0kup.js.map} +1 -1
  11. package/dist/graph.d.ts +2 -2
  12. package/dist/graph.js +3 -3
  13. package/dist/{improvement-cycle-ipnDcl3P.js → improvement-cycle-BZH9dewp.js} +181 -12
  14. package/dist/improvement-cycle-BZH9dewp.js.map +1 -0
  15. package/dist/{index-cFm21prV.d.ts → index-CIhkH7mq.d.ts} +40 -3
  16. package/dist/{index-DEEN055X.d.ts → index-Dk5X9eKg.d.ts} +3 -3
  17. package/dist/index.d.ts +5 -5
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +2 -2
  20. package/dist/intelligence.js +3 -3
  21. package/dist/kernel.d.ts +3 -3
  22. package/dist/kernel.js +7 -7
  23. package/dist/{knowledge-BHfAAu6C.js → knowledge-DjWWfbfX.js} +3 -3
  24. package/dist/{knowledge-BHfAAu6C.js.map → knowledge-DjWWfbfX.js.map} +1 -1
  25. package/dist/knowledge.d.ts +1 -1
  26. package/dist/knowledge.js +1 -1
  27. package/dist/{loop-runner-bin-B3ju0qWS.js → loop-runner-bin-CTCi_rSV.js} +3 -3
  28. package/dist/{loop-runner-bin-B3ju0qWS.js.map → loop-runner-bin-CTCi_rSV.js.map} +1 -1
  29. package/dist/{loop-runner-bin-BGcW6Gm7.d.ts → loop-runner-bin-DRYApMiu.d.ts} +2 -2
  30. package/dist/loop-runner-bin.d.ts +1 -1
  31. package/dist/loop-runner-bin.js +1 -1
  32. package/dist/mcp/bin.js +3 -3
  33. package/dist/mcp/index.d.ts +2 -2
  34. package/dist/mcp/index.js +4 -4
  35. package/dist/{openai-tools-CfsSJ2sn.js → openai-tools-B4BPplKi.js} +2 -2
  36. package/dist/{openai-tools-CfsSJ2sn.js.map → openai-tools-B4BPplKi.js.map} +1 -1
  37. package/dist/primeintellect/index.d.ts +1 -1
  38. package/dist/{redact-DkObldQP.d.ts → redact-DvLf4x1m.d.ts} +53 -7
  39. package/dist/{runtime-B0HZbuEv.d.ts → runtime-D5u1M6T5.d.ts} +150 -94
  40. package/dist/{runtime-ckAefgVV.js → runtime-l9Q9-Dal.js} +6 -6
  41. package/dist/{runtime-ckAefgVV.js.map → runtime-l9Q9-Dal.js.map} +1 -1
  42. package/dist/{structural-rollout-DjUoh2aA.js → structural-rollout-CIK7nvSH.js} +2 -2
  43. package/dist/{structural-rollout-DjUoh2aA.js.map → structural-rollout-CIK7nvSH.js.map} +1 -1
  44. package/dist/{supervise-CnHd8x54.js → supervise-Dq_D3QbE.js} +5 -3
  45. package/dist/{supervise-CnHd8x54.js.map → supervise-Dq_D3QbE.js.map} +1 -1
  46. package/dist/{supervisor-Dw-5mGKr.js → supervisor-cAFpYJWF.js} +363 -68
  47. package/dist/supervisor-cAFpYJWF.js.map +1 -0
  48. package/dist/testing.d.ts +2 -2
  49. package/dist/testing.js +11 -11
  50. package/package.json +1 -1
  51. package/dist/improvement-cycle-ipnDcl3P.js.map +0 -1
  52. package/dist/supervisor-Dw-5mGKr.js.map +0 -1
@@ -363,98 +363,6 @@ interface ToolSpec {
363
363
  };
364
364
  }
365
365
  //#endregion
366
- //#region src/mcp/worktree.d.ts
367
- /**
368
- *
369
- * Git worktree helpers for the in-process delegation executor. Each
370
- * delegation runs in its own worktree so multiple parallel harness
371
- * subprocesses (claude / codex / opencode in a 3-way fanout) don't clobber
372
- * each other's edits on the shared workspace.
373
- *
374
- * Worktrees live under `<repoRoot>/.agent-worktrees/<runId>/`. After the
375
- * harness exits + the diff is captured, the worktree is removed.
376
- *
377
- * All operations spawn `git` via `child_process.spawn` synchronously
378
- * (via a `runGit` helper). Stays narrow on purpose: no commits, no rebases.
379
- * Diff capture stages all changes (`git add -A`) into the ephemeral worktree's
380
- * index so created (untracked) files appear in the `--cached` diff.
381
- *
382
- * @experimental
383
- */
384
- /** @experimental */
385
- interface WorktreeHandle {
386
- /** Absolute path to the worktree directory. */
387
- path: string;
388
- /** SHA the worktree was created at. */
389
- baseSha: string;
390
- /** Branch name created for this worktree (typically `delegate/<runId>`). */
391
- branch: string;
392
- }
393
- /** @experimental */
394
- interface CreateWorktreeOptions {
395
- /** Absolute path to the main git checkout. */
396
- repoRoot: string;
397
- /** Unique id for the worktree path + branch. Use the delegation run id. */
398
- runId: string;
399
- /** Parent directory the worktree lives under. Defaults to `.agent-worktrees`. */
400
- variantsDir?: string;
401
- /** Override the base ref (default `HEAD`). */
402
- baseRef?: string;
403
- /** Test seam — inject a custom git runner. */
404
- runGit?: GitRunner;
405
- }
406
- /** @experimental */
407
- interface DiffOptions {
408
- /** Worktree to diff. */
409
- worktree: WorktreeHandle;
410
- /** What to compare against. Default `worktree.baseSha`. */
411
- baseRef?: string;
412
- /**
413
- * Repository-relative input paths to omit from the captured worker patch.
414
- * Paths are passed to Git with literal exclusion magic, so profile-provided
415
- * `*`, `?`, `[` and `:` characters can never expand into broader pathspecs.
416
- */
417
- excludePaths?: ReadonlyArray<string>;
418
- /** Test seam. */
419
- runGit?: GitRunner;
420
- }
421
- /** @experimental */
422
- interface DiffResult {
423
- patch: string;
424
- stats: {
425
- filesChanged: number;
426
- insertions: number;
427
- deletions: number;
428
- };
429
- }
430
- /** @experimental */
431
- interface RemoveWorktreeOptions {
432
- worktree: WorktreeHandle;
433
- repoRoot: string;
434
- /** Force removal even if dirty (default true; the loser of a fanout has uncommitted changes). */
435
- force?: boolean;
436
- /** Test seam. */
437
- runGit?: GitRunner;
438
- }
439
- /** Pluggable git runner (sync) — replaceable in tests. */
440
- type GitRunner = (args: ReadonlyArray<string>, opts: {
441
- cwd: string;
442
- }) => {
443
- stdout: string;
444
- stderr: string;
445
- exitCode: number;
446
- };
447
- /** Checkout a fresh git worktree for a delegation run on a new branch under `variantsDir`. @experimental */
448
- declare function createWorktree(options: CreateWorktreeOptions): Promise<WorktreeHandle>;
449
- /** Stage worker changes and return the diff + shortstat, excluding declared input paths. @experimental */
450
- declare function captureWorktreeDiff(options: DiffOptions): Promise<DiffResult>;
451
- /**
452
- * Remove a git worktree and delete its branch. Already-removed paths are harmless; every other
453
- * Git failure rejects so callers cannot report a worktree as destroyed when cleanup failed.
454
- * @experimental
455
- */
456
- declare function removeWorktree(options: RemoveWorktreeOptions): Promise<void>;
457
- //#endregion
458
366
  //#region src/mcp/local-harness.d.ts
459
367
  /**
460
368
  * Local coding harness available inside the sandbox — a narrowing of the shared `HarnessType`
@@ -631,6 +539,98 @@ declare function runLocalHarness(options: RunLocalHarnessOptions): Promise<Local
631
539
  /** Parse and validate the one terminal usage event emitted by `codex exec --json`. */
632
540
  declare function parseCodexTokenUsage(stdout: string): CodexTokenUsage;
633
541
  //#endregion
542
+ //#region src/mcp/worktree.d.ts
543
+ /**
544
+ *
545
+ * Git worktree helpers for the in-process delegation executor. Each
546
+ * delegation runs in its own worktree so multiple parallel harness
547
+ * subprocesses (claude / codex / opencode in a 3-way fanout) don't clobber
548
+ * each other's edits on the shared workspace.
549
+ *
550
+ * Worktrees live under `<repoRoot>/.agent-worktrees/<runId>/`. After the
551
+ * harness exits + the diff is captured, the worktree is removed.
552
+ *
553
+ * All operations spawn `git` via `child_process.spawn` synchronously
554
+ * (via a `runGit` helper). Stays narrow on purpose: no commits, no rebases.
555
+ * Diff capture stages all changes (`git add -A`) into the ephemeral worktree's
556
+ * index so created (untracked) files appear in the `--cached` diff.
557
+ *
558
+ * @experimental
559
+ */
560
+ /** @experimental */
561
+ interface WorktreeHandle {
562
+ /** Absolute path to the worktree directory. */
563
+ path: string;
564
+ /** SHA the worktree was created at. */
565
+ baseSha: string;
566
+ /** Branch name created for this worktree (typically `delegate/<runId>`). */
567
+ branch: string;
568
+ }
569
+ /** @experimental */
570
+ interface CreateWorktreeOptions {
571
+ /** Absolute path to the main git checkout. */
572
+ repoRoot: string;
573
+ /** Unique id for the worktree path + branch. Use the delegation run id. */
574
+ runId: string;
575
+ /** Parent directory the worktree lives under. Defaults to `.agent-worktrees`. */
576
+ variantsDir?: string;
577
+ /** Override the base ref (default `HEAD`). */
578
+ baseRef?: string;
579
+ /** Test seam — inject a custom git runner. */
580
+ runGit?: GitRunner;
581
+ }
582
+ /** @experimental */
583
+ interface DiffOptions {
584
+ /** Worktree to diff. */
585
+ worktree: WorktreeHandle;
586
+ /** What to compare against. Default `worktree.baseSha`. */
587
+ baseRef?: string;
588
+ /**
589
+ * Repository-relative input paths to omit from the captured worker patch.
590
+ * Paths are passed to Git with literal exclusion magic, so profile-provided
591
+ * `*`, `?`, `[` and `:` characters can never expand into broader pathspecs.
592
+ */
593
+ excludePaths?: ReadonlyArray<string>;
594
+ /** Test seam. */
595
+ runGit?: GitRunner;
596
+ }
597
+ /** @experimental */
598
+ interface DiffResult {
599
+ patch: string;
600
+ stats: {
601
+ filesChanged: number;
602
+ insertions: number;
603
+ deletions: number;
604
+ };
605
+ }
606
+ /** @experimental */
607
+ interface RemoveWorktreeOptions {
608
+ worktree: WorktreeHandle;
609
+ repoRoot: string;
610
+ /** Force removal even if dirty (default true; the loser of a fanout has uncommitted changes). */
611
+ force?: boolean;
612
+ /** Test seam. */
613
+ runGit?: GitRunner;
614
+ }
615
+ /** Pluggable git runner (sync) — replaceable in tests. */
616
+ type GitRunner = (args: ReadonlyArray<string>, opts: {
617
+ cwd: string;
618
+ }) => {
619
+ stdout: string;
620
+ stderr: string;
621
+ exitCode: number;
622
+ };
623
+ /** Checkout a fresh git worktree for a delegation run on a new branch under `variantsDir`. @experimental */
624
+ declare function createWorktree(options: CreateWorktreeOptions): Promise<WorktreeHandle>;
625
+ /** Stage worker changes and return the diff + shortstat, excluding declared input paths. @experimental */
626
+ declare function captureWorktreeDiff(options: DiffOptions): Promise<DiffResult>;
627
+ /**
628
+ * Remove a git worktree and delete its branch. Already-removed paths are harmless; every other
629
+ * Git failure rejects so callers cannot report a worktree as destroyed when cleanup failed.
630
+ * @experimental
631
+ */
632
+ declare function removeWorktree(options: RemoveWorktreeOptions): Promise<void>;
633
+ //#endregion
634
634
  //#region src/mcp/worktree-harness.d.ts
635
635
  /** Outcome of one verification command run in the worktree (test or typecheck). */
636
636
  interface WorktreeCommandResult {
@@ -727,6 +727,16 @@ type WorktreeCheckRunner = (opts: {
727
727
  exitCode: number | null;
728
728
  output: string;
729
729
  }>;
730
+ /** The canonical result of one in-place harness run. The edits are the DIRECTORY, not a patch:
731
+ * the caller supplied the workspace and reads it directly. */
732
+ interface InPlaceHarnessResult {
733
+ /** The directory the harness ran in, exactly as supplied. */
734
+ workspacePath: string;
735
+ /** Exact profile materialization applied before the harness launched, and removed after it. */
736
+ profileMaterialization: WorktreeProfileMaterializationReceipt;
737
+ /** The harness subprocess outcome. */
738
+ harness: WorktreeHarnessResult['harness'];
739
+ }
730
740
  //#endregion
731
741
  //#region src/runtime/key-provider.d.ts
732
742
  /** Resolve named secrets. The ONE seam every secret store adapts to. */
@@ -1190,6 +1200,43 @@ interface CliWorktreeSeam {
1190
1200
  /** Test seam — forwarded to verification checks. */
1191
1201
  runCommand?: WorktreeCheckRunner;
1192
1202
  }
1203
+ /**
1204
+ * cli-in-place seam. A supervisor-authored `AgentProfile` driving a local coding-harness CLI
1205
+ * (claude-code / codex / opencode / pi) on a workspace the CALLER supplies — the leaf
1206
+ * `createInPlaceCliExecutor` named as data. `workspacePath` is transport data;
1207
+ * `AgentProfile.harness` selects the CLI, and the authored `profile.prompt.systemPrompt` +
1208
+ * `profile.model.default` reach the harness via the §1.5 `harnessInvocation` mapper.
1209
+ *
1210
+ * READ THIS BEFORE CHOOSING BETWEEN THIS AND `cli-worktree`. They differ in ONE thing, and it is
1211
+ * the thing that decides which one a caller wants:
1212
+ *
1213
+ * - `cli-worktree` cuts a git worktree of its OWN off `repoRoot`, runs the harness there,
1214
+ * returns the captured patch, and removes the worktree at teardown. The directory it was
1215
+ * given is never edited. That is correct for a fanout of N candidate authors that must not
1216
+ * clobber each other, and for a caller whose deliverable IS the patch.
1217
+ * - `cli-in-place` runs the harness in `workspacePath` itself. The edits stay in that directory
1218
+ * after the call, so the NEXT call sees them. That is what a caller needs when the workspace
1219
+ * has to persist between calls — a multi-shot author resuming on top of its own edits
1220
+ * (`agenticGenerator`), or a candidate directory the caller commits itself.
1221
+ *
1222
+ * Because the workspace persists, so would the profile inputs this path materializes into it. They
1223
+ * are removed before the call returns, so the directory a caller inspects afterwards holds the
1224
+ * harness's own edits and nothing else, and a `git status` over it answers "did the author change
1225
+ * anything" rather than "did Runtime write a settings file".
1226
+ *
1227
+ * There is no reproducible-Codex mode here: that mode stages an executable and a write probe INTO
1228
+ * its working directory, which a caller-owned workspace is not the place for. Use `cli-worktree`
1229
+ * with `codexReproducible` when the isolated, metered Codex run is what you want.
1230
+ */
1231
+ interface CliInPlaceSeam {
1232
+ /** Absolute path to the EXISTING directory the harness edits. Runtime never creates, cleans, or
1233
+ * removes it. */
1234
+ workspacePath: string;
1235
+ taskPrompt?: string;
1236
+ harnessTimeoutMs?: number;
1237
+ /** Test seam — inject the harness runner so unit tests script a `LocalHarnessResult`. */
1238
+ runHarness?: typeof runLocalHarness;
1239
+ }
1193
1240
  interface CliWorktreeBridgeSeam {
1194
1241
  bridgeUrl: string;
1195
1242
  bridgeBearer: string;
@@ -1332,6 +1379,13 @@ interface RouterToolsSeam {
1332
1379
  * the other CLI leaves; the authored systemPrompt + model reach the harness via §1.5.
1333
1380
  */
1334
1381
  declare const cliWorktreeExecutor: ExecutorFactory<unknown>;
1382
+ /**
1383
+ * The leaf `createInPlaceCliExecutor` as a backend-as-data factory: a supervisor-authored
1384
+ * `AgentProfile` driving a local coding CLI in the workspace the caller supplied, so its edits are
1385
+ * still there for the next spawn. `budgetExempt` like the other CLI leaves; the authored
1386
+ * systemPrompt + model reach the harness via §1.5.
1387
+ */
1388
+ declare const cliInPlaceExecutor: ExecutorFactory<unknown>;
1335
1389
  /**
1336
1390
  * Config for {@link createExecutor}: the backend is DATA — the cost dial a profile,
1337
1391
  * an experiment config, or a replay journal can name — not an import choice. Each
@@ -1348,6 +1402,8 @@ type ExecutorConfig = ({
1348
1402
  } & CliSeam) | ({
1349
1403
  backend: 'cli-worktree';
1350
1404
  } & CliWorktreeSeam) | ({
1405
+ backend: 'cli-in-place';
1406
+ } & CliInPlaceSeam) | ({
1351
1407
  backend: 'provider';
1352
1408
  } & ProviderSeam) | ({
1353
1409
  backend: 'sandbox';
@@ -1373,5 +1429,5 @@ declare function createExecutor(config: ExecutorConfig): ExecutorFactory<unknown
1373
1429
  */
1374
1430
  declare function createExecutorRegistry(): ExecutorRegistry;
1375
1431
  //#endregion
1376
- export { LocalHarnessResult as $, extractLlmCallEvent as A, PeerMailReadout as At, resolveMcpServerLaunch as B, JsonRpcMessage as Bt, createInbox as C, DEFAULT_PEER_MAIL_LIMITS as Ct, SandboxToolPartState as D, PeerMailKind as Dt, SandboxServedBackend as E, PeerMailEvent as Et, sumSandboxUsage as F, claimsAuthority as Ft, WorktreeHarnessResult as G, secretEnvOfMcpServer as H, McpToolDescriptor as Ht, KeyProvider as I, createPeerMailbox as It, CodexExecutionPolicy as J, WorktreeProfileMaterializationReceipt as K, ResolvedMcpServerLaunch as L, isPeerMailEnvelope as Lt, mapSandboxToolEvent as M, PeerMailSendInput as Mt, sandboxEventServedBackend as N, PeerMailbox as Nt, assertSandboxServedModel as O, PeerMailLimits as Ot, sandboxProgressEvents as P, PeerMailboxOptions as Pt, LocalHarness as Q, envKeyProvider as R, peerMailTools as Rt, PeerInboxMessage as S, AUTHORITY_MARKERS as St, SandboxOutputMarker as T, PeerMailEnvelope as Tt, WorktreeCheckRunner as U, McpTransport as Ut, resolveSecretEnv as V, JsonRpcResponse as Vt, WorktreeCommandResult as W, DEFAULT_LOCAL_HARNESS as X, CodexTokenUsage as Y, LOCAL_HARNESSES as Z, SteerableSandboxSession as _, ToolLoopChat as _t, CliWorktreeSeam as a, CreateWorktreeOptions as at, Inbox as b, ToolLoopMessageRecord as bt, RouterSeam as c, GitRunner as ct, cliWorktreeExecutor as d, captureWorktreeDiff as dt, RunLocalHarnessOptions as et, createExecutor as f, createWorktree as ft, SteerableSandboxArgs as g, ToolLoopCallContext as gt, SandboxSteeringOptions as h, ToolSpec as ht, CliWorktreeBridgeSeam as i, runLocalHarness as it, mapSandboxEvent as j, PeerMailRefusal as jt, createSandboxToolPartState as k, PeerMailOutcome as kt, RouterToolsSeam as l, RemoveWorktreeOptions as lt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as m, RouterTransportConfig as mt, BridgeSeam as n, localHarnessExecutable as nt, ExecutorConfig as o, DiffOptions as ot, createExecutorRegistry as p, removeWorktree as pt, CodexExecutionEvidence as q, CliSeam as r, parseCodexTokenUsage as rt, ProviderSeam as s, DiffResult as st, BridgeModelCredential as t, harnessSupportsReasoningEffort as tt, SandboxSeam as u, WorktreeHandle as ut, createSteerableSandboxSession as v, ToolLoopCompaction as vt, SandboxLeafOut as w, PEER_MAIL_WIRE_KEY as wt, InboxMessage as x, ToolLoopToolCall as xt, AuthorityInboxMessage as y, ToolLoopCompactionOptions as yt, mcpSecretEnvMetadataKey as z, peerMailVerbNames as zt };
1377
- //# sourceMappingURL=runtime-B0HZbuEv.d.ts.map
1432
+ export { GitRunner as $, assertSandboxServedModel as A, PeerMailKind as At, envKeyProvider as B, isPeerMailEnvelope as Bt, InboxMessage as C, ToolLoopMessageRecord as Ct, SandboxOutputMarker as D, PEER_MAIL_WIRE_KEY as Dt, SandboxLeafOut as E, DEFAULT_PEER_MAIL_LIMITS as Et, sandboxEventServedBackend as F, PeerMailSendInput as Ft, InPlaceHarnessResult as G, McpToolDescriptor as Gt, resolveMcpServerLaunch as H, peerMailVerbNames as Ht, sandboxProgressEvents as I, PeerMailbox as It, WorktreeHarnessResult as J, WorktreeCheckRunner as K, McpTransport as Kt, sumSandboxUsage as L, PeerMailboxOptions as Lt, extractLlmCallEvent as M, PeerMailOutcome as Mt, mapSandboxEvent as N, PeerMailReadout as Nt, SandboxServedBackend as O, PeerMailEnvelope as Ot, mapSandboxToolEvent as P, PeerMailRefusal as Pt, DiffResult as Q, KeyProvider as R, claimsAuthority as Rt, Inbox as S, ToolLoopCompactionOptions as St, createInbox as T, AUTHORITY_MARKERS as Tt, resolveSecretEnv as U, JsonRpcMessage as Ut, mcpSecretEnvMetadataKey as V, peerMailTools as Vt, secretEnvOfMcpServer as W, JsonRpcResponse as Wt, CreateWorktreeOptions as X, WorktreeProfileMaterializationReceipt as Y, DiffOptions as Z, SandboxSteeringOptions as _, RouterTransportConfig as _t, CliWorktreeBridgeSeam as a, CodexExecutionEvidence as at, createSteerableSandboxSession as b, ToolLoopChat as bt, ProviderSeam as c, DEFAULT_LOCAL_HARNESS as ct, SandboxSeam as d, LocalHarnessResult as dt, RemoveWorktreeOptions as et, cliInPlaceExecutor as f, RunLocalHarnessOptions as ft, DEFAULT_SANDBOX_STEERING_MAX_TURNS as g, runLocalHarness as gt, createExecutorRegistry as h, parseCodexTokenUsage as ht, CliSeam as i, removeWorktree as it, createSandboxToolPartState as j, PeerMailLimits as jt, SandboxToolPartState as k, PeerMailEvent as kt, RouterSeam as l, LOCAL_HARNESSES as lt, createExecutor as m, localHarnessExecutable as mt, BridgeSeam as n, captureWorktreeDiff as nt, CliWorktreeSeam as o, CodexExecutionPolicy as ot, cliWorktreeExecutor as p, harnessSupportsReasoningEffort as pt, WorktreeCommandResult as q, CliInPlaceSeam as r, createWorktree as rt, ExecutorConfig as s, CodexTokenUsage as st, BridgeModelCredential as t, WorktreeHandle as tt, RouterToolsSeam as u, LocalHarness as ut, SteerableSandboxArgs as v, ToolSpec as vt, PeerInboxMessage as w, ToolLoopToolCall as wt, AuthorityInboxMessage as x, ToolLoopCompaction as xt, SteerableSandboxSession as y, ToolLoopCallContext as yt, ResolvedMcpServerLaunch as z, createPeerMailbox as zt };
1433
+ //# sourceMappingURL=runtime-D5u1M6T5.d.ts.map
@@ -9,14 +9,14 @@ import { i as redactProtectedValue, r as redactProtectedReason } from "./protect
9
9
  import { c as notifySandboxEventObserver, m as parseCanonicalTransportEvent, p as extractTransportEventIdentity } from "./sandbox-events-BVjstFgb.js";
10
10
  import { n as executableAgentSpecSnapshot, t as executableAgentProfileSnapshot } from "./executable-spec-CkGvdPds.js";
11
11
  import { c as profileModelExecutionSettings, i as concreteModelId, l as profileProviderModel, o as enforceTokenLimits, t as assertExecutableAgentProfile } from "./model-policy-Sw4ywhtL.js";
12
- import { $ as createPushTraceSource, Et as canonicalObservedModel, G as createWorktreeCliExecutor, H as createExecutor, St as probeSandboxCapabilities, Tt as runBrainLoop, U as createExecutorRegistry, bt as runAgentRounds, f as withDriverExecutor, k as rollingDispatch, n as createSupervisor, vt as defaultSelectWinner, wt as routerBrain, xt as createSandboxLineage, y as settledToIteration } from "./supervisor-Dw-5mGKr.js";
12
+ import { Ct as createSandboxLineage, Dt as runBrainLoop, Et as routerBrain, K as createWorktreeCliExecutor, Ot as canonicalObservedModel, St as runAgentRounds, U as createExecutor, W as createExecutorRegistry, bt as defaultSelectWinner, et as createPushTraceSource, f as withDriverExecutor, k as rollingDispatch, n as createSupervisor, wt as probeSandboxCapabilities, y as settledToIteration } from "./supervisor-cAFpYJWF.js";
13
13
  import "./environment-provider-Bn3652YU.js";
14
14
  import { i as notifyRuntimeHookEvent } from "./runtime-hooks-tXpAarhW.js";
15
- import { C as observe, O as strategyAuthorMethod, T as profileChatClient, b as sample, v as refine, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-DjUoh2aA.js";
16
- import { At as gateOnDeliverable, jt as mapExecutorResult, n as supervise } from "./supervise-CnHd8x54.js";
15
+ import { C as observe, O as strategyAuthorMethod, T as profileChatClient, b as sample, v as refine, x as sampleThenRefine, y as runAgentic } from "./structural-rollout-CIK7nvSH.js";
16
+ import { At as gateOnDeliverable, jt as mapExecutorResult, n as supervise } from "./supervise-Dq_D3QbE.js";
17
17
  import { t as assertAuthoredCode } from "./authored-code-DzYtiflw.js";
18
- import "./authoring-c9yTIa3G.js";
19
- import "./graph-CtMnqYYC.js";
18
+ import "./authoring-B4aR-Tea.js";
19
+ import "./graph-CoSt0kup.js";
20
20
  import { AgentEnvironmentCapabilitiesSchema, AgentExactRunControlRefSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStatusSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentNativeContextContinuationResultSchema, AgentTurnResultSchema, InteractionAcknowledgementSchema, InteractionResponseCommandSchema, NativeContextBoundaryProofSchema, NativeContextContinuationRequestSchema, RuntimeEventEnvelopeSchema, TerminalReplayWindowSchema, TerminalSessionRefSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionControlClaimRequestDigest, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionRunRef, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentNativeContextContinuationResultMatchesRequest, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, exactAgentInteractiveSessionStart, nativeContextContinuationTurnDigest, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
21
21
  import { CODING_HARNESSES, DEFAULT_TRACE_ANALYST_KINDS, InMemoryTraceStore, OUTPUT_VALUE, benjaminiHochberg, buildTrajectory, computeFindingId as computeFindingId$1, confidenceInterval, expandProfileAxes, makeFinding as makeFinding$1, pairedBootstrap, paretoFrontier, wilcoxonSignedRank, wilson } from "@tangle-network/agent-eval";
22
22
  import { heldoutSignificance, runProfileMatrix } from "@tangle-network/agent-eval/campaign";
@@ -7360,4 +7360,4 @@ function tail(s) {
7360
7360
  //#endregion
7361
7361
  export { equalKOnCost as $, chatWorkerSeam as A, completionAuthorizes as At, SandboxRunAbortError as B, auditIntent as Bt, withUntrackedArtifacts as C, defineLeaderboard as Ct, codeModeSupervisorTools as D, loopCampaignDispatch as Dt, runCoderChecks as E, inlineSandboxClient as Et, selectChampion as F, pairwiseSignificance as Ft, reconnectRetainedInteractiveRun as G, createMcpEnvironment as Gt, printBenchmarkReport as H, McpSpawnFault as Ht, assertStrategyContract as I, renderLeaderboardHtml as It, reconnectRetainedRun as J, mcpSecretEnvMetadataKey as Jt, recoverRetainedInteractiveRun as K, sanitizeMcpToolSchema as Kt, authorStrategy as L, renderLeaderboardMarkdown as Lt, discriminatingMeans as M, sentinelCompletion as Mt, pickChampion as N, stopSentinel as Nt, unsafeInProcessRunner as O, loopDispatch as Ot, runStrategyEvolution as P, leaderboard as Pt, promotionGate as Q, strategyAuthorContract as R, renderLeaderboardSvg as Rt, copyUntrackedIntoClone as S, harvestCorpus as St, patchDelivered as T, localSandboxClient as Tt, runBenchmark as U, connectStdioMcp as Ut, openSandboxRun as V, defaultAuditorInstruction as Vt, claimRetainedInteractiveControl as W, materializeLocalMcp as Wt, startRetainedRun as X, resolveSecretEnv as Xt, recoverRetainedRun as Y, resolveMcpServerLaunch as Yt, startRetainedRunInEnvironment as Z, secretEnvOfMcpServer as Zt, NOTE_MAX_CHARS as _, assertTraceDerivedFindings as _t, localShell as a, registerShape as at, composeWorkerEvidence as b, registryScopeAnalyst as bt, createVerifierEnvironment as c, renderCorpusToInstructions as ct, harvestSurfaceDiffs as d, loopUntil as dt, trajectoryReport as et, analystsFromRegistry as f, panel as ft, EVIDENCE_MAX_CHARS as g, widen as gt, worktreeFanout as h, verify as ht, jjWorkspace as i, createShapeRegistry as it, createChatSessionStore as j, deterministicCompletion as jt, chatTransportExecutor as k, superviseDispatch as kt, boxSurfaceReader as l, fanout as lt, superviseSurface as m, selectValidWinner as mt, makeFinding$1 as n, runPersonified as nt, runInWorkspace as o, FileCorpus as ot, failuresAnalyst as p, pipeline as pt, startRetainedInteractiveRun as q, envKeyProvider as qt, gitWorkspace as r, builtinShapes as rt, createWaterfallCollector as s, InMemoryCorpus as st, computeFindingId$1 as t, definePersona as tt, fsSurfaceReader as u, flatWidenGate as ut, VERIFY_TAIL_CHARS as v, buildSteerContext as vt, analyzeTrace as w, resolveSandboxClient as wt, settledWorkerOut as x, inProcessSandboxClient as xt, closingWorkerNote as y, createScopeAnalyst as yt, strategyAuthorSystemPrompt as z, renderPairwiseMarkdown as zt };
7362
7362
 
7363
- //# sourceMappingURL=runtime-ckAefgVV.js.map
7363
+ //# sourceMappingURL=runtime-l9Q9-Dal.js.map