@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
@@ -381,23 +381,23 @@
381
381
  "render-ui",
382
382
  "main",
383
383
  {
384
+ "appName": "RPG Game",
384
385
  "showTopBar": true,
385
386
  "type": "game-shell",
386
387
  "children": [
387
388
  {
388
- "subtitle": "Turn-Based Strategy",
389
389
  "title": "Battle Arena",
390
+ "type": "game-menu",
390
391
  "menuItems": [
391
392
  {
392
393
  "event": "START",
393
- "label": "Start Battle",
394
- "variant": "primary"
394
+ "variant": "primary",
395
+ "label": "Start Battle"
395
396
  }
396
397
  ],
397
- "type": "game-menu"
398
+ "subtitle": "Turn-Based Strategy"
398
399
  }
399
- ],
400
- "appName": "RPG Game"
400
+ ]
401
401
  }
402
402
  ]
403
403
  ]
@@ -411,14 +411,15 @@
411
411
  "render-ui",
412
412
  "main",
413
413
  {
414
- "showTopBar": true,
415
414
  "appName": "RPG Game",
415
+ "showTopBar": true,
416
+ "type": "game-shell",
416
417
  "children": [
417
418
  {
418
419
  "stats": [
419
420
  {
420
- "value": "@entity.turn",
421
- "label": "Turn"
421
+ "label": "Turn",
422
+ "value": "@entity.turn"
422
423
  },
423
424
  {
424
425
  "value": "@entity.score",
@@ -427,8 +428,7 @@
427
428
  ],
428
429
  "type": "game-hud"
429
430
  }
430
- ],
431
- "type": "game-shell"
431
+ ]
432
432
  }
433
433
  ]
434
434
  ]
@@ -457,13 +457,15 @@
457
457
  "main",
458
458
  {
459
459
  "showTopBar": true,
460
+ "type": "game-shell",
461
+ "appName": "RPG Game",
460
462
  "children": [
461
463
  {
462
464
  "type": "game-hud",
463
465
  "stats": [
464
466
  {
465
- "label": "Turn",
466
- "value": "@entity.turn"
467
+ "value": "@entity.turn",
468
+ "label": "Turn"
467
469
  },
468
470
  {
469
471
  "value": "@entity.score",
@@ -471,9 +473,7 @@
471
473
  }
472
474
  ]
473
475
  }
474
- ],
475
- "type": "game-shell",
476
- "appName": "RPG Game"
476
+ ]
477
477
  }
478
478
  ]
479
479
  ]
@@ -487,12 +487,12 @@
487
487
  "render-ui",
488
488
  "modal",
489
489
  {
490
- "title": "Paused",
490
+ "type": "game-menu",
491
491
  "menuItems": [
492
492
  {
493
- "label": "Resume",
493
+ "event": "RESUME",
494
494
  "variant": "primary",
495
- "event": "RESUME"
495
+ "label": "Resume"
496
496
  },
497
497
  {
498
498
  "label": "Quit",
@@ -500,7 +500,7 @@
500
500
  "variant": "ghost"
501
501
  }
502
502
  ],
503
- "type": "game-menu"
503
+ "title": "Paused"
504
504
  }
505
505
  ]
506
506
  ]
@@ -514,19 +514,22 @@
514
514
  "render-ui",
515
515
  "main",
516
516
  {
517
+ "showTopBar": true,
518
+ "appName": "RPG Game",
519
+ "type": "game-shell",
517
520
  "children": [
518
521
  {
522
+ "title": "Battle Over",
519
523
  "stats": [
520
524
  {
521
- "value": "@entity.turn",
522
- "label": "Turns"
525
+ "label": "Turns",
526
+ "value": "@entity.turn"
523
527
  },
524
528
  {
525
- "label": "Score",
526
- "value": "@entity.score"
529
+ "value": "@entity.score",
530
+ "label": "Score"
527
531
  }
528
532
  ],
529
- "title": "Battle Over",
530
533
  "type": "game-over-screen",
531
534
  "menuItems": [
532
535
  {
@@ -536,15 +539,12 @@
536
539
  },
537
540
  {
538
541
  "event": "RESTART",
539
- "label": "Main Menu",
540
- "variant": "secondary"
542
+ "variant": "secondary",
543
+ "label": "Main Menu"
541
544
  }
542
545
  ]
543
546
  }
544
- ],
545
- "showTopBar": true,
546
- "type": "game-shell",
547
- "appName": "RPG Game"
547
+ ]
548
548
  }
549
549
  ]
550
550
  ]
@@ -569,23 +569,23 @@
569
569
  "main",
570
570
  {
571
571
  "type": "game-shell",
572
- "appName": "RPG Game",
573
- "showTopBar": true,
574
572
  "children": [
575
573
  {
576
574
  "type": "game-hud",
577
575
  "stats": [
578
576
  {
579
- "value": "@entity.turn",
580
- "label": "Turn"
577
+ "label": "Turn",
578
+ "value": "@entity.turn"
581
579
  },
582
580
  {
583
- "label": "Score",
584
- "value": "@entity.score"
581
+ "value": "@entity.score",
582
+ "label": "Score"
585
583
  }
586
584
  ]
587
585
  }
588
- ]
586
+ ],
587
+ "showTopBar": true,
588
+ "appName": "RPG Game"
589
589
  }
590
590
  ]
591
591
  ]
@@ -604,10 +604,10 @@
604
604
  "render-ui",
605
605
  "main",
606
606
  {
607
- "showTopBar": true,
608
- "appName": "RPG Game",
607
+ "type": "game-shell",
609
608
  "children": [
610
609
  {
610
+ "type": "game-hud",
611
611
  "stats": [
612
612
  {
613
613
  "label": "Turn",
@@ -617,11 +617,11 @@
617
617
  "label": "Score",
618
618
  "value": "@entity.score"
619
619
  }
620
- ],
621
- "type": "game-hud"
620
+ ]
622
621
  }
623
622
  ],
624
- "type": "game-shell"
623
+ "showTopBar": true,
624
+ "appName": "RPG Game"
625
625
  }
626
626
  ]
627
627
  ]
@@ -640,23 +640,23 @@
640
640
  "render-ui",
641
641
  "main",
