@almadar/std 6.5.2 → 7.2.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 (307) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  4. package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  7. package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  8. package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  9. package/behaviors/registry/atoms/std-agent-search.orb +217 -61
  10. package/behaviors/registry/atoms/std-agent-session.orb +406 -159
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  14. package/behaviors/registry/atoms/std-async.orb +147 -86
  15. package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  16. package/behaviors/registry/atoms/std-browse.orb +260 -126
  17. package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  18. package/behaviors/registry/atoms/std-calendar.orb +280 -215
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  20. package/behaviors/registry/atoms/std-collision.orb +136 -135
  21. package/behaviors/registry/atoms/std-combat-log.orb +108 -90
  22. package/behaviors/registry/atoms/std-combat.orb +171 -98
  23. package/behaviors/registry/atoms/std-confirmation.orb +28 -300
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  25. package/behaviors/registry/atoms/std-display.orb +491 -587
  26. package/behaviors/registry/atoms/std-drawer.orb +194 -121
  27. package/behaviors/registry/atoms/std-filter.orb +311 -326
  28. package/behaviors/registry/atoms/std-flip-card.orb +223 -177
  29. package/behaviors/registry/atoms/std-gallery.orb +130 -151
  30. package/behaviors/registry/atoms/std-game-audio.orb +133 -72
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  33. package/behaviors/registry/atoms/std-game-hud.orb +87 -20
  34. package/behaviors/registry/atoms/std-game-menu.orb +32 -32
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  36. package/behaviors/registry/atoms/std-gameflow.orb +147 -80
  37. package/behaviors/registry/atoms/std-input.orb +128 -393
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  40. package/behaviors/registry/atoms/std-loading.orb +127 -126
  41. package/behaviors/registry/atoms/std-modal.orb +30 -267
  42. package/behaviors/registry/atoms/std-movement.orb +391 -292
  43. package/behaviors/registry/atoms/std-notification.orb +133 -75
  44. package/behaviors/registry/atoms/std-overworld.orb +194 -121
  45. package/behaviors/registry/atoms/std-pagination.orb +120 -53
  46. package/behaviors/registry/atoms/std-physics2d.orb +94 -93
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  48. package/behaviors/registry/atoms/std-push.orb +172 -36
  49. package/behaviors/registry/atoms/std-quest.orb +552 -449
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  51. package/behaviors/registry/atoms/std-rating.orb +123 -65
  52. package/behaviors/registry/atoms/std-related.orb +202 -26
  53. package/behaviors/registry/atoms/std-score-board.orb +109 -28
  54. package/behaviors/registry/atoms/std-score.orb +210 -146
  55. package/behaviors/registry/atoms/std-search.orb +265 -138
  56. package/behaviors/registry/atoms/std-selection.orb +311 -220
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  61. package/behaviors/registry/atoms/std-service-email.orb +195 -107
  62. package/behaviors/registry/atoms/std-service-github.orb +216 -122
  63. package/behaviors/registry/atoms/std-service-llm.orb +204 -122
  64. package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  65. package/behaviors/registry/atoms/std-service-redis.orb +177 -92
  66. package/behaviors/registry/atoms/std-service-storage.orb +211 -122
  67. package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  68. package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  69. package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  71. package/behaviors/registry/atoms/std-sort.orb +284 -207
  72. package/behaviors/registry/atoms/std-sprite.orb +150 -74
  73. package/behaviors/registry/atoms/std-tabs.orb +129 -62
  74. package/behaviors/registry/atoms/std-text-effects.orb +251 -190
  75. package/behaviors/registry/atoms/std-theme.orb +193 -135
  76. package/behaviors/registry/atoms/std-timer.orb +320 -344
  77. package/behaviors/registry/atoms/std-undo.orb +278 -199
  78. package/behaviors/registry/atoms/std-upload.orb +112 -111
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  80. package/behaviors/registry/atoms/std-wizard.orb +445 -336
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  82. package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  83. package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  84. package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  87. package/behaviors/registry/molecules/std-builder-game.orb +86 -28
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  89. package/behaviors/registry/molecules/std-cart.orb +347 -406
  90. package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  92. package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  93. package/behaviors/registry/molecules/std-detail.orb +133 -138
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  97. package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  99. package/behaviors/registry/molecules/std-geospatial.orb +175 -122
  100. package/behaviors/registry/molecules/std-inventory.orb +216 -170
  101. package/behaviors/registry/molecules/std-list.orb +280 -205
  102. package/behaviors/registry/molecules/std-messaging.orb +146 -99
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  104. package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  107. package/behaviors/registry/molecules/std-quiz.orb +322 -263
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  115. package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  117. package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  118. package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  119. package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  120. package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  121. package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  122. package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  123. package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  124. package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  125. package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  126. package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  127. package/behaviors/registry/organisms/std-cms.orb +1549 -566
  128. package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  129. package/behaviors/registry/organisms/std-crm.orb +1997 -1014
  130. package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  131. package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  132. package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  133. package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  134. package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  135. package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  136. package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  137. package/behaviors/registry/organisms/std-lms.orb +1629 -1046
  138. package/behaviors/registry/organisms/std-logic-training.orb +321 -134
  139. package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  140. package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  141. package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  142. package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  143. package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  144. package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  145. package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  146. package/behaviors/registry/organisms/std-social-feed.orb +612 -252
  147. package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  148. package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  149. package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  150. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  151. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  152. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  153. package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  154. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  155. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  156. package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  157. package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  158. package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
  159. package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
  160. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  161. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  162. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  163. package/dist/behaviors/registry/atoms/std-async.orb +147 -86
  164. package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  165. package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
  166. package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  167. package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
  168. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  169. package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
  170. package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
  171. package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
  172. package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
  173. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  174. package/dist/behaviors/registry/atoms/std-display.orb +491 -587
  175. package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
  176. package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
  177. package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
  178. package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
  179. package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
  180. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  181. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  182. package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
  183. package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
  184. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  185. package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
  186. package/dist/behaviors/registry/atoms/std-input.orb +128 -393
  187. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  188. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  189. package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
  190. package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
  191. package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
  192. package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
  193. package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
  194. package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
  195. package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
  196. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  197. package/dist/behaviors/registry/atoms/std-push.orb +172 -36
  198. package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
  199. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  200. package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
  201. package/dist/behaviors/registry/atoms/std-related.orb +202 -26
  202. package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
  203. package/dist/behaviors/registry/atoms/std-score.orb +210 -146
  204. package/dist/behaviors/registry/atoms/std-search.orb +265 -138
  205. package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
  206. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  207. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  208. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  209. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  210. package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
  211. package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
  212. package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
  213. package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  214. package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
  215. package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
  216. package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  217. package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  218. package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  219. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  220. package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
  221. package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
  222. package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
  223. package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
  224. package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
  225. package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
  226. package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
  227. package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
  228. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  229. package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
  230. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  231. package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  232. package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  233. package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  234. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  235. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  236. package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
  237. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  238. package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
  239. package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  240. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  241. package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  242. package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  246. package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  247. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  248. package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
  249. package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
  250. package/dist/behaviors/registry/molecules/std-list.orb +280 -205
  251. package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
  252. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  253. package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  254. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  255. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  256. package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
  257. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  258. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  259. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  260. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  261. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  262. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  263. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  264. package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  265. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  266. package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  267. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  268. package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  269. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  270. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  271. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  272. package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  273. package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  274. package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  275. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  276. package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
  277. package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  278. package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
  279. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  280. package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  281. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  282. package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  283. package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  284. package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  285. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  286. package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
  287. package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
  288. package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  289. package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  290. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  291. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  292. package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  293. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  294. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  295. package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
  296. package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  297. package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  298. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  299. package/dist/index.js +16 -4
  300. package/dist/index.js.map +1 -1
  301. package/dist/modules/core.js +16 -4
  302. package/dist/modules/core.js.map +1 -1
  303. package/dist/modules/index.js +16 -4
  304. package/dist/modules/index.js.map +1 -1
  305. package/dist/registry.js +16 -4
  306. package/dist/registry.js.map +1 -1
  307. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-agent-fix-loop",
3
3
  "version": "1.0.0",
4
- "description": "std-agent-fix-loop -- Validation-fix cycle",
4
+ "description": "std-agent-fix-loop as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "AgentFixLoopOrbital",
@@ -66,12 +66,12 @@
66
66
  {
67
67
  "name": "fixAttempts",
68
68
  "type": "number",
69
- "default": 0
69
+ "default": 0.0
70
70
  },
71
71
  {
72
72
  "name": "maxAttempts",
73
73
  "type": "number",
74
- "default": 5
74
+ "default": 5.0
75
75
  },
