@almadar/std 16.252.0 → 16.254.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 (453) hide show
  1. package/behaviors/lolo/agent/atoms/std-agent-pool.lolo +355 -0
  2. package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +16 -2
  3. package/behaviors/lolo/agent/evals/eval-agent-builder.lolo +152 -0
  4. package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +320 -26
  5. package/behaviors/lolo/ui/learning/atoms/std-learn-generate.lolo +6 -4
  6. package/behaviors/lolo-behavior-contracts.json +1 -1
  7. package/behaviors/registry/agent/atoms/std-agent-context.orb +1 -1
  8. package/behaviors/registry/agent/atoms/std-agent-fix-loop.orb +1 -1
  9. package/behaviors/registry/agent/atoms/std-agent-planner.orb +1 -1
  10. package/behaviors/registry/agent/atoms/std-agent-pool.orb +1 -0
  11. package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1 -1
  12. package/behaviors/registry/agent/atoms/std-agent-session.orb +1 -1
  13. package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +1 -1
  14. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +1 -1
  15. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +1 -1
  16. package/behaviors/registry/agent/atoms/std-agent-trace.orb +1 -1
  17. package/behaviors/registry/agent/evals/eval-agent-builder.orb +1 -0
  18. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1 -1
  19. package/behaviors/registry/agent/organisms/std-agent-builder.orb +1 -1
  20. package/behaviors/registry/infra/atoms/std-analytics.orb +1 -1
  21. package/behaviors/registry/infra/atoms/std-approval-gate.orb +1 -1
  22. package/behaviors/registry/infra/atoms/std-cache-aside.orb +1 -1
  23. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1 -1
  24. package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +1 -1
  25. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -1
  26. package/behaviors/registry/infra/atoms/std-data-erasure.orb +1 -1
  27. package/behaviors/registry/infra/atoms/std-data-import.orb +1 -1
  28. package/behaviors/registry/infra/atoms/std-global-search.orb +1 -1
  29. package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +1 -1
  30. package/behaviors/registry/infra/atoms/std-lifecycle.orb +1 -1
  31. package/behaviors/registry/infra/atoms/std-migration-job.orb +1 -1
  32. package/behaviors/registry/infra/atoms/std-mod-queue.orb +1 -1
  33. package/behaviors/registry/infra/atoms/std-notification-center.orb +1 -1
  34. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +1 -1
  35. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1 -1
  36. package/behaviors/registry/infra/atoms/std-page-search.orb +1 -1
  37. package/behaviors/registry/infra/atoms/std-page-watch.orb +1 -1
  38. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +1 -1
  39. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +1 -1
  40. package/behaviors/registry/infra/atoms/std-reminder-scheduler.orb +1 -1
  41. package/behaviors/registry/infra/atoms/std-review-cycle.orb +1 -1
  42. package/behaviors/registry/infra/atoms/std-row-access-control.orb +1 -1
  43. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +1 -1
  44. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -1
  45. package/behaviors/registry/ml/atoms/std-data-collector.orb +1 -1
  46. package/behaviors/registry/ml/atoms/std-graph-builder.orb +1 -1
  47. package/behaviors/registry/ml/atoms/std-ml-classify.orb +1 -1
  48. package/behaviors/registry/ml/atoms/std-ml-infer.orb +1 -1
  49. package/behaviors/registry/ml/atoms/std-ml-lookup.orb +1 -1
  50. package/behaviors/registry/ml/atoms/std-ml-posterior.orb +1 -1
  51. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +1 -1
  52. package/behaviors/registry/ml/atoms/std-tokenizer.orb +1 -1
  53. package/behaviors/registry/ml/atoms/std-weight-validator.orb +1 -1
  54. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +1 -1
  55. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +1 -1
  56. package/behaviors/registry/ui/avl/atoms/std-avl-cosmic-zoom.orb +1 -1
  57. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +1 -1
  58. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +1 -1
  59. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-detail.orb +1 -1
  60. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +1 -1
  61. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +1 -1
  62. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +1 -1
  63. package/behaviors/registry/ui/avl/organisms/ui-flow-canvas.orb +1 -1
  64. package/behaviors/registry/ui/avl/organisms/ui-layers-panel.orb +1 -1
  65. package/behaviors/registry/ui/avl/organisms/ui-orb-inspector.orb +1 -1
  66. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +1 -1
  67. package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
  68. package/behaviors/registry/ui/core/atoms/std-behavior-catalog.orb +1 -1
  69. package/behaviors/registry/ui/core/atoms/std-behavior-tour.orb +1 -1
  70. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +1 -1
  71. package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
  72. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1 -1
  73. package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
  74. package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
  75. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +1 -1
  76. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +1 -1
  77. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +1 -1
  78. package/behaviors/registry/ui/core/atoms/std-date-range.orb +1 -1
  79. package/behaviors/registry/ui/core/atoms/std-doc-page.orb +1 -1
  80. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +1 -1
  81. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +1 -1
  82. package/behaviors/registry/ui/core/atoms/std-event-log.orb +1 -1
  83. package/behaviors/registry/ui/core/atoms/std-export.orb +1 -1
  84. package/behaviors/registry/ui/core/atoms/std-file-store.orb +1 -1
  85. package/behaviors/registry/ui/core/atoms/std-filter.orb +1 -1
  86. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -1
  87. package/behaviors/registry/ui/core/atoms/std-gallery.orb +1 -1
  88. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +1 -1
  89. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
  90. package/behaviors/registry/ui/core/atoms/std-hero.orb +1 -1
  91. package/behaviors/registry/ui/core/atoms/std-home.orb +1 -1
  92. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +1 -1
  93. package/behaviors/registry/ui/core/atoms/std-import.orb +1 -1
  94. package/behaviors/registry/ui/core/atoms/std-language-picker.orb +1 -1
  95. package/behaviors/registry/ui/core/atoms/std-media-section.orb +1 -1
  96. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1 -1
  97. package/behaviors/registry/ui/core/atoms/std-modal.orb +1 -1
  98. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +1 -1
  99. package/behaviors/registry/ui/core/atoms/std-notification-panel.orb +1 -1
  100. package/behaviors/registry/ui/core/atoms/std-panel-launcher.orb +1 -1
  101. package/behaviors/registry/ui/core/atoms/std-pricing.orb +1 -1
  102. package/behaviors/registry/ui/core/atoms/std-proof.orb +1 -1
  103. package/behaviors/registry/ui/core/atoms/std-prose.orb +1 -1
  104. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +1 -1
  105. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1 -1
  106. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +1 -1
  107. package/behaviors/registry/ui/core/atoms/std-related.orb +1 -1
  108. package/behaviors/registry/ui/core/atoms/std-role-gate.orb +1 -1
  109. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +1 -1
  110. package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
  111. package/behaviors/registry/ui/core/atoms/std-scoped-list.orb +1 -1
  112. package/behaviors/registry/ui/core/atoms/std-selection.orb +1 -1
  113. package/behaviors/registry/ui/core/atoms/std-site-footer.orb +1 -1
  114. package/behaviors/registry/ui/core/atoms/std-site-header.orb +1 -1
  115. package/behaviors/registry/ui/core/atoms/std-slide-deck.orb +1 -1
  116. package/behaviors/registry/ui/core/atoms/std-stat-band.orb +1 -1
  117. package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -1
  118. package/behaviors/registry/ui/core/atoms/std-step-flow.orb +1 -1
  119. package/behaviors/registry/ui/core/atoms/std-steps.orb +1 -1
  120. package/behaviors/registry/ui/core/atoms/std-tabs.orb +1 -1
  121. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +1 -1
  122. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +1 -1
  123. package/behaviors/registry/ui/core/atoms/std-thread.orb +1 -1
  124. package/behaviors/registry/ui/core/atoms/std-tree.orb +1 -1
  125. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
  126. package/behaviors/registry/ui/core/atoms/std-wizard.orb +1 -1
  127. package/behaviors/registry/ui/core/atoms/std-workspace-layout.orb +1 -1
  128. package/behaviors/registry/ui/core/atoms/ui-animated-graphic.orb +1 -1
  129. package/behaviors/registry/ui/core/atoms/ui-animated-reveal.orb +1 -1
  130. package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  131. package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +1 -1
  132. package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +1 -1
  133. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +1 -1
  134. package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
  135. package/behaviors/registry/ui/core/atoms/ui-box.orb +1 -1
  136. package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
  137. package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
  138. package/behaviors/registry/ui/core/atoms/ui-center.orb +1 -1
  139. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
  140. package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +1 -1
  141. package/behaviors/registry/ui/core/atoms/ui-confetti-effect.orb +1 -1
  142. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
  143. package/behaviors/registry/ui/core/atoms/ui-dialog.orb +1 -1
  144. package/behaviors/registry/ui/core/atoms/ui-divider.orb +1 -1
  145. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +1 -1
  146. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
  147. package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +1 -1
  148. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
  149. package/behaviors/registry/ui/core/atoms/ui-icon.orb +1 -1
  150. package/behaviors/registry/ui/core/atoms/ui-image.orb +1 -1
  151. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
  152. package/behaviors/registry/ui/core/atoms/ui-input.orb +1 -1
  153. package/behaviors/registry/ui/core/atoms/ui-label.orb +1 -1
  154. package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +1 -1
  155. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
  156. package/behaviors/registry/ui/core/atoms/ui-pattern-tile.orb +1 -1
  157. package/behaviors/registry/ui/core/atoms/ui-presence.orb +1 -1
  158. package/behaviors/registry/ui/core/atoms/ui-progress-bar.orb +1 -1
  159. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
  160. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -1
  161. package/behaviors/registry/ui/core/atoms/ui-section-header.orb +1 -1
  162. package/behaviors/registry/ui/core/atoms/ui-select.orb +1 -1
  163. package/behaviors/registry/ui/core/atoms/ui-spacer.orb +1 -1
  164. package/behaviors/registry/ui/core/atoms/ui-sparkline.orb +1 -1
  165. package/behaviors/registry/ui/core/atoms/ui-spinner.orb +1 -1
  166. package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
  167. package/behaviors/registry/ui/core/atoms/ui-status-dot.orb +1 -1
  168. package/behaviors/registry/ui/core/atoms/ui-svg-branch.orb +1 -1
  169. package/behaviors/registry/ui/core/atoms/ui-svg-connection.orb +1 -1
  170. package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +1 -1
  171. package/behaviors/registry/ui/core/atoms/ui-svg-grid.orb +1 -1
  172. package/behaviors/registry/ui/core/atoms/ui-svg-lobe.orb +1 -1
  173. package/behaviors/registry/ui/core/atoms/ui-svg-mesh.orb +1 -1
  174. package/behaviors/registry/ui/core/atoms/ui-svg-morph.orb +1 -1
  175. package/behaviors/registry/ui/core/atoms/ui-svg-node.orb +1 -1
  176. package/behaviors/registry/ui/core/atoms/ui-svg-pulse.orb +1 -1
  177. package/behaviors/registry/ui/core/atoms/ui-svg-ring.orb +1 -1
  178. package/behaviors/registry/ui/core/atoms/ui-svg-shield.orb +1 -1
  179. package/behaviors/registry/ui/core/atoms/ui-svg-stack.orb +1 -1
  180. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
  181. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -1
  182. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +1 -1
  183. package/behaviors/registry/ui/core/atoms/ui-theme-toggle.orb +1 -1
  184. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
  185. package/behaviors/registry/ui/core/atoms/ui-trend-indicator.orb +1 -1
  186. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
  187. package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
  188. package/behaviors/registry/ui/core/atoms/ui-video-embed.orb +1 -1
  189. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
  190. package/behaviors/registry/ui/core/molecules/std-stat-rows.orb +1 -1
  191. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +1 -1
  192. package/behaviors/registry/ui/core/molecules/ui-activation-block.orb +1 -1
  193. package/behaviors/registry/ui/core/molecules/ui-activity-rail.orb +1 -1
  194. package/behaviors/registry/ui/core/molecules/ui-agent-activity-feed.orb +1 -1
  195. package/behaviors/registry/ui/core/molecules/ui-agent-activity-row.orb +1 -1
  196. package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
  197. package/behaviors/registry/ui/core/molecules/ui-alert.orb +1 -1
  198. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  199. package/behaviors/registry/ui/core/molecules/ui-bloom-quiz-block.orb +1 -1
  200. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +1 -1
  201. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +1 -1
  202. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +1 -1
  203. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
  204. package/behaviors/registry/ui/core/molecules/ui-change-list.orb +1 -1
  205. package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +1 -1
  206. package/behaviors/registry/ui/core/molecules/ui-chart.orb +1 -1
  207. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
  208. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -1
  209. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +1 -1
  210. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +1 -1
  211. package/behaviors/registry/ui/core/molecules/ui-connection-block.orb +1 -1
  212. package/behaviors/registry/ui/core/molecules/ui-container.orb +1 -1
  213. package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +1 -1
  214. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
  215. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +1 -1
  216. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -1
  217. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
  218. package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +1 -1
  219. package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +1 -1
  220. package/behaviors/registry/ui/core/molecules/ui-doc-search.orb +1 -1
  221. package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +1 -1
  222. package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +1 -1
  223. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +1 -1
  224. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +1 -1
  225. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +1 -1
  226. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -1
  227. package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +1 -1
  228. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
  229. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +1 -1
  230. package/behaviors/registry/ui/core/molecules/ui-error-boundary.orb +1 -1
  231. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +1 -1
  232. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +1 -1
  233. package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +1 -1
  234. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +1 -1
  235. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  236. package/behaviors/registry/ui/core/molecules/ui-flex.orb +1 -1
  237. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  238. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +1 -1
  239. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +1 -1
  240. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +1 -1
  241. package/behaviors/registry/ui/core/molecules/ui-form-field.orb +1 -1
  242. package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +1 -1
  243. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
  244. package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +1 -1
  245. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +1 -1
  246. package/behaviors/registry/ui/core/molecules/ui-geometric-pattern.orb +1 -1
  247. package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +1 -1
  248. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +1 -1
  249. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +1 -1
  250. package/behaviors/registry/ui/core/molecules/ui-grid.orb +1 -1
  251. package/behaviors/registry/ui/core/molecules/ui-header.orb +1 -1
  252. package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +1 -1
  253. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +1 -1
  254. package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
  255. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
  256. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +1 -1
  257. package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +1 -1
  258. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +1 -1
  259. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  260. package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +1 -1
  261. package/behaviors/registry/ui/core/molecules/ui-loading-state.orb +1 -1
  262. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +1 -1
  263. package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +1 -1
  264. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +1 -1
  265. package/behaviors/registry/ui/core/molecules/ui-menu.orb +1 -1
  266. package/behaviors/registry/ui/core/molecules/ui-meter.orb +1 -1
  267. package/behaviors/registry/ui/core/molecules/ui-modal.orb +1 -1
  268. package/behaviors/registry/ui/core/molecules/ui-navigation.orb +1 -1
  269. package/behaviors/registry/ui/core/molecules/ui-notification.orb +1 -1
  270. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -1
  271. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +1 -1
  272. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
  273. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +1 -1
  274. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
  275. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -1
  276. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
  277. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +1 -1
  278. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
  279. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
  280. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +1 -1
  281. package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  282. package/behaviors/registry/ui/core/molecules/ui-reflection-block.orb +1 -1
  283. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
  284. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  285. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +1 -1
  286. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -1
  287. package/behaviors/registry/ui/core/molecules/ui-scaled-diagram.orb +1 -1
  288. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -1
  289. package/behaviors/registry/ui/core/molecules/ui-section.orb +1 -1
  290. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +1 -1
  291. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -1
  292. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  293. package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +1 -1
  294. package/behaviors/registry/ui/core/molecules/ui-skeleton.orb +1 -1
  295. package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +1 -1
  296. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  297. package/behaviors/registry/ui/core/molecules/ui-split.orb +1 -1
  298. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -1
  299. package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +1 -1
  300. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +1 -1
  301. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
  302. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +1 -1
  303. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +1 -1
  304. package/behaviors/registry/ui/core/molecules/ui-tooltip.orb +1 -1
  305. package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +1 -1
  306. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
  307. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +1 -1
  308. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +1 -1
  309. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +1 -1
  310. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1 -1
  311. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +1 -1
  312. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +1 -1
  313. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +1 -1
  314. package/behaviors/registry/ui/core/organisms/ui-code-runner-panel.orb +1 -1
  315. package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +1 -1
  316. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
  317. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +1 -1
  318. package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +1 -1
  319. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +1 -1
  320. package/behaviors/registry/ui/core/organisms/ui-form.orb +1 -1
  321. package/behaviors/registry/ui/core/organisms/ui-master-detail-layout.orb +1 -1
  322. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
  323. package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +1 -1
  324. package/behaviors/registry/ui/core/organisms/ui-runtime-debugger.orb +1 -1
  325. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +1 -1
  326. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -1
  327. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +1 -1
  328. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +1 -1
  329. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
  330. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
  331. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
  332. package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +1 -1
  333. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +1 -1
  334. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -1
  335. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +1 -1
  336. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -1
  337. package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -1
  338. package/behaviors/registry/ui/game/atoms/std-area-fill.orb +1 -1
  339. package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +1 -1
  340. package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +1 -1
  341. package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -1
  342. package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +1 -1
  343. package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +1 -1
  344. package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +1 -1
  345. package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -1
  346. package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
  347. package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -1
  348. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
  349. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
  350. package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -1
  351. package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -1
  352. package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -1
  353. package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -1
  354. package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
  355. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +1 -1
  356. package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -1
  357. package/behaviors/registry/ui/game/atoms/std-motion-body.orb +1 -1
  358. package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -1
  359. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +1 -1
  360. package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -1
  361. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +1 -1
  362. package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
  363. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
  364. package/behaviors/registry/ui/game/atoms/std-production.orb +1 -1
  365. package/behaviors/registry/ui/game/atoms/std-score.orb +1 -1
  366. package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +1 -1
  367. package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1 -1
  368. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1 -1
  369. package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -1
  370. package/behaviors/registry/ui/game/atoms/std-zone-card.orb +1 -1
  371. package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +1 -1
  372. package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +1 -1
  373. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
  374. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +1 -1
  375. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  376. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +1 -1
  377. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +1 -1
  378. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -1
  379. package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +1 -1
  380. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +1 -1
  381. package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +1 -1
  382. package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +1 -1
  383. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +1 -1
  384. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -1
  385. package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +1 -1
  386. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +1 -1
  387. package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +1 -1
  388. package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +1 -1
  389. package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +1 -1
  390. package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +1 -1
  391. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +1 -1
  392. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
  393. package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +1 -1
  394. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +1 -1
  395. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +1 -1
  396. package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +1 -1
  397. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
  398. package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +1 -1
  399. package/behaviors/registry/ui/game/atoms/ui-timer-display.orb +1 -1
  400. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -1
  401. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +1 -1
  402. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +1 -1
  403. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +1 -1
  404. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +1 -1
  405. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +1 -1
  406. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +1 -1
  407. package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -1
  408. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +1 -1
  409. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +1 -1
  410. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +1 -1
  411. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +1 -1
  412. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +1 -1
  413. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +1 -1
  414. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1 -1
  415. package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +1 -1
  416. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1 -1
  417. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +1 -1
  418. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +1 -1
  419. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1 -1
  420. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +1 -1
  421. package/behaviors/registry/ui/learning/atoms/std-learn-fx-cues.orb +1 -1
  422. package/behaviors/registry/ui/learning/atoms/std-learn-generate.orb +1 -1
  423. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1 -1
  424. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +1 -1
  425. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +1 -1
  426. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1 -1
  427. package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +1 -1
  428. package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +1 -1
  429. package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +1 -1
  430. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +1 -1
  431. package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +1 -1
  432. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +1 -1
  433. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1 -1
  434. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +1 -1
  435. package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +1 -1
  436. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
  437. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +1 -1
  438. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1 -1
  439. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +1 -1
  440. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +1 -1
  441. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1 -1
  442. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +1 -1
  443. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +1 -1
  444. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
  445. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
  446. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
  447. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +1 -1
  448. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
  449. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
  450. package/dist/behaviors-embeddings.hash.json +2 -2
  451. package/dist/behaviors-embeddings.json +1 -1
  452. package/dist/knob-embeddings.hash.json +2 -2
  453. package/package.json +2 -2