642
642
  {
643
+ "showTopBar": true,
643
644
  "children": [
644
645
  {
645
- "type": "game-menu",
646
646
  "title": "Battle Arena",
647
- "subtitle": "Turn-Based Strategy",
648
647
  "menuItems": [
649
648
  {
649
+ "label": "Start Battle",
650
650
  "event": "START",
651
- "variant": "primary",
652
- "label": "Start Battle"
651
+ "variant": "primary"
653
652
  }
654
- ]
653
+ ],
654
+ "subtitle": "Turn-Based Strategy",
655
+ "type": "game-menu"
655
656
  }
656
657
  ],
657
- "appName": "RPG Game",
658
658
  "type": "game-shell",
659
- "showTopBar": true
659
+ "appName": "RPG Game"
660
660
  }
661
661
  ]
662
662
  ]
@@ -670,23 +670,23 @@
670
670
  "render-ui",
671
671
  "main",
672
672
  {
673
- "showTopBar": true,
674
- "appName": "RPG Game",
675
- "type": "game-shell",
676
673
  "children": [
677
674
  {
678
675
  "type": "game-menu",
679
676
  "title": "Battle Arena",
680
677
  "menuItems": [
681
678
  {
682
- "label": "Start Battle",
683
679
  "variant": "primary",
680
+ "label": "Start Battle",
684
681
  "event": "START"
685
682
  }
686
683
  ],
687
684
  "subtitle": "Turn-Based Strategy"
688
685
  }
689
- ]
686
+ ],
687
+ "showTopBar": true,
688
+ "type": "game-shell",
689
+ "appName": "RPG Game"
690
690
  }
691
691
  ]
692
692
  ]
@@ -790,8 +790,8 @@
790
790
  "BattleState",
791
791
  {
792
792
  "emit": {
793
- "success": "BattleStateLoaded",
794
- "failure": "BattleStateLoadFailed"
793
+ "failure": "BattleStateLoadFailed",
794
+ "success": "BattleStateLoaded"
795
795
  }
796
796
  }
797
797
  ]
@@ -806,19 +806,19 @@
806
806
  "render-ui",
807
807
  "main",
808
808
  {
809
+ "showTopBar": true,
810
+ "type": "game-shell",
811
+ "appName": "RPG Game",
809
812
  "children": [
810
813
  {
811
- "autoScroll": true,
812
- "title": "Combat Log",
813
- "events": "@BattleState",
814
814
  "showTimestamps": true,
815
+ "title": "Combat Log",
816
+ "type": "combat-log",
817
+ "autoScroll": true,
815
818
  "maxVisible": 10.0,
816
- "type": "combat-log"
819
+ "events": "@BattleState"
817
820
  }
818
- ],
819
- "appName": "RPG Game",
820
- "type": "game-shell",
821
- "showTopBar": true
821
+ ]
822
822
  }
823
823
  ]
824
824
  ]
@@ -832,19 +832,19 @@
832
832
  "render-ui",
833
833
  "main",
834
834
  {
835
- "showTopBar": true,
836
- "appName": "RPG Game",
837
835
  "type": "game-shell",
836
+ "appName": "RPG Game",
838
837
  "children": [
839
838
  {
840
- "title": "Combat Log",
841
- "type": "combat-log",
842
- "events": "@BattleState",
843
839
  "maxVisible": 10.0,
840
+ "title": "Combat Log",
844
841
  "autoScroll": true,
845
- "showTimestamps": true
842
+ "type": "combat-log",
843
+ "showTimestamps": true,
844
+ "events": "@BattleState"
846
845
  }
847
- ]
846
+ ],
847
+ "showTopBar": true
848
848
  }
849
849
  ]
850
850
  ]
@@ -1022,8 +1022,8 @@
1022
1022
  "WorldZone",
1023
1023
  {
1024
1024
  "emit": {
1025
- "success": "WorldZoneLoaded",
1026
- "failure": "WorldZoneLoadFailed"
1025
+ "failure": "WorldZoneLoadFailed",
1026
+ "success": "WorldZoneLoaded"
1027
1027
  }
1028
1028
  }
1029
1029
  ],
@@ -1032,21 +1032,21 @@
1032
1032
  "main",
1033
1033
  {
1034
1034
  "className": "py-12",
1035
- "type": "stack",
1036
- "align": "center",
1037
- "gap": "md",
1038
1035
  "children": [
1039
1036
  {
1040
1037
  "type": "spinner"
1041
1038
  },
1042
1039
  {
1043
- "content": "Loading map…",
1044
1040
  "variant": "caption",
1041
+ "content": "Loading map…",
1045
1042
  "color": "muted",
1046
1043
  "type": "typography"
1047
1044
  }
1048
1045
  ],
1049
- "direction": "vertical"
1046
+ "direction": "vertical",
1047
+ "type": "stack",
1048
+ "gap": "md",
1049
+ "align": "center"
1050
1050
  }
1051
1051
  ]
1052
1052
  ]
@@ -1060,17 +1060,18 @@
1060
1060
  "render-ui",
1061
1061
  "main",
