@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.
Files changed (140) hide show
  1. package/dist/{activation-CsbNax2X.d.ts → activation-CJIIl_Ey.d.ts} +4 -24
  2. package/dist/{activation-kbkAuSmY.js → activation-CVSFxis9.js} +5 -18
  3. package/dist/{activation-kbkAuSmY.js.map → activation-CVSFxis9.js.map} +1 -1
  4. package/dist/agent.d.ts +4 -4
  5. package/dist/agent.js +3 -3
  6. package/dist/{bundle-DM60AI2B.js → bundle-DVOhBTic.js} +2 -2
  7. package/dist/{bundle-DM60AI2B.js.map → bundle-DVOhBTic.js.map} +1 -1
  8. package/dist/candidate-execution/index.d.ts +4 -63
  9. package/dist/candidate-execution/index.js +6 -145
  10. package/dist/candidate-execution/index.js.map +1 -1
  11. package/dist/{delegate-Se1YZKMb.js → delegate-CCWE_AkU.js} +2 -2
  12. package/dist/{delegate-Se1YZKMb.js.map → delegate-CCWE_AkU.js.map} +1 -1
  13. package/dist/{driver-control-acknowledgers-T2a1Ouay.js → driver-control-acknowledgers-C53ggdJ6.js} +12 -8
  14. package/dist/driver-control-acknowledgers-C53ggdJ6.js.map +1 -0
  15. package/dist/{durable-file-B_eJr6Mb.js → durable-file-gNI9ILAn.js} +1 -3
  16. package/dist/durable-file-gNI9ILAn.js.map +1 -0
  17. package/dist/durable.d.ts +3 -35
  18. package/dist/durable.js +10 -10
  19. package/dist/durable.js.map +1 -1
  20. package/dist/{graph-CY0wH838.js → graph-CI9JXKqO.js} +4 -4
  21. package/dist/graph-CI9JXKqO.js.map +1 -0
  22. package/dist/{graph-registry-By0tUj4S.js → graph-registry-BnO64cn8.js} +3 -3
  23. package/dist/{graph-registry-By0tUj4S.js.map → graph-registry-BnO64cn8.js.map} +1 -1
  24. package/dist/{improve-CWGBT13K.js → improve-BOXTLWJ3.js} +8 -35
  25. package/dist/improve-BOXTLWJ3.js.map +1 -0
  26. package/dist/{improvement-adapter-D5gwwoXQ.d.ts → improvement-adapter-HUt_-cWA.d.ts} +2 -20
  27. package/dist/index.d.ts +9 -206
  28. package/dist/index.js +91 -302
  29. package/dist/index.js.map +1 -1
  30. package/dist/intelligence.d.ts +10 -142
  31. package/dist/intelligence.js +7 -81
  32. package/dist/intelligence.js.map +1 -1
  33. package/dist/{jsonl-file-DBv31uPi.js → jsonl-file-C9Kde_0Z.js} +2 -2
  34. package/dist/{jsonl-file-DBv31uPi.js.map → jsonl-file-C9Kde_0Z.js.map} +1 -1
  35. package/dist/kernel.d.ts +4 -3
  36. package/dist/kernel.js +12 -14
  37. package/dist/loop-runner-CWzG1bH4.d.ts +32 -0
  38. package/dist/loop-runner-bin.d.ts +32 -2
  39. package/dist/loop-runner-bin.js +93 -1
  40. package/dist/loop-runner-bin.js.map +1 -0
  41. package/dist/loop-runner-pmPIHFVY.js +59 -0
  42. package/dist/loop-runner-pmPIHFVY.js.map +1 -0
  43. package/dist/mcp/bin.js +3 -3
  44. package/dist/mcp/index.d.ts +99 -418
  45. package/dist/mcp/index.js +121 -203
  46. package/dist/mcp/index.js.map +1 -1
  47. package/dist/mcp/memory-bin.js +231 -1
  48. package/dist/mcp/memory-bin.js.map +1 -1
  49. package/dist/model-policy-CyCUwHed.js.map +1 -1
  50. package/dist/placement.d.ts +2 -9
  51. package/dist/placement.js +1 -1
  52. package/dist/placement.js.map +1 -1
  53. package/dist/platform.d.ts +188 -1
  54. package/dist/platform.js +129 -1
  55. package/dist/platform.js.map +1 -1
  56. package/dist/{prepare-Bt0IouPq.js → prepare-bXkvPMJA.js} +8 -160
  57. package/dist/prepare-bXkvPMJA.js.map +1 -0
  58. package/dist/{profile-Do-5xO_D.js → profile-Dpei_Sq0.js} +2 -2
  59. package/dist/profile-Dpei_Sq0.js.map +1 -0
  60. package/dist/{profile-materialization-BnoEf1co.d.ts → profile-materialization-B1wm2SPT.d.ts} +3 -5
  61. package/dist/profiles.d.ts +2 -2
  62. package/dist/profiles.js +3 -40
  63. package/dist/profiles.js.map +1 -1
  64. package/dist/{protected-model-port-DGxQ8_YM.d.ts → protected-model-port-BGgpy2r9.d.ts} +3 -29
  65. package/dist/protected-redaction-DFCeo4vg.js.map +1 -1
  66. package/dist/{provision-supervisor-0jMufp4h.js → provision-supervisor-CJ6Zz6dz.js} +6 -6
  67. package/dist/{provision-supervisor-0jMufp4h.js.map → provision-supervisor-CJ6Zz6dz.js.map} +1 -1
  68. package/dist/{run-cancellation-BoW5Sg9Y.js → run-cancellation-C9oL62sW.js} +3 -7
  69. package/dist/{run-cancellation-BoW5Sg9Y.js.map → run-cancellation-C9oL62sW.js.map} +1 -1
  70. package/dist/{runtime-D37zRSs7.js → runtime-B2fjL9Oi.js} +2531 -2889
  71. package/dist/runtime-B2fjL9Oi.js.map +1 -0
  72. package/dist/{runtime-hooks-Bj6wJHlH.d.ts → runtime-hooks-nsqxSUFL.d.ts} +2 -6
  73. package/dist/{sandbox-profile-compat-xSoVtdWw.js → sandbox-profile-compat-BzVBFqrz.js} +2 -4
  74. package/dist/sandbox-profile-compat-BzVBFqrz.js.map +1 -0
  75. package/dist/{search-executor-DmgUm5p7.js → search-executor-zMumiak_.js} +3 -3
  76. package/dist/search-executor-zMumiak_.js.map +1 -0
  77. package/dist/{server-DQHJszfk.js → server-_4voDNrl.js} +362 -67
  78. package/dist/server-_4voDNrl.js.map +1 -0
  79. package/dist/{structural-rollout-DAvIE8mw.js → structural-rollout-DpLCXzaL.js} +80 -80
  80. package/dist/structural-rollout-DpLCXzaL.js.map +1 -0
  81. package/dist/{substrate-B0TYNrXn.js → substrate-CGDFTSRh.js} +2 -9
  82. package/dist/substrate-CGDFTSRh.js.map +1 -0
  83. package/dist/{supervise-WuPAwfPh.js → supervise-qAwXmPtD.js} +10 -57
  84. package/dist/supervise-qAwXmPtD.js.map +1 -0
  85. package/dist/{supervisor-CPG1I9UN.js → supervisor-DHrUJhEZ.js} +179 -236
  86. package/dist/supervisor-DHrUJhEZ.js.map +1 -0
  87. package/dist/testing.d.ts +2 -2
  88. package/dist/testing.js +13 -13
  89. package/dist/testing.js.map +1 -1
  90. package/dist/tool-loop.d.ts +1 -1
  91. package/dist/{tool-server-Dqer2M4_.js → tool-server-XV4aJwoQ.js} +2 -2
  92. package/dist/tool-server-XV4aJwoQ.js.map +1 -0
  93. package/dist/top-snapshot-CbZE1JsU.js +502 -0
  94. package/dist/top-snapshot-CbZE1JsU.js.map +1 -0
  95. package/dist/tui/bin.js +711 -1
  96. package/dist/tui/bin.js.map +1 -1
  97. package/dist/tui/index.d.ts +2 -70
  98. package/dist/tui/index.js +3 -3
  99. package/dist/{types-CrNWif8-.d.ts → types-CaOXqRTq.d.ts} +713 -2096
  100. package/dist/workspace-store/index.d.ts +2 -27
  101. package/dist/workspace-store/index.js +2 -2
  102. package/dist/workspace-store/index.js.map +1 -1
  103. package/dist/{workspace-streams-BZZds1Fw.d.ts → workspace-streams-BiS4ABah.d.ts} +3 -18
  104. package/package.json +1 -1
  105. package/skills/agent-graphs/references/authoring.md +3 -2
  106. package/dist/coder-yhVWbdWc.js +0 -40
  107. package/dist/coder-yhVWbdWc.js.map +0 -1
  108. package/dist/delegation-status-CF4D0NZ_.js +0 -358
  109. package/dist/delegation-status-CF4D0NZ_.js.map +0 -1
  110. package/dist/driver-control-acknowledgers-T2a1Ouay.js.map +0 -1
  111. package/dist/durable-file-B_eJr6Mb.js.map +0 -1
  112. package/dist/graph-CY0wH838.js.map +0 -1
  113. package/dist/improve-CWGBT13K.js.map +0 -1
  114. package/dist/integrations-6xttbPi9.d.ts +0 -190
  115. package/dist/integrations-dFi-ALk7.js +0 -132
  116. package/dist/integrations-dFi-ALk7.js.map +0 -1
  117. package/dist/kb-gate-C8z2juK8.d.ts +0 -80
  118. package/dist/kb-gate-DpaSwXVx.js +0 -80
  119. package/dist/kb-gate-DpaSwXVx.js.map +0 -1
  120. package/dist/loop-runner-bin-CFnrAHpl.d.ts +0 -164
  121. package/dist/loop-runner-bin-CdPlhy9g.js +0 -246
  122. package/dist/loop-runner-bin-CdPlhy9g.js.map +0 -1
  123. package/dist/memory-server-DXQ8IxGR.js +0 -234
  124. package/dist/memory-server-DXQ8IxGR.js.map +0 -1
  125. package/dist/openai-tools-DoQ32vpe.js +0 -44
  126. package/dist/openai-tools-DoQ32vpe.js.map +0 -1
  127. package/dist/openai-tools-zh2I_uD7.d.ts +0 -24
  128. package/dist/prepare-Bt0IouPq.js.map +0 -1
  129. package/dist/profile-Do-5xO_D.js.map +0 -1
  130. package/dist/runtime-D37zRSs7.js.map +0 -1
  131. package/dist/sandbox-profile-compat-xSoVtdWw.js.map +0 -1
  132. package/dist/search-executor-DmgUm5p7.js.map +0 -1
  133. package/dist/server-DQHJszfk.js.map +0 -1
  134. package/dist/structural-rollout-DAvIE8mw.js.map +0 -1
  135. package/dist/substrate-B0TYNrXn.js.map +0 -1
  136. package/dist/supervise-WuPAwfPh.js.map +0 -1
  137. package/dist/supervisor-CPG1I9UN.js.map +0 -1
  138. package/dist/tool-server-Dqer2M4_.js.map +0 -1
  139. package/dist/top-app-C55Wa7uy.js +0 -1214
  140. package/dist/top-app-C55Wa7uy.js.map +0 -1
