@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
package/dist/index.js CHANGED
@@ -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) => {
@@ -4145,6 +4145,7 @@ __export(functions_exports, {
4145
4145
  makeEntity: () => makeEntity,
4146
4146
  makeOrbital: () => makeOrbital,
4147
4147
  makePage: () => makePage,
4148
+ makeSchema: () => makeSchema,
4148
4149
  mergeOrbitals: () => mergeOrbitals,
4149
4150
  pipe: () => pipe,
4150
4151
  plural: () => plural,
@@ -4848,7 +4849,7 @@ function stdBrowsePage(params) {
4848
4849
  }
4849
4850
  function stdBrowse(params) {
4850
4851
  const c = resolve(params);
4851
- return makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]);
4852
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]));
4852
4853
  }
4853
4854
  function resolve2(params) {
4854
4855
  const { entityName } = params;
@@ -5032,7 +5033,7 @@ function stdModalPage(params) {
5032
5033
  }
5033
5034
  function stdModal(params) {
5034
5035
  const c = resolve2(params);
5035
- return makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]);
5036
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]));
5036
5037
  }
5037
5038
  function resolve3(params) {
5038
5039
  const { entityName } = params;
@@ -5210,12 +5211,12 @@ function stdConfirmationPage(params) {
5210
5211
  }
5211
5212
  function stdConfirmation(params) {
5212
5213
  const c = resolve3(params);
5213
- return makeOrbital(
5214
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5214
5215
  `${c.entityName}Orbital`,
5215
5216
  buildEntity3(c),
5216
5217
  [buildTrait3(c)],
5217
5218
  [buildPage3(c)]
5218
- );
5219
+ ));
5219
5220
  }
5220
5221
  function resolve4(params) {
5221
5222
  const { entityName } = params;
@@ -5381,12 +5382,12 @@ function stdSearchPage(params) {
5381
5382
  }
5382
5383
  function stdSearch(params) {
5383
5384
  const c = resolve4(params);
5384
- return makeOrbital(
5385
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5385
5386
  `${c.entityName}Orbital`,
5386
5387
  buildEntity4(c),
5387
5388
  [buildTrait4(c)],
5388
5389
  [buildPage4(c)]
5389
- );
5390
+ ));
5390
5391
  }
5391
5392
  function resolve5(params) {
5392
5393
  const { entityName } = params;
@@ -5573,7 +5574,7 @@ function stdFilterPage(params) {
5573
5574
  }
5574
5575
  function stdFilter(params) {
5575
5576
  const c = resolve5(params);
5576
- return makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]);
5577
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]));
5577
5578
  }
5578
5579
  function resolve6(params) {
5579
5580
  const { entityName } = params;
@@ -5733,7 +5734,7 @@ function stdSortPage(params) {
5733
5734
  }
5734
5735
  function stdSort(params) {
5735
5736
  const c = resolve6(params);
5736
- return makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]);
5737
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]));
5737
5738
  }
5738
5739
  function resolve7(params) {
5739
5740
  const { entityName } = params;
@@ -5905,12 +5906,12 @@ function stdPaginationPage(params) {
5905
5906
  }
5906
5907
  function stdPagination(params) {
5907
5908
  const c = resolve7(params);
5908
- return makeOrbital(
5909
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5909
5910
  `${c.entityName}Orbital`,
5910
5911
  buildEntity7(c),
5911
5912
  [buildTrait7(c)],
5912
5913
  [buildPage7(c)]
5913
- );
5914
+ ));
5914
5915
  }
5915
5916
  function resolve8(params) {
5916
5917
  const { entityName } = params;
@@ -6098,12 +6099,12 @@ function stdDrawerPage(params) {
6098
6099
  }
6099
6100
  function stdDrawer(params) {
6100
6101
  const c = resolve8(params);
6101
- return makeOrbital(
6102
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
6102
6103
  `${c.entityName}Orbital`,
6103
6104
  buildEntity8(c),
6104
6105
  [buildTrait8(c)],
6105
6106
  [buildPage8(c)]
6106
- );
6107
+ ));
6107
6108
  }
6108
6109
  function resolve9(params) {
6109
6110
  const { entityName } = params;
@@ -6276,12 +6277,12 @@ function stdNotificationPage(params) {
6276
6277
  }
6277
6278
  function stdNotification(params) {
6278
6279
  const c = resolve9(params);
6279
- return makeOrbital(
6280
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
6280
6281
  `${c.entityName}Orbital`,
6281
6282
  buildEntity9(c),
6282
6283
  [buildTrait9(c)],
6283
6284
  [buildPage9(c)]
6284
- );
6285
+ ));
6285
6286
  }
6286
6287
  function resolve10(params) {
6287
6288
  const { entityName } = params;
@@ -6533,12 +6534,12 @@ function stdTimerPage(params) {
6533
6534
  }
6534
6535
  function stdTimer(params) {
6535
6536
  const c = resolve10(params);
6536
- return makeOrbital(
6537
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
6537
6538
  `${c.entityName}Orbital`,
6538
6539
  buildEntity10(c),
6539
6540
  [buildTrait10(c)],
6540
6541
  [buildPage10(c)]
6541
- );
6542
+ ));
6542
6543
  }
6543
6544
  function resolve11(params) {
6544
6545
  const { entityName } = params;
@@ -6659,7 +6660,7 @@ function stdTabsPage(params) {
6659
6660
  }
6660
6661
  function stdTabs(params) {
6661
6662
  const c = resolve11(params);
6662
- return makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]);
6663
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]));
6663
6664
  }
6664
6665
  function resolve12(params) {
6665
6666
  const { entityName } = params;
@@ -6873,12 +6874,12 @@ function stdLoadingPage(params) {
6873
6874
  }
6874
6875
  function stdLoading(params) {
6875
6876
  const c = resolve12(params);
6876
- return makeOrbital(
6877
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
6877
6878
  `${c.entityName}Orbital`,
6878
6879
  buildEntity12(c),
6879
6880
  [buildTrait12(c)],
6880
6881
  [buildPage12(c)]
6881
- );
6882
+ ));
6882
6883
  }
6883
6884
  function resolve13(params) {
6884
6885
  const { entityName } = params;
@@ -7163,12 +7164,12 @@ function stdSelectionPage(params) {
7163
7164
  }
7164
7165
  function stdSelection(params) {
7165
7166
  const c = resolve13(params);
7166
- return makeOrbital(
7167
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7167
7168
  `${c.entityName}Orbital`,
7168
7169
  buildEntity13(c),
7169
7170
  [buildTrait13(c)],
7170
7171
  [buildPage13(c)]
7171
- );
7172
+ ));
7172
7173
  }
7173
7174
  function resolve14(params) {
7174
7175
  const { entityName } = params;
@@ -7294,7 +7295,7 @@ function stdUndoPage(params) {
7294
7295
  }
7295
7296
  function stdUndo(params) {
7296
7297
  const c = resolve14(params);
7297
- return makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]);
7298
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]));
7298
7299
  }
7299
7300
  function resolve15(params) {
7300
7301
  const { entityName } = params;
@@ -7492,12 +7493,12 @@ function stdInputPage(params) {
7492
7493
  }
7493
7494
  function stdInput(params) {
7494
7495
  const c = resolve15(params);
7495
- return makeOrbital(
7496
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7496
7497
  `${c.entityName}Orbital`,
7497
7498
  buildEntity15(c),
7498
7499
  [buildTrait15(c)],
7499
7500
  [buildPage15(c)]
7500
- );
7501
+ ));
7501
7502
  }
7502
7503
  function resolve16(params) {
7503
7504
  const { entityName } = params;
@@ -7750,12 +7751,12 @@ function stdWizardPage(params) {
7750
7751
  }
7751
7752
  function stdWizard(params) {
7752
7753
  const c = resolve16(params);
7753
- return makeOrbital(
7754
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7754
7755
  `${c.entityName}Orbital`,
7755
7756
  buildEntity16(c),
7756
7757
  [buildTrait16(c)],
7757
7758
  [buildPage16(c)]
7758
- );
7759
+ ));
7759
7760
  }
7760
7761
  function resolve17(params) {
7761
7762
  const { entityName } = params;
@@ -7884,12 +7885,12 @@ function stdDisplayPage(params) {
7884
7885
  }
7885
7886
  function stdDisplay(params) {
7886
7887
  const c = resolve17(params);
7887
- return makeOrbital(
7888
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7888
7889
  `${c.entityName}Orbital`,
7889
7890
  makeEntity({ name: c.entityName, fields: c.fields, persistence: c.persistence, collection: c.collection }),
7890
7891
  [buildTrait17(c)],
7891
7892
  [makePage({ name: c.pageName, path: c.pagePath, traitName: c.traitName, isInitial: c.isInitial })]
7892
- );
7893
+ ));
7893
7894
  }
