@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
@@ -294,22 +294,22 @@
294
294
  "render-ui",
295
295
  "main",
296
296
  {
297
- "className": "py-12",
298
- "type": "stack",
299
- "gap": "md",
300
- "align": "center",
301
- "direction": "vertical",
302
297
  "children": [
303
298
  {
304
299
  "type": "spinner"
305
300
  },
306
301
  {
307
- "type": "typography",
308
- "color": "muted",
309
302
  "variant": "caption",
310
- "content": "Loading conversation…"
303
+ "type": "typography",
304
+ "content": "Loading conversation…",
305
+ "color": "muted"
311
306
  }
312
- ]
307
+ ],
308
+ "type": "stack",
309
+ "gap": "md",
310
+ "direction": "vertical",
311
+ "align": "center",
312
+ "className": "py-12"
313
313
  }
314
314
  ]
315
315
  ]
@@ -323,21 +323,16 @@
323
323
  "render-ui",
324
324
  "main",
325
325
  {
326
- "type": "stack",
327
326
  "direction": "vertical",
328
327
  "children": [
329
328
  {
330
329
  "direction": "horizontal",
331
- "type": "stack",
332
- "gap": "sm",
333
- "justify": "between",
334
- "align": "center",
335
330
  "children": [
336
331
  {
337
- "direction": "horizontal",
332
+ "gap": "sm",
338
333
  "type": "stack",
334
+ "direction": "horizontal",
339
335
  "align": "center",
340
- "gap": "sm",
341
336
  "children": [
342
337
  {
343
338
  "type": "icon",
@@ -345,68 +340,73 @@
345
340
  },
346
341
  {
347
342
  "type": "typography",
348
- "content": "Chat Thread",
349
- "variant": "h2"
343
+ "variant": "h2",
344
+ "content": "Chat Thread"
350
345
  }
351
346
  ]
352
347
  },
353
348
  {
354
349
  "type": "button",
355
- "icon": "plus",
356
- "action": "COMPOSE",
350
+ "label": "New Message",
357
351
  "variant": "primary",
358
- "label": "New Message"
352
+ "action": "COMPOSE",
353
+ "icon": "plus"
359
354
  }
360
- ]
355
+ ],
356
+ "gap": "sm",
357
+ "justify": "between",
358
+ "align": "center",
359
+ "type": "stack"
361
360
  },
362
361
  {
363
362
  "type": "divider"
364
363
  },
365
364
  {
366
- "fields": [],
365
+ "entity": "@payload.data",
367
366
  "renderItem": [
368
367
  "fn",
369
368
  "item",
370
369
  {
371
370
  "type": "stack",
372
- "direction": "vertical",
373
371
  "gap": "xs",
372
+ "direction": "vertical",
374
373
  "children": [
375
374
  {
376
375
  "gap": "sm",
377
- "type": "stack",
378
- "direction": "horizontal",
379
376
  "align": "center",
377
+ "direction": "horizontal",
378
+ "type": "stack",
380
379
  "children": [
381
380
  {
382
381
  "type": "badge",
383
382
  "label": "@item.role"
384
383
  },
385
384
  {
385
+ "label": "@item.status",
386
386
  "type": "badge",
387
- "variant": "secondary",
388
- "label": "@item.status"
387
+ "variant": "secondary"
389
388
  },
390
389
  {
391
- "type": "typography",
392
- "content": "@item.timestamp",
393
390
  "variant": "caption",
394
- "color": "muted"
391
+ "color": "muted",
392
+ "type": "typography",
393
+ "content": "@item.timestamp"
395
394
  }
396
395
  ]
397
396
  },
398
397
  {
398
+ "variant": "body",
399
399
  "content": "@item.content",
400
- "type": "typography",
401
- "variant": "body"
400
+ "type": "typography"
402
401
  }
403
402
  ]
404
403
  }
405
404
  ],
406
405
  "type": "data-list",
407
- "entity": "@payload.data"
406
+ "fields": []
408
407
  }
409
408
  ],
409
+ "type": "stack",
410
410
  "gap": "lg"
411
411
  }
412
412
  ]
@@ -421,36 +421,36 @@
421
421
  "render-ui",
422
422
  "main",
