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