7894
7895
  function resolve18(params) {
7895
7896
  const { entityName } = params;
@@ -8083,12 +8084,12 @@ function stdAsyncPage(params) {
8083
8084
  }
8084
8085
  function stdAsync(params) {
8085
8086
  const c = resolve18(params);
8086
- return makeOrbital(
8087
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
8087
8088
  `${c.entityName}Orbital`,
8088
8089
  buildEntity17(c),
8089
8090
  [buildTrait18(c)],
8090
8091
  [buildPage17(c)]
8091
- );
8092
+ ));
8092
8093
  }
8093
8094
  function resolve19(params) {
8094
8095
  const { entityName } = params;
@@ -8273,12 +8274,12 @@ function stdCombatPage(params) {
8273
8274
  }
8274
8275
  function stdCombat(params) {
8275
8276
  const c = resolve19(params);
8276
- return makeOrbital(
8277
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
8277
8278
  `${c.entityName}Orbital`,
8278
8279
  buildEntity18(c),
8279
8280
  [buildTrait19(c)],
8280
8281
  [buildPage18(c)]
8281
- );
8282
+ ));
8282
8283
  }
8283
8284
  function resolve20(params) {
8284
8285
  const { entityName } = params;
@@ -8462,12 +8463,12 @@ function stdGameflowPage(params) {
8462
8463
  }
8463
8464
  function stdGameflow(params) {
8464
8465
  const c = resolve20(params);
8465
- return makeOrbital(
8466
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
8466
8467
  `${c.entityName}Orbital`,
8467
8468
  buildEntity19(c),
8468
8469
  [buildTrait20(c)],
8469
8470
  [buildPage19(c)]
8470
- );
8471
+ ));
8471
8472
  }
8472
8473
  function resolve21(params) {
8473
8474
  const { entityName } = params;
@@ -8731,12 +8732,12 @@ function stdMovementPage(params) {
8731
8732
  }
8732
8733
  function stdMovement(params) {
8733
8734
  const c = resolve21(params);
8734
- return makeOrbital(
8735
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
8735
8736
  `${c.entityName}Orbital`,
8736
8737
  buildEntity20(c),
8737
8738
  [buildTrait21(c)],
8738
8739
  [buildPage20(c)]
8739
- );
8740
+ ));
8740
8741
  }
8741
8742
  function resolve22(params) {
8742
8743
  const { entityName } = params;
@@ -9063,12 +9064,12 @@ function stdQuestPage(params) {
9063
9064
  }
9064
9065
  function stdQuest(params) {
9065
9066
  const c = resolve22(params);
9066
- return makeOrbital(
9067
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
9067
9068
  `${c.entityName}Orbital`,
9068
9069
  buildEntity21(c),
9069
9070
  [buildTrait22(c)],
9070
9071
  [buildPage21(c)]
9071
- );
9072
+ ));
9072
9073
  }
9073
9074
  function resolve23(params) {
9074
9075
  const { entityName } = params;
@@ -9296,12 +9297,12 @@ function stdOverworldPage(params) {
9296
9297
  }
9297
9298
  function stdOverworld(params) {
9298
9299
  const c = resolve23(params);
9299
- return makeOrbital(
9300
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
9300
9301
  `${c.entityName}Orbital`,
9301
9302
  buildEntity22(c),
9302
9303
  [buildTrait23(c)],
9303
9304
  [buildPage22(c)]
9304
- );
9305
+ ));
9305
9306
  }
9306
9307
  function resolve24(params) {
9307
9308
  const { entityName } = params;
@@ -9528,12 +9529,12 @@ function stdCircuitBreakerPage(params) {
9528
9529
  }
9529
9530
  function stdCircuitBreaker(params) {
9530
9531
  const c = resolve24(params);
9531
- return makeOrbital(
9532
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
9532
9533
  `${c.entityName}Orbital`,
9533
9534
  buildEntity23(c),
9534
9535
  [buildTrait24(c)],
9535
9536
  [buildPage23(c)]
9536
- );
9537
+ ));
9537
9538
  }
9538
9539
  function resolve25(params) {
9539
9540
  const { entityName } = params;
@@ -9832,12 +9833,12 @@ function stdCacheAsidePage(params) {
9832
9833
  }
9833
9834
  function stdCacheAside(params) {
9834
9835
  const c = resolve25(params);
9835
- return makeOrbital(
9836
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
9836
9837
  `${c.entityName}Orbital`,
9837
9838
  buildEntity24(c),
9838
9839
  [buildTrait25(c)],
9839
9840
  [buildPage24(c)]
9840
- );
9841
+ ));
9841
9842
  }
9842
9843
  function resolve26(params) {
9843
9844
  const { entityName } = params;
@@ -9997,12 +9998,12 @@ function stdScorePage(params) {
9997
9998
  }
9998
9999
  function stdScore(params) {
9999
10000
  const c = resolve26(params);
10000
- return makeOrbital(
10001
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
10001
10002
  `${c.entityName}Orbital`,
10002
10003
  buildEntity25(c),
10003
10004
  [buildTrait26(c)],
10004
10005
  [buildPage25(c)]
10005
- );
10006
+ ));
10006
10007
  }
10007
10008
  function resolve27(params) {
10008
10009
  const { entityName } = params;
@@ -10171,7 +10172,7 @@ function stdCalendarPage(params) {
10171
10172
  }
10172
10173
  function stdCalendar(params) {
10173
10174
  const c = resolve27(params);
10174
- return makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]);
10175
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]));
10175
10176
  }
10176
10177
  function resolve28(params) {
10177
10178
  const { entityName } = params;
@@ -10301,7 +10302,7 @@ function stdGalleryPage(params) {
10301
10302
  }
10302
10303
  function stdGallery(params) {
10303
10304
  const c = resolve28(params);
10304
- return makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]);
10305
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]));
10305
10306
  }
10306
10307
  function resolve29(params) {
10307
10308
  const { entityName } = params;
@@ -10460,7 +10461,7 @@ function stdFlipCardPage(params) {
10460
10461
  }
10461
10462
  function stdFlipCard(params) {
10462
10463
  const c = resolve29(params);
10463
- return makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]);
10464
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]));
10464
10465
  }
10465
10466
  function resolve30(params) {
10466
10467
  const { entityName } = params;
@@ -10576,7 +10577,7 @@ function stdRatingPage(params) {
10576
10577
  }
10577
10578
  function stdRating(params) {
10578
10579
  const c = resolve30(params);
10579
- return makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]);
10580
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]));
10580
10581
  }
10581
10582
  function resolve31(params) {
10582
10583
  const { entityName } = params;
@@ -10736,7 +10737,7 @@ function stdUploadPage(params) {
10736
10737
  }
10737
10738
  function stdUpload(params) {
10738
10739
  const c = resolve31(params);
10739
- return makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]);
10740
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]));
10740
10741
  }
10741
10742
  function resolve32(params) {
10742
10743
  const { entityName } = params;
@@ -10865,7 +10866,7 @@ function stdThemePage(params) {
10865
10866
  }
10866
10867
  function stdTheme(params) {
10867
10868
  const c = resolve32(params);
10868
- return makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]);
10869
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]));
10869
10870
  }
10870
10871
  function resolve33(params) {
10871
10872
  const { entityName } = params;
@@ -11027,7 +11028,7 @@ function stdTextEffectsPage(params) {
11027
11028
  }
11028
11029
  function stdTextEffects(params) {
11029
11030
  const c = resolve33(params);
11030
- return makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]);
11031
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]));
11031
11032
  }
11032
11033
  function resolve34(params) {
11033
11034
  const { entityName } = params;
@@ -11223,12 +11224,12 @@ function stdCollisionPage(params) {
11223
11224
  }
11224
11225
  function stdCollision(params) {
11225
11226
  const c = resolve34(params);
11226
- return makeOrbital(
11227
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11227
11228
  `${c.entityName}Orbital`,
11228
11229
  buildEntity33(c),
11229
11230
  [buildTrait34(c)],
11230
11231
  [buildPage33(c)]
11231
- );
11232
+ ));
11232
11233
  }
11233
11234
  function resolve35(params) {
11234
11235
  const { entityName } = params;
@@ -11387,12 +11388,12 @@ function stdPhysics2dPage(params) {
11387
11388
  }
11388
11389
  function stdPhysics2d(params) {
11389
11390
  const c = resolve35(params);
11390
- return makeOrbital(
11391
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11391
11392
  `${c.entityName}Orbital`,
11392
11393
  buildEntity34(c),
11393
11394
  [buildTrait35(c)],
11394
11395
  [buildPage34(c)]
11395
- );
11396
+ ));
11396
11397
  }
