@almadar/std 16.235.0 → 16.237.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 (283) hide show
  1. package/behaviors/behaviors-registry.json +5621 -1993
  2. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +32 -41
  3. package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +0 -5
  4. package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +0 -24
  5. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -17
  6. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +17 -24
  7. package/behaviors/lolo/infra/atoms/std-data-import.lolo +8 -11
  8. package/behaviors/lolo/infra/atoms/std-game-clock.lolo +2 -0
  9. package/behaviors/lolo/infra/atoms/std-knowledge-loop.lolo +0 -5
  10. package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -1
  11. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +2 -2
  12. package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
  13. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +25 -11
  14. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
  15. package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +28 -11
  16. package/behaviors/lolo/infra/atoms/std-rate-limiter.lolo +84 -22
  17. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +1 -6
  18. package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +3 -1
  19. package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +0 -4
  20. package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +0 -4
  21. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +12 -0
  22. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +55 -9
  23. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +6 -2
  24. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +19 -14
  25. package/behaviors/lolo/ui/core/atoms/std-board.lolo +77 -27
  26. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +76 -33
  27. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +7 -3
  28. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +25 -13
  29. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +5 -0
  30. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +32 -5
  31. package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
  32. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +15 -4
  33. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
  34. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
  35. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -0
  36. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +20 -4
  37. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +2 -2
  38. package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
  39. package/behaviors/lolo/ui/core/atoms/std-list.lolo +53 -32
  40. package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
  41. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
  42. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
  43. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +29 -13
  44. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +14 -1
  45. package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
  46. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +84 -16
  47. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +22 -10
  48. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +5 -5
  49. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -0
  50. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +41 -73
  51. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +27 -12
  52. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +0 -4
  53. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
  54. package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +21 -0
  55. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +36 -0
  56. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
  57. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
  58. package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
  59. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +6 -1
  60. package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +11 -1
  61. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +13 -8
  62. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +11 -6
  63. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +2 -2
  64. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +8 -0
  65. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +60 -5
  66. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +47 -3
  67. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
  68. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +31 -9
  69. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +8 -3
  70. package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +6 -1
  71. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +13 -0
  72. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  73. package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
  74. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +6 -1
  75. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +6 -1
  76. package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +6 -1
  77. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +9 -1
  78. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
  79. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
  80. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
  81. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +7 -1
  82. package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +6 -1
  83. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +5 -0
  84. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +11 -1
  85. package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +1 -1
  86. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +44 -15
  87. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +57 -5
  88. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
  89. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +87 -16
  90. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +37 -10
  91. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +46 -8
  92. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -10
  93. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +57 -10
  94. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +57 -10
  95. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +22 -3
  96. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
  97. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
  98. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +38 -5
  99. package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
  100. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -45
  101. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +7 -2
  102. package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
  103. package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
  104. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
  105. package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
  106. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +9 -3
  107. package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
  108. package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +2 -2
  109. package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +0 -4
  110. package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +2 -66
  111. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +0 -4
  112. package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +0 -4
  113. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +6 -6
  114. package/behaviors/lolo-behavior-contracts.json +1 -1
  115. package/behaviors/registry/factory-signatures.json +1 -1
  116. package/behaviors/registry/infra/atoms/std-approval-gate.orb +194 -67
  117. package/behaviors/registry/infra/atoms/std-audit-capture.orb +0 -8
  118. package/behaviors/registry/infra/atoms/std-cache-aside.orb +0 -84
  119. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -44
  120. package/behaviors/registry/infra/atoms/std-data-erasure.orb +124 -55
  121. package/behaviors/registry/infra/atoms/std-data-import.orb +12 -11
  122. package/behaviors/registry/infra/atoms/std-game-clock.orb +31 -0
  123. package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +0 -57
  124. package/behaviors/registry/infra/atoms/std-lifecycle.orb +43 -0
  125. package/behaviors/registry/infra/atoms/std-migration-job.orb +26 -1
  126. package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
  127. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +135 -12
  128. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
  129. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +137 -12
  130. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +287 -72
  131. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +5 -8
  132. package/behaviors/registry/ml/atoms/std-graph-builder.orb +11 -0
  133. package/behaviors/registry/ml/atoms/std-ml-classify.orb +0 -7
  134. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +0 -7
  135. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +82 -0
  136. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +417 -9
  137. package/behaviors/registry/ui/core/atoms/std-app-search.orb +53 -1
  138. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +209 -19
  139. package/behaviors/registry/ui/core/atoms/std-board.orb +242 -61
  140. package/behaviors/registry/ui/core/atoms/std-browse.orb +499 -49
  141. package/behaviors/registry/ui/core/atoms/std-calendar.orb +96 -2
  142. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +122 -15
  143. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +11 -0
  144. package/behaviors/registry/ui/core/atoms/std-event-log.orb +42 -6
  145. package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
  146. package/behaviors/registry/ui/core/atoms/std-file-store.orb +121 -3
  147. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
  148. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
  149. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +5 -0
  150. package/behaviors/registry/ui/core/atoms/std-graphs.orb +173 -66
  151. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +4 -0
  152. package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
  153. package/behaviors/registry/ui/core/atoms/std-list.orb +237 -34
  154. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
  155. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
  156. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
  157. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +275 -14
  158. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +93 -4
  159. package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
  160. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +473 -19
  161. package/behaviors/registry/ui/core/atoms/std-selection.orb +179 -10
  162. package/behaviors/registry/ui/core/atoms/std-stats.orb +73 -1
  163. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +3 -0
  164. package/behaviors/registry/ui/core/atoms/std-thread.orb +190 -115
  165. package/behaviors/registry/ui/core/atoms/std-version-history.orb +138 -14
  166. package/behaviors/registry/ui/core/atoms/std-vote.orb +0 -9
  167. package/behaviors/registry/ui/core/atoms/std-wizard.orb +33 -3
  168. package/behaviors/registry/ui/core/atoms/ui-presence.orb +59 -0
  169. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +132 -0
  170. package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
  171. package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
  172. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  173. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +53 -1
  174. package/behaviors/registry/ui/core/molecules/ui-chart.orb +68 -1
  175. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +291 -8
  176. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +89 -6
  177. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +3 -2
  178. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +32 -0
  179. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +297 -5
  180. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +261 -3
  181. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
  182. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +93 -24
  183. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +121 -3
  184. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +53 -1
  185. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +40 -0
  186. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +0 -1
  187. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
  188. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +53 -1
  189. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +53 -1
  190. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +53 -1
  191. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +28 -1
  192. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
  193. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
  194. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  195. package/behaviors/registry/ui/core/molecules/ui-menu.orb +74 -1
  196. package/behaviors/registry/ui/core/molecules/ui-meter.orb +53 -1
  197. package/behaviors/registry/ui/core/molecules/ui-modal.orb +8 -0
  198. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +60 -1
  199. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
  200. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +393 -23
  201. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +337 -5
  202. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
  203. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +415 -33
  204. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +340 -29
  205. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +296 -20
  206. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +489 -9
  207. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +132 -13
  208. package/behaviors/registry/ui/core/organisms/ui-form.orb +132 -13
  209. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +141 -3
  210. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
  211. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
  212. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +159 -8
  213. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
  214. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -173
  215. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -2
  216. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
  217. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  218. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
  219. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +100 -3
  220. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
  221. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -0
  222. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +0 -7
  223. package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -807
  224. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +0 -7
  225. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +0 -7
  226. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +6 -0
  227. package/canonical-operators.json +18 -1
  228. package/dist/behaviors/exports-reader.js +8942 -3946
  229. package/dist/behaviors/functions/index.d.ts +419 -132
  230. package/dist/behaviors/functions/index.js +8931 -3946
  231. package/dist/behaviors/index.d.ts +1 -1
  232. package/dist/behaviors/index.js +8943 -3947
  233. package/dist/behaviors/query.js +8942 -3946
  234. package/dist/behaviors-embeddings.hash.json +3 -3
  235. package/dist/behaviors-embeddings.json +49 -41
  236. package/dist/behaviors-registry.json +5621 -1993
  237. package/dist/index.d.ts +3 -3
  238. package/dist/index.js +8960 -3947
  239. package/dist/knob-embeddings.hash.json +3 -3
  240. package/dist/knob-embeddings.json +774 -374
  241. package/dist/modules/anim.d.ts +1 -1
  242. package/dist/modules/array.d.ts +1 -1
  243. package/dist/modules/array.js +15 -0
  244. package/dist/modules/async.d.ts +1 -1
  245. package/dist/modules/behavior.d.ts +1 -1
  246. package/dist/modules/browser.d.ts +1 -1
  247. package/dist/modules/composition.d.ts +1 -1
  248. package/dist/modules/contract.d.ts +1 -1
  249. package/dist/modules/core.d.ts +1 -1
  250. package/dist/modules/core.js +2 -0
  251. package/dist/modules/data.d.ts +1 -1
  252. package/dist/modules/ease.d.ts +1 -1
  253. package/dist/modules/format.d.ts +1 -1
  254. package/dist/modules/geo.d.ts +1 -1
  255. package/dist/modules/graph.d.ts +1 -1
  256. package/dist/modules/grid.d.ts +1 -1
  257. package/dist/modules/index.d.ts +1 -1
  258. package/dist/modules/index.js +17 -0
  259. package/dist/modules/integration.d.ts +1 -1
  260. package/dist/modules/json.d.ts +1 -1
  261. package/dist/modules/llm.d.ts +1 -1
  262. package/dist/modules/math.d.ts +1 -1
  263. package/dist/modules/memory.d.ts +1 -1
  264. package/dist/modules/nn.d.ts +1 -1
  265. package/dist/modules/noise.d.ts +1 -1
  266. package/dist/modules/object.d.ts +1 -1
  267. package/dist/modules/os.d.ts +1 -1
  268. package/dist/modules/path.d.ts +1 -1
  269. package/dist/modules/prob.d.ts +1 -1
  270. package/dist/modules/session.d.ts +1 -1
  271. package/dist/modules/str.d.ts +1 -1
  272. package/dist/modules/tensor.d.ts +1 -1
  273. package/dist/modules/time.d.ts +1 -1
  274. package/dist/modules/trace.d.ts +1 -1
  275. package/dist/modules/train.d.ts +1 -1
  276. package/dist/modules/validate.d.ts +1 -1
  277. package/dist/modules/vector.d.ts +1 -1
  278. package/dist/modules/workspace.d.ts +1 -1
  279. package/dist/registry/factory-signatures.json +1 -1
  280. package/dist/registry.d.ts +2 -2
  281. package/dist/registry.js +17 -0
  282. package/dist/{types-Ggla7OK7.d.ts → types-DLx38UFZ.d.ts} +23 -3
  283. package/package.json +3 -3
