@almadar/std 8.2.0 → 8.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  27. package/behaviors/registry/app/organisms/std-cms.orb +432 -432
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  29. package/behaviors/registry/app/organisms/std-crm.orb +813 -813
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  37. package/behaviors/registry/app/organisms/std-lms.orb +858 -858
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  42. package/behaviors/registry/core/atoms/std-browse.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  44. package/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +413 -413
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +50 -50
  50. package/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  51. package/behaviors/registry/core/atoms/std-modal.orb +13 -31
  52. package/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  53. package/behaviors/registry/core/atoms/std-push.orb +47 -47
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  55. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  56. package/behaviors/registry/core/atoms/std-search.orb +75 -75
  57. package/behaviors/registry/core/atoms/std-selection.orb +91 -91
  58. package/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  59. package/behaviors/registry/core/molecules/std-cart.orb +49 -49
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  62. package/behaviors/registry/core/molecules/std-list.orb +58 -58
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  64. package/behaviors/registry/game/atoms/std-collision.orb +132 -132
  65. package/behaviors/registry/game/atoms/std-combat.orb +59 -59
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  69. package/behaviors/registry/game/atoms/std-movement.orb +287 -287
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +266 -275
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  83. package/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  84. package/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +432 -432
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +813 -813
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +858 -858
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +64 -64
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +413 -413
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +50 -50
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +13 -31
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +47 -47
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +75 -75
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +91 -91
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +49 -49
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +58 -58
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +132 -132
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +59 -59
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +287 -287
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -275
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  187. package/package.json +1 -1
@@ -189,23 +189,23 @@
189
189
  "render-ui",
190
190
  "main",
191
191
  {
192
+ "type": "game-shell",
193
+ "showTopBar": true,
192
194
  "appName": "Arcade Game",
193
195
  "children": [
194
196
  {
195
197
  "type": "game-menu",
196
198
  "subtitle": "Main Menu",
199
+ "title": "Arcade",
197
200
  "menuItems": [
198
201
  {
199
- "variant": "primary",
202
+ "event": "START",
200
203
  "label": "Start Game",
201
- "event": "START"
204
+ "variant": "primary"
202
205
  }
203
- ],
204
- "title": "Arcade"
206
+ ]
205
207
  }
206
- ],
207
- "type": "game-shell",
208
- "showTopBar": true
208
+ ]
209
209
  }
210
210
  ]
211
211
  ]
@@ -219,11 +219,9 @@
219
219
  "render-ui",
220
220
  "main",
221
221
  {
222
- "type": "game-shell",
223
- "appName": "Arcade Game",
224
- "showTopBar": true,
225
222
  "children": [
226
223
  {
224
+ "type": "game-hud",
227
225
  "stats": [
228
226
  {
229
227
  "value": "@entity.score",
@@ -233,10 +231,12 @@
233
231
  "label": "Level",
234
232
  "value": "@entity.level"
235
233
  }
236
- ],
237
- "type": "game-hud"
234
+ ]
238
235
  }
239
- ]
236
+ ],
237
+ "appName": "Arcade Game",
238
+ "showTopBar": true,
239
+ "type": "game-shell"
240
240
  }
241
241
  ]
242
242
  ]
@@ -255,18 +255,18 @@
255
255
  "render-ui",
256
256
  "modal",
257
257
  {
258
- "type": "game-menu",
259
258
  "title": "Paused",
259
+ "type": "game-menu",
260
260
  "menuItems": [
261
261
  {
262
- "event": "RESUME",
263
262
  "variant": "primary",
264
- "label": "Resume"
263
+ "label": "Resume",
264
+ "event": "RESUME"
265
265
  },
266
266
  {
267
- "variant": "ghost",
267
+ "event": "RESTART",
268
268
  "label": "Quit",
269
- "event": "RESTART"
269
+ "variant": "ghost"
270
270
  }
271
271
  ]
272
272
  }
@@ -282,20 +282,20 @@
282
282
  "render-ui",
283
283
  "main",
