@graphrefly/graphrefly 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backoff-HPZMEZNF.js +1 -0
- package/dist/cascading-Bp99ckMJ.d.ts +180 -0
- package/dist/cascading-CcAgRacD.d.cts +180 -0
- package/dist/chunk-22F4K3G7.js +1 -0
- package/dist/chunk-22SVXUPB.js +64 -0
- package/dist/chunk-2GQREQ6C.js +1 -0
- package/dist/chunk-3JXNEPCD.js +2 -0
- package/dist/chunk-4JJCCD5S.js +2 -0
- package/dist/chunk-4OFIQ66T.js +1 -0
- package/dist/chunk-4V4C7K56.js +1 -0
- package/dist/chunk-4VVTGLXJ.js +1 -0
- package/dist/chunk-567NWZ3T.js +1 -0
- package/dist/chunk-5JDE5JHE.js +1 -0
- package/dist/chunk-5QDBSZBV.js +1 -0
- package/dist/chunk-5Z4HDCO6.js +1 -0
- package/dist/chunk-63FFOHLA.js +1 -0
- package/dist/chunk-6QZNQS5B.js +1 -0
- package/dist/chunk-7JDLFI6N.js +1 -0
- package/dist/chunk-7TDOES3L.js +1 -0
- package/dist/chunk-A7IAQQ63.js +1 -0
- package/dist/chunk-AMG5VBHW.js +1 -0
- package/dist/chunk-AUY2YKCO.js +1 -0
- package/dist/chunk-AV3PIDFQ.js +1 -0
- package/dist/chunk-BA5URFYW.js +1 -0
- package/dist/chunk-BKPLTBL5.js +1 -0
- package/dist/chunk-BZP5T4X6.js +1 -0
- package/dist/chunk-CK2E7BTU.js +1 -0
- package/dist/chunk-CSJE2EKV.js +1 -0
- package/dist/chunk-E3AXATVZ.js +9 -0
- package/dist/chunk-ESMPEKEV.js +1 -0
- package/dist/chunk-GJR3P6JG.js +1 -0
- package/dist/chunk-GNCBXARM.js +1 -0
- package/dist/chunk-GPW2V3RE.js +1 -0
- package/dist/chunk-HSIEYSDY.js +1 -0
- package/dist/chunk-I6VIH3VA.js +1 -0
- package/dist/chunk-ISCENNXS.js +1 -0
- package/dist/chunk-JYOUF6UQ.js +1 -0
- package/dist/chunk-KASHOCF5.js +1 -0
- package/dist/chunk-LGSNR4LU.js +5 -0
- package/dist/chunk-LVGBLZM2.js +1 -0
- package/dist/chunk-MGKAO4EK.js +7 -0
- package/dist/chunk-NSG4C6BF.js +23 -0
- package/dist/chunk-OL33ZI6R.js +1 -0
- package/dist/chunk-PCZ35NXD.js +78 -0
- package/dist/chunk-PGMUCUHG.js +43 -0
- package/dist/chunk-QYADASLV.js +1 -0
- package/dist/chunk-RD52SNH2.js +1 -0
- package/dist/chunk-SLMYTGTU.js +1 -0
- package/dist/chunk-TWMEGG45.js +1 -0
- package/dist/chunk-UVJQ35G2.js +1 -0
- package/dist/chunk-VGTCGNRX.js +18 -0
- package/dist/chunk-VIMF6LGM.js +1 -0
- package/dist/chunk-VJLMUKOI.js +1 -0
- package/dist/chunk-VWPRPPKR.js +1 -0
- package/dist/chunk-W4TSQ6RJ.js +1 -0
- package/dist/chunk-WM7H7WTY.js +3 -0
- package/dist/chunk-Y32RJO24.js +1 -0
- package/dist/chunk-Y53B6NS4.js +1 -0
- package/dist/compat/index.cjs +15 -7656
- package/dist/compat/index.d.cts +15 -14
- package/dist/compat/index.d.ts +15 -14
- package/dist/compat/index.js +1 -50
- package/dist/compat/jotai/index.cjs +1 -2048
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/jotai/index.js +1 -9
- package/dist/compat/nanostores/index.cjs +1 -2175
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nanostores/index.js +1 -23
- package/dist/compat/nestjs/index.cjs +15 -6782
- package/dist/compat/nestjs/index.d.cts +7 -6
- package/dist/compat/nestjs/index.d.ts +7 -6
- package/dist/compat/nestjs/index.js +1 -83
- package/dist/compat/react/index.cjs +1 -141
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/react/index.js +1 -12
- package/dist/compat/solid/index.cjs +1 -128
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/solid/index.js +1 -12
- package/dist/compat/svelte/index.cjs +1 -131
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/svelte/index.js +1 -12
- package/dist/compat/vue/index.cjs +1 -146
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/vue/index.js +1 -12
- package/dist/compat/zustand/index.cjs +7 -4931
- package/dist/compat/zustand/index.d.cts +5 -5
- package/dist/compat/zustand/index.d.ts +5 -5
- package/dist/compat/zustand/index.js +1 -12
- package/dist/composite-BL-llbnE.d.ts +69 -0
- package/dist/composite-Dze--DaA.d.cts +69 -0
- package/dist/core/index.cjs +1 -2271
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +1 -110
- package/dist/extra/browser.cjs +1 -0
- package/dist/extra/browser.d.cts +3 -0
- package/dist/extra/browser.d.ts +3 -0
- package/dist/extra/browser.js +1 -0
- package/dist/extra/index.cjs +24 -9971
- package/dist/extra/index.d.cts +13 -6
- package/dist/extra/index.d.ts +13 -6
- package/dist/extra/index.js +1 -381
- package/dist/extra/node.cjs +3 -0
- package/dist/extra/node.d.cts +81 -0
- package/dist/extra/node.d.ts +81 -0
- package/dist/extra/node.js +2 -0
- package/dist/extra/operators.cjs +1 -0
- package/dist/extra/operators.d.cts +910 -0
- package/dist/extra/operators.d.ts +910 -0
- package/dist/extra/operators.js +1 -0
- package/dist/extra/reactive.cjs +1 -0
- package/dist/extra/reactive.d.cts +352 -0
- package/dist/extra/reactive.d.ts +352 -0
- package/dist/extra/reactive.js +1 -0
- package/dist/extra/sources.cjs +1 -2486
- package/dist/extra/sources.d.cts +6 -2
- package/dist/extra/sources.d.ts +6 -2
- package/dist/extra/sources.js +1 -57
- package/dist/extra/storage-browser.cjs +1 -0
- package/dist/extra/storage-browser.d.cts +71 -0
- package/dist/extra/storage-browser.d.ts +71 -0
- package/dist/extra/storage-browser.js +1 -0
- package/dist/extra/storage-core.cjs +1 -0
- package/dist/extra/storage-core.d.cts +98 -0
- package/dist/extra/storage-core.d.ts +98 -0
- package/dist/extra/storage-core.js +1 -0
- package/dist/extra/storage-node.cjs +2 -0
- package/dist/extra/storage-node.d.cts +60 -0
- package/dist/extra/storage-node.d.ts +60 -0
- package/dist/extra/storage-node.js +1 -0
- package/dist/fallback-BaTS7vVY.d.cts +258 -0
- package/dist/fallback-eOm3LNxP.d.ts +258 -0
- package/dist/graph/index.cjs +7 -5030
- package/dist/graph/index.d.cts +6 -5
- package/dist/graph/index.d.ts +6 -5
- package/dist/graph/index.js +1 -50
- package/dist/{graph-DNCrvZSn.d.cts → graph-DgohqXK-.d.cts} +151 -32
- package/dist/{graph-CCwGKLCm.d.ts → graph-Qjg9gWHI.d.ts} +151 -32
- package/dist/{index-BwfLUNw4.d.ts → index-2BVuRCI4.d.ts} +173 -2040
- package/dist/{index-BPVt8kqc.d.ts → index-2NvguqQA.d.ts} +10 -195
- package/dist/index-A65LZhoM.d.ts +186 -0
- package/dist/{index-DlLp-2Xn.d.cts → index-B-8FCEua.d.cts} +10 -195
- package/dist/index-B-gqvYel.d.ts +135 -0
- package/dist/index-B2PRuolf.d.cts +86 -0
- package/dist/index-BJqt9EwW.d.ts +231 -0
- package/dist/{index-BHlKbUwO.d.cts → index-BKjT5DiZ.d.cts} +173 -2040
- package/dist/{index-C0svESO4.d.ts → index-BM8BU4q6.d.ts} +1 -1
- package/dist/{index-VdHQMPy1.d.ts → index-BQaEnxBf.d.ts} +1 -1
- package/dist/index-BSfwiy5B.d.ts +192 -0
- package/dist/index-BTSkeCZs.d.cts +291 -0
- package/dist/index-BUVtw1Ay.d.cts +186 -0
- package/dist/index-BUi57v_p.d.ts +163 -0
- package/dist/{messaging-Gt4LPbyA.d.cts → index-BanNUILp.d.cts} +31 -93
- package/dist/{audit-DRlSzBu9.d.ts → index-BayHDRx6.d.cts} +27 -21
- package/dist/{index-B6D3QNSA.d.ts → index-BiyjsZ0m.d.ts} +148 -20
- package/dist/index-BqZ6vB2A.d.ts +2057 -0
- package/dist/{memory-li6FL5RM.d.ts → index-BuVidq3D.d.cts} +26 -26
- package/dist/index-Byh-xTyp.d.ts +105 -0
- package/dist/index-C08QPDcV.d.cts +321 -0
- package/dist/{demo-shell-BDkOptd6.d.ts → index-C66RJiX8.d.ts} +14 -14
- package/dist/index-C8RfjffH.d.ts +291 -0
- package/dist/index-CA1Cu7Ud.d.ts +873 -0
- package/dist/{index-ByQxazQJ.d.cts → index-CABbltIu.d.cts} +1 -1
- package/dist/{index-VHqptjhu.d.cts → index-CHEBsnYv.d.cts} +1 -1
- package/dist/{index-BuEoe-Qu.d.ts → index-CI0yDnLp.d.ts} +9 -9
- package/dist/{index-B9B7_HEY.d.ts → index-CJ45TW-h.d.ts} +1 -1
- package/dist/{index-CO8uBlUh.d.cts → index-CJZKZoo4.d.cts} +148 -20
- package/dist/{index-wEn0eFe8.d.ts → index-CX2tFJL1.d.ts} +1 -1
- package/dist/{index-BaSM3aYt.d.ts → index-CcWOJ6F0.d.ts} +3 -3
- package/dist/{audit-ClmqGOCx.d.cts → index-CiaVoZGo.d.ts} +27 -21
- package/dist/{index-Dzk2hrlR.d.ts → index-Ct5CWc4E.d.ts} +1 -1
- package/dist/index-D38duMCv.d.cts +357 -0
- package/dist/{index-C8oil6M6.d.ts → index-D5XJ2tSx.d.ts} +30 -6
- package/dist/{index-DO_6JN9Z.d.cts → index-D80do5jX.d.cts} +1 -1
- package/dist/index-D9HKAH_-.d.cts +231 -0
- package/dist/index-DBe_8XW5.d.cts +143 -0
- package/dist/{memory-C6Z2tGpC.d.cts → index-DCeTyFlB.d.ts} +26 -26
- package/dist/index-DDy8eeXS.d.ts +321 -0
- package/dist/index-DJ5oNBc8.d.ts +143 -0
- package/dist/{index-CI3DprxP.d.cts → index-DP0_O3ls.d.cts} +30 -6
- package/dist/{demo-shell-Crid1WdR.d.cts → index-DX8xS-yB.d.cts} +14 -14
- package/dist/index-DiZejfCI.d.cts +2057 -0
- package/dist/index-DknyJ2Fu.d.cts +163 -0
- package/dist/index-DoWMs-Kk.d.cts +135 -0
- package/dist/{messaging-XDoYablx.d.ts → index-DuB5aO4-.d.ts} +31 -93
- package/dist/index-DwjJGKxV.d.ts +357 -0
- package/dist/{index-B6EhDnjH.d.cts → index-H_oxVec5.d.cts} +1 -1
- package/dist/{index-3lsddbbS.d.ts → index-IMAHq-ia.d.ts} +1 -1
- package/dist/{index-B1tloyhO.d.cts → index-U1nir7MX.d.cts} +1 -1
- package/dist/index-Vg7tORgk.d.ts +86 -0
- package/dist/index-dig-r2tQ.d.cts +873 -0
- package/dist/{index-CxFrXH4m.d.ts → index-gsT79Xu9.d.ts} +1 -1
- package/dist/{index-D8wS_PeY.d.cts → index-i99Ka8s7.d.cts} +9 -9
- package/dist/index-iKkyJosF.d.cts +105 -0
- package/dist/{index-Xi3u0HCQ.d.cts → index-jleeotBT.d.cts} +1 -1
- package/dist/{index-DVGiGFGT.d.cts → index-kykKWwV-.d.cts} +3 -3
- package/dist/index-vgcLF5TH.d.cts +192 -0
- package/dist/{index-DYme44FM.d.cts → index-y1RllPn4.d.cts} +1 -1
- package/dist/index.cjs +151 -24142
- package/dist/index.d.cts +69 -2099
- package/dist/index.d.ts +69 -2099
- package/dist/index.js +1 -3868
- package/dist/{meta-CbznRPYJ.d.ts → meta-CX7YsOzp.d.cts} +5 -5
- package/dist/{meta-BxCA7rcr.d.cts → meta-CckhhFRd.d.ts} +5 -5
- package/dist/{node-BmerH3kS.d.cts → node-Dd6wHSib.d.cts} +71 -11
- package/dist/{node-BmerH3kS.d.ts → node-Dd6wHSib.d.ts} +71 -11
- package/dist/{observable-BgGUwcqp.d.ts → observable-BZJgo616.d.ts} +1 -1
- package/dist/{observable-DJt_AxzQ.d.cts → observable-kwzpLvbi.d.cts} +1 -1
- package/dist/patterns/ai/browser.cjs +25 -0
- package/dist/patterns/ai/browser.d.cts +127 -0
- package/dist/patterns/ai/browser.d.ts +127 -0
- package/dist/patterns/ai/browser.js +3 -0
- package/dist/patterns/ai/index.cjs +92 -0
- package/dist/patterns/ai/index.d.cts +17 -0
- package/dist/patterns/ai/index.d.ts +17 -0
- package/dist/patterns/ai/index.js +1 -0
- package/dist/patterns/ai/node.cjs +2 -0
- package/dist/patterns/ai/node.d.cts +58 -0
- package/dist/patterns/ai/node.d.ts +58 -0
- package/dist/patterns/ai/node.js +1 -0
- package/dist/patterns/audit/index.cjs +7 -0
- package/dist/patterns/audit/index.d.cts +6 -0
- package/dist/patterns/audit/index.d.ts +6 -0
- package/dist/patterns/audit/index.js +1 -0
- package/dist/patterns/cqrs/index.cjs +7 -0
- package/dist/patterns/cqrs/index.d.cts +5 -0
- package/dist/patterns/cqrs/index.d.ts +5 -0
- package/dist/patterns/cqrs/index.js +1 -0
- package/dist/patterns/demo-shell/index.cjs +8 -0
- package/dist/patterns/demo-shell/index.d.cts +6 -0
- package/dist/patterns/demo-shell/index.d.ts +6 -0
- package/dist/patterns/demo-shell/index.js +1 -0
- package/dist/patterns/domain-templates/index.cjs +7 -0
- package/dist/patterns/domain-templates/index.d.cts +5 -0
- package/dist/patterns/domain-templates/index.d.ts +5 -0
- package/dist/patterns/domain-templates/index.js +1 -0
- package/dist/patterns/graphspec/index.cjs +84 -0
- package/dist/patterns/graphspec/index.d.cts +7 -0
- package/dist/patterns/graphspec/index.d.ts +7 -0
- package/dist/patterns/graphspec/index.js +1 -0
- package/dist/patterns/guarded-execution/index.cjs +7 -0
- package/dist/patterns/guarded-execution/index.d.cts +7 -0
- package/dist/patterns/guarded-execution/index.d.ts +7 -0
- package/dist/patterns/guarded-execution/index.js +1 -0
- package/dist/patterns/harness/index.cjs +49 -0
- package/dist/patterns/harness/index.d.cts +11 -0
- package/dist/patterns/harness/index.d.ts +11 -0
- package/dist/patterns/harness/index.js +1 -0
- package/dist/patterns/job-queue/index.cjs +7 -0
- package/dist/patterns/job-queue/index.d.cts +5 -0
- package/dist/patterns/job-queue/index.d.ts +5 -0
- package/dist/patterns/job-queue/index.js +1 -0
- package/dist/patterns/lens/index.cjs +7 -0
- package/dist/patterns/lens/index.d.cts +7 -0
- package/dist/patterns/lens/index.d.ts +7 -0
- package/dist/patterns/lens/index.js +1 -0
- package/dist/patterns/memory/index.cjs +7 -0
- package/dist/patterns/memory/index.d.cts +5 -0
- package/dist/patterns/memory/index.d.ts +5 -0
- package/dist/patterns/memory/index.js +1 -0
- package/dist/patterns/messaging/index.cjs +7 -0
- package/dist/patterns/messaging/index.d.cts +5 -0
- package/dist/patterns/messaging/index.d.ts +5 -0
- package/dist/patterns/messaging/index.js +1 -0
- package/dist/patterns/orchestration/index.cjs +7 -0
- package/dist/patterns/orchestration/index.d.cts +6 -0
- package/dist/patterns/orchestration/index.d.ts +6 -0
- package/dist/patterns/orchestration/index.js +1 -0
- package/dist/patterns/reactive-layout/index.cjs +8 -6444
- package/dist/patterns/reactive-layout/index.d.cts +6 -6
- package/dist/patterns/reactive-layout/index.d.ts +6 -6
- package/dist/patterns/reactive-layout/index.js +1 -56
- package/dist/patterns/reduction/index.cjs +7 -0
- package/dist/patterns/reduction/index.d.cts +5 -0
- package/dist/patterns/reduction/index.d.ts +5 -0
- package/dist/patterns/reduction/index.js +1 -0
- package/dist/patterns/refine-loop/index.cjs +9 -0
- package/dist/patterns/refine-loop/index.d.cts +7 -0
- package/dist/patterns/refine-loop/index.d.ts +7 -0
- package/dist/patterns/refine-loop/index.js +1 -0
- package/dist/patterns/resilient-pipeline/index.cjs +1 -0
- package/dist/patterns/resilient-pipeline/index.d.cts +7 -0
- package/dist/patterns/resilient-pipeline/index.d.ts +7 -0
- package/dist/patterns/resilient-pipeline/index.js +1 -0
- package/dist/patterns/surface/index.cjs +15 -0
- package/dist/patterns/surface/index.d.cts +8 -0
- package/dist/patterns/surface/index.d.ts +8 -0
- package/dist/patterns/surface/index.js +1 -0
- package/dist/{reactive-layout-u5Ulnqag.d.ts → reactive-layout-BkBwVvwm.d.ts} +2 -2
- package/dist/{reactive-layout-MQP--J3F.d.cts → reactive-layout-PiFwVaWS.d.cts} +2 -2
- package/dist/reactive-log-1QTyx10a.d.ts +190 -0
- package/dist/reactive-log-BiVoSxke.d.cts +190 -0
- package/dist/{composite-aUCvjZVR.d.ts → reactive-map-CwO_COHy.d.cts} +2 -67
- package/dist/{composite-C7PcQvcs.d.cts → reactive-map-FeuTVAJb.d.ts} +2 -67
- package/dist/resilience-CBfYJW5C.d.ts +493 -0
- package/dist/resilience-XRUF267O.js +1 -0
- package/dist/resilience-uBz4yvYB.d.cts +493 -0
- package/dist/{sugar-CCOxXK1e.d.ts → sugar-CY-MCfZ9.d.ts} +17 -15
- package/dist/{sugar-D02n5JjF.d.cts → sugar-DHttV0LX.d.cts} +17 -15
- package/dist/topology-tree-CVjt2gp7.d.cts +25 -0
- package/dist/topology-tree-one6oSKY.d.ts +25 -0
- package/dist/types-O3GzJY2U.d.cts +401 -0
- package/dist/types-u64Ose53.d.ts +401 -0
- package/package.json +252 -22
- package/dist/ai-CaR_912Q.d.cts +0 -1033
- package/dist/ai-WlRltJV7.d.ts +0 -1033
- package/dist/chunk-3ZWCKRHX.js +0 -117
- package/dist/chunk-3ZWCKRHX.js.map +0 -1
- package/dist/chunk-7TAQJHQV.js +0 -103
- package/dist/chunk-7TAQJHQV.js.map +0 -1
- package/dist/chunk-APFNLIRG.js +0 -62
- package/dist/chunk-APFNLIRG.js.map +0 -1
- package/dist/chunk-AT5LKYNL.js +0 -395
- package/dist/chunk-AT5LKYNL.js.map +0 -1
- package/dist/chunk-BQ6RQQFF.js +0 -5087
- package/dist/chunk-BQ6RQQFF.js.map +0 -1
- package/dist/chunk-BVZYTZ5H.js +0 -599
- package/dist/chunk-BVZYTZ5H.js.map +0 -1
- package/dist/chunk-DST5DKZS.js +0 -1371
- package/dist/chunk-DST5DKZS.js.map +0 -1
- package/dist/chunk-GTE6PWRZ.js +0 -866
- package/dist/chunk-GTE6PWRZ.js.map +0 -1
- package/dist/chunk-HXZEYDUR.js +0 -94
- package/dist/chunk-HXZEYDUR.js.map +0 -1
- package/dist/chunk-J22W6HV3.js +0 -107
- package/dist/chunk-J22W6HV3.js.map +0 -1
- package/dist/chunk-J2VBW3DZ.js +0 -302
- package/dist/chunk-J2VBW3DZ.js.map +0 -1
- package/dist/chunk-JSCT3CR4.js +0 -38
- package/dist/chunk-JSCT3CR4.js.map +0 -1
- package/dist/chunk-JWBCY4NC.js +0 -330
- package/dist/chunk-JWBCY4NC.js.map +0 -1
- package/dist/chunk-K2AUJHVP.js +0 -2251
- package/dist/chunk-K2AUJHVP.js.map +0 -1
- package/dist/chunk-MJ2NKQQL.js +0 -119
- package/dist/chunk-MJ2NKQQL.js.map +0 -1
- package/dist/chunk-N6UR7YVY.js +0 -198
- package/dist/chunk-N6UR7YVY.js.map +0 -1
- package/dist/chunk-NC6S43JJ.js +0 -456
- package/dist/chunk-NC6S43JJ.js.map +0 -1
- package/dist/chunk-OFVJBJXR.js +0 -98
- package/dist/chunk-OFVJBJXR.js.map +0 -1
- package/dist/chunk-OHISZPOJ.js +0 -97
- package/dist/chunk-OHISZPOJ.js.map +0 -1
- package/dist/chunk-OU5CQKNW.js +0 -102
- package/dist/chunk-OU5CQKNW.js.map +0 -1
- package/dist/chunk-PF7GRZMW.js +0 -2712
- package/dist/chunk-PF7GRZMW.js.map +0 -1
- package/dist/chunk-PHOUUNK7.js +0 -2291
- package/dist/chunk-PHOUUNK7.js.map +0 -1
- package/dist/chunk-RNHBMHKA.js +0 -1665
- package/dist/chunk-RNHBMHKA.js.map +0 -1
- package/dist/chunk-SX52TAR4.js +0 -110
- package/dist/chunk-SX52TAR4.js.map +0 -1
- package/dist/chunk-VYPWMZ6H.js +0 -98
- package/dist/chunk-VYPWMZ6H.js.map +0 -1
- package/dist/chunk-WBZOVTYK.js +0 -171
- package/dist/chunk-WBZOVTYK.js.map +0 -1
- package/dist/chunk-WKNUIZOY.js +0 -354
- package/dist/chunk-WKNUIZOY.js.map +0 -1
- package/dist/chunk-X3VMZYBT.js +0 -713
- package/dist/chunk-X3VMZYBT.js.map +0 -1
- package/dist/chunk-X5R3GL6H.js +0 -525
- package/dist/chunk-X5R3GL6H.js.map +0 -1
- package/dist/chunk-XGPU467M.js +0 -136
- package/dist/chunk-XGPU467M.js.map +0 -1
- package/dist/compat/index.cjs.map +0 -1
- package/dist/compat/index.js.map +0 -1
- package/dist/compat/jotai/index.cjs.map +0 -1
- package/dist/compat/jotai/index.js.map +0 -1
- package/dist/compat/nanostores/index.cjs.map +0 -1
- package/dist/compat/nanostores/index.js.map +0 -1
- package/dist/compat/nestjs/index.cjs.map +0 -1
- package/dist/compat/nestjs/index.js.map +0 -1
- package/dist/compat/react/index.cjs.map +0 -1
- package/dist/compat/react/index.js.map +0 -1
- package/dist/compat/solid/index.cjs.map +0 -1
- package/dist/compat/solid/index.js.map +0 -1
- package/dist/compat/svelte/index.cjs.map +0 -1
- package/dist/compat/svelte/index.js.map +0 -1
- package/dist/compat/vue/index.cjs.map +0 -1
- package/dist/compat/vue/index.js.map +0 -1
- package/dist/compat/zustand/index.cjs.map +0 -1
- package/dist/compat/zustand/index.js.map +0 -1
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/extra/index.cjs.map +0 -1
- package/dist/extra/index.js.map +0 -1
- package/dist/extra/sources.cjs.map +0 -1
- package/dist/extra/sources.js.map +0 -1
- package/dist/graph/index.cjs.map +0 -1
- package/dist/graph/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/patterns/ai.cjs +0 -7930
- package/dist/patterns/ai.cjs.map +0 -1
- package/dist/patterns/ai.d.cts +0 -10
- package/dist/patterns/ai.d.ts +0 -10
- package/dist/patterns/ai.js +0 -71
- package/dist/patterns/ai.js.map +0 -1
- package/dist/patterns/audit.cjs +0 -5805
- package/dist/patterns/audit.cjs.map +0 -1
- package/dist/patterns/audit.d.cts +0 -6
- package/dist/patterns/audit.d.ts +0 -6
- package/dist/patterns/audit.js +0 -29
- package/dist/patterns/audit.js.map +0 -1
- package/dist/patterns/demo-shell.cjs +0 -5604
- package/dist/patterns/demo-shell.cjs.map +0 -1
- package/dist/patterns/demo-shell.d.cts +0 -6
- package/dist/patterns/demo-shell.d.ts +0 -6
- package/dist/patterns/demo-shell.js +0 -15
- package/dist/patterns/demo-shell.js.map +0 -1
- package/dist/patterns/memory.cjs +0 -5283
- package/dist/patterns/memory.cjs.map +0 -1
- package/dist/patterns/memory.d.cts +0 -5
- package/dist/patterns/memory.d.ts +0 -5
- package/dist/patterns/memory.js +0 -20
- package/dist/patterns/memory.js.map +0 -1
- package/dist/patterns/reactive-layout/index.cjs.map +0 -1
- package/dist/patterns/reactive-layout/index.js.map +0 -1
- package/dist/storage-CMjUUuxn.d.ts +0 -190
- package/dist/storage-DdWlZo6U.d.cts +0 -190
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { a as Node } from './node-Dd6wHSib.cjs';
|
|
2
|
+
import { a as GraphOptions, G as Graph } from './graph-DgohqXK-.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Domain templates (roadmap §8.2).
|
|
6
|
+
*
|
|
7
|
+
* Opinionated Graph factories for common "info → action" domains.
|
|
8
|
+
* Each template wires up §8.1 reduction primitives (stratify, funnel, feedback,
|
|
9
|
+
* budgetGate, scorer) with domain-specific stages. Users fork/extend by
|
|
10
|
+
* accessing named nodes and swapping stages.
|
|
11
|
+
*
|
|
12
|
+
* **Source injection (option B):** templates accept a `source` node, not a
|
|
13
|
+
* hardcoded adapter. Pass `fromOTel(...)`, `fromGitHook(...)`, or a test
|
|
14
|
+
* `state()` — the topology is the same.
|
|
15
|
+
*
|
|
16
|
+
* @module
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** Stratification branch config for observability signals. */
|
|
20
|
+
type ObservabilityBranch = {
|
|
21
|
+
name: string;
|
|
22
|
+
classify: (value: unknown) => boolean;
|
|
23
|
+
};
|
|
24
|
+
/** Options for {@link observabilityGraph}. */
|
|
25
|
+
type ObservabilityGraphOptions = GraphOptions & {
|
|
26
|
+
/** Ingested signal source (e.g. fromOTel(...) or test state). */
|
|
27
|
+
source: Node<unknown>;
|
|
28
|
+
/**
|
|
29
|
+
* Classification rules for signal stratification.
|
|
30
|
+
* Default: errors / traces / metrics branches.
|
|
31
|
+
*/
|
|
32
|
+
branches?: ObservabilityBranch[];
|
|
33
|
+
/**
|
|
34
|
+
* Correlation function: receives stratified branch values and produces
|
|
35
|
+
* correlated insights. Default: identity pass-through.
|
|
36
|
+
*/
|
|
37
|
+
correlate?: (values: unknown[]) => unknown;
|
|
38
|
+
/**
|
|
39
|
+
* SLO verification function: returns a verification result for a
|
|
40
|
+
* correlated insight. Default: always passes.
|
|
41
|
+
*/
|
|
42
|
+
sloCheck?: (value: unknown) => unknown;
|
|
43
|
+
/**
|
|
44
|
+
* Scorer weights for alert prioritization. One per branch.
|
|
45
|
+
* Default: equal weights [1, 1, 1].
|
|
46
|
+
*/
|
|
47
|
+
weights?: number[];
|
|
48
|
+
/** Max feedback iterations for false-positive learning. Default: 5. */
|
|
49
|
+
maxFeedbackIterations?: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* OTel ingest → stratified reduction → correlation → SLO verification →
|
|
53
|
+
* alert prioritization → output.
|
|
54
|
+
*
|
|
55
|
+
* Well-known node names:
|
|
56
|
+
* - `"source"` — injected signal source
|
|
57
|
+
* - `"stratify::branch/<name>"` — per-branch classification
|
|
58
|
+
* - `"correlate"` — cross-branch correlation
|
|
59
|
+
* - `"slo_value"`, `"slo_verified"` — SLO verification pair
|
|
60
|
+
* - `"alerts"` — scored, prioritized output
|
|
61
|
+
* - `"output"` — final output (alias for alerts)
|
|
62
|
+
*
|
|
63
|
+
* @category patterns
|
|
64
|
+
*/
|
|
65
|
+
declare function observabilityGraph(name: string, opts: ObservabilityGraphOptions): Graph;
|
|
66
|
+
/** A structured issue extracted from raw findings. */
|
|
67
|
+
type ExtractedIssue = {
|
|
68
|
+
id: string;
|
|
69
|
+
title: string;
|
|
70
|
+
severity: number;
|
|
71
|
+
source: string;
|
|
72
|
+
raw: unknown;
|
|
73
|
+
};
|
|
74
|
+
/** Options for {@link issueTrackerGraph}. */
|
|
75
|
+
type IssueTrackerGraphOptions = GraphOptions & {
|
|
76
|
+
/** Findings source (e.g. fromGitHook(...), fromFSWatch(...)). */
|
|
77
|
+
source: Node<unknown>;
|
|
78
|
+
/**
|
|
79
|
+
* Extract structured issues from raw findings.
|
|
80
|
+
* Default: wraps raw value as a single issue.
|
|
81
|
+
*/
|
|
82
|
+
extract?: (raw: unknown) => ExtractedIssue;
|
|
83
|
+
/**
|
|
84
|
+
* Verify an extracted issue (assertion check).
|
|
85
|
+
* Default: always valid.
|
|
86
|
+
*/
|
|
87
|
+
verify?: (issue: ExtractedIssue) => unknown;
|
|
88
|
+
/**
|
|
89
|
+
* Detect regression by comparing against known patterns.
|
|
90
|
+
* Receives (current issue, known patterns).
|
|
91
|
+
* Default: no regression detected.
|
|
92
|
+
*/
|
|
93
|
+
detectRegression?: (issue: ExtractedIssue, known: unknown) => unknown;
|
|
94
|
+
/** Max feedback iterations for re-scanning. Default: 3. */
|
|
95
|
+
maxFeedbackIterations?: number;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Findings ingest → extraction → verification → regression detection →
|
|
99
|
+
* distillation → prioritized queue.
|
|
100
|
+
*
|
|
101
|
+
* Well-known node names:
|
|
102
|
+
* - `"source"` — injected findings source
|
|
103
|
+
* - `"extract"` — structured issue extraction
|
|
104
|
+
* - `"verify"` — issue verification
|
|
105
|
+
* - `"known_patterns"` — accumulated known issue patterns (state)
|
|
106
|
+
* - `"regression"` — regression detection
|
|
107
|
+
* - `"priority"` — severity-based prioritization
|
|
108
|
+
* - `"output"` — final prioritized output
|
|
109
|
+
*
|
|
110
|
+
* @category patterns
|
|
111
|
+
*/
|
|
112
|
+
declare function issueTrackerGraph(name: string, opts: IssueTrackerGraphOptions): Graph;
|
|
113
|
+
/** Classification result from LLM moderation. */
|
|
114
|
+
type ModerationResult = {
|
|
115
|
+
label: "safe" | "review" | "block";
|
|
116
|
+
confidence: number;
|
|
117
|
+
reason?: string;
|
|
118
|
+
original: unknown;
|
|
119
|
+
};
|
|
120
|
+
/** Options for {@link contentModerationGraph}. */
|
|
121
|
+
type ContentModerationGraphOptions = GraphOptions & {
|
|
122
|
+
/** Content source (text/multimedia ingest). */
|
|
123
|
+
source: Node<unknown>;
|
|
124
|
+
/**
|
|
125
|
+
* Classification function: returns a ModerationResult.
|
|
126
|
+
* Default: labels everything "review" with confidence 0.5.
|
|
127
|
+
*/
|
|
128
|
+
classify?: (content: unknown) => ModerationResult;
|
|
129
|
+
/** System prompt for LLM classification. */
|
|
130
|
+
systemPrompt?: string;
|
|
131
|
+
/** Scorer weights: [safe, review, block]. Default: [0.1, 1, 2]. */
|
|
132
|
+
weights?: [number, number, number];
|
|
133
|
+
/** Max feedback iterations for policy refinement. Default: 5. */
|
|
134
|
+
maxFeedbackIterations?: number;
|
|
135
|
+
/** Max review queue size. When set, oldest entries are trimmed on overflow. */
|
|
136
|
+
maxQueueSize?: number;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Content ingest → LLM/rule classification → stratified routing (safe/review/block) →
|
|
140
|
+
* human review queue → scorer → feedback (false positives → policy refinement) → output.
|
|
141
|
+
*
|
|
142
|
+
* Well-known node names:
|
|
143
|
+
* - `"source"` — content ingest
|
|
144
|
+
* - `"classify"` — LLM or rule-based classification
|
|
145
|
+
* - `"stratify::branch/safe"`, `"stratify::branch/review"`, `"stratify::branch/block"` — routed branches
|
|
146
|
+
* - `"review_queue"` — state node for human review items
|
|
147
|
+
* - `"priority"` — scored priority output
|
|
148
|
+
* - `"policy"` — writable state for policy refinement
|
|
149
|
+
* - `"output"` — final moderation output
|
|
150
|
+
*
|
|
151
|
+
* @category patterns
|
|
152
|
+
*/
|
|
153
|
+
declare function contentModerationGraph(name: string, opts: ContentModerationGraphOptions): Graph;
|
|
154
|
+
/** Schema validation result. */
|
|
155
|
+
type ValidationResult = {
|
|
156
|
+
valid: boolean;
|
|
157
|
+
errors: string[];
|
|
158
|
+
record: unknown;
|
|
159
|
+
};
|
|
160
|
+
/** Anomaly detection result. */
|
|
161
|
+
type AnomalyResult = {
|
|
162
|
+
anomaly: boolean;
|
|
163
|
+
score: number;
|
|
164
|
+
detail?: string;
|
|
165
|
+
record: unknown;
|
|
166
|
+
};
|
|
167
|
+
/** Options for {@link dataQualityGraph}. */
|
|
168
|
+
type DataQualityGraphOptions = GraphOptions & {
|
|
169
|
+
/** Data source (e.g. fromPrisma(...), fromKysely(...)). */
|
|
170
|
+
source: Node<unknown>;
|
|
171
|
+
/**
|
|
172
|
+
* Schema validation function.
|
|
173
|
+
* Default: always valid.
|
|
174
|
+
*/
|
|
175
|
+
validate?: (record: unknown) => ValidationResult;
|
|
176
|
+
/**
|
|
177
|
+
* Anomaly detection function.
|
|
178
|
+
* Default: no anomaly.
|
|
179
|
+
*/
|
|
180
|
+
detectAnomaly?: (record: unknown) => AnomalyResult;
|
|
181
|
+
/**
|
|
182
|
+
* Drift detection: compares current record against baseline.
|
|
183
|
+
* Default: no drift.
|
|
184
|
+
*/
|
|
185
|
+
detectDrift?: (record: unknown, baseline: unknown) => unknown;
|
|
186
|
+
/**
|
|
187
|
+
* Remediation suggestion function.
|
|
188
|
+
* Default: no suggestion.
|
|
189
|
+
*/
|
|
190
|
+
suggest?: (result: {
|
|
191
|
+
validation: ValidationResult;
|
|
192
|
+
anomaly: AnomalyResult;
|
|
193
|
+
}) => unknown;
|
|
194
|
+
/** Max feedback iterations for rule refinement. Default: 3. */
|
|
195
|
+
maxFeedbackIterations?: number;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Data ingest → schema validation → anomaly detection → drift alerting →
|
|
199
|
+
* auto-remediation suggestions → output.
|
|
200
|
+
*
|
|
201
|
+
* Well-known node names:
|
|
202
|
+
* - `"source"` — data ingest
|
|
203
|
+
* - `"validate"` — schema validation
|
|
204
|
+
* - `"anomaly"` — anomaly detection
|
|
205
|
+
* - `"baseline"` — rolling baseline state
|
|
206
|
+
* - `"drift"` — drift detection
|
|
207
|
+
* - `"remediate"` — auto-remediation suggestions
|
|
208
|
+
* - `"output"` — combined quality report
|
|
209
|
+
*
|
|
210
|
+
* @category patterns
|
|
211
|
+
*/
|
|
212
|
+
declare function dataQualityGraph(name: string, opts: DataQualityGraphOptions): Graph;
|
|
213
|
+
|
|
214
|
+
type index_AnomalyResult = AnomalyResult;
|
|
215
|
+
type index_ContentModerationGraphOptions = ContentModerationGraphOptions;
|
|
216
|
+
type index_DataQualityGraphOptions = DataQualityGraphOptions;
|
|
217
|
+
type index_ExtractedIssue = ExtractedIssue;
|
|
218
|
+
type index_IssueTrackerGraphOptions = IssueTrackerGraphOptions;
|
|
219
|
+
type index_ModerationResult = ModerationResult;
|
|
220
|
+
type index_ObservabilityBranch = ObservabilityBranch;
|
|
221
|
+
type index_ObservabilityGraphOptions = ObservabilityGraphOptions;
|
|
222
|
+
type index_ValidationResult = ValidationResult;
|
|
223
|
+
declare const index_contentModerationGraph: typeof contentModerationGraph;
|
|
224
|
+
declare const index_dataQualityGraph: typeof dataQualityGraph;
|
|
225
|
+
declare const index_issueTrackerGraph: typeof issueTrackerGraph;
|
|
226
|
+
declare const index_observabilityGraph: typeof observabilityGraph;
|
|
227
|
+
declare namespace index {
|
|
228
|
+
export { type index_AnomalyResult as AnomalyResult, type index_ContentModerationGraphOptions as ContentModerationGraphOptions, type index_DataQualityGraphOptions as DataQualityGraphOptions, type index_ExtractedIssue as ExtractedIssue, type index_IssueTrackerGraphOptions as IssueTrackerGraphOptions, type index_ModerationResult as ModerationResult, type index_ObservabilityBranch as ObservabilityBranch, type index_ObservabilityGraphOptions as ObservabilityGraphOptions, type index_ValidationResult as ValidationResult, index_contentModerationGraph as contentModerationGraph, index_dataQualityGraph as dataQualityGraph, index_issueTrackerGraph as issueTrackerGraph, index_observabilityGraph as observabilityGraph };
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export { type AnomalyResult as A, type ContentModerationGraphOptions as C, type DataQualityGraphOptions as D, type ExtractedIssue as E, type IssueTrackerGraphOptions as I, type ModerationResult as M, type ObservabilityBranch as O, type ValidationResult as V, type ObservabilityGraphOptions as a, issueTrackerGraph as b, contentModerationGraph as c, dataQualityGraph as d, index as i, observabilityGraph as o };
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { a as Node, N as NodeOptions, c as NodeActions } from './node-Dd6wHSib.cjs';
|
|
2
|
+
import { D as DerivedFn } from './sugar-DHttV0LX.cjs';
|
|
3
|
+
import { G as Graph, a as GraphOptions } from './graph-DgohqXK-.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Orchestration patterns (roadmap §4.1).
|
|
7
|
+
*
|
|
8
|
+
* Domain-layer helpers that build workflow shapes on top of core + extra primitives.
|
|
9
|
+
* Exported under the `patterns.orchestration` namespace to avoid collisions with
|
|
10
|
+
* Phase 2 operator names (for example `gate`, `forEach`).
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
type StepRef = string | Node<unknown>;
|
|
14
|
+
type OrchestrationMeta = {
|
|
15
|
+
orchestration?: true;
|
|
16
|
+
orchestration_type?: string;
|
|
17
|
+
};
|
|
18
|
+
type OrchestrationStepOptions = Omit<NodeOptions<unknown>, "describeKind" | "name" | "meta"> & {
|
|
19
|
+
deps?: ReadonlyArray<StepRef>;
|
|
20
|
+
meta?: Record<string, unknown> & OrchestrationMeta;
|
|
21
|
+
};
|
|
22
|
+
type BranchResult<T> = {
|
|
23
|
+
branch: "then" | "else";
|
|
24
|
+
value: T;
|
|
25
|
+
};
|
|
26
|
+
type SensorControls<T> = {
|
|
27
|
+
node: Node<T>;
|
|
28
|
+
push(value: T): void;
|
|
29
|
+
error(err: unknown): void;
|
|
30
|
+
complete(): void;
|
|
31
|
+
};
|
|
32
|
+
type LoopOptions = Omit<OrchestrationStepOptions, "deps"> & {
|
|
33
|
+
iterations?: number | StepRef;
|
|
34
|
+
};
|
|
35
|
+
type SubPipelineBuilder = (sub: Graph) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Creates an orchestration graph container.
|
|
38
|
+
*/
|
|
39
|
+
declare function pipeline(name: string, opts?: GraphOptions): Graph;
|
|
40
|
+
/**
|
|
41
|
+
* Registers a workflow task node.
|
|
42
|
+
*/
|
|
43
|
+
declare function task<T>(graph: Graph, name: string, run: DerivedFn<T>, opts?: OrchestrationStepOptions): Node<T>;
|
|
44
|
+
/**
|
|
45
|
+
* Emits tagged branch outcomes (`then` / `else`) for each source value.
|
|
46
|
+
*/
|
|
47
|
+
declare function branch<T>(graph: Graph, name: string, source: StepRef, predicate: (value: T) => boolean, opts?: Omit<OrchestrationStepOptions, "deps">): Node<BranchResult<T>>;
|
|
48
|
+
type ApprovalOptions = Omit<OrchestrationStepOptions, "deps"> & {
|
|
49
|
+
isApproved?: (value: unknown) => boolean;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Human/LLM approval gate over a source value.
|
|
53
|
+
*/
|
|
54
|
+
declare function approval<T>(graph: Graph, name: string, source: StepRef, approver: StepRef, opts?: ApprovalOptions): Node<T>;
|
|
55
|
+
interface GateOptions {
|
|
56
|
+
/** Maximum queue size. Oldest values are FIFO-dropped when exceeded. Default: Infinity. */
|
|
57
|
+
maxPending?: number;
|
|
58
|
+
/** Start in open mode (auto-approve). Default: false. */
|
|
59
|
+
startOpen?: boolean;
|
|
60
|
+
meta?: Record<string, unknown>;
|
|
61
|
+
}
|
|
62
|
+
/** Control surface returned by {@link gate}. */
|
|
63
|
+
interface GateController<T> {
|
|
64
|
+
/** The output node registered in the graph (subscribe to receive approved values). */
|
|
65
|
+
node: Node<T>;
|
|
66
|
+
/** Reactive queue of values waiting for approval. */
|
|
67
|
+
pending: Node<T[]>;
|
|
68
|
+
/** Derived count of pending items. */
|
|
69
|
+
count: Node<number>;
|
|
70
|
+
/** Whether the gate is currently open (auto-approving). */
|
|
71
|
+
isOpen: Node<boolean>;
|
|
72
|
+
/** Approve and forward the next `count` pending values (default: 1). */
|
|
73
|
+
approve(count?: number): void;
|
|
74
|
+
/** Reject (discard) the next `count` pending values (default: 1). */
|
|
75
|
+
reject(count?: number): void;
|
|
76
|
+
/**
|
|
77
|
+
* Transform and forward `count` pending values (default: 1).
|
|
78
|
+
* `fn` receives `(value, index, pending)` — Array.map-style.
|
|
79
|
+
*/
|
|
80
|
+
modify(fn: (value: T, index: number, pending: readonly T[]) => T, count?: number): void;
|
|
81
|
+
/** Flush all pending values and auto-approve future values. */
|
|
82
|
+
open(): void;
|
|
83
|
+
/** Re-enable manual gating (stop auto-approving). */
|
|
84
|
+
close(): void;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Human-in-the-loop gate: queues incoming values from `source` and lets an external
|
|
88
|
+
* controller {@link GateController.approve approve}, {@link GateController.reject reject},
|
|
89
|
+
* or {@link GateController.modify modify} them before forwarding downstream.
|
|
90
|
+
*
|
|
91
|
+
* Observable surfaces (`pending`, `count`, `isOpen`) are reactive nodes registered in
|
|
92
|
+
* the graph. The gate output node is also registered.
|
|
93
|
+
*/
|
|
94
|
+
declare function gate<T>(graph: Graph, name: string, source: StepRef, opts?: GateOptions): GateController<T>;
|
|
95
|
+
/**
|
|
96
|
+
* Registers a join step that emits a tuple of latest dependency values.
|
|
97
|
+
*/
|
|
98
|
+
declare function join<T extends readonly unknown[]>(graph: Graph, name: string, deps: {
|
|
99
|
+
[K in keyof T]: StepRef;
|
|
100
|
+
}, opts?: Omit<OrchestrationStepOptions, "deps">): Node<T>;
|
|
101
|
+
/**
|
|
102
|
+
* Registers a loop step that applies `iterate` to each source value N times.
|
|
103
|
+
*/
|
|
104
|
+
declare function loop<T>(graph: Graph, name: string, source: StepRef, iterate: (value: T, iteration: number, actions: NodeActions) => T, opts?: LoopOptions): Node<T>;
|
|
105
|
+
/**
|
|
106
|
+
* Mounts and returns a child workflow graph.
|
|
107
|
+
*/
|
|
108
|
+
declare function subPipeline(graph: Graph, name: string, childOrBuild?: Graph | SubPipelineBuilder, opts?: GraphOptions): Graph;
|
|
109
|
+
/**
|
|
110
|
+
* Registers a producer-style sensor source and returns imperative controls.
|
|
111
|
+
*/
|
|
112
|
+
declare function sensor<T>(graph: Graph, name: string, initial?: T, opts?: Omit<NodeOptions<unknown>, "name" | "describeKind" | "meta"> & {
|
|
113
|
+
meta?: Record<string, unknown>;
|
|
114
|
+
}): SensorControls<T>;
|
|
115
|
+
/**
|
|
116
|
+
* Registers an error-recovery step for a source.
|
|
117
|
+
*/
|
|
118
|
+
declare function onFailure<T>(graph: Graph, name: string, source: StepRef, recover: (err: unknown, actions: NodeActions) => T, opts?: Omit<OrchestrationStepOptions, "deps">): Node<T>;
|
|
119
|
+
|
|
120
|
+
type index_ApprovalOptions = ApprovalOptions;
|
|
121
|
+
type index_BranchResult<T> = BranchResult<T>;
|
|
122
|
+
type index_GateController<T> = GateController<T>;
|
|
123
|
+
type index_GateOptions = GateOptions;
|
|
124
|
+
type index_LoopOptions = LoopOptions;
|
|
125
|
+
type index_OrchestrationStepOptions = OrchestrationStepOptions;
|
|
126
|
+
type index_SensorControls<T> = SensorControls<T>;
|
|
127
|
+
type index_StepRef = StepRef;
|
|
128
|
+
type index_SubPipelineBuilder = SubPipelineBuilder;
|
|
129
|
+
declare const index_approval: typeof approval;
|
|
130
|
+
declare const index_branch: typeof branch;
|
|
131
|
+
declare const index_gate: typeof gate;
|
|
132
|
+
declare const index_join: typeof join;
|
|
133
|
+
declare const index_loop: typeof loop;
|
|
134
|
+
declare const index_onFailure: typeof onFailure;
|
|
135
|
+
declare const index_pipeline: typeof pipeline;
|
|
136
|
+
declare const index_sensor: typeof sensor;
|
|
137
|
+
declare const index_subPipeline: typeof subPipeline;
|
|
138
|
+
declare const index_task: typeof task;
|
|
139
|
+
declare namespace index {
|
|
140
|
+
export { type index_ApprovalOptions as ApprovalOptions, type index_BranchResult as BranchResult, type index_GateController as GateController, type index_GateOptions as GateOptions, type index_LoopOptions as LoopOptions, type index_OrchestrationStepOptions as OrchestrationStepOptions, type index_SensorControls as SensorControls, type index_StepRef as StepRef, type index_SubPipelineBuilder as SubPipelineBuilder, index_approval as approval, index_branch as branch, index_gate as gate, index_join as join, index_loop as loop, index_onFailure as onFailure, index_pipeline as pipeline, index_sensor as sensor, index_subPipeline as subPipeline, index_task as task };
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export { type ApprovalOptions as A, type BranchResult as B, type GateController as G, type LoopOptions as L, type OrchestrationStepOptions as O, type SensorControls as S, type GateOptions as a, type StepRef as b, type SubPipelineBuilder as c, approval as d, branch as e, subPipeline as f, gate as g, index as i, join as j, loop as l, onFailure as o, pipeline as p, sensor as s, task as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as Node } from './node-Dd6wHSib.js';
|
|
2
|
+
import { G as Graph } from './graph-Qjg9gWHI.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Memory patterns (roadmap §4.3).
|
|
@@ -111,29 +111,29 @@ declare function collection<T>(name: string, opts?: CollectionOptions<T>): Colle
|
|
|
111
111
|
declare function vectorIndex<TMeta>(opts?: VectorIndexOptions<TMeta>): VectorIndexBundle<TMeta>;
|
|
112
112
|
declare function knowledgeGraph<TEntity, TRelation extends string = string>(name: string): KnowledgeGraphGraph<TEntity, TRelation>;
|
|
113
113
|
|
|
114
|
-
type
|
|
115
|
-
type
|
|
116
|
-
type
|
|
117
|
-
type
|
|
118
|
-
type
|
|
119
|
-
type
|
|
120
|
-
type
|
|
121
|
-
type
|
|
122
|
-
type
|
|
123
|
-
type
|
|
124
|
-
type
|
|
125
|
-
type
|
|
126
|
-
type
|
|
127
|
-
type
|
|
128
|
-
type
|
|
129
|
-
type
|
|
130
|
-
declare const
|
|
131
|
-
declare const
|
|
132
|
-
declare const
|
|
133
|
-
declare const
|
|
134
|
-
declare const
|
|
135
|
-
declare namespace
|
|
136
|
-
export { type
|
|
114
|
+
type index_CollectionEntry<T> = CollectionEntry<T>;
|
|
115
|
+
type index_CollectionGraph<T> = CollectionGraph<T>;
|
|
116
|
+
type index_CollectionOptions<T> = CollectionOptions<T>;
|
|
117
|
+
type index_CollectionPolicy = CollectionPolicy;
|
|
118
|
+
type index_HnswAdapter<TMeta> = HnswAdapter<TMeta>;
|
|
119
|
+
type index_KnowledgeEdge<TRelation extends string = string> = KnowledgeEdge<TRelation>;
|
|
120
|
+
type index_KnowledgeGraphGraph<TEntity, TRelation extends string = string> = KnowledgeGraphGraph<TEntity, TRelation>;
|
|
121
|
+
type index_LightCollectionBundle<T> = LightCollectionBundle<T>;
|
|
122
|
+
type index_LightCollectionEntry<T> = LightCollectionEntry<T>;
|
|
123
|
+
type index_LightCollectionOptions = LightCollectionOptions;
|
|
124
|
+
type index_RankedCollectionEntry<T> = RankedCollectionEntry<T>;
|
|
125
|
+
type index_VectorBackend = VectorBackend;
|
|
126
|
+
type index_VectorIndexBundle<TMeta> = VectorIndexBundle<TMeta>;
|
|
127
|
+
type index_VectorIndexOptions<TMeta> = VectorIndexOptions<TMeta>;
|
|
128
|
+
type index_VectorRecord<TMeta> = VectorRecord<TMeta>;
|
|
129
|
+
type index_VectorSearchResult<TMeta> = VectorSearchResult<TMeta>;
|
|
130
|
+
declare const index_collection: typeof collection;
|
|
131
|
+
declare const index_decay: typeof decay;
|
|
132
|
+
declare const index_knowledgeGraph: typeof knowledgeGraph;
|
|
133
|
+
declare const index_lightCollection: typeof lightCollection;
|
|
134
|
+
declare const index_vectorIndex: typeof vectorIndex;
|
|
135
|
+
declare namespace index {
|
|
136
|
+
export { type index_CollectionEntry as CollectionEntry, type index_CollectionGraph as CollectionGraph, type index_CollectionOptions as CollectionOptions, type index_CollectionPolicy as CollectionPolicy, type index_HnswAdapter as HnswAdapter, type index_KnowledgeEdge as KnowledgeEdge, type index_KnowledgeGraphGraph as KnowledgeGraphGraph, type index_LightCollectionBundle as LightCollectionBundle, type index_LightCollectionEntry as LightCollectionEntry, type index_LightCollectionOptions as LightCollectionOptions, type index_RankedCollectionEntry as RankedCollectionEntry, type index_VectorBackend as VectorBackend, type index_VectorIndexBundle as VectorIndexBundle, type index_VectorIndexOptions as VectorIndexOptions, type index_VectorRecord as VectorRecord, type index_VectorSearchResult as VectorSearchResult, index_collection as collection, index_decay as decay, index_knowledgeGraph as knowledgeGraph, index_lightCollection as lightCollection, index_vectorIndex as vectorIndex };
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export { type CollectionEntry as C, type HnswAdapter as H, type KnowledgeGraphGraph as K, type LightCollectionBundle as L, type RankedCollectionEntry as R, type
|
|
139
|
+
export { type CollectionEntry as C, type HnswAdapter as H, type KnowledgeGraphGraph as K, type LightCollectionBundle as L, type RankedCollectionEntry as R, type VectorSearchResult as V, type VectorIndexBundle as a, type CollectionGraph as b, type CollectionOptions as c, type CollectionPolicy as d, type KnowledgeEdge as e, type LightCollectionEntry as f, type LightCollectionOptions as g, type VectorBackend as h, index as i, type VectorIndexOptions as j, type VectorRecord as k, collection as l, decay as m, knowledgeGraph as n, lightCollection as o, vectorIndex as v };
|