@@ -1 +1 @@
1
- {"name":"ui-layers-panel","version":"1.0.0","description":"LayersPanel — UI factory (1:1 with the @almadar/ui layers-panel pattern).","orbitals":[{"name":"LayersPanelOrbital","id":"orb_C9C57Q0M32A1HF8HD24H80M1S0","entity":{"name":"LayersPanelItem","id":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"LayersPanelRender","id":"trt_BRTH53FBPHNV8N5R93EA91P4P1","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"LayersPanelItem","linkedEntityId":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","entityRefIds":{"LayersPanelItem":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR"},"emits":[{"event":"@config.onSelect","eventId":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","description":"onSelect prop","tier":"essential","scope":"external","payloadSchema":[{"name":"id","type":"string"}],"definerKnob":"onSelect"},{"event":"@config.onReorder","eventId":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"essential","scope":"external","payloadSchema":[{"name":"id","type":"string"},{"name":"newParentId","type":"string"},{"name":"index","type":"number"}],"definerKnob":"onReorder"}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","name":"Initialize"},{"key":"@config.onSelect","id":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","name":"@config.on select","description":"onSelect prop","tier":"essential","payloadSchema":[{"name":"id","type":"string"}]},{"key":"@config.onReorder","id":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","name":"@config.on reorder","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"essential","payloadSchema":[{"name":"id","type":"string"},{"name":"newParentId","type":"string"},{"name":"index","type":"number"}]}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","effects":[["render-ui","main",{"schema":"@config.schema","selectedId":"@config.selectedId","onSelect":"@config.onSelect","onReorder":"@config.onReorder","type":"layers-panel"}]]}]},"config":{"selectedId":{"type":"string","label":"Selected Id","description":"Currently selected node id (any level of the ID scheme above).","tier":"presentation"},"schema":{"type":"SExpr","label":"Schema","description":"schema prop","tier":"presentation"},"onReorder":{"type":"event","default":"REORDER","label":"On Reorder","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"presentation"},"onSelect":{"type":"event","default":"SELECT","label":"On Select","description":"onSelect prop","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"LayersPanelPage","id":"pag_E0M09058JCM96FB1FS83GWEA6E","path":"/layers-panel","traits":[{"ref":"LayersPanelRender","refId":"trt_BRTH53FBPHNV8N5R93EA91P4P1"}]}]}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_G2E7V72N3VAHXMG8DV7NM8B4SR":{"id":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","kind":"entity","bakedName":"LayersPanelItem","curName":"LayersPanelItem","renames":[],"owner":"workspace"},"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR":{"id":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","kind":"event","bakedName":"@config.onSelect","curName":"@config.onSelect","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"evt_KVZYD1NRA7W53KGVH1DQZBVNG6":{"id":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","kind":"event","bakedName":"@config.onReorder","curName":"@config.onReorder","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"evt_VHNAYCM9544JJD0FZE5KR7CRY3":{"id":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"orb_C9C57Q0M32A1HF8HD24H80M1S0":{"id":"orb_C9C57Q0M32A1HF8HD24H80M1S0","kind":"orbital","bakedName":"LayersPanelOrbital","curName":"LayersPanelOrbital","renames":[],"owner":"workspace"},"pag_E0M09058JCM96FB1FS83GWEA6E":{"id":"pag_E0M09058JCM96FB1FS83GWEA6E","kind":"page","bakedName":"LayersPanelPage","curName":"LayersPanelPage","renames":[],"owner":"workspace"},"trt_BRTH53FBPHNV8N5R93EA91P4P1":{"id":"trt_BRTH53FBPHNV8N5R93EA91P4P1","kind":"trait","bakedName":"LayersPanelRender","curName":"LayersPanelRender","renames":[],"owner":"workspace"}}}}
1
+ {"name":"ui-layers-panel","version":"1.0.0","description":"LayersPanel — UI factory (1:1 with the @almadar/ui layers-panel pattern).","orbitals":[{"name":"LayersPanelOrbital","id":"orb_C9C57Q0M32A1HF8HD24H80M1S0","entity":{"name":"LayersPanelItem","id":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"LayersPanelRender","id":"trt_BRTH53FBPHNV8N5R93EA91P4P1","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"LayersPanelItem","linkedEntityId":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","entityRefIds":{"LayersPanelItem":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR"},"emits":[{"event":"@config.onSelect","eventId":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","description":"onSelect prop","tier":"essential","scope":"external","payloadSchema":[{"name":"id","type":"string"}],"definerKnob":"onSelect"},{"event":"@config.onReorder","eventId":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"essential","scope":"external","payloadSchema":[{"name":"id","type":"string"},{"name":"newParentId","type":"string"},{"name":"index","type":"number"}],"definerKnob":"onReorder"}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","name":"Initialize"},{"key":"@config.onSelect","id":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","name":"@config.on select","description":"onSelect prop","tier":"essential","payloadSchema":[{"name":"id","type":"string"}]},{"key":"@config.onReorder","id":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","name":"@config.on reorder","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"essential","payloadSchema":[{"name":"id","type":"string"},{"name":"newParentId","type":"string"},{"name":"index","type":"number"}]}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","effects":[["render-ui","main",{"schema":"@config.schema","selectedId":"@config.selectedId","onSelect":"@config.onSelect","onReorder":"@config.onReorder","type":"layers-panel"}]]}]},"config":{"onReorder":{"type":"event","default":"REORDER","label":"On Reorder","description":"Reorder a node within the tree. Threaded to FileTree's `onNodeReorder` seam — presence-gated there, so omitting it just means no dragging.","tier":"presentation"},"selectedId":{"type":"string","label":"Selected Id","description":"Currently selected node id (any level of the ID scheme above).","tier":"presentation"},"schema":{"type":"SExpr","label":"Schema","description":"schema prop","tier":"presentation"},"onSelect":{"type":"event","default":"SELECT","label":"On Select","description":"onSelect prop","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"LayersPanelPage","id":"pag_E0M09058JCM96FB1FS83GWEA6E","path":"/layers-panel","traits":[{"ref":"LayersPanelRender","refId":"trt_BRTH53FBPHNV8N5R93EA91P4P1"}]}]}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_G2E7V72N3VAHXMG8DV7NM8B4SR":{"id":"ent_G2E7V72N3VAHXMG8DV7NM8B4SR","kind":"entity","bakedName":"LayersPanelItem","curName":"LayersPanelItem","renames":[],"owner":"workspace"},"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR":{"id":"evt_CXRD6YKE9QQ4VMZTJYCX0Y98JR","kind":"event","bakedName":"@config.onSelect","curName":"@config.onSelect","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"evt_KVZYD1NRA7W53KGVH1DQZBVNG6":{"id":"evt_KVZYD1NRA7W53KGVH1DQZBVNG6","kind":"event","bakedName":"@config.onReorder","curName":"@config.onReorder","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"evt_VHNAYCM9544JJD0FZE5KR7CRY3":{"id":"evt_VHNAYCM9544JJD0FZE5KR7CRY3","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_BRTH53FBPHNV8N5R93EA91P4P1"},"orb_C9C57Q0M32A1HF8HD24H80M1S0":{"id":"orb_C9C57Q0M32A1HF8HD24H80M1S0","kind":"orbital","bakedName":"LayersPanelOrbital","curName":"LayersPanelOrbital","renames":[],"owner":"workspace"},"pag_E0M09058JCM96FB1FS83GWEA6E":{"id":"pag_E0M09058JCM96FB1FS83GWEA6E","kind":"page","bakedName":"LayersPanelPage","curName":"LayersPanelPage","renames":[],"owner":"workspace"},"trt_BRTH53FBPHNV8N5R93EA91P4P1":{"id":"trt_BRTH53FBPHNV8N5R93EA91P4P1","kind":"trait","bakedName":"LayersPanelRender","curName":"LayersPanelRender","renames":[],"owner":"workspace"}}}}
@@ -1 +1 @@
1
- {"name":"ui-orb-inspector","version":"1.0.0","description":"OrbInspector — UI factory (1:1 with the @almadar/ui orb-inspector pattern).","orbitals":[{"name":"OrbInspectorOrbital","id":"orb_VDPSWFY64Q32BGM0ECA61B928B","entity":{"name":"OrbInspectorItem","id":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"OrbInspectorRender","id":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"OrbInspectorItem","linkedEntityId":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","entityRefIds":{"OrbInspectorItem":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD"},"emits":[{"event":"@config.onTabChange","eventId":"evt_485GW5WWG3E81QNCS0EYVQHN0J","description":"Fires whenever the tab-bar selection changes.","tier":"essential","scope":"external","payloadSchema":[{"name":"tab","type":"string"}],"definerKnob":"onTabChange"},{"event":"@config.onSchemaChange","eventId":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","description":"onSchemaChange prop","tier":"essential","scope":"external","payloadSchema":[{"name":"schema","type":"SExpr"}],"definerKnob":"onSchemaChange"},{"event":"@config.onClose","eventId":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","description":"onClose prop","tier":"essential","scope":"external","definerKnob":"onClose"}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","name":"Initialize"},{"key":"@config.onTabChange","id":"evt_485GW5WWG3E81QNCS0EYVQHN0J","name":"@config.on tab change","description":"Fires whenever the tab-bar selection changes.","tier":"essential","payloadSchema":[{"name":"tab","type":"string"}]},{"key":"@config.onSchemaChange","id":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","name":"@config.on schema change","description":"onSchemaChange prop","tier":"essential","payloadSchema":[{"name":"schema","type":"SExpr"}]},{"key":"@config.onClose","id":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","name":"@config.on close","description":"onClose prop","tier":"essential"}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","effects":[["render-ui","main",{"node":"@config.node","schema":"@config.schema","editable":"@config.editable","userType":"@config.userType","defaultTab":"@config.defaultTab","onTabChange":"@config.onTabChange","onSchemaChange":"@config.onSchemaChange","onClose":"@config.onClose","selectedPattern":"@config.selectedPattern","type":"orb-inspector"}]]}]},"config":{"onTabChange":{"type":"event","default":"TAB_CHANGE","label":"On Tab Change","description":"Fires whenever the tab-bar selection changes.","tier":"presentation"},"onSchemaChange":{"type":"event","default":"SCHEMA_CHANGE","label":"On Schema Change","description":"onSchemaChange prop","tier":"presentation"},"defaultTab":{"type":"string","label":"Default Tab","description":"Initial tab on mount. Local state still owns the active tab after that — this does not make the component controlled. Enables deep-linking into a specific tab (e.g. from a LayersPanel selection).","tier":"presentation","values":["inspector","design","prototype","code"]},"onClose":{"type":"event","default":"CLOSE","label":"On Close","description":"onClose prop","tier":"presentation"},"schema":{"type":"SExpr","label":"Schema","description":"schema prop","tier":"presentation"},"editable":{"type":"boolean","default":false,"label":"Editable","description":"editable prop","tier":"presentation"},"userType":{"type":"string","default":"builder","label":"User Type","description":"Studio persona viewing the inspector. Controls tab visibility (Code is architect-only, Styles is universal) and section visibility (Entity, raw guard, raw effects are architect-only). Default `'builder'` matches pre-Phase-2 behavior except for the new Styles tab, which every persona gets.","tier":"presentation","values":["builder","designer","architect"]},"selectedPattern":{"type":"OrbInspectorSelectedPattern","label":"Selected Pattern","description":"In-node pattern selection, when this inspector is rendered OUTSIDE `FlowCanvas` (see `FlowCanvas`'s `externalInspector` + `onSelectedPatternChange`). `PatternSelectionContext` only reaches descendants of `FlowCanvas`'s own render tree, so a standalone consumer has no other way to feed pattern-level selection in — pass `FlowCanvas`'s `onSelectedPatternChange` payload straight through here. When omitted (the inline, built-in-inspector usage), falls back to `PatternSelectionContext`, unchanged.","tier":"presentation","properties":{"selection":{"name":"selection","type":"array","required":false,"items":{"type":"string"}},"elements":{"name":"elements","type":"array","required":false,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"level":{"name":"level","type":"string","required":true,"values":["node","slot","field","effect","trait","page","orbital"]},"entity":{"name":"entity","type":"string","required":false},"source":{"name":"source","type":"string","required":false},"state":{"name":"state","type":"string","required":false},"transition":{"name":"transition","type":"string","required":false},"orbital":{"name":"orbital","type":"string","required":true},"patternType":{"name":"patternType","type":"string","required":false},"slot":{"name":"slot","type":"string","required":false},"path":{"name":"path","type":"string","required":false},"trait":{"name":"trait","type":"string","required":false}}}},"offsetInParent":{"name":"offsetInParent","type":"object","required":false,"properties":{"bottom":{"name":"bottom","type":"number","required":true},"left":{"name":"left","type":"number","required":true},"top":{"name":"top","type":"number","required":true},"parentWidth":{"name":"parentWidth","type":"number","required":true},"right":{"name":"right","type":"number","required":true},"parentHeight":{"name":"parentHeight","type":"number","required":true}}},"patternType":{"name":"patternType","type":"string","required":true},"sourceTrait":{"name":"sourceTrait","type":"string","required":false},"focus":{"name":"focus","type":"object","required":false,"properties":{"slot":{"name":"slot","type":"string","required":false},"entity":{"name":"entity","type":"string","required":false},"patternType":{"name":"patternType","type":"string","required":false},"label":{"name":"label","type":"string","required":true},"path":{"name":"path","type":"string","required":false},"transition":{"name":"transition","type":"string","required":false},"state":{"name":"state","type":"string","required":false},"trait":{"name":"trait","type":"string","required":false},"level":{"name":"level","type":"string","required":true,"values":["node","slot","field","effect","trait","page","orbital"]},"orbital":{"name":"orbital","type":"string","required":true},"source":{"name":"source","type":"string","required":false}}},"rect":{"name":"rect","type":"object","required":false,"properties":{"width":{"name":"width","type":"number","required":true},"left":{"name":"left","type":"number","required":true},"top":{"name":"top","type":"number","required":true},"height":{"name":"height","type":"number","required":true}}},"patternId":{"name":"patternId","type":"string","required":false},"nodeData":{"name":"nodeData","type":"object","required":true,"properties":{"unitMetric":{"name":"unitMetric","type":"string","required":false},"patterns":{"name":"patterns","type":"array","required":true,"items":{"type":"object","properties":{"slot":{"name":"slot","type":"string","required":true},"pattern":{"name":"pattern","type":"SExpr","required":true}}}},"enteredBy":{"name":"enteredBy","type":"array","required":false,"items":{"type":"string"}},"dependencyRole":{"name":"dependencyRole","type":"string","required":false,"values":["selected","upstream","downstream","both","dim"]},"status":{"name":"status","type":"string","required":false,"values":["idle","running","success","error"]},"opensApp":{"name":"opensApp","type":"boolean","required":false},"eventSources":{"name":"eventSources","type":"array","required":true,"items":{"type":"object","properties":{"payloadFields":{"name":"payloadFields","type":"array","required":false,"items":{"type":"object","properties":{"type":{"name":"type","type":"string","required":true},"name":{"name":"name","type":"string","required":true},"required":{"name":"required","type":"boolean","required":false}}}},"path":{"name":"path","type":"string","required":true},"positionHint":{"name":"positionHint","type":"number","required":true},"event":{"name":"event","type":"string","required":true},"label":{"name":"label","type":"string","required":false},"patternType":{"name":"patternType","type":"string","required":true}}}},"persistence":{"name":"persistence","type":"string","required":false},"_fullSchema":{"name":"_fullSchema","type":"SExpr","required":false},"layer":{"name":"layer","type":"string","required":false},"entityName":{"name":"entityName","type":"string","required":false},"traitName":{"name":"traitName","type":"string","required":false},"sourceSchemaName":{"name":"sourceSchemaName","type":"string","required":false},"transitionEvent":{"name":"transitionEvent","type":"string","required":false},"bandKind":{"name":"bandKind","type":"string","required":false,"values":["connected","standalone"]},"effectTypes":{"name":"effectTypes","type":"array","required":false,"items":{"type":"string"}},"fieldCount":{"name":"fieldCount","type":"number","required":false},"toState":{"name":"toState","type":"string","required":false},"kind":{"name":"kind","type":"string","required":false,"values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},"flowTraits":{"name":"flowTraits","type":"number","required":false},"transitions":{"name":"transitions","type":"array","required":false,"items":{"type":"object","properties":{"event":{"name":"event","type":"string","required":true},"toState":{"name":"toState","type":"string","required":true},"fromState":{"name":"fromState","type":"string","required":true}}}},"emits":{"name":"emits","type":"array","required":false,"items":{"type":"string"}},"stateRole":{"name":"stateRole","type":"string","required":false,"values":["initial","terminal","hub","default"]},"listens":{"name":"listens","type":"array","required":false,"items":{"type":"string"}},"traitCount":{"name":"traitCount","type":"number","required":false},"dependencyColumn":{"name":"dependencyColumn","type":"string","required":false,"values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},"cardWidth":{"name":"cardWidth","type":"number","required":false},"linkedEntity":{"name":"linkedEntity","type":"string","required":false},"bandCount":{"name":"bandCount","type":"number","required":false},"fromState":{"name":"fromState","type":"string","required":false},"flowRenderPieces":{"name":"flowRenderPieces","type":"number","required":false},"cardLabel":{"name":"cardLabel","type":"string","required":false,"values":["screen"]},"unitStatus":{"name":"unitStatus","type":"string","required":false,"values":["ok","degraded","down","idle"]},"guard":{"name":"guard","type":"SExpr","required":false},"pageRoutes":{"name":"pageRoutes","type":"array","required":false,"items":{"type":"string"}},"stateName":{"name":"stateName","type":"string","required":false},"orbitalName":{"name":"orbitalName","type":"string","required":true},"focused":{"name":"focused","type":"boolean","required":false},"wireEvents":{"name":"wireEvents","type":"array","required":false,"items":{"type":"string"}}}}}},"node":{"type":"OrbInspectorNode","default":{"orbitalName":"Orbital Name","traitName":"Trait Name","stateName":"State Name","transitionEvent":"Transition Event","fromState":"From State","toState":"To State","cardWidth":1,"cardLabel":"screen","enteredBy":["Item","Item 2"],"opensApp":false,"patterns":[{"slot":"Slot","pattern":{}},{"slot":"Slot 2","pattern":{}}],"eventSources":[{"event":"Event","patternType":"Pattern Type","label":"Label","path":"Path","positionHint":1,"payloadFields":[{"name":"Name","type":"Type","required":false},{"name":"Name 2","type":"Type 2","required":true}]},{"event":"Event 2","patternType":"Pattern Type 2","label":"Label 2","path":"Path 2","positionHint":2,"payloadFields":[{"name":"Name","type":"Type","required":false},{"name":"Name 2","type":"Type 2","required":true}]}],"layer":"Layer","stateRole":"initial","effectTypes":["Item","Item 2"],"entityName":"Entity Name","persistence":"Persistence","fieldCount":1,"traitCount":1,"pageRoutes":["Item","Item 2"],"status":"idle","sourceSchemaName":"Source Schema Name","focused":false,"kind":"trait-card","dependencyColumn":"app","dependencyRole":"selected","flowTraits":1,"flowRenderPieces":1,"unitStatus":"ok","unitMetric":"Unit Metric","bandKind":"connected","bandCount":1,"wireEvents":["Item","Item 2"],"transitions":[{"event":"Event","fromState":"From State","toState":"To State"},{"event":"Event 2","fromState":"From State 2","toState":"To State 2"}],"emits":["Item","Item 2"],"listens":["Item","Item 2"],"linkedEntity":"Linked Entity"},"label":"Node","description":"node prop","tier":"presentation","properties":{"patterns":{"name":"patterns","type":"array","required":true,"items":{"type":"object","properties":{"pattern":{"name":"pattern","type":"SExpr","required":true},"slot":{"name":"slot","type":"string","required":true}}}},"transitionEvent":{"name":"transitionEvent","type":"string","required":false},"bandCount":{"name":"bandCount","type":"number","required":false},"orbitalName":{"name":"orbitalName","type":"string","required":true},"status":{"name":"status","type":"string","required":false,"values":["idle","running","success","error"]},"stateRole":{"name":"stateRole","type":"string","required":false,"values":["initial","terminal","hub","default"]},"focused":{"name":"focused","type":"boolean","required":false},"emits":{"name":"emits","type":"array","required":false,"items":{"type":"string"}},"transitions":{"name":"transitions","type":"array","required":false,"items":{"type":"object","properties":{"event":{"name":"event","type":"string","required":true},"fromState":{"name":"fromState","type":"string","required":true},"toState":{"name":"toState","type":"string","required":true}}}},"fieldCount":{"name":"fieldCount","type":"number","required":false},"eventSources":{"name":"eventSources","type":"array","required":true,"items":{"type":"object","properties":{"path":{"name":"path","type":"string","required":true},"patternType":{"name":"patternType","type":"string","required":true},"payloadFields":{"name":"payloadFields","type":"array","required":false,"items":{"type":"object","properties":{"type":{"name":"type","type":"string","required":true},"name":{"name":"name","type":"string","required":true},"required":{"name":"required","type":"boolean","required":false}}}},"label":{"name":"label","type":"string","required":false},"positionHint":{"name":"positionHint","type":"number","required":true},"event":{"name":"event","type":"string","required":true}}}},"dependencyColumn":{"name":"dependencyColumn","type":"string","required":false,"values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},"cardWidth":{"name":"cardWidth","type":"number","required":false},"persistence":{"name":"persistence","type":"string","required":false},"cardLabel":{"name":"cardLabel","type":"string","required":false,"values":["screen"]},"stateName":{"name":"stateName","type":"string","required":false},"unitStatus":{"name":"unitStatus","type":"string","required":false,"values":["ok","degraded","down","idle"]},"fromState":{"name":"fromState","type":"string","required":false},"flowTraits":{"name":"flowTraits","type":"number","required":false},"entityName":{"name":"entityName","type":"string","required":false},"wireEvents":{"name":"wireEvents","type":"array","required":false,"items":{"type":"string"}},"effectTypes":{"name":"effectTypes","type":"array","required":false,"items":{"type":"string"}},"flowRenderPieces":{"name":"flowRenderPieces","type":"number","required":false},"opensApp":{"name":"opensApp","type":"boolean","required":false},"toState":{"name":"toState","type":"string","required":false},"dependencyRole":{"name":"dependencyRole","type":"string","required":false,"values":["selected","upstream","downstream","both","dim"]},"guard":{"name":"guard","type":"SExpr","required":false},"linkedEntity":{"name":"linkedEntity","type":"string","required":false},"enteredBy":{"name":"enteredBy","type":"array","required":false,"items":{"type":"string"}},"listens":{"name":"listens","type":"array","required":false,"items":{"type":"string"}},"traitCount":{"name":"traitCount","type":"number","required":false},"unitMetric":{"name":"unitMetric","type":"string","required":false},"kind":{"name":"kind","type":"string","required":false,"values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},"bandKind":{"name":"bandKind","type":"string","required":false,"values":["connected","standalone"]},"_fullSchema":{"name":"_fullSchema","type":"SExpr","required":false},"pageRoutes":{"name":"pageRoutes","type":"array","required":false,"items":{"type":"string"}},"traitName":{"name":"traitName","type":"string","required":false},"sourceSchemaName":{"name":"sourceSchemaName","type":"string","required":false},"layer":{"name":"layer","type":"string","required":false}}}},"scope":"instance"}],"pages":[{"name":"OrbInspectorPage","id":"pag_9HM8RVPQKWBSYF599G8TSS4VG5","path":"/orb-inspector","traits":[{"ref":"OrbInspectorRender","refId":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"}]}],"types":{"OrbInspectorNode":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}],"OrbInspectorNodeEventSourcesItem":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}],"OrbInspectorNodeEventSourcesItemPayloadFieldsItem":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}],"OrbInspectorNodePatternsItem":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}],"OrbInspectorNodeTransitionsItem":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}],"OrbInspectorSelectedPattern":[{"name":"patternType","type":"string","required":true},{"name":"patternId","type":"string"},{"name":"nodeData","type":"object","required":true,"properties":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}]},{"name":"sourceTrait","type":"string"},{"name":"rect","type":"object","properties":[{"name":"top","type":"number","required":true},{"name":"left","type":"number","required":true},{"name":"width","type":"number","required":true},{"name":"height","type":"number","required":true}]},{"name":"selection","type":"[string]"},{"name":"offsetInParent","type":"object","properties":[{"name":"left","type":"number","required":true},{"name":"top","type":"number","required":true},{"name":"right","type":"number","required":true},{"name":"bottom","type":"number","required":true},{"name":"parentWidth","type":"number","required":true},{"name":"parentHeight","type":"number","required":true}]},{"name":"focus","type":"object","properties":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}]},{"name":"elements","type":"[object]","properties":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}]}],"OrbInspectorSelectedPatternElementsItem":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}],"OrbInspectorSelectedPatternFocus":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}],"OrbInspectorSelectedPatternNodeData":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}],"OrbInspectorSelectedPatternNodeDataEventSourcesItem":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}],"OrbInspectorSelectedPatternNodeDataEventSourcesItemPayloadFieldsItem":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}],"OrbInspectorSelectedPatternNodeDataPatternsItem":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}],"OrbInspectorSelectedPatternNodeDataTransitionsItem":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}],"OrbInspectorSelectedPatternOffsetInParent":[{"name":"left","type":"number","required":true},{"name":"top","type":"number","required":true},{"name":"right","type":"number","required":true},{"name":"bottom","type":"number","required":true},{"name":"parentWidth","type":"number","required":true},{"name":"parentHeight","type":"number","required":true}],"OrbInspectorSelectedPatternRect":[{"name":"top","type":"number","required":true},{"name":"left","type":"number","required":true},{"name":"width","type":"number","required":true},{"name":"height","type":"number","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD":{"id":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","kind":"entity","bakedName":"OrbInspectorItem","curName":"OrbInspectorItem","renames":[],"owner":"workspace"},"evt_485GW5WWG3E81QNCS0EYVQHN0J":{"id":"evt_485GW5WWG3E81QNCS0EYVQHN0J","kind":"event","bakedName":"@config.onTabChange","curName":"@config.onTabChange","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2":{"id":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","kind":"event","bakedName":"@config.onSchemaChange","curName":"@config.onSchemaChange","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ":{"id":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","kind":"event","bakedName":"@config.onClose","curName":"@config.onClose","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_NRF7Y18BM15T0P0MWEEG4JV4P5":{"id":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"orb_VDPSWFY64Q32BGM0ECA61B928B":{"id":"orb_VDPSWFY64Q32BGM0ECA61B928B","kind":"orbital","bakedName":"OrbInspectorOrbital","curName":"OrbInspectorOrbital","renames":[],"owner":"workspace"},"pag_9HM8RVPQKWBSYF599G8TSS4VG5":{"id":"pag_9HM8RVPQKWBSYF599G8TSS4VG5","kind":"page","bakedName":"OrbInspectorPage","curName":"OrbInspectorPage","renames":[],"owner":"workspace"},"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G":{"id":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G","kind":"trait","bakedName":"OrbInspectorRender","curName":"OrbInspectorRender","renames":[],"owner":"workspace"}}}}
1
+ {"name":"ui-orb-inspector","version":"1.0.0","description":"OrbInspector — UI factory (1:1 with the @almadar/ui orb-inspector pattern).","orbitals":[{"name":"OrbInspectorOrbital","id":"orb_VDPSWFY64Q32BGM0ECA61B928B","entity":{"name":"OrbInspectorItem","id":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"OrbInspectorRender","id":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"OrbInspectorItem","linkedEntityId":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","entityRefIds":{"OrbInspectorItem":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD"},"emits":[{"event":"@config.onTabChange","eventId":"evt_485GW5WWG3E81QNCS0EYVQHN0J","description":"Fires whenever the tab-bar selection changes.","tier":"essential","scope":"external","payloadSchema":[{"name":"tab","type":"string"}],"definerKnob":"onTabChange"},{"event":"@config.onSchemaChange","eventId":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","description":"onSchemaChange prop","tier":"essential","scope":"external","payloadSchema":[{"name":"schema","type":"SExpr"}],"definerKnob":"onSchemaChange"},{"event":"@config.onClose","eventId":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","description":"onClose prop","tier":"essential","scope":"external","definerKnob":"onClose"}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","name":"Initialize"},{"key":"@config.onTabChange","id":"evt_485GW5WWG3E81QNCS0EYVQHN0J","name":"@config.on tab change","description":"Fires whenever the tab-bar selection changes.","tier":"essential","payloadSchema":[{"name":"tab","type":"string"}]},{"key":"@config.onSchemaChange","id":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","name":"@config.on schema change","description":"onSchemaChange prop","tier":"essential","payloadSchema":[{"name":"schema","type":"SExpr"}]},{"key":"@config.onClose","id":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","name":"@config.on close","description":"onClose prop","tier":"essential"}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","effects":[["render-ui","main",{"node":"@config.node","schema":"@config.schema","editable":"@config.editable","userType":"@config.userType","defaultTab":"@config.defaultTab","onTabChange":"@config.onTabChange","onSchemaChange":"@config.onSchemaChange","onClose":"@config.onClose","selectedPattern":"@config.selectedPattern","type":"orb-inspector"}]]}]},"config":{"selectedPattern":{"type":"OrbInspectorSelectedPattern","label":"Selected Pattern","description":"In-node pattern selection, when this inspector is rendered OUTSIDE `FlowCanvas` (see `FlowCanvas`'s `externalInspector` + `onSelectedPatternChange`). `PatternSelectionContext` only reaches descendants of `FlowCanvas`'s own render tree, so a standalone consumer has no other way to feed pattern-level selection in — pass `FlowCanvas`'s `onSelectedPatternChange` payload straight through here. When omitted (the inline, built-in-inspector usage), falls back to `PatternSelectionContext`, unchanged.","tier":"presentation","properties":{"offsetInParent":{"name":"offsetInParent","type":"object","required":false,"properties":{"bottom":{"name":"bottom","type":"number","required":true},"top":{"name":"top","type":"number","required":true},"left":{"name":"left","type":"number","required":true},"right":{"name":"right","type":"number","required":true},"parentWidth":{"name":"parentWidth","type":"number","required":true},"parentHeight":{"name":"parentHeight","type":"number","required":true}}},"patternId":{"name":"patternId","type":"string","required":false},"elements":{"name":"elements","type":"array","required":false,"items":{"type":"object","properties":{"slot":{"name":"slot","type":"string","required":false},"orbital":{"name":"orbital","type":"string","required":true},"transition":{"name":"transition","type":"string","required":false},"patternType":{"name":"patternType","type":"string","required":false},"label":{"name":"label","type":"string","required":true},"level":{"name":"level","type":"string","required":true,"values":["node","slot","field","effect","trait","page","orbital"]},"entity":{"name":"entity","type":"string","required":false},"path":{"name":"path","type":"string","required":false},"source":{"name":"source","type":"string","required":false},"state":{"name":"state","type":"string","required":false},"trait":{"name":"trait","type":"string","required":false}}}},"patternType":{"name":"patternType","type":"string","required":true},"selection":{"name":"selection","type":"array","required":false,"items":{"type":"string"}},"sourceTrait":{"name":"sourceTrait","type":"string","required":false},"nodeData":{"name":"nodeData","type":"object","required":true,"properties":{"transitions":{"name":"transitions","type":"array","required":false,"items":{"type":"object","properties":{"event":{"name":"event","type":"string","required":true},"fromState":{"name":"fromState","type":"string","required":true},"toState":{"name":"toState","type":"string","required":true}}}},"unitStatus":{"name":"unitStatus","type":"string","required":false,"values":["ok","degraded","down","idle"]},"linkedEntity":{"name":"linkedEntity","type":"string","required":false},"dependencyColumn":{"name":"dependencyColumn","type":"string","required":false,"values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},"focused":{"name":"focused","type":"boolean","required":false},"orbitalName":{"name":"orbitalName","type":"string","required":true},"toState":{"name":"toState","type":"string","required":false},"unitMetric":{"name":"unitMetric","type":"string","required":false},"entityName":{"name":"entityName","type":"string","required":false},"guard":{"name":"guard","type":"SExpr","required":false},"sourceSchemaName":{"name":"sourceSchemaName","type":"string","required":false},"bandKind":{"name":"bandKind","type":"string","required":false,"values":["connected","standalone"]},"eventSources":{"name":"eventSources","type":"array","required":true,"items":{"type":"object","properties":{"path":{"name":"path","type":"string","required":true},"patternType":{"name":"patternType","type":"string","required":true},"event":{"name":"event","type":"string","required":true},"positionHint":{"name":"positionHint","type":"number","required":true},"label":{"name":"label","type":"string","required":false},"payloadFields":{"name":"payloadFields","type":"array","required":false,"items":{"type":"object","properties":{"type":{"name":"type","type":"string","required":true},"name":{"name":"name","type":"string","required":true},"required":{"name":"required","type":"boolean","required":false}}}}}}},"bandCount":{"name":"bandCount","type":"number","required":false},"cardWidth":{"name":"cardWidth","type":"number","required":false},"enteredBy":{"name":"enteredBy","type":"array","required":false,"items":{"type":"string"}},"traitName":{"name":"traitName","type":"string","required":false},"traitCount":{"name":"traitCount","type":"number","required":false},"fieldCount":{"name":"fieldCount","type":"number","required":false},"patterns":{"name":"patterns","type":"array","required":true,"items":{"type":"object","properties":{"pattern":{"name":"pattern","type":"SExpr","required":true},"slot":{"name":"slot","type":"string","required":true}}}},"_fullSchema":{"name":"_fullSchema","type":"SExpr","required":false},"kind":{"name":"kind","type":"string","required":false,"values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},"wireEvents":{"name":"wireEvents","type":"array","required":false,"items":{"type":"string"}},"dependencyRole":{"name":"dependencyRole","type":"string","required":false,"values":["selected","upstream","downstream","both","dim"]},"transitionEvent":{"name":"transitionEvent","type":"string","required":false},"fromState":{"name":"fromState","type":"string","required":false},"pageRoutes":{"name":"pageRoutes","type":"array","required":false,"items":{"type":"string"}},"status":{"name":"status","type":"string","required":false,"values":["idle","running","success","error"]},"flowTraits":{"name":"flowTraits","type":"number","required":false},"listens":{"name":"listens","type":"array","required":false,"items":{"type":"string"}},"emits":{"name":"emits","type":"array","required":false,"items":{"type":"string"}},"stateName":{"name":"stateName","type":"string","required":false},"stateRole":{"name":"stateRole","type":"string","required":false,"values":["initial","terminal","hub","default"]},"persistence":{"name":"persistence","type":"string","required":false},"opensApp":{"name":"opensApp","type":"boolean","required":false},"effectTypes":{"name":"effectTypes","type":"array","required":false,"items":{"type":"string"}},"cardLabel":{"name":"cardLabel","type":"string","required":false,"values":["screen"]},"layer":{"name":"layer","type":"string","required":false},"flowRenderPieces":{"name":"flowRenderPieces","type":"number","required":false}}},"focus":{"name":"focus","type":"object","required":false,"properties":{"patternType":{"name":"patternType","type":"string","required":false},"state":{"name":"state","type":"string","required":false},"label":{"name":"label","type":"string","required":true},"transition":{"name":"transition","type":"string","required":false},"entity":{"name":"entity","type":"string","required":false},"level":{"name":"level","type":"string","required":true,"values":["node","slot","field","effect","trait","page","orbital"]},"source":{"name":"source","type":"string","required":false},"path":{"name":"path","type":"string","required":false},"trait":{"name":"trait","type":"string","required":false},"orbital":{"name":"orbital","type":"string","required":true},"slot":{"name":"slot","type":"string","required":false}}},"rect":{"name":"rect","type":"object","required":false,"properties":{"left":{"name":"left","type":"number","required":true},"height":{"name":"height","type":"number","required":true},"width":{"name":"width","type":"number","required":true},"top":{"name":"top","type":"number","required":true}}}}},"defaultTab":{"type":"string","label":"Default Tab","description":"Initial tab on mount. Local state still owns the active tab after that — this does not make the component controlled. Enables deep-linking into a specific tab (e.g. from a LayersPanel selection).","tier":"presentation","values":["inspector","design","prototype","code"]},"userType":{"type":"string","default":"builder","label":"User Type","description":"Studio persona viewing the inspector. Controls tab visibility (Code is architect-only, Styles is universal) and section visibility (Entity, raw guard, raw effects are architect-only). Default `'builder'` matches pre-Phase-2 behavior except for the new Styles tab, which every persona gets.","tier":"presentation","values":["builder","designer","architect"]},"onTabChange":{"type":"event","default":"TAB_CHANGE","label":"On Tab Change","description":"Fires whenever the tab-bar selection changes.","tier":"presentation"},"node":{"type":"OrbInspectorNode","default":{"orbitalName":"Orbital Name","traitName":"Trait Name","stateName":"State Name","transitionEvent":"Transition Event","fromState":"From State","toState":"To State","cardWidth":1,"cardLabel":"screen","enteredBy":["Item","Item 2"],"opensApp":false,"patterns":[{"slot":"Slot","pattern":{}},{"slot":"Slot 2","pattern":{}}],"eventSources":[{"event":"Event","patternType":"Pattern Type","label":"Label","path":"Path","positionHint":1,"payloadFields":[{"name":"Name","type":"Type","required":false},{"name":"Name 2","type":"Type 2","required":true}]},{"event":"Event 2","patternType":"Pattern Type 2","label":"Label 2","path":"Path 2","positionHint":2,"payloadFields":[{"name":"Name","type":"Type","required":false},{"name":"Name 2","type":"Type 2","required":true}]}],"layer":"Layer","stateRole":"initial","effectTypes":["Item","Item 2"],"entityName":"Entity Name","persistence":"Persistence","fieldCount":1,"traitCount":1,"pageRoutes":["Item","Item 2"],"status":"idle","sourceSchemaName":"Source Schema Name","focused":false,"kind":"trait-card","dependencyColumn":"app","dependencyRole":"selected","flowTraits":1,"flowRenderPieces":1,"unitStatus":"ok","unitMetric":"Unit Metric","bandKind":"connected","bandCount":1,"wireEvents":["Item","Item 2"],"transitions":[{"event":"Event","fromState":"From State","toState":"To State"},{"event":"Event 2","fromState":"From State 2","toState":"To State 2"}],"emits":["Item","Item 2"],"listens":["Item","Item 2"],"linkedEntity":"Linked Entity"},"label":"Node","description":"node prop","tier":"presentation","properties":{"wireEvents":{"name":"wireEvents","type":"array","required":false,"items":{"type":"string"}},"flowRenderPieces":{"name":"flowRenderPieces","type":"number","required":false},"unitMetric":{"name":"unitMetric","type":"string","required":false},"focused":{"name":"focused","type":"boolean","required":false},"layer":{"name":"layer","type":"string","required":false},"effectTypes":{"name":"effectTypes","type":"array","required":false,"items":{"type":"string"}},"dependencyColumn":{"name":"dependencyColumn","type":"string","required":false,"values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},"kind":{"name":"kind","type":"string","required":false,"values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},"traitName":{"name":"traitName","type":"string","required":false},"_fullSchema":{"name":"_fullSchema","type":"SExpr","required":false},"dependencyRole":{"name":"dependencyRole","type":"string","required":false,"values":["selected","upstream","downstream","both","dim"]},"listens":{"name":"listens","type":"array","required":false,"items":{"type":"string"}},"enteredBy":{"name":"enteredBy","type":"array","required":false,"items":{"type":"string"}},"transitionEvent":{"name":"transitionEvent","type":"string","required":false},"emits":{"name":"emits","type":"array","required":false,"items":{"type":"string"}},"flowTraits":{"name":"flowTraits","type":"number","required":false},"eventSources":{"name":"eventSources","type":"array","required":true,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":false},"event":{"name":"event","type":"string","required":true},"patternType":{"name":"patternType","type":"string","required":true},"positionHint":{"name":"positionHint","type":"number","required":true},"payloadFields":{"name":"payloadFields","type":"array","required":false,"items":{"type":"object","properties":{"type":{"name":"type","type":"string","required":true},"required":{"name":"required","type":"boolean","required":false},"name":{"name":"name","type":"string","required":true}}}},"path":{"name":"path","type":"string","required":true}}}},"traitCount":{"name":"traitCount","type":"number","required":false},"persistence":{"name":"persistence","type":"string","required":false},"transitions":{"name":"transitions","type":"array","required":false,"items":{"type":"object","properties":{"fromState":{"name":"fromState","type":"string","required":true},"toState":{"name":"toState","type":"string","required":true},"event":{"name":"event","type":"string","required":true}}}},"pageRoutes":{"name":"pageRoutes","type":"array","required":false,"items":{"type":"string"}},"guard":{"name":"guard","type":"SExpr","required":false},"patterns":{"name":"patterns","type":"array","required":true,"items":{"type":"object","properties":{"slot":{"name":"slot","type":"string","required":true},"pattern":{"name":"pattern","type":"SExpr","required":true}}}},"status":{"name":"status","type":"string","required":false,"values":["idle","running","success","error"]},"bandCount":{"name":"bandCount","type":"number","required":false},"fromState":{"name":"fromState","type":"string","required":false},"cardWidth":{"name":"cardWidth","type":"number","required":false},"linkedEntity":{"name":"linkedEntity","type":"string","required":false},"stateName":{"name":"stateName","type":"string","required":false},"fieldCount":{"name":"fieldCount","type":"number","required":false},"sourceSchemaName":{"name":"sourceSchemaName","type":"string","required":false},"orbitalName":{"name":"orbitalName","type":"string","required":true},"stateRole":{"name":"stateRole","type":"string","required":false,"values":["initial","terminal","hub","default"]},"unitStatus":{"name":"unitStatus","type":"string","required":false,"values":["ok","degraded","down","idle"]},"entityName":{"name":"entityName","type":"string","required":false},"bandKind":{"name":"bandKind","type":"string","required":false,"values":["connected","standalone"]},"toState":{"name":"toState","type":"string","required":false},"cardLabel":{"name":"cardLabel","type":"string","required":false,"values":["screen"]},"opensApp":{"name":"opensApp","type":"boolean","required":false}}},"onClose":{"type":"event","default":"CLOSE","label":"On Close","description":"onClose prop","tier":"presentation"},"editable":{"type":"boolean","default":false,"label":"Editable","description":"editable prop","tier":"presentation"},"onSchemaChange":{"type":"event","default":"SCHEMA_CHANGE","label":"On Schema Change","description":"onSchemaChange prop","tier":"presentation"},"schema":{"type":"SExpr","label":"Schema","description":"schema prop","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"OrbInspectorPage","id":"pag_9HM8RVPQKWBSYF599G8TSS4VG5","path":"/orb-inspector","traits":[{"ref":"OrbInspectorRender","refId":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"}]}],"types":{"OrbInspectorNode":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}],"OrbInspectorNodeEventSourcesItem":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}],"OrbInspectorNodeEventSourcesItemPayloadFieldsItem":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}],"OrbInspectorNodePatternsItem":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}],"OrbInspectorNodeTransitionsItem":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}],"OrbInspectorSelectedPattern":[{"name":"patternType","type":"string","required":true},{"name":"patternId","type":"string"},{"name":"nodeData","type":"object","required":true,"properties":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}]},{"name":"sourceTrait","type":"string"},{"name":"rect","type":"object","properties":[{"name":"top","type":"number","required":true},{"name":"left","type":"number","required":true},{"name":"width","type":"number","required":true},{"name":"height","type":"number","required":true}]},{"name":"selection","type":"[string]"},{"name":"offsetInParent","type":"object","properties":[{"name":"left","type":"number","required":true},{"name":"top","type":"number","required":true},{"name":"right","type":"number","required":true},{"name":"bottom","type":"number","required":true},{"name":"parentWidth","type":"number","required":true},{"name":"parentHeight","type":"number","required":true}]},{"name":"focus","type":"object","properties":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}]},{"name":"elements","type":"[object]","properties":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}]}],"OrbInspectorSelectedPatternElementsItem":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}],"OrbInspectorSelectedPatternFocus":[{"name":"level","type":"string","values":["node","slot","field","effect","trait","page","orbital"],"required":true},{"name":"orbital","type":"string","required":true},{"name":"trait","type":"string"},{"name":"transition","type":"string"},{"name":"state","type":"string"},{"name":"slot","type":"string"},{"name":"path","type":"string"},{"name":"patternType","type":"string"},{"name":"entity","type":"string"},{"name":"source","type":"string"},{"name":"label","type":"string","required":true}],"OrbInspectorSelectedPatternNodeData":[{"name":"orbitalName","type":"string","required":true},{"name":"traitName","type":"string"},{"name":"stateName","type":"string"},{"name":"transitionEvent","type":"string"},{"name":"fromState","type":"string"},{"name":"toState","type":"string"},{"name":"cardWidth","type":"number"},{"name":"cardLabel","type":"string","values":["screen"]},{"name":"enteredBy","type":"[string]"},{"name":"opensApp","type":"boolean"},{"name":"patterns","type":"[object]","required":true,"properties":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}]},{"name":"eventSources","type":"[object]","required":true,"properties":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}]},{"name":"layer","type":"string"},{"name":"stateRole","type":"string","values":["initial","terminal","hub","default"]},{"name":"effectTypes","type":"[string]"},{"name":"guard","type":"SExpr"},{"name":"entityName","type":"string"},{"name":"persistence","type":"string"},{"name":"fieldCount","type":"number"},{"name":"traitCount","type":"number"},{"name":"pageRoutes","type":"[string]"},{"name":"status","type":"string","values":["idle","running","success","error"]},{"name":"sourceSchemaName","type":"string"},{"name":"focused","type":"boolean"},{"name":"kind","type":"string","values":["trait-card","system-orbital","system-band","dependency","dependency-column"]},{"name":"dependencyColumn","type":"string","values":["app","own","io","std","primitive","unknown","client","host","service","store","external"]},{"name":"dependencyRole","type":"string","values":["selected","upstream","downstream","both","dim"]},{"name":"flowTraits","type":"number"},{"name":"flowRenderPieces","type":"number"},{"name":"unitStatus","type":"string","values":["ok","degraded","down","idle"]},{"name":"unitMetric","type":"string"},{"name":"bandKind","type":"string","values":["connected","standalone"]},{"name":"bandCount","type":"number"},{"name":"wireEvents","type":"[string]"},{"name":"transitions","type":"[object]","properties":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}]},{"name":"emits","type":"[string]"},{"name":"listens","type":"[string]"},{"name":"linkedEntity","type":"string"},{"name":"_fullSchema","type":"SExpr"}],"OrbInspectorSelectedPatternNodeDataEventSourcesItem":[{"name":"event","type":"string","required":true},{"name":"patternType","type":"string","required":true},{"name":"label","type":"string"},{"name":"path","type":"string","required":true},{"name":"positionHint","type":"number","required":true},{"name":"payloadFields","type":"[object]","properties":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}]}],"OrbInspectorSelectedPatternNodeDataEventSourcesItemPayloadFieldsItem":[{"name":"name","type":"string","required":true},{"name":"type","type":"string","required":true},{"name":"required","type":"boolean"}],"OrbInspectorSelectedPatternNodeDataPatternsItem":[{"name":"slot","type":"string","required":true},{"name":"pattern","type":"SExpr","required":true}],"OrbInspectorSelectedPatternNodeDataTransitionsItem":[{"name":"event","type":"string","required":true},{"name":"fromState","type":"string","required":true},{"name":"toState","type":"string","required":true}],"OrbInspectorSelectedPatternOffsetInParent":[{"name":"left","type":"number","required":true},{"name":"top","type":"number","required":true},{"name":"right","type":"number","required":true},{"name":"bottom","type":"number","required":true},{"name":"parentWidth","type":"number","required":true},{"name":"parentHeight","type":"number","required":true}],"OrbInspectorSelectedPatternRect":[{"name":"top","type":"number","required":true},{"name":"left","type":"number","required":true},{"name":"width","type":"number","required":true},{"name":"height","type":"number","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD":{"id":"ent_8NA3DSKDSSPWWWS5GSAYCCCWJD","kind":"entity","bakedName":"OrbInspectorItem","curName":"OrbInspectorItem","renames":[],"owner":"workspace"},"evt_485GW5WWG3E81QNCS0EYVQHN0J":{"id":"evt_485GW5WWG3E81QNCS0EYVQHN0J","kind":"event","bakedName":"@config.onTabChange","curName":"@config.onTabChange","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2":{"id":"evt_4ME52P7NMHTT8PCZHRQQ0SNZB2","kind":"event","bakedName":"@config.onSchemaChange","curName":"@config.onSchemaChange","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ":{"id":"evt_9SXX1XRBMH5T8Y5VTPV7RX3EHZ","kind":"event","bakedName":"@config.onClose","curName":"@config.onClose","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"evt_NRF7Y18BM15T0P0MWEEG4JV4P5":{"id":"evt_NRF7Y18BM15T0P0MWEEG4JV4P5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G"},"orb_VDPSWFY64Q32BGM0ECA61B928B":{"id":"orb_VDPSWFY64Q32BGM0ECA61B928B","kind":"orbital","bakedName":"OrbInspectorOrbital","curName":"OrbInspectorOrbital","renames":[],"owner":"workspace"},"pag_9HM8RVPQKWBSYF599G8TSS4VG5":{"id":"pag_9HM8RVPQKWBSYF599G8TSS4VG5","kind":"page","bakedName":"OrbInspectorPage","curName":"OrbInspectorPage","renames":[],"owner":"workspace"},"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G":{"id":"trt_1SHM2DCBMJ5T98KK6N2E1VGD8G","kind":"trait","bakedName":"OrbInspectorRender","curName":"OrbInspectorRender","renames":[],"owner":"workspace"}}}}
@@ -1 +1 @@
1
- {"name":"std-app-layout","version":"1.5.0","description":"std-app-layout — dashboard-layout chrome (sidebar nav + top bar with search + topBarActions + notifications) wrapping a single contentTrait slot. Use for list-style apps (CMS / helpdesk / CRM) and account/settings pages: the chrome stays stable while the consumer's content trait renders the data, and the consumer can add domain icons (cart / profile / help) via topBarActions. Bind once per orbital — the consumer rebinds linkedEntity via `XAppLayout = AppShell.traits.AppLayout -> XEntity` so multiple orbitals in one file each get their own chrome without colliding on a shared atom entity.","orbitals":[{"name":"AppLayoutOrbital","id":"orb_6JSHCYAS91CMGH7FZY2MGR7QMB","entity":{"name":"AppLayoutData","id":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"AppLayout","id":"trt_9KQHM943Q51VJJ29XXJXN9MR42","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"AppLayoutData"},{"kind":"render-ui","resource":"main"},{"kind":"render-ui","resource":"toast"}],"category":"interaction","linkedEntity":"AppLayoutData","linkedEntityId":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","entityRefIds":{"AppLayoutData":"ent_XP63XF763ZK1ZKQQEATF5K3WDB"},"emits":[{"event":"SEARCH","eventId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","description":"Indicates a search query has been submitted.","synonyms":"query, find, lookup","tier":"domain","scope":"external","payloadSchema":[{"name":"value","type":"string"}]},{"event":"NOTIFY_CLICK","eventId":"evt_0A81WREZP4FV24C3RE88GNM7BC","description":"A user interacted with a notification.","synonyms":"click, tap, select","tier":"domain","scope":"external","payloadSchema":[{"name":"id","type":"string"}]},{"event":"AppLayoutStateLoaded","eventId":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","description":"Signals the layout has finished loading and is ready.","synonyms":"ready, initialized, loaded","tier":"internal","scope":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"AppLayoutData"}]},{"event":"AppLayoutStateLoadFailed","eventId":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","description":"Indicates failure to load the layout state.","synonyms":"error, failure, load failed","tier":"internal","scope":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"composing","isInitial":true}],"events":[{"key":"INIT","id":"evt_S59FW2343TJ1X688JA5MGZHF12","name":"Initialize"},{"key":"AppLayoutStateLoaded","id":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","name":"App layout state loaded","description":"Signals the layout has finished loading and is ready.","synonyms":"ready, initialized, loaded","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"AppLayoutData"}]},{"key":"AppLayoutStateLoadFailed","id":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","name":"App layout state load failed","description":"Indicates failure to load the layout state.","synonyms":"error, failure, load failed","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"SEARCH","id":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","name":"Search","description":"Indicates a search query has been submitted.","synonyms":"query, find, lookup","tier":"domain","payloadSchema":[{"name":"value","type":"string"}]},{"key":"NOTIFY_CLICK","id":"evt_0A81WREZP4FV24C3RE88GNM7BC","name":"Notify Click","description":"A user interacted with a notification.","synonyms":"click, tap, select","tier":"domain","payloadSchema":[{"name":"id","type":"string"}]}],"transitions":[{"from":"composing","to":"composing","event":"INIT","eventId":"evt_S59FW2343TJ1X688JA5MGZHF12","guard":["or",["=",["array/len","@config.allowedRoles"],0],["array/includes","@config.allowedRoles","@config.viewerRole"]],"effects":[["fetch","AppLayoutData",{"emit":{"failure":"AppLayoutStateLoadFailed","success":"AppLayoutStateLoaded"}}],["render-ui","main",{"data-theme":"@config.theme","className":"min-h-screen w-full","fullHeight":true,"type":"box","children":[{"appName":"@config.appName","logo":["if",["==","@config.logoSrc",""],null,{"type":"image","src":"@config.logoSrc","alt":"","fit":"contain","className":"h-8 w-8"}],"children":[{"children":["@config.contentTrait"],"className":"@config.contentClassName","direction":"vertical","gap":"lg","type":"stack"}],"currentPath":"@config.currentPath","layoutMode":"@config.layoutMode","fullBleed":"@config.fullBleed","navItems":["array/map",["array/filter","@config.navItems",["fn","item",["or",["=",["array/len",["object/get","@item","roles",[]]],0],["array/includes",["object/get","@item","roles",[]],"@config.viewerRole"]]]],["fn","item",["if",["object/has","@item","children"],["object/merge","@item",{"children":["array/filter",["object/get","@item","children",[]],["fn","child",["or",["=",["array/len",["object/get","@child","roles",[]]],0],["array/includes",["object/get","@child","roles",[]],"@config.viewerRole"]]]]}],"@item"]]],"notificationClickEvent":"@config.notificationClickEvent","notifications":["if","@config.showNotifications","@config.notifications",null],"searchEvent":["if","@config.showSearch","@config.searchEvent",null],"showThemeToggle":"@config.showThemeToggle","sidebarContent":"@config.sidebarTrait","topBarActions":["array/filter","@config.topBarActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"userMenuItems":["array/filter","@config.userMenuItems",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"type":"@config.layoutPattern","user":["if",["validate/required","@config.viewerName"],{"avatar":"@config.viewerAvatar","email":"@config.viewerEmail","name":"@config.viewerName"},null]}]}]]},{"from":"composing","to":"composing","event":"INIT","eventId":"evt_S59FW2343TJ1X688JA5MGZHF12","guard":["not",["or",["=",["array/len","@config.allowedRoles"],0],["array/includes","@config.allowedRoles","@config.viewerRole"]]],"effects":[["fetch","AppLayoutData",{"emit":{"failure":"AppLayoutStateLoadFailed","success":"AppLayoutStateLoaded"}}],["render-ui","main",{"data-theme":"@config.theme","className":"min-h-screen w-full","fullHeight":true,"type":"box","children":[{"appName":"@config.appName","logo":["if",["==","@config.logoSrc",""],null,{"type":"image","src":"@config.logoSrc","alt":"","fit":"contain","className":"h-8 w-8"}],"children":[{"children":[{"description":"@config.accessDeniedDescription","icon":"lock","title":"@config.accessDeniedTitle","type":"empty-state"}],"className":"@config.contentClassName","direction":"vertical","gap":"lg","type":"stack"}],"currentPath":"@config.currentPath","layoutMode":"@config.layoutMode","fullBleed":"@config.fullBleed","navItems":["array/map",["array/filter","@config.navItems",["fn","item",["or",["=",["array/len",["object/get","@item","roles",[]]],0],["array/includes",["object/get","@item","roles",[]],"@config.viewerRole"]]]],["fn","item",["if",["object/has","@item","children"],["object/merge","@item",{"children":["array/filter",["object/get","@item","children",[]],["fn","child",["or",["=",["array/len",["object/get","@child","roles",[]]],0],["array/includes",["object/get","@child","roles",[]],"@config.viewerRole"]]]]}],"@item"]]],"notificationClickEvent":"@config.notificationClickEvent","notifications":["if","@config.showNotifications","@config.notifications",null],"searchEvent":["if","@config.showSearch","@config.searchEvent",null],"showThemeToggle":"@config.showThemeToggle","sidebarContent":"@config.sidebarTrait","topBarActions":["array/filter","@config.topBarActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"userMenuItems":["array/filter","@config.userMenuItems",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"type":"@config.layoutPattern","user":["if",["validate/required","@config.viewerName"],{"avatar":"@config.viewerAvatar","email":"@config.viewerEmail","name":"@config.viewerName"},null]}]}]]},{"from":"composing","to":"composing","event":"AppLayoutStateLoaded","eventId":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C"},{"from":"composing","to":"composing","event":"AppLayoutStateLoadFailed","eventId":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","effects":[["render-ui","toast",{"type":"alert","variant":"error","message":["str/concat","Couldn't load the layout — ","@payload.error"],"dismissible":true}]]},{"from":"composing","to":"composing","event":"SEARCH","eventId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4"},{"from":"composing","to":"composing","event":"NOTIFY_CLICK","eventId":"evt_0A81WREZP4FV24C3RE88GNM7BC"}]},"config":{"accessDeniedDescription":{"type":"string","default":"Ask an administrator if you need it.","label":"Access-denied message","tier":"presentation"},"currentPath":{"type":"string","default":"","label":"Current path","description":"Nav-highlight ONLY: which nav item to mark active. This is NOT the page route — it does not change what page loads or where the orbital lives. To set the landing route or a page path, use the orbital's pagePath / page path, not this knob. When omitted, the layout reads the current route.","synonyms":"active nav item, highlighted nav link, which menu item is selected, nav highlight","tier":"internal"},"allowedRoles":{"type":"[string]","default":[],"label":"Who may open this page?","description":"Roles (matched against viewerRole) allowed to see this page's content. Empty = everyone; anyone else sees the access-denied state instead. Nav items and top-bar actions carry their own `roles` the same way.","synonyms":"access, permission, restrict, only for, roles allowed, who can see","tier":"policy","items":{"type":"string"}},"viewerName":{"type":"string","default":"","label":"Who is signed in","description":"Display name of the signed-in viewer, shown in the app bar's account menu — typically @user.name. Blank renders no account menu, so people can see which account (and which persona) they are viewing the app as only when it is actually known.","synonyms":"signed in user, current user, account, profile, persona, who am i","tier":"presentation"},"theme":{"type":"string","default":"@currentTheme","label":"Theme","description":"Data-theme attribute applied to the layout root (e.g. almadar-website-dark).","tier":"presentation"},"contentTrait":{"type":"trait","label":"Content trait","description":"Trait rendered inside the app layout content area","tier":"presentation"},"fullBleed":{"type":"boolean","default":false,"label":"Should pages fill the whole area?","description":"Content runs edge to edge at full height, with no padding or width cap — for workspaces, canvases and maps.","synonyms":"full width, edge to edge, no padding, full screen content","tier":"presentation"},"logoSrc":{"type":"string","default":"","label":"Logo image","description":"Address of the logo shown beside the app name in the chrome header (an image URL or an inline data: SVG); empty shows the name's first letter.","synonyms":"logo, brand mark, app icon, logo url","tier":"presentation"},"showSearch":{"type":"boolean","default":true,"label":"Show the search box?","description":"The top-bar search box; turn off for apps whose pages carry their own search.","synonyms":"search bar, top search, hide search","tier":"presentation"},"notificationClickEvent":{"type":"event","default":"NOTIFY_CLICK","label":"Notification click event","description":"Event emitted when the user picks a notification","tier":"internal","refId":"evt_0A81WREZP4FV24C3RE88GNM7BC"},"navItems":{"type":"[NavItem]","default":"@pages","label":"Which sections appear in the sidebar?","description":"Top-level navigation links shown on the left rail.","synonyms":"nav links, menu items, sidebar sections, navigation entries, pages","tier":"presentation","items":{"type":"object","properties":{"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"children":{"name":"children","type":"array","required":false,"items":{"type":"union","values":["NavItem"]}},"badge":{"name":"badge","type":"string","required":false},"href":{"name":"href","type":"string","required":true},"icon":{"name":"icon","type":"string","required":false},"label":{"name":"label","type":"string","required":true}}}},"layoutMode":{"type":"string","default":"sidebar","label":"Where should navigation be placed?","description":"sidebar = left rail; topnav = top bar; bottomnav = mobile tab bar; minimal = no nav; drawer = navigation behind a menu button at every width, content full width.","synonyms":"nav position, navigation style, menu placement, layout style","tier":"presentation","values":["sidebar","topnav","bottomnav","minimal","drawer"]},"sidebarTrait":{"type":"trait","label":"Sidebar trait","description":"Optional trait rendered in the sidebar between the nav links and the footer — the Notion/Confluence-style always-visible page tree; scrolls independently. Unset renders plain nav only.","synonyms":"sidebar tree, nav tree, page tree in sidebar, hierarchy rail","tier":"presentation"},"viewerEmail":{"type":"string","default":"","label":"Signed-in email","description":"Email shown under the name in the account menu — typically @user.email.","tier":"presentation"},"layoutPattern":{"type":"pattern","default":"dashboard-layout","label":"Layout pattern","description":"UI pattern used to render the application chrome","tier":"internal"},"contentClassName":{"type":"string","default":"max-w-5xl mx-auto w-full","label":"Content wrapper class","description":"CSS class applied to the content area wrapper.","tier":"internal"},"viewerAvatar":{"type":"string","default":"","label":"Signed-in avatar","description":"Avatar image URL for the account menu.","tier":"presentation"},"showThemeToggle":{"type":"boolean","default":true,"label":"Show the light/dark toggle?","description":"The theme toggle in the top bar; turn off when the app offers it elsewhere, such as a settings page.","synonyms":"dark mode button, theme switch, hide theme toggle","tier":"presentation"},"userMenuItems":{"type":"[ItemAction]","default":[],"label":"What goes in the account menu?","description":"Entries listed above Sign out in the signed-in viewer's account menu (e.g. Settings, Profile); each navigates (navigatesTo) or emits its event.","synonyms":"account menu, user menu, profile menu, avatar menu","tier":"presentation","items":{"type":"object","properties":{"variant":{"name":"variant","type":"string","required":false},"navigatesTo":{"name":"navigatesTo","type":"string","required":false},"icon":{"name":"icon","type":"string","required":false},"event":{"name":"event","type":"event","required":false},"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"label":{"name":"label","type":"string","required":true}}}},"searchEvent":{"type":"event","default":"SEARCH","label":"Search event","description":"Event emitted when the user runs a global search","tier":"internal","refId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4"},"showNotifications":{"type":"boolean","default":true,"label":"Show the notifications bell?","description":"The bell and its dropdown in the top bar; turn off for apps that have no notifications.","synonyms":"bell, alerts icon, hide notifications","tier":"presentation"},"viewerRole":{"type":"string","default":"","label":"Viewer's role","description":"The signed-in viewer's role that allowedRoles and each nav item's / top-bar action's `roles` are checked against. Bind it explicitly at the call site (e.g. `viewerRole: @user.role`) in an app whose identity carries a role; left empty, only items with no `roles` show and a page with allowedRoles is denied.","tier":"policy"},"notifications":{"type":"[NotificationSpec]","default":[],"label":"What notifications should appear?","description":"Items shown in the notifications dropdown.","synonyms":"alerts, messages, notices, notification items, bell items","tier":"presentation","items":{"type":"object","properties":{"id":{"name":"id","type":"string","required":false},"message":{"name":"message","type":"string","required":false},"variant":{"name":"variant","type":"string","required":false}}}},"topBarActions":{"type":"[ItemAction]","default":[],"label":"What shortcuts go in the top bar?","description":"Icon buttons shown on the right side of the top bar (e.g. cart, help, profile).","synonyms":"toolbar buttons, header actions, shortcut icons, quick actions","tier":"presentation","items":{"type":"object","properties":{"variant":{"name":"variant","type":"string","required":false},"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"event":{"name":"event","type":"event","required":false},"label":{"name":"label","type":"string","required":true},"icon":{"name":"icon","type":"string","required":false},"navigatesTo":{"name":"navigatesTo","type":"string","required":false}}}},"accessDeniedTitle":{"type":"string","default":"You don't have access to this page","label":"Access-denied title","tier":"presentation"},"appName":{"type":"string","default":"App","label":"What should this app be called?","description":"Name shown in the top-left of the chrome header.","synonyms":"app title, product name, brand name, application name, site name","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"AppLayoutPage","id":"pag_BPZMN4736EHK7DFGK6CA7DJ320","path":"/app-layout","traits":[{"ref":"AppLayout","refId":"trt_9KQHM943Q51VJJ29XXJXN9MR42"}]}],"types":{"ItemAction":[{"name":"label","type":"string","required":true},{"name":"event","type":"event"},{"name":"navigatesTo","type":"string"},{"name":"variant","type":"string"},{"name":"icon","type":"string"},{"name":"roles","type":"[string]"}],"NavItem":[{"name":"label","type":"string","required":true},{"name":"href","type":"string","required":true},{"name":"icon","type":"string"},{"name":"badge","type":"string"},{"name":"children","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"href","type":"string","required":true},{"name":"icon","type":"string"},{"name":"badge","type":"string"},{"name":"children","type":"[NavItem]","properties":[]},{"name":"roles","type":"[string]"}]},{"name":"roles","type":"[string]"}],"NotificationSpec":[{"name":"id","type":"string"},{"name":"message","type":"string"},{"name":"variant","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_XP63XF763ZK1ZKQQEATF5K3WDB":{"id":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","kind":"entity","bakedName":"AppLayoutData","curName":"AppLayoutData","renames":[],"owner":"workspace"},"evt_0A81WREZP4FV24C3RE88GNM7BC":{"id":"evt_0A81WREZP4FV24C3RE88GNM7BC","kind":"event","bakedName":"NOTIFY_CLICK","curName":"NOTIFY_CLICK","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4":{"id":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","kind":"event","bakedName":"SEARCH","curName":"SEARCH","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_7T07GK3M8XT4EZJBMKBSHXGB82":{"id":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","kind":"event","bakedName":"AppLayoutStateLoadFailed","curName":"AppLayoutStateLoadFailed","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_S59FW2343TJ1X688JA5MGZHF12":{"id":"evt_S59FW2343TJ1X688JA5MGZHF12","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C":{"id":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","kind":"event","bakedName":"AppLayoutStateLoaded","curName":"AppLayoutStateLoaded","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"orb_6JSHCYAS91CMGH7FZY2MGR7QMB":{"id":"orb_6JSHCYAS91CMGH7FZY2MGR7QMB","kind":"orbital","bakedName":"AppLayoutOrbital","curName":"AppLayoutOrbital","renames":[],"owner":"workspace"},"pag_BPZMN4736EHK7DFGK6CA7DJ320":{"id":"pag_BPZMN4736EHK7DFGK6CA7DJ320","kind":"page","bakedName":"AppLayoutPage","curName":"AppLayoutPage","renames":[],"owner":"workspace"},"trt_9KQHM943Q51VJJ29XXJXN9MR42":{"id":"trt_9KQHM943Q51VJJ29XXJXN9MR42","kind":"trait","bakedName":"AppLayout","curName":"AppLayout","renames":[],"owner":"workspace"}}}}
1
+ {"name":"std-app-layout","version":"1.5.0","description":"std-app-layout — dashboard-layout chrome (sidebar nav + top bar with search + topBarActions + notifications) wrapping a single contentTrait slot. Use for list-style apps (CMS / helpdesk / CRM) and account/settings pages: the chrome stays stable while the consumer's content trait renders the data, and the consumer can add domain icons (cart / profile / help) via topBarActions. Bind once per orbital — the consumer rebinds linkedEntity via `XAppLayout = AppShell.traits.AppLayout -> XEntity` so multiple orbitals in one file each get their own chrome without colliding on a shared atom entity.","orbitals":[{"name":"AppLayoutOrbital","id":"orb_6JSHCYAS91CMGH7FZY2MGR7QMB","entity":{"name":"AppLayoutData","id":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"AppLayout","id":"trt_9KQHM943Q51VJJ29XXJXN9MR42","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"AppLayoutData"},{"kind":"render-ui","resource":"main"},{"kind":"render-ui","resource":"toast"}],"category":"interaction","linkedEntity":"AppLayoutData","linkedEntityId":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","entityRefIds":{"AppLayoutData":"ent_XP63XF763ZK1ZKQQEATF5K3WDB"},"emits":[{"event":"SEARCH","eventId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","description":"Indicates a search query has been submitted.","synonyms":"query, find, lookup","tier":"domain","scope":"external","payloadSchema":[{"name":"value","type":"string"}]},{"event":"NOTIFY_CLICK","eventId":"evt_0A81WREZP4FV24C3RE88GNM7BC","description":"A user interacted with a notification.","synonyms":"click, tap, select","tier":"domain","scope":"external","payloadSchema":[{"name":"id","type":"string"}]},{"event":"AppLayoutStateLoaded","eventId":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","description":"Signals the layout has finished loading and is ready.","synonyms":"ready, initialized, loaded","tier":"internal","scope":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"AppLayoutData"}]},{"event":"AppLayoutStateLoadFailed","eventId":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","description":"Indicates failure to load the layout state.","synonyms":"error, failure, load failed","tier":"internal","scope":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"composing","isInitial":true}],"events":[{"key":"INIT","id":"evt_S59FW2343TJ1X688JA5MGZHF12","name":"Initialize"},{"key":"AppLayoutStateLoaded","id":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","name":"App layout state loaded","description":"Signals the layout has finished loading and is ready.","synonyms":"ready, initialized, loaded","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"AppLayoutData"}]},{"key":"AppLayoutStateLoadFailed","id":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","name":"App layout state load failed","description":"Indicates failure to load the layout state.","synonyms":"error, failure, load failed","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"SEARCH","id":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","name":"Search","description":"Indicates a search query has been submitted.","synonyms":"query, find, lookup","tier":"domain","payloadSchema":[{"name":"value","type":"string"}]},{"key":"NOTIFY_CLICK","id":"evt_0A81WREZP4FV24C3RE88GNM7BC","name":"Notify Click","description":"A user interacted with a notification.","synonyms":"click, tap, select","tier":"domain","payloadSchema":[{"name":"id","type":"string"}]}],"transitions":[{"from":"composing","to":"composing","event":"INIT","eventId":"evt_S59FW2343TJ1X688JA5MGZHF12","guard":["or",["=",["array/len","@config.allowedRoles"],0],["array/includes","@config.allowedRoles","@config.viewerRole"]],"effects":[["fetch","AppLayoutData",{"emit":{"failure":"AppLayoutStateLoadFailed","success":"AppLayoutStateLoaded"}}],["render-ui","main",{"data-theme":"@config.theme","className":"min-h-screen w-full","fullHeight":true,"type":"box","children":[{"appName":"@config.appName","logo":["if",["==","@config.logoSrc",""],null,{"type":"image","src":"@config.logoSrc","alt":"","fit":"contain","className":"h-8 w-8"}],"children":[{"children":["@config.contentTrait"],"className":"@config.contentClassName","direction":"vertical","gap":"lg","type":"stack"}],"currentPath":"@config.currentPath","layoutMode":"@config.layoutMode","fullBleed":"@config.fullBleed","navItems":["array/map",["array/filter","@config.navItems",["fn","item",["or",["=",["array/len",["object/get","@item","roles",[]]],0],["array/includes",["object/get","@item","roles",[]],"@config.viewerRole"]]]],["fn","item",["if",["object/has","@item","children"],["object/merge","@item",{"children":["array/filter",["object/get","@item","children",[]],["fn","child",["or",["=",["array/len",["object/get","@child","roles",[]]],0],["array/includes",["object/get","@child","roles",[]],"@config.viewerRole"]]]]}],"@item"]]],"notificationClickEvent":"@config.notificationClickEvent","notifications":["if","@config.showNotifications","@config.notifications",null],"searchEvent":["if","@config.showSearch","@config.searchEvent",null],"showThemeToggle":"@config.showThemeToggle","sidebarContent":"@config.sidebarTrait","topBarActions":["array/filter","@config.topBarActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"userMenuItems":["array/filter","@config.userMenuItems",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"type":"@config.layoutPattern","user":["if",["validate/required","@config.viewerName"],{"avatar":"@config.viewerAvatar","email":"@config.viewerEmail","name":"@config.viewerName"},null]}]}]]},{"from":"composing","to":"composing","event":"INIT","eventId":"evt_S59FW2343TJ1X688JA5MGZHF12","guard":["not",["or",["=",["array/len","@config.allowedRoles"],0],["array/includes","@config.allowedRoles","@config.viewerRole"]]],"effects":[["fetch","AppLayoutData",{"emit":{"failure":"AppLayoutStateLoadFailed","success":"AppLayoutStateLoaded"}}],["render-ui","main",{"data-theme":"@config.theme","className":"min-h-screen w-full","fullHeight":true,"type":"box","children":[{"appName":"@config.appName","logo":["if",["==","@config.logoSrc",""],null,{"type":"image","src":"@config.logoSrc","alt":"","fit":"contain","className":"h-8 w-8"}],"children":[{"children":[{"description":"@config.accessDeniedDescription","icon":"lock","title":"@config.accessDeniedTitle","type":"empty-state"}],"className":"@config.contentClassName","direction":"vertical","gap":"lg","type":"stack"}],"currentPath":"@config.currentPath","layoutMode":"@config.layoutMode","fullBleed":"@config.fullBleed","navItems":["array/map",["array/filter","@config.navItems",["fn","item",["or",["=",["array/len",["object/get","@item","roles",[]]],0],["array/includes",["object/get","@item","roles",[]],"@config.viewerRole"]]]],["fn","item",["if",["object/has","@item","children"],["object/merge","@item",{"children":["array/filter",["object/get","@item","children",[]],["fn","child",["or",["=",["array/len",["object/get","@child","roles",[]]],0],["array/includes",["object/get","@child","roles",[]],"@config.viewerRole"]]]]}],"@item"]]],"notificationClickEvent":"@config.notificationClickEvent","notifications":["if","@config.showNotifications","@config.notifications",null],"searchEvent":["if","@config.showSearch","@config.searchEvent",null],"showThemeToggle":"@config.showThemeToggle","sidebarContent":"@config.sidebarTrait","topBarActions":["array/filter","@config.topBarActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"userMenuItems":["array/filter","@config.userMenuItems",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"type":"@config.layoutPattern","user":["if",["validate/required","@config.viewerName"],{"avatar":"@config.viewerAvatar","email":"@config.viewerEmail","name":"@config.viewerName"},null]}]}]]},{"from":"composing","to":"composing","event":"AppLayoutStateLoaded","eventId":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C"},{"from":"composing","to":"composing","event":"AppLayoutStateLoadFailed","eventId":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","effects":[["render-ui","toast",{"type":"alert","variant":"error","message":["str/concat","Couldn't load the layout — ","@payload.error"],"dismissible":true}]]},{"from":"composing","to":"composing","event":"SEARCH","eventId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4"},{"from":"composing","to":"composing","event":"NOTIFY_CLICK","eventId":"evt_0A81WREZP4FV24C3RE88GNM7BC"}]},"config":{"viewerRole":{"type":"string","default":"","label":"Viewer's role","description":"The signed-in viewer's role that allowedRoles and each nav item's / top-bar action's `roles` are checked against. Bind it explicitly at the call site (e.g. `viewerRole: @user.role`) in an app whose identity carries a role; left empty, only items with no `roles` show and a page with allowedRoles is denied.","tier":"policy"},"searchEvent":{"type":"event","default":"SEARCH","label":"Search event","description":"Event emitted when the user runs a global search","tier":"internal","refId":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4"},"topBarActions":{"type":"[ItemAction]","default":[],"label":"What shortcuts go in the top bar?","description":"Icon buttons shown on the right side of the top bar (e.g. cart, help, profile).","synonyms":"toolbar buttons, header actions, shortcut icons, quick actions","tier":"presentation","items":{"type":"object","properties":{"event":{"name":"event","type":"event","required":false},"variant":{"name":"variant","type":"string","required":false},"navigatesTo":{"name":"navigatesTo","type":"string","required":false},"label":{"name":"label","type":"string","required":true},"icon":{"name":"icon","type":"string","required":false},"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}}}}},"layoutPattern":{"type":"pattern","default":"dashboard-layout","label":"Layout pattern","description":"UI pattern used to render the application chrome","tier":"internal"},"navItems":{"type":"[NavItem]","default":"@pages","label":"Which sections appear in the sidebar?","description":"Top-level navigation links shown on the left rail.","synonyms":"nav links, menu items, sidebar sections, navigation entries, pages","tier":"presentation","items":{"type":"object","properties":{"badge":{"name":"badge","type":"string","required":false},"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"href":{"name":"href","type":"string","required":true},"label":{"name":"label","type":"string","required":true},"children":{"name":"children","type":"array","required":false,"items":{"type":"union","values":["NavItem"]}},"icon":{"name":"icon","type":"string","required":false}}}},"layoutMode":{"type":"string","default":"sidebar","label":"Where should navigation be placed?","description":"sidebar = left rail; topnav = top bar; bottomnav = mobile tab bar; minimal = no nav; drawer = navigation behind a menu button at every width, content full width.","synonyms":"nav position, navigation style, menu placement, layout style","tier":"presentation","values":["sidebar","topnav","bottomnav","minimal","drawer"]},"currentPath":{"type":"string","default":"","label":"Current path","description":"Nav-highlight ONLY: which nav item to mark active. This is NOT the page route — it does not change what page loads or where the orbital lives. To set the landing route or a page path, use the orbital's pagePath / page path, not this knob. When omitted, the layout reads the current route.","synonyms":"active nav item, highlighted nav link, which menu item is selected, nav highlight","tier":"internal"},"appName":{"type":"string","default":"App","label":"What should this app be called?","description":"Name shown in the top-left of the chrome header.","synonyms":"app title, product name, brand name, application name, site name","tier":"presentation"},"viewerEmail":{"type":"string","default":"","label":"Signed-in email","description":"Email shown under the name in the account menu — typically @user.email.","tier":"presentation"},"notifications":{"type":"[NotificationSpec]","default":[],"label":"What notifications should appear?","description":"Items shown in the notifications dropdown.","synonyms":"alerts, messages, notices, notification items, bell items","tier":"presentation","items":{"type":"object","properties":{"variant":{"name":"variant","type":"string","required":false},"id":{"name":"id","type":"string","required":false},"message":{"name":"message","type":"string","required":false}}}},"showSearch":{"type":"boolean","default":true,"label":"Show the search box?","description":"The top-bar search box; turn off for apps whose pages carry their own search.","synonyms":"search bar, top search, hide search","tier":"presentation"},"theme":{"type":"string","default":"@currentTheme","label":"Theme","description":"Data-theme attribute applied to the layout root (e.g. almadar-website-dark).","tier":"presentation"},"viewerName":{"type":"string","default":"","label":"Who is signed in","description":"Display name of the signed-in viewer, shown in the app bar's account menu — typically @user.name. Blank renders no account menu, so people can see which account (and which persona) they are viewing the app as only when it is actually known.","synonyms":"signed in user, current user, account, profile, persona, who am i","tier":"presentation"},"showThemeToggle":{"type":"boolean","default":true,"label":"Show the light/dark toggle?","description":"The theme toggle in the top bar; turn off when the app offers it elsewhere, such as a settings page.","synonyms":"dark mode button, theme switch, hide theme toggle","tier":"presentation"},"contentTrait":{"type":"trait","label":"Content trait","description":"Trait rendered inside the app layout content area","tier":"presentation"},"allowedRoles":{"type":"[string]","default":[],"label":"Who may open this page?","description":"Roles (matched against viewerRole) allowed to see this page's content. Empty = everyone; anyone else sees the access-denied state instead. Nav items and top-bar actions carry their own `roles` the same way.","synonyms":"access, permission, restrict, only for, roles allowed, who can see","tier":"policy","items":{"type":"string"}},"accessDeniedTitle":{"type":"string","default":"You don't have access to this page","label":"Access-denied title","tier":"presentation"},"sidebarTrait":{"type":"trait","label":"Sidebar trait","description":"Optional trait rendered in the sidebar between the nav links and the footer — the Notion/Confluence-style always-visible page tree; scrolls independently. Unset renders plain nav only.","synonyms":"sidebar tree, nav tree, page tree in sidebar, hierarchy rail","tier":"presentation"},"showNotifications":{"type":"boolean","default":true,"label":"Show the notifications bell?","description":"The bell and its dropdown in the top bar; turn off for apps that have no notifications.","synonyms":"bell, alerts icon, hide notifications","tier":"presentation"},"logoSrc":{"type":"string","default":"","label":"Logo image","description":"Address of the logo shown beside the app name in the chrome header (an image URL or an inline data: SVG); empty shows the name's first letter.","synonyms":"logo, brand mark, app icon, logo url","tier":"presentation"},"accessDeniedDescription":{"type":"string","default":"Ask an administrator if you need it.","label":"Access-denied message","tier":"presentation"},"contentClassName":{"type":"string","default":"max-w-5xl mx-auto w-full","label":"Content wrapper class","description":"CSS class applied to the content area wrapper.","tier":"internal"},"notificationClickEvent":{"type":"event","default":"NOTIFY_CLICK","label":"Notification click event","description":"Event emitted when the user picks a notification","tier":"internal","refId":"evt_0A81WREZP4FV24C3RE88GNM7BC"},"viewerAvatar":{"type":"string","default":"","label":"Signed-in avatar","description":"Avatar image URL for the account menu.","tier":"presentation"},"fullBleed":{"type":"boolean","default":false,"label":"Should pages fill the whole area?","description":"Content runs edge to edge at full height, with no padding or width cap — for workspaces, canvases and maps.","synonyms":"full width, edge to edge, no padding, full screen content","tier":"presentation"},"userMenuItems":{"type":"[ItemAction]","default":[],"label":"What goes in the account menu?","description":"Entries listed above Sign out in the signed-in viewer's account menu (e.g. Settings, Profile); each navigates (navigatesTo) or emits its event.","synonyms":"account menu, user menu, profile menu, avatar menu","tier":"presentation","items":{"type":"object","properties":{"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"icon":{"name":"icon","type":"string","required":false},"navigatesTo":{"name":"navigatesTo","type":"string","required":false},"label":{"name":"label","type":"string","required":true},"variant":{"name":"variant","type":"string","required":false},"event":{"name":"event","type":"event","required":false}}}}},"scope":"instance"}],"pages":[{"name":"AppLayoutPage","id":"pag_BPZMN4736EHK7DFGK6CA7DJ320","path":"/app-layout","traits":[{"ref":"AppLayout","refId":"trt_9KQHM943Q51VJJ29XXJXN9MR42"}]}],"types":{"ItemAction":[{"name":"label","type":"string","required":true},{"name":"event","type":"event"},{"name":"navigatesTo","type":"string"},{"name":"variant","type":"string"},{"name":"icon","type":"string"},{"name":"roles","type":"[string]"}],"NavItem":[{"name":"label","type":"string","required":true},{"name":"href","type":"string","required":true},{"name":"icon","type":"string"},{"name":"badge","type":"string"},{"name":"children","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"href","type":"string","required":true},{"name":"icon","type":"string"},{"name":"badge","type":"string"},{"name":"children","type":"[NavItem]","properties":[]},{"name":"roles","type":"[string]"}]},{"name":"roles","type":"[string]"}],"NotificationSpec":[{"name":"id","type":"string"},{"name":"message","type":"string"},{"name":"variant","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_XP63XF763ZK1ZKQQEATF5K3WDB":{"id":"ent_XP63XF763ZK1ZKQQEATF5K3WDB","kind":"entity","bakedName":"AppLayoutData","curName":"AppLayoutData","renames":[],"owner":"workspace"},"evt_0A81WREZP4FV24C3RE88GNM7BC":{"id":"evt_0A81WREZP4FV24C3RE88GNM7BC","kind":"event","bakedName":"NOTIFY_CLICK","curName":"NOTIFY_CLICK","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4":{"id":"evt_5B0VT3PNABAN5W5M9XJ0M7X0H4","kind":"event","bakedName":"SEARCH","curName":"SEARCH","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_7T07GK3M8XT4EZJBMKBSHXGB82":{"id":"evt_7T07GK3M8XT4EZJBMKBSHXGB82","kind":"event","bakedName":"AppLayoutStateLoadFailed","curName":"AppLayoutStateLoadFailed","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_S59FW2343TJ1X688JA5MGZHF12":{"id":"evt_S59FW2343TJ1X688JA5MGZHF12","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C":{"id":"evt_ZS1N1TGV9EDMQF6JMV9JKD2W2C","kind":"event","bakedName":"AppLayoutStateLoaded","curName":"AppLayoutStateLoaded","renames":[],"owner":"workspace","parent":"trt_9KQHM943Q51VJJ29XXJXN9MR42"},"orb_6JSHCYAS91CMGH7FZY2MGR7QMB":{"id":"orb_6JSHCYAS91CMGH7FZY2MGR7QMB","kind":"orbital","bakedName":"AppLayoutOrbital","curName":"AppLayoutOrbital","renames":[],"owner":"workspace"},"pag_BPZMN4736EHK7DFGK6CA7DJ320":{"id":"pag_BPZMN4736EHK7DFGK6CA7DJ320","kind":"page","bakedName":"AppLayoutPage","curName":"AppLayoutPage","renames":[],"owner":"workspace"},"trt_9KQHM943Q51VJJ29XXJXN9MR42":{"id":"trt_9KQHM943Q51VJJ29XXJXN9MR42","kind":"trait","bakedName":"AppLayout","curName":"AppLayout","renames":[],"owner":"workspace"}}}}