@almadar/std 10.0.0 → 11.0.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 +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  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 +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  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 +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +47 -47
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  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 +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  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 +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  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 +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  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 +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +47 -47
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -324,8 +324,8 @@
324
324
  "PlatLevel",
325
325
  {
326
326
  "emit": {
327
- "success": "PlatLevelLoaded",
328
- "failure": "PlatLevelLoadFailed"
327
+ "failure": "PlatLevelLoadFailed",
328
+ "success": "PlatLevelLoaded"
329
329
  }
330
330
  }
331
331
  ],
@@ -333,13 +333,12 @@
333
333
  "render-ui",
334
334
  "main",
335
335
  {
336
- "showTopBar": true,
337
- "appName": "Platformer App",
336
+ "type": "game-shell",
338
337
  "children": [
339
338
  {
340
339
  "subtitle": "Side-Scrolling Adventure",
341
- "type": "game-menu",
342
340
  "title": "Platformer",
341
+ "type": "game-menu",
343
342
  "menuItems": [
344
343
  {
345
344
  "variant": "primary",
@@ -349,7 +348,8 @@
349
348
  ]
350
349
  }
351
350
  ],
352
- "type": "game-shell"
351
+ "showTopBar": true,
352
+ "appName": "Platformer App"
353
353
  }
354
354
  ]
355
355
  ]
@@ -363,24 +363,24 @@
363
363
  "render-ui",
364
364
  "main",
365
365
  {
366
+ "type": "game-shell",
366
367
  "children": [
367
368
  {
368
369
  "leftEvent": "LEFT",
369
- "worldHeight": 400.0,
370
- "canvasWidth": 800.0,
371
- "bgColor": "#1a1a2e",
372
370
  "type": "platformer-canvas",
371
+ "canvasWidth": 800.0,
373
372
  "canvasHeight": 400.0,
373
+ "stopEvent": "STOP",
374
374
  "worldWidth": 2400.0,
375
- "rightEvent": "RIGHT",
376
375
  "followCamera": true,
377
- "stopEvent": "STOP",
378
- "jumpEvent": "JUMP"
376
+ "bgColor": "#1a1a2e",
377
+ "jumpEvent": "JUMP",
378
+ "worldHeight": 400.0,
379
+ "rightEvent": "RIGHT"
379
380
  }
380
381
  ],
381
- "type": "game-shell",
382
- "showTopBar": true,
383
- "appName": "Platformer App"
382
+ "appName": "Platformer App",
383
+ "showTopBar": true
384
384
  }
385
385
  ]
386
386
  ]
@@ -421,18 +421,18 @@
421
421
  {
422
422
  "menuItems": [
423
423
  {
424
- "variant": "primary",
425
424
  "label": "Resume",
426
- "event": "RESUME"
425
+ "event": "RESUME",
426
+ "variant": "primary"
427
427
  },
428
428
  {
429
- "variant": "ghost",
430
429
  "event": "RESTART",
430
+ "variant": "ghost",
431
431
  "label": "Quit"
432
432
  }
433
433
  ],
434
- "type": "game-menu",
435
- "title": "Paused"
434
+ "title": "Paused",
435
+ "type": "game-menu"
436
436
  }
437
437
  ]
438
438
  ]
@@ -448,7 +448,6 @@
448
448
  {
449
449
  "children": [
450
450
  {
451
- "title": "Game Over",
452
451
  "menuItems": [
453
452
  {
454
453
  "label": "Play Again",
@@ -456,27 +455,28 @@
456
455
  "variant": "primary"
457
456
  },
458
457
  {
459
- "event": "RESTART",
460
458
  "variant": "secondary",
461
- "label": "Main Menu"
459
+ "label": "Main Menu",
460
+ "event": "RESTART"
462
461
  }
463
462
  ],
463
+ "title": "Game Over",
464
464
  "stats": [
465
465
  {
466
466
  "value": "@entity.score",
467
467
  "label": "Score"
468
468
  },
469
469
  {
470
- "label": "Lives",
471
- "value": "@entity.lives"
470
+ "value": "@entity.lives",
471
+ "label": "Lives"
472
472
  }
473
473
  ],
474
474
  "type": "game-over-screen"
475
475
  }
476
476
  ],
477
+ "showTopBar": true,
477
478
  "type": "game-shell",
478
- "appName": "Platformer App",
479
- "showTopBar": true
479
+ "appName": "Platformer App"
480
480
  }
