@almadar/std 8.2.0 → 8.3.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 +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -233,9 +233,11 @@
233
233
  "render-ui",
234
234
  "main",
235
235
  {
236
- "direction": "vertical",
236
+ "type": "stack",
237
+ "align": "center",
237
238
  "children": [
238
239
  {
240
+ "type": "game-hud",
239
241
  "position": "top",
240
242
  "stats": [
241
243
  {
@@ -243,27 +245,25 @@
243
245
  "value": "@entity.hp"
244
246
  },
245
247
  {
246
- "value": "@entity.attack",
247
- "label": "Attack"
248
+ "label": "Attack",
249
+ "value": "@entity.attack"
248
250
  },
249
251
  {
250
252
  "label": "Defense",
251
253
  "value": "@entity.defense"
252
254
  }
253
- ],
254
- "type": "game-hud"
255
+ ]
255
256
  },
256
257
  {
257
- "variant": "primary",
258
258
  "label": "Attack",
259
259
  "action": "ATTACK",
260
+ "variant": "primary",
260
261
  "icon": "swords",
261
262
  "type": "button"
262
263
  }
263
264
  ],
264
- "gap": "lg",
265
- "type": "stack",
266
- "align": "center"
265
+ "direction": "vertical",
266
+ "gap": "lg"
267
267
  }
268
268
  ]
269
269
  ]
@@ -277,37 +277,37 @@
277
277
  "render-ui",
278
278
  "main",
279
279
  {
280
+ "type": "stack",
281
+ "align": "center",
282
+ "direction": "vertical",
280
283
  "gap": "lg",
281
284
  "children": [
282
285
  {
283
- "position": "top",
284
286
  "stats": [
285
287
  {
286
- "label": "HP",
287
- "value": "@entity.hp"
288
+ "value": "@entity.hp",
289
+ "label": "HP"
288
290
  },
289
291
  {
290
- "value": "@entity.attack",
291
- "label": "Attack"
292
+ "label": "Attack",
293
+ "value": "@entity.attack"
292
294
  },
293
295
  {
294
- "value": "@entity.defense",
295
- "label": "Defense"
296
+ "label": "Defense",
297
+ "value": "@entity.defense"
296
298
  }
297
299
  ],
300
+ "position": "top",
298
301
  "type": "game-hud"
299
302
  },
300
303
  {
301
- "label": "Cooldown End",
302
- "type": "button",
303
304
  "variant": "secondary",
305
+ "type": "button",
306
+ "action": "HIT",
304
307
  "icon": "clock",
305
- "action": "HIT"
308
+ "label": "Cooldown End"
306
309
  }
307
- ],
308
- "align": "center",
309
- "type": "stack",
310
- "direction": "vertical"
310
+ ]
311
311
  }
312
312
  ]
313
313
  ]
@@ -322,33 +322,33 @@
322
322
  "main",
323
323
  {
324
324
  "direction": "vertical",
325
+ "gap": "lg",
325
326
  "align": "center",
327
+ "type": "stack",
326
328
  "children": [
327
329
  {
328
- "type": "game-hud",
329
- "position": "top",
330
330
  "stats": [
331
331
  {
332
- "value": "@entity.hp",
333
- "label": "HP"
332
+ "label": "HP",
333
+ "value": "@entity.hp"
334
334
  },
335
335
  {
336
336
  "label": "Attack",
337
337
  "value": "@entity.attack"
338
338
  },
339
339
  {
340
- "value": "@entity.defense",
341
- "label": "Defense"
340
+ "label": "Defense",
341
+ "value": "@entity.defense"
342
342
  }
343
- ]
343
+ ],
344
+ "position": "top",
345
+ "type": "game-hud"
344
346
  },
345
347
  {
346
- "label": "Cooling down...",
347
- "type": "badge"
348
+ "type": "badge",
349
+ "label": "Cooling down..."
348
350
  }
349
- ],
350
- "type": "stack",
351
- "gap": "lg"
351
+ ]
352
352
  }
353
353
  ]
354
354
  ]
@@ -362,24 +362,24 @@
362
362
  "render-ui",
363
363
  "main",
