@almadar/std 9.0.0 → 11.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 +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +55 -59
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  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 +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  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 +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -269,8 +269,8 @@
269
269
  "AgentSession",
270
270
  {
271
271
  "emit": {
272
- "failure": "AgentSessionLoadFailed",
273
- "success": "AgentSessionLoaded"
272
+ "success": "AgentSessionLoaded",
273
+ "failure": "AgentSessionLoadFailed"
274
274
  }
275
275
  }
276
276
  ],
@@ -278,22 +278,22 @@
278
278
  "render-ui",
279
279
  "main",
280
280
  {
281
- "type": "stack",
282
281
  "direction": "vertical",
283
- "gap": "md",
284
- "className": "py-12",
285
- "align": "center",
286
282
  "children": [
287
283
  {
288
284
  "type": "spinner"
289
285
  },
290
286
  {
291
- "content": "Loading sessions…",
292
- "color": "muted",
287
+ "variant": "caption",
293
288
  "type": "typography",
294
- "variant": "caption"
289
+ "color": "muted",
290
+ "content": "Loading sessions…"
295
291
  }
296
- ]
292
+ ],
293
+ "type": "stack",
294
+ "className": "py-12",
295
+ "gap": "md",
296
+ "align": "center"
297
297
  }
298
298
  ]
299
299
  ]
@@ -310,71 +310,71 @@
310
310
  "className": "max-w-5xl mx-auto w-full",
311
311
  "type": "stack",
312
312
  "direction": "vertical",
313
+ "gap": "lg",
313
314
  "children": [
314
315
  {
315
- "align": "center",
316
316
  "children": [
317
317
  {
318
- "type": "icon",
319
- "name": "terminal"
318
+ "name": "terminal",
319
+ "type": "icon"
320
320
  },
321
321
  {
322
- "type": "typography",
322
+ "content": "AgentSession Manager",
323
323
  "variant": "h2",
324
- "content": "AgentSession Manager"
324
+ "type": "typography"
325
325
  }
326
326
  ],
327
- "direction": "horizontal",
327
+ "type": "stack",
328
328
  "gap": "sm",
329
- "type": "stack"
329
+ "align": "center",
330
+ "direction": "horizontal"
330
331
  },
331
332
  {
332
333
  "type": "divider"
333
334
  },
334
335
  {
335
- "fields": [
336
+ "itemActions": [
336
337
  {
337
- "name": "sessionId",
338
- "icon": "terminal",
339
- "label": "Session ID",
340
- "variant": "h4"
338
+ "event": "FORK",
339
+ "icon": "git-branch",
340
+ "label": "Fork",
341
+ "variant": "secondary"
341
342
  },
342
343
  {
343
- "variant": "badge",
344
- "name": "status",
345
- "label": "Status"
344
+ "label": "Label",
345
+ "variant": "secondary",
346
+ "event": "LABEL",
347
+ "icon": "tag"
346
348
  },
347
349
  {
348
- "label": "Label",
349
- "name": "label",
350
- "variant": "caption"
350
+ "variant": "ghost",
351
+ "label": "End",
352
+ "icon": "square",
353
+ "event": "END"
351
354
  }
352
355
  ],
353
- "type": "data-grid",
354
356
  "entity": "@payload.data",
355
- "itemActions": [
357
+ "fields": [
356
358
  {
357
- "label": "Fork",
358
- "variant": "secondary",
359
- "icon": "git-branch",
360
- "event": "FORK"
359
+ "variant": "h4",
360
+ "icon": "terminal",
361
+ "name": "sessionId",
362
+ "label": "Session ID"
361
363
  },
362
364
  {
363
- "variant": "secondary",
364
- "label": "Label",
365
- "event": "LABEL",
366
- "icon": "tag"
365
+ "variant": "badge",
366
+ "name": "status",
367
+ "label": "Status"
367
368
  },
368
369
  {
369
- "event": "END",
370
- "variant": "ghost",
371
- "icon": "square",
372
- "label": "End"
370
+ "label": "Label",
371
+ "variant": "caption",
372
+ "name": "label"
373
373
  }
374
- ]
374
+ ],
375
+ "type": "data-grid"
375
376
  }
376
- ],
377
- "gap": "lg"
377
+ ]
378
378
  }
379
379
  ]
380
380
  ]
@@ -388,10 +388,7 @@
388
388
  "render-ui",
389
389
  "main",
390
390
  {
391
- "type": "stack",
392
391
  "direction": "vertical",
393
- "align": "center",
394
- "gap": "md",
395
392
  "className": "py-12",
396
393
  "children": [
397
394
  {
@@ -400,24 +397,27 @@
400
397
  "color": "destructive"
401
398
  },
402
399
  {
403
- "variant": "h3",
404
400
  "type": "typography",
405
- "content": "Failed to load sessions"
401
+ "content": "Failed to load sessions",
402
+ "variant": "h3"
406
403
  },
407
404
  {
408
405
  "type": "typography",
409
- "variant": "body",
410
406
  "content": "@payload.error",
411
- "color": "muted"
407
+ "color": "muted",
408
+ "variant": "body"
412
409
  },
413
410
  {
414
- "label": "Retry",
415
411
  "type": "button",
416
- "action": "INIT",
417
412
  "variant": "primary",
418
- "icon": "rotate-ccw"
413
+ "icon": "rotate-ccw",
414
+ "label": "Retry",
415
+ "action": "INIT"
419
416
  }
420
- ]
417
+ ],
418
+ "gap": "md",
419
+ "type": "stack",
420
+ "align": "center"
421
421
  }