@@ -14,14 +14,7 @@ const UI_LENSES = [
14
14
  "performance-perceived",
15
15
  "other"
16
16
  ];
17
- /** Frozen severity tuple, ordered worst → least bad for sort/report. */
18
- const UI_FINDING_SEVERITIES = [
19
- "critical",
20
- "high",
21
- "med",
22
- "low"
23
- ];
24
17
  //#endregion
25
- export { UI_LENSES as n, UI_FINDING_SEVERITIES as t };
18
+ export { UI_LENSES as t };
26
19
 
27
- //# sourceMappingURL=substrate-B0TYNrXn.js.map
20
+ //# sourceMappingURL=substrate-CGDFTSRh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"substrate-CGDFTSRh.js","names":[],"sources":["../src/profiles/ui-auditor/substrate.ts"],"sourcesContent":["/**\n *\n * UI audit finding shapes — the unit of evidence a contributor can act on.\n *\n * A finding describes a single, actionable UI problem: lens, severity,\n * route, observation, impact, suggested fix, and screenshot evidence.\n * Findings are produced by the auditor profile, persisted by the issue\n * writer as self-contained GitHub-issue Markdown, and surfaced over MCP.\n *\n * The shapes are deliberately constraining — the validator + writer\n * hard-fail on missing screenshot evidence, missing lens, missing title.\n *\n * @experimental\n */\n\n/**\n * Canonical audit lenses. Each lens scopes a finding to a single class of\n * problem so a single audit pass can iterate them without pile-on findings\n * under a generic label.\n */\nexport type UiLens =\n | 'consistency'\n | 'hierarchy'\n | 'layout'\n | 'ux-flow'\n | 'duplication'\n | 'accessibility'\n | 'responsive'\n | 'states'\n | 'content'\n | 'interaction'\n | 'performance-perceived'\n | 'other'\n\n/** Frozen tuple of lenses for validation + iteration. */\nexport const UI_LENSES: readonly UiLens[] = [\n 'consistency',\n 'hierarchy',\n 'layout',\n 'ux-flow',\n 'duplication',\n 'accessibility',\n 'responsive',\n 'states',\n 'content',\n 'interaction',\n 'performance-perceived',\n 'other',\n] as const\n\n/**\n * Severity scale.\n * - `critical` — blocks a core task or is an accessibility blocker.\n * - `high` — confusing, broken-looking, or noticeable friction.\n * - `med` — visible polish issue, would be caught in code review.\n * - `low` — nitpick worth fixing eventually.\n */\nexport type UiFindingSeverity = 'low' | 'med' | 'high' | 'critical'\n\n/** Pointer to a screenshot referenced by a finding (workspace-relative path). */\nexport interface UiFindingScreenshot {\n path: string\n viewport?: string\n label?: string\n}\n\n/**\n * A single UI audit finding — the unit of work a contributor can act on.\n *\n * Every field except the documented optionals is required. The auditor\n * validator + writer hard-fail on missing screenshot evidence, missing\n * lens, missing title, etc.\n */\nexport interface UiFinding {\n /** Monotonic id assigned by the writer when persisting. Optional in-transit. */\n id?: number\n title: string\n lens: UiLens\n severity: UiFindingSeverity\n /** Logical route the finding was observed on (e.g. `home`, `checkout-step-2`). */\n route: string\n /** Fully qualified URL the finding was observed at. */\n url?: string\n /** Viewport string the offending capture was taken at (e.g. `1280x800`). */\n viewport?: string\n /** CSS selector pinning the offending element, when one can be identified. */\n selector?: string\n /** 1–3 sentences describing what the screenshot shows that is wrong. */\n observation: string\n /** Who is affected and how. */\n impact: string\n /** A specific change a contributor could apply without asking back. */\n suggestedFix: string\n /** Optional explicit reproduction steps. Writer synthesizes from route/url/selector when omitted. */\n reproSteps?: string\n /** Free-form tags. */\n tags?: readonly string[]\n /** Screenshot references — must be non-empty for actionable findings. */\n screenshots: readonly UiFindingScreenshot[]\n /** Cross-references to similar findings already on file, by id. */\n similarTo?: readonly number[]\n /** ISO-8601 creation timestamp set by the writer when persisted. */\n createdAt?: string\n}\n"],"mappings":";;AAmCA,MAAa,YAA+B;CAC1C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,15 +1,15 @@
1
- import { n as assertNoSymlinkDescendant } from "./durable-file-B_eJr6Mb.js";
2
- import { $ as scopeRetainedOwnerPriorSpend, $i as cappedDoublingMs, $n as isLiveNodeStatus, A as recordScopeOwnerMaterialization, Ai as inheritRuntimeOwnedExecutorAttestation, Bi as runtimeOwnedPendingExecutorMaterialization, Bt as toolResultText, Cr as checkVerdictOf, Di as authoredAgentIdentity, Ei as attestRuntimeOwnedScopeOwner, En as createOtelExporter, F as providerVisibleProfile, Fi as recordRuntimeOwnedDriveHarnessProviderEvidence, Ft as codeModeArguments, G as meterRuntimeOwnedAccounting, Hr as RunCancellationReason, Ht as routerBrain, I as runtimeGraphMetadataKey, Ii as runtimeOwnedDriveHarnessProviderEvidence, It as codeModeModelOutput, J as recordScopeOwnerPause, K as meterRuntimeOwnedProviderAttempt, Kn as isPeerMailEnvelope, Kr as bridgeRuntimeAttachmentsKey, Li as runtimeOwnedExecutorExecutionBinding, Lt as createCodeModeTools, M as scopeOwnerExecutorNodeContext, Mn as toOtelAttributes, N as coordinationMcpAlias, Nr as bridgeAdmissionRefusal, O as beginScopeOwnerAttempt, On as generateSpanId, P as coordinationProfileToolPrefix, Pi as providerAttemptEvidence, Pr as bridgeModelRouteRefusal, Q as prepareScopeRetainedOwnerTask, Qi as retainedExecutorSeamKey, R as assertRecursiveReservationPolicy, Ri as runtimeOwnedExecutorMaterialization, Rn as INBOX_RECEIPT_KEY, Si as unsupportedProfileDimensions, Sr as bestComposite, Un as PEER_MAIL_WIRE_KEY, Ur as linkAbort, Vi as runtimeOwnedScopeOwnerRuntime, Vt as createRouterTranscript, Wr as runAbortable, Wt as resolveAgentEnvironmentProvider, X as abandonScopeRetainedOwnerInvocation, Xi as RetainedExecutionPendingError, Y as prepareScopeRetainedOwnerSeatSwitch, Z as consumeScopeRetainedOwnerResult, Zi as registerRetainedExecutorPreparation, Zn as createActivityLog, _a as spendFromUsageTotals, an as persistHarnessTranscript, ar as classifyDriverFailure, at as noteScopeRetainedOwnerCoordination, br as admitContinuationPolicy, bt as createExecutor, c as runTree, ca as contentAddress, ci as assertProfileMaterialization, cr as upstreamUnavailableSignal, ct as owners, d as driverExecutorFactory, di as defineProfileMaterializationContract, dr as authoredSeatStages, ea as jitteredMs, er as isTerminalNodeStatus, et as scopeRetainedOwnerResult, f as isDriverSpec, fi as fullProfileMaterialization, fr as seatExecutionProfile, ha as newUsageTotals, hi as promptModelProfileMaterialization, hr as gateOnDeliverable, ir as causedByPartialFailure, it as scopeRetainedOwnerRestorePoint, j as restoreScopeOwnerAcceptedExecution, k as noteScopeOwnerPlannedExecution, l as createRootHandle, la as executorFailure, lr as SeatChain, lt as scopeRetainedOwnerContext, ma as meterUsageEvent, mi as promptControlProfileMaterialization, mr as CheckUnavailableError, n as createSupervisor, na as unavailableResumeAt, nr as HarnessTurnFailedError, nt as scopeRetainedOwnerTurnEnded, on as readHarnessTranscript, or as summarizeDriverAttempts, ot as bindScopeRetainedOwnerEnvironmentId, pi as profileMaterializationAxes$1, pn as WORKER_TRACE_PROPAGATION, q as recordScopeOwnerDriverAttempt, qr as bridgeStopSignalKey, r as bestDelivered, rr as abandonablePending, rt as reconcileScopeRetainedOwnerEnvironment, s as runFinalizer, sa as detachedSnapshot, sr as undispatchedCredentialExit, st as bindScopeRetainedOwnerProvider, ta as unavailablePauseMs, tr as DriverAttemptsExhaustedError, tt as beginScopeRetainedOwnerDrive, u as driverChild, ua as errMessage, ui as controlProfileMaterialization, ur as SeatChainExhaustedError, ut as scopeRetainedOwnerJournalRoot, va as assertValidBudget, vr as CONTINUATIONS_DIR, vt as bindReusableExecutorExecutionId, wi as worktreeCliProfileMaterialization, wr as createContinuationKeeper, xi as sandboxProfileMaterialization, xt as snapshotExecutorConfig, y as parseWorkerToolTraceArtifact, yi as renderUnsupported, yt as captureReusableExecutorConfig, z as deriveNodeExecutionIdentity, zi as runtimeOwnedExecutorProviderEvidence, zn as createInbox } from "./supervisor-CPG1I9UN.js";
1
+ import { n as assertNoSymlinkDescendant } from "./durable-file-gNI9ILAn.js";
2
+ import { $ as bindScopeRetainedOwnerEnvironmentId, $n as CONTINUATIONS_DIR, $r as providerAttemptEvidence, A as providerVisibleProfile, Ar as controlProfileMaterialization, At as createRouterTranscript, B as recordScopeOwnerDriverAttempt, Bn as classifyDriverFailure, Br as sandboxProfileMaterialization, C as beginScopeOwnerAttempt, D as scopeOwnerExecutorNodeContext, Di as contentAddress, Dn as isPeerMailEnvelope, Dt as createCodeModeTools, E as restoreScopeOwnerAcceptedExecution, Ei as detachedSnapshot, Et as codeModeModelOutput, Fi as assertValidBudget, Fn as isTerminalNodeStatus, Fr as promptModelProfileMaterialization, G as prepareScopeRetainedOwnerTask, Gn as SeatChainExhaustedError, Gr as attestRuntimeOwnedScopeOwner, H as prepareScopeRetainedOwnerSeatSwitch, Hn as undispatchedCredentialExit, In as DriverAttemptsExhaustedError, J as beginScopeRetainedOwnerDrive, Jt as persistHarnessTranscript, K as scopeRetainedOwnerPriorSpend, Kn as authoredSeatStages, Kr as authoredAgentIdentity, Ln as HarnessTurnFailedError, Mi as newUsageTotals, Mn as createActivityLog, Mr as fullProfileMaterialization, N as assertRecursiveReservationPolicy, Nr as profileMaterializationAxes$1, Nt as resolveAgentEnvironmentProvider, O as coordinationMcpAlias, Oi as executorFailure, Or as assertProfileMaterialization, P as deriveNodeExecutionIdentity, Pi as spendFromUsageTotals, Pn as isLiveNodeStatus, Pr as promptControlProfileMaterialization, Q as noteScopeRetainedOwnerCoordination, R as meterRuntimeOwnedAccounting, Rn as abandonablePending, Rr as renderUnsupported, Sr as bridgeStopSignalKey, T as recordScopeOwnerMaterialization, Tt as codeModeArguments, U as abandonScopeRetainedOwnerInvocation, Un as upstreamUnavailableSignal, Ur as worktreeCliProfileMaterialization, V as recordScopeOwnerPause, Vn as summarizeDriverAttempts, Vr as unsupportedProfileDimensions, W as consumeScopeRetainedOwnerResult, Wn as SeatChain, X as reconcileScopeRetainedOwnerEnvironment, Xn as gateOnDeliverable, Y as scopeRetainedOwnerTurnEnded, Yn as CheckUnavailableError, Yr as inheritRuntimeOwnedExecutorAttestation, Yt as readHarnessTranscript, Z as scopeRetainedOwnerRestorePoint, _i as retainedExecutorSeamKey, _r as RunCancellationReason, a as runTree, ai as runtimeOwnedPendingExecutorMaterialization, bi as unavailablePauseMs, bn as createInbox, c as driverExecutorFactory, cr as bridgeAdmissionRefusal, dt as bindReusableExecutorExecutionId, ei as recordRuntimeOwnedDriveHarnessProviderEvidence, en as WORKER_TRACE_PROPAGATION, er as admitContinuationPolicy, et as bindScopeRetainedOwnerProvider, ft as captureReusableExecutorConfig, gi as registerRetainedExecutorPreparation, hi as RetainedExecutionPendingError, i as runFinalizer, ii as runtimeOwnedExecutorProviderEvidence, j as runtimeGraphMetadataKey, ji as meterUsageEvent, jr as defineProfileMaterializationContract, jt as routerBrain, k as coordinationProfileToolPrefix, ki as errMessage, kt as toolResultText, l as isDriverSpec, ln as generateSpanId, lr as bridgeModelRouteRefusal, m as parseWorkerToolTraceArtifact, mt as snapshotExecutorConfig, n as createSupervisor, ni as runtimeOwnedExecutorExecutionBinding, nr as checkVerdictOf, nt as scopeRetainedOwnerContext, o as createRootHandle, oi as runtimeOwnedScopeOwnerRuntime, pn as toOtelAttributes, pt as createExecutor, q as scopeRetainedOwnerResult, qn as seatExecutionProfile, r as bestDelivered, ri as runtimeOwnedExecutorMaterialization, rr as createContinuationKeeper, rt as scopeRetainedOwnerJournalRoot, s as driverChild, sn as createOtelExporter, ti as runtimeOwnedDriveHarnessProviderEvidence, tr as bestComposite, tt as owners, vi as cappedDoublingMs, vr as linkAbort, w as noteScopeOwnerPlannedExecution, wn as PEER_MAIL_WIRE_KEY, xi as unavailableResumeAt, xr as bridgeRuntimeAttachmentsKey, yi as jitteredMs, yn as INBOX_RECEIPT_KEY, yr as runAbortable, z as meterRuntimeOwnedProviderAttempt, zn as causedByPartialFailure } from "./supervisor-DHrUJhEZ.js";
3
3
  import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