76
76
  {
77
77
  "name": "currentFix",
@@ -81,7 +81,7 @@
81
81
  {
82
82
  "name": "errorCount",
83
83
  "type": "number",
84
- "default": 0
84
+ "default": 0.0
85
85
  },
86
86
  {
87
87
  "name": "error",
@@ -91,12 +91,12 @@
91
91
  {
92
92
  "name": "currentStep",
93
93
  "type": "number",
94
- "default": 0
94
+ "default": 0.0
95
95
  },
96
96
  {
97
97
  "name": "totalSteps",
98
98
  "type": "number",
99
- "default": 4
99
+ "default": 4.0
100
100
  },
101
101
  {
102
102
  "name": "steps",
@@ -143,8 +143,8 @@
143
143
  "traits": [
144
144
  {
145
145
  "name": "AgentFixLoopCycle",
146
- "linkedEntity": "AgentFixLoop",
147
146
  "category": "interaction",
147
+ "linkedEntity": "AgentFixLoop",
148
148
  "emits": [
149
149
  {
150
150
  "event": "FIX_SUCCEEDED",
@@ -175,12 +175,18 @@
175
175
  {
176
176
  "event": "FIX_SUCCEEDED",
177
177
  "triggers": "INIT",
178
- "scope": "external"
178
+ "source": {
179
+ "kind": "trait",
180
+ "trait": "AgentFixLoopCycle"
181
+ }
179
182
  },
180
183
  {
181
184
  "event": "FIX_FAILED",
182
185
  "triggers": "INIT",
183
- "scope": "external"
186
+ "source": {
187
+ "kind": "trait",
188
+ "trait": "AgentFixLoopCycle"
189
+ }
184
190
  }
185
191
  ],
186
192
  "stateMachine": {
@@ -212,7 +218,7 @@
212
218
  },
213
219
  {
214
220
  "key": "FIX",
215
- "name": "Start Fix Loop"
221
+ "name": "Fix"
216
222
  },
217
223
  {
218
224
  "key": "VALIDATION_PASSED",
@@ -235,26 +241,22 @@
235
241
  ]
236
242
  },
237
243
  {
238
- "key": "FIX_GENERATED",
239
- "name": "Fix Generated",
244
+ "key": "EXCEEDED_ATTEMPTS",
245
+ "name": "Exceeded Attempts",
240
246
  "payload": [
241
247
  {
242
- "name": "fix",
248
+ "name": "error",
243
249
  "type": "string",
244
250
  "required": true
245
251
  }
246
252
  ]
247
253
  },
248
254
  {
249
- "key": "FIX_APPLIED",
250
- "name": "Fix Applied"
251
- },
252
- {
253
- "key": "EXCEEDED_ATTEMPTS",
254
- "name": "Exceeded Max Attempts",
255
+ "key": "FIX_GENERATED",
256
+ "name": "Fix Generated",
255
257
  "payload": [
256
258
  {
257
- "name": "error",
259
+ "name": "fix",
258
260
  "type": "string",
259
261
  "required": true
260
262
  }
@@ -271,9 +273,21 @@
271
273
  }
272
274
  ]
273
275
  },
276
+ {
277
+ "key": "FIX_APPLIED",
278
+ "name": "Fix Applied"
279
+ },
274
280
  {
275
281
  "key": "RESET",
276
282
  "name": "Reset"
283
+ },
284
+ {
285
+ "key": "FIX_SUCCEEDED",
286
+ "name": "Fix Succeeded"
287
+ },
288
+ {
289
+ "key": "FIX_FAILED",
290
+ "name": "Fix Failed"
277
291
  }
278
292
  ],
279
293
  "transitions": [
@@ -286,24 +300,24 @@
286
300
  "render-ui",
287
301
  "main",
288
302
  {
289
- "type": "stack",
290
303
  "direction": "vertical",
291
304
  "gap": "lg",
305
+ "type": "stack",
292
306
  "children": [
293
307
  {
294
- "type": "stack",
295
308
  "direction": "horizontal",
296
309
  "gap": "sm",
297
310
  "align": "center",
311
+ "type": "stack",
298
312
  "children": [
299
313
  {
300
- "type": "icon",
301
314
  "name": "wrench",
302
- "size": "lg"
315
+ "size": "lg",
316
+ "type": "icon"
303
317
  },
304
318
  {
305
- "type": "typography",
306
319
  "content": "Validation-Fix Loop",
320
+ "type": "typography",
307
321
  "variant": "h2"
308
322
  }
309
323
  ]
@@ -315,9 +329,6 @@
315
329
  "type": "card",
316
330
  "children": [
317
331
  {
318
- "type": "stack",
319
- "direction": "vertical",
320
- "gap": "md",
321
332
  "children": [
322
333
  {
323
334
  "type": "typography",
@@ -327,13 +338,16 @@
327
338
  {
328
339
  "type": "form-section",
329
340
  "entity": "AgentFixLoop",
330
- "mode": "edit",
331
341
  "submitEvent": "FIX",
342
+ "mode": "edit",
332
343
  "fields": [
333
344
  "target"
334
345
  ]
335
346
  }
336
- ]
347
+ ],
348
+ "direction": "vertical",
349
+ "type": "stack",
350
+ "gap": "md"
337
351
  }
338
352
  ]
339
353
  }
@@ -355,7 +369,7 @@
355
369
  [
356
370
  "set",
357
371
  "@entity.fixAttempts",
358
- 0
372
+ 0.0
359
373
  ],
360
374
  [
361
375
  "set",
@@ -365,7 +379,7 @@
365
379
  [
366
380
  "set",
367
381
  "@entity.errorCount",
368
- 0
382
+ 0.0
369
383
  ],
370
384
  [
371
385
  "agent/invoke",
@@ -379,28 +393,24 @@
379
393
  "main",
380
394
  {
381
395
  "type": "stack",
382
- "direction": "vertical",
383
- "gap": "lg",
384
- "align": "center",
385
396
  "children": [
386
397
  {
398
+ "size": "lg",
387
399
  "type": "icon",
388
- "name": "shield-check",
389
- "size": "lg"
400
+ "name": "shield-check"
390
401
  },
391
402
  {
392
403
  "type": "typography",
393
- "content": "Validating...",
394
- "variant": "h3"
404
+ "variant": "h3",
405
+ "content": "Validating..."
395
406
  },
396
407
  {
397
- "type": "spinner",
398
- "size": "lg"
408
+ "size": "lg",
409
+ "type": "spinner"
399
410
  },
400
411
  {
401
- "type": "stack",
402
- "direction": "horizontal",
403
412
  "gap": "md",
413
+ "type": "stack",
404
414
  "justify": "center",
405
415
  "children": [
406
416
  {
@@ -412,14 +422,24 @@
412
422
  "label": [
413
423
  "str/concat",
414
424
  "Attempt ",
415
- "@entity.fixAttempts",
425
+ [
426
+ "str/concat",
427
+ "@entity.fixAttempts"
428
+ ],
416
429
  "/",
417
- "@entity.maxAttempts"
430
+ [
431
+ "str/concat",
432
+ "@entity.maxAttempts"
433
+ ]
418
434
  ]
419
435
  }
420
- ]
436
+ ],
437
+ "direction": "horizontal"
421
438
  }
422
- ]
439
+ ],
440
+ "gap": "lg",
441
+ "direction": "vertical",
442
+ "align": "center"
423
443
  }
424
444
  ]
425
445
  ]
@@ -443,85 +463,85 @@
443
463
  "main",
444
464
  {
445
465
  "type": "stack",
446
- "direction": "vertical",
447
466
  "gap": "lg",
467
+ "direction": "vertical",
448
468
  "children": [
449
469
  {
450
- "type": "stack",
451
470
  "direction": "horizontal",
452
471
  "gap": "sm",
453
- "align": "center",
454
472
  "justify": "space-between",
455
473
  "children": [
456
474
  {
457
- "type": "stack",
458
- "direction": "horizontal",
459
- "gap": "sm",
460
475
  "align": "center",
461
476
  "children": [
462
477
  {
463
478
  "type": "icon",
464
- "name": "check-circle",
465
- "size": "lg"
479
+ "size": "lg",
480
+ "name": "check-circle"
466
481
  },
467
482
  {
468
- "type": "typography",
469
483
  "content": "Validation Passed",
470
- "variant": "h2"
484
+ "variant": "h2",
485
+ "type": "typography"
471
486
  }
472
- ]
487
+ ],
488
+ "gap": "sm",
489
+ "type": "stack",
490
+ "direction": "horizontal"
473
491
  },
474
492
  {
475
- "type": "button",
493
+ "icon": "rotate-ccw",
476
494
  "label": "New Target",
477
495
  "event": "RESET",
478
496
  "variant": "ghost",
479
- "icon": "rotate-ccw"
497
+ "type": "button"
480
498
  }
481
- ]
499
+ ],
500
+ "type": "stack",
501
+ "align": "center"
482
502
  },
483
503
  {
484
504
  "type": "divider"
485
505
  },
486
506
  {
487
- "type": "simple-grid",
488
- "cols": 2,
489
507
  "children": [
490
508
  {
491
- "type": "stat-display",
492
- "label": "Fix Attempts",
493
509
  "value": "@entity.fixAttempts",
510
+ "label": "Fix Attempts",
511
+ "type": "stat-display",
494
512
  "icon": "wrench"
495
513
  },
496
514
  {
515
+ "value": "Passed",
497
516
  "type": "stat-display",
498
517
  "label": "Status",
499
- "value": "Passed",
500
518
  "icon": "check"
501
519
  }
502
- ]
520
+ ],
521
+ "type": "simple-grid",
522
+ "cols": 2.0
503
523
  },
504
524
  {
505
- "type": "card",
506
525
  "children": [
507
526
  {
508
- "type": "stack",
509
527
  "direction": "vertical",
510
- "gap": "sm",
511
528
  "children": [
512
529
  {
513
- "type": "typography",
514
530
  "content": "Target",
515
- "variant": "caption"
531
+ "variant": "caption",
532
+ "type": "typography"
516
533
  },
517
534
  {
518
- "type": "typography",
519
535
  "content": "@entity.target",
536
+ "type": "typography",
520
537
  "variant": "body"
521
538
  }
522
- ]
539
+ ],
540
+ "type": "stack",
541
+ "gap": "sm"
523
542
  }
524
- ]
543
+ ],
544
+ "type": "card"
525
545
  }
526
546
  ]
527
547
  }
@@ -532,13 +552,6 @@
532
552
  "from": "validating",
533
553
  "to": "fixing",
534
554
  "event": "VALIDATION_ERRORS",
535
- "guards": [
536
- [
537
- "<",
538
- "@entity.fixAttempts",
539
- 5
540
- ]
541
- ],
542
555
  "effects": [
543
556
  [
544
557
  "set",
@@ -556,7 +569,7 @@
556
569
  [
557
570
  "+",
558
571
  "@entity.fixAttempts",
559
- 1
572
+ 1.0
560
573
  ]
561
574
  ],
562
575
  [
@@ -579,42 +592,43 @@
579
592
  "render-ui",
580
593
  "main",
581
594
  {
582
- "type": "stack",
583
- "direction": "vertical",
584
595
  "gap": "lg",
585
596
  "children": [
586
597
  {
587
- "type": "stack",
588
598
  "direction": "horizontal",
589
599
  "gap": "sm",
590
600
  "align": "center",
601
+ "type": "stack",
591
602
  "justify": "space-between",
592
603
  "children": [
593
604
  {
594
- "type": "stack",
595
605
  "direction": "horizontal",
596
- "gap": "sm",
597
606
  "align": "center",
607
+ "type": "stack",
608
+ "gap": "sm",
598
609
  "children": [
599
610
  {
600
- "type": "icon",
601
611
  "name": "cpu",
602
- "size": "lg"
612
+ "size": "lg",
613
+ "type": "icon"
603
614
  },
604
615
  {
605
- "type": "typography",
616
+ "variant": "h2",
606
617
  "content": "Generating fix...",
607
- "variant": "h2"
618
+ "type": "typography"
608
619
  }
609
620
  ]
610
621
  },
611
622
  {
612
- "type": "badge",
613
623
  "label": [
614
624
  "str/concat",
615
625
  "Attempt ",
616
- "@entity.fixAttempts"
617
- ]
626
+ [
627
+ "str/concat",
628
+ "@entity.fixAttempts"
629
+ ]
630
+ ],
631
+ "type": "badge"
618
632
  }
619
633
  ]
620
634
  },
@@ -626,28 +640,30 @@
626
640
  "children": [
627
641
  {
628
642
  "type": "stack",
629
- "direction": "vertical",
630
- "gap": "sm",
631
643
  "children": [
632
644
  {
645
+ "variant": "caption",
633
646
  "type": "typography",
634
- "content": "Validation Errors",
635
- "variant": "caption"
647
+ "content": "Validation Errors"
636
648
  },
637
649
  {
638
- "type": "alert",
639
650
  "variant": "error",
640
- "message": "@entity.validationErrors"
651
+ "message": "@entity.validationErrors",
652
+ "type": "alert"
641
653
  }
642
- ]
654
+ ],
655
+ "direction": "vertical",
656
+ "gap": "sm"
643
657
  }
644
658
  ]
645
659
  },
646
660
  {
647
- "type": "spinner",
648
- "size": "lg"
661
+ "size": "lg",
662
+ "type": "spinner"
649
663
  }
650
- ]
664
+ ],
665
+ "type": "stack",
666
+ "direction": "vertical"
651
667
  }
652
668
  ]
653
669
  ]
@@ -675,40 +691,37 @@
675
691
  "render-ui",
676
692
  "main",
677
693
  {
678
- "type": "stack",
679
694
  "direction": "vertical",
680
- "gap": "lg",
681
- "align": "center",
682
695
  "children": [
683
696
  {
684
697
  "type": "icon",
685
- "name": "x-circle",
686
- "size": "lg"
698
+ "size": "lg",
699
+ "name": "x-circle"
687
700
  },
688
701
  {
702
+ "variant": "h2",
689
703
  "type": "typography",
690
- "content": "Fix Loop Failed",
691
- "variant": "h2"
704
+ "content": "Fix Loop Failed"
692
705
  },
693
706
  {
707
+ "message": "@entity.error",
694
708
  "type": "alert",
695
- "variant": "error",
696
- "message": "@entity.error"
709
+ "variant": "error"
697
710
  },
698
711
  {
699
712
  "type": "simple-grid",
700
- "cols": 2,
713
+ "cols": 2.0,
701
714
  "children": [
702
715
  {
703
- "type": "stat-display",
704
716
  "label": "Attempts Used",
705
717
  "value": "@entity.fixAttempts",
718
+ "type": "stat-display",
706
719
  "icon": "wrench"
707
720
  },
708
721
  {
709
722
  "type": "stat-display",
710
- "label": "Remaining Errors",
711
723
  "value": "@entity.errorCount",
724
+ "label": "Remaining Errors",
712
725
  "icon": "alert-triangle"
713
726
  }
714
727
  ]
@@ -717,32 +730,35 @@
717
730
  "type": "card",
718
731
  "children": [
719
732
  {
720
- "type": "stack",
721
- "direction": "vertical",
722
- "gap": "sm",
723
733
  "children": [
724
734
  {
725
- "type": "typography",
726
735
  "content": "Last Validation Errors",
727
- "variant": "caption"
736
+ "variant": "caption",
737
+ "type": "typography"
728
738
  },
729
739
  {
740
+ "variant": "body",
730
741
  "type": "typography",
731
- "content": "@entity.validationErrors",
732
- "variant": "body"
742
+ "content": "@entity.validationErrors"
733
743
  }
734
- ]
744
+ ],
745
+ "type": "stack",
746
+ "direction": "vertical",
747
+ "gap": "sm"
735
748
  }
736
749
  ]
737
750
  },
738
751
  {
752
+ "icon": "rotate-ccw",
739
753
  "type": "button",
740
- "label": "Retry",
741
754
  "event": "RESET",
742
755
  "variant": "primary",
743
- "icon": "rotate-ccw"
756
+ "label": "Retry"
744
757
  }
745
- ]
758
+ ],
759
+ "type": "stack",
760
+ "gap": "lg",
761
+ "align": "center"
746
762
  }
