@almadar/std 6.5.2 → 7.2.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 (307) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  4. package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  7. package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  8. package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  9. package/behaviors/registry/atoms/std-agent-search.orb +217 -61
  10. package/behaviors/registry/atoms/std-agent-session.orb +406 -159
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  14. package/behaviors/registry/atoms/std-async.orb +147 -86
  15. package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  16. package/behaviors/registry/atoms/std-browse.orb +260 -126
  17. package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  18. package/behaviors/registry/atoms/std-calendar.orb +280 -215
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  20. package/behaviors/registry/atoms/std-collision.orb +136 -135
  21. package/behaviors/registry/atoms/std-combat-log.orb +108 -90
  22. package/behaviors/registry/atoms/std-combat.orb +171 -98
  23. package/behaviors/registry/atoms/std-confirmation.orb +28 -300
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  25. package/behaviors/registry/atoms/std-display.orb +491 -587
  26. package/behaviors/registry/atoms/std-drawer.orb +194 -121
  27. package/behaviors/registry/atoms/std-filter.orb +311 -326
  28. package/behaviors/registry/atoms/std-flip-card.orb +223 -177
  29. package/behaviors/registry/atoms/std-gallery.orb +130 -151
  30. package/behaviors/registry/atoms/std-game-audio.orb +133 -72
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  33. package/behaviors/registry/atoms/std-game-hud.orb +87 -20
  34. package/behaviors/registry/atoms/std-game-menu.orb +32 -32
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  36. package/behaviors/registry/atoms/std-gameflow.orb +147 -80
  37. package/behaviors/registry/atoms/std-input.orb +128 -393
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  40. package/behaviors/registry/atoms/std-loading.orb +127 -126
  41. package/behaviors/registry/atoms/std-modal.orb +30 -267
  42. package/behaviors/registry/atoms/std-movement.orb +391 -292
  43. package/behaviors/registry/atoms/std-notification.orb +133 -75
  44. package/behaviors/registry/atoms/std-overworld.orb +194 -121
  45. package/behaviors/registry/atoms/std-pagination.orb +120 -53
  46. package/behaviors/registry/atoms/std-physics2d.orb +94 -93
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  48. package/behaviors/registry/atoms/std-push.orb +172 -36
  49. package/behaviors/registry/atoms/std-quest.orb +552 -449
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  51. package/behaviors/registry/atoms/std-rating.orb +123 -65
  52. package/behaviors/registry/atoms/std-related.orb +202 -26
  53. package/behaviors/registry/atoms/std-score-board.orb +109 -28
  54. package/behaviors/registry/atoms/std-score.orb +210 -146
  55. package/behaviors/registry/atoms/std-search.orb +265 -138
  56. package/behaviors/registry/atoms/std-selection.orb +311 -220
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  61. package/behaviors/registry/atoms/std-service-email.orb +195 -107
  62. package/behaviors/registry/atoms/std-service-github.orb +216 -122
  63. package/behaviors/registry/atoms/std-service-llm.orb +204 -122
  64. package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  65. package/behaviors/registry/atoms/std-service-redis.orb +177 -92
  66. package/behaviors/registry/atoms/std-service-storage.orb +211 -122
  67. package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  68. package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  69. package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  71. package/behaviors/registry/atoms/std-sort.orb +284 -207
  72. package/behaviors/registry/atoms/std-sprite.orb +150 -74
  73. package/behaviors/registry/atoms/std-tabs.orb +129 -62
  74. package/behaviors/registry/atoms/std-text-effects.orb +251 -190
  75. package/behaviors/registry/atoms/std-theme.orb +193 -135
  76. package/behaviors/registry/atoms/std-timer.orb +320 -344
  77. package/behaviors/registry/atoms/std-undo.orb +278 -199
  78. package/behaviors/registry/atoms/std-upload.orb +112 -111
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  80. package/behaviors/registry/atoms/std-wizard.orb +445 -336
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  82. package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  83. package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  84. package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  87. package/behaviors/registry/molecules/std-builder-game.orb +86 -28
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  89. package/behaviors/registry/molecules/std-cart.orb +347 -406
  90. package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  92. package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  93. package/behaviors/registry/molecules/std-detail.orb +133 -138
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  97. package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  99. package/behaviors/registry/molecules/std-geospatial.orb +175 -122
  100. package/behaviors/registry/molecules/std-inventory.orb +216 -170
  101. package/behaviors/registry/molecules/std-list.orb +280 -205
  102. package/behaviors/registry/molecules/std-messaging.orb +146 -99
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  104. package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  107. package/behaviors/registry/molecules/std-quiz.orb +322 -263
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  115. package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  117. package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  118. package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  119. package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  120. package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  121. package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  122. package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  123. package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  124. package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  125. package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  126. package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  127. package/behaviors/registry/organisms/std-cms.orb +1549 -566
  128. package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  129. package/behaviors/registry/organisms/std-crm.orb +1997 -1014
  130. package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  131. package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  132. package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  133. package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  134. package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  135. package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  136. package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  137. package/behaviors/registry/organisms/std-lms.orb +1629 -1046
  138. package/behaviors/registry/organisms/std-logic-training.orb +321 -134
  139. package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  140. package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  141. package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  142. package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  143. package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  144. package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  145. package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  146. package/behaviors/registry/organisms/std-social-feed.orb +612 -252
  147. package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  148. package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  149. package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  150. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  151. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  152. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  153. package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  154. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  155. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  156. package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  157. package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  158. package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
  159. package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
  160. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  161. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  162. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  163. package/dist/behaviors/registry/atoms/std-async.orb +147 -86
  164. package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  165. package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
  166. package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  167. package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
  168. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  169. package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
  170. package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
  171. package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
  172. package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
  173. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  174. package/dist/behaviors/registry/atoms/std-display.orb +491 -587
  175. package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
  176. package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
  177. package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
  178. package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
  179. package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
  180. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  181. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  182. package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
  183. package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
  184. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  185. package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
  186. package/dist/behaviors/registry/atoms/std-input.orb +128 -393
  187. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  188. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  189. package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
  190. package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
  191. package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
  192. package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
  193. package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
  194. package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
  195. package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
  196. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  197. package/dist/behaviors/registry/atoms/std-push.orb +172 -36
  198. package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
  199. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  200. package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
  201. package/dist/behaviors/registry/atoms/std-related.orb +202 -26
  202. package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
  203. package/dist/behaviors/registry/atoms/std-score.orb +210 -146
  204. package/dist/behaviors/registry/atoms/std-search.orb +265 -138
  205. package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
  206. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  207. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  208. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  209. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  210. package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
  211. package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
  212. package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
  213. package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  214. package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
  215. package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
  216. package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  217. package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  218. package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  219. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  220. package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
  221. package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
  222. package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
  223. package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
  224. package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
  225. package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
  226. package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
  227. package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
  228. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  229. package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
  230. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  231. package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  232. package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  233. package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  234. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  235. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  236. package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
  237. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  238. package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
  239. package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  240. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  241. package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  242. package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  246. package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  247. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  248. package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
  249. package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
  250. package/dist/behaviors/registry/molecules/std-list.orb +280 -205
  251. package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
  252. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  253. package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  254. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  255. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  256. package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
  257. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  258. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  259. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  260. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  261. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  262. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  263. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  264. package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  265. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  266. package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  267. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  268. package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  269. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  270. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  271. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  272. package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  273. package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  274. package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  275. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  276. package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
  277. package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  278. package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
  279. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  280. package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  281. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  282. package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  283. package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  284. package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  285. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  286. package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
  287. package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
  288. package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  289. package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  290. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  291. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  292. package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  293. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  294. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  295. package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
  296. package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  297. package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  298. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  299. package/dist/index.js +16 -4
  300. package/dist/index.js.map +1 -1
  301. package/dist/modules/core.js +16 -4
  302. package/dist/modules/core.js.map +1 -1
  303. package/dist/modules/index.js +16 -4
  304. package/dist/modules/index.js.map +1 -1
  305. package/dist/registry.js +16 -4
  306. package/dist/registry.js.map +1 -1
  307. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-cache-aside",