422
422
  ]
423
423
  ]
@@ -456,71 +456,71 @@
456
456
  "main",
457
457
  {
458
458
  "type": "stack",
459
- "direction": "vertical",
460
459
  "gap": "lg",
461
460
  "className": "max-w-5xl mx-auto w-full",
461
+ "direction": "vertical",
462
462
  "children": [
463
463
  {
464
- "gap": "sm",
465
464
  "direction": "horizontal",
466
465
  "align": "center",
466
+ "type": "stack",
467
467
  "children": [
468
468
  {
469
469
  "type": "icon",
470
470
  "name": "terminal"
471
471
  },
472
472
  {
473
+ "content": "AgentSession Manager",
473
474
  "variant": "h2",
474
- "type": "typography",
475
- "content": "AgentSession Manager"
475
+ "type": "typography"
476
476
  }
477
477
  ],
478
- "type": "stack"
478
+ "gap": "sm"
479
479
  },
480
480
  {
481
481
  "type": "divider"
482
482
  },
483
483
  {
484
- "fields": [
485
- {
486
- "name": "sessionId",
487
- "variant": "h4",
488
- "icon": "terminal",
489
- "label": "Session ID"
490
- },
491
- {
492
- "label": "Status",
493
- "variant": "badge",
494
- "name": "status"
495
- },
496
- {
497
- "name": "label",
498
- "label": "Label",
499
- "variant": "caption"
500
- }
501
- ],
502
484
  "itemActions": [
503
485
  {
504
- "event": "FORK",
505
486
  "label": "Fork",
487
+ "variant": "secondary",
506
488
  "icon": "git-branch",
507
- "variant": "secondary"
489
+ "event": "FORK"
508
490
  },
509
491
  {
510
492
  "event": "LABEL",
511
- "icon": "tag",
512
493
  "label": "Label",
513
- "variant": "secondary"
494
+ "variant": "secondary",
495
+ "icon": "tag"
514
496
  },
515
497
  {
516
- "variant": "ghost",
517
498
  "label": "End",
518
499
  "event": "END",
500
+ "variant": "ghost",
519
501
  "icon": "square"
520
502
  }
521
503
  ],
522
- "type": "data-grid",
523
- "entity": "@payload.data"
504
+ "fields": [
505
+ {
506
+ "variant": "h4",
507
+ "icon": "terminal",
508
+ "label": "Session ID",
509
+ "name": "sessionId"
510
+ },
511
+ {
512
+ "name": "status",
513
+ "label": "Status",
514
+ "variant": "badge"
515
+ },
516
+ {
517
+ "label": "Label",
518
+ "name": "label",
519
+ "variant": "caption"
520
+ }
521
+ ],
522
+ "entity": "@payload.data",
523
+ "type": "data-grid"
524
524
  }
525
525
  ]
526
526
  }
@@ -536,36 +536,36 @@
536
536
  "render-ui",
537
537
  "main",
538
538
  {
539
- "direction": "vertical",
540
539
  "type": "stack",
541
- "gap": "md",
542
540
  "align": "center",
543
541
  "className": "py-12",
542
+ "direction": "vertical",
544
543
  "children": [
545
544
  {
546
545
  "type": "icon",
547
- "color": "destructive",
548
- "name": "alert-triangle"
546
+ "name": "alert-triangle",
547
+ "color": "destructive"
549
548
  },
550
549
  {
550
+ "variant": "h3",
551
551
  "type": "typography",
552
- "content": "Failed to load sessions",
553
- "variant": "h3"
552
+ "content": "Failed to load sessions"
554
553
  },
555
554
  {
556
- "type": "typography",
555
+ "variant": "body",
557
556
  "content": "@payload.error",
558
- "color": "muted",
559
- "variant": "body"
557
+ "type": "typography",
558
+ "color": "muted"
560
559
  },
561
560
  {
562
561
  "type": "button",
563
- "label": "Retry",
564
- "action": "INIT",
565
562
  "icon": "rotate-ccw",
563
+ "action": "INIT",
564
+ "label": "Retry",
566
565
  "variant": "primary"
567
566
  }
568
- ]
567
+ ],
568
+ "gap": "md"
569
569
  }
570
570
  ]
571
571
  ]
@@ -775,8 +775,8 @@
775
775
  "AgentSession",
776
776
  {
777
777
  "emit": {
778
- "success": "AgentSessionLoaded",
779
- "failure": "AgentSessionLoadFailed"
778
+ "failure": "AgentSessionLoadFailed",
779
+ "success": "AgentSessionLoaded"
780
780
  }
781
781
  }
782
782
  ]
@@ -791,40 +791,40 @@
791
791
  "render-ui",
792
792
  "modal",