11397
11398
  function resolve36(params) {
11398
11399
  const { entityName } = params;
@@ -11599,12 +11600,12 @@ function stdRateLimiterPage(params) {
11599
11600
  }
11600
11601
  function stdRateLimiter(params) {
11601
11602
  const c = resolve36(params);
11602
- return makeOrbital(
11603
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11603
11604
  `${c.entityName}Orbital`,
11604
11605
  buildEntity35(c),
11605
11606
  [buildTrait36(c)],
11606
11607
  [buildPage35(c)]
11607
- );
11608
+ ));
11608
11609
  }
11609
11610
  function resolve37(params) {
11610
11611
  const { entityName } = params;
@@ -11673,7 +11674,7 @@ function stdGameHudPage(params) {
11673
11674
  }
11674
11675
  function stdGameHud(params) {
11675
11676
  const c = resolve37(params);
11676
- return makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]);
11677
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]));
11677
11678
  }
11678
11679
  function resolve38(params) {
11679
11680
  const { entityName } = params;
@@ -11757,7 +11758,7 @@ function stdScoreBoardPage(params) {
11757
11758
  }
11758
11759
  function stdScoreBoard(params) {
11759
11760
  const c = resolve38(params);
11760
- return makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]);
11761
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]));
11761
11762
  }
11762
11763
  function resolve39(params) {
11763
11764
  const { entityName } = params;
@@ -11837,7 +11838,7 @@ function stdGameMenuPage(params) {
11837
11838
  }
11838
11839
  function stdGameMenu(params) {
11839
11840
  const c = resolve39(params);
11840
- return makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]);
11841
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]));
11841
11842
  }
11842
11843
  function resolve40(params) {
11843
11844
  const { entityName } = params;
@@ -11918,7 +11919,7 @@ function stdGameOverScreenPage(params) {
11918
11919
  }
11919
11920
  function stdGameOverScreen(params) {
11920
11921
  const c = resolve40(params);
11921
- return makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]);
11922
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]));
11922
11923
  }
11923
11924
  function resolve41(params) {
11924
11925
  const { entityName } = params;
@@ -12020,7 +12021,7 @@ function stdDialogueBoxPage(params) {
12020
12021
  }
12021
12022
  function stdDialogueBox(params) {
12022
12023
  const c = resolve41(params);
12023
- return makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]);
12024
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]));
12024
12025
  }
12025
12026
  function resolve42(params) {
12026
12027
  const { entityName } = params;
@@ -12106,7 +12107,7 @@ function stdInventoryPanelPage(params) {
12106
12107
  }
12107
12108
  function stdInventoryPanel(params) {
12108
12109
  const c = resolve42(params);
12109
- return makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]);
12110
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]));
12110
12111
  }
12111
12112
  function resolve43(params) {
12112
12113
  const { entityName } = params;
@@ -12189,7 +12190,7 @@ function stdCombatLogPage(params) {
12189
12190
  }
12190
12191
  function stdCombatLog(params) {
12191
12192
  const c = resolve43(params);
12192
- return makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]);
12193
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]));
12193
12194
  }
12194
12195
  function resolve44(params) {
12195
12196
  const { entityName } = params;
@@ -12303,7 +12304,7 @@ function stdSpritePage(params) {
12303
12304
  }
12304
12305
  function stdSprite(params) {
12305
12306
  const c = resolve44(params);
12306
- return makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]);
12307
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]));
12307
12308
  }
12308
12309
  function resolve45(params) {
12309
12310
  const { entityName } = params;
@@ -12433,7 +12434,7 @@ function stdGameAudioPage(params) {
12433
12434
  }
12434
12435
  function stdGameAudio(params) {
12435
12436
  const c = resolve45(params);
12436
- return makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]);
12437
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]));
12437
12438
  }
12438
12439
  function resolve46(params) {
12439
12440
  const { entityName } = params;
@@ -12548,7 +12549,7 @@ function stdIsometricCanvasPage(params) {
12548
12549
  }
12549
12550
  function stdIsometricCanvas(params) {
12550
12551
  const c = resolve46(params);
12551
- return makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]);
12552
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]));
12552
12553
  }
12553
12554
  function resolve47(params) {
12554
12555
  const { entityName } = params;
@@ -12654,7 +12655,7 @@ function stdPlatformerCanvasPage(params) {
12654
12655
  }
12655
12656
  function stdPlatformerCanvas(params) {
12656
12657
  const c = resolve47(params);
12657
- return makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]);
12658
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]));
12658
12659
  }
12659
12660
  function resolve48(params) {
12660
12661
  const { entityName } = params;
@@ -12734,7 +12735,7 @@ function stdSimulationCanvasPage(params) {
12734
12735
  }
12735
12736
  function stdSimulationCanvas(params) {
12736
12737
  const c = resolve48(params);
12737
- return makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]);
12738
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]));
12738
12739
  }
12739
12740
  function resolve49(params) {
12740
12741
  const { entityName } = params;
@@ -12829,7 +12830,7 @@ function stdGameCanvas2dPage(params) {
12829
12830
  }
12830
12831
  function stdGameCanvas2d(params) {
12831
12832
  const c = resolve49(params);
12832
- return makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]);
12833
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]));
12833
12834
  }
12834
12835
  function resolve50(params) {
12835
12836
  const { entityName } = params;
@@ -12932,7 +12933,7 @@ function stdGameCanvas3dPage(params) {
12932
12933
  }
12933
12934
  function stdGameCanvas3d(params) {
12934
12935
  const c = resolve50(params);
12935
- return makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]);
12936
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]));
12936
12937
  }
12937
12938
  function resolve51(params) {
12938
12939
  const { entityName } = params;
@@ -13117,7 +13118,8 @@ function stdList(params) {
13117
13118
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]],
13118
13119
  emitOnConfirm: DELETED
13119
13120
  }));
13120
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
13121
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
13122
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
13121
13123
  const page = {
13122
13124
  name: c.pageName,
13123
13125
  path: c.pagePath,
@@ -13130,12 +13132,12 @@ function stdList(params) {
13130
13132
  { ref: deleteTrait.name }
13131
13133
  ]
13132
13134
  };
13133
- return {
13135
+ return makeSchema(`${entityName}Orbital`, {
13134
13136
  name: `${entityName}Orbital`,
13135
13137
  entity,
13136
13138
  traits: [browseTrait, createTrait, editTrait, viewTrait, deleteTrait],
13137
13139
  pages: [page]
13138
- };
13140
+ });
13139
13141
  }
13140
13142
  function resolve52(params) {
13141
13143
  const { entityName } = params;
@@ -13324,19 +13326,20 @@ function stdCart(params) {
13324
13326
  confirmEvent: "CONFIRM_REMOVE",
13325
13327
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]]
13326
13328
  }));
13327
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
13329
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
13330
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
13328
13331
  const page = {
13329
13332
  name: c.pageName,
13330
13333
  path: c.pagePath,
13331
13334
  ...c.isInitial ? { isInitial: true } : {},
13332
13335
  traits: [{ ref: cartTrait.name }, { ref: addTrait.name }, { ref: removeTrait.name }]
13333
13336
  };
13334
- return {
13337
+ return makeSchema(`${entityName}Orbital`, {
13335
13338
  name: `${entityName}Orbital`,
13336
13339
  entity,
13337
13340
  traits: [cartTrait, addTrait, removeTrait],
13338
13341
  pages: [page]
13339
- };
13342
+ });
13340
13343
  }
13341
13344
  function resolve53(params) {
13342
13345
  const { entityName } = params;
@@ -13471,12 +13474,12 @@ function stdDetail(params) {
13471
13474
  ...c.isInitial ? { isInitial: true } : {},
13472
13475
  traits: [{ ref: browseTrait.name }, { ref: createTrait.name }, { ref: viewTrait.name }]
13473
13476
  };
13474
- return {
13477
+ return makeSchema(`${entityName}Orbital`, {
13475
13478
  name: `${entityName}Orbital`,
13476
13479
  entity,
13477
13480
  traits: [browseTrait, createTrait, viewTrait],
13478
13481
  pages: [page]
13479
- };
13482
+ });
13480
13483
  }
13481
13484
  function resolve54(params) {
13482
13485
  const { entityName } = params;
@@ -13629,7 +13632,8 @@ function stdInventory(params) {
13629
13632
  { id: "item-2", name: "Iron Sword", description: "A sturdy blade", status: "active", pendingId: "" },
13630
13633
  { id: "item-3", name: "Wooden Shield", description: "Basic protection", status: "active", pendingId: "" }
13631
13634
  ];
13632
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection, instances });
13635
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
13636
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection, instances });
13633
13637
  const page = {
13634
13638
  name: c.pageName,
13635
13639
  path: c.pagePath,
@@ -13641,12 +13645,12 @@ function stdInventory(params) {
13641
13645
  { ref: dropTrait.name }
13642
13646
  ]
13643
13647
  };