747
763
  ]
748
764
  ]
@@ -774,10 +790,9 @@
774
790
  "render-ui",
775
791
  "main",
776
792
  {
777
- "type": "stack",
778
793
  "direction": "vertical",
779
- "gap": "lg",
780
794
  "align": "center",
795
+ "type": "stack",
781
796
  "children": [
782
797
  {
783
798
  "type": "icon",
@@ -785,21 +800,18 @@
785
800
  "size": "lg"
786
801
  },
787
802
  {
788
- "type": "typography",
789
803
  "content": "Applying fix...",
790
- "variant": "h3"
804
+ "variant": "h3",
805
+ "type": "typography"
791
806
  },
792
807
  {
793
- "type": "spinner",
794
- "size": "lg"
808
+ "size": "lg",
809
+ "type": "spinner"
795
810
  },
796
811
  {
797
- "type": "card",
798
812
  "children": [
799
813
  {
800
814
  "type": "stack",
801
- "direction": "vertical",
802
- "gap": "sm",
803
815
  "children": [
804
816
  {
805
817
  "type": "typography",
@@ -811,11 +823,110 @@
811
823
  "content": "@entity.currentFix",
812
824
  "variant": "body"
813
825
  }
814
- ]
826
+ ],
827
+ "direction": "vertical",
828
+ "gap": "sm"
815
829
  }
816
- ]
830
+ ],
831
+ "type": "card"
817
832
  }
818
- ]
833
+ ],
834
+ "gap": "lg"
835
+ }
836
+ ]
837
+ ]
838
+ },
839
+ {
840
+ "from": "fixing",
841
+ "to": "failed",
842
+ "event": "FAILED",
843
+ "effects": [
844
+ [
845
+ "set",
846
+ "@entity.error",
847
+ "@payload.error"
848
+ ],
849
+ [
850
+ "set",
851
+ "@entity.status",
852
+ "failed"
853
+ ],
854
+ [
855
+ "emit",
856
+ "FIX_FAILED"
857
+ ],
858
+ [
859
+ "render-ui",
860
+ "main",
861
+ {
862
+ "gap": "lg",
863
+ "type": "stack",
864
+ "align": "center",
865
+ "children": [
866
+ {
867
+ "name": "x-circle",
868
+ "size": "lg",
869
+ "type": "icon"
870
+ },
871
+ {
872
+ "type": "typography",
873
+ "variant": "h2",
874
+ "content": "Fix Loop Failed"
875
+ },
876
+ {
877
+ "variant": "error",
878
+ "message": "@entity.error",
879
+ "type": "alert"
880
+ },
881
+ {
882
+ "cols": 2.0,
883
+ "children": [
884
+ {
885
+ "icon": "wrench",
886
+ "value": "@entity.fixAttempts",
887
+ "type": "stat-display",
888
+ "label": "Attempts Used"
889
+ },
890
+ {
891
+ "value": "@entity.errorCount",
892
+ "icon": "alert-triangle",
893
+ "type": "stat-display",
894
+ "label": "Remaining Errors"
895
+ }
896
+ ],
897
+ "type": "simple-grid"
898
+ },
899
+ {
900
+ "children": [
901
+ {
902
+ "type": "stack",
903
+ "children": [
904
+ {
905
+ "type": "typography",
906
+ "variant": "caption",
907
+ "content": "Last Validation Errors"
908
+ },
909
+ {
910
+ "content": "@entity.validationErrors",
911
+ "variant": "body",
912
+ "type": "typography"
913
+ }
914
+ ],
915
+ "direction": "vertical",
916
+ "gap": "sm"
917
+ }
918
+ ],
919
+ "type": "card"
920
+ },
921
+ {
922
+ "event": "RESET",
923
+ "type": "button",
924
+ "icon": "rotate-ccw",
925
+ "label": "Retry",
926
+ "variant": "primary"
927
+ }
928
+ ],
929
+ "direction": "vertical"
819
930
  }
820
931
  ]
821
932
  ]
@@ -842,29 +953,27 @@
842
953
  "main",
843
954
  {
844
955
  "type": "stack",
845
- "direction": "vertical",
846
956
  "gap": "lg",
847
- "align": "center",
848
957
  "children": [
849
958
  {
850
- "type": "icon",
851
959
  "name": "shield-check",
960
+ "type": "icon",
852
961
  "size": "lg"
853
962
  },
854
963
  {
855
964
  "type": "typography",
856
- "content": "Validating...",
857
- "variant": "h3"
965
+ "variant": "h3",
966
+ "content": "Validating..."
858
967
  },
859
968
  {
860
- "type": "spinner",
861
- "size": "lg"
969
+ "size": "lg",
970
+ "type": "spinner"
862
971
  },
863
972
  {
864
973
  "type": "stack",
865
- "direction": "horizontal",
866
974
  "gap": "md",
867
975
  "justify": "center",
976
+ "direction": "horizontal",
868
977
  "children": [
869
978
  {
870
979
  "type": "badge",
@@ -875,20 +984,28 @@
875
984
  "label": [
876
985
  "str/concat",
877
986
  "Attempt ",
878
- "@entity.fixAttempts",
987
+ [
988
+ "str/concat",
989
+ "@entity.fixAttempts"
990
+ ],
879
991
  "/",
880
- "@entity.maxAttempts"
992
+ [
993
+ "str/concat",
994
+ "@entity.maxAttempts"
995
+ ]
881
996
  ]
882
997
  }
883
998
  ]
884
999
  }
885
- ]
1000
+ ],
1001
+ "align": "center",
1002
+ "direction": "vertical"
886
1003
  }
887
1004
  ]
888
1005
  ]
889
1006
  },
890
1007
  {
891
- "from": "fixing",
1008
+ "from": "applying",
892
1009
  "to": "failed",
893
1010
  "event": "FAILED",
894
1011
  "effects": [
@@ -912,167 +1029,72 @@
912
1029
  {
913
1030
  "type": "stack",
914
1031
  "direction": "vertical",
915
- "gap": "lg",
916
- "align": "center",
917
1032
  "children": [
918
1033
  {
919
1034
  "type": "icon",
920
- "name": "x-circle",
921
- "size": "lg"
1035
+ "size": "lg",
1036
+ "name": "x-circle"
922
1037
  },
923
1038
  {
924
- "type": "typography",
925
1039
  "content": "Fix Loop Failed",
1040
+ "type": "typography",
926
1041
  "variant": "h2"
927
1042
  },
928
1043
  {
929
1044
  "type": "alert",
930
- "variant": "error",
931
- "message": "@entity.error"
1045
+ "message": "@entity.error",
1046
+ "variant": "error"
932
1047
  },
933
1048
  {
934
- "type": "simple-grid",
935
- "cols": 2,
1049
+ "cols": 2.0,
936
1050
  "children": [
937
1051
  {
938
1052
  "type": "stat-display",
939
- "label": "Attempts Used",
940
1053
  "value": "@entity.fixAttempts",
1054
+ "label": "Attempts Used",
941
1055
  "icon": "wrench"
942
1056
  },
943
1057
  {
944
- "type": "stat-display",
945
- "label": "Remaining Errors",
946
1058
  "value": "@entity.errorCount",
947
- "icon": "alert-triangle"
1059
+ "icon": "alert-triangle",
1060
+ "type": "stat-display",
1061
+ "label": "Remaining Errors"
948
1062
  }
949
- ]
1063
+ ],
1064
+ "type": "simple-grid"
950
1065
  },
951
1066
  {
952
1067
  "type": "card",
953
1068
  "children": [
954
1069
  {
955
1070
  "type": "stack",
956
- "direction": "vertical",
957
- "gap": "sm",
958
1071
  "children": [
959
1072
  {
960
- "type": "typography",
961
1073
  "content": "Last Validation Errors",
962
- "variant": "caption"
963
- },
964
- {
965
1074
  "type": "typography",
966
- "content": "@entity.validationErrors",
967
- "variant": "body"
968
- }
969
- ]
970
- }
971
- ]
972
- },
973
- {
974
- "type": "button",
975
- "label": "Retry",
976
- "event": "RESET",
977
- "variant": "primary",
978
- "icon": "rotate-ccw"
979
- }
980
- ]
981
- }
982
- ]
983
- ]
984
- },
985
- {
986
- "from": "applying",
987
- "to": "failed",
988
- "event": "FAILED",
989
- "effects": [
990
- [
991
- "set",
992
- "@entity.error",
993
- "@payload.error"
994
- ],
995
- [
996
- "set",
997
- "@entity.status",
998
- "failed"
999
- ],
1000
- [
1001
- "emit",
1002
- "FIX_FAILED"
1003
- ],
1004
- [
1005
- "render-ui",
1006
- "main",
1007
- {
1008
- "type": "stack",
1009
- "direction": "vertical",
1010
- "gap": "lg",
1011
- "align": "center",
1012
- "children": [
1013
- {
1014
- "type": "icon",
1015
- "name": "x-circle",
1016
- "size": "lg"
1017
- },
1018
- {
1019
- "type": "typography",
1020
- "content": "Fix Loop Failed",
1021
- "variant": "h2"
1022
- },
1023
- {
1024
- "type": "alert",
1025
- "variant": "error",
1026
- "message": "@entity.error"
1027
- },
1028
- {
1029
- "type": "simple-grid",
1030
- "cols": 2,
1031
- "children": [
1032
- {
1033
- "type": "stat-display",
1034
- "label": "Attempts Used",
1035
- "value": "@entity.fixAttempts",
1036
- "icon": "wrench"
1037
- },
1038
- {
1039
- "type": "stat-display",
1040
- "label": "Remaining Errors",
1041
- "value": "@entity.errorCount",
1042
- "icon": "alert-triangle"
1043
- }
1044
- ]
1045
- },
1046
- {
1047
- "type": "card",
1048
- "children": [
1049
- {
1050
- "type": "stack",
1051
- "direction": "vertical",
1052
- "gap": "sm",
1053
- "children": [
1054
- {
1055
- "type": "typography",
1056
- "content": "Last Validation Errors",
1057
1075
  "variant": "caption"
1058
1076
  },
1059
1077
  {
1060
1078
  "type": "typography",
1061
- "content": "@entity.validationErrors",
1062
- "variant": "body"
1079
+ "variant": "body",
1080
+ "content": "@entity.validationErrors"
1063
1081
  }
1064
- ]
1082
+ ],
1083
+ "gap": "sm",
1084
+ "direction": "vertical"
1065
1085
  }
1066
1086
  ]
1067
1087
  },
1068
1088
  {
1069
- "type": "button",
1070
- "label": "Retry",
1089
+ "icon": "rotate-ccw",
1071
1090
  "event": "RESET",
1072
1091
  "variant": "primary",
1073
- "icon": "rotate-ccw"
1092
+ "type": "button",
1093
+ "label": "Retry"
1074
1094
  }
1075
- ]
1095
+ ],
1096
+ "align": "center",
1097
+ "gap": "lg"
1076
1098
  }
1077
1099
  ]
1078
1100
  ]
@@ -1105,12 +1127,12 @@
1105
1127
  [
1106
1128
  "set",
1107
1129
  "@entity.fixAttempts",
1108
- 0
1130
+ 0.0
1109
1131
  ],
1110
1132
  [
1111
1133
  "set",
1112
1134
  "@entity.errorCount",
1113
- 0
1135
+ 0.0
1114
1136
  ],
