@almadar/std 5.2.2 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +220 -10
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +63 -4
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +12 -4
  4. package/behaviors/exports/atoms/std-agent-completion.orb +12 -4
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +8 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +79 -4
  7. package/behaviors/exports/atoms/std-agent-memory.orb +16 -4
  8. package/behaviors/exports/atoms/std-agent-provider.orb +12 -4
  9. package/behaviors/exports/atoms/std-agent-search.orb +8 -4
  10. package/behaviors/exports/atoms/std-agent-session.orb +20 -4
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +8 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +8 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +12 -4
  14. package/behaviors/exports/atoms/std-async.orb +12 -4
  15. package/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  16. package/behaviors/exports/atoms/std-browse.orb +8 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +12 -4
  18. package/behaviors/exports/atoms/std-calendar.orb +8 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +8 -4
  20. package/behaviors/exports/atoms/std-collision.orb +8 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +8 -4
  22. package/behaviors/exports/atoms/std-combat.orb +8 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +4 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +8 -4
  25. package/behaviors/exports/atoms/std-display.orb +153 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +58 -4
  27. package/behaviors/exports/atoms/std-filter.orb +8 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +8 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +8 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +8 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -3
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -3
  33. package/behaviors/exports/atoms/std-game-hud.orb +16 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +8 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +8 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +8 -4
  37. package/behaviors/exports/atoms/std-input.orb +8 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +12 -4
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +8 -4
  40. package/behaviors/exports/atoms/std-loading.orb +8 -4
  41. package/behaviors/exports/atoms/std-modal.orb +8 -4
  42. package/behaviors/exports/atoms/std-movement.orb +8 -4
  43. package/behaviors/exports/atoms/std-notification.orb +8 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +8 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +8 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +8 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +8 -4
  48. package/behaviors/exports/atoms/std-quest.orb +14 -5
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +8 -4
  50. package/behaviors/exports/atoms/std-rating.orb +8 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +8 -4
  52. package/behaviors/exports/atoms/std-score.orb +8 -4
  53. package/behaviors/exports/atoms/std-search.orb +8 -4
  54. package/behaviors/exports/atoms/std-selection.orb +8 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +19 -4
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +21 -4
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +15 -4
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +21 -4
  59. package/behaviors/exports/atoms/std-service-email.orb +8 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +8 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +8 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +8 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +8 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +8 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +8 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +8 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +8 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +8 -4
  69. package/behaviors/exports/atoms/std-sort.orb +52 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +8 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +16 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +8 -4
  73. package/behaviors/exports/atoms/std-theme.orb +8 -4
  74. package/behaviors/exports/atoms/std-timer.orb +8 -4
  75. package/behaviors/exports/atoms/std-undo.orb +8 -4
  76. package/behaviors/exports/atoms/std-upload.orb +8 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  78. package/behaviors/exports/atoms/std-wizard.orb +26 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  80. package/behaviors/exports/molecules/std-agent-learner.orb +856 -626
  81. package/behaviors/exports/molecules/std-agent-planner.orb +873 -623
  82. package/behaviors/exports/molecules/std-agent-rag.orb +804 -604
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +2860 -931
  84. package/behaviors/exports/molecules/std-builder-game.orb +8 -4
  85. package/behaviors/exports/molecules/std-cart.orb +318 -197
  86. package/behaviors/exports/molecules/std-classifier-game.orb +8 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +8 -4
  88. package/behaviors/exports/molecules/std-detail.orb +489 -307
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +8 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +12 -4
  91. package/behaviors/exports/molecules/std-geospatial.orb +519 -364
  92. package/behaviors/exports/molecules/std-inventory.orb +650 -391
  93. package/behaviors/exports/molecules/std-list.orb +890 -526
  94. package/behaviors/exports/molecules/std-messaging.orb +474 -293
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +8 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +8 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +8 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +8 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +8 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +8 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +46 -4
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +8 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +8 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +8 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +8 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +8 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  108. package/behaviors/exports/organisms/std-agent-builder.orb +1321 -835
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +1284 -782
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +372 -300
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  112. package/behaviors/exports/organisms/std-api-gateway.orb +21 -4
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +38 -4
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +25 -4
  116. package/behaviors/exports/organisms/std-cms.orb +42 -4
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +42 -4
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +21 -4
  120. package/behaviors/exports/organisms/std-ecommerce.orb +46 -4
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +25 -4
  122. package/behaviors/exports/organisms/std-healthcare.orb +42 -4
  123. package/behaviors/exports/organisms/std-helpdesk.orb +25 -4
  124. package/behaviors/exports/organisms/std-hr-portal.orb +38 -4
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +21 -4
  126. package/behaviors/exports/organisms/std-lms.orb +21 -4
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  129. package/behaviors/exports/organisms/std-project-manager.orb +38 -4
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +25 -4
  132. package/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +46 -8
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  135. package/behaviors/exports/organisms/std-social-feed.orb +12 -4
  136. package/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  137. package/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  138. package/behaviors/exports/organisms/std-trading-dashboard.orb +25 -4
  139. package/behaviors/exports/validation-report.json +1662 -1
  140. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +220 -10
  141. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +63 -4
  142. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +12 -4
  143. package/dist/behaviors/exports/atoms/std-agent-completion.orb +12 -4
  144. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +8 -4
  145. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +79 -4
  146. package/dist/behaviors/exports/atoms/std-agent-memory.orb +16 -4
  147. package/dist/behaviors/exports/atoms/std-agent-provider.orb +12 -4
  148. package/dist/behaviors/exports/atoms/std-agent-search.orb +8 -4
  149. package/dist/behaviors/exports/atoms/std-agent-session.orb +20 -4
  150. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +8 -4
  151. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +8 -4
  152. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +12 -4
  153. package/dist/behaviors/exports/atoms/std-async.orb +12 -4
  154. package/dist/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  155. package/dist/behaviors/exports/atoms/std-browse.orb +8 -4
  156. package/dist/behaviors/exports/atoms/std-cache-aside.orb +12 -4
  157. package/dist/behaviors/exports/atoms/std-calendar.orb +8 -4
  158. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +8 -4
  159. package/dist/behaviors/exports/atoms/std-collision.orb +8 -4
  160. package/dist/behaviors/exports/atoms/std-combat-log.orb +8 -4
  161. package/dist/behaviors/exports/atoms/std-combat.orb +8 -4
  162. package/dist/behaviors/exports/atoms/std-confirmation.orb +4 -4
  163. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +8 -4
  164. package/dist/behaviors/exports/atoms/std-display.orb +153 -4
  165. package/dist/behaviors/exports/atoms/std-drawer.orb +58 -4
  166. package/dist/behaviors/exports/atoms/std-filter.orb +8 -4
  167. package/dist/behaviors/exports/atoms/std-flip-card.orb +8 -4
  168. package/dist/behaviors/exports/atoms/std-gallery.orb +8 -4
  169. package/dist/behaviors/exports/atoms/std-game-audio.orb +8 -4
  170. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -3
  171. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -3
  172. package/dist/behaviors/exports/atoms/std-game-hud.orb +16 -4
  173. package/dist/behaviors/exports/atoms/std-game-menu.orb +8 -4
  174. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +8 -4
  175. package/dist/behaviors/exports/atoms/std-gameflow.orb +8 -4
  176. package/dist/behaviors/exports/atoms/std-input.orb +8 -4
  177. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +12 -4
  178. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +8 -4
  179. package/dist/behaviors/exports/atoms/std-loading.orb +8 -4
  180. package/dist/behaviors/exports/atoms/std-modal.orb +8 -4
  181. package/dist/behaviors/exports/atoms/std-movement.orb +8 -4
  182. package/dist/behaviors/exports/atoms/std-notification.orb +8 -4
  183. package/dist/behaviors/exports/atoms/std-overworld.orb +8 -4
  184. package/dist/behaviors/exports/atoms/std-pagination.orb +8 -4
  185. package/dist/behaviors/exports/atoms/std-physics2d.orb +8 -4
  186. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +8 -4
  187. package/dist/behaviors/exports/atoms/std-quest.orb +14 -5
  188. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +8 -4
  189. package/dist/behaviors/exports/atoms/std-rating.orb +8 -4
  190. package/dist/behaviors/exports/atoms/std-score-board.orb +8 -4
  191. package/dist/behaviors/exports/atoms/std-score.orb +8 -4
  192. package/dist/behaviors/exports/atoms/std-search.orb +8 -4
  193. package/dist/behaviors/exports/atoms/std-selection.orb +8 -4
  194. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +19 -4
  195. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +21 -4
  196. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +15 -4
  197. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +21 -4
  198. package/dist/behaviors/exports/atoms/std-service-email.orb +8 -4
  199. package/dist/behaviors/exports/atoms/std-service-github.orb +8 -4
  200. package/dist/behaviors/exports/atoms/std-service-llm.orb +8 -4
  201. package/dist/behaviors/exports/atoms/std-service-oauth.orb +8 -4
  202. package/dist/behaviors/exports/atoms/std-service-redis.orb +8 -4
  203. package/dist/behaviors/exports/atoms/std-service-storage.orb +8 -4
  204. package/dist/behaviors/exports/atoms/std-service-stripe.orb +8 -4
  205. package/dist/behaviors/exports/atoms/std-service-twilio.orb +8 -4
  206. package/dist/behaviors/exports/atoms/std-service-youtube.orb +8 -4
  207. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +8 -4
  208. package/dist/behaviors/exports/atoms/std-sort.orb +52 -4
  209. package/dist/behaviors/exports/atoms/std-sprite.orb +8 -4
  210. package/dist/behaviors/exports/atoms/std-tabs.orb +16 -4
  211. package/dist/behaviors/exports/atoms/std-text-effects.orb +8 -4
  212. package/dist/behaviors/exports/atoms/std-theme.orb +8 -4
  213. package/dist/behaviors/exports/atoms/std-timer.orb +8 -4
  214. package/dist/behaviors/exports/atoms/std-undo.orb +8 -4
  215. package/dist/behaviors/exports/atoms/std-upload.orb +8 -4
  216. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  217. package/dist/behaviors/exports/atoms/std-wizard.orb +26 -4
  218. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  219. package/dist/behaviors/exports/molecules/std-agent-learner.orb +856 -626
  220. package/dist/behaviors/exports/molecules/std-agent-planner.orb +873 -623
  221. package/dist/behaviors/exports/molecules/std-agent-rag.orb +804 -604
  222. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +2860 -931
  223. package/dist/behaviors/exports/molecules/std-builder-game.orb +8 -4
  224. package/dist/behaviors/exports/molecules/std-cart.orb +318 -197
  225. package/dist/behaviors/exports/molecules/std-classifier-game.orb +8 -4
  226. package/dist/behaviors/exports/molecules/std-debugger-game.orb +8 -4
  227. package/dist/behaviors/exports/molecules/std-detail.orb +489 -307
  228. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +8 -4
  229. package/dist/behaviors/exports/molecules/std-form-advanced.orb +12 -4
  230. package/dist/behaviors/exports/molecules/std-geospatial.orb +519 -364
  231. package/dist/behaviors/exports/molecules/std-inventory.orb +650 -391
  232. package/dist/behaviors/exports/molecules/std-list.orb +890 -526
  233. package/dist/behaviors/exports/molecules/std-messaging.orb +474 -293
  234. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +8 -4
  235. package/dist/behaviors/exports/molecules/std-platformer-game.orb +8 -4
  236. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +8 -4
  237. package/dist/behaviors/exports/molecules/std-quiz.orb +8 -4
  238. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +8 -4
  239. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +8 -4
  240. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +46 -4
  241. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +8 -4
  242. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +8 -4
  243. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +8 -4
  244. package/dist/behaviors/exports/molecules/std-simulator-game.orb +8 -4
  245. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +8 -4
  246. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  247. package/dist/behaviors/exports/organisms/std-agent-builder.orb +1321 -835
  248. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +1284 -782
  249. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +372 -300
  250. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  251. package/dist/behaviors/exports/organisms/std-api-gateway.orb +21 -4
  252. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  253. package/dist/behaviors/exports/organisms/std-booking-system.orb +38 -4
  254. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +25 -4
  255. package/dist/behaviors/exports/organisms/std-cms.orb +42 -4
  256. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  257. package/dist/behaviors/exports/organisms/std-crm.orb +42 -4
  258. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +21 -4
  259. package/dist/behaviors/exports/organisms/std-ecommerce.orb +46 -4
  260. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +25 -4
  261. package/dist/behaviors/exports/organisms/std-healthcare.orb +42 -4
  262. package/dist/behaviors/exports/organisms/std-helpdesk.orb +25 -4
  263. package/dist/behaviors/exports/organisms/std-hr-portal.orb +38 -4
  264. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +21 -4
  265. package/dist/behaviors/exports/organisms/std-lms.orb +21 -4
  266. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  267. package/dist/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  268. package/dist/behaviors/exports/organisms/std-project-manager.orb +38 -4
  269. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  270. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +25 -4
  271. package/dist/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  272. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +46 -8
  273. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  274. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -4
  275. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  277. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +25 -4
  278. package/dist/behaviors/exports/validation-report.json +1662 -1
  279. package/dist/behaviors/exports-reader.js +225 -206
  280. package/dist/behaviors/exports-reader.js.map +1 -1
  281. package/dist/behaviors/functions/index.d.ts +113 -113
  282. package/dist/behaviors/functions/index.js +225 -207
  283. package/dist/behaviors/functions/index.js.map +1 -1
  284. package/dist/behaviors/index.d.ts +1 -1
  285. package/dist/behaviors/index.js +226 -207
  286. package/dist/behaviors/index.js.map +1 -1
  287. package/dist/behaviors/query.js +225 -206
  288. package/dist/behaviors/query.js.map +1 -1
  289. package/dist/exports/atoms/std-agent-activity-log.orb +220 -10
  290. package/dist/exports/atoms/std-agent-chat-thread.orb +63 -4
  291. package/dist/exports/atoms/std-agent-classifier.orb +12 -4
  292. package/dist/exports/atoms/std-agent-completion.orb +12 -4
  293. package/dist/exports/atoms/std-agent-context-window.orb +8 -4
  294. package/dist/exports/atoms/std-agent-conversation.orb +79 -4
  295. package/dist/exports/atoms/std-agent-memory.orb +16 -4
  296. package/dist/exports/atoms/std-agent-provider.orb +12 -4
  297. package/dist/exports/atoms/std-agent-search.orb +8 -4
  298. package/dist/exports/atoms/std-agent-session.orb +20 -4
  299. package/dist/exports/atoms/std-agent-step-progress.orb +8 -4
  300. package/dist/exports/atoms/std-agent-token-gauge.orb +8 -4
  301. package/dist/exports/atoms/std-agent-tool-call.orb +12 -4
  302. package/dist/exports/atoms/std-async.orb +12 -4
  303. package/dist/exports/atoms/std-autoregressive.orb +2 -3
  304. package/dist/exports/atoms/std-browse.orb +8 -4
  305. package/dist/exports/atoms/std-cache-aside.orb +12 -4
  306. package/dist/exports/atoms/std-calendar.orb +8 -4
  307. package/dist/exports/atoms/std-circuit-breaker.orb +8 -4
  308. package/dist/exports/atoms/std-collision.orb +8 -4
  309. package/dist/exports/atoms/std-combat-log.orb +8 -4
  310. package/dist/exports/atoms/std-combat.orb +8 -4
  311. package/dist/exports/atoms/std-confirmation.orb +4 -4
  312. package/dist/exports/atoms/std-dialogue-box.orb +8 -4
  313. package/dist/exports/atoms/std-display.orb +153 -4
  314. package/dist/exports/atoms/std-drawer.orb +58 -4
  315. package/dist/exports/atoms/std-filter.orb +8 -4
  316. package/dist/exports/atoms/std-flip-card.orb +8 -4
  317. package/dist/exports/atoms/std-gallery.orb +8 -4
  318. package/dist/exports/atoms/std-game-audio.orb +8 -4
  319. package/dist/exports/atoms/std-game-canvas2d.orb +6 -3
  320. package/dist/exports/atoms/std-game-canvas3d.orb +6 -3
  321. package/dist/exports/atoms/std-game-hud.orb +16 -4
  322. package/dist/exports/atoms/std-game-menu.orb +8 -4
  323. package/dist/exports/atoms/std-game-over-screen.orb +8 -4
  324. package/dist/exports/atoms/std-gameflow.orb +8 -4
  325. package/dist/exports/atoms/std-input.orb +8 -4
  326. package/dist/exports/atoms/std-inventory-panel.orb +12 -4
  327. package/dist/exports/atoms/std-isometric-canvas.orb +8 -4
  328. package/dist/exports/atoms/std-loading.orb +8 -4
  329. package/dist/exports/atoms/std-modal.orb +8 -4
  330. package/dist/exports/atoms/std-movement.orb +8 -4
  331. package/dist/exports/atoms/std-notification.orb +8 -4
  332. package/dist/exports/atoms/std-overworld.orb +8 -4
  333. package/dist/exports/atoms/std-pagination.orb +8 -4
  334. package/dist/exports/atoms/std-physics2d.orb +8 -4
  335. package/dist/exports/atoms/std-platformer-canvas.orb +8 -4
  336. package/dist/exports/atoms/std-quest.orb +14 -5
  337. package/dist/exports/atoms/std-rate-limiter.orb +8 -4
  338. package/dist/exports/atoms/std-rating.orb +8 -4
  339. package/dist/exports/atoms/std-score-board.orb +8 -4
  340. package/dist/exports/atoms/std-score.orb +8 -4
  341. package/dist/exports/atoms/std-search.orb +8 -4
  342. package/dist/exports/atoms/std-selection.orb +8 -4
  343. package/dist/exports/atoms/std-service-custom-bearer.orb +19 -4
  344. package/dist/exports/atoms/std-service-custom-header.orb +21 -4
  345. package/dist/exports/atoms/std-service-custom-noauth.orb +15 -4
  346. package/dist/exports/atoms/std-service-custom-query.orb +21 -4
  347. package/dist/exports/atoms/std-service-email.orb +8 -4
  348. package/dist/exports/atoms/std-service-github.orb +8 -4
  349. package/dist/exports/atoms/std-service-llm.orb +8 -4
  350. package/dist/exports/atoms/std-service-oauth.orb +8 -4
  351. package/dist/exports/atoms/std-service-redis.orb +8 -4
  352. package/dist/exports/atoms/std-service-storage.orb +8 -4
  353. package/dist/exports/atoms/std-service-stripe.orb +8 -4
  354. package/dist/exports/atoms/std-service-twilio.orb +8 -4
  355. package/dist/exports/atoms/std-service-youtube.orb +8 -4
  356. package/dist/exports/atoms/std-simulation-canvas.orb +8 -4
  357. package/dist/exports/atoms/std-sort.orb +52 -4
  358. package/dist/exports/atoms/std-sprite.orb +8 -4
  359. package/dist/exports/atoms/std-tabs.orb +16 -4
  360. package/dist/exports/atoms/std-text-effects.orb +8 -4
  361. package/dist/exports/atoms/std-theme.orb +8 -4
  362. package/dist/exports/atoms/std-timer.orb +8 -4
  363. package/dist/exports/atoms/std-undo.orb +8 -4
  364. package/dist/exports/atoms/std-upload.orb +8 -4
  365. package/dist/exports/atoms/std-validate-on-save.orb +32 -4
  366. package/dist/exports/atoms/std-wizard.orb +26 -4
  367. package/dist/exports/molecules/std-agent-fix-loop.orb +1729 -1159
  368. package/dist/exports/molecules/std-agent-learner.orb +856 -626
  369. package/dist/exports/molecules/std-agent-planner.orb +873 -623
  370. package/dist/exports/molecules/std-agent-rag.orb +804 -604
  371. package/dist/exports/molecules/std-agent-tool-loop.orb +2860 -931
  372. package/dist/exports/molecules/std-builder-game.orb +8 -4
  373. package/dist/exports/molecules/std-cart.orb +318 -197
  374. package/dist/exports/molecules/std-classifier-game.orb +8 -4
  375. package/dist/exports/molecules/std-debugger-game.orb +8 -4
  376. package/dist/exports/molecules/std-detail.orb +489 -307
  377. package/dist/exports/molecules/std-event-handler-game.orb +8 -4
  378. package/dist/exports/molecules/std-form-advanced.orb +12 -4
  379. package/dist/exports/molecules/std-geospatial.orb +519 -364
  380. package/dist/exports/molecules/std-inventory.orb +650 -391
  381. package/dist/exports/molecules/std-list.orb +890 -526
  382. package/dist/exports/molecules/std-messaging.orb +474 -293
  383. package/dist/exports/molecules/std-negotiator-game.orb +8 -4
  384. package/dist/exports/molecules/std-platformer-game.orb +8 -4
  385. package/dist/exports/molecules/std-puzzle-game.orb +8 -4
  386. package/dist/exports/molecules/std-quiz.orb +8 -4
  387. package/dist/exports/molecules/std-sequencer-game.orb +8 -4
  388. package/dist/exports/molecules/std-service-content-pipeline.orb +8 -4
  389. package/dist/exports/molecules/std-service-custom-api-tester.orb +46 -4
  390. package/dist/exports/molecules/std-service-devops-toolkit.orb +8 -4
  391. package/dist/exports/molecules/std-service-notification-hub.orb +8 -4
  392. package/dist/exports/molecules/std-service-payment-flow.orb +8 -4
  393. package/dist/exports/molecules/std-simulator-game.orb +8 -4
  394. package/dist/exports/molecules/std-turn-based-battle.orb +8 -4
  395. package/dist/exports/organisms/std-agent-assistant.orb +28 -4
  396. package/dist/exports/organisms/std-agent-builder.orb +1321 -835
  397. package/dist/exports/organisms/std-agent-pipeline.orb +1284 -782
  398. package/dist/exports/organisms/std-agent-reviewer.orb +372 -300
  399. package/dist/exports/organisms/std-agent-tutor.orb +378 -295
  400. package/dist/exports/organisms/std-api-gateway.orb +21 -4
  401. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  402. package/dist/exports/organisms/std-booking-system.orb +38 -4
  403. package/dist/exports/organisms/std-cicd-pipeline.orb +25 -4
  404. package/dist/exports/organisms/std-cms.orb +42 -4
  405. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  406. package/dist/exports/organisms/std-crm.orb +42 -4
  407. package/dist/exports/organisms/std-devops-dashboard.orb +21 -4
  408. package/dist/exports/organisms/std-ecommerce.orb +46 -4
  409. package/dist/exports/organisms/std-finance-tracker.orb +25 -4
  410. package/dist/exports/organisms/std-healthcare.orb +42 -4
  411. package/dist/exports/organisms/std-helpdesk.orb +25 -4
  412. package/dist/exports/organisms/std-hr-portal.orb +38 -4
  413. package/dist/exports/organisms/std-iot-dashboard.orb +21 -4
  414. package/dist/exports/organisms/std-lms.orb +21 -4
  415. package/dist/exports/organisms/std-logic-training.orb +4 -4
  416. package/dist/exports/organisms/std-platformer-app.orb +16 -4
  417. package/dist/exports/organisms/std-project-manager.orb +38 -4
  418. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  419. package/dist/exports/organisms/std-realtime-chat.orb +25 -4
  420. package/dist/exports/organisms/std-rpg-game.orb +20 -4
  421. package/dist/exports/organisms/std-service-marketplace.orb +46 -8
  422. package/dist/exports/organisms/std-service-research-assistant.orb +15 -4
  423. package/dist/exports/organisms/std-social-feed.orb +12 -4
  424. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  425. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  426. package/dist/exports/organisms/std-trading-dashboard.orb +25 -4
  427. package/dist/exports/validation-report.json +1662 -1
  428. package/dist/index.d.ts +1 -1
  429. package/dist/index.js +226 -207
  430. package/dist/index.js.map +1 -1
  431. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { wire, plural, pipe, mergeOrbitals, makePage, makeOrbital, makeEntity, extractTrait, ensureIdField, connect, compose } from '@almadar/core/builders';