3
3
  "version": "1.0.0",
4
- "description": "Cache management behavior: empty, cached, stale with fetch/invalidate cycle. Pure function: params in, OrbitalDefinition out.",
4
+ "description": "std-cache-aside as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "CacheEntryOrbital",
@@ -38,20 +38,68 @@
38
38
  {
39
39
  "name": "hitCount",
40
40
  "type": "number",
41
- "default": 0
41
+ "default": 0.0
42
42
  },
43
43
  {
44
44
  "name": "cacheAge",
45
45
  "type": "number",
46
- "default": 0
46
+ "default": 0.0
47
47
  }
48
48
  ]
49
49
  },
50
50
  "traits": [
51
51
  {
52
52
  "name": "CacheEntryCacheManager",
53
- "linkedEntity": "CacheEntry",
54
53
  "category": "interaction",
54
+ "linkedEntity": "CacheEntry",
55
+ "emits": [
56
+ {
57
+ "event": "CacheEntryLoaded",
58
+ "description": "Fired when CacheEntry finishes loading",
59
+ "scope": "internal",
60
+ "payload": [
61
+ {
62
+ "name": "id",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "name",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "name": "description",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "status",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "createdAt",
79
+ "type": "string"
80
+ },
81
+ {
82
+ "name": "hitCount",
83
+ "type": "number"
84
+ },
85
+ {
86
+ "name": "cacheAge",
87
+ "type": "number"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "event": "CacheEntryLoadFailed",
93
+ "description": "Fired when CacheEntry fails to load",
94
+ "scope": "internal",
95
+ "payload": [
96
+ {
97
+ "name": "message",
98
+ "type": "string"
99
+ }
100
+ ]
101
+ }
102
+ ],
55
103
  "stateMachine": {
56
104
  "states": [
57
105
  {
@@ -92,6 +140,20 @@
92
140
  {
93
141
  "key": "REFRESH",
94
142
  "name": "Refresh"
143
+ },
144
+ {
145
+ "key": "CacheEntryLoaded",
146
+ "name": "CacheEntry loaded"
147
+ },
148
+ {
149
+ "key": "CacheEntryLoadFailed",
150
+ "name": "CacheEntry load failed",
151
+ "payload": [
152
+ {
153
+ "name": "message",
154
+ "type": "string"
155
+ }
156
+ ]
95
157
  }
96
158
  ],
97
159
  "transitions": [
@@ -102,72 +164,78 @@
102
164
  "effects": [
103
165
  [
104
166
  "fetch",
105
- "CacheEntry"
167
+ "CacheEntry",
168
+ {
169
+ "emit": {
170
+ "failure": "CacheEntryLoadFailed",
171
+ "success": "CacheEntryLoaded"
172
+ }
173
+ }
106
174
  ],
107
175
  [
108
176
  "render-ui",
109
177
  "main",
110
178
  {
111
179
  "type": "stack",
112
- "direction": "vertical",
113
180
  "gap": "lg",
114
181
  "children": [
115
182
  {
116
- "type": "stack",
117
- "direction": "horizontal",
118
- "gap": "md",
119
- "justify": "space-between",
120
183
  "children": [
121
184
  {
122
185
  "type": "stack",
123
- "direction": "horizontal",
124
- "gap": "md",
125
186
  "justify": "space-between",
126
187
  "children": [
127
188
  {
128
- "type": "stack",
129
- "direction": "horizontal",
130
189
  "gap": "md",
131
190
  "children": [
132
191
  {
133
- "type": "icon",
192
+ "size": "lg",
134
193
  "name": "database",
135
- "size": "lg"
194
+ "type": "icon"
136
195
  },
137
196
  {
197
+ "variant": "h2",
138
198
  "type": "typography",
139
- "content": "CacheEntrys Cache",
140
- "variant": "h2"
199
+ "content": "CacheEntrys Cache"
141
200
  }
142
- ]
201
+ ],
202
+ "direction": "horizontal",
203
+ "type": "stack"
143
204
  },
144
205
  {
145
206
  "type": "button",
146
207
  "label": "Fetch",
147
- "event": "FETCH",
148
208
  "variant": "primary",
149
- "icon": "download"
209
+ "icon": "download",
210
+ "event": "FETCH"
150
211
  }
151
- ]
212
+ ],
213
+ "gap": "md",
214
+ "direction": "horizontal"
152
215
  },
153
216
  {
154
217
  "type": "status-dot",
155
- "status": "inactive",
156
218
  "pulse": false,
157
- "label": "Empty"
219
+ "label": "Empty",
220
+ "status": "inactive"
158
221
  }
159
- ]
222
+ ],
223
+ "direction": "horizontal",
224
+ "gap": "md",
225
+ "type": "stack",
226
+ "justify": "space-between"
160
227
  },
161
228
  {
162
229
  "type": "divider"
163
230
  },
164
231
  {
165
- "type": "empty-state",
166
232
  "icon": "inbox",
233
+ "type": "empty-state",
167
234
  "title": "Cache is empty",
168
235
  "description": "Fetch data to populate the cache."
169
236
  }
170
- ]
237
+ ],
238
+ "direction": "vertical"
171
239
  }
172
240
  ]
173
241
  ]
@@ -179,44 +247,42 @@
179
247
  "effects": [
180
248
  [
181
249
  "fetch",
182
- "CacheEntry"
250
+ "CacheEntry",
251
+ {
252
+ "emit": {
253
+ "failure": "CacheEntryLoadFailed",
254
+ "success": "CacheEntryLoaded"
255
+ }
256
+ }
183
257
  ],
184
258
  [
185
259
  "render-ui",
186
260
  "main",
187
261
  {
188
- "type": "stack",
189
262
  "direction": "vertical",
190
263
  "gap": "lg",
191
264
  "children": [
192
265
  {
193
- "type": "stack",
194
- "direction": "horizontal",
195
- "gap": "md",
196
- "justify": "space-between",
197
266
  "children": [
198
267
  {
199
- "type": "stack",
200
268
  "direction": "horizontal",
201
- "gap": "md",
202
269
  "children": [
203
270
  {
271
+ "size": "lg",
204
272
  "type": "icon",
205
- "name": "database",
206
- "size": "lg"
273
+ "name": "database"
207
274
  },
208
275
  {
209
276
  "type": "typography",
210
277
  "content": "CacheEntrys Cache",
211
278
  "variant": "h2"
212
279
  }
213
- ]
280
+ ],
281
+ "type": "stack",
282
+ "gap": "md"
214
283
  },
215
284
  {
216
- "type": "stack",
217
285
  "direction": "horizontal",
218
- "gap": "sm",
219
- "align": "center",
220
286
  "children": [
221
287
  {
222
288
  "type": "status-dot",
@@ -225,26 +291,31 @@
225
291
  "label": "Cached"
226
292
  },
227
293
  {
228
- "type": "button",
294
+ "variant": "ghost",
229
295
  "label": "Invalidate",
296
+ "type": "button",
230
297
  "event": "INVALIDATE",
231
- "variant": "ghost",
232
298
  "icon": "trash"
233
299
  }
234
- ]
300
+ ],
301
+ "align": "center",
302
+ "type": "stack",
303
+ "gap": "sm"
235
304
  }
236
- ]
305
+ ],
306
+ "type": "stack",
307
+ "gap": "md",
308
+ "direction": "horizontal",
309
+ "justify": "space-between"
237
310
  },
238
311
  {
239
312
  "type": "divider"
240
313
  },
241
314
  {
315
+ "columns": 2.0,
242
316
  "type": "simple-grid",
243
- "columns": 2,
244
317
  "children": [
245
318
  {
246
- "type": "stat-display",
247
- "label": "Hit Count",
248
319
  "value": [
249
320
  "object/get",
250
321
  [
@@ -252,11 +323,13 @@
252
323
  "@entity"
253
324
  ],
254
325
  "hitCount"
255
- ]
326
+ ],
327
+ "type": "stat-display",
328
+ "label": "Hit Count"
256
329
  },
257
330
  {
258
- "type": "stat-display",
259
331
  "label": "Cache Age",
332
+ "type": "stat-display",
260
333
  "value": [
261
334
  "object/get",
262
335
  [
@@ -270,58 +343,59 @@
270
343
  },
271
344
  {
272
345
  "type": "data-grid",
273
- "entity": "CacheEntry",
274
346
  "emptyIcon": "inbox",
275
347
  "emptyTitle": "Cache is empty",
276
348
  "emptyDescription": "Fetch data to populate the cache.",
349
+ "entity": "CacheEntry",
277
350
  "renderItem": [
278
351
  "fn",
279
352
  "item",
280
353
  {
281
- "type": "stack",
282
- "direction": "vertical",
283
354
  "gap": "sm",
355
+ "direction": "vertical",
284
356
  "children": [
285
357
  {
286
- "type": "stack",
287
358
  "direction": "horizontal",
288
- "justify": "space-between",
289
- "align": "center",
359
+ "type": "stack",
290
360
  "children": [
291
361
  {
292
- "type": "stack",
293
362
  "direction": "horizontal",
294
363
  "gap": "sm",
295
- "align": "center",
364
+ "type": "stack",
296
365
  "children": [
297
366
  {
298
367
  "type": "icon",
299
- "name": "database",
300
- "size": "sm"
368
+ "size": "sm",
369
+ "name": "database"
301
370
  },
302
371
  {
303
372
  "type": "typography",
304
373
  "variant": "h4",
305
374
  "content": "@item.name"
306
375
  }
307
- ]
376
+ ],
377
+ "align": "center"
308
378
  },
309
379
  {
310
380
  "type": "badge",
311
381
  "label": "@item.description"
312
382
  }
313
- ]
383
+ ],
384
+ "justify": "space-between",
385
+ "align": "center"
314
386
  },
315
387
  {
316
- "type": "typography",
317
388
  "variant": "caption",
389
+ "type": "typography",
318
390
  "content": "@item.status"
319
391
  }
320
- ]
392
+ ],
393
+ "type": "stack"
321
394
  }
322
395
  ]
323
396
  }
324
- ]
397
+ ],
398
+ "type": "stack"
325
399
  }
326
400
  ]