1115
1137
  [
1116
1138
  "set",
@@ -1121,37 +1143,35 @@
1121
1143
  "render-ui",
1122
1144
  "main",
1123
1145
  {
1124
- "type": "stack",
1125
1146
  "direction": "vertical",
1126
1147
  "gap": "lg",
1148
+ "type": "stack",
1127
1149
  "children": [
1128
1150
  {
1129
- "type": "stack",
1130
- "direction": "horizontal",
1131
- "gap": "sm",
1132
- "align": "center",
1133
1151
  "children": [
1134
1152
  {
1135
- "type": "icon",
1153
+ "size": "lg",
1136
1154
  "name": "wrench",
1137
- "size": "lg"
1155
+ "type": "icon"
1138
1156
  },
1139
1157
  {
1140
- "type": "typography",
1141
1158
  "content": "Validation-Fix Loop",
1159
+ "type": "typography",
1142
1160
  "variant": "h2"
1143
1161
  }
1144
- ]
1162
+ ],
1163
+ "gap": "sm",
1164
+ "direction": "horizontal",
1165
+ "align": "center",
1166
+ "type": "stack"
1145
1167
  },
1146
1168
  {
1147
1169
  "type": "divider"
1148
1170
  },
1149
1171
  {
1150
- "type": "card",
1151
1172
  "children": [
1152
1173
  {
1153
1174
  "type": "stack",
1154
- "direction": "vertical",
1155
1175
  "gap": "md",
1156
1176
  "children": [
1157
1177
  {
@@ -1160,17 +1180,19 @@
1160
1180
  "variant": "body"
1161
1181
  },
1162
1182
  {
1163
- "type": "form-section",
1164
- "entity": "AgentFixLoop",
1165
- "mode": "edit",
1166
- "submitEvent": "FIX",
1167
1183
  "fields": [
1168
1184
  "target"
1169
- ]
1185
+ ],
1186
+ "mode": "edit",
1187
+ "submitEvent": "FIX",
1188
+ "type": "form-section",
1189
+ "entity": "AgentFixLoop"
1170
1190
  }
1171
- ]
1191
+ ],
1192
+ "direction": "vertical"
1172
1193
  }
1173
- ]
1194
+ ],
1195
+ "type": "card"
1174
1196
  }
1175
1197
  ]
1176
1198
  }
@@ -1205,12 +1227,12 @@
1205
1227
  [
1206
1228
  "set",
1207
1229
  "@entity.fixAttempts",
1208
- 0
1230
+ 0.0
1209
1231
  ],
1210
1232
  [
1211
1233
  "set",
1212
1234
  "@entity.errorCount",
1213
- 0
1235
+ 0.0
1214
1236
  ],
1215
1237
  [
1216
1238
  "set",
@@ -1221,27 +1243,27 @@
1221
1243
  "render-ui",
1222
1244
  "main",
1223
1245
  {
1224
- "type": "stack",
1225
- "direction": "vertical",
1226
1246
  "gap": "lg",
1247
+ "direction": "vertical",
1248
+ "type": "stack",
1227
1249
  "children": [
1228
1250
  {
1229
- "type": "stack",
1230
- "direction": "horizontal",
1231
1251
  "gap": "sm",
1232
- "align": "center",
1233
1252
  "children": [
1234
1253
  {
1235
1254
  "type": "icon",
1236
- "name": "wrench",
1237
- "size": "lg"
1255
+ "size": "lg",
1256
+ "name": "wrench"
1238
1257
  },
1239
1258
  {
1240
1259
  "type": "typography",
1241
1260
  "content": "Validation-Fix Loop",
1242
1261
  "variant": "h2"
1243
1262
  }
1244
- ]
1263
+ ],
1264
+ "direction": "horizontal",
1265
+ "type": "stack",
1266
+ "align": "center"
1245
1267
  },
1246
1268
  {
1247
1269
  "type": "divider"
@@ -1250,25 +1272,25 @@
1250
1272
  "type": "card",
1251
1273
  "children": [
1252
1274
  {
1253
- "type": "stack",
1254
1275
  "direction": "vertical",
1255
- "gap": "md",
1276
+ "type": "stack",
1256
1277
  "children": [
1257
1278
  {
1258
- "type": "typography",
1259
1279
  "content": "Enter the target to validate and auto-fix",
1260
- "variant": "body"
1280
+ "variant": "body",
1281
+ "type": "typography"
1261
1282
  },
1262
1283
  {
1263
- "type": "form-section",
1264
- "entity": "AgentFixLoop",
1265
- "mode": "edit",
1266
- "submitEvent": "FIX",
1267
1284
  "fields": [
1268
1285
  "target"
1269
- ]
1286
+ ],
1287
+ "type": "form-section",
1288
+ "submitEvent": "FIX",
1289
+ "entity": "AgentFixLoop",
1290
+ "mode": "edit"
1270
1291
  }
1271
- ]
1292
+ ],
1293
+ "gap": "md"
1272
1294
  }
1273
1295
  ]
1274
1296
  }
@@ -1278,126 +1300,135 @@
1278
1300
  ]
1279
1301
  }
1280
1302
  ]
1281
- }
1303
+ },
1304
+ "scope": "collection"
1282
1305
  },
1283
1306
  {
1284
1307
  "ref": "AgentStepProgress.traits.AgentStepProgressProgress",
1285
1308
  "name": "FixLoopStepProgress",
1286
1309
  "linkedEntity": "AgentFixLoop",
1287
- "listens": [],
1288
1310
  "emitsScope": "internal",
1289
1311
  "effects": {
1290
- "INIT": [
1312
+ "FAIL": [
1291
1313
  [
1292
- "fetch",
1293
- "AgentFixLoop"
1314
+ "set",
1315
+ "@entity.status",
1316
+ "failed"
1294
1317
  ],
1295
1318
  [
1296
1319
  "render-ui",
1297
1320
  "main",
1298
1321
  {
1299
1322
  "type": "stack",
1300
- "direction": "vertical",
1301
1323
  "gap": "lg",
1324
+ "direction": "vertical",
1302
1325
  "children": [
1303
1326
  {
1304
- "type": "stack",
1305
1327
  "direction": "horizontal",
1306
- "gap": "sm",
1307
- "align": "center",
1308
1328
  "children": [
1309
1329
  {
1330
+ "name": "x-circle",
1310
1331
  "type": "icon",
1311
- "name": "list-ordered",
1312
1332
  "size": "lg"
1313
1333
  },
1314
1334
  {
1315
- "type": "typography",
1316
1335
  "content": "AgentFixLoop",
1336
+ "type": "typography",
1317
1337
  "variant": "h2"
1318
1338
  },
1319
1339
  {
1320
- "type": "badge",
1321
- "label": "Idle",
1322
- "variant": "default"
1340
+ "label": "Failed",
1341
+ "variant": "destructive",
1342
+ "type": "badge"
1323
1343
  }
1324
- ]
1344
+ ],
1345
+ "align": "center",
1346
+ "gap": "sm",
1347
+ "type": "stack"
1325
1348
  },
1326
1349
  {
1327
1350
  "type": "divider"
1328
1351
  },
1329
1352
  {
1330
- "type": "wizard-progress",
1331
- "currentStep": "@entity.currentStep",
1332
1353
  "steps": [
1333
1354
  {
1334
1355
  "id": "0",
1335
1356
  "title": "Validate"
1336
1357
  },
1337
1358
  {
1338
- "id": "1",
1339
- "title": "Analyze"
1359
+ "title": "Analyze",
1360
+ "id": "1"
1340
1361
  },
1341
1362
  {
1342
1363
  "id": "2",
1343
1364
  "title": "Fix"
1344
1365
  },
1345
1366
  {
1346
- "id": "3",
1347
- "title": "Re-validate"
1367
+ "title": "Re-validate",
1368
+ "id": "3"
1348
1369
  }
1349
- ]
1370
+ ],
1371
+ "currentStep": "@entity.currentStep",
1372
+ "type": "wizard-progress"
1373
+ },
1374
+ {
1375
+ "type": "alert",
1376
+ "variant": "error",
1377
+ "message": "Pipeline failed at the current step."
1378
+ },
1379
+ {
1380
+ "type": "stack",
1381
+ "gap": "sm",
1382
+ "children": [
1383
+ {
1384
+ "label": "Failed At Step",
1385
+ "value": "@entity.currentStep",
1386
+ "type": "stat-display"
1387
+ }
1388
+ ],
1389
+ "direction": "horizontal"
1350
1390
  },
1351
1391
  {
1392
+ "variant": "ghost",
1352
1393
  "type": "button",
1353
- "label": "Start",
1354
- "event": "START",
1355
- "variant": "primary",
1356
- "icon": "play"
1394
+ "icon": "rotate-ccw",
1395
+ "event": "RESET",
1396
+ "label": "Reset"
1357
1397
  }
1358
1398
  ]
1359
1399
  }
1360
1400
  ]
1361
1401
  ],
1362
- "START": [
1363
- [
1364
- "set",
1365
- "@entity.status",
1366
- "in_progress"
1367
- ],
1402
+ "INIT": [
1368
1403
  [
1369
- "set",
1370
- "@entity.currentStep",
1371
- 0
1404
+ "fetch",
1405
+ "AgentFixLoop"
1372
1406
  ],
1373
1407
  [
1374
1408
  "render-ui",
1375
1409
  "main",
1376
1410
  {
1377
- "type": "stack",
1378
- "direction": "vertical",
1379
- "gap": "lg",
1380
1411
  "children": [
1381
1412
  {
1382
- "type": "stack",
1383
- "direction": "horizontal",
1384
1413
  "gap": "sm",
1385
1414
  "align": "center",
1415
+ "direction": "horizontal",
1416
+ "type": "stack",
1386
1417
  "children": [
1387
1418
  {
1388
1419
  "type": "icon",
1389
- "name": "loader",
1420
+ "name": "list-ordered",
1390
1421
  "size": "lg"
1391
1422
  },
1392
1423
  {
1393
- "type": "typography",
1394
1424
  "content": "AgentFixLoop",
1395
- "variant": "h2"
1425
+ "variant": "h2",
1426
+ "type": "typography"
1396
1427
  },
1397
1428
  {
1429
+ "label": "Idle",
1398
1430
  "type": "badge",
1399
- "label": "In Progress",
1400
- "variant": "warning"
1431
+ "variant": "default"
1401
1432
  }
1402
1433
  ]
1403
1434
  },
@@ -1405,8 +1436,6 @@
1405
1436
  "type": "divider"
1406
1437
  },
1407
1438
  {
1408
- "type": "wizard-progress",
1409
- "currentStep": "@entity.currentStep",
1410
1439
  "steps": [
1411
1440
  {
1412
1441
  "id": "0",
@@ -1421,63 +1450,37 @@
1421
1450
  "title": "Fix"
1422
1451
  },
1423
1452
  {
1424
- "id": "3",
1425
- "title": "Re-validate"
1453
+ "title": "Re-validate",
1454
+ "id": "3"
1426
1455
  }
1427
- ]
1428
- },
1429
- {
1430
- "type": "stack",
1431
- "direction": "horizontal",
1432
- "gap": "sm",
1433
- "align": "center",
1434
- "children": [
1435
- {
1436
- "type": "stat-display",
1437
- "label": "Current Step",
1438
- "value": "@entity.currentStep"
1439
- },
1440
- {
1441
- "type": "stat-display",
1442
- "label": "Total Steps",
1443
- "value": "@entity.totalSteps"
1444
- }
1445
- ]
1456
+ ],
1457
+ "currentStep": "@entity.currentStep",
1458
+ "type": "wizard-progress"
1446
1459
  },
1447
1460
  {
1448
- "type": "stack",
1449
- "direction": "horizontal",
1450
- "gap": "sm",
1451
- "children": [
1452
- {
1453
- "type": "button",
1454
- "label": "Advance",
1455
- "event": "ADVANCE",
1456
- "variant": "primary",
1457
- "icon": "chevron-right"
1458
- },
1459
- {
1460
- "type": "button",
1461
- "label": "Reset",
1462
- "event": "RESET",
1463
- "variant": "ghost",
1464
- "icon": "rotate-ccw"
1465
- }
1466
- ]
1461
+ "type": "button",
1462
+ "label": "Start",
1463
+ "event": "START",
1464
+ "variant": "primary",
1465
+ "icon": "play"
1467
1466
  }
1468
- ]
1467
+ ],
1468
+ "type": "stack",
1469
+ "direction": "vertical",
1470
+ "gap": "lg"
1469
1471
  }
1470
1472
  ]
