@almadar/std 5.2.2 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +220 -10
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +63 -4
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +12 -4
  4. package/behaviors/exports/atoms/std-agent-completion.orb +12 -4
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +8 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +79 -4
  7. package/behaviors/exports/atoms/std-agent-memory.orb +16 -4
  8. package/behaviors/exports/atoms/std-agent-provider.orb +12 -4
  9. package/behaviors/exports/atoms/std-agent-search.orb +8 -4
  10. package/behaviors/exports/atoms/std-agent-session.orb +20 -4
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +8 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +8 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +12 -4
  14. package/behaviors/exports/atoms/std-async.orb +12 -4
  15. package/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  16. package/behaviors/exports/atoms/std-browse.orb +8 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +12 -4
  18. package/behaviors/exports/atoms/std-calendar.orb +8 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +8 -4
  20. package/behaviors/exports/atoms/std-collision.orb +8 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +8 -4
  22. package/behaviors/exports/atoms/std-combat.orb +8 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +4 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +8 -4
  25. package/behaviors/exports/atoms/std-display.orb +153 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +58 -4
  27. package/behaviors/exports/atoms/std-filter.orb +8 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +8 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +8 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +8 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -3
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -3
  33. package/behaviors/exports/atoms/std-game-hud.orb +16 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +8 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +8 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +8 -4
  37. package/behaviors/exports/atoms/std-input.orb +8 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +12 -4
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +8 -4
  40. package/behaviors/exports/atoms/std-loading.orb +8 -4
  41. package/behaviors/exports/atoms/std-modal.orb +8 -4
  42. package/behaviors/exports/atoms/std-movement.orb +8 -4
  43. package/behaviors/exports/atoms/std-notification.orb +8 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +8 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +8 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +8 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +8 -4
  48. package/behaviors/exports/atoms/std-quest.orb +14 -5
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +8 -4
  50. package/behaviors/exports/atoms/std-rating.orb +8 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +8 -4
  52. package/behaviors/exports/atoms/std-score.orb +8 -4
  53. package/behaviors/exports/atoms/std-search.orb +8 -4
  54. package/behaviors/exports/atoms/std-selection.orb +8 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +19 -4
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +21 -4
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +15 -4
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +21 -4
  59. package/behaviors/exports/atoms/std-service-email.orb +8 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +8 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +8 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +8 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +8 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +8 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +8 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +8 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +8 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +8 -4
  69. package/behaviors/exports/atoms/std-sort.orb +52 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +8 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +16 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +8 -4
  73. package/behaviors/exports/atoms/std-theme.orb +8 -4
  74. package/behaviors/exports/atoms/std-timer.orb +8 -4
  75. package/behaviors/exports/atoms/std-undo.orb +8 -4
  76. package/behaviors/exports/atoms/std-upload.orb +8 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  78. package/behaviors/exports/atoms/std-wizard.orb +26 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  80. package/behaviors/exports/molecules/std-agent-learner.orb +856 -626
  81. package/behaviors/exports/molecules/std-agent-planner.orb +873 -623
  82. package/behaviors/exports/molecules/std-agent-rag.orb +804 -604
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +2860 -931
  84. package/behaviors/exports/molecules/std-builder-game.orb +8 -4
  85. package/behaviors/exports/molecules/std-cart.orb +318 -197
  86. package/behaviors/exports/molecules/std-classifier-game.orb +8 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +8 -4
  88. package/behaviors/exports/molecules/std-detail.orb +489 -307
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +8 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +12 -4
  91. package/behaviors/exports/molecules/std-geospatial.orb +519 -364
  92. package/behaviors/exports/molecules/std-inventory.orb +650 -391
  93. package/behaviors/exports/molecules/std-list.orb +890 -526
  94. package/behaviors/exports/molecules/std-messaging.orb +474 -293
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +8 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +8 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +8 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +8 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +8 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +8 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +46 -4
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +8 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +8 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +8 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +8 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +8 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  108. package/behaviors/exports/organisms/std-agent-builder.orb +1321 -835
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +1284 -782
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +372 -300
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  112. package/behaviors/exports/organisms/std-api-gateway.orb +21 -4
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +38 -4
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +25 -4
  116. package/behaviors/exports/organisms/std-cms.orb +42 -4
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +42 -4
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +21 -4
  120. package/behaviors/exports/organisms/std-ecommerce.orb +46 -4
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +25 -4
  122. package/behaviors/exports/organisms/std-healthcare.orb +42 -4
  123. package/behaviors/exports/organisms/std-helpdesk.orb +25 -4
  124. package/behaviors/exports/organisms/std-hr-portal.orb +38 -4
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +21 -4
  126. package/behaviors/exports/organisms/std-lms.orb +21 -4
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  129. package/behaviors/exports/organisms/std-project-manager.orb +38 -4
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +25 -4
  132. package/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +46 -8
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  135. package/behaviors/exports/organisms/std-social-feed.orb +12 -4
  136. package/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  137. package/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  138. package/behaviors/exports/organisms/std-trading-dashboard.orb +25 -4
  139. package/behaviors/exports/validation-report.json +1662 -1
  140. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +220 -10
  141. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +63 -4
  142. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +12 -4
  143. package/dist/behaviors/exports/atoms/std-agent-completion.orb +12 -4
  144. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +8 -4
  145. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +79 -4
  146. package/dist/behaviors/exports/atoms/std-agent-memory.orb +16 -4
  147. package/dist/behaviors/exports/atoms/std-agent-provider.orb +12 -4
  148. package/dist/behaviors/exports/atoms/std-agent-search.orb +8 -4
  149. package/dist/behaviors/exports/atoms/std-agent-session.orb +20 -4
  150. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +8 -4
  151. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +8 -4
  152. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +12 -4
  153. package/dist/behaviors/exports/atoms/std-async.orb +12 -4
  154. package/dist/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  155. package/dist/behaviors/exports/atoms/std-browse.orb +8 -4
  156. package/dist/behaviors/exports/atoms/std-cache-aside.orb +12 -4
  157. package/dist/behaviors/exports/atoms/std-calendar.orb +8 -4
  158. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +8 -4
  159. package/dist/behaviors/exports/atoms/std-collision.orb +8 -4
  160. package/dist/behaviors/exports/atoms/std-combat-log.orb +8 -4
  161. package/dist/behaviors/exports/atoms/std-combat.orb +8 -4
  162. package/dist/behaviors/exports/atoms/std-confirmation.orb +4 -4
  163. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +8 -4
  164. package/dist/behaviors/exports/atoms/std-display.orb +153 -4
  165. package/dist/behaviors/exports/atoms/std-drawer.orb +58 -4
  166. package/dist/behaviors/exports/atoms/std-filter.orb +8 -4
  167. package/dist/behaviors/exports/atoms/std-flip-card.orb +8 -4
  168. package/dist/behaviors/exports/atoms/std-gallery.orb +8 -4
  169. package/dist/behaviors/exports/atoms/std-game-audio.orb +8 -4
  170. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -3
  171. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -3
  172. package/dist/behaviors/exports/atoms/std-game-hud.orb +16 -4
  173. package/dist/behaviors/exports/atoms/std-game-menu.orb +8 -4
  174. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +8 -4
  175. package/dist/behaviors/exports/atoms/std-gameflow.orb +8 -4
  176. package/dist/behaviors/exports/atoms/std-input.orb +8 -4
  177. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +12 -4
  178. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +8 -4
  179. package/dist/behaviors/exports/atoms/std-loading.orb +8 -4
  180. package/dist/behaviors/exports/atoms/std-modal.orb +8 -4
  181. package/dist/behaviors/exports/atoms/std-movement.orb +8 -4
  182. package/dist/behaviors/exports/atoms/std-notification.orb +8 -4
  183. package/dist/behaviors/exports/atoms/std-overworld.orb +8 -4
  184. package/dist/behaviors/exports/atoms/std-pagination.orb +8 -4
  185. package/dist/behaviors/exports/atoms/std-physics2d.orb +8 -4
  186. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +8 -4
  187. package/dist/behaviors/exports/atoms/std-quest.orb +14 -5
  188. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +8 -4
  189. package/dist/behaviors/exports/atoms/std-rating.orb +8 -4
  190. package/dist/behaviors/exports/atoms/std-score-board.orb +8 -4
  191. package/dist/behaviors/exports/atoms/std-score.orb +8 -4
  192. package/dist/behaviors/exports/atoms/std-search.orb +8 -4
  193. package/dist/behaviors/exports/atoms/std-selection.orb +8 -4
  194. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +19 -4
  195. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +21 -4
  196. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +15 -4
  197. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +21 -4
  198. package/dist/behaviors/exports/atoms/std-service-email.orb +8 -4
  199. package/dist/behaviors/exports/atoms/std-service-github.orb +8 -4
  200. package/dist/behaviors/exports/atoms/std-service-llm.orb +8 -4
  201. package/dist/behaviors/exports/atoms/std-service-oauth.orb +8 -4
  202. package/dist/behaviors/exports/atoms/std-service-redis.orb +8 -4
  203. package/dist/behaviors/exports/atoms/std-service-storage.orb +8 -4
  204. package/dist/behaviors/exports/atoms/std-service-stripe.orb +8 -4
  205. package/dist/behaviors/exports/atoms/std-service-twilio.orb +8 -4
  206. package/dist/behaviors/exports/atoms/std-service-youtube.orb +8 -4
  207. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +8 -4
  208. package/dist/behaviors/exports/atoms/std-sort.orb +52 -4
  209. package/dist/behaviors/exports/atoms/std-sprite.orb +8 -4
  210. package/dist/behaviors/exports/atoms/std-tabs.orb +16 -4
  211. package/dist/behaviors/exports/atoms/std-text-effects.orb +8 -4
  212. package/dist/behaviors/exports/atoms/std-theme.orb +8 -4
  213. package/dist/behaviors/exports/atoms/std-timer.orb +8 -4
  214. package/dist/behaviors/exports/atoms/std-undo.orb +8 -4
  215. package/dist/behaviors/exports/atoms/std-upload.orb +8 -4
  216. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  217. package/dist/behaviors/exports/atoms/std-wizard.orb +26 -4
  218. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  219. package/dist/behaviors/exports/molecules/std-agent-learner.orb +856 -626
  220. package/dist/behaviors/exports/molecules/std-agent-planner.orb +873 -623
  221. package/dist/behaviors/exports/molecules/std-agent-rag.orb +804 -604
  222. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +2860 -931
  223. package/dist/behaviors/exports/molecules/std-builder-game.orb +8 -4
  224. package/dist/behaviors/exports/molecules/std-cart.orb +318 -197
  225. package/dist/behaviors/exports/molecules/std-classifier-game.orb +8 -4
  226. package/dist/behaviors/exports/molecules/std-debugger-game.orb +8 -4
  227. package/dist/behaviors/exports/molecules/std-detail.orb +489 -307
  228. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +8 -4
  229. package/dist/behaviors/exports/molecules/std-form-advanced.orb +12 -4
  230. package/dist/behaviors/exports/molecules/std-geospatial.orb +519 -364
  231. package/dist/behaviors/exports/molecules/std-inventory.orb +650 -391
  232. package/dist/behaviors/exports/molecules/std-list.orb +890 -526
  233. package/dist/behaviors/exports/molecules/std-messaging.orb +474 -293
  234. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +8 -4
  235. package/dist/behaviors/exports/molecules/std-platformer-game.orb +8 -4
  236. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +8 -4
  237. package/dist/behaviors/exports/molecules/std-quiz.orb +8 -4
  238. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +8 -4
  239. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +8 -4
  240. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +46 -4
  241. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +8 -4
  242. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +8 -4
  243. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +8 -4
  244. package/dist/behaviors/exports/molecules/std-simulator-game.orb +8 -4
  245. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +8 -4
  246. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  247. package/dist/behaviors/exports/organisms/std-agent-builder.orb +1321 -835
  248. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +1284 -782
  249. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +372 -300
  250. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  251. package/dist/behaviors/exports/organisms/std-api-gateway.orb +21 -4
  252. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  253. package/dist/behaviors/exports/organisms/std-booking-system.orb +38 -4
  254. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +25 -4
  255. package/dist/behaviors/exports/organisms/std-cms.orb +42 -4
  256. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  257. package/dist/behaviors/exports/organisms/std-crm.orb +42 -4
  258. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +21 -4
  259. package/dist/behaviors/exports/organisms/std-ecommerce.orb +46 -4
  260. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +25 -4
  261. package/dist/behaviors/exports/organisms/std-healthcare.orb +42 -4
  262. package/dist/behaviors/exports/organisms/std-helpdesk.orb +25 -4
  263. package/dist/behaviors/exports/organisms/std-hr-portal.orb +38 -4
  264. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +21 -4
  265. package/dist/behaviors/exports/organisms/std-lms.orb +21 -4
  266. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  267. package/dist/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  268. package/dist/behaviors/exports/organisms/std-project-manager.orb +38 -4
  269. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  270. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +25 -4
  271. package/dist/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  272. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +46 -8
  273. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  274. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -4
  275. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  277. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +25 -4
  278. package/dist/behaviors/exports/validation-report.json +1662 -1
  279. package/dist/behaviors/exports-reader.js +225 -206
  280. package/dist/behaviors/exports-reader.js.map +1 -1
  281. package/dist/behaviors/functions/index.d.ts +113 -113
  282. package/dist/behaviors/functions/index.js +225 -207
  283. package/dist/behaviors/functions/index.js.map +1 -1
  284. package/dist/behaviors/index.d.ts +1 -1
  285. package/dist/behaviors/index.js +226 -207
  286. package/dist/behaviors/index.js.map +1 -1
  287. package/dist/behaviors/query.js +225 -206
  288. package/dist/behaviors/query.js.map +1 -1
  289. package/dist/exports/atoms/std-agent-activity-log.orb +220 -10
  290. package/dist/exports/atoms/std-agent-chat-thread.orb +63 -4
  291. package/dist/exports/atoms/std-agent-classifier.orb +12 -4
  292. package/dist/exports/atoms/std-agent-completion.orb +12 -4
  293. package/dist/exports/atoms/std-agent-context-window.orb +8 -4
  294. package/dist/exports/atoms/std-agent-conversation.orb +79 -4
  295. package/dist/exports/atoms/std-agent-memory.orb +16 -4
  296. package/dist/exports/atoms/std-agent-provider.orb +12 -4
  297. package/dist/exports/atoms/std-agent-search.orb +8 -4
  298. package/dist/exports/atoms/std-agent-session.orb +20 -4
  299. package/dist/exports/atoms/std-agent-step-progress.orb +8 -4
  300. package/dist/exports/atoms/std-agent-token-gauge.orb +8 -4
  301. package/dist/exports/atoms/std-agent-tool-call.orb +12 -4
  302. package/dist/exports/atoms/std-async.orb +12 -4
  303. package/dist/exports/atoms/std-autoregressive.orb +2 -3
  304. package/dist/exports/atoms/std-browse.orb +8 -4
  305. package/dist/exports/atoms/std-cache-aside.orb +12 -4
  306. package/dist/exports/atoms/std-calendar.orb +8 -4
  307. package/dist/exports/atoms/std-circuit-breaker.orb +8 -4
  308. package/dist/exports/atoms/std-collision.orb +8 -4
  309. package/dist/exports/atoms/std-combat-log.orb +8 -4
  310. package/dist/exports/atoms/std-combat.orb +8 -4
  311. package/dist/exports/atoms/std-confirmation.orb +4 -4
  312. package/dist/exports/atoms/std-dialogue-box.orb +8 -4
  313. package/dist/exports/atoms/std-display.orb +153 -4
  314. package/dist/exports/atoms/std-drawer.orb +58 -4
  315. package/dist/exports/atoms/std-filter.orb +8 -4
  316. package/dist/exports/atoms/std-flip-card.orb +8 -4
  317. package/dist/exports/atoms/std-gallery.orb +8 -4
  318. package/dist/exports/atoms/std-game-audio.orb +8 -4
  319. package/dist/exports/atoms/std-game-canvas2d.orb +6 -3
  320. package/dist/exports/atoms/std-game-canvas3d.orb +6 -3
  321. package/dist/exports/atoms/std-game-hud.orb +16 -4
  322. package/dist/exports/atoms/std-game-menu.orb +8 -4
  323. package/dist/exports/atoms/std-game-over-screen.orb +8 -4
  324. package/dist/exports/atoms/std-gameflow.orb +8 -4
  325. package/dist/exports/atoms/std-input.orb +8 -4
  326. package/dist/exports/atoms/std-inventory-panel.orb +12 -4
  327. package/dist/exports/atoms/std-isometric-canvas.orb +8 -4
  328. package/dist/exports/atoms/std-loading.orb +8 -4
  329. package/dist/exports/atoms/std-modal.orb +8 -4
  330. package/dist/exports/atoms/std-movement.orb +8 -4
  331. package/dist/exports/atoms/std-notification.orb +8 -4
  332. package/dist/exports/atoms/std-overworld.orb +8 -4
  333. package/dist/exports/atoms/std-pagination.orb +8 -4
  334. package/dist/exports/atoms/std-physics2d.orb +8 -4
  335. package/dist/exports/atoms/std-platformer-canvas.orb +8 -4
  336. package/dist/exports/atoms/std-quest.orb +14 -5
  337. package/dist/exports/atoms/std-rate-limiter.orb +8 -4
  338. package/dist/exports/atoms/std-rating.orb +8 -4
  339. package/dist/exports/atoms/std-score-board.orb +8 -4
  340. package/dist/exports/atoms/std-score.orb +8 -4
  341. package/dist/exports/atoms/std-search.orb +8 -4
  342. package/dist/exports/atoms/std-selection.orb +8 -4
  343. package/dist/exports/atoms/std-service-custom-bearer.orb +19 -4
  344. package/dist/exports/atoms/std-service-custom-header.orb +21 -4
  345. package/dist/exports/atoms/std-service-custom-noauth.orb +15 -4
  346. package/dist/exports/atoms/std-service-custom-query.orb +21 -4
  347. package/dist/exports/atoms/std-service-email.orb +8 -4
  348. package/dist/exports/atoms/std-service-github.orb +8 -4
  349. package/dist/exports/atoms/std-service-llm.orb +8 -4
  350. package/dist/exports/atoms/std-service-oauth.orb +8 -4
  351. package/dist/exports/atoms/std-service-redis.orb +8 -4
  352. package/dist/exports/atoms/std-service-storage.orb +8 -4
  353. package/dist/exports/atoms/std-service-stripe.orb +8 -4
  354. package/dist/exports/atoms/std-service-twilio.orb +8 -4
  355. package/dist/exports/atoms/std-service-youtube.orb +8 -4
  356. package/dist/exports/atoms/std-simulation-canvas.orb +8 -4
  357. package/dist/exports/atoms/std-sort.orb +52 -4
  358. package/dist/exports/atoms/std-sprite.orb +8 -4
  359. package/dist/exports/atoms/std-tabs.orb +16 -4
  360. package/dist/exports/atoms/std-text-effects.orb +8 -4
  361. package/dist/exports/atoms/std-theme.orb +8 -4
  362. package/dist/exports/atoms/std-timer.orb +8 -4
  363. package/dist/exports/atoms/std-undo.orb +8 -4
  364. package/dist/exports/atoms/std-upload.orb +8 -4
  365. package/dist/exports/atoms/std-validate-on-save.orb +32 -4
  366. package/dist/exports/atoms/std-wizard.orb +26 -4
  367. package/dist/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  368. package/dist/exports/molecules/std-agent-learner.orb +856 -626
  369. package/dist/exports/molecules/std-agent-planner.orb +873 -623
  370. package/dist/exports/molecules/std-agent-rag.orb +804 -604
  371. package/dist/exports/molecules/std-agent-tool-loop.orb +2860 -931
  372. package/dist/exports/molecules/std-builder-game.orb +8 -4
  373. package/dist/exports/molecules/std-cart.orb +318 -197
  374. package/dist/exports/molecules/std-classifier-game.orb +8 -4
  375. package/dist/exports/molecules/std-debugger-game.orb +8 -4
  376. package/dist/exports/molecules/std-detail.orb +489 -307
  377. package/dist/exports/molecules/std-event-handler-game.orb +8 -4
  378. package/dist/exports/molecules/std-form-advanced.orb +12 -4
  379. package/dist/exports/molecules/std-geospatial.orb +519 -364
  380. package/dist/exports/molecules/std-inventory.orb +650 -391
  381. package/dist/exports/molecules/std-list.orb +890 -526
  382. package/dist/exports/molecules/std-messaging.orb +474 -293
  383. package/dist/exports/molecules/std-negotiator-game.orb +8 -4
  384. package/dist/exports/molecules/std-platformer-game.orb +8 -4
  385. package/dist/exports/molecules/std-puzzle-game.orb +8 -4
  386. package/dist/exports/molecules/std-quiz.orb +8 -4
  387. package/dist/exports/molecules/std-sequencer-game.orb +8 -4
  388. package/dist/exports/molecules/std-service-content-pipeline.orb +8 -4
  389. package/dist/exports/molecules/std-service-custom-api-tester.orb +46 -4
  390. package/dist/exports/molecules/std-service-devops-toolkit.orb +8 -4
  391. package/dist/exports/molecules/std-service-notification-hub.orb +8 -4
  392. package/dist/exports/molecules/std-service-payment-flow.orb +8 -4
  393. package/dist/exports/molecules/std-simulator-game.orb +8 -4
  394. package/dist/exports/molecules/std-turn-based-battle.orb +8 -4
  395. package/dist/exports/organisms/std-agent-assistant.orb +28 -4
  396. package/dist/exports/organisms/std-agent-builder.orb +1321 -835
  397. package/dist/exports/organisms/std-agent-pipeline.orb +1284 -782
  398. package/dist/exports/organisms/std-agent-reviewer.orb +372 -300
  399. package/dist/exports/organisms/std-agent-tutor.orb +378 -295
  400. package/dist/exports/organisms/std-api-gateway.orb +21 -4
  401. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  402. package/dist/exports/organisms/std-booking-system.orb +38 -4
  403. package/dist/exports/organisms/std-cicd-pipeline.orb +25 -4
  404. package/dist/exports/organisms/std-cms.orb +42 -4
  405. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  406. package/dist/exports/organisms/std-crm.orb +42 -4
  407. package/dist/exports/organisms/std-devops-dashboard.orb +21 -4
  408. package/dist/exports/organisms/std-ecommerce.orb +46 -4
  409. package/dist/exports/organisms/std-finance-tracker.orb +25 -4
  410. package/dist/exports/organisms/std-healthcare.orb +42 -4
  411. package/dist/exports/organisms/std-helpdesk.orb +25 -4
  412. package/dist/exports/organisms/std-hr-portal.orb +38 -4
  413. package/dist/exports/organisms/std-iot-dashboard.orb +21 -4
  414. package/dist/exports/organisms/std-lms.orb +21 -4
  415. package/dist/exports/organisms/std-logic-training.orb +4 -4
  416. package/dist/exports/organisms/std-platformer-app.orb +16 -4
  417. package/dist/exports/organisms/std-project-manager.orb +38 -4
  418. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  419. package/dist/exports/organisms/std-realtime-chat.orb +25 -4
  420. package/dist/exports/organisms/std-rpg-game.orb +20 -4
  421. package/dist/exports/organisms/std-service-marketplace.orb +46 -8
  422. package/dist/exports/organisms/std-service-research-assistant.orb +15 -4
  423. package/dist/exports/organisms/std-social-feed.orb +12 -4
  424. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  425. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  426. package/dist/exports/organisms/std-trading-dashboard.orb +25 -4
  427. package/dist/exports/validation-report.json +1662 -1
  428. package/dist/index.d.ts +1 -1
  429. package/dist/index.js +226 -207
  430. package/dist/index.js.map +1 -1
  431. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