284
284
  {
285
- "appName": "Arcade Game",
286
285
  "children": [
287
286
  {
287
+ "type": "game-over-screen",
288
+ "title": "Game Over",
288
289
  "stats": [
289
290
  {
290
- "label": "Score",
291
- "value": "@entity.score"
291
+ "value": "@entity.score",
292
+ "label": "Score"
292
293
  },
293
294
  {
294
- "label": "Level",
295
- "value": "@entity.level"
295
+ "value": "@entity.level",
296
+ "label": "Level"
296
297
  }
297
298
  ],
298
- "type": "game-over-screen",
299
299
  "menuItems": [
300
300
  {
301
301
  "variant": "primary",
@@ -304,14 +304,14 @@
304
304
  },
305
305
  {
306
306
  "variant": "secondary",
307
- "event": "RESTART",
308
- "label": "Main Menu"
307
+ "label": "Main Menu",
308
+ "event": "RESTART"
309
309
  }
310
- ],
311
- "title": "Game Over"
310
+ ]
312
311
  }
313
312
  ],
314
313
  "type": "game-shell",
314
+ "appName": "Arcade Game",
315
315
  "showTopBar": true
316
316
  }
317
317
  ]
@@ -336,6 +336,9 @@
336
336
  "render-ui",
337
337
  "main",
338
338
  {
339
+ "type": "game-shell",
340
+ "appName": "Arcade Game",
341
+ "showTopBar": true,
339
342
  "children": [
340
343
  {
341
344
  "type": "game-hud",
@@ -350,10 +353,7 @@
350
353
  }
351
354
  ]
352
355
  }
353
- ],
354
- "appName": "Arcade Game",
355
- "showTopBar": true,
356
- "type": "game-shell"
356
+ ]
357
357
  }
358
358
  ]
359
359
  ]
@@ -372,24 +372,24 @@
372
372
  "render-ui",
373
373
  "main",
374
374
  {
375
+ "type": "game-shell",
375
376
  "appName": "Arcade Game",
376
- "showTopBar": true,
377
377
  "children": [
378
378
  {
379
379
  "stats": [
380
380
  {
381
- "value": "@entity.score",
382
- "label": "Score"
381
+ "label": "Score",
382
+ "value": "@entity.score"
383
383
  },
384
384
  {
385
- "value": "@entity.level",
386
- "label": "Level"
385
+ "label": "Level",
386
+ "value": "@entity.level"
387
387
  }
388
388
  ],
389
389
  "type": "game-hud"
390
390
  }
391
391
  ],
392
- "type": "game-shell"
392
+ "showTopBar": true
393
393
  }
394
394
  ]
395
395
  ]
@@ -408,23 +408,23 @@
408
408
  "render-ui",
409
409
  "main",
410
410
  {
411
- "type": "game-shell",
412
- "showTopBar": true,
413
411
  "appName": "Arcade Game",
412
+ "showTopBar": true,
414
413
  "children": [
415
414
  {
416
- "subtitle": "Main Menu",
417
415
  "menuItems": [
418
416
  {
419
417
  "event": "START",
420
- "variant": "primary",
421
- "label": "Start Game"
418
+ "label": "Start Game",
419
+ "variant": "primary"
422
420
  }
423
421
  ],
424
- "title": "Arcade",
425
- "type": "game-menu"
422
+ "type": "game-menu",
423
+ "subtitle": "Main Menu",
424
+ "title": "Arcade"
426
425
  }
427
- ]
426
+ ],
427
+ "type": "game-shell"
428
428
  }
429
429
  ]
430
430
  ]
@@ -438,22 +438,22 @@
438
438
  "render-ui",
439
439
  "main",
440
440
  {
441
- "showTopBar": true,
442
- "type": "game-shell",
443
441
  "children": [
444
442
  {
443
+ "title": "Arcade",
444
+ "subtitle": "Main Menu",
445
+ "type": "game-menu",
445
446
  "menuItems": [
446
447
  {
447
- "event": "START",
448
448
  "variant": "primary",
449
- "label": "Start Game"
449
+ "label": "Start Game",
450
+ "event": "START"
450
451
  }
451
- ],
452
- "subtitle": "Main Menu",
453
- "type": "game-menu",
454
- "title": "Arcade"
452
+ ]
455
453
  }
456
454
  ],
455
+ "type": "game-shell",
456
+ "showTopBar": true,
457
457
  "appName": "Arcade Game"
458
458
  }
459
459
  ]
@@ -639,51 +639,51 @@
639
639
  "type": "game-shell",
