@almadar/std 9.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 +55 -59
  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 +55 -59
  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
@@ -233,12 +233,14 @@
233
233
  "render-ui",
234
234
  "main",
235
235
  {
236
- "direction": "vertical",
236
+ "gap": "lg",
237
+ "align": "center",
237
238
  "type": "stack",
239
+ "direction": "vertical",
238
240
  "children": [
239
241
  {
240
- "type": "game-hud",
241
242
  "position": "top",
243
+ "type": "game-hud",
242
244
  "stats": [
243
245
  {
244
246
  "label": "HP",
@@ -255,15 +257,13 @@
255
257
  ]
256
258
  },
257
259
  {
258
- "icon": "swords",
259
260
  "variant": "primary",
260
261
  "action": "ATTACK",
262
+ "icon": "swords",
261
263
  "label": "Attack",
262
264
  "type": "button"
263
265
  }
264
- ],
265
- "align": "center",
266
- "gap": "lg"
266
+ ]
267
267
  }
268
268
  ]
269
269
  ]
@@ -279,35 +279,35 @@
279
279
  {
280
280
  "type": "stack",
281
281
  "align": "center",
282
- "direction": "vertical",
283
282
  "children": [
284
283
  {
284
+ "position": "top",
285
285
  "type": "game-hud",
286
286
  "stats": [
287
287
  {
288
- "label": "HP",
289
- "value": "@entity.hp"
288
+ "value": "@entity.hp",
289
+ "label": "HP"
290
290
  },
291
291
  {
292
- "value": "@entity.attack",
293
- "label": "Attack"
292
+ "label": "Attack",
293
+ "value": "@entity.attack"
294
294
  },
295
295
  {
296
296
  "label": "Defense",
297
297
  "value": "@entity.defense"
298
298
  }
299
- ],
300
- "position": "top"
299
+ ]
301
300
  },
302
301
  {
302
+ "label": "Cooldown End",
303
303
  "action": "HIT",
304
304
  "icon": "clock",
305
305
  "type": "button",
306
- "label": "Cooldown End",
307
306
  "variant": "secondary"
308
307
  }
309
308
  ],
310
- "gap": "lg"
309
+ "gap": "lg",
310
+ "direction": "vertical"
311
311
  }
312
312
  ]
313
313
  ]
@@ -321,34 +321,34 @@
321
321
  "render-ui",
322
322
  "main",
323
323
  {
324
+ "direction": "vertical",
325
+ "gap": "lg",
326
+ "type": "stack",
327
+ "align": "center",
324
328
  "children": [
325
329
  {
326
330
  "type": "game-hud",
331
+ "position": "top",
327
332
  "stats": [
328
333
  {
329
- "value": "@entity.hp",
330
- "label": "HP"
334
+ "label": "HP",
335
+ "value": "@entity.hp"
331
336
  },
332
337
  {
333
- "value": "@entity.attack",
334
- "label": "Attack"
338
+ "label": "Attack",
339
+ "value": "@entity.attack"
335
340
  },
336
341
  {
337
342
  "label": "Defense",
338
343
  "value": "@entity.defense"
339
344
  }
340
- ],
341
- "position": "top"
345
+ ]
342
346
  },
343
347
  {
344
348
  "type": "badge",
345
349
  "label": "Cooling down..."
346
350
  }
347
- ],
348
- "type": "stack",
349
- "direction": "vertical",
350
- "gap": "lg",
351
- "align": "center"
351
+ ]
352
352
  }
353
353
  ]
354
354
  ]
@@ -362,22 +362,22 @@
362
362
  "render-ui",
363
363
  "main",
364
364
  {
365
- "align": "center",
366
365
  "direction": "vertical",
367
366
  "children": [
368
367
  {
369
- "title": "Defeated",
368
+ "type": "game-over-screen",
370
369
  "variant": "defeat",
371
- "type": "game-over-screen"
370
+ "title": "Defeated"
372
371
  },
373
372
  {
374
- "action": "RESET",
373
+ "label": "Reset",
375
374
  "type": "button",
375
+ "action": "RESET",
376
376
  "variant": "ghost",
377
- "icon": "rotate-ccw",
378
- "label": "Reset"
377
+ "icon": "rotate-ccw"
379
378
  }
380
379
  ],
380
+ "align": "center",
381
381
  "type": "stack",
382
382
  "gap": "lg"
383
383
  }