- import { wire, plural, pipe, mergeOrbitals, makePage, makeOrbital, makeEntity, extractTrait, ensureIdField, connect, compose } from '@almadar/core/builders';
2
- export { compose, connect, ensureIdField, extractTrait, makeEntity, makeOrbital, makePage, mergeOrbitals, pipe, plural, wire } from '@almadar/core/builders';
1
+ import { wire, plural, pipe, mergeOrbitals, makeSchema, makePage, makeOrbital, makeEntity, extractTrait, ensureIdField, connect, compose } from '@almadar/core/builders';
2
+ export { compose, connect, ensureIdField, extractTrait, makeEntity, makeOrbital, makePage, makeSchema, mergeOrbitals, pipe, plural, wire } from '@almadar/core/builders';
3
3
 
4
4
  var __defProp = Object.defineProperty;
5
5
  var __export = (target, all) => {
@@ -88,6 +88,7 @@ __export(functions_exports, {
88
88
  makeEntity: () => makeEntity,
89
89
  makeOrbital: () => makeOrbital,
90
90
  makePage: () => makePage,
91
+ makeSchema: () => makeSchema,
91
92
  mergeOrbitals: () => mergeOrbitals,
92
93
  pipe: () => pipe,
93
94
  plural: () => plural,
@@ -791,7 +792,7 @@ function stdBrowsePage(params) {
791
792
  }
792
793
  function stdBrowse(params) {
793
794
  const c = resolve(params);
794
- return makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]);
795
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]));
795
796
  }
