@graphrefly/graphrefly 0.38.0 → 0.39.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/budget-gate-CmmVtasH.d.ts +115 -0
- package/dist/budget-gate-DiP_nK0n.d.cts +115 -0
- package/dist/{cascading-BsJ4GbnS.d.ts → cascading-BzuxW0_w.d.cts} +2 -2
- package/dist/{cascading-B25wxpRa.d.cts → cascading-g2_rhhaM.d.ts} +2 -2
- package/dist/chunk-35JTVPOX.js +1 -0
- package/dist/chunk-3G5U5QNE.js +5 -0
- package/dist/{chunk-PHXZRR6C.js → chunk-4I45FVQS.js} +1 -1
- package/dist/chunk-5LK7XMEV.js +1 -0
- package/dist/{chunk-FWGIZP3W.js → chunk-5XRI6RM3.js} +1 -1
- package/dist/chunk-73PBQNST.js +1 -0
- package/dist/chunk-7JRF5YEK.js +3 -0
- package/dist/{chunk-4BDQXBXE.js → chunk-7NZMZJMW.js} +1 -1
- package/dist/chunk-7QFRK3N3.js +84 -0
- package/dist/{chunk-POCWFIJ7.js → chunk-7SD73DS6.js} +1 -1
- package/dist/{chunk-NBGPXQSP.js → chunk-A6ZSKGUG.js} +1 -1
- package/dist/{chunk-7KZZLWZ6.js → chunk-AU7YTQX7.js} +1 -1
- package/dist/chunk-C72GO4IZ.js +1 -0
- package/dist/{chunk-B5S7KTGP.js → chunk-CGDMTXSY.js} +1 -1
- package/dist/chunk-D27JNOLZ.js +1 -0
- package/dist/chunk-D47YVDR5.js +1 -0
- package/dist/chunk-EWF7KCDJ.js +61 -0
- package/dist/{chunk-IBGE62GZ.js → chunk-GEAO3TL3.js} +1 -1
- package/dist/chunk-GX5LSSRE.js +1 -0
- package/dist/{chunk-O245YLM5.js → chunk-HAWKGIXM.js} +1 -1
- package/dist/chunk-HX3EGQ5Z.js +1 -0
- package/dist/{chunk-RZ5HKPGI.js → chunk-IA7DUNGB.js} +1 -1
- package/dist/{chunk-K5C67OGE.js → chunk-INH6FS2G.js} +2 -2
- package/dist/chunk-INHC33EH.js +1 -0
- package/dist/chunk-IUB4NYI2.js +1 -0
- package/dist/{chunk-UVLZX2OU.js → chunk-JNMC2WJ6.js} +1 -1
- package/dist/{chunk-O2BLVQU4.js → chunk-KD4NHLMU.js} +1 -1
- package/dist/chunk-L6NSJVJZ.js +1 -0
- package/dist/{chunk-6773HURD.js → chunk-L7WY6TZS.js} +1 -1
- package/dist/chunk-LQNOXGET.js +1 -0
- package/dist/chunk-MC4UYY2X.js +1 -0
- package/dist/{chunk-6KZZ6XQE.js → chunk-N7UIBZCW.js} +1 -1
- package/dist/chunk-NQI2C36M.js +1 -0
- package/dist/chunk-R75BMDLA.js +1 -0
- package/dist/chunk-RF3QZP6D.js +1 -0
- package/dist/{chunk-NV63VQHI.js → chunk-S2U57TFC.js} +1 -1
- package/dist/{chunk-SP5O2MIX.js → chunk-SC7BQDNP.js} +1 -1
- package/dist/{chunk-6VFC334U.js → chunk-TFPZLQ5H.js} +1 -1
- package/dist/chunk-VJJLIEAL.js +1 -0
- package/dist/{chunk-FAYEMS5M.js → chunk-WHIZM6JV.js} +1 -1
- package/dist/chunk-XEUANKBO.js +43 -0
- package/dist/{chunk-DSOVKKTI.js → chunk-XQ55HO5N.js} +1 -1
- package/dist/chunk-ZJ7SM3G2.js +1 -0
- package/dist/{chunk-TMVY7OWG.js → chunk-ZOX3LBRV.js} +1 -1
- package/dist/compat/index.cjs +9 -13
- package/dist/compat/index.d.cts +16 -16
- package/dist/compat/index.d.ts +16 -16
- package/dist/compat/index.js +1 -1
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nestjs/index.cjs +7 -11
- package/dist/compat/nestjs/index.d.cts +8 -8
- package/dist/compat/nestjs/index.d.ts +8 -8
- package/dist/compat/nestjs/index.js +1 -1
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/zustand/index.cjs +3 -7
- package/dist/compat/zustand/index.d.cts +4 -4
- package/dist/compat/zustand/index.d.ts +4 -4
- package/dist/compat/zustand/index.js +1 -1
- package/dist/{composite-CgG0MqHm.d.cts → composite-CKd0e2vz.d.cts} +2 -2
- package/dist/{composite-DTOlDuch.d.ts → composite-DGatA-JK.d.ts} +2 -2
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +1 -1
- package/dist/extra/browser.d.cts +1 -1
- package/dist/extra/browser.d.ts +1 -1
- package/dist/extra/index.cjs +16 -20
- package/dist/extra/index.d.cts +11 -9
- package/dist/extra/index.d.ts +11 -9
- package/dist/extra/index.js +1 -1
- package/dist/extra/node.cjs +2 -2
- package/dist/extra/node.d.cts +1 -1
- package/dist/extra/node.d.ts +1 -1
- package/dist/extra/node.js +1 -1
- package/dist/extra/operators.cjs +1 -1
- package/dist/extra/operators.d.cts +1 -1
- package/dist/extra/operators.d.ts +1 -1
- package/dist/extra/operators.js +1 -1
- package/dist/extra/reactive.cjs +1 -1
- package/dist/extra/reactive.d.cts +3 -3
- package/dist/extra/reactive.d.ts +3 -3
- package/dist/extra/reactive.js +1 -1
- package/dist/extra/render/index.cjs +5 -0
- package/dist/extra/render/index.d.cts +183 -0
- package/dist/extra/render/index.d.ts +183 -0
- package/dist/extra/render/index.js +1 -0
- package/dist/extra/sources.cjs +1 -1
- package/dist/extra/sources.d.cts +1 -1
- package/dist/extra/sources.d.ts +1 -1
- package/dist/extra/sources.js +1 -1
- package/dist/extra/storage-browser.d.cts +1 -1
- package/dist/extra/storage-browser.d.ts +1 -1
- package/dist/{fallback-axI2cXwt.d.cts → fallback-8JYU8tlT.d.cts} +1 -1
- package/dist/{fallback-DuEXfA4F.d.ts → fallback-CMZl39L5.d.ts} +1 -1
- package/dist/graph/index.cjs +7 -7
- package/dist/graph/index.d.cts +5 -5
- package/dist/graph/index.d.ts +5 -5
- package/dist/graph/index.js +1 -1
- package/dist/{graph-BjW1taJl.d.ts → graph-30XSgtVX.d.ts} +76 -100
- package/dist/{graph-CHsVwf9S.d.cts → graph-BUwMAxJI.d.cts} +76 -100
- package/dist/{index-CIcu6fIR.d.ts → index-2n8Eai6M.d.ts} +1 -1
- package/dist/{index-CrlHFsiT.d.ts → index-89FczVZ_.d.ts} +41 -85
- package/dist/{index-CM-i58FY.d.cts → index-8R1vzNOx.d.cts} +9 -9
- package/dist/{index-CDvC1m5p.d.ts → index-B2RUoIUz.d.ts} +1 -1
- package/dist/{index-BFaALJxR.d.ts → index-B41Asm7D.d.ts} +10 -8
- package/dist/{index-D-HZ7sP4.d.ts → index-B9fmw5n2.d.ts} +4 -6
- package/dist/{index-Bn0uZEL4.d.ts → index-BAlaVimV.d.ts} +9 -9
- package/dist/{index-DJVQ-t07.d.ts → index-BC9VybQs.d.ts} +41 -48
- package/dist/{index-5dNRlW7J.d.ts → index-BEHmxORq.d.ts} +11 -11
- package/dist/{index-DJNAWzcH.d.cts → index-BJ26eEjs.d.cts} +26 -19
- package/dist/{index-BiomL7AW.d.ts → index-BJSZxSFX.d.ts} +1 -1
- package/dist/{index-Czk3r0yA.d.cts → index-BKMdnYnk.d.ts} +56 -54
- package/dist/{index-BsZk9T8y.d.ts → index-BM9szD8n.d.cts} +14 -6
- package/dist/{index-BmWuVdER.d.ts → index-BUPVld1w.d.ts} +2 -2
- package/dist/{index-BwOsJfLJ.d.ts → index-BXd6OMEy.d.ts} +3 -3
- package/dist/index-BhUaMYm_.d.ts +113 -0
- package/dist/{index-BpMZzX9P.d.cts → index-BndG0cpK.d.cts} +3 -3
- package/dist/{index-AUqWe_fX.d.ts → index-Br3WnqEn.d.ts} +81 -9
- package/dist/{index-BhzwpIJc.d.cts → index-BskfDoZ_.d.ts} +14 -6
- package/dist/{index-D9vBTuzo.d.ts → index-C19qqa38.d.ts} +4 -4
- package/dist/{index-B-ORMr3k.d.ts → index-C7VV_qOs.d.ts} +4 -4
- package/dist/{index-BWUMIt7J.d.cts → index-CIRG8Hxp.d.cts} +11 -11
- package/dist/{index-B3D_z0Z6.d.cts → index-CL7oilfm.d.cts} +1 -1
- package/dist/{index-ML6vHKXK.d.ts → index-CPhBvRJU.d.ts} +1 -1
- package/dist/{index-CQsqqEVz.d.cts → index-CWHtYmSh.d.cts} +1 -1
- package/dist/{index-DKrIuF-r.d.ts → index-Cey6VTnX.d.ts} +8 -5
- package/dist/{resilience-BWP2c7Af.d.cts → index-CmqiJZKM.d.ts} +141 -23
- package/dist/{index-JYtN9uqM.d.ts → index-CoM4rzyB.d.ts} +1 -1
- package/dist/{index-C56XZiDe.d.cts → index-CpLpJb6A.d.cts} +8 -5
- package/dist/{index-BjWZARLy.d.ts → index-Ctb7_2sG.d.ts} +1 -1
- package/dist/index-CusEP3Sv.d.ts +210 -0
- package/dist/{resilience-Bys63Cpd.d.ts → index-CwP_KAMS.d.cts} +141 -23
- package/dist/{index-BFuVcqL8.d.cts → index-D3ayz3hy.d.cts} +1 -1
- package/dist/{index-Bpr0Pwgl.d.cts → index-DCbE8fFM.d.cts} +3 -3
- package/dist/{index-CAbHN_rP.d.cts → index-DIHcMLr6.d.cts} +1 -1
- package/dist/index-DINuaZlJ.d.cts +210 -0
- package/dist/{index-9xhIaM-w.d.cts → index-DOBLxOti.d.cts} +1 -1
- package/dist/{index-Di7OdwlO.d.ts → index-DQUVq1_d.d.ts} +37 -90
- package/dist/{index-BgzPO43H.d.cts → index-DTtBpuQy.d.cts} +4 -6
- package/dist/{index-D_QQ_dTD.d.cts → index-DYTBbF8T.d.cts} +1 -1
- package/dist/{index-UsU9ptzs.d.cts → index-DlgHqQxW.d.cts} +81 -9
- package/dist/{index-DTDVDzhA.d.ts → index-DlrWu9Hs.d.cts} +56 -54
- package/dist/{index-B2IUcH13.d.cts → index-DoYc8BWK.d.cts} +41 -48
- package/dist/{index-BUFCHvOR.d.ts → index-DszPlZzK.d.ts} +3 -3
- package/dist/{index-BqcgiSQg.d.cts → index-DyM4tFAe.d.cts} +10 -8
- package/dist/{index-CAV-3RpJ.d.cts → index-FVoPvhAu.d.cts} +4 -4
- package/dist/{index-Ckil6miL.d.cts → index-H_I66pav.d.cts} +2 -2
- package/dist/{index-C-3UXnHT.d.cts → index-IwFqHxCs.d.cts} +2 -2
- package/dist/index-K-vl_c6A.d.cts +113 -0
- package/dist/{index-CijfwEWx.d.ts → index-KlZ_ZUip.d.cts} +3 -3
- package/dist/{index-Bub6x_D4.d.cts → index-L8XI8Zql.d.cts} +37 -90
- package/dist/{index-DeSsvHDD.d.cts → index-MxYuWOrf.d.cts} +3 -3
- package/dist/{index-CpZKtdMw.d.cts → index-PgwvGWa1.d.cts} +1 -1
- package/dist/{index-Vz7KPfgz.d.ts → index-PlJ3MraE.d.ts} +1 -1
- package/dist/{index-BI1wMfyc.d.ts → index-PqbnoScQ.d.ts} +3 -3
- package/dist/{index-BsgxnHN8.d.cts → index-PsVHpPwP.d.cts} +3 -3
- package/dist/{index-D-B7U42V.d.cts → index-WyFKER-c.d.ts} +3 -3
- package/dist/{index-DY2f2b9z.d.ts → index-eaQuGJnv.d.ts} +3 -3
- package/dist/{index-DqICM_I7.d.ts → index-iTX5IqSP.d.ts} +67 -9
- package/dist/{index-Byp771zP.d.ts → index-jKLph6cu.d.ts} +2 -2
- package/dist/{index-CEVzBWeB.d.ts → index-jr6PuSBt.d.ts} +26 -19
- package/dist/{index-BkQqf1EF.d.cts → index-mNwgxC21.d.cts} +67 -9
- package/dist/{index-BaSy4L6w.d.cts → index-pVDQcbar.d.cts} +41 -85
- package/dist/{index-D7-RSD93.d.cts → index-xZYcDqFH.d.cts} +4 -4
- package/dist/{index-8OxXae3g.d.ts → index-yLt-aPMp.d.ts} +1 -1
- package/dist/{index-CqSJ25A9.d.cts → index-z8WFPVI8.d.cts} +1 -1
- package/dist/index.cjs +63 -59
- package/dist/index.d.cts +48 -47
- package/dist/index.d.ts +48 -47
- package/dist/index.js +1 -1
- package/dist/{meta-DreaEM_a.d.cts → meta-Ct9nqQS5.d.cts} +11 -7
- package/dist/{meta-BYqlATmg.d.ts → meta-D8OyedKp.d.ts} +11 -7
- package/dist/{node-fSc-hCv8.d.cts → node-BYInONRr.d.cts} +3 -3
- package/dist/{node-fSc-hCv8.d.ts → node-BYInONRr.d.ts} +3 -3
- package/dist/{observable-Cqty11jG.d.cts → observable-DMIlYJV1.d.cts} +1 -1
- package/dist/{observable-EAV_rNfM.d.ts → observable-DO8DDEzv.d.ts} +1 -1
- package/dist/patterns/ai/browser.cjs +5 -5
- package/dist/patterns/ai/browser.d.cts +4 -4
- package/dist/patterns/ai/browser.d.ts +4 -4
- package/dist/patterns/ai/browser.js +1 -1
- package/dist/patterns/ai/index.cjs +16 -20
- package/dist/patterns/ai/index.d.cts +17 -17
- package/dist/patterns/ai/index.d.ts +17 -17
- package/dist/patterns/ai/index.js +1 -1
- package/dist/patterns/ai/node.cjs +1 -1
- package/dist/patterns/ai/node.d.cts +4 -4
- package/dist/patterns/ai/node.d.ts +4 -4
- package/dist/patterns/ai/node.js +1 -1
- package/dist/patterns/audit/index.cjs +3 -7
- package/dist/patterns/audit/index.d.cts +6 -6
- package/dist/patterns/audit/index.d.ts +6 -6
- package/dist/patterns/audit/index.js +1 -1
- package/dist/patterns/cqrs/index.cjs +3 -7
- package/dist/patterns/cqrs/index.d.cts +6 -6
- package/dist/patterns/cqrs/index.d.ts +6 -6
- package/dist/patterns/cqrs/index.js +1 -1
- package/dist/patterns/demo-shell/index.cjs +5 -8
- package/dist/patterns/demo-shell/index.d.cts +5 -5
- package/dist/patterns/demo-shell/index.d.ts +5 -5
- package/dist/patterns/demo-shell/index.js +1 -1
- package/dist/patterns/domain-templates/index.cjs +3 -7
- package/dist/patterns/domain-templates/index.d.cts +4 -4
- package/dist/patterns/domain-templates/index.d.ts +4 -4
- package/dist/patterns/domain-templates/index.js +1 -1
- package/dist/patterns/graphspec/index.cjs +37 -37
- package/dist/patterns/graphspec/index.d.cts +5 -5
- package/dist/patterns/graphspec/index.d.ts +5 -5
- package/dist/patterns/graphspec/index.js +1 -1
- package/dist/patterns/guarded-execution/index.cjs +3 -7
- package/dist/patterns/guarded-execution/index.d.cts +7 -7
- package/dist/patterns/guarded-execution/index.d.ts +7 -7
- package/dist/patterns/guarded-execution/index.js +1 -1
- package/dist/patterns/harness/index.cjs +8 -12
- package/dist/patterns/harness/index.d.cts +12 -12
- package/dist/patterns/harness/index.d.ts +12 -12
- package/dist/patterns/harness/index.js +1 -1
- package/dist/patterns/job-queue/index.cjs +3 -7
- package/dist/patterns/job-queue/index.d.cts +6 -6
- package/dist/patterns/job-queue/index.d.ts +6 -6
- package/dist/patterns/job-queue/index.js +1 -1
- package/dist/patterns/lens/index.cjs +3 -7
- package/dist/patterns/lens/index.d.cts +6 -6
- package/dist/patterns/lens/index.d.ts +6 -6
- package/dist/patterns/lens/index.js +1 -1
- package/dist/patterns/memory/index.cjs +3 -7
- package/dist/patterns/memory/index.d.cts +6 -6
- package/dist/patterns/memory/index.d.ts +6 -6
- package/dist/patterns/memory/index.js +1 -1
- package/dist/patterns/messaging/index.cjs +3 -7
- package/dist/patterns/messaging/index.d.cts +5 -5
- package/dist/patterns/messaging/index.d.ts +5 -5
- package/dist/patterns/messaging/index.js +1 -1
- package/dist/patterns/orchestration/index.cjs +3 -7
- package/dist/patterns/orchestration/index.d.cts +8 -8
- package/dist/patterns/orchestration/index.d.ts +8 -8
- package/dist/patterns/orchestration/index.js +1 -1
- package/dist/patterns/process/index.cjs +1 -1
- package/dist/patterns/process/index.d.cts +7 -7
- package/dist/patterns/process/index.d.ts +7 -7
- package/dist/patterns/process/index.js +1 -1
- package/dist/patterns/reactive-layout/index.cjs +4 -8
- package/dist/patterns/reactive-layout/index.d.cts +5 -5
- package/dist/patterns/reactive-layout/index.d.ts +5 -5
- package/dist/patterns/reactive-layout/index.js +1 -1
- package/dist/patterns/reduction/index.cjs +3 -7
- package/dist/patterns/reduction/index.d.cts +4 -4
- package/dist/patterns/reduction/index.d.ts +4 -4
- package/dist/patterns/reduction/index.js +1 -1
- package/dist/patterns/refine-loop/index.cjs +5 -9
- package/dist/patterns/refine-loop/index.d.cts +6 -6
- package/dist/patterns/refine-loop/index.d.ts +6 -6
- package/dist/patterns/refine-loop/index.js +1 -1
- package/dist/patterns/resilient-pipeline/index.cjs +1 -1
- package/dist/patterns/resilient-pipeline/index.d.cts +4 -8
- package/dist/patterns/resilient-pipeline/index.d.ts +4 -8
- package/dist/patterns/resilient-pipeline/index.js +1 -1
- package/dist/patterns/surface/index.cjs +12 -16
- package/dist/patterns/surface/index.d.cts +6 -6
- package/dist/patterns/surface/index.d.ts +6 -6
- package/dist/patterns/surface/index.js +1 -1
- package/dist/{pipeline-graph-DuHpXSOn.d.cts → pipeline-graph-BQPr2Lqs.d.cts} +34 -17
- package/dist/{pipeline-graph-9JBbmRxA.d.ts → pipeline-graph-D8vKcO_p.d.ts} +34 -17
- package/dist/{reactive-layout-BMLDB4Vd.d.cts → reactive-layout-8CSc0tiA.d.cts} +2 -2
- package/dist/{reactive-layout-D-tRiNhg.d.ts → reactive-layout-DkTXxtSy.d.ts} +2 -2
- package/dist/{reactive-log-BgWSA1fg.d.ts → reactive-log-BlAsPLl2.d.ts} +2 -2
- package/dist/{reactive-log-C3IMAGpT.d.cts → reactive-log-_zeEnB9H.d.cts} +2 -2
- package/dist/{reactive-map-DmgeADH8.d.cts → reactive-map-B2qfD3hb.d.cts} +1 -1
- package/dist/{reactive-map-CHyeCf4D.d.ts → reactive-map-jFIsE6Kt.d.ts} +1 -1
- package/dist/resilience-HTF2LBRS.js +1 -0
- package/dist/{sugar-D13E2M_z.d.ts → sugar-BhfjgetH.d.ts} +1 -1
- package/dist/{sugar-DgaGJcI6.d.cts → sugar-DzePN5-g.d.cts} +1 -1
- package/dist/{topology-tree-jrZue3ao.d.cts → topology-tree-B5Ngw3j0.d.cts} +1 -1
- package/dist/{topology-tree-D47-nI6Z.d.ts → topology-tree-BtvbgMXJ.d.ts} +1 -1
- package/dist/{types-BMSGPlpO.d.cts → types-1Dhoi7HM.d.cts} +1 -1
- package/dist/{types-CidcBDuk.d.ts → types-39jk0kaV.d.ts} +1 -1
- package/package.json +11 -1
- package/dist/chunk-2YFDSYEF.js +0 -1
- package/dist/chunk-5BGFS2XH.js +0 -1
- package/dist/chunk-CMTN3KPT.js +0 -80
- package/dist/chunk-DQJLC6YY.js +0 -1
- package/dist/chunk-G7JN6LCB.js +0 -1
- package/dist/chunk-KJEAIIIY.js +0 -43
- package/dist/chunk-LV3ACS5J.js +0 -1
- package/dist/chunk-NN3QPJ6U.js +0 -1
- package/dist/chunk-NSAZ6PR6.js +0 -1
- package/dist/chunk-O32GJOUJ.js +0 -1
- package/dist/chunk-QEVSIVSF.js +0 -1
- package/dist/chunk-QMC2PLNM.js +0 -7
- package/dist/chunk-QOJFR6GS.js +0 -1
- package/dist/chunk-SFK7MN7S.js +0 -1
- package/dist/chunk-TB7JKSVS.js +0 -61
- package/dist/chunk-UAXFKMAG.js +0 -1
- package/dist/chunk-XIMFHEKV.js +0 -1
- package/dist/chunk-XLMYQB6F.js +0 -1
- package/dist/chunk-XLYF4LBH.js +0 -1
- package/dist/imperative-audit-ahAE65a9.d.cts +0 -28
- package/dist/imperative-audit-ahAE65a9.d.ts +0 -28
- package/dist/index-CpdnP-0y.d.cts +0 -186
- package/dist/index-DOU1Ee_k.d.ts +0 -186
- package/dist/resilience-LGBK236C.js +0 -1
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { D as DescribeNodeOutput } from './meta-Ct9nqQS5.cjs';
|
|
2
|
+
import { N as Node } from './node-BYInONRr.cjs';
|
|
3
|
+
import { G as Graph, b as GraphDescribeOutput } from './graph-BUwMAxJI.cjs';
|
|
4
|
+
import { L as LLMAdapter } from './types-1Dhoi7HM.cjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* LLM graph composition (roadmap §8.3).
|
|
7
8
|
*
|
|
8
9
|
* Declarative GraphSpec schema + compiler/decompiler for graph topology.
|
|
9
|
-
* The LLM designs graphs as JSON; compileSpec instantiates them;
|
|
10
|
-
* extracts them back. Templates support reusable subgraph
|
|
11
|
-
* edges express bounded cycles via §8.1 feedback().
|
|
10
|
+
* The LLM designs graphs as JSON; `compileSpec` instantiates them;
|
|
11
|
+
* `decompileSpec` extracts them back. Templates support reusable subgraph
|
|
12
|
+
* patterns. Feedback edges express bounded cycles via §8.1 feedback().
|
|
13
|
+
*
|
|
14
|
+
* **Tier 1.5.3 Phase 3 (2026-04-27):** `GraphSpec` is a structural alias of
|
|
15
|
+
* {@link GraphDescribeOutput} with two LLM-author-friendly extras
|
|
16
|
+
* (`templates?` / `feedback?`). Per-node factory references are encoded in
|
|
17
|
+
* `meta.factory` + `meta.factoryArgs` (no more `fn` / `source` / `config` /
|
|
18
|
+
* `initial` fields). State node initial values live in
|
|
19
|
+
* `meta.factoryArgs.initial` (state self-tags with
|
|
20
|
+
* `factoryTag("state", { initial })`).
|
|
12
21
|
*
|
|
13
22
|
* @module
|
|
14
23
|
*/
|
|
15
24
|
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/** Freeform config passed to the catalog fn/source factory. */
|
|
27
|
-
config?: Record<string, unknown>;
|
|
28
|
-
/** Initial value (for state nodes). */
|
|
29
|
-
initial?: unknown;
|
|
30
|
-
/** Human/LLM-readable metadata. */
|
|
31
|
-
meta?: Record<string, unknown>;
|
|
32
|
-
};
|
|
25
|
+
/**
|
|
26
|
+
* A single node declaration in a GraphSpec — structural alias of
|
|
27
|
+
* {@link DescribeNodeOutput}.
|
|
28
|
+
*
|
|
29
|
+
* Per-node factory provenance lives in `meta.factory` + `meta.factoryArgs`
|
|
30
|
+
* (use {@link factoryTag} to stamp them at construction time). State node
|
|
31
|
+
* initial values come through `meta.factoryArgs.initial` for tagged states,
|
|
32
|
+
* with fallback to `value` (since spec projection retains state values).
|
|
33
|
+
*/
|
|
34
|
+
type GraphSpecNode = DescribeNodeOutput;
|
|
33
35
|
/** Template instantiation node — expanded at compile time. */
|
|
34
36
|
type GraphSpecTemplateRef = {
|
|
35
37
|
type: "template";
|
|
@@ -56,25 +58,24 @@ type GraphSpecFeedbackEdge = {
|
|
|
56
58
|
/** Max iterations before stopping (default: 10). */
|
|
57
59
|
maxIterations?: number;
|
|
58
60
|
};
|
|
59
|
-
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
/**
|
|
62
|
+
* Declarative graph topology for LLM composition (§8.3).
|
|
63
|
+
*
|
|
64
|
+
* Tier 1.5.3 Phase 3 (2026-04-27): structural alias of
|
|
65
|
+
* {@link GraphDescribeOutput} extended with optional `templates` /
|
|
66
|
+
* `feedback` fields for LLM-author convenience. Top-level `factory` /
|
|
67
|
+
* `factoryArgs` (Phase 2.5 carry) ride along on every describe output.
|
|
68
|
+
*
|
|
69
|
+
* Round-trip property: `decompileSpec(g) === g.describe({ detail: "spec" })`
|
|
70
|
+
* (modulo the small feedback-edge extraction sugar).
|
|
71
|
+
*/
|
|
72
|
+
type GraphSpec = Omit<GraphDescribeOutput, "nodes" | "expand"> & {
|
|
73
|
+
/** Node declarations (keyed by node name). Either a structural describe entry or a template ref. */
|
|
64
74
|
nodes: Record<string, GraphSpecNode | GraphSpecTemplateRef>;
|
|
65
|
-
/** Reusable subgraph templates. */
|
|
75
|
+
/** Reusable subgraph templates (LLM-author extra; not present in `describe()` output). */
|
|
66
76
|
templates?: Record<string, GraphSpecTemplate>;
|
|
67
|
-
/** Feedback edges (bounded cycles). */
|
|
77
|
+
/** Feedback edges (bounded cycles, LLM-author extra). */
|
|
68
78
|
feedback?: GraphSpecFeedbackEdge[];
|
|
69
|
-
/**
|
|
70
|
-
* Top-level factory identifier (Tier 1.5.3 Phase 2.5 — DG1=B). When set
|
|
71
|
-
* and `compileSpec` is given a `catalog.graphFactories[factory]` entry,
|
|
72
|
-
* the spec's reconstruction is delegated to that factory wholesale (the
|
|
73
|
-
* `nodes` / `edges` / `templates` fields below are not used).
|
|
74
|
-
*/
|
|
75
|
-
factory?: string;
|
|
76
|
-
/** JSON-serializable construction args, paired with `factory`. */
|
|
77
|
-
factoryArgs?: unknown;
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Factory for creating a derived/effect/operator node from catalog.
|
|
@@ -237,26 +238,28 @@ type CompileSpecOptions = {
|
|
|
237
238
|
*/
|
|
238
239
|
declare function compileSpec(spec: GraphSpec, opts?: CompileSpecOptions): Graph;
|
|
239
240
|
/**
|
|
240
|
-
* Extract a GraphSpec from a running graph.
|
|
241
|
+
* Extract a {@link GraphSpec} from a running graph.
|
|
241
242
|
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
243
|
+
* Tier 1.5.3 Phase 3 (2026-04-27): thin projection over
|
|
244
|
+
* `graph.describe({ detail: "spec" })`. The describe-output already carries
|
|
245
|
+
* structural fields (`type`, `deps`, optional `value`) plus per-node
|
|
246
|
+
* `meta.factory` / `meta.factoryArgs` for tagged factories and top-level
|
|
247
|
+
* `factory` / `factoryArgs` for graph-level tags. The only sugar this helper
|
|
248
|
+
* adds is a feedback-edge recovery scan over `meta.feedbackFrom` /
|
|
249
|
+
* `meta.feedbackTo` companion fields stamped by the §8.1 `feedback()`
|
|
250
|
+
* primitive.
|
|
251
|
+
*
|
|
252
|
+
* **Removed in Phase 3:** template fingerprinting / `_templateName` /
|
|
253
|
+
* `_templateBind` recovery. Mounted subgraphs surface as nested `subname::*`
|
|
254
|
+
* paths in `desc.nodes`; if you need the template-instantiation form, build
|
|
255
|
+
* the spec by hand or read the meta companions directly.
|
|
246
256
|
*
|
|
247
257
|
* @param graph - Running graph to decompile.
|
|
248
258
|
* @returns A GraphSpec representation.
|
|
249
259
|
*
|
|
250
260
|
* @category patterns
|
|
251
261
|
*/
|
|
252
|
-
/**
|
|
253
|
-
* Tier 1.5.3 / D5 rename — `decompileSpec` is the canonical name post-Session A.1
|
|
254
|
-
* lock. Once Phase 3 lands `GraphSpec ≡ GraphDescribeOutput`, the body becomes
|
|
255
|
-
* `g.describe({ detail: "spec" })`. For now it delegates to the existing
|
|
256
|
-
* implementation so behavior is unchanged.
|
|
257
|
-
*/
|
|
258
262
|
declare function decompileSpec(graph: Graph): GraphSpec;
|
|
259
|
-
declare function decompileGraph(graph: Graph): GraphSpec;
|
|
260
263
|
/** A single change in a spec diff. */
|
|
261
264
|
type SpecDiffEntry = {
|
|
262
265
|
type: "added" | "removed" | "changed";
|
|
@@ -357,7 +360,6 @@ type index_SourceFactory = SourceFactory;
|
|
|
357
360
|
type index_SpecDiffEntry = SpecDiffEntry;
|
|
358
361
|
type index_SpecDiffResult = SpecDiffResult;
|
|
359
362
|
declare const index_compileSpec: typeof compileSpec;
|
|
360
|
-
declare const index_decompileGraph: typeof decompileGraph;
|
|
361
363
|
declare const index_decompileSpec: typeof decompileSpec;
|
|
362
364
|
declare const index_extractFnFactory: typeof extractFnFactory;
|
|
363
365
|
declare const index_extractSourceFactory: typeof extractSourceFactory;
|
|
@@ -370,7 +372,7 @@ declare const index_specDiff: typeof specDiff;
|
|
|
370
372
|
declare const index_validateSpec: typeof validateSpec;
|
|
371
373
|
declare const index_validateSpecAgainstCatalog: typeof validateSpecAgainstCatalog;
|
|
372
374
|
declare namespace index {
|
|
373
|
-
export { type index_CatalogFnEntry as CatalogFnEntry, type index_CatalogSourceEntry as CatalogSourceEntry, type index_CompileSpecOptions as CompileSpecOptions, type index_ConfigFieldSchema as ConfigFieldSchema, type index_FnFactory as FnFactory, type index_GraphFactory as GraphFactory, type index_GraphSpec as GraphSpec, type index_GraphSpecCatalog as GraphSpecCatalog, type index_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type index_GraphSpecNode as GraphSpecNode, type index_GraphSpecTemplate as GraphSpecTemplate, type index_GraphSpecTemplateRef as GraphSpecTemplateRef, type index_GraphSpecValidation as GraphSpecValidation, type index_LLMComposeOptions as LLMComposeOptions, type index_LLMRefineOptions as LLMRefineOptions, type index_SourceFactory as SourceFactory, type index_SpecDiffEntry as SpecDiffEntry, type index_SpecDiffResult as SpecDiffResult, index_compileSpec as compileSpec,
|
|
375
|
+
export { type index_CatalogFnEntry as CatalogFnEntry, type index_CatalogSourceEntry as CatalogSourceEntry, type index_CompileSpecOptions as CompileSpecOptions, type index_ConfigFieldSchema as ConfigFieldSchema, type index_FnFactory as FnFactory, type index_GraphFactory as GraphFactory, type index_GraphSpec as GraphSpec, type index_GraphSpecCatalog as GraphSpecCatalog, type index_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type index_GraphSpecNode as GraphSpecNode, type index_GraphSpecTemplate as GraphSpecTemplate, type index_GraphSpecTemplateRef as GraphSpecTemplateRef, type index_GraphSpecValidation as GraphSpecValidation, type index_LLMComposeOptions as LLMComposeOptions, type index_LLMRefineOptions as LLMRefineOptions, type index_SourceFactory as SourceFactory, type index_SpecDiffEntry as SpecDiffEntry, type index_SpecDiffResult as SpecDiffResult, index_compileSpec as compileSpec, index_decompileSpec as decompileSpec, index_extractFnFactory as extractFnFactory, index_extractSourceFactory as extractSourceFactory, index_generateCatalogPrompt as generateCatalogPrompt, index_isRichFnEntry as isRichFnEntry, index_isRichSourceEntry as isRichSourceEntry, index_llmCompose as llmCompose, index_llmRefine as llmRefine, index_specDiff as specDiff, index_validateSpec as validateSpec, index_validateSpecAgainstCatalog as validateSpecAgainstCatalog };
|
|
374
376
|
}
|
|
375
377
|
|
|
376
|
-
export {
|
|
378
|
+
export { type CatalogFnEntry as C, type FnFactory as F, type GraphSpec as G, type LLMComposeOptions as L, type SourceFactory as S, type CatalogSourceEntry as a, type ConfigFieldSchema as b, type GraphSpecCatalog as c, type GraphSpecFeedbackEdge as d, type GraphSpecNode as e, type GraphSpecTemplate as f, type GraphSpecTemplateRef as g, type GraphSpecValidation as h, index as i, type CompileSpecOptions as j, type GraphFactory as k, type LLMRefineOptions as l, type SpecDiffEntry as m, type SpecDiffResult as n, compileSpec as o, decompileSpec as p, extractFnFactory as q, extractSourceFactory as r, generateCatalogPrompt as s, isRichFnEntry as t, isRichSourceEntry as u, llmCompose as v, llmRefine as w, specDiff as x, validateSpec as y, validateSpecAgainstCatalog as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Actor,
|
|
2
|
-
import { G as Graph, a as GraphOptions,
|
|
3
|
-
import { T as TopicGraph } from './index-
|
|
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';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Audit, policy enforcement, and compliance export (roadmap §9.2).
|
|
@@ -10,9 +10,10 @@ import { T as TopicGraph } from './index-BpMZzX9P.cjs';
|
|
|
10
10
|
*
|
|
11
11
|
* - {@link auditTrail} — reactive mutation log with by-node/by-actor/by-time
|
|
12
12
|
* queries.
|
|
13
|
-
* - {@link
|
|
14
|
-
*
|
|
15
|
-
* nodes so subsequent writes
|
|
13
|
+
* - {@link policyGate} — reactive ABAC gate (Tier 2.3 rename of
|
|
14
|
+
* `policyEnforcer`); in `"audit"` mode records would-be denials, in
|
|
15
|
+
* `"enforce"` mode pushes guards onto target nodes so subsequent writes
|
|
16
|
+
* throw {@link GuardDenied}.
|
|
16
17
|
* - {@link complianceSnapshot} — point-in-time export of graph state +
|
|
17
18
|
* audit trail + policies for regulatory archival.
|
|
18
19
|
*
|
|
@@ -88,7 +89,7 @@ declare class AuditTrailGraph extends Graph {
|
|
|
88
89
|
* snapshot synchronously.
|
|
89
90
|
*/
|
|
90
91
|
declare function auditTrail(target: Graph, opts?: AuditTrailOptions): AuditTrailGraph;
|
|
91
|
-
/** A single policy denial recorded by {@link
|
|
92
|
+
/** A single policy denial recorded by {@link PolicyGateGraph}. */
|
|
92
93
|
interface PolicyViolation {
|
|
93
94
|
timestamp_ns: number;
|
|
94
95
|
wall_clock_ns: number;
|
|
@@ -99,8 +100,8 @@ interface PolicyViolation {
|
|
|
99
100
|
/** `"observed"` (audit mode after-the-fact) or `"blocked"` (enforce mode pre-write). */
|
|
100
101
|
result: "observed" | "blocked";
|
|
101
102
|
}
|
|
102
|
-
/** Options for {@link
|
|
103
|
-
interface
|
|
103
|
+
/** Options for {@link policyGate}. */
|
|
104
|
+
interface PolicyGateOptions {
|
|
104
105
|
name?: string;
|
|
105
106
|
graph?: GraphOptions;
|
|
106
107
|
/**
|
|
@@ -122,14 +123,28 @@ interface PolicyEnforcerOptions {
|
|
|
122
123
|
* `target` OR any transitively-mounted subgraph after construction are
|
|
123
124
|
* guarded automatically (enforce mode only).
|
|
124
125
|
*
|
|
126
|
+
* Accepts a static `readonly string[]` or a reactive
|
|
127
|
+
* `Node<readonly string[]>` (Tier 3.4 — F.9 reactive primitive carve-out).
|
|
128
|
+
* When a `Node` is passed, the enforcer rebinds the guarded path set on
|
|
129
|
+
* every emission: paths added to the new set get wrapped, paths removed
|
|
130
|
+
* from the new set get released, and the audit-mode allow-list filter
|
|
131
|
+
* uses the latest cached value. Static-array callers retain the current
|
|
132
|
+
* "caller owns the path set" semantics.
|
|
133
|
+
*
|
|
125
134
|
* **Cost:** unrestricted mode runs `describe({detail:"minimal"})` once
|
|
126
135
|
* at construction (O(N) over the graph tree) plus one topology
|
|
127
136
|
* subscription per graph instance in the mount tree. Restricted mode
|
|
128
|
-
* skips both and disables
|
|
129
|
-
*
|
|
137
|
+
* (static or reactive) skips both and disables `watchTopologyTree`
|
|
138
|
+
* dynamic coverage — for reactive callers, the path-set Node is the
|
|
139
|
+
* single source of truth for which paths are guarded.
|
|
140
|
+
*/
|
|
141
|
+
paths?: readonly string[] | Node<readonly string[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Ring-buffer cap for the violations topic. Default: 1000. Static
|
|
144
|
+
* number only — reactive form is deferred pending TopicGraph reactive
|
|
145
|
+
* `retainedLimit` support (see Tier 10.8 design follow-up in
|
|
146
|
+
* `docs/optimizations.md`).
|
|
130
147
|
*/
|
|
131
|
-
paths?: readonly string[];
|
|
132
|
-
/** Ring-buffer cap for the violations topic. Default: 1000. */
|
|
133
148
|
violationsLimit?: number;
|
|
134
149
|
}
|
|
135
150
|
/**
|
|
@@ -138,14 +153,14 @@ interface PolicyEnforcerOptions {
|
|
|
138
153
|
* to update them at runtime; the enforcer rebinds its internal
|
|
139
154
|
* {@link NodeGuard} on every push.
|
|
140
155
|
*/
|
|
141
|
-
declare class
|
|
156
|
+
declare class PolicyGateGraph extends Graph {
|
|
142
157
|
readonly policies: Node<readonly PolicyRuleData[]>;
|
|
143
158
|
readonly violations: TopicGraph<PolicyViolation>;
|
|
144
159
|
readonly violationCount: Node<number>;
|
|
145
160
|
private readonly _target;
|
|
146
161
|
private readonly _mode;
|
|
147
162
|
private _currentGuard;
|
|
148
|
-
constructor(target: Graph, policies: readonly PolicyRuleData[] | Node<readonly PolicyRuleData[]>, opts:
|
|
163
|
+
constructor(target: Graph, policies: readonly PolicyRuleData[] | Node<readonly PolicyRuleData[]>, opts: PolicyGateOptions);
|
|
149
164
|
private _publishViolation;
|
|
150
165
|
/** Snapshot of recorded violations. */
|
|
151
166
|
all(): readonly PolicyViolation[];
|
|
@@ -157,37 +172,16 @@ declare class PolicyEnforcerGraph extends Graph {
|
|
|
157
172
|
* static rule list or a {@link Node} of rules (LLM-updatable). Records
|
|
158
173
|
* `PolicyViolation` entries to `violations` topic; in `"enforce"` mode also
|
|
159
174
|
* pushes guards onto target nodes so disallowed writes throw.
|
|
160
|
-
*/
|
|
161
|
-
declare function policyEnforcer(target: Graph, policies: readonly PolicyRuleData[] | Node<readonly PolicyRuleData[]>, opts?: PolicyEnforcerOptions): PolicyEnforcerGraph;
|
|
162
|
-
/**
|
|
163
|
-
* Reactive {@link CausalChain} that recomputes whenever the audited graph
|
|
164
|
-
* changes. Returns a `Node<CausalChain>` suitable for subscription, mounting,
|
|
165
|
-
* or composition (e.g. inside `graphLens.why(node)`).
|
|
166
175
|
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* `data`, `error`, `complete`, and `teardown` bump the version (matching the
|
|
171
|
-
* audit defaults).
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* @deprecated Use `graph.explain(from, to, { reactive: true, ... })` directly.
|
|
175
|
-
* This free-function wrapper now dispatches to the consolidated
|
|
176
|
-
* {@link Graph.explain} overload for mental-model consistency with
|
|
177
|
-
* `describe` / `observe`. Will be removed pre-1.0.
|
|
176
|
+
* Self-tags via `g.tagFactory("policyGate", placeholderArgs(opts))` so
|
|
177
|
+
* `graph.describe()` surfaces `factory: "policyGate"` provenance (Phase 2.5
|
|
178
|
+
* DT5 ride-along, locked with the Tier 2.3 rename).
|
|
178
179
|
*/
|
|
179
|
-
declare function
|
|
180
|
-
maxDepth?: number;
|
|
181
|
-
name?: string;
|
|
182
|
-
findCycle?: boolean;
|
|
183
|
-
}): {
|
|
184
|
-
node: Node<CausalChain>;
|
|
185
|
-
dispose: () => void;
|
|
186
|
-
};
|
|
180
|
+
declare function policyGate(target: Graph, policies: readonly PolicyRuleData[] | Node<readonly PolicyRuleData[]>, opts?: PolicyGateOptions): PolicyGateGraph;
|
|
187
181
|
/** Options for {@link complianceSnapshot}. */
|
|
188
182
|
interface ComplianceSnapshotOptions {
|
|
189
183
|
audit?: AuditTrailGraph;
|
|
190
|
-
policies?:
|
|
184
|
+
policies?: PolicyGateGraph;
|
|
191
185
|
/** Actor recorded as the snapshot taker. */
|
|
192
186
|
actor?: Actor;
|
|
193
187
|
}
|
|
@@ -236,16 +230,15 @@ declare const index_AuditTrailGraph: typeof AuditTrailGraph;
|
|
|
236
230
|
type index_AuditTrailOptions = AuditTrailOptions;
|
|
237
231
|
type index_ComplianceSnapshotOptions = ComplianceSnapshotOptions;
|
|
238
232
|
type index_ComplianceSnapshotResult = ComplianceSnapshotResult;
|
|
239
|
-
type
|
|
240
|
-
declare const
|
|
241
|
-
type
|
|
233
|
+
type index_PolicyGateGraph = PolicyGateGraph;
|
|
234
|
+
declare const index_PolicyGateGraph: typeof PolicyGateGraph;
|
|
235
|
+
type index_PolicyGateOptions = PolicyGateOptions;
|
|
242
236
|
type index_PolicyViolation = PolicyViolation;
|
|
243
237
|
declare const index_auditTrail: typeof auditTrail;
|
|
244
238
|
declare const index_complianceSnapshot: typeof complianceSnapshot;
|
|
245
|
-
declare const
|
|
246
|
-
declare const index_reactiveExplainPath: typeof reactiveExplainPath;
|
|
239
|
+
declare const index_policyGate: typeof policyGate;
|
|
247
240
|
declare namespace index {
|
|
248
|
-
export { type index_AuditEntry as AuditEntry, index_AuditTrailGraph as AuditTrailGraph, type index_AuditTrailOptions as AuditTrailOptions, type index_ComplianceSnapshotOptions as ComplianceSnapshotOptions, type index_ComplianceSnapshotResult as ComplianceSnapshotResult,
|
|
241
|
+
export { type index_AuditEntry as AuditEntry, index_AuditTrailGraph as AuditTrailGraph, type index_AuditTrailOptions as AuditTrailOptions, type index_ComplianceSnapshotOptions as ComplianceSnapshotOptions, type index_ComplianceSnapshotResult as ComplianceSnapshotResult, index_PolicyGateGraph as PolicyGateGraph, type index_PolicyGateOptions as PolicyGateOptions, type index_PolicyViolation as PolicyViolation, index_auditTrail as auditTrail, index_complianceSnapshot as complianceSnapshot, index_policyGate as policyGate };
|
|
249
242
|
}
|
|
250
243
|
|
|
251
|
-
export { type AuditEntry as A, type ComplianceSnapshotOptions as C,
|
|
244
|
+
export { type AuditEntry as A, type ComplianceSnapshotOptions as C, PolicyGateGraph as P, type PolicyViolation as a, AuditTrailGraph as b, type AuditTrailOptions as c, type ComplianceSnapshotResult as d, type PolicyGateOptions as e, auditTrail as f, complianceSnapshot as g, index as i, policyGate as p };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { G as Graph, a as GraphOptions } from './graph-
|
|
3
|
-
import {
|
|
1
|
+
import { N as Node } from './node-BYInONRr.js';
|
|
2
|
+
import { G as Graph, a as GraphOptions } from './graph-30XSgtVX.js';
|
|
3
|
+
import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
|
|
4
4
|
import { AppendLogStorageTier } from './extra/storage-tiers.js';
|
|
5
5
|
|
|
6
6
|
type TopicOptions = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { N as Node } from './node-BYInONRr.cjs';
|
|
2
|
+
import { B as BaseAuditRecord } from './index-DINuaZlJ.cjs';
|
|
3
|
+
import { a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
|
|
3
4
|
import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
|
|
4
|
-
import { a as GraphOptions, G as Graph } from './graph-
|
|
5
|
-
import { B as BaseAuditRecord } from './imperative-audit-ahAE65a9.cjs';
|
|
5
|
+
import { a as GraphOptions, G as Graph } from './graph-BUwMAxJI.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* CQRS patterns (roadmap §4.5).
|
|
@@ -64,13 +64,14 @@ declare const cqrsEventKeyOf: (e: CqrsEvent) => string;
|
|
|
64
64
|
interface DispatchRecord<T = unknown> extends BaseAuditRecord {
|
|
65
65
|
readonly commandName: string;
|
|
66
66
|
readonly payload: T;
|
|
67
|
-
|
|
67
|
+
/** Action result. Tier 1.6.2 canonical enum (renamed from `status`). */
|
|
68
|
+
readonly outcome: "success" | "failure";
|
|
68
69
|
readonly error?: unknown;
|
|
69
70
|
readonly errorType?: string;
|
|
70
71
|
/**
|
|
71
72
|
* Event names emitted by the handler.
|
|
72
|
-
* - `
|
|
73
|
-
* - `
|
|
73
|
+
* - `outcome: "success"`: events that persisted in the event log.
|
|
74
|
+
* - `outcome: "failure"`: events the handler ATTEMPTED to emit before throwing;
|
|
74
75
|
* they were rolled back and did NOT persist. Documents the failed attempt's
|
|
75
76
|
* intentions for debugging handler logic. The actual event log shows only
|
|
76
77
|
* what's durable.
|
|
@@ -80,7 +81,8 @@ interface DispatchRecord<T = unknown> extends BaseAuditRecord {
|
|
|
80
81
|
declare const dispatchKeyOf: <T>(r: DispatchRecord<T>) => string;
|
|
81
82
|
interface SagaInvocation<T = unknown> extends BaseAuditRecord {
|
|
82
83
|
readonly eventType: string;
|
|
83
|
-
|
|
84
|
+
/** Action result. Tier 1.6.2 canonical enum (renamed from `status`). */
|
|
85
|
+
readonly outcome: "success" | "failure";
|
|
84
86
|
readonly error?: unknown;
|
|
85
87
|
readonly errorType?: string;
|
|
86
88
|
readonly aggregateId?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as ToObservableOptions, t as toObservable } from './observable-
|
|
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,
|
|
5
|
-
import { A as Actor } from './node-
|
|
6
|
-
import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-
|
|
4
|
+
import { G as Graph, c as GraphPersistSnapshot } from './graph-BUwMAxJI.cjs';
|
|
5
|
+
import { A as Actor } from './node-BYInONRr.cjs';
|
|
6
|
+
import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-DyM4tFAe.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,5 +1,5 @@
|
|
|
1
|
-
import { G as Graph } from './graph-
|
|
2
|
-
import { M as MeasurementAdapter } from './reactive-layout-
|
|
1
|
+
import { G as Graph } from './graph-BUwMAxJI.cjs';
|
|
2
|
+
import { M as MeasurementAdapter } from './reactive-layout-8CSc0tiA.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Three-pane demo shell (roadmap §7.2).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as GraphOptions, G as Graph } from './graph-
|
|
1
|
+
import { N as Node } from './node-BYInONRr.cjs';
|
|
2
|
+
import { a as GraphOptions, G as Graph } from './graph-BUwMAxJI.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Domain templates (roadmap §8.2).
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { N as Node, a as NodeOptions } from './node-BYInONRr.cjs';
|
|
2
|
+
import { a as GraphOptions, G as Graph } from './graph-BUwMAxJI.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Reduction primitives (roadmap §8.1).
|
|
6
|
+
*
|
|
7
|
+
* Composable building blocks for taking heterogeneous massive inputs and producing
|
|
8
|
+
* prioritized, auditable, human-actionable output. Each primitive is either a Graph
|
|
9
|
+
* factory or a Node factory, built on top of core + extra primitives.
|
|
10
|
+
*
|
|
11
|
+
* @module
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
type StepRef = string | Node<unknown>;
|
|
15
|
+
/** A named stage for {@link funnel}. */
|
|
16
|
+
type FunnelStage = {
|
|
17
|
+
/** Stage name (mounted as subgraph). */
|
|
18
|
+
name: string;
|
|
19
|
+
/** Builder: receives a sub-graph, should add an `"input"` and `"output"` node. */
|
|
20
|
+
build: (sub: Graph) => void;
|
|
21
|
+
};
|
|
22
|
+
/** Options for {@link funnel}. */
|
|
23
|
+
type FunnelOptions = GraphOptions & {
|
|
24
|
+
meta?: Record<string, unknown>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Multi-source merge with sequential reduction stages.
|
|
28
|
+
*
|
|
29
|
+
* Sources are merged into a single stream. Each stage is a named subgraph
|
|
30
|
+
* (mounted via `graph.mount()`). Stages connect linearly:
|
|
31
|
+
* `merged → stage[0].input → stage[0].output → stage[1].input → ...`
|
|
32
|
+
*
|
|
33
|
+
* @param name - Graph name.
|
|
34
|
+
* @param sources - Input nodes to merge.
|
|
35
|
+
* @param stages - Sequential reduction stages.
|
|
36
|
+
* @param opts - Optional graph/meta options.
|
|
37
|
+
* @returns Graph with `"merged"` and mounted stage subgraphs.
|
|
38
|
+
*
|
|
39
|
+
* @category patterns
|
|
40
|
+
*/
|
|
41
|
+
declare function funnel<T>(name: string, sources: ReadonlyArray<Node<T>>, stages: ReadonlyArray<FunnelStage>, opts?: FunnelOptions): Graph;
|
|
42
|
+
/** Options for {@link feedback}. */
|
|
43
|
+
type FeedbackOptions = {
|
|
44
|
+
/** Maximum feedback iterations before stopping (default: 10). */
|
|
45
|
+
maxIterations?: number;
|
|
46
|
+
/** Optional budget gate node path for cost-bounded iteration. */
|
|
47
|
+
budgetNode?: StepRef;
|
|
48
|
+
meta?: Record<string, unknown>;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Introduce a bounded reactive cycle into an existing graph.
|
|
52
|
+
*
|
|
53
|
+
* When `condition` emits a non-null DATA value, the feedback effect routes it
|
|
54
|
+
* back to the `reentry` state node — creating a cycle. Bounded by
|
|
55
|
+
* `maxIterations` (default 10). The counter node (`__feedback_<condition>`)
|
|
56
|
+
* is the source of truth — reset it to 0 to allow more iterations.
|
|
57
|
+
*
|
|
58
|
+
* To remove the feedback cycle, call `graph.remove("__feedback_<condition>")`.
|
|
59
|
+
*
|
|
60
|
+
* @param graph - Existing graph to augment with a feedback cycle.
|
|
61
|
+
* @param condition - Path to a node whose DATA triggers feedback.
|
|
62
|
+
* @param reentry - Path to a state node that receives the feedback value.
|
|
63
|
+
* @param opts - Iteration bounds and metadata.
|
|
64
|
+
* @returns The same graph (mutated with feedback nodes added).
|
|
65
|
+
*
|
|
66
|
+
* @category patterns
|
|
67
|
+
*/
|
|
68
|
+
declare function feedback(graph: Graph, condition: string, reentry: string, opts?: FeedbackOptions): Graph;
|
|
69
|
+
/** A scored item with full breakdown. */
|
|
70
|
+
type ScoredItem<T = unknown> = {
|
|
71
|
+
/** Original value. */
|
|
72
|
+
value: T;
|
|
73
|
+
/** Final weighted score. */
|
|
74
|
+
score: number;
|
|
75
|
+
/** Per-signal breakdown: signal index → weighted contribution. */
|
|
76
|
+
breakdown: number[];
|
|
77
|
+
};
|
|
78
|
+
/** Options for {@link scorer}. */
|
|
79
|
+
type ScorerOptions = Omit<NodeOptions<unknown>, "describeKind" | "name" | "meta"> & {
|
|
80
|
+
meta?: Record<string, unknown>;
|
|
81
|
+
/** Custom scoring function per signal. Default: identity (signal value IS the score). */
|
|
82
|
+
scoreFns?: ReadonlyArray<(value: unknown) => number>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Reactive multi-signal scoring with live weights.
|
|
86
|
+
*
|
|
87
|
+
* Each source emits items to score. Weights are reactive state nodes that
|
|
88
|
+
* LLM or human can adjust live. Output is sorted scored items with full
|
|
89
|
+
* breakdown.
|
|
90
|
+
*
|
|
91
|
+
* @param sources - Signal nodes (each emits a numeric score dimension).
|
|
92
|
+
* @param weights - Reactive weight nodes (one per source).
|
|
93
|
+
* @param opts - Optional node/meta options.
|
|
94
|
+
* @returns Node emitting scored output.
|
|
95
|
+
*
|
|
96
|
+
* @category patterns
|
|
97
|
+
*/
|
|
98
|
+
declare function scorer(sources: ReadonlyArray<Node<number>>, weights: ReadonlyArray<Node<number>>, opts?: ScorerOptions): Node<ScoredItem<number[]>>;
|
|
99
|
+
|
|
100
|
+
type index_FeedbackOptions = FeedbackOptions;
|
|
101
|
+
type index_FunnelOptions = FunnelOptions;
|
|
102
|
+
type index_FunnelStage = FunnelStage;
|
|
103
|
+
type index_ScoredItem<T = unknown> = ScoredItem<T>;
|
|
104
|
+
type index_ScorerOptions = ScorerOptions;
|
|
105
|
+
type index_StepRef = StepRef;
|
|
106
|
+
declare const index_feedback: typeof feedback;
|
|
107
|
+
declare const index_funnel: typeof funnel;
|
|
108
|
+
declare const index_scorer: typeof scorer;
|
|
109
|
+
declare namespace index {
|
|
110
|
+
export { type index_FeedbackOptions as FeedbackOptions, type index_FunnelOptions as FunnelOptions, type index_FunnelStage as FunnelStage, type index_ScoredItem as ScoredItem, type index_ScorerOptions as ScorerOptions, type index_StepRef as StepRef, index_feedback as feedback, index_funnel as funnel, index_scorer as scorer };
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export { type FeedbackOptions as F, type ScoredItem as S, type FunnelOptions as a, type FunnelStage as b, type ScorerOptions as c, type StepRef as d, funnel as e, feedback as f, index as i, scorer as s };
|
|
@@ -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-
|
|
2
|
-
import { G as Graph,
|
|
3
|
-
import { KvStorageTier } from './extra/storage-tiers.
|
|
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-DlrWu9Hs.cjs';
|
|
2
|
+
import { G as Graph, p as GraphNodeFactory, n as GraphDiffResult } from './graph-BUwMAxJI.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).
|