640
640
  "children": [
641
641
  {
642
+ "type": "stack",
643
+ "gap": "md",
642
644
  "direction": "vertical",
643
645
  "children": [
644
646
  {
645
- "direction": "horizontal",
646
- "type": "stack",
647
647
  "gap": "sm",
648
648
  "children": [
649
649
  {
650
- "name": "monitor",
651
- "type": "icon"
650
+ "type": "icon",
651
+ "name": "monitor"
652
652
  },
653
653
  {
654
+ "type": "typography",
654
655
  "content": "ArcadeCanvas Canvas",
655
- "variant": "h3",
656
- "type": "typography"
656
+ "variant": "h3"
657
657
  }
658
658
  ],
659
+ "direction": "horizontal",
660
+ "type": "stack",
659
661
  "align": "center"
660
662
  },
661
663
  {
662
- "type": "typography",
663
- "content": "800x600 @ 60fps",
664
+ "variant": "caption",
664
665
  "color": "muted",
665
- "variant": "caption"
666
+ "type": "typography",
667
+ "content": "800x600 @ 60fps"
666
668
  },
667
669
  {
668
- "width": 800.0,
669
- "height": 600.0,
670
670
  "type": "game-canvas-2d",
671
- "fps": 60.0
671
+ "fps": 60.0,
672
+ "width": 800.0,
673
+ "height": 600.0
672
674
  },
673
675
  {
674
676
  "type": "button",
675
677
  "action": "START",
678
+ "label": "Start",
676
679
  "icon": "play",
677
- "variant": "primary",
678
- "label": "Start"
680
+ "variant": "primary"
679
681
  }
680
- ],
681
- "type": "stack",
682
- "gap": "md"
682
+ ]
683
683
  }
684
684
  ],
685
- "appName": "Arcade Game",
686
- "showTopBar": true
685
+ "showTopBar": true,
686
+ "appName": "Arcade Game"
687
687
  }
688
688
  ]
689
689
  ]
@@ -697,13 +697,16 @@
697
697
  "render-ui",
698
698
  "main",
699
699
  {
700
- "appName": "Arcade Game",
700
+ "type": "game-shell",
701
701
  "children": [
702
702
  {
703
703
  "type": "stack",
704
+ "direction": "vertical",
705
+ "gap": "md",
704
706
  "children": [
705
707
  {
706
- "align": "center",
708
+ "direction": "horizontal",
709
+ "type": "stack",
707
710
  "children": [
708
711
  {
709
712
  "type": "icon",
@@ -711,33 +714,30 @@
711
714
  },
712
715
  {
713
716
  "content": "ArcadeCanvas Canvas",
714
- "variant": "h3",
715
- "type": "typography"
717
+ "type": "typography",
718
+ "variant": "h3"
716
719
  }
717
720
  ],
718
- "type": "stack",
719
- "direction": "horizontal",
720
- "gap": "sm"
721
+ "gap": "sm",
722
+ "align": "center"
721
723
  },
722
724
  {
723
- "type": "game-canvas-2d",
725
+ "fps": 60.0,
724
726
  "height": 600.0,
725
727
  "width": 800.0,
726
- "fps": 60.0
728
+ "type": "game-canvas-2d"
727
729
  },
728
730
  {
729
- "action": "STOP",
730
- "label": "Stop",
731
731
  "type": "button",
732
+ "label": "Stop",
732
733
  "variant": "ghost",
733
- "icon": "square"
734
+ "icon": "square",
735
+ "action": "STOP"
734
736
  }
735
- ],
736
- "gap": "md",
737
- "direction": "vertical"
737
+ ]
738
738
  }
739
739
  ],
740
- "type": "game-shell",
740
+ "appName": "Arcade Game",
741
741
  "showTopBar": true
742
742
  }
743
743
  ]
@@ -757,14 +757,16 @@
757
757
  "render-ui",
758
758
  "main",