4
4
  import { t as isRecord } from "./record-value-B6bwJxLa.js";
5
- import { At as teardownExecutor, Ct as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, G as addSpend, Z as errorMessage, _t as resourceTelemetry, dt as unmeteredSpend, ft as withTimeout, ht as addResourceSpend, jt as teardownSurfaces, pt as zeroSpend, q as chargedTokens, rt as promptCacheTokenClasses, st as sleep, tt as isAsyncIterable$1, vt as withBudgetResources } from "./sandbox-profile-compat-xSoVtdWw.js";
5
+ import { At as teardownSurfaces, G as addSpend, St as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, Z as errorMessage, _t as resourceTelemetry, dt as unmeteredSpend, ft as withTimeout, ht as addResourceSpend, kt as teardownExecutor, pt as zeroSpend, q as chargedTokens, rt as promptCacheTokenClasses, st as sleep, tt as isAsyncIterable$1, vt as withBudgetResources } from "./sandbox-profile-compat-BzVBFqrz.js";
6
6
  import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, l as profileProviderModel, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-CyCUwHed.js";
7
7
  import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
8
- import { a as readCommittedJsonLines, n as isNoEntError, r as prepareJsonlAppend } from "./jsonl-file-DBv31uPi.js";
9
- import { _ as coordinationVerbNames, b as withRunContext, i as createCoordinationToolsForManager, l as budgetOverspendText, m as normalizeAnalyzeOnSettle, n as createSteerAcknowledger, r as createCoordinationTools, t as createCancelAcknowledger, u as safeJsonText, v as createFileRunContext, w as environmentReader, y as createInMemoryRunContext } from "./driver-control-acknowledgers-T2a1Ouay.js";
10
- import { c as writeRunCancellation, i as readRunCancellation, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation } from "./run-cancellation-BoW5Sg9Y.js";
11
- import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
12
- import { c as loadGraph, i as graphRegistry } from "./graph-registry-By0tUj4S.js";
8
+ import { a as readCommittedJsonLines, n as isNoEntError, r as prepareJsonlAppend } from "./jsonl-file-C9Kde_0Z.js";
9
+ import { _ as environmentReader, c as safeJsonText, d as coordinationVerbNames, f as createFileRunContext, i as createCoordinationToolsForManager, l as normalizeAnalyzeOnSettle, m as withRunContext, n as createSteerAcknowledger, p as createInMemoryRunContext, r as createCoordinationTools, s as budgetOverspendText, t as createCancelAcknowledger } from "./driver-control-acknowledgers-C53ggdJ6.js";
10
+ import { a as watchRunCancellation, i as readRunCancellation, o as writeRunCancellation, r as readRunCancelRequest, t as applyRunCancellation } from "./run-cancellation-C9oL62sW.js";
11
+ import { n as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-XV4aJwoQ.js";
12
+ import { c as loadGraph, i as graphRegistry } from "./graph-registry-BnO64cn8.js";
13
13
  import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
14
14
  import { toolSpansToTraceAnalysisStore } from "@tangle-network/agent-eval";
15
15
  import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
@@ -1186,22 +1186,6 @@ function createProgressTracker(opts = {}) {
1186
1186
  }
1187
1187
  };