1062
1062
  {
1063
+ "showTopBar": true,
1064
+ "type": "game-shell",
1065
+ "appName": "RPG Game",
1063
1066
  "children": [
1064
1067
  {
1065
- "gap": "lg",
1066
- "type": "stack",
1067
- "direction": "vertical",
1068
1068
  "children": [
1069
1069
  {
1070
+ "direction": "horizontal",
1071
+ "justify": "between",
1072
+ "gap": "md",
1070
1073
  "children": [
1071
1074
  {
1072
- "gap": "md",
1073
- "type": "stack",
1074
1075
  "children": [
1075
1076
  {
1076
1077
  "type": "icon",
@@ -1082,44 +1083,47 @@
1082
1083
  "type": "typography"
1083
1084
  }
1084
1085
  ],
1086
+ "gap": "md",
1087
+ "type": "stack",
1085
1088
  "direction": "horizontal"
1086
1089
  },
1087
1090
  {
1088
- "type": "status-dot",
1089
1091
  "status": "online",
1092
+ "label": "Exploring",
1090
1093
  "pulse": false,
1091
- "label": "Exploring"
1094
+ "type": "status-dot"
1092
1095
  }
1093
1096
  ],
1094
- "justify": "between",
1095
- "type": "stack",
1096
- "gap": "md",
1097
- "direction": "horizontal"
1097
+ "type": "stack"
1098
1098
  },
1099
1099
  {
1100
1100
  "type": "divider"
1101
1101
  },
1102
1102
  {
1103
- "markers": [],
1103
+ "height": "200px",
1104
1104
  "type": "map-view",
1105
1105
  "zoom": 10.0,
1106
- "height": "200px"
1106
+ "markers": []
1107
1107
  },
1108
1108
  {
1109
1109
  "type": "data-grid",
1110
+ "entity": "@payload.data",
1110
1111
  "renderItem": [
1111
1112
  "fn",
1112
1113
  "item",
1113
1114
  {
1115
+ "type": "stack",
1114
1116
  "children": [
1115
1117
  {
1116
1118
  "direction": "horizontal",
1119
+ "align": "center",
1120
+ "justify": "between",
1117
1121
  "children": [
1118
1122
  {
1119
1123
  "children": [
1120
1124
  {
1121
- "name": "map-pin",
1122
- "type": "icon"
1125
+ "type": "icon",
1126
+ "name": "map-pin"
1123
1127
  },
1124
1128
  {
1125
1129
  "variant": "h4",
@@ -1127,46 +1131,42 @@
1127
1131
  "type": "typography"
1128
1132
  }
1129
1133
  ],
1130
- "align": "center",
1131
- "gap": "sm",
1132
1134
  "type": "stack",
1133
- "direction": "horizontal"
1135
+ "align": "center",
1136
+ "direction": "horizontal",
1137
+ "gap": "sm"
1134
1138
  },
1135
1139
  {
1136
- "label": "@item.description",
1137
- "type": "badge"
1140
+ "type": "badge",
1141
+ "label": "@item.description"
1138
1142
  }
1139
1143
  ],
1140
- "type": "stack",
1141
- "justify": "between",
1142
- "align": "center"
1144
+ "type": "stack"
1143
1145
  },
1144
1146
  {
1145
- "type": "typography",
1147
+ "variant": "caption",
1146
1148
  "content": "@item.level",
1147
- "variant": "caption"
1149
+ "type": "typography"
1148
1150
  }
1149
1151
  ],
1150
- "type": "stack",
1151
1152
  "direction": "vertical",
1152
1153
  "gap": "sm"
1153
1154
  }
1154
1155
  ],
1155
1156
  "itemActions": [
1156
1157
  {
1157
- "label": "Travel",
1158
- "event": "TRAVEL"
1158
+ "event": "TRAVEL",
1159
+ "label": "Travel"
1159
1160
  }
1160
1161
  ],
1161
- "entity": "@payload.data",
1162
1162
  "fields": []
1163
1163
  }
1164
- ]
1164
+ ],
1165
+ "direction": "vertical",
1166
+ "type": "stack",
1167
+ "gap": "lg"
1165
1168
  }
1166
- ],
1167
- "appName": "RPG Game",
1168
- "type": "game-shell",
1169
- "showTopBar": true
1169
+ ]
1170
1170
  }
1171
1171
  ]
1172
1172
  ]
@@ -1180,36 +1180,36 @@
1180
1180
  "render-ui",
1181
1181
  "main",
1182
1182
  {
1183
- "gap": "md",
1184
- "align": "center",
1183
+ "className": "py-12",
1185
1184
  "children": [
1186
1185
  {
1187
1186
  "color": "destructive",
1188
- "name": "alert-triangle",
1189
- "type": "icon"
1187
+ "type": "icon",
1188
+ "name": "alert-triangle"
1190
1189
  },
1191
1190
  {
1191
+ "variant": "h3",
1192
1192
  "content": "Failed to load map",
1193
- "type": "typography",
1194
- "variant": "h3"
1193
+ "type": "typography"
1195
1194
  },
1196
1195
  {
1197
- "color": "muted",
1198
1196
  "variant": "body",
1197
+ "type": "typography",
1199
1198
  "content": "@payload.error",
1200
- "type": "typography"
1199
+ "color": "muted"
1201
1200
  },
1202
1201
  {
1203
1202
  "type": "button",
1204
- "variant": "primary",
1205
1203
  "action": "INIT",
1206
- "label": "Retry",
1207
- "icon": "rotate-ccw"
1204
+ "variant": "primary",
1205
+ "icon": "rotate-ccw",
1206
+ "label": "Retry"
1208
1207
  }
1209
1208
  ],
1210
- "className": "py-12",
1211
- "type": "stack",
1212
- "direction": "vertical"
1209
+ "direction": "vertical",
1210
+ "gap": "md",
1211
+ "align": "center",
1212
+ "type": "stack"
1213
1213
  }
1214
1214
  ]
1215
1215
  ]
@@ -1223,43 +1223,43 @@
1223
1223
  "render-ui",
1224
1224
  "main",
1225
1225
  {
1226
+ "showTopBar": true,
1227
+ "type": "game-shell",
1228
+ "appName": "RPG Game",
1226
1229
  "children": [
1227
1230
  {
1228
1231
  "gap": "lg",
1229
1232
  "type": "stack",
1230
- "direction": "vertical",
1231
1233
  "align": "center",
1232
1234
  "children": [
1233
1235
  {
1234
- "gap": "md",
1235
1236
  "direction": "horizontal",
1236
- "type": "stack",
1237
1237
  "children": [
1238
1238
  {
1239
- "type": "icon",
1240
- "name": "loader"
1239
+ "name": "loader",
1240
+ "type": "icon"
1241
1241
  },
1242
1242
  {
1243
1243
  "variant": "h2",
1244
- "content": "Traveling...",
1245
- "type": "typography"
1244
+ "type": "typography",
1245
+ "content": "Traveling..."
1246
1246
  }
1247
- ]
1247
+ ],
1248
+ "type": "stack",
1249
+ "gap": "md"
1248
1250
  },
1249
1251
  {
1250
1252
  "type": "divider"
1251
1253
  },
1252
1254
  {
1255
+ "content": "Traveling to the destination worldzone.",
1253
1256
  "type": "typography",
1254
- "variant": "body",
1255
- "content": "Traveling to the destination worldzone."
1257
+ "variant": "body"
1256
1258
  }
1257
- ]
1259
+ ],
1260
+ "direction": "vertical"
1258
1261
  }
