@almadar/std 13.6.0 → 13.8.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 (174) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/dist/index.d.ts +2 -2
  140. package/dist/index.js +26 -13
  141. package/dist/index.js.map +1 -1
  142. package/dist/modules/agent.d.ts +1 -1
  143. package/dist/modules/array.d.ts +1 -1
  144. package/dist/modules/array.js +16 -8
  145. package/dist/modules/array.js.map +1 -1
  146. package/dist/modules/async.d.ts +1 -1
  147. package/dist/modules/composition.d.ts +1 -1
  148. package/dist/modules/contract.d.ts +1 -1
  149. package/dist/modules/core.d.ts +1 -1
  150. package/dist/modules/core.js +6 -3
  151. package/dist/modules/core.js.map +1 -1
  152. package/dist/modules/data.d.ts +1 -1
  153. package/dist/modules/format.d.ts +1 -1
  154. package/dist/modules/graph.d.ts +1 -1
  155. package/dist/modules/index.d.ts +1 -1
  156. package/dist/modules/index.js +26 -13
  157. package/dist/modules/index.js.map +1 -1
  158. package/dist/modules/math.d.ts +1 -1
  159. package/dist/modules/nn.d.ts +1 -1
  160. package/dist/modules/object.d.ts +1 -1
  161. package/dist/modules/object.js +4 -2
  162. package/dist/modules/object.js.map +1 -1
  163. package/dist/modules/os.d.ts +1 -1
  164. package/dist/modules/prob.d.ts +1 -1
  165. package/dist/modules/str.d.ts +1 -1
  166. package/dist/modules/tensor.d.ts +1 -1
  167. package/dist/modules/time.d.ts +1 -1
  168. package/dist/modules/train.d.ts +1 -1
  169. package/dist/modules/validate.d.ts +1 -1
  170. package/dist/registry.d.ts +1 -1
  171. package/dist/registry.js +26 -13
  172. package/dist/registry.js.map +1 -1
  173. package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
  174. package/package.json +1 -1
@@ -294,20 +294,20 @@
294
294
  "render-ui",
295
295
  "main",
296
296
  {
297
- "gap": "md",
298
- "className": "py-12",
299
- "align": "center",
300
297
  "direction": "vertical",
301
298
  "type": "stack",
299
+ "className": "py-12",
300
+ "gap": "md",
301
+ "align": "center",
302
302
  "children": [
303
303
  {
304
304
  "type": "spinner"
305
305
  },
306
306
  {
307
307
  "variant": "caption",
308
- "color": "muted",
308
+ "content": "Loading conversation…",
309
309
  "type": "typography",
310
- "content": "Loading conversation…"
310
+ "color": "muted"
311
311
  }
312
312
  ]
313
313
  }
@@ -323,90 +323,90 @@
323
323
  "render-ui",
324
324
  "main",
325
325
  {
326
- "type": "stack",
327
- "direction": "vertical",
328
326
  "children": [
329
327
  {
330
328
  "gap": "sm",
331
- "align": "center",
332
329
  "justify": "between",
330
+ "align": "center",
333
331
  "type": "stack",
332
+ "direction": "horizontal",
334
333
  "children": [
335
334
  {
335
+ "gap": "sm",
336
+ "align": "center",
337
+ "type": "stack",
338
+ "direction": "horizontal",
336
339
  "children": [
337
340
  {
338
- "type": "icon",
339
- "name": "message-circle"
341
+ "name": "message-circle",
342
+ "type": "icon"
340
343
  },
341
344
  {
345
+ "type": "typography",
342
346
  "content": "Chat Thread",
343
- "variant": "h2",
344
- "type": "typography"
347
+ "variant": "h2"
345
348
  }
346
- ],
347
- "direction": "horizontal",
348
- "type": "stack",
349
- "gap": "sm",
350
- "align": "center"
349
+ ]
351
350
  },
352
351
  {
352
+ "type": "button",
353
353
  "action": "COMPOSE",
354
- "label": "New Message",
355
354
  "variant": "primary",
356
- "type": "button",
355
+ "label": "New Message",
357
356
  "icon": "plus"
358
357
  }
359
- ],
360
- "direction": "horizontal"
358
+ ]
361
359
  },
