@almadar/std 8.2.0 → 8.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  27. package/behaviors/registry/app/organisms/std-cms.orb +432 -432
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  29. package/behaviors/registry/app/organisms/std-crm.orb +813 -813
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  37. package/behaviors/registry/app/organisms/std-lms.orb +858 -858
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  42. package/behaviors/registry/core/atoms/std-browse.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  44. package/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +413 -413
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +50 -50
  50. package/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  51. package/behaviors/registry/core/atoms/std-modal.orb +13 -31
  52. package/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  53. package/behaviors/registry/core/atoms/std-push.orb +47 -47
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  55. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  56. package/behaviors/registry/core/atoms/std-search.orb +75 -75
  57. package/behaviors/registry/core/atoms/std-selection.orb +91 -91
  58. package/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  59. package/behaviors/registry/core/molecules/std-cart.orb +49 -49
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  62. package/behaviors/registry/core/molecules/std-list.orb +58 -58
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  64. package/behaviors/registry/game/atoms/std-collision.orb +132 -132
  65. package/behaviors/registry/game/atoms/std-combat.orb +59 -59
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  69. package/behaviors/registry/game/atoms/std-movement.orb +287 -287
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +266 -275
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  83. package/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  84. package/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +432 -432
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +813 -813
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +858 -858
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +64 -64
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +413 -413
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +50 -50
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +13 -31
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +47 -47
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +75 -75
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +91 -91
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +49 -49
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +58 -58
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +132 -132
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +59 -59
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +287 -287
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -275
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  187. package/package.json +1 -1
@@ -136,21 +136,21 @@
136
136
  "main",
137
137
  {
138
138
  "gap": "lg",
139
- "type": "stack",
140
139
  "direction": "vertical",
141
- "className": "max-w-5xl mx-auto w-full py-12",
142
140
  "children": [
143
141
  {
144
142
  "type": "spinner"
145
143
  },
146
144
  {
147
- "type": "typography",
145
+ "content": "Loading BrowseItems…",
148
146
  "color": "muted",
149
- "variant": "caption",
150
- "content": "Loading BrowseItems…"
147
+ "type": "typography",
148
+ "variant": "caption"
151
149
  }
152
150
  ],
153
- "align": "center"
151
+ "type": "stack",
152
+ "align": "center",
153
+ "className": "max-w-5xl mx-auto w-full py-12"
154
154
  }
155
155
  ]
156
156
  ]
@@ -166,80 +166,80 @@
166
166
  {
167
167
  "gap": "lg",
168
168
  "type": "stack",
169
- "direction": "vertical",
169
+ "className": "max-w-5xl mx-auto w-full",
170
170
  "children": [
171
171
  {
172
+ "justify": "between",
173
+ "align": "center",
172
174
  "children": [
173
175
  {
174
176
  "type": "stack",
175
177
  "direction": "horizontal",
176
- "align": "center",
178
+ "gap": "sm",
177
179
  "children": [
178
180
  {
179
- "name": "list",
180
- "type": "icon"
181
+ "type": "icon",
182
+ "name": "list"
181
183
  },
182
184
  {
183
185
  "type": "typography",
184
- "variant": "h2",
185
- "content": "BrowseItems"
186
+ "content": "BrowseItems",
187
+ "variant": "h2"
186
188
  }
187
189
  ],
188
- "gap": "sm"
190
+ "align": "center"
189
191
  }
190
192
  ],
191
- "align": "center",
192
193
  "direction": "horizontal",
193
- "justify": "between",
194
- "gap": "md",
195
- "type": "stack"
194
+ "type": "stack",
195
+ "gap": "md"
196
196
  },
197
197
  {
198
198
  "type": "divider"
199
199
  },
200
200
  {
201
- "type": "data-grid",
202
- "entity": "@payload.data",
203
201
  "fields": [
204
202
  {
203
+ "icon": "list",
205
204
  "label": "Name",
206
- "variant": "h4",
207
205
  "name": "name",
208
- "icon": "list"
206
+ "variant": "h4"
209
207
  },
210
208
  {
211
- "name": "description",
212
- "label": "Description",
209
+ "variant": "badge",
213
210
  "colorMap": {
214
- "completed": "success",
215
211
  "draft": "warning",
212
+ "archived": "neutral",
213
+ "pending": "warning",
214
+ "completed": "success",
216
215
  "cancelled": "destructive",
216
+ "error": "destructive",
217
217
  "active": "success",
218
- "disabled": "neutral",
218
+ "done": "success",
219
219
  "inactive": "neutral",
220
- "failed": "destructive",
221
220
  "scheduled": "warning",
222
- "error": "destructive",
223
- "done": "success",
224
- "pending": "warning",
225
- "archived": "neutral"
221
+ "disabled": "neutral",
222
+ "failed": "destructive"
226
223
  },
227
- "variant": "badge"
224
+ "name": "description",
225
+ "label": "Description"
228
226
  },
229
227
  {
230
- "name": "status",
231
228
  "label": "Status",
229
+ "name": "status",
232
230
  "variant": "caption"
233
231
  }
234
- ]
232
+ ],
233
+ "type": "data-grid",
234
+ "entity": "@payload.data"
235
235
  },
236
236
  {
237
- "action": "INIT",
238
237
  "type": "floating-action-button",
238
+ "action": "INIT",
239
239
  "icon": "plus"
240
240
  }
241
241
  ],