327
401
  ]
@@ -333,68 +407,73 @@
333
407
  "effects": [
334
408
  [
335
409
  "fetch",
336
- "CacheEntry"
410
+ "CacheEntry",
411
+ {
412
+ "emit": {
413
+ "success": "CacheEntryLoaded",
414
+ "failure": "CacheEntryLoadFailed"
415
+ }
416
+ }
337
417
  ],
338
418
  [
339
419
  "render-ui",
340
420
  "main",
341
421
  {
342
- "type": "stack",
343
422
  "direction": "vertical",
344
423
  "gap": "lg",
424
+ "type": "stack",
345
425
  "children": [
346
426
  {
347
427
  "type": "stack",
348
- "direction": "horizontal",
349
- "gap": "md",
350
- "justify": "space-between",
351
428
  "children": [
352
429
  {
353
430
  "type": "stack",
354
- "direction": "horizontal",
355
431
  "gap": "md",
432
+ "direction": "horizontal",
356
433
  "children": [
357
434
  {
435
+ "size": "lg",
358
436
  "type": "icon",
359
- "name": "database",
360
- "size": "lg"
437
+ "name": "database"
361
438
  },
362
439
  {
363
- "type": "typography",
364
440
  "content": "CacheEntrys Cache",
441
+ "type": "typography",
365
442
  "variant": "h2"
366
443
  }
367
444
  ]
368
445
  },
369
446
  {
370
447
  "type": "stack",
371
- "direction": "horizontal",
372
448
  "gap": "sm",
373
- "align": "center",
374
449
  "children": [
375
450
  {
451
+ "label": "Cached",
376
452
  "type": "status-dot",
377
453
  "status": "success",
378
- "pulse": false,
379
- "label": "Cached"
454
+ "pulse": false
380
455
  },
381
456
  {
457
+ "variant": "ghost",
382
458
  "type": "button",
383
- "label": "Invalidate",
384
459
  "event": "INVALIDATE",
385
- "variant": "ghost",
460
+ "label": "Invalidate",
386
461
  "icon": "trash"
387
462
  }
388
- ]
463
+ ],
464
+ "direction": "horizontal",
465
+ "align": "center"
389
466
  }
390
- ]
467
+ ],
468
+ "direction": "horizontal",
469
+ "gap": "md",
470
+ "justify": "space-between"
391
471
  },
392
472
  {
393
473
  "type": "divider"
394
474
  },
395
475
  {
396
- "type": "simple-grid",
397
- "columns": 2,
476
+ "columns": 2.0,
398
477
  "children": [
399
478
  {
400
479
  "type": "stat-display",
@@ -420,11 +499,10 @@
420
499
  "cacheAge"
421
500
  ]
422
501
  }
423
- ]
502
+ ],
503
+ "type": "simple-grid"
424
504
  },