1
+ import { wire, plural, pipe, mergeOrbitals, makeSchema, makePage, makeOrbital, makeEntity, extractTrait, ensureIdField, connect, compose } from '@almadar/core/builders';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
4
  var __export = (target, all) => {
@@ -16,6 +16,7 @@ __export(functions_exports, {
16
16
  makeEntity: () => makeEntity,
17
17
  makeOrbital: () => makeOrbital,
18
18
  makePage: () => makePage,
19
+ makeSchema: () => makeSchema,
19
20
  mergeOrbitals: () => mergeOrbitals,
20
21
  pipe: () => pipe,
21
22
  plural: () => plural,
@@ -719,7 +720,7 @@ function stdBrowsePage(params) {
719
720
  }
720
721
  function stdBrowse(params) {
721
722
  const c = resolve(params);
722
- return makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]);
723
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity(c), [buildTrait(c)], [buildPage(c)]));
723
724
  }
724
725
  function resolve2(params) {
725
726
  const { entityName } = params;
@@ -903,7 +904,7 @@ function stdModalPage(params) {
903
904
  }
904
905
  function stdModal(params) {
905
906
  const c = resolve2(params);
906
- return makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]);
907
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity2(c), [buildTrait2(c)], [buildPage2(c)]));
907
908
  }
