@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
@@ -76,7 +76,7 @@
76
76
  "event": "AgentChatThreadLoaded",
77
77
  "description": "Fired when the chat thread finishes loading; payload.data holds the messages",
78
78
  "scope": "internal",
79
- "payload": [
79
+ "payloadSchema": [
80
80
  {
81
81
  "name": "data",
82
82
  "type": "[AgentChatThread]"
@@ -87,7 +87,7 @@
87
87
  "event": "AgentChatThreadLoadFailed",
88
88
  "description": "Fired when the chat thread fails to load",
89
89
  "scope": "internal",
90
- "payload": [
90
+ "payloadSchema": [
91
91
  {
92
92
  "name": "error",
93
93
  "type": "string"
@@ -102,7 +102,7 @@
102
102
  "event": "AgentChatThreadSaved",
103
103
  "description": "Fired when a new message is persisted",
104
104
  "scope": "internal",
105
- "payload": [
105
+ "payloadSchema": [
106
106
  {
107
107
  "name": "id",
108
108
  "type": "string"
@@ -113,7 +113,7 @@
113
113
  "event": "AgentChatThreadSaveFailed",
114
114
  "description": "Fired when a message persist fails",
115
115
  "scope": "internal",
116
- "payload": [
116
+ "payloadSchema": [
117
117
  {
118
118
  "name": "error",
119
119
  "type": "string"
@@ -128,7 +128,7 @@
128
128
  "event": "AgentChatThreadDeleted",
129
129
  "description": "Fired when the chat thread is cleared",
130
130
  "scope": "internal",
131
- "payload": [
131
+ "payloadSchema": [
132
132
  {
133
133
  "name": "id",
134
134
  "type": "string"
@@ -139,7 +139,7 @@
139
139
  "event": "AgentChatThreadDeleteFailed",
140
140
  "description": "Fired when clearing the chat thread fails",
141
141
  "scope": "internal",
142
- "payload": [
142
+ "payloadSchema": [
143
143
  {
144
144
  "name": "error",
145
145
  "type": "string"
@@ -181,7 +181,7 @@
181
181
  {
182
182
  "key": "AgentChatThreadLoaded",
183
183
  "name": "AgentChatThread loaded",
184
- "payload": [
184
+ "payloadSchema": [
185
185
  {
186
186
  "name": "data",
187
187
  "type": "[AgentChatThread]"
@@ -191,7 +191,7 @@
191
191
  {
192
192
  "key": "AgentChatThreadLoadFailed",
193
193
  "name": "AgentChatThread load failed",
194
- "payload": [
194
+ "payloadSchema": [
195
195
  {
196
196
  "name": "error",
197
197
  "type": "string"
@@ -213,7 +213,7 @@
213
213
  {
214
214
  "key": "SEND",
215
215
  "name": "Send",
216
- "payload": [
216
+ "payloadSchema": [
217
217
  {
218
218
  "name": "content",
219
219
  "type": "string",
@@ -228,7 +228,7 @@
228
228
  {
229
229
  "key": "AgentChatThreadSaved",
230
230
  "name": "AgentChatThread saved",
231
- "payload": [
231
+ "payloadSchema": [
232
232
  {
233
233
  "name": "id",
234
234
  "type": "string"
@@ -238,7 +238,7 @@
238
238
  {
239
239
  "key": "AgentChatThreadSaveFailed",
240
240
  "name": "AgentChatThread save failed",
241
- "payload": [
241
+ "payloadSchema": [
242
242
  {
243
243
  "name": "error",
244
244
  "type": "string"
@@ -252,7 +252,7 @@
252
252
  {
253
253
  "key": "AgentChatThreadDeleted",
254
254
  "name": "AgentChatThread deleted",
255
- "payload": [
255
+ "payloadSchema": [
256
256
  {
257
257
  "name": "id",
258
258
  "type": "string"
@@ -262,7 +262,7 @@
262
262
  {
263
263
  "key": "AgentChatThreadDeleteFailed",
264
264
  "name": "AgentChatThread delete failed",
265
- "payload": [
265
+ "payloadSchema": [
266
266
  {
267
267
  "name": "error",
268
268
  "type": "string"
@@ -285,8 +285,8 @@
285
285
  "AgentChatThread",
286
286
  {
287
287
  "emit": {
288
- "success": "AgentChatThreadLoaded",
289
- "failure": "AgentChatThreadLoadFailed"
288
+ "failure": "AgentChatThreadLoadFailed",
289
+ "success": "AgentChatThreadLoaded"
290
290
  }
291
291
  }
292
292
  ],
@@ -294,22 +294,22 @@
294
294
  "render-ui",
295
295
  "main",
296
296
  {
297
+ "type": "stack",
298
+ "direction": "vertical",
299
+ "gap": "md",
300
+ "align": "center",
301
+ "className": "py-12",
297
302
  "children": [
298
303
  {
299
304
  "type": "spinner"
300
305
  },
301
306
  {
302
307
  "variant": "caption",
303
- "type": "typography",
308
+ "color": "muted",
304
309
  "content": "Loading conversation…",
305
- "color": "muted"
310
+ "type": "typography"
306
311
  }
307
- ],
308
- "type": "stack",
309
- "gap": "md",
310
- "direction": "vertical",
311
- "align": "center",
312
- "className": "py-12"
312
+ ]
313
313
  }
314
314
  ]
315
315
  ]
@@ -323,63 +323,63 @@
323
323
  "render-ui",
324
324
  "main",
325
325
  {
326
+ "type": "stack",
327
+ "gap": "lg",
326
328
  "direction": "vertical",
327
329
  "children": [
328
330
  {
329
331
  "direction": "horizontal",
332
+ "gap": "sm",
333
+ "justify": "between",
330
334
  "children": [
331
335
  {
332
- "gap": "sm",
333
- "type": "stack",
334
336
  "direction": "horizontal",
337
+ "type": "stack",
338
+ "gap": "sm",
335
339
  "align": "center",
336
340
  "children": [
337
341
  {
338
- "type": "icon",
339
- "name": "message-circle"
342
+ "name": "message-circle",
343
+ "type": "icon"
340
344
  },
341
345
  {
346
+ "content": "Chat Thread",
342
347
  "type": "typography",
343
- "variant": "h2",
344
- "content": "Chat Thread"
348
+ "variant": "h2"
345
349
  }
346
350
  ]
347
351
  },
348
352
  {
353
+ "action": "COMPOSE",
349
354
  "type": "button",
350
- "label": "New Message",
355
+ "icon": "plus",
351
356
  "variant": "primary",
352
- "action": "COMPOSE",
353
- "icon": "plus"
357
+ "label": "New Message"
354
358
  }
355
359
  ],
356
- "gap": "sm",
357
- "justify": "between",
358
- "align": "center",
359
- "type": "stack"
360
+ "type": "stack",
361
+ "align": "center"
360
362
  },
361
363
  {
362
364
  "type": "divider"
363
365
  },
364
366
  {
365
367
  "entity": "@payload.data",
368
+ "fields": [],
369
+ "type": "data-list",
366
370
  "renderItem": [
367
371
  "fn",
368
372
  "item",
369
373
  {
374
+ "direction": "vertical",
370
375
  "type": "stack",
371
376
  "gap": "xs",
372
- "direction": "vertical",
373
377
  "children": [
374
378
  {
375
- "gap": "sm",
376
- "align": "center",
377
- "direction": "horizontal",
378
- "type": "stack",
379
379
  "children": [
380
380
  {
381
- "type": "badge",
382
- "label": "@item.role"
381
+ "label": "@item.role",
382
+ "type": "badge"
383
383
  },
384
384
  {
385
385
  "label": "@item.status",
@@ -388,26 +388,26 @@
388
388
  },
389
389
  {
390
390
  "variant": "caption",
391
- "color": "muted",
392
391
  "type": "typography",
393
- "content": "@item.timestamp"
392
+ "content": "@item.timestamp",
393
+ "color": "muted"
394
394
  }
395
- ]
395
+ ],
396
+ "type": "stack",
397
+ "align": "center",
398
+ "direction": "horizontal",
399
+ "gap": "sm"
396
400
  },
397
401
  {
398
- "variant": "body",
402
+ "type": "typography",
399
403
  "content": "@item.content",
400
- "type": "typography"
404
+ "variant": "body"
401
405
  }
402
406
  ]
403
407
  }
404
- ],
405
- "type": "data-list",
406
- "fields": []
408
+ ]
407
409
  }
408
- ],
409
- "type": "stack",
410
- "gap": "lg"
410
+ ]
411
411
  }
412
412
  ]
413
413
  ]
@@ -421,36 +421,36 @@
421
421
  "render-ui",
422
422
  "main",
423
423
  {
424
- "className": "py-12",
424
+ "direction": "vertical",
425
+ "align": "center",
425
426
  "children": [
426
427
  {
428
+ "color": "destructive",
427
429
  "name": "alert-triangle",
428
- "type": "icon",
429
- "color": "destructive"
430
+ "type": "icon"
430
431
  },
431
432
  {
432
- "content": "Failed to load conversation",
433
433
  "variant": "h3",
434
- "type": "typography"
434
+ "type": "typography",
435
+ "content": "Failed to load conversation"
435
436
  },
436
437
  {
437
- "type": "typography",
438
- "content": "@payload.error",
439
438
  "color": "muted",
440
- "variant": "body"
439
+ "content": "@payload.error",
440
+ "variant": "body",
441
+ "type": "typography"
441
442
  },
442
443
  {
443
- "type": "button",
444
- "label": "Retry",
445
444
  "action": "INIT",
445
+ "type": "button",
446
446
  "variant": "primary",
447
- "icon": "rotate-ccw"
447
+ "icon": "rotate-ccw",
448
+ "label": "Retry"
448
449
  }
449
450
  ],
451
+ "type": "stack",
450
452
  "gap": "md",
451
- "direction": "vertical",
452
- "align": "center",
453
- "type": "stack"
453
+ "className": "py-12"
454
454
  }
455
455
  ]
456
456
  ]
@@ -465,48 +465,48 @@
465
465
  "main",
466
466
  {
467
467
  "type": "stack",
468
- "direction": "vertical",
469
- "gap": "lg",
470
468
  "children": [
471
469
  {
472
470
  "gap": "sm",
471
+ "type": "stack",
473
472
  "align": "center",
474
- "direction": "horizontal",
475
473
  "children": [
476
474
  {
477
- "type": "stack",
475
+ "align": "center",
478
476
  "children": [
479
477
  {
480
478
  "type": "icon",
481
479
  "name": "message-circle"
482
480
  },
483
481
  {
484
- "type": "typography",
482
+ "variant": "h2",
485
483
  "content": "Chat Thread",
486
- "variant": "h2"
484
+ "type": "typography"
487
485
  }
488
486
  ],
489
- "direction": "horizontal",
490
487
  "gap": "sm",
491
- "align": "center"
488
+ "type": "stack",
489
+ "direction": "horizontal"
492
490
  }
493
491
  ],
494
492
  "justify": "between",
495
- "type": "stack"
493
+ "direction": "horizontal"
496
494
  },
497
495
  {
498
496
  "type": "divider"
499
497
  },
500
498
  {
501
- "mode": "create",
502
- "submitEvent": "SEND",
503
499
  "type": "form-section",
500
+ "mode": "create",
504
501
  "cancelEvent": "CANCEL_COMPOSE",
502
+ "submitEvent": "SEND",
505
503
  "fields": [
506
504
  "content"
507
505
  ]
508
506
  }
509
- ]
507
+ ],
508
+ "gap": "lg",
509
+ "direction": "vertical"
510
510
  }
511
511
  ]
512
512
  ]
@@ -522,8 +522,8 @@
522
522
  "AgentChatThread",
523
523
  {
524
524
  "emit": {
525
- "success": "AgentChatThreadDeleted",
526
- "failure": "AgentChatThreadDeleteFailed"
525
+ "failure": "AgentChatThreadDeleteFailed",
526
+ "success": "AgentChatThreadDeleted"
527
527
  }
528
528
  }
529
529
  ],
@@ -531,22 +531,22 @@
531
531
  "render-ui",
532
532
  "main",
533
533
  {
534
+ "align": "center",
534
535
  "gap": "md",
535
- "direction": "vertical",
536
536
  "className": "py-12",
537
- "align": "center",
537
+ "direction": "vertical",
538
+ "type": "stack",
538
539
  "children": [
539
540
  {
540
541
  "type": "spinner"
541
542
  },
542
543
  {
543
- "variant": "caption",
544
- "content": "Clearing conversation…",
545
544
  "type": "typography",
546
- "color": "muted"
545
+ "color": "muted",
546
+ "content": "Clearing conversation…",
547
+ "variant": "caption"
547
548
  }
548
- ],
549
- "type": "stack"
549
+ ]
550
550
  }
551
551
  ]
552
552
  ]
@@ -562,9 +562,9 @@
562
562
  "AgentChatThread",
563
563
  {
564
564
  "timestamp": "@now",
565
- "role": "user",
566
565
  "content": "@payload.content",
567
- "status": "sent"
566
+ "status": "sent",
567
+ "role": "user"
568
568
  },
569
569
  {
570
570
  "emit": {
@@ -577,22 +577,22 @@
577
577
  "render-ui",
578
578
  "main",
579
579
  {
580
- "className": "py-12",
581
- "type": "stack",
582
- "direction": "vertical",
583
- "gap": "md",
584
580
  "align": "center",
581
+ "className": "py-12",
585
582
  "children": [
586
583
  {
587
584
  "type": "spinner"
588
585
  },
589
586
  {
590
- "color": "muted",
591
587
  "type": "typography",
592
588
  "content": "Sending…",
589
+ "color": "muted",
593
590
  "variant": "caption"
594
591
  }
595
- ]
592
+ ],
593
+ "gap": "md",
594
+ "direction": "vertical",
595
+ "type": "stack"
596
596
  }
597
597
  ]
598
598
  ]
@@ -654,36 +654,36 @@
654
654
  "render-ui",
655
655
  "main",
656
656
  {
657
- "type": "stack",
658
- "gap": "md",
657
+ "direction": "vertical",
659
658
  "align": "center",
659
+ "className": "py-12",
660
660
  "children": [
661
661
  {
662
+ "color": "destructive",
662
663
  "type": "icon",
663
- "name": "alert-triangle",
664
- "color": "destructive"
664
+ "name": "alert-triangle"
665
665
  },
666
666
  {
667
+ "content": "Failed to send message",
667
668
  "variant": "h3",
668
- "type": "typography",
669
- "content": "Failed to send message"
669
+ "type": "typography"
670
670
  },
671
671
  {
672
- "color": "muted",
673
- "content": "@payload.error",
674
672
  "variant": "body",
675
- "type": "typography"
673
+ "color": "muted",
674
+ "type": "typography",
675
+ "content": "@payload.error"
676
676
  },
677
677
  {
678
- "icon": "rotate-ccw",
679
- "label": "Retry",
680
678
  "type": "button",
681
- "action": "INIT",
682
- "variant": "primary"
679
+ "label": "Retry",
680
+ "icon": "rotate-ccw",
681
+ "variant": "primary",
682
+ "action": "INIT"
683
683
  }
684
684
  ],
685
- "direction": "vertical",
686
- "className": "py-12"
685
+ "type": "stack",
686
+ "gap": "md"
687
687
  }
688
688
  ]
689
689
  ]
@@ -698,8 +698,8 @@
698
698
  "AgentChatThread",
699
699
  {
700
700
  "emit": {
701
- "success": "AgentChatThreadLoaded",
702
- "failure": "AgentChatThreadLoadFailed"
701
+ "failure": "AgentChatThreadLoadFailed",
702
+ "success": "AgentChatThreadLoaded"
703
703
  }
704
704
  }
705
705
  ],
@@ -721,36 +721,36 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
- "gap": "md",
725
724
  "children": [
726
725
  {
727
- "name": "alert-triangle",
728
726
  "color": "destructive",
729
- "type": "icon"
727
+ "type": "icon",
728
+ "name": "alert-triangle"
730
729
  },
731
730
  {
732
- "content": "Failed to clear conversation",
731
+ "variant": "h3",
733
732
  "type": "typography",
734
- "variant": "h3"
733
+ "content": "Failed to clear conversation"
735
734
  },
736
735
  {
737
736
  "color": "muted",
737
+ "type": "typography",
738
738
  "variant": "body",
739
- "content": "@payload.error",
740
- "type": "typography"
739
+ "content": "@payload.error"
741
740
  },
742
741
  {
743
- "type": "button",
742
+ "icon": "rotate-ccw",
743
+ "label": "Retry",
744
744
  "action": "INIT",
745
745
  "variant": "primary",
746
- "label": "Retry",
747
- "icon": "rotate-ccw"
746
+ "type": "button"
748
747
  }
749
748
  ],
750
749
  "direction": "vertical",
750
+ "className": "py-12",
751
751
  "type": "stack",
752
- "align": "center",
753
- "className": "py-12"
752
+ "gap": "md",
753
+ "align": "center"
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
+ }