1259
- ],
1260
- "type": "game-shell",
1261
- "showTopBar": true,
1262
- "appName": "RPG Game"
1262
+ ]
1263
1263
  }
1264
1264
  ]
1265
1265
  ]
@@ -1455,8 +1455,8 @@
1455
1455
  "RpgItem",
1456
1456
  {
1457
1457
  "emit": {
1458
- "success": "RpgItemLoaded",
1459
- "failure": "RpgItemLoadFailed"
1458
+ "failure": "RpgItemLoadFailed",
1459
+ "success": "RpgItemLoaded"
1460
1460
  }
1461
1461
  }
1462
1462
  ],
@@ -1464,22 +1464,22 @@
1464
1464
  "render-ui",
1465
1465
  "main",
1466
1466
  {
1467
+ "gap": "md",
1468
+ "className": "py-12",
1467
1469
  "type": "stack",
1468
- "align": "center",
1469
1470
  "children": [
1470
1471
  {
1471
1472
  "type": "spinner"
1472
1473
  },
1473
1474
  {
1474
- "type": "typography",
1475
- "variant": "caption",
1476
1475
  "color": "muted",
1477
- "content": "Loading…"
1476
+ "content": "Loading…",
1477
+ "type": "typography",
1478
+ "variant": "caption"
1478
1479
  }
1479
1480
  ],
1480
- "gap": "md",
1481
1481
  "direction": "vertical",
1482
- "className": "py-12"
1482
+ "align": "center"
1483
1483
  }
1484
1484
  ]
1485
1485
  ]
@@ -1493,110 +1493,110 @@
1493
1493
  "render-ui",
1494
1494
  "main",
1495
1495
  {
1496
- "type": "game-shell",
1496
+ "appName": "RPG Game",
1497
1497
  "children": [
1498
1498
  {
1499
+ "direction": "vertical",
1500
+ "gap": "lg",
1501
+ "type": "stack",
1499
1502
  "className": "max-w-5xl mx-auto w-full",
1500
1503
  "children": [
1501
1504
  {
1502
- "justify": "between",
1505
+ "gap": "md",
1506
+ "align": "center",
1507
+ "type": "stack",
1508
+ "direction": "horizontal",
1503
1509
  "children": [
1504
1510
  {
1505
- "direction": "horizontal",
1506
- "type": "stack",
1507
- "gap": "sm",
1508
- "align": "center",
1509
1511
  "children": [
1510
1512
  {
1511
1513
  "type": "icon",
1512
1514
  "name": "briefcase"
1513
1515
  },
1514
1516
  {
1517
+ "variant": "h2",
1515
1518
  "type": "typography",
1516
- "content": "Inventory",
1517
- "variant": "h2"
1519
+ "content": "Inventory"
1518
1520
  }
1519
- ]
1521
+ ],
1522
+ "type": "stack",
1523
+ "gap": "sm",
1524
+ "direction": "horizontal",
1525
+ "align": "center"
1520
1526
  },
1521
1527
  {
1522
1528
  "children": [
1523
1529
  {
1524
- "type": "button",
1530
+ "action": "ADD_ITEM",
1525
1531
  "label": "Add RpgItem",
1526
1532
  "icon": "plus",
1527
- "variant": "primary",
1528
- "action": "ADD_ITEM"
1533
+ "type": "button",
1534
+ "variant": "primary"
1529
1535
  }
1530
1536
  ],
1531
- "direction": "horizontal",
1532
1537
  "gap": "sm",
1533
- "type": "stack"
1538
+ "type": "stack",
1539
+ "direction": "horizontal"
1534
1540
  }
1535
1541
  ],
1536
- "gap": "md",
1537
- "type": "stack",
1538
- "align": "center",
1539
- "direction": "horizontal"
1542
+ "justify": "between"
1540
1543
  },
1541
1544
  {
1542
1545
  "type": "divider"
1543
1546
  },
1544
1547
  {
1548
+ "itemActions": [
1549
+ {
1550
+ "label": "Use",
1551
+ "variant": "ghost",
1552
+ "event": "USE_ITEM"
1553
+ },
1554
+ {
1555
+ "label": "Drop",
1556
+ "event": "DROP",
1557
+ "variant": "danger"
1558
+ }
1559
+ ],
1560
+ "fields": [],
1545
1561
  "columns": [
1546
1562
  {
1563
+ "name": "name",
1547
1564
  "label": "Name",
1548
1565
  "variant": "h4",
1549
- "name": "name",
1550
1566
  "icon": "briefcase"
1551
1567
  },
1552
1568
  {
1553
- "variant": "badge",
1554
1569
  "name": "type",
1555
1570
  "label": "Type",
1556
1571
  "colorMap": {
1557
- "done": "success",
1558
- "draft": "warning",
1559
- "disabled": "neutral",
1560
1572
  "active": "success",
1561
1573
  "archived": "neutral",
1574
+ "draft": "warning",
1575
+ "inactive": "neutral",
1562
1576
  "error": "destructive",
1577
+ "scheduled": "warning",
1578
+ "done": "success",
1579
+ "completed": "success",
1580
+ "disabled": "neutral",
1563
1581
  "cancelled": "destructive",
1564
- "pending": "warning",
1565
- "inactive": "neutral",
1566
1582
  "failed": "destructive",
1567
- "completed": "success",
1568
- "scheduled": "warning"
1569
- }
1583
+ "pending": "warning"
1584
+ },
1585
+ "variant": "badge"
1570
1586
  },
1571
1587
  {
1572
- "variant": "caption",
1573
1588
  "label": "Quantity",
1574
- "name": "quantity"
1575
- }
1576
- ],
1577
- "itemActions": [
1578
- {
1579
- "label": "Use",
1580
- "event": "USE_ITEM",
1581
- "variant": "ghost"
1582
- },
1583
- {
1584
- "event": "DROP",
1585
- "label": "Drop",
1586
- "variant": "danger"
1589
+ "name": "quantity",
1590
+ "variant": "caption"
1587
1591
  }
1588
1592
  ],
1589
1593
  "entity": "@payload.data",
1590
- "type": "data-grid",
1591
- "fields": []
1594
+ "type": "data-grid"
1592
1595
  }
1593
- ],
1594
- "direction": "vertical",
1595
- "gap": "lg",
1596
- "type": "stack"
1596
+ ]
1597
1597
  }
