@almadar/std 14.24.0 → 14.26.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 (433) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +126 -126
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +95 -95
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +113 -113
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -408
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +89 -89
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +76 -76
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +119 -119
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +112 -112
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +183 -183
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +339 -339
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +62 -62
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +193 -193
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +182 -182
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +115 -115
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +101 -101
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +179 -179
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1171 -1171
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2944 -2944
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2105 -2105
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +939 -939
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +803 -803
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +79 -29
  25. package/behaviors/registry/app/atoms/std-applicant.orb +47 -47
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +203 -100
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +234 -32
  28. package/behaviors/registry/app/atoms/std-change-order.orb +106 -84
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +97 -40
  30. package/behaviors/registry/app/atoms/std-checkin.orb +70 -70
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +492 -54
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +61 -36
  33. package/behaviors/registry/app/atoms/std-class-session.orb +111 -48
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +119 -43
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +125 -48
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +64 -42
  37. package/behaviors/registry/app/atoms/std-donor.orb +88 -38
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +66 -40
  39. package/behaviors/registry/app/atoms/std-driver.orb +92 -80
  40. package/behaviors/registry/app/atoms/std-dunning.orb +177 -52
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +41 -41
  42. package/behaviors/registry/app/atoms/std-event.orb +60 -60
  43. package/behaviors/registry/app/atoms/std-health-score.orb +224 -76
  44. package/behaviors/registry/app/atoms/std-help-article.orb +206 -89
  45. package/behaviors/registry/app/atoms/std-help-category.orb +113 -79
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +40 -40
  47. package/behaviors/registry/app/atoms/std-invoice.orb +135 -135
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +53 -53
  49. package/behaviors/registry/app/atoms/std-lease.orb +174 -38
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +165 -39
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +130 -50
  52. package/behaviors/registry/app/atoms/std-matter.orb +237 -40
  53. package/behaviors/registry/app/atoms/std-membership.orb +93 -37
  54. package/behaviors/registry/app/atoms/std-menu.orb +44 -44
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +38 -38
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +115 -91
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +32 -32
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +63 -63
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +51 -51
  60. package/behaviors/registry/app/atoms/std-receipt.orb +34 -34
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +152 -60
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +153 -86
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +24 -24
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +60 -54
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +48 -48
  66. package/behaviors/registry/app/atoms/std-rfi.orb +174 -119
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +46 -46
  68. package/behaviors/registry/app/atoms/std-segment.orb +76 -33
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +106 -32
  70. package/behaviors/registry/app/atoms/std-submittal.orb +259 -104
  71. package/behaviors/registry/app/atoms/std-table-map.orb +47 -47
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +43 -43
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +111 -37
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +85 -41
  75. package/behaviors/registry/app/atoms/std-tenant.orb +89 -39
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +62 -62
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +133 -80
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +122 -102
  79. package/behaviors/registry/app/atoms/std-trial.orb +116 -47
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +236 -111
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +39 -39
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +214 -30
  83. package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +39 -39
  85. package/behaviors/registry/app/molecules/std-application.orb +159 -159
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +168 -53
  87. package/behaviors/registry/app/molecules/std-cart.orb +49 -49
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +86 -86
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +84 -62
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +90 -57
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +256 -256
  92. package/behaviors/registry/app/organisms/std-accounting.orb +89 -89
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +213 -213
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +145 -145
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +656 -656
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +276 -276
  97. package/behaviors/registry/app/organisms/std-cms.orb +296 -296
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +196 -196
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +722 -89
  100. package/behaviors/registry/app/organisms/std-crm.orb +248 -248
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +89 -89
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +442 -442
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +84 -84
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +709 -709
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +206 -206
  106. package/behaviors/registry/app/organisms/std-field-service.orb +176 -176
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +201 -201
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +141 -141
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +737 -88
  110. package/behaviors/registry/app/organisms/std-forum.orb +152 -152
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +555 -555
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +194 -194
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +436 -436
  114. package/behaviors/registry/app/organisms/std-inventory.orb +904 -102
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +380 -380
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +361 -135
  117. package/behaviors/registry/app/organisms/std-listings.orb +129 -129
  118. package/behaviors/registry/app/organisms/std-lms.orb +381 -381
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +135 -135
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +220 -220
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +86 -86
  122. package/behaviors/registry/app/organisms/std-notes.orb +301 -90
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +920 -94
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +516 -102
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +235 -235
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +127 -127
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +136 -136
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +158 -158
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +200 -200
  131. package/behaviors/registry/app/organisms/std-survey.orb +123 -123
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +960 -84
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +281 -281
  134. package/behaviors/registry/app/organisms/std-wiki.orb +141 -141
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +99 -42
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +84 -84
  137. package/behaviors/registry/core/atoms/std-browse.orb +55 -55
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +84 -84
  139. package/behaviors/registry/core/atoms/std-calendar.orb +47 -47
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +170 -170
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +32 -32
  142. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  143. package/behaviors/registry/core/atoms/std-drawer.orb +11 -11
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +60 -41
  145. package/behaviors/registry/core/atoms/std-file-store.orb +178 -31
  146. package/behaviors/registry/core/atoms/std-filter.orb +13 -13
  147. package/behaviors/registry/core/atoms/std-flag.orb +90 -90
  148. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +40 -40
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +50 -50
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +47 -47
  153. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +144 -48
  155. package/behaviors/registry/core/atoms/std-pagination.orb +13 -13
  156. package/behaviors/registry/core/atoms/std-push.orb +35 -35
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +69 -69
  159. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +193 -55
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +63 -63
  162. package/behaviors/registry/core/atoms/std-search.orb +8 -8
  163. package/behaviors/registry/core/atoms/std-selection.orb +93 -93
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +90 -90
  165. package/behaviors/registry/core/atoms/std-stats.orb +114 -114
  166. package/behaviors/registry/core/atoms/std-tabs.orb +26 -26
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +61 -61
  168. package/behaviors/registry/core/atoms/std-thread.orb +46 -46
  169. package/behaviors/registry/core/atoms/std-version-history.orb +69 -69
  170. package/behaviors/registry/core/atoms/std-vote.orb +37 -37
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +19 -19
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +10 -10
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +139 -56
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +24 -24
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +121 -121
  177. package/behaviors/registry/core/molecules/std-list.orb +57 -57
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +16 -16
  179. package/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  180. package/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  181. package/behaviors/registry/core/molecules/std-wizard-form.orb +141 -141
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +554 -554
  183. package/behaviors/registry/game/atoms/std-collision.orb +0 -595
  184. package/behaviors/registry/game/atoms/std-combat.orb +0 -524
  185. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  187. package/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  188. package/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  189. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  191. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  192. package/behaviors/registry/game/atoms/std-timer.orb +269 -269
  193. package/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  194. package/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  195. package/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  196. package/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  197. package/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  198. package/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  199. package/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  200. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +33 -33
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +56 -56
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +64 -64
  203. package/behaviors/registry/service/atoms/std-service-email.orb +62 -62
  204. package/behaviors/registry/service/atoms/std-service-github.orb +59 -59
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +69 -69
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +79 -79
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +56 -56
  208. package/behaviors/registry/service/atoms/std-service-print.orb +104 -104
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +53 -53
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +50 -50
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +99 -99
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +58 -58
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +30 -30
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +871 -871
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +802 -802
  216. package/dist/behaviors/behaviors-registry.json +4 -684
  217. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  218. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +126 -126
  219. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +95 -95
  220. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +113 -113
  221. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -408
  222. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +89 -89
  223. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +76 -76
  224. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +119 -119
  225. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  226. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +112 -112
  227. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +183 -183
  228. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +339 -339
  229. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +62 -62
  230. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +193 -193
  231. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +182 -182
  232. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +115 -115
  233. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +101 -101
  234. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +179 -179
  235. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1171 -1171
  236. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2944 -2944
  237. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2105 -2105
  238. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +939 -939
  239. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +803 -803
  240. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +79 -29
  241. package/dist/behaviors/registry/app/atoms/std-applicant.orb +47 -47
  242. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +203 -100
  243. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +234 -32
  244. package/dist/behaviors/registry/app/atoms/std-change-order.orb +106 -84
  245. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +97 -40
  246. package/dist/behaviors/registry/app/atoms/std-checkin.orb +70 -70
  247. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +492 -54
  248. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +61 -36
  249. package/dist/behaviors/registry/app/atoms/std-class-session.orb +111 -48
  250. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +119 -43
  251. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +125 -48
  252. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +64 -42
  253. package/dist/behaviors/registry/app/atoms/std-donor.orb +88 -38
  254. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +66 -40
  255. package/dist/behaviors/registry/app/atoms/std-driver.orb +92 -80
  256. package/dist/behaviors/registry/app/atoms/std-dunning.orb +177 -52
  257. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +41 -41
  258. package/dist/behaviors/registry/app/atoms/std-event.orb +60 -60
  259. package/dist/behaviors/registry/app/atoms/std-health-score.orb +224 -76
  260. package/dist/behaviors/registry/app/atoms/std-help-article.orb +206 -89
  261. package/dist/behaviors/registry/app/atoms/std-help-category.orb +113 -79
  262. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +40 -40
  263. package/dist/behaviors/registry/app/atoms/std-invoice.orb +135 -135
  264. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +53 -53
  265. package/dist/behaviors/registry/app/atoms/std-lease.orb +174 -38
  266. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +165 -39
  267. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +130 -50
  268. package/dist/behaviors/registry/app/atoms/std-matter.orb +237 -40
  269. package/dist/behaviors/registry/app/atoms/std-membership.orb +93 -37
  270. package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
  271. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +38 -38
  272. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +115 -91
  273. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +32 -32
  274. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +63 -63
  275. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +51 -51
  276. package/dist/behaviors/registry/app/atoms/std-receipt.orb +34 -34
  277. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +152 -60
  278. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +153 -86
  279. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +24 -24
  280. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +60 -54
  281. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +48 -48
  282. package/dist/behaviors/registry/app/atoms/std-rfi.orb +174 -119
  283. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +46 -46
  284. package/dist/behaviors/registry/app/atoms/std-segment.orb +76 -33
  285. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +106 -32
  286. package/dist/behaviors/registry/app/atoms/std-submittal.orb +259 -104
  287. package/dist/behaviors/registry/app/atoms/std-table-map.orb +47 -47
  288. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +43 -43
  289. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +111 -37
  290. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +85 -41
  291. package/dist/behaviors/registry/app/atoms/std-tenant.orb +89 -39
  292. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +62 -62
  293. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +133 -80
  294. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +122 -102
  295. package/dist/behaviors/registry/app/atoms/std-trial.orb +116 -47
  296. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +236 -111
  297. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +39 -39
  298. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +214 -30
  299. package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
  300. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +39 -39
  301. package/dist/behaviors/registry/app/molecules/std-application.orb +159 -159
  302. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +168 -53
  303. package/dist/behaviors/registry/app/molecules/std-cart.orb +49 -49
  304. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +86 -86
  305. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +84 -62
  306. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +90 -57
  307. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +256 -256
  308. package/dist/behaviors/registry/app/organisms/std-accounting.orb +89 -89
  309. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +213 -213
  310. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +145 -145
  311. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +656 -656
  312. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +276 -276
  313. package/dist/behaviors/registry/app/organisms/std-cms.orb +296 -296
  314. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +196 -196
  315. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +722 -89
  316. package/dist/behaviors/registry/app/organisms/std-crm.orb +248 -248
  317. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +89 -89
  318. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +442 -442
  319. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +84 -84
  320. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +709 -709
  321. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +206 -206
  322. package/dist/behaviors/registry/app/organisms/std-field-service.orb +176 -176
  323. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +201 -201
  324. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +141 -141
  325. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +737 -88
  326. package/dist/behaviors/registry/app/organisms/std-forum.orb +152 -152
  327. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +555 -555
  328. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +194 -194
  329. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +436 -436
  330. package/dist/behaviors/registry/app/organisms/std-inventory.orb +904 -102
  331. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +380 -380
  332. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +361 -135
  333. package/dist/behaviors/registry/app/organisms/std-listings.orb +129 -129
  334. package/dist/behaviors/registry/app/organisms/std-lms.orb +381 -381
  335. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +135 -135
  336. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +220 -220
  337. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +86 -86
  338. package/dist/behaviors/registry/app/organisms/std-notes.orb +301 -90
  339. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  340. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +920 -94
  341. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +516 -102
  342. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +235 -235
  343. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +127 -127
  344. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +136 -136
  345. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +158 -158
  346. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +200 -200
  347. package/dist/behaviors/registry/app/organisms/std-survey.orb +123 -123
  348. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +960 -84
  349. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +281 -281
  350. package/dist/behaviors/registry/app/organisms/std-wiki.orb +141 -141
  351. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +99 -42
  352. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +84 -84
  353. package/dist/behaviors/registry/core/atoms/std-browse.orb +55 -55
  354. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +84 -84
  355. package/dist/behaviors/registry/core/atoms/std-calendar.orb +47 -47
  356. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +170 -170
  357. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +32 -32
  358. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  359. package/dist/behaviors/registry/core/atoms/std-drawer.orb +11 -11
  360. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +60 -41
  361. package/dist/behaviors/registry/core/atoms/std-file-store.orb +178 -31
  362. package/dist/behaviors/registry/core/atoms/std-filter.orb +13 -13
  363. package/dist/behaviors/registry/core/atoms/std-flag.orb +90 -90
  364. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  365. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  366. package/dist/behaviors/registry/core/atoms/std-graphs.orb +40 -40
  367. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +50 -50
  368. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +47 -47
  369. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  370. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +144 -48
  371. package/dist/behaviors/registry/core/atoms/std-pagination.orb +13 -13
  372. package/dist/behaviors/registry/core/atoms/std-push.orb +35 -35
  373. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  374. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +69 -69
  375. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  376. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +193 -55
  377. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +63 -63
  378. package/dist/behaviors/registry/core/atoms/std-search.orb +8 -8
  379. package/dist/behaviors/registry/core/atoms/std-selection.orb +93 -93
  380. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +90 -90
  381. package/dist/behaviors/registry/core/atoms/std-stats.orb +114 -114
  382. package/dist/behaviors/registry/core/atoms/std-tabs.orb +26 -26
  383. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +61 -61
  384. package/dist/behaviors/registry/core/atoms/std-thread.orb +46 -46
  385. package/dist/behaviors/registry/core/atoms/std-version-history.orb +69 -69
  386. package/dist/behaviors/registry/core/atoms/std-vote.orb +37 -37
  387. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +19 -19
  388. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +10 -10
  389. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  390. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +139 -56
  391. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +24 -24
  392. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +121 -121
  393. package/dist/behaviors/registry/core/molecules/std-list.orb +57 -57
  394. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +16 -16
  395. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  396. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  397. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +141 -141
  398. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +554 -554
  399. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  400. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  401. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  402. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  403. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  404. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  405. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  406. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  407. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  408. package/dist/behaviors/registry/game/atoms/std-timer.orb +269 -269
  409. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  410. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  411. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  412. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  413. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  414. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  415. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  416. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +33 -33
  417. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +56 -56
  418. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +64 -64
  419. package/dist/behaviors/registry/service/atoms/std-service-email.orb +62 -62
  420. package/dist/behaviors/registry/service/atoms/std-service-github.orb +59 -59
  421. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +69 -69
  422. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +79 -79
  423. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +56 -56
  424. package/dist/behaviors/registry/service/atoms/std-service-print.orb +104 -104
  425. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +53 -53
  426. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +50 -50
  427. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +99 -99
  428. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +58 -58
  429. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +30 -30
  430. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +871 -871
  431. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +802 -802
  432. package/dist/behaviors-registry.json +4 -684
  433. package/package.json +1 -1