481
481
  ]
482
482
  ]
@@ -501,22 +501,22 @@
501
501
  "main",
502
502
  {
503
503
  "type": "game-shell",
504
- "showTopBar": true,
505
504
  "children": [
506
505
  {
507
- "worldHeight": 400.0,
506
+ "canvasHeight": 400.0,
508
507
  "jumpEvent": "JUMP",
508
+ "type": "platformer-canvas",
509
509
  "stopEvent": "STOP",
510
- "followCamera": true,
511
- "canvasHeight": 400.0,
512
510
  "worldWidth": 2400.0,
513
- "type": "platformer-canvas",
511
+ "worldHeight": 400.0,
514
512
  "leftEvent": "LEFT",
515
- "rightEvent": "RIGHT",
516
513
  "bgColor": "#1a1a2e",
517
- "canvasWidth": 800.0
514
+ "canvasWidth": 800.0,
515
+ "followCamera": true,
516
+ "rightEvent": "RIGHT"
518
517
  }
519
518
  ],
519
+ "showTopBar": true,
520
520
  "appName": "Platformer App"
521
521
  }
522
522
  ]
@@ -536,24 +536,24 @@
536
536
  "render-ui",
537
537
  "main",
538
538
  {
539
- "showTopBar": true,
539
+ "type": "game-shell",
540
540
  "children": [
541
541
  {
542
- "canvasHeight": 400.0,
543
- "worldHeight": 400.0,
544
- "followCamera": true,
545
542
  "bgColor": "#1a1a2e",
546
543
  "worldWidth": 2400.0,
544
+ "worldHeight": 400.0,
547
545
  "leftEvent": "LEFT",
548
- "rightEvent": "RIGHT",
549
- "type": "platformer-canvas",
550
546
  "stopEvent": "STOP",
547
+ "followCamera": true,
548
+ "type": "platformer-canvas",
549
+ "canvasHeight": 400.0,
551
550
  "canvasWidth": 800.0,
552
- "jumpEvent": "JUMP"
551
+ "jumpEvent": "JUMP",
552
+ "rightEvent": "RIGHT"
553
553
  }
554
554
  ],
555
555
  "appName": "Platformer App",
556
- "type": "game-shell"
556
+ "showTopBar": true
557
557
  }
558
558
  ]
559
559
  ]
@@ -574,21 +574,21 @@
574
574
  {
575
575
  "children": [
576
576
  {
577
- "type": "game-menu",
577
+ "title": "Platformer",
578
578
  "subtitle": "Side-Scrolling Adventure",
579
+ "type": "game-menu",
579
580
  "menuItems": [
580
581
  {
582
+ "label": "Start Game",
581
583
  "event": "START",
582
- "variant": "primary",
583
- "label": "Start Game"
584
+ "variant": "primary"
584
585
  }
585
- ],
586
- "title": "Platformer"
586
+ ]
587
587
  }
588
588
  ],
589
+ "type": "game-shell",
589
590
  "appName": "Platformer App",
590
- "showTopBar": true,
591
- "type": "game-shell"
591
+ "showTopBar": true
592
592
  }
593
593
  ]
594
594
  ]
@@ -602,22 +602,22 @@
602
602
  "render-ui",
603
603
  "main",
604
604
  {
605
- "type": "game-shell",
606
605
  "children": [
607
606
  {
608
607
  "title": "Platformer",
609
- "type": "game-menu",
610
- "subtitle": "Side-Scrolling Adventure",
611
608
  "menuItems": [
612
609
  {
610
+ "event": "START",
613
611
  "variant": "primary",
614
- "label": "Start Game",
615
- "event": "START"
612
+ "label": "Start Game"
616
613
  }
617
- ]
614
+ ],
615
+ "subtitle": "Side-Scrolling Adventure",
616
+ "type": "game-menu"
618
617
  }
619
618
  ],
620
619
  "appName": "Platformer App",
620
+ "type": "game-shell",
621
621
  "showTopBar": true
622
622
  }
623
623
  ]
@@ -730,8 +730,8 @@
730
730
  "PlatLevel",
