@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
@@ -47,7 +47,7 @@
47
47
  "event": "GameCanvas2dLoaded",
48
48
  "description": "Fired when GameCanvas2d finishes loading",
49
49
  "scope": "internal",
50
- "payload": [
50
+ "payloadSchema": [
51
51
  {
52
52
  "name": "id",
53
53
  "type": "string"
@@ -74,7 +74,7 @@
74
74
  "event": "GameCanvas2dLoadFailed",
75
75
  "description": "Fired when GameCanvas2d fails to load",
76
76
  "scope": "internal",
77
- "payload": [
77
+ "payloadSchema": [
78
78
  {
79
79
  "name": "message",
80
80
  "type": "string"
@@ -112,7 +112,7 @@
112
112
  {
113
113
  "key": "GameCanvas2dLoaded",
114
114
  "name": "GameCanvas2d loaded",
115
- "payload": [
115
+ "payloadSchema": [
116
116
  {
117
117
  "name": "id",
118
118
  "type": "string"
@@ -138,7 +138,7 @@
138
138
  {
139
139
  "key": "GameCanvas2dLoadFailed",
140
140
  "name": "GameCanvas2d load failed",
141
- "payload": [
141
+ "payloadSchema": [
142
142
  {
143
143
  "name": "message",
144
144
  "type": "string"
@@ -166,15 +166,14 @@
166
166
  "render-ui",
167
167
  "main",
168
168
  {
169
+ "type": "stack",
169
170
  "direction": "vertical",
170
171
  "gap": "md",
171
- "type": "stack",
172
172
  "children": [
173
173
  {
174
+ "align": "center",
174
175
  "gap": "sm",
175
176
  "type": "stack",
176
- "direction": "horizontal",
177
- "align": "center",
178
177
  "children": [
179
178
  {
180
179
  "name": "monitor",
@@ -185,26 +184,27 @@
185
184
  "variant": "h3",
186
185
  "type": "typography"
187
186
  }
188
- ]
187
+ ],
188
+ "direction": "horizontal"
189
189
  },
190
190
  {
191
191
  "content": "800x600 @ 60fps",
192
- "type": "typography",
192
+ "color": "muted",
193
193
  "variant": "caption",
194
- "color": "muted"
194
+ "type": "typography"
195
195
  },
196
196
  {
197
- "width": 800.0,
198
- "fps": 60.0,
199
197
  "height": 600.0,
200
- "type": "game-canvas-2d"
198
+ "fps": 60.0,
199
+ "type": "game-canvas-2d",
200
+ "width": 800.0
201
201
  },
202
202
  {
203
203
  "type": "button",
204
- "label": "Start",
205
- "variant": "primary",
206
204
  "icon": "play",
207
- "action": "START"
205
+ "action": "START",
206
+ "variant": "primary",
207
+ "label": "Start"
208
208
  }
209
209
  ]
210
210
  }
@@ -220,10 +220,9 @@
220
220
  "render-ui",
221
221
  "main",
222
222
  {
223
- "direction": "vertical",
224
- "gap": "md",
225
223
  "children": [
226
224
  {
225
+ "gap": "sm",
227
226
  "children": [
228
227
  {
229
228
  "name": "monitor",
@@ -231,29 +230,30 @@
231
230
  },
232
231
  {
233
232
  "variant": "h3",
234
- "content": "GameCanvas2d Canvas",
235
- "type": "typography"
233
+ "type": "typography",
234
+ "content": "GameCanvas2d Canvas"
236
235
  }
237
236
  ],
237
+ "align": "center",
238
238
  "direction": "horizontal",
239
- "gap": "sm",
240
- "type": "stack",
241
- "align": "center"
239
+ "type": "stack"
242
240
  },
243
241
  {
242
+ "fps": 60.0,
244
243
  "type": "game-canvas-2d",
245
244
  "width": 800.0,
246
- "height": 600.0,
247
- "fps": 60.0
245
+ "height": 600.0
248
246
  },
249
247
  {
250
- "label": "Stop",
251
- "type": "button",
252
248
  "action": "STOP",
249
+ "icon": "square",
253
250
  "variant": "ghost",
254
- "icon": "square"
251
+ "label": "Stop",
252
+ "type": "button"
255
253
  }
256
254
  ],
255
+ "gap": "md",
256
+ "direction": "vertical",
257
257
  "type": "stack"
258
258
  }
259
259
  ]
@@ -273,47 +273,47 @@
273
273
  "render-ui",
274
274
  "main",
275
275
  {
276
+ "gap": "md",
277
+ "type": "stack",
278
+ "direction": "vertical",
276
279
  "children": [
277
280
  {
278
- "align": "center",
279
281
  "type": "stack",
280
- "direction": "horizontal",
282
+ "gap": "sm",
283
+ "align": "center",
281
284
  "children": [
282
285
  {
283
- "type": "icon",
284
- "name": "monitor"
286
+ "name": "monitor",
287
+ "type": "icon"
285
288
  },
286
289
  {
287
- "variant": "h3",
290
+ "content": "GameCanvas2d Canvas",
288
291
  "type": "typography",
289
- "content": "GameCanvas2d Canvas"
292
+ "variant": "h3"
290
293
  }
291
294
  ],
292
- "gap": "sm"
295
+ "direction": "horizontal"
293
296
  },
294
297
  {
295
- "content": "800x600 @ 60fps",
296
298
  "type": "typography",
297
- "color": "muted",
298
- "variant": "caption"
299
+ "content": "800x600 @ 60fps",
300
+ "variant": "caption",
301
+ "color": "muted"
299
302
  },
300
303
  {
301
- "type": "game-canvas-2d",
302
304
  "fps": 60.0,
305
+ "type": "game-canvas-2d",
303
306
  "width": 800.0,
304
307
  "height": 600.0
305
308
  },
306
309
  {
307
- "variant": "primary",
308
- "type": "button",
309
310
  "action": "START",
311
+ "label": "Start",
310
312
  "icon": "play",
311
- "label": "Start"
313
+ "variant": "primary",
314
+ "type": "button"
312
315
  }
313
- ],
314
- "gap": "md",
315
- "type": "stack",
316
- "direction": "vertical"
316
+ ]
317
317
  }
318
318
  ]
319
319
  ]
@@ -336,4 +336,4 @@
336
336
  ]
337
337
  }
338
338
  ]
339
- }
339
+ }
@@ -57,7 +57,7 @@
57
57
  "event": "GameSessionLoaded",
58
58
  "description": "Fired when GameSession 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": "GameSessionLoadFailed",
93
93
  "description": "Fired when GameSession fails to load",
94
94
  "scope": "internal",
95
- "payload": [
95
+ "payloadSchema": [
96
96
  {
97
97
  "name": "message",
98
98
  "type": "string"
@@ -152,7 +152,7 @@
152
152
  {
153
153
  "key": "GameSessionLoaded",
154
154
  "name": "GameSession loaded",
155
- "payload": [
155
+ "payloadSchema": [
156
156
  {
157
157
  "name": "id",
158
158
  "type": "string"
@@ -186,7 +186,7 @@
186
186
  {
187
187
  "key": "GameSessionLoadFailed",
188
188
  "name": "GameSession load failed",
189
- "payload": [
189
+ "payloadSchema": [
190
190
  {
191
191
  "name": "message",
192
192
  "type": "string"
@@ -205,8 +205,8 @@
205
205
  "GameSession",
206
206
  {
207
207
  "emit": {
208
- "failure": "GameSessionLoadFailed",
209
- "success": "GameSessionLoaded"
208
+ "success": "GameSessionLoaded",
209
+ "failure": "GameSessionLoadFailed"
210
210
  }
211
211
  }
212
212
  ],
@@ -214,16 +214,16 @@
214
214
  "render-ui",
215
215
  "main",
216
216
  {
217
- "subtitle": "Main Menu",
218
- "type": "game-menu",
219
217
  "menuItems": [
220
218
  {
219
+ "event": "START",
221
220
  "label": "Start Game",
222
- "variant": "primary",
223
- "event": "START"
221
+ "variant": "primary"
224
222
  }
225
223
  ],
226
- "title": "GameSession"
224
+ "type": "game-menu",
225
+ "title": "GameSession",
226
+ "subtitle": "Main Menu"
227
227
  }
228
228
  ]
229
229
  ]
@@ -240,8 +240,8 @@
240
240
  "type": "game-hud",
241
241
  "stats": [
242
242
  {
243
- "value": "@entity.score",
244
- "label": "Score"
243
+ "label": "Score",
244
+ "value": "@entity.score"
245
245
  },
246
246
  {
247
247
  "label": "Level",
@@ -266,20 +266,20 @@
266
266
  "render-ui",
267
267
  "modal",
268
268
  {
269
- "type": "game-menu",
270
- "title": "Paused",
271
269
  "menuItems": [
272
270
  {
273
- "label": "Resume",
271
+ "event": "RESUME",
274
272
  "variant": "primary",
275
- "event": "RESUME"
273
+ "label": "Resume"
276
274
  },
277
275
  {
278
- "event": "RESTART",
279
276
  "variant": "ghost",
280
- "label": "Quit"
277
+ "label": "Quit",
278
+ "event": "RESTART"
281
279
  }
282
- ]
280
+ ],
281
+ "type": "game-menu",
282
+ "title": "Paused"
283
283
  }
284
284
  ]
285
285
  ]
@@ -293,30 +293,30 @@
293
293
  "render-ui",
294
294
  "main",
295
295
  {
296
- "title": "Game Over",
297
- "stats": [
298
- {
299
- "label": "Score",
300
- "value": "@entity.score"
301
- },
302
- {
303
- "label": "Level",
304
- "value": "@entity.level"
305
- }
306
- ],
307
296
  "type": "game-over-screen",
308
297
  "menuItems": [
309
298
  {
310
- "variant": "primary",
311
299
  "event": "RESTART",
300
+ "variant": "primary",
312
301
  "label": "Play Again"
313
302
  },
314
303
  {
315
304
  "label": "Main Menu",
316
- "variant": "secondary",
317
- "event": "RESTART"
305
+ "event": "RESTART",
306
+ "variant": "secondary"
318
307
  }
319
- ]
308
+ ],
309
+ "stats": [
310
+ {
311
+ "value": "@entity.score",
312
+ "label": "Score"
313
+ },
314
+ {
315
+ "label": "Level",
316
+ "value": "@entity.level"
317
+ }
318
+ ],
319
+ "title": "Game Over"
320
320
  }
321
321
  ]
322
322
  ]
@@ -376,8 +376,8 @@
376
376
  "value": "@entity.score"
377
377
  },
378
378
  {
379
- "value": "@entity.level",
380
- "label": "Level"
379
+ "label": "Level",
380
+ "value": "@entity.level"
381
381
  }
382
382
  ]
383
383
  }
@@ -398,16 +398,16 @@
398
398
  "render-ui",
399
399
  "main",
400
400
  {
401
+ "title": "GameSession",
402
+ "subtitle": "Main Menu",
403
+ "type": "game-menu",
401
404
  "menuItems": [
402
405
  {
403
- "label": "Start Game",
406
+ "event": "START",
404
407
  "variant": "primary",
405
- "event": "START"
408
+ "label": "Start Game"
406
409
  }
407
- ],
408
- "title": "GameSession",
409
- "subtitle": "Main Menu",
410
- "type": "game-menu"
410
+ ]
411
411
  }
412
412
  ]
413
413
  ]
@@ -421,16 +421,16 @@
421
421
  "render-ui",
422
422
  "main",
423
423
  {
424
+ "title": "GameSession",
425
+ "subtitle": "Main Menu",
424
426
  "type": "game-menu",
425
427
  "menuItems": [
426
428
  {
427
- "label": "Start Game",
429
+ "event": "START",
428
430
  "variant": "primary",
429
- "event": "START"
431
+ "label": "Start Game"
430
432
  }
431
- ],
432
- "subtitle": "Main Menu",
433
- "title": "GameSession"
433
+ ]
434
434
  }
435
435
  ]
436
436
  ]
@@ -453,4 +453,4 @@
453
453
  ]
454
454
  }
455
455
  ]
456
- }
456
+ }