908
909
  function resolve3(params) {
909
910
  const { entityName } = params;
@@ -1081,12 +1082,12 @@ function stdConfirmationPage(params) {
1081
1082
  }
1082
1083
  function stdConfirmation(params) {
1083
1084
  const c = resolve3(params);
1084
- return makeOrbital(
1085
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1085
1086
  `${c.entityName}Orbital`,
1086
1087
  buildEntity3(c),
1087
1088
  [buildTrait3(c)],
1088
1089
  [buildPage3(c)]
1089
- );
1090
+ ));
1090
1091
  }
1091
1092
  function resolve4(params) {
1092
1093
  const { entityName } = params;
@@ -1252,12 +1253,12 @@ function stdSearchPage(params) {
1252
1253
  }
1253
1254
  function stdSearch(params) {
1254
1255
  const c = resolve4(params);
1255
- return makeOrbital(
1256
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1256
1257
  `${c.entityName}Orbital`,
1257
1258
  buildEntity4(c),
1258
1259
  [buildTrait4(c)],
1259
1260
  [buildPage4(c)]
1260
- );
1261
+ ));
1261
1262
  }
1262
1263
  function resolve5(params) {
1263
1264
  const { entityName } = params;
@@ -1444,7 +1445,7 @@ function stdFilterPage(params) {
1444
1445
  }
1445
1446
  function stdFilter(params) {
1446
1447
  const c = resolve5(params);
1447
- return makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]);
1448
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity5(c), [buildTrait5(c)], [buildPage5(c)]));
1448
1449
  }
1449
1450
  function resolve6(params) {
1450
1451
  const { entityName } = params;
@@ -1604,7 +1605,7 @@ function stdSortPage(params) {
1604
1605
  }
1605
1606
  function stdSort(params) {
1606
1607
  const c = resolve6(params);
1607
- return makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]);
1608
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity6(c), [buildTrait6(c)], [buildPage6(c)]));
1608
1609
  }
1609
1610
  function resolve7(params) {
1610
1611
  const { entityName } = params;
@@ -1776,12 +1777,12 @@ function stdPaginationPage(params) {
1776
1777
  }
1777
1778
  function stdPagination(params) {
1778
1779
  const c = resolve7(params);
1779
- return makeOrbital(
1780
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1780
1781
  `${c.entityName}Orbital`,
1781
1782
  buildEntity7(c),
1782
1783
  [buildTrait7(c)],
1783
1784
  [buildPage7(c)]
1784
- );
1785
+ ));
1785
1786
  }
1786
1787
  function resolve8(params) {
1787
1788
  const { entityName } = params;
@@ -1969,12 +1970,12 @@ function stdDrawerPage(params) {
1969
1970
  }
1970
1971
  function stdDrawer(params) {
1971
1972
  const c = resolve8(params);
1972
- return makeOrbital(
1973
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
1973
1974
  `${c.entityName}Orbital`,
1974
1975
  buildEntity8(c),
1975
1976
  [buildTrait8(c)],
1976
1977
  [buildPage8(c)]
1977
- );
1978
+ ));
1978
1979
  }
1979
1980
  function resolve9(params) {
1980
1981
  const { entityName } = params;
@@ -2147,12 +2148,12 @@ function stdNotificationPage(params) {
2147
2148
  }
2148
2149
  function stdNotification(params) {
2149
2150
  const c = resolve9(params);
2150
- return makeOrbital(
2151
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2151
2152
  `${c.entityName}Orbital`,
2152
2153
  buildEntity9(c),
2153
2154
  [buildTrait9(c)],
2154
2155
  [buildPage9(c)]
2155
- );
2156
+ ));
2156
2157
  }
2157
2158
  function resolve10(params) {
2158
2159
  const { entityName } = params;
@@ -2404,12 +2405,12 @@ function stdTimerPage(params) {
2404
2405
  }
2405
2406
  function stdTimer(params) {
2406
2407
  const c = resolve10(params);
2407
- return makeOrbital(
2408
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2408
2409
  `${c.entityName}Orbital`,
2409
2410
  buildEntity10(c),
2410
2411
  [buildTrait10(c)],
2411
2412
  [buildPage10(c)]
2412
- );
2413
+ ));
2413
2414
  }
2414
2415
  function resolve11(params) {
2415
2416
  const { entityName } = params;
@@ -2530,7 +2531,7 @@ function stdTabsPage(params) {
2530
2531
  }
2531
2532
  function stdTabs(params) {
2532
2533
  const c = resolve11(params);
2533
- return makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]);
2534
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity11(c), [buildTrait11(c)], [buildPage11(c)]));
2534
2535
  }
2535
2536
  function resolve12(params) {
2536
2537
  const { entityName } = params;
@@ -2744,12 +2745,12 @@ function stdLoadingPage(params) {
2744
2745
  }
2745
2746
  function stdLoading(params) {
2746
2747
  const c = resolve12(params);
2747
- return makeOrbital(
2748
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
2748
2749
  `${c.entityName}Orbital`,
2749
2750
  buildEntity12(c),
2750
2751
  [buildTrait12(c)],
2751
2752
  [buildPage12(c)]
2752
- );
2753
+ ));
2753
2754
  }
2754
2755
  function resolve13(params) {
2755
2756
  const { entityName } = params;
@@ -3034,12 +3035,12 @@ function stdSelectionPage(params) {
3034
3035
  }
3035
3036
  function stdSelection(params) {
3036
3037
  const c = resolve13(params);
3037
- return makeOrbital(
3038
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3038
3039
  `${c.entityName}Orbital`,
3039
3040
  buildEntity13(c),
3040
3041
  [buildTrait13(c)],
3041
3042
  [buildPage13(c)]
3042
- );
3043
+ ));
3043
3044
  }
3044
3045
  function resolve14(params) {
3045
3046
  const { entityName } = params;
@@ -3165,7 +3166,7 @@ function stdUndoPage(params) {
3165
3166
  }
3166
3167
  function stdUndo(params) {
3167
3168
  const c = resolve14(params);
3168
- return makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]);
3169
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity14(c), [buildTrait14(c)], [buildPage14(c)]));
3169
3170
  }
3170
3171
  function resolve15(params) {
3171
3172
  const { entityName } = params;
@@ -3363,12 +3364,12 @@ function stdInputPage(params) {
3363
3364
  }
3364
3365
  function stdInput(params) {
3365
3366
  const c = resolve15(params);
3366
- return makeOrbital(
3367
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3367
3368
  `${c.entityName}Orbital`,
3368
3369
  buildEntity15(c),
3369
3370
  [buildTrait15(c)],
3370
3371
  [buildPage15(c)]
3371
- );
3372
+ ));
3372
3373
  }
3373
3374
  function resolve16(params) {
3374
3375
  const { entityName } = params;
@@ -3621,12 +3622,12 @@ function stdWizardPage(params) {
3621
3622
  }
3622
3623
  function stdWizard(params) {
3623
3624
  const c = resolve16(params);
3624
- return makeOrbital(
3625
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3625
3626
  `${c.entityName}Orbital`,
3626
3627
  buildEntity16(c),
3627
3628
  [buildTrait16(c)],
3628
3629
  [buildPage16(c)]
3629
- );
3630
+ ));
3630
3631
  }
3631
3632
  function resolve17(params) {
3632
3633
  const { entityName } = params;
@@ -3755,12 +3756,12 @@ function stdDisplayPage(params) {
3755
3756
  }
3756
3757
  function stdDisplay(params) {
3757
3758
  const c = resolve17(params);
3758
- return makeOrbital(
3759
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3759
3760
  `${c.entityName}Orbital`,
3760
3761
  makeEntity({ name: c.entityName, fields: c.fields, persistence: c.persistence, collection: c.collection }),
3761
3762
  [buildTrait17(c)],
3762
3763
  [makePage({ name: c.pageName, path: c.pagePath, traitName: c.traitName, isInitial: c.isInitial })]
3763
- );
3764
+ ));
3764
3765
  }
3765
3766
  function resolve18(params) {
3766
3767
  const { entityName } = params;
@@ -3954,12 +3955,12 @@ function stdAsyncPage(params) {
3954
3955
  }
3955
3956
  function stdAsync(params) {
3956
3957
  const c = resolve18(params);
3957
- return makeOrbital(
3958
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
3958
3959
  `${c.entityName}Orbital`,
3959
3960
  buildEntity17(c),
3960
3961
  [buildTrait18(c)],
3961
3962
  [buildPage17(c)]
3962
- );
3963
+ ));
3963
3964
  }
3964
3965
  function resolve19(params) {
3965
3966
  const { entityName } = params;
@@ -4144,12 +4145,12 @@ function stdCombatPage(params) {
4144
4145
  }
4145
4146
  function stdCombat(params) {
4146
4147
  const c = resolve19(params);
4147
- return makeOrbital(
4148
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4148
4149
  `${c.entityName}Orbital`,
4149
4150
  buildEntity18(c),
4150
4151
  [buildTrait19(c)],
4151
4152
  [buildPage18(c)]
4152
- );
4153
+ ));
4153
4154
  }
4154
4155
  function resolve20(params) {
4155
4156
  const { entityName } = params;
@@ -4333,12 +4334,12 @@ function stdGameflowPage(params) {
4333
4334
  }
4334
4335
  function stdGameflow(params) {
4335
4336
  const c = resolve20(params);
4336
- return makeOrbital(
4337
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4337
4338
  `${c.entityName}Orbital`,
4338
4339
  buildEntity19(c),
4339
4340
  [buildTrait20(c)],
4340
4341
  [buildPage19(c)]
4341
- );
4342
+ ));
4342
4343
  }
4343
4344
  function resolve21(params) {
4344
4345
  const { entityName } = params;
@@ -4602,12 +4603,12 @@ function stdMovementPage(params) {
4602
4603
  }
4603
4604
  function stdMovement(params) {
4604
4605
  const c = resolve21(params);
4605
- return makeOrbital(
4606
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4606
4607
  `${c.entityName}Orbital`,
4607
4608
  buildEntity20(c),
4608
4609
  [buildTrait21(c)],
4609
4610
  [buildPage20(c)]
4610
- );
4611
+ ));
4611
4612
  }
4612
4613
  function resolve22(params) {
4613
4614
  const { entityName } = params;
@@ -4934,12 +4935,12 @@ function stdQuestPage(params) {
4934
4935
  }
4935
4936
  function stdQuest(params) {
4936
4937
  const c = resolve22(params);
4937
- return makeOrbital(
4938
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
4938
4939
  `${c.entityName}Orbital`,
4939
4940
  buildEntity21(c),
4940
4941
  [buildTrait22(c)],
4941
4942
  [buildPage21(c)]
4942
- );
4943
+ ));
4943
4944
  }
4944
4945
  function resolve23(params) {
4945
4946
  const { entityName } = params;
@@ -5167,12 +5168,12 @@ function stdOverworldPage(params) {
5167
5168
  }
5168
5169
  function stdOverworld(params) {
5169
5170
  const c = resolve23(params);
5170
- return makeOrbital(
5171
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5171
5172
  `${c.entityName}Orbital`,
5172
5173
  buildEntity22(c),
5173
5174
  [buildTrait23(c)],
5174
5175
  [buildPage22(c)]
5175
- );
5176
+ ));
5176
5177
  }
