@almadar/std 16.197.0 → 16.199.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 (356) hide show
  1. package/behaviors/lolo/agent/atoms/std-agent-tool-call.lolo +2 -2
  2. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +2 -2
  3. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +3 -3
  4. package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +4 -4
  5. package/behaviors/lolo/infra/atoms/std-cascade-on-delete.lolo +5 -5
  6. package/behaviors/lolo/infra/atoms/std-cooldown.lolo +1 -1
  7. package/behaviors/lolo/infra/atoms/std-game-clock.lolo +1 -1
  8. package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -3
  9. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +30 -25
  10. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +2 -2
  11. package/behaviors/lolo/infra/atoms/std-reminder-scheduler.lolo +3 -3
  12. package/behaviors/lolo/ml/atoms/std-data-collector.lolo +3 -3
  13. package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +6 -5
  14. package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +11 -2
  15. package/behaviors/lolo/ml/atoms/std-ml-exact-check.lolo +8 -8
  16. package/behaviors/lolo/ml/atoms/std-ml-infer.lolo +12 -8
  17. package/behaviors/lolo/ml/atoms/std-ml-label-capture.lolo +6 -6
  18. package/behaviors/lolo/ml/atoms/std-ml-lookup.lolo +7 -7
  19. package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +12 -3
  20. package/behaviors/lolo/ml/atoms/std-tokenizer.lolo +2 -2
  21. package/behaviors/lolo/ml/atoms/std-weight-validator.lolo +5 -4
  22. package/behaviors/lolo/ml/organisms/std-escalating-decision.lolo +33 -17
  23. package/behaviors/lolo/ml/organisms/std-knowledge-tracing.lolo +9 -6
  24. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +61 -1
  25. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +61 -1
  26. package/behaviors/lolo/ui/core/atoms/std-board.lolo +6 -4
  27. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +5 -3
  28. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +2 -0
  29. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +9 -0
  30. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +4 -2
  31. package/behaviors/lolo/ui/core/atoms/std-filter.lolo +5 -0
  32. package/behaviors/lolo/ui/core/atoms/std-gallery.lolo +4 -2
  33. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +2 -0
  34. package/behaviors/lolo/ui/core/atoms/std-import.lolo +6 -5
  35. package/behaviors/lolo/ui/core/atoms/std-list.lolo +2 -0
  36. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +4 -4
  37. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +10 -10
  38. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +4 -4
  39. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +4 -4
  40. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +1 -1
  41. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +2 -0
  42. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +4 -0
  43. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +3 -3
  44. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +2 -0
  45. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +2 -2
  46. package/behaviors/lolo/ui/core/atoms/ui-avatar.lolo +3 -7
  47. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +3 -5
  48. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +2 -4
  49. package/behaviors/lolo/ui/core/atoms/ui-card.lolo +1 -3
  50. package/behaviors/lolo/ui/core/atoms/ui-checkbox.lolo +1 -3
  51. package/behaviors/lolo/ui/core/atoms/ui-conditional-wrapper.lolo +4 -4
  52. package/behaviors/lolo/ui/core/atoms/ui-flip-container.lolo +1 -3
  53. package/behaviors/lolo/ui/core/atoms/ui-hstack.lolo +2 -4
  54. package/behaviors/lolo/ui/core/atoms/ui-infinite-scroll-sentinel.lolo +2 -4
  55. package/behaviors/lolo/ui/core/atoms/ui-input.lolo +34 -8
  56. package/behaviors/lolo/ui/core/atoms/ui-overlay.lolo +1 -3
  57. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +23 -2
  58. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +23 -2
  59. package/behaviors/lolo/ui/core/atoms/ui-select.lolo +3 -9
  60. package/behaviors/lolo/ui/core/atoms/ui-stack.lolo +2 -4
  61. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +51 -14
  62. package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +2 -6
  63. package/behaviors/lolo/ui/core/atoms/ui-typewriter-text.lolo +1 -3
  64. package/behaviors/lolo/ui/core/atoms/ui-vstack.lolo +2 -4
  65. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +2 -6
  66. package/behaviors/lolo/ui/core/molecules/ui-branching-logic-builder.lolo +8 -1
  67. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +3 -1
  68. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +4 -8
  69. package/behaviors/lolo/ui/core/molecules/ui-carousel.lolo +2 -2
  70. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +2 -6
  71. package/behaviors/lolo/ui/core/molecules/ui-content-renderer.lolo +1 -1
  72. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +4 -5
  73. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +9 -17
  74. package/behaviors/lolo/ui/core/molecules/ui-doc-sidebar.lolo +1 -1
  75. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +1 -1
  76. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +1 -3
  77. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  78. package/behaviors/lolo/ui/core/molecules/ui-empty-state.lolo +1 -3
  79. package/behaviors/lolo/ui/core/molecules/ui-error-state.lolo +1 -3
  80. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +1 -1
  81. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +57 -6
  82. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +1 -3
  83. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +3 -7
  84. package/behaviors/lolo/ui/core/molecules/ui-form-section-header.lolo +1 -3
  85. package/behaviors/lolo/ui/core/molecules/ui-fx-overlay.lolo +1 -1
  86. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +5 -5
  87. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +3 -9
  88. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -7
  89. package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +35 -8
  90. package/behaviors/lolo/ui/core/molecules/ui-lightbox.lolo +1 -3
  91. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +1 -1
  92. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +2 -6
  93. package/behaviors/lolo/ui/core/molecules/ui-navigation.lolo +1 -1
  94. package/behaviors/lolo/ui/core/molecules/ui-notification.lolo +2 -6
  95. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +21 -2
  96. package/behaviors/lolo/ui/core/molecules/ui-option-constraint-group.lolo +1 -1
  97. package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +4 -6
  98. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +1 -3
  99. package/behaviors/lolo/ui/core/molecules/ui-pull-to-refresh.lolo +2 -4
  100. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +1 -3
  101. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +2 -1
  102. package/behaviors/lolo/ui/core/molecules/ui-side-panel.lolo +1 -3
  103. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +3 -7
  104. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +1 -3
  105. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +4 -2
  106. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +20 -2
  107. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +3 -3
  108. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +7 -5
  109. package/behaviors/lolo/ui/core/molecules/ui-tag-input.lolo +6 -3
  110. package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +9 -2
  111. package/behaviors/lolo/ui/core/molecules/ui-violation-alert.lolo +1 -3
  112. package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +18 -20
  113. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +3 -9
  114. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +2 -1
  115. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +11 -5
  116. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +2 -1
  117. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +16 -12
  118. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +16 -12
  119. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +1 -1
  120. package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +5 -1
  121. package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +4 -6
  122. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +2 -1
  123. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -9
  124. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +5 -8
  125. package/behaviors/lolo/ui/game/.hand-authored.json +1 -1
  126. package/behaviors/lolo/ui/game/atoms/std-fx-particles.lolo +1 -0
  127. package/behaviors/lolo/ui/game/atoms/std-mesh-asset-art.lolo +3 -3
  128. package/behaviors/lolo/ui/game/atoms/std-svg-asset-art.lolo +3 -3
  129. package/behaviors/lolo/ui/game/atoms/ui-action-palette.lolo +15 -2
  130. package/behaviors/lolo/ui/game/atoms/ui-action-tile.lolo +15 -2
  131. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +2 -4
  132. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +79 -10
  133. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +2 -6
  134. package/behaviors/lolo/ui/game/atoms/ui-control-button.lolo +2 -6
  135. package/behaviors/lolo/ui/game/atoms/ui-draw-fx-layer.lolo +4 -2
  136. package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +1 -1
  137. package/behaviors/lolo/ui/game/atoms/ui-draw-shape-layer.lolo +13 -5
  138. package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +11 -3
  139. package/behaviors/lolo/ui/game/atoms/ui-draw-sprite-layer.lolo +4 -3
  140. package/behaviors/lolo/ui/game/atoms/ui-draw-sprite.lolo +6 -1
  141. package/behaviors/lolo/ui/game/atoms/ui-draw-text-layer.lolo +3 -3
  142. package/behaviors/lolo/ui/game/atoms/ui-draw-text.lolo +1 -1
  143. package/behaviors/lolo/ui/game/atoms/ui-sequence-bar.lolo +29 -3
  144. package/behaviors/lolo/ui/game/atoms/ui-state-graph.lolo +1 -1
  145. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +42 -3
  146. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +1 -1
  147. package/behaviors/lolo/ui/game/organisms/std-tactics-board-3d.lolo +1 -1
  148. package/behaviors/lolo/ui/game/templates/ui-game-shell.lolo +2 -2
  149. package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +2 -2
  150. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +1 -1
  151. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +65 -3
  152. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +65 -3
  153. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +20 -0
  154. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +7 -0
  155. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +65 -3
  156. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +4 -4
  157. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +4 -4
  158. package/behaviors/registry/infra/atoms/std-approval-gate.orb +7 -7
  159. package/behaviors/registry/infra/atoms/std-audit-capture.orb +3 -3
  160. package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +3 -3
  161. package/behaviors/registry/infra/atoms/std-cooldown.orb +1 -2
  162. package/behaviors/registry/infra/atoms/std-game-clock.orb +1 -2
  163. package/behaviors/registry/infra/atoms/std-lifecycle.orb +2 -2
  164. package/behaviors/registry/infra/atoms/std-migration-job.orb +201 -29
  165. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1 -1
  166. package/behaviors/registry/infra/atoms/std-reminder-scheduler.orb +2 -2
  167. package/behaviors/registry/ml/atoms/std-data-collector.orb +4 -4
  168. package/behaviors/registry/ml/atoms/std-graph-builder.orb +20 -5
  169. package/behaviors/registry/ml/atoms/std-ml-classify.orb +50 -0
  170. package/behaviors/registry/ml/atoms/std-ml-exact-check.orb +13 -13
  171. package/behaviors/registry/ml/atoms/std-ml-infer.orb +106 -11
  172. package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +6 -6
  173. package/behaviors/registry/ml/atoms/std-ml-lookup.orb +11 -11
  174. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +94 -0
  175. package/behaviors/registry/ml/atoms/std-tokenizer.orb +2 -2
  176. package/behaviors/registry/ml/atoms/std-weight-validator.orb +22 -5
  177. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +263 -12
  178. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +67 -9
  179. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +337 -2
  180. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +337 -2
  181. package/behaviors/registry/ui/core/atoms/std-board.orb +16 -4
  182. package/behaviors/registry/ui/core/atoms/std-browse.orb +15 -0
  183. package/behaviors/registry/ui/core/atoms/std-calendar.orb +10 -0
  184. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +15 -0
  185. package/behaviors/registry/ui/core/atoms/std-event-log.orb +13 -2
  186. package/behaviors/registry/ui/core/atoms/std-filter.orb +19 -0
  187. package/behaviors/registry/ui/core/atoms/std-gallery.orb +11 -0
  188. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +8 -0
  189. package/behaviors/registry/ui/core/atoms/std-import.orb +90 -4
  190. package/behaviors/registry/ui/core/atoms/std-list.orb +9 -0
  191. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +8 -4
  192. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +14 -10
  193. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +19 -11
  194. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +6 -4
  195. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +5 -2
  196. package/behaviors/registry/ui/core/atoms/std-selection.orb +9 -0
  197. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +16 -0
  198. package/behaviors/registry/ui/core/atoms/std-thread.orb +7 -4
  199. package/behaviors/registry/ui/core/atoms/std-tree.orb +9 -0
  200. package/behaviors/registry/ui/core/atoms/std-wizard.orb +4 -2
  201. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +3 -26
  202. package/behaviors/registry/ui/core/atoms/ui-box.orb +9 -18
  203. package/behaviors/registry/ui/core/atoms/ui-button.orb +2 -14
  204. package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -12
  205. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -12
  206. package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +4 -4
  207. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -0
  208. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +1 -0
  209. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -12
  210. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +2 -14
  211. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +2 -14
  212. package/behaviors/registry/ui/core/atoms/ui-input.orb +78 -28
  213. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -12
  214. package/behaviors/registry/ui/core/atoms/ui-radio.orb +67 -4
  215. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +63 -6
  216. package/behaviors/registry/ui/core/atoms/ui-select.orb +3 -36
  217. package/behaviors/registry/ui/core/atoms/ui-stack.orb +2 -14
  218. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -0
  219. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +140 -45
  220. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +2 -24
  221. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -0
  222. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -12
  223. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +2 -14
  224. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +2 -0
  225. package/behaviors/registry/ui/core/molecules/ui-alert.orb +2 -24
  226. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +3 -2
  227. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +23 -2
  228. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +9 -28
  229. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +4 -4
  230. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -0
  231. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +2 -24
  232. package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +1 -4
  233. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +20 -16
  234. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +30 -60
  235. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +2 -0
  236. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -0
  237. package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +46 -2
  238. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +4 -2
  239. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +4 -0
  240. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -12
  241. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +5 -2
  242. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +1 -12
  243. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +1 -12
  244. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +87 -2
  245. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +185 -18
  246. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -12
  247. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +3 -26
  248. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -12
  249. package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +2 -0
  250. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +16 -9
  251. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +2 -0
  252. package/behaviors/registry/ui/core/molecules/ui-header.orb +4 -36
  253. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +3 -25
  254. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -0
  255. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +79 -28
  256. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +2 -12
  257. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -0
  258. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +2 -0
  259. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +1 -0
  260. package/behaviors/registry/ui/core/molecules/ui-menu.orb +86 -2
  261. package/behaviors/registry/ui/core/molecules/ui-modal.orb +2 -24
  262. package/behaviors/registry/ui/core/molecules/ui-navigation.orb +99 -2
  263. package/behaviors/registry/ui/core/molecules/ui-notification.orb +2 -24
  264. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +61 -6
  265. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +3 -2
  266. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +4 -15
  267. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +2 -12
  268. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +2 -0
  269. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -0
  270. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +2 -0
  271. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -0
  272. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +2 -14
  273. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +1 -0
  274. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -0
  275. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +3 -12
  276. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +4 -0
  277. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -0
  278. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +14 -2
  279. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +1 -12
  280. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +102 -26
  281. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +3 -12
  282. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +28 -6
  283. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +60 -6
  284. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +3 -4
  285. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +37 -9
  286. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +1 -0
  287. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +43 -6
  288. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +8 -6
  289. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +3 -0
  290. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +2 -12
  291. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +1 -0
  292. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1173 -36
  293. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +6 -36
  294. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +1 -0
  295. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +12 -0
  296. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +56 -13
  297. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +12 -0
  298. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +107 -26
  299. package/behaviors/registry/ui/core/organisms/ui-form.orb +107 -26
  300. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +3 -2
  301. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +26 -2
  302. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +7 -18
  303. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -0
  304. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +12 -0
  305. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +3 -36
  306. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +132 -27
  307. package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +14 -0
  308. package/behaviors/registry/ui/game/atoms/std-mesh-asset-art.orb +15 -3
  309. package/behaviors/registry/ui/game/atoms/std-svg-asset-art.orb +15 -3
  310. package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +103 -2
  311. package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +79 -1
  312. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +6 -14
  313. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +336 -32
  314. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +2 -24
  315. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +2 -24
  316. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +2 -0
  317. package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +14 -2
  318. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +2 -2
  319. package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +78 -8
  320. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +31 -2
  321. package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +21 -4
  322. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +14 -2
  323. package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +14 -4
  324. package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +7 -2
  325. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -0
  326. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +199 -2
  327. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +5 -2
  328. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +247 -0
  329. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +11 -1
  330. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +10 -1
  331. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +2 -2
  332. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +2 -2
  333. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1 -1
  334. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +2 -0
  335. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -0
  336. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +254 -6
  337. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +254 -6
  338. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +53 -0
  339. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +17 -0
  340. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +254 -6
  341. package/dist/behaviors/exports-reader.js +1450 -277
  342. package/dist/behaviors/factory-signatures.js +5 -1
  343. package/dist/behaviors/functions/index.d.ts +152 -642
  344. package/dist/behaviors/functions/index.js +1450 -277
  345. package/dist/behaviors/index.d.ts +1 -1
  346. package/dist/behaviors/index.js +1452 -280
  347. package/dist/behaviors/query.js +1450 -277
  348. package/dist/behaviors-embeddings.hash.json +3 -3
  349. package/dist/behaviors-embeddings.json +17 -17
  350. package/dist/behaviors-registry.json +76 -37
  351. package/dist/index.d.ts +1 -1
  352. package/dist/index.js +1452 -280
  353. package/dist/knob-embeddings.hash.json +3 -3
  354. package/dist/knob-embeddings.json +1 -1
  355. package/dist/registry/factory-signatures.json +1 -1
  356. package/package.json +2 -2
