@oasys/oecs 0.3.0 → 0.4.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.
Files changed (204) hide show
  1. package/README.md +196 -267
  2. package/dist/array-CxbPyiHO.cjs +1 -0
  3. package/dist/array-uFR7Q8fU.js +132 -0
  4. package/dist/core/ecs/access_check.d.ts +77 -0
  5. package/dist/core/ecs/access_check.d.ts.map +1 -0
  6. package/dist/core/ecs/archetype.d.ts +474 -0
  7. package/dist/core/ecs/archetype.d.ts.map +1 -0
  8. package/dist/core/ecs/builtin_relations.d.ts +43 -0
  9. package/dist/core/ecs/builtin_relations.d.ts.map +1 -0
  10. package/dist/core/ecs/command_log.d.ts +113 -0
  11. package/dist/core/ecs/command_log.d.ts.map +1 -0
  12. package/dist/core/ecs/component.d.ts +106 -0
  13. package/dist/core/ecs/component.d.ts.map +1 -0
  14. package/dist/core/ecs/compute_backend.d.ts +37 -0
  15. package/dist/core/ecs/compute_backend.d.ts.map +1 -0
  16. package/dist/core/ecs/dispatch_trace.d.ts +93 -0
  17. package/dist/core/ecs/dispatch_trace.d.ts.map +1 -0
  18. package/dist/core/ecs/ecs.d.ts +533 -0
  19. package/dist/core/ecs/ecs.d.ts.map +1 -0
  20. package/dist/core/ecs/ecs_memory.d.ts +179 -0
  21. package/dist/core/ecs/ecs_memory.d.ts.map +1 -0
  22. package/dist/core/ecs/entity.d.ts +28 -0
  23. package/dist/core/ecs/entity.d.ts.map +1 -0
  24. package/dist/core/ecs/event.d.ts +54 -0
  25. package/dist/core/ecs/event.d.ts.map +1 -0
  26. package/dist/core/ecs/frame_trace.d.ts +133 -0
  27. package/dist/core/ecs/frame_trace.d.ts.map +1 -0
  28. package/dist/core/ecs/host_commands.d.ts +252 -0
  29. package/dist/core/ecs/host_commands.d.ts.map +1 -0
  30. package/dist/core/ecs/index.d.ts +41 -0
  31. package/dist/core/ecs/index.d.ts.map +1 -0
  32. package/dist/core/ecs/observer.d.ts +142 -0
  33. package/dist/core/ecs/observer.d.ts.map +1 -0
  34. package/dist/core/ecs/query.d.ts +557 -0
  35. package/dist/core/ecs/query.d.ts.map +1 -0
  36. package/dist/core/ecs/ref.d.ts +31 -0
  37. package/dist/core/ecs/ref.d.ts.map +1 -0
  38. package/dist/core/ecs/relation.d.ts +231 -0
  39. package/dist/core/ecs/relation.d.ts.map +1 -0
  40. package/dist/core/ecs/resource.d.ts +33 -0
  41. package/dist/core/ecs/resource.d.ts.map +1 -0
  42. package/dist/core/ecs/resume.d.ts +85 -0
  43. package/dist/core/ecs/resume.d.ts.map +1 -0
  44. package/dist/core/ecs/run_condition.d.ts +75 -0
  45. package/dist/core/ecs/run_condition.d.ts.map +1 -0
  46. package/dist/core/ecs/schedule.d.ts +133 -0
  47. package/dist/core/ecs/schedule.d.ts.map +1 -0
  48. package/dist/core/ecs/sparse_store.d.ts +107 -0
  49. package/dist/core/ecs/sparse_store.d.ts.map +1 -0
  50. package/dist/core/ecs/store.d.ts +1149 -0
  51. package/dist/core/ecs/store.d.ts.map +1 -0
  52. package/dist/core/ecs/store_layout_listener.d.ts +23 -0
  53. package/dist/core/ecs/store_layout_listener.d.ts.map +1 -0
  54. package/dist/core/ecs/system.d.ts +134 -0
  55. package/dist/core/ecs/system.d.ts.map +1 -0
  56. package/dist/core/ecs/utils/arrays.d.ts +7 -0
  57. package/dist/core/ecs/utils/arrays.d.ts.map +1 -0
  58. package/dist/core/ecs/utils/constants.d.ts +12 -0
  59. package/dist/core/ecs/utils/constants.d.ts.map +1 -0
  60. package/dist/core/ecs/utils/error.d.ts +51 -0
  61. package/dist/core/ecs/utils/error.d.ts.map +1 -0
  62. package/dist/core/reactive/array.d.ts +24 -0
  63. package/dist/core/reactive/array.d.ts.map +1 -0
  64. package/dist/core/reactive/index.cjs +1 -0
  65. package/dist/core/reactive/index.d.ts +10 -0
  66. package/dist/core/reactive/index.d.ts.map +1 -0
  67. package/dist/core/reactive/index.js +17 -0
  68. package/dist/core/reactive/interop.d.ts +19 -0
  69. package/dist/core/reactive/interop.d.ts.map +1 -0
  70. package/dist/core/reactive/kernel.d.ts +71 -0
  71. package/dist/core/reactive/kernel.d.ts.map +1 -0
  72. package/dist/core/reactive/map.d.ts +16 -0
  73. package/dist/core/reactive/map.d.ts.map +1 -0
  74. package/dist/core/reactive/struct.d.ts +10 -0
  75. package/dist/core/reactive/struct.d.ts.map +1 -0
  76. package/dist/core/store/__generated__/abi.d.ts +43 -0
  77. package/dist/core/store/__generated__/abi.d.ts.map +1 -0
  78. package/dist/core/store/action_ring.d.ts +136 -0
  79. package/dist/core/store/action_ring.d.ts.map +1 -0
  80. package/dist/core/store/allocator.d.ts +238 -0
  81. package/dist/core/store/allocator.d.ts.map +1 -0
  82. package/dist/core/store/buffer_backed_column.d.ts +69 -0
  83. package/dist/core/store/buffer_backed_column.d.ts.map +1 -0
  84. package/dist/core/store/column_store.d.ts +265 -0
  85. package/dist/core/store/column_store.d.ts.map +1 -0
  86. package/dist/core/store/command_dispatch.d.ts +52 -0
  87. package/dist/core/store/command_dispatch.d.ts.map +1 -0
  88. package/dist/core/store/command_ring.d.ts +107 -0
  89. package/dist/core/store/command_ring.d.ts.map +1 -0
  90. package/dist/core/store/descriptor.d.ts +80 -0
  91. package/dist/core/store/descriptor.d.ts.map +1 -0
  92. package/dist/core/store/entity_index.d.ts +108 -0
  93. package/dist/core/store/entity_index.d.ts.map +1 -0
  94. package/dist/core/store/event_ring.d.ts +95 -0
  95. package/dist/core/store/event_ring.d.ts.map +1 -0
  96. package/dist/core/store/extend.d.ts +109 -0
  97. package/dist/core/store/extend.d.ts.map +1 -0
  98. package/dist/core/store/grow.d.ts +39 -0
  99. package/dist/core/store/grow.d.ts.map +1 -0
  100. package/dist/core/store/header.d.ts +64 -0
  101. package/dist/core/store/header.d.ts.map +1 -0
  102. package/dist/core/store/index.d.ts +16 -0
  103. package/dist/core/store/index.d.ts.map +1 -0
  104. package/dist/core/store/region_table.d.ts +74 -0
  105. package/dist/core/store/region_table.d.ts.map +1 -0
  106. package/dist/core/store/snapshot.d.ts +43 -0
  107. package/dist/core/store/snapshot.d.ts.map +1 -0
  108. package/dist/core/store/state_hash.d.ts +38 -0
  109. package/dist/core/store/state_hash.d.ts.map +1 -0
  110. package/dist/core/store/store_regions.d.ts +38 -0
  111. package/dist/core/store/store_regions.d.ts.map +1 -0
  112. package/dist/extensions/editor/editor.d.ts +149 -0
  113. package/dist/extensions/editor/editor.d.ts.map +1 -0
  114. package/dist/extensions/editor/field_handle.d.ts +35 -0
  115. package/dist/extensions/editor/field_handle.d.ts.map +1 -0
  116. package/dist/extensions/editor/index.cjs +1 -0
  117. package/dist/extensions/editor/index.d.ts +21 -0
  118. package/dist/extensions/editor/index.d.ts.map +1 -0
  119. package/dist/extensions/editor/index.js +209 -0
  120. package/dist/extensions/reactive/ecs_sync.d.ts +210 -0
  121. package/dist/extensions/reactive/ecs_sync.d.ts.map +1 -0
  122. package/dist/extensions/reactive/index.cjs +1 -0
  123. package/dist/extensions/reactive/index.d.ts +23 -0
  124. package/dist/extensions/reactive/index.d.ts.map +1 -0
  125. package/dist/extensions/reactive/index.js +225 -0
  126. package/dist/extensions/solid/index.cjs +1 -0
  127. package/dist/extensions/solid/index.d.ts +6 -0
  128. package/dist/extensions/solid/index.d.ts.map +1 -0
  129. package/dist/extensions/solid/index.js +32 -0
  130. package/dist/extensions/solid/kernel_solid.d.ts +42 -0
  131. package/dist/extensions/solid/kernel_solid.d.ts.map +1 -0
  132. package/dist/index.cjs +2 -1
  133. package/dist/index.d.ts +16 -12
  134. package/dist/index.d.ts.map +1 -1
  135. package/dist/index.js +8563 -1233
  136. package/dist/interop-CT-REx0W.cjs +1 -0
  137. package/dist/interop-CcY6ASQc.js +18 -0
  138. package/dist/kernel-DgyrLFjW.js +227 -0
  139. package/dist/kernel-yWV3XnAb.cjs +1 -0
  140. package/dist/log/console_sink.d.ts +4 -0
  141. package/dist/log/console_sink.d.ts.map +1 -0
  142. package/dist/log/index.d.ts +3 -0
  143. package/dist/log/index.d.ts.map +1 -0
  144. package/dist/log/logger.d.ts +27 -0
  145. package/dist/log/logger.d.ts.map +1 -0
  146. package/dist/primitives.cjs +1 -0
  147. package/dist/primitives.d.ts +18 -0
  148. package/dist/primitives.d.ts.map +1 -0
  149. package/dist/primitives.js +44 -0
  150. package/dist/shared-BXSZnxx4.cjs +1 -0
  151. package/dist/shared-C678TAPY.js +99 -0
  152. package/dist/shared.cjs +1 -0
  153. package/dist/shared.d.ts +22 -0
  154. package/dist/shared.d.ts.map +1 -0
  155. package/dist/shared.js +7 -0
  156. package/dist/topological_sort-DlRpSrxu.js +391 -0
  157. package/dist/topological_sort-WAT-VHb-.cjs +1 -0
  158. package/dist/type_primitives/assertions.d.ts +12 -8
  159. package/dist/type_primitives/assertions.d.ts.map +1 -1
  160. package/dist/type_primitives/binary_heap/binary_heap.d.ts +6 -2
  161. package/dist/type_primitives/binary_heap/binary_heap.d.ts.map +1 -1
  162. package/dist/type_primitives/bitset/bitset.d.ts +16 -4
  163. package/dist/type_primitives/bitset/bitset.d.ts.map +1 -1
  164. package/dist/type_primitives/brand.d.ts +6 -1
  165. package/dist/type_primitives/brand.d.ts.map +1 -1
  166. package/dist/type_primitives/error.d.ts +4 -0
  167. package/dist/type_primitives/error.d.ts.map +1 -1
  168. package/dist/type_primitives/index.d.ts +3 -0
  169. package/dist/type_primitives/index.d.ts.map +1 -1
  170. package/dist/type_primitives/sparse_map/sparse_map.d.ts +7 -3
  171. package/dist/type_primitives/sparse_map/sparse_map.d.ts.map +1 -1
  172. package/dist/type_primitives/sparse_set/sparse_set.d.ts +4 -0
  173. package/dist/type_primitives/sparse_set/sparse_set.d.ts.map +1 -1
  174. package/dist/type_primitives/topological_sort/topological_sort.d.ts +7 -3
  175. package/dist/type_primitives/topological_sort/topological_sort.d.ts.map +1 -1
  176. package/dist/type_primitives/typed_arrays/typed_arrays.d.ts +53 -16
  177. package/dist/type_primitives/typed_arrays/typed_arrays.d.ts.map +1 -1
  178. package/dist/utils/arrays.d.ts +1 -1
  179. package/dist/utils/arrays.d.ts.map +1 -1
  180. package/dist/utils/error.d.ts +2 -20
  181. package/dist/utils/error.d.ts.map +1 -1
  182. package/package.json +36 -9
  183. package/dist/archetype.d.ts +0 -101
  184. package/dist/archetype.d.ts.map +0 -1
  185. package/dist/component.d.ts +0 -45
  186. package/dist/component.d.ts.map +0 -1
  187. package/dist/ecs.d.ts +0 -104
  188. package/dist/ecs.d.ts.map +0 -1
  189. package/dist/entity.d.ts +0 -11
  190. package/dist/entity.d.ts.map +0 -1
  191. package/dist/event.d.ts +0 -30
  192. package/dist/event.d.ts.map +0 -1
  193. package/dist/query.d.ts +0 -90
  194. package/dist/query.d.ts.map +0 -1
  195. package/dist/ref.d.ts +0 -23
  196. package/dist/ref.d.ts.map +0 -1
  197. package/dist/resource.d.ts +0 -23
  198. package/dist/resource.d.ts.map +0 -1
  199. package/dist/schedule.d.ts +0 -45
  200. package/dist/schedule.d.ts.map +0 -1
  201. package/dist/store.d.ts +0 -118
  202. package/dist/store.d.ts.map +0 -1
  203. package/dist/system.d.ts +0 -16
  204. package/dist/system.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;KAuBK;AAEL,OAAO,EAQN,KAAK,QAAQ,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAGN,KAAK,YAAY,EACjB,KAAK,eAAe,EAEpB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EAMN,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAMN,KAAK,WAAW,EAEhB,KAAK,eAAe,EAEpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAGN,K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AAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,IAAI;IAQjD,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC;IAIvE,WAAW,IAAI,IAAI;IAS1B;;;;uFAImF;IAC5E,sBAAsB,IAAI,MAAM;IAavC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAyC;IAE9D,kBAAkB,CAAC,CAAC,SAAS,WAAW,EAC9C,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACnC,QAAQ,CAAC,CAAC,CAAC;IAUP,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC;IAQ5C,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAQxC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmC;IAE3D,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;IAOnD,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAOjC,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;IAY9C,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAOjC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAGxC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * StoreLayoutListener — receives notifications when the engine publishes
