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