1598
1598
  ],
1599
- "appName": "RPG Game",
1599
+ "type": "game-shell",
1600
1600
  "showTopBar": true
1601
1601
  }
1602
1602
  ]
@@ -1613,34 +1613,34 @@
1613
1613
  {
1614
1614
  "children": [
1615
1615
  {
1616
- "type": "icon",
1617
1616
  "color": "destructive",
1618
- "name": "alert-triangle"
1617
+ "name": "alert-triangle",
1618
+ "type": "icon"
1619
1619
  },
1620
1620
  {
1621
- "type": "typography",
1622
1621
  "variant": "h3",
1622
+ "type": "typography",
1623
1623
  "content": "Failed to load rpgitem"
1624
1624
  },
1625
1625
  {
1626
- "content": "@payload.error",
1627
1626
  "variant": "body",
1627
+ "color": "muted",
1628
1628
  "type": "typography",
1629
- "color": "muted"
1629
+ "content": "@payload.error"
1630
1630
  },
1631
1631
  {
1632
- "icon": "rotate-ccw",
1633
1632
  "label": "Retry",
1634
- "variant": "primary",
1633
+ "action": "INIT",
1635
1634
  "type": "button",
1636
- "action": "INIT"
1635
+ "variant": "primary",
1636
+ "icon": "rotate-ccw"
1637
1637
  }
1638
1638
  ],
1639
+ "direction": "vertical",
1640
+ "type": "stack",
1639
1641
  "align": "center",
1640
1642
  "gap": "md",
1641
- "className": "py-12",
1642
- "direction": "vertical",
1643
- "type": "stack"
1643
+ "className": "py-12"
1644
1644
  }
1645
1645
  ]
1646
1646
  ]
@@ -1825,40 +1825,40 @@
1825
1825
  "render-ui",
1826
1826
  "modal",
1827
1827
  {
1828
+ "gap": "md",
1828
1829
  "type": "stack",
1829
1830
  "direction": "vertical",
1830
- "gap": "md",
1831
1831
  "children": [
1832
1832
  {
1833
- "type": "stack",
1833
+ "direction": "horizontal",
1834
1834
  "children": [
1835
1835
  {
1836
- "type": "icon",
1837
- "name": "plus-circle"
1836
+ "name": "plus-circle",
1837
+ "type": "icon"
1838
1838
  },
1839
1839
  {
1840
- "content": "Add RpgItem",
1840
+ "type": "typography",
1841
1841
  "variant": "h3",
1842
- "type": "typography"
1842
+ "content": "Add RpgItem"
1843
1843
  }
1844
1844
  ],
1845
- "gap": "sm",
1846
- "direction": "horizontal"
1845
+ "type": "stack",
1846
+ "gap": "sm"
1847
1847
  },
1848
1848
  {
1849
1849
  "type": "divider"
1850
1850
  },
1851
1851
  {
1852
+ "cancelEvent": "CLOSE",
1853
+ "submitEvent": "SAVE",
1854
+ "mode": "create",
1852
1855
  "type": "form-section",
1853
1856
  "fields": [
1854
1857
  "name",
1855
1858
  "type",
1856
1859
  "quantity",
1857
1860
  "rarity"
1858
- ],
1859
- "submitEvent": "SAVE",
1860
- "cancelEvent": "CLOSE",
1861
- "mode": "create"
1861
+ ]
1862
1862
  }
1863
1863
  ]
1864
1864
  }
@@ -1901,8 +1901,8 @@
1901
1901
  "@payload.data",
1902
1902
  {
1903
1903
  "emit": {
1904
- "failure": "RpgItemSaveFailed",
1905
- "success": "RpgItemSaved"
1904
+ "success": "RpgItemSaved",
1905
+ "failure": "RpgItemSaveFailed"
1906
1906
  }
1907
1907
  }
1908
1908
  ],
@@ -2102,8 +2102,8 @@
2102
2102
  {
2103
2103
  "id": "@payload.id",
2104
2104
  "emit": {
2105
- "success": "RpgItemLoaded",
2106
- "failure": "RpgItemLoadFailed"
2105
+ "failure": "RpgItemLoadFailed",
2106
+ "success": "RpgItemLoaded"
2107
2107
  }
2108
2108
  }
2109
2109
  ],
@@ -2111,58 +2111,58 @@
2111
2111
  "render-ui",
2112
2112
  "modal",
2113
2113
  {
2114
- "align": "center",
2114
+ "type": "stack",
2115
2115
  "direction": "vertical",
2116
2116
  "gap": "md",
2117
+ "align": "center",
2117
2118
  "children": [
2118
2119
  {
2120
+ "gap": "sm",
2119
2121
  "direction": "horizontal",
2120
2122
  "children": [
2121
2123
  {
2122
- "name": "zap",
2123
- "type": "icon"
2124
+ "type": "icon",
2125
+ "name": "zap"
2124
2126
  },
2125
2127
  {
2126
- "variant": "h3",
2127
2128
  "type": "typography",
2129
+ "variant": "h3",
2128
2130
  "content": "Use RpgItem"
2129
2131
  }
2130
2132
  ],
2131
2133
  "type": "stack",
2132
- "gap": "sm",
2133
2134
  "align": "center"
2134
2135
  },
2135
2136
  {
2136
2137
  "type": "divider"
2137
2138
  },
2138
2139
  {
2139
- "variant": "body",
2140
2140
  "content": "@entity.name",
2141
- "type": "typography"
2141
+ "type": "typography",
2142
+ "variant": "body"
2142
2143
  },
2143
2144
  {
2144
- "direction": "horizontal",
2145
- "gap": "sm",
2146
2145
  "type": "stack",
2146
+ "gap": "sm",
2147
+ "direction": "horizontal",
2147
2148
  "justify": "center",
2148
2149
  "children": [
2149
2150
  {
2151
+ "variant": "ghost",
2150
2152
  "action": "CLOSE",
2151
2153
  "label": "Cancel",
2152
- "type": "button",
2153
- "variant": "ghost"
2154
+ "type": "button"
2154
2155
  },
2155
2156
  {
2156
- "action": "SAVE",
2157
- "variant": "primary",
2158
- "icon": "check",
2157
+ "label": "Confirm Use",
2159
2158
  "type": "button",
2160
- "label": "Confirm Use"
2159
+ "icon": "check",
2160
+ "variant": "primary",
2161
+ "action": "SAVE"
2161
2162
  }
2162
2163
  ]
2163
2164
  }
2164
- ],
2165
- "type": "stack"
2165
+ ]
2166
2166
  }