3
+ * a new SAB layout. The engine calls `setLayout(headerOff)`:
4
+ *
5
+ * 1. immediately when the listener subscribes (seeds the initial
6
+ * layout), and
7
+ * 2. after every SAB grow / extend (the `view_stamp` republish
8
+ * protocol from #171 §6.1.4 / #224 PR 2B).
9
+ *
10
+ * Any consumer that caches column byte_offs off the layout descriptor
11
+ * MUST invalidate on this call.
12
+ *
13
+ * The interface deliberately has nothing consumer-specific. The engine
14
+ * publishes layouts to whoever subscribes; the consumer owns its own
15
+ * typed wrapper (a compute backend, a Worker proxy, a debug recorder) and
16
+ * drives it from its own code — none of that surface appears on the engine.
17
+ * A `ComputeBackend` (#622) extends this interface, so attaching a backend
18
+ * subscribes it to layout republishes for free; see `compute_backend.ts`.
19
+ */
20
+ export interface StoreLayoutListener {
21
+ setLayout(headerOff: number): void;
22
+ }
23
+ //# sourceMappingURL=store_layout_listener.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store_layout_listener.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/store_layout_listener.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,mBAAmB;IACnC,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC"}
@@ -0,0 +1,134 @@
1
+ import { Brand } from '../../type_primitives';
2
+ import { ComponentDef } from './component';
3
+ import { SparseComponentDef } from './sparse_store';
4
+ import { RelationDef } from './relation';
5
+ import { ResourceKey } from './resource';
6
+ import { SystemContext } from './query';
7
+ import { BackendSystemHandle } from './compute_backend';
8
+ import { Template } from './store';
9
+ export type SystemID = Brand<number, "system_id">;
10
+ export declare const asSystemId: (value: number) => SystemID;
11
+ export type SystemFn = (ctx: SystemContext, deltaTime: number) => void;
12
+ /** A pair describing a mid-tick archetype transition.
13
+ * If an entity has every component in `whenHas`, the system may `add`
14
+ * and/or `remove` the listed components, transitioning the entity to a
15
+ * new archetype. Used by Phase C to pre-warm the archetype graph. */
16
+ export interface SystemTransition {
17
+ readonly whenHas: readonly ComponentDef[];
18
+ readonly add?: readonly ComponentDef[];
19
+ readonly remove?: readonly ComponentDef[];
20
+ }
21
+ /** The access declaration as AUTHORED on a `SystemConfig`. `reads` /
22
+ * `writes` are mandatory (empty arrays are explicit, not missing
23
+ * annotations); the rarer structural and resource fields are optional with
24
+ * absent = empty, mirroring the #496 sparse/relation precedent. `spawns`
25
+ * entries and `despawns` accept a `Template` wherever a component list is
26
+ * expected — registration expands it via `_normalizeAccess`. */
27
+ export interface SystemAccessConfig {
28
+ /** Components the system READS but does not write. */
29
+ readonly reads: readonly ComponentDef[];
30
+ /** Components the system WRITES. A write is implicitly also a read. */
31
+ readonly writes: readonly ComponentDef[];
32
+ /** Archetype masks the system spawns entities into. Each entry is the
33
+ * union of components a spawned entity carries at flush time — an
34
+ * explicit def list, or a `Template` (expanded at registration). */
35
+ readonly spawns?: readonly (readonly ComponentDef[] | Template)[];
36
+ /** Components removed via `removeComponent` / `destroyEntity`.
37
+ * `destroyEntity` counts as removing every component on the entity —
38
+ * declare the superset. A `Template` entry expands to its component
39
+ * list, so a "destroys what the spawner spawns" system references the
40
+ * same declaration. */
41
+ readonly despawns?: readonly (ComponentDef | Template)[];
42
+ /** Mid-tick archetype transitions; see SystemTransition. */
43
+ readonly transitions?: readonly SystemTransition[];
44
+ /** Resources the system reads. */
45
+ readonly resourceReads?: readonly ResourceKey<unknown>[];
46
+ /** Resources the system writes. */
47
+ readonly resourceWrites?: readonly ResourceKey<unknown>[];
48
+ /** Sparse components the system READS via `getSparseField`
49
+ * (membership probes `hasSparse` are unchecked, mirroring `hasComponent`). */
50
+ readonly sparseReads?: readonly SparseComponentDef[];
51
+ /** Sparse components the system MUTATES via `addSparse` / `removeSparse` /
52
+ * `setSparseField`. A write implies a read. */
53
+ readonly sparseWrites?: readonly SparseComponentDef[];
54
+ /** Relations the system READS via `targetOf` / `targetsOf` / `sourcesOf`
55
+ * (`hasRelation` is unchecked, mirroring `hasComponent`). */
56
+ readonly relationReads?: readonly RelationDef[];
57
+ /** Relations the system MUTATES via `addRelation` / `removeRelation`.
58
+ * A write implies a read. */
59
+ readonly relationWrites?: readonly RelationDef[];
60
+ }
61
+ /** The NORMALIZED access declaration a registered system carries — what
62
+ * `SystemDescriptor` exposes and `accessCheck` / prewarm consume. Produced
63
+ * from the authored `SystemAccessConfig` by `_normalizeAccess`: absent
64
+ * optional fields are the shared frozen empties, and every `Template` in
65
+ * `spawns` / `despawns` is expanded to its component list. */
66
+ export interface SystemAccessDeclaration extends SystemAccessConfig {
67
+ readonly spawns: readonly (readonly ComponentDef[])[];
68
+ readonly despawns: readonly ComponentDef[];
69
+ readonly transitions: readonly SystemTransition[];
70
+ readonly resourceReads: readonly ResourceKey<unknown>[];
71
+ readonly resourceWrites: readonly ResourceKey<unknown>[];
72
+ }
73
+ export interface SystemConfig extends SystemAccessConfig {
74
+ fn: SystemFn;
75
+ name?: string;
76
+ onAdded?: (ctx: SystemContext) => void;
77
+ onRemoved?: () => void;
78
+ dispose?: () => void;
79
+ /** Components the system queries via `ctx.query(...)`, one group per query.
80
+ * OPTIONAL — when provided, `registerSystem` validates `queries ⊆ reads ∪
81
+ * writes` in `__DEV__` (#213 Phase D, `_assertQueriesDeclared`): a query term
82
+ * reads each listed component, so this fails fast at registration instead of
83
+ * at the first iteration's `accessCheck`. */
84
+ queries?: readonly (readonly ComponentDef[])[];
85
+ /** Grant this system FULL world access — it may read/write/add/remove/destroy
86
+ * ANY component, sparse, relation, or resource without declaring them. The
87
+ * `__DEV__` access check is bypassed for its whole span (a no-op in
88
+ * production, where the check is already compiled out). For trusted engine /
89
+ * host machinery that mutates components not known at registration — the
90
+ * host→ECS command-apply system (#681) is the canonical case; a save/load or
91
+ * debug system is another. Bevy's "exclusive system" in spirit: full access,
92
+ * and — under any future parallel scheduler — it would run alone. The schedule
93
+ * is sequential today, so here it is purely the access grant. Use sparingly;
94
+ * a normal system should declare exactly what it touches. */
95
+ exclusive?: boolean;
96
+ /** Opt this system into pluggable-backend execution (#622). When set **and**
97
+ * a `ComputeBackend` is attached to the ECS, the `Schedule` runs
98
+ * `backend.run(backendHandle)` in place of `fn`; otherwise `fn` runs as the
99
+ * TS fallback (a no-op `fn` ⇒ the system is effectively skipped when no
100
+ * backend is attached). The handle is opaque to the engine — minted by the
101
+ * backend. The system still declares its `reads`/`writes` so the access span
102
+ * around the backend call authorises the shared-memory it touches, and so the
103
+ * scheduler can order it. See `ComputeBackend`. */
104
+ backendHandle?: BackendSystemHandle;
105
+ }
106
+ export interface SystemDescriptor extends Readonly<SystemConfig> {
107
+ readonly id: SystemID;
108
+ readonly spawns: readonly (readonly ComponentDef[])[];
109
+ readonly despawns: readonly ComponentDef[];
110
+ readonly transitions: readonly SystemTransition[];
111
+ readonly resourceReads: readonly ResourceKey<unknown>[];
112
+ readonly resourceWrites: readonly ResourceKey<unknown>[];
113
+ }
114
+ /** @internal Normalize an authored access config into the declaration shape
115
+ * a `SystemDescriptor` carries: absent optional fields become shared frozen
116
+ * empties; `Template` references in `spawns` / `despawns` expand to their
117
+ * component lists. Pure — does not mutate `config`. */
118
+ export declare function _normalizeAccess(config: SystemAccessConfig): SystemAccessDeclaration;
119
+ /** @internal Phase D lint (issue #213): in `__DEV__`, validate that every
120
+ * component a system lists in `queries` is covered by `reads ∪ writes`. A query
121
+ * term reads each listed component's presence/columns, so querying one the
122
+ * system never declared read access to would throw at the first iteration
123
+ * (`accessCheck`); this surfaces the drift between the two declarations at
124
+ * registration instead. `exclusive` systems (full access, empty reads/writes)
125
+ * are skipped, as are the bare-fn / 2-arg overloads (no `queries`). Pure —
126
+ * throws `QUERY_ACCESS_UNDECLARED` on a violation, naming the offending ids. */
127
+ export declare function _assertQueriesDeclared(config: SystemConfig): void;
128
+ /** @internal — empty access declaration shared by the bare-fn and 2-arg
129
+ * `registerSystem` overloads. Systems registered via those overloads
130
+ * have no declared access and therefore fail any runtime check; use the
131
+ * config form when the system performs any ECS access. NOT exported from
132
+ * the package barrel — call sites should never spread this directly. */
133
+ export declare const _INTERNAL_EMPTY_ACCESS: SystemAccessDeclaration;
134
+ //# sourceMappingURL=system.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/system.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0CK;AAEL,OAAO,EAAE,KAAK,EAAyC,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,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;;iDAI6C;IAC7C,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,YAAY,EAAE,CAAC,EAAE,CAAC;IAE/C;;;;;;;;;iEAS6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;;uDAOmD;IACnD,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAED,MAAM,WAAW,gBAAiB,SAAQ,QAAQ,CAAC,YAAY,CAAC;IAC/D,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;IAGtB,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,SAAS,YAAY,EAAE,CAAC,EAAE,CAAC;IACtD,QAAQ,CAAC,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAClD,QAAQ,CAAC,aAAa,EAAE,SAAS,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,SAAS,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC;CACzD;AAUD;;;uDAGuD;AACvD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,kBAAkB,GAAG,uBAAuB,CA6BpF;AAED;;;;;;;gFAOgF;AAChF,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAuBjE;AAED;;;;wEAIwE;AACxE,eAAO,MAAM,sBAAsB,EAAE,uBAYnC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /***
2
+ * Array utilities — helpers for hash-bucketed maps.
3
+ *
4
+ ***/
5
+ /** Push a value into a hash-bucket map, creating the bucket array if absent. */
6
+ export declare function bucketPush<T>(map: Map<number, T[]>, key: number, value: T): void;
7
+ //# sourceMappingURL=arrays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../../../src/core/ecs/utils/arrays.ts"],"names":[],"mappings":"AAAA;;;KAGK;AAEL,gFAAgF;AAChF,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAOhF"}
@@ -0,0 +1,12 @@
1
+ export declare const UNASSIGNED = -1;
2
+ export declare const NO_SWAP = -1;
3
+ export declare const EMPTY_VALUES: Record<string, number>;
4
+ export declare const HASH_GOLDEN_RATIO = 2654435769;
5
+ export declare const HASH_SECONDARY_PRIME = 1367130551;
6
+ export declare const DEFAULT_COLUMN_CAPACITY = 1024;
7
+ export declare const INITIAL_GENERATION = 0;
8
+ export declare const TOTAL_PACKED_BITS = 31;
9
+ export declare const DEFAULT_FIXED_TIMESTEP: number;
10
+ export declare const DEFAULT_MAX_FIXED_STEPS = 4;
11
+ export declare const STARTUP_DELTA_TIME = 0;
12
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/core/ecs/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAsC,CAAC;AAGvF,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,oBAAoB,aAAa,CAAC;AAG/C,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAG5C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAGpC,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAC7C,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAGzC,eAAO,MAAM,kBAAkB,IAAI,CAAC"}
@@ -0,0 +1,51 @@
1
+ import { AppError } from '../../../utils/error';
2
+ export declare enum ECS_ERROR {
3
+ EID_MAX_INDEX_OVERFLOW = "EID_MAX_INDEX_OVERFLOW",
4
+ EID_MAX_GEN_OVERFLOW = "EID_MAX_GEN_OVERFLOW",
5
+ COMPONENT_NOT_REGISTERED = "COMPONENT_NOT_REGISTERED",
6
+ COMPONENT_LIMIT_EXCEEDED = "COMPONENT_LIMIT_EXCEEDED",
7
+ ENTITY_NOT_ALIVE = "ENTITY_NOT_ALIVE",
8
+ CIRCULAR_SYSTEM_DEPENDENCY = "CIRCULAR_SYSTEM_DEPENDENCY",
9
+ DUPLICATE_SYSTEM = "DUPLICATE_SYSTEM",
10
+ ARCHETYPE_NOT_FOUND = "ARCHETYPE_NOT_FOUND",
11
+ RESOURCE_NOT_REGISTERED = "RESOURCE_NOT_REGISTERED",
12
+ RESOURCE_ALREADY_REGISTERED = "RESOURCE_ALREADY_REGISTERED",
13
+ EVENT_ALREADY_REGISTERED = "EVENT_ALREADY_REGISTERED",
14
+ EVENT_NOT_REGISTERED = "EVENT_NOT_REGISTERED",
15
+ FIELD_NOT_REGISTERED = "FIELD_NOT_REGISTERED",
16
+ RELATION_NOT_REGISTERED = "RELATION_NOT_REGISTERED",
17
+ RELATION_MODE_INVALID = "RELATION_MODE_INVALID",
18
+ RELATION_MODE_MISMATCH = "RELATION_MODE_MISMATCH",
19
+ RELATION_CYCLE = "RELATION_CYCLE",
20
+ SPARSE_CACHE_KEY_OVERFLOW = "SPARSE_CACHE_KEY_OVERFLOW",
21
+ SPARSE_QUERY_DENSE_PATH = "SPARSE_QUERY_DENSE_PATH",
22
+ HIERARCHY_ALREADY_SET = "HIERARCHY_ALREADY_SET",
23
+ HIERARCHY_INVALID_MAX_DEPTH = "HIERARCHY_INVALID_MAX_DEPTH",
24
+ OBSERVER_NON_CONVERGENT = "OBSERVER_NON_CONVERGENT",
25
+ OBSERVER_INVALID_CONFIG = "OBSERVER_INVALID_CONFIG",
26
+ OBSERVER_ONSET_EMIT = "OBSERVER_ONSET_EMIT",
27
+ INVALID_FIXED_TIMESTEP = "INVALID_FIXED_TIMESTEP",
28
+ INVALID_MAX_FIXED_STEPS = "INVALID_MAX_FIXED_STEPS",
29
+ INVALID_RECORDER_SCHEDULE = "INVALID_RECORDER_SCHEDULE",
30
+ EMPTY_ARCHETYPE_MATERIALIZE = "EMPTY_ARCHETYPE_MATERIALIZE",
31
+ COMPONENT_INDEX_INVARIANT = "COMPONENT_INDEX_INVARIANT",
32
+ OPTIONAL_TERM_NOT_DECLARED = "OPTIONAL_TERM_NOT_DECLARED",
33
+ QUERY_ACCESS_UNDECLARED = "QUERY_ACCESS_UNDECLARED",
34
+ SYSTEM_FN_ARITY = "SYSTEM_FN_ARITY",
35
+ PARTITION_APPEND_NEEDS_ENTITY_ROW = "PARTITION_APPEND_NEEDS_ENTITY_ROW",
36
+ PARTITION_BULK_INTO_DISABLED = "PARTITION_BULK_INTO_DISABLED",
37
+ ENTITY_NOT_DISABLED = "ENTITY_NOT_DISABLED",
38
+ BACKEND_ALREADY_ATTACHED = "BACKEND_ALREADY_ATTACHED",
39
+ DETERMINISM_DISABLED = "DETERMINISM_DISABLED",
40
+ NON_DETERMINISTIC_COLUMN_TYPE = "NON_DETERMINISTIC_COLUMN_TYPE",
41
+ INVALID_MEMORY_OPTIONS = "INVALID_MEMORY_OPTIONS",
42
+ STORE_CAP_EXCEEDED = "STORE_CAP_EXCEEDED",
43
+ REGION_NOT_DECLARED = "REGION_NOT_DECLARED",
44
+ COMMAND_LOG_TAG_COLLISION = "COMMAND_LOG_TAG_COLLISION"
45
+ }
46
+ export declare class ECSError extends AppError {
47
+ readonly category: ECS_ERROR;
48
+ constructor(category: ECS_ERROR, message?: string, context?: Record<string, unknown>);
49
+ }
50
+ export declare function isEcsError(error: unknown): error is ECSError;
51
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/core/ecs/utils/error.ts"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AAO,CAAC;CAIlC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAE5D"}
@@ -0,0 +1,24 @@
1
+ export interface ReactiveArray<T> {
2
+ /** Read slot `i`, subscribing to that slot (or to structure if out of range). */
3
+ get(i: number): T | undefined;
4
+ /** Element count, tracking structure (length changes only, not value updates). */
5
+ length(): number;
6
+ /**
7
+ * Whole-array snapshot. Tracks structure AND every slot value — the COARSE read
8
+ * (any slot change wakes it). Use `length()` + `get(i)` for the fine-grained path;
9
+ * `snapshot()` is for feeding a positional array to a Solid `<Index each>`.
10
+ */
11
+ snapshot(): readonly T[];
12
+ /** Fine-grained slot write. Updating an in-range slot wakes only that slot's readers. */
13
+ set(i: number, value: T): void;
14
+ /** Append one element; bumps structure. */
15
+ push(value: T): void;
16
+ /** Remove + return the last element; bumps structure. */
17
+ pop(): T | undefined;
18
+ /** Array-semantics splice; positionally reconciles so only shifted slots wake. */
19
+ splice(start: number, deleteCount?: number, ...items: T[]): T[];
20
+ /** Structural-sharing bulk replace: diff vs current, write only changed slots. */
21
+ reconcile(next: readonly T[]): void;
22
+ }
23
+ export declare function reactiveArray<T>(initial?: readonly T[], eq?: (a: T, b: T) => boolean): ReactiveArray<T>;
24
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/array.ts"],"names":[],"mappings":"AA0CA,MAAM,WAAW,aAAa,CAAC,CAAC;IAC/B,iFAAiF;IACjF,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;IAC9B,kFAAkF;IAClF,MAAM,IAAI,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,IAAI,SAAS,CAAC,EAAE,CAAC;IACzB,yFAAyF;IACzF,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAC/B,2CAA2C;IAC3C,IAAI,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IACrB,yDAAyD;IACzD,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IACrB,kFAAkF;IAClF,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;IAChE,kFAAkF;IAClF,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,GAAG,IAAI,CAAC;CACpC;AAED,wBAAgB,aAAa,CAAC,CAAC,EAC9B,OAAO,GAAE,SAAS,CAAC,EAAO,EAC1B,EAAE,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAmB,GACrC,aAAa,CAAC,CAAC,CAAC,CAmGlB"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../kernel-yWV3XnAb.cjs"),r=require("../../array-CxbPyiHO.cjs"),t=require("../../interop-CT-REx0W.cjs");exports.batch=e.batch;exports.computed=e.computed;exports.effect=e.effect;exports.onCleanup=e.onCleanup;exports.root=e.root;exports.signal=e.signal;exports.untrack=e.untrack;exports.reactiveArray=r.reactiveArray;exports.reactiveMap=r.reactiveMap;exports.reactiveStruct=r.reactiveStruct;exports.subscribe=t.subscribe;exports.toExternalStore=t.toExternalStore;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Reactive kernel — the engine UI seam's fine-grained, glitch-free reactive core
3
+ * (ADR-0021). Zero dependencies; consumer owns rendering. See ./CONTEXT.md.
4
+ */
5
+ export { signal, computed, effect, batch, untrack, root, onCleanup, type Accessor, type Setter } from './kernel';
6
+ export { reactiveMap, type ReactiveMap } from './map';
7
+ export { reactiveStruct, type StructSetters, type StructEq } from './struct';
8
+ export { reactiveArray, type ReactiveArray } from './array';
9
+ export { subscribe, toExternalStore, type ExternalStore } from './interop';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACN,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,OAAO,EACP,IAAI,EACJ,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,MAAM,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { b as e, c as s, e as t, o, r as c, s as p, u } from "../../kernel-DgyrLFjW.js";
2
+ import { b as f, r as i, a as n } from "../../array-uFR7Q8fU.js";
3
+ import { s as x, t as l } from "../../interop-CcY6ASQc.js";
4
+ export {
5
+ e as batch,
6
+ s as computed,
7
+ t as effect,
8
+ o as onCleanup,
9
+ f as reactiveArray,
10
+ i as reactiveMap,
11
+ n as reactiveStruct,
12
+ c as root,
13
+ p as signal,
14
+ x as subscribe,
15
+ l as toExternalStore,
16
+ u as untrack
17
+ };
@@ -0,0 +1,19 @@
1
+ import { Accessor } from './kernel';
2
+ /**
3
+ * Vanilla subscription: invoke `onChange(value)` once per coalesced change to
4
+ * whatever `accessor` reads. Does NOT fire on subscribe (the consumer reads the
5
+ * initial value itself); returns a disposer. This is the universal adapter base.
6
+ */
7
+ export declare function subscribe<T>(accessor: Accessor<T>, onChange: (value: T) => void): () => void;
8
+ /**
9
+ * The framework-agnostic external-store contract (React's useSyncExternalStore
10
+ * shape, but useful everywhere). `subscribe` takes a zero-arg "something changed"
11
+ * callback; `getSnapshot` reads the current, referentially-stable value.
12
+ */
13
+ export interface ExternalStore<T> {
14
+ subscribe(onStoreChange: () => void): () => void;
15
+ getSnapshot(): T;
16
+ }
17
+ /** Wrap an accessor as an ExternalStore. Snapshot stability comes from the kernel. */
18
+ export declare function toExternalStore<T>(accessor: Accessor<T>): ExternalStore<T>;
19
+ //# sourceMappingURL=interop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interop.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/interop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAmB,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE1D;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAW5F;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC/B,SAAS,CAAC,aAAa,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC;IACjD,WAAW,IAAI,CAAC,CAAC;CACjB;AAED,sFAAsF;AACtF,wBAAgB,eAAe,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAK1E"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * In-house fine-grained reactive kernel — signal / computed / effect / batch,
3
+ * plus ownership scopes (`root` / `onCleanup`). Zero dependencies (ADR-0021).
4
+ *
5
+ * This is the engine UI seam's propagation core. It is the same class of machine
6
+ * as the ECS observer system (ADR-0013) — fine-grained, glitch-free, cascades to
7
+ * a fixed point — at a different granularity, which is exactly why #646 chose to
8
+ * own it rather than adopt solid-js / @preact/signals-core / alien-signals.
9
+ *
10
+ * The dependency graph is an intrusive doubly-linked structure. One pooled `Link`
11
+ * per edge is threaded into BOTH the source's subscriber list and the target's
12
+ * dependency list at once, so link/unlink is O(1) pointer surgery with no hashing,
13
+ * and a stable-dependency re-run reuses its edges via a tail cursor (zero graph
14
+ * mutation). That is the entire performance story: it ties the throughput leaders
15
+ * on the hot paths and avoids the Set-based prototype's fan-in collapse.
16
+ *
17
+ * Computed is lazy and glitch-free via a version-cutoff pull (the model
18
+ * alien-signals / preact use):
19
+ *
20
+ * - Every source carries a `version` that bumps only when its value actually
21
+ * changes. Each edge (`Link`) remembers the source version it last saw.
22
+ * - A write does NOT eagerly recompute anything. It propagates a "maybe-dirty"
23
+ * mark (`OUTDATED`) down through computeds to effects, and queues the effects.
24
+ * Computeds stay lazy.
25
+ * - Work happens on the pull: when an effect flushes (or a computed is read),
26
+ * `needsRecompute` walks its deps, refreshes each, and recomputes only if a
27
+ * dep's version actually advanced. A recompute that produces an equal value
28
+ * does NOT bump the node's own version, so its subscribers are skipped.
29
+ *
30
+ * That gives glitch-freedom (a diamond resolves with one consistent recompute of
31
+ * the join) and minimal work (unchanged values cut propagation) at once.
32
+ *
33
+ * Known, deliberate scope (refinements, not correctness gaps): computeds ALWAYS
34
+ * track their sources (no auto-unsubscribe of unobserved computeds — the TRACKING
35
+ * optimization) and there is no global-version fast path. The two help only a
36
+ * workload heavy in *unobserved* computeds and are low-value without each other;
37
+ * see ADR-0021. Cycle reads return the stale value rather than throwing.
38
+ */
39
+ type Eq<T> = (a: T, b: T) => boolean;
40
+ /** A read accessor; calling it inside an effect/computed subscribes to the source. */
41
+ export type Accessor<T> = () => T;
42
+ /** A write setter; a same-value write (per `eq`) is a no-op and wakes nobody. */
43
+ export type Setter<T> = (v: T) => void;
44
+ /** Create a writable signal. Returns `[read, write]`; `eq` defaults to `Object.is`. */
45
+ export declare function signal<T>(initial: T, eq?: Eq<T>): readonly [Accessor<T>, Setter<T>];
46
+ /** Create a lazy, glitch-free derived value. Recomputes on pull only when a dep changed. */
47
+ export declare function computed<T>(fn: () => T, eq?: Eq<T>): Accessor<T>;
48
+ /** Run `fn` now and re-run it whenever a tracked dep changes. Returns a disposer. */
49
+ export declare function effect(fn: () => void): () => void;
50
+ /** Coalesce all writes inside `fn` into a single flush at the outermost boundary. */
51
+ export declare function batch(fn: () => void): void;
52
+ /**
53
+ * Read inside `fn` without subscribing the enclosing effect/computed to anything it
54
+ * touches (Solid's `untrack`). Use it when a callback that runs during a tracked run
55
+ * must NOT become a dependency — e.g. an interop subscriber whose `onChange` reads
56
+ * other accessors. Returns `fn`'s result.
57
+ */
58
+ export declare function untrack<T>(fn: () => T): T;
59
+ /**
60
+ * Create an ownership scope. `fn` receives a disposer that tears down every
61
+ * effect/computed (and their onCleanups) created under the scope. Detached from
62
+ * any enclosing owner — you hold the disposer (Solid's `createRoot` contract).
63
+ */
64
+ export declare function root<T>(fn: (dispose: () => void) => T): T;
65
+ /**
66
+ * Register a cleanup with the owner in scope. Inside an effect/computed it runs
67
+ * before each re-run and on dispose; inside a `root` it runs on root disposal.
68
+ */
69
+ export declare function onCleanup(fn: () => void): void;
70
+ export {};
71
+ //# sourceMappingURL=kernel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kernel.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/kernel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC;AA0WrC,sFAAsF;AACtF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC;AAClC,iFAAiF;AACjF,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;AAEvC,uFAAuF;AACvF,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,GAAE,EAAE,CAAC,CAAC,CAAa,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAG9F;AAED,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,GAAE,EAAE,CAAC,CAAC,CAAa,GAAG,QAAQ,CAAC,CAAC,CAAC,CAI3E;AAED,qFAAqF;AACrF,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAKjD;AAED,qFAAqF;AACrF,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAO1C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAQzC;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CASzD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAE9C"}
@@ -0,0 +1,16 @@
1
+ export interface ReactiveMap<K, V> {
2
+ /** Read a key's value, subscribing the caller to that key (or to structure if absent). */
3
+ get(key: K): V | undefined;
4
+ /** Insert or update a key. Updating an existing key wakes only that key's readers. */
5
+ set(key: K, value: V): void;
6
+ /** Remove a key. Wakes that key's readers (now absent) and structure readers. */
7
+ delete(key: K): boolean;
8
+ /** Membership test, tracking the key set. */
9
+ has(key: K): boolean;
10
+ /** Entry count, tracking the key set. */
11
+ size(): number;
12
+ /** Snapshot of keys, tracking the key set. */
13
+ keys(): K[];
14
+ }
15
+ export declare function reactiveMap<K, V>(eq?: (a: V, b: V) => boolean): ReactiveMap<K, V>;
16
+ //# sourceMappingURL=map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/map.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,WAAW,CAAC,CAAC,EAAE,CAAC;IAChC,0FAA0F;IAC1F,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAC3B,sFAAsF;IACtF,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAC5B,iFAAiF;IACjF,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC;IACxB,6CAA6C;IAC7C,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC;IACrB,yCAAyC;IACzC,IAAI,IAAI,MAAM,CAAC;IACf,8CAA8C;IAC9C,IAAI,IAAI,CAAC,EAAE,CAAC;CACZ;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAmB,GAAG,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAiE5F"}
@@ -0,0 +1,10 @@
1
+ /** Per-field setters: `set.field(value)`. */
2
+ export type StructSetters<T> = {
3
+ readonly [K in keyof T]: (v: T[K]) => void;
4
+ };
5
+ /** Optional per-field equality overrides. */
6
+ export type StructEq<T> = {
7
+ readonly [K in keyof T]?: (a: T[K], b: T[K]) => boolean;
8
+ };
9
+ export declare function reactiveStruct<T extends object>(initial: T, eq?: StructEq<T>): readonly [proxy: T, set: StructSetters<T>];
10
+ //# sourceMappingURL=struct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"struct.d.ts","sourceRoot":"","sources":["../../../src/core/reactive/struct.ts"],"names":[],"mappings":"AA4BA,6CAA6C;AAC7C,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI;CAAE,CAAC;AAC9E,6CAA6C;AAC7C,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO;CAAE,CAAC;AAEtF,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAC9C,OAAO,EAAE,CAAC,EACV,EAAE,GAAE,QAAQ,CAAC,CAAC,CAAM,GAClB,SAAS,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CA0C5C"}
@@ -0,0 +1,43 @@
1
+ export declare const STORE_MAGIC = 827148627;
2
+ export declare const SIM_ABI_VERSION = 0;
3
+ export declare const COMPONENT_MASK_WORDS = 4;
4
+ export declare const STORE_HEADER_BYTES = 52;
5
+ export declare const STORE_HEADER_OFFSETS: {
6
+ readonly magic: 0;
7
+ readonly sim_abi_version: 4;
8
+ readonly view_stamp: 8;
9
+ readonly capacity: 12;
10
+ readonly archetype_count: 16;
11
+ readonly layout_descriptor_off: 20;
12
+ readonly command_ring_off: 24;
13
+ readonly action_ring_off: 28;
14
+ readonly entity_index_off: 32;
15
+ readonly event_ring_off: 36;
16
+ readonly region_table_off: 40;
17
+ readonly region_table_count: 44;
18
+ readonly bindings_off: 48;
19
+ };
20
+ export declare const REGION_TABLE_ENTRY_BYTES = 12;
21
+ export declare const REGION_TABLE_ENTRY_OFFSETS: {
22
+ readonly region_id: 0;
23
+ readonly byte_offset: 4;
24
+ readonly byte_length: 8;
25
+ };
26
+ export declare const COLUMN_DESCRIPTOR_BYTES = 16;
27
+ export declare const COLUMN_DESCRIPTOR_OFFSETS: {
28
+ readonly component_id: 0;
29
+ readonly field_id: 2;
30
+ readonly type_tag: 4;
31
+ readonly byte_off: 8;
32
+ readonly stride: 12;
33
+ };
34
+ export declare const ARCHETYPE_DESCRIPTOR_HEADER_BYTES = 36;
35
+ export declare const ARCHETYPE_DESCRIPTOR_OFFSETS: {
36
+ readonly archetype_id: 0;
37
+ readonly component_mask: 4;
38
+ readonly row_count: 20;
39
+ readonly row_capacity: 24;
40
+ readonly column_count: 28;
41
+ readonly enabled_count: 32;
42
+ };
43
+ //# sourceMappingURL=abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abi.d.ts","sourceRoot":"","sources":["../../../../src/core/store/__generated__/abi.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,YAAa,CAAC;AACtC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAcvB,CAAC;AAEX,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAC;AAEX,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,yBAAyB;;;;;;CAM5B,CAAC;AAEX,eAAO,MAAM,iCAAiC,KAAK,CAAC;AACpD,eAAO,MAAM,4BAA4B;;;;;;;CAO/B,CAAC"}