@@ -46,15 +46,6 @@
46
46
  "parent": "trt_01KXG04TAATRX8PKKYZ2W1WQ3K",
47
47
  "renames": []
48
48
  },
49
- "evt_01KXG04TADXBY5RKKJ8HPNBXBQ": {
50
- "bakedName": "CounterTemplateLoaded",
51
- "curName": "CounterTemplateLoaded",
52
- "id": "evt_01KXG04TADXBY5RKKJ8HPNBXBQ",
53
- "kind": "event",
54
- "owner": "workspace",
55
- "parent": "trt_01KXG04TAATRX8PKKYZ2W1WQ3K",
56
- "renames": []
57
- },
58
49
  "orb_01KXG04TAAS05A5AT0PK9N6VAR": {
59
50
  "bakedName": "CounterTemplateOrbital",
60
51
  "curName": "CounterTemplateOrbital",
@@ -194,13 +185,6 @@
194
185
  "tier": "presentation",
195
186
  "type": "event"
196
187
  },
197
- "selfFetch": {
198
- "default": true,
199
- "description": "true (default) = standalone mount self-populates on INIT. false = a composing atom owns the fetch and routes its loaded event here — suppresses the wrapper's own un-hydrated fetch so it cannot race the composer's.",
200
- "label": "Fetch its own rows on mount?",
201
- "tier": "internal",
202
- "type": "boolean"
203
- },
204
188
  "showReset": {
205
189
  "default": true,
206
190
  "description": "Show reset button",
@@ -221,7 +205,6 @@
221
205
  ]