2167
2167
  ]
2168
2168
  ]
@@ -2203,8 +2203,8 @@
2203
2203
  "@payload.data",
2204
2204
  {
2205
2205
  "emit": {
2206
- "failure": "RpgItemUpdateFailed",
2207
- "success": "RpgItemUpdated"
2206
+ "success": "RpgItemUpdated",
2207
+ "failure": "RpgItemUpdateFailed"
2208
2208
  }
2209
2209
  }
2210
2210
  ],
@@ -2412,10 +2412,13 @@
2412
2412
  "render-ui",
2413
2413
  "modal",
2414
2414
  {
2415
- "direction": "vertical",
2415
+ "gap": "md",
2416
2416
  "children": [
2417
2417
  {
2418
+ "gap": "sm",
2419
+ "type": "stack",
2418
2420
  "align": "center",
2421
+ "direction": "horizontal",
2419
2422
  "children": [
2420
2423
  {
2421
2424
  "name": "alert-triangle",
@@ -2426,42 +2429,39 @@
2426
2429
  "type": "typography",
2427
2430
  "variant": "h3"
2428
2431
  }
2429
- ],
2430
- "gap": "sm",
2431
- "direction": "horizontal",
2432
- "type": "stack"
2432
+ ]
2433
2433
  },
2434
2434
  {
2435
2435
  "type": "divider"
2436
2436
  },
2437
2437
  {
2438
- "variant": "error",
2438
+ "message": "Are you sure you want to drop this rpgitem?",
2439
2439
  "type": "alert",
2440
- "message": "Are you sure you want to drop this rpgitem?"
2440
+ "variant": "error"
2441
2441
  },
2442
2442
  {
2443
- "type": "stack",
2444
2443
  "children": [
2445
2444
  {
2446
- "variant": "ghost",
2447
- "label": "Cancel",
2448
2445
  "action": "CANCEL",
2449
- "type": "button"
2446
+ "type": "button",
2447
+ "label": "Cancel",
2448
+ "variant": "ghost"
2450
2449
  },
2451
2450
  {
2451
+ "variant": "danger",
2452
2452
  "icon": "check",
2453
2453
  "type": "button",
2454
- "variant": "danger",
2455
2454
  "action": "CONFIRM_DROP",
2456
2455
  "label": "Drop"
2457
2456
  }
2458
2457
  ],
2459
2458
  "justify": "end",
2460
- "gap": "sm",
2461
- "direction": "horizontal"
2459
+ "type": "stack",
2460
+ "direction": "horizontal",
2461
+ "gap": "sm"
2462
2462
  }
2463
2463
  ],
2464
- "gap": "md",
2464
+ "direction": "vertical",
2465
2465
  "type": "stack"
2466
2466
  }
2467
2467
  ]
@@ -2795,8 +2795,8 @@
2795
2795
  "Mission",
2796
2796
  {
2797
2797
  "emit": {
2798
- "failure": "MissionLoadFailed",
2799
- "success": "MissionLoaded"
2798
+ "success": "MissionLoaded",
2799
+ "failure": "MissionLoadFailed"
2800
2800
  }
2801
2801
  }
2802
2802
  ],
@@ -2804,9 +2804,6 @@
2804
2804
  "render-ui",
2805
2805
  "main",
2806
2806
  {
2807
- "className": "py-12",
2808
- "gap": "md",
2809
- "align": "center",
2810
2807
  "children": [
2811
2808
  {
2812
2809
  "type": "spinner"
@@ -2814,12 +2811,15 @@
2814
2811
  {
2815
2812
  "variant": "caption",
2816
2813
  "type": "typography",
2817
- "color": "muted",
2818
- "content": "Loading missions…"
2814
+ "content": "Loading missions…",
2815
+ "color": "muted"
2819
2816
  }
2820
2817
  ],
2821
2818
  "type": "stack",
2822
- "direction": "vertical"
2819
+ "align": "center",
2820
+ "gap": "md",
2821
+ "direction": "vertical",
2822
+ "className": "py-12"
2823
2823
  }
2824
2824
  ]
2825
2825
  ]
@@ -2833,19 +2833,16 @@
2833
2833
  "render-ui",
2834
2834
  "main",