5177
5178
  function resolve24(params) {
5178
5179
  const { entityName } = params;
@@ -5399,12 +5400,12 @@ function stdCircuitBreakerPage(params) {
5399
5400
  }
5400
5401
  function stdCircuitBreaker(params) {
5401
5402
  const c = resolve24(params);
5402
- return makeOrbital(
5403
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5403
5404
  `${c.entityName}Orbital`,
5404
5405
  buildEntity23(c),
5405
5406
  [buildTrait24(c)],
5406
5407
  [buildPage23(c)]
5407
- );
5408
+ ));
5408
5409
  }
5409
5410
  function resolve25(params) {
5410
5411
  const { entityName } = params;
@@ -5703,12 +5704,12 @@ function stdCacheAsidePage(params) {
5703
5704
  }
5704
5705
  function stdCacheAside(params) {
5705
5706
  const c = resolve25(params);
5706
- return makeOrbital(
5707
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5707
5708
  `${c.entityName}Orbital`,
5708
5709
  buildEntity24(c),
5709
5710
  [buildTrait25(c)],
5710
5711
  [buildPage24(c)]
5711
- );
5712
+ ));
5712
5713
  }
5713
5714
  function resolve26(params) {
5714
5715
  const { entityName } = params;
@@ -5868,12 +5869,12 @@ function stdScorePage(params) {
5868
5869
  }
5869
5870
  function stdScore(params) {
5870
5871
  const c = resolve26(params);
5871
- return makeOrbital(
5872
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
5872
5873
  `${c.entityName}Orbital`,
5873
5874
  buildEntity25(c),
5874
5875
  [buildTrait26(c)],
5875
5876
  [buildPage25(c)]
5876
- );
5877
+ ));
5877
5878
  }
5878
5879
  function resolve27(params) {
5879
5880
  const { entityName } = params;
@@ -6042,7 +6043,7 @@ function stdCalendarPage(params) {
6042
6043
  }
6043
6044
  function stdCalendar(params) {
6044
6045
  const c = resolve27(params);
6045
- return makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]);
6046
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity26(c), [buildTrait27(c)], [buildPage26(c)]));
6046
6047
  }
6047
6048
  function resolve28(params) {
6048
6049
  const { entityName } = params;
@@ -6172,7 +6173,7 @@ function stdGalleryPage(params) {
6172
6173
  }
6173
6174
  function stdGallery(params) {
6174
6175
  const c = resolve28(params);
6175
- return makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]);
6176
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity27(c), [buildTrait28(c)], [buildPage27(c)]));
6176
6177
  }
6177
6178
  function resolve29(params) {
6178
6179
  const { entityName } = params;
@@ -6331,7 +6332,7 @@ function stdFlipCardPage(params) {
6331
6332
  }
6332
6333
  function stdFlipCard(params) {
6333
6334
  const c = resolve29(params);
6334
- return makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]);
6335
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity28(c), [buildTrait29(c)], [buildPage28(c)]));
6335
6336
  }
6336
6337
  function resolve30(params) {
6337
6338
  const { entityName } = params;
@@ -6447,7 +6448,7 @@ function stdRatingPage(params) {
6447
6448
  }
6448
6449
  function stdRating(params) {
6449
6450
  const c = resolve30(params);
6450
- return makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]);
6451
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity29(c), [buildTrait30(c)], [buildPage29(c)]));
6451
6452
  }
6452
6453
  function resolve31(params) {
6453
6454
  const { entityName } = params;
@@ -6607,7 +6608,7 @@ function stdUploadPage(params) {
6607
6608
  }
6608
6609
  function stdUpload(params) {
6609
6610
  const c = resolve31(params);
6610
- return makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]);
6611
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity30(c), [buildTrait31(c)], [buildPage30(c)]));
6611
6612
  }
6612
6613
  function resolve32(params) {
6613
6614
  const { entityName } = params;
@@ -6736,7 +6737,7 @@ function stdThemePage(params) {
6736
6737
  }
6737
6738
  function stdTheme(params) {
6738
6739
  const c = resolve32(params);
6739
- return makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]);
6740
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity31(c), [buildTrait32(c)], [buildPage31(c)]));
6740
6741
  }
6741
6742
  function resolve33(params) {
6742
6743
  const { entityName } = params;
@@ -6898,7 +6899,7 @@ function stdTextEffectsPage(params) {
6898
6899
  }
6899
6900
  function stdTextEffects(params) {
6900
6901
  const c = resolve33(params);
6901
- return makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]);
6902
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity32(c), [buildTrait33(c)], [buildPage32(c)]));
6902
6903
  }
6903
6904
  function resolve34(params) {
6904
6905
  const { entityName } = params;
@@ -7094,12 +7095,12 @@ function stdCollisionPage(params) {
7094
7095
  }
7095
7096
  function stdCollision(params) {
7096
7097
  const c = resolve34(params);
7097
- return makeOrbital(
7098
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7098
7099
  `${c.entityName}Orbital`,
7099
7100
  buildEntity33(c),
7100
7101
  [buildTrait34(c)],
7101
7102
  [buildPage33(c)]
7102
- );
7103
+ ));
7103
7104
  }
7104
7105
  function resolve35(params) {
7105
7106
  const { entityName } = params;
@@ -7258,12 +7259,12 @@ function stdPhysics2dPage(params) {
7258
7259
  }
7259
7260
  function stdPhysics2d(params) {
7260
7261
  const c = resolve35(params);
7261
- return makeOrbital(
7262
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7262
7263
  `${c.entityName}Orbital`,
7263
7264
  buildEntity34(c),
7264
7265
  [buildTrait35(c)],
7265
7266
  [buildPage34(c)]
7266
- );
7267
+ ));
7267
7268
  }
7268
7269
  function resolve36(params) {
7269
7270
  const { entityName } = params;
@@ -7470,12 +7471,12 @@ function stdRateLimiterPage(params) {
7470
7471
  }
7471
7472
  function stdRateLimiter(params) {
7472
7473
  const c = resolve36(params);
7473
- return makeOrbital(
7474
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
7474
7475
  `${c.entityName}Orbital`,
7475
7476
  buildEntity35(c),
7476
7477
  [buildTrait36(c)],
7477
7478
  [buildPage35(c)]
7478
- );
7479
+ ));
7479
7480
  }
7480
7481
  function resolve37(params) {
7481
7482
  const { entityName } = params;
@@ -7544,7 +7545,7 @@ function stdGameHudPage(params) {
7544
7545
  }
7545
7546
  function stdGameHud(params) {
7546
7547
  const c = resolve37(params);
7547
- return makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]);
7548
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity36(c), [buildTrait37(c)], [buildPage36(c)]));
7548
7549
  }
7549
7550
  function resolve38(params) {
7550
7551
  const { entityName } = params;
@@ -7628,7 +7629,7 @@ function stdScoreBoardPage(params) {
7628
7629
  }
7629
7630
  function stdScoreBoard(params) {
7630
7631
  const c = resolve38(params);
7631
- return makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]);
7632
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity37(c), [buildTrait38(c)], [buildPage37(c)]));
7632
7633
  }
7633
7634
  function resolve39(params) {
7634
7635
  const { entityName } = params;
@@ -7708,7 +7709,7 @@ function stdGameMenuPage(params) {
7708
7709
  }
7709
7710
  function stdGameMenu(params) {
7710
7711
  const c = resolve39(params);
7711
- return makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]);
7712
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity38(c), [buildTrait39(c)], [buildPage38(c)]));
7712
7713
  }
7713
7714
  function resolve40(params) {
7714
7715
  const { entityName } = params;
@@ -7789,7 +7790,7 @@ function stdGameOverScreenPage(params) {
7789
7790
  }
7790
7791
  function stdGameOverScreen(params) {
7791
7792
  const c = resolve40(params);
7792
- return makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]);
7793
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity39(c), [buildTrait40(c)], [buildPage39(c)]));
7793
7794
  }
7794
7795
  function resolve41(params) {
7795
7796
  const { entityName } = params;
@@ -7891,7 +7892,7 @@ function stdDialogueBoxPage(params) {
7891
7892
  }
7892
7893
  function stdDialogueBox(params) {
7893
7894
  const c = resolve41(params);
7894
- return makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]);
7895
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity40(c), [buildTrait41(c)], [buildPage40(c)]));
7895
7896
  }
7896
7897
  function resolve42(params) {
7897
7898
  const { entityName } = params;
@@ -7977,7 +7978,7 @@ function stdInventoryPanelPage(params) {
7977
7978
  }
7978
7979
  function stdInventoryPanel(params) {
7979
7980
  const c = resolve42(params);
7980
- return makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]);
7981
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity41(c), [buildTrait42(c)], [buildPage41(c)]));
7981
7982
  }
7982
7983
  function resolve43(params) {
7983
7984
  const { entityName } = params;
@@ -8060,7 +8061,7 @@ function stdCombatLogPage(params) {
8060
8061
  }
8061
8062
  function stdCombatLog(params) {
8062
8063
  const c = resolve43(params);
8063
- return makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]);
8064
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity42(c), [buildTrait43(c)], [buildPage42(c)]));
8064
8065
  }
8065
8066
  function resolve44(params) {
8066
8067
  const { entityName } = params;
@@ -8174,7 +8175,7 @@ function stdSpritePage(params) {
8174
8175
  }
8175
8176
  function stdSprite(params) {
8176
8177
  const c = resolve44(params);
8177
- return makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]);
8178
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity43(c), [buildTrait44(c)], [buildPage43(c)]));
8178
8179
  }
8179
8180
  function resolve45(params) {
8180
8181
  const { entityName } = params;
@@ -8304,7 +8305,7 @@ function stdGameAudioPage(params) {
8304
8305
  }
8305
8306
  function stdGameAudio(params) {
8306
8307
  const c = resolve45(params);
8307
- return makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]);
8308
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity44(c), [buildTrait45(c)], [buildPage44(c)]));
8308
8309
  }
8309
8310
  function resolve46(params) {
8310
8311
  const { entityName } = params;
@@ -8419,7 +8420,7 @@ function stdIsometricCanvasPage(params) {
8419
8420
  }
8420
8421
  function stdIsometricCanvas(params) {
8421
8422
  const c = resolve46(params);
8422
- return makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]);
8423
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity45(c), [buildTrait46(c)], [buildPage45(c)]));
8423
8424
  }
8424
8425
  function resolve47(params) {
8425
8426
  const { entityName } = params;
@@ -8525,7 +8526,7 @@ function stdPlatformerCanvasPage(params) {
8525
8526
  }
8526
8527
  function stdPlatformerCanvas(params) {
8527
8528
  const c = resolve47(params);
8528
- return makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]);
8529
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity46(c), [buildTrait47(c)], [buildPage46(c)]));
8529
8530
  }
8530
8531
  function resolve48(params) {
8531
8532
  const { entityName } = params;
@@ -8605,7 +8606,7 @@ function stdSimulationCanvasPage(params) {
8605
8606
  }
8606
8607
  function stdSimulationCanvas(params) {
8607
8608
  const c = resolve48(params);
8608
- return makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]);
8609
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity47(c), [buildTrait48(c)], [buildPage47(c)]));
8609
8610
  }
8610
8611
  function resolve49(params) {
8611
8612
  const { entityName } = params;
@@ -8700,7 +8701,7 @@ function stdGameCanvas2dPage(params) {
8700
8701
  }
8701
8702
  function stdGameCanvas2d(params) {
8702
8703
  const c = resolve49(params);
8703
- return makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]);
8704
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity48(c), [buildTrait49(c)], [buildPage48(c)]));
8704
8705
  }
8705
8706
  function resolve50(params) {
8706
8707
  const { entityName } = params;
@@ -8803,7 +8804,7 @@ function stdGameCanvas3dPage(params) {
8803
8804
  }
8804
8805
  function stdGameCanvas3d(params) {
8805
8806
  const c = resolve50(params);
8806
- return makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]);
8807
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity49(c), [buildTrait50(c)], [buildPage49(c)]));
8807
8808
  }