242
- "className": "max-w-5xl mx-auto w-full"
242
+ "direction": "vertical"
243
243
  }
244
244
  ]
245
245
  ]
@@ -253,33 +253,33 @@
253
253
  "render-ui",
254
254
  "main",
255
255
  {
256
+ "direction": "vertical",
257
+ "gap": "md",
256
258
  "align": "center",
257
259
  "className": "max-w-5xl mx-auto w-full py-12",
258
- "gap": "md",
259
- "direction": "vertical",
260
260
  "children": [
261
261
  {
262
- "type": "icon",
263
262
  "color": "destructive",
263
+ "type": "icon",
264
264
  "name": "alert-triangle"
265
265
  },
266
266
  {
267
- "variant": "h3",
267
+ "type": "typography",
268
268
  "content": "Failed to load BrowseItems",
269
- "type": "typography"
269
+ "variant": "h3"
270
270
  },
271
271
  {
272
- "variant": "body",
273
- "type": "typography",
272
+ "content": "@payload.error",
274
273
  "color": "muted",
275
- "content": "@payload.error"
274
+ "variant": "body",
275
+ "type": "typography"
276
276
  },
277
277
  {
278
- "icon": "rotate-ccw",
279
278
  "type": "button",
280
279
  "action": "INIT",
281
- "label": "Retry",
282
- "variant": "primary"
280
+ "icon": "rotate-ccw",
281
+ "variant": "primary",
282
+ "label": "Retry"
283
283
  }
284
284
  ],
285
285
  "type": "stack"
@@ -297,8 +297,8 @@
297
297
  "BrowseItem",
298
298
  {
299
299
  "emit": {
300
- "failure": "BrowseItemLoadFailed",
301
- "success": "BrowseItemLoaded"
300
+ "success": "BrowseItemLoaded",
301
+ "failure": "BrowseItemLoadFailed"
302
302
  }
303
303
  }
304
304
  ],
@@ -306,22 +306,22 @@
306
306
  "render-ui",
307
307
  "main",
308
308
  {
309
- "type": "stack",
310
309
  "direction": "vertical",
311
- "className": "max-w-5xl mx-auto w-full py-12",
310
+ "type": "stack",
312
311
  "align": "center",
313
- "gap": "lg",
314
312
  "children": [
315
313
  {
316
314
  "type": "spinner"
317
315
  },
318
316
  {
317
+ "variant": "caption",
319
318
  "type": "typography",
320
319
  "color": "muted",
321
- "content": "Refreshing…",
322
- "variant": "caption"
320
+ "content": "Refreshing…"
323
321
  }
324
- ]
322
+ ],
323
+ "className": "max-w-5xl mx-auto w-full py-12",
324
+ "gap": "lg"
325
325
  }
326
326
  ]
327
327
  ]