425
505
  {
426
- "type": "data-grid",
427
- "entity": "CacheEntry",
428
506
  "emptyIcon": "inbox",
429
507
  "emptyTitle": "Cache is empty",
430
508
  "emptyDescription": "Fetch data to populate the cache.",
@@ -433,25 +511,20 @@
433
511
  "item",
434
512
  {
435
513
  "type": "stack",
436
- "direction": "vertical",
437
514
  "gap": "sm",
438
515
  "children": [
439
516
  {
440
- "type": "stack",
441
- "direction": "horizontal",
442
- "justify": "space-between",
443
- "align": "center",
444
517
  "children": [
445
518
  {
446
- "type": "stack",
447
519
  "direction": "horizontal",
448
520
  "gap": "sm",
521
+ "type": "stack",
449
522
  "align": "center",
450
523
  "children": [
451
524
  {
452
- "type": "icon",
525
+ "size": "sm",
453
526
  "name": "database",
454
- "size": "sm"
527
+ "type": "icon"
455
528
  },
456
529
  {
457
530
  "type": "typography",
@@ -464,16 +537,23 @@
464
537
  "type": "badge",
465
538
  "label": "@item.description"
466
539
  }
467
- ]
540
+ ],
541
+ "type": "stack",
542
+ "direction": "horizontal",
543
+ "justify": "space-between",
544
+ "align": "center"
468
545
  },
469
546
  {
470
547
  "type": "typography",
471
548
  "variant": "caption",
472
549
  "content": "@item.status"
473
550
  }
474
- ]
551
+ ],
552
+ "direction": "vertical"
475
553
  }
476
- ]
554
+ ],
555
+ "type": "data-grid",
556
+ "entity": "CacheEntry"
477
557
  }
