@almadar/std 16.199.0 → 16.201.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 (252) hide show
  1. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +2 -2
  2. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +2 -2
  3. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +1 -1
  4. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
  5. package/behaviors/lolo/ui/core/atoms/ui-conditional-wrapper.lolo +11 -4
  6. package/behaviors/lolo/ui/core/atoms/ui-icon.lolo +1 -1
  7. package/behaviors/lolo/ui/core/atoms/ui-input.lolo +10 -4
  8. package/behaviors/lolo/ui/core/atoms/ui-select.lolo +6 -4
  9. package/behaviors/lolo/ui/core/molecules/ui-branching-logic-builder.lolo +5 -5
  10. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +8 -1
  11. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +1 -1
  12. package/behaviors/lolo/ui/core/molecules/ui-edge-decoration.lolo +1 -1
  13. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +5 -0
  14. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +1 -1
  15. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +54 -0
  16. package/behaviors/lolo/ui/core/molecules/ui-gradient-divider.lolo +1 -1
  17. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +8 -1
  18. package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +10 -4
  19. package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +3 -3
  20. package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +1 -1
  21. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +3 -3
  22. package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +23 -16
  23. package/behaviors/lolo/ui/core/organisms/ui-dock-layout.lolo +186 -0
  24. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +2 -2
  25. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +1 -1
  26. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +2 -2
  27. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +15 -8
  28. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +15 -8
  29. package/behaviors/lolo/ui/core/organisms/ui-split-pane.lolo +37 -1
  30. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +1 -1
  31. package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +3 -3
  32. package/behaviors/lolo/ui/game/atoms/std-coef-pad.lolo +5 -3
  33. package/behaviors/lolo/ui/game/atoms/std-fx-narrative.lolo +126 -0
  34. package/behaviors/lolo/ui/game/atoms/std-pickup.lolo +104 -0
  35. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +50 -21
  36. package/behaviors/lolo/ui/game/atoms/ui-control-button.lolo +3 -3
  37. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +1 -1
  38. package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +1 -1
  39. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +3 -3
  40. package/behaviors/lolo/ui/game/atoms/ui-stat-badge.lolo +3 -3
  41. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +12 -0
  42. package/behaviors/registry/infra/atoms/std-approval-gate.orb +20 -10
  43. package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  44. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  45. package/behaviors/registry/infra/atoms/std-data-erasure.orb +16 -8
  46. package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  47. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  48. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +2 -1
  49. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +10 -5
  50. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +4 -2
  51. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +389 -3
  52. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +389 -3
  53. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +93 -2
  54. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  55. package/behaviors/registry/ui/core/atoms/std-browse.orb +6 -3
  56. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  57. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  58. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  59. package/behaviors/registry/ui/core/atoms/std-export.orb +4 -2
  60. package/behaviors/registry/ui/core/atoms/std-file-store.orb +101 -2
  61. package/behaviors/registry/ui/core/atoms/std-gallery.orb +18 -9
  62. package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  63. package/behaviors/registry/ui/core/atoms/std-list.orb +6 -3
  64. package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +13 -1
  65. package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +13 -1
  66. package/behaviors/registry/ui/core/atoms/ui-badge.orb +56 -1
  67. package/behaviors/registry/ui/core/atoms/ui-button.orb +56 -1
  68. package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +277 -5
  69. package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +56 -1
  70. package/behaviors/registry/ui/core/atoms/ui-icon.orb +1 -10
  71. package/behaviors/registry/ui/core/atoms/ui-input.orb +42 -7
  72. package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +27 -1
  73. package/behaviors/registry/ui/core/atoms/ui-select.orb +69 -9
  74. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +30 -1
  75. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +76 -13
  76. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +30 -1
  77. package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +15 -1
  78. package/behaviors/registry/ui/core/molecules/ui-chart.orb +133 -1
  79. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +77 -1
  80. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +22 -1
  81. package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +34 -1
  82. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +99 -1
  83. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +118 -1
  84. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +27 -1
  85. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +15 -1
  86. package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +14 -1
  87. package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +35 -1
  88. package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +20 -1
  89. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +65 -3
  90. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +22 -1
  91. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +60 -1
  92. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -8
  93. package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +1 -9
  94. package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +39 -1
  95. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +8 -0
  96. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +39 -1
  97. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +29 -10
  98. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +274 -0
  99. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +85 -1
  100. package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +22 -1
  101. package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +76 -1
  102. package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +1 -10
  103. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +421 -1
  104. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +92 -1
  105. package/behaviors/registry/ui/core/molecules/ui-header.orb +59 -1
  106. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +125 -2
  107. package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +17 -1
  108. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +39 -1
  109. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +42 -7
  110. package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +22 -1
  111. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +17 -1
  112. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +15 -1
  113. package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +18 -1
  114. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +109 -1
  115. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +27 -1
  116. package/behaviors/registry/ui/core/molecules/ui-meter.orb +57 -1
  117. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +27 -1
  118. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +78 -4
  119. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +91 -1
  120. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +20 -1
  121. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +23 -1
  122. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +18 -1
  123. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +5 -2
  124. package/behaviors/registry/ui/core/molecules/ui-section.orb +22 -1
  125. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +22 -1
  126. package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +18 -1
  127. package/behaviors/registry/ui/core/molecules/ui-split.orb +22 -1
  128. package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +22 -1
  129. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +64 -4
  130. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +136 -1
  131. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +301 -1
  132. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +25 -1
  133. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +28 -1
  134. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +46 -1
  135. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +518 -102
  136. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +19 -1
  137. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +22 -1
  138. package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +40 -1
  139. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +196 -1
  140. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +521 -0
  141. package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +22 -1
  142. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +83 -14
  143. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +64 -8
  144. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +152 -14
  145. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +1140 -15
  146. package/behaviors/registry/ui/core/organisms/ui-form.orb +1140 -15
  147. package/behaviors/registry/ui/core/organisms/ui-master-detail.orb +22 -1
  148. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +71 -1
  149. package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +22 -1
  150. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +29 -1
  151. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +109 -2
  152. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +61 -7
  153. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +22 -1
  154. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +37 -7
  155. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +31 -1
  156. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +73 -1
  157. package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +22 -1
  158. package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +170 -4
  159. package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +695 -0
  160. package/behaviors/registry/ui/game/atoms/std-pickup.orb +835 -0
  161. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1613 -1062
  162. package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +269 -1
  163. package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +288 -1
  164. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +54 -1
  165. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +311 -1
  166. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +56 -1
  167. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +59 -20
  168. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +186 -7
  169. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +56 -1
  170. package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +233 -1
  171. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +137 -1
  172. package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +219 -1
  173. package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +951 -1
  174. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +512 -1
  175. package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +270 -1
  176. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +106 -1
  177. package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +85 -1
  178. package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +19 -1
  179. package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +128 -1
  180. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +168 -8
  181. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +151 -13
  182. package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +109 -1
  183. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +56 -1
  184. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +523 -1
  185. package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +112 -22
  186. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +24 -1
  187. package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +20 -1
  188. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +849 -1
  189. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +8 -4
  190. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +6 -3
  191. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +10 -5
  192. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +8 -4
  193. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +8 -4
  194. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +6 -3
  195. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +8 -4
  196. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -6
  197. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +8 -4
  198. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +6 -3
  199. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +289 -1
  200. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +424 -1
  201. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +925 -1
  202. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +970 -1
  203. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +351 -1
  204. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +610 -1
  205. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1049 -1
  206. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +2 -1
  207. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +2 -1
  208. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +2 -1
  209. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +2 -1
  210. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +2 -1
  211. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +2 -1
  212. package/behaviors/registry/ui/marketing/atoms/ui-community-links.orb +36 -1
  213. package/behaviors/registry/ui/marketing/atoms/ui-cta-banner.orb +27 -1
  214. package/behaviors/registry/ui/marketing/atoms/ui-hero-section.orb +39 -1
  215. package/behaviors/registry/ui/marketing/atoms/ui-marketing-footer.orb +55 -1
  216. package/behaviors/registry/ui/marketing/atoms/ui-pricing-card.orb +15 -1
  217. package/behaviors/registry/ui/marketing/atoms/ui-pricing-grid.orb +65 -1
  218. package/behaviors/registry/ui/marketing/atoms/ui-service-catalog.orb +19 -1
  219. package/behaviors/registry/ui/marketing/atoms/ui-showcase-card.orb +15 -1
  220. package/behaviors/registry/ui/marketing/atoms/ui-split-section.orb +15 -1
  221. package/behaviors/registry/ui/marketing/atoms/ui-stats-grid.orb +15 -1
  222. package/behaviors/registry/ui/marketing/atoms/ui-step-flow.orb +23 -1
  223. package/behaviors/registry/ui/marketing/atoms/ui-tag-cloud.orb +18 -1
  224. package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +84 -1
  225. package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +22 -1
  226. package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +22 -1
  227. package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +52 -1
  228. package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +22 -1
  229. package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +32 -1
  230. package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +22 -1
  231. package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +22 -1
  232. package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +22 -1
  233. package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +176 -1
  234. package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +147 -1
  235. package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +260 -1
  236. package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +98 -1
  237. package/dist/behaviors/exports-reader.js +3918 -2596
  238. package/dist/behaviors/functions/index.d.ts +469 -30
  239. package/dist/behaviors/functions/index.js +3906 -2597
  240. package/dist/behaviors/index.d.ts +2 -2
  241. package/dist/behaviors/index.js +3929 -2597
  242. package/dist/behaviors/query.d.ts +88 -4
  243. package/dist/behaviors/query.js +3929 -2597
  244. package/dist/behaviors-embeddings.hash.json +3 -3
  245. package/dist/behaviors-embeddings.json +19 -3
  246. package/dist/behaviors-registry.json +122305 -2637
  247. package/dist/index.d.ts +2 -2
  248. package/dist/index.js +3929 -2597
  249. package/dist/knob-embeddings.hash.json +3 -3
  250. package/dist/knob-embeddings.json +1 -1
  251. package/dist/registry/factory-signatures.json +1 -1
  252. package/package.json +3 -3