1471
1473
  ],
1472
- "ADVANCE": [
1474
+ "COMPLETE": [
1475
+ [
1476
+ "set",
1477
+ "@entity.status",
1478
+ "completed"
1479
+ ],
1473
1480
  [
1474
1481
  "set",
1475
1482
  "@entity.currentStep",
1476
- [
1477
- "+",
1478
- "@entity.currentStep",
1479
- 1
1480
- ]
1483
+ "@entity.totalSteps"
1481
1484
  ],
1482
1485
  [
1483
1486
  "render-ui",
@@ -1485,229 +1488,230 @@
1485
1488
  {
1486
1489
  "type": "stack",
1487
1490
  "direction": "vertical",
1488
- "gap": "lg",
1489
1491
  "children": [
1490
1492
  {
1491
1493
  "type": "stack",
1492
- "direction": "horizontal",
1493
- "gap": "sm",
1494
- "align": "center",
1495
1494
  "children": [
1496
1495
  {
1497
- "type": "icon",
1498
- "name": "loader",
1499
- "size": "lg"
1496
+ "name": "check-circle",
1497
+ "size": "lg",
1498
+ "type": "icon"
1500
1499
  },
1501
1500
  {
1501
+ "variant": "h2",
1502
1502
  "type": "typography",
1503
- "content": "AgentFixLoop",
1504
- "variant": "h2"
1503
+ "content": "AgentFixLoop"
1505
1504
  },
1506
1505
  {
1507
1506
  "type": "badge",
1508
- "label": "In Progress",
1509
- "variant": "warning"
1507
+ "variant": "success",
1508
+ "label": "Completed"
1510
1509
  }
1511
- ]
1510
+ ],
1511
+ "gap": "sm",
1512
+ "align": "center",
1513
+ "direction": "horizontal"
1512
1514
  },
1513
1515
  {
1514
1516
  "type": "divider"
1515
1517
  },
1516
1518
  {
1517
1519
  "type": "wizard-progress",
1518
- "currentStep": "@entity.currentStep",
1519
1520
  "steps": [
1520
1521
  {
1521
- "id": "0",
1522
- "title": "Validate"
1522
+ "title": "Validate",
1523
+ "id": "0"
1523
1524
  },
1524
1525
  {
1525
1526
  "id": "1",
1526
1527
  "title": "Analyze"
1527
1528
  },
1528
1529
  {
1529
- "id": "2",
1530
- "title": "Fix"
1530
+ "title": "Fix",
1531
+ "id": "2"
1531
1532
  },
1532
1533
  {
1533
- "id": "3",
1534
- "title": "Re-validate"
1534
+ "title": "Re-validate",
1535
+ "id": "3"
1535
1536
  }
1536
- ]
1537
+ ],
1538
+ "currentStep": "@entity.totalSteps"
1537
1539
  },
1538
1540
  {
1539
- "type": "stack",
1540
- "direction": "horizontal",
1541
- "gap": "sm",
1542
- "align": "center",
1543
- "children": [
1544
- {
1545
- "type": "stat-display",
1546
- "label": "Current Step",
1547
- "value": "@entity.currentStep"
1548
- },
1549
- {
1550
- "type": "stat-display",
1551
- "label": "Total Steps",
1552
- "value": "@entity.totalSteps"
1553
- }
1554
- ]
1541
+ "message": "All steps completed successfully.",
1542
+ "type": "alert",
1543
+ "variant": "success"
1555
1544
  },
1556
1545
  {
1557
- "type": "stack",
1558
- "direction": "horizontal",
1559
- "gap": "sm",
1560
- "children": [
1561
- {
1562
- "type": "button",
1563
- "label": "Advance",
1564
- "event": "ADVANCE",
1565
- "variant": "primary",
1566
- "icon": "chevron-right"
1567
- },
1568
- {
1569
- "type": "button",
1570
- "label": "Reset",
1571
- "event": "RESET",
1572
- "variant": "ghost",
1573
- "icon": "rotate-ccw"
1574
- }
1575
- ]
1546
+ "type": "button",
1547
+ "variant": "ghost",
1548
+ "event": "RESET",
1549
+ "icon": "rotate-ccw",
1550
+ "label": "Reset"
1576
1551
  }
1577
- ]
1552
+ ],
1553
+ "gap": "lg"
1578
1554
  }
1579
1555
  ]
1580
1556
  ],
1581
- "COMPLETE": [
1557
+ "START": [
1582
1558
  [
1583
1559
  "set",
1584
1560
  "@entity.status",
1585
- "completed"
1561
+ "in_progress"
1586
1562
  ],
1587
1563
  [
1588
1564
  "set",
1589
1565
  "@entity.currentStep",
1590
- "@entity.totalSteps"
1566
+ 0.0
1591
1567
  ],
1592
1568
  [
1593
1569
  "render-ui",
1594
1570
  "main",
1595
1571
  {
1596
- "type": "stack",
1597
- "direction": "vertical",
1598
- "gap": "lg",
1599
1572
  "children": [
1600
1573
  {
1601
- "type": "stack",
1602
- "direction": "horizontal",
1603
- "gap": "sm",
1604
1574
  "align": "center",
1605
1575
  "children": [
1606
1576
  {
1577
+ "size": "lg",
1607
1578
  "type": "icon",
1608
- "name": "check-circle",
1609
- "size": "lg"
1579
+ "name": "loader"
1610
1580
  },
1611
1581
  {
1612
1582
  "type": "typography",
1613
- "content": "AgentFixLoop",
1614
- "variant": "h2"
1583
+ "variant": "h2",
1584
+ "content": "AgentFixLoop"
1615
1585
  },
1616
1586
  {
1587
+ "variant": "warning",
1617
1588
  "type": "badge",
1618
- "label": "Completed",
1619
- "variant": "success"
1589
+ "label": "In Progress"
1620
1590
  }
1621
- ]
1591
+ ],
1592
+ "type": "stack",
1593
+ "direction": "horizontal",
1594
+ "gap": "sm"
1622
1595
  },
1623
1596
  {
1624
1597
  "type": "divider"
1625
1598
  },
1626
1599
  {
1627
- "type": "wizard-progress",
1628
- "currentStep": "@entity.totalSteps",
1600
+ "currentStep": "@entity.currentStep",
1629
1601
  "steps": [
1630
1602
  {
1631
- "id": "0",
1632
- "title": "Validate"
1603
+ "title": "Validate",
1604
+ "id": "0"
1633
1605
  },
1634
1606
  {
1635
- "id": "1",
1636
- "title": "Analyze"
1607
+ "title": "Analyze",
1608
+ "id": "1"
1637
1609
  },
1638
1610
  {
1639
- "id": "2",
1640
- "title": "Fix"
1611
+ "title": "Fix",
1612
+ "id": "2"
1641
1613
  },
1642
1614
  {
1643
- "id": "3",
1644
- "title": "Re-validate"
1615
+ "title": "Re-validate",
1616
+ "id": "3"
1645
1617
  }
1646
- ]
1618
+ ],
1619
+ "type": "wizard-progress"
1647
1620
  },
1648
1621
  {
1649
- "type": "alert",
1650
- "variant": "success",
1651
- "message": "All steps completed successfully."
1622
+ "align": "center",
1623
+ "gap": "sm",
1624
+ "direction": "horizontal",
1625
+ "type": "stack",
1626
+ "children": [
1627
+ {
1628
+ "label": "Current Step",
1629
+ "type": "stat-display",
1630
+ "value": "@entity.currentStep"
1631
+ },
1632
+ {
1633
+ "type": "stat-display",
1634
+ "label": "Total Steps",
1635
+ "value": "@entity.totalSteps"
1636
+ }
1637
+ ]
1652
1638
  },
1653
1639
  {
1654
- "type": "button",
1655
- "label": "Reset",
1656
- "event": "RESET",
1657
- "variant": "ghost",
1658
- "icon": "rotate-ccw"
1640
+ "type": "stack",
1641
+ "gap": "sm",
1642
+ "children": [
1643
+ {
1644
+ "type": "button",
1645
+ "label": "Advance",
1646
+ "variant": "primary",
1647
+ "icon": "chevron-right",
1648
+ "event": "ADVANCE"
1649
+ },
1650
+ {
1651
+ "variant": "ghost",
1652
+ "label": "Reset",
1653
+ "icon": "rotate-ccw",
1654
+ "type": "button",
1655
+ "event": "RESET"
1656
+ }
1657
+ ],
1658
+ "direction": "horizontal"
1659
1659
  }
1660
- ]
1660
+ ],
1661
+ "gap": "lg",
1662
+ "direction": "vertical",
1663
+ "type": "stack"
1661
1664
  }
1662
1665
  ]
1663
1666
  ],
1664
- "FAIL": [
1667
+ "ADVANCE": [
1665
1668
  [
1666
1669
  "set",
1667
- "@entity.status",
1668
- "failed"
1670
+ "@entity.currentStep",
1671
+ [
1672
+ "+",
1673
+ "@entity.currentStep",
1674
+ 1.0
1675
+ ]
1669
1676
  ],
1670
1677
  [
1671
1678
  "render-ui",
1672
1679
  "main",
1673
1680
  {
1674
- "type": "stack",
1675
- "direction": "vertical",
1676
- "gap": "lg",
1677
1681
  "children": [
1678
1682
  {
1679
- "type": "stack",
1680
- "direction": "horizontal",
1681
- "gap": "sm",
1682
- "align": "center",
1683
1683
  "children": [
1684
1684
  {
1685
+ "name": "loader",
1685
1686
  "type": "icon",
1686
- "name": "x-circle",
1687
1687
  "size": "lg"
1688
1688
  },
1689
1689
  {
1690
+ "variant": "h2",
1690
1691
  "type": "typography",
1691
- "content": "AgentFixLoop",
1692
- "variant": "h2"
1692
+ "content": "AgentFixLoop"
1693
1693
  },
1694
1694
  {
1695
+ "label": "In Progress",
1695
1696
  "type": "badge",
1696
- "label": "Failed",
1697
- "variant": "destructive"
1697
+ "variant": "warning"
1698
1698
  }
1699
- ]
1699
+ ],
1700
+ "type": "stack",
1701
+ "align": "center",
1702
+ "direction": "horizontal",
1703
+ "gap": "sm"
1700
1704
  },
1701
1705
  {
1702
1706
  "type": "divider"
1703
1707
  },
1704
1708
  {
1705
- "type": "wizard-progress",
1706
1709
  "currentStep": "@entity.currentStep",
1710
+ "type": "wizard-progress",
1707
1711
  "steps": [
1708
1712
  {
1709
- "id": "0",
1710
- "title": "Validate"
1713
+ "title": "Validate",
1714
+ "id": "0"
1711
1715
  },
1712
1716
  {
1713
1717
  "id": "1",
@@ -1718,36 +1722,54 @@
1718
1722
  "title": "Fix"
1719
1723
  },
1720
1724
  {
1721
- "id": "3",
1722
- "title": "Re-validate"
1725
+ "title": "Re-validate",
1726
+ "id": "3"
1723
1727
  }
1724
1728
  ]
1725
1729
  },
1726
- {
1727
- "type": "alert",
1728
- "variant": "error",
1729
- "message": "Pipeline failed at the current step."
1730
- },
1731
1730
  {
1732
1731
  "type": "stack",
1733
1732
  "direction": "horizontal",
1734
- "gap": "sm",
1733
+ "align": "center",
1735
1734
  "children": [
1736
1735
  {
1736
+ "label": "Current Step",
1737
1737
  "type": "stat-display",
1738
- "label": "Failed At Step",
1739
1738
  "value": "@entity.currentStep"
1739
+ },
1740
+ {
1741
+ "value": "@entity.totalSteps",
1742
+ "label": "Total Steps",
1743
+ "type": "stat-display"
1740
1744
  }
1741
- ]
1745
+ ],
1746
+ "gap": "sm"
1742
1747
  },
1743
1748
  {
1744
- "type": "button",
1745
- "label": "Reset",
1746
- "event": "RESET",
1747
- "variant": "ghost",
1748
- "icon": "rotate-ccw"
1749
+ "children": [
1750
+ {
1751
+ "icon": "chevron-right",
1752
+ "type": "button",
1753
+ "label": "Advance",
1754
+ "event": "ADVANCE",
1755
+ "variant": "primary"
1756
+ },
1757
+ {
1758
+ "type": "button",
1759
+ "label": "Reset",
1760
+ "event": "RESET",
1761
+ "icon": "rotate-ccw",
1762
+ "variant": "ghost"
1763
+ }
1764
+ ],
1765
+ "gap": "sm",
1766
+ "type": "stack",
1767
+ "direction": "horizontal"
1749
1768
  }
1750
- ]
1769
+ ],
1770
+ "gap": "lg",
1771
+ "type": "stack",
1772
+ "direction": "vertical"
1751
1773
  }