8808
8809
  function resolve51(params) {
8809
8810
  const { entityName } = params;
@@ -8988,7 +8989,8 @@ function stdList(params) {
8988
8989
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]],
8989
8990
  emitOnConfirm: DELETED
8990
8991
  }));
8991
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
8992
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
8993
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
8992
8994
  const page = {
8993
8995
  name: c.pageName,
8994
8996
  path: c.pagePath,
@@ -9001,12 +9003,12 @@ function stdList(params) {
9001
9003
  { ref: deleteTrait.name }
9002
9004
  ]
9003
9005
  };
9004
- return {
9006
+ return makeSchema(`${entityName}Orbital`, {
9005
9007
  name: `${entityName}Orbital`,
9006
9008
  entity,
9007
9009
  traits: [browseTrait, createTrait, editTrait, viewTrait, deleteTrait],
9008
9010
  pages: [page]
9009
- };
9011
+ });
9010
9012
  }
9011
9013
  function resolve52(params) {
9012
9014
  const { entityName } = params;
@@ -9195,19 +9197,20 @@ function stdCart(params) {
9195
9197
  confirmEvent: "CONFIRM_REMOVE",
9196
9198
  confirmEffects: [["persist", "delete", entityName, "@entity.pendingId"]]
9197
9199
  }));
9198
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
9200
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9201
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
9199
9202
  const page = {
9200
9203
  name: c.pageName,
9201
9204
  path: c.pagePath,
9202
9205
  ...c.isInitial ? { isInitial: true } : {},
9203
9206
  traits: [{ ref: cartTrait.name }, { ref: addTrait.name }, { ref: removeTrait.name }]
9204
9207
  };
9205
- return {
9208
+ return makeSchema(`${entityName}Orbital`, {
9206
9209
  name: `${entityName}Orbital`,
9207
9210
  entity,
9208
9211
  traits: [cartTrait, addTrait, removeTrait],
9209
9212
  pages: [page]
9210
- };
9213
+ });
9211
9214
  }
9212
9215
  function resolve53(params) {
9213
9216
  const { entityName } = params;
@@ -9342,12 +9345,12 @@ function stdDetail(params) {
9342
9345
  ...c.isInitial ? { isInitial: true } : {},
9343
9346
  traits: [{ ref: browseTrait.name }, { ref: createTrait.name }, { ref: viewTrait.name }]
9344
9347
  };
9345
- return {
9348
+ return makeSchema(`${entityName}Orbital`, {
9346
9349
  name: `${entityName}Orbital`,
9347
9350
  entity,
9348
9351
  traits: [browseTrait, createTrait, viewTrait],
9349
9352
  pages: [page]
9350
- };
9353
+ });
9351
9354
  }
9352
9355
  function resolve54(params) {
9353
9356
  const { entityName } = params;
@@ -9500,7 +9503,8 @@ function stdInventory(params) {
9500
9503
  { id: "item-2", name: "Iron Sword", description: "A sturdy blade", status: "active", pendingId: "" },
9501
9504
  { id: "item-3", name: "Wooden Shield", description: "Basic protection", status: "active", pendingId: "" }
9502
9505
  ];
9503
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection, instances });
9506
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9507
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection, instances });
9504
9508
  const page = {
9505
9509
  name: c.pageName,
9506
9510
  path: c.pagePath,
@@ -9512,12 +9516,12 @@ function stdInventory(params) {
9512
9516
  { ref: dropTrait.name }
9513
9517
  ]
9514
9518
  };
9515
- return {
9519
+ return makeSchema(`${entityName}Orbital`, {
9516
9520
  name: `${entityName}Orbital`,
9517
9521
  entity,
9518
9522
  traits: [browseTrait, addTrait, useTrait, dropTrait],
9519
9523
  pages: [page]
9520
- };
9524
+ });
9521
9525
  }
9522
9526
  function resolve55(params) {
9523
9527
  const { entityName } = params;
@@ -9667,12 +9671,12 @@ function stdMessaging(params) {
9667
9671
  { ref: viewTrait.name }
9668
9672
  ]
9669
9673
  };
9670
- return {
9674
+ return makeSchema(`${entityName}Orbital`, {
9671
9675
  name: `${entityName}Orbital`,
9672
9676
  entity,
9673
9677
  traits: [browseTrait, composeTrait, viewTrait],
9674
9678
  pages: [page]
9675
- };
9679
+ });
9676
9680
  }
9677
9681
  function resolve56(params) {
9678
9682
  const { entityName } = params;
@@ -9796,7 +9800,8 @@ function stdGeospatial(params) {
9796
9800
  confirmEffects: [["fetch", entityName]],
9797
9801
  emitOnConfirm: "CONFIRMED"
9798
9802
  }));
9799
- const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
9803
+ const entityFields = fields.some((f) => f.name === "pendingId") ? fields : [...fields, { name: "pendingId", type: "string", default: "" }];
9804
+ const entity = makeEntity({ name: entityName, fields: entityFields, persistence: c.persistence, collection: c.collection });
9800
9805
  const page = {
9801
9806
  name: c.pageName,
9802
9807
  path: c.pagePath,
@@ -9807,12 +9812,12 @@ function stdGeospatial(params) {
9807
9812
  { ref: confirmTrait.name }
9808
9813
  ]
9809
9814
  };
9810
- return {
9815
+ return makeSchema(`${entityName}Orbital`, {
9811
9816
  name: `${entityName}Orbital`,
9812
9817
  entity,
9813
9818
  traits: [browseTrait, selectTrait, confirmTrait],
9814
9819
  pages: [page]
9815
- };
9820
+ });
9816
9821
  }
9817
9822
  function resolve57(params) {
9818
9823
  const { entityName } = params;
@@ -10029,7 +10034,7 @@ function stdQuizPage(params) {
10029
10034
  }
10030
10035
  function stdQuiz(params) {
10031
10036
  const c = resolve57(params);
10032
- return makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]);
10037
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity50(c), [buildTrait51(c)], [buildPage50(c)]));
10033
10038
  }
10034
10039
  function resolve58(params) {
10035
10040
  const { entityName } = params;
@@ -10175,7 +10180,7 @@ function stdFormAdvancedPage(params) {
10175
10180
  }
10176
10181
  function stdFormAdvanced(params) {
10177
10182
  const c = resolve58(params);
10178
- return makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]);
10183
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity51(c), [buildTrait52(c)], [buildPage51(c)]));
10179
10184
  }
10180
10185
  function resolve59(params) {
10181
10186
  const { entityName } = params;
@@ -10419,12 +10424,12 @@ function stdTurnBasedBattle(params) {
10419
10424
  const battleLogTrait = buildBattleLogTrait(c);
10420
10425
  const entity = buildEntity52(c);
10421
10426
  const page = buildPage52(c);
10422
- return {
10427
+ return makeSchema(`${c.entityName}Orbital`, {
10423
10428
  name: `${c.entityName}Orbital`,
10424
10429
  entity,
10425
10430
  traits: [battleFlowTrait, battleLogTrait],
10426
10431
  pages: [page]
10427
- };
10432
+ });
10428
10433
  }
10429
10434
  function resolve60(params) {
10430
10435
  const { entityName } = params;
@@ -10690,12 +10695,12 @@ function stdPlatformerGame(params) {
10690
10695
  const canvasTrait = buildPlatformerCanvasTrait(c);
10691
10696
  const entity = buildEntity53(c);
10692
10697
  const page = buildPage53(c);
10693
- return {
10698
+ return makeSchema(`${c.entityName}Orbital`, {
10694
10699
  name: `${c.entityName}Orbital`,
10695
10700
  entity,
10696
10701
  traits: [flowTrait, canvasTrait],
10697
10702
  pages: [page]
10698
- };
10703
+ });
10699
10704
  }
10700
10705
  function resolve61(params) {
10701
10706
  const { entityName } = params;
@@ -10942,12 +10947,12 @@ function stdPuzzleGame(params) {
10942
10947
  const scoreTrait = buildPuzzleScoreTrait(c);
10943
10948
  const entity = buildEntity54(c);
10944
10949
  const page = buildPage54(c);
10945
- return {
10950
+ return makeSchema(`${c.entityName}Orbital`, {
10946
10951
  name: `${c.entityName}Orbital`,
10947
10952
  entity,
10948
10953
  traits: [flowTrait, scoreTrait],
10949
10954
  pages: [page]
10950
- };
10955
+ });
10951
10956
  }
10952
10957
  function resolve62(params) {
10953
10958
  const { entityName } = params;
@@ -11081,12 +11086,12 @@ function stdBuilderGamePage(params) {
11081
11086
  }
11082
11087
  function stdBuilderGame(params) {
11083
11088
  const c = resolve62(params);
11084
- return makeOrbital(
11089
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11085
11090
  `${c.entityName}Orbital`,
11086
11091
  buildEntity55(c),
11087
11092
  [buildTrait53(c)],
11088
11093
  [buildPage55(c)]
11089
- );
11094
+ ));
11090
11095
  }
11091
11096
  function resolve63(params) {
11092
11097
  const { entityName } = params;
@@ -11220,12 +11225,12 @@ function stdClassifierGamePage(params) {
11220
11225
  }
11221
11226
  function stdClassifierGame(params) {
11222
11227
  const c = resolve63(params);
11223
- return makeOrbital(
11228
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11224
11229
  `${c.entityName}Orbital`,
11225
11230
  buildEntity56(c),
11226
11231
  [buildTrait54(c)],
11227
11232
  [buildPage56(c)]
11228
- );
11233
+ ));
11229
11234
  }
11230
11235
  function resolve64(params) {
11231
11236
  const { entityName } = params;
@@ -11359,12 +11364,12 @@ function stdSequencerGamePage(params) {
11359
11364
  }
11360
11365
  function stdSequencerGame(params) {
11361
11366
  const c = resolve64(params);
11362
- return makeOrbital(
11367
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11363
11368
  `${c.entityName}Orbital`,
11364
11369
  buildEntity57(c),
11365
11370
  [buildTrait55(c)],
11366
11371
  [buildPage57(c)]
11367
- );
11372
+ ));
11368
11373
  }
11369
11374
  function resolve65(params) {
11370
11375
  const { entityName } = params;
@@ -11498,12 +11503,12 @@ function stdDebuggerGamePage(params) {
11498
11503
  }
11499
11504
  function stdDebuggerGame(params) {
11500
11505
  const c = resolve65(params);
11501
- return makeOrbital(
11506
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11502
11507
  `${c.entityName}Orbital`,
11503
11508
  buildEntity58(c),
11504
11509
  [buildTrait56(c)],
11505
11510
  [buildPage58(c)]
11506
- );
11511
+ ));
11507
11512
  }
11508
11513
  function resolve66(params) {
11509
11514
  const { entityName } = params;
@@ -11637,12 +11642,12 @@ function stdNegotiatorGamePage(params) {
11637
11642
  }
11638
11643
  function stdNegotiatorGame(params) {
11639
11644
  const c = resolve66(params);
11640
- return makeOrbital(
11645
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11641
11646
  `${c.entityName}Orbital`,
11642
11647
  buildEntity59(c),
11643
11648
  [buildTrait57(c)],
11644
11649
  [buildPage59(c)]
11645
- );
11650
+ ));
11646
11651
  }
11647
11652
  function resolve67(params) {
11648
11653
  const { entityName } = params;
@@ -11776,12 +11781,12 @@ function stdSimulatorGamePage(params) {
11776
11781
  }
11777
11782
  function stdSimulatorGame(params) {
11778
11783
  const c = resolve67(params);
11779
- return makeOrbital(
11784
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11780
11785
  `${c.entityName}Orbital`,
11781
11786
  buildEntity60(c),
11782
11787
  [buildTrait58(c)],
11783
11788
  [buildPage60(c)]
11784
- );
11789
+ ));
11785
11790
  }