222
206
  },
223
207
  "title": {
224
- "default": "Counter",
225
208
  "description": "Title displayed above the counter",
226
209
  "label": "Title",
227
210
  "tier": "presentation",
@@ -274,52 +257,6 @@
274
257
  "eventId": "evt_01KXG04TADKWPZVDR2YXHJ9EQX",
275
258
  "scope": "external",
276
259
  "tier": "essential"
277
- },
278
- {
279
- "description": "CounterTemplate rows finished loading; payload.data holds the collection.",
280
- "event": "CounterTemplateLoaded",
281
- "eventId": "evt_01KXG04TADXBY5RKKJ8HPNBXBQ",
282
- "payloadSchema": [
283
- {
284
- "entity": "CounterTemplateItem",
285
- "name": "data",
286
- "properties": [
287
- {
288
- "name": "id",
289
- "required": true,
290
- "type": "string"
291
- },
292
- {
293
- "name": "count",
294
- "type": "number"
295
- },
296
- {
297
- "name": "decrementDisabled",
298
- "type": "boolean"
299
- },
300
- {
301
- "name": "incrementDisabled",
302
- "type": "boolean"
303
- },
304
- {
305
- "name": "decrementLabel",
306
- "type": "string"
307
- },
308
- {
309
- "name": "incrementLabel",
310
- "type": "string"
311
- },
312
- {
313
- "name": "rangeText",
314
- "type": "string"
315
- }
316
- ],
317
- "type": "[object]"
318
- }
319
- ],
320
- "scope": "internal",
321
- "synonyms": "loaded, fetched, retrieved",
322
- "tier": "essential"
323
260
  }