362
360
  {
363
361
  "type": "divider"
364
362
  },
365
363
  {
366
- "type": "data-list",
367
364
  "renderItem": [
368
365
  "fn",
369
366
  "item",
370
367
  {
371
- "gap": "xs",
372
- "direction": "vertical",
373
368
  "type": "stack",
374
369
  "children": [
375
370
  {
371
+ "direction": "horizontal",
372
+ "gap": "sm",
376
373
  "children": [
377
374
  {
378
375
  "type": "badge",
379
376
  "label": "@item.role"
380
377
  },
381
378
  {
382
- "variant": "secondary",
379
+ "type": "badge",
383
380
  "label": "@item.status",
384
- "type": "badge"
381
+ "variant": "secondary"
385
382
  },
386
383
  {
387
- "variant": "caption",
388
- "color": "muted",
389
384
  "content": "@item.timestamp",
390
- "type": "typography"
385
+ "variant": "caption",
386
+ "type": "typography",
387
+ "color": "muted"
391
388
  }
392
389
  ],
393
390
  "align": "center",
394
- "type": "stack",
395
- "direction": "horizontal",
396
- "gap": "sm"
391
+ "type": "stack"
397
392
  },
398
393
  {
399
394
  "type": "typography",
400
- "content": "@item.content",
401
- "variant": "body"
395
+ "variant": "body",
396
+ "content": "@item.content"
402
397
  }
403
- ]
398
+ ],
399
+ "gap": "xs",
400
+ "direction": "vertical"
404
401
  }
405
402
  ],
403
+ "type": "data-list",
406
404
  "fields": [],
407
405
  "entity": "@payload.data"
408
406
  }
409
407
  ],
408
+ "type": "stack",
409
+ "direction": "vertical",
410
410
  "gap": "lg"
411
411
  }
412
412
  ]
@@ -421,36 +421,36 @@
421
421
  "render-ui",
422
422
  "main",
423
423
  {
424
- "type": "stack",
424
+ "gap": "md",
425
+ "align": "center",
425
426
  "direction": "vertical",
427
+ "type": "stack",
426
428
  "className": "py-12",
427
429
  "children": [
428
430
  {
431
+ "color": "destructive",
429
432
  "name": "alert-triangle",
430
- "type": "icon",
431
- "color": "destructive"
433
+ "type": "icon"
432
434
  },
433
435
  {
434
- "type": "typography",
436
+ "content": "Failed to load conversation",
435
437
  "variant": "h3",
436
- "content": "Failed to load conversation"
438
+ "type": "typography"
437
439
  },
438
440
  {
439
- "type": "typography",
440
441
  "variant": "body",
441
- "content": "@payload.error",
442
- "color": "muted"
442
+ "color": "muted",
443
+ "type": "typography",
444
+ "content": "@payload.error"
443
445
  },
444
446
  {
445
- "action": "INIT",
446
- "variant": "primary",
447
447
  "type": "button",
448
+ "variant": "primary",
449
+ "label": "Retry",
448
450
  "icon": "rotate-ccw",
449
- "label": "Retry"
451
+ "action": "INIT"
450
452
  }
451
- ],
452
- "gap": "md",
453
- "align": "center"
453
+ ]
454
454
  }
455
455
  ]
456
456
  ]
@@ -464,18 +464,18 @@
464
464
  "render-ui",
465
465
  "main",
