@almadar/std 8.3.0 → 8.4.1

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