@tangle-network/agent-runtime 0.126.0 → 0.128.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 (53) hide show
  1. package/README.md +2 -2
  2. package/dist/agent.d.ts +1 -1
  3. package/dist/agent.js +2 -2
  4. package/dist/{environment-provider-PM9PeW_J.d.ts → environment-provider-CUFsyymu.d.ts} +7 -1
  5. package/dist/environment-provider.d.ts +1 -1
  6. package/dist/{index-EdjCQBV9.d.ts → index-BhZhQw77.d.ts} +198 -20
  7. package/dist/{index-DIV33AF5.d.ts → index-BhuzfG2r.d.ts} +3 -3
  8. package/dist/{index-D_M4d1_B.d.ts → index-DLM0W1h1.d.ts} +5 -5
  9. package/dist/index.d.ts +5 -5
  10. package/dist/index.js +5 -5
  11. package/dist/index.js.map +1 -1
  12. package/dist/intelligence.d.ts +1 -1
  13. package/dist/kernel.d.ts +3 -3
  14. package/dist/kernel.js +3 -3
  15. package/dist/{knowledge-EnuEqm_Y.js → knowledge-DF63xPr4.js} +2 -2
  16. package/dist/{knowledge-EnuEqm_Y.js.map → knowledge-DF63xPr4.js.map} +1 -1
  17. package/dist/knowledge.d.ts +1 -1
  18. package/dist/knowledge.js +1 -1
  19. package/dist/{loop-runner-bin-qwT_4F5I.js → loop-runner-bin-CWqOpCEw.js} +3 -3
  20. package/dist/{loop-runner-bin-qwT_4F5I.js.map → loop-runner-bin-CWqOpCEw.js.map} +1 -1
  21. package/dist/{loop-runner-bin-Bo29_fiD.d.ts → loop-runner-bin-Ckp_9tmD.d.ts} +3 -3
  22. package/dist/loop-runner-bin.d.ts +1 -1
  23. package/dist/loop-runner-bin.js +1 -1
  24. package/dist/mcp/bin.js +1 -1
  25. package/dist/mcp/index.d.ts +3 -7
  26. package/dist/mcp/index.js +3 -3
  27. package/dist/{openai-tools-Bp1KSkP6.js → openai-tools-D3XfrrQ6.js} +2 -2
  28. package/dist/{openai-tools-Bp1KSkP6.js.map → openai-tools-D3XfrrQ6.js.map} +1 -1
  29. package/dist/primeintellect/index.d.ts +1 -1
  30. package/dist/{runtime-BzXz7OjS.js → runtime-5uDVVfER.js} +362 -11
  31. package/dist/runtime-5uDVVfER.js.map +1 -0
  32. package/dist/{supervise-Ds8FtyI9.js → supervise-CsTKbH9R.js} +100 -18
  33. package/dist/supervise-CsTKbH9R.js.map +1 -0
  34. package/dist/testing.js +8 -8
  35. package/package.json +1 -1
  36. package/skills/agent-graphs/IMPROVE.md +58 -0
  37. package/skills/agent-graphs/SKILL.md +140 -0
  38. package/skills/agent-graphs/cases/artifact-mission-release-notes.json +10 -0
  39. package/skills/agent-graphs/cases/audited-single-writer.json +9 -0
  40. package/skills/agent-graphs/cases/cap-as-stop-mistake.json +8 -0
  41. package/skills/agent-graphs/cases/floor-trap-pi.json +11 -0
  42. package/skills/agent-graphs/cases/mission-in-deliverable.json +8 -0
  43. package/skills/agent-graphs/cases/review-pipeline.json +14 -0
  44. package/skills/agent-graphs/cases/runtime-discovered-fanout.json +8 -0
  45. package/skills/agent-graphs/cases/single-agent-suffices.json +7 -0
  46. package/skills/agent-graphs/cases/steer-heavy-drafting.json +9 -0
  47. package/skills/agent-graphs/cases/unmeasured-harness.json +9 -0
  48. package/skills/agent-graphs/generations/gen1-baseline.json +248 -0
  49. package/skills/agent-graphs/generations/gen2.json +375 -0
  50. package/skills/agent-graphs/generations/gen3.json +702 -0
  51. package/skills/build-with-agent-runtime/SKILL.md +1 -0
  52. package/dist/runtime-BzXz7OjS.js.map +0 -1
  53. package/dist/supervise-Ds8FtyI9.js.map +0 -1