324
261
  ],
325
262
  "entityContract": {
@@ -342,52 +279,6 @@
342
279
  "key": "INIT",
343
280
  "name": "Initialize"
344
281
  },
345
- {
346
- "description": "CounterTemplate rows finished loading; payload.data holds the collection.",
347
- "id": "evt_01KXG04TADXBY5RKKJ8HPNBXBQ",
348
- "key": "CounterTemplateLoaded",
349
- "name": "Counter template loaded",
350
- "payloadSchema": [
351
- {
352
- "entity": "CounterTemplateItem",
353
- "name": "data",
354
- "properties": [
355
- {
356
- "name": "id",
357
- "required": true,
358
- "type": "string"
359
- },
360
- {
361
- "name": "count",
362
- "type": "number"
363
- },
364
- {
365
- "name": "decrementDisabled",
366
- "type": "boolean"
367
- },
368
- {
369
- "name": "incrementDisabled",
370
- "type": "boolean"
371
- },
372
- {
373
- "name": "decrementLabel",
374
- "type": "string"
375
- },
376
- {
377
- "name": "incrementLabel",
378
- "type": "string"
379
- },
380
- {
381
- "name": "rangeText",
382
- "type": "string"
383
- }
384
- ],
385
- "type": "[object]"
386
- }
387
- ],
388
- "synonyms": "loaded, fetched, retrieved",
389
- "tier": "essential"
390
- },
391
282
  {
392
283
  "description": "Called when increment is clicked",
393
284
  "id": "evt_01KXG04TADGEMAVSQP576EWT36",
@@ -422,11 +313,7 @@
422
313
  [
423
314
  "fetch",
424
315
  "CounterTemplateItem",
425
- {
426
- "emit": {
427
- "success": "CounterTemplateLoaded"
428
- }
429
- }
316
+ {}
430
317
  ],
431
318
  [
432
319
  "render-ui",
@@ -451,65 +338,6 @@
451
338
  "event": "INIT",
452
339
  "eventId": "evt_01KXG04TAAZBPQE4K43H6GG762",
453
340
  "from": "idle",
454
- "guard": "@config.selfFetch",
455
- "to": "idle"
456
- },
457
- {
458
- "effects": [
459
- [
460
- "render-ui",
461
- "main",
462
- {
463
- "className": "@config.className",
464
- "decrementEvent": "@config.decrementEvent",
465
- "entity": "@entity",
466
- "incrementEvent": "@config.incrementEvent",
467
- "onDecrement": "@config.onDecrement",
468
- "onIncrement": "@config.onIncrement",
469
- "onReset": "@config.onReset",
470
- "resetEvent": "@config.resetEvent",
471
- "showReset": "@config.showReset",
472
- "size": "@config.size",
473
- "title": "@config.title",
474
- "type": "counter-template",
475
- "variant": "@config.variant"
476
- }
477
- ]
478
- ],
479
- "event": "INIT",
480
- "eventId": "evt_01KXG04TAAZBPQE4K43H6GG762",
481
- "from": "idle",
482
- "guard": [
483
- "not",
484
- "@config.selfFetch"
485
- ],
486
- "to": "idle"
487
- },
488
- {
489
- "effects": [
490
- [
491
- "render-ui",
492
- "main",
493
- {
494
- "className": "@config.className",
495
- "decrementEvent": "@config.decrementEvent",
496
- "entity": "@payload.data",
497
- "incrementEvent": "@config.incrementEvent",
498
- "onDecrement": "@config.onDecrement",
499
- "onIncrement": "@config.onIncrement",
500
- "onReset": "@config.onReset",
501
- "resetEvent": "@config.resetEvent",
502
- "showReset": "@config.showReset",
503
- "size": "@config.size",
504
- "title": "@config.title",
505
- "type": "counter-template",
506
- "variant": "@config.variant"
507
- }
508
- ]
509
- ],
510
- "event": "CounterTemplateLoaded",
511
- "eventId": "evt_01KXG04TADXBY5RKKJ8HPNBXBQ",
512
- "from": "idle",
513
341
  "to": "idle"
514
342
  }
515
343
  ]