13644
- return {
13648
+ return makeSchema(`${entityName}Orbital`, {
13645
13649
  name: `${entityName}Orbital`,
13646
13650
  entity,
13647
13651
  traits: [browseTrait, addTrait, useTrait, dropTrait],
13648
13652
  pages: [page]
13649
- };
13653
+ });
13650
13654
  }
13651
13655
  function resolve55(params) {
13652
13656
  const { entityName } = params;
@@ -13796,12 +13800,12 @@ function stdMessaging(params) {
13796
13800
  { ref: viewTrait.name }
13797
13801
  ]
13798
13802
  };
13799
- return {
13803
+ return makeSchema(`${entityName}Orbital`, {
13800
13804
  name: `${entityName}Orbital`,
13801
13805
  entity,
13802
13806
  traits: [browseTrait, composeTrait, viewTrait],
13803
13807
  pages: [page]
13804
- };
13808
+ });
13805
13809
  }
13806
13810
  function resolve56(params) {
13807
13811
  const { entityName } = params;
@@ -13925,7 +13929,8 @@ function stdGeospatial(params) {
13925
13929
  confirmEffects: [["fetch", entityName]],
13926
13930
  emitOnConfirm: "CONFIRMED"
13927
13931
  }));
13928
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
13932
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
13933
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
13929
13934
  const page = {
13930
13935
  name: c.pageName,
13931
13936
  path: c.pagePath,
@@ -13936,12 +13941,12 @@ function stdGeospatial(params) {
13936
13941
  { ref: confirmTrait.name }
13937
13942
  ]
13938
13943
  };
13939
- return {
13944
+ return makeSchema(`${entityName}Orbital`, {
13940
13945
  name: `${entityName}Orbital`,
13941
13946
  entity,
13942
13947
  traits: [browseTrait, selectTrait, confirmTrait],
13943
13948
  pages: [page]
13944
- };
13949
+ });
13945
13950
  }
13946
13951
  function resolve57(params) {
13947
13952
  const { entityName } = params;
@@ -14158,7 +14163,7 @@ function stdQuizPage(params) {
14158
14163
  }
14159
14164
  function stdQuiz(params) {
14160
14165
  const c = resolve57(params);
14161
- return makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]);
14166
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]));
14162
14167
  }
14163
14168
  function resolve58(params) {
14164
14169
  const { entityName } = params;
@@ -14304,7 +14309,7 @@ function stdFormAdvancedPage(params) {
14304
14309
  }
14305
14310
  function stdFormAdvanced(params) {
14306
14311
  const c = resolve58(params);
14307
- return makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]);
14312
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]));
14308
14313
  }
14309
14314
  function resolve59(params) {
14310
14315
  const { entityName } = params;
@@ -14548,12 +14553,12 @@ function stdTurnBasedBattle(params) {
14548
14553
  const battleLogTrait = buildBattleLogTrait(c);
14549
14554
  const entity = buildEntity52(c);
14550
14555
  const page = buildPage52(c);
14551
- return {
14556
+ return makeSchema(`${c.entityName}Orbital`, {
14552
14557
  name: `${c.entityName}Orbital`,
14553
14558
  entity,
14554
14559
  traits: [battleFlowTrait, battleLogTrait],
14555
14560
  pages: [page]
14556
- };
14561
+ });
14557
14562
  }
14558
14563
  function resolve60(params) {
14559
14564
  const { entityName } = params;
@@ -14819,12 +14824,12 @@ function stdPlatformerGame(params) {
14819
14824
  const canvasTrait = buildPlatformerCanvasTrait(c);
14820
14825
  const entity = buildEntity53(c);
14821
14826
  const page = buildPage53(c);
14822
- return {
14827
+ return makeSchema(`${c.entityName}Orbital`, {
14823
14828
  name: `${c.entityName}Orbital`,
14824
14829
  entity,
14825
14830
  traits: [flowTrait, canvasTrait],
14826
14831
  pages: [page]
14827
- };
14832
+ });
14828
14833
  }
14829
14834
  function resolve61(params) {
14830
14835
  const { entityName } = params;
@@ -15071,12 +15076,12 @@ function stdPuzzleGame(params) {
15071
15076
  const scoreTrait = buildPuzzleScoreTrait(c);
15072
15077
  const entity = buildEntity54(c);
15073
15078
  const page = buildPage54(c);
15074
- return {
15079
+ return makeSchema(`${c.entityName}Orbital`, {
15075
15080
  name: `${c.entityName}Orbital`,
15076
15081
  entity,
15077
15082
  traits: [flowTrait, scoreTrait],
15078
15083
  pages: [page]
15079
- };
15084
+ });
15080
15085
  }
15081
15086
  function resolve62(params) {
15082
15087
  const { entityName } = params;
@@ -15210,12 +15215,12 @@ function stdBuilderGamePage(params) {
15210
15215
  }
15211
15216
  function stdBuilderGame(params) {
15212
15217
  const c = resolve62(params);
15213
- return makeOrbital(
15218
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15214
15219
  `${c.entityName}Orbital`,
15215
15220
  buildEntity55(c),
15216
15221
  [buildTrait53(c)],
15217
15222
  [buildPage55(c)]
15218
- );
15223
+ ));
15219
15224
  }
15220
15225
  function resolve63(params) {
15221
15226
  const { entityName } = params;
@@ -15349,12 +15354,12 @@ function stdClassifierGamePage(params) {
15349
15354
  }
15350
15355
  function stdClassifierGame(params) {
15351
15356
  const c = resolve63(params);
15352
- return makeOrbital(
15357
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15353
15358
  `${c.entityName}Orbital`,
15354
15359
  buildEntity56(c),
15355
15360
  [buildTrait54(c)],
15356
15361
  [buildPage56(c)]
15357
- );
15362
+ ));
15358
15363
  }
15359
15364
  function resolve64(params) {
15360
15365
  const { entityName } = params;
@@ -15488,12 +15493,12 @@ function stdSequencerGamePage(params) {
15488
15493
  }
15489
15494
  function stdSequencerGame(params) {
15490
15495
  const c = resolve64(params);
15491
- return makeOrbital(
15496
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15492
15497
  `${c.entityName}Orbital`,
15493
15498
  buildEntity57(c),
15494
15499
  [buildTrait55(c)],
15495
15500
  [buildPage57(c)]
15496
- );
15501
+ ));
15497
15502
  }
15498
15503
  function resolve65(params) {
15499
15504
  const { entityName } = params;
@@ -15627,12 +15632,12 @@ function stdDebuggerGamePage(params) {
15627
15632
  }
15628
15633
  function stdDebuggerGame(params) {
15629
15634
  const c = resolve65(params);
15630
- return makeOrbital(
15635
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15631
15636
  `${c.entityName}Orbital`,
15632
15637
  buildEntity58(c),
15633
15638
  [buildTrait56(c)],
15634
15639
  [buildPage58(c)]
15635
- );
15640
+ ));
15636
15641
  }
15637
15642
  function resolve66(params) {
15638
15643
  const { entityName } = params;
@@ -15766,12 +15771,12 @@ function stdNegotiatorGamePage(params) {
15766
15771
  }
15767
15772
  function stdNegotiatorGame(params) {
15768
15773
  const c = resolve66(params);
15769
- return makeOrbital(
15774
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15770
15775
  `${c.entityName}Orbital`,
15771
15776
  buildEntity59(c),
15772
15777
  [buildTrait57(c)],
15773
15778
  [buildPage59(c)]
15774
- );
15779
+ ));
15775
15780
  }
15776
15781
  function resolve67(params) {
15777
15782
  const { entityName } = params;
@@ -15905,12 +15910,12 @@ function stdSimulatorGamePage(params) {
15905
15910
  }
15906
15911
  function stdSimulatorGame(params) {
15907
15912
  const c = resolve67(params);
15908
- return makeOrbital(
15913
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
15909
15914
  `${c.entityName}Orbital`,
15910
15915
  buildEntity60(c),
15911
15916
  [buildTrait58(c)],
15912
15917
  [buildPage60(c)]
15913
- );
15918
+ ));
15914
15919
  }
15915
15920
  function resolve68(params) {
15916
15921
  const { entityName } = params;
@@ -16044,12 +16049,12 @@ function stdEventHandlerGamePage(params) {
16044
16049
  }
16045
16050
  function stdEventHandlerGame(params) {
16046
16051
  const c = resolve68(params);
16047
- return makeOrbital(
16052
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
16048
16053
  `${c.entityName}Orbital`,
16049
16054
  buildEntity61(c),
16050
16055
  [buildTrait59(c)],
16051
16056
  [buildPage61(c)]
16052
- );
16057
+ ));
16053
16058
  }