423
423
  {
424
- "direction": "vertical",
425
- "align": "center",
426
424
  "className": "py-12",
427
425
  "children": [
428
426
  {
429
- "color": "destructive",
427
+ "name": "alert-triangle",
430
428
  "type": "icon",
431
- "name": "alert-triangle"
429
+ "color": "destructive"
432
430
  },
433
431
  {
434
- "variant": "h3",
435
432
  "content": "Failed to load conversation",
433
+ "variant": "h3",
436
434
  "type": "typography"
437
435
  },
438
436
  {
439
437
  "type": "typography",
440
- "variant": "body",
438
+ "content": "@payload.error",
441
439
  "color": "muted",
442
- "content": "@payload.error"
440
+ "variant": "body"
443
441
  },
444
442
  {
445
- "variant": "primary",
446
- "icon": "rotate-ccw",
447
443
  "type": "button",
448
444
  "label": "Retry",
449
- "action": "INIT"
445
+ "action": "INIT",
446
+ "variant": "primary",
447
+ "icon": "rotate-ccw"
450
448
  }
451
449
  ],
452
- "type": "stack",
453
- "gap": "md"
450
+ "gap": "md",
451
+ "direction": "vertical",
452
+ "align": "center",
453
+ "type": "stack"
454
454
  }
455
455
  ]
456
456
  ]
@@ -464,49 +464,49 @@
464
464
  "render-ui",
465
465
  "main",
466
466
  {
467
+ "type": "stack",
467
468
  "direction": "vertical",
469
+ "gap": "lg",
468
470
  "children": [
469
471
  {
472
+ "gap": "sm",
470
473
  "align": "center",
474
+ "direction": "horizontal",
471
475
  "children": [
472
476
  {
473
- "direction": "horizontal",
474
- "align": "center",
475
- "gap": "sm",
476
477
  "type": "stack",
477
478
  "children": [
478
479
  {
479
- "name": "message-circle",
480
- "type": "icon"
480
+ "type": "icon",
481
+ "name": "message-circle"
481
482
  },
482
483
  {
483
- "content": "Chat Thread",
484
484
  "type": "typography",
485
+ "content": "Chat Thread",
485
486
  "variant": "h2"
486
487
  }
487
- ]
488
+ ],
489
+ "direction": "horizontal",
490
+ "gap": "sm",
491
+ "align": "center"
488
492
  }
489
493
  ],
490
494
  "justify": "between",
491
- "type": "stack",
492
- "gap": "sm",
493
- "direction": "horizontal"
495
+ "type": "stack"
494
496
  },
495
497
  {
496
498
  "type": "divider"
497
499
  },
498
500
  {
499
- "type": "form-section",
500
- "cancelEvent": "CANCEL_COMPOSE",
501
501
  "mode": "create",
502
502
  "submitEvent": "SEND",
503
+ "type": "form-section",
504
+ "cancelEvent": "CANCEL_COMPOSE",
503
505
  "fields": [
504
506
  "content"
505
507
  ]
506
508
  }
507
- ],
508
- "gap": "lg",
509
- "type": "stack"
509
+ ]
510
510
  }
511
511
  ]
512
512
  ]
@@ -522,8 +522,8 @@
522
522
  "AgentChatThread",
523
523
  {
524
524
  "emit": {
525
- "failure": "AgentChatThreadDeleteFailed",
526
- "success": "AgentChatThreadDeleted"
525
+ "success": "AgentChatThreadDeleted",
526
+ "failure": "AgentChatThreadDeleteFailed"
527
527
  }
528
528
  }
529
529
  ],
@@ -531,22 +531,22 @@
531
531
  "render-ui",
532
532
  "main",
533
533
  {
534
- "align": "center",
534
+ "gap": "md",
535
535
  "direction": "vertical",
536
536
  "className": "py-12",
537
- "gap": "md",
538
- "type": "stack",
537
+ "align": "center",
539
538
  "children": [
540
539
  {
541
540
  "type": "spinner"
542
541
  },
543
542
  {
544
- "type": "typography",
545
543
  "variant": "caption",
546
544
  "content": "Clearing conversation…",
545
+ "type": "typography",
547
546
  "color": "muted"
548
547
  }
549
- ]
548
+ ],
549
+ "type": "stack"
550
550
  }
551
551
  ]
552
552
  ]
@@ -561,15 +561,15 @@
561
561
  "create",
562
562
  "AgentChatThread",
563
563
  {
564
- "status": "sent",
565
564
  "timestamp": "@now",
566
565
  "role": "user",
567
- "content": "@payload.content"
566
+ "content": "@payload.content",
567
+ "status": "sent"
568
568
  },