@@ -117,7 +117,6 @@
117
117
  "category": "interaction",
118
118
  "config": {
119
119
  "appName": {
120
- "default": "{{APP_TITLE}}",
121
120
  "description": "App name shown in sidebar",
122
121
  "label": "App Name",
123
122
  "tier": "presentation",
@@ -331,6 +330,14 @@
331
330
  "required": false,
332
331
  "type": "string"
333
332
  },
333
+ "roles": {
334
+ "items": {
335
+ "type": "string"
336
+ },
337
+ "name": "roles",
338
+ "required": false,
339
+ "type": "array"
340
+ },
334
341
  "variant": {
335
342
  "name": "variant",
336
343
  "required": false,
@@ -370,6 +377,13 @@
370
377
  },
371
378
  "tier": "presentation",
372
379
  "type": "DashboardLayoutUser"
380
+ },
381
+ "viewerRole": {
382
+ "default": "",
383
+ "description": "The viewer's role that each action's `roles` is checked against; bind it at the call site (e.g. `viewerRole: @user.role`). Empty = only actions with no `roles` show.",
384
+ "label": "Viewer's role",
385
+ "tier": "policy",
386
+ "type": "string"
373
387
  }
374
388
  },
375
389
  "effectRow": [
@@ -517,7 +531,40 @@
517
531
  "showThemeToggle": "@config.showThemeToggle",
518
532
  "sidebarContent": "@config.sidebarContent",
519
533
  "sidebarFooter": "@config.sidebarFooter",
520
- "topBarActions": "@config.topBarActions",
534
+ "topBarActions": [
535
+ "array/filter",
536
+ "@config.topBarActions",
537
+ [
538
+ "fn",
539
+ "action",
540
+ [
541
+ "or",
542
+ [
543
+ "=",
544
+ [
545
+ "array/len",
546
+ [
547
+ "object/get",
548
+ "@action",
549
+ "roles",
550
+ []
551
+ ]
552
+ ],
553
+ 0.0
554
+ ],
555
+ [
556
+ "array/includes",
557
+ [
558
+ "object/get",
559
+ "@action",
560
+ "roles",
561
+ []
562
+ ],
563
+ "@config.viewerRole"
564
+ ]
565
+ ]
566
+ ]
567
+ ],
521
568
  "type": "dashboard-layout",
522
569
  "user": "@config.user"
523
570
  }