2835
2835
  {
2836
- "appName": "RPG Game",
2837
2836
  "children": [
2838
2837
  {
2839
- "direction": "vertical",
2840
- "type": "stack",
2838
+ "gap": "lg",
2841
2839
  "children": [
2842
2840
  {
2843
- "gap": "md",
2841
+ "type": "stack",
2844
2842
  "children": [
2845
2843
  {
2846
- "gap": "md",
2847
2844
  "direction": "horizontal",
2848
- "type": "stack",
2845
+ "gap": "md",
2849
2846
  "children": [
2850
2847
  {
2851
2848
  "name": "flag",
@@ -2853,81 +2850,84 @@
2853
2850
  },
2854
2851
  {
2855
2852
  "type": "typography",
2856
- "variant": "h2",
2857
- "content": "Missions Board"
2853
+ "content": "Missions Board",
2854
+ "variant": "h2"
2858
2855
  }
2859
- ]
2856
+ ],
2857
+ "type": "stack"
2860
2858
  }
2861
2859
  ],
2862
- "justify": "between",
2863
2860
  "direction": "horizontal",
2864
- "type": "stack"
2861
+ "gap": "md",
2862
+ "justify": "between"
2865
2863
  },
2866
2864
  {
2867
2865
  "type": "divider"
2868
2866
  },
2869
2867
  {
2870
- "itemActions": [
2871
- {
2872
- "label": "Accept",
2873
- "event": "ACCEPT"
2874
- }
2875
- ],
2868
+ "entity": "@payload.data",
2876
2869
  "renderItem": [
2877
2870
  "fn",
2878
2871
  "item",
2879
2872
  {
2880
- "gap": "sm",
2873
+ "type": "stack",
2874
+ "direction": "vertical",
2881
2875
  "children": [
2882
2876
  {
2883
- "direction": "horizontal",
2884
- "align": "center",
2877
+ "type": "stack",
2885
2878
  "children": [
2886
2879
  {
2887
2880
  "type": "stack",
2881
+ "gap": "sm",
2882
+ "align": "center",
2888
2883
  "direction": "horizontal",
2889
2884
  "children": [
2890
2885
  {
2891
- "name": "flag",
2892
- "type": "icon"
2886
+ "type": "icon",
2887
+ "name": "flag"
2893
2888
  },
2894
2889
  {
2895
- "content": "@item.title",
2896
2890
  "type": "typography",
2891
+ "content": "@item.title",
2897
2892
  "variant": "h4"
2898
2893
  }
2899
- ],
2900
- "align": "center",
2901
- "gap": "sm"
2894
+ ]
2902
2895
  },
2903
2896
  {
2904
2897
  "label": "@item.description",
2905
2898
  "type": "badge"
2906
2899
  }
2907
2900
  ],
2908
- "type": "stack",
2909
- "justify": "between"
2901
+ "justify": "between",
2902
+ "align": "center",
2903
+ "direction": "horizontal"
2910
2904
  },
2911
2905
  {
2912
- "variant": "caption",
2913
2906
  "type": "typography",
2907
+ "variant": "caption",
2914
2908
  "content": "@item.status"
2915
2909
  }
2916
2910
  ],
2917
- "type": "stack",
2918
- "direction": "vertical"
2911
+ "gap": "sm"
2919
2912
  }
2920
2913
  ],
2921
- "type": "data-list",
2922
2914
  "fields": [],
2923
2915
  "groupBy": "status",
2924
- "entity": "@payload.data"
2916
+ "type": "data-list",
2917
+ "itemActions": [
2918
+ {
2919
+ "label": "Accept",
2920
+ "event": "ACCEPT"
2921
+ }
2922
+ ]
2925
2923
  }
2926
2924
  ],
2927
- "gap": "lg"
2925
+ "type": "stack",
2926
+ "direction": "vertical"
2928
2927
  }
2929
2928
  ],
2930
2929
  "type": "game-shell",
2930
+ "appName": "RPG Game",
2931
2931
  "showTopBar": true
2932
2932
  }
2933
2933
  ]
@@ -2942,36 +2942,36 @@
2942
2942
  "render-ui",
2943
2943
  "main",
2944
2944
  {
2945
- "type": "stack",
2946
- "className": "py-12",
2945
+ "direction": "vertical",
2946
+ "gap": "md",
2947
2947
  "align": "center",
2948
+ "className": "py-12",
2948
2949
  "children": [
2949
2950
  {
2951
+ "type": "icon",
2950
2952
  "name": "alert-triangle",
2951
- "color": "destructive",
2952
- "type": "icon"
2953
+ "color": "destructive"
2953
2954
  },
2954
2955
  {
2955
- "variant": "h3",
2956
+ "type": "typography",
2956
2957
  "content": "Failed to load missions",
2957
- "type": "typography"
2958
+ "variant": "h3"
2958
2959
  },
2959
2960
  {
2960
- "color": "muted",
2961
2961
  "variant": "body",
2962
2962
  "type": "typography",
2963
+ "color": "muted",
2963
2964
  "content": "@payload.error"
2964
2965
  },
2965
2966
  {
2966
2967
  "icon": "rotate-ccw",
2967
- "action": "INIT",
2968
2968
  "label": "Retry",
2969
+ "action": "INIT",
2969
2970
  "type": "button",
2970
2971
  "variant": "primary"
2971
2972
  }
2972
2973
  ],
2973
- "gap": "md",
2974
- "direction": "vertical"
2974
+ "type": "stack"
2975
2975
  }
2976
2976
  ]
2977
2977
  ]
@@ -2986,51 +2986,51 @@
2986
2986
  "main",
2987
2987
  {
2988
2988
  "appName": "RPG Game",
2989
- "showTopBar": true,
2990
2989
  "type": "game-shell",
2990
+ "showTopBar": true,
2991
2991
  "children": [
2992
2992
  {
2993
2993
  "gap": "lg",
2994
+ "direction": "vertical",
2995
+ "align": "center",
2994
2996
  "children": [
2995
2997
  {
2996
- "content": "Quest Active",
2997
2998
  "type": "typography",
2999
+ "content": "Quest Active",
2998
3000
  "variant": "h2"
2999
3001
  },
3000
3002
  {
3001
- "showPercentage": true,
3002
3003
  "type": "progress-bar",
3003
- "value": 50.0
3004
+ "value": 50.0,
3005
+ "showPercentage": true
3004
3006
  },
3005
3007
  {
3008
+ "direction": "horizontal",
3006
3009
  "type": "stack",
3007
3010
  "gap": "sm",
3008
- "direction": "horizontal",
3009
3011
  "children": [
3010
3012
  {
3011
- "variant": "primary",
3012
- "action": "PROGRESS",
3013
3013
  "type": "button",
3014
+ "action": "PROGRESS",
3015
+ "variant": "primary",
3014
3016
  "label": "Progress"
3015
3017
  },
3016
3018
  {
3017
3019
  "label": "Complete",
3018
- "variant": "success",
3019
3020
  "type": "button",
3021
+ "variant": "success",
3020
3022
  "action": "COMPLETE"
3021
3023
  },
3022
3024
  {
3023
3025
  "label": "Fail",
3024
3026
  "action": "FAIL",
3025
- "type": "button",
3026
- "variant": "danger"
3027
+ "variant": "danger",
3028
+ "type": "button"
3027
3029
  }
3028
3030
  ]
3029
3031
  }
3030
3032
  ],
3031
- "type": "stack",
3032
- "direction": "vertical",
3033
- "align": "center"
3033
+ "type": "stack"
3034
3034
  }
3035
3035
  ]
3036
3036
  }
@@ -3046,43 +3046,43 @@
3046
3046
  "render-ui",
3047
3047
  "modal",