@@ -1594,17 +1594,6 @@ async function runAgentRounds(options) {
1594
1594
  }
1595
1595
  }
1596
1596
  /**
1597
- * Pre-rename name for {@link runAgentRounds}; identical function, kept so existing
1598
- * call sites keep working.
1599
- *
1600
- * @deprecated Use {@link runAgentRounds}. The clearer name says what it is: the
1601
- * multi-agent fanout/vote/refine kernel over sandboxes, NOT the one-turn tool loop
1602
- * (`runToolLoop` / `streamToolLoop`, `/tool-loop`). `runLoop` shipped on `/kernel`
1603
- * next to `routerToolLoop`, which made the two read as variants of one thing. The alias
1604
- * is removed in the next major.
1605
- */
1606
- const runLoop = runAgentRounds;
1607
- /**
1608
1597
  * Build the lineage when either lineage flag is set. Probes the platform's fork
1609
1598
  * capability once per run (the lineage degrades gracefully when it's absent).
1610
1599
  * Rejects the lineage + `onWorkerBox` combination: both claim the same
@@ -2831,6 +2820,7 @@ const routerSeamKey = "router";
2831
2820
  const sandboxSeamKey = "sandbox";
2832
2821
  const cliSeamKey = "cli";
2833
2822
  const bridgeSeamKey = "bridge";
2823
+ const maxBridgeTimeoutMs = 2147483647;
2834
2824
  const cliWorktreeSeamKey = "cli-worktree";
2835
2825
  const providerSeamKey = "provider";
2836
2826
  /** Deterministic content hash for an `outRef`. FNV-1a 32-bit over the canonical
@@ -3635,6 +3625,7 @@ const bridgeExecutor = (spec, ctx) => {
3635
3625
  model: bridgeCellModel(base.model, ctx, effectiveProfile)
3636
3626
  };
3637
3627
  if (!seam.bridgeUrl || !seam.bridgeBearer || !seam.model) throw new ValidationError("bridgeExecutor: bridgeUrl + bridgeBearer and a profile or bridge model are required");
3628
+ if (seam.timeoutMs !== void 0 && (!Number.isSafeInteger(seam.timeoutMs) || seam.timeoutMs < 1 || seam.timeoutMs > maxBridgeTimeoutMs)) throw new ValidationError(`bridgeExecutor: timeoutMs must be an integer from 1 to ${maxBridgeTimeoutMs}`);
3638
3629
  const maxTurns = seam.maxTurns ?? 200;
3639
3630
  const sessionId = seam.sessionId ?? `bridge-${spec.profile.name ?? "worker"}-${randomUUID()}`;
3640
3631
  const attemptId = ctx.node?.attemptId ?? newExecutionAttemptId(sessionId);
@@ -3896,7 +3887,7 @@ async function* streamBridgeSession(args) {
3896
3887
  else external.addEventListener("abort", abortTurn);
3897
3888
  interruptSig.addEventListener("abort", abortTurn, { once: true });
3898
3889
  let timedOut = false;
3899
- const timer = seam.timeoutMs ? setTimeout(() => {
3890
+ const timer = seam.timeoutMs !== void 0 ? setTimeout(() => {
3900
3891
  timedOut = true;
3901
3892
  abortTurn();
3902
3893
  }, seam.timeoutMs) : void 0;
@@ -3916,6 +3907,10 @@ async function* streamBridgeSession(args) {
3916
3907
  run_id: activeRun.id,
3917
3908
  session_id: args.sessionId,
3918
3909
  ...seam.cwd ? { cwd: seam.cwd } : {},
3910
+ execution: {
3911
+ kind: "host",
3912
+ ...seam.timeoutMs !== void 0 ? { timeoutMs: seam.timeoutMs } : {}
3913
+ },
3919
3914
  agent_profile: args.profile,
3920
3915
  messages
3921
3916
  };
@@ -4854,7 +4849,9 @@ function readSeam(ctx, key, who) {
4854
4849
  return seam;
4855
4850
  }
4856
4851
  /** A leaf task is opaque (`unknown`). A string is the prompt verbatim; an object
4857
- * with a `prompt`/`content`/`task` string field uses it; otherwise it serializes. */
4852
+ * with a `prompt`/`content`/`task` string field uses it; otherwise it serializes.
4853
+ * Module-exported (not package surface) so sibling leaf executors read a task
4854
+ * identically instead of re-deriving the rule. */
4858
4855
  function taskToPrompt(task) {
4859
4856
  if (typeof task === "string") return task;
4860
4857
  if (task && typeof task === "object") {
@@ -4910,7 +4907,8 @@ function linkSignals(a, b) {
4910
4907
  return c.signal;
4911
4908
  }
4912
4909
  /** Combine N abort signals into one that fires when ANY does. Node-portable (no `AbortSignal.any`,
4913
- * which needs >=20.3 — the package floor is >=20). */
4910
+ * which needs >=20.3 — the package floor is >=20). Module-exported (not package surface) so
4911
+ * sibling leaf executors share the one portable implementation. */
4914
4912
  function mergeAbortSignals(...signals) {
4915
4913
  const c = new AbortController();
4916
4914
  const onAbort = () => c.abort();
@@ -5515,7 +5513,8 @@ function createCoordinationTools(opts) {
5515
5513
  budget: opts.perWorker,
5516
5514
  task,
5517
5515
  label,
5518
- analyst: route.kind
5516
+ analyst: route.kind,
5517
+ continuity: "fresh"
5519
5518
  });
5520
5519
  let refusal;
5521
5520
  let spawnedId;
@@ -5560,6 +5559,66 @@ function createCoordinationTools(opts) {
5560
5559
  const live = opts.scope.view.nodes.filter((node) => isLive(node.status));
5561
5560
  return live.find((node) => profileNameByWorker.get(node.id) === destination)?.id ?? live.find((node) => node.label === destination)?.id;
5562
5561
  };
5562
+ const liveWorkerForNode = (name) => opts.scope.view.nodes.find((node) => isLive(node.status) && profileNameByWorker.get(node.id) === name)?.id;
5563
+ const latestSettledWorkerForNode = (name) => {
5564
+ for (let i = ledger.length - 1; i >= 0; i -= 1) {
5565
+ const worker = ledger[i];
5566
+ if (profileNameByWorker.get(worker.id) === name) return worker.id;
5567
+ }
5568
+ };
5569
+ const nodeSpawnCount = (name) => {
5570
+ let count = 0;
5571
+ for (const profileName of profileNameByWorker.values()) if (profileName === name) count += 1;
5572
+ return count;
5573
+ };
5574
+ const parseContinuity = (v) => {
5575
+ if (v === void 0) return void 0;
5576
+ if (v === "fresh" || v === "resume") return v;
5577
+ throw new Error("coordination tools: \"continuity\" must be \"fresh\" or \"resume\"");
5578
+ };
5579
+ /**
5580
+ * Resolve the EFFECTIVE continuity of one spawn: the per-call request wins, else the profile
5581
+ * name's declared default, else `'fresh'`. Every refusal is loud and actionable:
5582
+ * - an EXPLICIT `'resume'` with no settled prior worker refuses (`resume-no-prior`) — the
5583
+ * DECLARED default degrades to `'fresh'` instead, so a resume edge's first traversal is
5584
+ * simply the first spawn;
5585
+ * - resume while a prior worker of the node is still LIVE refuses (`resume-while-live`) —
5586
+ * that is what steer is for, and the error says so;
5587
+ * - resume under a semantic `key` refuses (`resume-with-key`) — a key makes an assignment
5588
+ * run-once, resume explicitly runs the node again.
5589
+ */
5590
+ const resolveContinuity = (requested, profileName, key) => {
5591
+ const declared = profileName === void 0 ? "fresh" : opts.continuityByProfile?.[profileName] ?? "fresh";
5592
+ if (!(requested === "resume" || requested === void 0 && declared === "resume")) return { continuity: "fresh" };
5593
+ if (profileName === void 0 || profileName.length === 0) return {
5594
+ error: "resume-unnamed-profile",
5595
+ hint: "Resume targets a node by profile.name — the stable node identity — and this profile has none. Name the profile, or spawn fresh."
5596
+ };
5597
+ if (key !== void 0) return {
5598
+ error: "resume-with-key",
5599
+ hint: "A semantic key makes an assignment run-once (a completed key returns its committed result instead of running again); resume explicitly runs the node AGAIN. Drop the key to resume, or keep the key and spawn fresh."
5600
+ };
5601
+ const live = liveWorkerForNode(profileName);
5602
+ if (live !== void 0) return {
5603
+ error: "resume-while-live",
5604
+ hint: `Worker '${live}' on node '${profileName}' is still LIVE — resume re-attaches to a SETTLED session. To redirect the live worker, use steer_agent (that is the live-worker channel); to run a parallel sibling instead, pass continuity: 'fresh'.`
5605
+ };
5606
+ const prior = latestSettledWorkerForNode(profileName);
5607
+ if (prior === void 0) {
5608
+ if (requested === void 0) return { continuity: "fresh" };
5609
+ return {
5610
+ error: "resume-no-prior",
5611
+ hint: `Node '${profileName}' has no settled prior worker in this process to resume — resume continues a FINISHED session. Spawn the node fresh first (omit continuity or pass 'fresh').`
5612
+ };
5613
+ }
5614
+ return {
5615
+ continuity: "resume",
5616
+ resume: {
5617
+ ofWorker: prior,
5618
+ sequence: nodeSpawnCount(profileName) + 1
5619
+ }
5620
+ };
5621
+ };
5563
5622
  /**
5564
5623
  * Deliver one routed analyst finding to its destination worker through the SAME authorized
5565
5624
  * steer machinery a driver steer uses, so the delivery is recorded (`steer` event carrying
@@ -6037,6 +6096,11 @@ function createCoordinationTools(opts) {
6037
6096
  type: "string",
6038
6097
  description: "Optional semantic name for this assignment (e.g. \"summarize-ch3\"). The same key never runs twice: completed keys return their committed result, even after a coordinator restart."
6039
6098
  },
6099
+ continuity: {
6100
+ type: "string",
6101
+ enum: ["fresh", "resume"],
6102
+ description: "How this spawn continues the node's prior work. \"fresh\" (the default) starts a brand-new session. \"resume\" re-attaches to the node's most recent SETTLED worker: a NEW live worker is spawned whose session continues where that worker stopped (the backend receives the prior workerId and the resume sequence). Resume fails closed when the node has no settled prior worker (`error: \"resume-no-prior\"` — spawn it fresh first), while a prior worker of the node is still live (`error: \"resume-while-live\"` — steer_agent is the live-worker channel), and under a `key` (`error: \"resume-with-key\"` — keys are run-once, resume runs again). Omit to use the run's declared default for this profile name."
6103
+ },
6040
6104
  budget: {
6041
6105
  type: "object",
6042
6106
  description: "Optional per-spawn budget that merges over the per-worker default (per field). Only set the ceilings this sub-task needs raised; the conserved pool still fences." + measuredFloorSentence,
@@ -6079,6 +6143,13 @@ function createCoordinationTools(opts) {
6079
6143
  }))
6080
6144
  });
6081
6145
  const profile = deepFreezeDetached(parsedProfile.data);
6146
+ const continuity = resolveContinuity(parseContinuity(a.continuity), profile.name, key);
6147
+ if ("error" in continuity) return Promise.resolve({
6148
+ error: continuity.error,
6149
+ hint: continuity.hint,
6150
+ live: liveWorkerCount(),
6151
+ freeSlots: freeWorkerSlots()
6152
+ });
6082
6153
  const task = deepFreezeDetached(a.task);
6083
6154
  const label = typeof a.label === "string" ? a.label : "worker";
6084
6155
  const budget = Object.freeze(a.budget === void 0 ? opts.perWorker : mergeBudget(opts.perWorker, a.budget));
@@ -6089,7 +6160,9 @@ function createCoordinationTools(opts) {
6089
6160
  budget,
6090
6161
  task,
6091
6162
  label,
6092
- ...key !== void 0 ? { key } : {}
6163
+ ...key !== void 0 ? { key } : {},
6164
+ continuity: continuity.continuity,
6165
+ ...continuity.continuity === "resume" ? { resume: continuity.resume } : {}
6093
6166
  });
6094
6167
  const res = opts.scope.spawn(() => opts.makeWorkerAgent(profile, context), task, {
6095
6168
  budget,
@@ -6126,6 +6199,8 @@ function createCoordinationTools(opts) {
6126
6199
  ...res.handle.identity === void 0 ? {} : { identity: res.handle.identity },
6127
6200
  ...res.handle.materialization === void 0 ? {} : { materialization: res.handle.materialization },
6128
6201
  ...res.handle.executionBindings === void 0 ? {} : { executionBindings: res.handle.executionBindings },
6202
+ continuity: continuity.continuity,
6203
+ ...continuity.continuity === "resume" ? { resume: continuity.resume } : {},
6129
6204
  live: liveWorkerCount(),
6130
6205
  freeSlots: freeWorkerSlots(),
6131
6206
  ...priorHistory
@@ -7029,6 +7104,7 @@ function driverAgent(opts) {
7029
7104
  ...opts.analyzeOnSettle ? { analyzeOnSettle: opts.analyzeOnSettle } : {},
7030
7105
  ...opts.watchWorkers ? { watchWorkers: opts.watchWorkers } : {},
7031
7106
  ...opts.stallAfterMs !== void 0 ? { stallAfterMs: opts.stallAfterMs } : {},
7107
+ ...opts.continuityByProfile ? { continuityByProfile: opts.continuityByProfile } : {},
7032
7108
  ...opts.onEvent ? { onEvent: opts.onEvent } : {},
7033
7109
  ...opts.replaySettlements ? { replaySettlements: true } : {},
7034
7110
  ...opts.priorCoordination?.questions.length ? { priorQuestions: opts.priorCoordination.questions } : {}
@@ -9037,6 +9113,7 @@ async function serveCoordinationMcp(opts) {
9037
9113
  ...opts.analyzeOnSettle ? { analyzeOnSettle: opts.analyzeOnSettle } : {},
9038
9114
  ...opts.watchWorkers ? { watchWorkers: opts.watchWorkers } : {},
9039
9115
  ...opts.stallAfterMs !== void 0 ? { stallAfterMs: opts.stallAfterMs } : {},
9116
+ ...opts.continuityByProfile ? { continuityByProfile: opts.continuityByProfile } : {},
9040
9117
  ...opts.onEvent ? { onEvent: opts.onEvent } : {},
9041
9118
  ...opts.replaySettlements ? { replaySettlements: true } : {},
9042
9119
  ...opts.questionPolicy ? { questionPolicy: opts.questionPolicy } : {},
@@ -9236,6 +9313,7 @@ function supervisorAgent(profile, deps) {
9236
9313
  ...deps.analyzeOnSettle ? { analyzeOnSettle: deps.analyzeOnSettle } : {},
9237
9314
  ...deps.watchWorkers ? { watchWorkers: deps.watchWorkers } : {},
9238
9315
  ...deps.stallAfterMs !== void 0 ? { stallAfterMs: deps.stallAfterMs } : {},
9316
+ ...deps.continuityByProfile ? { continuityByProfile: deps.continuityByProfile } : {},
9239
9317
  ...deps.stopRule ? { stopRule: deps.stopRule } : {},
9240
9318
  ...deps.onProgressStop ? { onProgressStop: deps.onProgressStop } : {},
9241
9319
  ...deps.maxTurns !== void 0 ? { maxTurns: deps.maxTurns } : {},
@@ -9289,6 +9367,7 @@ function supervisorAgent(profile, deps) {
9289
9367
  ...deps.analyzeOnSettle ? { analyzeOnSettle: deps.analyzeOnSettle } : {},
9290
9368
  ...deps.watchWorkers ? { watchWorkers: deps.watchWorkers } : {},
9291
9369
  ...deps.stallAfterMs !== void 0 ? { stallAfterMs: deps.stallAfterMs } : {},
9370
+ ...deps.continuityByProfile ? { continuityByProfile: deps.continuityByProfile } : {},
9292
9371
  ...onEvent ? { onEvent } : {},
9293
9372
  ...deps.replaySettlements ? { replaySettlements: true } : {},
9294
9373
  ...priorCoordination?.questions.length ? { priorQuestions: priorCoordination.questions } : {},
@@ -9415,6 +9494,7 @@ function workerFromBackend(backend, deliverable, seams) {
9415
9494
  if (!parsed.success) throw new ValidationError(`workerFromBackend: invalid AgentProfile: ${parsed.error.message}`);
9416
9495
  const profile = parsed.data;
9417
9496
  assertBackendProfileMaterialization(profile, capturedBackend, "workerFromBackend");
9497
+ if (spawnContext?.continuity === "resume") throw new ValidationError("workerFromBackend: this backend seam does not re-attach sessions and cannot honor continuity: 'resume' — provide a makeWorkerAgent that resumes (it receives spawnContext.resume.ofWorker), or use continuity: 'fresh'");
9418
9498
  const name = profile.name ?? "worker";
9419
9499
  const assignmentId = spawnContext?.assignmentId ?? `unscoped:${unscopedNamespace}:${unscopedOrdinal++}`;
9420
9500
  const baseFactory = createExecutor(bindReusableExecutorExecutionId(capturedBackend, externalExecutionId("supervised-worker", { assignmentId })));
@@ -10111,6 +10191,7 @@ function supervise(profile, task, opts) {
10111
10191
  ...options.analyzeOnSettle ? { analyzeOnSettle: options.analyzeOnSettle } : {},
10112
10192
  ...options.watchWorkers ? { watchWorkers: options.watchWorkers } : {},
10113
10193
  ...options.stallAfterMs !== void 0 ? { stallAfterMs: options.stallAfterMs } : {},
10194
+ ...options.continuityByProfile ? { continuityByProfile: options.continuityByProfile } : {},
10114
10195
  ...options.stopRule ? { stopRule: options.stopRule } : {},
10115
10196
  ...options.onProgressStop ? { onProgressStop: options.onProgressStop } : {},
10116
10197
  ...options.maxTurns !== void 0 ? { maxTurns: options.maxTurns } : {},
@@ -10162,6 +10243,7 @@ function supervise(profile, task, opts) {
10162
10243
  ...options.analyzeOnSettle ? { analyzeOnSettle: options.analyzeOnSettle } : {},
10163
10244
  ...options.watchWorkers ? { watchWorkers: options.watchWorkers } : {},
10164
10245
  ...options.stallAfterMs !== void 0 ? { stallAfterMs: options.stallAfterMs } : {},
10246
+ ...options.continuityByProfile ? { continuityByProfile: options.continuityByProfile } : {},
10165
10247
  ...options.stopRule ? { stopRule: options.stopRule } : {},
10166
10248
  ...options.onProgressStop ? { onProgressStop: options.onProgressStop } : {},
10167
10249
  ...options.maxTurns !== void 0 ? { maxTurns: options.maxTurns } : {},
@@ -10211,6 +10293,6 @@ function supervise(profile, task, opts) {
10211
10293
  return start();
10212
10294
  }
10213
10295
  //#endregion
10214
- export { allOf as $, naiveContinuationPrompt as $t, DELEGATE_DESCRIPTION as A, createSandboxForSpec as At, DELEGATION_TRACE_MAX_SPANS as B, assessAuthoredProfile as Bt, createDelegateUiAuditHandler as C, createWorktreeCliExecutor as Ct, DELEGATE_FEEDBACK_TOOL_NAME as D, decodeToolPart as Dt, DELEGATE_FEEDBACK_INPUT_SCHEMA as E, createPushTraceSource as Et, defaultDelegateBudget as F, probeSandboxCapabilities as Ft, DelegationPersistenceError as G, supervisorInstructions as Gt, capDelegationTrace as H, canonicalizeAuthoredProfile as Ht, delegate as I, acquireSandbox as It, InMemoryDelegationStore as J, delegatesWorkerBriefPrompt as Jt, DelegationStateCorruptError as K, analyzesFindingsReportPrompt as Kt, DelegationTaskQueue as L, FileCoordinationLog as Lt, DELEGATE_TOOL_NAME as M, runAgentRounds as Mt, createDelegateHandler as N, runLoop as Nt, createDelegateFeedbackHandler as O, sandboxSessionTraceSource as Ot, validateDelegateArgs as P, createSandboxLineage as Pt, finalizeBestDelivered as Q, kernelPromptRegistry as Qt, hashIdempotencyInput as R, createSupervisorSpanRecorder as Rt, DELEGATE_UI_AUDIT_TOOL_NAME as S, createExecutorRegistry as St, DELEGATE_FEEDBACK_DESCRIPTION as T, createSteerableSandboxSession as Tt, composeLoopTraceEmitters as U, defaultProfileRichnessThresholds as Ut, buildDelegationTraceSpans as V, authoredWorker as Vt, createDelegationTraceCollector as W, profileRichnessFinding as Wt, eventToSnapshot as X, dumbContinuationPassPrompt as Xt, InMemoryFeedbackStore as Y, dumbContinuationFailPrompt as Yt, driverAgent as Z, formatPromptHandle as Zt, DELEGATION_HISTORY_TOOL_NAME as _, watchTrace as _t, resolveSupervisorProfile as a, sampleFromSettled as at, DELEGATE_UI_AUDIT_DESCRIPTION as b, cliWorktreeExecutor as bt, createInProcessTransport as c, bestSoFar as ct, DELEGATION_STATUS_INPUT_SCHEMA as d, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as dt, promptHandle as en, allWorkersStalled as et, DELEGATION_STATUS_TOOL_NAME as f, canonicalFindingEvent as ft, DELEGATION_HISTORY_INPUT_SCHEMA as g, defaultToolDetectors as gt, DELEGATION_HISTORY_DESCRIPTION as h, createEventBus as ht, assertCoordinationBinding as i, plateau as it, DELEGATE_INPUT_SCHEMA as j, defaultSelectWinner as jt, validateDelegateFeedbackArgs as k, createInbox as kt, createMcpServer as l, plateauLength as lt, validateDelegationStatusArgs as m, normalizeAnalyzeOnSettle as mt, supervise as n, gateOnDeliverable as nn, createProgressTracker as nt, supervisorAgent as o, anytimeReport as ot, createDelegationStatusHandler as p, createCoordinationTools as pt, FileDelegationStore as q, createPromptRegistry as qt, workerFromBackend as r, noProgressFor as rt, serveCoordinationMcp as s, areaUnderCurve as st, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, supervisorPolicyPrompt as tn, anyOf as tt, DELEGATION_STATUS_DESCRIPTION as u, renderAnytimeTable as ut, createDelegationHistoryHandler as v, createFileRunContext as vt, validateDelegateUiAuditArgs as w, DEFAULT_SANDBOX_STEERING_MAX_TURNS as wt, DELEGATE_UI_AUDIT_INPUT_SCHEMA as x, createExecutor as xt, validateDelegationHistoryArgs as y, createInMemoryRunContext as yt, DELEGATION_TRACE_MAX_BYTES as z, asAuthoredProfile as zt };
10296
+ export { allOf as $, kernelPromptRegistry as $t, DELEGATE_DESCRIPTION as A, sandboxSessionTraceSource as At, DELEGATION_TRACE_MAX_SPANS as B, asAuthoredProfile as Bt, createDelegateUiAuditHandler as C, mergeAbortSignals as Ct, DELEGATE_FEEDBACK_TOOL_NAME as D, createSteerableSandboxSession as Dt, DELEGATE_FEEDBACK_INPUT_SCHEMA as E, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Et, defaultDelegateBudget as F, createSandboxLineage as Ft, DelegationPersistenceError as G, profileRichnessFinding as Gt, capDelegationTrace as H, authoredWorker as Ht, delegate as I, probeSandboxCapabilities as It, InMemoryDelegationStore as J, createPromptRegistry as Jt, DelegationStateCorruptError as K, supervisorInstructions as Kt, DelegationTaskQueue as L, acquireSandbox as Lt, DELEGATE_TOOL_NAME as M, createSandboxForSpec as Mt, createDelegateHandler as N, defaultSelectWinner as Nt, createDelegateFeedbackHandler as O, createPushTraceSource as Ot, validateDelegateArgs as P, runAgentRounds as Pt, finalizeBestDelivered as Q, formatPromptHandle as Qt, hashIdempotencyInput as R, FileCoordinationLog as Rt, DELEGATE_UI_AUDIT_TOOL_NAME as S, createExecutorRegistry as St, DELEGATE_FEEDBACK_DESCRIPTION as T, createWorktreeCliExecutor as Tt, composeLoopTraceEmitters as U, canonicalizeAuthoredProfile as Ut, buildDelegationTraceSpans as V, assessAuthoredProfile as Vt, createDelegationTraceCollector as W, defaultProfileRichnessThresholds as Wt, eventToSnapshot as X, dumbContinuationFailPrompt as Xt, InMemoryFeedbackStore as Y, delegatesWorkerBriefPrompt as Yt, driverAgent as Z, dumbContinuationPassPrompt as Zt, DELEGATION_HISTORY_TOOL_NAME as _, watchTrace as _t, resolveSupervisorProfile as a, sampleFromSettled as at, DELEGATE_UI_AUDIT_DESCRIPTION as b, cliWorktreeExecutor as bt, createInProcessTransport as c, bestSoFar as ct, DELEGATION_STATUS_INPUT_SCHEMA as d, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as dt, naiveContinuationPrompt as en, allWorkersStalled as et, DELEGATION_STATUS_TOOL_NAME as f, canonicalFindingEvent as ft, DELEGATION_HISTORY_INPUT_SCHEMA as g, defaultToolDetectors as gt, DELEGATION_HISTORY_DESCRIPTION as h, createEventBus as ht, assertCoordinationBinding as i, plateau as it, DELEGATE_INPUT_SCHEMA as j, createInbox as jt, validateDelegateFeedbackArgs as k, decodeToolPart as kt, createMcpServer as l, plateauLength as lt, validateDelegationStatusArgs as m, normalizeAnalyzeOnSettle as mt, supervise as n, supervisorPolicyPrompt as nn, createProgressTracker as nt, supervisorAgent as o, anytimeReport as ot, createDelegationStatusHandler as p, createCoordinationTools as pt, FileDelegationStore as q, analyzesFindingsReportPrompt as qt, workerFromBackend as r, gateOnDeliverable as rn, noProgressFor as rt, serveCoordinationMcp as s, areaUnderCurve as st, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, promptHandle as tn, anyOf as tt, DELEGATION_STATUS_DESCRIPTION as u, renderAnytimeTable as ut, createDelegationHistoryHandler as v, createFileRunContext as vt, validateDelegateUiAuditArgs as w, taskToPrompt as wt, DELEGATE_UI_AUDIT_INPUT_SCHEMA as x, createExecutor as xt, validateDelegationHistoryArgs as y, createInMemoryRunContext as yt, DELEGATION_TRACE_MAX_BYTES as z, createSupervisorSpanRecorder as zt };
10215
10297
 
10216
- //# sourceMappingURL=supervise-Ds8FtyI9.js.map
10298
+ //# sourceMappingURL=supervise-CsTKbH9R.js.map