364
364
  {
365
+ "direction": "vertical",
366
+ "gap": "lg",
367
+ "type": "stack",
368
+ "align": "center",
365
369
  "children": [
366
370
  {
367
371
  "type": "game-over-screen",
368
- "title": "Defeated",
369
- "variant": "defeat"
372
+ "variant": "defeat",
373
+ "title": "Defeated"
370
374
  },
371
375
  {
372
376
  "type": "button",
373
- "action": "RESET",
374
- "variant": "ghost",
375
377
  "icon": "rotate-ccw",
376
- "label": "Reset"
378
+ "variant": "ghost",
379
+ "label": "Reset",
380
+ "action": "RESET"
377
381
  }
378
- ],
379
- "direction": "vertical",
380
- "align": "center",
381
- "gap": "lg",
382
- "type": "stack"
382
+ ]
383
383
  }
384
384
  ]
385
385
  ]
@@ -393,9 +393,13 @@
393
393
  "render-ui",
394
394
  "main",
395
395
  {
396
+ "align": "center",
397
+ "type": "stack",
398
+ "gap": "lg",
399
+ "direction": "vertical",
396
400
  "children": [
397
401
  {
398
- "type": "game-hud",
402
+ "position": "top",
399
403
  "stats": [
400
404
  {
401
405
  "label": "HP",
@@ -406,24 +410,20 @@
406
410
  "label": "Attack"
407
411
  },
408
412
  {
409
- "label": "Defense",
410
- "value": "@entity.defense"
413
+ "value": "@entity.defense",
414
+ "label": "Defense"
411
415
  }
412
416
  ],
413
- "position": "top"
417
+ "type": "game-hud"
414
418
  },
415
419
  {
416
- "action": "ATTACK",
420
+ "label": "Attack",
417
421
  "variant": "primary",
418
422
  "type": "button",
419
- "label": "Attack",
420
- "icon": "swords"
423
+ "icon": "swords",
424
+ "action": "ATTACK"
421
425
  }
422
- ],
423
- "type": "stack",
424
- "gap": "lg",
425
- "direction": "vertical",
426
- "align": "center"
426
+ ]
427
427
  }
428
428
  ]
429
429
  ]
@@ -437,22 +437,22 @@
437
437
  "render-ui",
438
438
  "main",
439
439
  {
440
- "type": "stack",
441
440
  "gap": "lg",
442
441
  "children": [
443
442
  {
444
- "title": "Defeated",
445
443
  "variant": "defeat",
444
+ "title": "Defeated",
446
445
  "type": "game-over-screen"
447
446
  },
448
447
  {
449
- "action": "RESET",
450
- "label": "Reset",
451
- "variant": "ghost",
448
+ "icon": "rotate-ccw",
452
449
  "type": "button",
453
- "icon": "rotate-ccw"
450
+ "variant": "ghost",
451
+ "label": "Reset",
452
+ "action": "RESET"
454
453
  }
455
454
  ],
455
+ "type": "stack",
456
456
  "direction": "vertical",
457
457
  "align": "center"
458
458
  }
@@ -468,37 +468,37 @@
468
468
  "render-ui",
469
469
  "main",