@@ -631,6 +678,10 @@
631
678
  {
632
679
  "name": "variant",
633
680
  "type": "string"
681
+ },
682
+ {
683
+ "name": "roles",
684
+ "type": "[string]"
634
685
  }
635
686
  ],
636
687
  "DashboardLayoutUser": [
@@ -19,15 +19,6 @@
19
19
  "parent": "trt_01KXG04TDBVMKKGGKC4SF9M7JS",
20
20
  "renames": []
21
21
  },
22
- "evt_01KXG04TDEP7KJSJF4M4V70Q4J": {
23
- "bakedName": "GenericAppTemplateLoaded",
24
- "curName": "GenericAppTemplateLoaded",
25
- "id": "evt_01KXG04TDEP7KJSJF4M4V70Q4J",
26
- "kind": "event",
27
- "owner": "workspace",
28
- "parent": "trt_01KXG04TDBVMKKGGKC4SF9M7JS",
29
- "renames": []
30
- },
31
22
  "orb_01KXG04TDB3TJHM94ZTY58DP7F": {
32
23
  "bakedName": "GenericAppTemplateOrbital",
33
24
  "curName": "GenericAppTemplateOrbital",
@@ -113,13 +104,6 @@
113
104
  "tier": "presentation",
114
105
  "type": "node"
115
106
  },
116
- "selfFetch": {
117
- "default": true,
118
- "description": "true (default) = standalone mount self-populates on INIT. false = a composing atom owns the fetch and routes its loaded event here — suppresses the wrapper's own un-hydrated fetch so it cannot race the composer's.",
119
- "label": "Fetch its own rows on mount?",
120
- "tier": "internal",
121
- "type": "boolean"
122
- },
123
107
  "subtitle": {
124
108
  "description": "Subtitle or description",
125
109
  "label": "Subtitle",
@@ -144,30 +128,6 @@
144
128
  "resource": "main"
145
129
  }
146
130
  ],
147
- "emits": [
148
- {
149
- "description": "GenericAppTemplate rows finished loading; payload.data holds the collection.",
150
- "event": "GenericAppTemplateLoaded",
151
- "eventId": "evt_01KXG04TDEP7KJSJF4M4V70Q4J",
152
- "payloadSchema": [
153
- {
154
- "entity": "GenericAppTemplateItem",
155
- "name": "data",
156
- "properties": [
157
- {
158
- "name": "id",
159
- "required": true,
160
- "type": "string"
161
- }
162
- ],
163
- "type": "[object]"
164
- }
165
- ],
166
- "scope": "internal",
167
- "synonyms": "loaded, fetched, retrieved",
168
- "tier": "essential"
169
- }
170
- ],
171
131
  "entityContract": {
172
132
  "provides": [],
173
133
  "requires": []
@@ -187,28 +147,6 @@
187
147
  "id": "evt_01KXG04TDBE232FYBJ4V8RCY1J",
188
148
  "key": "INIT",
189
149
  "name": "Initialize"
190
- },
191
- {
192
- "description": "GenericAppTemplate rows finished loading; payload.data holds the collection.",
193
- "id": "evt_01KXG04TDEP7KJSJF4M4V70Q4J",
194
- "key": "GenericAppTemplateLoaded",
195
- "name": "Generic app template loaded",
196
- "payloadSchema": [
197
- {
198
- "entity": "GenericAppTemplateItem",
199
- "name": "data",
200
- "properties": [
201
- {
202
- "name": "id",
203
- "required": true,
204
- "type": "string"
205
- }
206
- ],
207
- "type": "[object]"
208
- }
209
- ],
210
- "synonyms": "loaded, fetched, retrieved",
211
- "tier": "essential"
212
150
  }