@@ -345,22 +345,22 @@
345
345
  "render-ui",
346
346
  "main",
347
347
  {
348
+ "direction": "vertical",
349
+ "gap": "lg",
350
+ "type": "stack",
351
+ "align": "center",
352
+ "className": "max-w-5xl mx-auto w-full py-12",
348
353
  "children": [
349
354
  {
350
355
  "type": "spinner"
351
356
  },
352
357
  {
353
- "variant": "caption",
358
+ "type": "typography",
354
359
  "color": "muted",
355
- "content": "Retrying…",
356
- "type": "typography"
360
+ "variant": "caption",
361
+ "content": "Retrying…"
357
362
  }
358
- ],
359
- "type": "stack",
360
- "className": "max-w-5xl mx-auto w-full py-12",
361
- "align": "center",
362
- "direction": "vertical",
363
- "gap": "lg"
363
+ ]
364
364
  }
365
365
  ]
366
366
  ]
@@ -383,4 +383,4 @@
383
383
  ]
384
384
  }
385
385
  ]
386
- }
386
+ }
@@ -213,51 +213,51 @@
213
213
  "render-ui",
214
214
  "main",
215
215
  {
216
+ "gap": "lg",
217
+ "direction": "vertical",
218
+ "type": "stack",
216
219
  "children": [
217
220
  {
218
- "type": "stack",
219
221
  "direction": "horizontal",
220
- "justify": "between",
222
+ "type": "stack",
221
223
  "children": [
222
224
  {
225
+ "direction": "horizontal",
226
+ "gap": "md",
227
+ "type": "stack",
223
228
  "children": [
224
229
  {
225
- "name": "database",
226
- "type": "icon"
230
+ "type": "icon",
231
+ "name": "database"
227
232
  },
228
233
  {
229
- "variant": "h2",
234
+ "type": "typography",
230
235
  "content": "Cache (empty)",
231
- "type": "typography"
236
+ "variant": "h2"
232
237
  }
233
- ],
234
- "gap": "md",
235
- "type": "stack",
236
- "direction": "horizontal"
238
+ ]
237
239
  },
238
240
  {
239
- "type": "button",
240
- "label": "Fetch",
241
241
  "variant": "primary",
242
+ "type": "button",
242
243
  "icon": "download",
244
+ "label": "Fetch",
243
245
  "action": "FETCH"
244
246
  }
245
247
  ],
248
+ "justify": "between",
246
249
  "gap": "md"
247
250
  },
248
251
  {
249
252
  "type": "divider"
250
253
  },
251
254
  {
252
- "description": "Fetch data to populate the cache.",
253
255
  "type": "empty-state",
256
+ "icon": "inbox",
254
257
  "title": "Cache is empty",
255
- "icon": "inbox"
258
+ "description": "Fetch data to populate the cache."
256
259
  }
257
- ],
258
- "direction": "vertical",
259
- "type": "stack",
260
- "gap": "lg"
260
+ ]
261
261
  }
262
262
  ]
263
263
  ]
@@ -272,8 +272,8 @@
272
272
  "CacheEntry",
273
273
  {
274
274
  "emit": {
275
- "success": "CacheEntryLoaded",
276
- "failure": "CacheEntryLoadFailed"
275
+ "failure": "CacheEntryLoadFailed",
276
+ "success": "CacheEntryLoaded"
277
277
  }
278
278
  }
279
279
  ],
@@ -281,22 +281,22 @@
281
281
  "render-ui",
282
282
  "main",
283
283
  {
284
+ "direction": "vertical",
285
+ "type": "stack",
286
+ "align": "center",
284
287
  "children": [
285
288
  {
286
289
  "type": "spinner"
287
290
  },
288
291
  {
289
- "variant": "caption",
290
292
  "type": "typography",
291
293
  "color": "muted",
294
+ "variant": "caption",
292
295
  "content": "Fetching cache…"
293
296
  }
294
297
  ],
295
- "direction": "vertical",
296
- "align": "center",
297
- "gap": "md",
298
298
  "className": "py-12",
299
- "type": "stack"
299
+ "gap": "md"
300
300
  }
301
301
  ]