478
558
  ]
479
559
  }
@@ -493,26 +573,27 @@
493
573
  ],
494
574
  [
495
575
  "fetch",
496
- "CacheEntry"
576
+ "CacheEntry",
577
+ {
578
+ "emit": {
579
+ "success": "CacheEntryLoaded",
580
+ "failure": "CacheEntryLoadFailed"
581
+ }
582
+ }
497
583
  ],
498
584
  [
499
585
  "render-ui",
500
586
  "main",
501
587
  {
502
588
  "type": "stack",
503
- "direction": "vertical",
504
589
  "gap": "lg",
590
+ "direction": "vertical",
505
591
  "children": [
506
592
  {
507
593
  "type": "stack",
508
- "direction": "horizontal",
509
594
  "gap": "md",
510
- "justify": "space-between",
511
595
  "children": [
512
596
  {
513
- "type": "stack",
514
- "direction": "horizontal",
515
- "gap": "md",
516
597
  "children": [
517
598
  {
518
599
  "type": "icon",
@@ -521,43 +602,46 @@
521
602
  },
522
603
  {
523
604
  "type": "typography",
524
- "content": "CacheEntrys Cache",
525
- "variant": "h2"
605
+ "variant": "h2",
606
+ "content": "CacheEntrys Cache"
526
607
  }
527
- ]
608
+ ],
609
+ "direction": "horizontal",
610
+ "type": "stack",
611
+ "gap": "md"
528
612
  },
529
613
  {
530
- "type": "stack",
531
614
  "direction": "horizontal",
532
615
  "gap": "sm",
533
616
  "align": "center",
617
+ "type": "stack",
534
618
  "children": [
535
619
  {
536
- "type": "status-dot",
537
620
  "status": "success",
538
621
  "pulse": false,
539
- "label": "Cached"
622
+ "label": "Cached",
623
+ "type": "status-dot"
540
624
  },
541
625
  {
542
- "type": "button",
543
- "label": "Invalidate",
544
626
  "event": "INVALIDATE",
545
627
  "variant": "ghost",
546
- "icon": "trash"
628
+ "icon": "trash",
629
+ "type": "button",
630
+ "label": "Invalidate"
547
631
  }
548
632
  ]
549
633
  }
550
- ]
634
+ ],
635
+ "justify": "space-between",
636
+ "direction": "horizontal"
551
637
  },
552
638
  {
553
639
  "type": "divider"
554
640
  },
555
641
  {
556
642
  "type": "simple-grid",
557
- "columns": 2,
558
643
  "children": [
559
644
  {
560
- "type": "stat-display",
561
645
  "label": "Hit Count",
562
646
  "value": [
563
647
  "object/get",
@@ -566,10 +650,10 @@
566
650
  "@entity"
567
651
  ],
568
652
  "hitCount"
569
- ]
653
+ ],
654
+ "type": "stat-display"
570
655
  },
571
656
  {
572
- "type": "stat-display",
573
657
  "label": "Cache Age",
574
658
  "value": [
575
659
  "object/get",
@@ -578,45 +662,45 @@
578
662
  "@entity"
579
663
  ],
580
664
  "cacheAge"
581
- ]
665
+ ],
666
+ "type": "stat-display"
582
667
  }
583
- ]
668
+ ],
669
+ "columns": 2.0
584
670
  },
585
671
  {
586
672
  "type": "data-grid",
587
673
  "entity": "CacheEntry",
588
- "emptyIcon": "inbox",
589
674
  "emptyTitle": "Cache is empty",
590
675
  "emptyDescription": "Fetch data to populate the cache.",
676
+ "emptyIcon": "inbox",
591
677
  "renderItem": [
592
678
  "fn",
593
679
  "item",
594
680
  {
595
681
  "type": "stack",
596
- "direction": "vertical",
597
682
  "gap": "sm",
683
+ "direction": "vertical",
598
684
  "children": [
599
685
  {
600
- "type": "stack",
601
- "direction": "horizontal",
602
686
  "justify": "space-between",
603
- "align": "center",
687
+ "direction": "horizontal",
604
688
  "children": [
605
689
  {
606
- "type": "stack",
607
- "direction": "horizontal",
608
690
  "gap": "sm",
691
+ "direction": "horizontal",
692
+ "type": "stack",
609
693
  "align": "center",
610
694
  "children": [
611
695
  {
612
696
  "type": "icon",
613
- "name": "database",
614
- "size": "sm"
697
+ "size": "sm",
698
+ "name": "database"
615
699
  },
616
700
  {
617
- "type": "typography",
618
701
  "variant": "h4",
619
- "content": "@item.name"
702
+ "content": "@item.name",
703
+ "type": "typography"
620
704
  }
621
705
  ]
622
706
  },
@@ -624,12 +708,14 @@
624
708
  "type": "badge",
625
709
  "label": "@item.description"
626
710
  }
627
- ]
711
+ ],
712
+ "align": "center",
713
+ "type": "stack"
628
714
  },
629
715
  {
630
- "type": "typography",
716
+ "content": "@item.status",
631
717
  "variant": "caption",
632
- "content": "@item.status"
718
+ "type": "typography"
633
719
  }
634
720
  ]
635
721
  }