213
151
  ],
214
152
  "states": [
@@ -223,11 +161,7 @@
223
161
  [
224
162
  "fetch",
225
163
  "GenericAppTemplateItem",
226
- {
227
- "emit": {
228
- "success": "GenericAppTemplateLoaded"
229
- }
230
- }
164
+ {}
231
165
  ],
232
166
  [
233
167
  "render-ui",
@@ -247,55 +181,6 @@
247
181
  "event": "INIT",
248
182
  "eventId": "evt_01KXG04TDBE232FYBJ4V8RCY1J",
249
183
  "from": "idle",
250
- "guard": "@config.selfFetch",
251
- "to": "idle"
252
- },
253
- {
254
- "effects": [
255
- [
256
- "render-ui",
257
- "main",
258
- {
259
- "children": "@config.children",
260
- "className": "@config.className",
261
- "entity": "@entity",
262
- "footer": "@config.footer",
263
- "headerActions": "@config.headerActions",
264
- "subtitle": "@config.subtitle",
265
- "title": "@config.title",
266
- "type": "generic-app-template"
267
- }
268
- ]
269
- ],
270
- "event": "INIT",
271
- "eventId": "evt_01KXG04TDBE232FYBJ4V8RCY1J",
272
- "from": "idle",
273
- "guard": [
274
- "not",
275
- "@config.selfFetch"
276
- ],
277
- "to": "idle"
278
- },
279
- {
280
- "effects": [
281
- [
282
- "render-ui",
283
- "main",
284
- {
285
- "children": "@config.children",
286
- "className": "@config.className",
287
- "entity": "@payload.data",
288
- "footer": "@config.footer",
289
- "headerActions": "@config.headerActions",
290
- "subtitle": "@config.subtitle",
291
- "title": "@config.title",
292
- "type": "generic-app-template"
293
- }
294
- ]
295
- ],
296
- "event": "GenericAppTemplateLoaded",
297
- "eventId": "evt_01KXG04TDEP7KJSJF4M4V70Q4J",
298
- "from": "idle",
299
184
  "to": "idle"
300
185
  }
301
186
  ]
@@ -248,7 +248,7 @@
248
248
  "type": "boolean"
249
249
  },
250
250
  "text": {
251
- "default": "Charge forward into the fray",
251
+ "default": "",
252
252
  "description": "Choice text content",
253
253
  "label": "Text",
254
254
  "tier": "presentation",
@@ -208,14 +208,13 @@
208
208
  "type": "number"
209
209
  },
210
210
  "speaker": {
211
- "default": "Hero",
212
211
  "description": "Speaker name displayed at the top",
213
212
  "label": "Speaker",
214
213
  "tier": "presentation",
215
214
  "type": "string"
216
215
  },
217
216
  "text": {
218
- "default": "The dungeon awaits. Choose your path wisely.",
217
+ "default": "",
219
218
  "description": "Dialogue text content",
220
219
  "label": "Text",
221
220
  "tier": "presentation",
@@ -222,6 +222,14 @@
222
222
  "required": false,
223
223
  "type": "string"
224
224
  },
225
+ "roles": {
226
+ "items": {
227
+ "type": "string"
228
+ },
229
+ "name": "roles",
230
+ "required": false,
231
+ "type": "array"
232
+ },
225
233
  "subLabel": {
226
234
  "name": "subLabel",
227
235
  "required": false,
@@ -276,6 +284,14 @@
276
284
  "required": false,
277
285
  "type": "string"
278
286
  },
287
+ "roles": {
288
+ "items": {
289
+ "type": "string"
290
+ },
291
+ "name": "roles",
292
+ "required": false,
293
+ "type": "array"
294
+ },
279
295
  "subLabel": {
280
296
  "name": "subLabel",
281
297
  "required": false,
@@ -300,11 +316,18 @@
300
316
  "type": "string"
301
317
  },