@@ -0,0 +1,695 @@
1
+ {
2
+ "description": "Headless pedagogy→fx translator for game boards and learning shells: turns high-level narrative events into big transient screen-space or world-space text effects consumed by std-fx-particles / fx-overlay. Levels emit NARRATE { text, style } and get a correctly styled, centered (or positioned) floating text burst without hand-rolling particle structs. Tutorials emit TUTORIAL_SHOW and the atom forwards SHOW to a composed std-tutorial-overlay trait. Renders nothing; centralizes the FX vocabulary so every level's teaching text looks and behaves the same.",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M1GXD11PARSZADDZ8Y7G9B7Q": {
6
+ "bakedName": "FxNarrativeData",
7
+ "curName": "FxNarrativeData",
8
+ "id": "ent_01M1GXD11PARSZADDZ8Y7G9B7Q",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M1GXD11P275CVD12BTSMGHMG": {
14
+ "bakedName": "NARRATE",
15
+ "curName": "NARRATE",
16
+ "id": "evt_01M1GXD11P275CVD12BTSMGHMG",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M1GXD11PQRAWJ148RYZKMP89",
20
+ "renames": []
21
+ },
22
+ "evt_01M1GXD11P8DQ245DKKYT5PENS": {
23
+ "bakedName": "BURST",
24
+ "curName": "BURST",
25
+ "id": "evt_01M1GXD11P8DQ245DKKYT5PENS",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M1GXD11PQRAWJ148RYZKMP89",
29
+ "renames": []
30
+ },
31
+ "evt_01M1GXD11PGZF578SKEZRCW4NE": {
32
+ "bakedName": "TUTORIAL_SHOW",
33
+ "curName": "TUTORIAL_SHOW",
34
+ "id": "evt_01M1GXD11PGZF578SKEZRCW4NE",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M1GXD11PQRAWJ148RYZKMP89",
38
+ "renames": []
39
+ },
40
+ "evt_01M1GXD11PWM4ZD15AH71VK0R6": {
41
+ "bakedName": "SHOW",
42
+ "curName": "SHOW",
43
+ "id": "evt_01M1GXD11PWM4ZD15AH71VK0R6",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M1GXD11PQRAWJ148RYZKMP89",
47
+ "renames": []
48
+ },
49
+ "evt_01M1GXD11PWRTBNZR8C3CFD49B": {
50
+ "bakedName": "INIT",
51
+ "curName": "INIT",
52
+ "id": "evt_01M1GXD11PWRTBNZR8C3CFD49B",
53
+ "kind": "event",
54
+ "owner": "workspace",
55
+ "parent": "trt_01M1GXD11PQRAWJ148RYZKMP89",
56
+ "renames": []
57
+ },
58
+ "orb_01M1GXD11PPXNETYN7PNPAC16B": {
59
+ "bakedName": "FxNarrativeOrbital",
60
+ "curName": "FxNarrativeOrbital",
61
+ "id": "orb_01M1GXD11PPXNETYN7PNPAC16B",
62
+ "kind": "orbital",
63
+ "owner": "workspace",
64
+ "renames": []
65
+ },
66
+ "pag_01M1GXD11P21C9P7AF9WQ68WS9": {
67
+ "bakedName": "FxNarrativePage",
68
+ "curName": "FxNarrativePage",
69
+ "id": "pag_01M1GXD11P21C9P7AF9WQ68WS9",
70
+ "kind": "page",
71
+ "owner": "workspace",
72
+ "renames": []
73
+ },
74
+ "trt_01M1GXD11PQRAWJ148RYZKMP89": {
75
+ "bakedName": "FxNarrative",
76
+ "curName": "FxNarrative",
77
+ "id": "trt_01M1GXD11PQRAWJ148RYZKMP89",
78
+ "kind": "trait",
79
+ "owner": "workspace",
80
+ "renames": []
81
+ }
82
+ },
83
+ "schemaVersion": 1
84
+ },
85
+ "name": "std-fx-narrative",
86
+ "orbitals": [
87
+ {
88
+ "entity": {
89
+ "fields": [
90
+ {
91
+ "name": "id",
92
+ "required": true,
93
+ "type": "string"
94
+ },
95
+ {
96
+ "default": 0.0,
97
+ "name": "seq",
98
+ "type": "number"
99
+ },
100
+ {
101
+ "default": "",
102
+ "name": "lastText",
103
+ "type": "string"
104
+ }
105
+ ],
106
+ "id": "ent_01M1GXD11PARSZADDZ8Y7G9B7Q",
107
+ "name": "FxNarrativeData",
108
+ "persistence": "runtime",
109
+ "shared": true
110
+ },
111
+ "id": "orb_01M1GXD11PPXNETYN7PNPAC16B",
112
+ "name": "FxNarrativeOrbital",
113
+ "pages": [
114
+ {
115
+ "id": "pag_01M1GXD11P21C9P7AF9WQ68WS9",
116
+ "name": "FxNarrativePage",
117
+ "path": "/fx-narrative",
118
+ "traits": [
119
+ {
120
+ "ref": "FxNarrative",
121
+ "refId": "trt_01M1GXD11PQRAWJ148RYZKMP89"
122
+ }
123
+ ]
124
+ }
125
+ ],
126
+ "traits": [
127
+ {
128
+ "category": "lifecycle",
129
+ "config": {
130
+ "running": {
131
+ "default": true,
132
+ "description": "When false all narrative events are ignored.",
133
+ "label": "Running",
134
+ "tier": "domain",
135
+ "type": "boolean"
136
+ },
137
+ "styles": {
138
+ "default": {
139
+ "celebrate": {
140
+ "color": "#facc15",
141
+ "effect": "sparkle",
142
+ "size": 0.9,
143
+ "ttl": 3.0
144
+ },
145
+ "fact": {
146
+ "color": "#38bdf8",
147
+ "effect": "float-text",
148
+ "size": 0.7,
149
+ "ttl": 3.0
150
+ },
151
+ "hint": {
152
+ "color": "#a78bfa",
153
+ "effect": "float-text",
154
+ "size": 0.6,
155
+ "ttl": 2.0
156
+ },
157
+ "warn": {
158
+ "color": "#f87171",
159
+ "effect": "shake",
160
+ "size": 0.6,
161
+ "ttl": 1.5
162
+ }
163
+ },
164
+ "description": "Map of narrative style to color, size, ttl, and effect. Override per game theme.",
165
+ "items": {
166
+ "properties": {
167
+ "color": {
168
+ "name": "color",
169
+ "required": true,
170
+ "type": "string"
171
+ },
172
+ "effect": {
173
+ "name": "effect",
174
+ "required": true,
175
+ "type": "string"
176
+ },
177
+ "size": {
178
+ "name": "size",
179
+ "required": true,
180
+ "type": "number"
181
+ },
182
+ "ttl": {
183
+ "name": "ttl",
184
+ "required": true,
185
+ "type": "number"
186
+ }
187
+ },
188
+ "type": "object"
189
+ },
190
+ "label": "Styles",
191
+ "tier": "presentation",
192
+ "type": "Map<string,StyleDef>"
193
+ }
194
+ },
195
+ "emits": [
196
+ {
197
+ "description": "Styled floating-text particle batch for std-fx-particles / fx-overlay.",
198
+ "event": "BURST",
199
+ "eventId": "evt_01M1GXD11P8DQ245DKKYT5PENS",
200
+ "payloadSchema": [
201
+ {
202
+ "name": "particles",
203
+ "type": "[FxParticle]"
204
+ }
205
+ ],
206
+ "scope": "external",
207
+ "tier": "domain"
208
+ },
209
+ {
210
+ "description": "Forwarded to a composed std-tutorial-overlay to open the tutorial modal.",
211
+ "event": "SHOW",
212
+ "eventId": "evt_01M1GXD11PWM4ZD15AH71VK0R6",
213
+ "payloadSchema": [
214
+ {
215
+ "name": "id",
216
+ "type": "string"
217
+ }
218
+ ],
219
+ "scope": "external",
220
+ "tier": "domain"
221
+ }
222
+ ],
223
+ "entityContract": {
224
+ "provides": [
225
+ "lastText",
226
+ "seq"
227
+ ],
228
+ "requires": []
229
+ },
230
+ "entityRebindable": true,
231
+ "entityRefIds": {
232
+ "FxNarrativeData": "ent_01M1GXD11PARSZADDZ8Y7G9B7Q"
233
+ },
234
+ "id": "trt_01M1GXD11PQRAWJ148RYZKMP89",
235
+ "linkedEntity": "FxNarrativeData",
236
+ "linkedEntityId": "ent_01M1GXD11PARSZADDZ8Y7G9B7Q",
237
+ "name": "FxNarrative",
238
+ "scope": "instance",
239
+ "stateMachine": {
240
+ "events": [
241
+ {
242
+ "id": "evt_01M1GXD11PWRTBNZR8C3CFD49B",
243
+ "key": "INIT",
244
+ "name": "Initialize"
245
+ },
246
+ {
247
+ "id": "evt_01M1GXD11P275CVD12BTSMGHMG",
248
+ "key": "NARRATE",
249
+ "name": "Narrate",
250
+ "payloadSchema": [
251
+ {
252
+ "name": "text",
253
+ "required": true,
254
+ "type": "string"
255
+ },
256
+ {
257
+ "name": "style",
258
+ "type": "string"
259
+ },
260
+ {
261
+ "name": "x",
262
+ "type": "number"
263
+ },
264
+ {
265
+ "name": "y",
266
+ "type": "number"
267
+ },
268
+ {
269
+ "name": "ttl",
270
+ "type": "number"
271
+ },
272
+ {
273
+ "name": "space",
274
+ "type": "string"
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "id": "evt_01M1GXD11PGZF578SKEZRCW4NE",
280
+ "key": "TUTORIAL_SHOW",
281
+ "name": "Tutorial Show",
282
+ "payloadSchema": [
283
+ {
284
+ "name": "text",
285
+ "type": "string"
286
+ },
287
+ {
288
+ "name": "title",
289
+ "type": "string"
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "description": "Styled floating-text particle batch for std-fx-particles / fx-overlay.",
295
+ "id": "evt_01M1GXD11P8DQ245DKKYT5PENS",
296
+ "key": "BURST",
297
+ "name": "Burst",
298
+ "payloadSchema": [
299
+ {
300
+ "name": "particles",
301
+ "type": "[FxParticle]"
302
+ }
303
+ ],
304
+ "tier": "domain"
305
+ },
306
+ {
307
+ "description": "Forwarded to a composed std-tutorial-overlay to open the tutorial modal.",
308
+ "id": "evt_01M1GXD11PWM4ZD15AH71VK0R6",
309
+ "key": "SHOW",
310
+ "name": "Show",
311
+ "payloadSchema": [
312
+ {
313
+ "name": "id",
314
+ "type": "string"
315
+ }
316
+ ],
317
+ "tier": "domain"
318
+ }
319
+ ],
320
+ "states": [
321
+ {
322
+ "isInitial": true,
323
+ "name": "active"
324
+ }
325
+ ],
326
+ "transitions": [
327
+ {
328
+ "effects": [
329
+ [
330
+ "set",
331
+ "@entity.seq",
332
+ 0.0
333
+ ],
334
+ [
335
+ "set",
336
+ "@entity.lastText",
337
+ ""
338
+ ]
339
+ ],
340
+ "event": "INIT",
341
+ "eventId": "evt_01M1GXD11PWRTBNZR8C3CFD49B",
342
+ "from": "active",
343
+ "to": "active"
344
+ },
345
+ {
346
+ "effects": [
347
+ [
348
+ "let",
349
+ [
350
+ [
351
+ "styleKey",
352
+ [
353
+ "if",
354
+ [
355
+ "==",
356
+ [
357
+ "object/get",
358
+ "@payload",
359
+ "style"
360
+ ],
361
+ null
362
+ ],
363
+ "fact",
364
+ [
365
+ "object/get",
366
+ "@payload",
367
+ "style"
368
+ ]
369
+ ]
370
+ ],
371
+ [
372
+ "styleDef",
373
+ [
374
+ "object/get",
375
+ "@config.styles",
376
+ "@styleKey"
377
+ ]
378
+ ],
379
+ [
380
+ "ttl",
381
+ [
382
+ "if",
383
+ [
384
+ "==",
385
+ [
386
+ "object/get",
387
+ "@payload",
388
+ "ttl"
389
+ ],
390
+ null
391
+ ],
392
+ [
393
+ "object/get",
394
+ "@styleDef",
395
+ "ttl"
396
+ ],
397
+ [
398
+ "object/get",
399
+ "@payload",
400
+ "ttl"
401
+ ]
402
+ ]
403
+ ],
404
+ [
405
+ "x",
406
+ [
407
+ "if",
408
+ [
409
+ "==",
410
+ [
411
+ "object/get",
412
+ "@payload",
413
+ "x"
414
+ ],
415
+ null
416
+ ],
417
+ 0.5,
418
+ [
419
+ "object/get",
420
+ "@payload",
421
+ "x"
422
+ ]
423
+ ]
424
+ ],
425
+ [
426
+ "y",
427
+ [
428
+ "if",
429
+ [
430
+ "==",
431
+ [
432
+ "object/get",
433
+ "@payload",
434
+ "y"
435
+ ],
436
+ null
437
+ ],
438
+ 0.25,
439
+ [
440
+ "object/get",
441
+ "@payload",
442
+ "y"
443
+ ]
444
+ ]
445
+ ],
446
+ [
447
+ "space",
448
+ [
449
+ "if",
450
+ [
451
+ "==",
452
+ [
453
+ "object/get",
454
+ "@payload",
455
+ "space"
456
+ ],
457
+ null
458
+ ],
459
+ "world",
460
+ [
461
+ "object/get",
462
+ "@payload",
463
+ "space"
464
+ ]
465
+ ]
466
+ ],
467
+ [
468
+ "text",
469
+ [
470
+ "object/get",
471
+ "@payload",
472
+ "text"
473
+ ]
474
+ ]
475
+ ],
476
+ [
477
+ "do",
478
+ [
479
+ "set",
480
+ "@entity.seq",
481
+ [
482
+ "+",
483
+ "@entity.seq",
484
+ 1.0
485
+ ]
486
+ ],
487
+ [
488
+ "set",
489
+ "@entity.lastText",
490
+ "@text"
491
+ ],
492
+ [
493
+ "emit",
494
+ "BURST",
495
+ {
496
+ "particles": [
497
+ {
498
+ "bornAt": [
499
+ "time/now"
500
+ ],
501
+ "color": [
502
+ "object/get",
503
+ "@styleDef",
504
+ "color"
505
+ ],
506
+ "effect": [
507
+ "object/get",
508
+ "@styleDef",
509
+ "effect"
510
+ ],
511
+ "id": [
512
+ "str/concat",
513
+ "narrative-",
514
+ "@entity.seq"
515
+ ],
516
+ "maxTtl": "@ttl",
517
+ "message": "@text",
518
+ "particleCount": 1.0,
519
+ "size": [
520
+ "object/get",
521
+ "@styleDef",
522
+ "size"
523
+ ],
524
+ "space": "@space",
525
+ "ttl": "@ttl",
526
+ "type": "narrative",
527
+ "vx": 0.0,
528
+ "vy": 0.0,
529
+ "vz": 0.0,
530
+ "x": "@x",
531
+ "y": 0.0,
532
+ "z": "@y"
533
+ }
534
+ ]
535
+ }
536
+ ]
537
+ ]
538
+ ]
539
+ ],
540
+ "event": "NARRATE",
541
+ "eventId": "evt_01M1GXD11P275CVD12BTSMGHMG",
542
+ "from": "active",
543
+ "guard": "@config.running",
544
+ "to": "active"
545
+ },
546
+ {
547
+ "effects": [
548
+ [
549
+ "emit",
550
+ "SHOW",
551
+ {
552
+ "id": "tutorial"
553
+ }
554
+ ]
555
+ ],
556
+ "event": "TUTORIAL_SHOW",
557
+ "eventId": "evt_01M1GXD11PGZF578SKEZRCW4NE",
558
+ "from": "active",
559
+ "guard": "@config.running",
560
+ "to": "active"
561
+ }
562
+ ]
563
+ }
564
+ }
565
+ ],
566
+ "types": {
567
+ "FxParticle": [
568
+ {
569
+ "name": "id",
570
+ "required": true,
571
+ "type": "string"
572
+ },
573
+ {
574
+ "name": "type",
575
+ "required": true,
576
+ "type": "string"
577
+ },
578
+ {
579
+ "name": "x",
580
+ "required": true,
581
+ "type": "number"
582
+ },
583
+ {
584
+ "name": "z",
585
+ "type": "number"
586
+ },
587
+ {
588
+ "name": "y",
589
+ "type": "number"
590
+ },
591
+ {
592
+ "name": "message",
593
+ "type": "string"
594
+ },
595
+ {
596
+ "name": "ttl",
597
+ "required": true,
598
+ "type": "number"
599
+ },
600
+ {
601
+ "name": "maxTtl",
602
+ "type": "number"
603
+ },
604
+ {
605
+ "name": "bornAt",
606
+ "type": "number"
607
+ },
608
+ {
609
+ "name": "space",
610
+ "type": "string"
611
+ },
612
+ {
613
+ "name": "effect",
614
+ "type": "string"
615
+ },
616
+ {
617
+ "name": "color",
618
+ "type": "string"
619
+ },
620
+ {
621
+ "name": "size",
622
+ "type": "number"
623
+ },
624
+ {
625
+ "name": "vx",
626
+ "type": "number"
627
+ },
628
+ {
629
+ "name": "vy",
630
+ "type": "number"
631
+ },
632
+ {
633
+ "name": "vz",
634
+ "type": "number"
635
+ },
636
+ {
637
+ "name": "particleCount",
638
+ "type": "number"
639
+ }
640
+ ],
641
+ "NarrativeCue": [
642
+ {
643
+ "name": "text",
644
+ "required": true,
645
+ "type": "string"
646
+ },
647
+ {
648
+ "name": "style",
649
+ "type": "string"
650
+ },
651
+ {
652
+ "name": "x",
653
+ "type": "number"
654
+ },
655
+ {
656
+ "name": "y",
657
+ "type": "number"
658
+ },
659
+ {
660
+ "name": "ttl",
661
+ "type": "number"
662
+ },
663
+ {
664
+ "name": "space",
665
+ "type": "string"
666
+ }
667
+ ],
668
+ "StyleDef": [
669
+ {
670
+ "name": "color",
671
+ "required": true,
672
+ "type": "string"
673
+ },
674
+ {
675
+ "name": "size",
676
+ "required": true,
677
+ "type": "number"
678
+ },
679
+ {
680
+ "name": "ttl",
681
+ "required": true,
682
+ "type": "number"
683
+ },
684
+ {
685
+ "name": "effect",
686
+ "required": true,
687
+ "type": "string"
688
+ }
689
+ ]
690
+ }
691
+ }
692
+ ],
693
+ "schemaVersion": 1,
694
+ "version": "1.0.0"
695
+ }