@@ -1,2686 +0,0 @@
1
- {
2
- "name": "std-strategy-game",
3
- "version": "1.0.0",
4
- "description": "std-strategy-game as a Function",
5
- "orbitals": [
6
- {
7
- "name": "ArmyBattleOrbital",
8
- "entity": {
9
- "name": "ArmyBattle",
10
- "persistence": "runtime",
11
- "fields": [
12
- {
13
- "name": "id",
14
- "type": "string",
15
- "required": true
16
- },
17
- {
18
- "name": "turn",
19
- "type": "number",
20
- "default": 0.0
21
- },
22
- {
23
- "name": "score",
24
- "type": "number",
25
- "default": 0.0
26
- },
27
- {
28
- "name": "armySize",
29
- "type": "number",
30
- "default": 10.0
31
- },
32
- {
33
- "name": "morale",
34
- "type": "number",
35
- "default": 100.0
36
- }
37
- ]
38
- },
39
- "traits": [
40
- {
41
- "name": "ArmyBattleBattleFlow",
42
- "category": "interaction",
43
- "linkedEntity": "ArmyBattle",
44
- "emits": [
45
- {
46
- "event": "ArmyBattleLoaded",
47
- "description": "Fired when ArmyBattle finishes loading",
48
- "scope": "internal",
49
- "payloadSchema": [
50
- {
51
- "name": "data",
52
- "type": "[ArmyBattle]"
53
- }
54
- ]
55
- },
56
- {
57
- "event": "ArmyBattleLoadFailed",
58
- "description": "Fired when ArmyBattle fails to load",
59
- "scope": "internal",
60
- "payloadSchema": [
61
- {
62
- "name": "error",
63
- "type": "string"
64
- },
65
- {
66
- "name": "code",
67
- "type": "string"
68
- }
69
- ]
70
- }
71
- ],
72
- "stateMachine": {
73
- "states": [
74
- {
75
- "name": "menu",
76
- "isInitial": true
77
- },
78
- {
79
- "name": "playing"
80
- },
81
- {
82
- "name": "paused"
83
- },
84
- {
85
- "name": "gameover"
86
- }
87
- ],
88
- "events": [
89
- {
90
- "key": "INIT",
91
- "name": "Initialize"
92
- },
93
- {
94
- "key": "START",
95
- "name": "Start"
96
- },
97
- {
98
- "key": "NAVIGATE",
99
- "name": "Navigate"
100
- },
101
- {
102
- "key": "END_TURN",
103
- "name": "End Turn"
104
- },
105
- {
106
- "key": "PAUSE",
107
- "name": "Pause"
108
- },
109
- {
110
- "key": "GAME_OVER",
111
- "name": "Game Over"
112
- },
113
- {
114
- "key": "RESUME",
115
- "name": "Resume"
116
- },
117
- {
118
- "key": "CLOSE",
119
- "name": "Close"
120
- },
121
- {
122
- "key": "RESTART",
123
- "name": "Restart"
124
- },
125
- {
126
- "key": "ArmyBattleLoaded",
127
- "name": "ArmyBattle loaded",
128
- "payloadSchema": [
129
- {
130
- "name": "data",
131
- "type": "[ArmyBattle]"
132
- }
133
- ]
134
- },
135
- {
136
- "key": "ArmyBattleLoadFailed",
137
- "name": "ArmyBattle load failed",
138
- "payloadSchema": [
139
- {
140
- "name": "error",
141
- "type": "string"
142
- },
143
- {
144
- "name": "code",
145
- "type": "string"
146
- }
147
- ]
148
- }
149
- ],
150
- "transitions": [
151
- {
152
- "from": "menu",
153
- "to": "menu",
154
- "event": "INIT",
155
- "effects": [
156
- [
157
- "fetch",
158
- "ArmyBattle",
159
- {
160
- "emit": {
161
- "success": "ArmyBattleLoaded",
162
- "failure": "ArmyBattleLoadFailed"
163
- }
164
- }
165
- ],
166
- [
167
- "render-ui",
168
- "main",
169
- {
170
- "children": [
171
- {
172
- "title": "Army Battle",
173
- "type": "game-menu",
174
- "menuItems": [
175
- {
176
- "event": "START",
177
- "label": "Start Battle",
178
- "variant": "primary"
179
- }
180
- ],
181
- "subtitle": "Turn-Based Strategy"
182
- }
183
- ],
184
- "showTopBar": true,
185
- "type": "game-shell",
186
- "appName": "Strategy Game"
187
- }
188
- ]
189
- ]
190
- },
191
- {
192
- "from": "menu",
193
- "to": "playing",
194
- "event": "START",
195
- "effects": [
196
- [
197
- "render-ui",
198
- "main",
199
- {
200
- "type": "game-shell",
201
- "showTopBar": true,
202
- "appName": "Strategy Game",
203
- "children": [
204
- {
205
- "stats": [
206
- {
207
- "label": "Turn",
208
- "value": "@entity.turn"
209
- },
210
- {
211
- "label": "Score",
212
- "value": "@entity.score"
213
- }
214
- ],
215
- "type": "game-hud"
216
- }
217
- ]
218
- }
219
- ]
220
- ]
221
- },
222
- {
223
- "from": "menu",
224
- "to": "menu",
225
- "event": "NAVIGATE"
226
- },
227
- {
228
- "from": "playing",
229
- "to": "playing",
230
- "event": "END_TURN",
231
- "effects": [
232
- [
233
- "set",
234
- "@entity.turn",
235
- [
236
- "+",
237
- "@entity.turn",
238
- 1.0
239
- ]
240
- ],
241
- [
242
- "render-ui",
243
- "main",
244
- {
245
- "type": "game-shell",
246
- "appName": "Strategy Game",
247
- "showTopBar": true,
248
- "children": [
249
- {
250
- "stats": [
251
- {
252
- "label": "Turn",
253
- "value": "@entity.turn"
254
- },
255
- {
256
- "value": "@entity.score",
257
- "label": "Score"
258
- }
259
- ],
260
- "type": "game-hud"
261
- }
262
- ]
263
- }
264
- ]
265
- ]
266
- },
267
- {
268
- "from": "playing",
269
- "to": "paused",
270
- "event": "PAUSE",
271
- "effects": [
272
- [
273
- "render-ui",
274
- "modal",
275
- {
276
- "title": "Paused",
277
- "type": "game-menu",
278
- "menuItems": [
279
- {
280
- "variant": "primary",
281
- "label": "Resume",
282
- "event": "RESUME"
283
- },
284
- {
285
- "label": "Quit",
286
- "variant": "ghost",
287
- "event": "RESTART"
288
- }
289
- ]
290
- }
291
- ]
292
- ]
293
- },
294
- {
295
- "from": "playing",
296
- "to": "gameover",
297
- "event": "GAME_OVER",
298
- "effects": [
299
- [
300
- "render-ui",
301
- "main",
302
- {
303
- "children": [
304
- {
305
- "menuItems": [
306
- {
307
- "variant": "primary",
308
- "label": "Play Again",
309
- "event": "RESTART"
310
- },
311
- {
312
- "event": "RESTART",
313
- "variant": "secondary",
314
- "label": "Main Menu"
315
- }
316
- ],
317
- "type": "game-over-screen",
318
- "stats": [
319
- {
320
- "label": "Turns",
321
- "value": "@entity.turn"
322
- },
323
- {
324
- "value": "@entity.score",
325
- "label": "Score"
326
- }
327
- ],
328
- "title": "Battle Over"
329
- }
330
- ],
331
- "showTopBar": true,
332
- "type": "game-shell",
333
- "appName": "Strategy Game"
334
- }
335
- ]
336
- ]
337
- },
338
- {
339
- "from": "paused",
340
- "to": "paused",
341
- "event": "NAVIGATE"
342
- },
343
- {
344
- "from": "paused",
345
- "to": "playing",
346
- "event": "RESUME",
347
- "effects": [
348
- [
349
- "render-ui",
350
- "modal",
351
- null
352
- ],
353
- [
354
- "render-ui",
355
- "main",
356
- {
357
- "children": [
358
- {
359
- "stats": [
360
- {
361
- "label": "Turn",
362
- "value": "@entity.turn"
363
- },
364
- {
365
- "value": "@entity.score",
366
- "label": "Score"
367
- }
368
- ],
369
- "type": "game-hud"
370
- }
371
- ],
372
- "showTopBar": true,
373
- "appName": "Strategy Game",
374
- "type": "game-shell"
375
- }
376
- ]
377
- ]
378
- },
379
- {
380
- "from": "paused",
381
- "to": "playing",
382
- "event": "CLOSE",
383
- "effects": [
384
- [
385
- "render-ui",
386
- "modal",
387
- null
388
- ],
389
- [
390
- "render-ui",
391
- "main",
392
- {
393
- "type": "game-shell",
394
- "children": [
395
- {
396
- "type": "game-hud",
397
- "stats": [
398
- {
399
- "value": "@entity.turn",
400
- "label": "Turn"
401
- },
402
- {
403
- "label": "Score",
404
- "value": "@entity.score"
405
- }
406
- ]
407
- }
408
- ],
409
- "showTopBar": true,
410
- "appName": "Strategy Game"
411
- }
412
- ]
413
- ]
414
- },
415
- {
416
- "from": "paused",
417
- "to": "menu",
418
- "event": "RESTART",
419
- "effects": [
420
- [
421
- "render-ui",
422
- "modal",
423
- null
424
- ],
425
- [
426
- "render-ui",
427
- "main",
428
- {
429
- "showTopBar": true,
430
- "appName": "Strategy Game",
431
- "children": [
432
- {
433
- "title": "Army Battle",
434
- "type": "game-menu",
435
- "subtitle": "Turn-Based Strategy",
436
- "menuItems": [
437
- {
438
- "event": "START",
439
- "variant": "primary",
440
- "label": "Start Battle"
441
- }
442
- ]
443
- }
444
- ],
445
- "type": "game-shell"
446
- }
447
- ]
448
- ]
449
- },
450
- {
451
- "from": "gameover",
452
- "to": "menu",
453
- "event": "RESTART",
454
- "effects": [
455
- [
456
- "render-ui",
457
- "main",
458
- {
459
- "children": [
460
- {
461
- "subtitle": "Turn-Based Strategy",
462
- "menuItems": [
463
- {
464
- "label": "Start Battle",
465
- "event": "START",
466
- "variant": "primary"
467
- }
468
- ],
469
- "type": "game-menu",
470
- "title": "Army Battle"
471
- }
472
- ],
473
- "showTopBar": true,
474
- "type": "game-shell",
475
- "appName": "Strategy Game"
476
- }
477
- ]
478
- ]
479
- }
480
- ]
481
- },
482
- "scope": "collection"
483
- },
484
- {
485
- "name": "ArmyBattleCombatLog",
486
- "category": "interaction",
487
- "linkedEntity": "ArmyBattle",
488
- "emits": [
489
- {
490
- "event": "ArmyBattleLoaded",
491
- "description": "Fired when ArmyBattle finishes loading",
492
- "scope": "internal",
493
- "payloadSchema": [
494
- {
495
- "name": "data",
496
- "type": "[ArmyBattle]"
497
- }
498
- ]
499
- },
500
- {
501
- "event": "ArmyBattleLoadFailed",
502
- "description": "Fired when ArmyBattle fails to load",
503
- "scope": "internal",
504
- "payloadSchema": [
505
- {
506
- "name": "error",
507
- "type": "string"
508
- },
509
- {
510
- "name": "code",
511
- "type": "string"
512
- }
513
- ]
514
- }
515
- ],
516
- "stateMachine": {
517
- "states": [
518
- {
519
- "name": "idle",
520
- "isInitial": true
521
- }
522
- ],
523
- "events": [
524
- {
525
- "key": "INIT",
526
- "name": "Initialize"
527
- },
528
- {
529
- "key": "LOG_EVENT",
530
- "name": "Log Event",
531
- "payloadSchema": [
532
- {
533
- "name": "data",
534
- "type": "object",
535
- "required": true
536
- }
537
- ]
538
- },
539
- {
540
- "key": "CLEAR",
541
- "name": "Clear"
542
- },
543
- {
544
- "key": "ArmyBattleLoaded",
545
- "name": "ArmyBattle loaded",
546
- "payloadSchema": [
547
- {
548
- "name": "data",
549
- "type": "[ArmyBattle]"
550
- }
551
- ]
552
- },
553
- {
554
- "key": "ArmyBattleLoadFailed",
555
- "name": "ArmyBattle load failed",
556
- "payloadSchema": [
557
- {
558
- "name": "error",
559
- "type": "string"
560
- },
561
- {
562
- "name": "code",
563
- "type": "string"
564
- }
565
- ]
566
- }
567
- ],
568
- "transitions": [
569
- {
570
- "from": "idle",
571
- "to": "idle",
572
- "event": "INIT",
573
- "effects": [
574
- [
575
- "fetch",
576
- "ArmyBattle",
577
- {
578
- "emit": {
579
- "success": "ArmyBattleLoaded",
580
- "failure": "ArmyBattleLoadFailed"
581
- }
582
- }
583
- ]
584
- ]
585
- },
586
- {
587
- "from": "idle",
588
- "to": "idle",
589
- "event": "LOG_EVENT",
590
- "effects": [
591
- [
592
- "render-ui",
593
- "main",
594
- {
595
- "type": "game-shell",
596
- "children": [
597
- {
598
- "title": "Combat Log",
599
- "events": "@ArmyBattle",
600
- "maxVisible": 10.0,
601
- "type": "combat-log",
602
- "autoScroll": true,
603
- "showTimestamps": true
604
- }
605
- ],
606
- "showTopBar": true,
607
- "appName": "Strategy Game"
608
- }
609
- ]
610
- ]
611
- },
612
- {
613
- "from": "idle",
614
- "to": "idle",
615
- "event": "CLEAR",
616
- "effects": [
617
- [
618
- "render-ui",
619
- "main",
620
- {
621
- "showTopBar": true,
622
- "appName": "Strategy Game",
623
- "type": "game-shell",
624
- "children": [
625
- {
626
- "maxVisible": 10.0,
627
- "type": "combat-log",
628
- "title": "Combat Log",
629
- "events": "@ArmyBattle",
630
- "autoScroll": true,
631
- "showTimestamps": true
632
- }
633
- ]
634
- }
635
- ]
636
- ]
637
- }
638
- ]
639
- },
640
- "scope": "collection"
641
- }
642
- ],
643
- "pages": [
644
- {
645
- "name": "BattlePage",
646
- "path": "/battle",
647
- "traits": [
648
- {
649
- "ref": "ArmyBattleBattleFlow"
650
- },
651
- {
652
- "ref": "ArmyBattleCombatLog"
653
- }
654
- ]
655
- }
656
- ]
657
- },
658
- {
659
- "name": "TerritoryOrbital",
660
- "entity": {
661
- "name": "Territory",
662
- "persistence": "runtime",
663
- "fields": [
664
- {
665
- "name": "id",
666
- "type": "string",
667
- "required": true
668
- },
669
- {
670
- "name": "name",
671
- "type": "string",
672
- "required": true
673
- },
674
- {
675
- "name": "owner",
676
- "type": "string"
677
- },
678
- {
679
- "name": "defense",
680
- "type": "number"
681
- },
682
- {
683
- "name": "explored",
684
- "type": "boolean"
685
- }
686
- ]
687
- },
688
- "traits": [
689
- {
690
- "name": "TerritoryNavigation",
691
- "category": "interaction",
692
- "linkedEntity": "Territory",
693
- "emits": [
694
- {
695
- "event": "TerritoryLoaded",
696
- "description": "Fired when Territory finishes loading",
697
- "scope": "internal",
698
- "payloadSchema": [
699
- {
700
- "name": "data",
701
- "type": "[Territory]"
702
- }
703
- ]
704
- },
705
- {
706
- "event": "TerritoryLoadFailed",
707
- "description": "Fired when Territory fails to load",
708
- "scope": "internal",
709
- "payloadSchema": [
710
- {
711
- "name": "error",
712
- "type": "string"
713
- },
714
- {
715
- "name": "code",
716
- "type": "string"
717
- }
718
- ]
719
- }
720
- ],
721
- "stateMachine": {
722
- "states": [
723
- {
724
- "name": "exploring",
725
- "isInitial": true
726
- },
727
- {
728
- "name": "transitioning"
729
- },
730
- {
731
- "name": "entered"
732
- }
733
- ],
734
- "events": [
735
- {
736
- "key": "INIT",
737
- "name": "Initialize"
738
- },
739
- {
740
- "key": "TerritoryLoaded",
741
- "name": "Territory loaded",
742
- "payloadSchema": [
743
- {
744
- "name": "data",
745
- "type": "[Territory]"
746
- }
747
- ]
748
- },
749
- {
750
- "key": "TerritoryLoadFailed",
751
- "name": "Territory load failed",
752
- "payloadSchema": [
753
- {
754
- "name": "error",
755
- "type": "string"
756
- },
757
- {
758
- "name": "code",
759
- "type": "string"
760
- }
761
- ]
762
- },
763
- {
764
- "key": "TRAVEL",
765
- "name": "Travel"
766
- },
767
- {
768
- "key": "ARRIVE",
769
- "name": "Arrive"
770
- },
771
- {
772
- "key": "BACK",
773
- "name": "Back"
774
- }
775
- ],
776
- "transitions": [
777
- {
778
- "from": "exploring",
779
- "to": "exploring",
780
- "event": "INIT",
781
- "effects": [
782
- [
783
- "fetch",
784
- "Territory",
785
- {
786
- "emit": {
787
- "success": "TerritoryLoaded",
788
- "failure": "TerritoryLoadFailed"
789
- }
790
- }
791
- ],
792
- [
793
- "render-ui",
794
- "main",
795
- {
796
- "align": "center",
797
- "children": [
798
- {
799
- "type": "spinner"
800
- },
801
- {
802
- "type": "typography",
803
- "content": "Loading…",
804
- "variant": "caption",
805
- "color": "muted"
806
- }
807
- ],
808
- "direction": "vertical",
809
- "className": "py-12",
810
- "gap": "md",
811
- "type": "stack"
812
- }
813
- ]
814
- ]
815
- },
816
- {
817
- "from": "exploring",
818
- "to": "exploring",
819
- "event": "TerritoryLoaded",
820
- "effects": [
821
- [
822
- "render-ui",
823
- "main",
824
- {
825
- "children": [
826
- {
827
- "type": "stack",
828
- "direction": "vertical",
829
- "children": [
830
- {
831
- "type": "stack",
832
- "direction": "horizontal",
833
- "children": [
834
- {
835
- "direction": "horizontal",
836
- "children": [
837
- {
838
- "type": "icon",
839
- "name": "map"
840
- },
841
- {
842
- "variant": "h2",
843
- "content": "Territory Map",
844
- "type": "typography"
845
- }
846
- ],
847
- "gap": "md",
848
- "type": "stack"
849
- },
850
- {
851
- "label": "Exploring",
852
- "type": "status-dot",
853
- "status": "online",
854
- "pulse": false
855
- }
856
- ],
857
- "justify": "between",
858
- "gap": "md"
859
- },
860
- {
861
- "type": "divider"
862
- },
863
- {
864
- "type": "map-view",
865
- "zoom": 10.0,
866
- "height": "200px",
867
- "markers": []
868
- },
869
- {
870
- "itemActions": [
871
- {
872
- "event": "TRAVEL",
873
- "label": "Travel"
874
- }
875
- ],
876
- "entity": "@payload.data",
877
- "type": "data-grid",
878
- "renderItem": [
879
- "fn",
880
- "item",
881
- {
882
- "type": "stack",
883
- "gap": "sm",
884
- "children": [
885
- {
886
- "type": "stack",
887
- "direction": "horizontal",
888
- "justify": "between",
889
- "align": "center",
890
- "children": [
891
- {
892
- "direction": "horizontal",
893
- "gap": "sm",
894
- "children": [
895
- {
896
- "type": "icon",
897
- "name": "map-pin"
898
- },
899
- {
900
- "variant": "h4",
901
- "type": "typography",
902
- "content": "@item.name"
903
- }
904
- ],
905
- "type": "stack",
906
- "align": "center"
907
- },
908
- {
909
- "type": "badge",
910
- "label": "@item.owner"
911
- }
912
- ]
913
- },
914
- {
915
- "type": "typography",
916
- "variant": "caption",
917
- "content": "@item.defense"
918
- }
919
- ],
920
- "direction": "vertical"
921
- }
922
- ],
923
- "fields": []
924
- }
925
- ],
926
- "gap": "lg"
927
- }
928
- ],
929
- "type": "game-shell",
930
- "showTopBar": true,
931
- "appName": "Strategy Game"
932
- }
933
- ]
934
- ]
935
- },
936
- {
937
- "from": "exploring",
938
- "to": "exploring",
939
- "event": "TerritoryLoadFailed",
940
- "effects": [
941
- [
942
- "render-ui",
943
- "main",
944
- {
945
- "gap": "md",
946
- "align": "center",
947
- "children": [
948
- {
949
- "color": "destructive",
950
- "name": "alert-triangle",
951
- "type": "icon"
952
- },
953
- {
954
- "variant": "h3",
955
- "type": "typography",
956
- "content": "Failed to load territory"
957
- },
958
- {
959
- "type": "typography",
960
- "color": "muted",
961
- "variant": "body",
962
- "content": "@payload.error"
963
- },
964
- {
965
- "type": "button",
966
- "variant": "primary",
967
- "action": "INIT",
968
- "label": "Retry",
969
- "icon": "rotate-ccw"
970
- }
971
- ],
972
- "type": "stack",
973
- "className": "py-12",
974
- "direction": "vertical"
975
- }
976
- ]
977
- ]
978
- },
979
- {
980
- "from": "exploring",
981
- "to": "transitioning",
982
- "event": "TRAVEL",
983
- "effects": [
984
- [
985
- "render-ui",
986
- "main",
987
- {
988
- "type": "game-shell",
989
- "appName": "Strategy Game",
990
- "showTopBar": true,
991
- "children": [
992
- {
993
- "align": "center",
994
- "gap": "lg",
995
- "children": [
996
- {
997
- "type": "stack",
998
- "children": [
999
- {
1000
- "name": "loader",
1001
- "type": "icon"
1002
- },
1003
- {
1004
- "type": "typography",
1005
- "variant": "h2",
1006
- "content": "Traveling..."
1007
- }
1008
- ],
1009
- "direction": "horizontal",
1010
- "gap": "md"
1011
- },
1012
- {
1013
- "type": "divider"
1014
- },
1015
- {
1016
- "type": "typography",
1017
- "content": "Traveling to the destination territorys map.",
1018
- "variant": "body"
1019
- }
1020
- ],
1021
- "type": "stack",
1022
- "direction": "vertical"
1023
- }
1024
- ]
1025
- }
1026
- ]
1027
- ]
1028
- },
1029
- {
1030
- "from": "transitioning",
1031
- "to": "entered",
1032
- "event": "ARRIVE",
1033
- "effects": [
1034
- [
1035
- "fetch",
1036
- "Territory",
1037
- {
1038
- "emit": {
1039
- "success": "TerritoryLoaded",
1040
- "failure": "TerritoryLoadFailed"
1041
- }
1042
- }
1043
- ],
1044
- [
1045
- "render-ui",
1046
- "main",
1047
- {
1048
- "type": "stack",
1049
- "children": [
1050
- {
1051
- "type": "spinner"
1052
- },
1053
- {
1054
- "type": "typography",
1055
- "color": "muted",
1056
- "variant": "caption",
1057
- "content": "Loading…"
1058
- }
1059
- ],
1060
- "gap": "md",
1061
- "className": "py-12",
1062
- "direction": "vertical",
1063
- "align": "center"
1064
- }
1065
- ]
1066
- ]
1067
- },
1068
- {
1069
- "from": "transitioning",
1070
- "to": "entered",
1071
- "event": "TerritoryLoaded",
1072
- "effects": [
1073
- [
1074
- "render-ui",
1075
- "main",
1076
- {
1077
- "type": "game-shell",
1078
- "showTopBar": true,
1079
- "children": [
1080
- {
1081
- "direction": "vertical",
1082
- "gap": "lg",
1083
- "type": "stack",
1084
- "children": [
1085
- {
1086
- "gap": "md",
1087
- "justify": "between",
1088
- "children": [
1089
- {
1090
- "type": "stack",
1091
- "gap": "md",
1092
- "children": [
1093
- {
1094
- "name": "map",
1095
- "type": "icon"
1096
- },
1097
- {
1098
- "variant": "h2",
1099
- "type": "typography",
1100
- "content": "Territorys Map"
1101
- }
1102
- ],
1103
- "direction": "horizontal"
1104
- },
1105
- {
1106
- "type": "status-dot",
1107
- "status": "online",
1108
- "label": "Entered"
1109
- }
1110
- ],
1111
- "type": "stack",
1112
- "direction": "horizontal"
1113
- },
1114
- {
1115
- "type": "divider"
1116
- },
1117
- {
1118
- "fields": [],
1119
- "entity": "@payload.data",
1120
- "renderItem": [
1121
- "fn",
1122
- "item",
1123
- {
1124
- "direction": "vertical",
1125
- "children": [
1126
- {
1127
- "type": "stack",
1128
- "align": "center",
1129
- "children": [
1130
- {
1131
- "direction": "horizontal",
1132
- "type": "stack",
1133
- "align": "center",
1134
- "gap": "sm",
1135
- "children": [
1136
- {
1137
- "type": "icon",
1138
- "name": "map-pin"
1139
- },
1140
- {
1141
- "type": "typography",
1142
- "variant": "h4",
1143
- "content": "@item.name"
1144
- }
1145
- ]
1146
- },
1147
- {
1148
- "label": "@item.owner",
1149
- "type": "badge"
1150
- }
1151
- ],
1152
- "direction": "horizontal",
1153
- "justify": "between"
1154
- },
1155
- {
1156
- "variant": "caption",
1157
- "type": "typography",
1158
- "content": "@item.defense"
1159
- }
1160
- ],
1161
- "gap": "sm",
1162
- "type": "stack"
1163
- }
1164
- ],
1165
- "type": "data-grid"
1166
- },
1167
- {
1168
- "type": "divider"
1169
- },
1170
- {
1171
- "children": [
1172
- {
1173
- "variant": "ghost",
1174
- "icon": "arrow-left",
1175
- "action": "BACK",
1176
- "type": "button",
1177
- "label": "Back to Map"
1178
- }
1179
- ],
1180
- "type": "stack",
1181
- "direction": "horizontal",
1182
- "gap": "sm",
1183
- "justify": "end"
1184
- }
1185
- ]
1186
- }
1187
- ],
1188
- "appName": "Strategy Game"
1189
- }
1190
- ]
1191
- ]
1192
- },
1193
- {
1194
- "from": "transitioning",
1195
- "to": "entered",
1196
- "event": "TerritoryLoadFailed",
1197
- "effects": [
1198
- [
1199
- "render-ui",
1200
- "main",
1201
- {
1202
- "gap": "md",
1203
- "children": [
1204
- {
1205
- "type": "icon",
1206
- "name": "alert-triangle",
1207
- "color": "destructive"
1208
- },
1209
- {
1210
- "content": "Failed to load territory",
1211
- "type": "typography",
1212
- "variant": "h3"
1213
- },
1214
- {
1215
- "color": "muted",
1216
- "type": "typography",
1217
- "variant": "body",
1218
- "content": "@payload.error"
1219
- },
1220
- {
1221
- "label": "Retry",
1222
- "icon": "rotate-ccw",
1223
- "variant": "primary",
1224
- "action": "INIT",
1225
- "type": "button"
1226
- }
1227
- ],
1228
- "align": "center",
1229
- "className": "py-12",
1230
- "type": "stack",
1231
- "direction": "vertical"
1232
- }
1233
- ]
1234
- ]
1235
- },
1236
- {
1237
- "from": "entered",
1238
- "to": "exploring",
1239
- "event": "BACK",
1240
- "effects": [
1241
- [
1242
- "fetch",
1243
- "Territory",
1244
- {
1245
- "emit": {
1246
- "failure": "TerritoryLoadFailed",
1247
- "success": "TerritoryLoaded"
1248
- }
1249
- }
1250
- ],
1251
- [
1252
- "render-ui",
1253
- "main",
1254
- {
1255
- "direction": "vertical",
1256
- "align": "center",
1257
- "className": "py-12",
1258
- "children": [
1259
- {
1260
- "type": "spinner"
1261
- },
1262
- {
1263
- "content": "Loading…",
1264
- "color": "muted",
1265
- "variant": "caption",
1266
- "type": "typography"
1267
- }
1268
- ],
1269
- "type": "stack",
1270
- "gap": "md"
1271
- }
1272
- ]
1273
- ]
1274
- },
1275
- {
1276
- "from": "entered",
1277
- "to": "exploring",
1278
- "event": "TerritoryLoaded",
1279
- "effects": [
1280
- [
1281
- "render-ui",
1282
- "main",
1283
- {
1284
- "appName": "Strategy Game",
1285
- "showTopBar": true,
1286
- "type": "game-shell",
1287
- "children": [
1288
- {
1289
- "gap": "lg",
1290
- "direction": "vertical",
1291
- "type": "stack",
1292
- "children": [
1293
- {
1294
- "direction": "horizontal",
1295
- "children": [
1296
- {
1297
- "type": "stack",
1298
- "direction": "horizontal",
1299
- "gap": "md",
1300
- "children": [
1301
- {
1302
- "name": "map",
1303
- "type": "icon"
1304
- },
1305
- {
1306
- "variant": "h2",
1307
- "content": "Territory Map",
1308
- "type": "typography"
1309
- }
1310
- ]
1311
- },
1312
- {
1313
- "type": "status-dot",
1314
- "pulse": false,
1315
- "label": "Exploring",
1316
- "status": "online"
1317
- }
1318
- ],
1319
- "gap": "md",
1320
- "type": "stack",
1321
- "justify": "between"
1322
- },
1323
- {
1324
- "type": "divider"
1325
- },
1326
- {
1327
- "zoom": 10.0,
1328
- "type": "map-view",
1329
- "markers": [],
1330
- "height": "200px"
1331
- },
1332
- {
1333
- "itemActions": [
1334
- {
1335
- "event": "TRAVEL",
1336
- "label": "Travel"
1337
- }
1338
- ],
1339
- "type": "data-grid",
1340
- "renderItem": [
1341
- "fn",
1342
- "item",
1343
- {
1344
- "direction": "vertical",
1345
- "type": "stack",
1346
- "gap": "sm",
1347
- "children": [
1348
- {
1349
- "align": "center",
1350
- "children": [
1351
- {
1352
- "children": [
1353
- {
1354
- "type": "icon",
1355
- "name": "map-pin"
1356
- },
1357
- {
1358
- "variant": "h4",
1359
- "type": "typography",
1360
- "content": "@item.name"
1361
- }
1362
- ],
1363
- "type": "stack",
1364
- "align": "center",
1365
- "direction": "horizontal",
1366
- "gap": "sm"
1367
- },
1368
- {
1369
- "type": "badge",
1370
- "label": "@item.owner"
1371
- }
1372
- ],
1373
- "direction": "horizontal",
1374
- "justify": "between",
1375
- "type": "stack"
1376
- },
1377
- {
1378
- "type": "typography",
1379
- "variant": "caption",
1380
- "content": "@item.defense"
1381
- }
1382
- ]
1383
- }
1384
- ],
1385
- "entity": "@payload.data",
1386
- "fields": []
1387
- }
1388
- ]
1389
- }
1390
- ]
1391
- }
1392
- ]
1393
- ]
1394
- },
1395
- {
1396
- "from": "entered",
1397
- "to": "exploring",
1398
- "event": "TerritoryLoadFailed",
1399
- "effects": [
1400
- [
1401
- "render-ui",
1402
- "main",
1403
- {
1404
- "align": "center",
1405
- "direction": "vertical",
1406
- "gap": "md",
1407
- "children": [
1408
- {
1409
- "type": "icon",
1410
- "name": "alert-triangle",
1411
- "color": "destructive"
1412
- },
1413
- {
1414
- "type": "typography",
1415
- "variant": "h3",
1416
- "content": "Failed to load territory"
1417
- },
1418
- {
1419
- "type": "typography",
1420
- "content": "@payload.error",
1421
- "variant": "body",
1422
- "color": "muted"
1423
- },
1424
- {
1425
- "variant": "primary",
1426
- "label": "Retry",
1427
- "icon": "rotate-ccw",
1428
- "type": "button",
1429
- "action": "INIT"
1430
- }
1431
- ],
1432
- "className": "py-12",
1433
- "type": "stack"
1434
- }
1435
- ]
1436
- ]
1437
- }
1438
- ]
1439
- },
1440
- "scope": "collection"
1441
- }
1442
- ],
1443
- "pages": [
1444
- {
1445
- "name": "Map",
1446
- "path": "/map",
1447
- "traits": [
1448
- {
1449
- "ref": "TerritoryNavigation"
1450
- }
1451
- ]
1452
- }
1453
- ]
1454
- },
1455
- {
1456
- "name": "ResourceOrbital",
1457
- "entity": {
1458
- "name": "Resource",
1459
- "persistence": "runtime",
1460
- "fields": [
1461
- {
1462
- "name": "id",
1463
- "type": "string",
1464
- "required": true
1465
- },
1466
- {
1467
- "name": "gold",
1468
- "type": "number"
1469
- },
1470
- {
1471
- "name": "food",
1472
- "type": "number"
1473
- },
1474
- {
1475
- "name": "wood",
1476
- "type": "number"
1477
- },
1478
- {
1479
- "name": "iron",
1480
- "type": "number"
1481
- }
1482
- ]
1483
- },
1484
- "traits": [
1485
- {
1486
- "name": "ResourceDisplay",
1487
- "category": "interaction",
1488
- "linkedEntity": "Resource",
1489
- "emits": [
1490
- {
1491
- "event": "ResourceLoaded",
1492
- "description": "Fired when Resource finishes loading",
1493
- "scope": "internal",
1494
- "payloadSchema": [
1495
- {
1496
- "name": "data",
1497
- "type": "[Resource]"
1498
- }
1499
- ]
1500
- },
1501
- {
1502
- "event": "ResourceLoadFailed",
1503
- "description": "Fired when Resource fails to load",
1504
- "scope": "internal",
1505
- "payloadSchema": [
1506
- {
1507
- "name": "error",
1508
- "type": "string"
1509
- },
1510
- {
1511
- "name": "code",
1512
- "type": "string"
1513
- }
1514
- ]
1515
- }
1516
- ],
1517
- "stateMachine": {
1518
- "states": [
1519
- {
1520
- "name": "loading",
1521
- "isInitial": true
1522
- },
1523
- {
1524
- "name": "displaying"
1525
- },
1526
- {
1527
- "name": "refreshing"
1528
- }
1529
- ],
1530
- "events": [
1531
- {
1532
- "key": "INIT",
1533
- "name": "Initialize"
1534
- },
1535
- {
1536
- "key": "LOADED",
1537
- "name": "Loaded"
1538
- },
1539
- {
1540
- "key": "REFRESH",
1541
- "name": "Refresh"
1542
- },
1543
- {
1544
- "key": "REFRESHED",
1545
- "name": "Refreshed"
1546
- },
1547
- {
1548
- "key": "ResourceLoaded",
1549
- "name": "Resource loaded",
1550
- "payloadSchema": [
1551
- {
1552
- "name": "data",
1553
- "type": "[Resource]"
1554
- }
1555
- ]
1556
- },
1557
- {
1558
- "key": "ResourceLoadFailed",
1559
- "name": "Resource load failed",
1560
- "payloadSchema": [
1561
- {
1562
- "name": "error",
1563
- "type": "string"
1564
- },
1565
- {
1566
- "name": "code",
1567
- "type": "string"
1568
- }
1569
- ]
1570
- }
1571
- ],
1572
- "transitions": [
1573
- {
1574
- "from": "loading",
1575
- "to": "displaying",
1576
- "event": "INIT",
1577
- "effects": [
1578
- [
1579
- "fetch",
1580
- "Resource",
1581
- {
1582
- "emit": {
1583
- "success": "ResourceLoaded",
1584
- "failure": "ResourceLoadFailed"
1585
- }
1586
- }
1587
- ],
1588
- [
1589
- "render-ui",
1590
- "main",
1591
- {
1592
- "appName": "Strategy Game",
1593
- "type": "game-shell",
1594
- "showTopBar": true,
1595
- "children": [
1596
- {
1597
- "children": [
1598
- {
1599
- "children": [
1600
- {
1601
- "items": [
1602
- {
1603
- "label": "Home",
1604
- "href": "/"
1605
- },
1606
- {
1607
- "label": "Resources"
1608
- }
1609
- ],
1610
- "type": "breadcrumb"
1611
- },
1612
- {
1613
- "justify": "between",
1614
- "type": "stack",
1615
- "gap": "md",
1616
- "direction": "horizontal",
1617
- "children": [
1618
- {
1619
- "gap": "md",
1620
- "children": [
1621
- {
1622
- "name": "database",
1623
- "type": "icon"
1624
- },
1625
- {
1626
- "variant": "h2",
1627
- "type": "typography",
1628
- "content": "Resources"
1629
- }
1630
- ],
1631
- "direction": "horizontal",
1632
- "type": "stack"
1633
- },
1634
- {
1635
- "variant": "secondary",
1636
- "label": "Refresh",
1637
- "action": "REFRESH",
1638
- "type": "button",
1639
- "icon": "refresh-cw"
1640
- }
1641
- ]
1642
- },
1643
- {
1644
- "type": "divider"
1645
- },
1646
- {
1647
- "children": [
1648
- {
1649
- "type": "simple-grid",
1650
- "children": [
1651
- {
1652
- "type": "stat-display",
1653
- "value": "@entity.gold",
1654
- "label": "Gold"
1655
- },
1656
- {
1657
- "label": "Food",
1658
- "value": "@entity.food",
1659
- "type": "stat-display"
1660
- },
1661
- {
1662
- "value": "@entity.wood",
1663
- "type": "stat-display",
1664
- "label": "Wood"
1665
- },
1666
- {
1667
- "label": "Iron",
1668
- "value": "@entity.iron",
1669
- "type": "stat-display"
1670
- }
1671
- ],
1672
- "cols": 3.0
1673
- }
1674
- ],
1675
- "padding": "md",
1676
- "type": "box"
1677
- },
1678
- {
1679
- "type": "divider"
1680
- },
1681
- {
1682
- "gap": "md",
1683
- "type": "grid",
1684
- "cols": 2.0,
1685
- "children": [
1686
- {
1687
- "children": [
1688
- {
1689
- "type": "typography",
1690
- "content": "Chart View",
1691
- "variant": "caption"
1692
- }
1693
- ],
1694
- "type": "card"
1695
- },
1696
- {
1697
- "type": "card",
1698
- "children": [
1699
- {
1700
- "type": "typography",
1701
- "variant": "caption",
1702
- "content": "Graph View"
1703
- }
1704
- ]
1705
- }
1706
- ]
1707
- },
1708
- {
1709
- "type": "line-chart",
1710
- "data": [
1711
- {
1712
- "value": 12.0,
1713
- "date": "Jan"
1714
- },
1715
- {
1716
- "date": "Feb",
1717
- "value": 19.0
1718
- },
1719
- {
1720
- "value": 15.0,
1721
- "date": "Mar"
1722
- },
1723
- {
1724
- "date": "Apr",
1725
- "value": 25.0
1726
- },
1727
- {
1728
- "date": "May",
1729
- "value": 22.0
1730
- },
1731
- {
1732
- "date": "Jun",
1733
- "value": 30.0
1734
- }
1735
- ]
1736
- },
1737
- {
1738
- "type": "chart-legend",
1739
- "items": [
1740
- {
1741
- "color": "primary",
1742
- "label": "Current"
1743
- },
1744
- {
1745
- "color": "muted",
1746
- "label": "Previous"
1747
- }
1748
- ]
1749
- },
1750
- {
1751
- "type": "graph-view",
1752
- "nodes": [
1753
- {
1754
- "label": "Start",
1755
- "id": "a"
1756
- },
1757
- {
1758
- "label": "Process",
1759
- "id": "b"
1760
- },
1761
- {
1762
- "id": "c",
1763
- "label": "End"
1764
- }
1765
- ],
1766
- "width": 400.0,
1767
- "height": 200.0,
1768
- "edges": [
1769
- {
1770
- "source": "a",
1771
- "target": "b"
1772
- },
1773
- {
1774
- "target": "c",
1775
- "source": "b"
1776
- }
1777
- ]
1778
- }
1779
- ],
1780
- "type": "stack",
1781
- "direction": "vertical",
1782
- "gap": "lg"
1783
- }
1784
- ],
1785
- "type": "scaled-diagram"
1786
- }
1787
- ]
1788
- }
1789
- ]
1790
- ]
1791
- },
1792
- {
1793
- "from": "loading",
1794
- "to": "displaying",
1795
- "event": "LOADED",
1796
- "effects": [
1797
- [
1798
- "fetch",
1799
- "Resource",
1800
- {
1801
- "emit": {
1802
- "failure": "ResourceLoadFailed",
1803
- "success": "ResourceLoaded"
1804
- }
1805
- }
1806
- ],
1807
- [
1808
- "render-ui",
1809
- "main",
1810
- {
1811
- "type": "game-shell",
1812
- "appName": "Strategy Game",
1813
- "children": [
1814
- {
1815
- "type": "scaled-diagram",
1816
- "children": [
1817
- {
1818
- "gap": "lg",
1819
- "type": "stack",
1820
- "direction": "vertical",
1821
- "children": [
1822
- {
1823
- "items": [
1824
- {
1825
- "href": "/",
1826
- "label": "Home"
1827
- },
1828
- {
1829
- "label": "Resources"
1830
- }
1831
- ],
1832
- "type": "breadcrumb"
1833
- },
1834
- {
1835
- "type": "stack",
1836
- "direction": "horizontal",
1837
- "gap": "md",
1838
- "justify": "between",
1839
- "children": [
1840
- {
1841
- "type": "stack",
1842
- "children": [
1843
- {
1844
- "type": "icon",
1845
- "name": "database"
1846
- },
1847
- {
1848
- "variant": "h2",
1849
- "content": "Resources",
1850
- "type": "typography"
1851
- }
1852
- ],
1853
- "direction": "horizontal",
1854
- "gap": "md"
1855
- },
1856
- {
1857
- "variant": "secondary",
1858
- "type": "button",
1859
- "icon": "refresh-cw",
1860
- "label": "Refresh",
1861
- "action": "REFRESH"
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "type": "divider"
1867
- },
1868
- {
1869
- "padding": "md",
1870
- "type": "box",
1871
- "children": [
1872
- {
1873
- "type": "simple-grid",
1874
- "children": [
1875
- {
1876
- "label": "Gold",
1877
- "value": "@entity.gold",
1878
- "type": "stat-display"
1879
- },
1880
- {
1881
- "label": "Food",
1882
- "value": "@entity.food",
1883
- "type": "stat-display"
1884
- },
1885
- {
1886
- "label": "Wood",
1887
- "type": "stat-display",
1888
- "value": "@entity.wood"
1889
- },
1890
- {
1891
- "type": "stat-display",
1892
- "value": "@entity.iron",
1893
- "label": "Iron"
1894
- }
1895
- ],
1896
- "cols": 3.0
1897
- }
1898
- ]
1899
- },
1900
- {
1901
- "type": "divider"
1902
- },
1903
- {
1904
- "children": [
1905
- {
1906
- "children": [
1907
- {
1908
- "type": "typography",
1909
- "variant": "caption",
1910
- "content": "Chart View"
1911
- }
1912
- ],
1913
- "type": "card"
1914
- },
1915
- {
1916
- "type": "card",
1917
- "children": [
1918
- {
1919
- "variant": "caption",
1920
- "type": "typography",
1921
- "content": "Graph View"
1922
- }
1923
- ]
1924
- }
1925
- ],
1926
- "type": "grid",
1927
- "gap": "md",
1928
- "cols": 2.0
1929
- },
1930
- {
1931
- "data": [
1932
- {
1933
- "date": "Jan",
1934
- "value": 12.0
1935
- },
1936
- {
1937
- "date": "Feb",
1938
- "value": 19.0
1939
- },
1940
- {
1941
- "value": 15.0,
1942
- "date": "Mar"
1943
- },
1944
- {
1945
- "date": "Apr",
1946
- "value": 25.0
1947
- },
1948
- {
1949
- "date": "May",
1950
- "value": 22.0
1951
- },
1952
- {
1953
- "value": 30.0,
1954
- "date": "Jun"
1955
- }
1956
- ],
1957
- "type": "line-chart"
1958
- },
1959
- {
1960
- "items": [
1961
- {
1962
- "color": "primary",
1963
- "label": "Current"
1964
- },
1965
- {
1966
- "color": "muted",
1967
- "label": "Previous"
1968
- }
1969
- ],
1970
- "type": "chart-legend"
1971
- },
1972
- {
1973
- "type": "graph-view",
1974
- "edges": [
1975
- {
1976
- "target": "b",
1977
- "source": "a"
1978
- },
1979
- {
1980
- "target": "c",
1981
- "source": "b"
1982
- }
1983
- ],
1984
- "nodes": [
1985
- {
1986
- "label": "Start",
1987
- "id": "a"
1988
- },
1989
- {
1990
- "label": "Process",
1991
- "id": "b"
1992
- },
1993
- {
1994
- "id": "c",
1995
- "label": "End"
1996
- }
1997
- ],
1998
- "height": 200.0,
1999
- "width": 400.0
2000
- }
2001
- ]
2002
- }
2003
- ]
2004
- }
2005
- ],
2006
- "showTopBar": true
2007
- }
2008
- ]
2009
- ]
2010
- },
2011
- {
2012
- "from": "displaying",
2013
- "to": "displaying",
2014
- "event": "INIT",
2015
- "effects": [
2016
- [
2017
- "fetch",
2018
- "Resource",
2019
- {
2020
- "emit": {
2021
- "failure": "ResourceLoadFailed",
2022
- "success": "ResourceLoaded"
2023
- }
2024
- }
2025
- ],
2026
- [
2027
- "render-ui",
2028
- "main",
2029
- {
2030
- "type": "game-shell",
2031
- "appName": "Strategy Game",
2032
- "children": [
2033
- {
2034
- "type": "scaled-diagram",
2035
- "children": [
2036
- {
2037
- "gap": "lg",
2038
- "type": "stack",
2039
- "direction": "vertical",
2040
- "children": [
2041
- {
2042
- "type": "breadcrumb",
2043
- "items": [
2044
- {
2045
- "label": "Home",
2046
- "href": "/"
2047
- },
2048
- {
2049
- "label": "Resources"
2050
- }
2051
- ]
2052
- },
2053
- {
2054
- "direction": "horizontal",
2055
- "children": [
2056
- {
2057
- "type": "stack",
2058
- "direction": "horizontal",
2059
- "children": [
2060
- {
2061
- "type": "icon",
2062
- "name": "database"
2063
- },
2064
- {
2065
- "variant": "h2",
2066
- "content": "Resources",
2067
- "type": "typography"
2068
- }
2069
- ],
2070
- "gap": "md"
2071
- },
2072
- {
2073
- "icon": "refresh-cw",
2074
- "action": "REFRESH",
2075
- "label": "Refresh",
2076
- "variant": "secondary",
2077
- "type": "button"
2078
- }
2079
- ],
2080
- "gap": "md",
2081
- "justify": "between",
2082
- "type": "stack"
2083
- },
2084
- {
2085
- "type": "divider"
2086
- },
2087
- {
2088
- "children": [
2089
- {
2090
- "children": [
2091
- {
2092
- "type": "stat-display",
2093
- "value": "@entity.gold",
2094
- "label": "Gold"
2095
- },
2096
- {
2097
- "value": "@entity.food",
2098
- "type": "stat-display",
2099
- "label": "Food"
2100
- },
2101
- {
2102
- "type": "stat-display",
2103
- "label": "Wood",
2104
- "value": "@entity.wood"
2105
- },
2106
- {
2107
- "value": "@entity.iron",
2108
- "type": "stat-display",
2109
- "label": "Iron"
2110
- }
2111
- ],
2112
- "cols": 3.0,
2113
- "type": "simple-grid"
2114
- }
2115
- ],
2116
- "type": "box",
2117
- "padding": "md"
2118
- },
2119
- {
2120
- "type": "divider"
2121
- },
2122
- {
2123
- "gap": "md",
2124
- "cols": 2.0,
2125
- "type": "grid",
2126
- "children": [
2127
- {
2128
- "type": "card",
2129
- "children": [
2130
- {
2131
- "variant": "caption",
2132
- "content": "Chart View",
2133
- "type": "typography"
2134
- }
2135
- ]
2136
- },
2137
- {
2138
- "type": "card",
2139
- "children": [
2140
- {
2141
- "type": "typography",
2142
- "variant": "caption",
2143
- "content": "Graph View"
2144
- }
2145
- ]
2146
- }
2147
- ]
2148
- },
2149
- {
2150
- "data": [
2151
- {
2152
- "date": "Jan",
2153
- "value": 12.0
2154
- },
2155
- {
2156
- "value": 19.0,
2157
- "date": "Feb"
2158
- },
2159
- {
2160
- "date": "Mar",
2161
- "value": 15.0
2162
- },
2163
- {
2164
- "value": 25.0,
2165
- "date": "Apr"
2166
- },
2167
- {
2168
- "date": "May",
2169
- "value": 22.0
2170
- },
2171
- {
2172
- "value": 30.0,
2173
- "date": "Jun"
2174
- }
2175
- ],
2176
- "type": "line-chart"
2177
- },
2178
- {
2179
- "items": [
2180
- {
2181
- "color": "primary",
2182
- "label": "Current"
2183
- },
2184
- {
2185
- "color": "muted",
2186
- "label": "Previous"
2187
- }
2188
- ],
2189
- "type": "chart-legend"
2190
- },
2191
- {
2192
- "type": "graph-view",
2193
- "width": 400.0,
2194
- "height": 200.0,
2195
- "nodes": [
2196
- {
2197
- "id": "a",
2198
- "label": "Start"
2199
- },
2200
- {
2201
- "id": "b",
2202
- "label": "Process"
2203
- },
2204
- {
2205
- "id": "c",
2206
- "label": "End"
2207
- }
2208
- ],
2209
- "edges": [
2210
- {
2211
- "target": "b",
2212
- "source": "a"
2213
- },
2214
- {
2215
- "source": "b",
2216
- "target": "c"
2217
- }
2218
- ]
2219
- }
2220
- ]
2221
- }
2222
- ]
2223
- }
2224
- ],
2225
- "showTopBar": true
2226
- }
2227
- ]
2228
- ]
2229
- },
2230
- {
2231
- "from": "displaying",
2232
- "to": "refreshing",
2233
- "event": "REFRESH",
2234
- "effects": [
2235
- [
2236
- "fetch",
2237
- "Resource",
2238
- {
2239
- "emit": {
2240
- "failure": "ResourceLoadFailed",
2241
- "success": "ResourceLoaded"
2242
- }
2243
- }
2244
- ],
2245
- [
2246
- "render-ui",
2247
- "main",
2248
- {
2249
- "appName": "Strategy Game",
2250
- "type": "game-shell",
2251
- "showTopBar": true,
2252
- "children": [
2253
- {
2254
- "type": "scaled-diagram",
2255
- "children": [
2256
- {
2257
- "type": "stack",
2258
- "children": [
2259
- {
2260
- "items": [
2261
- {
2262
- "label": "Home",
2263
- "href": "/"
2264
- },
2265
- {
2266
- "label": "Resources"
2267
- }
2268
- ],
2269
- "type": "breadcrumb"
2270
- },
2271
- {
2272
- "type": "stack",
2273
- "justify": "between",
2274
- "children": [
2275
- {
2276
- "type": "stack",
2277
- "direction": "horizontal",
2278
- "children": [
2279
- {
2280
- "type": "icon",
2281
- "name": "database"
2282
- },
2283
- {
2284
- "type": "typography",
2285
- "content": "Resources",
2286
- "variant": "h2"
2287
- }
2288
- ],
2289
- "gap": "md"
2290
- },
2291
- {
2292
- "variant": "secondary",
2293
- "action": "REFRESH",
2294
- "type": "button",
2295
- "icon": "refresh-cw",
2296
- "label": "Refresh"
2297
- }
2298
- ],
2299
- "direction": "horizontal",
2300
- "gap": "md"
2301
- },
2302
- {
2303
- "type": "divider"
2304
- },
2305
- {
2306
- "children": [
2307
- {
2308
- "children": [
2309
- {
2310
- "type": "stat-display",
2311
- "value": "@entity.gold",
2312
- "label": "Gold"
2313
- },
2314
- {
2315
- "value": "@entity.food",
2316
- "type": "stat-display",
2317
- "label": "Food"
2318
- },
2319
- {
2320
- "type": "stat-display",
2321
- "value": "@entity.wood",
2322
- "label": "Wood"
2323
- },
2324
- {
2325
- "type": "stat-display",
2326
- "label": "Iron",
2327
- "value": "@entity.iron"
2328
- }
2329
- ],
2330
- "type": "simple-grid",
2331
- "cols": 3.0
2332
- }
2333
- ],
2334
- "type": "box",
2335
- "padding": "md"
2336
- },
2337
- {
2338
- "type": "divider"
2339
- },
2340
- {
2341
- "cols": 2.0,
2342
- "type": "grid",
2343
- "gap": "md",
2344
- "children": [
2345
- {
2346
- "children": [
2347
- {
2348
- "content": "Chart View",
2349
- "type": "typography",
2350
- "variant": "caption"
2351
- }
2352
- ],
2353
- "type": "card"
2354
- },
2355
- {
2356
- "type": "card",
2357
- "children": [
2358
- {
2359
- "type": "typography",
2360
- "content": "Graph View",
2361
- "variant": "caption"
2362
- }
2363
- ]
2364
- }
2365
- ]
2366
- },
2367
- {
2368
- "data": [
2369
- {
2370
- "value": 12.0,
2371
- "date": "Jan"
2372
- },
2373
- {
2374
- "date": "Feb",
2375
- "value": 19.0
2376
- },
2377
- {
2378
- "value": 15.0,
2379
- "date": "Mar"
2380
- },
2381
- {
2382
- "value": 25.0,
2383
- "date": "Apr"
2384
- },
2385
- {
2386
- "value": 22.0,
2387
- "date": "May"
2388
- },
2389
- {
2390
- "value": 30.0,
2391
- "date": "Jun"
2392
- }
2393
- ],
2394
- "type": "line-chart"
2395
- },
2396
- {
2397
- "type": "chart-legend",
2398
- "items": [
2399
- {
2400
- "color": "primary",
2401
- "label": "Current"
2402
- },
2403
- {
2404
- "label": "Previous",
2405
- "color": "muted"
2406
- }
2407
- ]
2408
- },
2409
- {
2410
- "edges": [
2411
- {
2412
- "source": "a",
2413
- "target": "b"
2414
- },
2415
- {
2416
- "target": "c",
2417
- "source": "b"
2418
- }
2419
- ],
2420
- "height": 200.0,
2421
- "nodes": [
2422
- {
2423
- "id": "a",
2424
- "label": "Start"
2425
- },
2426
- {
2427
- "label": "Process",
2428
- "id": "b"
2429
- },
2430
- {
2431
- "label": "End",
2432
- "id": "c"
2433
- }
2434
- ],
2435
- "type": "graph-view",
2436
- "width": 400.0
2437
- }
2438
- ],
2439
- "direction": "vertical",
2440
- "gap": "lg"
2441
- }
2442
- ]
2443
- }
2444
- ]
2445
- }
2446
- ]
2447
- ]
2448
- },
2449
- {
2450
- "from": "refreshing",
2451
- "to": "displaying",
2452
- "event": "REFRESHED",
2453
- "effects": [
2454
- [
2455
- "fetch",
2456
- "Resource",
2457
- {
2458
- "emit": {
2459
- "failure": "ResourceLoadFailed",
2460
- "success": "ResourceLoaded"
2461
- }
2462
- }
2463
- ],
2464
- [
2465
- "render-ui",
2466
- "main",
2467
- {
2468
- "children": [
2469
- {
2470
- "type": "scaled-diagram",
2471
- "children": [
2472
- {
2473
- "direction": "vertical",
2474
- "children": [
2475
- {
2476
- "type": "breadcrumb",
2477
- "items": [
2478
- {
2479
- "href": "/",
2480
- "label": "Home"
2481
- },
2482
- {
2483
- "label": "Resources"
2484
- }
2485
- ]
2486
- },
2487
- {
2488
- "gap": "md",
2489
- "direction": "horizontal",
2490
- "type": "stack",
2491
- "justify": "between",
2492
- "children": [
2493
- {
2494
- "gap": "md",
2495
- "direction": "horizontal",
2496
- "children": [
2497
- {
2498
- "type": "icon",
2499
- "name": "database"
2500
- },
2501
- {
2502
- "type": "typography",
2503
- "content": "Resources",
2504
- "variant": "h2"
2505
- }
2506
- ],
2507
- "type": "stack"
2508
- },
2509
- {
2510
- "variant": "secondary",
2511
- "action": "REFRESH",
2512
- "label": "Refresh",
2513
- "type": "button",
2514
- "icon": "refresh-cw"
2515
- }
2516
- ]
2517
- },
2518
- {
2519
- "type": "divider"
2520
- },
2521
- {
2522
- "type": "box",
2523
- "children": [
2524
- {
2525
- "children": [
2526
- {
2527
- "type": "stat-display",
2528
- "label": "Gold",
2529
- "value": "@entity.gold"
2530
- },
2531
- {
2532
- "value": "@entity.food",
2533
- "type": "stat-display",
2534
- "label": "Food"
2535
- },
2536
- {
2537
- "label": "Wood",
2538
- "type": "stat-display",
2539
- "value": "@entity.wood"
2540
- },
2541
- {
2542
- "label": "Iron",
2543
- "value": "@entity.iron",
2544
- "type": "stat-display"
2545
- }
2546
- ],
2547
- "type": "simple-grid",
2548
- "cols": 3.0
2549
- }
2550
- ],
2551
- "padding": "md"
2552
- },
2553
- {
2554
- "type": "divider"
2555
- },
2556
- {
2557
- "children": [
2558
- {
2559
- "children": [
2560
- {
2561
- "variant": "caption",
2562
- "type": "typography",
2563
- "content": "Chart View"
2564
- }
2565
- ],
2566
- "type": "card"
2567
- },
2568
- {
2569
- "type": "card",
2570
- "children": [
2571
- {
2572
- "type": "typography",
2573
- "content": "Graph View",
2574
- "variant": "caption"
2575
- }
2576
- ]
2577
- }
2578
- ],
2579
- "gap": "md",
2580
- "cols": 2.0,
2581
- "type": "grid"
2582
- },
2583
- {
2584
- "data": [
2585
- {
2586
- "date": "Jan",
2587
- "value": 12.0
2588
- },
2589
- {
2590
- "value": 19.0,
2591
- "date": "Feb"
2592
- },
2593
- {
2594
- "value": 15.0,
2595
- "date": "Mar"
2596
- },
2597
- {
2598
- "date": "Apr",
2599
- "value": 25.0
2600
- },
2601
- {
2602
- "date": "May",
2603
- "value": 22.0
2604
- },
2605
- {
2606
- "date": "Jun",
2607
- "value": 30.0
2608
- }
2609
- ],
2610
- "type": "line-chart"
2611
- },
2612
- {
2613
- "items": [
2614
- {
2615
- "color": "primary",
2616
- "label": "Current"
2617
- },
2618
- {
2619
- "color": "muted",
2620
- "label": "Previous"
2621
- }
2622
- ],
2623
- "type": "chart-legend"
2624
- },
2625
- {
2626
- "nodes": [
2627
- {
2628
- "label": "Start",
2629
- "id": "a"
2630
- },
2631
- {
2632
- "label": "Process",
2633
- "id": "b"
2634
- },
2635
- {
2636
- "id": "c",
2637
- "label": "End"
2638
- }
2639
- ],
2640
- "width": 400.0,
2641
- "type": "graph-view",
2642
- "height": 200.0,
2643
- "edges": [
2644
- {
2645
- "target": "b",
2646
- "source": "a"
2647
- },
2648
- {
2649
- "source": "b",
2650
- "target": "c"
2651
- }
2652
- ]
2653
- }
2654
- ],
2655
- "type": "stack",
2656
- "gap": "lg"
2657
- }
2658
- ]
2659
- }
2660
- ],
2661
- "showTopBar": true,
2662
- "appName": "Strategy Game",
2663
- "type": "game-shell"
2664
- }
2665
- ]
2666
- ]
2667
- }
2668
- ]
2669
- },
2670
- "scope": "collection"
2671
- }
2672
- ],
2673
- "pages": [
2674
- {
2675
- "name": "Resources",
2676
- "path": "/resources",
2677
- "traits": [
2678
- {
2679
- "ref": "ResourceDisplay"
2680
- }
2681
- ]
2682
- }
2683
- ]
2684
- }
2685
- ]
2686
- }