569
569
  {
570
570
  "emit": {
571
- "failure": "AgentChatThreadSaveFailed",
572
- "success": "AgentChatThreadSaved"
571
+ "success": "AgentChatThreadSaved",
572
+ "failure": "AgentChatThreadSaveFailed"
573
573
  }
574
574
  }
575
575
  ],
@@ -577,22 +577,22 @@
577
577
  "render-ui",
578
578
  "main",
579
579
  {
580
- "align": "center",
581
580
  "className": "py-12",
581
+ "type": "stack",
582
+ "direction": "vertical",
583
+ "gap": "md",
584
+ "align": "center",
582
585
  "children": [
583
586
  {
584
587
  "type": "spinner"
585
588
  },
586
589
  {
587
- "variant": "caption",
588
590
  "color": "muted",
589
591
  "type": "typography",
590
- "content": "Sending…"
592
+ "content": "Sending…",
593
+ "variant": "caption"
591
594
  }
592
- ],
593
- "gap": "md",
594
- "type": "stack",
595
- "direction": "vertical"
595
+ ]
596
596
  }
597
597
  ]
598
598
  ]
@@ -607,8 +607,8 @@
607
607
  "AgentChatThread",
608
608
  {
609
609
  "emit": {
610
- "success": "AgentChatThreadLoaded",
611
- "failure": "AgentChatThreadLoadFailed"
610
+ "failure": "AgentChatThreadLoadFailed",
611
+ "success": "AgentChatThreadLoaded"
612
612
  }
613
613
  }
614
614
  ],
@@ -654,36 +654,36 @@
654
654
  "render-ui",
655
655
  "main",
656
656
  {
657
+ "type": "stack",
658
+ "gap": "md",
659
+ "align": "center",
657
660
  "children": [
658
661
  {
662
+ "type": "icon",
659
663
  "name": "alert-triangle",
660
- "color": "destructive",
661
- "type": "icon"
664
+ "color": "destructive"
662
665
  },
663
666
  {
664
- "type": "typography",
665
667
  "variant": "h3",
668
+ "type": "typography",
666
669
  "content": "Failed to send message"
667
670
  },
668
671
  {
669
- "variant": "body",
670
672
  "color": "muted",
671
673
  "content": "@payload.error",
674
+ "variant": "body",
672
675
  "type": "typography"
673
676
  },
674
677
  {
675
- "type": "button",
676
- "label": "Retry",
677
678
  "icon": "rotate-ccw",
678
- "variant": "primary",
679
- "action": "INIT"
679
+ "label": "Retry",
680
+ "type": "button",
681
+ "action": "INIT",
682
+ "variant": "primary"
680
683
  }
681
684
  ],
682
- "align": "center",
683
- "className": "py-12",
684
- "type": "stack",
685
- "gap": "md",
686
- "direction": "vertical"
685
+ "direction": "vertical",
686
+ "className": "py-12"
687
687
  }
688
688
  ]
689
689
  ]
@@ -722,7 +722,6 @@
722
722
  "main",
723
723
  {
724
724
  "gap": "md",
725
- "align": "center",
726
725
  "children": [
727
726
  {
728
727
  "name": "alert-triangle",
@@ -730,27 +729,28 @@
730
729
  "type": "icon"
731
730
  },
732
731
  {
732
+ "content": "Failed to clear conversation",
733
733
  "type": "typography",
734
- "variant": "h3",
735
- "content": "Failed to clear conversation"
734
+ "variant": "h3"
736
735
  },
737
736
  {
738
737
  "color": "muted",
739
- "content": "@payload.error",
740
738
  "variant": "body",
739
+ "content": "@payload.error",
741
740
  "type": "typography"
742
741
  },
743
742
  {
743
+ "type": "button",
744
744
  "action": "INIT",
745
- "label": "Retry",
746
745
  "variant": "primary",
747
- "type": "button",
746
+ "label": "Retry",
748
747
  "icon": "rotate-ccw"
749
748
  }
750
749
  ],
751
750
  "direction": "vertical",
752
- "className": "py-12",
753
- "type": "stack"
751
+ "type": "stack",
752
+ "align": "center",
753
+ "className": "py-12"
754
754
  }
755
755
  ]
756
756
  ]
@@ -797,4 +797,4 @@
797
797
  ]
798
798
  }
799
799
  ]
800
- }
800
+ }