@almadar/std 8.5.1 → 10.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 +68 -72
  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 +68 -72
  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
@@ -99,7 +99,7 @@
99
99
  "event": "AgentConversationLoaded",
100
100
  "description": "Fired when conversation finishes loading; payload.data holds the turns",
101
101
  "scope": "internal",
102
- "payload": [
102
+ "payloadSchema": [
103
103
  {
104
104
  "name": "data",
105
105
  "type": "[AgentConversation]"
@@ -110,7 +110,7 @@
110
110
  "event": "AgentConversationLoadFailed",
111
111
  "description": "Fired when conversation fails to load",
112
112
  "scope": "internal",
113
- "payload": [
113
+ "payloadSchema": [
114
114
  {
115
115
  "name": "error",
116
116
  "type": "string"
@@ -125,7 +125,7 @@
125
125
  "event": "AgentConversationSaved",
126
126
  "description": "Fired when a new turn is persisted",
127
127
  "scope": "internal",
128
- "payload": [
128
+ "payloadSchema": [
129
129
  {
130
130
  "name": "id",
131
131
  "type": "string"
@@ -136,7 +136,7 @@
136
136
  "event": "AgentConversationSaveFailed",
137
137
  "description": "Fired when persisting a turn fails",
138
138
  "scope": "internal",
139
- "payload": [
139
+ "payloadSchema": [
140
140
  {
141
141
  "name": "error",
142
142
  "type": "string"
@@ -151,7 +151,7 @@
151
151
  "event": "AgentConversationDeleted",
152
152
  "description": "Fired when the conversation is cleared",
153
153
  "scope": "internal",
154
- "payload": [
154
+ "payloadSchema": [
155
155
  {
156
156
  "name": "id",
157
157
  "type": "string"
@@ -162,7 +162,7 @@
162
162
  "event": "AgentConversationDeleteFailed",
163
163
  "description": "Fired when clearing the conversation fails",
164
164
  "scope": "internal",
165
- "payload": [
165
+ "payloadSchema": [
166
166
  {
167
167
  "name": "error",
168
168
  "type": "string"
@@ -204,7 +204,7 @@
204
204
  {
205
205
  "key": "AgentConversationLoaded",
206
206
  "name": "AgentConversation loaded",
207
- "payload": [
207
+ "payloadSchema": [
208
208
  {
209
209
  "name": "data",
210
210
  "type": "[AgentConversation]"
@@ -214,7 +214,7 @@
214
214
  {
215
215
  "key": "AgentConversationLoadFailed",
216
216
  "name": "AgentConversation load failed",
217
- "payload": [
217
+ "payloadSchema": [
218
218
  {
219
219
  "name": "error",
220
220
  "type": "string"
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "key": "SEND",
238
238
  "name": "Send",
239
- "payload": [
239
+ "payloadSchema": [
240
240
  {
241
241
  "name": "content",
242
242
  "type": "string",
@@ -251,7 +251,7 @@
251
251
  {
252
252
  "key": "AgentConversationSaved",
253
253
  "name": "AgentConversation saved",
254
- "payload": [
254
+ "payloadSchema": [
255
255
  {
256
256
  "name": "id",
257
257
  "type": "string"
@@ -261,7 +261,7 @@
261
261
  {
262
262
  "key": "AgentConversationSaveFailed",
263
263
  "name": "AgentConversation save failed",
264
- "payload": [
264
+ "payloadSchema": [
265
265
  {
266
266
  "name": "error",
267
267
  "type": "string"
@@ -275,7 +275,7 @@
275
275
  {
276
276
  "key": "AgentConversationDeleted",
277
277
  "name": "AgentConversation deleted",
278
- "payload": [
278
+ "payloadSchema": [
279
279
  {
280
280
  "name": "id",
281
281
  "type": "string"
@@ -285,7 +285,7 @@
285
285
  {
286
286
  "key": "AgentConversationDeleteFailed",
287
287
  "name": "AgentConversation delete failed",
288
- "payload": [
288
+ "payloadSchema": [
289
289
  {
290
290
  "name": "error",
291
291
  "type": "string"
@@ -317,8 +317,6 @@
317
317
  "render-ui",
318
318
  "main",
319
319
  {
320
- "className": "py-12",
321
- "align": "center",
322
320
  "children": [
323
321
  {
324
322
  "type": "spinner"
@@ -326,13 +324,15 @@
326
324
  {
327
325
  "content": "Loading conversation…",
328
326
  "type": "typography",
329
- "variant": "caption",
330
- "color": "muted"
327
+ "color": "muted",
328
+ "variant": "caption"
331
329
  }
332
330
  ],
333
- "gap": "md",
334
331
  "direction": "vertical",
335
- "type": "stack"
332
+ "type": "stack",
333
+ "className": "py-12",
334
+ "gap": "md",
335
+ "align": "center"
336
336
  }
337
337
  ]
338
338
  ]
@@ -347,90 +347,90 @@
347
347
  "main",
348
348
  {
349
349
  "direction": "vertical",
350
- "gap": "lg",
351
350
  "type": "stack",
352
351
  "children": [
353
352
  {
353
+ "align": "center",
354
354
  "direction": "horizontal",
355
+ "type": "stack",
356
+ "gap": "sm",
355
357
  "justify": "between",
356
- "align": "center",
357
358
  "children": [
358
359
  {
359
- "gap": "sm",
360
+ "align": "center",
360
361
  "children": [
361
362
  {
362
- "name": "message-circle",
363
- "type": "icon"
363
+ "type": "icon",
364
+ "name": "message-circle"
364
365
  },
365
366
  {
366
- "content": "Conversation Thread",
367
367
  "variant": "h2",
368
- "type": "typography"
368
+ "type": "typography",
369
+ "content": "Conversation Thread"
369
370
  }
370
371
  ],
371
372
  "direction": "horizontal",
372
- "type": "stack",
373
- "align": "center"
373
+ "gap": "sm",
374
+ "type": "stack"
374
375
  },
375
376
  {
377
+ "variant": "primary",
376
378
  "label": "New Message",
377
- "type": "button",
378
379
  "action": "COMPOSE",
379
- "variant": "primary",
380
+ "type": "button",
380
381
  "icon": "plus"
381
382
  }
382
- ],
383
- "type": "stack",
384
- "gap": "sm"
383
+ ]
385
384
  },
386
385
  {
387
386
  "type": "divider"
388
387
  },
389
388
  {
390
- "fields": [],
391
- "entity": "@payload.data",
392
- "type": "data-list",
393
389
  "renderItem": [
394
390
  "fn",
395
391
  "item",
396
392
  {
397
393
  "children": [
398
394
  {
395
+ "direction": "horizontal",
396
+ "gap": "sm",
397
+ "align": "center",
398
+ "type": "stack",
399
399
  "children": [
400
400
  {
401
- "type": "badge",
402
- "label": "@item.role"
401
+ "label": "@item.role",
402
+ "type": "badge"
403
403
  },
404
404
  {
405
- "type": "badge",
406
405
  "label": "@item.status",
407
- "variant": "secondary"
406
+ "variant": "secondary",
407
+ "type": "badge"
408
408
  },
409
409
  {
410
410
  "type": "typography",
411
- "color": "muted",
411
+ "variant": "caption",
412
412
  "content": "@item.timestamp",
413
- "variant": "caption"
413
+ "color": "muted"
414
414
  }
415
- ],
416
- "type": "stack",
417
- "gap": "sm",
418
- "align": "center",
419
- "direction": "horizontal"
415
+ ]
420
416
  },
421
417
  {
422
- "variant": "body",
423
418
  "type": "typography",
419
+ "variant": "body",
424
420
  "content": "@item.content"
425
421
  }
426
422
  ],
427
- "type": "stack",
428
423
  "direction": "vertical",
424
+ "type": "stack",
429
425
  "gap": "xs"
430
426
  }
431
- ]
427
+ ],
428
+ "fields": [],
429
+ "entity": "@payload.data",
430
+ "type": "data-list"
432
431
  }
433
- ]
432
+ ],
433
+ "gap": "lg"
434
434
  }
435
435
  ]
436
436
  ]
@@ -451,29 +451,29 @@
451
451
  "name": "alert-triangle"
452
452
  },
453
453
  {
454
- "type": "typography",
455
454
  "variant": "h3",
455
+ "type": "typography",
456
456
  "content": "Failed to load"
457
457
  },
458
458
  {
459
- "color": "muted",
460
459
  "type": "typography",
460
+ "variant": "body",
461
461
  "content": "@payload.error",
462
- "variant": "body"
462
+ "color": "muted"
463
463
  },
464
464
  {
465
465
  "type": "button",
466
466
  "label": "Retry",
467
467
  "variant": "primary",
468
- "icon": "rotate-ccw",
469
- "action": "INIT"
468
+ "action": "INIT",
469
+ "icon": "rotate-ccw"
470
470
  }
471
471
  ],
472
- "align": "center",
473
472
  "type": "stack",
474
- "className": "py-12",
473
+ "direction": "vertical",
475
474
  "gap": "md",
476
- "direction": "vertical"
475
+ "align": "center",
476
+ "className": "py-12"
477
477
  }
478
478
  ]
479
479
  ]
@@ -489,10 +489,9 @@
489
489
  {
490
490
  "type": "stack",
491
491
  "direction": "vertical",
492
- "gap": "lg",
493
492
  "children": [
494
493
  {
495
- "type": "stack",
494
+ "direction": "horizontal",
496
495
  "align": "center",
497
496
  "children": [
498
497
  {
@@ -500,27 +499,28 @@
500
499
  "type": "icon"
501
500
  },
502
501
  {
503
- "variant": "h2",
504
502
  "type": "typography",
503
+ "variant": "h2",
505
504
  "content": "Conversation Thread"
506
505
  }
507
506
  ],
508
- "direction": "horizontal",
509
- "gap": "sm"
507
+ "gap": "sm",
508
+ "type": "stack"
510
509
  },
511
510
  {
512
511
  "type": "divider"
513
512
  },
514
513
  {
514
+ "mode": "create",
515
+ "submitEvent": "SEND",
516
+ "type": "form-section",
515
517
  "cancelEvent": "CANCEL_COMPOSE",
516
518
  "fields": [
517
519
  "content"
518
- ],
519
- "type": "form-section",
520
- "mode": "create",
521
- "submitEvent": "SEND"
520
+ ]
522
521
  }
523
- ]
522
+ ],
523
+ "gap": "lg"
524
524
  }
525
525
  ]
526
526
  ]
@@ -536,8 +536,8 @@
536
536
  "AgentConversation",
537
537
  {
538
538
  "emit": {
539
- "success": "AgentConversationDeleted",
540
- "failure": "AgentConversationDeleteFailed"
539
+ "failure": "AgentConversationDeleteFailed",
540
+ "success": "AgentConversationDeleted"
541
541
  }
542
542
  }
543
543
  ],
@@ -560,10 +560,10 @@
560
560
  "create",
561
561
  "AgentConversation",
562
562
  {
563
- "content": "@payload.content",
563
+ "timestamp": "@now",
564
564
  "role": "user",
565
565
  "status": "sent",
566
- "timestamp": "@now"
566
+ "content": "@payload.content"
567
567
  },
568
568
  {
569
569
  "emit": {
@@ -638,8 +638,6 @@
638
638
  "render-ui",
639
639
  "main",
640
640
  {
641
- "direction": "vertical",
642
- "type": "stack",
643
641
  "align": "center",
644
642
  "className": "py-12",
645
643
  "children": [
@@ -649,25 +647,27 @@
649
647
  "name": "alert-triangle"
650
648
  },
651
649
  {
652
- "type": "typography",
653
650
  "variant": "h3",
654
- "content": "Failed to send"
651
+ "content": "Failed to send",
652
+ "type": "typography"
655
653
  },
656
654
  {
657
655
  "type": "typography",
658
- "color": "muted",
659
656
  "variant": "body",
657
+ "color": "muted",
660
658
  "content": "@payload.error"
661
659
  },
662
660
  {
663
661
  "icon": "rotate-ccw",
664
- "type": "button",
665
662
  "action": "INIT",
663
+ "type": "button",
666
664
  "variant": "primary",
667
665
  "label": "Retry"
668
666
  }
669
667
  ],
670
- "gap": "md"
668
+ "direction": "vertical",
669
+ "gap": "md",
670
+ "type": "stack"
671
671
  }
672
672
  ]
673
673
  ]
@@ -705,20 +705,21 @@
705
705
  "render-ui",
706
706
  "main",
707
707
  {
708
- "direction": "vertical",
709
708
  "type": "stack",
709
+ "direction": "vertical",
710
+ "gap": "md",
710
711
  "align": "center",
711
712
  "className": "py-12",
712
713
  "children": [
713
714
  {
714
- "name": "alert-triangle",
715
715
  "color": "destructive",
716
- "type": "icon"
716
+ "type": "icon",
717
+ "name": "alert-triangle"
717
718
  },
718
719
  {
719
- "type": "typography",
720
720
  "variant": "h3",
721
- "content": "Failed to clear"
721
+ "content": "Failed to clear",
722
+ "type": "typography"
722
723
  },
723
724
  {
724
725
  "content": "@payload.error",
@@ -727,14 +728,13 @@
727
728
  "color": "muted"
728
729
  },
729
730
  {
731
+ "variant": "primary",
732
+ "action": "INIT",
730
733
  "label": "Retry",
731
734
  "icon": "rotate-ccw",
732
- "type": "button",
733
- "action": "INIT",
734
- "variant": "primary"
735
+ "type": "button"
735
736
  }
736
- ],
737
- "gap": "md"
737
+ ]
738
738
  }
739
739
  ]
740
740
  ]
@@ -775,7 +775,7 @@
775
775
  {
776
776
  "event": "TOKEN_UPDATE",
777
777
  "scope": "internal",
778
- "payload": [
778
+ "payloadSchema": [
779
779
  {
780
780
  "name": "tokenCount",
781
781
  "type": "number",
@@ -787,7 +787,7 @@
787
787
  "event": "AgentConversationLoaded",
788
788
  "description": "Fired when conversation finishes loading; payload.data holds the turns",
789
789
  "scope": "internal",
790
- "payload": [
790
+ "payloadSchema": [
791
791
  {
792
792
  "name": "data",
793
793
  "type": "[AgentConversation]"
@@ -798,7 +798,7 @@
798
798
  "event": "AgentConversationLoadFailed",
799
799
  "description": "Fired when conversation fails to load",
800
800
  "scope": "internal",
801
- "payload": [
801
+ "payloadSchema": [
802
802
  {
803
803
  "name": "error",
804
804
  "type": "string"
@@ -831,7 +831,7 @@
831
831
  {
832
832
  "key": "SEND_MESSAGE",
833
833
  "name": "Send Message",
834
- "payload": [
834
+ "payloadSchema": [
835
835
  {
836
836
  "name": "content",
837
837
  "type": "string",
@@ -854,7 +854,7 @@
854
854
  {
855
855
  "key": "TOKEN_UPDATE",
856
856
  "name": "Token Update",
857
- "payload": [
857
+ "payloadSchema": [
858
858
  {
859
859
  "name": "tokenCount",
860
860
  "type": "number",
@@ -865,7 +865,7 @@
865
865
  {
866
866
  "key": "AgentConversationLoaded",
867
867
  "name": "AgentConversation loaded",
868
- "payload": [
868
+ "payloadSchema": [
869
869
  {
870
870
  "name": "data",
871
871
  "type": "[AgentConversation]"
@@ -875,7 +875,7 @@
875
875
  {
876
876
  "key": "AgentConversationLoadFailed",
877
877
  "name": "AgentConversation load failed",
878
- "payload": [
878
+ "payloadSchema": [
879
879
  {
880
880
  "name": "error",
881
881
  "type": "string"
@@ -898,8 +898,8 @@
898
898
  "AgentConversation",
899
899
  {
900
900
  "emit": {
901
- "failure": "AgentConversationLoadFailed",
902
- "success": "AgentConversationLoaded"
901
+ "success": "AgentConversationLoaded",
902
+ "failure": "AgentConversationLoadFailed"
903
903
  }
904
904
  }
905
905
  ],
@@ -992,4 +992,4 @@
992
992
  ]
993
993
  }
994
994
  ]
995
- }
995
+ }