731
731
  {
732
732
  "emit": {
733
- "success": "PlatLevelLoaded",
734
- "failure": "PlatLevelLoadFailed"
733
+ "failure": "PlatLevelLoadFailed",
734
+ "success": "PlatLevelLoaded"
735
735
  }
736
736
  }
737
737
  ]
@@ -746,26 +746,26 @@
746
746
  "render-ui",
747
747
  "main",
748
748
  {
749
+ "appName": "Platformer App",
749
750
  "type": "game-shell",
750
751
  "showTopBar": true,
751
752
  "children": [
752
753
  {
753
- "canvasWidth": 800.0,
754
- "player": "@entity.player",
755
- "canvasHeight": 400.0,
754
+ "type": "platformer-canvas",
755
+ "platforms": "@entity.platforms",
756
+ "worldWidth": 2400.0,
756
757
  "followCamera": true,
757
- "jumpEvent": "JUMP",
758
+ "canvasHeight": 400.0,
758
759
  "worldHeight": 400.0,
759
- "worldWidth": 2400.0,
760
- "type": "platformer-canvas",
761
- "stopEvent": "STOP",
760
+ "bgColor": "#1a1a2e",
762
761
  "leftEvent": "LEFT",
762
+ "canvasWidth": 800.0,
763
763
  "rightEvent": "RIGHT",
764
- "bgColor": "#1a1a2e",
765
- "platforms": "@entity.platforms"
764
+ "stopEvent": "STOP",
765
+ "player": "@entity.player",
766
+ "jumpEvent": "JUMP"
766
767
  }
767
- ],
768
- "appName": "Platformer App"
768
+ ]
769
769
  }
770
770
  ]
771
771
  ]
@@ -796,24 +796,24 @@
796
796
  {
797
797
  "appName": "Platformer App",
798
798
  "showTopBar": true,
799
+ "type": "game-shell",
799
800
  "children": [
800
801
  {
801
- "leftEvent": "LEFT",
802
+ "canvasHeight": 400.0,
802
803
  "type": "platformer-canvas",
803
804
  "worldHeight": 400.0,
804
- "bgColor": "#1a1a2e",
805
- "jumpEvent": "JUMP",
806
- "worldWidth": 2400.0,
807
- "canvasWidth": 800.0,
805
+ "stopEvent": "STOP",
808
806
  "player": "@entity.player",
809
- "canvasHeight": 400.0,
807
+ "platforms": "@entity.platforms",
810
808
  "followCamera": true,
811
- "stopEvent": "STOP",
809
+ "jumpEvent": "JUMP",
812
810
  "rightEvent": "RIGHT",
813
- "platforms": "@entity.platforms"
811
+ "bgColor": "#1a1a2e",
812
+ "worldWidth": 2400.0,
813
+ "canvasWidth": 800.0,
814
+ "leftEvent": "LEFT"
814
815
  }
815
- ],
816
- "type": "game-shell"
816
+ ]
817
817
  }
818
818
  ]
819
819
  ]
@@ -998,18 +998,18 @@
998
998
  "main",
999
999
  {
1000
1000
  "type": "game-shell",
1001
+ "appName": "Platformer App",
1001
1002
  "showTopBar": true,
1002
1003
  "children": [
1003
1004
  {
1004
- "type": "score-board",
1005
+ "combo": "@entity.combo",
1005
1006
  "highScore": "@entity.highScore",
1006
- "multiplier": "@entity.multiplier",
1007
1007
  "score": "@entity.score",
1008
- "combo": "@entity.combo",
1008
+ "multiplier": "@entity.multiplier",
1009
+ "type": "score-board",
1009
1010
  "level": "@entity.level"
1010
1011
  }
1011
- ],
1012
- "appName": "Platformer App"
1012
+ ]
1013
1013
  }
1014
1014
  ]
1015
1015
  ]
@@ -1041,19 +1041,19 @@
1041
1041
  "render-ui",
1042
1042
  "main",