796
797
  function resolve2(params) {
797
798
  const { entityName } = params;
@@ -975,7 +976,7 @@ function stdModalPage(params) {
975
976
  }
976
977
  function stdModal(params) {
977
978
  const c = resolve2(params);
978
- return makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]);
979
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]));
979
980
  }
980
981
  function resolve3(params) {
981
982
  const { entityName } = params;
@@ -1153,12 +1154,12 @@ function stdConfirmationPage(params) {
1153
1154
  }
1154
1155
  function stdConfirmation(params) {
1155
1156
  const c = resolve3(params);
1156
- return makeOrbital(
1157
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1157
1158
  `${c.entityName}Orbital`,
1158
1159
  buildEntity3(c),
1159
1160
  [buildTrait3(c)],
1160
1161
  [buildPage3(c)]
1161
- );
1162
+ ));
1162
1163
  }
1163
1164
  function resolve4(params) {
1164
1165
  const { entityName } = params;
@@ -1324,12 +1325,12 @@ function stdSearchPage(params) {
1324
1325
  }
1325
1326
  function stdSearch(params) {
1326
1327
  const c = resolve4(params);
1327
- return makeOrbital(
1328
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1328
1329
  `${c.entityName}Orbital`,
1329
1330
  buildEntity4(c),
1330
1331
  [buildTrait4(c)],
1331
1332
  [buildPage4(c)]
1332
- );
1333
+ ));
1333
1334
  }
1334
1335
  function resolve5(params) {
1335
1336
  const { entityName } = params;
@@ -1516,7 +1517,7 @@ function stdFilterPage(params) {
1516
1517
  }
1517
1518
  function stdFilter(params) {
1518
1519
  const c = resolve5(params);
1519
- return makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]);
1520
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]));
1520
1521
  }
1521
1522
  function resolve6(params) {
1522
1523
  const { entityName } = params;
@@ -1676,7 +1677,7 @@ function stdSortPage(params) {
1676
1677
  }
1677
1678
  function stdSort(params) {
1678
1679
  const c = resolve6(params);
1679
- return makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]);
1680
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]));
1680
1681
  }
1681
1682
  function resolve7(params) {
1682
1683
  const { entityName } = params;
@@ -1848,12 +1849,12 @@ function stdPaginationPage(params) {
1848
1849
  }
1849
1850
  function stdPagination(params) {
1850
1851
  const c = resolve7(params);
1851
- return makeOrbital(
1852
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1852
1853
  `${c.entityName}Orbital`,
1853
1854
  buildEntity7(c),
1854
1855
  [buildTrait7(c)],
1855
1856
  [buildPage7(c)]
1856
- );
1857
+ ));
1857
1858
  }
1858
1859
  function resolve8(params) {
1859
1860
  const { entityName } = params;
@@ -2041,12 +2042,12 @@ function stdDrawerPage(params) {
2041
2042
  }
2042
2043
  function stdDrawer(params) {
2043
2044
  const c = resolve8(params);
2044
- return makeOrbital(
2045
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2045
2046
  `${c.entityName}Orbital`,
2046
2047
  buildEntity8(c),
2047
2048
  [buildTrait8(c)],
2048
2049
  [buildPage8(c)]
2049
- );
2050
+ ));
2050
2051
  }
2051
2052
  function resolve9(params) {
2052
2053
  const { entityName } = params;
@@ -2219,12 +2220,12 @@ function stdNotificationPage(params) {
2219
2220
  }
2220
2221
  function stdNotification(params) {
2221
2222
  const c = resolve9(params);
2222
- return makeOrbital(
2223
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2223
2224
  `${c.entityName}Orbital`,
2224
2225
  buildEntity9(c),
2225
2226
  [buildTrait9(c)],
2226
2227
  [buildPage9(c)]
2227
- );
2228
+ ));
2228
2229
  }
2229
2230
  function resolve10(params) {
2230
2231
  const { entityName } = params;
@@ -2476,12 +2477,12 @@ function stdTimerPage(params) {
2476
2477
  }
2477
2478
  function stdTimer(params) {
2478
2479
  const c = resolve10(params);
2479
- return makeOrbital(
2480
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2480
2481
  `${c.entityName}Orbital`,
2481
2482
  buildEntity10(c),
2482
2483
  [buildTrait10(c)],
2483
2484
  [buildPage10(c)]
2484
- );
2485
+ ));
2485
2486
  }
2486
2487
  function resolve11(params) {
2487
2488
  const { entityName } = params;
@@ -2602,7 +2603,7 @@ function stdTabsPage(params) {
2602
2603
  }
2603
2604
  function stdTabs(params) {
2604
2605
  const c = resolve11(params);
2605
- return makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]);
2606
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]));
2606
2607
  }
2607
2608
  function resolve12(params) {
2608
2609
  const { entityName } = params;
@@ -2816,12 +2817,12 @@ function stdLoadingPage(params) {
2816
2817
  }
2817
2818
  function stdLoading(params) {
2818
2819
  const c = resolve12(params);
2819
- return makeOrbital(
2820
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2820
2821
  `${c.entityName}Orbital`,
2821
2822
  buildEntity12(c),
2822
2823
  [buildTrait12(c)],
2823
2824
  [buildPage12(c)]
2824
- );
2825
+ ));
2825
2826
  }
2826
2827
  function resolve13(params) {
2827
2828
  const { entityName } = params;
@@ -3106,12 +3107,12 @@ function stdSelectionPage(params) {
3106
3107
  }
3107
3108
  function stdSelection(params) {
3108
3109
  const c = resolve13(params);
3109
- return makeOrbital(
3110
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3110
3111
  `${c.entityName}Orbital`,
3111
3112
  buildEntity13(c),
3112
3113
  [buildTrait13(c)],
3113
3114
  [buildPage13(c)]
3114
- );
3115
+ ));
3115
3116
  }
3116
3117
  function resolve14(params) {
3117
3118
  const { entityName } = params;
@@ -3237,7 +3238,7 @@ function stdUndoPage(params) {
3237
3238
  }
3238
3239
  function stdUndo(params) {
3239
3240
  const c = resolve14(params);
3240
- return makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]);
3241
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]));
3241
3242
  }
3242
3243
  function resolve15(params) {
3243
3244
  const { entityName } = params;
@@ -3435,12 +3436,12 @@ function stdInputPage(params) {
3435
3436
  }
3436
3437
  function stdInput(params) {
3437
3438
  const c = resolve15(params);
3438
- return makeOrbital(
3439
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3439
3440
  `${c.entityName}Orbital`,
3440
3441
  buildEntity15(c),
3441
3442
  [buildTrait15(c)],
3442
3443
  [buildPage15(c)]
3443
- );
3444
+ ));
3444
3445
  }
3445
3446
  function resolve16(params) {
3446
3447
  const { entityName } = params;
@@ -3693,12 +3694,12 @@ function stdWizardPage(params) {
3693
3694
  }
3694
3695
  function stdWizard(params) {
3695
3696
  const c = resolve16(params);
3696
- return makeOrbital(
3697
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3697
3698
  `${c.entityName}Orbital`,
3698
3699
  buildEntity16(c),
3699
3700
  [buildTrait16(c)],
3700
3701
  [buildPage16(c)]
3701
- );
3702
+ ));
3702
3703
  }
3703
3704
  function resolve17(params) {
3704
3705
  const { entityName } = params;
@@ -3827,12 +3828,12 @@ function stdDisplayPage(params) {
3827
3828
  }
3828
3829
  function stdDisplay(params) {
3829
3830
  const c = resolve17(params);
3830
- return makeOrbital(
3831
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3831
3832
  `${c.entityName}Orbital`,
3832
3833
  makeEntity({ name: c.entityName, fields: c.fields, persistence: c.persistence, collection: c.collection }),
3833
3834
  [buildTrait17(c)],
3834
3835
  [makePage({ name: c.pageName, path: c.pagePath, traitName: c.traitName, isInitial: c.isInitial })]
3835
- );
3836
+ ));
3836
3837
  }
3837
3838
  function resolve18(params) {
3838
3839
  const { entityName } = params;
@@ -4026,12 +4027,12 @@ function stdAsyncPage(params) {
4026
4027
  }
4027
4028
  function stdAsync(params) {
4028
4029
  const c = resolve18(params);
4029
- return makeOrbital(
4030
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4030
4031
  `${c.entityName}Orbital`,
4031
4032
  buildEntity17(c),
4032
4033
  [buildTrait18(c)],
4033
4034
  [buildPage17(c)]
4034
- );
4035
+ ));
4035
4036
  }
4036
4037
  function resolve19(params) {
4037
4038
  const { entityName } = params;
@@ -4216,12 +4217,12 @@ function stdCombatPage(params) {
4216
4217
  }
4217
4218
  function stdCombat(params) {
4218
4219
  const c = resolve19(params);
4219
- return makeOrbital(
4220
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4220
4221
  `${c.entityName}Orbital`,
4221
4222
  buildEntity18(c),
4222
4223
  [buildTrait19(c)],
4223
4224
  [buildPage18(c)]
4224
- );
4225
+ ));
4225
4226
  }
4226
4227
  function resolve20(params) {
4227
4228
  const { entityName } = params;
@@ -4405,12 +4406,12 @@ function stdGameflowPage(params) {
4405
4406
  }
4406
4407
  function stdGameflow(params) {
4407
4408
  const c = resolve20(params);
4408
- return makeOrbital(
4409
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4409
4410
  `${c.entityName}Orbital`,
4410
4411
  buildEntity19(c),
4411
4412
  [buildTrait20(c)],
4412
4413
  [buildPage19(c)]
4413
- );
4414
+ ));
4414
4415
  }