466
466
  {
467
- "direction": "vertical",
468
- "gap": "lg",
467
+ "type": "stack",
469
468
  "children": [
470
469
  {
471
- "direction": "horizontal",
470
+ "gap": "sm",
471
+ "type": "stack",
472
472
  "justify": "between",
473
473
  "align": "center",
474
+ "direction": "horizontal",
474
475
  "children": [
475
476
  {
476
- "direction": "horizontal",
477
- "type": "stack",
478
477
  "gap": "sm",
478
+ "type": "stack",
479
479
  "align": "center",
480
480
  "children": [
481
481
  {
@@ -483,30 +483,30 @@
483
483
  "type": "icon"
484
484
  },
485
485
  {
486
- "type": "typography",
486
+ "content": "Chat Thread",
487
487
  "variant": "h2",
488
- "content": "Chat Thread"
488
+ "type": "typography"
489
489
  }
490
- ]
490
+ ],
491
+ "direction": "horizontal"
491
492
  }
492
- ],
493
- "type": "stack",
494
- "gap": "sm"
493
+ ]
495
494
  },
496
495
  {
497
496
  "type": "divider"
498
497
  },
499
498
  {
500
- "mode": "create",
501
- "cancelEvent": "CANCEL_COMPOSE",
502
- "type": "form-section",
503
- "submitEvent": "SEND",
504
499
  "fields": [
505
500
  "content"
506
- ]
501
+ ],
502
+ "cancelEvent": "CANCEL_COMPOSE",
503
+ "mode": "create",
504
+ "submitEvent": "SEND",
505
+ "type": "form-section"
507
506
  }
508
507
  ],
509
- "type": "stack"
508
+ "gap": "lg",
509
+ "direction": "vertical"
510
510
  }
511
511
  ]
512
512
  ]
@@ -531,9 +531,6 @@
531
531
  "render-ui",
532
532
  "main",
533
533
  {
534
- "direction": "vertical",
535
- "type": "stack",
536
- "gap": "md",
537
534
  "align": "center",
538
535
  "className": "py-12",
539
536
  "children": [
@@ -541,12 +538,15 @@
541
538
  "type": "spinner"
542
539
  },
543
540
  {
544
- "content": "Clearing conversation…",
541
+ "type": "typography",
545
542
  "variant": "caption",
546
- "color": "muted",
547
- "type": "typography"
543
+ "content": "Clearing conversation…",
544
+ "color": "muted"
548
545
  }
549
- ]
546
+ ],
547
+ "direction": "vertical",
548
+ "type": "stack",
549
+ "gap": "md"
550
550
  }
551
551
  ]
552
552
  ]
@@ -561,15 +561,15 @@
561
561
  "create",
562
562
  "AgentChatThread",
563
563
  {
564
- "status": "sent",
565
564
  "role": "user",
566
- "content": "@payload.content",
567
- "timestamp": "@now"
565
+ "timestamp": "@now",
566
+ "status": "sent",
567
+ "content": "@payload.content"
568
568
  },
569
569
  {
570
570
  "emit": {
571
- "success": "AgentChatThreadSaved",
572
- "failure": "AgentChatThreadSaveFailed"
571
+ "failure": "AgentChatThreadSaveFailed",
572
+ "success": "AgentChatThreadSaved"
573
573
  }
574
574
  }
575
575
  ],
@@ -579,20 +579,20 @@
579
579
  {
580
580
  "gap": "md",
581
581
  "type": "stack",
582
+ "direction": "vertical",
583
+ "align": "center",
584
+ "className": "py-12",
582
585
  "children": [
583
586
  {
584
587
  "type": "spinner"
585
588
  },
586
589
  {
587
- "color": "muted",
588
590
  "content": "Sending…",
589
- "variant": "caption",
590
- "type": "typography"
591
+ "type": "typography",
592
+ "color": "muted",
593
+ "variant": "caption"
591
594
  }
592
- ],
593
- "className": "py-12",
594
- "direction": "vertical",
595
- "align": "center"
595
+ ]
596
596
  }
597
597
  ]
598
598
  ]
@@ -631,8 +631,8 @@
631
631
  "AgentChatThread",
632
632
  {
633
633
  "emit": {
634
- "success": "AgentChatThreadLoaded",
635
- "failure": "AgentChatThreadLoadFailed"
634
+ "failure": "AgentChatThreadLoadFailed",
635
+ "success": "AgentChatThreadLoaded"
636
636
  }
637
637
  }
