@graphrefly/graphrefly 0.39.0 → 0.41.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 (218) hide show
  1. package/dist/{cascading-g2_rhhaM.d.ts → cascading-BNfxffgc.d.ts} +1 -1
  2. package/dist/{cascading-BzuxW0_w.d.cts → cascading-Cxs1eztH.d.cts} +1 -1
  3. package/dist/chunk-2W553JJC.js +1 -0
  4. package/dist/{chunk-5LK7XMEV.js → chunk-33N4TU3X.js} +1 -1
  5. package/dist/chunk-4MKL6Q3K.js +1 -0
  6. package/dist/chunk-5B3JDG5F.js +1 -0
  7. package/dist/chunk-5QSXEMXG.js +1 -0
  8. package/dist/{chunk-R75BMDLA.js → chunk-5TEFC2ZX.js} +1 -1
  9. package/dist/chunk-5TOPVRN6.js +1 -0
  10. package/dist/{chunk-INHC33EH.js → chunk-5VEZLQFN.js} +1 -1
  11. package/dist/{chunk-NQI2C36M.js → chunk-7PQLZMOG.js} +1 -1
  12. package/dist/{chunk-7NZMZJMW.js → chunk-AI7QC7J6.js} +1 -1
  13. package/dist/{chunk-L7WY6TZS.js → chunk-AK5RHMC5.js} +1 -1
  14. package/dist/{chunk-ZOX3LBRV.js → chunk-CGNOWGV6.js} +1 -1
  15. package/dist/{chunk-INH6FS2G.js → chunk-CYOSWFT2.js} +1 -1
  16. package/dist/{chunk-GX5LSSRE.js → chunk-EC2WNSZ7.js} +1 -1
  17. package/dist/{chunk-HAWKGIXM.js → chunk-ELAASRBT.js} +1 -1
  18. package/dist/{chunk-7QFRK3N3.js → chunk-F7VUYPP6.js} +1 -1
  19. package/dist/{chunk-LQNOXGET.js → chunk-G3M3IMEV.js} +1 -1
  20. package/dist/{chunk-HX3EGQ5Z.js → chunk-GI4Q7PNY.js} +1 -1
  21. package/dist/{chunk-XQ55HO5N.js → chunk-H5SCWHWP.js} +1 -1
  22. package/dist/{chunk-CGDMTXSY.js → chunk-KNVCCBIU.js} +1 -1
  23. package/dist/{chunk-IA7DUNGB.js → chunk-L77I47VU.js} +1 -1
  24. package/dist/{chunk-JNMC2WJ6.js → chunk-M3FQSXEW.js} +1 -1
  25. package/dist/{chunk-D47YVDR5.js → chunk-OLIKJUKI.js} +1 -1
  26. package/dist/{chunk-SC7BQDNP.js → chunk-OV5AA6HJ.js} +1 -1
  27. package/dist/{chunk-7JRF5YEK.js → chunk-POXANAJ6.js} +1 -1
  28. package/dist/chunk-RSMEXK53.js +43 -0
  29. package/dist/{chunk-KD4NHLMU.js → chunk-SC27WTSG.js} +1 -1
  30. package/dist/chunk-TSOYJ743.js +1 -0
  31. package/dist/{chunk-AU7YTQX7.js → chunk-TT4C7DXW.js} +1 -1
  32. package/dist/{chunk-TFPZLQ5H.js → chunk-UISPDFJ3.js} +1 -1
  33. package/dist/{chunk-N7UIBZCW.js → chunk-URJ2VFNC.js} +1 -1
  34. package/dist/{chunk-GEAO3TL3.js → chunk-VV62MIG4.js} +1 -1
  35. package/dist/{chunk-VJJLIEAL.js → chunk-VXPLLA4P.js} +1 -1
  36. package/dist/{chunk-WHIZM6JV.js → chunk-WZYB3JQS.js} +1 -1
  37. package/dist/{chunk-S2U57TFC.js → chunk-X7QKTXXC.js} +1 -1
  38. package/dist/{chunk-7SD73DS6.js → chunk-YQRN4CIV.js} +1 -1
  39. package/dist/chunk-Z6X7B6A4.js +61 -0
  40. package/dist/{chunk-RF3QZP6D.js → chunk-ZAJ7J7TO.js} +1 -1
  41. package/dist/compat/index.d.cts +6 -6
  42. package/dist/compat/index.d.ts +6 -6
  43. package/dist/compat/index.js +1 -1
  44. package/dist/compat/nestjs/index.d.cts +4 -4
  45. package/dist/compat/nestjs/index.d.ts +4 -4
  46. package/dist/compat/nestjs/index.js +1 -1
  47. package/dist/compat/zustand/index.d.cts +2 -2
  48. package/dist/compat/zustand/index.d.ts +2 -2
  49. package/dist/compat/zustand/index.js +1 -1
  50. package/dist/{composite-DGatA-JK.d.ts → decay-BnrlbxSv.d.ts} +38 -2
  51. package/dist/{composite-CKd0e2vz.d.cts → decay-C25AyNAj.d.cts} +38 -2
  52. package/dist/extra/index.cjs +15 -15
  53. package/dist/extra/index.d.cts +6 -6
  54. package/dist/extra/index.d.ts +6 -6
  55. package/dist/extra/index.js +1 -1
  56. package/dist/extra/node.js +1 -1
  57. package/dist/extra/operators.js +1 -1
  58. package/dist/extra/reactive.d.cts +1 -1
  59. package/dist/extra/reactive.d.ts +1 -1
  60. package/dist/extra/reactive.js +1 -1
  61. package/dist/extra/render/index.d.cts +1 -1
  62. package/dist/extra/render/index.d.ts +1 -1
  63. package/dist/extra/sources.cjs +1 -1
  64. package/dist/extra/sources.js +1 -1
  65. package/dist/graph/index.d.cts +3 -3
  66. package/dist/graph/index.d.ts +3 -3
  67. package/dist/graph/index.js +1 -1
  68. package/dist/{graph-30XSgtVX.d.ts → graph-BkIkog4h.d.ts} +1 -1
  69. package/dist/{graph-BUwMAxJI.d.cts → graph-E6likq7w.d.cts} +1 -1
  70. package/dist/{index-BXd6OMEy.d.ts → index-3k4Gg6-n.d.ts} +2 -2
  71. package/dist/{index-DszPlZzK.d.ts → index-40ZT4MHj.d.ts} +1 -1
  72. package/dist/index-8s-Qm-gz.d.ts +218 -0
  73. package/dist/{index-K-vl_c6A.d.cts → index-A3U3CSve.d.cts} +1 -1
  74. package/dist/{index-jKLph6cu.d.ts → index-B6iTqKtJ.d.ts} +1 -1
  75. package/dist/{index-WyFKER-c.d.ts → index-B72TQQHd.d.cts} +3 -3
  76. package/dist/{index-CmqiJZKM.d.ts → index-BAQrjuZF.d.ts} +64 -6
  77. package/dist/{index-CusEP3Sv.d.ts → index-BQ1fR4li.d.ts} +1 -1
  78. package/dist/{index-jr6PuSBt.d.ts → index-BaA-xpSw.d.ts} +2 -2
  79. package/dist/{index-FVoPvhAu.d.cts → index-Bd91Nmf4.d.cts} +2 -2
  80. package/dist/{index-PqbnoScQ.d.ts → index-BgjS2b8N.d.ts} +2 -2
  81. package/dist/{index-DCbE8fFM.d.cts → index-BiHUBEKq.d.cts} +2 -2
  82. package/dist/{index-DlgHqQxW.d.cts → index-BilOa6AE.d.cts} +6 -32
  83. package/dist/{index-DoYc8BWK.d.cts → index-BmSQLAZo.d.cts} +2 -2
  84. package/dist/{index-DlrWu9Hs.d.cts → index-C-dkXOpB.d.cts} +1 -1
  85. package/dist/{index-C7VV_qOs.d.ts → index-C5cQ7Gfx.d.ts} +2 -2
  86. package/dist/{index-CPhBvRJU.d.ts → index-C6ZUaos7.d.ts} +1 -1
  87. package/dist/{index-PlJ3MraE.d.ts → index-CAP3UGsq.d.ts} +1 -1
  88. package/dist/{index-B41Asm7D.d.ts → index-CD2dBMet.d.ts} +2 -2
  89. package/dist/{index-C19qqa38.d.ts → index-CG33HeBW.d.ts} +19 -4
  90. package/dist/index-CGhMJNHb.d.cts +128 -0
  91. package/dist/{index-BAlaVimV.d.ts → index-CQtWm7jS.d.ts} +2 -2
  92. package/dist/{index-8R1vzNOx.d.cts → index-CRm0YIzC.d.cts} +2 -2
  93. package/dist/index-CUIkE1l9.d.cts +230 -0
  94. package/dist/{index-KlZ_ZUip.d.cts → index-Cczxgd2D.d.ts} +3 -3
  95. package/dist/{index-DIHcMLr6.d.cts → index-CgnCFhr2.d.cts} +1 -1
  96. package/dist/{index-BC9VybQs.d.ts → index-Ck35nA-T.d.ts} +2 -2
  97. package/dist/{index-BndG0cpK.d.cts → index-Cnr1WrlX.d.cts} +1 -1
  98. package/dist/{index-H_I66pav.d.cts → index-CtFNGe-m.d.cts} +2 -2
  99. package/dist/index-CuPUehFa.d.cts +218 -0
  100. package/dist/index-D1Gc7wV5.d.ts +230 -0
  101. package/dist/{index-CWHtYmSh.d.cts → index-D4uimgee.d.cts} +1 -1
  102. package/dist/{index-xZYcDqFH.d.cts → index-DGD4_fj6.d.cts} +19 -4
  103. package/dist/{index-CwP_KAMS.d.cts → index-DGTo1yka.d.cts} +64 -6
  104. package/dist/{index-BUPVld1w.d.ts → index-DH4fm2Ck.d.ts} +2 -2
  105. package/dist/{index-DyM4tFAe.d.cts → index-DQQCOIt8.d.cts} +2 -2
  106. package/dist/{index-BJ26eEjs.d.cts → index-DVAlsmEU.d.cts} +2 -2
  107. package/dist/{index-DINuaZlJ.d.cts → index-DVDapw2k.d.cts} +1 -1
  108. package/dist/{index-iTX5IqSP.d.ts → index-DfOK_oL5.d.ts} +208 -203
  109. package/dist/{index-DTtBpuQy.d.cts → index-DgJc8Zgc.d.cts} +5 -3
  110. package/dist/{index-BKMdnYnk.d.ts → index-DhLyOHYZ.d.ts} +1 -1
  111. package/dist/{index-89FczVZ_.d.ts → index-DhnsQfa3.d.ts} +77 -51
  112. package/dist/{index-L8XI8Zql.d.cts → index-DktLSZOc.d.cts} +2 -2
  113. package/dist/{index-pVDQcbar.d.cts → index-DpiGqtrs.d.cts} +77 -51
  114. package/dist/{index-mNwgxC21.d.cts → index-DuRsN9ae.d.cts} +208 -203
  115. package/dist/{index-B9fmw5n2.d.ts → index-I1cCY3ZI.d.ts} +5 -3
  116. package/dist/index-N2MAxt7_.d.ts +128 -0
  117. package/dist/{index-Br3WnqEn.d.ts → index-WSlcjhQF.d.ts} +6 -32
  118. package/dist/{index-DQUVq1_d.d.ts → index-bXXLSvor.d.ts} +2 -2
  119. package/dist/{index-BhUaMYm_.d.ts → index-da2V5vPy.d.ts} +1 -1
  120. package/dist/{index-PsVHpPwP.d.cts → index-t6L2qpHh.d.cts} +2 -2
  121. package/dist/{index-IwFqHxCs.d.cts → index-tV3AA9hI.d.cts} +1 -1
  122. package/dist/index.cjs +48 -48
  123. package/dist/index.d.cts +33 -33
  124. package/dist/index.d.ts +33 -33
  125. package/dist/index.js +1 -1
  126. package/dist/patterns/ai/browser.cjs +5 -5
  127. package/dist/patterns/ai/browser.d.cts +2 -2
  128. package/dist/patterns/ai/browser.d.ts +2 -2
  129. package/dist/patterns/ai/browser.js +1 -1
  130. package/dist/patterns/ai/index.cjs +14 -14
  131. package/dist/patterns/ai/index.d.cts +11 -11
  132. package/dist/patterns/ai/index.d.ts +11 -11
  133. package/dist/patterns/ai/index.js +1 -1
  134. package/dist/patterns/ai/node.js +1 -1
  135. package/dist/patterns/audit/index.d.cts +3 -3
  136. package/dist/patterns/audit/index.d.ts +3 -3
  137. package/dist/patterns/audit/index.js +1 -1
  138. package/dist/patterns/cqrs/index.d.cts +3 -3
  139. package/dist/patterns/cqrs/index.d.ts +3 -3
  140. package/dist/patterns/cqrs/index.js +1 -1
  141. package/dist/patterns/demo-shell/index.d.cts +3 -3
  142. package/dist/patterns/demo-shell/index.d.ts +3 -3
  143. package/dist/patterns/demo-shell/index.js +1 -1
  144. package/dist/patterns/domain-templates/index.d.cts +2 -2
  145. package/dist/patterns/domain-templates/index.d.ts +2 -2
  146. package/dist/patterns/domain-templates/index.js +1 -1
  147. package/dist/patterns/graphspec/index.d.cts +2 -2
  148. package/dist/patterns/graphspec/index.d.ts +2 -2
  149. package/dist/patterns/graphspec/index.js +1 -1
  150. package/dist/patterns/guarded-execution/index.cjs +3 -3
  151. package/dist/patterns/guarded-execution/index.d.cts +4 -4
  152. package/dist/patterns/guarded-execution/index.d.ts +4 -4
  153. package/dist/patterns/guarded-execution/index.js +1 -1
  154. package/dist/patterns/harness/index.cjs +8 -8
  155. package/dist/patterns/harness/index.d.cts +7 -7
  156. package/dist/patterns/harness/index.d.ts +7 -7
  157. package/dist/patterns/harness/index.js +1 -1
  158. package/dist/patterns/job-queue/index.cjs +3 -3
  159. package/dist/patterns/job-queue/index.d.cts +3 -3
  160. package/dist/patterns/job-queue/index.d.ts +3 -3
  161. package/dist/patterns/job-queue/index.js +1 -1
  162. package/dist/patterns/lens/index.cjs +3 -3
  163. package/dist/patterns/lens/index.d.cts +3 -4
  164. package/dist/patterns/lens/index.d.ts +3 -4
  165. package/dist/patterns/lens/index.js +1 -1
  166. package/dist/patterns/memory/index.cjs +1 -1
  167. package/dist/patterns/memory/index.d.cts +3 -3
  168. package/dist/patterns/memory/index.d.ts +3 -3
  169. package/dist/patterns/memory/index.js +1 -1
  170. package/dist/patterns/messaging/index.d.cts +2 -2
  171. package/dist/patterns/messaging/index.d.ts +2 -2
  172. package/dist/patterns/messaging/index.js +1 -1
  173. package/dist/patterns/orchestration/index.d.cts +3 -3
  174. package/dist/patterns/orchestration/index.d.ts +3 -3
  175. package/dist/patterns/orchestration/index.js +1 -1
  176. package/dist/patterns/process/index.d.cts +4 -4
  177. package/dist/patterns/process/index.d.ts +4 -4
  178. package/dist/patterns/process/index.js +1 -1
  179. package/dist/patterns/reactive-layout/index.d.cts +3 -3
  180. package/dist/patterns/reactive-layout/index.d.ts +3 -3
  181. package/dist/patterns/reactive-layout/index.js +1 -1
  182. package/dist/patterns/reduction/index.d.cts +2 -2
  183. package/dist/patterns/reduction/index.d.ts +2 -2
  184. package/dist/patterns/reduction/index.js +1 -1
  185. package/dist/patterns/refine-loop/index.d.cts +3 -3
  186. package/dist/patterns/refine-loop/index.d.ts +3 -3
  187. package/dist/patterns/refine-loop/index.js +1 -1
  188. package/dist/patterns/resilient-pipeline/index.cjs +3 -1
  189. package/dist/patterns/resilient-pipeline/index.d.cts +7 -3
  190. package/dist/patterns/resilient-pipeline/index.d.ts +7 -3
  191. package/dist/patterns/resilient-pipeline/index.js +1 -1
  192. package/dist/patterns/surface/index.d.cts +3 -3
  193. package/dist/patterns/surface/index.d.ts +3 -3
  194. package/dist/patterns/surface/index.js +1 -1
  195. package/dist/{pipeline-graph-D8vKcO_p.d.ts → pipeline-graph-CB4La-UW.d.ts} +2 -2
  196. package/dist/{pipeline-graph-BQPr2Lqs.d.cts → pipeline-graph-MWrQZXCq.d.cts} +2 -2
  197. package/dist/{reactive-layout-8CSc0tiA.d.cts → reactive-layout-BtZfUKuL.d.cts} +1 -1
  198. package/dist/{reactive-layout-DkTXxtSy.d.ts → reactive-layout-KJj4E2dT.d.ts} +1 -1
  199. package/dist/{reactive-map-B2qfD3hb.d.cts → reactive-map-6P_k3AQM.d.cts} +1 -1
  200. package/dist/{reactive-map-jFIsE6Kt.d.ts → reactive-map-CjXByDV-.d.ts} +1 -1
  201. package/dist/{resilience-HTF2LBRS.js → resilience-JISHQD2F.js} +1 -1
  202. package/dist/{topology-tree-B5Ngw3j0.d.cts → topology-tree-3LBKFsUo.d.cts} +1 -1
  203. package/dist/{topology-tree-BtvbgMXJ.d.ts → topology-tree-mF7Emqzm.d.ts} +1 -1
  204. package/package.json +1 -1
  205. package/dist/chunk-5XRI6RM3.js +0 -1
  206. package/dist/chunk-73PBQNST.js +0 -1
  207. package/dist/chunk-A6ZSKGUG.js +0 -1
  208. package/dist/chunk-EWF7KCDJ.js +0 -61
  209. package/dist/chunk-IUB4NYI2.js +0 -1
  210. package/dist/chunk-MC4UYY2X.js +0 -1
  211. package/dist/chunk-XEUANKBO.js +0 -43
  212. package/dist/chunk-ZJ7SM3G2.js +0 -1
  213. package/dist/index-BEHmxORq.d.ts +0 -135
  214. package/dist/index-BM9szD8n.d.cts +0 -113
  215. package/dist/index-BskfDoZ_.d.ts +0 -113
  216. package/dist/index-CIRG8Hxp.d.cts +0 -135
  217. package/dist/index-Cey6VTnX.d.ts +0 -166
  218. package/dist/index-CpLpJb6A.d.cts +0 -166