302
318
  "title": {
303
- "default": "Epic Quest",
319
+ "default": "",
304
320
  "description": "Menu title",
305
321
  "label": "Title",
306
322
  "tier": "presentation",
307
323
  "type": "string"
324
+ },
325
+ "viewerRole": {
326
+ "default": "",
327
+ "description": "The viewer's role that each action's `roles` is checked against; bind it at the call site (e.g. `viewerRole: @user.role`). Empty = only actions with no `roles` show.",
328
+ "label": "Viewer's role",
329
+ "tier": "policy",
330
+ "type": "string"
308
331
  }
309
332
  },
310
333
  "effectRow": [
@@ -441,9 +464,75 @@
441
464
  "background": "@config.background",
442
465
  "className": "@config.className",
443
466
  "logo": "@config.logo",
444
- "menuItems": "@config.menuItems",
467
+ "menuItems": [
468
+ "array/filter",
469
+ "@config.menuItems",
470
+ [
471
+ "fn",
472
+ "action",
473
+ [
474
+ "or",
475
+ [
476
+ "=",
477
+ [
478
+ "array/len",
479
+ [
480
+ "object/get",
481
+ "@action",
482
+ "roles",
483
+ []
484
+ ]
485
+ ],
486
+ 0.0
487
+ ],
488
+ [
489
+ "array/includes",
490
+ [
491
+ "object/get",
492
+ "@action",
493
+ "roles",
494
+ []
495
+ ],
496
+ "@config.viewerRole"
497
+ ]
498
+ ]
499
+ ]
500
+ ],
445
501
  "onSelect": "@config.onSelect",
446
- "options": "@config.options",
502
+ "options": [
503
+ "array/filter",
504
+ "@config.options",
505
+ [
506
+ "fn",
507
+ "action",
508
+ [
509
+ "or",
510
+ [
511
+ "=",
512
+ [
513
+ "array/len",
514
+ [
515
+ "object/get",
516
+ "@action",
517
+ "roles",
518
+ []
519
+ ]
520
+ ],
521
+ 0.0
522
+ ],
523
+ [
524
+ "array/includes",
525
+ [
526
+ "object/get",
527
+ "@action",
528
+ "roles",
529
+ []
530
+ ],
531
+ "@config.viewerRole"
532
+ ]
533
+ ]
534
+ ]
535
+ ],
447
536
  "subtitle": "@config.subtitle",
448
537
  "title": "@config.title",
449
538
  "type": "game-menu"
@@ -542,6 +631,10 @@
542
631
  {
543
632
  "name": "subLabel",
544
633
  "type": "string"
634
+ },
635
+ {
636
+ "name": "roles",
637
+ "type": "[string]"
545
638
  }
546
639
  ],
547
640
  "GameMenuOptionsItem": [
@@ -573,6 +666,10 @@
573
666
  {
574
667
  "name": "subLabel",
575
668
  "type": "string"
669
+ },
670
+ {
671
+ "name": "roles",
672
+ "type": "[string]"
576
673
  }
577
674
  ],
578
675
  "GameMenuSELECTOption": [
@@ -190,7 +190,6 @@
190
190
  "type": "string"
191
191
  },
192
192
  "locale": {
193
- "default": "en-US",
194
193
  "description": "Number formatting locale",
195
194
  "label": "Locale",
196
195
  "tier": "presentation",
@@ -2587,6 +2587,11 @@
2587
2587
  {
2588
2588
  "items": "@entity.fx",
2589
2589
  "presets": "@config.fxPresets",
2590
+ "sprites": [
2591
+ "object/get",
2592
+ "@config.assetManifest",
2593
+ "effects"
2594
+ ],
2590
2595
  "tickMs": 500.0,
2591
2596
  "type": "draw-fx-layer"
2592
2597
  }
@@ -3538,6 +3543,11 @@
3538
3543
  {
3539
3544
  "items": "@entity.fx",
3540
3545
  "presets": "@config.fxPresets",
3546
+ "sprites": [
3547
+ "object/get",
3548
+ "@config.assetManifest",
3549
+ "effects"
3550
+ ],
3541
3551
  "tickMs": 500.0,
3542
3552
  "type": "draw-fx-layer"
3543
3553
  }