16054
16059
  function resolve69(params) {
16055
16060
  const { entityName } = params;
@@ -16237,12 +16242,12 @@ function stdClassifier(params) {
16237
16242
  ...c.isInitial ? { isInitial: true } : {},
16238
16243
  traits: [{ ref: trait.name }]
16239
16244
  };
16240
- return {
16245
+ return makeSchema(`${c.entityName}Orbital`, {
16241
16246
  name: `${c.entityName}Orbital`,
16242
16247
  entity,
16243
16248
  traits: [trait],
16244
16249
  pages: [page]
16245
- };
16250
+ });
16246
16251
  }
16247
16252
  function resolve70(params) {
16248
16253
  const { entityName } = params;
@@ -16595,12 +16600,12 @@ function stdTrainer(params) {
16595
16600
  ...c.isInitial ? { isInitial: true } : {},
16596
16601
  traits: traits.map((t) => ({ ref: t.name }))
16597
16602
  };
16598
- return {
16603
+ return makeSchema(`${c.entityName}Orbital`, {
16599
16604
  name: `${c.entityName}Orbital`,
16600
16605
  entity,
16601
16606
  traits,
16602
16607
  pages: [page]
16603
- };
16608
+ });
16604
16609
  }
16605
16610
  function resolve71(params) {
16606
16611
  const { entityName } = params;
@@ -16917,12 +16922,12 @@ function stdRlAgent(params) {
16917
16922
  { ref: trainTrait.name }
16918
16923
  ]
16919
16924
  };
16920
- return {
16925
+ return makeSchema(`${c.entityName}Orbital`, {
16921
16926
  name: `${c.entityName}Orbital`,
16922
16927
  entity,
16923
16928
  traits: [policyTrait, collectorTrait, trainTrait],
16924
16929
  pages: [page]
16925
- };
16930
+ });
16926
16931
  }
16927
16932
  function resolve72(params) {
16928
16933
  const { entityName } = params;
@@ -17171,12 +17176,12 @@ function stdGraphClassifier(params) {
17171
17176
  { ref: classifyTrait.name }
17172
17177
  ]
17173
17178
  };
17174
- return {
17179
+ return makeSchema(`${c.entityName}Orbital`, {
17175
17180
  name: `${c.entityName}Orbital`,
17176
17181
  entity,
17177
17182
  traits: [graphTrait, classifyTrait],
17178
17183
  pages: [page]
17179
- };
17184
+ });
17180
17185
  }
17181
17186
  function resolve73(params) {
17182
17187
  const { entityName } = params;
@@ -17427,12 +17432,12 @@ function stdTextClassifier(params) {
17427
17432
  { ref: classifyTrait.name }
17428
17433
  ]
17429
17434
  };
17430
- return {
17435
+ return makeSchema(`${c.entityName}Orbital`, {
17431
17436
  name: `${c.entityName}Orbital`,
17432
17437
  entity,
17433
17438
  traits: [tokenizerTrait, classifyTrait],
17434
17439
  pages: [page]
17435
- };
17440
+ });
17436
17441
  }
17437
17442
  function resolve74(params) {
17438
17443
  const { entityName } = params;
@@ -17623,12 +17628,12 @@ function stdAutoregressive(params) {
17623
17628
  ...c.isInitial ? { isInitial: true } : {},
17624
17629
  traits: [{ ref: trait.name }]
17625
17630
  };
17626
- return {
17631
+ return makeSchema(`${c.entityName}Orbital`, {
17627
17632
  name: `${c.entityName}Orbital`,
17628
17633
  entity,
17629
17634
  traits: [trait],
17630
17635
  pages: [page]
17631
- };
17636
+ });
17632
17637
  }
17633
17638
  function resolve75(params) {
17634
17639
  const entityName = params.entityName ?? "OrderPayment";
@@ -17976,12 +17981,12 @@ function stdServicePaymentFlowPage(params = {}) {
17976
17981
  }
17977
17982
  function stdServicePaymentFlow(params = {}) {
17978
17983
  const c = resolve75(params);
17979
- return makeOrbital(
17984
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
17980
17985
  `${c.entityName}Orbital`,
17981
17986
  buildEntity62(c),
17982
17987
  [buildPaymentTrait(c), buildReceiptTrait(c)],
17983
17988
  [buildPage62(c)]
17984
- );
17989
+ ));
17985
17990
  }
17986
17991
  function resolve76(params) {
17987
17992
  const entityName = params.entityName ?? "Notification";
@@ -18228,12 +18233,12 @@ function stdServiceNotificationHubPage(params = {}) {
18228
18233
  }
18229
18234
  function stdServiceNotificationHub(params = {}) {
18230
18235
  const c = resolve76(params);
18231
- return makeOrbital(
18236
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
18232
18237
  `${c.entityName}Orbital`,
18233
18238
  buildEntity63(c),
18234
18239
  [buildTrait62(c)],
18235
18240
  [buildPage63(c)]
18236
- );
18241
+ ));
18237
18242
  }
18238
18243
  function resolve77(params) {
18239
18244
  const entityName = params.entityName ?? "Research";
@@ -18622,7 +18627,7 @@ function stdServiceContentPipelinePage(params) {
18622
18627
  }
18623
18628
  function stdServiceContentPipeline(params) {
18624
18629
  const c = resolve77(params);
18625
- return makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]);
18630
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]));
18626
18631
  }
18627
18632
  function resolve78(params) {
18628
18633
  const entityName = params.entityName ?? "DevopsTool";
@@ -19177,12 +19182,12 @@ function stdServiceDevopsToolkit(params = {}) {
19177
19182
  { ref: storageTrait.name }
19178
19183
  ]
19179
19184
  };
19180
- return {
19185
+ return makeSchema(`${c.entityName}Orbital`, {
19181
19186
  name: `${c.entityName}Orbital`,
19182
19187
  entity,
19183
19188
  traits: [githubTrait, redisTrait, storageTrait],
19184
19189
  pages: [page]
19185
- };
19190
+ });
19186
19191
  }
19187
19192
  function resolve79(params) {
19188
19193
  const entityName = params.entityName ?? "ApiTest";
@@ -19458,7 +19463,7 @@ function stdServiceCustomApiTester(params) {
19458
19463
  [buildTrait64(c)],
19459
19464
  [buildPage65(c)]
19460
19465
  );
19461
- return {
19466
+ return makeSchema(`custom-header-api`, {
19462
19467
  ...orbital,
19463
19468
  services: [
19464
19469
  {
@@ -19498,7 +19503,7 @@ function stdServiceCustomApiTester(params) {
19498
19503
  baseUrl: c.noauthBaseUrl
19499
19504
  }
19500
19505
  ]
19501
- };
19506
+ });
19502
19507
  }
19503
19508
 
19504
19509
  // behaviors/functions/views/domain-views.ts
@@ -21836,12 +21841,12 @@ function stdServiceOauth(params = {}) {
21836
21841
  const pages = [];
21837
21842
  const page = buildPage66(c);
21838
21843
  if (page) pages.push(page);
21839
- return makeOrbital(
21844
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
21840
21845
  `${c.entityName}Orbital`,
21841
21846
  buildEntity66(c),
21842
21847
  [buildTrait65(c)],
21843
21848
  pages
21844
- );
21849
+ ));
21845
21850
  }
21846
21851
 
21847
21852
  // behaviors/functions/organisms/std-service-marketplace.ts
@@ -22138,12 +22143,12 @@ function stdServiceRedisPage(params = {}) {
22138
22143
  }
22139
22144
  function stdServiceRedis(params = {}) {
22140
22145
  const c = resolve81(params);
22141
- return makeOrbital(
22146
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
22142
22147
  `${c.entityName}Orbital`,
22143
22148
  buildEntity67(c),
22144
22149
  [buildTrait66(c)],
22145
22150
  [buildPage67(c)]
22146
- );
22151
+ ));
22147
22152
  }
22148
22153
  function resolve82(params) {
22149
22154
  const entityName = params.entityName ?? "StorageFile";
@@ -22401,12 +22406,12 @@ function stdServiceStoragePage(params = {}) {
22401
22406
  }
22402
22407
  function stdServiceStorage(params = {}) {
22403
22408
  const c = resolve82(params);
22404
- return makeOrbital(
22409
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
22405
22410
  `${c.entityName}Orbital`,
22406
22411
  buildEntity68(c),
22407
22412
  [buildTrait67(c)],
22408
22413
  [buildPage68(c)]
22409
- );
22414
+ ));
22410
22415
  }