470
470
  {
471
+ "gap": "lg",
472
+ "type": "stack",
473
+ "direction": "vertical",
474
+ "align": "center",
471
475
  "children": [
472
476
  {
477
+ "type": "game-hud",
478
+ "position": "top",
473
479
  "stats": [
474
480
  {
475
- "label": "HP",
476
- "value": "@entity.hp"
481
+ "value": "@entity.hp",
482
+ "label": "HP"
477
483
  },
478
484
  {
479
485
  "label": "Attack",
480
486
  "value": "@entity.attack"
481
487
  },
482
488
  {
483
- "label": "Defense",
484
- "value": "@entity.defense"
489
+ "value": "@entity.defense",
490
+ "label": "Defense"
485
491
  }
486
- ],
487
- "type": "game-hud",
488
- "position": "top"
492
+ ]
489
493
  },
490
494
  {
491
- "action": "ATTACK",
492
- "type": "button",
493
- "label": "Attack",
495
+ "icon": "swords",
494
496
  "variant": "primary",
495
- "icon": "swords"
497
+ "label": "Attack",
498
+ "type": "button",
499
+ "action": "ATTACK"
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,13 +213,13 @@
213
213
  "render-ui",
214
214
  "main",
215
215
  {
216
- "type": "dialogue-box",
217
216
  "position": "bottom",
218
- "typewriterSpeed": 30.0,
217
+ "type": "dialogue-box",
219
218
  "dialogue": {
220
- "speaker": "@entity.speaker",
221
- "text": "@entity.text"
222
- }
219
+ "text": "@entity.text",
220
+ "speaker": "@entity.speaker"
221
+ },
222
+ "typewriterSpeed": 30.0
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
  ],
@@ -243,12 +243,12 @@
243
243
  "render-ui",
244
244
  "main",
245
245
  {
246
- "typewriterSpeed": 30.0,
247
246
  "dialogue": {
248
- "speaker": "@entity.speaker",
249
- "text": "@entity.text"
247
+ "text": "@entity.text",
248
+ "speaker": "@entity.speaker"
250
249
  },
251
250
  "position": "bottom",
251
+ "typewriterSpeed": 30.0,
252
252
  "type": "dialogue-box"
253
253
  }
254
254
  ]
@@ -263,12 +263,12 @@
263
263
  "render-ui",
264
264
  "main",
265
265
  {
266
+ "typewriterSpeed": 30.0,
266
267
  "dialogue": {
267
268
  "speaker": "@entity.speaker",
268
269
  "text": "@entity.text"
269
270
  },
270
271
  "type": "dialogue-box",
271
- "typewriterSpeed": 30.0,
272
272
  "position": "bottom"
273
273
  }
274
274
  ]
@@ -283,6 +283,7 @@
283
283
  "render-ui",
284
284
  "main",
285
285
  {
286
+ "align": "center",
286
287
  "children": [
287
288
  {
288
289
  "type": "typography",
@@ -290,17 +291,16 @@
290
291
  "variant": "caption"
291
292
  },
292
293
  {
293
- "variant": "primary",
294
- "action": "START_DIALOGUE",
295
294
  "icon": "message-circle",
295
+ "label": "New Dialogue",
296
296
  "type": "button",
297
- "label": "New Dialogue"
297
+ "action": "START_DIALOGUE",
298
+ "variant": "primary"
298
299
  }
299
300
  ],
301
+ "type": "stack",
300
302
  "direction": "vertical",
301
- "align": "center",
302
- "gap": "md",
303
- "type": "stack"
303
+ "gap": "md"
304
304
  }
305
305
  ]
306
306
  ]
@@ -315,8 +315,8 @@
315
315
  "DialogueNode",
316
316
  {
317
317
  "emit": {
318
- "success": "DialogueNodeLoaded",
319
- "failure": "DialogueNodeLoadFailed"
318
+ "failure": "DialogueNodeLoadFailed",
319
+ "success": "DialogueNodeLoaded"
320
320
  }
321
321
  }
322
322
  ],
@@ -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
328
  "speaker": "@entity.speaker",
332
329
  "text": "@entity.text"
333
- }
330
+ },
331
+ "position": "bottom",
332
+ "type": "dialogue-box",
333
+ "typewriterSpeed": 30.0
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
  ],
@@ -166,12 +166,14 @@
166
166
  "render-ui",
167
167
  "main",
168
168
  {
169
- "direction": "vertical",
170
169
  "type": "stack",
170
+ "gap": "md",
171
+ "direction": "vertical",
171
172
  "children": [
172
173
  {
173
- "align": "center",
174
174
  "direction": "horizontal",
175
+ "type": "stack",
176
+ "align": "center",
175
177
  "children": [
176
178
  {
177
179
  "type": "icon",
@@ -179,34 +181,32 @@
179
181
  },
180
182
  {
181
183
  "type": "typography",
182
- "variant": "h3",
183
- "content": "GameCanvas2d Canvas"
184
+ "content": "GameCanvas2d Canvas",
185
+ "variant": "h3"
184
186
  }
185
187
  ],
186
- "type": "stack",
187
188
  "gap": "sm"
188
189
  },
189
190
  {
190
- "variant": "caption",
191
- "color": "muted",
192
191
  "type": "typography",
193
- "content": "800x600 @ 60fps"
192
+ "content": "800x600 @ 60fps",
193
+ "color": "muted",
194
+ "variant": "caption"
194
195
  },
195
196
  {
197
+ "fps": 60.0,
196
198
  "type": "game-canvas-2d",
197
199
  "width": 800.0,
198
- "height": 600.0,
199
- "fps": 60.0
200
+ "height": 600.0
200
201
  },
201
202
  {
203
+ "type": "button",
202
204
  "action": "START",
203
205
  "variant": "primary",
204
206
  "icon": "play",
205
- "type": "button",
206
207
  "label": "Start"
207
208
  }
208
- ],
209
- "gap": "md"
209
+ ]
210
210
  }