@@ -0,0 +1,218 @@
1
+ import { N as Node, A as Actor, P as PolicyRuleData } from './node-BYInONRr.js';
2
+ import { G as Graph, b as GraphDescribeOutput, a as GraphOptions, d as GraphDescribeOptions, D as DescribeFilter } from './graph-BkIkog4h.js';
3
+ import { P as PolicyGateGraph, a as PolicyViolation } from './index-Ck35nA-T.js';
4
+ import { T as TopicGraph } from './index-40ZT4MHj.js';
5
+
6
+ /**
7
+ * Composable safety layer (roadmap §9.0b — Tier 5.1 Wave-B rebuild).
8
+ *
9
+ * {@link guardedExecution} wraps any {@link Graph} with:
10
+ *
11
+ * - {@link policyGate} — reactive ABAC (Tier 2.3 rename of `policyEnforcer`),
12
+ * policies stored as a `Node` so LLMs / humans can update them at runtime.
13
+ * Full transitive dynamic coverage via `watchTopologyTree`.
14
+ * - Reactive {@link GuardedExecutionGraph.scopedDescribeNode} — a thin
15
+ * delegate over `target.describe({ reactive: true, actor })` that re-derives
16
+ * on every settle (topology change, error transition, actor swap).
17
+ * - The enforcer's `violations` topic is republished as `violations` on
18
+ * the wrapper, composable with {@link graphLens}'s `health`.
19
+ * - The wrapper-level `lints` topic surfaces non-policy diagnostic warnings
20
+ * (`empty-policies` / `audit-no-effect` / `no-actor`) so misconfigurations
21
+ * are caught reactively rather than via thrown errors at scattered call sites.
22
+ * - The `scope` derived publishes the current configuration tuple
23
+ * (`{actor, mode, policiesCount}`) for dashboards.
24
+ *
25
+ * V1 scope: policies + actor + reactive scoped describe + lints + scope.
26
+ * Budget-as-option is NOT in V1 — it requires a cost-tracking design that
27
+ * hasn't landed yet. Callers who need a budget limit today append a
28
+ * budget-aware {@link PolicyRuleData} to the policies list (check current
29
+ * cost and `deny` when exhausted).
30
+ *
31
+ * @module
32
+ */
33
+
34
+ /** Diagnostic warning published on {@link GuardedExecutionGraph.lints}. */
35
+ interface GuardedExecutionLint {
36
+ /**
37
+ * - `"empty-policies"` — `policies` Node emitted an empty array in
38
+ * `mode: "enforce"`. Static empty arrays throw at construction; this
39
+ * covers the reactive case.
40
+ * - `"audit-no-effect"` — `mode: "audit"` plus the target has no per-node
41
+ * guards, so `scopedDescribeNode` filters by per-node guards only and
42
+ * policies will never gate visibility (they still populate `violations`
43
+ * on writes).
44
+ * - `"no-actor"` — neither a wrapper-configured nor per-call actor was
45
+ * supplied. `scopedDescribeNode` falls back to "describe everything"
46
+ * for the corresponding subscription.
47
+ */
48
+ kind: "empty-policies" | "audit-no-effect" | "no-actor";
49
+ message: string;
50
+ timestamp_ns: number;
51
+ }
52
+ /** Configuration tuple published on {@link GuardedExecutionGraph.scope}. */
53
+ interface GuardedScope {
54
+ /** The wrapper-configured default actor, or `null` when none configured. */
55
+ actor: Actor | null;
56
+ mode: "audit" | "enforce";
57
+ /** Current policy count (reactive — re-emits on `policies` Node updates). */
58
+ policiesCount: number;
59
+ }
60
+ /** Options for {@link guardedExecution}. */
61
+ interface GuardedExecutionOptions {
62
+ /**
63
+ * Policies enforced against every guarded write. Static list or a live
64
+ * `Node<readonly PolicyRuleData[]>` (LLM-updatable).
65
+ *
66
+ * **Empty-policies handling:**
67
+ * - Static empty array + `mode: "enforce"` throws `RangeError` at
68
+ * construction (deny-by-default is almost certainly a misconfiguration).
69
+ * - Node-supplied empty array + `mode: "enforce"` emits a one-time
70
+ * `"empty-policies"` lint on first such emission (the wrapper can't
71
+ * throw mid-run — surface the warning reactively).
72
+ * - `mode: "audit"` tolerates empty policies (no guards stacked; policies
73
+ * only feed the `violations` channel on writes).
74
+ */
75
+ policies: readonly PolicyRuleData[] | Node<readonly PolicyRuleData[]>;
76
+ /**
77
+ * Default actor used when the caller invokes
78
+ * {@link GuardedExecutionGraph.scopedDescribeNode} without an override.
79
+ * Accepts a static {@link Actor} or a `Node<Actor>` — when a Node is
80
+ * supplied, the reactive describe re-derives on every actor emission so
81
+ * harnesses binding a per-turn actor get a single live describe Node
82
+ * instead of re-creating one per turn.
83
+ *
84
+ * Omit to scope per-call only. A `"no-actor"` lint fires once per instance
85
+ * if neither a configured nor per-call actor is ever supplied (the
86
+ * resulting describe is unscoped — full visibility).
87
+ */
88
+ actor?: Actor | Node<Actor>;
89
+ /**
90
+ * `"enforce"` (default) — push guards onto target nodes so disallowed
91
+ * writes throw {@link GuardDenied}.
92
+ * `"audit"` — record would-be denials to the `violations` topic without
93
+ * blocking writes.
94
+ */
95
+ mode?: "audit" | "enforce";
96
+ /** Ring-buffer cap for the `violations` topic. Default 1000 (inherited from policyGate). */
97
+ violationsLimit?: number;
98
+ /** Ring-buffer cap for the `lints` topic. Default 64 — each lint kind fires at most once per instance. */
99
+ lintsLimit?: number;
100
+ /** Wrapper graph name. Default `${target.name}_guarded`. */
101
+ name?: string;
102
+ /** Wrapper graph options. */
103
+ graph?: GraphOptions;
104
+ }
105
+ /**
106
+ * Wrapper over a target {@link Graph} providing reactive ABAC + reactive
107
+ * scoped describe + diagnostic lints. Mounts a {@link PolicyGateGraph} under
108
+ * `enforcer`, a {@link TopicGraph} of {@link GuardedExecutionLint} under
109
+ * `lints`, and a `scope` derived publishing `{actor, mode, policiesCount}`.
110
+ *
111
+ * @category patterns
112
+ */
113
+ declare class GuardedExecutionGraph extends Graph {
114
+ readonly enforcer: PolicyGateGraph;
115
+ readonly violations: TopicGraph<PolicyViolation>;
116
+ readonly lints: TopicGraph<GuardedExecutionLint>;
117
+ readonly scope: Node<GuardedScope>;
118
+ /**
119
+ * Canonical reactive describe scoped to the wrapper's configured `actor`.
120
+ * Subscribes ONCE at construction; lifecycle owned by the wrapper (disposed
121
+ * on `wrapper.destroy()`). Use this property for the common case
122
+ * (long-lived consumer wanting "describe scoped to my actor"); use
123
+ * {@link scopedDescribeNode} only when a per-call actor override or
124
+ * different `detail`/`fields` is required.
125
+ *
126
+ * Re-derives on every settle of the target graph: structural changes,
127
+ * status transitions (errors flip nodes into `"errored"`), and actor
128
+ * emissions (when a `Node<Actor>` is bound, including the SENTINEL bridge
129
+ * applied internally — see qa G1B).
130
+ */
131
+ readonly scopedDescribe: Node<GraphDescribeOutput>;
132
+ private readonly _target;
133
+ private readonly _actorNode;
134
+ private readonly _mode;
135
+ private readonly _firedLintKinds;
136
+ constructor(target: Graph, opts: GuardedExecutionOptions);
137
+ private _fireLint;
138
+ /**
139
+ * **Per-call escape hatch.** Prefer {@link scopedDescribe} (the mounted
140
+ * property) for the common case of "describe scoped to my actor." Use
141
+ * this method ONLY when you need a per-call actor override or different
142
+ * `detail`/`fields`/`filter`.
143
+ *
144
+ * Returns a live `Node<GraphDescribeOutput>` scoped to the supplied (or
145
+ * configured) actor, plus an explicit `dispose` for caller-controlled
146
+ * lifecycle. Re-derives on every settle of the target graph: structural
147
+ * changes, status transitions, and actor emissions (when a `Node<Actor>`
148
+ * is bound).
149
+ *
150
+ * **Lifecycle (qa G1A — EC1 fix).** Each call instantiates a fresh
151
+ * `target.describe({reactive: true})` handle (with its own version state,
152
+ * observe handle, transitive topology subscriptions, derived + keepalive).
153
+ * The caller MUST invoke the returned `dispose()` when finished to release
154
+ * these resources. Disposers ARE also tracked on the wrapper graph so
155
+ * `wrapper.destroy()` cleans up any handles the caller forgot — but a
156
+ * long-lived wrapper with heavy per-call usage will leak until destroy
157
+ * unless `dispose()` is called explicitly.
158
+ *
159
+ * @param actorOverride - Optional per-call override. Static {@link Actor}
160
+ * or `Node<Actor>`. Omit to use the wrapper-configured default.
161
+ * @param opts - Standard {@link GraphDescribeOptions} fields (`detail`,
162
+ * `fields`, `filter`). `actor` / `reactive` / `reactiveName` are
163
+ * controlled by the wrapper.
164
+ * @returns `{node, dispose}` — `node` is the live describe Node; `dispose`
165
+ * tears down the underlying reactive describe subscription idempotently.
166
+ */
167
+ scopedDescribeNode(actorOverride?: Actor | Node<Actor>, opts?: Omit<GraphDescribeOptions, "actor" | "reactive" | "reactiveName">): {
168
+ node: Node<GraphDescribeOutput>;
169
+ dispose: () => void;
170
+ };
171
+ /** The wrapped graph (escape hatch for tooling). */
172
+ get target(): Graph;
173
+ }
174
+ /**
175
+ * Wrap a {@link Graph} with {@link policyGate} plus a reactive scoped describe
176
+ * lens. Returns a {@link GuardedExecutionGraph} that can be mounted, diffed,
177
+ * or composed with {@link graphLens}.
178
+ *
179
+ * @param target - The graph to guard.
180
+ * @param opts - See {@link GuardedExecutionOptions}.
181
+ *
182
+ * @example
183
+ * ```ts
184
+ * const guarded = guardedExecution(app, {
185
+ * actor: state<Actor>({ type: "human", id: "alice" }), // reactive — re-derive on swap
186
+ * policies: [
187
+ * { effect: "allow", action: "read", actorType: "human" },
188
+ * { effect: "deny", action: "write", pathPattern: "system::*" },
189
+ * ],
190
+ * mode: "enforce",
191
+ * });
192
+ *
193
+ * // Canonical: subscribe to the mounted reactive describe (no per-call leak).
194
+ * guarded.scopedDescribe.subscribe((msgs) => { /* live describe per actor / topology change *\/ });
195
+ * // Per-call escape hatch (different actor / detail) — caller manages dispose.
196
+ * const detailed = guarded.scopedDescribeNode(undefined, { detail: "standard" });
197
+ * try { detailed.node.subscribe(/* … *\/); } finally { detailed.dispose(); }
198
+ * guarded.violations.events.subscribe(msgs => console.log("violations:", msgs));
199
+ * guarded.lints.events.subscribe(msgs => console.warn("lints:", msgs));
200
+ * guarded.scope.subscribe(msgs => console.log("scope:", msgs));
201
+ * ```
202
+ *
203
+ * @category patterns
204
+ */
205
+ declare function guardedExecution(target: Graph, opts: GuardedExecutionOptions): GuardedExecutionGraph;
206
+
207
+ declare const index_DescribeFilter: typeof DescribeFilter;
208
+ type index_GuardedExecutionGraph = GuardedExecutionGraph;
209
+ declare const index_GuardedExecutionGraph: typeof GuardedExecutionGraph;
210
+ type index_GuardedExecutionLint = GuardedExecutionLint;
211
+ type index_GuardedExecutionOptions = GuardedExecutionOptions;
212
+ type index_GuardedScope = GuardedScope;
213
+ declare const index_guardedExecution: typeof guardedExecution;
214
+ declare namespace index {
215
+ export { index_DescribeFilter as DescribeFilter, index_GuardedExecutionGraph as GuardedExecutionGraph, type index_GuardedExecutionLint as GuardedExecutionLint, type index_GuardedExecutionOptions as GuardedExecutionOptions, type index_GuardedScope as GuardedScope, index_guardedExecution as guardedExecution };
216
+ }
217
+
218
+ export { GuardedExecutionGraph as G, type GuardedExecutionLint as a, type GuardedExecutionOptions as b, type GuardedScope as c, guardedExecution as g, index as i };
@@ -1,5 +1,5 @@
1
1
  import { N as Node, a as NodeOptions } from './node-BYInONRr.cjs';