11786
11791
  function resolve68(params) {
11787
11792
  const { entityName } = params;
@@ -11915,12 +11920,12 @@ function stdEventHandlerGamePage(params) {
11915
11920
  }
11916
11921
  function stdEventHandlerGame(params) {
11917
11922
  const c = resolve68(params);
11918
- return makeOrbital(
11923
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
11919
11924
  `${c.entityName}Orbital`,
11920
11925
  buildEntity61(c),
11921
11926
  [buildTrait59(c)],
11922
11927
  [buildPage61(c)]
11923
- );
11928
+ ));
11924
11929
  }
11925
11930
  function resolve69(params) {
11926
11931
  const { entityName } = params;
@@ -12108,12 +12113,12 @@ function stdClassifier(params) {
12108
12113
  ...c.isInitial ? { isInitial: true } : {},
12109
12114
  traits: [{ ref: trait.name }]
12110
12115
  };
12111
- return {
12116
+ return makeSchema(`${c.entityName}Orbital`, {
12112
12117
  name: `${c.entityName}Orbital`,
12113
12118
  entity,
12114
12119
  traits: [trait],
12115
12120
  pages: [page]
12116
- };
12121
+ });
12117
12122
  }
12118
12123
  function resolve70(params) {
12119
12124
  const { entityName } = params;
@@ -12466,12 +12471,12 @@ function stdTrainer(params) {
12466
12471
  ...c.isInitial ? { isInitial: true } : {},
12467
12472
  traits: traits.map((t) => ({ ref: t.name }))
12468
12473
  };
12469
- return {
12474
+ return makeSchema(`${c.entityName}Orbital`, {
12470
12475
  name: `${c.entityName}Orbital`,
12471
12476
  entity,
12472
12477
  traits,
12473
12478
  pages: [page]
12474
- };
12479
+ });
12475
12480
  }
12476
12481
  function resolve71(params) {
12477
12482
  const { entityName } = params;
@@ -12788,12 +12793,12 @@ function stdRlAgent(params) {
12788
12793
  { ref: trainTrait.name }
12789
12794
  ]
12790
12795
  };
12791
- return {
12796
+ return makeSchema(`${c.entityName}Orbital`, {
12792
12797
  name: `${c.entityName}Orbital`,
12793
12798
  entity,
12794
12799
  traits: [policyTrait, collectorTrait, trainTrait],
12795
12800
  pages: [page]
12796
- };
12801
+ });
12797
12802
  }
12798
12803
  function resolve72(params) {
12799
12804
  const { entityName } = params;
@@ -13042,12 +13047,12 @@ function stdGraphClassifier(params) {
13042
13047
  { ref: classifyTrait.name }
13043
13048
  ]
13044
13049
  };
13045
- return {
13050
+ return makeSchema(`${c.entityName}Orbital`, {
13046
13051
  name: `${c.entityName}Orbital`,
13047
13052
  entity,
13048
13053
  traits: [graphTrait, classifyTrait],
13049
13054
  pages: [page]
13050
- };
13055
+ });
13051
13056
  }
13052
13057
  function resolve73(params) {
13053
13058
  const { entityName } = params;
@@ -13298,12 +13303,12 @@ function stdTextClassifier(params) {
13298
13303
  { ref: classifyTrait.name }
13299
13304
  ]
13300
13305
  };
13301
- return {
13306
+ return makeSchema(`${c.entityName}Orbital`, {
13302
13307
  name: `${c.entityName}Orbital`,
13303
13308
  entity,
13304
13309
  traits: [tokenizerTrait, classifyTrait],
13305
13310
  pages: [page]
13306
- };
13311
+ });
13307
13312
  }
13308
13313
  function resolve74(params) {
13309
13314
  const { entityName } = params;
@@ -13494,12 +13499,12 @@ function stdAutoregressive(params) {
13494
13499
  ...c.isInitial ? { isInitial: true } : {},
13495
13500
  traits: [{ ref: trait.name }]
13496
13501
  };
13497
- return {
13502
+ return makeSchema(`${c.entityName}Orbital`, {
13498
13503
  name: `${c.entityName}Orbital`,
13499
13504
  entity,
13500
13505
  traits: [trait],
13501
13506
  pages: [page]
13502
- };
13507
+ });
13503
13508
  }
13504
13509
  function resolve75(params) {
13505
13510
  const entityName = params.entityName ?? "OrderPayment";
@@ -13847,12 +13852,12 @@ function stdServicePaymentFlowPage(params = {}) {
13847
13852
  }
13848
13853
  function stdServicePaymentFlow(params = {}) {
13849
13854
  const c = resolve75(params);
13850
- return makeOrbital(
13855
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
13851
13856
  `${c.entityName}Orbital`,
13852
13857
  buildEntity62(c),
13853
13858
  [buildPaymentTrait(c), buildReceiptTrait(c)],
13854
13859
  [buildPage62(c)]
13855
- );
13860
+ ));
13856
13861
  }
13857
13862
  function resolve76(params) {
13858
13863
  const entityName = params.entityName ?? "Notification";
@@ -14099,12 +14104,12 @@ function stdServiceNotificationHubPage(params = {}) {
14099
14104
  }
14100
14105
  function stdServiceNotificationHub(params = {}) {
14101
14106
  const c = resolve76(params);
14102
- return makeOrbital(
14107
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
14103
14108
  `${c.entityName}Orbital`,
14104
14109
  buildEntity63(c),
14105
14110
  [buildTrait62(c)],
14106
14111
  [buildPage63(c)]
14107
- );
14112
+ ));
14108
14113
  }
14109
14114
  function resolve77(params) {
14110
14115
  const entityName = params.entityName ?? "Research";
@@ -14493,7 +14498,7 @@ function stdServiceContentPipelinePage(params) {
14493
14498
  }
14494
14499
  function stdServiceContentPipeline(params) {
14495
14500
  const c = resolve77(params);
14496
- return makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]);
14501
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity64(c), [buildTrait63(c)], [buildPage64(c)]));
14497
14502
  }
14498
14503
  function resolve78(params) {
14499
14504
  const entityName = params.entityName ?? "DevopsTool";
@@ -15048,12 +15053,12 @@ function stdServiceDevopsToolkit(params = {}) {
15048
15053
  { ref: storageTrait.name }
15049
15054
  ]
15050
15055
  };
15051
- return {
15056
+ return makeSchema(`${c.entityName}Orbital`, {
15052
15057
  name: `${c.entityName}Orbital`,
15053
15058
  entity,
15054
15059
  traits: [githubTrait, redisTrait, storageTrait],
15055
15060
  pages: [page]
15056
- };
15061
+ });
15057
15062
  }
15058
15063
  function resolve79(params) {
15059
15064
  const entityName = params.entityName ?? "ApiTest";
@@ -15329,7 +15334,7 @@ function stdServiceCustomApiTester(params) {
15329
15334
  [buildTrait64(c)],
15330
15335
  [buildPage65(c)]
15331
15336
  );
15332
- return {
15337
+ return makeSchema(`custom-header-api`, {
15333
15338
  ...orbital,
15334
15339
  services: [
15335
15340
  {
@@ -15369,7 +15374,7 @@ function stdServiceCustomApiTester(params) {
15369
15374
  baseUrl: c.noauthBaseUrl
15370
15375
  }
15371
15376
  ]
15372
- };
15377
+ });
15373
15378
  }
15374
15379
 
15375
15380
  // behaviors/functions/views/domain-views.ts
@@ -17707,12 +17712,12 @@ function stdServiceOauth(params = {}) {
17707
17712
  const pages = [];
17708
17713
  const page = buildPage66(c);
17709
17714
  if (page) pages.push(page);
17710
- return makeOrbital(
17715
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
17711
17716
  `${c.entityName}Orbital`,
17712
17717
  buildEntity66(c),
17713
17718
  [buildTrait65(c)],
17714
17719
  pages
17715
- );
17720
+ ));
17716
17721
  }
17717
17722
 
17718
17723
  // behaviors/functions/organisms/std-service-marketplace.ts
@@ -18009,12 +18014,12 @@ function stdServiceRedisPage(params = {}) {
18009
18014
  }
18010
18015
  function stdServiceRedis(params = {}) {
18011
18016
  const c = resolve81(params);
18012
- return makeOrbital(
18017
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
18013
18018
  `${c.entityName}Orbital`,
18014
18019
  buildEntity67(c),
18015
18020
  [buildTrait66(c)],
18016
18021
  [buildPage67(c)]
18017
- );
18022
+ ));
18018
18023
  }
18019
18024
  function resolve82(params) {
18020
18025
  const entityName = params.entityName ?? "StorageFile";
@@ -18272,12 +18277,12 @@ function stdServiceStoragePage(params = {}) {
18272
18277
  }
18273
18278
  function stdServiceStorage(params = {}) {
18274
18279
  const c = resolve82(params);
18275
- return makeOrbital(
18280
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
18276
18281
  `${c.entityName}Orbital`,
18277
18282
  buildEntity68(c),
18278
18283
  [buildTrait67(c)],
18279
18284
  [buildPage68(c)]
18280
- );
18285
+ ));
18281
18286
  }
18282
18287
  function resolve83(params) {
18283
18288
  const entityName = params.entityName ?? "ApiCall";
@@ -18492,7 +18497,7 @@ function stdServiceCustomBearer(params) {
18492
18497
  [buildTrait68(c)],
18493
18498
  [buildPage69(c)]
18494
18499
  );
18495
- return {
18500
+ return makeSchema(`${c.entityName}Orbital`, {
18496
18501
  ...orbital,
18497
18502
  services: [{
18498
18503
  name: "custom-bearer-api",
@@ -18503,7 +18508,7 @@ function stdServiceCustomBearer(params) {
18503
18508
  secretEnv: c.secretEnvVar
18504
18509
  }
18505
18510
  }]
18506
- };
18511
+ });
18507
18512
  }
18508
18513
 
18509
18514
  // behaviors/functions/organisms/std-service-research-assistant.ts
@@ -19013,7 +19018,7 @@ function stdAgentChatThreadPage(params = {}) {
19013
19018
  }
19014
19019
  function stdAgentChatThread(params = {}) {
19015
19020
  const c = resolve84(params);
19016
- return makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]);
19021
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity70(c), [buildTrait69(c)], [buildPage70(c)]));
19017
19022
  }
19018
19023
 
19019
19024
  // behaviors/functions/atoms/std-agent-conversation.ts
@@ -19185,7 +19190,7 @@ function stdAgentConversation(params = {}) {
19185
19190
  { ref: agentTrait.name }
19186
19191
  ]
19187
19192
  };
19188
- return makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]);
19193
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [chatThreadTrait, agentTrait], [page]));
19189
19194
  }
19190
19195
  function resolve86(params) {
19191
19196
  const entityName = params.entityName ?? "Memory";
@@ -19427,7 +19432,7 @@ function stdAgentMemory(params = {}) {
19427
19432
  { ref: agentTrait.name }
19428
19433
  ]
19429
19434
  };
19430
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]);
19435
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, createTrait, agentTrait], [page]));
19431
19436
  }
19432
19437
  function resolve87(params) {
19433
19438
  const entityName = params.entityName ?? "TokenUsage";
@@ -19793,7 +19798,7 @@ function stdAgentTokenGaugePage(params = {}) {
19793
19798
  }
19794
19799
  function stdAgentTokenGauge(params = {}) {
19795
19800
  const c = resolve87(params);
19796
- return makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]);
19801
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity73(c), [buildTrait70(c)], [buildPage71(c)]));
19797
19802
  }
19798
19803
 
19799
19804
  // behaviors/functions/atoms/std-agent-context-window.ts
@@ -20013,7 +20018,7 @@ function stdAgentContextWindow(params = {}) {
20013
20018
  { ref: agentTrait.name }
20014
20019
  ]
20015
20020
  };
20016
- return makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]);
20021
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [gaugeTrait, notifTrait, agentTrait], [page]));
20017
20022
  }
20018
20023
  function resolve89(params) {
20019
20024
  const entityName = params.entityName ?? "ProviderState";
@@ -20219,7 +20224,7 @@ function stdAgentProvider(params = {}) {
20219
20224
  { ref: agentTrait.name }
20220
20225
  ]
20221
20226
  };
20222
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20227
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20223
20228
  }
20224
20229
 
20225
20230
  // behaviors/functions/organisms/std-agent-assistant.ts