793
793
  {
794
+ "gap": "md",
795
+ "type": "stack",
796
+ "direction": "vertical",
794
797
  "children": [
795
798
  {
796
799
  "direction": "horizontal",
800
+ "type": "stack",
801
+ "gap": "sm",
797
802
  "children": [
798
803
  {
799
804
  "name": "tag",
800
805
  "type": "icon"
801
806
  },
802
807
  {
803
- "type": "typography",
804
808
  "content": "Label Session",
809
+ "type": "typography",
805
810
  "variant": "h3"
806
811
  }
807
- ],
808
- "type": "stack",
809
- "gap": "sm"
812
+ ]
810
813
  },
811
814
  {
812
815
  "type": "divider"
813
816
  },
814
817
  {
815
- "entity": "@payload.row",
816
- "mode": "edit",
817
- "submitEvent": "SAVE",
818
818
  "cancelEvent": "CLOSE",
819
- "type": "form-section",
820
819
  "fields": [
821
820
  "label"
822
- ]
821
+ ],
822
+ "type": "form-section",
823
+ "entity": "@payload.row",
824
+ "mode": "edit",
825
+ "submitEvent": "SAVE"
823
826
  }
824
- ],
825
- "gap": "md",
826
- "direction": "vertical",
827
- "type": "stack"
827
+ ]
828
828
  }
829
829
  ]
830
830
  ]
@@ -860,8 +860,8 @@
860
860
  "@payload.data",
861
861
  {
862
862
  "emit": {
863
- "failure": "AgentSessionUpdateFailed",
864
- "success": "AgentSessionUpdated"
863
+ "success": "AgentSessionUpdated",
864
+ "failure": "AgentSessionUpdateFailed"
865
865
  }
866
866
  }
867
867
  ],
@@ -1146,8 +1146,8 @@
1146
1146
  "AgentSession",
1147
1147
  {
1148
1148
  "emit": {
1149
- "success": "AgentSessionLoaded",
1150
- "failure": "AgentSessionLoadFailed"
1149
+ "failure": "AgentSessionLoadFailed",
1150
+ "success": "AgentSessionLoaded"
1151
1151
  }
1152
1152
  }
1153
1153
  ],
@@ -1156,8 +1156,8 @@
1156
1156
  "main",
1157
1157
  {
1158
1158
  "type": "empty-state",
1159
- "title": "Session",
1160
1159
  "description": "Session is ready",
1160
+ "title": "Session",
1161
1161
  "icon": "git-branch"
1162
1162
  }
1163
1163
  ]
@@ -1177,8 +1177,8 @@
1177
1177
  "AgentSession",
1178
1178
  {
1179
1179
  "status": "forked",
1180
- "parentId": "@payload.row.id",
1181
- "createdAt": "@now"
1180
+ "createdAt": "@now",
1181
+ "parentId": "@payload.row.id"
1182
1182
  },
1183
1183
  {
1184
1184
  "emit": {
@@ -1249,8 +1249,8 @@
1249
1249
  "create",
1250
1250
  "AgentSession",
1251
1251
  {
1252
- "status": "forked",
1253
1252
  "parentId": "@payload.row.id",
1253
+ "status": "forked",
1254
1254
  "createdAt": "@now"
1255
1255
  },
1256
1256
  {
@@ -1308,8 +1308,8 @@
1308
1308
  "AgentSession",
1309
1309
  {
1310
1310
  "emit": {
1311
- "success": "AgentSessionLoaded",
1312
- "failure": "AgentSessionLoadFailed"
1311
+ "failure": "AgentSessionLoadFailed",
1312
+ "success": "AgentSessionLoaded"
1313
1313
  }
1314
1314
  }
1315
1315
  ],
@@ -1317,9 +1317,9 @@
1317
1317
  "render-ui",
1318
1318
  "main",
1319
1319
  {
1320
- "title": "Session",
1321
1320
  "type": "empty-state",
1322
1321
  "icon": "git-branch",
1322
+ "title": "Session",
1323
1323
  "description": "Session is ready"
1324
1324
  }
1325
1325
  ]
@@ -1338,9 +1338,9 @@
1338
1338
  "create",
1339
1339
  "AgentSession",
1340
1340
  {
1341
- "createdAt": "@now",
1341
+ "parentId": "@payload.row.id",
1342
1342
  "status": "forked",
1343
- "parentId": "@payload.row.id"
1343
+ "createdAt": "@now"
1344
1344
  },
1345
1345
  {
1346
1346
  "emit": {
@@ -1368,13 +1368,13 @@
1368
1368
  "update",
1369
1369
  "AgentSession",
1370
1370
  {
1371
- "id": "@payload.row.id",
1372
- "status": "ended"
1371
+ "status": "ended",
1372
+ "id": "@payload.row.id"
1373
1373
  },
1374
1374
  {
1375
1375
  "emit": {
1376
- "failure": "AgentSessionUpdateFailed",
1377
- "success": "AgentSessionUpdated"
1376
+ "success": "AgentSessionUpdated",
1377
+ "failure": "AgentSessionUpdateFailed"
1378
1378
  }
1379
1379
  }
1380
1380
  ],