@graphrefly/graphrefly 0.44.0 → 0.45.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/README.md +21 -17
- package/dist/compat/index.cjs +20 -10
- package/dist/compat/index.cjs.map +1 -0
- package/dist/compat/index.d.cts +1 -22
- package/dist/compat/index.d.ts +1 -22
- package/dist/compat/index.js +3 -1
- package/dist/compat/index.js.map +1 -0
- package/dist/compat/jotai/index.cjs +21 -1
- package/dist/compat/jotai/index.cjs.map +1 -0
- package/dist/compat/jotai/index.d.cts +1 -2
- package/dist/compat/jotai/index.d.ts +1 -2
- package/dist/compat/jotai/index.js +3 -1
- package/dist/compat/jotai/index.js.map +1 -0
- package/dist/compat/nanostores/index.cjs +21 -1
- package/dist/compat/nanostores/index.cjs.map +1 -0
- package/dist/compat/nanostores/index.d.cts +1 -2
- package/dist/compat/nanostores/index.d.ts +1 -2
- package/dist/compat/nanostores/index.js +3 -1
- package/dist/compat/nanostores/index.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +20 -10
- package/dist/compat/nestjs/index.cjs.map +1 -0
- package/dist/compat/nestjs/index.d.cts +1 -13
- package/dist/compat/nestjs/index.d.ts +1 -13
- package/dist/compat/nestjs/index.js +3 -1
- package/dist/compat/nestjs/index.js.map +1 -0
- package/dist/compat/react/index.cjs +21 -1
- package/dist/compat/react/index.cjs.map +1 -0
- package/dist/compat/react/index.d.cts +1 -2
- package/dist/compat/react/index.d.ts +1 -2
- package/dist/compat/react/index.js +3 -1
- package/dist/compat/react/index.js.map +1 -0
- package/dist/compat/solid/index.cjs +21 -1
- package/dist/compat/solid/index.cjs.map +1 -0
- package/dist/compat/solid/index.d.cts +1 -2
- package/dist/compat/solid/index.d.ts +1 -2
- package/dist/compat/solid/index.js +3 -1
- package/dist/compat/solid/index.js.map +1 -0
- package/dist/compat/svelte/index.cjs +21 -1
- package/dist/compat/svelte/index.cjs.map +1 -0
- package/dist/compat/svelte/index.d.cts +1 -2
- package/dist/compat/svelte/index.d.ts +1 -2
- package/dist/compat/svelte/index.js +3 -1
- package/dist/compat/svelte/index.js.map +1 -0
- package/dist/compat/vue/index.cjs +21 -1
- package/dist/compat/vue/index.cjs.map +1 -0
- package/dist/compat/vue/index.d.cts +1 -3
- package/dist/compat/vue/index.d.ts +1 -3
- package/dist/compat/vue/index.js +3 -1
- package/dist/compat/vue/index.js.map +1 -0
- package/dist/compat/zustand/index.cjs +21 -3
- package/dist/compat/zustand/index.cjs.map +1 -0
- package/dist/compat/zustand/index.d.cts +1 -6
- package/dist/compat/zustand/index.d.ts +1 -6
- package/dist/compat/zustand/index.js +3 -1
- package/dist/compat/zustand/index.js.map +1 -0
- package/dist/core/index.cjs +21 -1
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +1 -3
- package/dist/core/index.d.ts +1 -3
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -0
- package/dist/extra/browser.cjs +21 -1
- package/dist/extra/browser.cjs.map +1 -0
- package/dist/extra/browser.d.cts +1 -4
- package/dist/extra/browser.d.ts +1 -4
- package/dist/extra/browser.js +3 -1
- package/dist/extra/browser.js.map +1 -0
- package/dist/extra/index.cjs +20 -19
- package/dist/extra/index.cjs.map +1 -0
- package/dist/extra/index.d.cts +1 -17
- package/dist/extra/index.d.ts +1 -17
- package/dist/extra/index.js +3 -1
- package/dist/extra/index.js.map +1 -0
- package/dist/extra/node.cjs +21 -2
- package/dist/extra/node.cjs.map +1 -0
- package/dist/extra/node.d.cts +1 -187
- package/dist/extra/node.d.ts +1 -187
- package/dist/extra/node.js +3 -2
- package/dist/extra/node.js.map +1 -0
- package/dist/extra/operators.cjs +21 -1
- package/dist/extra/operators.cjs.map +1 -0
- package/dist/extra/operators.d.cts +1 -958
- package/dist/extra/operators.d.ts +1 -958
- package/dist/extra/operators.js +3 -1
- package/dist/extra/operators.js.map +1 -0
- package/dist/extra/reactive.cjs +21 -1
- package/dist/extra/reactive.cjs.map +1 -0
- package/dist/extra/reactive.d.cts +1 -353
- package/dist/extra/reactive.d.ts +1 -353
- package/dist/extra/reactive.js +3 -1
- package/dist/extra/reactive.js.map +1 -0
- package/dist/extra/render/index.cjs +21 -5
- package/dist/extra/render/index.cjs.map +1 -0
- package/dist/extra/render/index.d.cts +1 -183
- package/dist/extra/render/index.d.ts +1 -183
- package/dist/extra/render/index.js +3 -1
- package/dist/extra/render/index.js.map +1 -0
- package/dist/extra/sources.cjs +21 -3
- package/dist/extra/sources.cjs.map +1 -0
- package/dist/extra/sources.d.cts +1 -584
- package/dist/extra/sources.d.ts +1 -584
- package/dist/extra/sources.js +3 -1
- package/dist/extra/sources.js.map +1 -0
- package/dist/extra/storage-browser.cjs +21 -1
- package/dist/extra/storage-browser.cjs.map +1 -0
- package/dist/extra/storage-browser.d.cts +1 -37
- package/dist/extra/storage-browser.d.ts +1 -37
- package/dist/extra/storage-browser.js +3 -1
- package/dist/extra/storage-browser.js.map +1 -0
- package/dist/extra/storage-core.cjs +21 -1
- package/dist/extra/storage-core.cjs.map +1 -0
- package/dist/extra/storage-core.d.cts +1 -28
- package/dist/extra/storage-core.d.ts +1 -28
- package/dist/extra/storage-core.js +3 -1
- package/dist/extra/storage-core.js.map +1 -0
- package/dist/extra/storage-node.cjs +20 -0
- package/dist/extra/storage-node.cjs.map +1 -0
- package/dist/extra/storage-node.d.cts +1 -2
- package/dist/extra/storage-node.d.ts +1 -2
- package/dist/extra/storage-node.js +3 -0
- package/dist/extra/storage-node.js.map +1 -0
- package/dist/extra/storage-tiers-browser.cjs +21 -1
- package/dist/extra/storage-tiers-browser.cjs.map +1 -0
- package/dist/extra/storage-tiers-browser.d.cts +1 -120
- package/dist/extra/storage-tiers-browser.d.ts +1 -120
- package/dist/extra/storage-tiers-browser.js +3 -1
- package/dist/extra/storage-tiers-browser.js.map +1 -0
- package/dist/extra/storage-tiers-node.cjs +21 -1
- package/dist/extra/storage-tiers-node.cjs.map +1 -0
- package/dist/extra/storage-tiers-node.d.cts +1 -210
- package/dist/extra/storage-tiers-node.d.ts +1 -210
- package/dist/extra/storage-tiers-node.js +3 -1
- package/dist/extra/storage-tiers-node.js.map +1 -0
- package/dist/extra/storage-tiers.cjs +21 -1
- package/dist/extra/storage-tiers.cjs.map +1 -0
- package/dist/extra/storage-tiers.d.cts +1 -412
- package/dist/extra/storage-tiers.d.ts +1 -412
- package/dist/extra/storage-tiers.js +3 -1
- package/dist/extra/storage-tiers.js.map +1 -0
- package/dist/extra/storage-wal.cjs +21 -0
- package/dist/extra/storage-wal.cjs.map +1 -0
- package/dist/extra/storage-wal.d.cts +1 -0
- package/dist/extra/storage-wal.d.ts +1 -0
- package/dist/extra/storage-wal.js +3 -0
- package/dist/extra/storage-wal.js.map +1 -0
- package/dist/graph/index.cjs +21 -7
- package/dist/graph/index.cjs.map +1 -0
- package/dist/graph/index.d.cts +1 -7
- package/dist/graph/index.d.ts +1 -7
- package/dist/graph/index.js +3 -1
- package/dist/graph/index.js.map +1 -0
- package/dist/index.cjs +20 -227
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +45 -95
- package/dist/index.d.ts +45 -95
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -0
- package/dist/patterns/ai/browser.cjs +20 -7
- package/dist/patterns/ai/browser.cjs.map +1 -0
- package/dist/patterns/ai/browser.d.cts +1 -127
- package/dist/patterns/ai/browser.d.ts +1 -127
- package/dist/patterns/ai/browser.js +3 -3
- package/dist/patterns/ai/browser.js.map +1 -0
- package/dist/patterns/ai/index.cjs +20 -73
- package/dist/patterns/ai/index.cjs.map +1 -0
- package/dist/patterns/ai/index.d.cts +1 -20
- package/dist/patterns/ai/index.d.ts +1 -20
- package/dist/patterns/ai/index.js +3 -1
- package/dist/patterns/ai/index.js.map +1 -0
- package/dist/patterns/ai/node.cjs +21 -1
- package/dist/patterns/ai/node.cjs.map +1 -0
- package/dist/patterns/ai/node.d.cts +1 -59
- package/dist/patterns/ai/node.d.ts +1 -59
- package/dist/patterns/ai/node.js +3 -1
- package/dist/patterns/ai/node.js.map +1 -0
- package/dist/patterns/cqrs/index.cjs +21 -3
- package/dist/patterns/cqrs/index.cjs.map +1 -0
- package/dist/patterns/cqrs/index.d.cts +1 -8
- package/dist/patterns/cqrs/index.d.ts +1 -8
- package/dist/patterns/cqrs/index.js +3 -1
- package/dist/patterns/cqrs/index.js.map +1 -0
- package/dist/patterns/demo-shell/index.cjs +21 -5
- package/dist/patterns/demo-shell/index.cjs.map +1 -0
- package/dist/patterns/demo-shell/index.d.cts +1 -7
- package/dist/patterns/demo-shell/index.d.ts +1 -7
- package/dist/patterns/demo-shell/index.js +3 -1
- package/dist/patterns/demo-shell/index.js.map +1 -0
- package/dist/patterns/domain-templates/index.cjs +21 -3
- package/dist/patterns/domain-templates/index.cjs.map +1 -0
- package/dist/patterns/domain-templates/index.d.cts +1 -6
- package/dist/patterns/domain-templates/index.d.ts +1 -6
- package/dist/patterns/domain-templates/index.js +3 -1
- package/dist/patterns/domain-templates/index.js.map +1 -0
- package/dist/patterns/graphspec/index.cjs +21 -86
- package/dist/patterns/graphspec/index.cjs.map +1 -0
- package/dist/patterns/graphspec/index.d.cts +1 -8
- package/dist/patterns/graphspec/index.d.ts +1 -8
- package/dist/patterns/graphspec/index.js +3 -1
- package/dist/patterns/graphspec/index.js.map +1 -0
- package/dist/patterns/harness/index.cjs +21 -48
- package/dist/patterns/harness/index.cjs.map +1 -0
- package/dist/patterns/harness/index.d.cts +1 -13
- package/dist/patterns/harness/index.d.ts +1 -13
- package/dist/patterns/harness/index.js +3 -1
- package/dist/patterns/harness/index.js.map +1 -0
- package/dist/patterns/inspect/index.cjs +21 -3
- package/dist/patterns/inspect/index.cjs.map +1 -0
- package/dist/patterns/inspect/index.d.cts +1 -9
- package/dist/patterns/inspect/index.d.ts +1 -9
- package/dist/patterns/inspect/index.js +3 -1
- package/dist/patterns/inspect/index.js.map +1 -0
- package/dist/patterns/job-queue/index.cjs +21 -3
- package/dist/patterns/job-queue/index.cjs.map +1 -0
- package/dist/patterns/job-queue/index.d.cts +1 -9
- package/dist/patterns/job-queue/index.d.ts +1 -9
- package/dist/patterns/job-queue/index.js +3 -1
- package/dist/patterns/job-queue/index.js.map +1 -0
- package/dist/patterns/memory/index.cjs +21 -3
- package/dist/patterns/memory/index.cjs.map +1 -0
- package/dist/patterns/memory/index.d.cts +1 -8
- package/dist/patterns/memory/index.d.ts +1 -8
- package/dist/patterns/memory/index.js +3 -1
- package/dist/patterns/memory/index.js.map +1 -0
- package/dist/patterns/messaging/index.cjs +21 -3
- package/dist/patterns/messaging/index.cjs.map +1 -0
- package/dist/patterns/messaging/index.d.cts +1 -7
- package/dist/patterns/messaging/index.d.ts +1 -7
- package/dist/patterns/messaging/index.js +3 -1
- package/dist/patterns/messaging/index.js.map +1 -0
- package/dist/patterns/orchestration/index.cjs +21 -3
- package/dist/patterns/orchestration/index.cjs.map +1 -0
- package/dist/patterns/orchestration/index.d.cts +1 -8
- package/dist/patterns/orchestration/index.d.ts +1 -8
- package/dist/patterns/orchestration/index.js +3 -1
- package/dist/patterns/orchestration/index.js.map +1 -0
- package/dist/patterns/process/index.cjs +21 -3
- package/dist/patterns/process/index.cjs.map +1 -0
- package/dist/patterns/process/index.d.cts +1 -10
- package/dist/patterns/process/index.d.ts +1 -10
- package/dist/patterns/process/index.js +3 -1
- package/dist/patterns/process/index.js.map +1 -0
- package/dist/patterns/reactive-layout/index.cjs +21 -4
- package/dist/patterns/reactive-layout/index.cjs.map +1 -0
- package/dist/patterns/reactive-layout/index.d.cts +1 -7
- package/dist/patterns/reactive-layout/index.d.ts +1 -7
- package/dist/patterns/reactive-layout/index.js +3 -1
- package/dist/patterns/reactive-layout/index.js.map +1 -0
- package/dist/patterns/reduction/index.cjs +21 -3
- package/dist/patterns/reduction/index.cjs.map +1 -0
- package/dist/patterns/reduction/index.d.cts +1 -6
- package/dist/patterns/reduction/index.d.ts +1 -6
- package/dist/patterns/reduction/index.js +3 -1
- package/dist/patterns/reduction/index.js.map +1 -0
- package/dist/patterns/surface/index.cjs +21 -13
- package/dist/patterns/surface/index.cjs.map +1 -0
- package/dist/patterns/surface/index.d.cts +1 -9
- package/dist/patterns/surface/index.d.ts +1 -9
- package/dist/patterns/surface/index.js +3 -1
- package/dist/patterns/surface/index.js.map +1 -0
- package/dist/patterns/topology-view/index.cjs +21 -0
- package/dist/patterns/topology-view/index.cjs.map +1 -0
- package/dist/patterns/topology-view/index.d.cts +1 -0
- package/dist/patterns/topology-view/index.d.ts +1 -0
- package/dist/patterns/topology-view/index.js +3 -0
- package/dist/patterns/topology-view/index.js.map +1 -0
- package/dist/testing/index.cjs +21 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +1 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.js +3 -0
- package/dist/testing/index.js.map +1 -0
- package/package.json +608 -584
- package/dist/backoff-HPZMEZNF.js +0 -1
- package/dist/cascading-BglDkMdX.d.cts +0 -199
- package/dist/cascading-MFgxu7Yo.d.ts +0 -199
- package/dist/chunk-2T7U5EU6.js +0 -1
- package/dist/chunk-3G5U5QNE.js +0 -5
- package/dist/chunk-4VVTGLXJ.js +0 -1
- package/dist/chunk-5M4CCMMD.js +0 -45
- package/dist/chunk-5QDBSZBV.js +0 -1
- package/dist/chunk-5XJ6B66J.js +0 -1
- package/dist/chunk-6QZNQS5B.js +0 -1
- package/dist/chunk-6X7AFUJV.js +0 -9
- package/dist/chunk-7K6PWTDQ.js +0 -1
- package/dist/chunk-7LIAPXJB.js +0 -1
- package/dist/chunk-7WPU3UHQ.js +0 -1
- package/dist/chunk-A5WCQ5NO.js +0 -1
- package/dist/chunk-APPIWSGD.js +0 -84
- package/dist/chunk-BEZWM2SY.js +0 -1
- package/dist/chunk-C72GO4IZ.js +0 -1
- package/dist/chunk-CB676TKJ.js +0 -1
- package/dist/chunk-CE6TI2TL.js +0 -1
- package/dist/chunk-CE72X3WO.js +0 -1
- package/dist/chunk-CK2E7BTU.js +0 -1
- package/dist/chunk-CLVB32RD.js +0 -1
- package/dist/chunk-CRVT7D2P.js +0 -1
- package/dist/chunk-D5RFJOZ2.js +0 -1
- package/dist/chunk-D7GPHKFH.js +0 -1
- package/dist/chunk-DHRX7JX4.js +0 -2
- package/dist/chunk-ESMPEKEV.js +0 -1
- package/dist/chunk-F672GV32.js +0 -1
- package/dist/chunk-FZMYDOWV.js +0 -1
- package/dist/chunk-GHBWHMRZ.js +0 -1
- package/dist/chunk-GLERH466.js +0 -1
- package/dist/chunk-GPW2V3RE.js +0 -1
- package/dist/chunk-HIDYF36O.js +0 -1
- package/dist/chunk-HITNVN6B.js +0 -3
- package/dist/chunk-HY4DJBA7.js +0 -5
- package/dist/chunk-KZIEYVXN.js +0 -1
- package/dist/chunk-L6NSJVJZ.js +0 -1
- package/dist/chunk-N4MQX6JU.js +0 -18
- package/dist/chunk-N7FHEL4D.js +0 -1
- package/dist/chunk-NTEURFZH.js +0 -1
- package/dist/chunk-OIVP6KFV.js +0 -1
- package/dist/chunk-OPHBU3LG.js +0 -1
- package/dist/chunk-OYQOZP2F.js +0 -5
- package/dist/chunk-PTZK576G.js +0 -1
- package/dist/chunk-QYADASLV.js +0 -1
- package/dist/chunk-ST7UXLWR.js +0 -1
- package/dist/chunk-SVY7VUYU.js +0 -1
- package/dist/chunk-TK3NWWD4.js +0 -1
- package/dist/chunk-TSOYJ743.js +0 -1
- package/dist/chunk-UNGSTR4X.js +0 -61
- package/dist/chunk-VIMF6LGM.js +0 -1
- package/dist/chunk-VJLMUKOI.js +0 -1
- package/dist/chunk-VN6RDSK2.js +0 -1
- package/dist/chunk-VV4N5P64.js +0 -1
- package/dist/chunk-W3I423PS.js +0 -1
- package/dist/chunk-WJR24TAG.js +0 -1
- package/dist/chunk-XTGKMHSW.js +0 -1
- package/dist/chunk-YBB7ZGTY.js +0 -1
- package/dist/chunk-Z4NPUARF.js +0 -1
- package/dist/chunk-ZGNQRPDT.js +0 -1
- package/dist/chunk-ZKPSFFKU.js +0 -1
- package/dist/chunk-ZLV5SQSX.js +0 -1
- package/dist/content-addressed-storage-4-ST1tYk.d.cts +0 -124
- package/dist/content-addressed-storage-DuYMjV7o.d.ts +0 -124
- package/dist/decay-BvOWTZ00.d.ts +0 -112
- package/dist/decay-CFlLvXUT.d.cts +0 -112
- package/dist/fallback-74oxi34l.d.cts +0 -250
- package/dist/fallback-DUyyBTBK.d.ts +0 -250
- package/dist/graph-CWvEUQAq.d.cts +0 -1861
- package/dist/graph-D9LFnda9.d.ts +0 -1861
- package/dist/index-5k1T6jl0.d.cts +0 -121
- package/dist/index-9770hRuQ.d.cts +0 -779
- package/dist/index-B-_tFaqV.d.cts +0 -468
- package/dist/index-B17QddL1.d.cts +0 -374
- package/dist/index-B1F8Enjf.d.ts +0 -704
- package/dist/index-B5S8ULbU.d.ts +0 -515
- package/dist/index-B8YnZpIR.d.ts +0 -102
- package/dist/index-BHskSB8v.d.ts +0 -3413
- package/dist/index-BIYAkbAi.d.cts +0 -26
- package/dist/index-BQSKmbuG.d.cts +0 -127
- package/dist/index-BaQaY_IQ.d.cts +0 -231
- package/dist/index-BmZXHqkE.d.ts +0 -36
- package/dist/index-BoJ5JHxI.d.ts +0 -557
- package/dist/index-BocU7pqs.d.ts +0 -779
- package/dist/index-BrPrLl4e.d.cts +0 -86
- package/dist/index-BxNs2HB9.d.cts +0 -1858
- package/dist/index-Byu-OpX_.d.ts +0 -113
- package/dist/index-C1T3d7V-.d.cts +0 -704
- package/dist/index-C5ri2Axc.d.cts +0 -301
- package/dist/index-C5stwKcw.d.cts +0 -44
- package/dist/index-C9l6OEBL.d.ts +0 -26
- package/dist/index-CBBLl_rc.d.ts +0 -127
- package/dist/index-CBGUK09R.d.ts +0 -754
- package/dist/index-CC-AvFTy.d.cts +0 -557
- package/dist/index-CJF1URuX.d.ts +0 -121
- package/dist/index-CK29LV56.d.cts +0 -34
- package/dist/index-CMh5Rz1y.d.ts +0 -385
- package/dist/index-CPQlGA29.d.ts +0 -34
- package/dist/index-CR8QpwX8.d.ts +0 -2680
- package/dist/index-CS0LTlB8.d.cts +0 -385
- package/dist/index-CSOmP7xT.d.cts +0 -291
- package/dist/index-CYq8vAyV.d.ts +0 -291
- package/dist/index-CZ3r5Rxp.d.ts +0 -374
- package/dist/index-CasX6Pfq.d.cts +0 -358
- package/dist/index-CdAlHFEt.d.ts +0 -44
- package/dist/index-CdTelp1M.d.ts +0 -202
- package/dist/index-CeFiHtAg.d.ts +0 -468
- package/dist/index-Cj3WohTd.d.cts +0 -202
- package/dist/index-Climxqsu.d.cts +0 -754
- package/dist/index-Co7uli2l.d.cts +0 -3413
- package/dist/index-CviRnE4K.d.ts +0 -45
- package/dist/index-Cwv0KWcU.d.cts +0 -102
- package/dist/index-CzLVrjxn.d.ts +0 -231
- package/dist/index-D0aciIex.d.cts +0 -209
- package/dist/index-DHen9Klo.d.ts +0 -1858
- package/dist/index-DV_1YuVk.d.cts +0 -221
- package/dist/index-Dc4AYqrJ.d.cts +0 -515
- package/dist/index-Dgl1HpPn.d.ts +0 -86
- package/dist/index-DisjX8a-.d.ts +0 -221
- package/dist/index-UPSiS-X7.d.cts +0 -2680
- package/dist/index-Yq60JP3s.d.ts +0 -209
- package/dist/index-ZVQhLa2i.d.cts +0 -37
- package/dist/index-_6ODbuOu.d.cts +0 -45
- package/dist/index-hcDJ8PSI.d.cts +0 -36
- package/dist/index-nozs3fFC.d.ts +0 -301
- package/dist/index-p09KSrTN.d.ts +0 -358
- package/dist/index-sqkqlb1p.d.ts +0 -37
- package/dist/index-tRCxuAXF.d.cts +0 -113
- package/dist/node-kK3CvTrR.d.cts +0 -1347
- package/dist/node-kK3CvTrR.d.ts +0 -1347
- package/dist/observable-DWjNfLvC.d.ts +0 -36
- package/dist/observable-e3eiPPFy.d.cts +0 -36
- package/dist/pipeline-graph-CIKhynsF.d.cts +0 -142
- package/dist/pipeline-graph-Sgj0gCwn.d.ts +0 -142
- package/dist/reactive-layout-DOTs9P3X.d.ts +0 -183
- package/dist/reactive-layout-DgctbqZo.d.cts +0 -183
- package/dist/reactive-log-BKALbfal.d.ts +0 -223
- package/dist/reactive-log-DIGdYqQ6.d.cts +0 -223
- package/dist/reactive-map-CEFGp8TK.d.cts +0 -296
- package/dist/reactive-map-DS_SIAxv.d.ts +0 -296
- package/dist/resilience-6LYQJAC5.js +0 -1
- package/dist/sugar-DQjFmVqb.d.cts +0 -399
- package/dist/sugar-fhLIE7TT.d.ts +0 -399
- package/dist/topology-tree-Bcz27hpF.d.cts +0 -25
- package/dist/topology-tree-xvaD0fOX.d.ts +0 -25
- package/dist/types-C0_yquda.d.cts +0 -442
- package/dist/types-CWFysE9E.d.ts +0 -442
package/dist/index-DisjX8a-.d.ts
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { N as Node } from './node-kK3CvTrR.js';
|
|
2
|
-
import { B as BaseAuditRecord } from './index-Yq60JP3s.js';
|
|
3
|
-
import { a as ReactiveLogBundle } from './reactive-log-BKALbfal.js';
|
|
4
|
-
import { NodeInput } from './extra/sources.js';
|
|
5
|
-
import { AppendLogStorageTier } from './extra/storage-tiers.js';
|
|
6
|
-
import { G as Graph, a as GraphOptions } from './graph-D9LFnda9.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Job queue patterns (roadmap §4.2).
|
|
10
|
-
*
|
|
11
|
-
* Queue / flow primitives modeled as graph factories:
|
|
12
|
-
* - `jobQueue()` — claim/ack/nack workflow with reactive depth.
|
|
13
|
-
* - `jobFlow()` — multi-stage queue chain.
|
|
14
|
-
*
|
|
15
|
-
* Topic / subscription / hub primitives live in `patterns/messaging`.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
type JobState = "queued" | "inflight";
|
|
19
|
-
type JobEnvelope<T> = {
|
|
20
|
-
id: string;
|
|
21
|
-
payload: T;
|
|
22
|
-
attempts: number;
|
|
23
|
-
metadata: Readonly<Record<string, unknown>>;
|
|
24
|
-
state: JobState;
|
|
25
|
-
};
|
|
26
|
-
/** Audit record for a job-queue mutation (Audit 2 cross-cutting). */
|
|
27
|
-
type JobEventAction = "enqueue" | "claim" | "ack" | "nack" | "remove";
|
|
28
|
-
interface JobEvent<T = unknown> extends BaseAuditRecord {
|
|
29
|
-
readonly action: JobEventAction;
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly attempts?: number;
|
|
32
|
-
readonly payload?: T;
|
|
33
|
-
}
|
|
34
|
-
/** Recommended `keyOf` for keyed-storage adapters (Audit 2 #7). */
|
|
35
|
-
declare const jobEventKeyOf: <T>(e: JobEvent<T>) => string;
|
|
36
|
-
type JobQueueOptions = {
|
|
37
|
-
graph?: GraphOptions;
|
|
38
|
-
};
|
|
39
|
-
declare class JobQueueGraph<T> extends Graph {
|
|
40
|
-
private readonly _pending;
|
|
41
|
-
private readonly _jobs;
|
|
42
|
-
private readonly _seqCursor;
|
|
43
|
-
readonly pending: Node<readonly string[]>;
|
|
44
|
-
readonly jobs: Node<ReadonlyMap<string, JobEnvelope<T>>>;
|
|
45
|
-
readonly depth: Node<number>;
|
|
46
|
-
/** Audit log of every queue mutation (Audit 2). */
|
|
47
|
-
readonly events: ReactiveLogBundle<JobEvent<T>>;
|
|
48
|
-
/** Alias for {@link JobQueueGraph.events} — Audit 2 `.audit` duplication. */
|
|
49
|
-
readonly audit: ReactiveLogBundle<JobEvent<T>>;
|
|
50
|
-
private readonly _enqueueImpl;
|
|
51
|
-
private readonly _ackImpl;
|
|
52
|
-
private readonly _nackImpl;
|
|
53
|
-
private readonly _removeByIdImpl;
|
|
54
|
-
constructor(name: string, opts?: JobQueueOptions);
|
|
55
|
-
/**
|
|
56
|
-
* Wire append-log storage tiers (Audit 4). Returns a disposer.
|
|
57
|
-
*
|
|
58
|
-
* Named `attachEventStorage` to avoid colliding with {@link Graph.attachSnapshotStorage}.
|
|
59
|
-
*/
|
|
60
|
-
attachEventStorage(tiers: readonly AppendLogStorageTier<JobEvent<T>>[]): () => void;
|
|
61
|
-
enqueue(payload: T, opts?: {
|
|
62
|
-
id?: string;
|
|
63
|
-
metadata?: Record<string, unknown>;
|
|
64
|
-
}): string;
|
|
65
|
-
claim(limit?: number): readonly JobEnvelope<T>[];
|
|
66
|
-
ack(id: string): boolean;
|
|
67
|
-
nack(id: string, opts?: {
|
|
68
|
-
requeue?: boolean;
|
|
69
|
-
}): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Remove a job by id regardless of its current state. Returns `true` if
|
|
72
|
-
* the job existed and was removed, `false` if no job has this id.
|
|
73
|
-
*
|
|
74
|
-
* `ack` only works on inflight; `nack` only works on inflight.
|
|
75
|
-
* `removeById` is the state-agnostic escape hatch — useful for
|
|
76
|
-
* audit/observability layers that enqueue but never claim, and need to
|
|
77
|
-
* finalize a job when an external decision (e.g. harness verify
|
|
78
|
-
* outcome) resolves it. Distinct name from the inherited
|
|
79
|
-
* {@link Graph.remove}, which removes a mounted child subgraph by path.
|
|
80
|
-
*
|
|
81
|
-
* When the job is in `queued` state, its id is also pulled from the
|
|
82
|
-
* `pending` list — depth + pending snapshot stay consistent.
|
|
83
|
-
*/
|
|
84
|
-
removeById(id: string): boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Subscribe to a Node and enqueue each DATA payload into this queue.
|
|
87
|
-
* Returns a disposer that stops consuming when called.
|
|
88
|
-
*
|
|
89
|
-
* Used internally by {@link JobFlowGraph} for stage-to-stage wiring but
|
|
90
|
-
* also useful for users wiring an external source into a job queue.
|
|
91
|
-
*
|
|
92
|
-
* @param source - Node whose DATA values are enqueued.
|
|
93
|
-
* @param opts - Optional enqueue options (id generator, metadata prefix).
|
|
94
|
-
*/
|
|
95
|
-
consumeFrom(source: Node<T>, opts?: {
|
|
96
|
-
metadata?: Record<string, unknown>;
|
|
97
|
-
}): () => void;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Work function for a job flow stage. Receives the full job envelope and
|
|
101
|
-
* an optional per-claim options object carrying an `AbortSignal`; returns
|
|
102
|
-
* a `NodeInput<T>` — raw value (sync), Promise (async), or Node (composed
|
|
103
|
-
* pipeline). `fromAny` coerces any of these shapes.
|
|
104
|
-
*
|
|
105
|
-
* On error / rejection: the stage nacks the job (no requeue by default).
|
|
106
|
-
*
|
|
107
|
-
* **Per-claim signal (Tier 6.5 2.5b, 2026-04-29).** The pump mints an
|
|
108
|
-
* `AbortController` per claim and supplies its `signal` via `opts`. The
|
|
109
|
-
* signal aborts when (a) the result node settles (first DATA / first
|
|
110
|
-
* ERROR — auto-cleanup after the pump captures), OR (b) the pump itself
|
|
111
|
-
* tears down (e.g. parent Graph `destroy()`). User-supplied work fns that
|
|
112
|
-
* do long-running async (HTTP, LLM streams, evaluator subgraphs) can
|
|
113
|
-
* forward this signal into `fetch({ signal })`, `adapter.invoke({ signal
|
|
114
|
-
* })`, etc. for cooperative cancellation. Sync work fns ignore `opts` —
|
|
115
|
-
* the second arg is optional, no behavior change for legacy callers.
|
|
116
|
-
*
|
|
117
|
-
* Mirrors the `LLMInvokeOptions.signal` / `apply(item, { signal })` /
|
|
118
|
-
* tool-handler `(args, { signal })` precedents — same shape across the
|
|
119
|
-
* library's user-callback boundaries.
|
|
120
|
-
*/
|
|
121
|
-
type WorkFn<T> = (job: JobEnvelope<T>, opts?: {
|
|
122
|
-
signal: AbortSignal;
|
|
123
|
-
}) => NodeInput<T>;
|
|
124
|
-
/**
|
|
125
|
-
* Stage definition for {@link JobFlowGraph}. Either a bare name string
|
|
126
|
-
* (no work hook, pure pass-through) or a full definition object.
|
|
127
|
-
*/
|
|
128
|
-
type StageDef<T> = string | {
|
|
129
|
-
name: string;
|
|
130
|
-
work?: WorkFn<T>;
|
|
131
|
-
handlerVersion?: {
|
|
132
|
-
id: string;
|
|
133
|
-
version: string | number;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* Per-stage cap on `claim → work → ack` cycles per pump tick.
|
|
137
|
-
* Overrides {@link JobFlowOptions.maxPerPump} for this stage. Useful
|
|
138
|
-
* when stages have asymmetric cost (e.g. an LLM-execute stage capped
|
|
139
|
-
* at 4 concurrent calls while a cheap verify stage runs unbounded).
|
|
140
|
-
*
|
|
141
|
-
* Falls back to the top-level `JobFlowOptions.maxPerPump`, which in
|
|
142
|
-
* turn falls back to `DEFAULT_MAX_PER_PUMP` (256).
|
|
143
|
-
*/
|
|
144
|
-
maxPerPump?: number;
|
|
145
|
-
/**
|
|
146
|
-
* Per-stage cap on TOTAL concurrent inflight claims (Tier 6.5 3.1,
|
|
147
|
-
* 2026-04-29). Distinct from {@link maxPerPump}: `maxPerPump` caps
|
|
148
|
-
* claims per pump tick, while `maxInflight` caps the number of
|
|
149
|
-
* unsettled in-flight claims at any moment across all ticks. Use
|
|
150
|
-
* for rigorous LLM cost ceilings (e.g. "no more than 4 concurrent
|
|
151
|
-
* adapter.invoke calls regardless of pending depth").
|
|
152
|
-
*
|
|
153
|
-
* When set, the stage mounts an internal `state(0)` counter as a
|
|
154
|
-
* pump dep so the pump re-fires on each settle — pending items
|
|
155
|
-
* resume claiming as soon as inflight drops below the cap.
|
|
156
|
-
*
|
|
157
|
-
* Unset (default): unbounded inflight, gated only by `maxPerPump`.
|
|
158
|
-
*/
|
|
159
|
-
maxInflight?: number;
|
|
160
|
-
};
|
|
161
|
-
type JobFlowOptions<T = unknown> = {
|
|
162
|
-
graph?: GraphOptions;
|
|
163
|
-
/**
|
|
164
|
-
* Stage definitions. Each stage is either a bare name string (pure
|
|
165
|
-
* pass-through) or a `{ name, work?, handlerVersion?, maxPerPump? }` object.
|
|
166
|
-
*
|
|
167
|
-
* For back-compat, `string[]` values behave as stages with no work hook.
|
|
168
|
-
*/
|
|
169
|
-
stages?: readonly StageDef<T>[];
|
|
170
|
-
/**
|
|
171
|
-
* Default cap on claims per pump tick across all stages. Per-stage
|
|
172
|
-
* overrides can be set on each {@link StageDef.maxPerPump}; if neither is
|
|
173
|
-
* set, falls back to `DEFAULT_MAX_PER_PUMP` (256).
|
|
174
|
-
*/
|
|
175
|
-
maxPerPump?: number;
|
|
176
|
-
};
|
|
177
|
-
declare class JobFlowGraph<T> extends Graph {
|
|
178
|
-
private readonly _stageNames;
|
|
179
|
-
private readonly _stageWorkFns;
|
|
180
|
-
private readonly _queues;
|
|
181
|
-
private readonly _completed;
|
|
182
|
-
readonly completed: Node<readonly JobEnvelope<T>[]>;
|
|
183
|
-
readonly completedCount: Node<number>;
|
|
184
|
-
constructor(name: string, opts?: JobFlowOptions<T>);
|
|
185
|
-
stages(): readonly string[];
|
|
186
|
-
queue(stage: string): JobQueueGraph<T>;
|
|
187
|
-
enqueue(payload: T, opts?: {
|
|
188
|
-
id?: string;
|
|
189
|
-
metadata?: Record<string, unknown>;
|
|
190
|
-
}): string;
|
|
191
|
-
retainedCompleted(): readonly JobEnvelope<T>[];
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* Creates a Pulsar-inspired job queue graph with claim/ack/nack workflow.
|
|
195
|
-
*/
|
|
196
|
-
declare function jobQueue<T>(name: string, opts?: JobQueueOptions): JobQueueGraph<T>;
|
|
197
|
-
/**
|
|
198
|
-
* Creates an autonomous multi-stage queue chain graph.
|
|
199
|
-
*/
|
|
200
|
-
declare function jobFlow<T>(name: string, opts?: JobFlowOptions<T>): JobFlowGraph<T>;
|
|
201
|
-
|
|
202
|
-
type index_JobEnvelope<T> = JobEnvelope<T>;
|
|
203
|
-
type index_JobEvent<T = unknown> = JobEvent<T>;
|
|
204
|
-
type index_JobEventAction = JobEventAction;
|
|
205
|
-
type index_JobFlowGraph<T> = JobFlowGraph<T>;
|
|
206
|
-
declare const index_JobFlowGraph: typeof JobFlowGraph;
|
|
207
|
-
type index_JobFlowOptions<T = unknown> = JobFlowOptions<T>;
|
|
208
|
-
type index_JobQueueGraph<T> = JobQueueGraph<T>;
|
|
209
|
-
declare const index_JobQueueGraph: typeof JobQueueGraph;
|
|
210
|
-
type index_JobQueueOptions = JobQueueOptions;
|
|
211
|
-
type index_JobState = JobState;
|
|
212
|
-
type index_StageDef<T> = StageDef<T>;
|
|
213
|
-
type index_WorkFn<T> = WorkFn<T>;
|
|
214
|
-
declare const index_jobEventKeyOf: typeof jobEventKeyOf;
|
|
215
|
-
declare const index_jobFlow: typeof jobFlow;
|
|
216
|
-
declare const index_jobQueue: typeof jobQueue;
|
|
217
|
-
declare namespace index {
|
|
218
|
-
export { type index_JobEnvelope as JobEnvelope, type index_JobEvent as JobEvent, type index_JobEventAction as JobEventAction, index_JobFlowGraph as JobFlowGraph, type index_JobFlowOptions as JobFlowOptions, index_JobQueueGraph as JobQueueGraph, type index_JobQueueOptions as JobQueueOptions, type index_JobState as JobState, type index_StageDef as StageDef, type index_WorkFn as WorkFn, index_jobEventKeyOf as jobEventKeyOf, index_jobFlow as jobFlow, index_jobQueue as jobQueue };
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export { type JobEnvelope as J, type StageDef as S, type WorkFn as W, JobFlowGraph as a, JobQueueGraph as b, type JobEvent as c, type JobEventAction as d, type JobFlowOptions as e, type JobQueueOptions as f, type JobState as g, jobFlow as h, index as i, jobEventKeyOf as j, jobQueue as k };
|