22411
22416
  function resolve83(params) {
22412
22417
  const entityName = params.entityName ?? "ApiCall";
@@ -22621,7 +22626,7 @@ function stdServiceCustomBearer(params) {
22621
22626
  [buildTrait68(c)],
22622
22627
  [buildPage69(c)]
22623
22628
  );
22624
- return {
22629
+ return makeSchema(`${c.entityName}Orbital`, {
22625
22630
  ...orbital,
22626
22631
  services: [{
22627
22632
  name: "custom-bearer-api",
@@ -22632,7 +22637,7 @@ function stdServiceCustomBearer(params) {
22632
22637
  secretEnv: c.secretEnvVar
22633
22638
  }
22634
22639
  }]
22635
- };
22640
+ });
22636
22641
  }
22637
22642
 
22638
22643
  // behaviors/functions/organisms/std-service-research-assistant.ts
@@ -23142,7 +23147,7 @@ function stdAgentChatThreadPage(params = {}) {
23142
23147
  }
23143
23148
  function stdAgentChatThread(params = {}) {
23144
23149
  const c = resolve84(params);
23145
- return makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]);
23150
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]));
23146
23151
  }
23147
23152
 
23148
23153
  // behaviors/functions/atoms/std-agent-conversation.ts
@@ -23314,7 +23319,7 @@ function stdAgentConversation(params = {}) {
23314
23319
  { ref: agentTrait.name }
23315
23320
  ]
23316
23321
  };
23317
- return makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]);
23322
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]));
23318
23323
  }
23319
23324
  function resolve86(params) {
23320
23325
  const entityName = params.entityName ?? "Memory";
@@ -23556,7 +23561,7 @@ function stdAgentMemory(params = {}) {
23556
23561
  { ref: agentTrait.name }
23557
23562
  ]
23558
23563
  };
23559
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]);
23564
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]));
23560
23565
  }
23561
23566
  function resolve87(params) {
23562
23567
  const entityName = params.entityName ?? "TokenUsage";
@@ -23922,7 +23927,7 @@ function stdAgentTokenGaugePage(params = {}) {
23922
23927
  }
23923
23928
  function stdAgentTokenGauge(params = {}) {
23924
23929
  const c = resolve87(params);
23925
- return makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]);
23930
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]));
23926
23931
  }
23927
23932
 
23928
23933
  // behaviors/functions/atoms/std-agent-context-window.ts
@@ -24142,7 +24147,7 @@ function stdAgentContextWindow(params = {}) {
24142
24147
  { ref: agentTrait.name }
24143
24148
  ]
24144
24149
  };
24145
- return makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]);
24150
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]));
24146
24151
  }
24147
24152
  function resolve89(params) {
24148
24153
  const entityName = params.entityName ?? "ProviderState";
@@ -24348,7 +24353,7 @@ function stdAgentProvider(params = {}) {
24348
24353
  { ref: agentTrait.name }
24349
24354
  ]
24350
24355
  };
24351
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
24356
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
24352
24357
  }
24353
24358
 
24354
24359
  // behaviors/functions/organisms/std-agent-assistant.ts
@@ -24373,7 +24378,8 @@ function stdAgentAssistant(params = {}) {
24373
24378
  pagePath: "/chat",
24374
24379
  isInitial: true
24375
24380
  });
24376
- const convTrait = conversationOrbital.traits[0];
24381
+ const convDef = conversationOrbital.orbitals[0];
24382
+ const convTrait = convDef.traits[0];
24377
24383
  convTrait.name = "AssistantConversation";
24378
24384
  convTrait.emits = [
24379
24385
  ...convTrait.emits ?? [],
@@ -24394,7 +24400,8 @@ function stdAgentAssistant(params = {}) {
24394
24400
  pageName: "ContextPage",
24395
24401
  pagePath: "/context"
24396
24402
  });
24397
- const ctxTrait = contextOrbital.traits[0];
24403
+ const ctxDef = contextOrbital.orbitals[0];
24404
+ const ctxTrait = ctxDef.traits[0];
24398
24405
  ctxTrait.name = "AssistantContextMonitor";
24399
24406
  const providerOrbital = stdAgentProvider({
24400
24407
  entityName: "ProviderConfig",
@@ -24403,7 +24410,8 @@ function stdAgentAssistant(params = {}) {
24403
24410
  pageName: "SettingsPage",
24404
24411
  pagePath: "/settings"
24405
24412
  });
24406
- const provTrait = providerOrbital.traits[0];
24413
+ const provDef = providerOrbital.orbitals[0];
24414
+ const provTrait = provDef.traits[0];
24407
24415
  provTrait.name = "ProviderManager";
24408
24416
  provTrait.emits = [
24409
24417
  ...provTrait.emits ?? [],
@@ -24693,7 +24701,7 @@ function stdAgentClassifier(params = {}) {
24693
24701
  { ref: agentTrait.name }
24694
24702
  ]
24695
24703
  };
24696
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
24704
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
24697
24705
  }
24698
24706
  function resolve91(params) {
24699
24707
  const entityName = params.entityName ?? "Completion";
@@ -24919,7 +24927,7 @@ function stdAgentCompletion(params = {}) {
24919
24927
  { ref: agentTrait.name }
24920
24928
  ]
24921
24929
  };
24922
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
24930
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
24923
24931
  }
24924
24932
 
24925
24933
  // behaviors/functions/molecules/std-agent-planner.ts
@@ -25047,7 +25055,7 @@ function planningView() {
25047
25055
  justify: "center",
25048
25056
  children: [
25049
25057
  { type: "badge", label: ["str/concat", "Category: ", "@entity.category"] },
25050
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryCount"], " memories loaded"] }
25058
+ { type: "badge", label: ["str/concat", "@entity.memoryCount", " memories loaded"] }
25051
25059
  ]
25052
25060
  }
25053
25061
  ]
@@ -25085,7 +25093,7 @@ function readyView(entityName) {
25085
25093
  columns: 3,
25086
25094
  children: [
25087
25095
  { type: "stat-display", label: "Category", value: `@entity.category`, icon: "tag" },
25088
- { type: "stat-display", label: "Confidence", value: ["str/concat", ["str/concat", "@entity.confidence"], "%"], icon: "target" },
25096
+ { type: "stat-display", label: "Confidence", value: ["str/concat", "@entity.confidence", "%"], icon: "target" },
25089
25097
  { type: "stat-display", label: "Memories Used", value: `@entity.memoryCount`, icon: "brain" }
25090
25098
  ]
25091
25099
  },
@@ -25418,12 +25426,12 @@ function stdAgentPlanner(params) {
25418
25426
  { ref: memoryTrait.name }
25419
25427
  ]
25420
25428
  };
25421
- return makeOrbital(
25429
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
25422
25430
  `${entityName}Orbital`,
25423
25431
  entity,
25424
25432
  [plannerTrait, modalTrait, classifierTrait, completionTrait, memoryTrait],
25425
25433
  [page]
25426
- );
25434
+ ));
25427
25435
  }
25428
25436
  function resolve93(params) {
25429
25437
  const entityName = params.entityName ?? "ToolCall";
@@ -25654,7 +25662,7 @@ function stdAgentToolCall(params = {}) {
25654
25662
  { ref: agentTrait.name }
25655
25663
  ]
25656
25664
  };
25657
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]);
25665
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]));
25658
25666
  }
25659
25667
  function resolve94(params) {
25660
25668
  const entityName = params.entityName ?? "StepTracker";
@@ -25938,7 +25946,7 @@ function stdAgentStepProgressPage(params = {}) {
25938
25946
  }
25939
25947
  function stdAgentStepProgress(params = {}) {
25940
25948
  const c = resolve94(params);
25941
- return makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]);
25949
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]));
25942
25950
  }
25943
25951
 
25944
25952
  // behaviors/functions/molecules/std-agent-tool-loop.ts
@@ -26065,7 +26073,7 @@ function executingView() {
26065
26073
  { type: "typography", content: "Executing Tool", variant: "h2" }
26066
26074
  ]
26067
26075
  },
26068
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"], "/", ["str/concat", "@entity.maxIterations"]] }
26076
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations", "/", "@entity.maxIterations"] }
26069
26077
  ]
26070
26078
  },
26071
26079
  { type: "divider" },
@@ -26107,7 +26115,7 @@ function checkingView() {
26107
26115
  { type: "icon", name: "eye", size: "lg" },
26108
26116
  { type: "typography", content: "Checking result...", variant: "h3" },
26109
26117
  { type: "spinner", size: "lg" },
26110
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"]] }
26118
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations"] }
26111
26119
  ]
26112
26120
  };
26113
26121
  }
@@ -26488,12 +26496,12 @@ function stdAgentToolLoop(params) {
26488
26496
  { ref: contextTrait.name }
26489
26497
  ]
26490
26498
  };
26491
- return makeOrbital(
26499
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
26492
26500
  `${entityName}Orbital`,
26493
26501
  entity,
26494
26502
  [loopTrait, stepProgressTrait, completionTrait, toolCallTrait, contextTrait],
26495
26503
  [page]
26496
- );
26504
+ ));
26497
26505
  }