@@ -649,20 +735,15 @@
649
735
  "render-ui",
650
736
  "main",
651
737
  {
652
- "type": "stack",
653
738
  "direction": "vertical",
654
- "gap": "lg",
655
739
  "children": [
656
740
  {
741
+ "gap": "md",
657
742
  "type": "stack",
658
743
  "direction": "horizontal",
659
- "gap": "md",
660
744
  "justify": "space-between",
661
745
  "children": [
662
746
  {
663
- "type": "stack",
664
- "direction": "horizontal",
665
- "gap": "md",
666
747
  "children": [
667
748
  {
668
749
  "type": "icon",
@@ -674,7 +755,10 @@
674
755
  "content": "CacheEntrys Cache",
675
756
  "variant": "h2"
676
757
  }
677
- ]
758
+ ],
759
+ "direction": "horizontal",
760
+ "gap": "md",
761
+ "type": "stack"
678
762
  },
679
763
  {
680
764
  "type": "stack",
@@ -683,17 +767,17 @@
683
767
  "align": "center",
684
768
  "children": [
685
769
  {
686
- "type": "status-dot",
687
770
  "status": "warning",
771
+ "type": "status-dot",
688
772
  "pulse": true,
689
773
  "label": "Stale"
690
774
  },
691
775
  {
776
+ "icon": "refresh-cw",
692
777
  "type": "button",
693
- "label": "Refresh",
694
778
  "event": "REFRESH",
695
779
  "variant": "primary",
696
- "icon": "refresh-cw"
780
+ "label": "Refresh"
697
781
  }
698
782
  ]
699
783
  }
@@ -703,64 +787,66 @@
703
787
  "type": "divider"
704
788
  },
705
789
  {
706
- "type": "alert",
790
+ "message": "Cache data is stale. Refresh to get the latest data.",
707
791
  "variant": "warning",
708
- "message": "Cache data is stale. Refresh to get the latest data."
792
+ "type": "alert"
709
793
  },
710
794
  {
711
795
  "type": "data-grid",
712
- "entity": "CacheEntry",
796
+ "emptyDescription": "Fetch data to populate the cache.",
713
797
  "emptyIcon": "inbox",
714
798
  "emptyTitle": "Cache is empty",
715
- "emptyDescription": "Fetch data to populate the cache.",
716
799
  "renderItem": [
717
800
  "fn",
718
801
  "item",
719
802
  {
803
+ "gap": "sm",
720
804
  "type": "stack",
721
805
  "direction": "vertical",
722
- "gap": "sm",
723
806
  "children": [
724
807
  {
725
808
  "type": "stack",
726
- "direction": "horizontal",
727
- "justify": "space-between",
728
- "align": "center",
729
809
  "children": [
730
810
  {
731
- "type": "stack",
732
- "direction": "horizontal",
733
- "gap": "sm",
734
811
  "align": "center",
735
812
  "children": [
736
813
  {
737
- "type": "icon",
738
814
  "name": "database",
739
- "size": "sm"
815
+ "size": "sm",
816
+ "type": "icon"
740
817
  },
741
818
  {
819
+ "content": "@item.name",
742
820
  "type": "typography",
743
- "variant": "h4",
744
- "content": "@item.name"
821
+ "variant": "h4"
745
822
  }
746
- ]
823
+ ],
824
+ "type": "stack",
825
+ "direction": "horizontal",
826
+ "gap": "sm"
747
827
  },
748
828
  {
749
- "type": "badge",
750
- "label": "@item.description"
829
+ "label": "@item.description",
830
+ "type": "badge"
751
831
  }
752
- ]
832
+ ],
833
+ "align": "center",
834
+ "direction": "horizontal",
835
+ "justify": "space-between"
753
836
  },
754
837
  {
755
- "type": "typography",
838
+ "content": "@item.status",
756
839
  "variant": "caption",
757
- "content": "@item.status"
840
+ "type": "typography"
758
841
  }
759
842
  ]
760
843
  }
761
- ]
844
+ ],
845
+ "entity": "CacheEntry"
762
846
  }
763
- ]
847
+ ],
848
+ "type": "stack",
849
+ "gap": "lg"
764
850
  }
765
851
  ]
766
852
  ]
