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