26498
26506
  function resolve96(params) {
26499
26507
  const entityName = params.entityName ?? "FixLoop";
@@ -26588,7 +26596,7 @@ function validatingView() {
26588
26596
  justify: "center",
26589
26597
  children: [
26590
26598
  { type: "badge", label: `@entity.target` },
26591
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"], "/", ["str/concat", "@entity.maxAttempts"]] }
26599
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts", "/", "@entity.maxAttempts"] }
26592
26600
  ]
26593
26601
  }
26594
26602
  ]
@@ -26617,7 +26625,7 @@ function fixingView() {
26617
26625
  { type: "typography", content: "Generating fix...", variant: "h2" }
26618
26626
  ]
26619
26627
  },
26620
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"]] }
26628
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts"] }
26621
26629
  ]
26622
26630
  },
26623
26631
  { type: "divider" },
@@ -27044,12 +27052,12 @@ function stdAgentFixLoop(params) {
27044
27052
  { ref: completionTrait.name }
27045
27053
  ]
27046
27054
  };
27047
- return makeOrbital(
27055
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
27048
27056
  `${entityName}Orbital`,
27049
27057
  entity,
27050
27058
  [fixTrait, stepProgressTrait, errorsBrowseTrait, validateCallTrait, fixCallTrait, completionTrait],
27051
27059
  [page]
27052
- );
27060
+ ));
27053
27061
  }
27054
27062
  function resolve97(params) {
27055
27063
  const entityName = params.entityName ?? "Session";
@@ -27320,7 +27328,7 @@ function stdAgentSession(params = {}) {
27320
27328
  { ref: agentTrait.name }
27321
27329
  ]
27322
27330
  };
27323
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]);
27331
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]));
27324
27332
  }
27325
27333
 
27326
27334
  // behaviors/functions/organisms/std-agent-builder.ts
@@ -27344,7 +27352,8 @@ function stdAgentBuilder(params = {}) {
27344
27352
  isInitial: true,
27345
27353
  categories: ["schema", "component", "trait", "page", "behavior"]
27346
27354
  });
27347
- const plannerTrait = plannerOrbital.traits[0];
27355
+ const plannerDef = plannerOrbital.orbitals[0];
27356
+ const plannerTrait = plannerDef.traits[0];
27348
27357
  plannerTrait.name = "BuildPlanner";
27349
27358
  const toolLoopOrbital = stdAgentToolLoop({
27350
27359
  entityName: "BuildLoop",
@@ -27354,7 +27363,8 @@ function stdAgentBuilder(params = {}) {
27354
27363
  maxIterations: 10,
27355
27364
  compactThreshold: 0.8
27356
27365
  });
27357
- const toolLoopTrait = toolLoopOrbital.traits[0];
27366
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
27367
+ const toolLoopTrait = toolLoopDef.traits[0];
27358
27368
  toolLoopTrait.name = "SchemaBuilder";
27359
27369
  const fixLoopOrbital = stdAgentFixLoop({
27360
27370
  entityName: "BuildFix",
@@ -27366,7 +27376,8 @@ function stdAgentBuilder(params = {}) {
27366
27376
  validateTool: "validate-schema",
27367
27377
  fixTool: "apply-fix"
27368
27378
  });
27369
- const fixLoopTrait = fixLoopOrbital.traits[0];
27379
+ const fixLoopDef = fixLoopOrbital.orbitals[0];
27380
+ const fixLoopTrait = fixLoopDef.traits[0];
27370
27381
  fixLoopTrait.name = "FixLoop";
27371
27382
  const sessionOrbital = stdAgentSession({
27372
27383
  entityName: "BuildSession",
@@ -27374,7 +27385,8 @@ function stdAgentBuilder(params = {}) {
27374
27385
  pageName: "SessionPage",
27375
27386
  pagePath: "/session"
27376
27387
  });
27377
- const sessionTrait = sessionOrbital.traits[0];
27388
+ const sessionDef = sessionOrbital.orbitals[0];
27389
+ const sessionTrait = sessionDef.traits[0];
27378
27390
  sessionTrait.name = "BuildSessionManager";
27379
27391
  const taskFields = ensureIdField(params.taskFields ?? DEFAULT_TASK_FIELDS2);
27380
27392
  const tabsTrait = extractTrait(stdTabs({
@@ -27611,7 +27623,7 @@ function stdAgentSearch(params = {}) {
27611
27623
  { ref: agentTrait.name }
27612
27624
  ]
27613
27625
  };
27614
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]);
27626
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]));
27615
27627
  }
27616
27628
 
27617
27629
  // behaviors/functions/molecules/std-agent-rag.ts
@@ -27729,8 +27741,8 @@ function generatingView() {
27729
27741
  gap: "md",
27730
27742
  justify: "center",
27731
27743
  children: [
27732
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryHits"], " memories"] },
27733
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.searchHits"], " code hits"] }
27744
+ { type: "badge", label: ["str/concat", "@entity.memoryHits", " memories"] },
27745
+ { type: "badge", label: ["str/concat", "@entity.searchHits", " code hits"] }
27734
27746
  ]
27735
27747
  }
27736
27748
  ]
@@ -28031,12 +28043,12 @@ function stdAgentRag(params) {
28031
28043
  { ref: completionTrait.name }
28032
28044
  ]
28033
28045
  };
28034
- return makeOrbital(
28046
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
28035
28047
  `${entityName}Orbital`,
28036
28048
  entity,
28037
28049
  [ragTrait, tabsTrait, memoryTrait, searchTrait, completionTrait],
28038
28050
  [page]
28039
- );
28051
+ ));
28040
28052
  }
28041
28053
 
28042
28054
  // behaviors/functions/organisms/std-agent-reviewer.ts
@@ -28271,7 +28283,8 @@ function stdAgentReviewer(params = {}) {
28271
28283
  pageName: "AnalysisPage",
28272
28284
  pagePath: "/analysis"
28273
28285
  });
28274
- const classifierTrait = classifierOrbital.traits[0];
28286
+ const classifierDef = classifierOrbital.orbitals[0];
28287
+ const classifierTrait = classifierDef.traits[0];
28275
28288
  classifierTrait.name = "InputClassifier";
28276
28289
  classifierTrait.emits = [
28277
28290
  { event: "CLASSIFIED", description: "Input has been classified", scope: "internal", payload: [{ name: "category", type: "string" }] }
@@ -28282,7 +28295,8 @@ function stdAgentReviewer(params = {}) {
28282
28295
  pageName: "CompletionPage",
28283
28296
  pagePath: "/completion"
28284
28297
  });
28285
- const completionTrait = completionOrbital.traits[0];
28298
+ const completionDef = completionOrbital.orbitals[0];
28299
+ const completionTrait = completionDef.traits[0];
28286
28300
  completionTrait.name = "ReviewCompletionFlow";
