@logixjs/core 0.0.1 → 1.0.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/LICENSE +201 -0
- package/dist/{Action-mqVvtEHt.d.ts → Action-DYl88bwj.d.ts} +1 -1
- package/dist/{Action-BkRHy2vg.d.cts → Action-DkxsI_DK.d.cts} +1 -1
- package/dist/Action.cjs.map +1 -1
- package/dist/Action.d.cts +1 -1
- package/dist/Action.d.ts +1 -1
- package/dist/Action.js +2 -2
- package/dist/{Actions-AsQ07yTP.d.cts → Actions-Dicm7jdc.d.cts} +2 -2
- package/dist/{Actions-AsQ07yTP.d.ts → Actions-Dicm7jdc.d.ts} +2 -2
- package/dist/Actions.cjs.map +1 -1
- package/dist/Actions.d.cts +1 -1
- package/dist/Actions.d.ts +1 -1
- package/dist/Actions.js +1 -1
- package/dist/{Bound-BN1DQ_lM.d.ts → Bound-1OJLzVIS.d.ts} +2 -2
- package/dist/{Bound-BPIfH9SS.d.cts → Bound-BMLrtQ1V.d.cts} +2 -2
- package/dist/Bound.cjs +1737 -399
- package/dist/Bound.cjs.map +1 -1
- package/dist/Bound.d.cts +5 -5
- package/dist/Bound.d.ts +5 -5
- package/dist/Bound.js +19 -17
- package/dist/{Debug-B5q5Bkzx.d.ts → Debug-DKrWP5H1.d.ts} +40 -22
- package/dist/{Debug-Bq8Sqjcr.d.cts → Debug-hIT44XsY.d.cts} +40 -22
- package/dist/Debug.cjs +1348 -318
- package/dist/Debug.cjs.map +1 -1
- package/dist/Debug.d.cts +12 -11
- package/dist/Debug.d.ts +12 -11
- package/dist/Debug.js +20 -11
- package/dist/EffectOp.cjs +15 -6
- package/dist/EffectOp.cjs.map +1 -1
- package/dist/EffectOp.js +3 -3
- package/dist/Env.cjs +772 -6
- package/dist/Env.cjs.map +1 -1
- package/dist/Env.js +5 -2
- package/dist/ExternalStore-DqJKKRJ4.d.ts +61 -0
- package/dist/ExternalStore-JC-gAgEI.d.cts +61 -0
- package/dist/ExternalStore.cjs +774 -0
- package/dist/ExternalStore.cjs.map +1 -0
- package/dist/ExternalStore.d.cts +8 -0
- package/dist/ExternalStore.d.ts +8 -0
- package/dist/ExternalStore.js +19 -0
- package/dist/ExternalStore.js.map +1 -0
- package/dist/{Flow-BhpjE22E.d.ts → Flow-CZmXRDqp.d.cts} +13 -4
- package/dist/{Flow-1fZT8MpX.d.cts → Flow-DIVDxz7R.d.ts} +13 -4
- package/dist/Flow.cjs +765 -148
- package/dist/Flow.cjs.map +1 -1
- package/dist/Flow.d.cts +6 -6
- package/dist/Flow.d.ts +6 -6
- package/dist/Flow.js +9 -8
- package/dist/{Handle-D_cLW1Z3.d.ts → Handle-Bo6cAFut.d.ts} +1 -1
- package/dist/{Handle-D8D1zPb_.d.cts → Handle-CfDvSqN7.d.cts} +1 -1
- package/dist/Handle.d.cts +5 -5
- package/dist/Handle.d.ts +5 -5
- package/dist/{Kernel-8kC-jOda.d.cts → Kernel-CuXBF9S_.d.cts} +16 -7
- package/dist/{Kernel-CnGE1Fyk.d.ts → Kernel-D9guNwRL.d.ts} +16 -7
- package/dist/Kernel.cjs +814 -26
- package/dist/Kernel.cjs.map +1 -1
- package/dist/Kernel.d.cts +13 -12
- package/dist/Kernel.d.ts +13 -12
- package/dist/Kernel.js +7 -4
- package/dist/{Link-Db7975nU.d.ts → Link-CUM0yUCH.d.ts} +10 -3
- package/dist/{Link-fX8x1eCK.d.cts → Link-NAfR6uGD.d.cts} +10 -3
- package/dist/Link.cjs +1294 -121
- package/dist/Link.cjs.map +1 -1
- package/dist/Link.d.cts +5 -5
- package/dist/Link.d.ts +5 -5
- package/dist/Link.js +37 -29
- package/dist/{Logic-DRh4sDZj.d.cts → Logic-09VQpIj3.d.cts} +7 -4
- package/dist/{Logic-BRjEMr-W.d.ts → Logic-DKg7ghGy.d.ts} +7 -4
- package/dist/Logic.cjs +2 -1
- package/dist/Logic.cjs.map +1 -1
- package/dist/Logic.d.cts +5 -5
- package/dist/Logic.d.ts +5 -5
- package/dist/Logic.js +1 -1
- package/dist/{MatchBuilder-CJk5oCkR.d.cts → MatchBuilder-CsW5jgrL.d.ts} +1 -1
- package/dist/{MatchBuilder-0QOc-nlU.d.ts → MatchBuilder-Dksk07F4.d.cts} +1 -1
- package/dist/MatchBuilder.cjs +2 -2
- package/dist/MatchBuilder.cjs.map +1 -1
- package/dist/MatchBuilder.d.cts +6 -6
- package/dist/MatchBuilder.d.ts +6 -6
- package/dist/MatchBuilder.js +2 -2
- package/dist/Middleware-D8tUDLv_.d.cts +100 -0
- package/dist/Middleware-DS7CbTTN.d.ts +100 -0
- package/dist/Middleware.cjs +678 -58
- package/dist/Middleware.cjs.map +1 -1
- package/dist/Middleware.d.cts +2 -86
- package/dist/Middleware.d.ts +2 -86
- package/dist/Middleware.js +15 -12
- package/dist/{Module-DnzluX2J.d.ts → Module-B_Cntyms.d.ts} +54 -25
- package/dist/{Module-B_0xRDMR.d.cts → Module-CmNOVXzf.d.cts} +54 -25
- package/dist/Module.cjs +9331 -3317
- package/dist/Module.cjs.map +1 -1
- package/dist/Module.d.cts +7 -6
- package/dist/Module.d.ts +7 -6
- package/dist/Module.js +39 -31
- package/dist/ModuleTag-CGho_InD.d.ts +113 -0
- package/dist/ModuleTag-CITb8L_G.d.cts +113 -0
- package/dist/ModuleTag.cjs +7248 -2847
- package/dist/ModuleTag.cjs.map +1 -1
- package/dist/ModuleTag.d.cts +6 -6
- package/dist/ModuleTag.d.ts +6 -6
- package/dist/ModuleTag.js +35 -29
- package/dist/Observability-Bdhnx2Dv.d.ts +385 -0
- package/dist/Observability-DXGAFBIT.d.cts +385 -0
- package/dist/Observability.cjs +5093 -1556
- package/dist/Observability.cjs.map +1 -1
- package/dist/Observability.d.cts +6 -7
- package/dist/Observability.d.ts +6 -7
- package/dist/Observability.js +28 -23
- package/dist/{Platform-CHX8o-U4.d.ts → Platform-B4s8tg6C.d.cts} +4 -5
- package/dist/{Platform-C49Pv956.d.cts → Platform-BV_0MW7g.d.cts} +5 -2
- package/dist/{Platform-C49Pv956.d.ts → Platform-BV_0MW7g.d.ts} +5 -2
- package/dist/{Platform-CVlv0xLQ.d.cts → Platform-W0Mefy_e.d.ts} +4 -5
- package/dist/Platform.cjs +2 -1
- package/dist/Platform.cjs.map +1 -1
- package/dist/Platform.d.cts +2 -3
- package/dist/Platform.d.ts +2 -3
- package/dist/Platform.js +2 -2
- package/dist/{Process-CM9xbMdP.d.ts → Process-CO8G7HO9.d.cts} +30 -5
- package/dist/{Process-mL8fHDSB.d.cts → Process-Cyf6VNDR.d.ts} +30 -5
- package/dist/Process.cjs +1288 -120
- package/dist/Process.cjs.map +1 -1
- package/dist/Process.d.cts +6 -6
- package/dist/Process.d.ts +6 -6
- package/dist/Process.js +34 -26
- package/dist/ReadQuery-C_or5nLC.d.ts +128 -0
- package/dist/ReadQuery-DXLzCE0E.d.cts +614 -0
- package/dist/ReadQuery-DXLzCE0E.d.ts +614 -0
- package/dist/ReadQuery-Yve1lmUo.d.cts +128 -0
- package/dist/ReadQuery.cjs +290 -5
- package/dist/ReadQuery.cjs.map +1 -1
- package/dist/ReadQuery.d.cts +3 -2
- package/dist/ReadQuery.d.ts +3 -2
- package/dist/ReadQuery.js +23 -5
- package/dist/{Reflection-CQnKwPXj.d.ts → Reflection-B2Xi1e4Q.d.ts} +89 -7
- package/dist/{Reflection-Kabo1mlU.d.cts → Reflection-DNB4V4_e.d.cts} +89 -7
- package/dist/Reflection.cjs +3227 -1617
- package/dist/Reflection.cjs.map +1 -1
- package/dist/Reflection.d.cts +17 -15
- package/dist/Reflection.d.ts +17 -15
- package/dist/Reflection.js +33 -25
- package/dist/{Resource-Dy1xD_DG.d.cts → Resource-pKvQQ4x5.d.cts} +3 -3
- package/dist/{Resource-Dy1xD_DG.d.ts → Resource-pKvQQ4x5.d.ts} +3 -3
- package/dist/Resource.cjs +781 -15
- package/dist/Resource.cjs.map +1 -1
- package/dist/Resource.d.cts +1 -1
- package/dist/Resource.d.ts +1 -1
- package/dist/Resource.js +6 -3
- package/dist/{Root-7ADUMk4t.d.cts → Root-CCVuFHB6.d.cts} +3 -3
- package/dist/{Root-7ADUMk4t.d.ts → Root-CCVuFHB6.d.ts} +3 -3
- package/dist/Root.cjs +786 -20
- package/dist/Root.cjs.map +1 -1
- package/dist/Root.d.cts +2 -2
- package/dist/Root.d.ts +2 -2
- package/dist/Root.js +7 -3
- package/dist/{Runtime-CtyzZG4i.d.ts → Runtime-CRmvwK4I.d.ts} +70 -14
- package/dist/{Runtime-B-aL-f29.d.cts → Runtime-C_wJM9mN.d.cts} +70 -14
- package/dist/Runtime.cjs +4942 -1601
- package/dist/Runtime.cjs.map +1 -1
- package/dist/Runtime.d.cts +17 -15
- package/dist/Runtime.d.ts +17 -15
- package/dist/Runtime.js +44 -32
- package/dist/{ScopeRegistry-D1owDNSm.d.cts → ScopeRegistry-BhYzqWri.d.cts} +6 -6
- package/dist/{ScopeRegistry-D1owDNSm.d.ts → ScopeRegistry-BhYzqWri.d.ts} +6 -6
- package/dist/ScopeRegistry.cjs +776 -10
- package/dist/ScopeRegistry.cjs.map +1 -1
- package/dist/ScopeRegistry.d.cts +1 -1
- package/dist/ScopeRegistry.d.ts +1 -1
- package/dist/ScopeRegistry.js +6 -3
- package/dist/{State-CU50R26M.d.cts → State-rNFsFPTl.d.cts} +2 -2
- package/dist/{State-CU50R26M.d.ts → State-rNFsFPTl.d.ts} +2 -2
- package/dist/State.cjs.map +1 -1
- package/dist/State.d.cts +1 -1
- package/dist/State.d.ts +1 -1
- package/dist/State.js +1 -1
- package/dist/{StateTrait-BGsZghTz.d.ts → StateTrait-CijdwNb6.d.ts} +25 -8
- package/dist/{StateTrait-OWhbj12c.d.cts → StateTrait-Dltto6PU.d.cts} +25 -8
- package/dist/StateTrait.cjs +1890 -528
- package/dist/StateTrait.cjs.map +1 -1
- package/dist/StateTrait.d.cts +9 -7
- package/dist/StateTrait.d.ts +9 -7
- package/dist/StateTrait.js +18 -14
- package/dist/{TraitLifecycle-CwV5WPFX.d.cts → TraitLifecycle-BKzDqzLu.d.cts} +2 -2
- package/dist/{TraitLifecycle-LdIWmKlg.d.ts → TraitLifecycle-Cvo94uDB.d.ts} +2 -2
- package/dist/TraitLifecycle.cjs +630 -67
- package/dist/TraitLifecycle.cjs.map +1 -1
- package/dist/TraitLifecycle.d.cts +6 -6
- package/dist/TraitLifecycle.d.ts +6 -6
- package/dist/TraitLifecycle.js +8 -7
- package/dist/Workflow-C_OWr4dV.d.ts +415 -0
- package/dist/Workflow-DmydkHO8.d.cts +415 -0
- package/dist/Workflow.cjs +3150 -0
- package/dist/Workflow.cjs.map +1 -0
- package/dist/Workflow.d.cts +7 -0
- package/dist/Workflow.d.ts +7 -0
- package/dist/Workflow.js +58 -0
- package/dist/Workflow.js.map +1 -0
- package/dist/{action-DiMDD_0v.d.cts → action-BQxjPFEw.d.cts} +5 -5
- package/dist/{action-DiMDD_0v.d.ts → action-BQxjPFEw.d.ts} +5 -5
- package/dist/chunk-2XRLXDWR.js +276 -0
- package/dist/chunk-2XRLXDWR.js.map +1 -0
- package/dist/chunk-3L6QGFMM.js +701 -0
- package/dist/chunk-3L6QGFMM.js.map +1 -0
- package/dist/{chunk-GMPEOUP2.js → chunk-4MZ7BT3R.js} +2 -2
- package/dist/chunk-4MZ7BT3R.js.map +1 -0
- package/dist/{chunk-3IYZ5IGG.js → chunk-5WKUGEBY.js} +2 -2
- package/dist/{chunk-3RMKLXHX.js → chunk-63ZQ5RIN.js} +2 -2
- package/dist/{chunk-M3WTHJHJ.js → chunk-67DIEA53.js} +385 -148
- package/dist/chunk-67DIEA53.js.map +1 -0
- package/dist/{chunk-YS3AZQ2G.js → chunk-6HFAW2MH.js} +1 -1
- package/dist/chunk-6HFAW2MH.js.map +1 -0
- package/dist/{chunk-EY4NZKDR.js → chunk-6Y2TKCNY.js} +2 -2
- package/dist/{chunk-76WT3HOR.js → chunk-6YZOXFPQ.js} +25 -24
- package/dist/chunk-6YZOXFPQ.js.map +1 -0
- package/dist/{chunk-G5ZBFPNU.js → chunk-A2RQOJC7.js} +2 -2
- package/dist/{chunk-AUIR5O6W.js → chunk-AFSB6NKM.js} +13 -19
- package/dist/chunk-AFSB6NKM.js.map +1 -0
- package/dist/{chunk-JCXGZRMU.js → chunk-AO4JEOKD.js} +22 -23
- package/dist/chunk-AO4JEOKD.js.map +1 -0
- package/dist/{chunk-TAAPQVZN.js → chunk-AYELIQXR.js} +2 -2
- package/dist/{chunk-QMM6O4CD.js → chunk-BLHZW7DG.js} +15 -3
- package/dist/{chunk-QMM6O4CD.js.map → chunk-BLHZW7DG.js.map} +1 -1
- package/dist/{chunk-TQOBJYDP.js → chunk-CD4N74YC.js} +1 -1
- package/dist/chunk-CD4N74YC.js.map +1 -0
- package/dist/{chunk-ANLBCBDC.js → chunk-CGE2HBTH.js} +11 -11
- package/dist/chunk-CGE2HBTH.js.map +1 -0
- package/dist/{chunk-OFADUJWJ.js → chunk-CYYSQMLO.js} +5 -5
- package/dist/chunk-CYYSQMLO.js.map +1 -0
- package/dist/{chunk-66ALHVEX.js → chunk-EB46EYI7.js} +3 -3
- package/dist/{chunk-NZJKFF45.js → chunk-EKCDHWRK.js} +4 -4
- package/dist/chunk-EKCDHWRK.js.map +1 -0
- package/dist/{chunk-BABLDP24.js → chunk-EPQFNJU3.js} +152 -7
- package/dist/chunk-EPQFNJU3.js.map +1 -0
- package/dist/{chunk-OGWBVHB3.js → chunk-ESR6HGOY.js} +73 -14
- package/dist/chunk-ESR6HGOY.js.map +1 -0
- package/dist/{chunk-NBD3KUOZ.js → chunk-F6RP62H3.js} +150 -98
- package/dist/chunk-F6RP62H3.js.map +1 -0
- package/dist/chunk-FBYW3QDI.js +252 -0
- package/dist/chunk-FBYW3QDI.js.map +1 -0
- package/dist/{chunk-IPF7E66P.js → chunk-FYAODKVP.js} +2 -2
- package/dist/chunk-GNEN7NKO.js +908 -0
- package/dist/chunk-GNEN7NKO.js.map +1 -0
- package/dist/chunk-GWSM4KLB.js +763 -0
- package/dist/chunk-GWSM4KLB.js.map +1 -0
- package/dist/{chunk-4SO6JMZL.js → chunk-HDMXCUZL.js} +1 -1
- package/dist/chunk-HDMXCUZL.js.map +1 -0
- package/dist/{chunk-ZFY7U2FR.js → chunk-HJM5Y5NU.js} +43 -3
- package/dist/chunk-HJM5Y5NU.js.map +1 -0
- package/dist/{chunk-ZGDVUPTM.js → chunk-IOZ3VKPK.js} +129 -68
- package/dist/chunk-IOZ3VKPK.js.map +1 -0
- package/dist/{chunk-PYOE4VSI.js → chunk-IVXSVHO4.js} +303 -247
- package/dist/chunk-IVXSVHO4.js.map +1 -0
- package/dist/chunk-J3CWXIPV.js +242 -0
- package/dist/chunk-J3CWXIPV.js.map +1 -0
- package/dist/chunk-K6JQW266.js +42 -0
- package/dist/chunk-K6JQW266.js.map +1 -0
- package/dist/chunk-KMZYQF6Q.js +202 -0
- package/dist/chunk-KMZYQF6Q.js.map +1 -0
- package/dist/{chunk-JWOYLO27.js → chunk-LPPZDFTD.js} +22 -12
- package/dist/chunk-LPPZDFTD.js.map +1 -0
- package/dist/{chunk-PAYXCY6A.js → chunk-MYB2B5WX.js} +997 -576
- package/dist/chunk-MYB2B5WX.js.map +1 -0
- package/dist/chunk-MYKNINNN.js +228 -0
- package/dist/chunk-MYKNINNN.js.map +1 -0
- package/dist/chunk-NSQIRMVF.js +27 -0
- package/dist/{chunk-QCHIQWAJ.js.map → chunk-NSQIRMVF.js.map} +1 -1
- package/dist/chunk-NUDBM4MM.js +30 -0
- package/dist/chunk-NUDBM4MM.js.map +1 -0
- package/dist/chunk-NZMWWDAY.js +23 -0
- package/dist/chunk-NZMWWDAY.js.map +1 -0
- package/dist/{chunk-RNFE3ML2.js → chunk-OCUV2Y25.js} +4 -3
- package/dist/chunk-OCUV2Y25.js.map +1 -0
- package/dist/chunk-P4ZJOQA7.js +271 -0
- package/dist/chunk-P4ZJOQA7.js.map +1 -0
- package/dist/chunk-P6C5EZ3D.js +342 -0
- package/dist/chunk-P6C5EZ3D.js.map +1 -0
- package/dist/{chunk-CW6T36TN.js → chunk-PBD7BJUN.js} +62 -4
- package/dist/chunk-PBD7BJUN.js.map +1 -0
- package/dist/chunk-PBIUCQY3.js +696 -0
- package/dist/chunk-PBIUCQY3.js.map +1 -0
- package/dist/chunk-PD6YECQH.js +845 -0
- package/dist/chunk-PD6YECQH.js.map +1 -0
- package/dist/{chunk-M7IYCTJV.js → chunk-R4LFQGP3.js} +2 -2
- package/dist/chunk-RHJIGDUE.js +21 -0
- package/dist/chunk-RHJIGDUE.js.map +1 -0
- package/dist/{chunk-KP7MUZNX.js → chunk-RLXO27MW.js} +30 -8
- package/dist/chunk-RLXO27MW.js.map +1 -0
- package/dist/{chunk-DFNM3WX2.js → chunk-S44BEV4B.js} +168 -45
- package/dist/chunk-S44BEV4B.js.map +1 -0
- package/dist/chunk-S4S5N4BJ.js +1461 -0
- package/dist/chunk-S4S5N4BJ.js.map +1 -0
- package/dist/{chunk-BZ2SHDN2.js → chunk-SGTRAXXX.js} +3 -3
- package/dist/chunk-SGTRAXXX.js.map +1 -0
- package/dist/{chunk-M2RGJPXX.js → chunk-SJAE5PB5.js} +3 -3
- package/dist/{chunk-JGIWG6SR.js → chunk-SNPNHU3H.js} +3937 -1776
- package/dist/chunk-SNPNHU3H.js.map +1 -0
- package/dist/{chunk-IHVBV5C2.js → chunk-SOOBFXRR.js} +94 -71
- package/dist/chunk-SOOBFXRR.js.map +1 -0
- package/dist/{chunk-ZDTRWK5F.js → chunk-TAHFWKS6.js} +2 -2
- package/dist/chunk-UEFFTVPY.js +9 -0
- package/dist/chunk-UEFFTVPY.js.map +1 -0
- package/dist/{chunk-24VULZ7A.js → chunk-UR5BXLBP.js} +3 -3
- package/dist/chunk-UR5BXLBP.js.map +1 -0
- package/dist/{chunk-DMBALCE2.js → chunk-V2SBGVDO.js} +471 -186
- package/dist/chunk-V2SBGVDO.js.map +1 -0
- package/dist/chunk-VJLWD47W.js +23 -0
- package/dist/chunk-VJLWD47W.js.map +1 -0
- package/dist/{chunk-4CQAV7YB.js → chunk-W647DX5Z.js} +2 -2
- package/dist/{chunk-THATMZXD.js → chunk-WFIIU3YZ.js} +2 -2
- package/dist/{chunk-THATMZXD.js.map → chunk-WFIIU3YZ.js.map} +1 -1
- package/dist/chunk-YZDJMAKL.js +82 -0
- package/dist/chunk-YZDJMAKL.js.map +1 -0
- package/dist/{chunk-3TMODYZV.js → chunk-Z5XH6VHY.js} +5 -5
- package/dist/chunk-Z5XH6VHY.js.map +1 -0
- package/dist/{chunk-BE3HW4FY.js → chunk-ZBBMZMA6.js} +377 -170
- package/dist/chunk-ZBBMZMA6.js.map +1 -0
- package/dist/index.cjs +21224 -11714
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +195 -49
- package/dist/index.d.ts +195 -49
- package/dist/index.js +150 -74
- package/dist/index.js.map +1 -1
- package/dist/{ir-BMP7yxJJ.d.cts → ir-BSosEwc8.d.cts} +1 -1
- package/dist/{ir-DUOz6H-5.d.ts → ir-D-uqwL_4.d.ts} +1 -1
- package/dist/{module-B8CBqIZ_.d.cts → module-Ds4tarcI.d.cts} +230 -140
- package/dist/{module-k7m3txak.d.ts → module-Zd1Gn-Nj.d.ts} +230 -140
- package/package.json +20 -4
- package/dist/ModuleTag-C8FHY_sY.d.ts +0 -93
- package/dist/ModuleTag-EGbgBMpZ.d.cts +0 -93
- package/dist/Observability-COqEvp2C.d.cts +0 -713
- package/dist/Observability-cY4kLn0S.d.ts +0 -713
- package/dist/ReadQuery-BlMwhe-F.d.ts +0 -30
- package/dist/ReadQuery-CL5XlXts.d.cts +0 -30
- package/dist/ReadQuery-SinbStGF.d.cts +0 -38
- package/dist/ReadQuery-SinbStGF.d.ts +0 -38
- package/dist/chunk-24VULZ7A.js.map +0 -1
- package/dist/chunk-3QMIVH35.js +0 -43
- package/dist/chunk-3QMIVH35.js.map +0 -1
- package/dist/chunk-3TMODYZV.js.map +0 -1
- package/dist/chunk-4SO6JMZL.js.map +0 -1
- package/dist/chunk-76WT3HOR.js.map +0 -1
- package/dist/chunk-ANLBCBDC.js.map +0 -1
- package/dist/chunk-AUIR5O6W.js.map +0 -1
- package/dist/chunk-BABLDP24.js.map +0 -1
- package/dist/chunk-BE3HW4FY.js.map +0 -1
- package/dist/chunk-BZ2SHDN2.js.map +0 -1
- package/dist/chunk-CW6T36TN.js.map +0 -1
- package/dist/chunk-DFNM3WX2.js.map +0 -1
- package/dist/chunk-DMBALCE2.js.map +0 -1
- package/dist/chunk-EGK3KN7B.js +0 -406
- package/dist/chunk-EGK3KN7B.js.map +0 -1
- package/dist/chunk-GMPEOUP2.js.map +0 -1
- package/dist/chunk-IHVBV5C2.js.map +0 -1
- package/dist/chunk-JCXGZRMU.js.map +0 -1
- package/dist/chunk-JGIWG6SR.js.map +0 -1
- package/dist/chunk-JWOYLO27.js.map +0 -1
- package/dist/chunk-KIXAU3GM.js +0 -137
- package/dist/chunk-KIXAU3GM.js.map +0 -1
- package/dist/chunk-KL5ACTCT.js +0 -8
- package/dist/chunk-KL5ACTCT.js.map +0 -1
- package/dist/chunk-KP7MUZNX.js.map +0 -1
- package/dist/chunk-M3BFQ7HK.js +0 -13
- package/dist/chunk-M3BFQ7HK.js.map +0 -1
- package/dist/chunk-M3WTHJHJ.js.map +0 -1
- package/dist/chunk-NBD3KUOZ.js.map +0 -1
- package/dist/chunk-NQZ2OSGR.js +0 -151
- package/dist/chunk-NQZ2OSGR.js.map +0 -1
- package/dist/chunk-NZJKFF45.js.map +0 -1
- package/dist/chunk-OFADUJWJ.js.map +0 -1
- package/dist/chunk-OGWBVHB3.js.map +0 -1
- package/dist/chunk-PAYXCY6A.js.map +0 -1
- package/dist/chunk-PYOE4VSI.js.map +0 -1
- package/dist/chunk-QCHIQWAJ.js +0 -21
- package/dist/chunk-RNFE3ML2.js.map +0 -1
- package/dist/chunk-TKZ7MEIA.js +0 -27
- package/dist/chunk-TKZ7MEIA.js.map +0 -1
- package/dist/chunk-TQOBJYDP.js.map +0 -1
- package/dist/chunk-VZB726PE.js +0 -93
- package/dist/chunk-VZB726PE.js.map +0 -1
- package/dist/chunk-W3TEWHLO.js +0 -568
- package/dist/chunk-W3TEWHLO.js.map +0 -1
- package/dist/chunk-YS3AZQ2G.js.map +0 -1
- package/dist/chunk-ZFLHVFUC.js +0 -192
- package/dist/chunk-ZFLHVFUC.js.map +0 -1
- package/dist/chunk-ZFY7U2FR.js.map +0 -1
- package/dist/chunk-ZGDVUPTM.js.map +0 -1
- package/dist/protocol-g_1897M2.d.cts +0 -127
- package/dist/protocol-g_1897M2.d.ts +0 -127
- /package/dist/{chunk-3IYZ5IGG.js.map → chunk-5WKUGEBY.js.map} +0 -0
- /package/dist/{chunk-3RMKLXHX.js.map → chunk-63ZQ5RIN.js.map} +0 -0
- /package/dist/{chunk-EY4NZKDR.js.map → chunk-6Y2TKCNY.js.map} +0 -0
- /package/dist/{chunk-G5ZBFPNU.js.map → chunk-A2RQOJC7.js.map} +0 -0
- /package/dist/{chunk-TAAPQVZN.js.map → chunk-AYELIQXR.js.map} +0 -0
- /package/dist/{chunk-66ALHVEX.js.map → chunk-EB46EYI7.js.map} +0 -0
- /package/dist/{chunk-IPF7E66P.js.map → chunk-FYAODKVP.js.map} +0 -0
- /package/dist/{chunk-M7IYCTJV.js.map → chunk-R4LFQGP3.js.map} +0 -0
- /package/dist/{chunk-M2RGJPXX.js.map → chunk-SJAE5PB5.js.map} +0 -0
- /package/dist/{chunk-ZDTRWK5F.js.map → chunk-TAHFWKS6.js.map} +0 -0
- /package/dist/{chunk-4CQAV7YB.js.map → chunk-W647DX5Z.js.map} +0 -0
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import { Effect, ServiceMap, Layer } from 'effect';
|
|
2
|
+
|
|
3
|
+
interface SerializableErrorSummary$1 {
|
|
4
|
+
readonly message: string;
|
|
5
|
+
readonly name?: string;
|
|
6
|
+
readonly code?: string;
|
|
7
|
+
readonly hint?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type JsonValue = null | boolean | number | string | ReadonlyArray<JsonValue> | {
|
|
11
|
+
readonly [key: string]: JsonValue;
|
|
12
|
+
};
|
|
13
|
+
type DowngradeReason = 'non_serializable' | 'oversized' | 'unknown';
|
|
14
|
+
interface JsonValueProjectionStats {
|
|
15
|
+
readonly dropped: number;
|
|
16
|
+
readonly oversized: number;
|
|
17
|
+
readonly nonSerializable: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type ResourceSnapshotPhase = 'idle' | 'loading' | 'success' | 'error';
|
|
21
|
+
type ReplayLogEvent = {
|
|
22
|
+
readonly _tag: 'ResourceSnapshot';
|
|
23
|
+
readonly resourceId: string;
|
|
24
|
+
readonly fieldPath: string;
|
|
25
|
+
readonly keyHash?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional: source concurrency policy (e.g. "switch" / "exhaust-trailing").
|
|
28
|
+
* - Must remain slim & serializable.
|
|
29
|
+
* - Used by Devtools/replay to explain why old results are dropped / why trailing happens.
|
|
30
|
+
*/
|
|
31
|
+
readonly concurrency?: string;
|
|
32
|
+
readonly phase: ResourceSnapshotPhase;
|
|
33
|
+
readonly snapshot: unknown;
|
|
34
|
+
readonly timestamp: number;
|
|
35
|
+
readonly moduleId?: string;
|
|
36
|
+
readonly instanceId?: string;
|
|
37
|
+
} | {
|
|
38
|
+
readonly _tag: 'InvalidateRequest';
|
|
39
|
+
readonly timestamp: number;
|
|
40
|
+
readonly moduleId?: string;
|
|
41
|
+
readonly instanceId?: string;
|
|
42
|
+
readonly kind: 'resource' | 'query';
|
|
43
|
+
readonly target: string;
|
|
44
|
+
readonly meta?: unknown;
|
|
45
|
+
};
|
|
46
|
+
type ResourceSnapshotEvent = Extract<ReplayLogEvent, {
|
|
47
|
+
readonly _tag: 'ResourceSnapshot';
|
|
48
|
+
}>;
|
|
49
|
+
interface ReplayLogService {
|
|
50
|
+
readonly record: (event: ReplayLogEvent) => Effect.Effect<void>;
|
|
51
|
+
readonly snapshot: Effect.Effect<ReadonlyArray<ReplayLogEvent>>;
|
|
52
|
+
readonly resetCursor: Effect.Effect<void>;
|
|
53
|
+
readonly consumeNext: (predicate: (event: ReplayLogEvent) => boolean) => Effect.Effect<ReplayLogEvent | undefined>;
|
|
54
|
+
readonly consumeNextResourceSnapshot: (params: {
|
|
55
|
+
readonly resourceId: string;
|
|
56
|
+
readonly fieldPath: string;
|
|
57
|
+
readonly keyHash?: string;
|
|
58
|
+
readonly phase?: ResourceSnapshotPhase;
|
|
59
|
+
}) => Effect.Effect<ResourceSnapshotEvent | undefined>;
|
|
60
|
+
}
|
|
61
|
+
declare const ReplayLog_base: ServiceMap.ServiceClass<ReplayLog, "@logixjs/core/ReplayLog", ReplayLogService>;
|
|
62
|
+
declare class ReplayLog extends ReplayLog_base {
|
|
63
|
+
}
|
|
64
|
+
declare const make: (initial?: ReadonlyArray<ReplayLogEvent>) => ReplayLogService;
|
|
65
|
+
declare const layer: (initial?: ReadonlyArray<ReplayLogEvent>) => Layer.Layer<ReplayLog, never, never>;
|
|
66
|
+
declare const record: (event: ReplayLogEvent) => Effect.Effect<void, never, ReplayLog>;
|
|
67
|
+
declare const snapshot: Effect.Effect<ReadonlyArray<ReplayLogEvent>, never, ReplayLog>;
|
|
68
|
+
declare const resetCursor: Effect.Effect<void, never, ReplayLog>;
|
|
69
|
+
declare const consumeNextResourceSnapshot: (params: {
|
|
70
|
+
readonly resourceId: string;
|
|
71
|
+
readonly fieldPath: string;
|
|
72
|
+
readonly keyHash?: string;
|
|
73
|
+
readonly phase?: ResourceSnapshotPhase;
|
|
74
|
+
}) => Effect.Effect<ResourceSnapshotEvent | undefined, never, ReplayLog>;
|
|
75
|
+
|
|
76
|
+
type ReplayLog$1_ReplayLog = ReplayLog;
|
|
77
|
+
declare const ReplayLog$1_ReplayLog: typeof ReplayLog;
|
|
78
|
+
type ReplayLog$1_ReplayLogEvent = ReplayLogEvent;
|
|
79
|
+
type ReplayLog$1_ReplayLogService = ReplayLogService;
|
|
80
|
+
type ReplayLog$1_ResourceSnapshotEvent = ResourceSnapshotEvent;
|
|
81
|
+
type ReplayLog$1_ResourceSnapshotPhase = ResourceSnapshotPhase;
|
|
82
|
+
declare const ReplayLog$1_consumeNextResourceSnapshot: typeof consumeNextResourceSnapshot;
|
|
83
|
+
declare const ReplayLog$1_layer: typeof layer;
|
|
84
|
+
declare const ReplayLog$1_make: typeof make;
|
|
85
|
+
declare const ReplayLog$1_record: typeof record;
|
|
86
|
+
declare const ReplayLog$1_resetCursor: typeof resetCursor;
|
|
87
|
+
declare const ReplayLog$1_snapshot: typeof snapshot;
|
|
88
|
+
declare namespace ReplayLog$1 {
|
|
89
|
+
export { ReplayLog$1_ReplayLog as ReplayLog, type ReplayLog$1_ReplayLogEvent as ReplayLogEvent, type ReplayLog$1_ReplayLogService as ReplayLogService, type ReplayLog$1_ResourceSnapshotEvent as ResourceSnapshotEvent, type ReplayLog$1_ResourceSnapshotPhase as ResourceSnapshotPhase, ReplayLog$1_consumeNextResourceSnapshot as consumeNextResourceSnapshot, ReplayLog$1_layer as layer, ReplayLog$1_make as make, ReplayLog$1_record as record, ReplayLog$1_resetCursor as resetCursor, ReplayLog$1_snapshot as snapshot };
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare const DIAGNOSTICS_BUDGET_CONTRACT_V1: "diagnostics_budget.v1";
|
|
93
|
+
type RunBudgetDomain = 'process' | 'workflow' | 'flow';
|
|
94
|
+
type RunBudgetEnvelopeV1 = {
|
|
95
|
+
readonly contract: typeof DIAGNOSTICS_BUDGET_CONTRACT_V1;
|
|
96
|
+
readonly domain: RunBudgetDomain;
|
|
97
|
+
readonly runId: string;
|
|
98
|
+
readonly limits?: {
|
|
99
|
+
readonly maxEvents?: number;
|
|
100
|
+
readonly maxBytes?: number;
|
|
101
|
+
};
|
|
102
|
+
readonly usage?: {
|
|
103
|
+
readonly emitted?: number;
|
|
104
|
+
readonly dropped?: number;
|
|
105
|
+
readonly downgraded?: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
type RunDegradeReasonV1 = 'budget_exceeded' | 'payload_oversized' | 'payload_non_serializable' | 'observer_disabled' | 'sampled_out' | 'unknown';
|
|
109
|
+
type RunDegradeMarkerV1 = {
|
|
110
|
+
readonly contract: typeof DIAGNOSTICS_BUDGET_CONTRACT_V1;
|
|
111
|
+
readonly degraded: boolean;
|
|
112
|
+
readonly reason?: RunDegradeReasonV1;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
type DiagnosticsLevel$1 = 'off' | 'light' | 'full';
|
|
116
|
+
type ProcessScope = {
|
|
117
|
+
readonly type: 'app';
|
|
118
|
+
readonly appId: string;
|
|
119
|
+
} | {
|
|
120
|
+
readonly type: 'moduleInstance';
|
|
121
|
+
readonly moduleId: string;
|
|
122
|
+
readonly instanceId: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly type: 'uiSubtree';
|
|
125
|
+
readonly subtreeId: string;
|
|
126
|
+
};
|
|
127
|
+
interface ProcessIdentity {
|
|
128
|
+
readonly processId: string;
|
|
129
|
+
readonly scope: ProcessScope;
|
|
130
|
+
}
|
|
131
|
+
interface ProcessInstanceIdentity {
|
|
132
|
+
readonly identity: ProcessIdentity;
|
|
133
|
+
readonly runSeq: number;
|
|
134
|
+
}
|
|
135
|
+
type ProcessTriggerSpec = {
|
|
136
|
+
readonly kind: 'moduleAction';
|
|
137
|
+
readonly name?: string;
|
|
138
|
+
readonly moduleId: string;
|
|
139
|
+
readonly actionId: string;
|
|
140
|
+
} | {
|
|
141
|
+
readonly kind: 'moduleStateChange';
|
|
142
|
+
readonly name?: string;
|
|
143
|
+
readonly moduleId: string;
|
|
144
|
+
readonly path: string;
|
|
145
|
+
} | {
|
|
146
|
+
readonly kind: 'platformEvent';
|
|
147
|
+
readonly name?: string;
|
|
148
|
+
readonly platformEvent: string;
|
|
149
|
+
} | {
|
|
150
|
+
readonly kind: 'timer';
|
|
151
|
+
readonly name?: string;
|
|
152
|
+
readonly timerId: string;
|
|
153
|
+
};
|
|
154
|
+
type ProcessTrigger = {
|
|
155
|
+
readonly kind: 'moduleAction';
|
|
156
|
+
readonly name?: string;
|
|
157
|
+
readonly moduleId: string;
|
|
158
|
+
readonly instanceId: string;
|
|
159
|
+
readonly actionId: string;
|
|
160
|
+
readonly txnSeq: number;
|
|
161
|
+
readonly triggerSeq?: number;
|
|
162
|
+
} | {
|
|
163
|
+
readonly kind: 'moduleStateChange';
|
|
164
|
+
readonly name?: string;
|
|
165
|
+
readonly moduleId: string;
|
|
166
|
+
readonly instanceId: string;
|
|
167
|
+
readonly path: string;
|
|
168
|
+
readonly txnSeq: number;
|
|
169
|
+
readonly triggerSeq?: number;
|
|
170
|
+
} | {
|
|
171
|
+
readonly kind: 'platformEvent';
|
|
172
|
+
readonly name?: string;
|
|
173
|
+
readonly platformEvent: string;
|
|
174
|
+
readonly triggerSeq?: number;
|
|
175
|
+
} | {
|
|
176
|
+
readonly kind: 'timer';
|
|
177
|
+
readonly name?: string;
|
|
178
|
+
readonly timerId: string;
|
|
179
|
+
readonly triggerSeq?: number;
|
|
180
|
+
};
|
|
181
|
+
interface ProcessConcurrencyPolicy {
|
|
182
|
+
readonly mode: 'latest' | 'serial' | 'drop' | 'parallel';
|
|
183
|
+
readonly maxParallel?: number;
|
|
184
|
+
readonly maxQueue?: number;
|
|
185
|
+
}
|
|
186
|
+
interface ProcessErrorPolicy {
|
|
187
|
+
readonly mode: 'failStop' | 'supervise';
|
|
188
|
+
readonly maxRestarts?: number;
|
|
189
|
+
readonly windowMs?: number;
|
|
190
|
+
}
|
|
191
|
+
interface ProcessDefinition {
|
|
192
|
+
readonly processId: string;
|
|
193
|
+
readonly name?: string;
|
|
194
|
+
readonly description?: string;
|
|
195
|
+
readonly requires?: ReadonlyArray<string>;
|
|
196
|
+
readonly triggers: ReadonlyArray<ProcessTriggerSpec>;
|
|
197
|
+
readonly concurrency: ProcessConcurrencyPolicy;
|
|
198
|
+
readonly errorPolicy: ProcessErrorPolicy;
|
|
199
|
+
readonly diagnosticsLevel?: DiagnosticsLevel$1;
|
|
200
|
+
}
|
|
201
|
+
interface ProcessInstallation {
|
|
202
|
+
readonly identity: ProcessIdentity;
|
|
203
|
+
readonly enabled: boolean;
|
|
204
|
+
readonly installedAt?: string;
|
|
205
|
+
}
|
|
206
|
+
interface SerializableErrorSummary {
|
|
207
|
+
readonly name?: string;
|
|
208
|
+
readonly message: string;
|
|
209
|
+
readonly code?: string;
|
|
210
|
+
readonly hint?: string;
|
|
211
|
+
}
|
|
212
|
+
type ProcessInstanceStatus = {
|
|
213
|
+
readonly identity: ProcessInstanceIdentity;
|
|
214
|
+
readonly status: 'starting' | 'running' | 'stopping' | 'stopped' | 'failed';
|
|
215
|
+
readonly stoppedReason?: 'scopeDisposed' | 'manualStop' | 'failed' | 'unknown';
|
|
216
|
+
readonly lastError?: SerializableErrorSummary;
|
|
217
|
+
};
|
|
218
|
+
type ProcessEvent = {
|
|
219
|
+
readonly type: 'process:start' | 'process:stop' | 'process:restart' | 'process:trigger' | 'process:dispatch' | 'process:error';
|
|
220
|
+
readonly identity: ProcessInstanceIdentity;
|
|
221
|
+
readonly severity: 'info' | 'warning' | 'error';
|
|
222
|
+
readonly eventSeq: number;
|
|
223
|
+
readonly timestampMs: number;
|
|
224
|
+
readonly trigger?: ProcessTrigger;
|
|
225
|
+
readonly dispatch?: {
|
|
226
|
+
readonly moduleId: string;
|
|
227
|
+
readonly instanceId: string;
|
|
228
|
+
readonly actionId: string;
|
|
229
|
+
};
|
|
230
|
+
readonly error?: SerializableErrorSummary;
|
|
231
|
+
/**
|
|
232
|
+
* Run 级诊断预算 envelope(统一口径,兼容 workflow/flow)。
|
|
233
|
+
* - 旧消费端可继续读取 error.hint;
|
|
234
|
+
* - 新消费端应优先读取该结构化字段。
|
|
235
|
+
*/
|
|
236
|
+
readonly budgetEnvelope?: RunBudgetEnvelopeV1;
|
|
237
|
+
/**
|
|
238
|
+
* Run 级降级标记(统一口径,兼容 workflow/flow)。
|
|
239
|
+
*/
|
|
240
|
+
readonly degrade?: RunDegradeMarkerV1;
|
|
241
|
+
};
|
|
242
|
+
interface ProcessControlRequest {
|
|
243
|
+
readonly action: 'start' | 'stop' | 'restart';
|
|
244
|
+
readonly reason?: string;
|
|
245
|
+
}
|
|
246
|
+
interface ProcessPlatformEvent {
|
|
247
|
+
readonly eventName: string;
|
|
248
|
+
readonly payload?: Record<string, unknown>;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
interface TriggerRef {
|
|
252
|
+
readonly kind: string;
|
|
253
|
+
readonly name?: string;
|
|
254
|
+
readonly details?: unknown;
|
|
255
|
+
}
|
|
256
|
+
type TraceEventType = `trace:${string}`;
|
|
257
|
+
type GenericTraceEventType = Exclude<TraceEventType, 'trace:trait:converge' | 'trace:trait:check' | 'trace:trait:validate'>;
|
|
258
|
+
/**
|
|
259
|
+
* ReplayEventRef:
|
|
260
|
+
* - Replay event structure referenced from Debug events.
|
|
261
|
+
* - Based on ReplayLog.Event, enriched with txn/trigger association fields for Devtools aggregation and explanation.
|
|
262
|
+
*/
|
|
263
|
+
type ReplayEventRef = ReplayLogEvent & {
|
|
264
|
+
readonly txnId?: string;
|
|
265
|
+
readonly trigger?: TriggerRef;
|
|
266
|
+
};
|
|
267
|
+
type Event = {
|
|
268
|
+
readonly type: 'module:init';
|
|
269
|
+
readonly moduleId?: string;
|
|
270
|
+
readonly instanceId?: string;
|
|
271
|
+
readonly runtimeLabel?: string;
|
|
272
|
+
readonly timestamp?: number;
|
|
273
|
+
} | {
|
|
274
|
+
readonly type: 'module:destroy';
|
|
275
|
+
readonly moduleId?: string;
|
|
276
|
+
readonly instanceId?: string;
|
|
277
|
+
readonly runtimeLabel?: string;
|
|
278
|
+
readonly timestamp?: number;
|
|
279
|
+
} | {
|
|
280
|
+
readonly type: 'lifecycle:phase';
|
|
281
|
+
readonly moduleId?: string;
|
|
282
|
+
readonly instanceId?: string;
|
|
283
|
+
readonly phase: 'init' | 'run' | 'destroy' | 'platform';
|
|
284
|
+
readonly name: string;
|
|
285
|
+
readonly payload?: unknown;
|
|
286
|
+
readonly runtimeLabel?: string;
|
|
287
|
+
readonly timestamp?: number;
|
|
288
|
+
} | {
|
|
289
|
+
readonly type: 'action:dispatch';
|
|
290
|
+
readonly moduleId?: string;
|
|
291
|
+
readonly instanceId?: string;
|
|
292
|
+
readonly action: unknown;
|
|
293
|
+
readonly actionTag?: string;
|
|
294
|
+
readonly unknownAction?: boolean;
|
|
295
|
+
readonly txnSeq?: number;
|
|
296
|
+
readonly txnId?: string;
|
|
297
|
+
readonly runtimeLabel?: string;
|
|
298
|
+
readonly timestamp?: number;
|
|
299
|
+
} | {
|
|
300
|
+
readonly type: 'state:update';
|
|
301
|
+
readonly moduleId?: string;
|
|
302
|
+
readonly instanceId?: string;
|
|
303
|
+
readonly state: unknown;
|
|
304
|
+
readonly txnSeq?: number;
|
|
305
|
+
readonly txnId?: string;
|
|
306
|
+
/**
|
|
307
|
+
* Optional: Static IR digest aligned with FieldPathId/StepId (for consumer-side reverse-mapping & alignment).
|
|
308
|
+
* - When missing or mismatched, consumers must not attempt to reverse-map rootIds -> rootPaths (avoid wrong UI).
|
|
309
|
+
* - Allowed to be omitted on near-zero-cost diagnostics=off paths.
|
|
310
|
+
*/
|
|
311
|
+
readonly staticIrDigest?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Optional: the affected scope aggregated by this commit (field-level dirty-set).
|
|
314
|
+
* - Populated by Runtime at commit time;
|
|
315
|
+
* - Must stay slim and serializable;
|
|
316
|
+
* - Devtools can use it to explain "why converge/validate ran / why it degraded to full".
|
|
317
|
+
*/
|
|
318
|
+
readonly dirtySet?: unknown;
|
|
319
|
+
/**
|
|
320
|
+
* Optional: patch count aggregated by this commit (from StateTransaction).
|
|
321
|
+
* - Populated by Runtime only on transaction paths.
|
|
322
|
+
* - Devtools can use it as a lightweight transaction summary metric.
|
|
323
|
+
*/
|
|
324
|
+
readonly patchCount?: number;
|
|
325
|
+
/**
|
|
326
|
+
* Optional: whether patch records were truncated (bounded) under full instrumentation.
|
|
327
|
+
*/
|
|
328
|
+
readonly patchesTruncated?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Optional: truncation reason code (stable enum).
|
|
331
|
+
*/
|
|
332
|
+
readonly patchesTruncatedReason?: 'max_patches';
|
|
333
|
+
/**
|
|
334
|
+
* Optional: commit mode (normal/batched/low-priority, etc).
|
|
335
|
+
* - Populated by Runtime;
|
|
336
|
+
* - Default is chosen by the caller (typically "normal").
|
|
337
|
+
*/
|
|
338
|
+
readonly commitMode?: string;
|
|
339
|
+
/**
|
|
340
|
+
* Optional: external visibility priority (normal/low).
|
|
341
|
+
* - Populated by Runtime.
|
|
342
|
+
* - Mainly used by React external subscription scheduling (avoid unnecessary renders).
|
|
343
|
+
*/
|
|
344
|
+
readonly priority?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Optional: transaction origin kind (origin.kind) that triggered this state commit:
|
|
347
|
+
* - e.g. "action" / "source-refresh" / "service-callback" / "devtools".
|
|
348
|
+
* - Populated by Runtime only on StateTransaction-based paths.
|
|
349
|
+
* - Devtools can distinguish app transactions vs devtools time-travel operations.
|
|
350
|
+
*/
|
|
351
|
+
readonly originKind?: string;
|
|
352
|
+
/**
|
|
353
|
+
* Optional: transaction origin name (origin.name) that triggered this state commit:
|
|
354
|
+
* - e.g. action dispatch / fieldPath / task:success/task:failure, etc.
|
|
355
|
+
* - Populated by Runtime only on StateTransaction-based paths.
|
|
356
|
+
*/
|
|
357
|
+
readonly originName?: string;
|
|
358
|
+
/**
|
|
359
|
+
* Reserved: Trait converge summary (for Devtools window-level stats / TopN costs / degrade reasons, etc.).
|
|
360
|
+
* - Phase 2: field slot only; structure is not fixed.
|
|
361
|
+
* - Later phases will align with the Trait/Replay event model into an explainable structure.
|
|
362
|
+
*/
|
|
363
|
+
readonly traitSummary?: unknown;
|
|
364
|
+
/**
|
|
365
|
+
* Reserved: replay event associated with this transaction (re-emit source of truth from ReplayLog).
|
|
366
|
+
* - Phase 2: field slot only.
|
|
367
|
+
* - Later phases will align with ReplayLog.Event structure.
|
|
368
|
+
*/
|
|
369
|
+
readonly replayEvent?: ReplayEventRef;
|
|
370
|
+
readonly runtimeLabel?: string;
|
|
371
|
+
readonly timestamp?: number;
|
|
372
|
+
} | {
|
|
373
|
+
readonly type: 'process:start' | 'process:stop' | 'process:restart' | 'process:trigger' | 'process:dispatch' | 'process:error';
|
|
374
|
+
readonly moduleId?: string;
|
|
375
|
+
readonly instanceId?: string;
|
|
376
|
+
readonly identity: ProcessInstanceIdentity;
|
|
377
|
+
readonly severity: 'info' | 'warning' | 'error';
|
|
378
|
+
readonly eventSeq: number;
|
|
379
|
+
readonly timestampMs: number;
|
|
380
|
+
readonly trigger?: ProcessTrigger;
|
|
381
|
+
readonly dispatch?: {
|
|
382
|
+
readonly moduleId: string;
|
|
383
|
+
readonly instanceId: string;
|
|
384
|
+
readonly actionId: string;
|
|
385
|
+
};
|
|
386
|
+
readonly error?: SerializableErrorSummary;
|
|
387
|
+
readonly budgetEnvelope?: ProcessEvent['budgetEnvelope'];
|
|
388
|
+
readonly degrade?: ProcessEvent['degrade'];
|
|
389
|
+
readonly txnSeq?: number;
|
|
390
|
+
readonly txnId?: string;
|
|
391
|
+
readonly runtimeLabel?: string;
|
|
392
|
+
readonly timestamp?: number;
|
|
393
|
+
} | {
|
|
394
|
+
readonly type: 'lifecycle:error';
|
|
395
|
+
readonly moduleId?: string;
|
|
396
|
+
readonly instanceId?: string;
|
|
397
|
+
readonly cause: unknown;
|
|
398
|
+
readonly phase?: 'init' | 'run' | 'destroy' | 'platform';
|
|
399
|
+
readonly hook?: 'initRequired' | 'start' | 'destroy' | 'suspend' | 'resume' | 'reset' | 'unknown';
|
|
400
|
+
readonly taskId?: string;
|
|
401
|
+
readonly opSeq?: number;
|
|
402
|
+
readonly origin?: string;
|
|
403
|
+
readonly txnSeq?: number;
|
|
404
|
+
readonly runtimeLabel?: string;
|
|
405
|
+
readonly timestamp?: number;
|
|
406
|
+
} | {
|
|
407
|
+
readonly type: 'diagnostic';
|
|
408
|
+
readonly moduleId?: string;
|
|
409
|
+
readonly instanceId?: string;
|
|
410
|
+
readonly code: string;
|
|
411
|
+
readonly severity: 'error' | 'warning' | 'info';
|
|
412
|
+
readonly message: string;
|
|
413
|
+
readonly hint?: string;
|
|
414
|
+
readonly actionTag?: string;
|
|
415
|
+
readonly kind?: string;
|
|
416
|
+
readonly txnSeq?: number;
|
|
417
|
+
readonly txnId?: string;
|
|
418
|
+
readonly opSeq?: number;
|
|
419
|
+
readonly trigger?: TriggerRef;
|
|
420
|
+
readonly runtimeLabel?: string;
|
|
421
|
+
readonly timestamp?: number;
|
|
422
|
+
} | {
|
|
423
|
+
readonly type: 'warn:priority-inversion';
|
|
424
|
+
readonly moduleId?: string;
|
|
425
|
+
readonly instanceId?: string;
|
|
426
|
+
readonly tickSeq: number;
|
|
427
|
+
readonly reason: 'deferredBacklog' | 'subscribedNonUrgent';
|
|
428
|
+
readonly selectorId?: string;
|
|
429
|
+
readonly runtimeLabel?: string;
|
|
430
|
+
readonly timestamp?: number;
|
|
431
|
+
} | {
|
|
432
|
+
readonly type: 'warn:microtask-starvation';
|
|
433
|
+
readonly moduleId?: string;
|
|
434
|
+
readonly instanceId?: string;
|
|
435
|
+
readonly tickSeq: number;
|
|
436
|
+
readonly microtaskChainDepth?: number;
|
|
437
|
+
readonly runtimeLabel?: string;
|
|
438
|
+
readonly timestamp?: number;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* trace:* events:
|
|
442
|
+
* - Extension hook for runtime tracing / Playground / Alignment Lab.
|
|
443
|
+
* - Only the type prefix and moduleId are standardized; payload shape is defined by higher layers (e.g. spanId/attributes in data).
|
|
444
|
+
*/
|
|
445
|
+
| {
|
|
446
|
+
readonly type: 'trace:trait:converge';
|
|
447
|
+
readonly moduleId?: string;
|
|
448
|
+
readonly instanceId?: string;
|
|
449
|
+
readonly data: JsonValue;
|
|
450
|
+
readonly txnSeq?: number;
|
|
451
|
+
readonly txnId?: string;
|
|
452
|
+
readonly runtimeLabel?: string;
|
|
453
|
+
readonly timestamp?: number;
|
|
454
|
+
} | {
|
|
455
|
+
readonly type: 'trace:trait:check';
|
|
456
|
+
readonly moduleId?: string;
|
|
457
|
+
readonly instanceId?: string;
|
|
458
|
+
readonly data: JsonValue;
|
|
459
|
+
readonly txnSeq?: number;
|
|
460
|
+
readonly txnId?: string;
|
|
461
|
+
readonly runtimeLabel?: string;
|
|
462
|
+
readonly timestamp?: number;
|
|
463
|
+
} | {
|
|
464
|
+
readonly type: 'trace:trait:validate';
|
|
465
|
+
readonly moduleId?: string;
|
|
466
|
+
readonly instanceId?: string;
|
|
467
|
+
readonly data: JsonValue;
|
|
468
|
+
readonly txnSeq?: number;
|
|
469
|
+
readonly txnId?: string;
|
|
470
|
+
readonly runtimeLabel?: string;
|
|
471
|
+
readonly timestamp?: number;
|
|
472
|
+
} | {
|
|
473
|
+
readonly type: GenericTraceEventType;
|
|
474
|
+
readonly moduleId?: string;
|
|
475
|
+
readonly instanceId?: string;
|
|
476
|
+
readonly data?: unknown;
|
|
477
|
+
readonly txnSeq?: number;
|
|
478
|
+
readonly txnId?: string;
|
|
479
|
+
readonly runtimeLabel?: string;
|
|
480
|
+
readonly timestamp?: number;
|
|
481
|
+
};
|
|
482
|
+
interface Sink {
|
|
483
|
+
readonly record: (event: Event) => Effect.Effect<void>;
|
|
484
|
+
}
|
|
485
|
+
type DiagnosticsLevel = 'off' | 'light' | 'sampled' | 'full';
|
|
486
|
+
type DiagnosticsMaterialization = 'eager' | 'lazy';
|
|
487
|
+
type TraceMode = 'off' | 'on';
|
|
488
|
+
interface TraitConvergeDiagnosticsSamplingConfig {
|
|
489
|
+
/**
|
|
490
|
+
* Sample once every N txns (deterministic, based on stable txnSeq).
|
|
491
|
+
* - 1: sample every txn (timing granularity similar to full, while keeping payload slim)
|
|
492
|
+
*/
|
|
493
|
+
readonly sampleEveryN: number;
|
|
494
|
+
/**
|
|
495
|
+
* Max number of TopK hotspots to output (recommended ≤ 3).
|
|
496
|
+
*/
|
|
497
|
+
readonly topK: number;
|
|
498
|
+
}
|
|
499
|
+
type RuntimeDebugEventKind = 'action' | 'state' | 'service' | 'process' | 'trait-computed' | 'trait-link' | 'trait-source' | 'lifecycle' | 'react-render' | 'devtools' | 'diagnostic' | (string & {});
|
|
500
|
+
interface RuntimeDebugEventRef {
|
|
501
|
+
readonly eventId: string;
|
|
502
|
+
readonly eventSeq: number;
|
|
503
|
+
readonly moduleId: string;
|
|
504
|
+
readonly instanceId: string;
|
|
505
|
+
readonly runtimeLabel?: string;
|
|
506
|
+
readonly txnSeq: number;
|
|
507
|
+
readonly txnId?: string;
|
|
508
|
+
/**
|
|
509
|
+
* linkId:
|
|
510
|
+
* - Current operation chain id (shared by boundary ops in the same chain).
|
|
511
|
+
* - Created by Runtime at the boundary root and propagated via FiberRef across nested/cross-module chains.
|
|
512
|
+
*/
|
|
513
|
+
readonly linkId?: string;
|
|
514
|
+
readonly timestamp: number;
|
|
515
|
+
readonly kind: RuntimeDebugEventKind;
|
|
516
|
+
readonly label: string;
|
|
517
|
+
readonly meta?: JsonValue;
|
|
518
|
+
readonly errorSummary?: SerializableErrorSummary$1;
|
|
519
|
+
readonly downgrade?: {
|
|
520
|
+
readonly reason?: 'non_serializable' | 'oversized' | 'budget_exceeded' | 'unknown';
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
type ReadLane = 'static' | 'dynamic';
|
|
525
|
+
type ReadProducer = 'aot' | 'jit' | 'manual' | 'dynamic';
|
|
526
|
+
type ReadQueryFallbackReason = 'missingDeps' | 'unsupportedSyntax' | 'unstableSelectorId' | 'missingBuildGrade';
|
|
527
|
+
type EqualsKind = 'objectIs' | 'shallowStruct' | 'custom';
|
|
528
|
+
type ReadQueryStrictGateRule = 'denyFallbackReason' | 'requireStatic:global' | 'requireStatic:selectorId' | 'requireStatic:module';
|
|
529
|
+
type ReadQueryQualitySource = 'build' | 'runtime_jit' | 'runtime_dynamic_fallback';
|
|
530
|
+
interface ReadQueryStrictGateGrade {
|
|
531
|
+
readonly evaluatedAt: 'build' | 'runtime';
|
|
532
|
+
readonly verdict: 'PASS' | 'WARN' | 'FAIL';
|
|
533
|
+
readonly rule?: ReadQueryStrictGateRule;
|
|
534
|
+
readonly fallbackReason?: ReadQueryFallbackReason;
|
|
535
|
+
}
|
|
536
|
+
interface ReadQueryQualityMeta {
|
|
537
|
+
readonly source: ReadQueryQualitySource;
|
|
538
|
+
readonly strictGate?: ReadQueryStrictGateGrade;
|
|
539
|
+
readonly reportId?: string;
|
|
540
|
+
readonly missingBuildGrade?: boolean;
|
|
541
|
+
}
|
|
542
|
+
interface ReadsDigest {
|
|
543
|
+
readonly count: number;
|
|
544
|
+
readonly hash: number;
|
|
545
|
+
}
|
|
546
|
+
interface ReadQueryStaticIr {
|
|
547
|
+
readonly selectorId: string;
|
|
548
|
+
readonly debugKey?: string;
|
|
549
|
+
readonly lane: ReadLane;
|
|
550
|
+
readonly producer: ReadProducer;
|
|
551
|
+
readonly reads?: ReadonlyArray<string | number>;
|
|
552
|
+
readonly readsDigest?: ReadsDigest;
|
|
553
|
+
readonly fallbackReason?: ReadQueryFallbackReason;
|
|
554
|
+
readonly equalsKind: EqualsKind;
|
|
555
|
+
}
|
|
556
|
+
interface ReadQuery<S, V> {
|
|
557
|
+
readonly selectorId: string;
|
|
558
|
+
readonly debugKey?: string;
|
|
559
|
+
readonly reads: ReadonlyArray<string | number>;
|
|
560
|
+
readonly select: (state: S) => V;
|
|
561
|
+
readonly equalsKind: EqualsKind;
|
|
562
|
+
readonly equals?: (previous: V, next: V) => boolean;
|
|
563
|
+
}
|
|
564
|
+
interface ReadQueryCompiled<S, V> extends ReadQuery<S, V> {
|
|
565
|
+
readonly lane: ReadLane;
|
|
566
|
+
readonly producer: ReadProducer;
|
|
567
|
+
readonly readsDigest?: ReadsDigest;
|
|
568
|
+
readonly fallbackReason?: ReadQueryFallbackReason;
|
|
569
|
+
readonly staticIr: ReadQueryStaticIr;
|
|
570
|
+
readonly quality?: ReadQueryQualityMeta;
|
|
571
|
+
}
|
|
572
|
+
type ReadQueryInput<S, V> = ((state: S) => V) | ReadQuery<S, V>;
|
|
573
|
+
declare function isReadQuery<S, V>(input: ReadQueryInput<S, V>): input is ReadQuery<S, V>;
|
|
574
|
+
declare function isReadQuery(input: unknown): input is ReadQuery<any, any>;
|
|
575
|
+
declare function isReadQueryCompiled<S, V>(input: ReadQueryInput<S, V> | ReadQueryCompiled<S, V>): input is ReadQueryCompiled<S, V>;
|
|
576
|
+
declare function isReadQueryCompiled(input: unknown): input is ReadQueryCompiled<any, any>;
|
|
577
|
+
interface ReadQueryStrictGateConfig {
|
|
578
|
+
readonly mode: 'off' | 'warn' | 'error';
|
|
579
|
+
readonly requireStatic?: {
|
|
580
|
+
readonly selectorIds?: ReadonlyArray<string>;
|
|
581
|
+
readonly modules?: ReadonlyArray<string>;
|
|
582
|
+
};
|
|
583
|
+
readonly denyFallbackReasons?: ReadonlyArray<ReadQueryFallbackReason>;
|
|
584
|
+
}
|
|
585
|
+
interface ReadQueryStrictGateViolationDetails {
|
|
586
|
+
readonly moduleId: string;
|
|
587
|
+
readonly instanceId: string;
|
|
588
|
+
readonly txnSeq: number;
|
|
589
|
+
readonly selectorId: string;
|
|
590
|
+
readonly debugKey?: string;
|
|
591
|
+
readonly fallbackReason: ReadQueryFallbackReason;
|
|
592
|
+
readonly rule: ReadQueryStrictGateRule;
|
|
593
|
+
}
|
|
594
|
+
interface ReadQueryStrictGateError extends Error {
|
|
595
|
+
readonly _tag: 'ReadQueryStrictGateError';
|
|
596
|
+
readonly details: ReadQueryStrictGateViolationDetails;
|
|
597
|
+
}
|
|
598
|
+
type ReadQueryStrictGateDiagnosticEvent = Extract<Event, {
|
|
599
|
+
readonly type: 'diagnostic';
|
|
600
|
+
}>;
|
|
601
|
+
type ReadQueryStrictGateDecision = {
|
|
602
|
+
readonly verdict: 'PASS';
|
|
603
|
+
} | {
|
|
604
|
+
readonly verdict: 'WARN';
|
|
605
|
+
readonly diagnostic: ReadQueryStrictGateDiagnosticEvent;
|
|
606
|
+
readonly details: ReadQueryStrictGateViolationDetails;
|
|
607
|
+
} | {
|
|
608
|
+
readonly verdict: 'FAIL';
|
|
609
|
+
readonly diagnostic: ReadQueryStrictGateDiagnosticEvent;
|
|
610
|
+
readonly error: ReadQueryStrictGateError;
|
|
611
|
+
readonly details: ReadQueryStrictGateViolationDetails;
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
export { type ReadLane as A, type ReadProducer as B, type EqualsKind as C, type DiagnosticsLevel$1 as D, type Event as E, type ReadsDigest as F, type ReadQueryQualityMeta as G, type ReadQueryStrictGateGrade as H, type ReadQueryStaticIr as I, type JsonValue as J, type ReadQuery as K, type ReadQueryStrictGateConfig as L, isReadQuery as M, isReadQueryCompiled as N, type ProcessScope as P, ReplayLog$1 as R, type SerializableErrorSummary as S, type TriggerRef as T, type ProcessInstallation as a, type ProcessInstanceStatus as b, type ProcessControlRequest as c, type ProcessPlatformEvent as d, type ProcessEvent as e, type ProcessDefinition as f, type ProcessIdentity as g, type ProcessInstanceIdentity as h, type ProcessTriggerSpec as i, type ProcessTrigger as j, type ProcessConcurrencyPolicy as k, type ProcessErrorPolicy as l, type DiagnosticsLevel as m, type ReadQueryFallbackReason as n, type RuntimeDebugEventRef as o, type Sink as p, type DiagnosticsMaterialization as q, type TraceMode as r, type TraitConvergeDiagnosticsSamplingConfig as s, type JsonValueProjectionStats as t, type DowngradeReason as u, type SerializableErrorSummary$1 as v, type ReadQueryCompiled as w, type ReadQueryStrictGateRule as x, type ReadQueryStrictGateDecision as y, type ReadQueryInput as z };
|