@almadar/std 5.0.0 → 5.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 (421) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  4. package/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  7. package/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  8. package/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  9. package/behaviors/exports/atoms/std-agent-search.orb +6 -27
  10. package/behaviors/exports/atoms/std-agent-session.orb +11 -85
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  14. package/behaviors/exports/atoms/std-async.orb +5 -8
  15. package/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  16. package/behaviors/exports/atoms/std-browse.orb +5 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  18. package/behaviors/exports/atoms/std-calendar.orb +5 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  20. package/behaviors/exports/atoms/std-collision.orb +5 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +5 -4
  22. package/behaviors/exports/atoms/std-combat.orb +5 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +10 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  25. package/behaviors/exports/atoms/std-display.orb +5 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +5 -4
  27. package/behaviors/exports/atoms/std-filter.orb +5 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +5 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +5 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +5 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  33. package/behaviors/exports/atoms/std-game-hud.orb +5 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +5 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +5 -4
  37. package/behaviors/exports/atoms/std-input.orb +5 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  40. package/behaviors/exports/atoms/std-loading.orb +5 -4
  41. package/behaviors/exports/atoms/std-modal.orb +89 -4
  42. package/behaviors/exports/atoms/std-movement.orb +5 -4
  43. package/behaviors/exports/atoms/std-notification.orb +5 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +5 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +5 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +5 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  48. package/behaviors/exports/atoms/std-quest.orb +5 -8
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  50. package/behaviors/exports/atoms/std-rating.orb +5 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +5 -4
  52. package/behaviors/exports/atoms/std-score.orb +5 -4
  53. package/behaviors/exports/atoms/std-search.orb +5 -4
  54. package/behaviors/exports/atoms/std-selection.orb +5 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  59. package/behaviors/exports/atoms/std-service-email.orb +5 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +5 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +5 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +5 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +5 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  69. package/behaviors/exports/atoms/std-sort.orb +5 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +5 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +5 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +5 -4
  73. package/behaviors/exports/atoms/std-theme.orb +5 -4
  74. package/behaviors/exports/atoms/std-timer.orb +5 -4
  75. package/behaviors/exports/atoms/std-undo.orb +5 -4
  76. package/behaviors/exports/atoms/std-upload.orb +5 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  78. package/behaviors/exports/atoms/std-wizard.orb +5 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  80. package/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  81. package/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  82. package/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  84. package/behaviors/exports/molecules/std-builder-game.orb +5 -4
  85. package/behaviors/exports/molecules/std-cart.orb +196 -307
  86. package/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  88. package/behaviors/exports/molecules/std-detail.orb +309 -467
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  91. package/behaviors/exports/molecules/std-geospatial.orb +363 -539
  92. package/behaviors/exports/molecules/std-inventory.orb +390 -720
  93. package/behaviors/exports/molecules/std-list.orb +526 -1156
  94. package/behaviors/exports/molecules/std-messaging.orb +295 -452
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +5 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  108. package/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  112. package/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  116. package/behaviors/exports/organisms/std-cms.orb +1274 -1972
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +999 -1775
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  120. package/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  122. package/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  123. package/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  124. package/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  126. package/behaviors/exports/organisms/std-lms.orb +284 -632
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  129. package/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  132. package/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  135. package/behaviors/exports/organisms/std-social-feed.orb +62 -66
  136. package/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  137. package/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  138. package/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  139. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  140. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  141. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  142. package/dist/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  143. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  144. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  145. package/dist/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  146. package/dist/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  147. package/dist/behaviors/exports/atoms/std-agent-search.orb +6 -27
  148. package/dist/behaviors/exports/atoms/std-agent-session.orb +11 -85
  149. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  150. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  151. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  152. package/dist/behaviors/exports/atoms/std-async.orb +5 -8
  153. package/dist/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  154. package/dist/behaviors/exports/atoms/std-browse.orb +5 -4
  155. package/dist/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  156. package/dist/behaviors/exports/atoms/std-calendar.orb +5 -4
  157. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  158. package/dist/behaviors/exports/atoms/std-collision.orb +5 -4
  159. package/dist/behaviors/exports/atoms/std-combat-log.orb +5 -4
  160. package/dist/behaviors/exports/atoms/std-combat.orb +5 -4
  161. package/dist/behaviors/exports/atoms/std-confirmation.orb +10 -4
  162. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  163. package/dist/behaviors/exports/atoms/std-display.orb +5 -4
  164. package/dist/behaviors/exports/atoms/std-drawer.orb +5 -4
  165. package/dist/behaviors/exports/atoms/std-filter.orb +5 -4
  166. package/dist/behaviors/exports/atoms/std-flip-card.orb +5 -4
  167. package/dist/behaviors/exports/atoms/std-gallery.orb +5 -4
  168. package/dist/behaviors/exports/atoms/std-game-audio.orb +5 -4
  169. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  170. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  171. package/dist/behaviors/exports/atoms/std-game-hud.orb +5 -4
  172. package/dist/behaviors/exports/atoms/std-game-menu.orb +5 -4
  173. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  174. package/dist/behaviors/exports/atoms/std-gameflow.orb +5 -4
  175. package/dist/behaviors/exports/atoms/std-input.orb +5 -4
  176. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  177. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  178. package/dist/behaviors/exports/atoms/std-loading.orb +5 -4
  179. package/dist/behaviors/exports/atoms/std-modal.orb +89 -4
  180. package/dist/behaviors/exports/atoms/std-movement.orb +5 -4
  181. package/dist/behaviors/exports/atoms/std-notification.orb +5 -4
  182. package/dist/behaviors/exports/atoms/std-overworld.orb +5 -4
  183. package/dist/behaviors/exports/atoms/std-pagination.orb +5 -4
  184. package/dist/behaviors/exports/atoms/std-physics2d.orb +5 -4
  185. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  186. package/dist/behaviors/exports/atoms/std-quest.orb +5 -8
  187. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  188. package/dist/behaviors/exports/atoms/std-rating.orb +5 -4
  189. package/dist/behaviors/exports/atoms/std-score-board.orb +5 -4
  190. package/dist/behaviors/exports/atoms/std-score.orb +5 -4
  191. package/dist/behaviors/exports/atoms/std-search.orb +5 -4
  192. package/dist/behaviors/exports/atoms/std-selection.orb +5 -4
  193. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  194. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  195. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  196. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  197. package/dist/behaviors/exports/atoms/std-service-email.orb +5 -4
  198. package/dist/behaviors/exports/atoms/std-service-github.orb +5 -4
  199. package/dist/behaviors/exports/atoms/std-service-llm.orb +5 -4
  200. package/dist/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  201. package/dist/behaviors/exports/atoms/std-service-redis.orb +5 -4
  202. package/dist/behaviors/exports/atoms/std-service-storage.orb +5 -4
  203. package/dist/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  204. package/dist/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  205. package/dist/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  206. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  207. package/dist/behaviors/exports/atoms/std-sort.orb +5 -4
  208. package/dist/behaviors/exports/atoms/std-sprite.orb +5 -4
  209. package/dist/behaviors/exports/atoms/std-tabs.orb +5 -4
  210. package/dist/behaviors/exports/atoms/std-text-effects.orb +5 -4
  211. package/dist/behaviors/exports/atoms/std-theme.orb +5 -4
  212. package/dist/behaviors/exports/atoms/std-timer.orb +5 -4
  213. package/dist/behaviors/exports/atoms/std-undo.orb +5 -4
  214. package/dist/behaviors/exports/atoms/std-upload.orb +5 -4
  215. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  216. package/dist/behaviors/exports/atoms/std-wizard.orb +5 -4
  217. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  218. package/dist/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  219. package/dist/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  220. package/dist/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  221. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  222. package/dist/behaviors/exports/molecules/std-builder-game.orb +5 -4
  223. package/dist/behaviors/exports/molecules/std-cart.orb +196 -307
  224. package/dist/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  225. package/dist/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  226. package/dist/behaviors/exports/molecules/std-detail.orb +309 -467
  227. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  228. package/dist/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  229. package/dist/behaviors/exports/molecules/std-geospatial.orb +363 -539
  230. package/dist/behaviors/exports/molecules/std-inventory.orb +390 -720
  231. package/dist/behaviors/exports/molecules/std-list.orb +526 -1156
  232. package/dist/behaviors/exports/molecules/std-messaging.orb +295 -452
  233. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  234. package/dist/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  235. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  236. package/dist/behaviors/exports/molecules/std-quiz.orb +5 -4
  237. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  238. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  239. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  240. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  241. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  242. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  243. package/dist/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  244. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  245. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  246. package/dist/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  247. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  248. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  249. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  250. package/dist/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  251. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  252. package/dist/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  253. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  254. package/dist/behaviors/exports/organisms/std-cms.orb +1274 -1972
  255. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  256. package/dist/behaviors/exports/organisms/std-crm.orb +999 -1775
  257. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  258. package/dist/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  259. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  260. package/dist/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  261. package/dist/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  262. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  263. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  264. package/dist/behaviors/exports/organisms/std-lms.orb +284 -632
  265. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  266. package/dist/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  267. package/dist/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  268. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  269. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  270. package/dist/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  271. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  272. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  273. package/dist/behaviors/exports/organisms/std-social-feed.orb +62 -66
  274. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  275. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  277. package/dist/behaviors/exports-reader.js.map +1 -1
  278. package/dist/behaviors/functions/index.d.ts +2192 -0
  279. package/dist/behaviors/functions/index.js.map +1 -1
  280. package/dist/behaviors/index.js.map +1 -1
  281. package/dist/behaviors/query.js.map +1 -1
  282. package/dist/exports/atoms/std-agent-activity-log.orb +5 -45
  283. package/dist/exports/atoms/std-agent-chat-thread.orb +5 -55
  284. package/dist/exports/atoms/std-agent-classifier.orb +8 -8
  285. package/dist/exports/atoms/std-agent-completion.orb +8 -8
  286. package/dist/exports/atoms/std-agent-context-window.orb +5 -4
  287. package/dist/exports/atoms/std-agent-conversation.orb +5 -71
  288. package/dist/exports/atoms/std-agent-memory.orb +13 -127
  289. package/dist/exports/atoms/std-agent-provider.orb +8 -8
  290. package/dist/exports/atoms/std-agent-search.orb +6 -27
  291. package/dist/exports/atoms/std-agent-session.orb +11 -85
  292. package/dist/exports/atoms/std-agent-step-progress.orb +5 -4
  293. package/dist/exports/atoms/std-agent-token-gauge.orb +5 -4
  294. package/dist/exports/atoms/std-agent-tool-call.orb +8 -8
  295. package/dist/exports/atoms/std-async.orb +5 -8
  296. package/dist/exports/atoms/std-autoregressive.orb +4 -2
  297. package/dist/exports/atoms/std-browse.orb +5 -4
  298. package/dist/exports/atoms/std-cache-aside.orb +5 -8
  299. package/dist/exports/atoms/std-calendar.orb +5 -4
  300. package/dist/exports/atoms/std-circuit-breaker.orb +5 -4
  301. package/dist/exports/atoms/std-collision.orb +5 -4
  302. package/dist/exports/atoms/std-combat-log.orb +5 -4
  303. package/dist/exports/atoms/std-combat.orb +5 -4
  304. package/dist/exports/atoms/std-confirmation.orb +10 -4
  305. package/dist/exports/atoms/std-dialogue-box.orb +5 -4
  306. package/dist/exports/atoms/std-display.orb +5 -4
  307. package/dist/exports/atoms/std-drawer.orb +5 -4
  308. package/dist/exports/atoms/std-filter.orb +5 -4
  309. package/dist/exports/atoms/std-flip-card.orb +5 -4
  310. package/dist/exports/atoms/std-gallery.orb +5 -4
  311. package/dist/exports/atoms/std-game-audio.orb +5 -4
  312. package/dist/exports/atoms/std-game-canvas2d.orb +4 -2
  313. package/dist/exports/atoms/std-game-canvas3d.orb +4 -2
  314. package/dist/exports/atoms/std-game-hud.orb +5 -4
  315. package/dist/exports/atoms/std-game-menu.orb +5 -4
  316. package/dist/exports/atoms/std-game-over-screen.orb +5 -4
  317. package/dist/exports/atoms/std-gameflow.orb +5 -4
  318. package/dist/exports/atoms/std-input.orb +5 -4
  319. package/dist/exports/atoms/std-inventory-panel.orb +5 -8
  320. package/dist/exports/atoms/std-isometric-canvas.orb +5 -4
  321. package/dist/exports/atoms/std-loading.orb +5 -4
  322. package/dist/exports/atoms/std-modal.orb +89 -4
  323. package/dist/exports/atoms/std-movement.orb +5 -4
  324. package/dist/exports/atoms/std-notification.orb +5 -4
  325. package/dist/exports/atoms/std-overworld.orb +5 -4
  326. package/dist/exports/atoms/std-pagination.orb +5 -4
  327. package/dist/exports/atoms/std-physics2d.orb +5 -4
  328. package/dist/exports/atoms/std-platformer-canvas.orb +5 -4
  329. package/dist/exports/atoms/std-quest.orb +5 -8
  330. package/dist/exports/atoms/std-rate-limiter.orb +5 -4
  331. package/dist/exports/atoms/std-rating.orb +5 -4
  332. package/dist/exports/atoms/std-score-board.orb +5 -4
  333. package/dist/exports/atoms/std-score.orb +5 -4
  334. package/dist/exports/atoms/std-search.orb +5 -4
  335. package/dist/exports/atoms/std-selection.orb +5 -4
  336. package/dist/exports/atoms/std-service-custom-bearer.orb +5 -15
  337. package/dist/exports/atoms/std-service-custom-header.orb +5 -17
  338. package/dist/exports/atoms/std-service-custom-noauth.orb +5 -11
  339. package/dist/exports/atoms/std-service-custom-query.orb +5 -17
  340. package/dist/exports/atoms/std-service-email.orb +5 -4
  341. package/dist/exports/atoms/std-service-github.orb +5 -4
  342. package/dist/exports/atoms/std-service-llm.orb +5 -4
  343. package/dist/exports/atoms/std-service-oauth.orb +5 -4
  344. package/dist/exports/atoms/std-service-redis.orb +5 -4
  345. package/dist/exports/atoms/std-service-storage.orb +5 -4
  346. package/dist/exports/atoms/std-service-stripe.orb +5 -4
  347. package/dist/exports/atoms/std-service-twilio.orb +5 -4
  348. package/dist/exports/atoms/std-service-youtube.orb +5 -4
  349. package/dist/exports/atoms/std-simulation-canvas.orb +5 -4
  350. package/dist/exports/atoms/std-sort.orb +5 -4
  351. package/dist/exports/atoms/std-sprite.orb +5 -4
  352. package/dist/exports/atoms/std-tabs.orb +5 -4
  353. package/dist/exports/atoms/std-text-effects.orb +5 -4
  354. package/dist/exports/atoms/std-theme.orb +5 -4
  355. package/dist/exports/atoms/std-timer.orb +5 -4
  356. package/dist/exports/atoms/std-undo.orb +5 -4
  357. package/dist/exports/atoms/std-upload.orb +5 -4
  358. package/dist/exports/atoms/std-validate-on-save.orb +5 -32
  359. package/dist/exports/atoms/std-wizard.orb +5 -4
  360. package/dist/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  361. package/dist/exports/molecules/std-agent-learner.orb +608 -938
  362. package/dist/exports/molecules/std-agent-planner.orb +613 -961
  363. package/dist/exports/molecules/std-agent-rag.orb +586 -915
  364. package/dist/exports/molecules/std-agent-tool-loop.orb +915 -2846
  365. package/dist/exports/molecules/std-builder-game.orb +5 -4
  366. package/dist/exports/molecules/std-cart.orb +196 -307
  367. package/dist/exports/molecules/std-classifier-game.orb +5 -4
  368. package/dist/exports/molecules/std-debugger-game.orb +5 -4
  369. package/dist/exports/molecules/std-detail.orb +309 -467
  370. package/dist/exports/molecules/std-event-handler-game.orb +5 -4
  371. package/dist/exports/molecules/std-form-advanced.orb +5 -8
  372. package/dist/exports/molecules/std-geospatial.orb +363 -539
  373. package/dist/exports/molecules/std-inventory.orb +390 -720
  374. package/dist/exports/molecules/std-list.orb +526 -1156
  375. package/dist/exports/molecules/std-messaging.orb +295 -452
  376. package/dist/exports/molecules/std-negotiator-game.orb +5 -4
  377. package/dist/exports/molecules/std-platformer-game.orb +5 -4
  378. package/dist/exports/molecules/std-puzzle-game.orb +5 -4
  379. package/dist/exports/molecules/std-quiz.orb +5 -4
  380. package/dist/exports/molecules/std-sequencer-game.orb +5 -4
  381. package/dist/exports/molecules/std-service-content-pipeline.orb +5 -4
  382. package/dist/exports/molecules/std-service-custom-api-tester.orb +5 -42
  383. package/dist/exports/molecules/std-service-devops-toolkit.orb +5 -4
  384. package/dist/exports/molecules/std-service-notification-hub.orb +5 -4
  385. package/dist/exports/molecules/std-service-payment-flow.orb +5 -4
  386. package/dist/exports/molecules/std-simulator-game.orb +5 -4
  387. package/dist/exports/molecules/std-turn-based-battle.orb +5 -4
  388. package/dist/exports/organisms/std-agent-assistant.orb +15 -143
  389. package/dist/exports/organisms/std-agent-builder.orb +814 -1476
  390. package/dist/exports/organisms/std-agent-pipeline.orb +785 -1567
  391. package/dist/exports/organisms/std-agent-reviewer.orb +299 -502
  392. package/dist/exports/organisms/std-agent-tutor.orb +306 -493
  393. package/dist/exports/organisms/std-api-gateway.orb +284 -626
  394. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  395. package/dist/exports/organisms/std-booking-system.orb +1422 -2160
  396. package/dist/exports/organisms/std-cicd-pipeline.orb +274 -617
  397. package/dist/exports/organisms/std-cms.orb +1274 -1972
  398. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  399. package/dist/exports/organisms/std-crm.orb +999 -1775
  400. package/dist/exports/organisms/std-devops-dashboard.orb +284 -638
  401. package/dist/exports/organisms/std-ecommerce.orb +1653 -2398
  402. package/dist/exports/organisms/std-finance-tracker.orb +340 -684
  403. package/dist/exports/organisms/std-healthcare.orb +984 -1838
  404. package/dist/exports/organisms/std-helpdesk.orb +340 -744
  405. package/dist/exports/organisms/std-hr-portal.orb +1401 -2151
  406. package/dist/exports/organisms/std-iot-dashboard.orb +284 -626
  407. package/dist/exports/organisms/std-lms.orb +284 -632
  408. package/dist/exports/organisms/std-logic-training.orb +4 -4
  409. package/dist/exports/organisms/std-platformer-app.orb +15 -98
  410. package/dist/exports/organisms/std-project-manager.orb +970 -1774
  411. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  412. package/dist/exports/organisms/std-realtime-chat.orb +364 -714
  413. package/dist/exports/organisms/std-rpg-game.orb +15 -102
  414. package/dist/exports/organisms/std-service-marketplace.orb +1589 -2361
  415. package/dist/exports/organisms/std-service-research-assistant.orb +4 -15
  416. package/dist/exports/organisms/std-social-feed.orb +62 -66
  417. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  418. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  419. package/dist/exports/organisms/std-trading-dashboard.orb +274 -620
  420. package/dist/index.js.map +1 -1
  421. package/package.json +2 -2