2
- import { a as GraphOptions, G as Graph } from './graph-BUwMAxJI.cjs';
2
+ import { a as GraphOptions, G as Graph } from './graph-E6likq7w.cjs';
3
3
 
4
4
  /**
5
5
  * Reduction primitives (roadmap §8.1).
@@ -1,5 +1,5 @@
1
1
  import { N as Node } from './node-BYInONRr.js';
2
- import { a as GraphOptions, G as Graph } from './graph-30XSgtVX.js';
2
+ import { a as GraphOptions, G as Graph } from './graph-BkIkog4h.js';
3
3
 
4
4
  /**
5
5
  * Domain templates (roadmap §8.2).
@@ -1,6 +1,6 @@
1
- import { j as CompileSpecOptions, G as GraphSpec, c as GraphSpecCatalog, C as CatalogFnEntry, a as CatalogSourceEntry, b as ConfigFieldSchema, F as FnFactory, d as GraphSpecFeedbackEdge, e as GraphSpecNode, f as GraphSpecTemplate, g as GraphSpecTemplateRef, h as GraphSpecValidation, S as SourceFactory } from './index-BKMdnYnk.js';
2
- import { G as Graph, p as GraphNodeFactory, n as GraphDiffResult } from './graph-30XSgtVX.js';
3
- import { KvStorageTier } from './extra/storage-tiers.js';
1
+ import { j as CompileSpecOptions, G as GraphSpec, c as GraphSpecCatalog, C as CatalogFnEntry, a as CatalogSourceEntry, b as ConfigFieldSchema, F as FnFactory, d as GraphSpecFeedbackEdge, e as GraphSpecNode, f as GraphSpecTemplate, g as GraphSpecTemplateRef, h as GraphSpecValidation, S as SourceFactory } from './index-C-dkXOpB.cjs';
2
+ import { G as Graph, p as GraphNodeFactory, n as GraphDiffResult } from './graph-E6likq7w.cjs';
3
+ import { KvStorageTier } from './extra/storage-tiers.cjs';
4
4
 
5
5
  /**
6
6
  * Surface: create a graph from a {@link GraphSpec} (§9.3-core).
@@ -169,6 +169,13 @@ type RetryOptions = {
169
169
  count?: number;
170
170
  /** Delay between attempts; strategies use **nanoseconds**. */