1043
1043
  {
1044
+ "appName": "Platformer App",
1045
+ "type": "game-shell",
1044
1046
  "showTopBar": true,
1045
1047
  "children": [
1046
1048
  {
1047
- "score": "@entity.score",
1048
- "type": "score-board",
1049
1049
  "combo": "@entity.combo",
1050
- "multiplier": "@entity.multiplier",
1050
+ "highScore": "@entity.highScore",
1051
+ "score": "@entity.score",
1051
1052
  "level": "@entity.level",
1052
- "highScore": "@entity.highScore"
1053
+ "multiplier": "@entity.multiplier",
1054
+ "type": "score-board"
1053
1055
  }
1054
- ],
1055
- "type": "game-shell",
1056
- "appName": "Platformer App"
1056
+ ]
1057
1057
  }
1058
1058
  ]
1059
1059
  ]
@@ -1072,19 +1072,19 @@
1072
1072
  "render-ui",
1073
1073
  "main",
1074
1074
  {
1075
- "appName": "Platformer App",
1076
- "showTopBar": true,
1077
1075
  "type": "game-shell",
1076
+ "showTopBar": true,
1078
1077
  "children": [
1079
1078
  {
1079
+ "combo": "@entity.combo",
1080
+ "highScore": "@entity.highScore",
1081
+ "type": "score-board",
1080
1082
  "multiplier": "@entity.multiplier",
1081
1083
  "level": "@entity.level",
1082
- "type": "score-board",
1083
- "score": "@entity.score",
1084
- "highScore": "@entity.highScore",
1085
- "combo": "@entity.combo"
1084
+ "score": "@entity.score"
1086
1085
  }
1087
- ]
1086
+ ],
1087
+ "appName": "Platformer App"
1088
1088
  }
1089
1089
  ]
1090
1090
  ]
@@ -1115,17 +1115,17 @@
1115
1115
  {
1116
1116
  "children": [
1117
1117
  {
1118
+ "score": "@entity.score",
1119
+ "type": "score-board",
1118
1120
  "highScore": "@entity.highScore",
1119
1121
  "combo": "@entity.combo",
1120
- "type": "score-board",
1121
- "score": "@entity.score",
1122
1122
  "multiplier": "@entity.multiplier",
1123
1123
  "level": "@entity.level"
1124
1124
  }
1125
1125
  ],
1126
+ "showTopBar": true,
1126
1127
  "type": "game-shell",
1127
- "appName": "Platformer App",
1128
- "showTopBar": true
1128
+ "appName": "Platformer App"
1129
1129
  }
1130
1130
  ]
1131
1131
  ]
@@ -1290,8 +1290,8 @@
1290
1290
  "Collectible",
1291
1291
  {
1292
1292
  "emit": {
1293
- "success": "CollectibleLoaded",
1294
- "failure": "CollectibleLoadFailed"
1293
+ "failure": "CollectibleLoadFailed",
1294
+ "success": "CollectibleLoaded"
1295
1295
  }
1296
1296
  }
1297
1297
  ],
@@ -1304,17 +1304,17 @@
1304
1304
  "type": "spinner"
1305
1305
  },
1306
1306
  {
1307
- "color": "muted",
1308
1307
  "content": "Loading…",
1308
+ "type": "typography",
1309
1309
  "variant": "caption",
1310
- "type": "typography"
1310
+ "color": "muted"
1311
1311
  }
1312
1312
  ],
1313
- "direction": "vertical",
1313
+ "className": "py-12",
1314
1314
  "type": "stack",
1315
1315
  "align": "center",
1316
- "gap": "md",
1317
- "className": "py-12"
1316
+ "direction": "vertical",
1317
+ "gap": "md"
1318
1318
  }
1319
1319
  ]
1320
1320
  ]
@@ -1329,50 +1329,48 @@
1329
1329
  "main",