@@ -1,8 +1,28 @@
1
1
  {
2
- "name": "AgentFixLoopOrbital",
2
+ "name": "std-agent-fix-loop",
3
+ "version": "1.0.0",
4
+ "description": "std-agent-fix-loop -- Validation-fix cycle",
3
5
  "orbitals": [
4
6
  {
5
7
  "name": "AgentFixLoopOrbital",
8
+ "uses": [
9
+ {
10
+ "from": "std/behaviors/std-agent-completion",
11
+ "as": "AgentCompletion"
12
+ },
13
+ {
14
+ "from": "std/behaviors/std-agent-step-progress",
15
+ "as": "AgentStepProgress"
16
+ },
17
+ {
18
+ "from": "std/behaviors/std-agent-tool-call",
19
+ "as": "AgentToolCall"
20
+ },
21
+ {
22
+ "from": "std/behaviors/std-browse",
23
+ "as": "Browse"
24
+ }
25
+ ],
6
26
  "entity": {
7
27
  "name": "AgentFixLoop",
8
28
  "persistence": "runtime",
@@ -1276,471 +1296,289 @@
1276
1296
  }
1277
1297
  },
1278
1298
  {
1299
+ "ref": "AgentStepProgress.traits.AgentStepProgressProgress",
1279
1300
  "name": "FixLoopStepProgress",
1280
1301
  "linkedEntity": "AgentFixLoop",
1281
- "category": "interaction",
1282
- "emits": [
1283
- {
1284
- "event": "ADVANCE",
1285
- "scope": "internal",
1286
- "payload": [
1287
- {
1288
- "name": "step",
1289
- "type": "number"
1290
- }
1291
- ]
1292
- },
1293
- {
1294
- "event": "COMPLETE",
1295
- "scope": "internal",
1296
- "payload": [
1297
- {
1298
- "name": "totalSteps",
1299
- "type": "number"
1300
- }
1301
- ]
1302
- },
1303
- {
1304
- "event": "FAIL",
1305
- "scope": "internal",
1306
- "payload": [
1307
- {
1308
- "name": "step",
1309
- "type": "number"
1310
- }
1311
- ]
1312
- }
1313
- ],
1314
1302
  "listens": [],
1315
- "stateMachine": {
1316
- "states": [
1317
- {
1318
- "name": "idle",
1319
- "isInitial": true
1320
- },
1321
- {
1322
- "name": "in_progress"
1323
- },
1324
- {
1325
- "name": "completed"
1326
- },
1327
- {
1328
- "name": "failed"
1329
- }
1330
- ],
1331
- "events": [
1332
- {
1333
- "key": "INIT",
1334
- "name": "Initialize"
1335
- },
1336
- {
1337
- "key": "START",
1338
- "name": "Start Pipeline"
1339
- },
1340
- {
1341
- "key": "ADVANCE",
1342
- "name": "Advance Step"
1343
- },
1344
- {
1345
- "key": "COMPLETE",
1346
- "name": "Complete Pipeline"
1347
- },
1348
- {
1349
- "key": "FAIL",
1350
- "name": "Pipeline Failed"
1351
- },
1352
- {
1353
- "key": "RESET",
1354
- "name": "Reset Pipeline"
1355
- }
1356
- ],
1357
- "transitions": [
1358
- {
1359
- "from": "idle",
1360
- "to": "idle",
1361
- "event": "INIT",
1362
- "effects": [
1363
- [
1364
- "fetch",
1365
- "AgentFixLoop"
1366
- ],
1367
- [
1368
- "render-ui",
1369
- "main",
1303
+ "emitsScope": "internal",
1304
+ "effects": {
1305
+ "INIT": [
1306
+ [
1307
+ "fetch",
1308
+ "AgentFixLoop"
1309
+ ],
1310
+ [
1311
+ "render-ui",
1312
+ "main",
1313
+ {
1314
+ "type": "stack",
1315
+ "direction": "vertical",
1316
+ "gap": "lg",
1317
+ "children": [
1370
1318
  {
1371
1319
  "type": "stack",
1372
- "direction": "vertical",
1373
- "gap": "lg",
1320
+ "direction": "horizontal",
1321
+ "gap": "sm",
1322
+ "align": "center",
1374
1323
  "children": [
1375
1324
  {
1376
- "type": "stack",
1377
- "direction": "horizontal",
1378
- "gap": "sm",
1379
- "align": "center",
1380
- "children": [
1381
- {
1382
- "type": "icon",
1383
- "name": "list-ordered",
1384
- "size": "lg"
1385
- },
1386
- {
1387
- "type": "typography",
1388
- "content": "AgentFixLoop",
1389
- "variant": "h2"
1390
- },
1391
- {
1392
- "type": "badge",
1393
- "label": "Idle",
1394
- "variant": "default"
1395
- }
1396
- ]
1325
+ "type": "icon",
1326
+ "name": "list-ordered",
1327
+ "size": "lg"
1397
1328
  },
1398
1329
  {
1399
- "type": "divider"
1330
+ "type": "typography",
1331
+ "content": "AgentFixLoop",
1332
+ "variant": "h2"
1400
1333
  },
1401
1334
  {
1402
- "type": "wizard-progress",
1403
- "currentStep": "@entity.currentStep",
1404
- "steps": [
1405
- {
1406
- "id": "0",
1407
- "title": "Validate"
1408
- },
1409
- {
1410
- "id": "1",
1411
- "title": "Analyze"
1412
- },
1413
- {
1414
- "id": "2",
1415
- "title": "Fix"
1416
- },
1417
- {
1418
- "id": "3",
1419
- "title": "Re-validate"
1420
- }
1421
- ]
1335
+ "type": "badge",
1336
+ "label": "Idle",
1337
+ "variant": "default"
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ "type": "divider"
1343
+ },
1344
+ {
1345
+ "type": "wizard-progress",
1346
+ "currentStep": "@entity.currentStep",
1347
+ "steps": [
1348
+ {
1349
+ "id": "0",
1350
+ "title": "Validate"
1422
1351
  },
1423
1352
  {
1424
- "type": "button",
1425
- "label": "Start",
1426
- "event": "START",
1427
- "variant": "primary",
1428
- "icon": "play"
1353
+ "id": "1",
1354
+ "title": "Analyze"
1355
+ },
1356
+ {
1357
+ "id": "2",
1358
+ "title": "Fix"
1359
+ },
1360
+ {
1361
+ "id": "3",
1362
+ "title": "Re-validate"
1429
1363
  }
1430
1364
  ]
1365
+ },
1366
+ {
1367
+ "type": "button",
1368
+ "label": "Start",
1369
+ "event": "START",
1370
+ "variant": "primary",
1371
+ "icon": "play"
1431
1372
  }
1432
1373
  ]
1433
- ]
1434
- },
1435
- {
1436
- "from": "idle",
1437
- "to": "in_progress",
1438
- "event": "START",
1439
- "effects": [
1440
- [
1441
- "set",
1442
- "@entity.status",
1443
- "in_progress"
1444
- ],
1445
- [
1446
- "set",
1447
- "@entity.currentStep",
1448
- 0
1449
- ],
1450
- [
1451
- "render-ui",
1452
- "main",
1374
+ }
1375
+ ]
1376
+ ],
1377
+ "START": [
1378
+ [
1379
+ "set",
1380
+ "@entity.status",
1381
+ "in_progress"
1382
+ ],
1383
+ [
1384
+ "set",
1385
+ "@entity.currentStep",
1386
+ 0
1387
+ ],
1388
+ [
1389
+ "render-ui",
1390
+ "main",
1391
+ {
1392
+ "type": "stack",
1393
+ "direction": "vertical",
1394
+ "gap": "lg",
1395
+ "children": [
1453
1396
  {
1454
1397
  "type": "stack",
1455
- "direction": "vertical",
1456
- "gap": "lg",
1398
+ "direction": "horizontal",
1399
+ "gap": "sm",
1400
+ "align": "center",
1457
1401
  "children": [
1458
1402
  {
1459
- "type": "stack",
1460
- "direction": "horizontal",
1461
- "gap": "sm",
1462
- "align": "center",
1463
- "children": [
1464
- {
1465
- "type": "icon",
1466
- "name": "loader",
1467
- "size": "lg"
1468
- },
1469
- {
1470
- "type": "typography",
1471
- "content": "AgentFixLoop",
1472
- "variant": "h2"
1473
- },
1474
- {
1475
- "type": "badge",
1476
- "label": "In Progress",
1477
- "variant": "warning"
1478
- }
1479
- ]
1403
+ "type": "icon",
1404
+ "name": "loader",
1405
+ "size": "lg"
1480
1406
  },
1481
1407
  {
1482
- "type": "divider"
1408
+ "type": "typography",
1409
+ "content": "AgentFixLoop",
1410
+ "variant": "h2"
1483
1411
  },
1484
1412
  {
1485
- "type": "wizard-progress",
1486
- "currentStep": "@entity.currentStep",
1487
- "steps": [
1488
- {
1489
- "id": "0",
1490
- "title": "Validate"
1491
- },
1492
- {
1493
- "id": "1",
1494
- "title": "Analyze"
1495
- },
1496
- {
1497
- "id": "2",
1498
- "title": "Fix"
1499
- },
1500
- {
1501
- "id": "3",
1502
- "title": "Re-validate"
1503
- }
1504
- ]
1413
+ "type": "badge",
1414
+ "label": "In Progress",
1415
+ "variant": "warning"
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "type": "divider"
1421
+ },
1422
+ {
1423
+ "type": "wizard-progress",
1424
+ "currentStep": "@entity.currentStep",
1425
+ "steps": [
1426
+ {
1427
+ "id": "0",
1428
+ "title": "Validate"
1505
1429
  },
1506
1430
  {
1507
- "type": "stack",
1508
- "direction": "horizontal",
1509
- "gap": "sm",
1510
- "align": "center",
1511
- "children": [
1512
- {
1513
- "type": "stat-display",
1514
- "label": "Current Step",
1515
- "value": "@entity.currentStep"
1516
- },
1517
- {
1518
- "type": "stat-display",
1519
- "label": "Total Steps",
1520
- "value": "@entity.totalSteps"
1521
- }
1522
- ]
1431
+ "id": "1",
1432
+ "title": "Analyze"
1523
1433
  },
1524
1434
  {
1525
- "type": "stack",
1526
- "direction": "horizontal",
1527
- "gap": "sm",
1528
- "children": [
1529
- {
1530
- "type": "button",
1531
- "label": "Advance",
1532
- "event": "ADVANCE",
1533
- "variant": "primary",
1534
- "icon": "chevron-right"
1535
- },
1536
- {
1537
- "type": "button",
1538
- "label": "Reset",
1539
- "event": "RESET",
1540
- "variant": "ghost",
1541
- "icon": "rotate-ccw"
1542
- }
1543
- ]
1435
+ "id": "2",
1436
+ "title": "Fix"
1437
+ },
1438
+ {
1439
+ "id": "3",
1440
+ "title": "Re-validate"
1544
1441
  }
1545
1442
  ]
1546
- }
1547
- ]
1548
- ]
1549
- },
1550
- {
1551
- "from": "in_progress",
1552
- "to": "in_progress",
1553
- "event": "ADVANCE",
1554
- "guard": [
1555
- "<",
1556
- "@entity.currentStep",
1557
- "@entity.totalSteps"
1558
- ],
1559
- "effects": [
1560
- [
1561
- "set",
1562
- "@entity.currentStep",
1563
- [
1564
- "+",
1565
- "@entity.currentStep",
1566
- 1
1567
- ]
1568
- ],
1569
- [
1570
- "render-ui",
1571
- "main",
1443
+ },
1572
1444
  {
1573
1445
  "type": "stack",
1574
- "direction": "vertical",
1575
- "gap": "lg",
1446
+ "direction": "horizontal",
1447
+ "gap": "sm",
1448
+ "align": "center",
1576
1449
  "children": [
1577
1450
  {
1578
- "type": "stack",
1579
- "direction": "horizontal",
1580
- "gap": "sm",
1581
- "align": "center",
1582
- "children": [
1583
- {
1584
- "type": "icon",
1585
- "name": "loader",
1586
- "size": "lg"
1587
- },
1588
- {
1589
- "type": "typography",
1590
- "content": "AgentFixLoop",
1591
- "variant": "h2"
1592
- },
1593
- {
1594
- "type": "badge",
1595
- "label": "In Progress",
1596
- "variant": "warning"
1597
- }
1598
- ]
1451
+ "type": "stat-display",
1452
+ "label": "Current Step",
1453
+ "value": "@entity.currentStep"
1599
1454
  },
1600
1455
  {
1601
- "type": "divider"
1456
+ "type": "stat-display",
1457
+ "label": "Total Steps",
1458
+ "value": "@entity.totalSteps"
1459
+ }
1460
+ ]
1461
+ },
1462
+ {
1463
+ "type": "stack",
1464
+ "direction": "horizontal",
1465
+ "gap": "sm",
1466
+ "children": [
1467
+ {
1468
+ "type": "button",
1469
+ "label": "Advance",
1470
+ "event": "ADVANCE",
1471
+ "variant": "primary",
1472
+ "icon": "chevron-right"
1602
1473
  },
1603
1474
  {
1604
- "type": "wizard-progress",
1605
- "currentStep": "@entity.currentStep",
1606
- "steps": [
1607
- {
1608
- "id": "0",
1609
- "title": "Validate"
1610
- },
1611
- {
1612
- "id": "1",
1613
- "title": "Analyze"
1614
- },
1615
- {
1616
- "id": "2",
1617
- "title": "Fix"
1618
- },
1619
- {
1620
- "id": "3",
1621
- "title": "Re-validate"
1622
- }
1623
- ]
1624
- },
1625
- {
1626
- "type": "stack",
1627
- "direction": "horizontal",
1628
- "gap": "sm",
1629
- "align": "center",
1630
- "children": [
1631
- {
1632
- "type": "stat-display",
1633
- "label": "Current Step",
1634
- "value": "@entity.currentStep"
1635
- },
1636
- {
1637
- "type": "stat-display",
1638
- "label": "Total Steps",
1639
- "value": "@entity.totalSteps"
1640
- }
1641
- ]
1642
- },
1643
- {
1644
- "type": "stack",
1645
- "direction": "horizontal",
1646
- "gap": "sm",
1647
- "children": [
1648
- {
1649
- "type": "button",
1650
- "label": "Advance",
1651
- "event": "ADVANCE",
1652
- "variant": "primary",
1653
- "icon": "chevron-right"
1654
- },
1655
- {
1656
- "type": "button",
1657
- "label": "Reset",
1658
- "event": "RESET",
1659
- "variant": "ghost",
1660
- "icon": "rotate-ccw"
1661
- }
1662
- ]
1475
+ "type": "button",
1476
+ "label": "Reset",
1477
+ "event": "RESET",
1478
+ "variant": "ghost",
1479
+ "icon": "rotate-ccw"
1663
1480
  }
1664
1481
  ]
1665
1482
  }
1666
1483
  ]
1484
+ }
1485
+ ]
1486
+ ],
1487
+ "ADVANCE": [
1488
+ [
1489
+ "set",
1490
+ "@entity.currentStep",
1491
+ [
1492
+ "+",
1493
+ "@entity.currentStep",
1494
+ 1
1667
1495
  ]
1668
- },
1669
- {
1670
- "from": "in_progress",
1671
- "to": "completed",
1672
- "event": "COMPLETE",
1673
- "effects": [
1674
- [
1675
- "set",
1676
- "@entity.status",
1677
- "completed"
1678
- ],
1679
- [
1680
- "set",
1681
- "@entity.currentStep",
1682
- "@entity.totalSteps"
1683
- ],
1684
- [
1685
- "render-ui",
1686
- "main",
1496
+ ],
1497
+ [
1498
+ "render-ui",
1499
+ "main",
1500
+ {
1501
+ "type": "stack",
1502
+ "direction": "vertical",
1503
+ "gap": "lg",
1504
+ "children": [
1687
1505
  {
1688
1506
  "type": "stack",
1689
- "direction": "vertical",
1690
- "gap": "lg",
1507
+ "direction": "horizontal",
1508
+ "gap": "sm",
1509
+ "align": "center",
1691
1510
  "children": [
1692
1511
  {
1693
- "type": "stack",
1694
- "direction": "horizontal",
1695
- "gap": "sm",
1696
- "align": "center",
1697
- "children": [
1698
- {
1699
- "type": "icon",
1700
- "name": "check-circle",
1701
- "size": "lg"
1702
- },
1703
- {
1704
- "type": "typography",
1705
- "content": "AgentFixLoop",
1706
- "variant": "h2"
1707
- },
1708
- {
1709
- "type": "badge",
1710
- "label": "Completed",
1711
- "variant": "success"
1712
- }
1713
- ]
1512
+ "type": "icon",
1513
+ "name": "loader",
1514
+ "size": "lg"
1714
1515
  },
1715
1516
  {
1716
- "type": "divider"
1517
+ "type": "typography",
1518
+ "content": "AgentFixLoop",
1519
+ "variant": "h2"
1717
1520
  },
1718
1521
  {
1719
- "type": "wizard-progress",
1720
- "currentStep": "@entity.totalSteps",
1721
- "steps": [
1722
- {
1723
- "id": "0",
1724
- "title": "Validate"
1725
- },
1726
- {
1727
- "id": "1",
1728
- "title": "Analyze"
1729
- },
1730
- {
1731
- "id": "2",
1732
- "title": "Fix"
1733
- },
1734
- {
1735
- "id": "3",
1736
- "title": "Re-validate"
1737
- }
1738
- ]
1522
+ "type": "badge",
1523
+ "label": "In Progress",
1524
+ "variant": "warning"
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "type": "divider"
1530
+ },
1531
+ {
1532
+ "type": "wizard-progress",
1533
+ "currentStep": "@entity.currentStep",
1534
+ "steps": [
1535
+ {
1536
+ "id": "0",
1537
+ "title": "Validate"
1739
1538
  },
1740
1539
  {
1741
- "type": "alert",
1742
- "variant": "success",
1743
- "message": "All steps completed successfully."
1540
+ "id": "1",
1541
+ "title": "Analyze"
1542
+ },
1543
+ {
1544
+ "id": "2",
1545
+ "title": "Fix"
1546
+ },
1547
+ {
1548
+ "id": "3",
1549
+ "title": "Re-validate"
1550
+ }
1551
+ ]
1552
+ },
1553
+ {
1554
+ "type": "stack",
1555
+ "direction": "horizontal",
1556
+ "gap": "sm",
1557
+ "align": "center",
1558
+ "children": [
1559
+ {
1560
+ "type": "stat-display",
1561
+ "label": "Current Step",
1562
+ "value": "@entity.currentStep"
1563
+ },
1564
+ {
1565
+ "type": "stat-display",
1566
+ "label": "Total Steps",
1567
+ "value": "@entity.totalSteps"
1568
+ }
1569
+ ]
1570
+ },
1571
+ {
1572
+ "type": "stack",
1573
+ "direction": "horizontal",
1574
+ "gap": "sm",
1575
+ "children": [
1576
+ {
1577
+ "type": "button",
1578
+ "label": "Advance",
1579
+ "event": "ADVANCE",
1580
+ "variant": "primary",
1581
+ "icon": "chevron-right"
1744
1582
  },
1745
1583
  {
1746
1584
  "type": "button",
@@ -1752,1545 +1590,1140 @@
1752
1590
  ]
1753
1591
  }
1754
1592
  ]
1755
- ]
1756
- },
1757
- {
1758
- "from": "in_progress",
1759
- "to": "failed",
1760
- "event": "FAIL",
1761
- "effects": [
1762
- [
1763
- "set",
1764
- "@entity.status",
1765
- "failed"
1766
- ],
1767
- [
1768
- "render-ui",
1769
- "main",
1593
+ }
1594
+ ]
1595
+ ],
1596
+ "COMPLETE": [
1597
+ [
1598
+ "set",
1599
+ "@entity.status",
1600
+ "completed"
1601
+ ],
1602
+ [
1603
+ "set",
1604
+ "@entity.currentStep",
1605
+ "@entity.totalSteps"
1606
+ ],
1607
+ [
1608
+ "render-ui",
1609
+ "main",
1610
+ {
1611
+ "type": "stack",
1612
+ "direction": "vertical",
1613
+ "gap": "lg",
1614
+ "children": [
1770
1615
  {
1771
1616
  "type": "stack",
1772
- "direction": "vertical",
1773
- "gap": "lg",
1617
+ "direction": "horizontal",
1618
+ "gap": "sm",
1619
+ "align": "center",
1774
1620
  "children": [
1775
1621
  {
1776
- "type": "stack",
1777
- "direction": "horizontal",
1778
- "gap": "sm",
1779
- "align": "center",
1780
- "children": [
1781
- {
1782
- "type": "icon",
1783
- "name": "x-circle",
1784
- "size": "lg"
1785
- },
1786
- {
1787
- "type": "typography",
1788
- "content": "AgentFixLoop",
1789
- "variant": "h2"
1790
- },
1791
- {
1792
- "type": "badge",
1793
- "label": "Failed",
1794
- "variant": "destructive"
1795
- }
1796
- ]
1622
+ "type": "icon",
1623
+ "name": "check-circle",
1624
+ "size": "lg"
1797
1625
  },
1798
1626
  {
1799
- "type": "divider"
1627
+ "type": "typography",
1628
+ "content": "AgentFixLoop",
1629
+ "variant": "h2"
1800
1630
  },
1801
1631
  {
1802
- "type": "wizard-progress",
1803
- "currentStep": "@entity.currentStep",
1804
- "steps": [
1805
- {
1806
- "id": "0",
1807
- "title": "Validate"
1808
- },
1809
- {
1810
- "id": "1",
1811
- "title": "Analyze"
1812
- },
1813
- {
1814
- "id": "2",
1815
- "title": "Fix"
1816
- },
1817
- {
1818
- "id": "3",
1819
- "title": "Re-validate"
1820
- }
1821
- ]
1632
+ "type": "badge",
1633
+ "label": "Completed",
1634
+ "variant": "success"
1635
+ }
1636
+ ]
1637
+ },
1638
+ {
1639
+ "type": "divider"
1640
+ },
1641
+ {
1642
+ "type": "wizard-progress",
1643
+ "currentStep": "@entity.totalSteps",
1644
+ "steps": [
1645
+ {
1646
+ "id": "0",
1647
+ "title": "Validate"
1822
1648
  },
1823
1649
  {
1824
- "type": "alert",
1825
- "variant": "error",
1826
- "message": "Pipeline failed at the current step."
1650
+ "id": "1",
1651
+ "title": "Analyze"
1827
1652
  },
1828
1653
  {
1829
- "type": "stack",
1830
- "direction": "horizontal",
1831
- "gap": "sm",
1832
- "children": [
1833
- {
1834
- "type": "stat-display",
1835
- "label": "Failed At Step",
1836
- "value": "@entity.currentStep"
1837
- }
1838
- ]
1654
+ "id": "2",
1655
+ "title": "Fix"
1839
1656
  },
1840
1657
  {
1841
- "type": "button",
1842
- "label": "Reset",
1843
- "event": "RESET",
1844
- "variant": "ghost",
1845
- "icon": "rotate-ccw"
1658
+ "id": "3",
1659
+ "title": "Re-validate"
1846
1660
  }
1847
1661
  ]
1662
+ },
1663
+ {
1664
+ "type": "alert",
1665
+ "variant": "success",
1666
+ "message": "All steps completed successfully."
1667
+ },
1668
+ {
1669
+ "type": "button",
1670
+ "label": "Reset",
1671
+ "event": "RESET",
1672
+ "variant": "ghost",
1673
+ "icon": "rotate-ccw"
1848
1674
  }
1849
1675
  ]
1850
- ]
1851
- },
1852
- {
1853
- "from": "idle",
1854
- "to": "idle",
1855
- "event": "RESET",
1856
- "effects": [
1857
- [
1858
- "set",
1859
- "@entity.status",
1860
- "idle"
1861
- ],
1862
- [
1863
- "set",
1864
- "@entity.currentStep",
1865
- 0
1866
- ],
1867
- [
1868
- "render-ui",
1869
- "main",
1676
+ }
1677
+ ]
1678
+ ],
1679
+ "FAIL": [
1680
+ [
1681
+ "set",
1682
+ "@entity.status",
1683
+ "failed"
1684
+ ],
1685
+ [
1686
+ "render-ui",
1687
+ "main",
1688
+ {
1689
+ "type": "stack",
1690
+ "direction": "vertical",
1691
+ "gap": "lg",
1692
+ "children": [
1870
1693
  {
1871
1694
  "type": "stack",
1872
- "direction": "vertical",
1873
- "gap": "lg",
1695
+ "direction": "horizontal",
1696
+ "gap": "sm",
1697
+ "align": "center",
1874
1698
  "children": [
1875
1699
  {
1876
- "type": "stack",
1877
- "direction": "horizontal",
1878
- "gap": "sm",
1879
- "align": "center",
1880
- "children": [
1881
- {
1882
- "type": "icon",
1883
- "name": "list-ordered",
1884
- "size": "lg"
1885
- },
1886
- {
1887
- "type": "typography",
1888
- "content": "AgentFixLoop",
1889
- "variant": "h2"
1890
- },
1891
- {
1892
- "type": "badge",
1893
- "label": "Idle",
1894
- "variant": "default"
1895
- }
1896
- ]
1700
+ "type": "icon",
1701
+ "name": "x-circle",
1702
+ "size": "lg"
1897
1703
  },
1898
1704
  {
1899
- "type": "divider"
1705
+ "type": "typography",
1706
+ "content": "AgentFixLoop",
1707
+ "variant": "h2"
1900
1708
  },
1901
1709
  {
1902
- "type": "wizard-progress",
1903
- "currentStep": "@entity.currentStep",
1904
- "steps": [
1905
- {
1906
- "id": "0",
1907
- "title": "Validate"
1908
- },
1909
- {
1910
- "id": "1",
1911
- "title": "Analyze"
1912
- },
1913
- {
1914
- "id": "2",
1915
- "title": "Fix"
1916
- },
1917
- {
1918
- "id": "3",
1919
- "title": "Re-validate"
1920
- }
1921
- ]
1922
- },
1923
- {
1924
- "type": "button",
1925
- "label": "Start",
1926
- "event": "START",
1927
- "variant": "primary",
1928
- "icon": "play"
1710
+ "type": "badge",
1711
+ "label": "Failed",
1712
+ "variant": "destructive"
1929
1713
  }
1930
1714
  ]
1931
- }
1932
- ]
1933
- ]
1934
- },
1935
- {
1936
- "from": "in_progress",
1937
- "to": "idle",
1938
- "event": "RESET",
1939
- "effects": [
1940
- [
1941
- "set",
1942
- "@entity.status",
1943
- "idle"
1944
- ],
1945
- [
1946
- "set",
1947
- "@entity.currentStep",
1948
- 0
1949
- ],
1950
- [
1951
- "render-ui",
1952
- "main",
1715
+ },
1953
1716
  {
1954
- "type": "stack",
1955
- "direction": "vertical",
1956
- "gap": "lg",
1957
- "children": [
1717
+ "type": "divider"
1718
+ },
1719
+ {
1720
+ "type": "wizard-progress",
1721
+ "currentStep": "@entity.currentStep",
1722
+ "steps": [
1958
1723
  {
1959
- "type": "stack",
1960
- "direction": "horizontal",
1961
- "gap": "sm",
1962
- "align": "center",
1963
- "children": [
1964
- {
1965
- "type": "icon",
1966
- "name": "list-ordered",
1967
- "size": "lg"
1968
- },
1969
- {
1970
- "type": "typography",
1971
- "content": "AgentFixLoop",
1972
- "variant": "h2"
1973
- },
1974
- {
1975
- "type": "badge",
1976
- "label": "Idle",
1977
- "variant": "default"
1978
- }
1979
- ]
1724
+ "id": "0",
1725
+ "title": "Validate"
1980
1726
  },
1981
1727
  {
1982
- "type": "divider"
1728
+ "id": "1",
1729
+ "title": "Analyze"
1983
1730
  },
1984
1731
  {
1985
- "type": "wizard-progress",
1986
- "currentStep": "@entity.currentStep",
1987
- "steps": [
1988
- {
1989
- "id": "0",
1990
- "title": "Validate"
1991
- },
1992
- {
1993
- "id": "1",
1994
- "title": "Analyze"
1995
- },
1996
- {
1997
- "id": "2",
1998
- "title": "Fix"
1999
- },
2000
- {
2001
- "id": "3",
2002
- "title": "Re-validate"
2003
- }
2004
- ]
1732
+ "id": "2",
1733
+ "title": "Fix"
2005
1734
  },
2006
1735
  {
2007
- "type": "button",
2008
- "label": "Start",
2009
- "event": "START",
2010
- "variant": "primary",
2011
- "icon": "play"
1736
+ "id": "3",
1737
+ "title": "Re-validate"
1738
+ }
1739
+ ]
1740
+ },
1741
+ {
1742
+ "type": "alert",
1743
+ "variant": "error",
1744
+ "message": "Pipeline failed at the current step."
1745
+ },
1746
+ {
1747
+ "type": "stack",
1748
+ "direction": "horizontal",
1749
+ "gap": "sm",
1750
+ "children": [
1751
+ {
1752
+ "type": "stat-display",
1753
+ "label": "Failed At Step",
1754
+ "value": "@entity.currentStep"
2012
1755
  }
2013
1756
  ]
1757
+ },
1758
+ {
1759
+ "type": "button",
1760
+ "label": "Reset",
1761
+ "event": "RESET",
1762
+ "variant": "ghost",
1763
+ "icon": "rotate-ccw"
2014
1764
  }
2015
1765
  ]
2016
- ]
2017
- },
2018
- {
2019
- "from": "completed",
2020
- "to": "idle",
2021
- "event": "RESET",
2022
- "effects": [
2023
- [
2024
- "set",
2025
- "@entity.status",
2026
- "idle"
2027
- ],
2028
- [
2029
- "set",
2030
- "@entity.currentStep",
2031
- 0
2032
- ],
2033
- [
2034
- "render-ui",
2035
- "main",
1766
+ }
1767
+ ]
1768
+ ],
1769
+ "RESET": [
1770
+ [
1771
+ "set",
1772
+ "@entity.status",
1773
+ "idle"
1774
+ ],
1775
+ [
1776
+ "set",
1777
+ "@entity.currentStep",
1778
+ 0
1779
+ ],
1780
+ [
1781
+ "render-ui",
1782
+ "main",
1783
+ {
1784
+ "type": "stack",
1785
+ "direction": "vertical",
1786
+ "gap": "lg",
1787
+ "children": [
2036
1788
  {
2037
1789
  "type": "stack",
2038
- "direction": "vertical",
2039
- "gap": "lg",
1790
+ "direction": "horizontal",
1791
+ "gap": "sm",
1792
+ "align": "center",
2040
1793
  "children": [
2041
1794
  {
2042
- "type": "stack",
2043
- "direction": "horizontal",
2044
- "gap": "sm",
2045
- "align": "center",
2046
- "children": [
2047
- {
2048
- "type": "icon",
2049
- "name": "list-ordered",
2050
- "size": "lg"
2051
- },
2052
- {
2053
- "type": "typography",
2054
- "content": "AgentFixLoop",
2055
- "variant": "h2"
2056
- },
2057
- {
2058
- "type": "badge",
2059
- "label": "Idle",
2060
- "variant": "default"
2061
- }
2062
- ]
2063
- },
2064
- {
2065
- "type": "divider"
1795
+ "type": "icon",
1796
+ "name": "list-ordered",
1797
+ "size": "lg"
2066
1798
  },
2067
1799
  {
2068
- "type": "wizard-progress",
2069
- "currentStep": "@entity.currentStep",
2070
- "steps": [
2071
- {
2072
- "id": "0",
2073
- "title": "Validate"
2074
- },
2075
- {
2076
- "id": "1",
2077
- "title": "Analyze"
2078
- },
2079
- {
2080
- "id": "2",
2081
- "title": "Fix"
2082
- },
2083
- {
2084
- "id": "3",
2085
- "title": "Re-validate"
2086
- }
2087
- ]
1800
+ "type": "typography",
1801
+ "content": "AgentFixLoop",
1802
+ "variant": "h2"
2088
1803
  },
2089
1804
  {
2090
- "type": "button",
2091
- "label": "Start",
2092
- "event": "START",
2093
- "variant": "primary",
2094
- "icon": "play"
1805
+ "type": "badge",
1806
+ "label": "Idle",
1807
+ "variant": "default"
2095
1808
  }
2096
1809
  ]
2097
- }
2098
- ]
2099
- ]
2100
- },
2101
- {
2102
- "from": "failed",
2103
- "to": "idle",
2104
- "event": "RESET",
2105
- "effects": [
2106
- [
2107
- "set",
2108
- "@entity.status",
2109
- "idle"
2110
- ],
2111
- [
2112
- "set",
2113
- "@entity.currentStep",
2114
- 0
2115
- ],
2116
- [
2117
- "render-ui",
2118
- "main",
1810
+ },
2119
1811
  {
2120
- "type": "stack",
2121
- "direction": "vertical",
2122
- "gap": "lg",
2123
- "children": [
1812
+ "type": "divider"
1813
+ },
1814
+ {
1815
+ "type": "wizard-progress",
1816
+ "currentStep": "@entity.currentStep",
1817
+ "steps": [
2124
1818
  {
2125
- "type": "stack",
2126
- "direction": "horizontal",
2127
- "gap": "sm",
2128
- "align": "center",
2129
- "children": [
2130
- {
2131
- "type": "icon",
2132
- "name": "list-ordered",
2133
- "size": "lg"
2134
- },
2135
- {
2136
- "type": "typography",
2137
- "content": "AgentFixLoop",
2138
- "variant": "h2"
2139
- },
2140
- {
2141
- "type": "badge",
2142
- "label": "Idle",
2143
- "variant": "default"
2144
- }
2145
- ]
1819
+ "id": "0",
1820
+ "title": "Validate"
2146
1821
  },
2147
1822
  {
2148
- "type": "divider"
1823
+ "id": "1",
1824
+ "title": "Analyze"
2149
1825
  },
2150
1826
  {
2151
- "type": "wizard-progress",
2152
- "currentStep": "@entity.currentStep",
2153
- "steps": [
2154
- {
2155
- "id": "0",
2156
- "title": "Validate"
2157
- },
2158
- {
2159
- "id": "1",
2160
- "title": "Analyze"
2161
- },
2162
- {
2163
- "id": "2",
2164
- "title": "Fix"
2165
- },
2166
- {
2167
- "id": "3",
2168
- "title": "Re-validate"
2169
- }
2170
- ]
1827
+ "id": "2",
1828
+ "title": "Fix"
2171
1829
  },
2172
1830
  {
2173
- "type": "button",
2174
- "label": "Start",
2175
- "event": "START",
2176
- "variant": "primary",
2177
- "icon": "play"
1831
+ "id": "3",
1832
+ "title": "Re-validate"
2178
1833
  }
2179
1834
  ]
1835
+ },
1836
+ {
1837
+ "type": "button",
1838
+ "label": "Start",
1839
+ "event": "START",
1840
+ "variant": "primary",
1841
+ "icon": "play"
2180
1842
  }
2181
1843
  ]
2182
- ]
2183
- }
1844
+ }
1845
+ ]
2184
1846
  ]
2185
1847
  }
2186
1848
  },
2187
1849
  {
1850
+ "ref": "Browse.traits.BrowseItemBrowse",
2188
1851
  "name": "FixLoopErrorsBrowse",
2189
1852
  "linkedEntity": "AgentFixLoop",
2190
- "category": "interaction",
2191
- "stateMachine": {
2192
- "states": [
2193
- {
2194
- "name": "browsing",
2195
- "isInitial": true
2196
- }
2197
- ],
2198
- "events": [
2199
- {
2200
- "key": "INIT",
2201
- "name": "Initialize"
2202
- },
2203
- {
2204
- "key": "VIEW",
2205
- "name": "VIEW",
2206
- "payload": [
2207
- {
2208
- "name": "id",
2209
- "type": "string",
2210
- "required": true
2211
- },
2212
- {
2213
- "name": "row",
2214
- "type": "object"
2215
- }
2216
- ]
2217
- }
2218
- ],
2219
- "transitions": [
2220
- {
2221
- "from": "browsing",
2222
- "to": "browsing",
2223
- "event": "INIT",
2224
- "effects": [
2225
- [
2226
- "ref",
2227
- "AgentFixLoop"
2228
- ],
2229
- [
2230
- "render-ui",
2231
- "main",
1853
+ "effects": {
1854
+ "INIT": [
1855
+ [
1856
+ "ref",
1857
+ "AgentFixLoop"
1858
+ ],
1859
+ [
1860
+ "render-ui",
1861
+ "main",
1862
+ {
1863
+ "type": "stack",
1864
+ "direction": "vertical",
1865
+ "gap": "lg",
1866
+ "className": "max-w-5xl mx-auto w-full",
1867
+ "children": [
2232
1868
  {
2233
1869
  "type": "stack",
2234
- "direction": "vertical",
2235
- "gap": "lg",
2236
- "className": "max-w-5xl mx-auto w-full",
1870
+ "direction": "horizontal",
1871
+ "gap": "md",
1872
+ "justify": "space-between",
1873
+ "align": "center",
2237
1874
  "children": [
2238
1875
  {
2239
- "type": "stack",
2240
- "direction": "horizontal",
2241
- "gap": "md",
2242
- "justify": "space-between",
2243
- "align": "center",
2244
- "children": [
2245
- {
2246
- "type": "stack",
2247
- "direction": "horizontal",
2248
- "gap": "sm",
2249
- "align": "center",
2250
- "children": [
2251
- {
2252
- "type": "icon",
2253
- "name": "alert-triangle",
2254
- "size": "lg"
2255
- },
2256
- {
2257
- "type": "typography",
2258
- "content": "Validation Errors",
2259
- "variant": "h2"
2260
- }
2261
- ]
2262
- }
2263
- ]
2264
- },
2265
- {
2266
- "type": "divider"
2267
- },
2268
- {
2269
- "type": "data-grid",
2270
- "entity": "AgentFixLoop",
2271
- "emptyIcon": "inbox",
2272
- "emptyTitle": "No errors",
2273
- "emptyDescription": "All validations passed.",
2274
- "itemActions": [
2275
- {
2276
- "label": "View",
2277
- "event": "VIEW",
2278
- "variant": "ghost",
2279
- "size": "sm"
2280
- }
2281
- ],
2282
- "columns": [
2283
- {
2284
- "name": "target",
2285
- "label": "Target",
2286
- "variant": "h4",
2287
- "icon": "alert-triangle"
2288
- },
2289
- {
2290
- "name": "errorCount",
2291
- "label": "Error Count",
2292
- "variant": "badge",
2293
- "colorMap": {
2294
- "active": "success",
2295
- "completed": "success",
2296
- "done": "success",
2297
- "pending": "warning",
2298
- "draft": "warning",
2299
- "scheduled": "warning",
2300
- "inactive": "neutral",
2301
- "archived": "neutral",
2302
- "disabled": "neutral",
2303
- "error": "destructive",
2304
- "cancelled": "destructive",
2305
- "failed": "destructive"
2306
- }
2307
- },
2308
- {
2309
- "name": "status",
2310
- "label": "Status",
2311
- "variant": "caption"
2312
- }
2313
- ]
2314
- },
2315
- {
2316
- "type": "floating-action-button",
2317
- "icon": "plus",
2318
- "event": "INIT",
2319
- "label": "Create",
2320
- "tooltip": "Create"
2321
- }
2322
- ]
2323
- }
2324
- ]
2325
- ]
2326
- }
2327
- ]
2328
- }
2329
- },
2330
- {
2331
- "name": "FixLoopValidateCall",
2332
- "linkedEntity": "AgentFixLoop",
2333
- "category": "interaction",
2334
- "emits": [
2335
- {
2336
- "event": "INVOKED",
2337
- "scope": "internal"
2338
- }
2339
- ],
2340
- "stateMachine": {
2341
- "states": [
2342
- {
2343
- "name": "closed",
2344
- "isInitial": true
2345
- },
2346
- {
2347
- "name": "open"
2348
- }
2349
- ],
2350
- "events": [
2351
- {
2352
- "key": "INIT",
2353
- "name": "Initialize"
2354
- },
2355
- {
2356
- "key": "INVOKE",
2357
- "name": "Open"
2358
- },
2359
- {
2360
- "key": "CLOSE",
2361
- "name": "Close"
2362
- },
2363
- {
2364
- "key": "SAVE",
2365
- "name": "Save",
2366
- "payload": [
2367
- {
2368
- "name": "data",
2369
- "type": "object",
2370
- "required": true
2371
- }
2372
- ]
2373
- }
2374
- ],
2375
- "transitions": [
2376
- {
2377
- "from": "closed",
2378
- "to": "closed",
2379
- "event": "INIT",
2380
- "effects": [
2381
- [
2382
- "ref",
2383
- "AgentFixLoop"
2384
- ],
2385
- [
2386
- "render-ui",
2387
- "main",
2388
- {
2389
- "type": "stack",
2390
- "direction": "vertical",
2391
- "gap": "lg",
2392
- "children": [
2393
- {
2394
- "type": "stack",
2395
- "direction": "horizontal",
2396
- "gap": "md",
2397
- "justify": "space-between",
2398
- "children": [
2399
- {
2400
- "type": "stack",
2401
- "direction": "horizontal",
2402
- "gap": "md",
2403
- "children": [
2404
- {
2405
- "type": "icon",
2406
- "name": "wrench",
2407
- "size": "lg"
2408
- },
2409
- {
2410
- "type": "typography",
2411
- "content": "Invoke Tool",
2412
- "variant": "h2"
2413
- }
2414
- ]
2415
- },
2416
- {
2417
- "type": "button",
2418
- "label": "Open",
2419
- "event": "INVOKE",
2420
- "variant": "primary",
2421
- "icon": "wrench"
2422
- }
2423
- ]
2424
- },
2425
- {
2426
- "type": "divider"
2427
- },
2428
- {
2429
- "type": "empty-state",
2430
- "icon": "wrench",
2431
- "title": "Nothing open",
2432
- "description": "Click Open to view details in a modal overlay."
2433
- }
2434
- ]
2435
- }
2436
- ]
2437
- ]
2438
- },
2439
- {
2440
- "from": "closed",
2441
- "to": "open",
2442
- "event": "INVOKE",
2443
- "effects": [
2444
- [
2445
- "render-ui",
2446
- "modal",
2447
- {
2448
- "type": "stack",
2449
- "direction": "vertical",
2450
- "gap": "md",
2451
- "children": [
2452
- {
2453
- "type": "stack",
2454
- "direction": "horizontal",
2455
- "gap": "sm",
2456
- "children": [
2457
- {
2458
- "type": "icon",
2459
- "name": "wrench",
2460
- "size": "md"
2461
- },
2462
- {
2463
- "type": "typography",
2464
- "content": "Invoke Tool",
2465
- "variant": "h3"
2466
- }
2467
- ]
2468
- },
2469
- {
2470
- "type": "divider"
2471
- },
2472
- {
2473
- "type": "form-section",
2474
- "entity": "AgentFixLoop",
2475
- "mode": "create",
2476
- "submitEvent": "SAVE",
2477
- "cancelEvent": "CLOSE",
2478
- "fields": [
2479
- "toolName",
2480
- "args"
2481
- ]
2482
- }
2483
- ]
2484
- }
2485
- ]
2486
- ]
2487
- },
2488
- {
2489
- "from": "open",
2490
- "to": "closed",
2491
- "event": "CLOSE",
2492
- "effects": [
2493
- [
2494
- "render-ui",
2495
- "modal",
2496
- null
2497
- ],
2498
- [
2499
- "notify",
2500
- "Cancelled",
2501
- "info"
2502
- ],
2503
- [
2504
- "ref",
2505
- "AgentFixLoop"
2506
- ],
2507
- [
2508
- "render-ui",
2509
- "main",
2510
- {
2511
- "type": "stack",
2512
- "direction": "vertical",
2513
- "gap": "lg",
2514
- "children": [
2515
- {
2516
- "type": "stack",
2517
- "direction": "horizontal",
2518
- "gap": "md",
2519
- "justify": "space-between",
2520
- "children": [
2521
- {
2522
- "type": "stack",
2523
- "direction": "horizontal",
2524
- "gap": "md",
2525
- "children": [
2526
- {
2527
- "type": "icon",
2528
- "name": "wrench",
2529
- "size": "lg"
2530
- },
2531
- {
2532
- "type": "typography",
2533
- "content": "Invoke Tool",
2534
- "variant": "h2"
2535
- }
2536
- ]
2537
- },
2538
- {
2539
- "type": "button",
2540
- "label": "Open",
2541
- "event": "INVOKE",
2542
- "variant": "primary",
2543
- "icon": "wrench"
2544
- }
2545
- ]
2546
- },
2547
- {
2548
- "type": "divider"
2549
- },
2550
- {
2551
- "type": "empty-state",
2552
- "icon": "wrench",
2553
- "title": "Nothing open",
2554
- "description": "Click Open to view details in a modal overlay."
2555
- }
2556
- ]
2557
- }
2558
- ]
2559
- ]
2560
- },
2561
- {
2562
- "from": "open",
2563
- "to": "closed",
2564
- "event": "SAVE",
2565
- "effects": [
2566
- [
2567
- "persist",
2568
- "create",
2569
- "AgentFixLoop",
2570
- "@payload.data"
2571
- ],
2572
- [
2573
- "render-ui",
2574
- "modal",
2575
- null
2576
- ],
2577
- [
2578
- "emit",
2579
- "INVOKED"
2580
- ],
2581
- [
2582
- "ref",
2583
- "AgentFixLoop"
2584
- ],
2585
- [
2586
- "render-ui",
2587
- "main",
2588
- {
2589
- "type": "stack",
2590
- "direction": "vertical",
2591
- "gap": "lg",
2592
- "children": [
2593
- {
2594
- "type": "stack",
2595
- "direction": "horizontal",
2596
- "gap": "md",
2597
- "justify": "space-between",
2598
- "children": [
2599
- {
2600
- "type": "stack",
2601
- "direction": "horizontal",
2602
- "gap": "md",
2603
- "children": [
2604
- {
2605
- "type": "icon",
2606
- "name": "wrench",
2607
- "size": "lg"
2608
- },
2609
- {
2610
- "type": "typography",
2611
- "content": "Invoke Tool",
2612
- "variant": "h2"
2613
- }
2614
- ]
2615
- },
2616
- {
2617
- "type": "button",
2618
- "label": "Open",
2619
- "event": "INVOKE",
2620
- "variant": "primary",
2621
- "icon": "wrench"
2622
- }
2623
- ]
2624
- },
2625
- {
2626
- "type": "divider"
2627
- },
2628
- {
2629
- "type": "empty-state",
2630
- "icon": "wrench",
2631
- "title": "Nothing open",
2632
- "description": "Click Open to view details in a modal overlay."
2633
- }
2634
- ]
2635
- }
2636
- ],
2637
- [
2638
- "notify",
2639
- "AgentFixLoop created successfully"
2640
- ]
2641
- ]
2642
- }
2643
- ]
2644
- },
2645
- "listens": []
2646
- },
2647
- {
2648
- "name": "FixLoopFixCall",
2649
- "linkedEntity": "AgentFixLoop",
2650
- "category": "interaction",
2651
- "emits": [
2652
- {
2653
- "event": "INVOKED",
2654
- "scope": "internal"
2655
- }
2656
- ],
2657
- "stateMachine": {
2658
- "states": [
2659
- {
2660
- "name": "closed",
2661
- "isInitial": true
2662
- },
2663
- {
2664
- "name": "open"
2665
- }
2666
- ],
2667
- "events": [
2668
- {
2669
- "key": "INIT",
2670
- "name": "Initialize"
2671
- },
2672
- {
2673
- "key": "INVOKE",
2674
- "name": "Open"
2675
- },
2676
- {
2677
- "key": "CLOSE",
2678
- "name": "Close"
2679
- },
2680
- {
2681
- "key": "SAVE",
2682
- "name": "Save",
2683
- "payload": [
2684
- {
2685
- "name": "data",
2686
- "type": "object",
2687
- "required": true
2688
- }
2689
- ]
2690
- }
2691
- ],
2692
- "transitions": [
2693
- {
2694
- "from": "closed",
2695
- "to": "closed",
2696
- "event": "INIT",
2697
- "effects": [
2698
- [
2699
- "ref",
2700
- "AgentFixLoop"
2701
- ],
2702
- [
2703
- "render-ui",
2704
- "main",
1876
+ "type": "stack",
1877
+ "direction": "horizontal",
1878
+ "gap": "sm",
1879
+ "align": "center",
1880
+ "children": [
1881
+ {
1882
+ "type": "icon",
1883
+ "name": "alert-triangle",
1884
+ "size": "lg"
1885
+ },
1886
+ {
1887
+ "type": "typography",
1888
+ "content": "Validation Errors",
1889
+ "variant": "h2"
1890
+ }
1891
+ ]
1892
+ }
1893
+ ]
1894
+ },
1895
+ {
1896
+ "type": "divider"
1897
+ },
1898
+ {
1899
+ "type": "data-grid",
1900
+ "entity": "AgentFixLoop",
1901
+ "emptyIcon": "inbox",
1902
+ "emptyTitle": "No errors",
1903
+ "emptyDescription": "All validations passed.",
1904
+ "itemActions": [
1905
+ {
1906
+ "label": "View",
1907
+ "event": "VIEW",
1908
+ "variant": "ghost",
1909
+ "size": "sm"
1910
+ }
1911
+ ],
1912
+ "columns": [
1913
+ {
1914
+ "name": "target",
1915
+ "label": "Target",
1916
+ "variant": "h4",
1917
+ "icon": "alert-triangle"
1918
+ },
1919
+ {
1920
+ "name": "errorCount",
1921
+ "label": "Error Count",
1922
+ "variant": "badge",
1923
+ "colorMap": {
1924
+ "active": "success",
1925
+ "completed": "success",
1926
+ "done": "success",
1927
+ "pending": "warning",
1928
+ "draft": "warning",
1929
+ "scheduled": "warning",
1930
+ "inactive": "neutral",
1931
+ "archived": "neutral",
1932
+ "disabled": "neutral",
1933
+ "error": "destructive",
1934
+ "cancelled": "destructive",
1935
+ "failed": "destructive"
1936
+ }
1937
+ },
1938
+ {
1939
+ "name": "status",
1940
+ "label": "Status",
1941
+ "variant": "caption"
1942
+ }
1943
+ ]
1944
+ },
1945
+ {
1946
+ "type": "floating-action-button",
1947
+ "icon": "plus",
1948
+ "event": "INIT",
1949
+ "label": "Create",
1950
+ "tooltip": "Create"
1951
+ }
1952
+ ]
1953
+ }
1954
+ ]
1955
+ ]
1956
+ }
1957
+ },
1958
+ {
1959
+ "ref": "AgentToolCall.traits.AgentToolCallModal",
1960
+ "name": "FixLoopValidateCall",
1961
+ "linkedEntity": "AgentFixLoop",
1962
+ "listens": [],
1963
+ "emitsScope": "internal",
1964
+ "effects": {
1965
+ "INIT": [
1966
+ [
1967
+ "ref",
1968
+ "AgentFixLoop"
1969
+ ],
1970
+ [
1971
+ "render-ui",
1972
+ "main",
1973
+ {
1974
+ "type": "stack",
1975
+ "direction": "vertical",
1976
+ "gap": "lg",
1977
+ "children": [
2705
1978
  {
2706
1979
  "type": "stack",
2707
- "direction": "vertical",
2708
- "gap": "lg",
1980
+ "direction": "horizontal",
1981
+ "gap": "md",
1982
+ "justify": "space-between",
2709
1983
  "children": [
2710
1984
  {
2711
1985
  "type": "stack",
2712
1986
  "direction": "horizontal",
2713
1987
  "gap": "md",
2714
- "justify": "space-between",
2715
1988
  "children": [
2716
1989
  {
2717
- "type": "stack",
2718
- "direction": "horizontal",
2719
- "gap": "md",
2720
- "children": [
2721
- {
2722
- "type": "icon",
2723
- "name": "wrench",
2724
- "size": "lg"
2725
- },
2726
- {
2727
- "type": "typography",
2728
- "content": "Invoke Tool",
2729
- "variant": "h2"
2730
- }
2731
- ]
1990
+ "type": "icon",
1991
+ "name": "wrench",
1992
+ "size": "lg"
2732
1993
  },
2733
1994
  {
2734
- "type": "button",
2735
- "label": "Open",
2736
- "event": "INVOKE",
2737
- "variant": "primary",
2738
- "icon": "wrench"
1995
+ "type": "typography",
1996
+ "content": "Invoke Tool",
1997
+ "variant": "h2"
2739
1998
  }
2740
1999
  ]
2741
2000
  },
2742
2001
  {
2743
- "type": "divider"
2002
+ "type": "button",
2003
+ "label": "Open",
2004
+ "event": "INVOKE",
2005
+ "variant": "primary",
2006
+ "icon": "wrench"
2007
+ }
2008
+ ]
2009
+ },
2010
+ {
2011
+ "type": "divider"
2012
+ },
2013
+ {
2014
+ "type": "empty-state",
2015
+ "icon": "wrench",
2016
+ "title": "Nothing open",
2017
+ "description": "Click Open to view details in a modal overlay."
2018
+ }
2019
+ ]
2020
+ }
2021
+ ]
2022
+ ],
2023
+ "INVOKE": [
2024
+ [
2025
+ "render-ui",
2026
+ "modal",
2027
+ {
2028
+ "type": "stack",
2029
+ "direction": "vertical",
2030
+ "gap": "md",
2031
+ "children": [
2032
+ {
2033
+ "type": "stack",
2034
+ "direction": "horizontal",
2035
+ "gap": "sm",
2036
+ "children": [
2037
+ {
2038
+ "type": "icon",
2039
+ "name": "wrench",
2040
+ "size": "md"
2744
2041
  },
2745
2042
  {
2746
- "type": "empty-state",
2747
- "icon": "wrench",
2748
- "title": "Nothing open",
2749
- "description": "Click Open to view details in a modal overlay."
2043
+ "type": "typography",
2044
+ "content": "Invoke Tool",
2045
+ "variant": "h3"
2750
2046
  }
2751
2047
  ]
2048
+ },
2049
+ {
2050
+ "type": "divider"
2051
+ },
2052
+ {
2053
+ "type": "form-section",
2054
+ "entity": "AgentFixLoop",
2055
+ "mode": "create",
2056
+ "submitEvent": "SAVE",
2057
+ "cancelEvent": "CLOSE",
2058
+ "fields": [
2059
+ "toolName",
2060
+ "args"
2061
+ ]
2752
2062
  }
2753
2063
  ]
2754
- ]
2755
- },
2756
- {
2757
- "from": "closed",
2758
- "to": "open",
2759
- "event": "INVOKE",
2760
- "effects": [
2761
- [
2762
- "render-ui",
2763
- "modal",
2064
+ }
2065
+ ]
2066
+ ],
2067
+ "CLOSE": [
2068
+ [
2069
+ "render-ui",
2070
+ "modal",
2071
+ null
2072
+ ],
2073
+ [
2074
+ "notify",
2075
+ "Cancelled",
2076
+ "info"
2077
+ ],
2078
+ [
2079
+ "ref",
2080
+ "AgentFixLoop"
2081
+ ],
2082
+ [
2083
+ "render-ui",
2084
+ "main",
2085
+ {
2086
+ "type": "stack",
2087
+ "direction": "vertical",
2088
+ "gap": "lg",
2089
+ "children": [
2764
2090
  {
2765
2091
  "type": "stack",
2766
- "direction": "vertical",
2092
+ "direction": "horizontal",
2767
2093
  "gap": "md",
2094
+ "justify": "space-between",
2768
2095
  "children": [
2769
2096
  {
2770
2097
  "type": "stack",
2771
2098
  "direction": "horizontal",
2772
- "gap": "sm",
2099
+ "gap": "md",
2773
2100
  "children": [
2774
2101
  {
2775
2102
  "type": "icon",
2776
2103
  "name": "wrench",
2777
- "size": "md"
2104
+ "size": "lg"
2778
2105
  },
2779
2106
  {
2780
2107
  "type": "typography",
2781
2108
  "content": "Invoke Tool",
2782
- "variant": "h3"
2109
+ "variant": "h2"
2783
2110
  }
2784
2111
  ]
2785
2112
  },
2786
2113
  {
2787
- "type": "divider"
2788
- },
2789
- {
2790
- "type": "form-section",
2791
- "entity": "AgentFixLoop",
2792
- "mode": "create",
2793
- "submitEvent": "SAVE",
2794
- "cancelEvent": "CLOSE",
2795
- "fields": [
2796
- "toolName",
2797
- "args"
2798
- ]
2114
+ "type": "button",
2115
+ "label": "Open",
2116
+ "event": "INVOKE",
2117
+ "variant": "primary",
2118
+ "icon": "wrench"
2799
2119
  }
2800
2120
  ]
2121
+ },
2122
+ {
2123
+ "type": "divider"
2124
+ },
2125
+ {
2126
+ "type": "empty-state",
2127
+ "icon": "wrench",
2128
+ "title": "Nothing open",
2129
+ "description": "Click Open to view details in a modal overlay."
2801
2130
  }
2802
2131
  ]
2803
- ]
2804
- },
2805
- {
2806
- "from": "open",
2807
- "to": "closed",
2808
- "event": "CLOSE",
2809
- "effects": [
2810
- [
2811
- "render-ui",
2812
- "modal",
2813
- null
2814
- ],
2815
- [
2816
- "notify",
2817
- "Cancelled",
2818
- "info"
2819
- ],
2820
- [
2821
- "ref",
2822
- "AgentFixLoop"
2823
- ],
2824
- [
2825
- "render-ui",
2826
- "main",
2132
+ }
2133
+ ]
2134
+ ],
2135
+ "SAVE": [
2136
+ [
2137
+ "persist",
2138
+ "create",
2139
+ "AgentFixLoop",
2140
+ "@payload.data"
2141
+ ],
2142
+ [
2143
+ "render-ui",
2144
+ "modal",
2145
+ null
2146
+ ],
2147
+ [
2148
+ "emit",
2149
+ "INVOKED"
2150
+ ],
2151
+ [
2152
+ "ref",
2153
+ "AgentFixLoop"
2154
+ ],
2155
+ [
2156
+ "render-ui",
2157
+ "main",
2158
+ {
2159
+ "type": "stack",
2160
+ "direction": "vertical",
2161
+ "gap": "lg",
2162
+ "children": [
2827
2163
  {
2828
2164
  "type": "stack",
2829
- "direction": "vertical",
2830
- "gap": "lg",
2165
+ "direction": "horizontal",
2166
+ "gap": "md",
2167
+ "justify": "space-between",
2831
2168
  "children": [
2832
2169
  {
2833
2170
  "type": "stack",
2834
2171
  "direction": "horizontal",
2835
2172
  "gap": "md",
2836
- "justify": "space-between",
2837
2173
  "children": [
2838
2174
  {
2839
- "type": "stack",
2840
- "direction": "horizontal",
2841
- "gap": "md",
2842
- "children": [
2843
- {
2844
- "type": "icon",
2845
- "name": "wrench",
2846
- "size": "lg"
2847
- },
2848
- {
2849
- "type": "typography",
2850
- "content": "Invoke Tool",
2851
- "variant": "h2"
2852
- }
2853
- ]
2175
+ "type": "icon",
2176
+ "name": "wrench",
2177
+ "size": "lg"
2854
2178
  },
2855
2179
  {
2856
- "type": "button",
2857
- "label": "Open",
2858
- "event": "INVOKE",
2859
- "variant": "primary",
2860
- "icon": "wrench"
2180
+ "type": "typography",
2181
+ "content": "Invoke Tool",
2182
+ "variant": "h2"
2861
2183
  }
2862
2184
  ]
2863
2185
  },
2864
2186
  {
2865
- "type": "divider"
2866
- },
2867
- {
2868
- "type": "empty-state",
2869
- "icon": "wrench",
2870
- "title": "Nothing open",
2871
- "description": "Click Open to view details in a modal overlay."
2187
+ "type": "button",
2188
+ "label": "Open",
2189
+ "event": "INVOKE",
2190
+ "variant": "primary",
2191
+ "icon": "wrench"
2872
2192
  }
2873
2193
  ]
2194
+ },
2195
+ {
2196
+ "type": "divider"
2197
+ },
2198
+ {
2199
+ "type": "empty-state",
2200
+ "icon": "wrench",
2201
+ "title": "Nothing open",
2202
+ "description": "Click Open to view details in a modal overlay."
2874
2203
  }
2875
2204
  ]
2876
- ]
2877
- },
2878
- {
2879
- "from": "open",
2880
- "to": "closed",
2881
- "event": "SAVE",
2882
- "effects": [
2883
- [
2884
- "persist",
2885
- "create",
2886
- "AgentFixLoop",
2887
- "@payload.data"
2888
- ],
2889
- [
2890
- "render-ui",
2891
- "modal",
2892
- null
2893
- ],
2894
- [
2895
- "emit",
2896
- "INVOKED"
2897
- ],
2898
- [
2899
- "ref",
2900
- "AgentFixLoop"
2901
- ],
2902
- [
2903
- "render-ui",
2904
- "main",
2205
+ }
2206
+ ]
2207
+ ]
2208
+ }
2209
+ },
2210
+ {
2211
+ "ref": "AgentToolCall.traits.AgentToolCallModal",
2212
+ "name": "FixLoopFixCall",
2213
+ "linkedEntity": "AgentFixLoop",
2214
+ "listens": [],
2215
+ "emitsScope": "internal",
2216
+ "effects": {
2217
+ "INIT": [
2218
+ [
2219
+ "ref",
2220
+ "AgentFixLoop"
2221
+ ],
2222
+ [
2223
+ "render-ui",
2224
+ "main",
2225
+ {
2226
+ "type": "stack",
2227
+ "direction": "vertical",
2228
+ "gap": "lg",
2229
+ "children": [
2905
2230
  {
2906
2231
  "type": "stack",
2907
- "direction": "vertical",
2908
- "gap": "lg",
2232
+ "direction": "horizontal",
2233
+ "gap": "md",
2234
+ "justify": "space-between",
2909
2235
  "children": [
2910
2236
  {
2911
2237
  "type": "stack",
2912
2238
  "direction": "horizontal",
2913
2239
  "gap": "md",
2914
- "justify": "space-between",
2915
2240
  "children": [
2916
2241
  {
2917
- "type": "stack",
2918
- "direction": "horizontal",
2919
- "gap": "md",
2920
- "children": [
2921
- {
2922
- "type": "icon",
2923
- "name": "wrench",
2924
- "size": "lg"
2925
- },
2926
- {
2927
- "type": "typography",
2928
- "content": "Invoke Tool",
2929
- "variant": "h2"
2930
- }
2931
- ]
2242
+ "type": "icon",
2243
+ "name": "wrench",
2244
+ "size": "lg"
2932
2245
  },
2933
2246
  {
2934
- "type": "button",
2935
- "label": "Open",
2936
- "event": "INVOKE",
2937
- "variant": "primary",
2938
- "icon": "wrench"
2247
+ "type": "typography",
2248
+ "content": "Invoke Tool",
2249
+ "variant": "h2"
2939
2250
  }
2940
2251
  ]
2941
2252
  },
2942
2253
  {
2943
- "type": "divider"
2944
- },
2945
- {
2946
- "type": "empty-state",
2947
- "icon": "wrench",
2948
- "title": "Nothing open",
2949
- "description": "Click Open to view details in a modal overlay."
2254
+ "type": "button",
2255
+ "label": "Open",
2256
+ "event": "INVOKE",
2257
+ "variant": "primary",
2258
+ "icon": "wrench"
2950
2259
  }
2951
2260
  ]
2261
+ },
2262
+ {
2263
+ "type": "divider"
2264
+ },
2265
+ {
2266
+ "type": "empty-state",
2267
+ "icon": "wrench",
2268
+ "title": "Nothing open",
2269
+ "description": "Click Open to view details in a modal overlay."
2952
2270
  }
2953
- ],
2954
- [
2955
- "notify",
2956
- "AgentFixLoop created successfully"
2957
2271
  ]
2958
- ]
2959
- }
2960
- ]
2961
- },
2962
- "listens": []
2963
- },
2964
- {
2965
- "name": "FixLoopCompletionFlow",
2966
- "linkedEntity": "AgentFixLoop",
2967
- "category": "interaction",
2968
- "emits": [
2969
- {
2970
- "event": "GENERATED",
2971
- "scope": "internal"
2972
- }
2973
- ],
2974
- "stateMachine": {
2975
- "states": [
2976
- {
2977
- "name": "closed",
2978
- "isInitial": true
2979
- },
2980
- {
2981
- "name": "open"
2982
- }
2983
- ],
2984
- "events": [
2985
- {
2986
- "key": "INIT",
2987
- "name": "Initialize"
2988
- },
2989
- {
2990
- "key": "GENERATE",
2991
- "name": "Open"
2992
- },
2993
- {
2994
- "key": "CLOSE",
2995
- "name": "Close"
2996
- },
2997
- {
2998
- "key": "SAVE",
2999
- "name": "Save",
3000
- "payload": [
3001
- {
3002
- "name": "data",
3003
- "type": "object",
3004
- "required": true
3005
- }
3006
- ]
3007
- }
2272
+ }
2273
+ ]
3008
2274
  ],
3009
- "transitions": [
3010
- {
3011
- "from": "closed",
3012
- "to": "closed",
3013
- "event": "INIT",
3014
- "effects": [
3015
- [
3016
- "ref",
3017
- "AgentFixLoop"
3018
- ],
3019
- [
3020
- "render-ui",
3021
- "main",
2275
+ "INVOKE": [
2276
+ [
2277
+ "render-ui",
2278
+ "modal",
2279
+ {
2280
+ "type": "stack",
2281
+ "direction": "vertical",
2282
+ "gap": "md",
2283
+ "children": [
3022
2284
  {
3023
2285
  "type": "stack",
3024
- "direction": "vertical",
3025
- "gap": "lg",
2286
+ "direction": "horizontal",
2287
+ "gap": "sm",
2288
+ "children": [
2289
+ {
2290
+ "type": "icon",
2291
+ "name": "wrench",
2292
+ "size": "md"
2293
+ },
2294
+ {
2295
+ "type": "typography",
2296
+ "content": "Invoke Tool",
2297
+ "variant": "h3"
2298
+ }
2299
+ ]
2300
+ },
2301
+ {
2302
+ "type": "divider"
2303
+ },
2304
+ {
2305
+ "type": "form-section",
2306
+ "entity": "AgentFixLoop",
2307
+ "mode": "create",
2308
+ "submitEvent": "SAVE",
2309
+ "cancelEvent": "CLOSE",
2310
+ "fields": [
2311
+ "toolName",
2312
+ "args"
2313
+ ]
2314
+ }
2315
+ ]
2316
+ }
2317
+ ]
2318
+ ],
2319
+ "CLOSE": [
2320
+ [
2321
+ "render-ui",
2322
+ "modal",
2323
+ null
2324
+ ],
2325
+ [
2326
+ "notify",
2327
+ "Cancelled",
2328
+ "info"
2329
+ ],
2330
+ [
2331
+ "ref",
2332
+ "AgentFixLoop"
2333
+ ],
2334
+ [
2335
+ "render-ui",
2336
+ "main",
2337
+ {
2338
+ "type": "stack",
2339
+ "direction": "vertical",
2340
+ "gap": "lg",
2341
+ "children": [
2342
+ {
2343
+ "type": "stack",
2344
+ "direction": "horizontal",
2345
+ "gap": "md",
2346
+ "justify": "space-between",
3026
2347
  "children": [
3027
2348
  {
3028
2349
  "type": "stack",
3029
2350
  "direction": "horizontal",
3030
2351
  "gap": "md",
3031
- "justify": "space-between",
3032
2352
  "children": [
3033
2353
  {
3034
- "type": "stack",
3035
- "direction": "horizontal",
3036
- "gap": "md",
3037
- "children": [
3038
- {
3039
- "type": "icon",
3040
- "name": "sparkles",
3041
- "size": "lg"
3042
- },
3043
- {
3044
- "type": "typography",
3045
- "content": "AgentFixLoop",
3046
- "variant": "h2"
3047
- }
3048
- ]
2354
+ "type": "icon",
2355
+ "name": "wrench",
2356
+ "size": "lg"
3049
2357
  },
3050
2358
  {
3051
- "type": "button",
3052
- "label": "Open",
3053
- "event": "GENERATE",
3054
- "variant": "primary",
3055
- "icon": "sparkles"
2359
+ "type": "typography",
2360
+ "content": "Invoke Tool",
2361
+ "variant": "h2"
3056
2362
  }
3057
2363
  ]
3058
2364
  },
3059
2365
  {
3060
- "type": "divider"
3061
- },
3062
- {
3063
- "type": "empty-state",
3064
- "icon": "sparkles",
3065
- "title": "Nothing open",
3066
- "description": "Click Open to view details in a modal overlay."
2366
+ "type": "button",
2367
+ "label": "Open",
2368
+ "event": "INVOKE",
2369
+ "variant": "primary",
2370
+ "icon": "wrench"
3067
2371
  }
3068
2372
  ]
2373
+ },
2374
+ {
2375
+ "type": "divider"
2376
+ },
2377
+ {
2378
+ "type": "empty-state",
2379
+ "icon": "wrench",
2380
+ "title": "Nothing open",
2381
+ "description": "Click Open to view details in a modal overlay."
3069
2382
  }
3070
2383
  ]
3071
- ]
3072
- },
3073
- {
3074
- "from": "closed",
3075
- "to": "open",
3076
- "event": "GENERATE",
3077
- "effects": [
3078
- [
3079
- "render-ui",
3080
- "modal",
2384
+ }
2385
+ ]
2386
+ ],
2387
+ "SAVE": [
2388
+ [
2389
+ "persist",
2390
+ "create",
2391
+ "AgentFixLoop",
2392
+ "@payload.data"
2393
+ ],
2394
+ [
2395
+ "render-ui",
2396
+ "modal",
2397
+ null
2398
+ ],
2399
+ [
2400
+ "emit",
2401
+ "INVOKED"
2402
+ ],
2403
+ [
2404
+ "ref",
2405
+ "AgentFixLoop"
2406
+ ],
2407
+ [
2408
+ "render-ui",
2409
+ "main",
2410
+ {
2411
+ "type": "stack",
2412
+ "direction": "vertical",
2413
+ "gap": "lg",
2414
+ "children": [
3081
2415
  {
3082
2416
  "type": "stack",
3083
- "direction": "vertical",
2417
+ "direction": "horizontal",
3084
2418
  "gap": "md",
2419
+ "justify": "space-between",
3085
2420
  "children": [
3086
2421
  {
3087
2422
  "type": "stack",
3088
2423
  "direction": "horizontal",
3089
- "gap": "sm",
2424
+ "gap": "md",
3090
2425
  "children": [
3091
2426
  {
3092
2427
  "type": "icon",
3093
- "name": "sparkles",
3094
- "size": "md"
2428
+ "name": "wrench",
2429
+ "size": "lg"
3095
2430
  },
3096
2431
  {
3097
2432
  "type": "typography",
3098
- "content": "AgentFixLoop",
3099
- "variant": "h3"
2433
+ "content": "Invoke Tool",
2434
+ "variant": "h2"
3100
2435
  }
3101
2436
  ]
3102
2437
  },
3103
2438
  {
3104
- "type": "divider"
3105
- },
2439
+ "type": "button",
2440
+ "label": "Open",
2441
+ "event": "INVOKE",
2442
+ "variant": "primary",
2443
+ "icon": "wrench"
2444
+ }
2445
+ ]
2446
+ },
2447
+ {
2448
+ "type": "divider"
2449
+ },
2450
+ {
2451
+ "type": "empty-state",
2452
+ "icon": "wrench",
2453
+ "title": "Nothing open",
2454
+ "description": "Click Open to view details in a modal overlay."
2455
+ }
2456
+ ]
2457
+ }
2458
+ ]
2459
+ ]
2460
+ }
2461
+ },
2462
+ {
2463
+ "ref": "AgentCompletion.traits.AgentCompletionModal",
2464
+ "name": "FixLoopCompletionFlow",
2465
+ "linkedEntity": "AgentFixLoop",
2466
+ "listens": [],
2467
+ "emitsScope": "internal",
2468
+ "effects": {
2469
+ "INIT": [
2470
+ [
2471
+ "ref",
2472
+ "AgentFixLoop"
2473
+ ],
2474
+ [
2475
+ "render-ui",
2476
+ "main",
2477
+ {
2478
+ "type": "stack",
2479
+ "direction": "vertical",
2480
+ "gap": "lg",
2481
+ "children": [
2482
+ {
2483
+ "type": "stack",
2484
+ "direction": "horizontal",
2485
+ "gap": "md",
2486
+ "justify": "space-between",
2487
+ "children": [
3106
2488
  {
3107
2489
  "type": "stack",
3108
2490
  "direction": "horizontal",
3109
- "gap": "sm",
2491
+ "gap": "md",
3110
2492
  "children": [
3111
2493
  {
3112
- "type": "badge",
3113
- "label": "@entity.provider"
2494
+ "type": "icon",
2495
+ "name": "sparkles",
2496
+ "size": "lg"
3114
2497
  },
3115
2498
  {
3116
- "type": "badge",
3117
- "label": "@entity.model"
2499
+ "type": "typography",
2500
+ "content": "AgentFixLoop",
2501
+ "variant": "h2"
3118
2502
  }
3119
2503
  ]
3120
2504
  },
3121
2505
  {
3122
- "type": "form-section",
3123
- "entity": "AgentFixLoop",
3124
- "mode": "create",
3125
- "submitEvent": "SAVE",
3126
- "cancelEvent": "CLOSE",
3127
- "fields": [
3128
- "prompt"
3129
- ]
2506
+ "type": "button",
2507
+ "label": "Open",
2508
+ "event": "GENERATE",
2509
+ "variant": "primary",
2510
+ "icon": "sparkles"
3130
2511
  }
3131
2512
  ]
2513
+ },
2514
+ {
2515
+ "type": "divider"
2516
+ },
2517
+ {
2518
+ "type": "empty-state",
2519
+ "icon": "sparkles",
2520
+ "title": "Nothing open",
2521
+ "description": "Click Open to view details in a modal overlay."
3132
2522
  }
3133
2523
  ]
3134
- ]
3135
- },
3136
- {
3137
- "from": "open",
3138
- "to": "closed",
3139
- "event": "CLOSE",
3140
- "effects": [
3141
- [
3142
- "render-ui",
3143
- "modal",
3144
- null
3145
- ],
3146
- [
3147
- "notify",
3148
- "Cancelled",
3149
- "info"
3150
- ],
3151
- [
3152
- "ref",
3153
- "AgentFixLoop"
3154
- ],
3155
- [
3156
- "render-ui",
3157
- "main",
2524
+ }
2525
+ ]
2526
+ ],
2527
+ "GENERATE": [
2528
+ [
2529
+ "render-ui",
2530
+ "modal",
2531
+ {
2532
+ "type": "stack",
2533
+ "direction": "vertical",
2534
+ "gap": "md",
2535
+ "children": [
3158
2536
  {
3159
2537
  "type": "stack",
3160
- "direction": "vertical",
3161
- "gap": "lg",
2538
+ "direction": "horizontal",
2539
+ "gap": "sm",
2540
+ "children": [
2541
+ {
2542
+ "type": "icon",
2543
+ "name": "sparkles",
2544
+ "size": "md"
2545
+ },
2546
+ {
2547
+ "type": "typography",
2548
+ "content": "AgentFixLoop",
2549
+ "variant": "h3"
2550
+ }
2551
+ ]
2552
+ },
2553
+ {
2554
+ "type": "divider"
2555
+ },
2556
+ {
2557
+ "type": "stack",
2558
+ "direction": "horizontal",
2559
+ "gap": "sm",
2560
+ "children": [
2561
+ {
2562
+ "type": "badge",
2563
+ "label": "@entity.provider"
2564
+ },
2565
+ {
2566
+ "type": "badge",
2567
+ "label": "@entity.model"
2568
+ }
2569
+ ]
2570
+ },
2571
+ {
2572
+ "type": "form-section",
2573
+ "entity": "AgentFixLoop",
2574
+ "mode": "create",
2575
+ "submitEvent": "SAVE",
2576
+ "cancelEvent": "CLOSE",
2577
+ "fields": [
2578
+ "prompt"
2579
+ ]
2580
+ }
2581
+ ]
2582
+ }
2583
+ ]
2584
+ ],
2585
+ "CLOSE": [
2586
+ [
2587
+ "render-ui",
2588
+ "modal",
2589
+ null
2590
+ ],
2591
+ [
2592
+ "notify",
2593
+ "Cancelled",
2594
+ "info"
2595
+ ],
2596
+ [
2597
+ "ref",
2598
+ "AgentFixLoop"
2599
+ ],
2600
+ [
2601
+ "render-ui",
2602
+ "main",
2603
+ {
2604
+ "type": "stack",
2605
+ "direction": "vertical",
2606
+ "gap": "lg",
2607
+ "children": [
2608
+ {
2609
+ "type": "stack",
2610
+ "direction": "horizontal",
2611
+ "gap": "md",
2612
+ "justify": "space-between",
3162
2613
  "children": [
3163
2614
  {
3164
2615
  "type": "stack",
3165
2616
  "direction": "horizontal",
3166
2617
  "gap": "md",
3167
- "justify": "space-between",
3168
2618
  "children": [
3169
2619
  {
3170
- "type": "stack",
3171
- "direction": "horizontal",
3172
- "gap": "md",
3173
- "children": [
3174
- {
3175
- "type": "icon",
3176
- "name": "sparkles",
3177
- "size": "lg"
3178
- },
3179
- {
3180
- "type": "typography",
3181
- "content": "AgentFixLoop",
3182
- "variant": "h2"
3183
- }
3184
- ]
2620
+ "type": "icon",
2621
+ "name": "sparkles",
2622
+ "size": "lg"
3185
2623
  },
3186
2624
  {
3187
- "type": "button",
3188
- "label": "Open",
3189
- "event": "GENERATE",
3190
- "variant": "primary",
3191
- "icon": "sparkles"
2625
+ "type": "typography",
2626
+ "content": "AgentFixLoop",
2627
+ "variant": "h2"
3192
2628
  }
3193
2629
  ]
3194
2630
  },
3195
2631
  {
3196
- "type": "divider"
3197
- },
3198
- {
3199
- "type": "empty-state",
3200
- "icon": "sparkles",
3201
- "title": "Nothing open",
3202
- "description": "Click Open to view details in a modal overlay."
2632
+ "type": "button",
2633
+ "label": "Open",
2634
+ "event": "GENERATE",
2635
+ "variant": "primary",
2636
+ "icon": "sparkles"
3203
2637
  }
3204
2638
  ]
2639
+ },
2640
+ {
2641
+ "type": "divider"
2642
+ },
2643
+ {
2644
+ "type": "empty-state",
2645
+ "icon": "sparkles",
2646
+ "title": "Nothing open",
2647
+ "description": "Click Open to view details in a modal overlay."
3205
2648
  }
3206
2649
  ]
3207
- ]
3208
- },
3209
- {
3210
- "from": "open",
3211
- "to": "closed",
3212
- "event": "SAVE",
3213
- "effects": [
3214
- [
3215
- "persist",
3216
- "create",
3217
- "AgentFixLoop",
3218
- "@payload.data"
3219
- ],
3220
- [
3221
- "render-ui",
3222
- "modal",
3223
- null
3224
- ],
3225
- [
3226
- "emit",
3227
- "GENERATED"
3228
- ],
3229
- [
3230
- "ref",
3231
- "AgentFixLoop"
3232
- ],
3233
- [
3234
- "render-ui",
3235
- "main",
2650
+ }
2651
+ ]
2652
+ ],
2653
+ "SAVE": [
2654
+ [
2655
+ "persist",
2656
+ "create",
2657
+ "AgentFixLoop",
2658
+ "@payload.data"
2659
+ ],
2660
+ [
2661
+ "render-ui",
2662
+ "modal",
2663
+ null
2664
+ ],
2665
+ [
2666
+ "emit",
2667
+ "GENERATED"
2668
+ ],
2669
+ [
2670
+ "ref",
2671
+ "AgentFixLoop"
2672
+ ],
2673
+ [
2674
+ "render-ui",
2675
+ "main",
2676
+ {
2677
+ "type": "stack",
2678
+ "direction": "vertical",
2679
+ "gap": "lg",
2680
+ "children": [
3236
2681
  {
3237
2682
  "type": "stack",
3238
- "direction": "vertical",
3239
- "gap": "lg",
2683
+ "direction": "horizontal",
2684
+ "gap": "md",
2685
+ "justify": "space-between",
3240
2686
  "children": [
3241
2687
  {
3242
2688
  "type": "stack",
3243
2689
  "direction": "horizontal",
3244
2690
  "gap": "md",
3245
- "justify": "space-between",
3246
2691
  "children": [
3247
2692
  {
3248
- "type": "stack",
3249
- "direction": "horizontal",
3250
- "gap": "md",
3251
- "children": [
3252
- {
3253
- "type": "icon",
3254
- "name": "sparkles",
3255
- "size": "lg"
3256
- },
3257
- {
3258
- "type": "typography",
3259
- "content": "AgentFixLoop",
3260
- "variant": "h2"
3261
- }
3262
- ]
2693
+ "type": "icon",
2694
+ "name": "sparkles",
2695
+ "size": "lg"
3263
2696
  },
3264
2697
  {
3265
- "type": "button",
3266
- "label": "Open",
3267
- "event": "GENERATE",
3268
- "variant": "primary",
3269
- "icon": "sparkles"
2698
+ "type": "typography",
2699
+ "content": "AgentFixLoop",
2700
+ "variant": "h2"
3270
2701
  }
3271
2702
  ]
3272
2703
  },
3273
2704
  {
3274
- "type": "divider"
3275
- },
3276
- {
3277
- "type": "empty-state",
3278
- "icon": "sparkles",
3279
- "title": "Nothing open",
3280
- "description": "Click Open to view details in a modal overlay."
2705
+ "type": "button",
2706
+ "label": "Open",
2707
+ "event": "GENERATE",
2708
+ "variant": "primary",
2709
+ "icon": "sparkles"
3281
2710
  }
3282
2711
  ]
2712
+ },
2713
+ {
2714
+ "type": "divider"
2715
+ },
2716
+ {
2717
+ "type": "empty-state",
2718
+ "icon": "sparkles",
2719
+ "title": "Nothing open",
2720
+ "description": "Click Open to view details in a modal overlay."
3283
2721
  }
3284
- ],
3285
- [
3286
- "notify",
3287
- "AgentFixLoop created successfully"
3288
2722
  ]
3289
- ]
3290
- }
2723
+ }
2724
+ ]
3291
2725
  ]
3292
- },
3293
- "listens": []
2726
+ }
3294
2727
  }
3295
2728
  ],
3296
2729
  "pages": [
@@ -3320,6 +2753,5 @@
3320
2753
  }
3321
2754
  ]
3322
2755
  }
3323
- ],
3324
- "description": "Composes agent atoms + UI atoms into an iterative validation-fix loop with step progress tracking and an errors browse list. Validates a target, generates a fix via LLM, applies it via tool invocation, then re-validates. Composed atoms: - stdAgentToolCall (validate): run validation tool - stdAgentToolCall (fix): apply generated fix - stdAgentCompletion: generate fix via LLM - stdAgentStepProgress: visual step indicator - stdBrowse: browsable errors list"
3325
- }
2756
+ ]
2757
+ }