@@ -393,37 +393,37 @@
393
393
  "render-ui",
394
394
  "main",
395
395
  {
396
- "type": "stack",
397
- "direction": "vertical",
398
- "gap": "lg",
399
396
  "align": "center",
397
+ "direction": "vertical",
398
+ "type": "stack",
400
399
  "children": [
401
400
  {
402
401
  "position": "top",
402
+ "type": "game-hud",
403
403
  "stats": [
404
404
  {
405
405
  "value": "@entity.hp",
406
406
  "label": "HP"
407
407
  },
408
408
  {
409
- "label": "Attack",
410
- "value": "@entity.attack"
409
+ "value": "@entity.attack",
410
+ "label": "Attack"
411
411
  },
412
412
  {
413
- "value": "@entity.defense",
414
- "label": "Defense"
413
+ "label": "Defense",
414
+ "value": "@entity.defense"
415
415
  }
416
- ],
417
- "type": "game-hud"
416
+ ]
418
417
  },
419
418
  {
420
- "type": "button",
421
419
  "variant": "primary",
420
+ "type": "button",
421
+ "icon": "swords",
422
422
  "label": "Attack",
423
- "action": "ATTACK",
424
- "icon": "swords"
423
+ "action": "ATTACK"
425
424
  }
426
- ]
425
+ ],
426
+ "gap": "lg"
427
427
  }
428
428
  ]
429
429
  ]
@@ -437,24 +437,24 @@
437
437
  "render-ui",
438
438
  "main",
439
439
  {
440
- "direction": "vertical",
441
440
  "align": "center",
442
441
  "gap": "lg",
442
+ "direction": "vertical",
443
+ "type": "stack",
443
444
  "children": [
444
445
  {
445
- "variant": "defeat",
446
446
  "type": "game-over-screen",
447
- "title": "Defeated"
447
+ "title": "Defeated",
448
+ "variant": "defeat"
448
449
  },
449
450
  {
450
- "label": "Reset",
451
451
  "icon": "rotate-ccw",
452
- "variant": "ghost",
453
452
  "type": "button",
454
- "action": "RESET"
453
+ "label": "Reset",
454
+ "action": "RESET",
455
+ "variant": "ghost"
455
456
  }
456
- ],
457
- "type": "stack"
457
+ ]
458
458
  }
459
459
  ]
460
460
  ]
@@ -468,9 +468,13 @@
468
468
  "render-ui",
469
469
  "main",
470
470
  {
471
+ "direction": "vertical",
472
+ "type": "stack",
473
+ "gap": "lg",
471
474
  "align": "center",
472
475
  "children": [
473
476
  {
477
+ "type": "game-hud",
474
478
  "position": "top",
475
479
  "stats": [
476
480
  {
@@ -478,27 +482,23 @@
478
482
  "value": "@entity.hp"
479
483
  },
480
484
  {
481
- "label": "Attack",
482
- "value": "@entity.attack"
485
+ "value": "@entity.attack",
486
+ "label": "Attack"
483
487
  },
484
488
  {
485
- "value": "@entity.defense",
486
- "label": "Defense"
489
+ "label": "Defense",
490
+ "value": "@entity.defense"
487
491
  }
488
- ],
489
- "type": "game-hud"
492
+ ]
490
493
  },
491
494
  {
492
- "label": "Attack",
493
495
  "type": "button",
494
- "action": "ATTACK",
495
496
  "variant": "primary",
496
- "icon": "swords"
497
+ "icon": "swords",
498
+ "label": "Attack",
499
+ "action": "ATTACK"
497
500
  }
498
- ],
499
- "type": "stack",
500
- "gap": "lg",
501
- "direction": "vertical"
501
+ ]
502
502
  }
503
503
  ]
504
504
  ]
@@ -194,8 +194,8 @@
194
194
  "DialogueNode",
195
195
  {
196
196
  "emit": {
197
- "success": "DialogueNodeLoaded",
198
- "failure": "DialogueNodeLoadFailed"
197
+ "failure": "DialogueNodeLoadFailed",
198
+ "success": "DialogueNodeLoaded"
199
199
  }
200
200
  }
