@graphrefly/ts 0.0.0 → 0.0.1
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 +135 -0
- package/dist/adapters/index.cjs +105 -66
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.d.cts +11 -136
- package/dist/adapters/index.d.ts +11 -136
- package/dist/adapters/index.js +27 -225
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/observe-storage.d.cts +4 -4
- package/dist/adapters/observe-storage.d.ts +4 -4
- package/dist/adapters/observe-storage.js +1 -0
- package/dist/adapters/observe-storage.js.map +1 -1
- package/dist/adapters/react.cjs +166 -0
- package/dist/adapters/react.cjs.map +1 -0
- package/dist/adapters/react.d.cts +31 -0
- package/dist/adapters/react.d.ts +31 -0
- package/dist/adapters/react.js +51 -0
- package/dist/adapters/react.js.map +1 -0
- package/dist/adapters/solid.cjs +157 -0
- package/dist/adapters/solid.cjs.map +1 -0
- package/dist/adapters/solid.d.cts +26 -0
- package/dist/adapters/solid.d.ts +26 -0
- package/dist/adapters/solid.js +48 -0
- package/dist/adapters/solid.js.map +1 -0
- package/dist/adapters/svelte.cjs +148 -0
- package/dist/adapters/svelte.cjs.map +1 -0
- package/dist/adapters/svelte.d.cts +31 -0
- package/dist/adapters/svelte.d.ts +31 -0
- package/dist/adapters/svelte.js +46 -0
- package/dist/adapters/svelte.js.map +1 -0
- package/dist/adapters/vue.cjs +155 -0
- package/dist/adapters/vue.cjs.map +1 -0
- package/dist/adapters/vue.d.cts +26 -0
- package/dist/adapters/vue.d.ts +26 -0
- package/dist/adapters/vue.js +46 -0
- package/dist/adapters/vue.js.map +1 -0
- package/dist/agent-runtime-BesGDZcB.d.ts +555 -0
- package/dist/agent-runtime-DZTJ3C-p.d.cts +555 -0
- package/dist/agentic-memory-BmRCvh0d.d.ts +517 -0
- package/dist/agentic-memory-DfuVZ-lY.d.cts +517 -0
- package/dist/capability-admission-B0BzqAm5.d.cts +102 -0
- package/dist/capability-admission-g0mn9hpq.d.ts +102 -0
- package/dist/{chunk-JR4IKCR2.js → chunk-2747WN4Y.js} +5 -5
- package/dist/{chunk-2ILL7HQI.js → chunk-3JR3EDB2.js} +17 -17
- package/dist/{chunk-2ILL7HQI.js.map → chunk-3JR3EDB2.js.map} +1 -1
- package/dist/{chunk-GDL26N2T.js → chunk-3KN7NJDR.js} +2 -2
- package/dist/{chunk-DJC4CHLQ.js → chunk-43BKLFZU.js} +9 -9
- package/dist/chunk-6XAIOL3X.js +2407 -0
- package/dist/chunk-6XAIOL3X.js.map +1 -0
- package/dist/{chunk-SCRFRCGR.js → chunk-BSQGE5PS.js} +1 -1
- package/dist/{chunk-Y3ZLRGHC.js → chunk-CZNV3VXM.js} +16 -16
- package/dist/chunk-DGUM43GV.js +11 -0
- package/dist/chunk-DGUM43GV.js.map +1 -0
- package/dist/{chunk-JIMUDQN3.js → chunk-FBUU43PM.js} +2 -2
- package/dist/chunk-H75VXTGT.js +219 -0
- package/dist/chunk-H75VXTGT.js.map +1 -0
- package/dist/{chunk-RIIOUTGM.js → chunk-HKK2JD7Z.js} +12 -9
- package/dist/chunk-HKK2JD7Z.js.map +1 -0
- package/dist/{chunk-D6BG7U6A.js → chunk-IXZBUWSP.js} +3 -3
- package/dist/chunk-PC3BTTBE.js +3217 -0
- package/dist/chunk-PC3BTTBE.js.map +1 -0
- package/dist/chunk-QFY4AFY4.js +879 -0
- package/dist/chunk-QFY4AFY4.js.map +1 -0
- package/dist/{chunk-DK554R7P.js → chunk-S6HXABGL.js} +2 -1
- package/dist/chunk-S6HXABGL.js.map +1 -0
- package/dist/{chunk-PKVBHGBM.js → chunk-SS2A464I.js} +7 -7
- package/dist/chunk-UT3MHJCW.js +49 -0
- package/dist/chunk-UT3MHJCW.js.map +1 -0
- package/dist/{chunk-G4M3NHRJ.js → chunk-V7CIJE4B.js} +3 -3
- package/dist/{chunk-TEW47IVR.js → chunk-VPEFSDME.js} +2 -2
- package/dist/chunk-VTHLCFN4.js +368 -0
- package/dist/chunk-VTHLCFN4.js.map +1 -0
- package/dist/{chunk-SWTLEQL6.js → chunk-WQIA3GFB.js} +2 -2
- package/dist/chunk-WQIA3GFB.js.map +1 -0
- package/dist/{chunk-I3IHOHCJ.js → chunk-XKXWK2KP.js} +108 -64
- package/dist/chunk-XKXWK2KP.js.map +1 -0
- package/dist/{chunk-COHO25CZ.js → chunk-YDSIVHRR.js} +553 -7
- package/dist/chunk-YDSIVHRR.js.map +1 -0
- package/dist/chunk-YXMZ2N6J.js +1884 -0
- package/dist/chunk-YXMZ2N6J.js.map +1 -0
- package/dist/composition/index.cjs +102 -57
- package/dist/composition/index.cjs.map +1 -1
- package/dist/composition/index.d.cts +4 -4
- package/dist/composition/index.d.ts +4 -4
- package/dist/composition/index.js +6 -5
- package/dist/core/index.cjs +102 -57
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +5 -4
- package/dist/cqrs/index.cjs.map +1 -1
- package/dist/cqrs/index.d.cts +4 -4
- package/dist/cqrs/index.d.ts +4 -4
- package/dist/cqrs/index.js +3 -2
- package/dist/cqrs/index.js.map +1 -1
- package/dist/cqrs/messaging.cjs +312 -0
- package/dist/cqrs/messaging.cjs.map +1 -0
- package/dist/cqrs/messaging.d.cts +57 -0
- package/dist/cqrs/messaging.d.ts +57 -0
- package/dist/cqrs/messaging.js +274 -0
- package/dist/cqrs/messaging.js.map +1 -0
- package/dist/cqrs/work-queue.cjs +329 -0
- package/dist/cqrs/work-queue.cjs.map +1 -0
- package/dist/cqrs/work-queue.d.cts +90 -0
- package/dist/cqrs/work-queue.d.ts +90 -0
- package/dist/cqrs/work-queue.js +292 -0
- package/dist/cqrs/work-queue.js.map +1 -0
- package/dist/data/index.cjs +19 -0
- package/dist/data/index.cjs.map +1 -0
- package/dist/data/index.d.cts +36 -0
- package/dist/data/index.d.ts +36 -0
- package/dist/data/index.js +1 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data-structures/index.cjs +105 -57
- package/dist/data-structures/index.cjs.map +1 -1
- package/dist/data-structures/index.d.cts +8 -8
- package/dist/data-structures/index.d.ts +8 -8
- package/dist/data-structures/index.js +7 -6
- package/dist/{describe-BZb7AS2y.d.ts → describe-BpyJuWkw.d.ts} +1 -1
- package/dist/{describe-Ciu8SUnN.d.cts → describe-DYMw_l1C.d.cts} +1 -1
- package/dist/executors/work-queue.cjs +342 -0
- package/dist/executors/work-queue.cjs.map +1 -0
- package/dist/executors/work-queue.d.cts +90 -0
- package/dist/executors/work-queue.d.ts +90 -0
- package/dist/executors/work-queue.js +306 -0
- package/dist/executors/work-queue.js.map +1 -0
- package/dist/graph/index.cjs +112 -58
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +9 -9
- package/dist/graph/index.d.ts +9 -9
- package/dist/graph/index.js +18 -17
- package/dist/{graph-DfdF9zy4.d.ts → graph-D-1-SQeC.d.ts} +3 -3
- package/dist/{graph-s23RbbFO.d.cts → graph-DCEWh4T2.d.cts} +3 -3
- package/dist/{index-CAEmLCYF.d.cts → index-72VZC0-E.d.cts} +2 -2
- package/dist/{index-SnzZu3x7.d.ts → index-Bmxeu0nK.d.ts} +2 -2
- package/dist/index.cjs +112 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +118 -113
- package/dist/inspection/boundary.cjs +98 -0
- package/dist/inspection/boundary.cjs.map +1 -0
- package/dist/inspection/boundary.d.cts +61 -0
- package/dist/inspection/boundary.d.ts +61 -0
- package/dist/inspection/boundary.js +75 -0
- package/dist/inspection/boundary.js.map +1 -0
- package/dist/{messages-BZqrGGm1.d.ts → messages-CAzUPPJM.d.cts} +10 -5
- package/dist/{messages-BZqrGGm1.d.cts → messages-CAzUPPJM.d.ts} +10 -5
- package/dist/messaging/index.cjs +744 -613
- package/dist/messaging/index.cjs.map +1 -1
- package/dist/messaging/index.d.cts +216 -160
- package/dist/messaging/index.d.ts +216 -160
- package/dist/messaging/index.js +19 -749
- package/dist/messaging/index.js.map +1 -1
- package/dist/operators/index.cjs +102 -57
- package/dist/operators/index.cjs.map +1 -1
- package/dist/operators/index.d.cts +6 -6
- package/dist/operators/index.d.ts +6 -6
- package/dist/operators/index.js +8 -7
- package/dist/orchestration/index.cjs +3333 -59
- package/dist/orchestration/index.cjs.map +1 -1
- package/dist/orchestration/index.d.cts +7 -4
- package/dist/orchestration/index.d.ts +7 -4
- package/dist/orchestration/index.js +49 -8
- package/dist/orchestration/index.js.map +1 -1
- package/dist/orchestration/messaging.cjs +314 -0
- package/dist/orchestration/messaging.cjs.map +1 -0
- package/dist/orchestration/messaging.d.cts +59 -0
- package/dist/orchestration/messaging.d.ts +59 -0
- package/dist/orchestration/messaging.js +276 -0
- package/dist/orchestration/messaging.js.map +1 -0
- package/dist/orchestration/work-queue.cjs +262 -0
- package/dist/orchestration/work-queue.cjs.map +1 -0
- package/dist/orchestration/work-queue.d.cts +85 -0
- package/dist/orchestration/work-queue.d.ts +85 -0
- package/dist/orchestration/work-queue.js +226 -0
- package/dist/orchestration/work-queue.js.map +1 -0
- package/dist/patterns/event-flow.cjs +447 -0
- package/dist/patterns/event-flow.cjs.map +1 -0
- package/dist/patterns/event-flow.d.cts +115 -0
- package/dist/patterns/event-flow.d.ts +115 -0
- package/dist/patterns/event-flow.js +14 -0
- package/dist/patterns/event-flow.js.map +1 -0
- package/dist/patterns/index.cjs +423 -18
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.cts +8 -5
- package/dist/patterns/index.d.ts +8 -5
- package/dist/patterns/index.js +13 -4
- package/dist/{reactive-collection-Cb1II1Fi.d.ts → reactive-collection-BAmfrGjd.d.ts} +9 -9
- package/dist/{reactive-collection-BxBqtIOE.d.cts → reactive-collection-DNV0-gFi.d.cts} +9 -9
- package/dist/{reactive-collection-storage-D-KmjE0J.d.cts → reactive-collection-storage-BNEldDyi.d.cts} +5 -5
- package/dist/{reactive-collection-storage-BNiEc-Gd.d.ts → reactive-collection-storage-YZsAQsWK.d.ts} +5 -5
- package/dist/{reactive-map-D-g3dv8I.d.cts → reactive-map-DRD1LJ2H.d.cts} +6 -6
- package/dist/{reactive-map-BcB4KsQR.d.ts → reactive-map-EsDiCmJk.d.ts} +6 -6
- package/dist/render/index.d.cts +3 -3
- package/dist/render/index.d.ts +3 -3
- package/dist/render/index.js +1 -0
- package/dist/{semantic-memory-graph-BYoIlP35.d.cts → semantic-memory-graph-DKuNzuWw.d.cts} +2 -2
- package/dist/{semantic-memory-graph-CxyXLms3.d.ts → semantic-memory-graph-uwbwJdhe.d.ts} +2 -2
- package/dist/solutions/index.cjs +4478 -2
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +13 -519
- package/dist/solutions/index.d.ts +13 -519
- package/dist/solutions/index.js +90 -6
- package/dist/solutions/reactive-layout/browser/index.cjs +449 -0
- package/dist/solutions/reactive-layout/browser/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/browser/index.d.cts +44 -0
- package/dist/solutions/reactive-layout/browser/index.d.ts +44 -0
- package/dist/solutions/reactive-layout/browser/index.js +69 -0
- package/dist/solutions/reactive-layout/browser/index.js.map +1 -0
- package/dist/solutions/reactive-layout/index.cjs +4266 -0
- package/dist/solutions/reactive-layout/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/index.d.cts +581 -0
- package/dist/solutions/reactive-layout/index.d.ts +581 -0
- package/dist/solutions/reactive-layout/index.js +86 -0
- package/dist/solutions/reactive-layout/index.js.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs +545 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.cts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.ts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js +131 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs +494 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.d.cts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.d.ts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.js +77 -0
- package/dist/solutions/reactive-layout/react-native/index.js.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.cjs +547 -0
- package/dist/solutions/reactive-layout/skia/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.d.cts +64 -0
- package/dist/solutions/reactive-layout/skia/index.d.ts +64 -0
- package/dist/solutions/reactive-layout/skia/index.js +70 -0
- package/dist/solutions/reactive-layout/skia/index.js.map +1 -0
- package/dist/solutions/work-item/actions.cjs +2164 -0
- package/dist/solutions/work-item/actions.cjs.map +1 -0
- package/dist/solutions/work-item/actions.d.cts +201 -0
- package/dist/solutions/work-item/actions.d.ts +201 -0
- package/dist/solutions/work-item/actions.js +1454 -0
- package/dist/solutions/work-item/actions.js.map +1 -0
- package/dist/solutions/work-item/scheduling.cjs +2454 -0
- package/dist/solutions/work-item/scheduling.cjs.map +1 -0
- package/dist/solutions/work-item/scheduling.d.cts +433 -0
- package/dist/solutions/work-item/scheduling.d.ts +433 -0
- package/dist/solutions/work-item/scheduling.js +32 -0
- package/dist/solutions/work-item/scheduling.js.map +1 -0
- package/dist/solutions/work-item/work-queue.cjs +306 -0
- package/dist/solutions/work-item/work-queue.cjs.map +1 -0
- package/dist/solutions/work-item/work-queue.d.cts +71 -0
- package/dist/solutions/work-item/work-queue.d.ts +71 -0
- package/dist/solutions/work-item/work-queue.js +270 -0
- package/dist/solutions/work-item/work-queue.js.map +1 -0
- package/dist/sources/browser.cjs +169 -57
- package/dist/sources/browser.cjs.map +1 -1
- package/dist/sources/browser.d.cts +33 -6
- package/dist/sources/browser.d.ts +33 -6
- package/dist/sources/browser.js +73 -6
- package/dist/sources/browser.js.map +1 -1
- package/dist/sources/index.cjs +102 -57
- package/dist/sources/index.cjs.map +1 -1
- package/dist/sources/index.d.cts +5 -5
- package/dist/sources/index.d.ts +5 -5
- package/dist/sources/index.js +6 -5
- package/dist/sources/node.cjs.map +1 -1
- package/dist/sources/node.d.cts +4 -4
- package/dist/sources/node.d.ts +4 -4
- package/dist/sources/node.js +2 -1
- package/dist/sources/node.js.map +1 -1
- package/dist/storage/browser.js +1 -0
- package/dist/storage/browser.js.map +1 -1
- package/dist/storage/index.d.cts +5 -5
- package/dist/storage/index.d.ts +5 -5
- package/dist/storage/index.js +5 -4
- package/dist/storage/node.js +1 -0
- package/dist/storage/node.js.map +1 -1
- package/dist/store-C-joM4gh.d.ts +123 -0
- package/dist/store-CNJwmT-h.d.cts +123 -0
- package/dist/testing/index.cjs +1 -0
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -2
- package/dist/{types-h12mNYbq.d.ts → types-BsJvElYZ.d.ts} +31 -31
- package/dist/{types-bNMSWKqF.d.cts → types-CcPIn7sy.d.cts} +31 -31
- package/dist/work-item-runtime-C3M79vE9.d.ts +228 -0
- package/dist/work-item-runtime-qaVgsL0T.d.cts +228 -0
- package/dist/work-queue/index.cjs +1132 -0
- package/dist/work-queue/index.cjs.map +1 -0
- package/dist/work-queue/index.d.cts +369 -0
- package/dist/work-queue/index.d.ts +369 -0
- package/dist/work-queue/index.js +1078 -0
- package/dist/work-queue/index.js.map +1 -0
- package/package.json +266 -2
- package/dist/chunk-COHO25CZ.js.map +0 -1
- package/dist/chunk-DK554R7P.js.map +0 -1
- package/dist/chunk-I3IHOHCJ.js.map +0 -1
- package/dist/chunk-RIIOUTGM.js.map +0 -1
- package/dist/chunk-SWTLEQL6.js.map +0 -1
- /package/dist/{chunk-JR4IKCR2.js.map → chunk-2747WN4Y.js.map} +0 -0
- /package/dist/{chunk-GDL26N2T.js.map → chunk-3KN7NJDR.js.map} +0 -0
- /package/dist/{chunk-DJC4CHLQ.js.map → chunk-43BKLFZU.js.map} +0 -0
- /package/dist/{chunk-SCRFRCGR.js.map → chunk-BSQGE5PS.js.map} +0 -0
- /package/dist/{chunk-Y3ZLRGHC.js.map → chunk-CZNV3VXM.js.map} +0 -0
- /package/dist/{chunk-JIMUDQN3.js.map → chunk-FBUU43PM.js.map} +0 -0
- /package/dist/{chunk-D6BG7U6A.js.map → chunk-IXZBUWSP.js.map} +0 -0
- /package/dist/{chunk-PKVBHGBM.js.map → chunk-SS2A464I.js.map} +0 -0
- /package/dist/{chunk-G4M3NHRJ.js.map → chunk-V7CIJE4B.js.map} +0 -0
- /package/dist/{chunk-TEW47IVR.js.map → chunk-VPEFSDME.js.map} +0 -0
package/dist/graph/index.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export { DescribeChangeset, DescribeEvent, PipeOperator, Stratified, StratifyOptions, StratifyRule, pipe, stratify, stratifyBranch, topologyDiff } from '../composition/index.cjs';
|
|
2
|
-
export { C as CapacityPolicy, I as IndexChange, a as IndexRow, L as ListChange, c as LogChange, M as MapChange, O as OrderedCapacityPolicy, j as ReactiveIndex, k as ReactiveIndexCapacityOrder, l as ReactiveIndexCapacityPolicy, m as ReactiveIndexOpt, n as ReactiveIndexOptions, s as ReactiveOpt, t as ReactiveView, u as RetentionPolicy, V as ViewCachePolicy, H as reactiveIndex } from '../reactive-collection-
|
|
3
|
-
export { R as ReactiveList, a as ReactiveListOpt, b as ReactiveListOptions, c as ReactiveLog, d as ReactiveLogOptions, e as ReactiveMap, f as ReactiveMapOpt, g as ReactiveMapOptions, h as ReactiveMapRetentionEntry, i as ReactiveMapRetentionPolicy, m as mergeReactiveLogs, r as reactiveList, j as reactiveLog, k as reactiveMap, s as scanLog } from '../reactive-map-
|
|
2
|
+
export { C as CapacityPolicy, I as IndexChange, a as IndexRow, L as ListChange, c as LogChange, M as MapChange, O as OrderedCapacityPolicy, j as ReactiveIndex, k as ReactiveIndexCapacityOrder, l as ReactiveIndexCapacityPolicy, m as ReactiveIndexOpt, n as ReactiveIndexOptions, s as ReactiveOpt, t as ReactiveView, u as RetentionPolicy, V as ViewCachePolicy, H as reactiveIndex } from '../reactive-collection-DNV0-gFi.cjs';
|
|
3
|
+
export { R as ReactiveList, a as ReactiveListOpt, b as ReactiveListOptions, c as ReactiveLog, d as ReactiveLogOptions, e as ReactiveMap, f as ReactiveMapOpt, g as ReactiveMapOptions, h as ReactiveMapRetentionEntry, i as ReactiveMapRetentionPolicy, m as mergeReactiveLogs, r as reactiveList, j as reactiveLog, k as reactiveMap, s as scanLog } from '../reactive-map-DRD1LJ2H.cjs';
|
|
4
4
|
export { restoreReactiveIndex, restoreReactiveList, restoreReactiveLog, restoreReactiveMap } from '../data-structures/index.cjs';
|
|
5
5
|
export { DescribeToAsciiOptions, DescribeToD2Options, DescribeToJsonOptions, DescribeToMermaidOptions, DescribeToMermaidUrlOptions, DescribeToPrettyOptions, DiagramDirection, MermaidLiveTheme, MermaidLiveUrlOptions, describeToAscii, describeToD2, describeToJson, describeToMermaid, describeToMermaidUrl, describeToPretty, mermaidLiveUrl } from '../render/index.cjs';
|
|
6
|
-
import { d as Graph } from '../graph-
|
|
7
|
-
export { b as DerivedFn, E as EffectFn, G as GRAPH_BLUEPRINT_VERSION, c as GRAPH_CHECKPOINT_VERSION, e as GraphBlueprint, f as GraphBlueprintDiagnosticCode, g as GraphBlueprintDiagnosticIssue, h as GraphBlueprintDiagnostics, i as GraphBlueprintHash, j as GraphBlueprintHashInput, k as GraphBlueprintHashOptions, l as GraphBlueprintJson, m as GraphBlueprintOptions, n as GraphBlueprintProvenance, o as GraphCheckpoint, p as GraphCheckpointEdge, q as GraphCheckpointFactory, r as GraphCheckpointJson, s as GraphCheckpointMount, t as GraphCheckpointNode, u as GraphCheckpointTerminal, v as GraphCheckpointValue, w as GraphCheckpointVersion, x as GraphOptions, z as GraphRestoreDescriptor, A as GraphRestoreDescriptorContext, C as GraphRestoreRegistry, N as NodeProfile, F as NormalizedGraphTopologyNode, H as NormalizedGraphTopologySnapshot, O as ObserveEvent, I as ObserveEventEquals, J as ObservePredicate, K as ObserveStream, P as Profile, R as RestoreGraphOptions, Q as StateNode, T as SugarOpts, V as TopologyEvent, W as TopologyEventKind, X as TopologyGroup, Y as TopologyGroupOptions, Z as TopologyGroupReleaseOptions, _ as TopologyStream, a0 as canonicalTopologyBytes, a1 as canonicalTopologyJson, a3 as coalesceObserve, a4 as defaultRestoreRegistry, a9 as filterObserve, ac as graph, ad as graphBlueprintDiagnostics, aj as normalizeTopology, ao as restoreGraph, at as stateRestoreDescriptor, av as takeRestoreDescriptor, az as timerRestoreDescriptor, aB as withBlueprintHash, aC as withBlueprintProvenance } from '../graph-
|
|
8
|
-
import { N as Node, C as Ctx } from '../types-
|
|
9
|
-
export { b as DriverCancel, c as DriverResult, E as EnvironmentDrivers, d as EnvironmentDriversInit, F as FetchLike, e as FetchResponseLike, g as HttpRequest, h as HttpResponse, L as LocalHttpDriver, i as LocalProcessDriver, j as LocalSseDriver, k as LocalWebSocketDriver, l as LocalWebhookDriver, w as ProcessCommand, x as ProcessResult, y as SseDriverEvent, z as SseEvent, A as SseRequest, G as WebSocketConstructorLike, I as WebSocketDriverEvent, J as WebSocketEvent, K as WebSocketLike, M as WebSocketRequest, O as WebSocketSend, Q as WebSocketSendResult, U as WebSocketSessionHandle, V as WebhookDriverEvent, X as WebhookEvent, Y as WebhookRegistration, a4 as domWebSocketDriver, a6 as fetchHttpDriver } from '../types-
|
|
6
|
+
import { d as Graph } from '../graph-DCEWh4T2.cjs';
|
|
7
|
+
export { b as DerivedFn, E as EffectFn, G as GRAPH_BLUEPRINT_VERSION, c as GRAPH_CHECKPOINT_VERSION, e as GraphBlueprint, f as GraphBlueprintDiagnosticCode, g as GraphBlueprintDiagnosticIssue, h as GraphBlueprintDiagnostics, i as GraphBlueprintHash, j as GraphBlueprintHashInput, k as GraphBlueprintHashOptions, l as GraphBlueprintJson, m as GraphBlueprintOptions, n as GraphBlueprintProvenance, o as GraphCheckpoint, p as GraphCheckpointEdge, q as GraphCheckpointFactory, r as GraphCheckpointJson, s as GraphCheckpointMount, t as GraphCheckpointNode, u as GraphCheckpointTerminal, v as GraphCheckpointValue, w as GraphCheckpointVersion, x as GraphOptions, z as GraphRestoreDescriptor, A as GraphRestoreDescriptorContext, C as GraphRestoreRegistry, N as NodeProfile, F as NormalizedGraphTopologyNode, H as NormalizedGraphTopologySnapshot, O as ObserveEvent, I as ObserveEventEquals, J as ObservePredicate, K as ObserveStream, P as Profile, R as RestoreGraphOptions, Q as StateNode, T as SugarOpts, V as TopologyEvent, W as TopologyEventKind, X as TopologyGroup, Y as TopologyGroupOptions, Z as TopologyGroupReleaseOptions, _ as TopologyStream, a0 as canonicalTopologyBytes, a1 as canonicalTopologyJson, a3 as coalesceObserve, a4 as defaultRestoreRegistry, a9 as filterObserve, ac as graph, ad as graphBlueprintDiagnostics, aj as normalizeTopology, ao as restoreGraph, at as stateRestoreDescriptor, av as takeRestoreDescriptor, az as timerRestoreDescriptor, aB as withBlueprintHash, aC as withBlueprintProvenance } from '../graph-DCEWh4T2.cjs';
|
|
8
|
+
import { N as Node, C as Ctx } from '../types-CcPIn7sy.cjs';
|
|
9
|
+
export { b as DriverCancel, c as DriverResult, E as EnvironmentDrivers, d as EnvironmentDriversInit, F as FetchLike, e as FetchResponseLike, g as HttpRequest, h as HttpResponse, L as LocalHttpDriver, i as LocalProcessDriver, j as LocalSseDriver, k as LocalWebSocketDriver, l as LocalWebhookDriver, w as ProcessCommand, x as ProcessResult, y as SseDriverEvent, z as SseEvent, A as SseRequest, G as WebSocketConstructorLike, I as WebSocketDriverEvent, J as WebSocketEvent, K as WebSocketLike, M as WebSocketRequest, O as WebSocketSend, Q as WebSocketSendResult, U as WebSocketSessionHandle, V as WebhookDriverEvent, X as WebhookEvent, Y as WebhookRegistration, a4 as domWebSocketDriver, a6 as fetchHttpDriver } from '../types-CcPIn7sy.cjs';
|
|
10
10
|
import { f as KvStorageTier } from '../append-log-DisvEReb.cjs';
|
|
11
11
|
import { b as ReadThroughLookupTier } from '../read-through-B1CYPfq_.cjs';
|
|
12
|
-
import { a as DescribeNode, c as DescribeSnapshot } from '../describe-
|
|
13
|
-
export { D as DescribeEdge, b as DescribeOpts, G as GraphTopologyEdge, d as GraphTopologyNode, e as GraphTopologySnapshot } from '../describe-
|
|
12
|
+
import { a as DescribeNode, c as DescribeSnapshot } from '../describe-DYMw_l1C.cjs';
|
|
13
|
+
export { D as DescribeEdge, b as DescribeOpts, G as GraphTopologyEdge, d as GraphTopologyNode, e as GraphTopologySnapshot } from '../describe-DYMw_l1C.cjs';
|
|
14
14
|
export { B as BackoffPolicy, R as RetryPolicy, a as RetryState, b as RetryStatus, c as backoffDelayMs, n as nextRetryDelayMs, d as noBackoff, r as retryPolicy, s as shouldRetry } from '../resilience-Dig3Q7n0.cjs';
|
|
15
|
-
import '../messages-
|
|
15
|
+
import '../messages-CAzUPPJM.cjs';
|
|
16
16
|
import '../core/index.cjs';
|
|
17
17
|
import '../codec-BB7p8fJc.cjs';
|
|
18
18
|
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export { DescribeChangeset, DescribeEvent, PipeOperator, Stratified, StratifyOptions, StratifyRule, pipe, stratify, stratifyBranch, topologyDiff } from '../composition/index.js';
|
|
2
|
-
export { C as CapacityPolicy, I as IndexChange, a as IndexRow, L as ListChange, c as LogChange, M as MapChange, O as OrderedCapacityPolicy, j as ReactiveIndex, k as ReactiveIndexCapacityOrder, l as ReactiveIndexCapacityPolicy, m as ReactiveIndexOpt, n as ReactiveIndexOptions, s as ReactiveOpt, t as ReactiveView, u as RetentionPolicy, V as ViewCachePolicy, H as reactiveIndex } from '../reactive-collection-
|
|
3
|
-
export { R as ReactiveList, a as ReactiveListOpt, b as ReactiveListOptions, c as ReactiveLog, d as ReactiveLogOptions, e as ReactiveMap, f as ReactiveMapOpt, g as ReactiveMapOptions, h as ReactiveMapRetentionEntry, i as ReactiveMapRetentionPolicy, m as mergeReactiveLogs, r as reactiveList, j as reactiveLog, k as reactiveMap, s as scanLog } from '../reactive-map-
|
|
2
|
+
export { C as CapacityPolicy, I as IndexChange, a as IndexRow, L as ListChange, c as LogChange, M as MapChange, O as OrderedCapacityPolicy, j as ReactiveIndex, k as ReactiveIndexCapacityOrder, l as ReactiveIndexCapacityPolicy, m as ReactiveIndexOpt, n as ReactiveIndexOptions, s as ReactiveOpt, t as ReactiveView, u as RetentionPolicy, V as ViewCachePolicy, H as reactiveIndex } from '../reactive-collection-BAmfrGjd.js';
|
|
3
|
+
export { R as ReactiveList, a as ReactiveListOpt, b as ReactiveListOptions, c as ReactiveLog, d as ReactiveLogOptions, e as ReactiveMap, f as ReactiveMapOpt, g as ReactiveMapOptions, h as ReactiveMapRetentionEntry, i as ReactiveMapRetentionPolicy, m as mergeReactiveLogs, r as reactiveList, j as reactiveLog, k as reactiveMap, s as scanLog } from '../reactive-map-EsDiCmJk.js';
|
|
4
4
|
export { restoreReactiveIndex, restoreReactiveList, restoreReactiveLog, restoreReactiveMap } from '../data-structures/index.js';
|
|
5
5
|
export { DescribeToAsciiOptions, DescribeToD2Options, DescribeToJsonOptions, DescribeToMermaidOptions, DescribeToMermaidUrlOptions, DescribeToPrettyOptions, DiagramDirection, MermaidLiveTheme, MermaidLiveUrlOptions, describeToAscii, describeToD2, describeToJson, describeToMermaid, describeToMermaidUrl, describeToPretty, mermaidLiveUrl } from '../render/index.js';
|
|
6
|
-
import { d as Graph } from '../graph-
|
|
7
|
-
export { b as DerivedFn, E as EffectFn, G as GRAPH_BLUEPRINT_VERSION, c as GRAPH_CHECKPOINT_VERSION, e as GraphBlueprint, f as GraphBlueprintDiagnosticCode, g as GraphBlueprintDiagnosticIssue, h as GraphBlueprintDiagnostics, i as GraphBlueprintHash, j as GraphBlueprintHashInput, k as GraphBlueprintHashOptions, l as GraphBlueprintJson, m as GraphBlueprintOptions, n as GraphBlueprintProvenance, o as GraphCheckpoint, p as GraphCheckpointEdge, q as GraphCheckpointFactory, r as GraphCheckpointJson, s as GraphCheckpointMount, t as GraphCheckpointNode, u as GraphCheckpointTerminal, v as GraphCheckpointValue, w as GraphCheckpointVersion, x as GraphOptions, z as GraphRestoreDescriptor, A as GraphRestoreDescriptorContext, C as GraphRestoreRegistry, N as NodeProfile, F as NormalizedGraphTopologyNode, H as NormalizedGraphTopologySnapshot, O as ObserveEvent, I as ObserveEventEquals, J as ObservePredicate, K as ObserveStream, P as Profile, R as RestoreGraphOptions, Q as StateNode, T as SugarOpts, V as TopologyEvent, W as TopologyEventKind, X as TopologyGroup, Y as TopologyGroupOptions, Z as TopologyGroupReleaseOptions, _ as TopologyStream, a0 as canonicalTopologyBytes, a1 as canonicalTopologyJson, a3 as coalesceObserve, a4 as defaultRestoreRegistry, a9 as filterObserve, ac as graph, ad as graphBlueprintDiagnostics, aj as normalizeTopology, ao as restoreGraph, at as stateRestoreDescriptor, av as takeRestoreDescriptor, az as timerRestoreDescriptor, aB as withBlueprintHash, aC as withBlueprintProvenance } from '../graph-
|
|
8
|
-
import { N as Node, C as Ctx } from '../types-
|
|
9
|
-
export { b as DriverCancel, c as DriverResult, E as EnvironmentDrivers, d as EnvironmentDriversInit, F as FetchLike, e as FetchResponseLike, g as HttpRequest, h as HttpResponse, L as LocalHttpDriver, i as LocalProcessDriver, j as LocalSseDriver, k as LocalWebSocketDriver, l as LocalWebhookDriver, w as ProcessCommand, x as ProcessResult, y as SseDriverEvent, z as SseEvent, A as SseRequest, G as WebSocketConstructorLike, I as WebSocketDriverEvent, J as WebSocketEvent, K as WebSocketLike, M as WebSocketRequest, O as WebSocketSend, Q as WebSocketSendResult, U as WebSocketSessionHandle, V as WebhookDriverEvent, X as WebhookEvent, Y as WebhookRegistration, a4 as domWebSocketDriver, a6 as fetchHttpDriver } from '../types-
|
|
6
|
+
import { d as Graph } from '../graph-D-1-SQeC.js';
|
|
7
|
+
export { b as DerivedFn, E as EffectFn, G as GRAPH_BLUEPRINT_VERSION, c as GRAPH_CHECKPOINT_VERSION, e as GraphBlueprint, f as GraphBlueprintDiagnosticCode, g as GraphBlueprintDiagnosticIssue, h as GraphBlueprintDiagnostics, i as GraphBlueprintHash, j as GraphBlueprintHashInput, k as GraphBlueprintHashOptions, l as GraphBlueprintJson, m as GraphBlueprintOptions, n as GraphBlueprintProvenance, o as GraphCheckpoint, p as GraphCheckpointEdge, q as GraphCheckpointFactory, r as GraphCheckpointJson, s as GraphCheckpointMount, t as GraphCheckpointNode, u as GraphCheckpointTerminal, v as GraphCheckpointValue, w as GraphCheckpointVersion, x as GraphOptions, z as GraphRestoreDescriptor, A as GraphRestoreDescriptorContext, C as GraphRestoreRegistry, N as NodeProfile, F as NormalizedGraphTopologyNode, H as NormalizedGraphTopologySnapshot, O as ObserveEvent, I as ObserveEventEquals, J as ObservePredicate, K as ObserveStream, P as Profile, R as RestoreGraphOptions, Q as StateNode, T as SugarOpts, V as TopologyEvent, W as TopologyEventKind, X as TopologyGroup, Y as TopologyGroupOptions, Z as TopologyGroupReleaseOptions, _ as TopologyStream, a0 as canonicalTopologyBytes, a1 as canonicalTopologyJson, a3 as coalesceObserve, a4 as defaultRestoreRegistry, a9 as filterObserve, ac as graph, ad as graphBlueprintDiagnostics, aj as normalizeTopology, ao as restoreGraph, at as stateRestoreDescriptor, av as takeRestoreDescriptor, az as timerRestoreDescriptor, aB as withBlueprintHash, aC as withBlueprintProvenance } from '../graph-D-1-SQeC.js';
|
|
8
|
+
import { N as Node, C as Ctx } from '../types-BsJvElYZ.js';
|
|
9
|
+
export { b as DriverCancel, c as DriverResult, E as EnvironmentDrivers, d as EnvironmentDriversInit, F as FetchLike, e as FetchResponseLike, g as HttpRequest, h as HttpResponse, L as LocalHttpDriver, i as LocalProcessDriver, j as LocalSseDriver, k as LocalWebSocketDriver, l as LocalWebhookDriver, w as ProcessCommand, x as ProcessResult, y as SseDriverEvent, z as SseEvent, A as SseRequest, G as WebSocketConstructorLike, I as WebSocketDriverEvent, J as WebSocketEvent, K as WebSocketLike, M as WebSocketRequest, O as WebSocketSend, Q as WebSocketSendResult, U as WebSocketSessionHandle, V as WebhookDriverEvent, X as WebhookEvent, Y as WebhookRegistration, a4 as domWebSocketDriver, a6 as fetchHttpDriver } from '../types-BsJvElYZ.js';
|
|
10
10
|
import { f as KvStorageTier } from '../append-log-DzKMmjxx.js';
|
|
11
11
|
import { b as ReadThroughLookupTier } from '../read-through-DwyJhGs1.js';
|
|
12
|
-
import { a as DescribeNode, c as DescribeSnapshot } from '../describe-
|
|
13
|
-
export { D as DescribeEdge, b as DescribeOpts, G as GraphTopologyEdge, d as GraphTopologyNode, e as GraphTopologySnapshot } from '../describe-
|
|
12
|
+
import { a as DescribeNode, c as DescribeSnapshot } from '../describe-BpyJuWkw.js';
|
|
13
|
+
export { D as DescribeEdge, b as DescribeOpts, G as GraphTopologyEdge, d as GraphTopologyNode, e as GraphTopologySnapshot } from '../describe-BpyJuWkw.js';
|
|
14
14
|
export { B as BackoffPolicy, R as RetryPolicy, a as RetryState, b as RetryStatus, c as backoffDelayMs, n as nextRetryDelayMs, d as noBackoff, r as retryPolicy, s as shouldRetry } from '../resilience-Dig3Q7n0.js';
|
|
15
|
-
import '../messages-
|
|
15
|
+
import '../messages-CAzUPPJM.js';
|
|
16
16
|
import '../core/index.js';
|
|
17
17
|
import '../codec-BB7p8fJc.js';
|
|
18
18
|
|
package/dist/graph/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
timerRestoreDescriptor,
|
|
13
13
|
validateNoIslands,
|
|
14
14
|
workerDerived
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-CZNV3VXM.js";
|
|
16
16
|
import {
|
|
17
17
|
describeToAscii,
|
|
18
18
|
describeToD2,
|
|
@@ -22,14 +22,6 @@ import {
|
|
|
22
22
|
describeToPretty,
|
|
23
23
|
mermaidLiveUrl
|
|
24
24
|
} from "../chunk-HDRL4VQQ.js";
|
|
25
|
-
import "../chunk-H2HTHFVN.js";
|
|
26
|
-
import {
|
|
27
|
-
pipe,
|
|
28
|
-
stratify,
|
|
29
|
-
stratifyBranch,
|
|
30
|
-
topologyDiff
|
|
31
|
-
} from "../chunk-D6BG7U6A.js";
|
|
32
|
-
import "../chunk-Z2ANQ6JW.js";
|
|
33
25
|
import {
|
|
34
26
|
GRAPH_BLUEPRINT_VERSION,
|
|
35
27
|
Graph,
|
|
@@ -41,7 +33,8 @@ import {
|
|
|
41
33
|
normalizeTopology,
|
|
42
34
|
withBlueprintHash,
|
|
43
35
|
withBlueprintProvenance
|
|
44
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-3JR3EDB2.js";
|
|
37
|
+
import "../chunk-Z2ANQ6JW.js";
|
|
45
38
|
import {
|
|
46
39
|
backoffDelayMs,
|
|
47
40
|
nextRetryDelayMs,
|
|
@@ -49,7 +42,6 @@ import {
|
|
|
49
42
|
retryPolicy,
|
|
50
43
|
shouldRetry
|
|
51
44
|
} from "../chunk-OOEN33FB.js";
|
|
52
|
-
import "../chunk-DKP56CSW.js";
|
|
53
45
|
import {
|
|
54
46
|
mergeReactiveLogs,
|
|
55
47
|
reactiveIndex,
|
|
@@ -61,19 +53,28 @@ import {
|
|
|
61
53
|
restoreReactiveLog,
|
|
62
54
|
restoreReactiveMap,
|
|
63
55
|
scanLog
|
|
64
|
-
} from "../chunk-
|
|
65
|
-
import "../chunk-
|
|
56
|
+
} from "../chunk-HKK2JD7Z.js";
|
|
57
|
+
import "../chunk-V7CIJE4B.js";
|
|
58
|
+
import "../chunk-DKP56CSW.js";
|
|
59
|
+
import "../chunk-H2HTHFVN.js";
|
|
60
|
+
import {
|
|
61
|
+
pipe,
|
|
62
|
+
stratify,
|
|
63
|
+
stratifyBranch,
|
|
64
|
+
topologyDiff
|
|
65
|
+
} from "../chunk-IXZBUWSP.js";
|
|
66
66
|
import {
|
|
67
67
|
GRAPH_CHECKPOINT_VERSION
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-SS2A464I.js";
|
|
69
69
|
import {
|
|
70
70
|
EnvironmentDrivers,
|
|
71
71
|
domWebSocketDriver,
|
|
72
72
|
fetchHttpDriver
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-XKXWK2KP.js";
|
|
74
|
+
import "../chunk-WQIA3GFB.js";
|
|
75
|
+
import "../chunk-S6HXABGL.js";
|
|
74
76
|
import "../chunk-4VLAQHZI.js";
|
|
75
|
-
import "../chunk-
|
|
76
|
-
import "../chunk-DK554R7P.js";
|
|
77
|
+
import "../chunk-DGUM43GV.js";
|
|
77
78
|
export {
|
|
78
79
|
EnvironmentDrivers,
|
|
79
80
|
GRAPH_BLUEPRINT_VERSION,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BatchCtx } from './core/index.js';
|
|
2
|
-
import { q as NodeVersionJson, B as Status, N as Node, m as NodeFn, D as Dispatcher, u as NodeVersioningPolicy, C as Ctx, n as NodeOptions, E as EnvironmentDrivers } from './types-
|
|
2
|
+
import { q as NodeVersionJson, B as Status, N as Node, m as NodeFn, D as Dispatcher, u as NodeVersioningPolicy, C as Ctx, n as NodeOptions, E as EnvironmentDrivers } from './types-BsJvElYZ.js';
|
|
3
3
|
import { S as StrictJsonObject, b as StrictJsonValue } from './codec-BB7p8fJc.js';
|
|
4
|
-
import { G as GraphTopologyEdge, e as GraphTopologySnapshot, b as DescribeOpts, c as DescribeSnapshot } from './describe-
|
|
5
|
-
import { M as Message } from './messages-
|
|
4
|
+
import { G as GraphTopologyEdge, e as GraphTopologySnapshot, b as DescribeOpts, c as DescribeSnapshot } from './describe-BpyJuWkw.js';
|
|
5
|
+
import { M as Message } from './messages-CAzUPPJM.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* GraphBlueprint first slice (D173/D177).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BatchCtx } from './core/index.cjs';
|
|
2
|
-
import { q as NodeVersionJson, B as Status, N as Node, m as NodeFn, D as Dispatcher, u as NodeVersioningPolicy, C as Ctx, n as NodeOptions, E as EnvironmentDrivers } from './types-
|
|
2
|
+
import { q as NodeVersionJson, B as Status, N as Node, m as NodeFn, D as Dispatcher, u as NodeVersioningPolicy, C as Ctx, n as NodeOptions, E as EnvironmentDrivers } from './types-CcPIn7sy.cjs';
|
|
3
3
|
import { S as StrictJsonObject, b as StrictJsonValue } from './codec-BB7p8fJc.cjs';
|
|
4
|
-
import { G as GraphTopologyEdge, e as GraphTopologySnapshot, b as DescribeOpts, c as DescribeSnapshot } from './describe-
|
|
5
|
-
import { M as Message } from './messages-
|
|
4
|
+
import { G as GraphTopologyEdge, e as GraphTopologySnapshot, b as DescribeOpts, c as DescribeSnapshot } from './describe-DYMw_l1C.cjs';
|
|
5
|
+
import { M as Message } from './messages-CAzUPPJM.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* GraphBlueprint first slice (D173/D177).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Node, n as NodeOptions, h as HttpResponse, g as HttpRequest, x as ProcessResult, z as SseEvent, A as SseRequest, J as WebSocketEvent, M as WebSocketRequest, X as WebhookEvent, Y as WebhookRegistration, w as ProcessCommand } from './types-
|
|
2
|
-
import { L as Operator } from './graph-
|
|
1
|
+
import { N as Node, n as NodeOptions, h as HttpResponse, g as HttpRequest, x as ProcessResult, z as SseEvent, A as SseRequest, J as WebSocketEvent, M as WebSocketRequest, X as WebhookEvent, Y as WebhookRegistration, w as ProcessCommand } from './types-CcPIn7sy.cjs';
|
|
2
|
+
import { L as Operator } from './graph-DCEWh4T2.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Async + sync sources (binding-layer sugar, D43 / D40 / feedback_async_sources_binding_layer).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Node, n as NodeOptions, h as HttpResponse, g as HttpRequest, x as ProcessResult, z as SseEvent, A as SseRequest, J as WebSocketEvent, M as WebSocketRequest, X as WebhookEvent, Y as WebhookRegistration, w as ProcessCommand } from './types-
|
|
2
|
-
import { L as Operator } from './graph-
|
|
1
|
+
import { N as Node, n as NodeOptions, h as HttpResponse, g as HttpRequest, x as ProcessResult, z as SseEvent, A as SseRequest, J as WebSocketEvent, M as WebSocketRequest, X as WebhookEvent, Y as WebhookRegistration, w as ProcessCommand } from './types-BsJvElYZ.js';
|
|
2
|
+
import { L as Operator } from './graph-D-1-SQeC.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Async + sync sources (binding-layer sugar, D43 / D40 / feedback_async_sources_binding_layer).
|
package/dist/index.cjs
CHANGED
|
@@ -444,6 +444,7 @@ var TIER = {
|
|
|
444
444
|
START: TIER_START,
|
|
445
445
|
PAUSE: TIER_CONTROL,
|
|
446
446
|
RESUME: TIER_CONTROL,
|
|
447
|
+
PULL: TIER_CONTROL,
|
|
447
448
|
DIRTY: TIER_NOTIFICATION,
|
|
448
449
|
DATA: TIER_VALUE,
|
|
449
450
|
RESOLVED: TIER_VALUE,
|
|
@@ -1474,6 +1475,17 @@ function isNodeRuntimeReleased(n) {
|
|
|
1474
1475
|
function terminalView(t) {
|
|
1475
1476
|
return t === void 0 ? false : t;
|
|
1476
1477
|
}
|
|
1478
|
+
function normalizePullDemand(demand) {
|
|
1479
|
+
if (typeof demand !== "object" || demand === null || Array.isArray(demand)) {
|
|
1480
|
+
throw new Error("ctx.up: PULL requires { pullId, params? } demand payload (D269)");
|
|
1481
|
+
}
|
|
1482
|
+
const pullId = demand.pullId;
|
|
1483
|
+
if (typeof pullId !== "string" && typeof pullId !== "symbol") {
|
|
1484
|
+
throw new Error("ctx.up: PULL demand requires a string or symbol pullId (D269)");
|
|
1485
|
+
}
|
|
1486
|
+
const params = demand.params;
|
|
1487
|
+
return params === void 0 ? { pullId } : { pullId, params };
|
|
1488
|
+
}
|
|
1477
1489
|
function validateDownPayloads(msgs) {
|
|
1478
1490
|
for (const m of msgs) {
|
|
1479
1491
|
if (m[0] === "DATA" && m[1] === void 0) {
|
|
@@ -1517,7 +1529,7 @@ var Node = class {
|
|
|
1517
1529
|
const pull = opts.pullId !== void 0;
|
|
1518
1530
|
if (pull && pausable === false)
|
|
1519
1531
|
throw new Error(
|
|
1520
|
-
"node: pullId is incompatible with pausable:false \u2014 a pull node
|
|
1532
|
+
"node: pullId is incompatible with pausable:false \u2014 a pull node uses the pausable delivery-content axis (R-pull / R-pause-modes / D55,D269)"
|
|
1521
1533
|
);
|
|
1522
1534
|
let handle;
|
|
1523
1535
|
if (handleOrFn === null) handle = null;
|
|
@@ -1540,7 +1552,6 @@ var Node = class {
|
|
|
1540
1552
|
value.status = "settled";
|
|
1541
1553
|
}
|
|
1542
1554
|
const pauseLockset = /* @__PURE__ */ new Set();
|
|
1543
|
-
if (pull) pauseLockset.add(pullLock);
|
|
1544
1555
|
this._core = core ?? new NodeCore();
|
|
1545
1556
|
const created = this._core.createSlot(
|
|
1546
1557
|
{
|
|
@@ -1581,7 +1592,9 @@ var Node = class {
|
|
|
1581
1592
|
pauseLockset,
|
|
1582
1593
|
pausedDepWaveOccurred: false,
|
|
1583
1594
|
pauseBuffer: [],
|
|
1584
|
-
demandOwed:
|
|
1595
|
+
demandOwed: void 0,
|
|
1596
|
+
activePull: void 0,
|
|
1597
|
+
pullDirtyOwed: false,
|
|
1585
1598
|
inDeliverDemand: false
|
|
1586
1599
|
},
|
|
1587
1600
|
privateState: { value: SENTINEL, persist: false },
|
|
@@ -1638,10 +1651,11 @@ var Node = class {
|
|
|
1638
1651
|
this._wave.batchDirtyOwed = false;
|
|
1639
1652
|
this._control.pauseBuffer = [];
|
|
1640
1653
|
this._control.pausedDepWaveOccurred = false;
|
|
1641
|
-
this._control.demandOwed =
|
|
1654
|
+
this._control.demandOwed = void 0;
|
|
1655
|
+
this._control.activePull = void 0;
|
|
1656
|
+
this._control.pullDirtyOwed = false;
|
|
1642
1657
|
this._control.inDeliverDemand = false;
|
|
1643
1658
|
this._control.pauseLockset.clear();
|
|
1644
|
-
if (this._slot.pull) this._control.pauseLockset.add(this._slot.pullLock);
|
|
1645
1659
|
this._privateState.value = state.ctxState.value;
|
|
1646
1660
|
this._privateState.persist = state.ctxState.persist;
|
|
1647
1661
|
if (state.version === false) {
|
|
@@ -1680,17 +1694,16 @@ var Node = class {
|
|
|
1680
1694
|
subscriberCountReaders.set(this, () => this._subscriberCount());
|
|
1681
1695
|
activationReaders.set(this, () => this._lifecycle.activated);
|
|
1682
1696
|
}
|
|
1683
|
-
/** R-pull (D55): true while a pull node is
|
|
1697
|
+
/** R-pull (D55/D272): true while a pull node is not serving a PULL demand pulse. */
|
|
1684
1698
|
_isPullQuiet() {
|
|
1685
|
-
return this._slot.pull && this._control.
|
|
1699
|
+
return this._slot.pull && this._control.activePull === void 0;
|
|
1686
1700
|
}
|
|
1687
1701
|
/**
|
|
1688
|
-
* R-pull (
|
|
1689
|
-
* triggers computation). A consumer demands one delivery by cone-routing
|
|
1690
|
-
* reference): `ctx.up([["
|
|
1691
|
-
* `ctx.upNext([["
|
|
1692
|
-
*
|
|
1693
|
-
* for inspection/describe; routing matches by the pullId value carried in the RESUME, by identity.
|
|
1702
|
+
* R-pull (D269/D272): this pull node's pullId (pure data, like {@link cache}/{@link handle} —
|
|
1703
|
+
* never triggers computation). A consumer demands one delivery by cone-routing PULL of it (no
|
|
1704
|
+
* node reference): `ctx.up([["PULL", { pullId }]])` (immediate; loops back → D37 for a self-read
|
|
1705
|
+
* dep) or `ctx.upNext([["PULL", { pullId }]])` (boundary-deferred self-demand). Undefined for a
|
|
1706
|
+
* non-pull node. The author writes the pullId verbatim; routing matches by identity.
|
|
1694
1707
|
*/
|
|
1695
1708
|
get pullId() {
|
|
1696
1709
|
return this._slot.pullLock;
|
|
@@ -1797,10 +1810,10 @@ var Node = class {
|
|
|
1797
1810
|
});
|
|
1798
1811
|
}
|
|
1799
1812
|
/**
|
|
1800
|
-
* Enqueue a deferred up-going control wave (R-up-routing / R-pull /
|
|
1813
|
+
* Enqueue a deferred up-going control/demand wave (R-up-routing / R-pull / D269): at the committed wave
|
|
1801
1814
|
* boundary, route `msgs` up from THIS node (broadcast, or up the single `towardDep` edge). The
|
|
1802
|
-
* deferred form of `ctx.up` — the SELF-demand path: a consumer issues `ctx.upNext([[
|
|
1803
|
-
* pullId]])` to demand a dep it ALSO reads; the demand applies at the boundary (not mid-fn), so
|
|
1815
|
+
* deferred form of `ctx.up` — the SELF-demand path: a consumer issues `ctx.upNext([[PULL,
|
|
1816
|
+
* { pullId }]])` to demand a dep it ALSO reads; the demand applies at the boundary (not mid-fn), so
|
|
1804
1817
|
* the pull node's delivery loops back as a FRESH wave rather than re-entering the consumer (D37 /
|
|
1805
1818
|
* R-reentrancy). Rides the same R-rewire-deferred (D47) drain as ctx.rewireNext.
|
|
1806
1819
|
*/
|
|
@@ -2015,7 +2028,6 @@ var Node = class {
|
|
|
2015
2028
|
this._lifecycle.activated = true;
|
|
2016
2029
|
const seedRestoredDeps = this._restoredActivationPending;
|
|
2017
2030
|
this._restoredActivationPending = false;
|
|
2018
|
-
if (this._slot.pull) this._control.pauseLockset.add(this._slot.pullLock);
|
|
2019
2031
|
this._dep.unsubs = new Array(this._slot.deps.length);
|
|
2020
2032
|
this._dep.idxBoxes = new Array(this._slot.deps.length);
|
|
2021
2033
|
for (const dep of this._slot.deps)
|
|
@@ -2087,7 +2099,9 @@ var Node = class {
|
|
|
2087
2099
|
this._control.pauseLockset.clear();
|
|
2088
2100
|
this._control.pauseBuffer = [];
|
|
2089
2101
|
this._control.pausedDepWaveOccurred = false;
|
|
2090
|
-
this._control.demandOwed =
|
|
2102
|
+
this._control.demandOwed = void 0;
|
|
2103
|
+
this._control.activePull = void 0;
|
|
2104
|
+
this._control.pullDirtyOwed = false;
|
|
2091
2105
|
this._value.replayRing = [];
|
|
2092
2106
|
if (!this._privateState.persist) this._privateState.value = SENTINEL;
|
|
2093
2107
|
}
|
|
@@ -2099,8 +2113,7 @@ var Node = class {
|
|
|
2099
2113
|
return this._lifecycle.subscribers.size;
|
|
2100
2114
|
}
|
|
2101
2115
|
_isRuntimeQuiescentForRelease() {
|
|
2102
|
-
|
|
2103
|
-
return !this._released && this._value.status !== "dirty" && this._value.status !== "pending" && this._wave.pending === 0 && !this._wave.insideRunWave && !this._wave.inDepMutation && !this._wave.rewireRunPending && !this._wave.batchDirtyOwed && this._dep.dirty.every((dirty) => !dirty) && this._control.pauseBuffer.length === 0 && !this._control.pausedDepWaveOccurred && !this._control.demandOwed && !this._control.inDeliverDemand && (this._control.pauseLockset.size === 0 || allowedPullQuietLock);
|
|
2116
|
+
return !this._released && this._value.status !== "dirty" && this._value.status !== "pending" && this._wave.pending === 0 && !this._wave.insideRunWave && !this._wave.inDepMutation && !this._wave.rewireRunPending && !this._wave.batchDirtyOwed && this._dep.dirty.every((dirty) => !dirty) && this._control.pauseBuffer.length === 0 && !this._control.pausedDepWaveOccurred && this._control.demandOwed === void 0 && this._control.activePull === void 0 && !this._control.inDeliverDemand && this._control.pauseLockset.size === 0;
|
|
2104
2117
|
}
|
|
2105
2118
|
_releaseRuntime() {
|
|
2106
2119
|
if (this._released) return;
|
|
@@ -2156,7 +2169,9 @@ var Node = class {
|
|
|
2156
2169
|
this._control.pauseLockset.clear();
|
|
2157
2170
|
this._control.pauseBuffer = [];
|
|
2158
2171
|
this._control.pausedDepWaveOccurred = false;
|
|
2159
|
-
this._control.demandOwed =
|
|
2172
|
+
this._control.demandOwed = void 0;
|
|
2173
|
+
this._control.activePull = void 0;
|
|
2174
|
+
this._control.pullDirtyOwed = false;
|
|
2160
2175
|
this._restoredActivationPending = false;
|
|
2161
2176
|
checkpointReaders.delete(this);
|
|
2162
2177
|
restoreWriters.delete(this);
|
|
@@ -2338,7 +2353,7 @@ var Node = class {
|
|
|
2338
2353
|
this._wave.rewireRunPending = true;
|
|
2339
2354
|
return;
|
|
2340
2355
|
}
|
|
2341
|
-
if (this._slot.pausable === true && this._isPaused()) {
|
|
2356
|
+
if (this._slot.pausable === true && (this._isPaused() || this._isPullQuiet())) {
|
|
2342
2357
|
this._control.pausedDepWaveOccurred = true;
|
|
2343
2358
|
return;
|
|
2344
2359
|
}
|
|
@@ -2478,10 +2493,11 @@ var Node = class {
|
|
|
2478
2493
|
unsubscribeDep: (dep, fn) => this._requestRewireNext({ kind: "remove", dep, fn }),
|
|
2479
2494
|
replaceDeps: (deps, fn) => this._requestRewireNext({ kind: "set", deps, fn })
|
|
2480
2495
|
},
|
|
2481
|
-
// R-up-routing / R-pull (
|
|
2482
|
-
//
|
|
2496
|
+
// R-up-routing / R-pull (D269): deferred up — route a control/demand wave (e.g. PULL)
|
|
2497
|
+
// up the declared cone at the committed boundary. The SELF-demand path: an
|
|
2483
2498
|
// immediate ctx.up whose delivery loops back re-enters this fn (D37 / R-reentrancy).
|
|
2484
2499
|
upNext: (msgs, towardDep) => this._requestUpNext(msgs, towardDep),
|
|
2500
|
+
...this._control.activePull === void 0 ? {} : { pull: this._control.activePull },
|
|
2485
2501
|
[CTX_DEP_CACHE]: { latest: snapshot?.latest ?? this._dep.prev },
|
|
2486
2502
|
[CTX_NODE_BINDING]: {
|
|
2487
2503
|
dispatcher: this._slot.dispatcher,
|
|
@@ -2496,6 +2512,11 @@ var Node = class {
|
|
|
2496
2512
|
_refreshCtx(ctx) {
|
|
2497
2513
|
ctx.waveData = this._dep.waveData;
|
|
2498
2514
|
ctx.terminal = this._dep.terminalInput.map(terminalView);
|
|
2515
|
+
if (this._control.activePull === void 0) {
|
|
2516
|
+
delete ctx.pull;
|
|
2517
|
+
} else {
|
|
2518
|
+
ctx.pull = this._control.activePull;
|
|
2519
|
+
}
|
|
2499
2520
|
ctx[CTX_DEP_CACHE] = { latest: this._dep.prev };
|
|
2500
2521
|
}
|
|
2501
2522
|
_makeState() {
|
|
@@ -2588,7 +2609,7 @@ var Node = class {
|
|
|
2588
2609
|
plannedVersions[i] = plannedVersion;
|
|
2589
2610
|
}
|
|
2590
2611
|
}
|
|
2591
|
-
if (hasTier3 && !this._wave.insideRunWave && !this._wave.emittedDirtyThisWave) {
|
|
2612
|
+
if (hasTier3 && (!this._wave.insideRunWave || this._control.pullDirtyOwed) && !this._wave.emittedDirtyThisWave) {
|
|
2592
2613
|
this._wave.emittedDirtyThisWave = true;
|
|
2593
2614
|
this._value.status = "dirty";
|
|
2594
2615
|
this._emitToSubs(["DIRTY"], { wave: deliveryWave, last: false });
|
|
@@ -2668,13 +2689,18 @@ var Node = class {
|
|
|
2668
2689
|
if (m[0] === "PAUSE") {
|
|
2669
2690
|
this._pauseAcquire(m[1]);
|
|
2670
2691
|
} else if (m[0] === "RESUME") {
|
|
2671
|
-
if (this.
|
|
2672
|
-
if (!this._markDemandRouted(m[1], routeState)) this._onDemand();
|
|
2673
|
-
} else if (this._control.pauseLockset.has(m[1])) {
|
|
2692
|
+
if (this._control.pauseLockset.has(m[1])) {
|
|
2674
2693
|
this._pauseRelease(m[1]);
|
|
2675
2694
|
} else {
|
|
2676
2695
|
this._forwardUp(m, towardDep, routeState);
|
|
2677
2696
|
}
|
|
2697
|
+
} else if (m[0] === "PULL") {
|
|
2698
|
+
const demand = normalizePullDemand(m[1]);
|
|
2699
|
+
if (this._slot.pull && demand.pullId === this._slot.pullLock) {
|
|
2700
|
+
if (!this._markDemandRouted(demand.pullId, routeState)) this._onDemand(demand);
|
|
2701
|
+
} else {
|
|
2702
|
+
this._forwardUp(["PULL", demand], towardDep, routeState);
|
|
2703
|
+
}
|
|
2678
2704
|
} else if (this._slot.deps.length === 0) {
|
|
2679
2705
|
if (m[0] === "INVALIDATE") this._down([["INVALIDATE"]]);
|
|
2680
2706
|
} else {
|
|
@@ -2696,7 +2722,7 @@ var Node = class {
|
|
|
2696
2722
|
* Forward one up-going control message toward deps (R-up-routing): up the single declared edge
|
|
2697
2723
|
* `towardDep` (directed — prunes other branches; only meaningful on the issuer's FIRST hop) or
|
|
2698
2724
|
* broadcast up ALL deps. A depless source has no deps → the message DROPS here (the terminus —
|
|
2699
|
-
* e.g. a cone-routed
|
|
2725
|
+
* e.g. a cone-routed PULL whose pullId no node up this cone holds, R-up-at-source). Recursive
|
|
2700
2726
|
* forwarding carries the same per-wave route state and no `towardDep` → broadcast beyond the
|
|
2701
2727
|
* first hop.
|
|
2702
2728
|
*/
|
|
@@ -2715,9 +2741,7 @@ var Node = class {
|
|
|
2715
2741
|
}
|
|
2716
2742
|
_hasBoundaryPauseLock() {
|
|
2717
2743
|
if (this._slot.pausable === false) return false;
|
|
2718
|
-
|
|
2719
|
-
if (this._slot.pull && this._control.pauseLockset.has(this._slot.pullLock)) locks--;
|
|
2720
|
-
return locks > 0;
|
|
2744
|
+
return this._control.pauseLockset.size > 0;
|
|
2721
2745
|
}
|
|
2722
2746
|
_isAsyncPool() {
|
|
2723
2747
|
return this._slot.handle !== null && this._slot.dispatcher.poolKind(this._slot.handle.poolId) === "async";
|
|
@@ -2728,17 +2752,19 @@ var Node = class {
|
|
|
2728
2752
|
_pauseRelease(lockId) {
|
|
2729
2753
|
if (!this._control.pauseLockset.has(lockId)) return;
|
|
2730
2754
|
this._control.pauseLockset.delete(lockId);
|
|
2731
|
-
if (this._slot.pull && this._control.demandOwed) this._fireOwedDemandIfReady();
|
|
2755
|
+
if (this._slot.pull && this._control.demandOwed !== void 0) this._fireOwedDemandIfReady();
|
|
2732
2756
|
if (this._hasBoundaryPauseLock()) return;
|
|
2733
2757
|
scheduleBoundaryDrain(this._core);
|
|
2734
|
-
if (this.
|
|
2758
|
+
if (this._slot.pull) return;
|
|
2735
2759
|
this._onResume();
|
|
2736
2760
|
}
|
|
2737
2761
|
_onResume() {
|
|
2738
2762
|
if (this._value.terminal !== void 0) {
|
|
2739
2763
|
this._control.pauseBuffer = [];
|
|
2740
2764
|
this._control.pausedDepWaveOccurred = false;
|
|
2741
|
-
this._control.demandOwed =
|
|
2765
|
+
this._control.demandOwed = void 0;
|
|
2766
|
+
this._control.activePull = void 0;
|
|
2767
|
+
this._control.pullDirtyOwed = false;
|
|
2742
2768
|
return;
|
|
2743
2769
|
}
|
|
2744
2770
|
if (this._control.pauseBuffer.length > 0) {
|
|
@@ -2752,41 +2778,38 @@ var Node = class {
|
|
|
2752
2778
|
}
|
|
2753
2779
|
}
|
|
2754
2780
|
/**
|
|
2755
|
-
* R-pull (
|
|
2781
|
+
* R-pull (D269): can this pull node fire a demand NOW? — not terminal, settle-ready (_pending===0),
|
|
2756
2782
|
* and no OTHER (non-pullId) lock holds it paused. The gate that decides fire-now vs OWE.
|
|
2757
2783
|
*/
|
|
2758
2784
|
_canFireDemand() {
|
|
2759
2785
|
if (this._value.terminal !== void 0 || this._wave.pending > 0) return false;
|
|
2760
|
-
|
|
2761
|
-
return this._control.pauseLockset.size <= own;
|
|
2786
|
+
return this._control.pauseLockset.size === 0;
|
|
2762
2787
|
}
|
|
2763
2788
|
/**
|
|
2764
|
-
* R-pull (
|
|
2765
|
-
*
|
|
2766
|
-
* `finally` so a throwing pull fn (graph-less node, no D30 catch) cannot leave the node
|
|
2767
|
-
* permanently non-quiet (the wedge-fix silently disabled) — QA-found robustness fix.
|
|
2789
|
+
* R-pull (D269/D272): deliver ONE demand pulse — install activePull so the demand wave may
|
|
2790
|
+
* emit, fire it, then clear activePull so the node is quiet again (1:1).
|
|
2768
2791
|
*/
|
|
2769
|
-
_deliverPullDemand() {
|
|
2770
|
-
this._control.demandOwed =
|
|
2792
|
+
_deliverPullDemand(demand) {
|
|
2793
|
+
this._control.demandOwed = void 0;
|
|
2794
|
+
this._control.activePull = demand;
|
|
2771
2795
|
this._control.inDeliverDemand = true;
|
|
2772
|
-
this._control.pauseLockset.delete(this._slot.pullLock);
|
|
2773
2796
|
try {
|
|
2774
2797
|
this._firePullDemand();
|
|
2775
2798
|
} finally {
|
|
2776
|
-
this._control.
|
|
2799
|
+
this._control.activePull = void 0;
|
|
2777
2800
|
this._control.inDeliverDemand = false;
|
|
2778
2801
|
}
|
|
2779
2802
|
}
|
|
2780
2803
|
/**
|
|
2781
|
-
* R-pull (
|
|
2804
|
+
* R-pull (D269): a cone-routed PULL of THIS node's pullId arrived (R-up-routing) = a DEMAND.
|
|
2782
2805
|
* Fire immediately if able; else OWE it — pin-5 (a dep DIRTY in flight, _pending>0) or F4/F5 (an
|
|
2783
2806
|
* external PAUSE lock co-holds the node) — and fire when the node next becomes able. A demand
|
|
2784
2807
|
* arriving WHILE a delivery is in flight (synchronous re-entry) is DROPPED (1:1, QA guard).
|
|
2785
2808
|
*/
|
|
2786
|
-
_onDemand() {
|
|
2809
|
+
_onDemand(demand) {
|
|
2787
2810
|
if (this._control.inDeliverDemand) return;
|
|
2788
|
-
if (this._canFireDemand()) this._deliverPullDemand();
|
|
2789
|
-
else this._control.demandOwed =
|
|
2811
|
+
if (this._canFireDemand()) this._deliverPullDemand(demand);
|
|
2812
|
+
else this._control.demandOwed = demand;
|
|
2790
2813
|
}
|
|
2791
2814
|
/**
|
|
2792
2815
|
* R-pull (D55): service ONE demand. Delivery content = the orthogonal pausable mode:
|
|
@@ -2799,33 +2822,53 @@ var Node = class {
|
|
|
2799
2822
|
* `_markDirty` relays the leading DIRTY (not absorbed).
|
|
2800
2823
|
*/
|
|
2801
2824
|
_firePullDemand() {
|
|
2825
|
+
let drainedBuffer = false;
|
|
2802
2826
|
if (this._control.pauseBuffer.length > 0) {
|
|
2803
2827
|
const buf = this._control.pauseBuffer;
|
|
2804
2828
|
this._control.pauseBuffer = [];
|
|
2805
2829
|
for (const wave of buf) this._down(wave);
|
|
2830
|
+
drainedBuffer = true;
|
|
2806
2831
|
}
|
|
2832
|
+
if (drainedBuffer) return;
|
|
2807
2833
|
if (this._control.pausedDepWaveOccurred) {
|
|
2808
2834
|
const gated = this._slot.handle !== null && !this._wave.hasCalledFnOnce && !(this._slot.partial || this._allDepsSettled());
|
|
2809
2835
|
if (this._wave.pending > 0 || gated) return;
|
|
2810
2836
|
this._control.pausedDepWaveOccurred = false;
|
|
2811
|
-
this.
|
|
2812
|
-
this.
|
|
2837
|
+
this._wave.emittedDirtyThisWave = false;
|
|
2838
|
+
this._control.pullDirtyOwed = true;
|
|
2839
|
+
try {
|
|
2840
|
+
this._tryRun();
|
|
2841
|
+
} finally {
|
|
2842
|
+
this._control.pullDirtyOwed = false;
|
|
2843
|
+
}
|
|
2844
|
+
return;
|
|
2845
|
+
}
|
|
2846
|
+
if (this._slot.handle !== null) {
|
|
2847
|
+
if (!this._wave.hasCalledFnOnce && !(this._slot.partial || this._allDepsSettled())) return;
|
|
2848
|
+
this._wave.emittedDirtyThisWave = false;
|
|
2849
|
+
this._control.pullDirtyOwed = true;
|
|
2850
|
+
try {
|
|
2851
|
+
this._runWave();
|
|
2852
|
+
} finally {
|
|
2853
|
+
this._control.pullDirtyOwed = false;
|
|
2854
|
+
}
|
|
2813
2855
|
}
|
|
2814
2856
|
}
|
|
2815
2857
|
/**
|
|
2816
|
-
* R-pull (
|
|
2858
|
+
* R-pull (D269): fire a demand that was OWED (deferred at demand time) once the node becomes
|
|
2817
2859
|
* able — called from the dep-settle arms (DATA/RESOLVED/INVALIDATE/terminal drain _pending, pin-5
|
|
2818
2860
|
* + B1/F6) and from `_pauseRelease` (an external PAUSE lock releases, F4/F5).
|
|
2819
2861
|
*/
|
|
2820
2862
|
_fireOwedDemandIfReady() {
|
|
2821
2863
|
if (this._control.inDeliverDemand) return;
|
|
2822
|
-
if (this._slot.pull && this._control.demandOwed && this._canFireDemand())
|
|
2823
|
-
this._deliverPullDemand();
|
|
2864
|
+
if (this._slot.pull && this._control.demandOwed !== void 0 && this._canFireDemand()) {
|
|
2865
|
+
this._deliverPullDemand(this._control.demandOwed);
|
|
2866
|
+
}
|
|
2824
2867
|
}
|
|
2825
2868
|
/** Should an outgoing settle slice be deferred into the pause buffer? */
|
|
2826
2869
|
_shouldBufferOnPause() {
|
|
2827
2870
|
if (this._slot.pausable === false) return false;
|
|
2828
|
-
if (!this._isPaused()) return false;
|
|
2871
|
+
if (!this._isPaused() && !this._isPullQuiet()) return false;
|
|
2829
2872
|
if (this._slot.pausable === "resumeAll") return true;
|
|
2830
2873
|
if (!this._wave.insideRunWave && this._isAsyncPool() && this._slot.deps.length > 0) return true;
|
|
2831
2874
|
return false;
|
|
@@ -2865,7 +2908,9 @@ var Node = class {
|
|
|
2865
2908
|
this._control.pauseLockset.clear();
|
|
2866
2909
|
this._control.pauseBuffer = [];
|
|
2867
2910
|
this._control.pausedDepWaveOccurred = false;
|
|
2868
|
-
this._control.demandOwed =
|
|
2911
|
+
this._control.demandOwed = void 0;
|
|
2912
|
+
this._control.activePull = void 0;
|
|
2913
|
+
this._control.pullDirtyOwed = false;
|
|
2869
2914
|
this._value.replayRing = [];
|
|
2870
2915
|
const isCompute = this._slot.handle !== null || this._slot.deps.length > 0;
|
|
2871
2916
|
if (isCompute) {
|
|
@@ -3870,7 +3915,13 @@ var Graph = class {
|
|
|
3870
3915
|
}
|
|
3871
3916
|
/** Look up a registered node by its id. */
|
|
3872
3917
|
find(id) {
|
|
3873
|
-
|
|
3918
|
+
const local = this._byId.get(id);
|
|
3919
|
+
if (local !== void 0) return local;
|
|
3920
|
+
const separator = id.indexOf("::");
|
|
3921
|
+
if (separator < 0) return void 0;
|
|
3922
|
+
const mountPath = id.slice(0, separator);
|
|
3923
|
+
const childPath = id.slice(separator + 2);
|
|
3924
|
+
return this._mounts.find((mount) => mount.at === mountPath)?.graph.find(childPath);
|
|
3874
3925
|
}
|
|
3875
3926
|
_releaseNodes(nodes, _opts = {}) {
|
|
3876
3927
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -8398,7 +8449,10 @@ function collectionCore(backend, factory, opts = {}, restore) {
|
|
|
8398
8449
|
name: name ? `${name}.delta` : void 0
|
|
8399
8450
|
});
|
|
8400
8451
|
const pullId = /* @__PURE__ */ Symbol(name ? `${name}.snapshot` : `${factory}.snapshot`);
|
|
8452
|
+
let deliveredVersion = backend.version;
|
|
8401
8453
|
const snapFn = (ctx) => {
|
|
8454
|
+
if (ctx.pull !== void 0 && backend.version === deliveredVersion) return;
|
|
8455
|
+
deliveredVersion = backend.version;
|
|
8402
8456
|
ctx.down([["DATA", backend.snapshot()]]);
|
|
8403
8457
|
};
|
|
8404
8458
|
const snapshot = graph2 ? graph2.node([delta], snapFn, {
|