@@ -772,59 +858,64 @@
772
858
  "effects": [
773
859
  [
774
860
  "fetch",
775
- "CacheEntry"
861
+ "CacheEntry",
862
+ {
863
+ "emit": {
864
+ "success": "CacheEntryLoaded",
865
+ "failure": "CacheEntryLoadFailed"
866
+ }
867
+ }
776
868
  ],
777
869
  [
778
870
  "render-ui",
779
871
  "main",
780
872
  {
781
- "type": "stack",
782
- "direction": "vertical",
783
873
  "gap": "lg",
874
+ "direction": "vertical",
784
875
  "children": [
785
876
  {
786
- "type": "stack",
787
- "direction": "horizontal",
788
- "gap": "md",
789
877
  "justify": "space-between",
878
+ "gap": "md",
879
+ "direction": "horizontal",
880
+ "type": "stack",
790
881
  "children": [
791
882
  {
792
- "type": "stack",
793
- "direction": "horizontal",
794
- "gap": "md",
795
883
  "children": [
796
884
  {
885
+ "size": "lg",
797
886
  "type": "icon",
798
- "name": "database",
799
- "size": "lg"
887
+ "name": "database"
800
888
  },
801
889
  {
802
- "type": "typography",
803
890
  "content": "CacheEntrys Cache",
804
- "variant": "h2"
891
+ "variant": "h2",
892
+ "type": "typography"
805
893
  }
806
- ]
894
+ ],
895
+ "type": "stack",
896
+ "gap": "md",
897
+ "direction": "horizontal"
807
898
  },
808
899
  {
809
- "type": "stack",
810
- "direction": "horizontal",
811
900
  "gap": "sm",
901
+ "type": "stack",
812
902
  "align": "center",
813
903
  "children": [
814
904
  {
815
- "type": "status-dot",
816
905
  "status": "success",
817
- "pulse": false,
818
- "label": "Cached"
906
+ "label": "Cached",
907
+ "type": "status-dot",
908
+ "pulse": false
819
909
  },
820
910
  {
821
911
  "type": "button",
822
- "label": "Invalidate",
823
- "event": "INVALIDATE",
824
912
  "variant": "ghost",
825
- "icon": "trash"
913
+ "icon": "trash",
914
+ "event": "INVALIDATE",
915
+ "label": "Invalidate"
826
916
  }
827
- ]
917
+ ],
918
+ "direction": "horizontal"
828
919
  }
829
920
  ]
830
921
  },
@@ -832,12 +923,12 @@
832
923
  "type": "divider"
833
924
  },
834
925
  {
926
+ "columns": 2.0,
835
927
  "type": "simple-grid",
836
- "columns": 2,
837
928
  "children": [
838
929
  {
839
- "type": "stat-display",
840
930
  "label": "Hit Count",
931
+ "type": "stat-display",
841
932
  "value": [
842
933
  "object/get",
843
934
  [
@@ -849,7 +940,6 @@
849
940
  },
850
941
  {
851
942
  "type": "stat-display",
852
- "label": "Cache Age",
853
943
  "value": [
854
944
  "object/get",
855
945
  [
@@ -857,35 +947,33 @@
857
947
  "@entity"
858
948
  ],
859
949
  "cacheAge"
860
- ]
950
+ ],
951
+ "label": "Cache Age"
861
952
  }
862
953
  ]
863
954
  },
864
955
  {
865
- "type": "data-grid",
866
- "entity": "CacheEntry",
867
- "emptyIcon": "inbox",
868
956
  "emptyTitle": "Cache is empty",
869
957
  "emptyDescription": "Fetch data to populate the cache.",
958
+ "type": "data-grid",
959
+ "entity": "CacheEntry",
870
960
  "renderItem": [
871
961
  "fn",
872
962
  "item",
873
963
  {
874
- "type": "stack",
875
- "direction": "vertical",
876
964
  "gap": "sm",
965
+ "direction": "vertical",
877
966
  "children": [
878
967
  {
879
- "type": "stack",
880
968
  "direction": "horizontal",
881
- "justify": "space-between",
882
969
  "align": "center",
970
+ "justify": "space-between",
883
971
  "children": [
884
972
  {
885
- "type": "stack",
886
- "direction": "horizontal",
887
- "gap": "sm",
888
973
  "align": "center",
974
+ "gap": "sm",
975
+ "direction": "horizontal",
976
+ "type": "stack",
889
977
  "children": [
890
978
  {
891
979
  "type": "icon",
@@ -893,28 +981,32 @@
893
981
  "size": "sm"
894
982
  },
895
983
  {
896
- "type": "typography",
897
984
  "variant": "h4",
985
+ "type": "typography",
898
986
  "content": "@item.name"
899
987
  }
900
988
  ]
901
989
  },
902
990
  {
903
- "type": "badge",
904
- "label": "@item.description"
991
+ "label": "@item.description",
992
+ "type": "badge"
905
993
  }
906
- ]
994
+ ],
995
+ "type": "stack"
907
996
  },
908
997
  {
998
+ "content": "@item.status",
909
999
  "type": "typography",
910
- "variant": "caption",
911
- "content": "@item.status"
1000
+ "variant": "caption"
912
1001
  }
913
- ]
1002
+ ],
1003
+ "type": "stack"
914
1004
  }
915
- ]
1005
+ ],
1006
+ "emptyIcon": "inbox"
916
1007
  }
917
- ]
1008
+ ],
1009
+ "type": "stack"
918
1010
  }
919
1011
  ]
920
1012
  ]