1330
1330
  {
1331
1331
  "type": "game-shell",
1332
- "appName": "Platformer App",
1333
- "showTopBar": true,
1334
1332
  "children": [
1335
1333
  {
1336
1334
  "type": "stack",
1337
- "direction": "vertical",
1338
- "gap": "lg",
1339
1335
  "className": "max-w-5xl mx-auto w-full",
1336
+ "gap": "lg",
1337
+ "direction": "vertical",
1340
1338
  "children": [
1341
1339
  {
1342
- "direction": "horizontal",
1343
1340
  "justify": "between",
1344
- "gap": "md",
1345
1341
  "align": "center",
1342
+ "gap": "md",
1346
1343
  "type": "stack",
1344
+ "direction": "horizontal",
1347
1345
  "children": [
1348
1346
  {
1349
1347
  "gap": "sm",
1348
+ "direction": "horizontal",
1349
+ "type": "stack",
1350
+ "align": "center",
1350
1351
  "children": [
1351
1352
  {
1352
1353
  "name": "package",
1353
1354
  "type": "icon"
1354
1355
  },
1355
1356
  {
1356
- "content": "Collectibles",
1357
1357
  "type": "typography",
1358
+ "content": "Collectibles",
1358
1359
  "variant": "h2"
1359
1360
  }
1360
- ],
1361
- "direction": "horizontal",
1362
- "type": "stack",
1363
- "align": "center"
1361
+ ]
1364
1362
  },
1365
1363
  {
1364
+ "gap": "sm",
1366
1365
  "children": [
1367
1366
  {
1368
- "type": "button",
1367
+ "icon": "plus",
1369
1368
  "variant": "primary",
1369
+ "action": "ADD_ITEM",
1370
1370
  "label": "Add Collectible",
1371
- "icon": "plus",
1372
- "action": "ADD_ITEM"
1371
+ "type": "button"
1373
1372
  }
1374
1373
  ],
1375
- "gap": "sm",
1376
1374
  "type": "stack",
1377
1375
  "direction": "horizontal"
1378
1376
  }
@@ -1382,57 +1380,59 @@
1382
1380
  "type": "divider"
1383
1381
  },
1384
1382
  {
1385
- "itemActions": [
1386
- {
1387
- "event": "USE_ITEM",
1388
- "label": "Use",
1389
- "variant": "ghost"
1390
- },
1391
- {
1392
- "event": "DROP",
1393
- "variant": "danger",
1394
- "label": "Drop"
1395
- }
1396
- ],
1383
+ "entity": "@payload.data",
1397
1384
  "columns": [
1398
1385
  {
1399
- "label": "Name",
1400
- "variant": "h4",
1401
1386
  "icon": "package",
1402
- "name": "name"
1387
+ "name": "name",
1388
+ "label": "Name",
1389
+ "variant": "h4"
1403
1390
  },
1404
1391
  {
1405
- "name": "type",
1406
- "variant": "badge",
1407
1392
  "label": "Type",
1408
1393
  "colorMap": {
1409
- "scheduled": "warning",
1410
- "completed": "success",
1411
- "archived": "neutral",
1412
- "disabled": "neutral",
1413
1394
  "error": "destructive",
1414
- "cancelled": "destructive",
1395
+ "pending": "warning",
1415
1396
  "active": "success",
1397
+ "inactive": "neutral",
1416
1398
  "failed": "destructive",
1417
- "done": "success",
1399
+ "scheduled": "warning",
1400
+ "completed": "success",
1401
+ "cancelled": "destructive",
1402
+ "archived": "neutral",
1418
1403
  "draft": "warning",
1419
- "pending": "warning",
1420
- "inactive": "neutral"
1421
- }
1404
+ "done": "success",
1405
+ "disabled": "neutral"
1406
+ },
1407
+ "variant": "badge",
1408
+ "name": "type"
1422
1409
  },
1423
1410
  {
1424
1411
  "variant": "caption",
1425
- "name": "quantity",
1426
- "label": "Quantity"
1412
+ "label": "Quantity",
1413
+ "name": "quantity"
1414
+ }
1415
+ ],
1416
+ "itemActions": [
1417
+ {
1418
+ "label": "Use",
1419
+ "variant": "ghost",
1420
+ "event": "USE_ITEM"
1421
+ },
1422
+ {
1423
+ "event": "DROP",
1424
+ "label": "Drop",
1425
+ "variant": "danger"
1427
1426
  }
1428
1427
  ],
1429
- "type": "data-grid",
1430
1428
  "fields": [],
1431
- "entity": "@payload.data"
1429
+ "type": "data-grid"
1432
1430
  }
1433
1431
  ]
1434
1432
  }
1435
- ]
1433
+ ],
1434
+ "appName": "Platformer App",
1435
+ "showTopBar": true
1436
1436
  }
1437
1437
  ]
1438
1438
  ]
@@ -1446,36 +1446,36 @@
1446
1446
  "render-ui",
