@almadar/std 8.5.1 → 9.0.0

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