1752
1774
  ]
1753
1775
  ],
@@ -1760,53 +1782,49 @@
1760
1782
  [
1761
1783
  "set",
1762
1784
  "@entity.currentStep",
1763
- 0
1785
+ 0.0
1764
1786
  ],
1765
1787
  [
1766
1788
  "render-ui",
1767
1789
  "main",
1768
1790
  {
1769
- "type": "stack",
1770
- "direction": "vertical",
1771
- "gap": "lg",
1772
1791
  "children": [
1773
1792
  {
1774
- "type": "stack",
1775
- "direction": "horizontal",
1776
- "gap": "sm",
1777
1793
  "align": "center",
1778
1794
  "children": [
1779
1795
  {
1780
- "type": "icon",
1781
1796
  "name": "list-ordered",
1782
- "size": "lg"
1797
+ "size": "lg",
1798
+ "type": "icon"
1783
1799
  },
1784
1800
  {
1785
1801
  "type": "typography",
1786
- "content": "AgentFixLoop",
1787
- "variant": "h2"
1802
+ "variant": "h2",
1803
+ "content": "AgentFixLoop"
1788
1804
  },
1789
1805
  {
1806
+ "variant": "default",
1790
1807
  "type": "badge",
1791
- "label": "Idle",
1792
- "variant": "default"
1808
+ "label": "Idle"
1793
1809
  }
1794
- ]
1810
+ ],
1811
+ "gap": "sm",
1812
+ "direction": "horizontal",
1813
+ "type": "stack"
1795
1814
  },
1796
1815
  {
1797
1816
  "type": "divider"
1798
1817
  },
1799
1818
  {
1800
- "type": "wizard-progress",
1801
1819
  "currentStep": "@entity.currentStep",
1802
1820
  "steps": [
1803
1821
  {
1804
- "id": "0",
1805
- "title": "Validate"
1822
+ "title": "Validate",
1823
+ "id": "0"
1806
1824
  },
1807
1825
  {
1808
- "id": "1",
1809
- "title": "Analyze"
1826
+ "title": "Analyze",
1827
+ "id": "1"
1810
1828
  },
1811
1829
  {
1812
1830
  "id": "2",
@@ -1816,16 +1834,20 @@
1816
1834
  "id": "3",
1817
1835
  "title": "Re-validate"
1818
1836
  }
1819
- ]
1837
+ ],
1838
+ "type": "wizard-progress"
1820
1839
  },
1821
1840
  {
1841
+ "variant": "primary",
1822
1842
  "type": "button",
1823
- "label": "Start",
1824
1843
  "event": "START",
1825
- "variant": "primary",
1844
+ "label": "Start",
1826
1845
  "icon": "play"
1827
1846
  }
1828
- ]
1847
+ ],
1848
+ "gap": "lg",
1849
+ "direction": "vertical",
1850
+ "type": "stack"
1829
1851
  }
1830
1852
  ]
1831
1853
  ]
@@ -1845,94 +1867,94 @@
1845
1867
  "render-ui",
1846
1868
  "main",
1847
1869
  {
1870
+ "gap": "lg",
1848
1871
  "type": "stack",
1849
1872
  "direction": "vertical",
1850
- "gap": "lg",
1851
1873
  "className": "max-w-5xl mx-auto w-full",
1852
1874
  "children": [
1853
1875
  {
1854
- "type": "stack",
1855
- "direction": "horizontal",
1856
1876
  "gap": "md",
1857
1877
  "justify": "space-between",
1858
1878
  "align": "center",
1859
1879
  "children": [
1860
1880
  {
1861
1881
  "type": "stack",
1862
- "direction": "horizontal",
1863
- "gap": "sm",
1864
1882
  "align": "center",
1883
+ "gap": "sm",
1865
1884
  "children": [
1866
1885
  {
1867
- "type": "icon",
1868
1886
  "name": "alert-triangle",
1869
- "size": "lg"
1887
+ "size": "lg",
1888
+ "type": "icon"
1870
1889
  },
1871
1890
  {
1872
- "type": "typography",
1873
1891
  "content": "Validation Errors",
1874
- "variant": "h2"
1892
+ "variant": "h2",
1893
+ "type": "typography"
1875
1894
  }
1876
- ]
1895
+ ],
1896
+ "direction": "horizontal"
1877
1897
  }
1878
- ]
1898
+ ],
1899
+ "direction": "horizontal",
1900
+ "type": "stack"
1879
1901
  },
1880
1902
  {
1881
1903
  "type": "divider"
1882
1904
  },
1883
1905
  {
1884
- "type": "data-grid",
1885
1906
  "entity": "AgentFixLoop",
1907
+ "type": "data-grid",
1886
1908
  "emptyIcon": "inbox",
1887
1909
  "emptyTitle": "No errors",
1888
- "emptyDescription": "All validations passed.",
1889
1910
  "itemActions": [
1890
1911
  {
1891
- "label": "View",
1892
- "event": "VIEW",
1893
1912
  "variant": "ghost",
1894
- "size": "sm"
1913
+ "label": "View",
1914
+ "size": "sm",
1915
+ "event": "VIEW"
1895
1916
  }
1896
1917
  ],
1897
1918
  "columns": [
1898
1919
  {
1899
- "name": "target",
1900
1920
  "label": "Target",
1901
1921
  "variant": "h4",
1902
- "icon": "alert-triangle"
1922
+ "icon": "alert-triangle",
1923
+ "name": "target"
1903
1924
  },
1904
1925
  {
1905
1926
  "name": "errorCount",
1906
- "label": "Error Count",
1907
1927
  "variant": "badge",
1908
1928
  "colorMap": {
1909
- "active": "success",
1910
- "completed": "success",
1911
- "done": "success",
1929
+ "failed": "destructive",
1930
+ "archived": "neutral",
1912
1931
  "pending": "warning",
1913
- "draft": "warning",
1932
+ "done": "success",
1933
+ "completed": "success",
1914
1934
  "scheduled": "warning",
1915
- "inactive": "neutral",
1916
- "archived": "neutral",
1917
1935
  "disabled": "neutral",
1936
+ "inactive": "neutral",
1937
+ "draft": "warning",
1918
1938
  "error": "destructive",
1919
1939
  "cancelled": "destructive",
1920
- "failed": "destructive"
1921
- }
1940
+ "active": "success"
1941
+ },
1942
+ "label": "Error Count"
1922
1943
  },
1923
1944
  {
1924
1945
  "name": "status",
1925
- "label": "Status",
1926
- "variant": "caption"
1946
+ "variant": "caption",
1947
+ "label": "Status"
1927
1948
  }
1928
- ]
1949
+ ],
1950
+ "emptyDescription": "All validations passed."
1929
1951
  },
1930
1952
  {
1931
- "type": "floating-action-button",
1932
- "icon": "plus",
1933
- "event": "INIT",
1934
1953
  "label": "Create",
1935
- "tooltip": "Create"
1954
+ "tooltip": "Create",
1955
+ "icon": "plus",
1956
+ "type": "floating-action-button",
1957
+ "event": "INIT"
1936
1958
  }
1937
1959
  ]
1938
1960
  }
@@ -1944,7 +1966,6 @@
1944
1966
  "ref": "AgentToolCall.traits.AgentToolCallModal",
1945
1967
  "name": "FixLoopValidateCall",
1946
1968
  "linkedEntity": "AgentFixLoop",
1947
- "listens": [],
1948
1969
  "emitsScope": "internal",
1949
1970
  "effects": {
1950
1971
  "INIT": [
@@ -1956,48 +1977,48 @@
1956
1977
  "render-ui",
1957
1978
  "main",
1958
1979
  {
1980
+ "gap": "lg",
1959
1981
  "type": "stack",
1960
1982
  "direction": "vertical",
1961
- "gap": "lg",
1962
1983
  "children": [
1963
1984
  {
1964
- "type": "stack",
1965
- "direction": "horizontal",
1966
1985
  "gap": "md",
1967
- "justify": "space-between",
1986
+ "type": "stack",
1968
1987
  "children": [
1969
1988
  {
1970
- "type": "stack",
1971
1989
  "direction": "horizontal",
1972
- "gap": "md",
1973
1990
  "children": [
1974
1991
  {
1975
1992
  "type": "icon",
1976
- "name": "wrench",
1977
- "size": "lg"
1993
+ "size": "lg",
1994
+ "name": "wrench"
1978
1995
  },
1979
1996
  {
1997
+ "variant": "h2",
1980
1998
  "type": "typography",
1981
- "content": "Invoke Tool",
1982
- "variant": "h2"
1999
+ "content": "Invoke Tool"
1983
2000
  }
1984
- ]
2001
+ ],
2002
+ "type": "stack",
2003
+ "gap": "md"
1985
2004
  },
1986
2005
  {
1987
2006
  "type": "button",
1988
- "label": "Open",
1989
2007
  "event": "INVOKE",
1990
2008
  "variant": "primary",
2009
+ "label": "Open",
1991
2010
  "icon": "wrench"
1992
2011
  }
1993
- ]
2012
+ ],
2013
+ "direction": "horizontal",
2014
+ "justify": "space-between"
1994
2015
  },
1995
2016
  {
1996
2017
  "type": "divider"
1997
2018
  },
1998
2019
  {
1999
- "type": "empty-state",
2000
2020
  "icon": "wrench",
2021
+ "type": "empty-state",
2001
2022
  "title": "Nothing open",
2002
2023
  "description": "Click Open to view details in a modal overlay."
2003
2024
  }
@@ -2010,42 +2031,42 @@
2010
2031
  "render-ui",
2011
2032
  "modal",
2012
2033
  {
2013
- "type": "stack",
2014
- "direction": "vertical",
2015
- "gap": "md",
2016
2034
  "children": [
2017
2035
  {
2018
- "type": "stack",
2019
- "direction": "horizontal",
2020
- "gap": "sm",
2021
2036
  "children": [
2022
2037
  {
2023
- "type": "icon",
2024
2038
  "name": "wrench",
2025
- "size": "md"
2039
+ "size": "md",
2040
+ "type": "icon"
2026
2041
  },
2027
2042
  {
2028
2043
  "type": "typography",
2029
- "content": "Invoke Tool",
2030
- "variant": "h3"
2044
+ "variant": "h3",
2045
+ "content": "Invoke Tool"
2031
2046
  }
2032
- ]
2047
+ ],
2048
+ "gap": "sm",
2049
+ "type": "stack",
2050
+ "direction": "horizontal"
2033
2051
  },
2034
2052
  {
2035
2053
  "type": "divider"
2036
2054
  },
2037
2055
  {
2038
2056
  "type": "form-section",
2039
- "entity": "AgentFixLoop",
2040
- "mode": "create",
2041
2057
  "submitEvent": "SAVE",
2042
- "cancelEvent": "CLOSE",
2043
2058
  "fields": [
2044
2059
  "toolName",
2045
2060
  "args"
2046
- ]
2061
+ ],
2062
+ "mode": "create",
2063
+ "cancelEvent": "CLOSE",
2064
+ "entity": "AgentFixLoop"
2047
2065
  }
2048
- ]
2066
+ ],
2067
+ "direction": "vertical",
2068
+ "gap": "md",
2069
+ "type": "stack"
2049
2070
  }
2050
2071
  ]
2051
2072
  ],
@@ -2069,51 +2090,51 @@
2069
2090
  "main",