1447
1447
  "main",
1448
1448
  {
1449
- "gap": "md",
1450
- "align": "center",
1451
1449
  "children": [
1452
1450
  {
1451
+ "color": "destructive",
1453
1452
  "type": "icon",
1454
- "name": "alert-triangle",
1455
- "color": "destructive"
1453
+ "name": "alert-triangle"
1456
1454
  },
1457
1455
  {
1458
- "type": "typography",
1456
+ "content": "Failed to load collectible",
1459
1457
  "variant": "h3",
1460
- "content": "Failed to load collectible"
1458
+ "type": "typography"
1461
1459
  },
1462
1460
  {
1463
- "variant": "body",
1464
- "color": "muted",
1465
1461
  "type": "typography",
1466
- "content": "@payload.error"
1462
+ "variant": "body",
1463
+ "content": "@payload.error",
1464
+ "color": "muted"
1467
1465
  },
1468
1466
  {
1469
- "label": "Retry",
1470
- "variant": "primary",
1471
- "icon": "rotate-ccw",
1472
1467
  "type": "button",
1473
- "action": "INIT"
1468
+ "icon": "rotate-ccw",
1469
+ "action": "INIT",
1470
+ "label": "Retry",
1471
+ "variant": "primary"
1474
1472
  }
1475
1473
  ],
1474
+ "gap": "md",
1475
+ "direction": "vertical",
1476
1476
  "type": "stack",
1477
- "className": "py-12",
1478
- "direction": "vertical"
1477
+ "align": "center",
1478
+ "className": "py-12"
1479
1479
  }
1480
1480
  ]
1481
1481
  ]
@@ -1636,8 +1636,14 @@
1636
1636
  "event": "INIT",
1637
1637
  "effects": [
1638
1638
  [
1639
- "ref",
1640
- "Collectible"
1639
+ "fetch",
1640
+ "Collectible",
1641
+ {
1642
+ "emit": {
1643
+ "success": "CollectibleLoaded",
1644
+ "failure": "CollectibleLoadFailed"
1645
+ }
1646
+ }
1641
1647
  ]
1642
1648
  ]
1643
1649
  },
@@ -1660,22 +1666,22 @@
1660
1666
  "render-ui",
1661
1667
  "modal",
1662
1668
  {
1663
- "direction": "vertical",
1664
1669
  "gap": "md",
1670
+ "direction": "vertical",
1665
1671
  "type": "stack",
1666
1672
  "children": [
1667
1673
  {
1668
- "direction": "horizontal",
1669
1674
  "type": "stack",
1675
+ "direction": "horizontal",
1670
1676
  "gap": "sm",
1671
1677
  "children": [
1672
1678
  {
1673
- "type": "icon",
1674
- "name": "plus-circle"
1679
+ "name": "plus-circle",
1680
+ "type": "icon"
1675
1681
  },
1676
1682
  {
1677
- "variant": "h3",
1678
1683
  "content": "Add Collectible",
1684
+ "variant": "h3",
1679
1685
  "type": "typography"
1680
1686
  }
1681
1687
  ]
@@ -1690,9 +1696,9 @@
1690
1696
  "quantity",
1691
1697
  "rarity"
1692
1698
  ],
1693
- "mode": "create",
1694
1699
  "submitEvent": "SAVE",
1695
1700
  "type": "form-section",
1701
+ "mode": "create",
1696
1702
  "cancelEvent": "CLOSE"
1697
1703
  }
1698
1704
  ]
@@ -1736,8 +1742,8 @@
1736
1742
  "@payload.data",
1737
1743
  {
1738
1744
  "emit": {
1739
- "failure": "CollectibleSaveFailed",
1740
- "success": "CollectibleSaved"
1745
+ "success": "CollectibleSaved",
1746
+ "failure": "CollectibleSaveFailed"
1741
1747
  }
1742
1748
  }
1743
1749
  ],
@@ -1921,8 +1927,14 @@
1921
1927
  "event": "INIT",
1922
1928
  "effects": [
1923
1929
  [
1924
- "ref",
1925
- "Collectible"
1930
+ "fetch",
1931
+ "Collectible",
1932
+ {
1933
+ "emit": {
1934
+ "success": "CollectibleLoaded",
1935
+ "failure": "CollectibleLoadFailed"
1936
+ }
1937
+ }
1926
1938
  ]
1927
1939
  ]