@@ -926,68 +1018,72 @@
926
1018
  "effects": [
927
1019
  [
928
1020
  "fetch",
929
- "CacheEntry"
1021
+ "CacheEntry",
1022
+ {
1023
+ "emit": {
1024
+ "failure": "CacheEntryLoadFailed",
1025
+ "success": "CacheEntryLoaded"
1026
+ }
1027
+ }
930
1028
  ],
931
1029
  [
932
1030
  "render-ui",
933
1031
  "main",
934
1032
  {
935
- "type": "stack",
936
- "direction": "vertical",
937
1033
  "gap": "lg",
938
1034
  "children": [
939
1035
  {
940
- "type": "stack",
941
- "direction": "horizontal",
942
1036
  "gap": "md",
943
- "justify": "space-between",
1037
+ "direction": "horizontal",
944
1038
  "children": [
945
1039
  {
946
- "type": "stack",
947
- "direction": "horizontal",
948
1040
  "gap": "md",
1041
+ "direction": "horizontal",
949
1042
  "children": [
950
1043
  {
951
- "type": "icon",
952
1044
  "name": "database",
953
- "size": "lg"
1045
+ "size": "lg",
1046
+ "type": "icon"
954
1047
  },
955
1048
  {
956
- "type": "typography",
957
1049
  "content": "CacheEntrys Cache",
958
- "variant": "h2"
1050
+ "variant": "h2",
1051
+ "type": "typography"
959
1052
  }
960
- ]
1053
+ ],
1054
+ "type": "stack"
961
1055
  },
962
1056
  {
963
- "type": "stack",
964
- "direction": "horizontal",
965
1057
  "gap": "sm",
966
- "align": "center",
1058
+ "direction": "horizontal",
967
1059
  "children": [
968
1060
  {
969
- "type": "status-dot",
1061
+ "label": "Cached",
970
1062
  "status": "success",
971
1063
  "pulse": false,
972
- "label": "Cached"
1064
+ "type": "status-dot"
973
1065
  },
974
1066
  {
975
- "type": "button",
976
- "label": "Invalidate",
977
- "event": "INVALIDATE",
978
1067
  "variant": "ghost",
979
- "icon": "trash"
1068
+ "icon": "trash",
1069
+ "event": "INVALIDATE",
1070
+ "type": "button",
1071
+ "label": "Invalidate"
980
1072
  }
981
- ]
1073
+ ],
1074
+ "type": "stack",
1075
+ "align": "center"
982
1076
  }
983
- ]
1077
+ ],
1078
+ "justify": "space-between",
1079
+ "type": "stack"
984
1080
  },
985
1081
  {
986
1082
  "type": "divider"
987
1083
  },
988
1084
  {
1085
+ "columns": 2.0,
989
1086
  "type": "simple-grid",
990
- "columns": 2,
991
1087
  "children": [
992
1088
  {
993
1089
  "type": "stat-display",
@@ -1017,64 +1113,67 @@
1017
1113
  },
1018
1114
  {
1019
1115
  "type": "data-grid",
1020
- "entity": "CacheEntry",
1021
- "emptyIcon": "inbox",
1022
1116
  "emptyTitle": "Cache is empty",
1023
- "emptyDescription": "Fetch data to populate the cache.",
1024
1117
  "renderItem": [
1025
1118
  "fn",
1026
1119
  "item",
1027
1120
  {
1028
- "type": "stack",
1029
- "direction": "vertical",
1030
1121
  "gap": "sm",
1122
+ "direction": "vertical",
1123
+ "type": "stack",
1031
1124
  "children": [
1032
1125
  {
1033
1126
  "type": "stack",
1034
- "direction": "horizontal",
1035
- "justify": "space-between",
1036
1127
  "align": "center",
1128
+ "justify": "space-between",
1037
1129
  "children": [
1038
1130
  {
1039
- "type": "stack",
1040
- "direction": "horizontal",
1041
- "gap": "sm",
1042
1131
  "align": "center",
1043
1132
  "children": [
1044
1133
  {
1045
- "type": "icon",
1046
1134
  "name": "database",
1047
- "size": "sm"
1135
+ "size": "sm",
1136
+ "type": "icon"
1048
1137
  },
1049
1138
  {
1050
1139
  "type": "typography",
1051
1140
  "variant": "h4",
1052
1141
  "content": "@item.name"
1053
1142
  }
1054
- ]
1143
+ ],
1144
+ "type": "stack",
1145
+ "direction": "horizontal",
1146
+ "gap": "sm"
1055
1147
  },
1056
1148
  {
1057
1149
  "type": "badge",
1058
1150
  "label": "@item.description"
1059
1151
  }
1060
- ]
1152
+ ],
1153
+ "direction": "horizontal"
1061
1154
  },
1062
1155
  {
1156
+ "content": "@item.status",
1063
1157
  "type": "typography",
1064
- "variant": "caption",
1065
- "content": "@item.status"
1158
+ "variant": "caption"
1066
1159
  }
1067
1160
  ]
1068
1161
  }
1069
- ]
1162
+ ],
1163
+ "emptyIcon": "inbox",
1164
+ "entity": "CacheEntry",
1165
+ "emptyDescription": "Fetch data to populate the cache."
1070
1166
  }
1071
- ]
1167
+ ],
1168
+ "direction": "vertical",
1169
+ "type": "stack"
1072
1170
  }
1073
1171
  ]
1074
1172
  ]
1075
1173
  }
1076
1174
  ]
1077
- }
1175
+ },
1176
+ "scope": "collection"
1078
1177
  }
1079
1178
  ],
1080
1179
  "pages": [
@@ -1090,4 +1189,4 @@
1090
1189
  ]
1091
1190
  }
1092
1191
  ]
1093
- }
1192
+ }