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