211
211
  ]
212
212
  ]
@@ -220,38 +220,38 @@
220
220
  "render-ui",
221
221
  "main",
222
222
  {
223
- "type": "stack",
224
- "gap": "md",
225
223
  "direction": "vertical",
224
+ "gap": "md",
225
+ "type": "stack",
226
226
  "children": [
227
227
  {
228
+ "gap": "sm",
229
+ "align": "center",
230
+ "type": "stack",
228
231
  "children": [
229
232
  {
230
- "name": "monitor",
231
- "type": "icon"
233
+ "type": "icon",
234
+ "name": "monitor"
232
235
  },
233
236
  {
234
- "type": "typography",
237
+ "content": "GameCanvas2d Canvas",
235
238
  "variant": "h3",
236
- "content": "GameCanvas2d Canvas"
239
+ "type": "typography"
237
240
  }
238
241
  ],
239
- "gap": "sm",
240
- "align": "center",
241
- "direction": "horizontal",
242
- "type": "stack"
242
+ "direction": "horizontal"
243
243
  },
244
244
  {
245
+ "width": 800.0,
245
246
  "height": 600.0,
246
247
  "fps": 60.0,
247
- "type": "game-canvas-2d",
248
- "width": 800.0
248
+ "type": "game-canvas-2d"
249
249
  },
250
250
  {
251
- "action": "STOP",
252
251
  "variant": "ghost",
253
- "icon": "square",
254
252
  "type": "button",
253
+ "action": "STOP",
254
+ "icon": "square",
255
255
  "label": "Stop"
256
256
  }
257
257
  ]
@@ -274,45 +274,45 @@
274
274
  "main",
275
275
  {
276
276
  "direction": "vertical",
277
+ "gap": "md",
277
278
  "children": [
278
279
  {
279
- "align": "center",
280
- "direction": "horizontal",
281
- "gap": "sm",
282
- "type": "stack",
283
280
  "children": [
284
281
  {
285
282
  "type": "icon",
286
283
  "name": "monitor"
287
284
  },
288
285
  {
286
+ "type": "typography",
289
287
  "content": "GameCanvas2d Canvas",
290
- "variant": "h3",
291
- "type": "typography"
288
+ "variant": "h3"
292
289
  }
293
- ]
290
+ ],
291
+ "gap": "sm",
292
+ "type": "stack",
293
+ "align": "center",
294
+ "direction": "horizontal"
294
295
  },
295
296
  {
296
297
  "content": "800x600 @ 60fps",
297
- "color": "muted",
298
298
  "type": "typography",
299
- "variant": "caption"
299
+ "variant": "caption",
300
+ "color": "muted"
300
301
  },
301
302
  {
302
303
  "height": 600.0,
303
- "width": 800.0,
304
304
  "fps": 60.0,
305
+ "width": 800.0,
305
306
  "type": "game-canvas-2d"
306
307
  },
307
308
  {
308
309
  "action": "START",
309
310
  "label": "Start",
310
- "icon": "play",
311
+ "type": "button",
311
312
  "variant": "primary",
312
- "type": "button"
313
+ "icon": "play"
313
314
  }
314
315
  ],
315
- "gap": "md",
316
316
  "type": "stack"
317
317
  }
318
318
  ]
@@ -336,4 +336,4 @@
336
336
  ]
337
337
  }
338
338
  ]
339
- }
339
+ }