201
201
  ],
@@ -213,13 +213,13 @@
213
213
  "render-ui",
214
214
  "main",
215
215
  {
216
- "type": "dialogue-box",
217
216
  "typewriterSpeed": 30.0,
217
+ "type": "dialogue-box",
218
+ "position": "bottom",
218
219
  "dialogue": {
219
- "text": "@entity.text",
220
- "speaker": "@entity.speaker"
221
- },
222
- "position": "bottom"
220
+ "speaker": "@entity.speaker",
221
+ "text": "@entity.text"
222
+ }
223
223
  }
224
224
  ]
225
225
  ]
@@ -234,8 +234,8 @@
234
234
  "DialogueNode",
235
235
  {
236
236
  "emit": {
237
- "failure": "DialogueNodeLoadFailed",
238
- "success": "DialogueNodeLoaded"
237
+ "success": "DialogueNodeLoaded",
238
+ "failure": "DialogueNodeLoadFailed"
239
239
  }
240
240
  }
241
241
  ],
@@ -244,12 +244,12 @@
244
244
  "main",
245
245
  {
246
246
  "position": "bottom",
247
+ "type": "dialogue-box",
248
+ "typewriterSpeed": 30.0,
247
249
  "dialogue": {
248
250
  "text": "@entity.text",
249
251
  "speaker": "@entity.speaker"
250
- },
251
- "type": "dialogue-box",
252
- "typewriterSpeed": 30.0
252
+ }
253
253
  }
254
254
  ]
255
255
  ]
@@ -263,12 +263,12 @@
263
263
  "render-ui",
264
264
  "main",
265
265
  {
266
- "position": "bottom",
267
266
  "type": "dialogue-box",
268
267
  "typewriterSpeed": 30.0,
268
+ "position": "bottom",
269
269
  "dialogue": {
270
- "speaker": "@entity.speaker",
271
- "text": "@entity.text"
270
+ "text": "@entity.text",
271
+ "speaker": "@entity.speaker"
272
272
  }
273
273
  }
274
274
  ]
@@ -284,23 +284,23 @@
284
284
  "main",
285
285
  {
286
286
  "align": "center",
287
+ "gap": "md",
288
+ "type": "stack",
287
289
  "children": [
288
290
  {
289
- "content": "Dialogue complete",
291
+ "type": "typography",
290
292
  "variant": "caption",
291
- "type": "typography"
293
+ "content": "Dialogue complete"
292
294
  },
293
295
  {
294
- "label": "New Dialogue",
295
296
  "icon": "message-circle",
296
297
  "type": "button",
298
+ "label": "New Dialogue",
297
299
  "variant": "primary",
298
300
  "action": "START_DIALOGUE"
299
301
  }
300
302
  ],
301
- "gap": "md",
302
- "direction": "vertical",
303
- "type": "stack"
303
+ "direction": "vertical"
304
304
  }
305
305
  ]
306
306
  ]
@@ -324,12 +324,12 @@
324
324
  "render-ui",
325
325
  "main",
326
326
  {
327
+ "typewriterSpeed": 30.0,
328
+ "type": "dialogue-box",
327
329
  "dialogue": {
328
- "text": "@entity.text",
329
- "speaker": "@entity.speaker"
330
+ "speaker": "@entity.speaker",
331
+ "text": "@entity.text"
330
332
  },
331
- "type": "dialogue-box",
332
- "typewriterSpeed": 30.0,
333
333
  "position": "bottom"
334
334
  }
335
335
  ]
@@ -167,13 +167,11 @@
167
167
  "main",