171
171
  backoff?: BackoffStrategy | BackoffPreset;
172
+ /**
173
+ * Caller-supplied metadata merged into the produced node's `meta` (Tier 5.2
174
+ * D8 widening). Use {@link domainMeta} to tag the layer for `describe()`
175
+ * grouping. The primitive's `factoryTag("retry", …)` always wins against
176
+ * caller keys.
177
+ */
178
+ meta?: Record<string, unknown>;
172
179
  };
173
180
  /** Factory-mode-only options. `initial` seeds the outer node's cache before the first attempt. */
174
181
  type RetryFactoryOptions<T> = RetryOptions & {
@@ -323,6 +330,7 @@ type WithBreakerBundle<T> = {
323
330
  */
324
331
  declare function withBreaker<T>(breaker: CircuitBreaker, options?: {
325
332
  onOpen?: "skip" | "error";
333
+ meta?: Record<string, unknown>;
326
334
  }): (source: Node<T>) => WithBreakerBundle<T>;
327
335
  interface TokenBucket {
328
336
  /**
@@ -409,6 +417,15 @@ type RateLimiterOptions = {
409
417
  maxBuffer: number;
410
418
  /** Overflow policy when `maxBuffer` is exceeded. Default: `"drop-newest"`. */
411
419
  onOverflow?: RateLimiterOverflowPolicy;
420
+ /**
421
+ * Caller-supplied metadata merged into the produced node's `meta` (Tier 5.2
422
+ * D8 widening). Use {@link domainMeta} to tag the layer for `describe()` /
423
+ * mermaid grouping (e.g. `domainMeta("resilient", "rate-limit")`). The
424
+ * primitive's own `factoryTag("rateLimiter", opts)` and the `droppedCount`
425
+ * / `rateLimitState` companion seeds always win against caller-supplied
426
+ * keys so the audit trail can't be silently overwritten.
427
+ */
428
+ meta?: Record<string, unknown>;
412
429
  };
413
430
  /**
414
431
  * Thrown by {@link rateLimiter} when `onOverflow: "error"` and the pending buffer is full.
@@ -419,24 +436,60 @@ declare class RateLimiterOverflowError extends Error {
419
436
  name: string;
420
437
  constructor(maxBuffer: number);
421
438
  }
439
+ /**
440
+ * Combined runtime state surfaced by {@link rateLimiter} alongside `droppedCount`.
441
+ * Tier 5.2 D7 widening — exposes pending-buffer occupancy and a `paused`
442
+ * flag so consumers can render backpressure (UI), feed `lens.health`, or
443
+ * gate downstream effects.
444
+ */
445
+ type RateLimiterState = {
446
+ /** Cumulative `DATA` items dropped due to overflow since this subscription cycle started. */
447
+ droppedCount: number;
448
+ /** Items currently buffered awaiting a token refill. `0` when the limiter is passing through. */
449
+ pendingCount: number;
450
+ /** `true` when at least one item is queued (the limiter is actively throttling). */
451
+ paused: boolean;
452
+ };
422
453
  /** Bundle returned by {@link rateLimiter}. */
423
454
  type RateLimiterBundle<T> = {
424
455
  /** The throttled stream — at most `maxEvents` `DATA` per `windowNs`. */
425
456
  node: Node<T>;
426
457
  /**
427
- * Reactive companion: count of `DATA` items dropped since subscription start.
458
+ * Reactive companion: count of `DATA` items dropped since the producer
459
+ * activated.
428
460
  *
429
461
  * - Increments on every drop under any overflow policy (`drop-newest`,
430
462
  * `drop-oldest`). The `error` policy terminates the stream after a single
431
463
  * overflow, so `droppedCount` increments at most once in that path.
432
- * - Resets to `0` on terminal (`COMPLETE` / `ERROR` / `TEARDOWN`) — i.e. the
433
- * counter scopes to the active subscription cycle.
464
+ * - **Lifecycle scoping (qa A1 + EC7):** the counter retains its final
465
+ * value through terminal (`COMPLETE` / `ERROR` / `TEARDOWN`) so consumers
466
+ * see the final drop count, not zero. The closure-held counter resets to
467
+ * `0` only when the producer fn re-runs — which only happens on a new
468
+ * subscription cycle, and only if the producer was constructed with
469
+ * `resubscribable: true`. The default `rateLimiter` producer is NOT
470
+ * resubscribable, so a single producer-fn run is the typical lifetime.
434
471
  * - Producer-pattern note: this companion is invisible to `describe()`
435
472
  * traversal from `node` (effect-mirror limitation; same shape as
436
473
  * `withBreaker.breakerState` and `withStatus.status`). Surface it via
437
474
  * `node.meta.droppedCount` if you need it in topology snapshots.
438
475
  */
439
476
  droppedCount: Node<number>;
477
+ /**
478
+ * Reactive companion: combined `{droppedCount, pendingCount, paused}` view.
479
+ *
480
+ * - `pendingCount` reflects the live buffer occupancy and updates on every
481
+ * push / shift / overflow drop; `paused` is shorthand for
482
+ * `pendingCount > 0`.
483
+ * - Equality-deduped — re-emits only when one of the three fields actually
484
+ * changes (so a busy steady-state where every DATA passes immediately
485
+ * produces one `paused: false` emission, not one per DATA).
486
+ * - **Lifecycle scoping (qa EC7):** same contract as `droppedCount` —
487
+ * retains its final value through terminal; resets to the initial
488
+ * `{droppedCount: 0, pendingCount: 0, paused: false}` only on a new
489
+ * producer-fn run (resubscribable upstream required).
490
+ * - Same producer-pattern caveat as `droppedCount` re: `describe()` visibility.
491
+ */
492
+ rateLimitState: Node<RateLimiterState>;
440
493
  };
441
494
  /**
442
495
  * Token-bucket rate limiter: at most `maxEvents` `DATA` values per `windowNs`.
@@ -519,6 +572,7 @@ type WithStatusBundle<T> = {
519
572
  */
520
573
  declare function withStatus<T>(src: Node<T>, options?: {
521
574
  initialStatus?: StatusValue;
575
+ meta?: Record<string, unknown>;
522
576
  }): WithStatusBundle<T>;
523
577
  /**
524
578
  * Thrown by {@link timeout} when no `DATA` arrives within the deadline.
@@ -562,7 +616,9 @@ type FallbackInput<T> = T | Node<T> | PromiseLike<T> | AsyncIterable<T>;
562
616
  *
563
617
  * @category extra
564
618
  */
565
- declare function fallback<T>(source: Node<T>, fb: FallbackInput<T>): Node<T>;
619
+ declare function fallback<T>(source: Node<T>, fb: FallbackInput<T>, options?: {
620
+ meta?: Record<string, unknown>;
621
+ }): Node<T>;
566
622
  /**
567
623
  * Emits `ERROR` with {@link TimeoutError} if no `DATA` arrives within the deadline.
568
624
  *
@@ -588,6 +644,8 @@ declare function fallback<T>(source: Node<T>, fb: FallbackInput<T>): Node<T>;
588
644
  *
589
645
  * @category extra
590
646
  */
591
- declare function timeout<T>(source: Node<T>, timeoutNs: number): Node<T>;
647
+ declare function timeout<T>(source: Node<T>, timeoutNs: number, options?: {
648
+ meta?: Record<string, unknown>;
649
+ }): Node<T>;
592
650
 
593
- export { type BackoffPreset as B, type CircuitState as C, type ExponentialBackoffOptions as E, type FallbackInput as F, type JitterMode as J, NS_PER_MS as N, type RateLimiterOptions as R, type StatusValue as S, TimeoutError as T, type WithBreakerBundle as W, type CircuitBreakerOptions as a, type RetryOptions as b, NS_PER_SEC as c, type BackoffStrategy as d, type CircuitBreaker as e, CircuitOpenError as f, RateLimiterOverflowError as g, type RateLimiterOverflowPolicy as h, type TokenBucket as i, type WithStatusBundle as j, circuitBreaker as k, constant as l, decorrelatedJitter as m, exponential as n, fallback as o, fibonacci as p, linear as q, rateLimiter as r, resolveBackoffPreset as s, retry as t, timeout as u, tokenBucket as v, withBreaker as w, withMaxAttempts as x, withStatus as y };
651
+ export { type BackoffPreset as B, type CircuitState as C, type ExponentialBackoffOptions as E, type FallbackInput as F, type JitterMode as J, NS_PER_MS as N, type RateLimiterState as R, type StatusValue as S, TimeoutError as T, type WithBreakerBundle as W, type RateLimiterOptions as a, type CircuitBreakerOptions as b, type RetryOptions as c, NS_PER_SEC as d, type BackoffStrategy as e, type CircuitBreaker as f, CircuitOpenError as g, RateLimiterOverflowError as h, type RateLimiterOverflowPolicy as i, type TokenBucket as j, type WithStatusBundle as k, circuitBreaker as l, constant as m, decorrelatedJitter as n, exponential as o, fallback as p, fibonacci as q, linear as r, rateLimiter as s, resolveBackoffPreset as t, retry as u, timeout as v, tokenBucket as w, withBreaker as x, withMaxAttempts as y, withStatus as z };
@@ -1,5 +1,5 @@
1
1
  import { b as NodeGuard, N as Node } from './node-BYInONRr.js';
2
- import { G as Graph } from './graph-30XSgtVX.js';
2
+ import { G as Graph } from './graph-BkIkog4h.js';
3
3
  import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
4
4
 
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { B as BaseAuditRecord } from './index-CusEP3Sv.js';
1
+ import { B as BaseAuditRecord } from './index-BQ1fR4li.js';
2
2
  import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
3
3
  import { NodeInput } from './extra/sources.js';
4
4
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
5
- import { C as CqrsEventMap, a as CqrsEvent, b as CqrsGraph } from './index-B41Asm7D.js';
5
+ import { C as CqrsEventMap, a as CqrsEvent, b as CqrsGraph } from './index-CD2dBMet.js';
6
6
 
7
7
  /**
8
8
  * Process Manager pattern (Phase 7 — roadmap §4.6, Audit 3 — locked 2026-04-24).
@@ -1,9 +1,9 @@
1
1
  import { T as ToObservableOptions, t as toObservable } from './observable-DMIlYJV1.cjs';
2
2
  import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
3
3
  import { ModuleRef } from '@nestjs/core';
4
- import { G as Graph, c as GraphPersistSnapshot } from './graph-BUwMAxJI.cjs';
4
+ import { G as Graph, c as GraphPersistSnapshot } from './graph-E6likq7w.cjs';
5
5
  import { A as Actor } from './node-BYInONRr.cjs';
6
- import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-DyM4tFAe.cjs';
6
+ import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-DQQCOIt8.cjs';
7
7
  import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
8
8
 
9
9
  /** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
@@ -1,7 +1,7 @@
1
1
  import { N as Node } from './node-BYInONRr.js';
2
2
  import { NodeInput } from './extra/sources.js';
3
- import { a as GraphOptions, G as Graph } from './graph-30XSgtVX.js';
4
- import { T as TopicGraph } from './index-DszPlZzK.js';
3
+ import { a as GraphOptions, G as Graph } from './graph-BkIkog4h.js';
4
+ import { T as TopicGraph } from './index-40ZT4MHj.js';
5
5
 
6
6
  /**
7
7
  * refineLoop — universal prompt/artifact optimization loop as a reactive Graph.
@@ -1,6 +1,6 @@
1
- import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-8CSc0tiA.cjs';
1
+ import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-BtZfUKuL.cjs';
2
2
  import { N as Node } from './node-BYInONRr.cjs';
3
- import { G as Graph } from './graph-BUwMAxJI.cjs';
3
+ import { G as Graph } from './graph-E6likq7w.cjs';
4
4
 
5
5
  /**
6
6
  * MeasurementAdapter implementations (roadmap §7.1 — pluggable backends).
@@ -1,16 +1,16 @@
1
1
  import { a as NodeOptions, N as Node, t as Message, M as Messages } from './node-BYInONRr.cjs';
2
- import { k as GraphCheckpointRecord, a as GraphOptions, G as Graph, f as DescribeChangeset, g as DescribeEvent, M as Meta, L as topologyDiff } from './graph-BUwMAxJI.cjs';
3
- import { d as BackoffStrategy, B as BackoffPreset, t as retry, j as WithStatusBundle, e as CircuitBreaker, a as CircuitBreakerOptions, f as CircuitOpenError, C as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, c as NS_PER_SEC, R as RateLimiterOptions, g as RateLimiterOverflowError, h as RateLimiterOverflowPolicy, b as RetryOptions, S as StatusValue, T as TimeoutError, i as TokenBucket, W as WithBreakerBundle, k as circuitBreaker, l as constant, m as decorrelatedJitter, n as exponential, o as fallback, p as fibonacci, q as linear, r as rateLimiter, s as resolveBackoffPreset, u as timeout, v as tokenBucket, w as withBreaker, x as withMaxAttempts, y as withStatus } from './index-CwP_KAMS.cjs';
2
+ import { k as GraphCheckpointRecord, a as GraphOptions, G as Graph, f as DescribeChangeset, g as DescribeEvent, M as Meta, Q as topologyDiff } from './graph-E6likq7w.cjs';
3
+ import { e as BackoffStrategy, B as BackoffPreset, u as retry, k as WithStatusBundle, f as CircuitBreaker, b as CircuitBreakerOptions, g as CircuitOpenError, C as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, d as NS_PER_SEC, a as RateLimiterOptions, h as RateLimiterOverflowError, i as RateLimiterOverflowPolicy, c as RetryOptions, S as StatusValue, T as TimeoutError, j as TokenBucket, W as WithBreakerBundle, l as circuitBreaker, m as constant, n as decorrelatedJitter, o as exponential, p as fallback, q as fibonacci, r as linear, s as rateLimiter, t as resolveBackoffPreset, v as timeout, w as tokenBucket, x as withBreaker, y as withMaxAttempts, z as withStatus } from './index-DGTo1yka.cjs';
4
4
  import { AsyncSourceOpts, NodeInput, EventTargetLike, FromCronOptions, ReactiveCounterBundle, awaitSettled, cached, defer, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, nodeSignal, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './extra/sources.cjs';
5
5
  import { SnapshotStorageTier, KvStorageTier, AppendCursor, AppendLoadResult, AppendLogStorageOptions, AppendLogStorageTier, BaseStorageTier, Codec, KvStorageOptions, SnapshotStorageOptions, StorageBackend, appendLogStorage, dictKv, dictSnapshot, jsonCodec, jsonCodecFor, kvStorage, memoryAppendLog, memoryBackend, memoryKv, memorySnapshot, snapshotStorage } from './extra/storage-tiers.cjs';
6
- import { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as distill, v as verifiable } from './composite-CKd0e2vz.cjs';
6
+ import { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as decay, e as distill, v as verifiable } from './decay-C25AyNAj.cjs';
7
7
  import { C as ContentAddressedMissError, a as ContentAddressedMode, b as ContentAddressedStorage, c as ContentAddressedStorageOptions, d as canonicalJson, e as contentAddressedStorage } from './content-addressed-storage-4-ST1tYk.cjs';
8
- import { A as AuditLogOpts, B as BaseAuditRecord, D as DEFAULT_AUDIT_GUARD, F as FailureMeta, L as LightMutationOpts, M as MutationOpts, S as SuccessMeta, W as WrapMutationOpts, a as appendAudit, b as bumpCursor, c as createAuditLog, l as lightMutation, r as registerCursor, d as registerCursorMap, t as tryIncrementBounded, w as wrapMutation } from './index-DINuaZlJ.cjs';
8
+ import { A as AuditLogOpts, B as BaseAuditRecord, D as DEFAULT_AUDIT_GUARD, F as FailureMeta, L as LightMutationOpts, M as MutationOpts, S as SuccessMeta, W as WrapMutationOpts, a as appendAudit, b as bumpCursor, c as createAuditLog, l as lightMutation, r as registerCursor, d as registerCursorMap, t as tryIncrementBounded, w as wrapMutation } from './index-DVDapw2k.cjs';
9
9
  import { T as ToObservableOptions, t as toObservable } from './observable-DMIlYJV1.cjs';
10
10
  import { MergeMapOptions, TapObserver, ThrottleOptions, audit, buffer, bufferCount, bufferTime, catchError, combine, combineLatest, concat, concatMap, debounce, debounceTime, delay, distinctUntilChanged, elementAt, exhaustMap, filter, find, first, flatMap, interval, last, map, merge, mergeMap, onFirstData, pairwise, pausable, race, reduce, repeat, rescue, sample, scan, skip, switchMap, take, takeUntil, takeWhile, tap, tapFirst, throttle, throttleTime, valve, window, windowCount, windowTime, withLatestFrom, zip } from './extra/operators.cjs';
11
11
  import { IndexBackend, IndexRow, ListBackend, NativeIndexBackend, NativeListBackend, ReactiveIndexBundle, ReactiveIndexOptions, ReactiveListBundle, ReactiveListOptions, UpsertOptions, reactiveIndex, reactiveList } from './extra/reactive.cjs';
12
12
  import { L as LogBackend, M as MergedReactiveLog, N as NativeLogBackend, a as ReactiveLogBundle, R as ReactiveLogOptions, V as ViewSpec, m as mergeReactiveLogs, r as reactiveLog } from './reactive-log-_zeEnB9H.cjs';
13
- import { M as MapBackend, N as NativeMapBackend, b as NativeMapBackendOptions, R as ReactiveMapBundle, a as ReactiveMapOptions, c as ReactiveMapRetention, r as reactiveMap } from './reactive-map-B2qfD3hb.cjs';
13
+ import { M as MapBackend, N as NativeMapBackend, a as NativeMapBackendOptions, R as ReactiveMapBundle, b as ReactiveMapOptions, c as ReactiveMapRetention, r as reactiveMap } from './reactive-map-6P_k3AQM.cjs';
14
14
  import { StorageHandle, sortJsonValue, stableJsonString } from './extra/storage-core.cjs';
15
15
  import { B as BudgetConstraint, a as BudgetGateOptions, b as budgetGate } from './budget-gate-DiP_nK0n.cjs';
16
16
 
@@ -2661,32 +2661,6 @@ declare class ResettableTimer {
2661
2661
  get pending(): boolean;
2662
2662
  }
2663
2663
 
2664
- /**
2665
- * Pure exponential-decay utility (Tier 2.2 promotion from `patterns/memory/`).
2666
- *
2667
- * Used by `collection`, `agentMemory`, harness `strategy.ts`, and any
2668
- * downstream consumer that needs decay-with-floor scoring. Promoted to
2669
- * `extra/utils/` because the math has zero domain semantics and is reusable
2670
- * by non-memory primitives (e.g. routing weight decay, retry-attempt aging).
2671
- *
2672
- * @module
2673
- */
2674
- /**
2675
- * Exponential decay with floor: `score = max(minScore, baseScore * exp(-ratePerSecond * ageSeconds))`.
2676
- *
2677
- * Tolerant fallbacks (deliberate for use inside reactive derived fns):
2678
- * - non-finite `baseScore` → `minScore`
2679
- * - non-positive `ageSeconds` (incl. clock skew) → `max(minScore, baseScore)` (no decay)
2680
- * - non-positive `ratePerSecond` → `max(minScore, baseScore)` (no decay; rate=0 disables)
2681
- *
2682
- * Underflow boundary: `Math.exp(-745) === 0`. For very long ages × rates the
2683
- * result clamps to `minScore`; if you need slow decay over years, choose a
2684
- * smaller `ratePerSecond` rather than relying on graceful underflow.
2685
- *
2686
- * Half-life conversion: `ratePerSecond = Math.LN2 / halfLifeSeconds`.
2687
- */
2688
- declare function decay(baseScore: number, ageSeconds: number, ratePerSecond: number, minScore?: number): number;
2689
-
2690
2664
  /**
2691
2665
  * WorkerTransport — normalized message channel for all worker types.
2692
2666
  *
@@ -3314,4 +3288,4 @@ declare namespace index {
3314
3288
  export { type index_AckableMessage as AckableMessage, type index_AdapterHandlers as AdapterHandlers, index_AppendCursor as AppendCursor, index_AppendLoadResult as AppendLoadResult, index_AppendLogStorageOptions as AppendLogStorageOptions, index_AppendLogStorageTier as AppendLogStorageTier, index_AsyncSourceOpts as AsyncSourceOpts, index_AuditLogOpts as AuditLogOpts, index_BackoffPreset as BackoffPreset, index_BackoffStrategy as BackoffStrategy, index_BaseAuditRecord as BaseAuditRecord, index_BaseStorageTier as BaseStorageTier, type index_BatchMessage as BatchMessage, type index_BridgeMessage as BridgeMessage, index_BudgetConstraint as BudgetConstraint, index_BudgetGateOptions as BudgetGateOptions, type index_BufferedSinkHandle as BufferedSinkHandle, type index_BundleTriad as BundleTriad, type index_CSVRow as CSVRow, type index_CacheEvictionPolicy as CacheEvictionPolicy, type index_CascadingCache as CascadingCache, type index_CascadingCacheOptions as CascadingCacheOptions, type index_CheckpointToRedisOptions as CheckpointToRedisOptions, type index_CheckpointToS3Options as CheckpointToS3Options, index_CircuitBreaker as CircuitBreaker, index_CircuitBreakerOptions as CircuitBreakerOptions, index_CircuitOpenError as CircuitOpenError, index_CircuitState as CircuitState, type index_ClickHouseClientLike as ClickHouseClientLike, type index_ClickHouseInsertClientLike as ClickHouseInsertClientLike, type index_ClickHouseRow as ClickHouseRow, index_Codec as Codec, index_ContentAddressedMissError as ContentAddressedMissError, index_ContentAddressedMode as ContentAddressedMode, index_ContentAddressedStorage as ContentAddressedStorage, index_ContentAddressedStorageOptions as ContentAddressedStorageOptions, type index_CronSchedule as CronSchedule, index_DEFAULT_AUDIT_GUARD as DEFAULT_AUDIT_GUARD, index_DescribeChangeset as DescribeChangeset, index_DescribeEvent as DescribeEvent, Meta as DescribeNodeMeta, index_DistillBundle as DistillBundle, index_DistillOptions as DistillOptions, type index_DrizzleQueryLike as DrizzleQueryLike, type index_EmitTriad as EmitTriad, type index_ErrorMessage as ErrorMessage, index_EventTargetLike as EventTargetLike, index_ExponentialBackoffOptions as ExponentialBackoffOptions, type index_ExternalBundleOptions as ExternalBundleOptions, type index_ExternalRegister as ExternalRegister, index_Extraction as Extraction, index_FailureMeta as FailureMeta, index_FallbackInput as FallbackInput, type index_FileWriterLike as FileWriterLike, type index_FromCSVOptions as FromCSVOptions, type index_FromClickHouseWatchOptions as FromClickHouseWatchOptions, index_FromCronOptions as FromCronOptions, type index_FromDrizzleOptions as FromDrizzleOptions, type index_FromHTTPOptions as FromHTTPOptions, type index_FromHTTPPollOptions as FromHTTPPollOptions, type index_FromHTTPStreamOptions as FromHTTPStreamOptions, type index_FromKafkaOptions as FromKafkaOptions, type index_FromKyselyOptions as FromKyselyOptions, type index_FromMCPOptions as FromMCPOptions, type index_FromNATSOptions as FromNATSOptions, type index_FromNDJSONOptions as FromNDJSONOptions, type index_FromOTelOptions as FromOTelOptions, type index_FromPrismaOptions as FromPrismaOptions, type index_FromPrometheusOptions as FromPrometheusOptions, type index_FromPulsarOptions as FromPulsarOptions, type index_FromRabbitMQOptions as FromRabbitMQOptions, type index_FromRedisStreamOptions as FromRedisStreamOptions, type index_FromSSEOptions as FromSSEOptions, type index_FromSqliteOptions as FromSqliteOptions, type index_FromStatsDOptions as FromStatsDOptions, type index_FromSyslogOptions as FromSyslogOptions, type index_FromWebSocketReconnectOptions as FromWebSocketReconnectOptions, type index_HTTPBundle as HTTPBundle, index_IndexBackend as IndexBackend, index_IndexRow as IndexRow, type index_InitMessage as InitMessage, index_JitterMode as JitterMode, type index_KafkaConsumerLike as KafkaConsumerLike, type index_KafkaMessage as KafkaMessage, type index_KafkaProducerLike as KafkaProducerLike, index_KvStorageOptions as KvStorageOptions, index_KvStorageTier as KvStorageTier, type index_KyselyQueryLike as KyselyQueryLike, index_LightMutationOpts as LightMutationOpts, index_ListBackend as ListBackend, index_LogBackend as LogBackend, type index_LokiClientLike as LokiClientLike, type index_LokiStream as LokiStream, type index_MCPClientLike as MCPClientLike, index_MapBackend as MapBackend, index_MergeMapOptions as MergeMapOptions, index_MergedReactiveLog as MergedReactiveLog, type index_MongoCollectionLike as MongoCollectionLike, index_MutationOpts as MutationOpts, type index_NATSClientLike as NATSClientLike, type index_NATSMessage as NATSMessage, type index_NATSSubscriptionLike as NATSSubscriptionLike, index_NS_PER_MS as NS_PER_MS, index_NS_PER_SEC as NS_PER_SEC, index_NativeIndexBackend as NativeIndexBackend, index_NativeListBackend as NativeListBackend, index_NativeLogBackend as NativeLogBackend, index_NativeMapBackend as NativeMapBackend, index_NativeMapBackendOptions as NativeMapBackendOptions, index_NativePubSubBackend as NativePubSubBackend, index_NodeInput as NodeInput, type index_OTelBundle as OTelBundle, type index_OTelLog as OTelLog, type index_OTelMetric as OTelMetric, type index_OTelRegister as OTelRegister, type index_OTelSpan as OTelSpan, type index_ParseSSEStreamOptions as ParseSSEStreamOptions, type index_PostgresClientLike as PostgresClientLike, type index_PrismaModelLike as PrismaModelLike, type index_PrometheusMetric as PrometheusMetric, type index_PubSubBackend as PubSubBackend, type index_PubSubHub as PubSubHub, type index_PubSubHubOptions as PubSubHubOptions, type index_PulsarConsumerLike as PulsarConsumerLike, type index_PulsarMessage as PulsarMessage, type index_PulsarProducerLike as PulsarProducerLike, type index_RabbitMQChannelLike as RabbitMQChannelLike, type index_RabbitMQMessage as RabbitMQMessage, index_RateLimiterOptions as RateLimiterOptions, index_RateLimiterOverflowError as RateLimiterOverflowError, index_RateLimiterOverflowPolicy as RateLimiterOverflowPolicy, index_ReactiveCounterBundle as ReactiveCounterBundle, index_ReactiveIndexBundle as ReactiveIndexBundle, index_ReactiveIndexOptions as ReactiveIndexOptions, index_ReactiveListBundle as ReactiveListBundle, index_ReactiveListOptions as ReactiveListOptions, index_ReactiveLogBundle as ReactiveLogBundle, index_ReactiveLogOptions as ReactiveLogOptions, index_ReactiveMapBundle as ReactiveMapBundle, index_ReactiveMapOptions as ReactiveMapOptions, index_ReactiveMapRetention as ReactiveMapRetention, type index_ReactiveSinkBackpressureOptions as ReactiveSinkBackpressureOptions, type index_ReactiveSinkConfig as ReactiveSinkConfig, type index_ReactiveSinkHandle as ReactiveSinkHandle, type index_ReactiveSinkOptions as ReactiveSinkOptions, type index_ReactiveSinkRetryOptions as ReactiveSinkRetryOptions, type index_ReadyMessage as ReadyMessage, type index_RedisCheckpointClientLike as RedisCheckpointClientLike, type index_RedisClientLike as RedisClientLike, type index_RedisStreamEntry as RedisStreamEntry, index_ResettableTimer as ResettableTimer, index_RetryOptions as RetryOptions, type index_S3ClientLike as S3ClientLike, type index_SSEEvent as SSEEvent, type index_SignalMessage as SignalMessage, type index_SingleFromAnyOptions as SingleFromAnyOptions, type index_SinkFailure as SinkFailure, type index_SinkHandle as SinkHandle, type index_SinkTransportError as SinkTransportError, index_SnapshotStorageOptions as SnapshotStorageOptions, index_SnapshotStorageTier as SnapshotStorageTier, type index_SqliteDbLike as SqliteDbLike, type index_SqliteIterableDbLike as SqliteIterableDbLike, type index_StatsDMetric as StatsDMetric, type index_StatsDRegister as StatsDRegister, index_StatusValue as StatusValue, index_StorageBackend as StorageBackend, index_StorageHandle as StorageHandle, type index_StratifyOptions as StratifyOptions, type index_StratifyRule as StratifyRule, index_SuccessMeta as SuccessMeta, type index_SyslogMessage as SyslogMessage, type index_SyslogRegister as SyslogRegister, index_TapObserver as TapObserver, type index_TempoClientLike as TempoClientLike, index_ThrottleOptions as ThrottleOptions, index_TimeoutError as TimeoutError, type index_ToCSVOptions as ToCSVOptions, type index_ToClickHouseOptions as ToClickHouseOptions, type index_ToFileOptions as ToFileOptions, type index_ToHTTPOptions as ToHTTPOptions, type index_ToKafkaOptions as ToKafkaOptions, type index_ToLokiOptions as ToLokiOptions, type index_ToMongoOptions as ToMongoOptions, type index_ToNATSOptions as ToNATSOptions, index_ToObservableOptions as ToObservableOptions, type index_ToPostgresOptions as ToPostgresOptions, type index_ToPulsarOptions as ToPulsarOptions, type index_ToRabbitMQOptions as ToRabbitMQOptions, type index_ToRedisStreamOptions as ToRedisStreamOptions, type index_ToS3Options as ToS3Options, type index_ToSSEOptions as ToSSEOptions, type index_ToSqliteOptions as ToSqliteOptions, type index_ToTempoOptions as ToTempoOptions, type index_ToWebSocketOptions as ToWebSocketOptions, index_TokenBucket as TokenBucket, index_UpsertOptions as UpsertOptions, type index_ValueMessage as ValueMessage, index_VerifiableBundle as VerifiableBundle, index_VerifiableOptions as VerifiableOptions, index_VerifyValue as VerifyValue, index_ViewSpec as ViewSpec, type index_WatermarkController as WatermarkController, type index_WatermarkOptions as WatermarkOptions, type index_WebSocketLike as WebSocketLike, type index_WebSocketMessageEventLike as WebSocketMessageEventLike, type index_WebSocketRegister as WebSocketRegister, type index_WebhookRegister as WebhookRegister, index_WithBreakerBundle as WithBreakerBundle, index_WithStatusBundle as WithStatusBundle, type index_WorkerBridge as WorkerBridge, type index_WorkerBridgeOptions as WorkerBridgeOptions, type index_WorkerSelfHandle as WorkerSelfHandle, type index_WorkerSelfOptions as WorkerSelfOptions, type index_WorkerTransport as WorkerTransport, index_WrapMutationOpts as WrapMutationOpts, index_appendAudit as appendAudit, index_appendLogStorage as appendLogStorage, index_audit as audit, index_awaitSettled as awaitSettled, index_budgetGate as budgetGate, index_buffer as buffer, index_bufferCount as bufferCount, index_bufferTime as bufferTime, index_bumpCursor as bumpCursor, index_cached as cached, index_canonicalJson as canonicalJson, index_cascadingCache as cascadingCache, index_catchError as catchError, index_checkpointToRedis as checkpointToRedis, index_checkpointToS3 as checkpointToS3, index_circuitBreaker as circuitBreaker, index_combine as combine, index_combineLatest as combineLatest, index_concat as concat, index_concatMap as concatMap, index_constant as constant, index_contentAddressedStorage as contentAddressedStorage, index_createAuditLog as createAuditLog, index_createTransport as createTransport, index_createWatermarkController as createWatermarkController, index_csvRows as csvRows, index_debounce as debounce, index_debounceTime as debounceTime, index_decay as decay, index_decorrelatedJitter as decorrelatedJitter, index_defer as defer, index_delay as delay, index_deserializeError as deserializeError, index_dictKv as dictKv, index_dictSnapshot as dictSnapshot, index_distill as distill, index_distinctUntilChanged as distinctUntilChanged, index_domainMeta as domainMeta, index_elementAt as elementAt, index_empty as empty, index_escapeRegexChar as escapeRegexChar, index_exhaustMap as exhaustMap, index_exponential as exponential, index_externalBundle as externalBundle, index_externalProducer as externalProducer, index_fallback as fallback, index_fibonacci as fibonacci, index_filter as filter, index_find as find, index_first as first, index_firstValueFrom as firstValueFrom, index_firstWhere as firstWhere, index_flatMap as flatMap, index_forEach as forEach, index_fromAny as fromAny, index_fromAsyncIter as fromAsyncIter, index_fromCSV as fromCSV, index_fromClickHouseWatch as fromClickHouseWatch, index_fromCron as fromCron, index_fromDrizzle as fromDrizzle, index_fromEvent as fromEvent, index_fromHTTP as fromHTTP, index_fromHTTPPoll as fromHTTPPoll, index_fromHTTPStream as fromHTTPStream, index_fromIter as fromIter, index_fromKafka as fromKafka, index_fromKysely as fromKysely, index_fromMCP as fromMCP, index_fromNATS as fromNATS, index_fromNDJSON as fromNDJSON, index_fromOTel as fromOTel, index_fromPrisma as fromPrisma, index_fromPrometheus as fromPrometheus, index_fromPromise as fromPromise, index_fromPulsar as fromPulsar, index_fromRabbitMQ as fromRabbitMQ, index_fromRaf as fromRaf, index_fromRedisStream as fromRedisStream, index_fromSSE as fromSSE, index_fromSqlite as fromSqlite, index_fromSqliteCursor as fromSqliteCursor, index_fromStatsD as fromStatsD, index_fromSyslog as fromSyslog, index_fromTimer as fromTimer, index_fromWebSocket as fromWebSocket, index_fromWebSocketReconnect as fromWebSocketReconnect, index_fromWebhook as fromWebhook, index_globToRegExp as globToRegExp, index_interval as interval, index_jsonCodec as jsonCodec, index_jsonCodecFor as jsonCodecFor, index_keepalive as keepalive, index_kvStorage as kvStorage, index_last as last, index_lightMutation as lightMutation, index_linear as linear, index_lru as lru, index_makeHttpError as makeHttpError, index_map as map, index_matchesAnyPattern as matchesAnyPattern, index_matchesCron as matchesCron, index_memoryAppendLog as memoryAppendLog, index_memoryBackend as memoryBackend, index_memoryKv as memoryKv, index_memorySnapshot as memorySnapshot, index_merge as merge, index_mergeMap as mergeMap, index_mergeReactiveLogs as mergeReactiveLogs, index_nameToSignal as nameToSignal, index_ndjsonRows as ndjsonRows, index_never as never, index_nodeSignal as nodeSignal, index_of as of, index_onFirstData as onFirstData, index_pairwise as pairwise, index_parseCron as parseCron, index_parsePrometheusText as parsePrometheusText, index_parseSSEStream as parseSSEStream, index_parseStatsD as parseStatsD, index_parseSyslog as parseSyslog, index_pausable as pausable, index_pubsub as pubsub, index_race as race, index_rateLimiter as rateLimiter, index_reactiveCounter as reactiveCounter, index_reactiveIndex as reactiveIndex, index_reactiveList as reactiveList, index_reactiveLog as reactiveLog, index_reactiveMap as reactiveMap, index_reactiveSink as reactiveSink, index_reduce as reduce, index_registerCursor as registerCursor, index_registerCursorMap as registerCursorMap, index_repeat as repeat, index_replay as replay, index_rescue as rescue, index_resolveBackoffPreset as resolveBackoffPreset, index_retry as retry, index_sample as sample, index_scan as scan, index_serializeError as serializeError, index_share as share, index_shareReplay as shareReplay, index_signalToName as signalToName, index_singleFromAny as singleFromAny, index_singleNodeFromAny as singleNodeFromAny, index_skip as skip, index_snapshotStorage as snapshotStorage, index_sortJsonValue as sortJsonValue, index_stableJsonString as stableJsonString, index_stratify as stratify, index_switchMap as switchMap, index_take as take, index_takeUntil as takeUntil, index_takeWhile as takeWhile, index_tap as tap, index_tapFirst as tapFirst, index_throttle as throttle, index_throttleTime as throttleTime, index_throwError as throwError, index_timeout as timeout, index_toArray as toArray, index_toCSV as toCSV, index_toClickHouse as toClickHouse, index_toFile as toFile, index_toHTTP as toHTTP, index_toKafka as toKafka, index_toLoki as toLoki, index_toMongo as toMongo, index_toNATS as toNATS, index_toObservable as toObservable, index_toPostgres as toPostgres, index_toPulsar as toPulsar, index_toRabbitMQ as toRabbitMQ, index_toReadableStream as toReadableStream, index_toRedisStream as toRedisStream, index_toS3 as toS3, index_toSSE as toSSE, index_toSSEBytes as toSSEBytes, index_toSqlite as toSqlite, index_toTempo as toTempo, index_toWebSocket as toWebSocket, index_tokenBucket as tokenBucket, index_topologyDiff as topologyDiff, index_tryIncrementBounded as tryIncrementBounded, index_valve as valve, index_verifiable as verifiable, index_window as window, index_windowCount as windowCount, index_windowTime as windowTime, index_withBreaker as withBreaker, index_withLatestFrom as withLatestFrom, index_withMaxAttempts as withMaxAttempts, index_withStatus as withStatus, index_workerBridge as workerBridge, index_workerSelf as workerSelf, index_wrapMutation as wrapMutation, index_zip as zip };
3315
3289
  }
3316
3290
 
3317
- export { type MongoCollectionLike as $, type AckableMessage as A, type BatchMessage as B, type CSVRow as C, type DrizzleQueryLike as D, type EmitTriad as E, type FileWriterLike as F, type FromNDJSONOptions as G, type FromOTelOptions as H, type FromPrismaOptions as I, type FromPrometheusOptions as J, type FromPulsarOptions as K, type FromRabbitMQOptions as L, type FromRedisStreamOptions as M, type FromSSEOptions as N, type FromSqliteOptions as O, type FromStatsDOptions as P, type FromSyslogOptions as Q, type FromWebSocketReconnectOptions as R, type HTTPBundle as S, type InitMessage as T, type KafkaConsumerLike as U, type KafkaMessage as V, type KafkaProducerLike as W, type KyselyQueryLike as X, type LokiClientLike as Y, type LokiStream as Z, type MCPClientLike as _, type AdapterHandlers as a, type ToWebSocketOptions as a$, type NATSClientLike as a0, type NATSMessage as a1, type NATSSubscriptionLike as a2, NativePubSubBackend as a3, type OTelBundle as a4, type OTelLog as a5, type OTelMetric as a6, type OTelRegister as a7, type OTelSpan as a8, type ParseSSEStreamOptions as a9, type SinkHandle as aA, type SinkTransportError as aB, type SqliteDbLike as aC, type SqliteIterableDbLike as aD, type StatsDMetric as aE, type StatsDRegister as aF, type StratifyOptions as aG, type StratifyRule as aH, type SyslogMessage as aI, type SyslogRegister as aJ, type TempoClientLike as aK, type ToCSVOptions as aL, type ToClickHouseOptions as aM, type ToFileOptions as aN, type ToHTTPOptions as aO, type ToKafkaOptions as aP, type ToLokiOptions as aQ, type ToMongoOptions as aR, type ToNATSOptions as aS, type ToPostgresOptions as aT, type ToPulsarOptions as aU, type ToRabbitMQOptions as aV, type ToRedisStreamOptions as aW, type ToS3Options as aX, type ToSSEOptions as aY, type ToSqliteOptions as aZ, type ToTempoOptions as a_, type PostgresClientLike as aa, type PrismaModelLike as ab, type PrometheusMetric as ac, type PubSubBackend as ad, type PubSubHub as ae, type PubSubHubOptions as af, type PulsarConsumerLike as ag, type PulsarMessage as ah, type PulsarProducerLike as ai, type RabbitMQChannelLike as aj, type RabbitMQMessage as ak, type ReactiveSinkBackpressureOptions as al, type ReactiveSinkConfig as am, type ReactiveSinkHandle as an, type ReactiveSinkOptions as ao, type ReactiveSinkRetryOptions as ap, type ReadyMessage as aq, type RedisCheckpointClientLike as ar, type RedisClientLike as as, type RedisStreamEntry as at, ResettableTimer as au, type S3ClientLike as av, type SSEEvent as aw, type SignalMessage as ax, type SingleFromAnyOptions as ay, type SinkFailure as az, type BridgeMessage as b, singleFromAny as b$, type ValueMessage as b0, type WatermarkController as b1, type WatermarkOptions as b2, type WebSocketLike as b3, type WebSocketMessageEventLike as b4, type WebSocketRegister as b5, type WebhookRegister as b6, type WorkerBridge as b7, type WorkerBridgeOptions as b8, type WorkerSelfHandle as b9, fromPrisma as bA, fromPrometheus as bB, fromPulsar as bC, fromRabbitMQ as bD, fromRedisStream as bE, fromSSE as bF, fromSqlite as bG, fromSqliteCursor as bH, fromStatsD as bI, fromSyslog as bJ, fromWebSocket as bK, fromWebSocketReconnect as bL, fromWebhook as bM, lru as bN, makeHttpError as bO, matchesCron as bP, nameToSignal as bQ, ndjsonRows as bR, parseCron as bS, parsePrometheusText as bT, parseSSEStream as bU, parseStatsD as bV, parseSyslog as bW, pubsub as bX, reactiveSink as bY, serializeError as bZ, signalToName as b_, type WorkerSelfOptions as ba, type WorkerTransport as bb, cascadingCache as bc, checkpointToRedis as bd, checkpointToS3 as be, createTransport as bf, createWatermarkController as bg, csvRows as bh, decay as bi, deserializeError as bj, domainMeta as bk, externalBundle as bl, externalProducer as bm, index as bn, fromCSV as bo, fromClickHouseWatch as bp, fromDrizzle as bq, fromHTTP as br, fromHTTPPoll as bs, fromHTTPStream as bt, fromKafka as bu, fromKysely as bv, fromMCP as bw, fromNATS as bx, fromNDJSON as by, fromOTel as bz, type BufferedSinkHandle as c, singleNodeFromAny as c0, stratify as c1, toCSV as c2, toClickHouse as c3, toFile as c4, toHTTP as c5, toKafka as c6, toLoki as c7, toMongo as c8, toNATS as c9, toPostgres as ca, toPulsar as cb, toRabbitMQ as cc, toReadableStream as cd, toRedisStream as ce, toS3 as cf, toSSE as cg, toSSEBytes as ch, toSqlite as ci, toTempo as cj, toWebSocket as ck, workerBridge as cl, workerSelf as cm, type BundleTriad as d, type CacheEvictionPolicy as e, type CascadingCache as f, type CascadingCacheOptions as g, type CheckpointToRedisOptions as h, type CheckpointToS3Options as i, type ClickHouseClientLike as j, type ClickHouseInsertClientLike as k, type ClickHouseRow as l, type CronSchedule as m, type ErrorMessage as n, type ExternalBundleOptions as o, type ExternalRegister as p, type FromCSVOptions as q, type FromClickHouseWatchOptions as r, type FromDrizzleOptions as s, type FromHTTPOptions as t, type FromHTTPPollOptions as u, type FromHTTPStreamOptions as v, type FromKafkaOptions as w, type FromKyselyOptions as x, type FromMCPOptions as y, type FromNATSOptions as z };
3291
+ export { type MongoCollectionLike as $, type AckableMessage as A, type BatchMessage as B, type CSVRow as C, type DrizzleQueryLike as D, type EmitTriad as E, type FileWriterLike as F, type FromNDJSONOptions as G, type FromOTelOptions as H, type FromPrismaOptions as I, type FromPrometheusOptions as J, type FromPulsarOptions as K, type FromRabbitMQOptions as L, type FromRedisStreamOptions as M, type FromSSEOptions as N, type FromSqliteOptions as O, type FromStatsDOptions as P, type FromSyslogOptions as Q, type FromWebSocketReconnectOptions as R, type HTTPBundle as S, type InitMessage as T, type KafkaConsumerLike as U, type KafkaMessage as V, type KafkaProducerLike as W, type KyselyQueryLike as X, type LokiClientLike as Y, type LokiStream as Z, type MCPClientLike as _, type AdapterHandlers as a, type ToWebSocketOptions as a$, type NATSClientLike as a0, type NATSMessage as a1, type NATSSubscriptionLike as a2, NativePubSubBackend as a3, type OTelBundle as a4, type OTelLog as a5, type OTelMetric as a6, type OTelRegister as a7, type OTelSpan as a8, type ParseSSEStreamOptions as a9, type SinkHandle as aA, type SinkTransportError as aB, type SqliteDbLike as aC, type SqliteIterableDbLike as aD, type StatsDMetric as aE, type StatsDRegister as aF, type StratifyOptions as aG, type StratifyRule as aH, type SyslogMessage as aI, type SyslogRegister as aJ, type TempoClientLike as aK, type ToCSVOptions as aL, type ToClickHouseOptions as aM, type ToFileOptions as aN, type ToHTTPOptions as aO, type ToKafkaOptions as aP, type ToLokiOptions as aQ, type ToMongoOptions as aR, type ToNATSOptions as aS, type ToPostgresOptions as aT, type ToPulsarOptions as aU, type ToRabbitMQOptions as aV, type ToRedisStreamOptions as aW, type ToS3Options as aX, type ToSSEOptions as aY, type ToSqliteOptions as aZ, type ToTempoOptions as a_, type PostgresClientLike as aa, type PrismaModelLike as ab, type PrometheusMetric as ac, type PubSubBackend as ad, type PubSubHub as ae, type PubSubHubOptions as af, type PulsarConsumerLike as ag, type PulsarMessage as ah, type PulsarProducerLike as ai, type RabbitMQChannelLike as aj, type RabbitMQMessage as ak, type ReactiveSinkBackpressureOptions as al, type ReactiveSinkConfig as am, type ReactiveSinkHandle as an, type ReactiveSinkOptions as ao, type ReactiveSinkRetryOptions as ap, type ReadyMessage as aq, type RedisCheckpointClientLike as ar, type RedisClientLike as as, type RedisStreamEntry as at, ResettableTimer as au, type S3ClientLike as av, type SSEEvent as aw, type SignalMessage as ax, type SingleFromAnyOptions as ay, type SinkFailure as az, type BridgeMessage as b, singleNodeFromAny as b$, type ValueMessage as b0, type WatermarkController as b1, type WatermarkOptions as b2, type WebSocketLike as b3, type WebSocketMessageEventLike as b4, type WebSocketRegister as b5, type WebhookRegister as b6, type WorkerBridge as b7, type WorkerBridgeOptions as b8, type WorkerSelfHandle as b9, fromPrometheus as bA, fromPulsar as bB, fromRabbitMQ as bC, fromRedisStream as bD, fromSSE as bE, fromSqlite as bF, fromSqliteCursor as bG, fromStatsD as bH, fromSyslog as bI, fromWebSocket as bJ, fromWebSocketReconnect as bK, fromWebhook as bL, lru as bM, makeHttpError as bN, matchesCron as bO, nameToSignal as bP, ndjsonRows as bQ, parseCron as bR, parsePrometheusText as bS, parseSSEStream as bT, parseStatsD as bU, parseSyslog as bV, pubsub as bW, reactiveSink as bX, serializeError as bY, signalToName as bZ, singleFromAny as b_, type WorkerSelfOptions as ba, type WorkerTransport as bb, cascadingCache as bc, checkpointToRedis as bd, checkpointToS3 as be, createTransport as bf, createWatermarkController as bg, csvRows as bh, deserializeError as bi, domainMeta as bj, externalBundle as bk, externalProducer as bl, index as bm, fromCSV as bn, fromClickHouseWatch as bo, fromDrizzle as bp, fromHTTP as bq, fromHTTPPoll as br, fromHTTPStream as bs, fromKafka as bt, fromKysely as bu, fromMCP as bv, fromNATS as bw, fromNDJSON as bx, fromOTel as by, fromPrisma as bz, type BufferedSinkHandle as c, stratify as c0, toCSV as c1, toClickHouse as c2, toFile as c3, toHTTP as c4, toKafka as c5, toLoki as c6, toMongo as c7, toNATS as c8, toPostgres as c9, toPulsar as ca, toRabbitMQ as cb, toReadableStream as cc, toRedisStream as cd, toS3 as ce, toSSE as cf, toSSEBytes as cg, toSqlite as ch, toTempo as ci, toWebSocket as cj, workerBridge as ck, workerSelf as cl, type BundleTriad as d, type CacheEvictionPolicy as e, type CascadingCache as f, type CascadingCacheOptions as g, type CheckpointToRedisOptions as h, type CheckpointToS3Options as i, type ClickHouseClientLike as j, type ClickHouseInsertClientLike as k, type ClickHouseRow as l, type CronSchedule as m, type ErrorMessage as n, type ExternalBundleOptions as o, type ExternalRegister as p, type FromCSVOptions as q, type FromClickHouseWatchOptions as r, type FromDrizzleOptions as s, type FromHTTPOptions as t, type FromHTTPPollOptions as u, type FromHTTPStreamOptions as v, type FromKafkaOptions as w, type FromKyselyOptions as x, type FromMCPOptions as y, type FromNATSOptions as z };
@@ -1,6 +1,6 @@
1
1
  import { A as Actor, N as Node, P as PolicyRuleData, G as GuardAction } from './node-BYInONRr.cjs';
2
- import { G as Graph, a as GraphOptions, c as GraphPersistSnapshot } from './graph-BUwMAxJI.cjs';
3
- import { T as TopicGraph } from './index-BndG0cpK.cjs';
2
+ import { G as Graph, a as GraphOptions, c as GraphPersistSnapshot } from './graph-E6likq7w.cjs';
3
+ import { T as TopicGraph } from './index-Cnr1WrlX.cjs';
4
4
 
5
5
  /**
6
6
  * Audit, policy enforcement, and compliance export (roadmap §9.2).
@@ -1,6 +1,6 @@
1
1
  import { D as DescribeNodeOutput } from './meta-Ct9nqQS5.cjs';
2
2
  import { N as Node } from './node-BYInONRr.cjs';
3
- import { G as Graph, b as GraphDescribeOutput } from './graph-BUwMAxJI.cjs';
3
+ import { G as Graph, b as GraphDescribeOutput } from './graph-E6likq7w.cjs';
4
4
  import { L as LLMAdapter } from './types-1Dhoi7HM.cjs';
5
5
 
6
6
  /**
@@ -1,9 +1,9 @@
1
1
  import { T as ToObservableOptions, t as toObservable } from './observable-DO8DDEzv.js';
2
2
  import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
3
3
  import { ModuleRef } from '@nestjs/core';
4
- import { G as Graph, c as GraphPersistSnapshot } from './graph-30XSgtVX.js';
4
+ import { G as Graph, c as GraphPersistSnapshot } from './graph-BkIkog4h.js';
5
5
  import { A as Actor } from './node-BYInONRr.js';
6
- import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-B41Asm7D.js';
6
+ import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-CD2dBMet.js';
7
7
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
8
8
 
9
9
  /** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
@@ -1,4 +1,4 @@
1
- import { G as Graph } from './graph-30XSgtVX.js';
1
+ import { G as Graph } from './graph-BkIkog4h.js';
2
2
 
3
3
  /** Zustand-compatible Store API. */
4
4
  interface StoreApi<T> {
@@ -1,4 +1,4 @@
1
- import { C as CatchOptions, a as ClassifyResult, D as Decision, b as DecisionAction, G as GateController, c as GateOptions, P as PipelineGraph, S as StepRef, T as TerminalCause, d as decisionKeyOf, p as pipelineGraph } from './pipeline-graph-D8vKcO_p.js';
1
+ import { C as CatchOptions, a as ClassifyResult, D as Decision, b as DecisionAction, G as GateController, c as GateOptions, P as PipelineGraph, S as StepRef, T as TerminalCause, d as decisionKeyOf, p as pipelineGraph } from './pipeline-graph-CB4La-UW.js';
2
2
 
3
3
  /**
4
4
  * Orchestration patterns (roadmap §4.1).
@@ -1,8 +1,8 @@
1
1
  import { N as Node } from './node-BYInONRr.js';
2
- import { B as BaseAuditRecord } from './index-CusEP3Sv.js';
2
+ import { B as BaseAuditRecord } from './index-BQ1fR4li.js';
3
3
  import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
4
4
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
5
- import { a as GraphOptions, G as Graph } from './graph-30XSgtVX.js';
5
+ import { a as GraphOptions, G as Graph } from './graph-BkIkog4h.js';
6
6
 
7
7
  /**
8
8
  * CQRS patterns (roadmap §4.5).