2070
2091
  {
2071
2092
  "type": "stack",
2072
- "direction": "vertical",
2073
- "gap": "lg",
2074
2093
  "children": [
2075
2094
  {
2076
- "type": "stack",
2077
- "direction": "horizontal",
2078
- "gap": "md",
2079
- "justify": "space-between",
2080
2095
  "children": [
2081
2096
  {
2082
2097
  "type": "stack",
2083
- "direction": "horizontal",
2084
- "gap": "md",
2085
2098
  "children": [
2086
2099
  {
2100
+ "size": "lg",
2087
2101
  "type": "icon",
2088
- "name": "wrench",
2089
- "size": "lg"
2102
+ "name": "wrench"
2090
2103
  },
2091
2104
  {
2092
- "type": "typography",
2093
2105
  "content": "Invoke Tool",
2094
- "variant": "h2"
2106
+ "variant": "h2",
2107
+ "type": "typography"
2095
2108
  }
2096
- ]
2109
+ ],
2110
+ "gap": "md",
2111
+ "direction": "horizontal"
2097
2112
  },
2098
2113
  {
2099
- "type": "button",
2100
- "label": "Open",
2114
+ "icon": "wrench",
2101
2115
  "event": "INVOKE",
2102
- "variant": "primary",
2103
- "icon": "wrench"
2116
+ "label": "Open",
2117
+ "type": "button",
2118
+ "variant": "primary"
2104
2119
  }
2105
- ]
2120
+ ],
2121
+ "direction": "horizontal",
2122
+ "gap": "md",
2123
+ "justify": "space-between",
2124
+ "type": "stack"
2106
2125
  },
2107
2126
  {
2108
2127
  "type": "divider"
2109
2128
  },
2110
2129
  {
2130
+ "title": "Nothing open",
2111
2131
  "type": "empty-state",
2112
2132
  "icon": "wrench",
2113
- "title": "Nothing open",
2114
2133
  "description": "Click Open to view details in a modal overlay."
2115
2134
  }
2116
- ]
2135
+ ],
2136
+ "direction": "vertical",
2137
+ "gap": "lg"
2117
2138
  }
2118
2139
  ]
2119
2140
  ],
@@ -2142,47 +2163,47 @@
2142
2163
  "main",
2143
2164
  {
2144
2165
  "type": "stack",
2145
- "direction": "vertical",
2146
2166
  "gap": "lg",
2167
+ "direction": "vertical",
2147
2168
  "children": [
2148
2169
  {
2149
2170
  "type": "stack",
2150
- "direction": "horizontal",
2151
- "gap": "md",
2152
- "justify": "space-between",
2153
2171
  "children": [
2154
2172
  {
2155
2173
  "type": "stack",
2156
2174
  "direction": "horizontal",
2157
- "gap": "md",
2158
2175
  "children": [
2159
2176
  {
2177
+ "size": "lg",
2160
2178
  "type": "icon",
2161
- "name": "wrench",
2162
- "size": "lg"
2179
+ "name": "wrench"
2163
2180
  },
2164
2181
  {
2165
- "type": "typography",
2166
2182
  "content": "Invoke Tool",
2167
- "variant": "h2"
2183
+ "variant": "h2",
2184
+ "type": "typography"
2168
2185
  }
2169
- ]
2186
+ ],
2187
+ "gap": "md"
2170
2188
  },
2171
2189
  {
2172
- "type": "button",
2173
- "label": "Open",
2174
- "event": "INVOKE",
2175
2190
  "variant": "primary",
2176
- "icon": "wrench"
2191
+ "event": "INVOKE",
2192
+ "icon": "wrench",
2193
+ "label": "Open",
2194
+ "type": "button"
2177
2195
  }
2178
- ]
2196
+ ],
2197
+ "direction": "horizontal",
2198
+ "justify": "space-between",
2199
+ "gap": "md"
2179
2200
  },
2180
2201
  {
2181
2202
  "type": "divider"
2182
2203
  },
2183
2204
  {
2184
- "type": "empty-state",
2185
2205
  "icon": "wrench",
2206
+ "type": "empty-state",
2186
2207
  "title": "Nothing open",
2187
2208
  "description": "Click Open to view details in a modal overlay."
2188
2209
  }
@@ -2196,10 +2217,19 @@
2196
2217
  "ref": "AgentToolCall.traits.AgentToolCallModal",
2197
2218
  "name": "FixLoopFixCall",
2198
2219
  "linkedEntity": "AgentFixLoop",
2199
- "listens": [],
2200
2220
  "emitsScope": "internal",
2201
2221
  "effects": {
2202
- "INIT": [
2222
+ "CLOSE": [
2223
+ [
2224
+ "render-ui",
2225
+ "modal",
2226
+ null
2227
+ ],
2228
+ [
2229
+ "notify",
2230
+ "Cancelled",
2231
+ "info"
2232
+ ],
2203
2233
  [
2204
2234
  "ref",
2205
2235
  "AgentFixLoop"
@@ -2208,52 +2238,110 @@
2208
2238
  "render-ui",
2209
2239
  "main",
2210
2240
  {
2211
- "type": "stack",
2212
- "direction": "vertical",
2213
2241
  "gap": "lg",
2242
+ "type": "stack",
2214
2243
  "children": [
2215
2244
  {
2216
- "type": "stack",
2217
- "direction": "horizontal",
2218
- "gap": "md",
2219
2245
  "justify": "space-between",
2220
2246
  "children": [
2221
2247
  {
2222
2248
  "type": "stack",
2223
2249
  "direction": "horizontal",
2224
- "gap": "md",
2225
2250
  "children": [
2226
2251
  {
2252
+ "size": "lg",
2227
2253
  "type": "icon",
2228
- "name": "wrench",
2229
- "size": "lg"
2254
+ "name": "wrench"
2230
2255
  },
2231
2256
  {
2232
2257
  "type": "typography",
2233
2258
  "content": "Invoke Tool",
2234
2259
  "variant": "h2"
2235
2260
  }
2236
- ]
2261
+ ],
2262
+ "gap": "md"
2263
+ },
2264
+ {
2265
+ "icon": "wrench",
2266
+ "label": "Open",
2267
+ "variant": "primary",
2268
+ "type": "button",
2269
+ "event": "INVOKE"
2270
+ }
2271
+ ],
2272
+ "type": "stack",
2273
+ "gap": "md",
2274
+ "direction": "horizontal"
2275
+ },
2276
+ {
2277
+ "type": "divider"
2278
+ },
2279
+ {
2280
+ "icon": "wrench",
2281
+ "title": "Nothing open",
2282
+ "description": "Click Open to view details in a modal overlay.",
2283
+ "type": "empty-state"
2284
+ }
2285
+ ],
2286
+ "direction": "vertical"
2287
+ }
2288
+ ]
2289
+ ],
2290
+ "INIT": [
2291
+ [
2292
+ "ref",
2293
+ "AgentFixLoop"
2294
+ ],
2295
+ [
2296
+ "render-ui",
2297
+ "main",
2298
+ {
2299
+ "children": [
2300
+ {
2301
+ "gap": "md",
2302
+ "children": [
2303
+ {
2304
+ "children": [
2305
+ {
2306
+ "type": "icon",
2307
+ "name": "wrench",
2308
+ "size": "lg"
2309
+ },
2310
+ {
2311
+ "variant": "h2",
2312
+ "type": "typography",
2313
+ "content": "Invoke Tool"
2314
+ }
2315
+ ],
2316
+ "gap": "md",
2317
+ "type": "stack",
2318
+ "direction": "horizontal"
2237
2319
  },
2238
2320
  {
2239
- "type": "button",
2321
+ "icon": "wrench",
2322
+ "variant": "primary",
2240
2323
  "label": "Open",
2241
2324
  "event": "INVOKE",
2242
- "variant": "primary",
2243
- "icon": "wrench"
2325
+ "type": "button"
2244
2326
  }
2245
- ]
2327
+ ],
2328
+ "type": "stack",
2329
+ "justify": "space-between",
2330
+ "direction": "horizontal"
2246
2331
  },
2247
2332
  {
2248
2333
  "type": "divider"
2249
2334
  },
2250
2335
  {
2251
- "type": "empty-state",
2252
2336
  "icon": "wrench",
2253
2337
  "title": "Nothing open",
2338
+ "type": "empty-state",
2254
2339
  "description": "Click Open to view details in a modal overlay."
2255
2340
  }
2256
- ]
2341
+ ],
2342
+ "type": "stack",
2343
+ "gap": "lg",
2344
+ "direction": "vertical"
2257
2345
  }
2258
2346
  ]
2259
2347
  ],
@@ -2262,55 +2350,60 @@
2262
2350
  "render-ui",
2263
2351
  "modal",
2264
2352
  {
2265
- "type": "stack",
2266
- "direction": "vertical",
2267
- "gap": "md",
2268
2353
  "children": [
2269
2354
  {
2270
2355
  "type": "stack",
2271
- "direction": "horizontal",
2272
- "gap": "sm",
2273
2356
  "children": [
2274
2357
  {
2358
+ "size": "md",
2275
2359
  "type": "icon",
2276
- "name": "wrench",
2277
- "size": "md"
2360
+ "name": "wrench"
2278
2361
  },
2279
2362
  {
2280
- "type": "typography",
2281
2363
  "content": "Invoke Tool",
2364
+ "type": "typography",
2282
2365
  "variant": "h3"
2283
2366
  }
2284
- ]
2367
+ ],
2368
+ "direction": "horizontal",
2369
+ "gap": "sm"
2285
2370
  },
2286
2371
  {
2287
2372
  "type": "divider"
2288
2373
  },
2289
2374
  {
2290
- "type": "form-section",
2291
- "entity": "AgentFixLoop",
2292
- "mode": "create",
2293
2375
  "submitEvent": "SAVE",
2294
2376
  "cancelEvent": "CLOSE",
2295
2377
  "fields": [
2296
2378
  "toolName",
2297
2379
  "args"
2298
- ]
2380
+ ],
2381
+ "entity": "AgentFixLoop",
2382
+ "type": "form-section",
2383
+ "mode": "create"
2299
2384
  }
2300
- ]
2385
+ ],
2386
+ "direction": "vertical",
2387
+ "gap": "md",
2388
+ "type": "stack"
2301
2389
  }
2302
2390
  ]
2303
2391
  ],
2304
- "CLOSE": [
2392
+ "SAVE": [
2393
+ [
2394
+ "persist",
2395
+ "create",
2396
+ "AgentFixLoop",
2397
+ "@payload.data"
2398
+ ],
2305
2399
  [
2306
2400
  "render-ui",
2307
2401
  "modal",
2308
2402
  null
2309
2403
  ],
2310
2404
  [
2311
- "notify",
2312
- "Cancelled",
2313
- "info"
2405
+ "emit",
2406
+ "INVOKED"
2314
2407
  ],
2315
2408
  [
2316
2409
  "ref",
@@ -2320,41 +2413,40 @@
2320
2413
  "render-ui",
2321
2414
  "main",
2322
2415
  {
2323
- "type": "stack",
2324
2416
  "direction": "vertical",
2325
- "gap": "lg",
2417
+ "type": "stack",
2326
2418
  "children": [
2327
2419
  {
2328
- "type": "stack",
2329
- "direction": "horizontal",
2330
- "gap": "md",
2331
- "justify": "space-between",
2332
2420
  "children": [
2333
2421
  {
2334
- "type": "stack",
2335
- "direction": "horizontal",
2336
- "gap": "md",
2337
2422
  "children": [
2338
2423
  {
2339
- "type": "icon",
2340
2424
  "name": "wrench",
2341
- "size": "lg"
2425
+ "size": "lg",
2426
+ "type": "icon"
2342
2427
  },
2343
2428
  {
2344
- "type": "typography",
2429
+ "variant": "h2",
2345
2430
  "content": "Invoke Tool",
2346
- "variant": "h2"
2431
+ "type": "typography"
2347
2432
  }
2348
- ]
2433
+ ],
2434
+ "direction": "horizontal",
2435
+ "gap": "md",
2436
+ "type": "stack"
2349
2437
  },
2350
2438
  {
2351
- "type": "button",
2352
- "label": "Open",
2353
- "event": "INVOKE",
2354
2439
  "variant": "primary",
2440
+ "event": "INVOKE",
2441
+ "label": "Open",
2442
+ "type": "button",
2355
2443
  "icon": "wrench"
2356
2444
  }
2357
- ]
2445
+ ],
2446
+ "direction": "horizontal",
2447
+ "justify": "space-between",
2448
+ "type": "stack",
2449
+ "gap": "md"
2358
2450
  },
2359
2451
  {
2360
2452
  "type": "divider"
@@ -2362,13 +2454,22 @@
2362
2454
  {
2363
2455
  "type": "empty-state",
2364
2456
  "icon": "wrench",
2365
- "title": "Nothing open",
2366
- "description": "Click Open to view details in a modal overlay."
2457
+ "description": "Click Open to view details in a modal overlay.",
2458
+ "title": "Nothing open"
2367
2459
  }
2368
- ]
2460
+ ],
2461
+ "gap": "lg"
2369
2462
  }
2370
2463
  ]