4415
4416
  function resolve21(params) {
4416
4417
  const { entityName } = params;
@@ -4674,12 +4675,12 @@ function stdMovementPage(params) {
4674
4675
  }
4675
4676
  function stdMovement(params) {
4676
4677
  const c = resolve21(params);
4677
- return makeOrbital(
4678
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4678
4679
  `${c.entityName}Orbital`,
4679
4680
  buildEntity20(c),
4680
4681
  [buildTrait21(c)],
4681
4682
  [buildPage20(c)]
4682
- );
4683
+ ));
4683
4684
  }
4684
4685
  function resolve22(params) {
4685
4686
  const { entityName } = params;
@@ -5006,12 +5007,12 @@ function stdQuestPage(params) {
5006
5007
  }
5007
5008
  function stdQuest(params) {
5008
5009
  const c = resolve22(params);
5009
- return makeOrbital(
5010
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5010
5011
  `${c.entityName}Orbital`,
5011
5012
  buildEntity21(c),
5012
5013
  [buildTrait22(c)],
5013
5014
  [buildPage21(c)]
5014
- );
5015
+ ));
5015
5016
  }
5016
5017
  function resolve23(params) {
5017
5018
  const { entityName } = params;
@@ -5239,12 +5240,12 @@ function stdOverworldPage(params) {
5239
5240
  }
5240
5241
  function stdOverworld(params) {
5241
5242
  const c = resolve23(params);
5242
- return makeOrbital(
5243
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5243
5244
  `${c.entityName}Orbital`,
5244
5245
  buildEntity22(c),
5245
5246
  [buildTrait23(c)],
5246
5247
  [buildPage22(c)]
5247
- );
5248
+ ));
5248
5249
  }
5249
5250
  function resolve24(params) {
5250
5251
  const { entityName } = params;
@@ -5471,12 +5472,12 @@ function stdCircuitBreakerPage(params) {
5471
5472
  }
5472
5473
  function stdCircuitBreaker(params) {
5473
5474
  const c = resolve24(params);
5474
- return makeOrbital(
5475
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5475
5476
  `${c.entityName}Orbital`,
5476
5477
  buildEntity23(c),
5477
5478
  [buildTrait24(c)],
5478
5479
  [buildPage23(c)]
5479
- );
5480
+ ));
5480
5481
  }
5481
5482
  function resolve25(params) {
5482
5483
  const { entityName } = params;
@@ -5775,12 +5776,12 @@ function stdCacheAsidePage(params) {
5775
5776
  }
5776
5777
  function stdCacheAside(params) {
5777
5778
  const c = resolve25(params);
5778
- return makeOrbital(
5779
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5779
5780
  `${c.entityName}Orbital`,
5780
5781
  buildEntity24(c),
5781
5782
  [buildTrait25(c)],
5782
5783
  [buildPage24(c)]
5783
- );
5784
+ ));
5784
5785
  }
5785
5786
  function resolve26(params) {
5786
5787
  const { entityName } = params;
@@ -5940,12 +5941,12 @@ function stdScorePage(params) {
5940
5941
  }
5941
5942
  function stdScore(params) {
5942
5943
  const c = resolve26(params);
5943
- return makeOrbital(
5944
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5944
5945
  `${c.entityName}Orbital`,
5945
5946
  buildEntity25(c),
5946
5947
  [buildTrait26(c)],
5947
5948
  [buildPage25(c)]
5948
- );
5949
+ ));
5949
5950
  }
5950
5951
  function resolve27(params) {
5951
5952
  const { entityName } = params;
@@ -6114,7 +6115,7 @@ function stdCalendarPage(params) {
6114
6115
  }
6115
6116
  function stdCalendar(params) {
6116
6117
  const c = resolve27(params);
6117
- return makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]);
6118
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]));
6118
6119
  }
6119
6120
  function resolve28(params) {
6120
6121
  const { entityName } = params;
@@ -6244,7 +6245,7 @@ function stdGalleryPage(params) {
6244
6245
  }
6245
6246
  function stdGallery(params) {
6246
6247
  const c = resolve28(params);
6247
- return makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]);
6248
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]));
6248
6249
  }
6249
6250
  function resolve29(params) {
6250
6251
  const { entityName } = params;
@@ -6403,7 +6404,7 @@ function stdFlipCardPage(params) {
6403
6404
  }
6404
6405
  function stdFlipCard(params) {
6405
6406
  const c = resolve29(params);
6406
- return makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]);
6407
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]));
6407
6408
  }
6408
6409
  function resolve30(params) {
6409
6410
  const { entityName } = params;
@@ -6519,7 +6520,7 @@ function stdRatingPage(params) {
6519
6520
  }
6520
6521
  function stdRating(params) {
6521
6522
  const c = resolve30(params);
6522
- return makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]);
6523
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]));
6523
6524
  }
6524
6525
  function resolve31(params) {
6525
6526
  const { entityName } = params;
@@ -6679,7 +6680,7 @@ function stdUploadPage(params) {
6679
6680
  }
6680
6681
  function stdUpload(params) {
6681
6682
  const c = resolve31(params);
6682
- return makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]);
6683
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]));
6683
6684
  }
6684
6685
  function resolve32(params) {
6685
6686
  const { entityName } = params;
@@ -6808,7 +6809,7 @@ function stdThemePage(params) {
6808
6809
  }
6809
6810
  function stdTheme(params) {
6810
6811
  const c = resolve32(params);
6811
- return makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]);
6812
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]));
6812
6813
  }
6813
6814
  function resolve33(params) {
6814
6815
  const { entityName } = params;
@@ -6970,7 +6971,7 @@ function stdTextEffectsPage(params) {
6970
6971
  }
6971
6972
  function stdTextEffects(params) {
6972
6973
  const c = resolve33(params);
6973
- return makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]);
6974
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]));
6974
6975
  }
6975
6976
  function resolve34(params) {
6976
6977
  const { entityName } = params;
@@ -7166,12 +7167,12 @@ function stdCollisionPage(params) {
7166
7167
  }
7167
7168
  function stdCollision(params) {
7168
7169
  const c = resolve34(params);
7169
- return makeOrbital(
7170
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7170
7171
  `${c.entityName}Orbital`,
7171
7172
  buildEntity33(c),
7172
7173
  [buildTrait34(c)],
7173
7174
  [buildPage33(c)]
7174
- );
7175
+ ));
7175
7176
  }
7176
7177
  function resolve35(params) {
7177
7178
  const { entityName } = params;
@@ -7330,12 +7331,12 @@ function stdPhysics2dPage(params) {
7330
7331
  }
7331
7332
  function stdPhysics2d(params) {
7332
7333
  const c = resolve35(params);
7333
- return makeOrbital(
7334
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7334
7335
  `${c.entityName}Orbital`,
7335
7336
  buildEntity34(c),
7336
7337
  [buildTrait35(c)],
7337
7338
  [buildPage34(c)]
7338
- );
7339
+ ));
7339
7340
  }
7340
7341
  function resolve36(params) {
7341
7342
  const { entityName } = params;
@@ -7542,12 +7543,12 @@ function stdRateLimiterPage(params) {
7542
7543
  }
7543
7544
  function stdRateLimiter(params) {
7544
7545
  const c = resolve36(params);
7545
- return makeOrbital(
7546
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7546
7547
  `${c.entityName}Orbital`,
7547
7548
  buildEntity35(c),
7548
7549
  [buildTrait36(c)],
7549
7550
  [buildPage35(c)]
7550
- );
7551
+ ));
7551
7552
  }
7552
7553
  function resolve37(params) {
7553
7554
  const { entityName } = params;
@@ -7616,7 +7617,7 @@ function stdGameHudPage(params) {
7616
7617
  }
7617
7618
  function stdGameHud(params) {
7618
7619
  const c = resolve37(params);
7619
- return makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]);
7620
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]));
7620
7621
  }
7621
7622
  function resolve38(params) {
7622
7623
  const { entityName } = params;
@@ -7700,7 +7701,7 @@ function stdScoreBoardPage(params) {
7700
7701
  }
7701
7702
  function stdScoreBoard(params) {
7702
7703
  const c = resolve38(params);
7703
- return makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]);
7704
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]));
7704
7705
  }
7705
7706
  function resolve39(params) {
7706
7707
  const { entityName } = params;
@@ -7780,7 +7781,7 @@ function stdGameMenuPage(params) {
7780
7781
  }
7781
7782
  function stdGameMenu(params) {
7782
7783
  const c = resolve39(params);
7783
- return makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]);
7784
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]));
7784
7785
  }
7785
7786
  function resolve40(params) {
7786
7787
  const { entityName } = params;
@@ -7861,7 +7862,7 @@ function stdGameOverScreenPage(params) {
7861
7862
  }
7862
7863
  function stdGameOverScreen(params) {
7863
7864
  const c = resolve40(params);
7864
- return makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]);
7865
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]));
7865
7866
  }
7866
7867
  function resolve41(params) {
7867
7868
  const { entityName } = params;
@@ -7963,7 +7964,7 @@ function stdDialogueBoxPage(params) {
7963
7964
  }
7964
7965
  function stdDialogueBox(params) {
7965
7966
  const c = resolve41(params);
7966
- return makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]);
7967
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]));
7967
7968
  }
7968
7969
  function resolve42(params) {
7969
7970
  const { entityName } = params;
@@ -8049,7 +8050,7 @@ function stdInventoryPanelPage(params) {
8049
8050
  }
8050
8051
  function stdInventoryPanel(params) {
8051
8052
  const c = resolve42(params);
8052
- return makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]);
8053
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]));
8053
8054
  }
8054
8055
  function resolve43(params) {
8055
8056
  const { entityName } = params;
@@ -8132,7 +8133,7 @@ function stdCombatLogPage(params) {
8132
8133
  }
8133
8134
  function stdCombatLog(params) {
8134
8135
  const c = resolve43(params);
8135
- return makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]);
8136
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]));
8136
8137
  }
8137
8138
  function resolve44(params) {
8138
8139
  const { entityName } = params;
@@ -8246,7 +8247,7 @@ function stdSpritePage(params) {
8246
8247
  }
8247
8248
  function stdSprite(params) {
8248
8249
  const c = resolve44(params);
8249
- return makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]);
8250
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]));
8250
8251
  }
8251
8252
  function resolve45(params) {
8252
8253
  const { entityName } = params;
@@ -8376,7 +8377,7 @@ function stdGameAudioPage(params) {
8376
8377
  }
8377
8378
  function stdGameAudio(params) {
8378
8379
  const c = resolve45(params);
8379
- return makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]);
8380
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]));
8380
8381
  }
8381
8382
  function resolve46(params) {
8382
8383
  const { entityName } = params;
@@ -8491,7 +8492,7 @@ function stdIsometricCanvasPage(params) {
8491
8492
  }
8492
8493
  function stdIsometricCanvas(params) {
8493
8494
  const c = resolve46(params);
8494
- return makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]);
8495
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]));
8495
8496
  }
8496
8497
  function resolve47(params) {
8497
8498
  const { entityName } = params;
@@ -8597,7 +8598,7 @@ function stdPlatformerCanvasPage(params) {
8597
8598
  }
8598
8599
  function stdPlatformerCanvas(params) {
8599
8600
  const c = resolve47(params);
8600
- return makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]);
8601
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]));
8601
8602
  }
8602
8603
  function resolve48(params) {
8603
8604
  const { entityName } = params;
@@ -8677,7 +8678,7 @@ function stdSimulationCanvasPage(params) {
8677
8678
  }
8678
8679
  function stdSimulationCanvas(params) {
8679
8680
  const c = resolve48(params);
8680
- return makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]);
8681
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]));
8681
8682
  }
8682
8683
  function resolve49(params) {
8683
8684
  const { entityName } = params;
@@ -8772,7 +8773,7 @@ function stdGameCanvas2dPage(params) {
8772
8773
  }
8773
8774
  function stdGameCanvas2d(params) {
8774
8775
  const c = resolve49(params);
8775
- return makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]);
8776
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]));
8776
8777
  }
