@almadar/std 6.1.0 → 6.1.7

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 (446) hide show
  1. package/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  2. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  3. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  4. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  5. package/behaviors/{exports → registry}/atoms/std-agent-context-window.orb +4 -8
  6. package/behaviors/{exports → registry}/atoms/std-agent-conversation.orb +4 -79
  7. package/{dist/exports → behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  8. package/behaviors/{exports → registry}/atoms/std-agent-provider.orb +9 -14
  9. package/{dist/exports → behaviors/registry}/atoms/std-agent-search.orb +5 -8
  10. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  11. package/behaviors/{exports → registry}/atoms/std-agent-step-progress.orb +4 -8
  12. package/{dist/exports → behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  13. package/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  14. package/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  15. package/{dist/exports → behaviors/registry}/atoms/std-autoregressive.orb +13 -2
  16. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  17. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  18. package/{dist/exports → behaviors/registry}/atoms/std-calendar.orb +4 -8
  19. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  20. package/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  21. package/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  22. package/{dist/exports → behaviors/registry}/atoms/std-combat-log.orb +4 -8
  23. package/behaviors/{exports → registry}/atoms/std-combat.orb +4 -8
  24. package/{dist/exports → behaviors/registry}/atoms/std-confirmation.orb +6 -5
  25. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  26. package/behaviors/{exports → registry}/atoms/std-display.orb +4 -153
  27. package/{dist/exports → behaviors/registry}/atoms/std-drawer.orb +4 -58
  28. package/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  29. package/{dist/exports → behaviors/registry}/atoms/std-flip-card.orb +4 -8
  30. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-gallery.orb +4 -8
  31. package/{dist/exports → behaviors/registry}/atoms/std-game-audio.orb +4 -8
  32. package/{dist/exports → behaviors/registry}/atoms/std-game-canvas2d.orb +3 -6
  33. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  34. package/{dist/exports → behaviors/registry}/atoms/std-game-hud.orb +4 -16
  35. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-menu.orb +4 -8
  36. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  37. package/{dist/exports → behaviors/registry}/atoms/std-gameflow.orb +4 -8
  38. package/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  39. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-input.orb +4 -8
  40. package/{dist/exports → behaviors/registry}/atoms/std-inventory-panel.orb +4 -12
  41. package/{dist/exports → behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  42. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-loading.orb +4 -8
  43. package/behaviors/{exports → registry}/atoms/std-modal.orb +12 -9
  44. package/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  45. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  46. package/{dist/exports → behaviors/registry}/atoms/std-overworld.orb +4 -8
  47. package/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  48. package/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  49. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  50. package/{dist/exports → behaviors/registry}/atoms/std-quest.orb +5 -14
  51. package/{dist/exports → behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  52. package/{dist/exports → behaviors/registry}/atoms/std-rating.orb +4 -8
  53. package/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  54. package/{dist/exports → behaviors/registry}/atoms/std-score-board.orb +4 -8
  55. package/{dist/exports → behaviors/registry}/atoms/std-score.orb +4 -8
  56. package/{dist/exports → behaviors/registry}/atoms/std-search.orb +4 -8
  57. package/{dist/exports → behaviors/registry}/atoms/std-selection.orb +4 -8
  58. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-bearer.orb +4 -19
  59. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-header.orb +4 -21
  60. package/behaviors/{exports → registry}/atoms/std-service-custom-noauth.orb +4 -15
  61. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  62. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  63. package/{dist/exports → behaviors/registry}/atoms/std-service-github.orb +4 -8
  64. package/behaviors/{exports → registry}/atoms/std-service-llm.orb +4 -8
  65. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  66. package/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  67. package/{dist/exports → behaviors/registry}/atoms/std-service-storage.orb +4 -8
  68. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  69. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  70. package/{dist/exports → behaviors/registry}/atoms/std-service-youtube.orb +4 -8
  71. package/{dist/exports → behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  72. package/{dist/exports → behaviors/registry}/atoms/std-sort.orb +4 -52
  73. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-sprite.orb +4 -8
  74. package/behaviors/{exports → registry}/atoms/std-tabs.orb +4 -16
  75. package/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  76. package/{dist/exports → behaviors/registry}/atoms/std-text-effects.orb +4 -8
  77. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  78. package/behaviors/{exports → registry}/atoms/std-timer.orb +4 -8
  79. package/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  80. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  81. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  82. package/{dist/exports → behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  83. package/{dist/exports → behaviors/registry}/atoms/std-wizard.orb +4 -26
  84. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  85. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  86. package/behaviors/{exports → registry}/molecules/std-agent-planner.orb +613 -869
  87. package/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  88. package/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  89. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  90. package/{dist/exports → behaviors/registry}/molecules/std-cart.orb +197 -318
  91. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  92. package/{dist/exports → behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  93. package/behaviors/registry/molecules/std-detail.orb +439 -0
  94. package/behaviors/{exports → registry}/molecules/std-event-handler-game.orb +4 -8
  95. package/{dist/exports → behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  96. package/behaviors/registry/molecules/std-geospatial.orb +502 -0
  97. package/behaviors/registry/molecules/std-inventory.orb +564 -0
  98. package/behaviors/registry/molecules/std-list.orb +707 -0
  99. package/behaviors/registry/molecules/std-messaging.orb +424 -0
  100. package/behaviors/{exports → registry}/molecules/std-negotiator-game.orb +4 -8
  101. package/behaviors/{exports → registry}/molecules/std-platformer-game.orb +4 -8
  102. package/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  103. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-quiz.orb +4 -8
  104. package/{dist/exports → behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  105. package/behaviors/{exports → registry}/molecules/std-service-content-pipeline.orb +4 -8
  106. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  107. package/{dist/exports → behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  108. package/{dist/exports → behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  109. package/{dist/exports → behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  110. package/behaviors/{exports → registry}/molecules/std-simulator-game.orb +4 -8
  111. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  112. package/{dist/exports → behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  113. package/behaviors/{exports → registry}/organisms/std-agent-builder.orb +816 -1320
  114. package/{dist/exports → behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  115. package/{dist/exports → behaviors/registry}/organisms/std-agent-reviewer.orb +308 -372
  116. package/{dist/exports → behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  117. package/{dist/exports → behaviors/registry}/organisms/std-api-gateway.orb +24 -26
  118. package/{dist/exports → behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  119. package/{dist/exports → behaviors/registry}/organisms/std-booking-system.orb +44 -48
  120. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  121. package/behaviors/{exports → registry}/organisms/std-cms.orb +50 -55
  122. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  123. package/{dist/exports → behaviors/registry}/organisms/std-crm.orb +50 -55
  124. package/{dist/exports → behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  125. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  126. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  127. package/{dist/exports → behaviors/registry}/organisms/std-healthcare.orb +50 -55
  128. package/{dist/exports → behaviors/registry}/organisms/std-helpdesk.orb +30 -33
  129. package/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  130. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  131. package/{dist/exports → behaviors/registry}/organisms/std-lms.orb +24 -26
  132. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-logic-training.orb +4 -4
  133. package/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  134. package/behaviors/{exports → registry}/organisms/std-project-manager.orb +44 -48
  135. package/{dist/exports → behaviors/registry}/organisms/std-puzzle-app.orb +4 -4
  136. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  137. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  138. package/{dist/exports → behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  139. package/{dist/exports → behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  140. package/behaviors/{exports → registry}/organisms/std-social-feed.orb +16 -18
  141. package/behaviors/{exports → registry}/organisms/std-stem-lab.orb +4 -4
  142. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  143. package/{dist/exports → behaviors/registry}/organisms/std-trading-dashboard.orb +24 -30
  144. package/dist/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  145. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  146. package/dist/{exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  147. package/dist/{exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  148. package/dist/{exports → behaviors/registry}/atoms/std-agent-context-window.orb +4 -8
  149. package/dist/{exports → behaviors/registry}/atoms/std-agent-conversation.orb +4 -79
  150. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  151. package/dist/{exports → behaviors/registry}/atoms/std-agent-provider.orb +9 -14
  152. package/dist/behaviors/{exports → registry}/atoms/std-agent-search.orb +5 -8
  153. package/dist/{exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  154. package/dist/{exports → behaviors/registry}/atoms/std-agent-step-progress.orb +4 -8
  155. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  156. package/dist/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  157. package/dist/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  158. package/dist/behaviors/{exports → registry}/atoms/std-autoregressive.orb +13 -2
  159. package/dist/{exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  160. package/dist/{exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  161. package/dist/behaviors/{exports → registry}/atoms/std-calendar.orb +4 -8
  162. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  163. package/dist/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  164. package/dist/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  165. package/dist/behaviors/{exports → registry}/atoms/std-combat-log.orb +4 -8
  166. package/dist/{exports → behaviors/registry}/atoms/std-combat.orb +4 -8
  167. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-confirmation.orb +6 -5
  168. package/dist/{exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  169. package/dist/{exports → behaviors/registry}/atoms/std-display.orb +4 -153
  170. package/dist/behaviors/{exports → registry}/atoms/std-drawer.orb +4 -58
  171. package/dist/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  172. package/dist/behaviors/{exports → registry}/atoms/std-flip-card.orb +4 -8
  173. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-gallery.orb +4 -8
  174. package/dist/behaviors/{exports → registry}/atoms/std-game-audio.orb +4 -8
  175. package/dist/behaviors/{exports → registry}/atoms/std-game-canvas2d.orb +3 -6
  176. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  177. package/dist/behaviors/{exports → registry}/atoms/std-game-hud.orb +4 -16
  178. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-menu.orb +4 -8
  179. package/dist/{exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  180. package/dist/behaviors/{exports → registry}/atoms/std-gameflow.orb +4 -8
  181. package/dist/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  182. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-input.orb +4 -8
  183. package/dist/behaviors/{exports → registry}/atoms/std-inventory-panel.orb +4 -12
  184. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  185. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-loading.orb +4 -8
  186. package/dist/{exports → behaviors/registry}/atoms/std-modal.orb +12 -9
  187. package/dist/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  188. package/dist/{exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  189. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-overworld.orb +4 -8
  190. package/dist/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  191. package/dist/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  192. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  193. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-quest.orb +5 -14
  194. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  195. package/dist/behaviors/{exports → registry}/atoms/std-rating.orb +4 -8
  196. package/dist/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  197. package/dist/behaviors/{exports → registry}/atoms/std-score-board.orb +4 -8
  198. package/dist/behaviors/{exports → registry}/atoms/std-score.orb +4 -8
  199. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-search.orb +4 -8
  200. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-selection.orb +4 -8
  201. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-bearer.orb +4 -19
  202. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-header.orb +4 -21
  203. package/dist/{exports → behaviors/registry}/atoms/std-service-custom-noauth.orb +4 -15
  204. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  205. package/dist/{exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  206. package/dist/behaviors/{exports → registry}/atoms/std-service-github.orb +4 -8
  207. package/dist/{exports → behaviors/registry}/atoms/std-service-llm.orb +4 -8
  208. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  209. package/dist/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  210. package/dist/behaviors/{exports → registry}/atoms/std-service-storage.orb +4 -8
  211. package/dist/{exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  212. package/dist/{exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  213. package/dist/behaviors/{exports → registry}/atoms/std-service-youtube.orb +4 -8
  214. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  215. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sort.orb +4 -52
  216. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sprite.orb +4 -8
  217. package/dist/{exports → behaviors/registry}/atoms/std-tabs.orb +4 -16
  218. package/dist/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  219. package/dist/behaviors/{exports → registry}/atoms/std-text-effects.orb +4 -8
  220. package/dist/{exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  221. package/dist/{exports → behaviors/registry}/atoms/std-timer.orb +4 -8
  222. package/dist/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  223. package/dist/{exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  224. package/dist/{exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  225. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  226. package/dist/behaviors/{exports → registry}/atoms/std-wizard.orb +4 -26
  227. package/dist/{exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  228. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  229. package/dist/{exports → behaviors/registry}/molecules/std-agent-planner.orb +613 -869
  230. package/dist/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  231. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  232. package/dist/{exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  233. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-cart.orb +197 -318
  234. package/dist/{exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  235. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  236. package/dist/behaviors/registry/molecules/std-detail.orb +439 -0
  237. package/dist/{exports → behaviors/registry}/molecules/std-event-handler-game.orb +4 -8
  238. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  239. package/dist/behaviors/registry/molecules/std-geospatial.orb +502 -0
  240. package/dist/behaviors/registry/molecules/std-inventory.orb +564 -0
  241. package/dist/behaviors/registry/molecules/std-list.orb +707 -0
  242. package/dist/behaviors/registry/molecules/std-messaging.orb +424 -0
  243. package/dist/{exports → behaviors/registry}/molecules/std-negotiator-game.orb +4 -8
  244. package/dist/{exports → behaviors/registry}/molecules/std-platformer-game.orb +4 -8
  245. package/dist/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  246. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-quiz.orb +4 -8
  247. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  248. package/dist/{exports → behaviors/registry}/molecules/std-service-content-pipeline.orb +4 -8
  249. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  250. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  251. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  252. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  253. package/dist/{exports → behaviors/registry}/molecules/std-simulator-game.orb +4 -8
  254. package/dist/{exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  255. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  256. package/dist/{exports → behaviors/registry}/organisms/std-agent-builder.orb +816 -1320
  257. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  258. package/dist/behaviors/{exports → registry}/organisms/std-agent-reviewer.orb +308 -372
  259. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  260. package/dist/behaviors/{exports → registry}/organisms/std-api-gateway.orb +24 -26
  261. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  262. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-booking-system.orb +44 -48
  263. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  264. package/dist/{exports → behaviors/registry}/organisms/std-cms.orb +50 -55
  265. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  266. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-crm.orb +50 -55
  267. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  268. package/dist/{exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  269. package/dist/{exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  270. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-healthcare.orb +50 -55
  271. package/dist/behaviors/{exports → registry}/organisms/std-helpdesk.orb +30 -33
  272. package/dist/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  273. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  274. package/dist/behaviors/{exports → registry}/organisms/std-lms.orb +24 -26
  275. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-logic-training.orb +4 -4
  276. package/dist/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  277. package/dist/{exports → behaviors/registry}/organisms/std-project-manager.orb +44 -48
  278. package/dist/behaviors/{exports → registry}/organisms/std-puzzle-app.orb +4 -4
  279. package/dist/{exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  280. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  281. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  282. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  283. package/dist/{exports → behaviors/registry}/organisms/std-social-feed.orb +16 -18
  284. package/dist/{exports → behaviors/registry}/organisms/std-stem-lab.orb +4 -4
  285. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  286. package/dist/behaviors/{exports → registry}/organisms/std-trading-dashboard.orb +24 -30
  287. package/package.json +2 -2
  288. package/behaviors/exports/atoms/std-agent-classifier.orb +0 -879
  289. package/behaviors/exports/atoms/std-agent-completion.orb +0 -941
  290. package/behaviors/exports/atoms/std-agent-search.orb +0 -431
  291. package/behaviors/exports/atoms/std-agent-session.orb +0 -777
  292. package/behaviors/exports/atoms/std-autoregressive.orb +0 -420
  293. package/behaviors/exports/atoms/std-browse.orb +0 -251
  294. package/behaviors/exports/atoms/std-cache-aside.orb +0 -1101
  295. package/behaviors/exports/atoms/std-calendar.orb +0 -775
  296. package/behaviors/exports/atoms/std-combat-log.orb +0 -268
  297. package/behaviors/exports/atoms/std-dialogue-box.orb +0 -249
  298. package/behaviors/exports/atoms/std-drawer.orb +0 -578
  299. package/behaviors/exports/atoms/std-flip-card.orb +0 -601
  300. package/behaviors/exports/atoms/std-game-audio.orb +0 -350
  301. package/behaviors/exports/atoms/std-game-canvas2d.orb +0 -263
  302. package/behaviors/exports/atoms/std-game-hud.orb +0 -170
  303. package/behaviors/exports/atoms/std-game-over-screen.orb +0 -206
  304. package/behaviors/exports/atoms/std-gameflow.orb +0 -419
  305. package/behaviors/exports/atoms/std-inventory-panel.orb +0 -266
  306. package/behaviors/exports/atoms/std-notification.orb +0 -446
  307. package/behaviors/exports/atoms/std-rating.orb +0 -333
  308. package/behaviors/exports/atoms/std-score-board.orb +0 -249
  309. package/behaviors/exports/atoms/std-score.orb +0 -713
  310. package/behaviors/exports/atoms/std-service-custom-bearer.orb +0 -562
  311. package/behaviors/exports/atoms/std-service-custom-header.orb +0 -564
  312. package/behaviors/exports/atoms/std-service-email.orb +0 -545
  313. package/behaviors/exports/atoms/std-service-github.orb +0 -591
  314. package/behaviors/exports/atoms/std-service-storage.orb +0 -669
  315. package/behaviors/exports/atoms/std-service-stripe.orb +0 -644
  316. package/behaviors/exports/atoms/std-service-twilio.orb +0 -616
  317. package/behaviors/exports/atoms/std-service-youtube.orb +0 -701
  318. package/behaviors/exports/atoms/std-text-effects.orb +0 -663
  319. package/behaviors/exports/atoms/std-theme.orb +0 -578
  320. package/behaviors/exports/atoms/std-undo.orb +0 -830
  321. package/behaviors/exports/atoms/std-upload.orb +0 -540
  322. package/behaviors/exports/atoms/std-wizard.orb +0 -1120
  323. package/behaviors/exports/molecules/std-agent-fix-loop.orb +0 -3327
  324. package/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  325. package/behaviors/exports/molecules/std-builder-game.orb +0 -234
  326. package/behaviors/exports/molecules/std-classifier-game.orb +0 -234
  327. package/behaviors/exports/molecules/std-detail.orb +0 -621
  328. package/behaviors/exports/molecules/std-geospatial.orb +0 -657
  329. package/behaviors/exports/molecules/std-inventory.orb +0 -823
  330. package/behaviors/exports/molecules/std-list.orb +0 -1066
  331. package/behaviors/exports/molecules/std-messaging.orb +0 -605
  332. package/behaviors/exports/molecules/std-turn-based-battle.orb +0 -514
  333. package/behaviors/exports/organisms/std-agent-reviewer.orb +0 -5277
  334. package/behaviors/exports/organisms/std-api-gateway.orb +0 -3745
  335. package/behaviors/exports/organisms/std-ecommerce.orb +0 -4553
  336. package/behaviors/exports/organisms/std-finance-tracker.orb +0 -3091
  337. package/behaviors/exports/organisms/std-helpdesk.orb +0 -3328
  338. package/behaviors/exports/organisms/std-lms.orb +0 -3885
  339. package/behaviors/exports/organisms/std-puzzle-app.orb +0 -889
  340. package/behaviors/exports/organisms/std-realtime-chat.orb +0 -3428
  341. package/behaviors/exports/organisms/std-trading-dashboard.orb +0 -3080
  342. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  343. package/behaviors/exports/validation-report.json +0 -1672
  344. package/behaviors/exports/verify-results.json +0 -126
  345. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +0 -2299
  346. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +0 -1029
  347. package/dist/behaviors/exports/atoms/std-agent-memory.orb +0 -777
  348. package/dist/behaviors/exports/atoms/std-agent-provider.orb +0 -906
  349. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +0 -994
  350. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +0 -1621
  351. package/dist/behaviors/exports/atoms/std-combat.orb +0 -421
  352. package/dist/behaviors/exports/atoms/std-confirmation.orb +0 -496
  353. package/dist/behaviors/exports/atoms/std-display.orb +0 -1803
  354. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +0 -642
  355. package/dist/behaviors/exports/atoms/std-modal.orb +0 -425
  356. package/dist/behaviors/exports/atoms/std-overworld.orb +0 -517
  357. package/dist/behaviors/exports/atoms/std-quest.orb +0 -1262
  358. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +0 -897
  359. package/dist/behaviors/exports/atoms/std-search.orb +0 -394
  360. package/dist/behaviors/exports/atoms/std-selection.orb +0 -810
  361. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +0 -558
  362. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +0 -564
  363. package/dist/behaviors/exports/atoms/std-service-llm.orb +0 -676
  364. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +0 -194
  365. package/dist/behaviors/exports/atoms/std-sort.orb +0 -760
  366. package/dist/behaviors/exports/atoms/std-tabs.orb +0 -298
  367. package/dist/behaviors/exports/atoms/std-timer.orb +0 -1428
  368. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +0 -624
  369. package/dist/behaviors/exports/molecules/std-agent-planner.orb +0 -2037
  370. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  371. package/dist/behaviors/exports/molecules/std-cart.orb +0 -754
  372. package/dist/behaviors/exports/molecules/std-debugger-game.orb +0 -234
  373. package/dist/behaviors/exports/molecules/std-detail.orb +0 -621
  374. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +0 -234
  375. package/dist/behaviors/exports/molecules/std-form-advanced.orb +0 -659
  376. package/dist/behaviors/exports/molecules/std-geospatial.orb +0 -657
  377. package/dist/behaviors/exports/molecules/std-inventory.orb +0 -823
  378. package/dist/behaviors/exports/molecules/std-list.orb +0 -1066
  379. package/dist/behaviors/exports/molecules/std-messaging.orb +0 -605
  380. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +0 -234
  381. package/dist/behaviors/exports/molecules/std-platformer-game.orb +0 -557
  382. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +0 -234
  383. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +0 -920
  384. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +0 -1531
  385. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +0 -701
  386. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +0 -878
  387. package/dist/behaviors/exports/molecules/std-simulator-game.orb +0 -234
  388. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +0 -6336
  389. package/dist/behaviors/exports/organisms/std-agent-builder.orb +0 -14139
  390. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +0 -10974
  391. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +0 -5003
  392. package/dist/behaviors/exports/organisms/std-arcade-game.orb +0 -1144
  393. package/dist/behaviors/exports/organisms/std-booking-system.orb +0 -5142
  394. package/dist/behaviors/exports/organisms/std-cms.orb +0 -2887
  395. package/dist/behaviors/exports/organisms/std-crm.orb +0 -4366
  396. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +0 -5772
  397. package/dist/behaviors/exports/organisms/std-healthcare.orb +0 -6001
  398. package/dist/behaviors/exports/organisms/std-project-manager.orb +0 -3819
  399. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +0 -4479
  400. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +0 -3568
  401. package/dist/behaviors/exports/organisms/std-social-feed.orb +0 -1246
  402. package/dist/behaviors/exports/organisms/std-stem-lab.orb +0 -1922
  403. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  404. package/dist/behaviors/exports/validation-report.json +0 -1672
  405. package/dist/behaviors/exports/verify-results.json +0 -126
  406. package/dist/exports/atoms/std-agent-activity-log.orb +0 -575
  407. package/dist/exports/atoms/std-agent-chat-thread.orb +0 -783
  408. package/dist/exports/atoms/std-agent-tool-call.orb +0 -746
  409. package/dist/exports/atoms/std-async.orb +0 -443
  410. package/dist/exports/atoms/std-circuit-breaker.orb +0 -999
  411. package/dist/exports/atoms/std-collision.orb +0 -694
  412. package/dist/exports/atoms/std-filter.orb +0 -641
  413. package/dist/exports/atoms/std-gallery.orb +0 -387
  414. package/dist/exports/atoms/std-game-canvas3d.orb +0 -401
  415. package/dist/exports/atoms/std-game-menu.orb +0 -222
  416. package/dist/exports/atoms/std-input.orb +0 -640
  417. package/dist/exports/atoms/std-loading.orb +0 -496
  418. package/dist/exports/atoms/std-movement.orb +0 -1413
  419. package/dist/exports/atoms/std-pagination.orb +0 -266
  420. package/dist/exports/atoms/std-physics2d.orb +0 -430
  421. package/dist/exports/atoms/std-platformer-canvas.orb +0 -268
  422. package/dist/exports/atoms/std-service-oauth.orb +0 -769
  423. package/dist/exports/atoms/std-service-redis.orb +0 -585
  424. package/dist/exports/atoms/std-sprite.orb +0 -315
  425. package/dist/exports/molecules/std-agent-learner.orb +0 -2315
  426. package/dist/exports/molecules/std-agent-rag.orb +0 -1745
  427. package/dist/exports/molecules/std-agent-tool-loop.orb +0 -4451
  428. package/dist/exports/molecules/std-detail.orb +0 -621
  429. package/dist/exports/molecules/std-geospatial.orb +0 -657
  430. package/dist/exports/molecules/std-inventory.orb +0 -823
  431. package/dist/exports/molecules/std-list.orb +0 -1066
  432. package/dist/exports/molecules/std-messaging.orb +0 -605
  433. package/dist/exports/molecules/std-puzzle-game.orb +0 -584
  434. package/dist/exports/molecules/std-quiz.orb +0 -1074
  435. package/dist/exports/molecules/std-service-custom-api-tester.orb +0 -865
  436. package/dist/exports/organisms/std-cicd-pipeline.orb +0 -3425
  437. package/dist/exports/organisms/std-coding-academy.orb +0 -2084
  438. package/dist/exports/organisms/std-hr-portal.orb +0 -5236
  439. package/dist/exports/organisms/std-iot-dashboard.orb +0 -3914
  440. package/dist/exports/organisms/std-logic-training.orb +0 -753
  441. package/dist/exports/organisms/std-platformer-app.orb +0 -1679
  442. package/dist/exports/organisms/std-rpg-game.orb +0 -3298
  443. package/dist/exports/organisms/std-strategy-game.orb +0 -2443
  444. package/dist/exports/test-schemas/os-trigger-simulation.orb +0 -202
  445. package/dist/exports/validation-report.json +0 -1672
  446. package/dist/exports/verify-results.json +0 -126
@@ -1,3568 +0,0 @@
1
- {
2
- "name": "ResearchAssistant",
3
- "version": "1.0.0",
4
- "orbitals": [
5
- {
6
- "name": "ResearchOrbital",
7
- "entity": {
8
- "name": "Research",
9
- "persistence": "runtime",
10
- "fields": [
11
- {
12
- "name": "id",
13
- "type": "string",
14
- "required": true
15
- },
16
- {
17
- "name": "query",
18
- "type": "string",
19
- "default": ""
20
- },
21
- {
22
- "name": "videoTitle",
23
- "type": "string",
24
- "default": ""
25
- },
26
- {
27
- "name": "videoDescription",
28
- "type": "string",
29
- "default": ""
30
- },
31
- {
32
- "name": "summary",
33
- "type": "string",
34
- "default": ""
35
- },
36
- {
37
- "name": "pipelineStatus",
38
- "type": "string",
39
- "default": "idle"
40
- },
41
- {
42
- "name": "error",
43
- "type": "string",
44
- "default": ""
45
- }
46
- ]
47
- },
48
- "traits": [
49
- {
50
- "name": "ResearchPipeline",
51
- "linkedEntity": "Research",
52
- "category": "interaction",
53
- "stateMachine": {
54
- "states": [
55
- {
56
- "name": "idle",
57
- "isInitial": true
58
- },
59
- {
60
- "name": "searching"
61
- },
62
- {
63
- "name": "results"
64
- },
65
- {
66
- "name": "summarizing"
67
- },
68
- {
69
- "name": "complete"
70
- },
71
- {
72
- "name": "error"
73
- }
74
- ],
75
- "events": [
76
- {
77
- "key": "INIT",
78
- "name": "Initialize"
79
- },
80
- {
81
- "key": "SEARCH",
82
- "name": "Search"
83
- },
84
- {
85
- "key": "SEARCH_COMPLETE",
86
- "name": "Search Complete",
87
- "payload": [
88
- {
89
- "name": "results",
90
- "type": "array",
91
- "required": true
92
- }
93
- ]
94
- },
95
- {
96
- "key": "SELECT_AND_SUMMARIZE",
97
- "name": "Select and Summarize",
98
- "payload": [
99
- {
100
- "name": "videoId",
101
- "type": "string",
102
- "required": true
103
- }
104
- ]
105
- },
106
- {
107
- "key": "VIDEO_FETCHED",
108
- "name": "Video Fetched",
109
- "payload": [
110
- {
111
- "name": "title",
112
- "type": "string",
113
- "required": true
114
- },
115
- {
116
- "name": "description",
117
- "type": "string",
118
- "required": true
119
- }
120
- ]
121
- },
122
- {
123
- "key": "SUMMARY_COMPLETE",
124
- "name": "Summary Complete",
125
- "payload": [
126
- {
127
- "name": "content",
128
- "type": "string",
129
- "required": true
130
- }
131
- ]
132
- },
133
- {
134
- "key": "FAILED",
135
- "name": "Failed",
136
- "payload": [
137
- {
138
- "name": "error",
139
- "type": "string",
140
- "required": true
141
- }
142
- ]
143
- },
144
- {
145
- "key": "RESET",
146
- "name": "Reset"
147
- }
148
- ],
149
- "transitions": [
150
- {
151
- "from": "idle",
152
- "to": "idle",
153
- "event": "INIT",
154
- "effects": [
155
- [
156
- "render-ui",
157
- "main",
158
- {
159
- "type": "dashboard-layout",
160
- "appName": "ResearchAssistant",
161
- "navItems": [
162
- {
163
- "label": "Research",
164
- "href": "/research",
165
- "icon": "search"
166
- },
167
- {
168
- "label": "Cache",
169
- "href": "/cache",
170
- "icon": "database"
171
- },
172
- {
173
- "label": "Reports",
174
- "href": "/reports",
175
- "icon": "file-text"
176
- },
177
- {
178
- "label": "Knowledge",
179
- "href": "/knowledge",
180
- "icon": "book-open"
181
- }
182
- ],
183
- "children": [
184
- {
185
- "type": "stack",
186
- "direction": "vertical",
187
- "gap": "lg",
188
- "children": [
189
- {
190
- "type": "stack",
191
- "direction": "horizontal",
192
- "gap": "sm",
193
- "align": "center",
194
- "children": [
195
- {
196
- "type": "icon",
197
- "name": "search",
198
- "size": "lg"
199
- },
200
- {
201
- "type": "typography",
202
- "content": "Content Research",
203
- "variant": "h2"
204
- }
205
- ]
206
- },
207
- {
208
- "type": "divider"
209
- },
210
- {
211
- "type": "card",
212
- "children": [
213
- {
214
- "type": "stack",
215
- "direction": "vertical",
216
- "gap": "md",
217
- "children": [
218
- {
219
- "type": "typography",
220
- "content": "Search YouTube for content to summarize",
221
- "variant": "body"
222
- },
223
- {
224
- "type": "form-section",
225
- "entity": "Research",
226
- "mode": "edit",
227
- "submitEvent": "SEARCH",
228
- "fields": [
229
- "query"
230
- ]
231
- }
232
- ]
233
- }
234
- ]
235
- }
236
- ]
237
- }
238
- ]
239
- }
240
- ]
241
- ]
242
- },
243
- {
244
- "from": "idle",
245
- "to": "searching",
246
- "event": "SEARCH",
247
- "effects": [
248
- [
249
- "set",
250
- "@entity.pipelineStatus",
251
- "searching"
252
- ],
253
- [
254
- "call-service",
255
- "youtube",
256
- "search",
257
- {
258
- "query": "@entity.query",
259
- "maxResults": 5,
260
- "type": "video"
261
- }
262
- ],
263
- [
264
- "render-ui",
265
- "main",
266
- {
267
- "type": "dashboard-layout",
268
- "appName": "ResearchAssistant",
269
- "navItems": [
270
- {
271
- "label": "Research",
272
- "href": "/research",
273
- "icon": "search"
274
- },
275
- {
276
- "label": "Cache",
277
- "href": "/cache",
278
- "icon": "database"
279
- },
280
- {
281
- "label": "Reports",
282
- "href": "/reports",
283
- "icon": "file-text"
284
- },
285
- {
286
- "label": "Knowledge",
287
- "href": "/knowledge",
288
- "icon": "book-open"
289
- }
290
- ],
291
- "children": [
292
- {
293
- "type": "stack",
294
- "direction": "vertical",
295
- "gap": "lg",
296
- "align": "center",
297
- "children": [
298
- {
299
- "type": "icon",
300
- "name": "search",
301
- "size": "lg"
302
- },
303
- {
304
- "type": "typography",
305
- "content": "Searching YouTube...",
306
- "variant": "h3"
307
- },
308
- {
309
- "type": "spinner",
310
- "size": "lg"
311
- },
312
- {
313
- "type": "typography",
314
- "content": "@entity.query",
315
- "variant": "caption"
316
- }
317
- ]
318
- }
319
- ]
320
- }
321
- ]
322
- ]
323
- },
324
- {
325
- "from": "searching",
326
- "to": "results",
327
- "event": "SEARCH_COMPLETE",
328
- "effects": [
329
- [
330
- "set",
331
- "@entity.pipelineStatus",
332
- "results"
333
- ],
334
- [
335
- "render-ui",
336
- "main",
337
- {
338
- "type": "dashboard-layout",
339
- "appName": "ResearchAssistant",
340
- "navItems": [
341
- {
342
- "label": "Research",
343
- "href": "/research",
344
- "icon": "search"
345
- },
346
- {
347
- "label": "Cache",
348
- "href": "/cache",
349
- "icon": "database"
350
- },
351
- {
352
- "label": "Reports",
353
- "href": "/reports",
354
- "icon": "file-text"
355
- },
356
- {
357
- "label": "Knowledge",
358
- "href": "/knowledge",
359
- "icon": "book-open"
360
- }
361
- ],
362
- "children": [
363
- {
364
- "type": "stack",
365
- "direction": "vertical",
366
- "gap": "lg",
367
- "children": [
368
- {
369
- "type": "stack",
370
- "direction": "horizontal",
371
- "gap": "sm",
372
- "align": "center",
373
- "justify": "space-between",
374
- "children": [
375
- {
376
- "type": "stack",
377
- "direction": "horizontal",
378
- "gap": "sm",
379
- "align": "center",
380
- "children": [
381
- {
382
- "type": "icon",
383
- "name": "video",
384
- "size": "lg"
385
- },
386
- {
387
- "type": "typography",
388
- "content": "Search Results",
389
- "variant": "h2"
390
- }
391
- ]
392
- },
393
- {
394
- "type": "button",
395
- "label": "New Search",
396
- "event": "RESET",
397
- "variant": "ghost",
398
- "icon": "rotate-ccw"
399
- }
400
- ]
401
- },
402
- {
403
- "type": "divider"
404
- },
405
- {
406
- "type": "data-grid",
407
- "entity": "Research",
408
- "emptyIcon": "inbox",
409
- "emptyTitle": "No results found",
410
- "emptyDescription": "Try a different search query.",
411
- "itemActions": [
412
- {
413
- "label": "Summarize",
414
- "event": "SELECT_AND_SUMMARIZE",
415
- "variant": "primary",
416
- "size": "sm"
417
- }
418
- ],
419
- "columns": [
420
- {
421
- "name": "videoTitle",
422
- "label": "Title",
423
- "variant": "h4",
424
- "icon": "video"
425
- },
426
- {
427
- "name": "videoDescription",
428
- "label": "Description",
429
- "variant": "caption"
430
- }
431
- ]
432
- }
433
- ]
434
- }
435
- ]
436
- }
437
- ]
438
- ]
439
- },
440
- {
441
- "from": "results",
442
- "to": "summarizing",
443
- "event": "SELECT_AND_SUMMARIZE",
444
- "effects": [
445
- [
446
- "set",
447
- "@entity.pipelineStatus",
448
- "summarizing"
449
- ],
450
- [
451
- "call-service",
452
- "youtube",
453
- "getVideo",
454
- {
455
- "videoId": "@payload.videoId"
456
- }
457
- ],
458
- [
459
- "render-ui",
460
- "main",
461
- {
462
- "type": "dashboard-layout",
463
- "appName": "ResearchAssistant",
464
- "navItems": [
465
- {
466
- "label": "Research",
467
- "href": "/research",
468
- "icon": "search"
469
- },
470
- {
471
- "label": "Cache",
472
- "href": "/cache",
473
- "icon": "database"
474
- },
475
- {
476
- "label": "Reports",
477
- "href": "/reports",
478
- "icon": "file-text"
479
- },
480
- {
481
- "label": "Knowledge",
482
- "href": "/knowledge",
483
- "icon": "book-open"
484
- }
485
- ],
486
- "children": [
487
- {
488
- "type": "stack",
489
- "direction": "vertical",
490
- "gap": "lg",
491
- "align": "center",
492
- "children": [
493
- {
494
- "type": "icon",
495
- "name": "cpu",
496
- "size": "lg"
497
- },
498
- {
499
- "type": "typography",
500
- "content": "Fetching & summarizing...",
501
- "variant": "h3"
502
- },
503
- {
504
- "type": "spinner",
505
- "size": "lg"
506
- },
507
- {
508
- "type": "typography",
509
- "content": "@entity.videoTitle",
510
- "variant": "caption"
511
- }
512
- ]
513
- }
514
- ]
515
- }
516
- ]
517
- ]
518
- },
519
- {
520
- "from": "summarizing",
521
- "to": "summarizing",
522
- "event": "VIDEO_FETCHED",
523
- "effects": [
524
- [
525
- "set",
526
- "@entity.videoTitle",
527
- "@payload.title"
528
- ],
529
- [
530
- "set",
531
- "@entity.videoDescription",
532
- "@payload.description"
533
- ],
534
- [
535
- "call-service",
536
- "llm",
537
- "summarize",
538
- {
539
- "text": "@entity.videoDescription"
540
- }
541
- ]
542
- ]
543
- },
544
- {
545
- "from": "summarizing",
546
- "to": "complete",
547
- "event": "SUMMARY_COMPLETE",
548
- "effects": [
549
- [
550
- "set",
551
- "@entity.summary",
552
- "@payload.content"
553
- ],
554
- [
555
- "set",
556
- "@entity.pipelineStatus",
557
- "complete"
558
- ],
559
- [
560
- "render-ui",
561
- "main",
562
- {
563
- "type": "dashboard-layout",
564
- "appName": "ResearchAssistant",
565
- "navItems": [
566
- {
567
- "label": "Research",
568
- "href": "/research",
569
- "icon": "search"
570
- },
571
- {
572
- "label": "Cache",
573
- "href": "/cache",
574
- "icon": "database"
575
- },
576
- {
577
- "label": "Reports",
578
- "href": "/reports",
579
- "icon": "file-text"
580
- },
581
- {
582
- "label": "Knowledge",
583
- "href": "/knowledge",
584
- "icon": "book-open"
585
- }
586
- ],
587
- "children": [
588
- {
589
- "type": "stack",
590
- "direction": "vertical",
591
- "gap": "lg",
592
- "children": [
593
- {
594
- "type": "stack",
595
- "direction": "horizontal",
596
- "gap": "sm",
597
- "align": "center",
598
- "justify": "space-between",
599
- "children": [
600
- {
601
- "type": "stack",
602
- "direction": "horizontal",
603
- "gap": "sm",
604
- "align": "center",
605
- "children": [
606
- {
607
- "type": "icon",
608
- "name": "check-circle",
609
- "size": "lg"
610
- },
611
- {
612
- "type": "typography",
613
- "content": "Research Complete",
614
- "variant": "h2"
615
- }
616
- ]
617
- },
618
- {
619
- "type": "button",
620
- "label": "New Search",
621
- "event": "RESET",
622
- "variant": "ghost",
623
- "icon": "rotate-ccw"
624
- }
625
- ]
626
- },
627
- {
628
- "type": "divider"
629
- },
630
- {
631
- "type": "card",
632
- "children": [
633
- {
634
- "type": "stack",
635
- "direction": "vertical",
636
- "gap": "md",
637
- "children": [
638
- {
639
- "type": "stack",
640
- "direction": "horizontal",
641
- "gap": "sm",
642
- "align": "center",
643
- "children": [
644
- {
645
- "type": "icon",
646
- "name": "video",
647
- "size": "sm"
648
- },
649
- {
650
- "type": "typography",
651
- "content": "@entity.videoTitle",
652
- "variant": "h3"
653
- }
654
- ]
655
- },
656
- {
657
- "type": "divider"
658
- },
659
- {
660
- "type": "typography",
661
- "content": "Summary",
662
- "variant": "caption"
663
- },
664
- {
665
- "type": "typography",
666
- "content": "@entity.summary",
667
- "variant": "body"
668
- }
669
- ]
670
- }
671
- ]
672
- }
673
- ]
674
- }
675
- ]
676
- }
677
- ]
678
- ]
679
- },
680
- {
681
- "from": "searching",
682
- "to": "error",
683
- "event": "FAILED",
684
- "effects": [
685
- [
686
- "set",
687
- "@entity.error",
688
- "@payload.error"
689
- ],
690
- [
691
- "set",
692
- "@entity.pipelineStatus",
693
- "error"
694
- ],
695
- [
696
- "render-ui",
697
- "main",
698
- {
699
- "type": "dashboard-layout",
700
- "appName": "ResearchAssistant",
701
- "navItems": [
702
- {
703
- "label": "Research",
704
- "href": "/research",
705
- "icon": "search"
706
- },
707
- {
708
- "label": "Cache",
709
- "href": "/cache",
710
- "icon": "database"
711
- },
712
- {
713
- "label": "Reports",
714
- "href": "/reports",
715
- "icon": "file-text"
716
- },
717
- {
718
- "label": "Knowledge",
719
- "href": "/knowledge",
720
- "icon": "book-open"
721
- }
722
- ],
723
- "children": [
724
- {
725
- "type": "stack",
726
- "direction": "vertical",
727
- "gap": "lg",
728
- "align": "center",
729
- "children": [
730
- {
731
- "type": "icon",
732
- "name": "alert-triangle",
733
- "size": "lg"
734
- },
735
- {
736
- "type": "typography",
737
- "content": "Pipeline Error",
738
- "variant": "h2"
739
- },
740
- {
741
- "type": "alert",
742
- "variant": "error",
743
- "message": "@entity.error"
744
- },
745
- {
746
- "type": "button",
747
- "label": "Try Again",
748
- "event": "RESET",
749
- "variant": "primary",
750
- "icon": "rotate-ccw"
751
- }
752
- ]
753
- }
754
- ]
755
- }
756
- ]
757
- ]
758
- },
759
- {
760
- "from": "summarizing",
761
- "to": "error",
762
- "event": "FAILED",
763
- "effects": [
764
- [
765
- "set",
766
- "@entity.error",
767
- "@payload.error"
768
- ],
769
- [
770
- "set",
771
- "@entity.pipelineStatus",
772
- "error"
773
- ],
774
- [
775
- "render-ui",
776
- "main",
777
- {
778
- "type": "dashboard-layout",
779
- "appName": "ResearchAssistant",
780
- "navItems": [
781
- {
782
- "label": "Research",
783
- "href": "/research",
784
- "icon": "search"
785
- },
786
- {
787
- "label": "Cache",
788
- "href": "/cache",
789
- "icon": "database"
790
- },
791
- {
792
- "label": "Reports",
793
- "href": "/reports",
794
- "icon": "file-text"
795
- },
796
- {
797
- "label": "Knowledge",
798
- "href": "/knowledge",
799
- "icon": "book-open"
800
- }
801
- ],
802
- "children": [
803
- {
804
- "type": "stack",
805
- "direction": "vertical",
806
- "gap": "lg",
807
- "align": "center",
808
- "children": [
809
- {
810
- "type": "icon",
811
- "name": "alert-triangle",
812
- "size": "lg"
813
- },
814
- {
815
- "type": "typography",
816
- "content": "Pipeline Error",
817
- "variant": "h2"
818
- },
819
- {
820
- "type": "alert",
821
- "variant": "error",
822
- "message": "@entity.error"
823
- },
824
- {
825
- "type": "button",
826
- "label": "Try Again",
827
- "event": "RESET",
828
- "variant": "primary",
829
- "icon": "rotate-ccw"
830
- }
831
- ]
832
- }
833
- ]
834
- }
835
- ]
836
- ]
837
- },
838
- {
839
- "from": "complete",
840
- "to": "idle",
841
- "event": "RESET",
842
- "effects": [
843
- [
844
- "set",
845
- "@entity.pipelineStatus",
846
- "idle"
847
- ],
848
- [
849
- "set",
850
- "@entity.error",
851
- ""
852
- ],
853
- [
854
- "set",
855
- "@entity.summary",
856
- ""
857
- ],
858
- [
859
- "set",
860
- "@entity.videoTitle",
861
- ""
862
- ],
863
- [
864
- "set",
865
- "@entity.videoDescription",
866
- ""
867
- ],
868
- [
869
- "render-ui",
870
- "main",
871
- {
872
- "type": "dashboard-layout",
873
- "appName": "ResearchAssistant",
874
- "navItems": [
875
- {
876
- "label": "Research",
877
- "href": "/research",
878
- "icon": "search"
879
- },
880
- {
881
- "label": "Cache",
882
- "href": "/cache",
883
- "icon": "database"
884
- },
885
- {
886
- "label": "Reports",
887
- "href": "/reports",
888
- "icon": "file-text"
889
- },
890
- {
891
- "label": "Knowledge",
892
- "href": "/knowledge",
893
- "icon": "book-open"
894
- }
895
- ],
896
- "children": [
897
- {
898
- "type": "stack",
899
- "direction": "vertical",
900
- "gap": "lg",
901
- "children": [
902
- {
903
- "type": "stack",
904
- "direction": "horizontal",
905
- "gap": "sm",
906
- "align": "center",
907
- "children": [
908
- {
909
- "type": "icon",
910
- "name": "search",
911
- "size": "lg"
912
- },
913
- {
914
- "type": "typography",
915
- "content": "Content Research",
916
- "variant": "h2"
917
- }
918
- ]
919
- },
920
- {
921
- "type": "divider"
922
- },
923
- {
924
- "type": "card",
925
- "children": [
926
- {
927
- "type": "stack",
928
- "direction": "vertical",
929
- "gap": "md",
930
- "children": [
931
- {
932
- "type": "typography",
933
- "content": "Search YouTube for content to summarize",
934
- "variant": "body"
935
- },
936
- {
937
- "type": "form-section",
938
- "entity": "Research",
939
- "mode": "edit",
940
- "submitEvent": "SEARCH",
941
- "fields": [
942
- "query"
943
- ]
944
- }
945
- ]
946
- }
947
- ]
948
- }
949
- ]
950
- }
951
- ]
952
- }
953
- ]
954
- ]
955
- },
956
- {
957
- "from": "results",
958
- "to": "idle",
959
- "event": "RESET",
960
- "effects": [
961
- [
962
- "set",
963
- "@entity.pipelineStatus",
964
- "idle"
965
- ],
966
- [
967
- "render-ui",
968
- "main",
969
- {
970
- "type": "dashboard-layout",
971
- "appName": "ResearchAssistant",
972
- "navItems": [
973
- {
974
- "label": "Research",
975
- "href": "/research",
976
- "icon": "search"
977
- },
978
- {
979
- "label": "Cache",
980
- "href": "/cache",
981
- "icon": "database"
982
- },
983
- {
984
- "label": "Reports",
985
- "href": "/reports",
986
- "icon": "file-text"
987
- },
988
- {
989
- "label": "Knowledge",
990
- "href": "/knowledge",
991
- "icon": "book-open"
992
- }
993
- ],
994
- "children": [
995
- {
996
- "type": "stack",
997
- "direction": "vertical",
998
- "gap": "lg",
999
- "children": [
1000
- {
1001
- "type": "stack",
1002
- "direction": "horizontal",
1003
- "gap": "sm",
1004
- "align": "center",
1005
- "children": [
1006
- {
1007
- "type": "icon",
1008
- "name": "search",
1009
- "size": "lg"
1010
- },
1011
- {
1012
- "type": "typography",
1013
- "content": "Content Research",
1014
- "variant": "h2"
1015
- }
1016
- ]
1017
- },
1018
- {
1019
- "type": "divider"
1020
- },
1021
- {
1022
- "type": "card",
1023
- "children": [
1024
- {
1025
- "type": "stack",
1026
- "direction": "vertical",
1027
- "gap": "md",
1028
- "children": [
1029
- {
1030
- "type": "typography",
1031
- "content": "Search YouTube for content to summarize",
1032
- "variant": "body"
1033
- },
1034
- {
1035
- "type": "form-section",
1036
- "entity": "Research",
1037
- "mode": "edit",
1038
- "submitEvent": "SEARCH",
1039
- "fields": [
1040
- "query"
1041
- ]
1042
- }
1043
- ]
1044
- }
1045
- ]
1046
- }
1047
- ]
1048
- }
1049
- ]
1050
- }
1051
- ]
1052
- ]
1053
- },
1054
- {
1055
- "from": "error",
1056
- "to": "idle",
1057
- "event": "RESET",
1058
- "effects": [
1059
- [
1060
- "set",
1061
- "@entity.pipelineStatus",
1062
- "idle"
1063
- ],
1064
- [
1065
- "set",
1066
- "@entity.error",
1067
- ""
1068
- ],
1069
- [
1070
- "render-ui",
1071
- "main",
1072
- {
1073
- "type": "dashboard-layout",
1074
- "appName": "ResearchAssistant",
1075
- "navItems": [
1076
- {
1077
- "label": "Research",
1078
- "href": "/research",
1079
- "icon": "search"
1080
- },
1081
- {
1082
- "label": "Cache",
1083
- "href": "/cache",
1084
- "icon": "database"
1085
- },
1086
- {
1087
- "label": "Reports",
1088
- "href": "/reports",
1089
- "icon": "file-text"
1090
- },
1091
- {
1092
- "label": "Knowledge",
1093
- "href": "/knowledge",
1094
- "icon": "book-open"
1095
- }
1096
- ],
1097
- "children": [
1098
- {
1099
- "type": "stack",
1100
- "direction": "vertical",
1101
- "gap": "lg",
1102
- "children": [
1103
- {
1104
- "type": "stack",
1105
- "direction": "horizontal",
1106
- "gap": "sm",
1107
- "align": "center",
1108
- "children": [
1109
- {
1110
- "type": "icon",
1111
- "name": "search",
1112
- "size": "lg"
1113
- },
1114
- {
1115
- "type": "typography",
1116
- "content": "Content Research",
1117
- "variant": "h2"
1118
- }
1119
- ]
1120
- },
1121
- {
1122
- "type": "divider"
1123
- },
1124
- {
1125
- "type": "card",
1126
- "children": [
1127
- {
1128
- "type": "stack",
1129
- "direction": "vertical",
1130
- "gap": "md",
1131
- "children": [
1132
- {
1133
- "type": "typography",
1134
- "content": "Search YouTube for content to summarize",
1135
- "variant": "body"
1136
- },
1137
- {
1138
- "type": "form-section",
1139
- "entity": "Research",
1140
- "mode": "edit",
1141
- "submitEvent": "SEARCH",
1142
- "fields": [
1143
- "query"
1144
- ]
1145
- }
1146
- ]
1147
- }
1148
- ]
1149
- }
1150
- ]
1151
- }
1152
- ]
1153
- }
1154
- ]
1155
- ]
1156
- }
1157
- ]
1158
- }
1159
- }
1160
- ],
1161
- "pages": [
1162
- {
1163
- "name": "ResearchPage",
1164
- "path": "/research",
1165
- "isInitial": true,
1166
- "traits": [
1167
- {
1168
- "ref": "ResearchPipeline"
1169
- }
1170
- ]
1171
- }
1172
- ]
1173
- },
1174
- {
1175
- "name": "CacheEntryOrbital",
1176
- "entity": {
1177
- "name": "CacheEntry",
1178
- "persistence": "runtime",
1179
- "fields": [
1180
- {
1181
- "name": "id",
1182
- "type": "string",
1183
- "required": true
1184
- },
1185
- {
1186
- "name": "key",
1187
- "type": "string"
1188
- },
1189
- {
1190
- "name": "value",
1191
- "type": "string"
1192
- },
1193
- {
1194
- "name": "ttl",
1195
- "type": "number",
1196
- "default": 3600
1197
- },
1198
- {
1199
- "name": "result",
1200
- "type": "string"
1201
- },
1202
- {
1203
- "name": "redisStatus",
1204
- "type": "string",
1205
- "default": "idle"
1206
- },
1207
- {
1208
- "name": "error",
1209
- "type": "string"
1210
- }
1211
- ]
1212
- },
1213
- "traits": [
1214
- {
1215
- "name": "CacheEntryRedis",
1216
- "linkedEntity": "CacheEntry",
1217
- "category": "interaction",
1218
- "stateMachine": {
1219
- "states": [
1220
- {
1221
- "name": "idle",
1222
- "isInitial": true
1223
- },
1224
- {
1225
- "name": "executing"
1226
- },
1227
- {
1228
- "name": "complete"
1229
- },
1230
- {
1231
- "name": "error"
1232
- }
1233
- ],
1234
- "events": [
1235
- {
1236
- "key": "INIT",
1237
- "name": "Initialize"
1238
- },
1239
- {
1240
- "key": "GET_KEY",
1241
- "name": "Get Key"
1242
- },
1243
- {
1244
- "key": "SET_KEY",
1245
- "name": "Set Key"
1246
- },
1247
- {
1248
- "key": "DELETE_KEY",
1249
- "name": "Delete Key"
1250
- },
1251
- {
1252
- "key": "EXECUTED",
1253
- "name": "Executed",
1254
- "payload": [
1255
- {
1256
- "name": "data",
1257
- "type": "string",
1258
- "required": true
1259
- }
1260
- ]
1261
- },
1262
- {
1263
- "key": "FAILED",
1264
- "name": "Failed",
1265
- "payload": [
1266
- {
1267
- "name": "error",
1268
- "type": "string",
1269
- "required": true
1270
- }
1271
- ]
1272
- },
1273
- {
1274
- "key": "RESET",
1275
- "name": "Reset"
1276
- }
1277
- ],
1278
- "transitions": [
1279
- {
1280
- "from": "idle",
1281
- "to": "idle",
1282
- "event": "INIT",
1283
- "effects": [
1284
- [
1285
- "fetch",
1286
- "CacheEntry"
1287
- ],
1288
- [
1289
- "render-ui",
1290
- "main",
1291
- {
1292
- "type": "dashboard-layout",
1293
- "appName": "ResearchAssistant",
1294
- "navItems": [
1295
- {
1296
- "label": "Research",
1297
- "href": "/research",
1298
- "icon": "search"
1299
- },
1300
- {
1301
- "label": "Cache",
1302
- "href": "/cache",
1303
- "icon": "database"
1304
- },
1305
- {
1306
- "label": "Reports",
1307
- "href": "/reports",
1308
- "icon": "file-text"
1309
- },
1310
- {
1311
- "label": "Knowledge",
1312
- "href": "/knowledge",
1313
- "icon": "book-open"
1314
- }
1315
- ],
1316
- "children": [
1317
- {
1318
- "type": "stack",
1319
- "direction": "vertical",
1320
- "gap": "lg",
1321
- "align": "center",
1322
- "children": [
1323
- {
1324
- "type": "stack",
1325
- "direction": "horizontal",
1326
- "gap": "md",
1327
- "align": "center",
1328
- "children": [
1329
- {
1330
- "type": "icon",
1331
- "name": "database",
1332
- "size": "lg"
1333
- },
1334
- {
1335
- "type": "typography",
1336
- "content": "Redis Cache",
1337
- "variant": "h2"
1338
- }
1339
- ]
1340
- },
1341
- {
1342
- "type": "divider"
1343
- },
1344
- {
1345
- "type": "stack",
1346
- "direction": "vertical",
1347
- "gap": "md",
1348
- "children": [
1349
- {
1350
- "type": "input",
1351
- "label": "Key",
1352
- "bind": "@entity.key",
1353
- "placeholder": "cache-key"
1354
- },
1355
- {
1356
- "type": "input",
1357
- "label": "Value",
1358
- "bind": "@entity.value",
1359
- "placeholder": "cache-value"
1360
- },
1361
- {
1362
- "type": "input",
1363
- "label": "TTL (seconds)",
1364
- "bind": "@entity.ttl",
1365
- "inputType": "number",
1366
- "placeholder": "3600"
1367
- }
1368
- ]
1369
- },
1370
- {
1371
- "type": "stack",
1372
- "direction": "horizontal",
1373
- "gap": "sm",
1374
- "justify": "center",
1375
- "children": [
1376
- {
1377
- "type": "button",
1378
- "label": "Get",
1379
- "event": "GET_KEY",
1380
- "variant": "primary",
1381
- "icon": "download"
1382
- },
1383
- {
1384
- "type": "button",
1385
- "label": "Set",
1386
- "event": "SET_KEY",
1387
- "variant": "primary",
1388
- "icon": "upload"
1389
- },
1390
- {
1391
- "type": "button",
1392
- "label": "Delete",
1393
- "event": "DELETE_KEY",
1394
- "variant": "destructive",
1395
- "icon": "trash-2"
1396
- }
1397
- ]
1398
- }
1399
- ]
1400
- }
1401
- ]
1402
- }
1403
- ]
1404
- ]
1405
- },
1406
- {
1407
- "from": "idle",
1408
- "to": "executing",
1409
- "event": "GET_KEY",
1410
- "effects": [
1411
- [
1412
- "render-ui",
1413
- "main",
1414
- {
1415
- "type": "dashboard-layout",
1416
- "appName": "ResearchAssistant",
1417
- "navItems": [
1418
- {
1419
- "label": "Research",
1420
- "href": "/research",
1421
- "icon": "search"
1422
- },
1423
- {
1424
- "label": "Cache",
1425
- "href": "/cache",
1426
- "icon": "database"
1427
- },
1428
- {
1429
- "label": "Reports",
1430
- "href": "/reports",
1431
- "icon": "file-text"
1432
- },
1433
- {
1434
- "label": "Knowledge",
1435
- "href": "/knowledge",
1436
- "icon": "book-open"
1437
- }
1438
- ],
1439
- "children": [
1440
- {
1441
- "type": "loading-state",
1442
- "title": "Executing...",
1443
- "message": "Running redis operation..."
1444
- }
1445
- ]
1446
- }
1447
- ],
1448
- [
1449
- "call-service",
1450
- "redis",
1451
- "get",
1452
- {
1453
- "key": "@entity.key"
1454
- }
1455
- ]
1456
- ]
1457
- },
1458
- {
1459
- "from": "idle",
1460
- "to": "executing",
1461
- "event": "SET_KEY",
1462
- "effects": [
1463
- [
1464
- "render-ui",
1465
- "main",
1466
- {
1467
- "type": "dashboard-layout",
1468
- "appName": "ResearchAssistant",
1469
- "navItems": [
1470
- {
1471
- "label": "Research",
1472
- "href": "/research",
1473
- "icon": "search"
1474
- },
1475
- {
1476
- "label": "Cache",
1477
- "href": "/cache",
1478
- "icon": "database"
1479
- },
1480
- {
1481
- "label": "Reports",
1482
- "href": "/reports",
1483
- "icon": "file-text"
1484
- },
1485
- {
1486
- "label": "Knowledge",
1487
- "href": "/knowledge",
1488
- "icon": "book-open"
1489
- }
1490
- ],
1491
- "children": [
1492
- {
1493
- "type": "loading-state",
1494
- "title": "Executing...",
1495
- "message": "Running redis operation..."
1496
- }
1497
- ]
1498
- }
1499
- ],
1500
- [
1501
- "call-service",
1502
- "redis",
1503
- "set",
1504
- {
1505
- "key": "@entity.key",
1506
- "value": "@entity.value",
1507
- "ttl": "@entity.ttl"
1508
- }
1509
- ]
1510
- ]
1511
- },
1512
- {
1513
- "from": "idle",
1514
- "to": "executing",
1515
- "event": "DELETE_KEY",
1516
- "effects": [
1517
- [
1518
- "render-ui",
1519
- "main",
1520
- {
1521
- "type": "dashboard-layout",
1522
- "appName": "ResearchAssistant",
1523
- "navItems": [
1524
- {
1525
- "label": "Research",
1526
- "href": "/research",
1527
- "icon": "search"
1528
- },
1529
- {
1530
- "label": "Cache",
1531
- "href": "/cache",
1532
- "icon": "database"
1533
- },
1534
- {
1535
- "label": "Reports",
1536
- "href": "/reports",
1537
- "icon": "file-text"
1538
- },
1539
- {
1540
- "label": "Knowledge",
1541
- "href": "/knowledge",
1542
- "icon": "book-open"
1543
- }
1544
- ],
1545
- "children": [
1546
- {
1547
- "type": "loading-state",
1548
- "title": "Executing...",
1549
- "message": "Running redis operation..."
1550
- }
1551
- ]
1552
- }
1553
- ],
1554
- [
1555
- "call-service",
1556
- "redis",
1557
- "delete",
1558
- {
1559
- "key": "@entity.key"
1560
- }
1561
- ]
1562
- ]
1563
- },
1564
- {
1565
- "from": "executing",
1566
- "to": "complete",
1567
- "event": "EXECUTED",
1568
- "effects": [
1569
- [
1570
- "set",
1571
- "@entity.result",
1572
- "@payload.data"
1573
- ],
1574
- [
1575
- "render-ui",
1576
- "main",
1577
- {
1578
- "type": "dashboard-layout",
1579
- "appName": "ResearchAssistant",
1580
- "navItems": [
1581
- {
1582
- "label": "Research",
1583
- "href": "/research",
1584
- "icon": "search"
1585
- },
1586
- {
1587
- "label": "Cache",
1588
- "href": "/cache",
1589
- "icon": "database"
1590
- },
1591
- {
1592
- "label": "Reports",
1593
- "href": "/reports",
1594
- "icon": "file-text"
1595
- },
1596
- {
1597
- "label": "Knowledge",
1598
- "href": "/knowledge",
1599
- "icon": "book-open"
1600
- }
1601
- ],
1602
- "children": [
1603
- {
1604
- "type": "stack",
1605
- "direction": "vertical",
1606
- "gap": "lg",
1607
- "align": "center",
1608
- "children": [
1609
- {
1610
- "type": "icon",
1611
- "name": "check-circle",
1612
- "size": "lg"
1613
- },
1614
- {
1615
- "type": "alert",
1616
- "variant": "success",
1617
- "message": "Operation complete"
1618
- },
1619
- {
1620
- "type": "typography",
1621
- "variant": "body",
1622
- "color": "muted",
1623
- "content": "@entity.result"
1624
- },
1625
- {
1626
- "type": "button",
1627
- "label": "Reset",
1628
- "event": "RESET",
1629
- "variant": "ghost",
1630
- "icon": "rotate-ccw"
1631
- }
1632
- ]
1633
- }
1634
- ]
1635
- }
1636
- ]
1637
- ]
1638
- },
1639
- {
1640
- "from": "executing",
1641
- "to": "error",
1642
- "event": "FAILED",
1643
- "effects": [
1644
- [
1645
- "set",
1646
- "@entity.error",
1647
- "@payload.error"
1648
- ],
1649
- [
1650
- "render-ui",
1651
- "main",
1652
- {
1653
- "type": "dashboard-layout",
1654
- "appName": "ResearchAssistant",
1655
- "navItems": [
1656
- {
1657
- "label": "Research",
1658
- "href": "/research",
1659
- "icon": "search"
1660
- },
1661
- {
1662
- "label": "Cache",
1663
- "href": "/cache",
1664
- "icon": "database"
1665
- },
1666
- {
1667
- "label": "Reports",
1668
- "href": "/reports",
1669
- "icon": "file-text"
1670
- },
1671
- {
1672
- "label": "Knowledge",
1673
- "href": "/knowledge",
1674
- "icon": "book-open"
1675
- }
1676
- ],
1677
- "children": [
1678
- {
1679
- "type": "error-state",
1680
- "title": "Redis Error",
1681
- "message": "@entity.error",
1682
- "onRetry": "RESET"
1683
- }
1684
- ]
1685
- }
1686
- ]
1687
- ]
1688
- },
1689
- {
1690
- "from": "complete",
1691
- "to": "idle",
1692
- "event": "RESET",
1693
- "effects": [
1694
- [
1695
- "render-ui",
1696
- "main",
1697
- {
1698
- "type": "dashboard-layout",
1699
- "appName": "ResearchAssistant",
1700
- "navItems": [
1701
- {
1702
- "label": "Research",
1703
- "href": "/research",
1704
- "icon": "search"
1705
- },
1706
- {
1707
- "label": "Cache",
1708
- "href": "/cache",
1709
- "icon": "database"
1710
- },
1711
- {
1712
- "label": "Reports",
1713
- "href": "/reports",
1714
- "icon": "file-text"
1715
- },
1716
- {
1717
- "label": "Knowledge",
1718
- "href": "/knowledge",
1719
- "icon": "book-open"
1720
- }
1721
- ],
1722
- "children": [
1723
- {
1724
- "type": "stack",
1725
- "direction": "vertical",
1726
- "gap": "lg",
1727
- "align": "center",
1728
- "children": [
1729
- {
1730
- "type": "stack",
1731
- "direction": "horizontal",
1732
- "gap": "md",
1733
- "align": "center",
1734
- "children": [
1735
- {
1736
- "type": "icon",
1737
- "name": "database",
1738
- "size": "lg"
1739
- },
1740
- {
1741
- "type": "typography",
1742
- "content": "Redis Cache",
1743
- "variant": "h2"
1744
- }
1745
- ]
1746
- },
1747
- {
1748
- "type": "divider"
1749
- },
1750
- {
1751
- "type": "stack",
1752
- "direction": "vertical",
1753
- "gap": "md",
1754
- "children": [
1755
- {
1756
- "type": "input",
1757
- "label": "Key",
1758
- "bind": "@entity.key",
1759
- "placeholder": "cache-key"
1760
- },
1761
- {
1762
- "type": "input",
1763
- "label": "Value",
1764
- "bind": "@entity.value",
1765
- "placeholder": "cache-value"
1766
- },
1767
- {
1768
- "type": "input",
1769
- "label": "TTL (seconds)",
1770
- "bind": "@entity.ttl",
1771
- "inputType": "number",
1772
- "placeholder": "3600"
1773
- }
1774
- ]
1775
- },
1776
- {
1777
- "type": "stack",
1778
- "direction": "horizontal",
1779
- "gap": "sm",
1780
- "justify": "center",
1781
- "children": [
1782
- {
1783
- "type": "button",
1784
- "label": "Get",
1785
- "event": "GET_KEY",
1786
- "variant": "primary",
1787
- "icon": "download"
1788
- },
1789
- {
1790
- "type": "button",
1791
- "label": "Set",
1792
- "event": "SET_KEY",
1793
- "variant": "primary",
1794
- "icon": "upload"
1795
- },
1796
- {
1797
- "type": "button",
1798
- "label": "Delete",
1799
- "event": "DELETE_KEY",
1800
- "variant": "destructive",
1801
- "icon": "trash-2"
1802
- }
1803
- ]
1804
- }
1805
- ]
1806
- }
1807
- ]
1808
- }
1809
- ]
1810
- ]
1811
- },
1812
- {
1813
- "from": "error",
1814
- "to": "idle",
1815
- "event": "RESET",
1816
- "effects": [
1817
- [
1818
- "render-ui",
1819
- "main",
1820
- {
1821
- "type": "dashboard-layout",
1822
- "appName": "ResearchAssistant",
1823
- "navItems": [
1824
- {
1825
- "label": "Research",
1826
- "href": "/research",
1827
- "icon": "search"
1828
- },
1829
- {
1830
- "label": "Cache",
1831
- "href": "/cache",
1832
- "icon": "database"
1833
- },
1834
- {
1835
- "label": "Reports",
1836
- "href": "/reports",
1837
- "icon": "file-text"
1838
- },
1839
- {
1840
- "label": "Knowledge",
1841
- "href": "/knowledge",
1842
- "icon": "book-open"
1843
- }
1844
- ],
1845
- "children": [
1846
- {
1847
- "type": "stack",
1848
- "direction": "vertical",
1849
- "gap": "lg",
1850
- "align": "center",
1851
- "children": [
1852
- {
1853
- "type": "stack",
1854
- "direction": "horizontal",
1855
- "gap": "md",
1856
- "align": "center",
1857
- "children": [
1858
- {
1859
- "type": "icon",
1860
- "name": "database",
1861
- "size": "lg"
1862
- },
1863
- {
1864
- "type": "typography",
1865
- "content": "Redis Cache",
1866
- "variant": "h2"
1867
- }
1868
- ]
1869
- },
1870
- {
1871
- "type": "divider"
1872
- },
1873
- {
1874
- "type": "stack",
1875
- "direction": "vertical",
1876
- "gap": "md",
1877
- "children": [
1878
- {
1879
- "type": "input",
1880
- "label": "Key",
1881
- "bind": "@entity.key",
1882
- "placeholder": "cache-key"
1883
- },
1884
- {
1885
- "type": "input",
1886
- "label": "Value",
1887
- "bind": "@entity.value",
1888
- "placeholder": "cache-value"
1889
- },
1890
- {
1891
- "type": "input",
1892
- "label": "TTL (seconds)",
1893
- "bind": "@entity.ttl",
1894
- "inputType": "number",
1895
- "placeholder": "3600"
1896
- }
1897
- ]
1898
- },
1899
- {
1900
- "type": "stack",
1901
- "direction": "horizontal",
1902
- "gap": "sm",
1903
- "justify": "center",
1904
- "children": [
1905
- {
1906
- "type": "button",
1907
- "label": "Get",
1908
- "event": "GET_KEY",
1909
- "variant": "primary",
1910
- "icon": "download"
1911
- },
1912
- {
1913
- "type": "button",
1914
- "label": "Set",
1915
- "event": "SET_KEY",
1916
- "variant": "primary",
1917
- "icon": "upload"
1918
- },
1919
- {
1920
- "type": "button",
1921
- "label": "Delete",
1922
- "event": "DELETE_KEY",
1923
- "variant": "destructive",
1924
- "icon": "trash-2"
1925
- }
1926
- ]
1927
- }
1928
- ]
1929
- }
1930
- ]
1931
- }
1932
- ]
1933
- ]
1934
- }
1935
- ]
1936
- }
1937
- }
1938
- ],
1939
- "pages": [
1940
- {
1941
- "name": "CachePage",
1942
- "path": "/cache",
1943
- "traits": [
1944
- {
1945
- "ref": "CacheEntryRedis"
1946
- }
1947
- ]
1948
- }
1949
- ]
1950
- },
1951
- {
1952
- "name": "ReportOrbital",
1953
- "entity": {
1954
- "name": "Report",
1955
- "persistence": "runtime",
1956
- "fields": [
1957
- {
1958
- "name": "id",
1959
- "type": "string",
1960
- "required": true
1961
- },
1962
- {
1963
- "name": "bucket",
1964
- "type": "string",
1965
- "default": "uploads"
1966
- },
1967
- {
1968
- "name": "fileKey",
1969
- "type": "string"
1970
- },
1971
- {
1972
- "name": "prefix",
1973
- "type": "string"
1974
- },
1975
- {
1976
- "name": "content",
1977
- "type": "string"
1978
- },
1979
- {
1980
- "name": "storageStatus",
1981
- "type": "string",
1982
- "default": "idle"
1983
- },
1984
- {
1985
- "name": "result",
1986
- "type": "string"
1987
- },
1988
- {
1989
- "name": "error",
1990
- "type": "string"
1991
- }
1992
- ]
1993
- },
1994
- "traits": [
1995
- {
1996
- "name": "ReportStorage",
1997
- "linkedEntity": "Report",
1998
- "category": "interaction",
1999
- "stateMachine": {
2000
- "states": [
2001
- {
2002
- "name": "idle",
2003
- "isInitial": true
2004
- },
2005
- {
2006
- "name": "executing"
2007
- },
2008
- {
2009
- "name": "complete"
2010
- },
2011
- {
2012
- "name": "error"
2013
- }
2014
- ],
2015
- "events": [
2016
- {
2017
- "key": "INIT",
2018
- "name": "Initialize"
2019
- },
2020
- {
2021
- "key": "UPLOAD_FILE",
2022
- "name": "Upload File"
2023
- },
2024
- {
2025
- "key": "DOWNLOAD_FILE",
2026
- "name": "Download File"
2027
- },
2028
- {
2029
- "key": "LIST_FILES",
2030
- "name": "List Files"
2031
- },
2032
- {
2033
- "key": "DELETE_FILE",
2034
- "name": "Delete File"
2035
- },
2036
- {
2037
- "key": "EXECUTED",
2038
- "name": "Executed",
2039
- "payload": [
2040
- {
2041
- "name": "data",
2042
- "type": "string",
2043
- "required": true
2044
- }
2045
- ]
2046
- },
2047
- {
2048
- "key": "FAILED",
2049
- "name": "Failed",
2050
- "payload": [
2051
- {
2052
- "name": "error",
2053
- "type": "string",
2054
- "required": true
2055
- }
2056
- ]
2057
- },
2058
- {
2059
- "key": "RESET",
2060
- "name": "Reset"
2061
- }
2062
- ],
2063
- "transitions": [
2064
- {
2065
- "from": "idle",
2066
- "to": "idle",
2067
- "event": "INIT",
2068
- "effects": [
2069
- [
2070
- "fetch",
2071
- "Report"
2072
- ],
2073
- [
2074
- "render-ui",
2075
- "main",
2076
- {
2077
- "type": "dashboard-layout",
2078
- "appName": "ResearchAssistant",
2079
- "navItems": [
2080
- {
2081
- "label": "Research",
2082
- "href": "/research",
2083
- "icon": "search"
2084
- },
2085
- {
2086
- "label": "Cache",
2087
- "href": "/cache",
2088
- "icon": "database"
2089
- },
2090
- {
2091
- "label": "Reports",
2092
- "href": "/reports",
2093
- "icon": "file-text"
2094
- },
2095
- {
2096
- "label": "Knowledge",
2097
- "href": "/knowledge",
2098
- "icon": "book-open"
2099
- }
2100
- ],
2101
- "children": [
2102
- {
2103
- "type": "stack",
2104
- "direction": "vertical",
2105
- "gap": "lg",
2106
- "align": "stretch",
2107
- "children": [
2108
- {
2109
- "type": "stack",
2110
- "direction": "horizontal",
2111
- "gap": "md",
2112
- "align": "center",
2113
- "children": [
2114
- {
2115
- "type": "icon",
2116
- "name": "hard-drive",
2117
- "size": "lg"
2118
- },
2119
- {
2120
- "type": "typography",
2121
- "content": "Report Storage",
2122
- "variant": "h2"
2123
- }
2124
- ]
2125
- },
2126
- {
2127
- "type": "divider"
2128
- },
2129
- {
2130
- "type": "input",
2131
- "label": "Bucket",
2132
- "bind": "@entity.bucket",
2133
- "placeholder": "bucket-name"
2134
- },
2135
- {
2136
- "type": "input",
2137
- "label": "File Key",
2138
- "bind": "@entity.fileKey",
2139
- "placeholder": "path/to/file.txt"
2140
- },
2141
- {
2142
- "type": "input",
2143
- "label": "Prefix",
2144
- "bind": "@entity.prefix",
2145
- "placeholder": "path/prefix/"
2146
- },
2147
- {
2148
- "type": "textarea",
2149
- "label": "Content",
2150
- "bind": "@entity.content",
2151
- "placeholder": "File content..."
2152
- },
2153
- {
2154
- "type": "stack",
2155
- "direction": "horizontal",
2156
- "gap": "sm",
2157
- "justify": "center",
2158
- "children": [
2159
- {
2160
- "type": "button",
2161
- "label": "Upload",
2162
- "event": "UPLOAD_FILE",
2163
- "variant": "primary",
2164
- "icon": "upload"
2165
- },
2166
- {
2167
- "type": "button",
2168
- "label": "Download",
2169
- "event": "DOWNLOAD_FILE",
2170
- "variant": "secondary",
2171
- "icon": "download"
2172
- },
2173
- {
2174
- "type": "button",
2175
- "label": "List",
2176
- "event": "LIST_FILES",
2177
- "variant": "secondary",
2178
- "icon": "list"
2179
- },
2180
- {
2181
- "type": "button",
2182
- "label": "Delete",
2183
- "event": "DELETE_FILE",
2184
- "variant": "destructive",
2185
- "icon": "trash-2"
2186
- }
2187
- ]
2188
- }
2189
- ]
2190
- }
2191
- ]
2192
- }
2193
- ]
2194
- ]
2195
- },
2196
- {
2197
- "from": "idle",
2198
- "to": "executing",
2199
- "event": "UPLOAD_FILE",
2200
- "effects": [
2201
- [
2202
- "render-ui",
2203
- "main",
2204
- {
2205
- "type": "dashboard-layout",
2206
- "appName": "ResearchAssistant",
2207
- "navItems": [
2208
- {
2209
- "label": "Research",
2210
- "href": "/research",
2211
- "icon": "search"
2212
- },
2213
- {
2214
- "label": "Cache",
2215
- "href": "/cache",
2216
- "icon": "database"
2217
- },
2218
- {
2219
- "label": "Reports",
2220
- "href": "/reports",
2221
- "icon": "file-text"
2222
- },
2223
- {
2224
- "label": "Knowledge",
2225
- "href": "/knowledge",
2226
- "icon": "book-open"
2227
- }
2228
- ],
2229
- "children": [
2230
- {
2231
- "type": "loading-state",
2232
- "title": "Processing...",
2233
- "message": "Executing storage operation on report..."
2234
- }
2235
- ]
2236
- }
2237
- ],
2238
- [
2239
- "call-service",
2240
- "storage",
2241
- "upload",
2242
- {
2243
- "bucket": "@entity.bucket",
2244
- "key": "@entity.fileKey",
2245
- "content": "@entity.content"
2246
- }
2247
- ]
2248
- ]
2249
- },
2250
- {
2251
- "from": "idle",
2252
- "to": "executing",
2253
- "event": "DOWNLOAD_FILE",
2254
- "effects": [
2255
- [
2256
- "render-ui",
2257
- "main",
2258
- {
2259
- "type": "dashboard-layout",
2260
- "appName": "ResearchAssistant",
2261
- "navItems": [
2262
- {
2263
- "label": "Research",
2264
- "href": "/research",
2265
- "icon": "search"
2266
- },
2267
- {
2268
- "label": "Cache",
2269
- "href": "/cache",
2270
- "icon": "database"
2271
- },
2272
- {
2273
- "label": "Reports",
2274
- "href": "/reports",
2275
- "icon": "file-text"
2276
- },
2277
- {
2278
- "label": "Knowledge",
2279
- "href": "/knowledge",
2280
- "icon": "book-open"
2281
- }
2282
- ],
2283
- "children": [
2284
- {
2285
- "type": "loading-state",
2286
- "title": "Processing...",
2287
- "message": "Executing storage operation on report..."
2288
- }
2289
- ]
2290
- }
2291
- ],
2292
- [
2293
- "call-service",
2294
- "storage",
2295
- "download",
2296
- {
2297
- "bucket": "@entity.bucket",
2298
- "key": "@entity.fileKey"
2299
- }
2300
- ]
2301
- ]
2302
- },
2303
- {
2304
- "from": "idle",
2305
- "to": "executing",
2306
- "event": "LIST_FILES",
2307
- "effects": [
2308
- [
2309
- "render-ui",
2310
- "main",
2311
- {
2312
- "type": "dashboard-layout",
2313
- "appName": "ResearchAssistant",
2314
- "navItems": [
2315
- {
2316
- "label": "Research",
2317
- "href": "/research",
2318
- "icon": "search"
2319
- },
2320
- {
2321
- "label": "Cache",
2322
- "href": "/cache",
2323
- "icon": "database"
2324
- },
2325
- {
2326
- "label": "Reports",
2327
- "href": "/reports",
2328
- "icon": "file-text"
2329
- },
2330
- {
2331
- "label": "Knowledge",
2332
- "href": "/knowledge",
2333
- "icon": "book-open"
2334
- }
2335
- ],
2336
- "children": [
2337
- {
2338
- "type": "loading-state",
2339
- "title": "Processing...",
2340
- "message": "Executing storage operation on report..."
2341
- }
2342
- ]
2343
- }
2344
- ],
2345
- [
2346
- "call-service",
2347
- "storage",
2348
- "list",
2349
- {
2350
- "bucket": "@entity.bucket",
2351
- "prefix": "@entity.prefix"
2352
- }
2353
- ]
2354
- ]
2355
- },
2356
- {
2357
- "from": "idle",
2358
- "to": "executing",
2359
- "event": "DELETE_FILE",
2360
- "effects": [
2361
- [
2362
- "render-ui",
2363
- "main",
2364
- {
2365
- "type": "dashboard-layout",
2366
- "appName": "ResearchAssistant",
2367
- "navItems": [
2368
- {
2369
- "label": "Research",
2370
- "href": "/research",
2371
- "icon": "search"
2372
- },
2373
- {
2374
- "label": "Cache",
2375
- "href": "/cache",
2376
- "icon": "database"
2377
- },
2378
- {
2379
- "label": "Reports",
2380
- "href": "/reports",
2381
- "icon": "file-text"
2382
- },
2383
- {
2384
- "label": "Knowledge",
2385
- "href": "/knowledge",
2386
- "icon": "book-open"
2387
- }
2388
- ],
2389
- "children": [
2390
- {
2391
- "type": "loading-state",
2392
- "title": "Processing...",
2393
- "message": "Executing storage operation on report..."
2394
- }
2395
- ]
2396
- }
2397
- ],
2398
- [
2399
- "call-service",
2400
- "storage",
2401
- "delete",
2402
- {
2403
- "bucket": "@entity.bucket",
2404
- "key": "@entity.fileKey"
2405
- }
2406
- ]
2407
- ]
2408
- },
2409
- {
2410
- "from": "executing",
2411
- "to": "complete",
2412
- "event": "EXECUTED",
2413
- "effects": [
2414
- [
2415
- "set",
2416
- "@entity.result",
2417
- "@payload.data"
2418
- ],
2419
- [
2420
- "set",
2421
- "@entity.storageStatus",
2422
- "complete"
2423
- ],
2424
- [
2425
- "render-ui",
2426
- "main",
2427
- {
2428
- "type": "dashboard-layout",
2429
- "appName": "ResearchAssistant",
2430
- "navItems": [
2431
- {
2432
- "label": "Research",
2433
- "href": "/research",
2434
- "icon": "search"
2435
- },
2436
- {
2437
- "label": "Cache",
2438
- "href": "/cache",
2439
- "icon": "database"
2440
- },
2441
- {
2442
- "label": "Reports",
2443
- "href": "/reports",
2444
- "icon": "file-text"
2445
- },
2446
- {
2447
- "label": "Knowledge",
2448
- "href": "/knowledge",
2449
- "icon": "book-open"
2450
- }
2451
- ],
2452
- "children": [
2453
- {
2454
- "type": "stack",
2455
- "direction": "vertical",
2456
- "gap": "lg",
2457
- "align": "center",
2458
- "children": [
2459
- {
2460
- "type": "icon",
2461
- "name": "check-circle",
2462
- "size": "lg"
2463
- },
2464
- {
2465
- "type": "alert",
2466
- "variant": "success",
2467
- "message": "Operation completed successfully"
2468
- },
2469
- {
2470
- "type": "typography",
2471
- "variant": "body",
2472
- "color": "muted",
2473
- "content": "@entity.result"
2474
- },
2475
- {
2476
- "type": "button",
2477
- "label": "Back",
2478
- "event": "RESET",
2479
- "variant": "ghost",
2480
- "icon": "rotate-ccw"
2481
- }
2482
- ]
2483
- }
2484
- ]
2485
- }
2486
- ]
2487
- ]
2488
- },
2489
- {
2490
- "from": "executing",
2491
- "to": "error",
2492
- "event": "FAILED",
2493
- "effects": [
2494
- [
2495
- "set",
2496
- "@entity.error",
2497
- "@payload.error"
2498
- ],
2499
- [
2500
- "set",
2501
- "@entity.storageStatus",
2502
- "error"
2503
- ],
2504
- [
2505
- "render-ui",
2506
- "main",
2507
- {
2508
- "type": "dashboard-layout",
2509
- "appName": "ResearchAssistant",
2510
- "navItems": [
2511
- {
2512
- "label": "Research",
2513
- "href": "/research",
2514
- "icon": "search"
2515
- },
2516
- {
2517
- "label": "Cache",
2518
- "href": "/cache",
2519
- "icon": "database"
2520
- },
2521
- {
2522
- "label": "Reports",
2523
- "href": "/reports",
2524
- "icon": "file-text"
2525
- },
2526
- {
2527
- "label": "Knowledge",
2528
- "href": "/knowledge",
2529
- "icon": "book-open"
2530
- }
2531
- ],
2532
- "children": [
2533
- {
2534
- "type": "stack",
2535
- "direction": "vertical",
2536
- "gap": "lg",
2537
- "align": "center",
2538
- "children": [
2539
- {
2540
- "type": "error-state",
2541
- "title": "Operation Failed",
2542
- "message": "@entity.error"
2543
- },
2544
- {
2545
- "type": "button",
2546
- "label": "Back",
2547
- "event": "RESET",
2548
- "variant": "ghost",
2549
- "icon": "rotate-ccw"
2550
- }
2551
- ]
2552
- }
2553
- ]
2554
- }
2555
- ]
2556
- ]
2557
- },
2558
- {
2559
- "from": "complete",
2560
- "to": "idle",
2561
- "event": "RESET",
2562
- "effects": [
2563
- [
2564
- "set",
2565
- "@entity.storageStatus",
2566
- "idle"
2567
- ],
2568
- [
2569
- "render-ui",
2570
- "main",
2571
- {
2572
- "type": "dashboard-layout",
2573
- "appName": "ResearchAssistant",
2574
- "navItems": [
2575
- {
2576
- "label": "Research",
2577
- "href": "/research",
2578
- "icon": "search"
2579
- },
2580
- {
2581
- "label": "Cache",
2582
- "href": "/cache",
2583
- "icon": "database"
2584
- },
2585
- {
2586
- "label": "Reports",
2587
- "href": "/reports",
2588
- "icon": "file-text"
2589
- },
2590
- {
2591
- "label": "Knowledge",
2592
- "href": "/knowledge",
2593
- "icon": "book-open"
2594
- }
2595
- ],
2596
- "children": [
2597
- {
2598
- "type": "stack",
2599
- "direction": "vertical",
2600
- "gap": "lg",
2601
- "align": "stretch",
2602
- "children": [
2603
- {
2604
- "type": "stack",
2605
- "direction": "horizontal",
2606
- "gap": "md",
2607
- "align": "center",
2608
- "children": [
2609
- {
2610
- "type": "icon",
2611
- "name": "hard-drive",
2612
- "size": "lg"
2613
- },
2614
- {
2615
- "type": "typography",
2616
- "content": "Report Storage",
2617
- "variant": "h2"
2618
- }
2619
- ]
2620
- },
2621
- {
2622
- "type": "divider"
2623
- },
2624
- {
2625
- "type": "input",
2626
- "label": "Bucket",
2627
- "bind": "@entity.bucket",
2628
- "placeholder": "bucket-name"
2629
- },
2630
- {
2631
- "type": "input",
2632
- "label": "File Key",
2633
- "bind": "@entity.fileKey",
2634
- "placeholder": "path/to/file.txt"
2635
- },
2636
- {
2637
- "type": "input",
2638
- "label": "Prefix",
2639
- "bind": "@entity.prefix",
2640
- "placeholder": "path/prefix/"
2641
- },
2642
- {
2643
- "type": "textarea",
2644
- "label": "Content",
2645
- "bind": "@entity.content",
2646
- "placeholder": "File content..."
2647
- },
2648
- {
2649
- "type": "stack",
2650
- "direction": "horizontal",
2651
- "gap": "sm",
2652
- "justify": "center",
2653
- "children": [
2654
- {
2655
- "type": "button",
2656
- "label": "Upload",
2657
- "event": "UPLOAD_FILE",
2658
- "variant": "primary",
2659
- "icon": "upload"
2660
- },
2661
- {
2662
- "type": "button",
2663
- "label": "Download",
2664
- "event": "DOWNLOAD_FILE",
2665
- "variant": "secondary",
2666
- "icon": "download"
2667
- },
2668
- {
2669
- "type": "button",
2670
- "label": "List",
2671
- "event": "LIST_FILES",
2672
- "variant": "secondary",
2673
- "icon": "list"
2674
- },
2675
- {
2676
- "type": "button",
2677
- "label": "Delete",
2678
- "event": "DELETE_FILE",
2679
- "variant": "destructive",
2680
- "icon": "trash-2"
2681
- }
2682
- ]
2683
- }
2684
- ]
2685
- }
2686
- ]
2687
- }
2688
- ]
2689
- ]
2690
- },
2691
- {
2692
- "from": "error",
2693
- "to": "idle",
2694
- "event": "RESET",
2695
- "effects": [
2696
- [
2697
- "set",
2698
- "@entity.storageStatus",
2699
- "idle"
2700
- ],
2701
- [
2702
- "render-ui",
2703
- "main",
2704
- {
2705
- "type": "dashboard-layout",
2706
- "appName": "ResearchAssistant",
2707
- "navItems": [
2708
- {
2709
- "label": "Research",
2710
- "href": "/research",
2711
- "icon": "search"
2712
- },
2713
- {
2714
- "label": "Cache",
2715
- "href": "/cache",
2716
- "icon": "database"
2717
- },
2718
- {
2719
- "label": "Reports",
2720
- "href": "/reports",
2721
- "icon": "file-text"
2722
- },
2723
- {
2724
- "label": "Knowledge",
2725
- "href": "/knowledge",
2726
- "icon": "book-open"
2727
- }
2728
- ],
2729
- "children": [
2730
- {
2731
- "type": "stack",
2732
- "direction": "vertical",
2733
- "gap": "lg",
2734
- "align": "stretch",
2735
- "children": [
2736
- {
2737
- "type": "stack",
2738
- "direction": "horizontal",
2739
- "gap": "md",
2740
- "align": "center",
2741
- "children": [
2742
- {
2743
- "type": "icon",
2744
- "name": "hard-drive",
2745
- "size": "lg"
2746
- },
2747
- {
2748
- "type": "typography",
2749
- "content": "Report Storage",
2750
- "variant": "h2"
2751
- }
2752
- ]
2753
- },
2754
- {
2755
- "type": "divider"
2756
- },
2757
- {
2758
- "type": "input",
2759
- "label": "Bucket",
2760
- "bind": "@entity.bucket",
2761
- "placeholder": "bucket-name"
2762
- },
2763
- {
2764
- "type": "input",
2765
- "label": "File Key",
2766
- "bind": "@entity.fileKey",
2767
- "placeholder": "path/to/file.txt"
2768
- },
2769
- {
2770
- "type": "input",
2771
- "label": "Prefix",
2772
- "bind": "@entity.prefix",
2773
- "placeholder": "path/prefix/"
2774
- },
2775
- {
2776
- "type": "textarea",
2777
- "label": "Content",
2778
- "bind": "@entity.content",
2779
- "placeholder": "File content..."
2780
- },
2781
- {
2782
- "type": "stack",
2783
- "direction": "horizontal",
2784
- "gap": "sm",
2785
- "justify": "center",
2786
- "children": [
2787
- {
2788
- "type": "button",
2789
- "label": "Upload",
2790
- "event": "UPLOAD_FILE",
2791
- "variant": "primary",
2792
- "icon": "upload"
2793
- },
2794
- {
2795
- "type": "button",
2796
- "label": "Download",
2797
- "event": "DOWNLOAD_FILE",
2798
- "variant": "secondary",
2799
- "icon": "download"
2800
- },
2801
- {
2802
- "type": "button",
2803
- "label": "List",
2804
- "event": "LIST_FILES",
2805
- "variant": "secondary",
2806
- "icon": "list"
2807
- },
2808
- {
2809
- "type": "button",
2810
- "label": "Delete",
2811
- "event": "DELETE_FILE",
2812
- "variant": "destructive",
2813
- "icon": "trash-2"
2814
- }
2815
- ]
2816
- }
2817
- ]
2818
- }
2819
- ]
2820
- }
2821
- ]
2822
- ]
2823
- }
2824
- ]
2825
- }
2826
- }
2827
- ],
2828
- "pages": [
2829
- {
2830
- "name": "ReportsPage",
2831
- "path": "/reports",
2832
- "traits": [
2833
- {
2834
- "ref": "ReportStorage"
2835
- }
2836
- ]
2837
- }
2838
- ]
2839
- },
2840
- {
2841
- "name": "KnowledgeQueryOrbital",
2842
- "entity": {
2843
- "name": "KnowledgeQuery",
2844
- "persistence": "runtime",
2845
- "fields": [
2846
- {
2847
- "name": "id",
2848
- "type": "string",
2849
- "required": true
2850
- },
2851
- {
2852
- "name": "endpoint",
2853
- "type": "string"
2854
- },
2855
- {
2856
- "name": "method",
2857
- "type": "string",
2858
- "default": "GET"
2859
- },
2860
- {
2861
- "name": "requestBody",
2862
- "type": "string"
2863
- },
2864
- {
2865
- "name": "responseData",
2866
- "type": "string"
2867
- },
2868
- {
2869
- "name": "statusCode",
2870
- "type": "number",
2871
- "default": 0
2872
- },
2873
- {
2874
- "name": "callStatus",
2875
- "type": "string",
2876
- "default": "idle"
2877
- },
2878
- {
2879
- "name": "error",
2880
- "type": "string"
2881
- }
2882
- ]
2883
- },
2884
- "traits": [
2885
- {
2886
- "name": "KnowledgeQueryCustomBearer",
2887
- "linkedEntity": "KnowledgeQuery",
2888
- "category": "interaction",
2889
- "stateMachine": {
2890
- "states": [
2891
- {
2892
- "name": "idle",
2893
- "isInitial": true
2894
- },
2895
- {
2896
- "name": "calling"
2897
- },
2898
- {
2899
- "name": "complete"
2900
- },
2901
- {
2902
- "name": "error"
2903
- }
2904
- ],
2905
- "events": [
2906
- {
2907
- "key": "INIT",
2908
- "name": "Initialize"
2909
- },
2910
- {
2911
- "key": "CALL_API",
2912
- "name": "Call API"
2913
- },
2914
- {
2915
- "key": "API_RESPONSE",
2916
- "name": "API Response",
2917
- "payload": [
2918
- {
2919
- "name": "data",
2920
- "type": "string",
2921
- "required": true
2922
- },
2923
- {
2924
- "name": "statusCode",
2925
- "type": "number",
2926
- "required": true
2927
- }
2928
- ]
2929
- },
2930
- {
2931
- "key": "FAILED",
2932
- "name": "Failed",
2933
- "payload": [
2934
- {
2935
- "name": "error",
2936
- "type": "string",
2937
- "required": true
2938
- }
2939
- ]
2940
- },
2941
- {
2942
- "key": "RETRY",
2943
- "name": "Retry"
2944
- },
2945
- {
2946
- "key": "RESET",
2947
- "name": "Reset"
2948
- }
2949
- ],
2950
- "transitions": [
2951
- {
2952
- "from": "idle",
2953
- "to": "idle",
2954
- "event": "INIT",
2955
- "effects": [
2956
- [
2957
- "fetch",
2958
- "KnowledgeQuery"
2959
- ],
2960
- [
2961
- "render-ui",
2962
- "main",
2963
- {
2964
- "type": "dashboard-layout",
2965
- "appName": "ResearchAssistant",
2966
- "navItems": [
2967
- {
2968
- "label": "Research",
2969
- "href": "/research",
2970
- "icon": "search"
2971
- },
2972
- {
2973
- "label": "Cache",
2974
- "href": "/cache",
2975
- "icon": "database"
2976
- },
2977
- {
2978
- "label": "Reports",
2979
- "href": "/reports",
2980
- "icon": "file-text"
2981
- },
2982
- {
2983
- "label": "Knowledge",
2984
- "href": "/knowledge",
2985
- "icon": "book-open"
2986
- }
2987
- ],
2988
- "children": [
2989
- {
2990
- "type": "stack",
2991
- "direction": "vertical",
2992
- "gap": "lg",
2993
- "align": "center",
2994
- "children": [
2995
- {
2996
- "type": "icon",
2997
- "name": "shield",
2998
- "size": "lg"
2999
- },
3000
- {
3001
- "type": "typography",
3002
- "content": "Bearer API Tester",
3003
- "variant": "h2"
3004
- },
3005
- {
3006
- "type": "input",
3007
- "field": "endpoint",
3008
- "placeholder": "/users",
3009
- "bind": "@entity.endpoint"
3010
- },
3011
- {
3012
- "type": "select",
3013
- "field": "method",
3014
- "bind": "@entity.method",
3015
- "options": [
3016
- {
3017
- "label": "GET",
3018
- "value": "GET"
3019
- },
3020
- {
3021
- "label": "POST",
3022
- "value": "POST"
3023
- },
3024
- {
3025
- "label": "PUT",
3026
- "value": "PUT"
3027
- },
3028
- {
3029
- "label": "DELETE",
3030
- "value": "DELETE"
3031
- }
3032
- ]
3033
- },
3034
- {
3035
- "type": "textarea",
3036
- "field": "requestBody",
3037
- "placeholder": "JSON request body",
3038
- "bind": "@entity.requestBody"
3039
- },
3040
- {
3041
- "type": "button",
3042
- "label": "Send Request",
3043
- "event": "CALL_API",
3044
- "variant": "primary",
3045
- "icon": "send"
3046
- }
3047
- ]
3048
- }
3049
- ]
3050
- }
3051
- ]
3052
- ]
3053
- },
3054
- {
3055
- "from": "idle",
3056
- "to": "calling",
3057
- "event": "CALL_API",
3058
- "effects": [
3059
- [
3060
- "render-ui",
3061
- "main",
3062
- {
3063
- "type": "dashboard-layout",
3064
- "appName": "ResearchAssistant",
3065
- "navItems": [
3066
- {
3067
- "label": "Research",
3068
- "href": "/research",
3069
- "icon": "search"
3070
- },
3071
- {
3072
- "label": "Cache",
3073
- "href": "/cache",
3074
- "icon": "database"
3075
- },
3076
- {
3077
- "label": "Reports",
3078
- "href": "/reports",
3079
- "icon": "file-text"
3080
- },
3081
- {
3082
- "label": "Knowledge",
3083
- "href": "/knowledge",
3084
- "icon": "book-open"
3085
- }
3086
- ],
3087
- "children": [
3088
- {
3089
- "type": "loading-state",
3090
- "title": "Calling API...",
3091
- "message": "Sending request to knowledgequery endpoint..."
3092
- }
3093
- ]
3094
- }
3095
- ],
3096
- [
3097
- "call-service",
3098
- "custom-bearer-api",
3099
- "execute",
3100
- {
3101
- "endpoint": "@entity.endpoint",
3102
- "method": "@entity.method",
3103
- "body": "@entity.requestBody"
3104
- }
3105
- ]
3106
- ]
3107
- },
3108
- {
3109
- "from": "calling",
3110
- "to": "complete",
3111
- "event": "API_RESPONSE",
3112
- "effects": [
3113
- [
3114
- "set",
3115
- "@entity.responseData",
3116
- "@payload.data"
3117
- ],
3118
- [
3119
- "set",
3120
- "@entity.statusCode",
3121
- "@payload.statusCode"
3122
- ],
3123
- [
3124
- "render-ui",
3125
- "main",
3126
- {
3127
- "type": "dashboard-layout",
3128
- "appName": "ResearchAssistant",
3129
- "navItems": [
3130
- {
3131
- "label": "Research",
3132
- "href": "/research",
3133
- "icon": "search"
3134
- },
3135
- {
3136
- "label": "Cache",
3137
- "href": "/cache",
3138
- "icon": "database"
3139
- },
3140
- {
3141
- "label": "Reports",
3142
- "href": "/reports",
3143
- "icon": "file-text"
3144
- },
3145
- {
3146
- "label": "Knowledge",
3147
- "href": "/knowledge",
3148
- "icon": "book-open"
3149
- }
3150
- ],
3151
- "children": [
3152
- {
3153
- "type": "stack",
3154
- "direction": "vertical",
3155
- "gap": "lg",
3156
- "align": "center",
3157
- "children": [
3158
- {
3159
- "type": "icon",
3160
- "name": "check-circle",
3161
- "size": "lg"
3162
- },
3163
- {
3164
- "type": "typography",
3165
- "content": "Response",
3166
- "variant": "h2"
3167
- },
3168
- {
3169
- "type": "badge",
3170
- "content": "@entity.statusCode",
3171
- "variant": "info"
3172
- },
3173
- {
3174
- "type": "code",
3175
- "content": "@entity.responseData",
3176
- "language": "json"
3177
- },
3178
- {
3179
- "type": "button",
3180
- "label": "New Request",
3181
- "event": "RESET",
3182
- "variant": "ghost",
3183
- "icon": "rotate-ccw"
3184
- }
3185
- ]
3186
- }
3187
- ]
3188
- }
3189
- ]
3190
- ]
3191
- },
3192
- {
3193
- "from": "calling",
3194
- "to": "error",
3195
- "event": "FAILED",
3196
- "effects": [
3197
- [
3198
- "set",
3199
- "@entity.error",
3200
- "@payload.error"
3201
- ],
3202
- [
3203
- "render-ui",
3204
- "main",
3205
- {
3206
- "type": "dashboard-layout",
3207
- "appName": "ResearchAssistant",
3208
- "navItems": [
3209
- {
3210
- "label": "Research",
3211
- "href": "/research",
3212
- "icon": "search"
3213
- },
3214
- {
3215
- "label": "Cache",
3216
- "href": "/cache",
3217
- "icon": "database"
3218
- },
3219
- {
3220
- "label": "Reports",
3221
- "href": "/reports",
3222
- "icon": "file-text"
3223
- },
3224
- {
3225
- "label": "Knowledge",
3226
- "href": "/knowledge",
3227
- "icon": "book-open"
3228
- }
3229
- ],
3230
- "children": [
3231
- {
3232
- "type": "error-state",
3233
- "title": "Request Failed",
3234
- "message": "@entity.error",
3235
- "onRetry": "RETRY"
3236
- }
3237
- ]
3238
- }
3239
- ]
3240
- ]
3241
- },
3242
- {
3243
- "from": "error",
3244
- "to": "idle",
3245
- "event": "RETRY",
3246
- "effects": [
3247
- [
3248
- "render-ui",
3249
- "main",
3250
- {
3251
- "type": "dashboard-layout",
3252
- "appName": "ResearchAssistant",
3253
- "navItems": [
3254
- {
3255
- "label": "Research",
3256
- "href": "/research",
3257
- "icon": "search"
3258
- },
3259
- {
3260
- "label": "Cache",
3261
- "href": "/cache",
3262
- "icon": "database"
3263
- },
3264
- {
3265
- "label": "Reports",
3266
- "href": "/reports",
3267
- "icon": "file-text"
3268
- },
3269
- {
3270
- "label": "Knowledge",
3271
- "href": "/knowledge",
3272
- "icon": "book-open"
3273
- }
3274
- ],
3275
- "children": [
3276
- {
3277
- "type": "stack",
3278
- "direction": "vertical",
3279
- "gap": "lg",
3280
- "align": "center",
3281
- "children": [
3282
- {
3283
- "type": "icon",
3284
- "name": "shield",
3285
- "size": "lg"
3286
- },
3287
- {
3288
- "type": "typography",
3289
- "content": "Bearer API Tester",
3290
- "variant": "h2"
3291
- },
3292
- {
3293
- "type": "input",
3294
- "field": "endpoint",
3295
- "placeholder": "/users",
3296
- "bind": "@entity.endpoint"
3297
- },
3298
- {
3299
- "type": "select",
3300
- "field": "method",
3301
- "bind": "@entity.method",
3302
- "options": [
3303
- {
3304
- "label": "GET",
3305
- "value": "GET"
3306
- },
3307
- {
3308
- "label": "POST",
3309
- "value": "POST"
3310
- },
3311
- {
3312
- "label": "PUT",
3313
- "value": "PUT"
3314
- },
3315
- {
3316
- "label": "DELETE",
3317
- "value": "DELETE"
3318
- }
3319
- ]
3320
- },
3321
- {
3322
- "type": "textarea",
3323
- "field": "requestBody",
3324
- "placeholder": "JSON request body",
3325
- "bind": "@entity.requestBody"
3326
- },
3327
- {
3328
- "type": "button",
3329
- "label": "Send Request",
3330
- "event": "CALL_API",
3331
- "variant": "primary",
3332
- "icon": "send"
3333
- }
3334
- ]
3335
- }
3336
- ]
3337
- }
3338
- ]
3339
- ]
3340
- },
3341
- {
3342
- "from": "complete",
3343
- "to": "idle",
3344
- "event": "RESET",
3345
- "effects": [
3346
- [
3347
- "render-ui",
3348
- "main",
3349
- {
3350
- "type": "dashboard-layout",
3351
- "appName": "ResearchAssistant",
3352
- "navItems": [
3353
- {
3354
- "label": "Research",
3355
- "href": "/research",
3356
- "icon": "search"
3357
- },
3358
- {
3359
- "label": "Cache",
3360
- "href": "/cache",
3361
- "icon": "database"
3362
- },
3363
- {
3364
- "label": "Reports",
3365
- "href": "/reports",
3366
- "icon": "file-text"
3367
- },
3368
- {
3369
- "label": "Knowledge",
3370
- "href": "/knowledge",
3371
- "icon": "book-open"
3372
- }
3373
- ],
3374
- "children": [
3375
- {
3376
- "type": "stack",
3377
- "direction": "vertical",
3378
- "gap": "lg",
3379
- "align": "center",
3380
- "children": [
3381
- {
3382
- "type": "icon",
3383
- "name": "shield",
3384
- "size": "lg"
3385
- },
3386
- {
3387
- "type": "typography",
3388
- "content": "Bearer API Tester",
3389
- "variant": "h2"
3390
- },
3391
- {
3392
- "type": "input",
3393
- "field": "endpoint",
3394
- "placeholder": "/users",
3395
- "bind": "@entity.endpoint"
3396
- },
3397
- {
3398
- "type": "select",
3399
- "field": "method",
3400
- "bind": "@entity.method",
3401
- "options": [
3402
- {
3403
- "label": "GET",
3404
- "value": "GET"
3405
- },
3406
- {
3407
- "label": "POST",
3408
- "value": "POST"
3409
- },
3410
- {
3411
- "label": "PUT",
3412
- "value": "PUT"
3413
- },
3414
- {
3415
- "label": "DELETE",
3416
- "value": "DELETE"
3417
- }
3418
- ]
3419
- },
3420
- {
3421
- "type": "textarea",
3422
- "field": "requestBody",
3423
- "placeholder": "JSON request body",
3424
- "bind": "@entity.requestBody"
3425
- },
3426
- {
3427
- "type": "button",
3428
- "label": "Send Request",
3429
- "event": "CALL_API",
3430
- "variant": "primary",
3431
- "icon": "send"
3432
- }
3433
- ]
3434
- }
3435
- ]
3436
- }
3437
- ]
3438
- ]
3439
- },
3440
- {
3441
- "from": "error",
3442
- "to": "idle",
3443
- "event": "RESET",
3444
- "effects": [
3445
- [
3446
- "render-ui",
3447
- "main",
3448
- {
3449
- "type": "dashboard-layout",
3450
- "appName": "ResearchAssistant",
3451
- "navItems": [
3452
- {
3453
- "label": "Research",
3454
- "href": "/research",
3455
- "icon": "search"
3456
- },
3457
- {
3458
- "label": "Cache",
3459
- "href": "/cache",
3460
- "icon": "database"
3461
- },
3462
- {
3463
- "label": "Reports",
3464
- "href": "/reports",
3465
- "icon": "file-text"
3466
- },
3467
- {
3468
- "label": "Knowledge",
3469
- "href": "/knowledge",
3470
- "icon": "book-open"
3471
- }
3472
- ],
3473
- "children": [
3474
- {
3475
- "type": "stack",
3476
- "direction": "vertical",
3477
- "gap": "lg",
3478
- "align": "center",
3479
- "children": [
3480
- {
3481
- "type": "icon",
3482
- "name": "shield",
3483
- "size": "lg"
3484
- },
3485
- {
3486
- "type": "typography",
3487
- "content": "Bearer API Tester",
3488
- "variant": "h2"
3489
- },
3490
- {
3491
- "type": "input",
3492
- "field": "endpoint",
3493
- "placeholder": "/users",
3494
- "bind": "@entity.endpoint"
3495
- },
3496
- {
3497
- "type": "select",
3498
- "field": "method",
3499
- "bind": "@entity.method",
3500
- "options": [
3501
- {
3502
- "label": "GET",
3503
- "value": "GET"
3504
- },
3505
- {
3506
- "label": "POST",
3507
- "value": "POST"
3508
- },
3509
- {
3510
- "label": "PUT",
3511
- "value": "PUT"
3512
- },
3513
- {
3514
- "label": "DELETE",
3515
- "value": "DELETE"
3516
- }
3517
- ]
3518
- },
3519
- {
3520
- "type": "textarea",
3521
- "field": "requestBody",
3522
- "placeholder": "JSON request body",
3523
- "bind": "@entity.requestBody"
3524
- },
3525
- {
3526
- "type": "button",
3527
- "label": "Send Request",
3528
- "event": "CALL_API",
3529
- "variant": "primary",
3530
- "icon": "send"
3531
- }
3532
- ]
3533
- }
3534
- ]
3535
- }
3536
- ]
3537
- ]
3538
- }
3539
- ]
3540
- }
3541
- }
3542
- ],
3543
- "pages": [
3544
- {
3545
- "name": "KnowledgePage",
3546
- "path": "/knowledge",
3547
- "traits": [
3548
- {
3549
- "ref": "KnowledgeQueryCustomBearer"
3550
- }
3551
- ]
3552
- }
3553
- ]
3554
- }
3555
- ],
3556
- "services": [
3557
- {
3558
- "name": "custom-bearer-api",
3559
- "type": "rest",
3560
- "baseUrl": "https://api.knowledge-base.example.com",
3561
- "auth": {
3562
- "type": "bearer",
3563
- "secretEnv": "CUSTOM_BEARER_TOKEN"
3564
- }
3565
- }
3566
- ],
3567
- "description": "Content research assistant organism. Composes service atoms/molecules via compose: - stdServiceContentPipeline(Research): YouTube search + LLM summarization - stdServiceRedis(CacheEntry): Redis cache management (standalone) - stdServiceStorage(Report): saving research reports to storage (standalone) - stdServiceCustomBearer(KnowledgeQuery): custom knowledge API queries (standalone) Cross-orbital connections: (none - each page operates independently, user navigates via dashboard nav) (2026-04-08). The canonical source for std behaviors is now the registry `.orb` file at `packages/almadar-std/behaviors/registry/<level>/<name>.orb`, which is generated from this TS source by `tools/almadar-behavior-ts-to-orb/` and consumed by the compiler's embedded loader. Consumers should import behaviors via `.lolo`/`.orb` `uses` declarations and reference them as `Alias.entity` / `Alias.traits.X` / `Alias.pages.X`, applying overrides at the call site (`linkedEntity`, `name`, `events`, `effects`, `listens`, `emitsScope`). The TS `*Params` interface and the exported factory functions remain ONLY as the authoring path for the converter; they are NOT a stable public API and may change without notice. See `docs/Almadar_Orb_Behaviors.md` for the orbital-as-function model and `docs/LOLO_Gaps.md` for the migration plan."
3568
- }