1928
1940
  },
@@ -1937,8 +1949,8 @@
1937
1949
  {
1938
1950
  "id": "@payload.id",
1939
1951
  "emit": {
1940
- "failure": "CollectibleLoadFailed",
1941
- "success": "CollectibleLoaded"
1952
+ "success": "CollectibleLoaded",
1953
+ "failure": "CollectibleLoadFailed"
1942
1954
  }
1943
1955
  }
1944
1956
  ],
@@ -1946,58 +1958,58 @@
1946
1958
  "render-ui",
1947
1959
  "modal",
1948
1960
  {
1949
- "type": "stack",
1950
- "direction": "vertical",
1951
- "gap": "md",
1952
1961
  "children": [
1953
1962
  {
1954
- "type": "stack",
1963
+ "gap": "sm",
1955
1964
  "children": [
1956
1965
  {
1957
1966
  "name": "zap",
1958
1967
  "type": "icon"
1959
1968
  },
1960
1969
  {
1961
- "content": "Use Collectible",
1970
+ "variant": "h3",
1962
1971
  "type": "typography",
1963
- "variant": "h3"
1972
+ "content": "Use Collectible"
1964
1973
  }
1965
1974
  ],
1966
1975
  "direction": "horizontal",
1967
- "align": "center",
1968
- "gap": "sm"
1976
+ "type": "stack",
1977
+ "align": "center"
1969
1978
  },
1970
1979
  {
1971
1980
  "type": "divider"
1972
1981
  },
1973
1982
  {
1983
+ "type": "typography",
1974
1984
  "content": "@entity.name",
1975
- "variant": "body",
1976
- "type": "typography"
1985
+ "variant": "body"
1977
1986
  },
1978
1987
  {
1988
+ "justify": "center",
1989
+ "gap": "sm",
1990
+ "type": "stack",
1991
+ "direction": "horizontal",
1979
1992
  "children": [
1980
1993
  {
1981
1994
  "type": "button",
1982
1995
  "label": "Cancel",
1983
- "action": "CLOSE",
1984
- "variant": "ghost"
1996
+ "variant": "ghost",
1997
+ "action": "CLOSE"
1985
1998
  },
1986
1999
  {
1987
- "icon": "check",
1988
2000
  "label": "Confirm Use",
1989
2001
  "variant": "primary",
1990
- "action": "SAVE",
1991
- "type": "button"
2002
+ "icon": "check",
2003
+ "type": "button",
2004
+ "action": "SAVE"
1992
2005
  }
1993
- ],
1994
- "type": "stack",
1995
- "gap": "sm",
1996
- "justify": "center",
1997
- "direction": "horizontal"
2006
+ ]
1998
2007
  }
1999
2008
  ],
2000
- "align": "center"
2009
+ "type": "stack",
2010
+ "direction": "vertical",
2011
+ "align": "center",
2012
+ "gap": "md"
2001
2013
  }
2002
2014
  ]
2003
2015
  ]
@@ -2038,8 +2050,8 @@
2038
2050
  "@payload.data",
2039
2051
  {
2040
2052
  "emit": {
2041
- "failure": "CollectibleUpdateFailed",
2042
- "success": "CollectibleUpdated"
2053
+ "success": "CollectibleUpdated",
2054
+ "failure": "CollectibleUpdateFailed"
2043
2055
  }
2044
2056
  }
2045
2057
  ],
@@ -2217,8 +2229,14 @@
2217
2229
  "event": "INIT",
2218
2230
  "effects": [
2219
2231
  [
2220
- "ref",
2221
- "Collectible"
2232
+ "fetch",
2233
+ "Collectible",
2234
+ {
2235
+ "emit": {
2236
+ "failure": "CollectibleLoadFailed",
2237
+ "success": "CollectibleLoaded"
2238
+ }
2239
+ }
2222
2240
  ]
2223
2241
  ]
2224
2242
  },
@@ -2247,57 +2265,57 @@
2247
2265
  "render-ui",
2248
2266
  "modal",