759
759
  {
760
- "type": "game-shell",
761
- "showTopBar": true,
762
760
  "children": [
763
761
  {
762
+ "gap": "md",
763
+ "direction": "vertical",
764
+ "type": "stack",
764
765
  "children": [
765
766
  {
766
- "type": "stack",
767
+ "gap": "sm",
767
768
  "direction": "horizontal",
769
+ "type": "stack",
768
770
  "align": "center",
769
771
  "children": [
770
772
  {
@@ -772,38 +774,36 @@
772
774
  "type": "icon"
773
775
  },
774
776
  {
775
- "type": "typography",
777
+ "content": "ArcadeCanvas Canvas",
776
778
  "variant": "h3",
777
- "content": "ArcadeCanvas Canvas"
779
+ "type": "typography"
778
780
  }
779
- ],
780
- "gap": "sm"
781
+ ]
781
782
  },
782
783
  {
783
784
  "content": "800x600 @ 60fps",
784
- "color": "muted",
785
785
  "variant": "caption",
786
- "type": "typography"
786
+ "type": "typography",
787
+ "color": "muted"
787
788
  },
788
789
  {
790
+ "type": "game-canvas-2d",
789
791
  "height": 600.0,
790
792
  "fps": 60.0,
791
- "width": 800.0,
792
- "type": "game-canvas-2d"
793
+ "width": 800.0
793
794
  },
794
795
  {
795
- "action": "START",
796
- "variant": "primary",
797
796
  "label": "Start",
797
+ "variant": "primary",
798
798
  "type": "button",
799
- "icon": "play"
799
+ "icon": "play",
800
+ "action": "START"
800
801
  }
801
- ],
802
- "type": "stack",
803
- "direction": "vertical",
804
- "gap": "md"
802
+ ]
805
803
  }
806
804
  ],
805
+ "showTopBar": true,
806
+ "type": "game-shell",
807
807
  "appName": "Arcade Game"
808
808
  }
809
809
  ]
@@ -1031,8 +1031,8 @@
1031
1031
  "ArcadeScore",
1032
1032
  {
1033
1033
  "emit": {
1034
- "failure": "ArcadeScoreLoadFailed",
1035
- "success": "ArcadeScoreLoaded"
1034
+ "success": "ArcadeScoreLoaded",
1035
+ "failure": "ArcadeScoreLoadFailed"
1036
1036
  }
1037
1037
  }
1038
1038
  ],
@@ -1040,19 +1040,19 @@
1040
1040
  "render-ui",
1041
1041
  "main",
1042
1042
  {
1043
- "showTopBar": true,
1044
- "appName": "Arcade Game",
1045
- "type": "game-shell",
1046
1043
  "children": [
1047
1044
  {
1045
+ "type": "score-board",
1048
1046
  "combo": "@entity.combo",
1047
+ "multiplier": "@entity.multiplier",
1049
1048
  "level": "@entity.level",
1050
- "type": "score-board",
1051
- "highScore": "@entity.highScore",
1052
1049
  "score": "@entity.score",
1053
- "multiplier": "@entity.multiplier"
1050
+ "highScore": "@entity.highScore"
1054
1051
  }
1055
- ]
1052
+ ],
1053
+ "type": "game-shell",
1054
+ "showTopBar": true,
1055
+ "appName": "Arcade Game"
1056
1056
  }
1057
1057
  ]
1058
1058
  ]
@@ -1084,19 +1084,19 @@
1084
1084
  "render-ui",
1085
1085
  "main",
1086
1086
  {
1087
+ "showTopBar": true,
1088
+ "appName": "Arcade Game",
1087
1089
  "children": [
1088
1090
  {
1091
+ "score": "@entity.score",
1089
1092
  "combo": "@entity.combo",
1090
1093
  "highScore": "@entity.highScore",
1091
1094
  "multiplier": "@entity.multiplier",
1092
1095
  "type": "score-board",
1093
- "score": "@entity.score",
1094
1096
  "level": "@entity.level"
1095
1097
  }
1096
1098
  ],
1097
- "type": "game-shell",
1098
- "showTopBar": true,
1099
- "appName": "Arcade Game"
1099
+ "type": "game-shell"
1100
1100
  }
1101
1101
  ]
1102
1102
  ]
@@ -1115,18 +1115,18 @@
1115
1115
  "render-ui",
1116
1116
  "main",