@@ -1,8 +1,8 @@
1
1
  app std-agent-tool-call "1.0.0"
2
2
  "Wraps llm/call-tools — takes messages + tools, returns tool-call result."
3
3
 
4
- type LlmMessage = { role: string!, content: string!, toolCalls: [object], toolCallId: string }
5
- type LlmToolDef = { name: string!, description: string!, schema: object }
4
+ type LlmMessage = { role: string!, content: string!, toolCalls: [opaque], toolCallId: string }
5
+ type LlmToolDef = { name: string!, description: string!, schema: opaque }
6
6
 
7
7
  orbital AgentToolCallOrbital {
8
8
 
@@ -1,8 +1,8 @@
1
1
  app std-agent-tool-loop "1.0.0"
2
2
  "Agent tool-loop molecule — call-tools, check response, emit result for iteration."
3
3
 
4
- type LlmMessage = { role: string!, content: string!, toolCalls: [object], toolCallId: string }
5
- type LlmToolDef = { name: string!, description: string!, schema: object }
4
+ type LlmMessage = { role: string!, content: string!, toolCalls: [opaque], toolCallId: string }
5
+ type LlmToolDef = { name: string!, description: string!, schema: opaque }
6
6
 
7
7
  orbital AgentToolLoopOrbital {
8
8
 
@@ -16,7 +16,7 @@ orbital ApprovalGateOrbital {
16
16
 
17
17
  type ApprovalRequestReviewFailed = Event { error : string, code : string } "Fired when the persist fails"
18
18
 
19
- type ApprovalGranted = Event { requestId : string, payload : object } "Re-emitted on approval; carries the held payload so the downstream listener can replay the gated action without a lookup."
19
+ type ApprovalGranted = Event { requestId : string, payload : opaque } "Re-emitted on approval; carries the held payload so the downstream listener can replay the gated action without a lookup."
20
20
 
21
21
  type DenyCommit = { id : string!, notes : string }
22
22
 
@@ -46,7 +46,7 @@ orbital ApprovalGateOrbital {
46
46
  decidedAt : number @description "Timestamp indicating when a decision was made on the request." @synonyms "decision time, resolved at, completed at" = 0
47
47
  escalatedAt : number @description "Timestamp indicating when the request was escalated." @synonyms "escalation time, escalation timestamp, escalated time" = 0
48
48
  notes : string @description "The reviewer's written reason, captured by the deny step." @synonyms "comments, remarks, explanation, reason, details" = ""
49
- payload : object @description "The held data of the gated action, replayed by the downstream listener when the request is granted." @synonyms "request data, held payload, pending data, gated data" = {}
49
+ payload : opaque @description "The held data of the gated action, replayed by the downstream listener when the request is granted." @synonyms "request data, held payload, pending data, gated data" = {}
50
50
  }
51
51
 
52
52
  trait LoadingSpinner = Spinner.traits.SpinnerRender -> ApprovalRequest {
@@ -372,7 +372,7 @@ orbital ApprovalGateOrbital {
372
372
  @tier "domain"
373
373
  ApprovalGranted -> external {
374
374
  requestId : string
375
- payload : object
375
+ payload : opaque
376
376
  }
377
377
  @description "Signals that an approval process has been successfully completed; carries the held payload for the downstream listener to replay. Contract: if the replay fails (access denial, write failure), the host MUST emit APPROVAL_REPLAY_FAILED back so the request reopens."
378
378
  @synonyms "approved, authorized, confirmed, validated"
@@ -1,7 +1,7 @@
1
1
  app std-audit-capture "1.2.0"
2
2
  "std-audit-capture — event-interceptor audit log / audit trail. Use when a user voices that a record's changes must be tracked, logged, or auditable (audit trail, track changes, change history, who edited what, mutation log, record changes, log every edit, edit history, modification log, who did what when, accountability log). Listens for the generic `EntityMutated` sentinel (rename via traitOverrides.events to the real mutation event, e.g. ContactSaved) and persists an AuditEntry row capturing actor, action, entity type/id, before/after snapshots, and timestamp. `captureEventTypes` filters on @payload.data.kind (empty = capture all). Compose with `std-lifecycle` to apply retention. Composable via `extraTraits` to interpose audit logging behind any mutating trait."
3
3
  orbital AuditCaptureOrbital {
4
- type EntityMutated = Event { data : object } "Rename via traitOverrides.events to the upstream mutation event (e.g. ContactSaved, ContactDeleted)."
4
+ type EntityMutated = Event { data : @entity @config.captureEntity } "Rename via traitOverrides.events to the upstream mutation event (e.g. ContactSaved, ContactDeleted)."
5
5
 
6
6
  type AuditRecorded = Event { actor : string, action : string, entityType : string, entityId : string, recordedAt : number } "Re-emitted after the audit row persists; rename to wire downstream listeners (e.g. AuditDashboardAppended)."
7
7
 
@@ -11,8 +11,8 @@ orbital AuditCaptureOrbital {
11
11
  action : string @description "The specific operation performed on the entity." @synonyms "operation, event, activity, change" = ""
12
12
  entityType : string @description "The type of entity that was modified." @synonyms "type, kind, class" = ""
13
13
  entityId : string @description "Unique identifier for the entity being audited." @synonyms "entity identifier, record id, item id" = ""
14
- before : object @description "The state of the entity prior to the modification." @synonyms "previous, original, old value" = {}
15
- after : object @description "The state of the entity after a modification." @synonyms "new, updated, post, subsequent" = {}
14
+ before : opaque @description "The state of the entity prior to the modification." @synonyms "previous, original, old value" = {}
15
+ after : opaque @description "The state of the entity after a modification." @synonyms "new, updated, post, subsequent" = {}
16
16
  recordedAt : number @description "Timestamp indicating when the audit event was recorded." @synonyms "timestamp, date, time" = 0
17
17
  }
18
18
 
@@ -50,7 +50,7 @@ orbital AuditCaptureOrbital {
50
50
 
51
51
  listens {
52
52
  EntityMutated {
53
- data : object
53
+ data : @entity @config.captureEntity
54
54
  }
55
55
  }
56
56
 
@@ -1,9 +1,9 @@
1
1
  app std-cascade-on-delete "1.1.0"
2
2
  "std-cascade-on-delete — relational `owns` cascade. Listens for a parent-deleted sentinel (`ParentDeleted` — rename via traitOverrides.events to the consumer's actual parent-deleted event), then deletes every dependent row whose `foreignKeyField` points at the deleted parent — via a self-driving loop (delete the head of the matching set, re-fetch until none remain). Emits `CascadeRowDeleted` per row and `CascadeCompleted` when done."
3
3
  orbital CascadeOnDeleteOrbital {
4
- type ParentDeleted = Event { data : object } "Rename via traitOverrides.events to the upstream parent-deleted event (e.g. ContactDeleted). `data.id` carries the parent's primary key."
4
+ type ParentDeleted = Event { data : @entity @config.parentEntity } "Rename via traitOverrides.events to the upstream parent-deleted event (e.g. ContactDeleted). `data.id` carries the parent's primary key."
5
5
 
6
- type DepsLoaded = Event { data : [object] } "Internal: dependent rows fetched for the deleted parent."
6
+ type DepsLoaded = Event { data : [@entity @config.dependentEntity] } "Internal: dependent rows fetched for the deleted parent."
7
7
 
8
8
  type CascadeStepped = Event { id : string } "Internal: one dependent deleted; drives the next loop pass."
9
9
 
@@ -58,7 +58,7 @@ orbital CascadeOnDeleteOrbital {
58
58
  parentId : string
59
59
  }
60
60
  DepsLoaded {
61
- data : [object]
61
+ data : [@entity @config.dependentEntity]
62
62
  }
63
63
  CascadeStepped {
64
64
  id : string
@@ -71,10 +71,10 @@ orbital CascadeOnDeleteOrbital {
71
71
 
72
72
  listens {
73
73
  ParentDeleted {
74
- data : object
74
+ data : @entity @config.parentEntity
75
75
  }
76
76
  DepsLoaded {
77
- data : [object]
77
+ data : [@entity @config.dependentEntity]
78
78
  }
79
79
  CascadeStepped {
80
80
  id : string
@@ -3,7 +3,7 @@ app std-cooldown "1.0.0"
3
3
  orbital CooldownOrbital {
4
4
  type CooldownReady = Event { entityId : string } "Emitted when the cooldown expires and the action is available again."
5
5
 
6
- entity CooldownRecord [persistent: cooldown_states] {
6
+ entity CooldownRecord [runtime] {
7
7
  id : string!
8
8
  remainingMs : number @description "Milliseconds remaining on the active cooldown." @synonyms "time left, remaining, countdown, ms left" = 0
9
9
  active : boolean @description "Whether the cooldown is currently counting down." @synonyms "cooling, on cooldown, busy, in progress" = false
@@ -3,7 +3,7 @@ app std-game-clock "1.0.0"
3
3
  orbital GameClockOrbital {
4
4
  type GameClockTicked = Event { elapsedMs : number } "Broadcast each tick while the clock is running."
5
5
 
6
- entity GameClockRecord [persistent: game_clock_states] {
6
+ entity GameClockRecord [runtime] {
7
7
  id : string!
8
8
  elapsedMs : number @description "Total milliseconds elapsed since the clock started." @synonyms "elapsed, time, ms, total time" = 0
9
9
  running : boolean @description "Whether the clock is currently ticking." @synonyms "active, playing, started" = true
@@ -1,7 +1,7 @@
1
1
  app std-lifecycle "1.1.0"
2
2
  "std-lifecycle — age-based status lifecycle for a target entity. A periodic tick scans the target for records in `fromStatus` whose `dateField` is older than `ageDays`, and transitions each one to `toStatus` — every matching record, via a self-driving scan loop (process the head of a filtered fetch, persist the status, re-fetch until the set drains). Compose onto any orbital and bind `targetEntity` + the status/date knobs."
3
3
  orbital LifecycleOrbital {
4
- type ScanRecordsLoaded = Event { data : [object] } "Internal: target records matching the lifecycle filter."
4
+ type ScanRecordsLoaded = Event { data : [@entity @config.targetEntity] } "Internal: target records matching the lifecycle filter."
5
5
 
6
6
  type ScanFailed = Event { error : string, code : string } "Internal: scan fetch / persist failed."
7
7
 
@@ -59,7 +59,7 @@ orbital LifecycleOrbital {
59
59
  status : string
60
60
  }
61
61
  ScanRecordsLoaded {
62
- data : [object]
62
+ data : [@entity @config.targetEntity]
63
63
  }
64
64
  ScanFailed {
65
65
  error : string
@@ -72,7 +72,7 @@ orbital LifecycleOrbital {
72
72
 
73
73
  listens {
74
74
  ScanRecordsLoaded {
75
- data : [object]
75
+ data : [@entity @config.targetEntity]
76
76
  }
77
77
  ScanFailed {
78
78
  error : string
@@ -2,18 +2,23 @@ app std-migration-job "1.0.0"
2
2
  "std-migration-job — one import run of external data into the host system, modeled as a persistent MigrationJob row with a lifecycle state machine: idle → fetching → mapping → reviewing → committing → done | failed. All source access goes through the migration service (call-service \"migration\" listDocuments / fetchDocument / commit) — the atom never talks to a source directly, and the host-injected service handler resolves credentials from the connectionRef knob (a reference, never the secret). Staging/mapping is host work (deterministic pipeline or agent): the atom fetches, the host stages and emits MIGRATION_STAGED with stats and, optionally, the staged units/skipped/validationErrors rows themselves — when the rows are supplied, reviewing renders an ImportPreviewTree so the user can see what will commit before approving. The user approves (MIGRATION_APPROVED) and only then does commit run. Terminal runs persist the job row for provenance. Rebind the entity to a host-owned job entity via linkedEntity; target, connectionRef and reviewSlot are config knobs."
3
3
  orbital MigrationJobOrbital {
4
4
 
5
+ type MigrationFile = { name : string, size : number, type : string, lastModified : number }
6
+ type ImportSourceOption = { id : string!, kind : string!, label : string!, event : string }
7
+ type ImportUnit = { ref : string!, targetEntity : string!, fields : Map string scalar, parentRef : string }
8
+ type ImportSkip = { ref : string!, reason : string! }
9
+
5
10
  entity MigrationJob [persistent: migration_jobs] {
6
11
  id : string!
7
- source : object @description "ImportSource descriptor of the run (kind + options), supplied by the host." = {}
8
- files : [object] @description "Client-side file metadata for upload sources (name/size/type/lastModified)." = []
12
+ source : ImportSourceOption @description "ImportSource descriptor of the run (kind + options), supplied by the host." = {}
13
+ files : [MigrationFile] @description "Client-side file metadata for upload sources (name/size/type/lastModified)." = []
9
14
  target : string @description "Name of the host entity this import writes into." = ""
10
15
  status : "idle" | "fetching" | "mapping" | "reviewing" | "committing" | "done" | "failed" @description "Lifecycle position of the run." = idle
11
- documents : [object] @description "Document metadata listed from the source." = []
12
- document : object @description "Most recently fetched document content." = {}
13
- stats : object @description "Staged/committed/failed/skipped counts." = {}
14
- units : [object] @description "Staged ImportUnits ready for review (ref/targetEntity/fields/parentRef), when the host stages the full rows rather than aggregate stats only." @synonyms "staged units, preview rows, import rows, staged rows" = []
15
- skipped : [object] @description "Source elements skipped during staging with a reason each, when the host stages the full rows rather than aggregate stats only." @synonyms "skipped rows, skipped elements, staging skips" = []
16
- validationErrors : [object] @description "Validation errors surfaced during staging, when the host stages the full rows rather than aggregate stats only." @synonyms "staging errors, validation issues, import errors" = []
16
+ documents : [opaque] @description "Document metadata listed from the source — migration.listDocuments service result, never destructured by the atom." = []
17
+ document : opaque @description "Most recently fetched document content — migration.fetchDocument service result, never destructured by the atom." = {}
18
+ stats : opaque @description "Staged/committed/failed/skipped counts — merged from host staging and migration.commit service results, never destructured by the atom." = {}
19
+ units : [ImportUnit] @description "Staged ImportUnits ready for review (ref/targetEntity/fields/parentRef), when the host stages the full rows rather than aggregate stats only." @synonyms "staged units, preview rows, import rows, staged rows" = []
20
+ skipped : [ImportSkip] @description "Source elements skipped during staging with a reason each, when the host stages the full rows rather than aggregate stats only." @synonyms "skipped rows, skipped elements, staging skips" = []
21
+ validationErrors : [opaque] @description "Validation errors surfaced during staging, when the host stages the full rows rather than aggregate stats only." @synonyms "staging errors, validation issues, import errors" = []
17
22
  error : string @description "Failure detail when status is failed." = ""
18
23
  createdAt : number @description "Run start timestamp." = 0
19
24
  }
@@ -195,18 +200,18 @@ orbital MigrationJobOrbital {
195
200
 
196
201
  emits {
197
202
  DOCUMENTS_LISTED {
198
- documents : [object]!
203
+ documents : [opaque]!
199
204
  }
200
205
  @description "migration.listDocuments service result, flattened onto the payload by the call-service effect executor"
201
206
  @tier "secondary"
202
207
  DOCUMENT_FETCHED {
203
- document : object!
208
+ document : opaque!
204
209
  }
205
210
  @description "migration.fetchDocument service result, flattened onto the payload by the call-service effect executor"
206
211
  @tier "secondary"
207
212
  COMMITTED {
208
213
  committed : number!
209
- failed : [object]!
214
+ failed : [opaque]!
210
215
  }
211
216
  @description "migration.commit service result — committed count plus per-unit failures"
212
217
  @tier "secondary"
@@ -216,28 +221,28 @@ orbital MigrationJobOrbital {
216
221
  @description "migration service call failure signal — lands the run in failed, never a silent swallow"
217
222
  @tier "secondary"
218
223
  MIGRATION_FETCHED -> external {
219
- documents : [object]!
224
+ documents : [opaque]!
220
225
  }
221
226
  @description "Source documents are listed and the run is ready for staging (deterministic pipeline or agent)"
222
227
  @synonyms "import fetched, source listed, documents ready"
223
228
  @tier "domain"
224
229
  MIGRATION_DOCUMENT -> external {
225
- document : object!
230
+ document : opaque!
226
231
  }
227
232
  @description "A single fetched document's content, for the host staging layer to map into target units"
228
233
  @synonyms "document loaded, content fetched"
229
234
  @tier "domain"
230
235
  MIGRATION_REVIEW_READY -> external {
231
- stats : object!
232
- units : [object]
233
- skipped : [object]
234
- validationErrors : [object]
236
+ stats : opaque!
237
+ units : [ImportUnit]
238
+ skipped : [ImportSkip]
239
+ validationErrors : [opaque]
235
240
  }
236
241
  @description "Staging is complete; the preview is ready for the approval gate. units/skipped/validationErrors forward the full staged rows when the host staged them, for a review-before-commit UI; stats-only hosts leave them empty."
237
242
  @synonyms "preview ready, staging complete, review import"
238
243
  @tier "domain"
239
244
  MIGRATION_COMPLETED -> external {
240
- stats : object!
245
+ stats : opaque!
241
246
  }
242
247
  @description "The commit drained through the host sink; stats carry committed and per-unit failed counts"
243
248
  @synonyms "import done, migration complete, data imported"
@@ -252,8 +257,8 @@ orbital MigrationJobOrbital {
252
257
 
253
258
  listens {
254
259
  MIGRATION_START {
255
- source : object!
256
- files : [object]
260
+ source : ImportSourceOption!
261
+ files : [MigrationFile]
257
262
  }
258
263
  @description "Starts an import run. source is the ImportSource descriptor; files carries client file metadata for upload sources. Also reached via a sibling std-import's IMPORT_REQUESTED."
259
264
  @synonyms "start import, run migration, import data"
@@ -264,15 +269,15 @@ orbital MigrationJobOrbital {
264
269
  @description "Fetch one document's full content from the source during staging"
265
270
  @tier "internal"
266
271
  MIGRATION_STAGED {
267
- stats : object!
268
- units : [object]
269
- skipped : [object]
270
- validationErrors : [object]
272
+ stats : opaque!
273
+ units : [ImportUnit]
274
+ skipped : [ImportSkip]
275
+ validationErrors : [opaque]
271
276
  }
272
277
  @description "Host staging finished — units are staged and validated; stats summarize staged/skipped counts for the preview. units/skipped/validationErrors optionally carry the full staged rows (server ImportPreview shape) so reviewing can render an ImportPreviewTree instead of staying headless."
273
278
  @tier "internal"
274
279
  MIGRATION_APPROVED {
275
- units : [object]
280
+ units : [ImportUnit]
276
281
  }
277
282
  @description "The user approved the preview; units are the staged ImportUnits to commit through the host sink. Optional — the ImportPreviewTree's onConfirm fires with no payload, so commit falls back to the units already staged on the entity via MIGRATION_STAGED."
278
283
  @synonyms "approve import, confirm migration"
@@ -4,7 +4,7 @@ type PrefRow = { userId : string, eventType : string, mode : string, channel : s
4
4
  type AuditRow = { recipient : string, channel : string, dispatched : boolean, recordedAt : number }
5
5
  type SubRow = { userId : string, endpoint : string, p256dh : string, auth : string }
6
6
  orbital NotifyOnEventOrbital {
7
- type EventOccurred = Event { data : object, status : string } "Rename via traitOverrides.events to the upstream event (e.g. ContactSaved). The atom listens on this sentinel and dispatches a notification. The optional `status` field lets `triggerStatus` gate dispatch to a single status-change value."
7
+ type EventOccurred = Event { data : opaque, status : string } "Rename via traitOverrides.events to the upstream event (e.g. ContactSaved). The atom listens on this sentinel and dispatches a notification. The optional `status` field lets `triggerStatus` gate dispatch to a single status-change value."
8
8
 
9
9
  type NotificationDispatched = Event { recipient : string, channel : string, message : string, severity : string } "Re-emitted after dispatch; rename to wire downstream observers (e.g. NotificationLogAppended)."
10
10
 
@@ -333,7 +333,7 @@ orbital NotifyOnEventOrbital {
333
333
 
334
334
  listens {
335
335
  EventOccurred {
336
- data : object
336
+ data : opaque
337
337
  status : string
338
338
  }
339
339
  NOTIFY_PREFS_LOADED {
@@ -1,7 +1,7 @@
1
1
  app std-reminder-scheduler "1.1.0"
2
2
  "std-reminder-scheduler — deadline reminders for a target entity. A periodic tick scans the target for records whose `dateField` deadline (a ms-epoch number or an ISO datetime string) is within `offsetHours` of now and that have not been reminded yet, and emits `ReminderDue` for each — every matching record, via a self-driving scan loop. Marks each record `remindedAt` so it isn't reminded twice. Compose alongside std-notify-on-event to deliver the reminder."
3
3
  orbital ReminderSchedulerOrbital {
4
- type ScanRecordsLoaded = Event { data : [object] } "Internal: target records due for a reminder."
4
+ type ScanRecordsLoaded = Event { data : [@entity @config.targetEntity] } "Internal: target records due for a reminder."
5
5
 
6
6
  type ScanFailed = Event { error : string, code : string } "Internal: scan fetch / persist failed."
7
7
 
@@ -66,7 +66,7 @@ orbital ReminderSchedulerOrbital {
66
66
  template : string
67
67
  }
68
68
  ScanRecordsLoaded {
69
- data : [object]
69
+ data : [@entity @config.targetEntity]
70
70
  }
71
71
  ScanFailed {
72
72
  error : string
@@ -79,7 +79,7 @@ orbital ReminderSchedulerOrbital {
79
79
 
80
80
  listens {
81
81
  ScanRecordsLoaded {
82
- data : [object]
82
+ data : [@entity @config.targetEntity]
83
83
  }
84
84
  ScanFailed {
85
85
  error : string
@@ -3,7 +3,7 @@ app std-data-collector "1.0.0"
3
3
  orbital MlDataCollectorOrbital {
4
4
 
5
5
  entity DataBuffer [runtime] {
6
- buffer : [any] @description "Data points accumulated in the current cycle." = []
6
+ buffer : [opaque] @description "Data points accumulated in the current cycle." = []
7
7
  count : int @description "Number of points currently in the buffer." = 0
8
8
  status : "idle" | "collecting" = idle
9
9
  }
@@ -33,14 +33,14 @@ orbital MlDataCollectorOrbital {
33
33
  }
34
34
 
35
35
  emits {
36
- BUFFER_READY -> external { buffer : [any]!, count : int! }
36
+ BUFFER_READY -> external { buffer : [opaque]!, count : int! }
37
37
  @description "Fired when the buffer reaches config.bufferSize; carries the full accumulated buffer and its count, then the buffer resets for the next cycle."
38
38
  @tier "primary"
39
39
  }
40
40
 
41
41
  listens {
42
42
  COLLECT {
43
- point : any!
43
+ point : opaque!
44
44
  }
45
45
  }
46
46
 
@@ -2,10 +2,11 @@ app std-graph-builder "1.0.0"
2
2
  "Graph construction atom — builds node/edge structures from an entity collection for downstream GNN pipelines; pure array/object transform, no ML compute."
3
3
 
4
4
  orbital GraphBuilderOrbital {
5
+ type GraphBuilderEdge = { source : string!, target : string! }
5
6
 
6
7
  entity GraphStructure [runtime] {
7
- nodes : [object] = []
8
- edges : [object] = []
8
+ nodes : [Map string scalar] = []
9
+ edges : [GraphBuilderEdge] = []
9
10
  nodeCount : int = 0
10
11
  edgeCount : int = 0
11
12
  status : "idle" | "built" = idle
@@ -70,8 +71,8 @@ orbital GraphBuilderOrbital {
70
71
 
71
72
  emits {
72
73
  GRAPH_READY -> external {
73
- nodes : [object]!
74
- edges : [object]!
74
+ nodes : [Map string scalar]!
75
+ edges : [GraphBuilderEdge]!
75
76
  nodeCount : int!
76
77
  edgeCount : int!
77
78
  }
@@ -81,7 +82,7 @@ orbital GraphBuilderOrbital {
81
82
 
82
83
  listens {
83
84
  BUILD_GRAPH {
84
- entities : [object]!
85
+ entities : [opaque]!
85
86
  }
86
87
  }
87
88
  }
@@ -3,13 +3,22 @@ app std-ml-classify "1.0.0"
3
3
 
4
4
  orbital MlClassifyOrbital {
5
5
 
6
+ ;; The caller-supplied request bag, echoed untouched through CLASSIFY/CLASSIFIED
7
+ ;; so a composing ladder (e.g. std-escalating-decision) can project its own inputs out of it.
8
+ type DecisionRequest = {
9
+ candidate : scalar!
10
+ key : scalar!
11
+ accepted : [scalar]!
12
+ categories : [string]!
13
+ }
14
+
6
15
  entity ClassifierVerdict [runtime] {
7
16
  text : string = ""
8
17
  category : string = ""
9
18
  confidence : float = 0
10
19
  reasoning : string = ""
11
20
  errorMessage : string = ""
12
- request : object = {}
21
+ request : DecisionRequest = {}
13
22
  status : "idle" | "classifying" | "done" = idle
14
23
  }
15
24
 
@@ -112,7 +121,7 @@ orbital MlClassifyOrbital {
112
121
  listens {
113
122
  CLASSIFY {
114
123
  text : string!
115
- request : object
124
+ request : DecisionRequest
116
125
  }
117
126
  }
118
127
  }
@@ -62,16 +62,16 @@ orbital MlExactCheckOrbital {
62
62
 
63
63
  emits {
64
64
  EXACT_MATCHED -> external {
65
- candidate : any!
66
- key : any!
65
+ candidate : scalar!
66
+ key : scalar!
67
67
  }
68
68
  @description "Fired when the candidate exactly equals the key under the configured normalization"
69
69
  @tier "primary"
70
70
 
71
71
  EXACT_UNMATCHED -> external {
72
- candidate : any!
73
- key : any!
74
- request : object
72
+ candidate : scalar!
73
+ key : scalar!
74
+ request : opaque
75
75
  }
76
76
  @description "Abstain — candidate does not equal the key; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it"
77
77
  @tier "primary"
@@ -79,9 +79,9 @@ orbital MlExactCheckOrbital {
79
79
 
80
80
  listens {
81
81
  CHECK {
82
- candidate : any!
83
- key : any!
84
- request : object
82
+ candidate : scalar!
83
+ key : scalar!
84
+ request : opaque
85
85
  }
86
86
  }
87
87
  }
@@ -3,16 +3,20 @@ app std-ml-infer "1.0.0"
3
3
 
4
4
  type Range = { min: float!, max: float! }
5
5
  type OutputContract = { shape: [int], ranges: Map string Range }
6
+ type ShapeMismatchViolation = { type: "shape_mismatch", expected: [int]!, actual: [int]! }
7
+ type RangeViolationDetail = { type: "range_violation", dim: int!, min: float!, max: float!, actualMin: float!, actualMax: float! }
8
+ type NotATensorViolation = { type: "not_a_tensor", actualType: string! }
9
+ type ContractViolation = ShapeMismatchViolation | RangeViolationDetail | NotATensorViolation
6
10
 
7
11
  orbital MlInferOrbital {
8
12
 
9
13
  entity Inference [runtime] {
10
- input : object = {}
14
+ input : opaque = {}
11
15
  output : [float] = []
12
16
  confidence : float = 0
13
- violations : [object] = []
17
+ violations : [ContractViolation] = []
14
18
  reason : string = ""
15
- request : object = {}
19
+ request : opaque = {}
16
20
  status : "idle" | "inferring" | "resolved" = idle
17
21
  }
18
22
 
@@ -115,15 +119,15 @@ orbital MlInferOrbital {
115
119
  INFERRED -> external {
116
120
  output : [float]!
117
121
  confidence : float!
118
- violations : [object]!
122
+ violations : [ContractViolation]!
119
123
  }
120
124
  @description "The service answered, the output satisfies outputContract, and confidence clears confidenceFloor — output already clamped"
121
125
  @tier "primary"
122
126
 
123
127
  INFER_ABSTAINED -> external {
124
128
  reason : string!
125
- violations : [object]!
126
- request : object
129
+ violations : [ContractViolation]!
130
+ request : opaque
127
131
  }
128
132
  @description "The abstain — reason is one of: low confidence, contract violation, unavailable. violations is populated only on the contract violation path. request echoes the originating request untouched so the next rung can project its own inputs out of it"
129
133
  @tier "primary"
@@ -131,8 +135,8 @@ orbital MlInferOrbital {
131
135
 
132
136
  listens {
133
137
  INFER {
134
- input : object!
135
- request : object
138
+ input : opaque!
139
+ request : opaque
136
140
  }
137
141
  }
138
142
  }
@@ -4,10 +4,10 @@ orbital MlLabelCaptureOrbital {
4
4
 
5
5
  entity LabeledExample [persistent: ml_labels] {
6
6
  id : string! @key
7
- input : json @description "The input that was judged." = null
8
- verdict : json @description "The verdict/output produced by the rung." = null
7
+ input : opaque @description "The input that was judged." = null
8
+ verdict : opaque @description "The verdict/output produced by the rung." = null
9
9
  source : string @description "Which rung produced the verdict." = ""
10
- outcome : json @description "The observed ground-truth outcome, once known." = null
10
+ outcome : opaque @description "The observed ground-truth outcome, once known." = null
11
11
  sink : string @description "Named destination this example is attributed to." = ""
12
12
  recordedAt : number = 0
13
13
  }
@@ -52,10 +52,10 @@ orbital MlLabelCaptureOrbital {
52
52
 
53
53
  listens {
54
54
  CAPTURE {
55
- input : json!
56
- verdict : json!
55
+ input : opaque!
56
+ verdict : opaque!
57
57
  source : string!
58
- outcome : json
58
+ outcome : opaque
59
59
  }
60
60
  }
61
61
 
@@ -56,15 +56,15 @@ orbital MlLookupOrbital {
56
56
 
57
57
  emits {
58
58
  KEY_HIT -> external {
59
- candidate : any!
60
- entry : any!
59
+ candidate : scalar!
60
+ entry : opaque!
61
61
  }
62
62
  @description "Fired when the candidate matches an entry in the accepted list"
63
63
  @tier "primary"
64
64
 
65
65
  KEY_MISS -> external {
66
- candidate : any!
67
- request : object
66
+ candidate : scalar!
67
+ request : opaque
68
68
  }
69
69
  @description "Abstain — candidate matches nothing in the accepted list; the next rung should take over. request echoes the originating request untouched so the next rung can project its own inputs out of it"
70
70
  @tier "primary"
@@ -72,9 +72,9 @@ orbital MlLookupOrbital {
72
72
 
73
73
  listens {
74
74
  LOOKUP {
75
- candidate : any!
76
- accepted : [any]!
77
- request : object
75
+ candidate : scalar!
76
+ accepted : [opaque]!
77
+ request : opaque
78
78
  }
79
79
  }
80
80
  }
@@ -3,6 +3,15 @@ app std-ml-similarity "1.0.0"
3
3
 
4
4
  orbital MlSimilarityOrbital {
5
5
 
6
+ ;; The caller-supplied request bag, echoed untouched through COMPARE/SIMILARITY_ABSTAINED
7
+ ;; so a composing ladder (e.g. std-escalating-decision) can project its own inputs out of it.
8
+ type DecisionRequest = {
9
+ candidate : scalar!
10
+ key : scalar!
11
+ accepted : [scalar]!
12
+ categories : [string]!
13
+ }
14
+
6
15
  entity SimilarityComparison [runtime] {
7
16
  query : string = ""
8
17
  candidates : [string] = []
@@ -13,7 +22,7 @@ orbital MlSimilarityOrbital {
13
22
  matchScore : float = 0
14
23
  matchMargin : float = 0
15
24
  reason : string = ""
16
- request : object = {}
25
+ request : DecisionRequest = {}
17
26
  status : "idle" | "embedding" | "resolved" = idle
18
27
  }
19
28
 
@@ -147,7 +156,7 @@ orbital MlSimilarityOrbital {
147
156
 
148
157
  SIMILARITY_ABSTAINED -> external {
149
158
  reason : string!
150
- request : object
159
+ request : DecisionRequest
151
160
  }
152
161
  @description "No confident match — reason is one of: empty candidate list, below floor, thin margin, embedding unavailable. request echoes the originating request untouched so the next rung can project its own inputs out of it"
153
162
  @tier "primary"
@@ -157,7 +166,7 @@ orbital MlSimilarityOrbital {
157
166
  COMPARE {
158
167
  query : string!
159
168
  candidates : [string]!
160
- request : object
169
+ request : DecisionRequest
161
170
  }
162
171
  }
163
172
  }
@@ -8,7 +8,7 @@ orbital MlTokenizerOrbital {
8
8
  tokens : [string] = []
9
9
  tokenIds : [int] = []
10
10
  tokenCount : int = 0
11
- request : object = {}
11
+ request : opaque = {}
12
12
  status : "idle" | "checked" = idle
13
13
  }
14
14
 
@@ -99,7 +99,7 @@ orbital MlTokenizerOrbital {
99
99
  listens {
100
100
  TOKENIZE {
101
101
  text : string!
102
- request : object
102
+ request : opaque
103
103
  }
104
104
  }
105
105
  }