1188
1188
  }
1189
- /** Build a `ProgressSample` from a scope settlement. The objective is the verdict score and
1190
- * `delivered` is the verdict's `valid` — the SAME single delivery signal `finalizeBestDelivered`
1191
- * and `defaultSelectWinner` use, so "progress" and "winner" cannot disagree. */
1192
- function sampleFromSettled(settled, at) {
1193
- if (settled.kind === "down") return {
1194
- id: settled.handle.id,
1195
- at,
1196
- delivered: false
1197
- };
1198
- return {
1199
- id: settled.handle.id,
1200
- at,
1201
- ...settled.verdict?.score !== void 0 ? { objective: settled.verdict.score } : {},
1202
- delivered: settled.verdict?.valid === true
1203
- };
1204
- }
1205
1189
  /**
1206
1190
  * "Nothing new has happened." Fires when the run has produced no new settled work for `ms`, or no
1207
1191
  * IMPROVEMENT over the last `settles` settlements.
@@ -1281,22 +1265,6 @@ function anyOf(...rules) {
1281
1265
  return CONTINUE;
1282
1266
  };
1283
1267
  }
1284
- /** Stop only when EVERY rule stops — for a conservative gate that needs corroboration. */
1285
- function allOf(...rules) {
1286
- if (rules.length === 0) throw new ValidationError("allOf: needs at least one rule");
1287
- return (v) => {
1288
- const reasons = [];
1289
- for (const rule of rules) {
1290
- const d = rule(v);
1291
- if (!d.stop) return CONTINUE;
1292
- reasons.push(d.reason);
1293
- }
1294
- return {
1295
- stop: true,
1296
- reason: reasons.join(" AND ")
1297
- };
1298
- };
1299
- }
1300
1268
  /**
1301
1269
  * Evaluate a rule against the run's settled work — the ONE evaluator both supervisor arms call.
1302
1270
  *
@@ -3883,21 +3851,6 @@ function resolveSupervisorModelId(profile) {
3883
3851
  assertExecutableAgentProfile(profile, "supervisorAgent");
3884
3852
  return concreteProfileModel(profile);
3885
3853
  }
3886
- /**
3887
- * Reduce one canonical executable profile to the scalars the two brain arms consume.
3888
- */
3889
- function resolveSupervisorProfile(profile) {
3890
- const exact = agentProfileSchema.parse(profile);
3891
- assertExecutableAgentProfile(exact, "resolveSupervisorProfile");
3892
- const systemPrompt = resolveSupervisorSystemPrompt(exact);
3893
- const modelId = resolveSupervisorModelId(exact);
3894
- return {
3895
- name: exact.name ?? "supervisor",
3896
- harness: agentHarness(exact.harness) ?? null,
3897
- modelId,
3898
- ...systemPrompt !== void 0 ? { systemPrompt } : {}
3899
- };
3900
- }
3901
3854
  /** Listener, authenticated remote endpoint, and bounded request policy for one manager. */