302
302
  ]
@@ -310,39 +310,42 @@
310
310
  "render-ui",
311
311
  "main",
312
312
  {
313
+ "gap": "lg",
313
314
  "children": [
314
315
  {
316
+ "type": "stack",
317
+ "gap": "md",
315
318
  "children": [
316
319
  {
317
- "gap": "md",
318
320
  "direction": "horizontal",
319
321
  "children": [
320
322
  {
321
- "type": "icon",
322
- "name": "database"
323
+ "name": "database",
324
+ "type": "icon"
323
325
  },
324
326
  {
327
+ "variant": "h2",
325
328
  "content": "Cache (hot)",
326
- "type": "typography",
327
- "variant": "h2"
329
+ "type": "typography"
328
330
  }
329
331
  ],
332
+ "gap": "md",
330
333
  "type": "stack"
331
334
  },
332
335
  {
333
336
  "children": [
334
337
  {
335
- "pulse": false,
336
- "type": "status-dot",
337
338
  "status": "online",
338
- "label": "Cached"
339
+ "type": "status-dot",
340
+ "label": "Cached",
341
+ "pulse": false
339
342
  },
340
343
  {
341
- "icon": "trash",
344
+ "type": "button",
342
345
  "label": "Invalidate",
343
- "action": "INVALIDATE",
344
346
  "variant": "ghost",
345
- "type": "button"
347
+ "action": "INVALIDATE",
348
+ "icon": "trash"
346
349
  }
347
350
  ],
348
351
  "direction": "horizontal",
@@ -351,32 +354,31 @@
351
354
  "align": "center"
352
355
  }
353
356
  ],
354
- "type": "stack",
355
357
  "direction": "horizontal",
356
- "justify": "between",
357
- "gap": "md"
358
+ "justify": "between"
358
359
  },
359
360
  {
360
361
  "type": "divider"
361
362
  },
362
363
  {
363
- "entity": "@payload.data",
364
364
  "fields": [],
365
+ "type": "data-grid",
365
366
  "renderItem": [
366
367
  "fn",
367
368
  "item",
368
369
  {
369
- "direction": "vertical",
370
- "gap": "sm",
371
370
  "type": "stack",
371
+ "direction": "vertical",
372
372
  "children": [
373
373
  {
374
- "type": "stack",
374
+ "align": "center",
375
375
  "direction": "horizontal",
376
376
  "justify": "between",
377
- "align": "center",
377
+ "type": "stack",
378
378
  "children": [
379
379
  {
380
+ "gap": "sm",
381
+ "type": "stack",
380
382
  "align": "center",
381
383
  "children": [
382
384
  {
@@ -385,13 +387,11 @@
385
387
  },
386
388
  {
387
389
  "type": "typography",
388
- "variant": "h4",
389
- "content": "@item.name"
390
+ "content": "@item.name",
391
+ "variant": "h4"
390
392
  }
391
393
  ],
392
- "direction": "horizontal",
393
- "type": "stack",
394
- "gap": "sm"
394
+ "direction": "horizontal"
395
395
  },
396
396
  {
397
397
  "type": "badge",
@@ -400,18 +400,18 @@
400
400
  ]
401
401
  },
402
402
  {
403
- "type": "typography",
403
+ "variant": "caption",
404
404
  "content": "@item.status",
405
- "variant": "caption"
405
+ "type": "typography"
406
406
  }
407
- ]
407
+ ],
408
+ "gap": "sm"
408
409
  }
409
410
  ],
410
- "type": "data-grid"
411
+ "entity": "@payload.data"
411
412
  }
412
413
  ],
413
414
  "type": "stack",
414
- "gap": "lg",
415
415
  "direction": "vertical"
416
416
  }
417
417
  ]
@@ -426,36 +426,36 @@
426
426
  "render-ui",
427
427
  "main",