638
638
  ],
@@ -654,36 +654,36 @@
654
654
  "render-ui",
655
655
  "main",
656
656
  {
657
+ "className": "py-12",
658
+ "gap": "md",
657
659
  "type": "stack",
658
660
  "align": "center",
659
661
  "children": [
660
662
  {
661
- "color": "destructive",
663
+ "name": "alert-triangle",
662
664
  "type": "icon",
663
- "name": "alert-triangle"
665
+ "color": "destructive"
664
666
  },
665
667
  {
666
668
  "type": "typography",
667
- "variant": "h3",
668
- "content": "Failed to send message"
669
+ "content": "Failed to send message",
670
+ "variant": "h3"
669
671
  },
670
672
  {
671
- "variant": "body",
672
- "content": "@payload.error",
673
+ "color": "muted",
673
674
  "type": "typography",
674
- "color": "muted"
675
+ "variant": "body",
676
+ "content": "@payload.error"
675
677
  },
676
678
  {
677
- "label": "Retry",
679
+ "icon": "rotate-ccw",
678
680
  "type": "button",
679
681
  "action": "INIT",
680
682
  "variant": "primary",
681
- "icon": "rotate-ccw"
683
+ "label": "Retry"
682
684
  }
683
685
  ],
684
- "gap": "md",
685
- "direction": "vertical",
686
- "className": "py-12"
686
+ "direction": "vertical"
687
687
  }
688
688
  ]
689
689
  ]
@@ -698,8 +698,8 @@
698
698
  "AgentChatThread",
699
699
  {
700
700
  "emit": {
701
- "failure": "AgentChatThreadLoadFailed",
702
- "success": "AgentChatThreadLoaded"
701
+ "success": "AgentChatThreadLoaded",
702
+ "failure": "AgentChatThreadLoadFailed"
703
703
  }
704
704
  }
705
705
  ],
@@ -721,36 +721,36 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
- "type": "stack",
725
- "gap": "md",
726
- "className": "py-12",
727
724
  "align": "center",
728
- "direction": "vertical",
725
+ "className": "py-12",
729
726
  "children": [
730
727
  {
731
- "color": "destructive",
732
728
  "type": "icon",
733
- "name": "alert-triangle"
729
+ "name": "alert-triangle",
730
+ "color": "destructive"
734
731
  },
735
732
  {
736
- "type": "typography",
737
733
  "variant": "h3",
738
- "content": "Failed to clear conversation"
734
+ "content": "Failed to clear conversation",
735
+ "type": "typography"
739
736
  },
740
737
  {
741
- "color": "muted",
742
- "content": "@payload.error",
743
738
  "type": "typography",
744
- "variant": "body"
739
+ "color": "muted",
740
+ "variant": "body",
741
+ "content": "@payload.error"
745
742
  },
746
743
  {
747
- "variant": "primary",
748
- "action": "INIT",
749
- "icon": "rotate-ccw",
744
+ "label": "Retry",
750
745
  "type": "button",
751
- "label": "Retry"
746
+ "action": "INIT",
747
+ "variant": "primary",
748
+ "icon": "rotate-ccw"
752
749
  }
753
- ]
750
+ ],
751
+ "type": "stack",
752
+ "gap": "md",
753
+ "direction": "vertical"
754
754
  }
755
755
  ]
756
756
  ]
@@ -765,8 +765,8 @@
765
765
  "AgentChatThread",
766
766
  {
767
767
  "emit": {
768
- "success": "AgentChatThreadLoaded",
769
- "failure": "AgentChatThreadLoadFailed"
768
+ "failure": "AgentChatThreadLoadFailed",
769
+ "success": "AgentChatThreadLoaded"
770
770
  }
771
771
  }
772
772
  ],
@@ -797,4 +797,4 @@
797
797
  ]
798
798
  }
799
799
  ]
800
- }
800
+ }