2371
- ],
2464
+ ]
2465
+ }
2466
+ },
2467
+ {
2468
+ "ref": "AgentCompletion.traits.AgentCompletionModal",
2469
+ "name": "FixLoopCompletionFlow",
2470
+ "linkedEntity": "AgentFixLoop",
2471
+ "emitsScope": "internal",
2472
+ "effects": {
2372
2473
  "SAVE": [
2373
2474
  [
2374
2475
  "persist",
@@ -2383,7 +2484,7 @@
2383
2484
  ],
2384
2485
  [
2385
2486
  "emit",
2386
- "INVOKED"
2487
+ "GENERATED"
2387
2488
  ],
2388
2489
  [
2389
2490
  "ref",
@@ -2393,64 +2494,55 @@
2393
2494
  "render-ui",
2394
2495
  "main",
2395
2496
  {
2396
- "type": "stack",
2397
2497
  "direction": "vertical",
2398
2498
  "gap": "lg",
2399
2499
  "children": [
2400
2500
  {
2401
2501
  "type": "stack",
2402
2502
  "direction": "horizontal",
2403
- "gap": "md",
2404
2503
  "justify": "space-between",
2405
2504
  "children": [
2406
2505
  {
2407
- "type": "stack",
2408
- "direction": "horizontal",
2409
- "gap": "md",
2410
2506
  "children": [
2411
2507
  {
2508
+ "size": "lg",
2412
2509
  "type": "icon",
2413
- "name": "wrench",
2414
- "size": "lg"
2510
+ "name": "sparkles"
2415
2511
  },
2416
2512
  {
2417
- "type": "typography",
2418
- "content": "Invoke Tool",
2419
- "variant": "h2"
2513
+ "variant": "h2",
2514
+ "content": "AgentFixLoop",
2515
+ "type": "typography"
2420
2516
  }
2421
- ]
2517
+ ],
2518
+ "gap": "md",
2519
+ "direction": "horizontal",
2520
+ "type": "stack"
2422
2521
  },
2423
2522
  {
2424
- "type": "button",
2425
- "label": "Open",
2426
- "event": "INVOKE",
2427
2523
  "variant": "primary",
2428
- "icon": "wrench"
2524
+ "icon": "sparkles",
2525
+ "label": "Open",
2526
+ "event": "GENERATE",
2527
+ "type": "button"
2429
2528
  }
2430
- ]
2529
+ ],
2530
+ "gap": "md"
2431
2531
  },
2432
2532
  {
2433
2533
  "type": "divider"
2434
2534
  },
2435
2535
  {
2436
2536
  "type": "empty-state",
2437
- "icon": "wrench",
2438
- "title": "Nothing open",
2439
- "description": "Click Open to view details in a modal overlay."
2537
+ "icon": "sparkles",
2538
+ "description": "Click Open to view details in a modal overlay.",
2539
+ "title": "Nothing open"
2440
2540
  }
2441
- ]
2541
+ ],
2542
+ "type": "stack"
2442
2543
  }
2443
2544
  ]
2444
- ]
2445
- }
2446
- },
2447
- {
2448
- "ref": "AgentCompletion.traits.AgentCompletionModal",
2449
- "name": "FixLoopCompletionFlow",
2450
- "linkedEntity": "AgentFixLoop",
2451
- "listens": [],
2452
- "emitsScope": "internal",
2453
- "effects": {
2545
+ ],
2454
2546
  "INIT": [
2455
2547
  [
2456
2548
  "ref",
@@ -2461,49 +2553,49 @@
2461
2553
  "main",
2462
2554
  {
2463
2555
  "type": "stack",
2464
- "direction": "vertical",
2465
2556
  "gap": "lg",
2557
+ "direction": "vertical",
2466
2558
  "children": [
2467
2559
  {
2468
- "type": "stack",
2469
- "direction": "horizontal",
2470
- "gap": "md",
2471
- "justify": "space-between",
2472
2560
  "children": [
2473
2561
  {
2474
- "type": "stack",
2475
- "direction": "horizontal",
2476
- "gap": "md",
2477
2562
  "children": [
2478
2563
  {
2479
- "type": "icon",
2564
+ "size": "lg",
2480
2565
  "name": "sparkles",
2481
- "size": "lg"
2566
+ "type": "icon"
2482
2567
  },
2483
2568
  {
2569
+ "variant": "h2",
2484
2570
  "type": "typography",
2485
- "content": "AgentFixLoop",
2486
- "variant": "h2"
2571
+ "content": "AgentFixLoop"
2487
2572
  }
2488
- ]
2573
+ ],
2574
+ "direction": "horizontal",
2575
+ "type": "stack",
2576
+ "gap": "md"
2489
2577
  },
2490
2578
  {
2491
2579
  "type": "button",
2492
2580
  "label": "Open",
2493
- "event": "GENERATE",
2581
+ "icon": "sparkles",
2494
2582
  "variant": "primary",
2495
- "icon": "sparkles"
2583
+ "event": "GENERATE"
2496
2584
  }
2497
- ]
2585
+ ],
2586
+ "type": "stack",
2587
+ "direction": "horizontal",
2588
+ "gap": "md",
2589
+ "justify": "space-between"
2498
2590
  },
2499
2591
  {
2500
2592
  "type": "divider"
2501
2593
  },
2502
2594
  {
2595
+ "description": "Click Open to view details in a modal overlay.",
2503
2596
  "type": "empty-state",
2504
- "icon": "sparkles",
2505
2597
  "title": "Nothing open",
2506
- "description": "Click Open to view details in a modal overlay."
2598
+ "icon": "sparkles"
2507
2599
  }
2508
2600
  ]
2509
2601
  }
@@ -2515,22 +2607,22 @@
2515
2607
  "modal",
2516
2608
  {
2517
2609
  "type": "stack",
2518
- "direction": "vertical",
2519
2610
  "gap": "md",
2611
+ "direction": "vertical",
2520
2612
  "children": [
2521
2613
  {
2522
2614
  "type": "stack",
2523
- "direction": "horizontal",
2524
2615
  "gap": "sm",
2616
+ "direction": "horizontal",
2525
2617
  "children": [
2526
2618
  {
2527
2619
  "type": "icon",
2528
- "name": "sparkles",
2529
- "size": "md"
2620
+ "size": "md",
2621
+ "name": "sparkles"
2530
2622
  },
2531
2623
  {
2532
- "type": "typography",
2533
2624
  "content": "AgentFixLoop",
2625
+ "type": "typography",
2534
2626
  "variant": "h3"
2535
2627
  }
2536
2628
  ]
@@ -2539,29 +2631,29 @@
2539
2631
  "type": "divider"
2540
2632
  },
2541
2633
  {
2542
- "type": "stack",
2543
- "direction": "horizontal",
2544
2634
  "gap": "sm",
2545
2635
  "children": [
2546
2636
  {
2547
- "type": "badge",
2548
- "label": "@entity.provider"
2637
+ "label": "@entity.provider",
2638
+ "type": "badge"
2549
2639
  },
2550
2640
  {
2551
2641
  "type": "badge",
2552
2642
  "label": "@entity.model"
2553
2643
  }
2554
- ]
2644
+ ],
2645
+ "direction": "horizontal",
2646
+ "type": "stack"
2555
2647
  },
2556
2648
  {
2557
2649
  "type": "form-section",
2558
- "entity": "AgentFixLoop",
2559
- "mode": "create",
2560
- "submitEvent": "SAVE",
2561
2650
  "cancelEvent": "CLOSE",
2562
2651
  "fields": [
2563
2652
  "prompt"
2564
- ]
2653
+ ],
2654
+ "mode": "create",
2655
+ "entity": "AgentFixLoop",
2656
+ "submitEvent": "SAVE"
2565
2657
  }
2566
2658
  ]
2567
2659
  }
@@ -2588,7 +2680,6 @@
2588
2680
  {
2589
2681
  "type": "stack",
2590
2682
  "direction": "vertical",
2591
- "gap": "lg",
2592
2683
  "children": [
2593
2684
  {
2594
2685
  "type": "stack",
@@ -2597,7 +2688,6 @@
2597
2688
  "justify": "space-between",
2598
2689
  "children": [
2599
2690
  {
2600
- "type": "stack",
2601
2691
  "direction": "horizontal",
2602
2692
  "gap": "md",
2603
2693
  "children": [
@@ -2607,91 +2697,19 @@
2607
2697
  "size": "lg"
2608
2698
  },
2609
2699
  {
2700
+ "variant": "h2",
2610
2701
  "type": "typography",
2611
- "content": "AgentFixLoop",
2612
- "variant": "h2"
2702
+ "content": "AgentFixLoop"
2613
2703
  }
2614
- ]
2704
+ ],
2705
+ "type": "stack"
2615
2706
  },
2616
2707
  {
2617
- "type": "button",
2618
- "label": "Open",
2619
- "event": "GENERATE",
2620
2708
  "variant": "primary",
2621
- "icon": "sparkles"
2622
- }
2623
- ]
2624
- },
2625
- {
2626
- "type": "divider"
2627
- },
2628
- {
2629
- "type": "empty-state",
2630
- "icon": "sparkles",
2631
- "title": "Nothing open",
2632
- "description": "Click Open to view details in a modal overlay."
2633
- }
2634
- ]
2635
- }
2636
- ]
2637
- ],
2638
- "SAVE": [
2639
- [
2640
- "persist",
2641
- "create",
2642
- "AgentFixLoop",
2643
- "@payload.data"
2644
- ],
2645
- [
2646
- "render-ui",
2647
- "modal",
2648
- null
2649
- ],
2650
- [
2651
- "emit",
2652
- "GENERATED"
2653
- ],
2654
- [
2655
- "ref",
2656
- "AgentFixLoop"
2657
- ],
2658
- [
2659
- "render-ui",
2660
- "main",
2661
- {
2662
- "type": "stack",
2663
- "direction": "vertical",
2664
- "gap": "lg",
2665
- "children": [
2666
- {
2667
- "type": "stack",
2668
- "direction": "horizontal",
2669
- "gap": "md",
2670
- "justify": "space-between",
2671
- "children": [
2672
- {
2673
- "type": "stack",
2674
- "direction": "horizontal",
2675
- "gap": "md",
2676
- "children": [
2677
- {
2678
- "type": "icon",
2679
- "name": "sparkles",
2680
- "size": "lg"
2681
- },
2682
- {
2683
- "type": "typography",
2684
- "content": "AgentFixLoop",
2685
- "variant": "h2"
2686
- }
2687
- ]
2688
- },
2689
- {
2690
2709
  "type": "button",
2691
2710
  "label": "Open",
2692
- "event": "GENERATE",
2693
- "variant": "primary",
2694
- "icon": "sparkles"
2711
+ "icon": "sparkles",
2712
+ "event": "GENERATE"
2695
2713
  }
2696
2714
  ]
2697
2715
  },
@@ -2699,12 +2717,13 @@
2699
2717
  "type": "divider"
2700
2718
  },
2701
2719
  {
2702
- "type": "empty-state",
2703
2720
  "icon": "sparkles",
2721
+ "type": "empty-state",
2704
2722
  "title": "Nothing open",
2705
2723
  "description": "Click Open to view details in a modal overlay."
2706
2724
  }
2707
- ]
2725
+ ],
2726
+ "gap": "lg"
2708
2727
  }
2709
2728
  ]
2710
2729
  ]