1117
1117
  {
1118
+ "showTopBar": true,
1119
+ "appName": "Arcade Game",
1118
1120
  "children": [
1119
1121
  {
1120
- "multiplier": "@entity.multiplier",
1121
- "score": "@entity.score",
1122
1122
  "combo": "@entity.combo",
1123
+ "type": "score-board",
1123
1124
  "level": "@entity.level",
1124
- "highScore": "@entity.highScore",
1125
- "type": "score-board"
1125
+ "score": "@entity.score",
1126
+ "multiplier": "@entity.multiplier",
1127
+ "highScore": "@entity.highScore"
1126
1128
  }
1127
1129
  ],
1128
- "appName": "Arcade Game",
1129
- "showTopBar": true,
1130
1130
  "type": "game-shell"
1131
1131
  }
1132
1132
  ]
@@ -1156,18 +1156,18 @@
1156
1156
  "render-ui",
1157
1157
  "main",
1158
1158
  {
1159
+ "appName": "Arcade Game",
1159
1160
  "type": "game-shell",
1160
1161
  "children": [
1161
1162
  {
1162
- "combo": "@entity.combo",
1163
- "score": "@entity.score",
1164
- "type": "score-board",
1165
- "multiplier": "@entity.multiplier",
1166
1163
  "highScore": "@entity.highScore",
1164
+ "multiplier": "@entity.multiplier",
1165
+ "type": "score-board",
1166
+ "score": "@entity.score",
1167
+ "combo": "@entity.combo",
1167
1168
  "level": "@entity.level"
1168
1169
  }
1169
1170
  ],
1170
- "appName": "Arcade Game",
1171
1171
  "showTopBar": true
1172
1172
  }
1173
1173
  ]
@@ -1343,32 +1343,32 @@
1343
1343
  "main",
1344
1344
  {
1345
1345
  "type": "game-shell",
1346
- "showTopBar": true,
1347
1346
  "children": [
1348
1347
  {
1349
- "type": "game-hud",
1350
- "transparent": false,
1351
1348
  "stats": [
1352
1349
  {
1353
- "label": "Score",
1354
- "value": "@entity.score"
1350
+ "value": "@entity.score",
1351
+ "label": "Score"
1355
1352
  },
1356
1353
  {
1357
1354
  "label": "Lives",
1358
1355
  "value": "@entity.lives"
1359
1356
  },
1360
1357
  {
1361
- "label": "Level",
1362
- "value": "@entity.level"
1358
+ "value": "@entity.level",
1359
+ "label": "Level"
1363
1360
  },
1364
1361
  {
1365
- "label": "Timer",
1366
- "value": "@entity.timer"
1362
+ "value": "@entity.timer",
1363
+ "label": "Timer"
1367
1364
  }
1368
1365
  ],
1369
- "position": "top-left"
1366
+ "position": "top-left",
1367
+ "type": "game-hud",
1368
+ "transparent": false
1370
1369
  }
1371
1370
  ],
1371
+ "showTopBar": true,
1372
1372
  "appName": "Arcade Game"
1373
1373
  }
1374
1374
  ]
@@ -1384,8 +1384,8 @@
1384
1384
  "ArcadeHud",
1385
1385
  {
1386
1386
  "emit": {
1387
- "success": "ArcadeHudLoaded",
1388
- "failure": "ArcadeHudLoadFailed"
1387
+ "failure": "ArcadeHudLoadFailed",
1388
+ "success": "ArcadeHudLoaded"
1389
1389
  }
1390
1390
  }
1391
1391
  ],
@@ -1393,10 +1393,12 @@
1393
1393
  "render-ui",
1394
1394
  "main",
1395
1395
  {
1396
- "type": "game-shell",
1397
1396
  "showTopBar": true,
1397
+ "type": "game-shell",
1398
+ "appName": "Arcade Game",
1398
1399
  "children": [
1399
1400
  {
1401
+ "type": "game-hud",
1400
1402
  "stats": [
1401
1403
  {
1402
1404
  "label": "Score",
@@ -1415,12 +1417,10 @@
1415
1417
  "label": "Timer"
1416
1418
  }
1417
1419
  ],
1418
- "transparent": false,
1419
1420
  "position": "top-left",
1420
- "type": "game-hud"
1421
+ "transparent": false
1421
1422
  }
1422
- ],
1423
- "appName": "Arcade Game"
1423
+ ]
1424
1424
  }
1425
1425
  ]
1426
1426
  ]
@@ -1443,4 +1443,4 @@
1443
1443
  ]
1444
1444
  }
1445
1445
  ]
1446
- }
1446
+ }