@@ -20244,7 +20249,8 @@ function stdAgentAssistant(params = {}) {
20244
20249
  pagePath: "/chat",
20245
20250
  isInitial: true
20246
20251
  });
20247
- const convTrait = conversationOrbital.traits[0];
20252
+ const convDef = conversationOrbital.orbitals[0];
20253
+ const convTrait = convDef.traits[0];
20248
20254
  convTrait.name = "AssistantConversation";
20249
20255
  convTrait.emits = [
20250
20256
  ...convTrait.emits ?? [],
@@ -20265,7 +20271,8 @@ function stdAgentAssistant(params = {}) {
20265
20271
  pageName: "ContextPage",
20266
20272
  pagePath: "/context"
20267
20273
  });
20268
- const ctxTrait = contextOrbital.traits[0];
20274
+ const ctxDef = contextOrbital.orbitals[0];
20275
+ const ctxTrait = ctxDef.traits[0];
20269
20276
  ctxTrait.name = "AssistantContextMonitor";
20270
20277
  const providerOrbital = stdAgentProvider({
20271
20278
  entityName: "ProviderConfig",
@@ -20274,7 +20281,8 @@ function stdAgentAssistant(params = {}) {
20274
20281
  pageName: "SettingsPage",
20275
20282
  pagePath: "/settings"
20276
20283
  });
20277
- const provTrait = providerOrbital.traits[0];
20284
+ const provDef = providerOrbital.orbitals[0];
20285
+ const provTrait = provDef.traits[0];
20278
20286
  provTrait.name = "ProviderManager";
20279
20287
  provTrait.emits = [
20280
20288
  ...provTrait.emits ?? [],
@@ -20564,7 +20572,7 @@ function stdAgentClassifier(params = {}) {
20564
20572
  { ref: agentTrait.name }
20565
20573
  ]
20566
20574
  };
20567
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20575
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20568
20576
  }
20569
20577
  function resolve91(params) {
20570
20578
  const entityName = params.entityName ?? "Completion";
@@ -20790,7 +20798,7 @@ function stdAgentCompletion(params = {}) {
20790
20798
  { ref: agentTrait.name }
20791
20799
  ]
20792
20800
  };
20793
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]);
20801
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, notifTrait, agentTrait], [page]));
20794
20802
  }
20795
20803
 
20796
20804
  // behaviors/functions/molecules/std-agent-planner.ts
@@ -20918,7 +20926,7 @@ function planningView() {
20918
20926
  justify: "center",
20919
20927
  children: [
20920
20928
  { type: "badge", label: ["str/concat", "Category: ", "@entity.category"] },
20921
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryCount"], " memories loaded"] }
20929
+ { type: "badge", label: ["str/concat", "@entity.memoryCount", " memories loaded"] }
20922
20930
  ]
20923
20931
  }
20924
20932
  ]
@@ -20956,7 +20964,7 @@ function readyView(entityName) {
20956
20964
  columns: 3,
20957
20965
  children: [
20958
20966
  { type: "stat-display", label: "Category", value: `@entity.category`, icon: "tag" },
20959
- { type: "stat-display", label: "Confidence", value: ["str/concat", ["str/concat", "@entity.confidence"], "%"], icon: "target" },
20967
+ { type: "stat-display", label: "Confidence", value: ["str/concat", "@entity.confidence", "%"], icon: "target" },
20960
20968
  { type: "stat-display", label: "Memories Used", value: `@entity.memoryCount`, icon: "brain" }
20961
20969
  ]
20962
20970
  },
@@ -21289,12 +21297,12 @@ function stdAgentPlanner(params) {
21289
21297
  { ref: memoryTrait.name }
21290
21298
  ]
21291
21299
  };
21292
- return makeOrbital(
21300
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
21293
21301
  `${entityName}Orbital`,
21294
21302
  entity,
21295
21303
  [plannerTrait, modalTrait, classifierTrait, completionTrait, memoryTrait],
21296
21304
  [page]
21297
- );
21305
+ ));
21298
21306
  }
21299
21307
  function resolve93(params) {
21300
21308
  const entityName = params.entityName ?? "ToolCall";
@@ -21525,7 +21533,7 @@ function stdAgentToolCall(params = {}) {
21525
21533
  { ref: agentTrait.name }
21526
21534
  ]
21527
21535
  };
21528
- return makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]);
21536
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [modalTrait, agentTrait], [page]));
21529
21537
  }
21530
21538
  function resolve94(params) {
21531
21539
  const entityName = params.entityName ?? "StepTracker";
@@ -21809,7 +21817,7 @@ function stdAgentStepProgressPage(params = {}) {
21809
21817
  }
21810
21818
  function stdAgentStepProgress(params = {}) {
21811
21819
  const c = resolve94(params);
21812
- return makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]);
21820
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity80(c), [buildTrait72(c)], [buildPage72(c)]));
21813
21821
  }
21814
21822
 
21815
21823
  // behaviors/functions/molecules/std-agent-tool-loop.ts
@@ -21936,7 +21944,7 @@ function executingView() {
21936
21944
  { type: "typography", content: "Executing Tool", variant: "h2" }
21937
21945
  ]
21938
21946
  },
21939
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"], "/", ["str/concat", "@entity.maxIterations"]] }
21947
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations", "/", "@entity.maxIterations"] }
21940
21948
  ]
21941
21949
  },
21942
21950
  { type: "divider" },
@@ -21978,7 +21986,7 @@ function checkingView() {
21978
21986
  { type: "icon", name: "eye", size: "lg" },
21979
21987
  { type: "typography", content: "Checking result...", variant: "h3" },
21980
21988
  { type: "spinner", size: "lg" },
21981
- { type: "badge", label: ["str/concat", "Iteration ", ["str/concat", "@entity.iterations"]] }
21989
+ { type: "badge", label: ["str/concat", "Iteration ", "@entity.iterations"] }
21982
21990
  ]
21983
21991
  };
21984
21992
  }
@@ -22359,12 +22367,12 @@ function stdAgentToolLoop(params) {
22359
22367
  { ref: contextTrait.name }
22360
22368
  ]
22361
22369
  };
22362
- return makeOrbital(
22370
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
22363
22371
  `${entityName}Orbital`,
22364
22372
  entity,
22365
22373
  [loopTrait, stepProgressTrait, completionTrait, toolCallTrait, contextTrait],
22366
22374
  [page]
22367
- );
22375
+ ));
22368
22376
  }
22369
22377
  function resolve96(params) {
22370
22378
  const entityName = params.entityName ?? "FixLoop";
@@ -22459,7 +22467,7 @@ function validatingView() {
22459
22467
  justify: "center",
22460
22468
  children: [
22461
22469
  { type: "badge", label: `@entity.target` },
22462
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"], "/", ["str/concat", "@entity.maxAttempts"]] }
22470
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts", "/", "@entity.maxAttempts"] }
22463
22471
  ]
22464
22472
  }
22465
22473
  ]
@@ -22488,7 +22496,7 @@ function fixingView() {
22488
22496
  { type: "typography", content: "Generating fix...", variant: "h2" }
22489
22497
  ]
22490
22498
  },
22491
- { type: "badge", label: ["str/concat", "Attempt ", ["str/concat", "@entity.fixAttempts"]] }
22499
+ { type: "badge", label: ["str/concat", "Attempt ", "@entity.fixAttempts"] }
22492
22500
  ]
22493
22501
  },
22494
22502
  { type: "divider" },
@@ -22915,12 +22923,12 @@ function stdAgentFixLoop(params) {
22915
22923
  { ref: completionTrait.name }
22916
22924
  ]
22917
22925
  };
22918
- return makeOrbital(
22926
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
22919
22927
  `${entityName}Orbital`,
22920
22928
  entity,
22921
22929
  [fixTrait, stepProgressTrait, errorsBrowseTrait, validateCallTrait, fixCallTrait, completionTrait],
22922
22930
  [page]
22923
- );
22931
+ ));
22924
22932
  }
22925
22933
  function resolve97(params) {
22926
22934
  const entityName = params.entityName ?? "Session";
@@ -23191,7 +23199,7 @@ function stdAgentSession(params = {}) {
23191
23199
  { ref: agentTrait.name }
23192
23200
  ]
23193
23201
  };
23194
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]);
23202
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, labelTrait, agentTrait], [page]));
23195
23203
  }
23196
23204
 
23197
23205
  // behaviors/functions/organisms/std-agent-builder.ts
@@ -23215,7 +23223,8 @@ function stdAgentBuilder(params = {}) {
23215
23223
  isInitial: true,
23216
23224
  categories: ["schema", "component", "trait", "page", "behavior"]
23217
23225
  });
23218
- const plannerTrait = plannerOrbital.traits[0];
23226
+ const plannerDef = plannerOrbital.orbitals[0];
23227
+ const plannerTrait = plannerDef.traits[0];
23219
23228
  plannerTrait.name = "BuildPlanner";
23220
23229
  const toolLoopOrbital = stdAgentToolLoop({
23221
23230
  entityName: "BuildLoop",
@@ -23225,7 +23234,8 @@ function stdAgentBuilder(params = {}) {
23225
23234
  maxIterations: 10,
23226
23235
  compactThreshold: 0.8
23227
23236
  });
23228
- const toolLoopTrait = toolLoopOrbital.traits[0];
23237
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
23238
+ const toolLoopTrait = toolLoopDef.traits[0];
23229
23239
  toolLoopTrait.name = "SchemaBuilder";
23230
23240
  const fixLoopOrbital = stdAgentFixLoop({
23231
23241
  entityName: "BuildFix",
@@ -23237,7 +23247,8 @@ function stdAgentBuilder(params = {}) {
23237
23247
  validateTool: "validate-schema",
23238
23248
  fixTool: "apply-fix"
23239
23249
  });
23240
- const fixLoopTrait = fixLoopOrbital.traits[0];
23250
+ const fixLoopDef = fixLoopOrbital.orbitals[0];
23251
+ const fixLoopTrait = fixLoopDef.traits[0];
23241
23252
  fixLoopTrait.name = "FixLoop";
23242
23253
  const sessionOrbital = stdAgentSession({
23243
23254
  entityName: "BuildSession",
@@ -23245,7 +23256,8 @@ function stdAgentBuilder(params = {}) {
23245
23256
  pageName: "SessionPage",
23246
23257
  pagePath: "/session"
23247
23258
  });
23248
- const sessionTrait = sessionOrbital.traits[0];
23259
+ const sessionDef = sessionOrbital.orbitals[0];
23260
+ const sessionTrait = sessionDef.traits[0];
23249
23261
  sessionTrait.name = "BuildSessionManager";
23250
23262
  const taskFields = ensureIdField(params.taskFields ?? DEFAULT_TASK_FIELDS2);
23251
23263
  const tabsTrait = extractTrait(stdTabs({
@@ -23482,7 +23494,7 @@ function stdAgentSearch(params = {}) {
23482
23494
  { ref: agentTrait.name }
23483
23495
  ]
23484
23496
  };
23485
- return makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]);
23497
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, entity, [browseTrait, agentTrait], [page]));
23486
23498
  }
23487
23499
 
23488
23500
  // behaviors/functions/molecules/std-agent-rag.ts
@@ -23600,8 +23612,8 @@ function generatingView() {
23600
23612
  gap: "md",
23601
23613
  justify: "center",
23602
23614
  children: [
23603
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.memoryHits"], " memories"] },
23604
- { type: "badge", label: ["str/concat", ["str/concat", "@entity.searchHits"], " code hits"] }
23615
+ { type: "badge", label: ["str/concat", "@entity.memoryHits", " memories"] },
23616
+ { type: "badge", label: ["str/concat", "@entity.searchHits", " code hits"] }
23605
23617
  ]
23606
23618
  }
23607
23619
  ]
@@ -23902,12 +23914,12 @@ function stdAgentRag(params) {
23902
23914
  { ref: completionTrait.name }
23903
23915
  ]
23904
23916
  };
23905
- return makeOrbital(
23917
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
23906
23918
  `${entityName}Orbital`,
23907
23919
  entity,
23908
23920
  [ragTrait, tabsTrait, memoryTrait, searchTrait, completionTrait],
23909
23921
  [page]
23910
- );
23922
+ ));
23911
23923
  }