168
168
  {
169
169
  "type": "stack",
170
- "direction": "vertical",
171
- "gap": "md",
172
170
  "children": [
173
171
  {
174
- "align": "center",
175
- "gap": "sm",
176
172
  "type": "stack",
173
+ "gap": "sm",
174
+ "align": "center",
177
175
  "children": [
178
176
  {
179
177
  "name": "monitor",
@@ -181,32 +179,34 @@
181
179
  },
182
180
  {
183
181
  "content": "GameCanvas2d Canvas",
184
- "variant": "h3",
185
- "type": "typography"
182
+ "type": "typography",
183
+ "variant": "h3"
186
184
  }
187
185
  ],
188
186
  "direction": "horizontal"
189
187
  },
190
188
  {
191
- "content": "800x600 @ 60fps",
192
189
  "color": "muted",
193
- "variant": "caption",
194
- "type": "typography"
190
+ "content": "800x600 @ 60fps",
191
+ "type": "typography",
192
+ "variant": "caption"
195
193
  },
196
194
  {
197
- "height": 600.0,
198
- "fps": 60.0,
199
195
  "type": "game-canvas-2d",
200
- "width": 800.0
196
+ "width": 800.0,
197
+ "height": 600.0,
198
+ "fps": 60.0
201
199
  },
202
200
  {
203
201
  "type": "button",
204
- "icon": "play",
205
- "action": "START",
202
+ "label": "Start",
206
203
  "variant": "primary",
207
- "label": "Start"
204
+ "icon": "play",
205
+ "action": "START"
208
206
  }
209
- ]
207
+ ],
208
+ "direction": "vertical",
209
+ "gap": "md"
210
210
  }
211
211
  ]
212
212
  ]
@@ -220,6 +220,9 @@
220
220
  "render-ui",
221
221
  "main",
222
222
  {
223
+ "type": "stack",
224
+ "direction": "vertical",
225
+ "gap": "md",
223
226
  "children": [
224
227
  {
225
228
  "gap": "sm",
@@ -229,32 +232,29 @@
229
232
  "type": "icon"
230
233
  },
231
234
  {
232
- "variant": "h3",
235
+ "content": "GameCanvas2d Canvas",
233
236
  "type": "typography",
234
- "content": "GameCanvas2d Canvas"
237
+ "variant": "h3"
235
238
  }
236
239
  ],
237
- "align": "center",
238
240
  "direction": "horizontal",
239
- "type": "stack"
241
+ "type": "stack",
242
+ "align": "center"
240
243
  },
241
244
  {
242
- "fps": 60.0,
243
245
  "type": "game-canvas-2d",
246
+ "fps": 60.0,
244
247
  "width": 800.0,
245
248
  "height": 600.0
246
249
  },
247
250
  {
248
- "action": "STOP",
249
251
  "icon": "square",
250
252
  "variant": "ghost",
253
+ "type": "button",
251
254
  "label": "Stop",
252
- "type": "button"
255
+ "action": "STOP"
253
256
  }
254
- ],
255
- "gap": "md",
256
- "direction": "vertical",
257
- "type": "stack"
257
+ ]
258
258
  }
259
259
  ]
260
260
  ]
@@ -274,46 +274,46 @@
274
274
  "main",
275
275
  {
276
276
  "gap": "md",
277
- "type": "stack",
278
277
  "direction": "vertical",
279
278
  "children": [
280
279
  {
281
- "type": "stack",
282
- "gap": "sm",
283
280
  "align": "center",
281
+ "direction": "horizontal",
282
+ "gap": "sm",
284
283
  "children": [
285
284
  {
286
- "name": "monitor",
287
- "type": "icon"
285
+ "type": "icon",
286
+ "name": "monitor"
288
287
  },
289
288
  {
289
+ "variant": "h3",
290
290
  "content": "GameCanvas2d Canvas",
291
- "type": "typography",
292
- "variant": "h3"
291
+ "type": "typography"
293
292
  }
294
293
  ],
295
- "direction": "horizontal"
294
+ "type": "stack"
296
295
  },
297
296
  {
298
- "type": "typography",
299
- "content": "800x600 @ 60fps",
300
297
  "variant": "caption",
301
- "color": "muted"
298
+ "color": "muted",
299
+ "content": "800x600 @ 60fps",
300
+ "type": "typography"
302
301
  },
303
302
  {
303
+ "height": 600.0,
304
304
  "fps": 60.0,
305
305
  "type": "game-canvas-2d",
306
- "width": 800.0,
307
- "height": 600.0
306
+ "width": 800.0
308
307
  },
309
308
  {
310
309
  "action": "START",
311
- "label": "Start",
312
- "icon": "play",
313
310
  "variant": "primary",
311
+ "icon": "play",
312
+ "label": "Start",
314
313
  "type": "button"
315
314
  }
316
- ]
315
+ ],
316
+ "type": "stack"
317
317
  }
318
318
  ]
319
319
  ]