2249
2267
  {
2250
- "gap": "md",
2268
+ "type": "stack",
2251
2269
  "direction": "vertical",
2270
+ "gap": "md",
2252
2271
  "children": [
2253
2272
  {
2254
- "type": "stack",
2255
- "gap": "sm",
2273
+ "align": "center",
2274
+ "direction": "horizontal",
2256
2275
  "children": [
2257
2276
  {
2258
- "type": "icon",
2259
- "name": "alert-triangle"
2277
+ "name": "alert-triangle",
2278
+ "type": "icon"
2260
2279
  },
2261
2280
  {
2262
- "content": "Drop Collectible",
2281
+ "type": "typography",
2263
2282
  "variant": "h3",
2264
- "type": "typography"
2283
+ "content": "Drop Collectible"
2265
2284
  }
2266
2285
  ],
2267
- "direction": "horizontal",
2268
- "align": "center"
2286
+ "type": "stack",
2287
+ "gap": "sm"
2269
2288
  },
2270
2289
  {
2271
2290
  "type": "divider"
2272
2291
  },
2273
2292
  {
2274
- "message": "Are you sure you want to drop this collectible?",
2293
+ "variant": "error",
2275
2294
  "type": "alert",
2276
- "variant": "error"
2295
+ "message": "Are you sure you want to drop this collectible?"
2277
2296
  },
2278
2297
  {
2279
- "justify": "end",
2280
2298
  "children": [
2281
2299
  {
2282
2300
  "variant": "ghost",
2301
+ "label": "Cancel",
2283
2302
  "type": "button",
2284
- "action": "CANCEL",
2285
- "label": "Cancel"
2303
+ "action": "CANCEL"
2286
2304
  },
2287
2305
  {
2306
+ "action": "CONFIRM_DROP",
2288
2307
  "type": "button",
2289
2308
  "variant": "danger",
2290
- "icon": "check",
2291
- "action": "CONFIRM_DROP",
2292
- "label": "Drop"
2309
+ "label": "Drop",
2310
+ "icon": "check"
2293
2311
  }
2294
2312
  ],
2295
- "gap": "sm",
2313
+ "justify": "end",
2296
2314
  "direction": "horizontal",
2297
- "type": "stack"
2315
+ "type": "stack",
2316
+ "gap": "sm"
2298
2317
  }
2299
- ],
2300
- "type": "stack"
2318
+ ]
2301
2319
  }
2302
2320
  ]
2303
2321
  ]
@@ -2314,8 +2332,8 @@
2314
2332
  "@entity.pendingId",
2315
2333
  {
2316
2334
  "emit": {
2317
- "failure": "CollectibleDeleteFailed",
2318
- "success": "CollectibleDeleted"
2335
+ "success": "CollectibleDeleted",
2336
+ "failure": "CollectibleDeleteFailed"
2319
2337
  }
2320
2338
  }
2321
2339
  ],
@@ -2332,8 +2350,14 @@
2332
2350
  }
2333
2351
  ],
2334
2352
  [
2335
- "ref",
2336
- "Collectible"
2353
+ "fetch",
2354
+ "Collectible",
2355
+ {
2356
+ "emit": {
2357
+ "success": "CollectibleLoaded",
2358
+ "failure": "CollectibleLoadFailed"
2359
+ }
2360
+ }
2337
2361
  ]
2338
2362
  ]
2339
2363
  },
@@ -2355,8 +2379,14 @@
2355
2379
  }
2356
2380
  ],
2357
2381
  [
2358
- "ref",
2359
- "Collectible"
2382
+ "fetch",
2383
+ "Collectible",
2384
+ {
2385
+ "emit": {
2386
+ "success": "CollectibleLoaded",
2387
+ "failure": "CollectibleLoadFailed"
2388
+ }
2389
+ }
2360
2390
  ]
2361
2391
  ]
2362
2392
  },
@@ -2378,8 +2408,14 @@
2378
2408
  }
2379
2409
  ],
2380
2410
  [
2381
- "ref",
2382
- "Collectible"
2411
+ "fetch",
2412
+ "Collectible",
2413
+ {
2414
+ "emit": {
2415
+ "success": "CollectibleLoaded",
2416
+ "failure": "CollectibleLoadFailed"
2417
+ }
2418
+ }
2383
2419
  ]
2384
2420
  ]
2385
2421
  }