8777
8778
  function resolve50(params) {
8778
8779
  const { entityName } = params;
@@ -8875,7 +8876,7 @@ function stdGameCanvas3dPage(params) {
8875
8876
  }
8876
8877
  function stdGameCanvas3d(params) {
8877
8878
  const c = resolve50(params);
8878
- return makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]);
8879
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]));
8879
8880
  }
8880
8881
  function resolve51(params) {
8881
8882
  const { entityName } = params;
@@ -9060,7 +9061,8 @@ function stdList(params) {
9060
9061
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]],
9061
9062
  emitOnConfirm: DELETED
9062
9063
  }));
9063
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
9064
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9065
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
9064
9066
  const page = {
9065
9067
  name: c.pageName,
9066
9068
  path: c.pagePath,
@@ -9073,12 +9075,12 @@ function stdList(params) {
9073
9075
  { ref: deleteTrait.name }
9074
9076
  ]
9075
9077
  };
9076
- return {
9078
+ return makeSchema(`${entityName}Orbital`, {
9077
9079
  name: `${entityName}Orbital`,
9078
9080
  entity,
9079
9081
  traits: [browseTrait, createTrait, editTrait, viewTrait, deleteTrait],
9080
9082
  pages: [page]
9081
- };
9083
+ });
9082
9084
  }
9083
9085
  function resolve52(params) {
9084
9086
  const { entityName } = params;
@@ -9267,19 +9269,20 @@ function stdCart(params) {
9267
9269
  confirmEvent: "CONFIRM_REMOVE",
9268
9270
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]]
9269
9271
  }));
9270
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
9272
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9273
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
9271
9274
  const page = {
9272
9275
  name: c.pageName,
9273
9276
  path: c.pagePath,
9274
9277
  ...c.isInitial ? { isInitial: true } : {},
9275
9278
  traits: [{ ref: cartTrait.name }, { ref: addTrait.name }, { ref: removeTrait.name }]
9276
9279
  };
9277
- return {
9280
+ return makeSchema(`${entityName}Orbital`, {
9278
9281
  name: `${entityName}Orbital`,
9279
9282
  entity,
9280
9283
  traits: [cartTrait, addTrait, removeTrait],
9281
9284
  pages: [page]
9282
- };
9285
+ });
9283
9286
  }
9284
9287
  function resolve53(params) {
9285
9288
  const { entityName } = params;
@@ -9414,12 +9417,12 @@ function stdDetail(params) {
9414
9417
  ...c.isInitial ? { isInitial: true } : {},
9415
9418
  traits: [{ ref: browseTrait.name }, { ref: createTrait.name }, { ref: viewTrait.name }]
9416
9419
  };
9417
- return {
9420
+ return makeSchema(`${entityName}Orbital`, {
9418
9421
  name: `${entityName}Orbital`,
9419
9422
  entity,
9420
9423
  traits: [browseTrait, createTrait, viewTrait],
9421
9424
  pages: [page]
9422
- };
9425
+ });
9423
9426
  }
9424
9427
  function resolve54(params) {
9425
9428
  const { entityName } = params;
@@ -9572,7 +9575,8 @@ function stdInventory(params) {
9572
9575
  { id: "item-2", name: "Iron Sword", description: "A sturdy blade", status: "active", pendingId: "" },
9573
9576
  { id: "item-3", name: "Wooden Shield", description: "Basic protection", status: "active", pendingId: "" }
9574
9577
  ];
9575
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection, instances });
9578
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9579
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection, instances });
9576
9580
  const page = {
9577
9581
  name: c.pageName,
9578
9582
  path: c.pagePath,
@@ -9584,12 +9588,12 @@ function stdInventory(params) {
9584
9588
  { ref: dropTrait.name }
9585
9589
  ]
9586
9590
  };
9587
- return {
9591
+ return makeSchema(`${entityName}Orbital`, {
9588
9592
  name: `${entityName}Orbital`,
9589
9593
  entity,
9590
9594
  traits: [browseTrait, addTrait, useTrait, dropTrait],
9591
9595
  pages: [page]
9592
- };
9596
+ });
9593
9597
  }
9594
9598
  function resolve55(params) {
9595
9599
  const { entityName } = params;
@@ -9739,12 +9743,12 @@ function stdMessaging(params) {
9739
9743
  { ref: viewTrait.name }
9740
9744
  ]
9741
9745
  };
9742
- return {
9746
+ return makeSchema(`${entityName}Orbital`, {
9743
9747
  name: `${entityName}Orbital`,
9744
9748
  entity,
9745
9749
  traits: [browseTrait, composeTrait, viewTrait],
9746
9750
  pages: [page]
9747
- };
9751
+ });
9748
9752
  }
9749
9753
  function resolve56(params) {
9750
9754
  const { entityName } = params;
@@ -9868,7 +9872,8 @@ function stdGeospatial(params) {
9868
9872
  confirmEffects: [["fetch", entityName]],
9869
9873
  emitOnConfirm: "CONFIRMED"
9870
9874
  }));
9871
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
9875
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9876
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
9872
9877
  const page = {
9873
9878
  name: c.pageName,
9874
9879
  path: c.pagePath,
@@ -9879,12 +9884,12 @@ function stdGeospatial(params) {
9879
9884
  { ref: confirmTrait.name }
9880
9885
  ]
9881
9886
  };
9882
- return {
9887
+ return makeSchema(`${entityName}Orbital`, {
9883
9888
  name: `${entityName}Orbital`,
9884
9889
  entity,
9885
9890
  traits: [browseTrait, selectTrait, confirmTrait],
9886
9891
  pages: [page]
9887
- };
9892
+ });
9888
9893
  }
9889
9894
  function resolve57(params) {
9890
9895
  const { entityName } = params;
@@ -10101,7 +10106,7 @@ function stdQuizPage(params) {
10101
10106
  }
10102
10107
  function stdQuiz(params) {
10103
10108
  const c = resolve57(params);
10104
- return makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]);
10109
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]));
10105
10110
  }
10106
10111
  function resolve58(params) {
10107
10112
  const { entityName } = params;
@@ -10247,7 +10252,7 @@ function stdFormAdvancedPage(params) {
10247
10252
  }
10248
10253
  function stdFormAdvanced(params) {
10249
10254
  const c = resolve58(params);
10250
- return makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]);
10255
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]));
10251
10256
  }
10252
10257
  function resolve59(params) {
10253
10258
  const { entityName } = params;
@@ -10491,12 +10496,12 @@ function stdTurnBasedBattle(params) {
10491
10496
  const battleLogTrait = buildBattleLogTrait(c);
10492
10497
  const entity = buildEntity52(c);
10493
10498
  const page = buildPage52(c);
10494
- return {
10499
+ return makeSchema(`${c.entityName}Orbital`, {
10495
10500
  name: `${c.entityName}Orbital`,
10496
10501
  entity,
10497
10502
  traits: [battleFlowTrait, battleLogTrait],
10498
10503
  pages: [page]
10499
- };
10504
+ });
10500
10505
  }
10501
10506
  function resolve60(params) {
10502
10507
  const { entityName } = params;
@@ -10762,12 +10767,12 @@ function stdPlatformerGame(params) {
10762
10767
  const canvasTrait = buildPlatformerCanvasTrait(c);
10763
10768
  const entity = buildEntity53(c);
10764
10769
  const page = buildPage53(c);
10765
- return {
10770
+ return makeSchema(`${c.entityName}Orbital`, {
10766
10771
  name: `${c.entityName}Orbital`,
10767
10772
  entity,
10768
10773
  traits: [flowTrait, canvasTrait],
10769
10774
  pages: [page]
10770
- };
10775
+ });
10771
10776
  }
10772
10777
  function resolve61(params) {
10773
10778
  const { entityName } = params;
@@ -11014,12 +11019,12 @@ function stdPuzzleGame(params) {
11014
11019
  const scoreTrait = buildPuzzleScoreTrait(c);
11015
11020
  const entity = buildEntity54(c);
11016
11021
  const page = buildPage54(c);
11017
- return {
11022
+ return makeSchema(`${c.entityName}Orbital`, {
11018
11023
  name: `${c.entityName}Orbital`,
11019
11024
  entity,
11020
11025
  traits: [flowTrait, scoreTrait],
11021
11026
  pages: [page]
11022
- };
11027
+ });
11023
11028
  }
11024
11029
  function resolve62(params) {
11025
11030
  const { entityName } = params;
@@ -11153,12 +11158,12 @@ function stdBuilderGamePage(params) {
11153
11158
  }
11154
11159
  function stdBuilderGame(params) {
11155
11160
  const c = resolve62(params);
11156
- return makeOrbital(
11161
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11157
11162
  `${c.entityName}Orbital`,
11158
11163
  buildEntity55(c),
11159
11164
  [buildTrait53(c)],
11160
11165
  [buildPage55(c)]
11161
- );
11166
+ ));
11162
11167
  }
11163
11168
  function resolve63(params) {
11164
11169
  const { entityName } = params;
@@ -11292,12 +11297,12 @@ function stdClassifierGamePage(params) {
11292
11297
  }
11293
11298
  function stdClassifierGame(params) {
11294
11299
  const c = resolve63(params);
11295
- return makeOrbital(
11300
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11296
11301
  `${c.entityName}Orbital`,
11297
11302
  buildEntity56(c),
11298
11303
  [buildTrait54(c)],
11299
11304
  [buildPage56(c)]
11300
- );
11305
+ ));
11301
11306
  }
11302
11307
  function resolve64(params) {
11303
11308
  const { entityName } = params;
@@ -11431,12 +11436,12 @@ function stdSequencerGamePage(params) {
11431
11436
  }
11432
11437
  function stdSequencerGame(params) {
11433
11438
  const c = resolve64(params);
11434
- return makeOrbital(
11439
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11435
11440
  `${c.entityName}Orbital`,
11436
11441
  buildEntity57(c),
11437
11442
  [buildTrait55(c)],
11438
11443
  [buildPage57(c)]
11439
- );
11444
+ ));
11440
11445
  }
11441
11446
  function resolve65(params) {
11442
11447
  const { entityName } = params;
@@ -11570,12 +11575,12 @@ function stdDebuggerGamePage(params) {
11570
11575
  }
11571
11576
  function stdDebuggerGame(params) {
11572
11577
  const c = resolve65(params);
11573
- return makeOrbital(
11578
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11574
11579
  `${c.entityName}Orbital`,
11575
11580
  buildEntity58(c),
11576
11581
  [buildTrait56(c)],
11577
11582
  [buildPage58(c)]
11578
- );
11583
+ ));
11579
11584
  }
11580
11585
  function resolve66(params) {
11581
11586
  const { entityName } = params;
@@ -11709,12 +11714,12 @@ function stdNegotiatorGamePage(params) {
11709
11714
  }
11710
11715
  function stdNegotiatorGame(params) {
11711
11716
  const c = resolve66(params);
11712
- return makeOrbital(
11717
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11713
11718
  `${c.entityName}Orbital`,
11714
11719
  buildEntity59(c),
11715
11720
  [buildTrait57(c)],
11716
11721
  [buildPage59(c)]
11717
- );
11722
+ ));
11718
11723
  }
11719
11724
  function resolve67(params) {
11720
11725
  const { entityName } = params;
@@ -11848,12 +11853,12 @@ function stdSimulatorGamePage(params) {
11848
11853
  }
11849
11854
  function stdSimulatorGame(params) {
11850
11855
  const c = resolve67(params);
11851
- return makeOrbital(
11856
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11852
11857
  `${c.entityName}Orbital`,
11853
11858
  buildEntity60(c),
11854
11859
  [buildTrait58(c)],
11855
11860
  [buildPage60(c)]
11856
- );
11861
+ ));
11857
11862
  }