3902
3855
  //#endregion
3903
3856
  //#region src/runtime/supervise/supervisor-coordination-observers.ts
@@ -8513,6 +8466,6 @@ function superviseWithContext(profile, task, opts, brain) {
8513
8466
  }, brain));
8514
8467
  }
8515
8468
  //#endregion
8516
- export { renderAnytimeTable as $, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as A, runBrainLoop as B, delegatesWorkerBriefPrompt as C, kernelPromptRegistry as D, formatPromptHandle as E, UNPROVEN_CONTINUITY as F, createProgressTracker as G, allOf as H, composeReentryTask as I, sampleFromSettled as J, noProgressFor as K, driverAgent as L, supervisorAgentWithTestBrain as M, assertCoordinationBinding as N, naiveContinuationPrompt as O, resolveSupervisorProfile as P, plateauLength as Q, DEFAULT_DEADLINE_WARNING_MS as R, createPromptRegistry as S, dumbContinuationPassPrompt as T, allWorkersStalled as U, serveCoordinationMcp as V, anyOf as W, areaUnderCurve as X, anytimeReport as Y, bestSoFar as Z, validateFlowGraph as _, superviseRootProfile as a, validateGraphTopology as b, retryPreSpawnRefusals as c, createGraphOverlay as d, ROOT_STREAM_FILE as et, GraphRouteError as f, routeFlowOf as g, journaledGateDecider as h, profileGuidanceComposer as i, supervisorAgent as j, promptHandle as k, withWorkerSpawnRetry as l, flowRootProfile as m, superviseFleetCapabilities as n, readRootStreamReceipt as nt, isPreSpawnExecutorFailure as o, createFlowRun as p, plateau as q, superviseWithTestBrain as r, createSupervisorSpanRecorder as rt, resolveWorkerSpawnRetry as s, supervise as t, readRootStream as tt, workerFromBackend as u, defaultEdgeTraversalCap as v, dumbContinuationFailPrompt as w, analyzesFindingsReportPrompt as x, graphRootProfile as y, runtimeFlowBrain as z };
8469
+ export { supervisorAgent as A, noProgressFor as B, delegatesWorkerBriefPrompt as C, kernelPromptRegistry as D, formatPromptHandle as E, runtimeFlowBrain as F, plateauLength as G, anytimeReport as H, runBrainLoop as I, readRootStreamReceipt as J, renderAnytimeTable as K, serveCoordinationMcp as L, UNPROVEN_CONTINUITY as M, composeReentryTask as N, naiveContinuationPrompt as O, driverAgent as P, allWorkersStalled as R, createPromptRegistry as S, dumbContinuationPassPrompt as T, areaUnderCurve as U, plateau as V, bestSoFar as W, createSupervisorSpanRecorder as Y, validateFlowGraph as _, superviseRootProfile as a, validateGraphTopology as b, retryPreSpawnRefusals as c, createGraphOverlay as d, GraphRouteError as f, routeFlowOf as g, journaledGateDecider as h, profileGuidanceComposer as i, supervisorAgentWithTestBrain as j, promptHandle as k, withWorkerSpawnRetry as l, flowRootProfile as m, superviseFleetCapabilities as n, isPreSpawnExecutorFailure as o, createFlowRun as p, readRootStream as q, superviseWithTestBrain as r, resolveWorkerSpawnRetry as s, supervise as t, workerFromBackend as u, defaultEdgeTraversalCap as v, dumbContinuationFailPrompt as w, analyzesFindingsReportPrompt as x, graphRootProfile as y, anyOf as z };
8517
8470
 
8518
- //# sourceMappingURL=supervise-WuPAwfPh.js.map
8471
+ //# sourceMappingURL=supervise-qAwXmPtD.js.map