28287
28301
  const tabsTrait = extractTrait(stdTabs({
28288
28302
  entityName: "Review",
@@ -28375,7 +28389,8 @@ function stdAgentPipeline(params = {}) {
28375
28389
  isInitial: true,
28376
28390
  categories: ["data", "transform", "validate", "deploy", "test"]
28377
28391
  });
28378
- const plannerTrait = plannerOrbital.traits[0];
28392
+ const plannerDef = plannerOrbital.orbitals[0];
28393
+ const plannerTrait = plannerDef.traits[0];
28379
28394
  plannerTrait.name = "PipelinePlanner";
28380
28395
  plannerTrait.emits = [
28381
28396
  ...plannerTrait.emits ?? [],
@@ -28390,7 +28405,8 @@ function stdAgentPipeline(params = {}) {
28390
28405
  maxIterations: 20,
28391
28406
  compactThreshold: 0.8
28392
28407
  });
28393
- const toolLoopTrait = toolLoopOrbital.traits[0];
28408
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
28409
+ const toolLoopTrait = toolLoopDef.traits[0];
28394
28410
  toolLoopTrait.name = "PipelineExecutor";
28395
28411
  toolLoopTrait.emits = [
28396
28412
  ...toolLoopTrait.emits ?? [],
@@ -28405,7 +28421,8 @@ function stdAgentPipeline(params = {}) {
28405
28421
  pageName: "SessionPage",
28406
28422
  pagePath: "/session"
28407
28423
  });
28408
- const sessionTrait = sessionOrbital.traits[0];
28424
+ const sessionDef = sessionOrbital.orbitals[0];
28425
+ const sessionTrait = sessionDef.traits[0];
28409
28426
  sessionTrait.name = "PipelineSessionManager";
28410
28427
  const memoryOrbital = stdAgentMemory({
28411
28428
  entityName: "ExecutionLog",
@@ -28932,7 +28949,8 @@ function stdAgentTutor(params = {}) {
28932
28949
  pagePath: "/teach",
28933
28950
  isInitial: true
28934
28951
  });
28935
- const convTrait = conversationOrbital.traits[0];
28952
+ const convDef = conversationOrbital.orbitals[0];
28953
+ const convTrait = convDef.traits[0];
28936
28954
  convTrait.name = "TutorConversation";
28937
28955
  const memoryOrbital = stdAgentMemory({
28938
28956
  entityName: "Concept",
@@ -28948,7 +28966,8 @@ function stdAgentTutor(params = {}) {
28948
28966
  pageName: "AssessmentPage",
28949
28967
  pagePath: "/assessment"
28950
28968
  });
28951
- const clsTrait = classifierOrbital.traits[0];
28969
+ const clsDef = classifierOrbital.orbitals[0];
28970
+ const clsTrait = clsDef.traits[0];
28952
28971
  clsTrait.name = "LevelClassifier";
28953
28972
  const tabsTrait = extractTrait(stdTabs({
28954
28973
  entityName: "TutorSession",
@@ -29200,7 +29219,7 @@ function stdAgentActivityLogPage(params = {}) {
29200
29219
  }
29201
29220
  function stdAgentActivityLog(params = {}) {
29202
29221
  const c = resolve100(params);
29203
- return makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]);
29222
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]));
29204
29223
  }
29205
29224
  function resolve101(params) {
29206
29225
  const entityName = params.entityName ?? "LearningRecord";
@@ -29479,7 +29498,7 @@ function buildTrait76(c) {
29479
29498
  ["if", "@entity.isSuccess", "success", "failure"],
29480
29499
  "\n",
29481
29500
  "Consecutive failures: ",
29482
- ["str/concat", "@entity.consecutiveFailures"],
29501
+ "@entity.consecutiveFailures",
29483
29502
  "\n\n",
29484
29503
  "Analyze the impact of this outcome. What should be learned? Keep it to 1-2 sentences."
29485
29504
  ]],
@@ -29619,12 +29638,12 @@ function stdAgentLearner(params) {
29619
29638
  { ref: providerTrait.name }
29620
29639
  ]
29621
29640
  };
29622
- return makeOrbital(
29641
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
29623
29642
  `${entityName}Orbital`,
29624
29643
  entity,
29625
29644
  [learnerTrait, recordsBrowseTrait, memoryTrait, completionTrait, providerTrait],
29626
29645
  [page]
29627
- );
29646
+ ));
29628
29647
  }
29629
29648
  function stdValidateOnSave(params = {}) {
29630
29649
  const {
@@ -29901,7 +29920,7 @@ function stdValidateOnSave(params = {}) {
29901
29920
  traitName: "OrbFileWatcher"
29902
29921
  })
29903
29922
  ];
29904
- return makeOrbital("ValidateOnSave", entity, [trait], pages);
29923
+ return makeSchema("ValidateOnSave", makeOrbital("ValidateOnSave", entity, [trait], pages));
29905
29924
  }
29906
29925
  function resolve102(params) {
29907
29926
  const { entityName } = params;
@@ -30133,12 +30152,12 @@ function stdServiceEmail(params) {
30133
30152
  const pages = [];
30134
30153
  const page = buildPage74(c);
30135
30154
  if (page) pages.push(page);
30136
- return makeOrbital(
30155
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
30137
30156
  `${c.entityName}Orbital`,
30138
30157
  buildEntity88(c),
30139
30158
  [buildTrait77(c)],
30140
30159
  pages
30141
- );
30160
+ ));
30142
30161
  }
30143
30162
  function resolve103(params) {
30144
30163
  const entityName = params.entityName ?? "Payment";
@@ -30381,12 +30400,12 @@ function stdServiceStripePage(params = {}) {
30381
30400
  }
30382
30401
  function stdServiceStripe(params = {}) {
30383
30402
  const c = resolve103(params);
30384
- return makeOrbital(
30403
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
30385
30404
  `${c.entityName}Orbital`,
30386
30405
  buildEntity89(c),
30387
30406
  [buildTrait78(c)],
30388
30407
  [buildPage75(c)]
30389
- );
30408
+ ));
30390
30409
  }
30391
30410
  function resolve104(params) {
30392
30411
  const entityName = params.entityName ?? "Message";
@@ -30632,12 +30651,12 @@ function stdServiceTwilio(params = {}) {
30632
30651
  const pages = [];
30633
30652
  const page = buildPage76(c);
30634
30653
  if (page) pages.push(page);
30635
- return makeOrbital(
30654
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
30636
30655
  `${c.entityName}Orbital`,
30637
30656
  buildEntity90(c),
30638
30657
  [buildTrait79(c)],
30639
30658
  pages
30640
- );
30659
+ ));
30641
30660
  }
30642
30661
  function resolve105(params) {
30643
30662
  const entityName = params.entityName ?? "PullRequest";
@@ -30853,12 +30872,12 @@ function stdServiceGithubPage(params = {}) {
30853
30872
  }
30854
30873
  function stdServiceGithub(params = {}) {
30855
30874
  const c = resolve105(params);
30856
- return makeOrbital(
30875
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
30857
30876
  `${c.entityName}Orbital`,
30858
30877
  buildEntity91(c),
30859
30878
  [buildTrait80(c)],
30860
30879
  [buildPage77(c)]
30861
- );
30880
+ ));
30862
30881
  }
30863
30882
  function resolve106(params) {
30864
30883
  const entityName = params.entityName ?? "VideoSearch";
@@ -31167,12 +31186,12 @@ function stdServiceYoutube(params = {}) {
31167
31186
  const pages = [];
31168
31187
  const page = buildPage78(c);
31169
31188
  if (page) pages.push(page);
31170
- return makeOrbital(
31189
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
31171
31190
  `${c.entityName}Orbital`,
31172
31191
  buildEntity92(c),
31173
31192
  [buildTrait81(c)],
31174
31193
  pages
31175
- );
31194
+ ));
31176
31195
  }
31177
31196
  function resolve107(params) {
31178
31197
  const entityName = params.entityName ?? "LlmTask";
@@ -31434,12 +31453,12 @@ function stdServiceLlm(params = {}) {
31434
31453
  const pages = [];
31435
31454
  const page = buildPage79(c);
31436
31455
  if (page) pages.push(page);
31437
- return makeOrbital(
31456
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
31438
31457
  `${c.entityName}Orbital`,
31439
31458
  buildEntity93(c),
31440
31459
  [buildTrait82(c)],
31441
31460
  pages
31442
- );
31461
+ ));
31443
31462
  }
31444
31463
  function resolve108(params) {
31445
31464
  const entityName = params.entityName ?? "ApiCall";
@@ -31655,7 +31674,7 @@ function stdServiceCustomHeader(params) {
31655
31674
  [buildTrait83(c)],
31656
31675
  [buildPage80(c)]
31657
31676
  );
31658
- return {
31677
+ return makeSchema(`${c.entityName}Orbital`, {
31659
31678
  ...orbital,
31660
31679
  services: [{
31661
31680
  name: "custom-header-api",
@@ -31668,7 +31687,7 @@ function stdServiceCustomHeader(params) {
31668
31687
  secretEnv: c.secretEnvVar
31669
31688
  }
31670
31689
  }]
31671
- };
31690
+ });
31672
31691
  }
31673
31692
  function resolve109(params) {
31674
31693
  const entityName = params.entityName ?? "ApiCall";
@@ -31884,7 +31903,7 @@ function stdServiceCustomQuery(params) {
31884
31903
  [buildTrait84(c)],
31885
31904
  [buildPage81(c)]
31886
31905
  );
31887
- return {
31906
+ return makeSchema(`${c.entityName}Orbital`, {
31888
31907
  ...orbital,
31889
31908
  services: [{
31890
31909
  name: "custom-query-api",
@@ -31897,7 +31916,7 @@ function stdServiceCustomQuery(params) {
31897
31916
  secretEnv: c.secretEnvVar
31898
31917
  }
31899
31918
  }]
31900
- };
31919
+ });
31901
31920
  }
31902
31921
  function resolve110(params) {
31903
31922
  const entityName = params.entityName ?? "ApiCall";
@@ -32111,14 +32130,14 @@ function stdServiceCustomNoauth(params) {
32111
32130
  [buildTrait85(c)],
32112
32131
  [buildPage82(c)]
32113
32132
  );
32114
- return {
32133
+ return makeSchema(`${c.entityName}Orbital`, {
32115
32134
  ...orbital,
32116
32135
  services: [{
32117
32136
  name: "custom-noauth-api",
32118
32137
  type: "rest",
32119
32138
  baseUrl: c.baseUrl
32120
32139
  }]
32121
- };
32140
+ });
32122
32141
  }
32123
32142
 
32124
32143
  // behaviors/exports-reader.ts