23912
23924
 
23913
23925
  // behaviors/functions/organisms/std-agent-reviewer.ts
@@ -24142,7 +24154,8 @@ function stdAgentReviewer(params = {}) {
24142
24154
  pageName: "AnalysisPage",
24143
24155
  pagePath: "/analysis"
24144
24156
  });
24145
- const classifierTrait = classifierOrbital.traits[0];
24157
+ const classifierDef = classifierOrbital.orbitals[0];
24158
+ const classifierTrait = classifierDef.traits[0];
24146
24159
  classifierTrait.name = "InputClassifier";
24147
24160
  classifierTrait.emits = [
24148
24161
  { event: "CLASSIFIED", description: "Input has been classified", scope: "internal", payload: [{ name: "category", type: "string" }] }
@@ -24153,7 +24166,8 @@ function stdAgentReviewer(params = {}) {
24153
24166
  pageName: "CompletionPage",
24154
24167
  pagePath: "/completion"
24155
24168
  });
24156
- const completionTrait = completionOrbital.traits[0];
24169
+ const completionDef = completionOrbital.orbitals[0];
24170
+ const completionTrait = completionDef.traits[0];
24157
24171
  completionTrait.name = "ReviewCompletionFlow";
24158
24172
  const tabsTrait = extractTrait(stdTabs({
24159
24173
  entityName: "Review",
@@ -24246,7 +24260,8 @@ function stdAgentPipeline(params = {}) {
24246
24260
  isInitial: true,
24247
24261
  categories: ["data", "transform", "validate", "deploy", "test"]
24248
24262
  });
24249
- const plannerTrait = plannerOrbital.traits[0];
24263
+ const plannerDef = plannerOrbital.orbitals[0];
24264
+ const plannerTrait = plannerDef.traits[0];
24250
24265
  plannerTrait.name = "PipelinePlanner";
24251
24266
  plannerTrait.emits = [
24252
24267
  ...plannerTrait.emits ?? [],
@@ -24261,7 +24276,8 @@ function stdAgentPipeline(params = {}) {
24261
24276
  maxIterations: 20,
24262
24277
  compactThreshold: 0.8
24263
24278
  });
24264
- const toolLoopTrait = toolLoopOrbital.traits[0];
24279
+ const toolLoopDef = toolLoopOrbital.orbitals[0];
24280
+ const toolLoopTrait = toolLoopDef.traits[0];
24265
24281
  toolLoopTrait.name = "PipelineExecutor";
24266
24282
  toolLoopTrait.emits = [
24267
24283
  ...toolLoopTrait.emits ?? [],
@@ -24276,7 +24292,8 @@ function stdAgentPipeline(params = {}) {
24276
24292
  pageName: "SessionPage",
24277
24293
  pagePath: "/session"
24278
24294
  });
24279
- const sessionTrait = sessionOrbital.traits[0];
24295
+ const sessionDef = sessionOrbital.orbitals[0];
24296
+ const sessionTrait = sessionDef.traits[0];
24280
24297
  sessionTrait.name = "PipelineSessionManager";
24281
24298
  const memoryOrbital = stdAgentMemory({
24282
24299
  entityName: "ExecutionLog",
@@ -24803,7 +24820,8 @@ function stdAgentTutor(params = {}) {
24803
24820
  pagePath: "/teach",
24804
24821
  isInitial: true
24805
24822
  });
24806
- const convTrait = conversationOrbital.traits[0];
24823
+ const convDef = conversationOrbital.orbitals[0];
24824
+ const convTrait = convDef.traits[0];
24807
24825
  convTrait.name = "TutorConversation";
24808
24826
  const memoryOrbital = stdAgentMemory({
24809
24827
  entityName: "Concept",
@@ -24819,7 +24837,8 @@ function stdAgentTutor(params = {}) {
24819
24837
  pageName: "AssessmentPage",
24820
24838
  pagePath: "/assessment"
24821
24839
  });
24822
- const clsTrait = classifierOrbital.traits[0];
24840
+ const clsDef = classifierOrbital.orbitals[0];
24841
+ const clsTrait = clsDef.traits[0];
24823
24842
  clsTrait.name = "LevelClassifier";
24824
24843
  const tabsTrait = extractTrait(stdTabs({
24825
24844
  entityName: "TutorSession",
@@ -25071,7 +25090,7 @@ function stdAgentActivityLogPage(params = {}) {
25071
25090
  }
25072
25091
  function stdAgentActivityLog(params = {}) {
25073
25092
  const c = resolve100(params);
25074
- return makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]);
25093
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(`${c.entityName}Orbital`, buildEntity86(c), [buildTrait75(c)], [buildPage73(c)]));
25075
25094
  }
25076
25095
  function resolve101(params) {
25077
25096
  const entityName = params.entityName ?? "LearningRecord";
@@ -25350,7 +25369,7 @@ function buildTrait76(c) {
25350
25369
  ["if", "@entity.isSuccess", "success", "failure"],
25351
25370
  "\n",
25352
25371
  "Consecutive failures: ",
25353
- ["str/concat", "@entity.consecutiveFailures"],
25372
+ "@entity.consecutiveFailures",
25354
25373
  "\n\n",
25355
25374
  "Analyze the impact of this outcome. What should be learned? Keep it to 1-2 sentences."
25356
25375
  ]],
@@ -25490,12 +25509,12 @@ function stdAgentLearner(params) {
25490
25509
  { ref: providerTrait.name }
25491
25510
  ]
25492
25511
  };
25493
- return makeOrbital(
25512
+ return makeSchema(`${entityName}Orbital`, makeOrbital(
25494
25513
  `${entityName}Orbital`,
25495
25514
  entity,
25496
25515
  [learnerTrait, recordsBrowseTrait, memoryTrait, completionTrait, providerTrait],
25497
25516
  [page]
25498
- );
25517
+ ));
25499
25518
  }
25500
25519
  function stdValidateOnSave(params = {}) {
25501
25520
  const {
@@ -25772,7 +25791,7 @@ function stdValidateOnSave(params = {}) {
25772
25791
  traitName: "OrbFileWatcher"
25773
25792
  })
25774
25793
  ];
25775
- return makeOrbital("ValidateOnSave", entity, [trait], pages);
25794
+ return makeSchema("ValidateOnSave", makeOrbital("ValidateOnSave", entity, [trait], pages));
25776
25795
  }
25777
25796
  function resolve102(params) {
25778
25797
  const { entityName } = params;
@@ -26004,12 +26023,12 @@ function stdServiceEmail(params) {
26004
26023
  const pages = [];
26005
26024
  const page = buildPage74(c);
26006
26025
  if (page) pages.push(page);
26007
- return makeOrbital(
26026
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26008
26027
  `${c.entityName}Orbital`,
26009
26028
  buildEntity88(c),
26010
26029
  [buildTrait77(c)],
26011
26030
  pages
26012
- );
26031
+ ));
26013
26032
  }
26014
26033
  function resolve103(params) {
26015
26034
  const entityName = params.entityName ?? "Payment";
@@ -26252,12 +26271,12 @@ function stdServiceStripePage(params = {}) {
26252
26271
  }
26253
26272
  function stdServiceStripe(params = {}) {
26254
26273
  const c = resolve103(params);
26255
- return makeOrbital(
26274
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26256
26275
  `${c.entityName}Orbital`,
26257
26276
  buildEntity89(c),
26258
26277
  [buildTrait78(c)],
26259
26278
  [buildPage75(c)]
26260
- );
26279
+ ));
26261
26280
  }
26262
26281
  function resolve104(params) {
26263
26282
  const entityName = params.entityName ?? "Message";
@@ -26503,12 +26522,12 @@ function stdServiceTwilio(params = {}) {
26503
26522
  const pages = [];
26504
26523
  const page = buildPage76(c);
26505
26524
  if (page) pages.push(page);
26506
- return makeOrbital(
26525
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26507
26526
  `${c.entityName}Orbital`,
26508
26527
  buildEntity90(c),
26509
26528
  [buildTrait79(c)],
26510
26529
  pages
26511
- );
26530
+ ));
26512
26531
  }
26513
26532
  function resolve105(params) {
26514
26533
  const entityName = params.entityName ?? "PullRequest";
@@ -26724,12 +26743,12 @@ function stdServiceGithubPage(params = {}) {
26724
26743
  }
26725
26744
  function stdServiceGithub(params = {}) {
26726
26745
  const c = resolve105(params);
26727
- return makeOrbital(
26746
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
26728
26747
  `${c.entityName}Orbital`,
26729
26748
  buildEntity91(c),
26730
26749
  [buildTrait80(c)],
26731
26750
  [buildPage77(c)]
26732
- );
26751
+ ));
26733
26752
  }
26734
26753
  function resolve106(params) {
26735
26754
  const entityName = params.entityName ?? "VideoSearch";
@@ -27038,12 +27057,12 @@ function stdServiceYoutube(params = {}) {
27038
27057
  const pages = [];
27039
27058
  const page = buildPage78(c);
27040
27059
  if (page) pages.push(page);
27041
- return makeOrbital(
27060
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
27042
27061
  `${c.entityName}Orbital`,
27043
27062
  buildEntity92(c),
27044
27063
  [buildTrait81(c)],
27045
27064
  pages
27046
- );
27065
+ ));
27047
27066
  }
27048
27067
  function resolve107(params) {
27049
27068
  const entityName = params.entityName ?? "LlmTask";
@@ -27305,12 +27324,12 @@ function stdServiceLlm(params = {}) {
27305
27324
  const pages = [];
27306
27325
  const page = buildPage79(c);
27307
27326
  if (page) pages.push(page);
27308
- return makeOrbital(
27327
+ return makeSchema(`${c.entityName}Orbital`, makeOrbital(
27309
27328
  `${c.entityName}Orbital`,
27310
27329
  buildEntity93(c),
27311
27330
  [buildTrait82(c)],
27312
27331
  pages
27313
- );
27332
+ ));
27314
27333
  }
27315
27334
  function resolve108(params) {
27316
27335
  const entityName = params.entityName ?? "ApiCall";
@@ -27526,7 +27545,7 @@ function stdServiceCustomHeader(params) {
27526
27545
  [buildTrait83(c)],
27527
27546
  [buildPage80(c)]
27528
27547
  );
27529
- return {
27548
+ return makeSchema(`${c.entityName}Orbital`, {
27530
27549
  ...orbital,
27531
27550
  services: [{
27532
27551
  name: "custom-header-api",
@@ -27539,7 +27558,7 @@ function stdServiceCustomHeader(params) {
27539
27558
  secretEnv: c.secretEnvVar
27540
27559
  }
27541
27560
  }]
27542
- };
27561
+ });
27543
27562
  }
27544
27563
  function resolve109(params) {
27545
27564
  const entityName = params.entityName ?? "ApiCall";
@@ -27755,7 +27774,7 @@ function stdServiceCustomQuery(params) {
27755
27774
  [buildTrait84(c)],
27756
27775
  [buildPage81(c)]
27757
27776
  );
27758
- return {
27777
+ return makeSchema(`${c.entityName}Orbital`, {
27759
27778
  ...orbital,
27760
27779
  services: [{
27761
27780
  name: "custom-query-api",
@@ -27768,7 +27787,7 @@ function stdServiceCustomQuery(params) {
27768
27787
  secretEnv: c.secretEnvVar
27769
27788
  }
27770
27789
  }]
27771
- };
27790
+ });
27772
27791
  }
27773
27792
  function resolve110(params) {
27774
27793
  const entityName = params.entityName ?? "ApiCall";
@@ -27982,14 +28001,14 @@ function stdServiceCustomNoauth(params) {
27982
28001
  [buildTrait85(c)],
27983
28002
  [buildPage82(c)]
27984
28003
  );
27985
- return {
28004
+ return makeSchema(`${c.entityName}Orbital`, {
27986
28005
  ...orbital,
27987
28006
  services: [{
27988
28007
  name: "custom-noauth-api",
27989
28008
  type: "rest",
27990
28009
  baseUrl: c.baseUrl
27991
28010
  }]
27992
- };
28011
+ });
27993
28012
  }
27994
28013
 
27995
28014
  // behaviors/exports-reader.ts