11858
11863
  function resolve68(params) {
11859
11864
  const { entityName } = params;
@@ -11987,12 +11992,12 @@ function stdEventHandlerGamePage(params) {
11987
11992
  }
11988
11993
  function stdEventHandlerGame(params) {
11989
11994
  const c = resolve68(params);
11990
- return makeOrbital(
11995
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11991
11996
  `${c.entityName}Orbital`,
11992
11997
  buildEntity61(c),
11993
11998
  [buildTrait59(c)],
11994
11999
  [buildPage61(c)]
11995
- );
12000
+ ));
11996
12001
  }
11997
12002
  function resolve69(params) {
11998
12003
  const { entityName } = params;
@@ -12180,12 +12185,12 @@ function stdClassifier(params) {
12180
12185
  ...c.isInitial ? { isInitial: true } : {},
12181
12186
  traits: [{ ref: trait.name }]
12182
12187
  };
12183
- return {
12188
+ return makeSchema(`${c.entityName}Orbital`, {
12184
12189
  name: `${c.entityName}Orbital`,
12185
12190
  entity,
12186
12191
  traits: [trait],
12187
12192
  pages: [page]
12188
- };
12193
+ });
12189
12194
  }
12190
12195
  function resolve70(params) {
12191
12196
  const { entityName } = params;
@@ -12538,12 +12543,12 @@ function stdTrainer(params) {
12538
12543
  ...c.isInitial ? { isInitial: true } : {},
12539
12544
  traits: traits.map((t) => ({ ref: t.name }))
12540
12545
  };
12541
- return {
12546
+ return makeSchema(`${c.entityName}Orbital`, {
12542
12547
  name: `${c.entityName}Orbital`,
12543
12548
  entity,
12544
12549
  traits,
12545
12550
  pages: [page]
12546
- };
12551
+ });
12547
12552
  }
12548
12553
  function resolve71(params) {
12549
12554
  const { entityName } = params;
@@ -12860,12 +12865,12 @@ function stdRlAgent(params) {
12860
12865
  { ref: trainTrait.name }
12861
12866
  ]
12862
12867
  };
12863
- return {
12868
+ return makeSchema(`${c.entityName}Orbital`, {
12864
12869
  name: `${c.entityName}Orbital`,
12865
12870
  entity,
12866
12871
  traits: [policyTrait, collectorTrait, trainTrait],
12867
12872
  pages: [page]
12868
- };
12873
+ });
12869
12874
  }
12870
12875
  function resolve72(params) {
12871
12876
  const { entityName } = params;
@@ -13114,12 +13119,12 @@ function stdGraphClassifier(params) {
13114
13119
  { ref: classifyTrait.name }
13115
13120
  ]
13116
13121
  };
13117
- return {
13122
+ return makeSchema(`${c.entityName}Orbital`, {
13118
13123
  name: `${c.entityName}Orbital`,
13119
13124
  entity,
13120
13125
  traits: [graphTrait, classifyTrait],
13121
13126
  pages: [page]
13122
- };
13127
+ });
13123
13128
  }
13124
13129
  function resolve73(params) {
13125
13130
  const { entityName } = params;
@@ -13370,12 +13375,12 @@ function stdTextClassifier(params) {
13370
13375
  { ref: classifyTrait.name }
13371
13376
  ]
13372
13377
  };
13373
- return {
13378
+ return makeSchema(`${c.entityName}Orbital`, {
13374
13379
  name: `${c.entityName}Orbital`,
13375
13380
  entity,
13376
13381
  traits: [tokenizerTrait, classifyTrait],
13377
13382
  pages: [page]
13378
- };
13383
+ });
13379
13384
  }
13380
13385
  function resolve74(params) {
13381
13386
  const { entityName } = params;
@@ -13566,12 +13571,12 @@ function stdAutoregressive(params) {
13566
13571
  ...c.isInitial ? { isInitial: true } : {},
13567
13572
  traits: [{ ref: trait.name }]
13568
13573
  };
13569
- return {
13574
+ return makeSchema(`${c.entityName}Orbital`, {
13570
13575
  name: `${c.entityName}Orbital`,
13571
13576
  entity,
13572
13577
  traits: [trait],
13573
13578
  pages: [page]
13574
- };
13579
+ });
13575
13580
  }
13576
13581
  function resolve75(params) {
13577
13582
  const entityName = params.entityName ?? "OrderPayment";
@@ -13919,12 +13924,12 @@ function stdServicePaymentFlowPage(params = {}) {
13919
13924
  }
13920
13925
  function stdServicePaymentFlow(params = {}) {
13921
13926
  const c = resolve75(params);
13922
- return makeOrbital(
13927
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
13923
13928
  `${c.entityName}Orbital`,
13924
13929
  buildEntity62(c),
13925
13930
  [buildPaymentTrait(c), buildReceiptTrait(c)],
13926
13931
  [buildPage62(c)]
13927
- );
13932
+ ));
13928
13933
  }
13929
13934
  function resolve76(params) {
13930
13935
  const entityName = params.entityName ?? "Notification";
@@ -14171,12 +14176,12 @@ function stdServiceNotificationHubPage(params = {}) {
14171
14176
  }
14172
14177
  function stdServiceNotificationHub(params = {}) {
14173
14178
  const c = resolve76(params);
14174
- return makeOrbital(
14179
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
14175
14180
  `${c.entityName}Orbital`,
14176
14181
  buildEntity63(c),
14177
14182
  [buildTrait62(c)],
14178
14183
  [buildPage63(c)]
14179
- );
14184
+ ));
14180
14185
  }
14181
14186
  function resolve77(params) {
14182
14187
  const entityName = params.entityName ?? "Research";
@@ -14565,7 +14570,7 @@ function stdServiceContentPipelinePage(params) {
14565
14570
  }
14566
14571
  function stdServiceContentPipeline(params) {
14567
14572
  const c = resolve77(params);
14568
- return makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]);
14573
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]));
14569
14574
  }
14570
14575
  function resolve78(params) {
14571
14576
  const entityName = params.entityName ?? "DevopsTool";
@@ -15120,12 +15125,12 @@ function stdServiceDevopsToolkit(params = {}) {
15120
15125
  { ref: storageTrait.name }
15121
15126
  ]
15122
15127
  };
15123
- return {
15128
+ return makeSchema(`${c.entityName}Orbital`, {
15124
15129
  name: `${c.entityName}Orbital`,
15125
15130
  entity,
15126
15131
  traits: [githubTrait, redisTrait, storageTrait],
15127
15132
  pages: [page]
15128
- };
15133
+ });
15129
15134
  }
15130
15135
  function resolve79(params) {
15131
15136
  const entityName = params.entityName ?? "ApiTest";
@@ -15401,7 +15406,7 @@ function stdServiceCustomApiTester(params) {
15401
15406
  [buildTrait64(c)],
15402
15407
  [buildPage65(c)]
15403
15408
  );
15404
- return {
15409
+ return makeSchema(`custom-header-api`, {
15405
15410
  ...orbital,
15406
15411
  services: [
15407
15412
  {
@@ -15441,7 +15446,7 @@ function stdServiceCustomApiTester(params) {
15441
15446
  baseUrl: c.noauthBaseUrl
15442
15447
  }
15443
15448
  ]
15444
- };
15449
+ });
15445
15450
  }
15446
15451
 
15447
15452
  // behaviors/functions/views/domain-views.ts
@@ -17779,12 +17784,12 @@ function stdServiceOauth(params = {}) {
17779
17784
  const pages = [];
17780
17785
  const page = buildPage66(c);
17781
17786
  if (page) pages.push(page);
17782
- return makeOrbital(
17787
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
17783
17788
  `${c.entityName}Orbital`,
17784
17789
  buildEntity66(c),
17785
17790
  [buildTrait65(c)],
17786
17791
  pages
17787
- );
17792
+ ));
17788
17793
  }
17789
17794
 
17790
17795
  // behaviors/functions/organisms/std-service-marketplace.ts
@@ -18081,12 +18086,12 @@ function stdServiceRedisPage(params = {}) {
18081
18086
  }
18082
18087
  function stdServiceRedis(params = {}) {
18083
18088
  const c = resolve81(params);
18084
- return makeOrbital(
18089
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
18085
18090
  `${c.entityName}Orbital`,
18086
18091
  buildEntity67(c),
18087
18092
  [buildTrait66(c)],
18088
18093
  [buildPage67(c)]
18089
- );
18094
+ ));
18090
18095
  }
18091
18096
  function resolve82(params) {
18092
18097
  const entityName = params.entityName ?? "StorageFile";
@@ -18344,12 +18349,12 @@ function stdServiceStoragePage(params = {}) {
18344
18349
  }
18345
18350
  function stdServiceStorage(params = {}) {
18346
18351
  const c = resolve82(params);
18347
- return makeOrbital(
18352
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
18348
18353
  `${c.entityName}Orbital`,
18349
18354
  buildEntity68(c),
18350
18355
  [buildTrait67(c)],
18351
18356
  [buildPage68(c)]
18352
- );
18357
+ ));
18353
18358
  }
18354
18359
  function resolve83(params) {
18355
18360
  const entityName = params.entityName ?? "ApiCall";
@@ -18564,7 +18569,7 @@ function stdServiceCustomBearer(params) {
18564
18569
  [buildTrait68(c)],
18565
18570
  [buildPage69(c)]
18566
18571
  );
18567
- return {
18572
+ return makeSchema(`${c.entityName}Orbital`, {
18568
18573
  ...orbital,
18569
18574
  services: [{
18570
18575
  name: "custom-bearer-api",
@@ -18575,7 +18580,7 @@ function stdServiceCustomBearer(params) {
18575
18580
  secretEnv: c.secretEnvVar
18576
18581
  }
18577
18582
  }]
18578
- };
18583
+ });
18579
18584
  }
18580
18585
 
18581
18586
  // behaviors/functions/organisms/std-service-research-assistant.ts
@@ -19085,7 +19090,7 @@ function stdAgentChatThreadPage(params = {}) {
19085
19090
  }
19086
19091
  function stdAgentChatThread(params = {}) {
19087
19092
  const c = resolve84(params);
19088
- return makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]);
19093
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]));
19089
19094
  }
19090
19095
 
19091
19096
  // behaviors/functions/atoms/std-agent-conversation.ts
@@ -19257,7 +19262,7 @@ function stdAgentConversation(params = {}) {
19257
19262
  { ref: agentTrait.name }
19258
19263
  ]
19259
19264
  };
19260
- return makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]);
19265
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]));
19261
19266
  }
19262
19267
  function resolve86(params) {
19263
19268
  const entityName = params.entityName ?? "Memory";
@@ -19499,7 +19504,7 @@ function stdAgentMemory(params = {}) {
19499
19504
  { ref: agentTrait.name }
19500
19505
  ]
19501
19506
  };
19502
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]);
19507
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]));
19503
19508
  }
19504
19509
  function resolve87(params) {
19505
19510
  const entityName = params.entityName ?? "TokenUsage";
@@ -19865,7 +19870,7 @@ function stdAgentTokenGaugePage(params = {}) {
19865
19870
  }
19866
19871
  function stdAgentTokenGauge(params = {}) {
19867
19872
  const c = resolve87(params);
19868
- return makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]);
19873
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]));
19869
19874
  }
19870
19875
 
19871
19876
  // behaviors/functions/atoms/std-agent-context-window.ts
@@ -20085,7 +20090,7 @@ function stdAgentContextWindow(params = {}) {
20085
20090
  { ref: agentTrait.name }
20086
20091
  ]
20087
20092
  };
20088
- return makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]);
20093
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]));
20089
20094
  }
20090
20095
  function resolve89(params) {
20091
20096
  const entityName = params.entityName ?? "ProviderState";
@@ -20291,7 +20296,7 @@ function stdAgentProvider(params = {}) {
20291
20296
  { ref: agentTrait.name }
20292
20297
  ]
20293
20298
  };