428
428
  {
429
+ "gap": "md",
430
+ "direction": "vertical",
429
431
  "className": "py-12",
430
432
  "type": "stack",
431
433
  "children": [
432
434
  {
433
- "color": "destructive",
434
435
  "type": "icon",
435
- "name": "alert-triangle"
436
+ "name": "alert-triangle",
437
+ "color": "destructive"
436
438
  },
437
439
  {
440
+ "type": "typography",
438
441
  "content": "Failed to load",
439
- "variant": "h3",
440
- "type": "typography"
442
+ "variant": "h3"
441
443
  },
442
444
  {
443
- "type": "typography",
444
445
  "variant": "body",
446
+ "color": "muted",
445
447
  "content": "@payload.error",
446
- "color": "muted"
448
+ "type": "typography"
447
449
  },
448
450
  {
449
- "type": "button",
450
- "icon": "rotate-ccw",
451
- "action": "FETCH",
451
+ "label": "Retry",
452
452
  "variant": "primary",
453
- "label": "Retry"
453
+ "icon": "rotate-ccw",
454
+ "type": "button",
455
+ "action": "FETCH"
454
456
  }
455
457
  ],
456
- "direction": "vertical",
457
- "align": "center",
458
- "gap": "md"
458
+ "align": "center"
459
459
  }
460
460
  ]
461
461
  ]
@@ -469,17 +469,20 @@
469
469
  "render-ui",
470
470
  "main",
471
471
  {
472
+ "gap": "lg",
472
473
  "children": [
473
474
  {
475
+ "type": "stack",
474
476
  "direction": "horizontal",
475
- "justify": "between",
477
+ "gap": "md",
476
478
  "children": [
477
479
  {
478
- "gap": "md",
480
+ "type": "stack",
481
+ "direction": "horizontal",
479
482
  "children": [
480
483
  {
481
- "name": "database",
482
- "type": "icon"
484
+ "type": "icon",
485
+ "name": "database"
483
486
  },
484
487
  {
485
488
  "variant": "h2",
@@ -487,46 +490,43 @@
487
490
  "content": "Cache (stale)"
488
491
  }
489
492
  ],
490
- "type": "stack",
491
- "direction": "horizontal"
493
+ "gap": "md"
492
494
  },
493
495
  {
494
- "direction": "horizontal",
496
+ "align": "center",
495
497
  "type": "stack",
496
498
  "gap": "sm",
497
- "align": "center",
498
499
  "children": [
499
500
  {
500
- "pulse": true,
501
- "type": "status-dot",
501
+ "label": "Stale",
502
502
  "status": "warning",
503
- "label": "Stale"
503
+ "type": "status-dot",
504
+ "pulse": true
504
505
  },
505
506
  {
506
- "action": "REFRESH",
507
- "type": "button",
508
507
  "variant": "primary",
509
- "icon": "refresh-cw",
510
- "label": "Refresh"
508
+ "type": "button",
509
+ "label": "Refresh",
510
+ "action": "REFRESH",
511
+ "icon": "refresh-cw"
511
512
  }
512
- ]
513
+ ],
514
+ "direction": "horizontal"
513
515
  }
514
516
  ],
515
- "gap": "md",
516
- "type": "stack"
517
+ "justify": "between"
517
518
  },
518
519
  {
519
520
  "type": "divider"
520
521
  },
521
522
  {
522
523
  "variant": "warning",
523
- "message": "Cache data is stale. Refresh to get the latest data.",
524
- "type": "alert"
524
+ "type": "alert",
525
+ "message": "Cache data is stale. Refresh to get the latest data."
525
526
  }
526
527
  ],
527
- "gap": "lg",
528
- "type": "stack",
529
- "direction": "vertical"
528
+ "direction": "vertical",
529
+ "type": "stack"
530
530
  }
531
531
  ]
532
532
  ]
@@ -624,10 +624,10 @@
624
624
  "render-ui",
625
625
  "main",
626
626
  {
627
- "type": "empty-state",
628
627
  "icon": "inbox",
628
+ "description": "Fetch data to populate the cache.",
629
629
  "title": "Cache is empty",
630
- "description": "Fetch data to populate the cache."
630
+ "type": "empty-state"
631
631
  }
632
632
  ]
633
633
  ]
@@ -674,4 +674,4 @@
674
674
  ]
675
675
  }
676
676
  ]
677
- }
677
+ }