3048
3048
  {
3049
+ "type": "stack",
3049
3050
  "children": [
3050
3051
  {
3051
- "gap": "sm",
3052
- "direction": "horizontal",
3053
3052
  "children": [
3054
3053
  {
3055
3054
  "name": "trending-up",
3056
3055
  "type": "icon"
3057
3056
  },
3058
3057
  {
3059
- "variant": "h3",
3060
3058
  "type": "typography",
3061
- "content": "Update Progress"
3059
+ "content": "Update Progress",
3060
+ "variant": "h3"
3062
3061
  }
3063
3062
  ],
3064
- "type": "stack"
3063
+ "gap": "sm",
3064
+ "type": "stack",
3065
+ "direction": "horizontal"
3065
3066
  },
3066
3067
  {
3067
3068
  "type": "divider"
3068
3069
  },
3069
3070
  {
3070
- "entity": "@entity",
3071
- "mode": "edit",
3072
- "type": "form-section",
3073
- "submitEvent": "SAVE",
3074
3071
  "fields": [
3075
3072
  "title",
3076
3073
  "description",
3077
3074
  "status",
3078
3075
  "reward"
3079
3076
  ],
3077
+ "type": "form-section",
3078
+ "mode": "edit",
3079
+ "entity": "@entity",
3080
+ "submitEvent": "SAVE",
3080
3081
  "cancelEvent": "CANCEL"
3081
3082
  }
3082
3083
  ],
3083
- "type": "stack",
3084
- "direction": "vertical",
3085
- "gap": "md"
3084
+ "gap": "md",
3085
+ "direction": "vertical"
3086
3086
  }
3087
3087
  ]
3088
3088
  ]
@@ -3096,14 +3096,11 @@
3096
3096
  "render-ui",
3097
3097
  "main",
3098
3098
  {
3099
- "showTopBar": true,
3100
- "type": "game-shell",
3101
- "appName": "RPG Game",
3102
3099
  "children": [
3103
3100
  {
3104
- "type": "stack",
3101
+ "align": "center",
3105
3102
  "gap": "lg",
3106
- "direction": "vertical",
3103
+ "type": "stack",
3107
3104
  "children": [
3108
3105
  {
3109
3106
  "type": "icon",
@@ -3111,8 +3108,8 @@
3111
3108
  },
3112
3109
  {
3113
3110
  "variant": "h2",
3114
- "type": "typography",
3115
- "content": "Quest Complete"
3111
+ "content": "Quest Complete",
3112
+ "type": "typography"
3116
3113
  },
3117
3114
  {
3118
3115
  "type": "alert",
@@ -3122,14 +3119,17 @@
3122
3119
  {
3123
3120
  "label": "View Quests",
3124
3121
  "type": "button",
3125
- "variant": "primary",
3122
+ "action": "RESET",
3126
3123
  "icon": "arrow-left",
3127
- "action": "RESET"
3124
+ "variant": "primary"
3128
3125
  }
3129
3126
  ],
3130
- "align": "center"
3127
+ "direction": "vertical"
3131
3128
  }
3132
- ]
3129
+ ],
3130
+ "showTopBar": true,
3131
+ "type": "game-shell",
3132
+ "appName": "RPG Game"
3133
3133
  }
3134
3134
  ]
3135
3135
  ]
@@ -3143,40 +3143,40 @@
3143
3143
  "render-ui",
3144
3144
  "main",
3145
3145
  {
3146
- "showTopBar": true,
3147
3146
  "type": "game-shell",
3147
+ "appName": "RPG Game",
3148
+ "showTopBar": true,
3148
3149
  "children": [
3149
3150
  {
3150
- "type": "stack",
3151
+ "align": "center",
3151
3152
  "children": [
3152
3153
  {
3153
3154
  "type": "icon",
3154
3155
  "name": "x-circle"
3155
3156
  },
3156
3157
  {
3158
+ "type": "typography",
3157
3159
  "variant": "h2",
3158
- "content": "Quest Failed",
3159
- "type": "typography"
3160
+ "content": "Quest Failed"
3160
3161
  },
3161
3162
  {
3162
- "type": "alert",
3163
3163
  "message": "The quest was not completed. You can try again.",
3164
+ "type": "alert",
3164
3165
  "variant": "error"
3165
3166
  },
3166
3167
  {
3168
+ "type": "button",
3167
3169
  "icon": "arrow-left",
3170
+ "action": "RESET",
3168
3171
  "variant": "primary",
3169
- "type": "button",
3170
- "label": "View Quests",
3171
- "action": "RESET"
3172
+ "label": "View Quests"
3172
3173
  }
3173
3174
  ],
3174
- "align": "center",
3175
3175
  "direction": "vertical",
3176
+ "type": "stack",
3176
3177
  "gap": "lg"
3177
3178
  }
3178
- ],
3179
- "appName": "RPG Game"
3179
+ ]
3180
3180
  }
3181
3181
  ]
3182
3182
  ]
@@ -3193,8 +3193,8 @@
3193
3193
  "@payload.data",
3194
3194
  {
3195
3195
  "emit": {
3196
- "success": "MissionUpdated",
3197
- "failure": "MissionUpdateFailed"
3196
+ "failure": "MissionUpdateFailed",
3197
+ "success": "MissionUpdated"
3198
3198
  }
3199
3199
  }
3200
3200
  ],
@@ -3237,8 +3237,8 @@
3237
3237
  "Mission",
3238
3238
  {
3239
3239
  "emit": {
3240
- "success": "MissionLoaded",
3241
- "failure": "MissionLoadFailed"
3240
+ "failure": "MissionLoadFailed",
3241
+ "success": "MissionLoaded"
3242
3242
  }
3243
3243
  }
3244
3244
  ],
@@ -3290,8 +3290,8 @@
3290
3290
  "Mission",
3291
3291
  {
3292
3292
  "emit": {
3293
- "failure": "MissionLoadFailed",
3294
- "success": "MissionLoaded"
3293
+ "success": "MissionLoaded",
3294
+ "failure": "MissionLoadFailed"
3295
3295
  }
3296
3296
  }
3297
3297
  ],
@@ -3314,8 +3314,8 @@
3314
3314
  "Mission",
3315
3315
  {
3316
3316
  "emit": {
3317
- "failure": "MissionLoadFailed",
3318
- "success": "MissionLoaded"
3317
+ "success": "MissionLoaded",
3318
+ "failure": "MissionLoadFailed"
3319
3319
  }
3320
3320
  }
3321
3321
  ],
@@ -3346,4 +3346,4 @@
3346
3346
  ]
3347
3347
  }
3348
3348
  ]
3349
- }
3349
+ }