20294
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20299
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20295
20300
  }
20296
20301
 
20297
20302
  // behaviors/functions/organisms/std-agent-assistant.ts
@@ -20316,7 +20321,8 @@ function stdAgentAssistant(params = {}) {
20316
20321
  pagePath: "/chat",
20317
20322
  isInitial: true
20318
20323
  });
20319
- const convTrait = conversationOrbital.traits[0];
20324
+ const convDef = conversationOrbital.orbitals[0];
20325
+ const convTrait = convDef.traits[0];
20320
20326
  convTrait.name = "AssistantConversation";
20321
20327
  convTrait.emits = [
20322
20328
  ...convTrait.emits ?? [],
@@ -20337,7 +20343,8 @@ function stdAgentAssistant(params = {}) {
20337
20343
  pageName: "ContextPage",
20338
20344
  pagePath: "/context"
20339
20345
  });
20340
- const ctxTrait = contextOrbital.traits[0];
20346
+ const ctxDef = contextOrbital.orbitals[0];
20347
+ const ctxTrait = ctxDef.traits[0];
20341
20348
  ctxTrait.name = "AssistantContextMonitor";
20342
20349
  const providerOrbital = stdAgentProvider({
20343
20350
  entityName: "ProviderConfig",
@@ -20346,7 +20353,8 @@ function stdAgentAssistant(params = {}) {
20346
20353
  pageName: "SettingsPage",
20347
20354
  pagePath: "/settings"
20348
20355
  });
20349
- const provTrait = providerOrbital.traits[0];
20356
+ const provDef = providerOrbital.orbitals[0];
20357
+ const provTrait = provDef.traits[0];
20350
20358
  provTrait.name = "ProviderManager";
20351
20359
  provTrait.emits = [
20352
20360
  ...provTrait.emits ?? [],
@@ -20636,7 +20644,7 @@ function stdAgentClassifier(params = {}) {
20636
20644
  { ref: agentTrait.name }
20637
20645
  ]
20638
20646
  };
20639
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20647
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20640
20648
  }
20641
20649
  function resolve91(params) {
20642
20650
  const entityName = params.entityName ?? "Completion";
@@ -20862,7 +20870,7 @@ function stdAgentCompletion(params = {}) {
20862
20870
  { ref: agentTrait.name }
20863
20871
  ]
20864
20872
  };
20865
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20873
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20866
20874
  }
20867
20875
 
20868
20876
  // behaviors/functions/molecules/std-agent-planner.ts
@@ -20990,7 +20998,7 @@ function planningView() {
20990
20998
  justify: "center",
20991
20999
  children: [
20992
21000
  { type: "badge", label: ["str/concat", "Category: ", "@entity.category"] },
20993
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryCount"], " memories loaded"] }
21001
+ { type: "badge", label: ["str/concat", "@entity.memoryCount", " memories loaded"] }
20994
21002
  ]
20995
21003
  }
20996
21004
  ]
@@ -21028,7 +21036,7 @@ function readyView(entityName) {
21028
21036
  columns: 3,
21029
21037
  children: [
21030
21038
  { type: "stat-display", label: "Category", value: `@entity.category`, icon: "tag" },
21031
- { type: "stat-display", label: "Confidence", value: ["str/concat", ["str/concat", "@entity.confidence"], "%"], icon: "target" },
21039
+ { type: "stat-display", label: "Confidence", value: ["str/concat", "@entity.confidence", "%"], icon: "target" },
21032
21040
  { type: "stat-display", label: "Memories Used", value: `@entity.memoryCount`, icon: "brain" }
21033
21041
  ]
21034
21042
  },
@@ -21361,12 +21369,12 @@ function stdAgentPlanner(params) {
21361
21369
  { ref: memoryTrait.name }
21362
21370
  ]
21363
21371
  };
21364
- return makeOrbital(
21372
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
21365
21373
  `${entityName}Orbital`,
21366
21374
  entity,
21367
21375
  [plannerTrait, modalTrait, classifierTrait, completionTrait, memoryTrait],
21368
21376
  [page]
21369
- );
21377
+ ));
21370
21378
  }
21371
21379
  function resolve93(params) {
21372
21380
  const entityName = params.entityName ?? "ToolCall";
@@ -21597,7 +21605,7 @@ function stdAgentToolCall(params = {}) {
21597
21605
  { ref: agentTrait.name }
21598
21606
  ]
21599
21607
  };
21600
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]);
21608
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]));
21601
21609
  }
21602
21610
  function resolve94(params) {
21603
21611
  const entityName = params.entityName ?? "StepTracker";
@@ -21881,7 +21889,7 @@ function stdAgentStepProgressPage(params = {}) {
21881
21889
  }
21882
21890
  function stdAgentStepProgress(params = {}) {
21883
21891
  const c = resolve94(params);
21884
- return makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]);
21892
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]));
21885
21893
  }
21886
21894
 
21887
21895
  // behaviors/functions/molecules/std-agent-tool-loop.ts
@@ -22008,7 +22016,7 @@ function executingView() {
22008
22016
  { type: "typography", content: "Executing Tool", variant: "h2" }
22009
22017
  ]
22010
22018
  },
22011
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"], "/", ["str/concat", "@entity.maxIterations"]] }
22019
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations", "/", "@entity.maxIterations"] }
22012
22020
  ]
22013
22021
  },
22014
22022
  { type: "divider" },
@@ -22050,7 +22058,7 @@ function checkingView() {
22050
22058
  { type: "icon", name: "eye", size: "lg" },
22051
22059
  { type: "typography", content: "Checking result...", variant: "h3" },
22052
22060
  { type: "spinner", size: "lg" },
22053
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"]] }
22061
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations"] }
22054
22062
  ]
22055
22063
  };
22056
22064
  }
@@ -22431,12 +22439,12 @@ function stdAgentToolLoop(params) {
22431
22439
  { ref: contextTrait.name }
22432
22440
  ]
22433
22441
  };
22434
- return makeOrbital(
22442
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
22435
22443
  `${entityName}Orbital`,
22436
22444
  entity,
22437
22445
  [loopTrait, stepProgressTrait, completionTrait, toolCallTrait, contextTrait],
22438
22446
  [page]
22439
- );
22447
+ ));
22440
22448
  }
22441
22449
  function resolve96(params) {
22442
22450
  const entityName = params.entityName ?? "FixLoop";
@@ -22531,7 +22539,7 @@ function validatingView() {
22531
22539
  justify: "center",
22532
22540
  children: [
22533
22541
  { type: "badge", label: `@entity.target` },
22534
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"], "/", ["str/concat", "@entity.maxAttempts"]] }
22542
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts", "/", "@entity.maxAttempts"] }
22535
22543
  ]
22536
22544
  }
22537
22545
  ]
@@ -22560,7 +22568,7 @@ function fixingView() {
22560
22568
  { type: "typography", content: "Generating fix...", variant: "h2" }
22561
22569
  ]
22562
22570
  },
22563
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"]] }
22571
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts"] }
22564
22572
  ]
22565
22573
  },
22566
22574
  { type: "divider" },
@@ -22987,12 +22995,12 @@ function stdAgentFixLoop(params) {
22987
22995
  { ref: completionTrait.name }
22988
22996
  ]
22989
22997
  };
22990
- return makeOrbital(
22998
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
22991
22999
  `${entityName}Orbital`,
22992
23000
  entity,
22993
23001
  [fixTrait, stepProgressTrait, errorsBrowseTrait, validateCallTrait, fixCallTrait, completionTrait],
22994
23002
  [page]
22995
- );
23003
+ ));
22996
23004
  }
22997
23005
  function resolve97(params) {
22998
23006
  const entityName = params.entityName ?? "Session";
@@ -23263,7 +23271,7 @@ function stdAgentSession(params = {}) {
23263
23271
  { ref: agentTrait.name }
23264
23272
  ]
23265
23273
  };
23266
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]);
23274
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]));
23267
23275
  }
23268
23276
 
23269
23277
  // behaviors/functions/organisms/std-agent-builder.ts
@@ -23287,7 +23295,8 @@ function stdAgentBuilder(params = {}) {
23287
23295
  isInitial: true,
23288
23296
  categories: ["schema", "component", "trait", "page", "behavior"]
23289
23297
  });
23290
- const plannerTrait = plannerOrbital.traits[0];
23298
+ const plannerDef = plannerOrbital.orbitals[0];
23299
+ const plannerTrait = plannerDef.traits[0];
23291
23300
  plannerTrait.name = "BuildPlanner";
23292
23301
  const toolLoopOrbital = stdAgentToolLoop({
23293
23302
  entityName: "BuildLoop",
@@ -23297,7 +23306,8 @@ function stdAgentBuilder(params = {}) {
23297
23306
  maxIterations: 10,
23298
23307
  compactThreshold: 0.8
23299
23308
  });
23300
- const toolLoopTrait = toolLoopOrbital.traits[0];
23309
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
23310
+ const toolLoopTrait = toolLoopDef.traits[0];
23301
23311
  toolLoopTrait.name = "SchemaBuilder";
23302
23312
  const fixLoopOrbital = stdAgentFixLoop({
23303
23313
  entityName: "BuildFix",
@@ -23309,7 +23319,8 @@ function stdAgentBuilder(params = {}) {
23309
23319
  validateTool: "validate-schema",
23310
23320
  fixTool: "apply-fix"
23311
23321
  });
23312
- const fixLoopTrait = fixLoopOrbital.traits[0];
23322
+ const fixLoopDef = fixLoopOrbital.orbitals[0];
23323
+ const fixLoopTrait = fixLoopDef.traits[0];
23313
23324
  fixLoopTrait.name = "FixLoop";
23314
23325
  const sessionOrbital = stdAgentSession({
23315
23326
  entityName: "BuildSession",
@@ -23317,7 +23328,8 @@ function stdAgentBuilder(params = {}) {
23317
23328
  pageName: "SessionPage",
23318
23329
  pagePath: "/session"
23319
23330
  });
23320
- const sessionTrait = sessionOrbital.traits[0];
23331
+ const sessionDef = sessionOrbital.orbitals[0];
23332
+ const sessionTrait = sessionDef.traits[0];
23321
23333
  sessionTrait.name = "BuildSessionManager";
23322
23334
  const taskFields = ensureIdField(params.taskFields ?? DEFAULT_TASK_FIELDS2);
23323
23335
  const tabsTrait = extractTrait(stdTabs({
@@ -23554,7 +23566,7 @@ function stdAgentSearch(params = {}) {
23554
23566
  { ref: agentTrait.name }
23555
23567
  ]
23556
23568
  };
23557
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]);
23569
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]));
23558
23570
  }
23559
23571
 
23560
23572
  // behaviors/functions/molecules/std-agent-rag.ts
@@ -23672,8 +23684,8 @@ function generatingView() {
23672
23684
  gap: "md",
23673
23685
  justify: "center",
23674
23686
  children: [
23675
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryHits"], " memories"] },
23676
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.searchHits"], " code hits"] }
23687
+ { type: "badge", label: ["str/concat", "@entity.memoryHits", " memories"] },
23688
+ { type: "badge", label: ["str/concat", "@entity.searchHits", " code hits"] }
23677
23689
  ]
23678
23690
  }
23679
23691
  ]
@@ -23974,12 +23986,12 @@ function stdAgentRag(params) {
23974
23986
  { ref: completionTrait.name }
23975
23987
  ]
23976
23988
  };
23977
- return makeOrbital(
23989
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
23978
23990
  `${entityName}Orbital`,
23979
23991
  entity,
23980
23992
  [ragTrait, tabsTrait, memoryTrait, searchTrait, completionTrait],
23981
23993
  [page]
23982
- );
23994
+ ));
23983
23995
  }
23984
23996
 
23985
23997
  // behaviors/functions/organisms/std-agent-reviewer.ts
@@ -24214,7 +24226,8 @@ function stdAgentReviewer(params = {}) {
24214
24226
  pageName: "AnalysisPage",
24215
24227
  pagePath: "/analysis"
24216
24228
  });
24217
- const classifierTrait = classifierOrbital.traits[0];
24229
+ const classifierDef = classifierOrbital.orbitals[0];
24230
+ const classifierTrait = classifierDef.traits[0];
24218
24231
  classifierTrait.name = "InputClassifier";
24219
24232
  classifierTrait.emits = [
24220
24233
  { event: "CLASSIFIED", description: "Input has been classified", scope: "internal", payload: [{ name: "category", type: "string" }] }
@@ -24225,7 +24238,8 @@ function stdAgentReviewer(params = {}) {
24225
24238
  pageName: "CompletionPage",
24226
24239
  pagePath: "/completion"
24227
24240
  });
24228
- const completionTrait = completionOrbital.traits[0];
24241
+ const completionDef = completionOrbital.orbitals[0];
24242
+ const completionTrait = completionDef.traits[0];
24229
24243
  completionTrait.name = "ReviewCompletionFlow";
24230
24244
  const tabsTrait = extractTrait(stdTabs({
24231
24245
  entityName: "Review",
@@ -24318,7 +24332,8 @@ function stdAgentPipeline(params = {}) {
24318
24332
  isInitial: true,
24319
24333
  categories: ["data", "transform", "validate", "deploy", "test"]
24320
24334
  });
24321
- const plannerTrait = plannerOrbital.traits[0];
24335
+ const plannerDef = plannerOrbital.orbitals[0];
24336
+ const plannerTrait = plannerDef.traits[0];
24322
24337
  plannerTrait.name = "PipelinePlanner";
24323
24338
  plannerTrait.emits = [
24324
24339
  ...plannerTrait.emits ?? [],
@@ -24333,7 +24348,8 @@ function stdAgentPipeline(params = {}) {
24333
24348
  maxIterations: 20,
24334
24349
  compactThreshold: 0.8
24335
24350
  });
24336
- const toolLoopTrait = toolLoopOrbital.traits[0];
24351
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
24352
+ const toolLoopTrait = toolLoopDef.traits[0];
24337
24353
  toolLoopTrait.name = "PipelineExecutor";
24338
24354
  toolLoopTrait.emits = [
24339
24355
  ...toolLoopTrait.emits ?? [],
@@ -24348,7 +24364,8 @@ function stdAgentPipeline(params = {}) {
24348
24364
  pageName: "SessionPage",
24349
24365
  pagePath: "/session"
24350
24366
  });
24351
- const sessionTrait = sessionOrbital.traits[0];
24367
+ const sessionDef = sessionOrbital.orbitals[0];
24368
+ const sessionTrait = sessionDef.traits[0];
24352
24369
  sessionTrait.name = "PipelineSessionManager";
24353
24370
  const memoryOrbital = stdAgentMemory({
24354
24371
  entityName: "ExecutionLog",
@@ -24875,7 +24892,8 @@ function stdAgentTutor(params = {}) {
24875
24892
  pagePath: "/teach",
24876
24893
  isInitial: true
24877
24894
  });
24878
- const convTrait = conversationOrbital.traits[0];
24895
+ const convDef = conversationOrbital.orbitals[0];
24896
+ const convTrait = convDef.traits[0];
24879
24897
  convTrait.name = "TutorConversation";
24880
24898
  const memoryOrbital = stdAgentMemory({
24881
24899
  entityName: "Concept",
@@ -24891,7 +24909,8 @@ function stdAgentTutor(params = {}) {
24891
24909
  pageName: "AssessmentPage",
24892
24910
  pagePath: "/assessment"
24893
24911
  });
24894
- const clsTrait = classifierOrbital.traits[0];
24912
+ const clsDef = classifierOrbital.orbitals[0];
24913
+ const clsTrait = clsDef.traits[0];
24895
24914
  clsTrait.name = "LevelClassifier";
24896
24915
  const tabsTrait = extractTrait(stdTabs({
24897
24916
  entityName: "TutorSession",
@@ -25143,7 +25162,7 @@ function stdAgentActivityLogPage(params = {}) {
25143
25162
  }
25144
25163
  function stdAgentActivityLog(params = {}) {
25145
25164
  const c = resolve100(params);
25146
- return makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]);
25165
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]));
25147
25166
  }
25148
25167
  function resolve101(params) {
25149
25168
  const entityName = params.entityName ?? "LearningRecord";
@@ -25422,7 +25441,7 @@ function buildTrait76(c) {
25422
25441
  ["if", "@entity.isSuccess", "success", "failure"],
25423
25442
  "\n",
25424
25443
  "Consecutive failures: ",
25425
- ["str/concat", "@entity.consecutiveFailures"],
25444
+ "@entity.consecutiveFailures",
25426
25445
  "\n\n",
25427
25446
  "Analyze the impact of this outcome. What should be learned? Keep it to 1-2 sentences."
25428
25447
  ]],
@@ -25562,12 +25581,12 @@ function stdAgentLearner(params) {
25562
25581
  { ref: providerTrait.name }
25563
25582
  ]
25564
25583
  };
25565
- return makeOrbital(
25584
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
25566
25585
  `${entityName}Orbital`,
25567
25586
  entity,
25568
25587
  [learnerTrait, recordsBrowseTrait, memoryTrait, completionTrait, providerTrait],
25569
25588
  [page]
25570
- );
25589
+ ));
25571
25590
  }
25572
25591
  function stdValidateOnSave(params = {}) {
25573
25592
  const {
@@ -25844,7 +25863,7 @@ function stdValidateOnSave(params = {}) {
25844
25863
  traitName: "OrbFileWatcher"
25845
25864
  })
25846
25865
  ];
25847
- return makeOrbital("ValidateOnSave", entity, [trait], pages);
25866
+ return makeSchema("ValidateOnSave", makeOrbital("ValidateOnSave", entity, [trait], pages));
25848
25867
  }
25849
25868
  function resolve102(params) {
25850
25869
  const { entityName } = params;
@@ -26076,12 +26095,12 @@ function stdServiceEmail(params) {
26076
26095
  const pages = [];
26077
26096
  const page = buildPage74(c);
26078
26097
  if (page) pages.push(page);
26079
- return makeOrbital(
26098
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26080
26099
  `${c.entityName}Orbital`,
26081
26100
  buildEntity88(c),
26082
26101
  [buildTrait77(c)],
26083
26102
  pages
26084
- );
26103
+ ));
26085
26104
  }
26086
26105
  function resolve103(params) {
26087
26106
  const entityName = params.entityName ?? "Payment";
@@ -26324,12 +26343,12 @@ function stdServiceStripePage(params = {}) {
26324
26343
  }
26325
26344
  function stdServiceStripe(params = {}) {
26326
26345
  const c = resolve103(params);
26327
- return makeOrbital(
26346
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26328
26347
  `${c.entityName}Orbital`,
26329
26348
  buildEntity89(c),
26330
26349
  [buildTrait78(c)],
26331
26350
  [buildPage75(c)]
26332
- );
26351
+ ));
26333
26352
  }
26334
26353
  function resolve104(params) {
26335
26354
  const entityName = params.entityName ?? "Message";
@@ -26575,12 +26594,12 @@ function stdServiceTwilio(params = {}) {
26575
26594
  const pages = [];
26576
26595
  const page = buildPage76(c);
26577
26596
  if (page) pages.push(page);
26578
- return makeOrbital(
26597
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26579
26598
  `${c.entityName}Orbital`,
26580
26599
  buildEntity90(c),
26581
26600
  [buildTrait79(c)],
26582
26601
  pages
26583
- );
26602
+ ));
26584
26603
  }
26585
26604
  function resolve105(params) {
26586
26605
  const entityName = params.entityName ?? "PullRequest";
@@ -26796,12 +26815,12 @@ function stdServiceGithubPage(params = {}) {
26796
26815
  }
26797
26816
  function stdServiceGithub(params = {}) {
26798
26817
  const c = resolve105(params);
26799
- return makeOrbital(
26818
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26800
26819
  `${c.entityName}Orbital`,
26801
26820
  buildEntity91(c),
26802
26821
  [buildTrait80(c)],
26803
26822
  [buildPage77(c)]
26804
- );
26823
+ ));
26805
26824
  }
26806
26825
  function resolve106(params) {
26807
26826
  const entityName = params.entityName ?? "VideoSearch";
@@ -27110,12 +27129,12 @@ function stdServiceYoutube(params = {}) {
27110
27129
  const pages = [];
27111
27130
  const page = buildPage78(c);
27112
27131
  if (page) pages.push(page);
27113
- return makeOrbital(
27132
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
27114
27133
  `${c.entityName}Orbital`,
27115
27134
  buildEntity92(c),
27116
27135
  [buildTrait81(c)],
27117
27136
  pages
27118
- );
27137
+ ));
27119
27138
  }
27120
27139
  function resolve107(params) {
27121
27140
  const entityName = params.entityName ?? "LlmTask";
@@ -27377,12 +27396,12 @@ function stdServiceLlm(params = {}) {
27377
27396
  const pages = [];
27378
27397
  const page = buildPage79(c);
27379
27398
  if (page) pages.push(page);
27380
- return makeOrbital(
27399
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
27381
27400
  `${c.entityName}Orbital`,
27382
27401
  buildEntity93(c),
27383
27402
  [buildTrait82(c)],
27384
27403
  pages
27385
- );
27404
+ ));
27386
27405
  }
27387
27406
  function resolve108(params) {
27388
27407
  const entityName = params.entityName ?? "ApiCall";
@@ -27598,7 +27617,7 @@ function stdServiceCustomHeader(params) {
27598
27617
  [buildTrait83(c)],
27599
27618
  [buildPage80(c)]
27600
27619
  );
27601
- return {
27620
+ return makeSchema(`${c.entityName}Orbital`, {
27602
27621
  ...orbital,
27603
27622
  services: [{
27604
27623
  name: "custom-header-api",
@@ -27611,7 +27630,7 @@ function stdServiceCustomHeader(params) {
27611
27630
  secretEnv: c.secretEnvVar
27612
27631
  }
27613
27632
  }]
27614
- };
27633
+ });
27615
27634
  }
27616
27635
  function resolve109(params) {
27617
27636
  const entityName = params.entityName ?? "ApiCall";
@@ -27827,7 +27846,7 @@ function stdServiceCustomQuery(params) {
27827
27846
  [buildTrait84(c)],
27828
27847
  [buildPage81(c)]
27829
27848
  );
27830
- return {
27849
+ return makeSchema(`${c.entityName}Orbital`, {
27831
27850
  ...orbital,
27832
27851
  services: [{
27833
27852
  name: "custom-query-api",
@@ -27840,7 +27859,7 @@ function stdServiceCustomQuery(params) {
27840
27859
  secretEnv: c.secretEnvVar
27841
27860
  }
27842
27861
  }]
27843
- };
27862
+ });
27844
27863
  }
27845
27864
  function resolve110(params) {
27846
27865
  const entityName = params.entityName ?? "ApiCall";
@@ -28054,14 +28073,14 @@ function stdServiceCustomNoauth(params) {
28054
28073
  [buildTrait85(c)],
28055
28074
  [buildPage82(c)]
28056
28075
  );
28057
- return {
28076
+ return makeSchema(`${c.entityName}Orbital`, {
28058
28077
  ...orbital,
28059
28078
  services: [{
28060
28079
  name: "custom-noauth-api",
28061
28080
  type: "rest",
28062
28081
  baseUrl: c.baseUrl
28063
28082
  }]
28064
- };
28083
+ });
28065
28084
  }
28066
28085
 
28067
28086
  // behaviors/exports-reader.ts