@almadar/std 16.237.0 → 16.238.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 (574) hide show
  1. package/behaviors/behaviors-registry.json +56939 -2084
  2. package/behaviors/lolo/agent/atoms/std-agent-context.lolo +65 -134
  3. package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +162 -112
  4. package/behaviors/lolo/agent/atoms/std-agent-session.lolo +239 -115
  5. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +96 -90
  6. package/behaviors/lolo/agent/atoms/std-agent-trace.lolo +133 -40
  7. package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +137 -0
  8. package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +4 -17
  9. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +21 -13
  10. package/behaviors/lolo/ui/avl/atoms/ui-avl-glyph.lolo +90 -0
  11. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +90 -0
  12. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +80 -0
  13. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +80 -0
  14. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +12 -21
  15. package/behaviors/lolo/ui/core/atoms/std-board.lolo +5 -32
  16. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +19 -11
  17. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +10 -2
  18. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +4 -16
  19. package/behaviors/lolo/ui/core/atoms/std-detail-layout.lolo +3 -1
  20. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +21 -13
  21. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +12 -2
  22. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +12 -10
  23. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +27 -71
  24. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +21 -13
  25. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +6 -20
  26. package/behaviors/lolo/ui/core/atoms/std-list.lolo +21 -13
  27. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +28 -14
  28. package/behaviors/lolo/ui/core/atoms/std-prose.lolo +7 -1
  29. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +23 -8
  30. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +126 -18
  31. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +24 -20
  32. package/behaviors/lolo/ui/core/atoms/std-related.lolo +36 -25
  33. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +14 -21
  34. package/behaviors/lolo/ui/core/atoms/std-scoped-list.lolo +143 -0
  35. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +27 -14
  36. package/behaviors/lolo/ui/core/atoms/std-signature-capture.lolo +1 -13
  37. package/behaviors/lolo/ui/core/atoms/std-slide-deck.lolo +2 -2
  38. package/behaviors/lolo/ui/core/atoms/std-step-flow.lolo +4 -16
  39. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +24 -80
  40. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +92 -31
  41. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +18 -22
  42. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +36 -82
  43. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +2 -39
  44. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +20 -10
  45. package/behaviors/lolo/ui/core/atoms/ui-animated-graphic.lolo +90 -0
  46. package/behaviors/lolo/ui/core/atoms/ui-animated-reveal.lolo +90 -0
  47. package/behaviors/lolo/ui/core/atoms/ui-aside.lolo +90 -0
  48. package/behaviors/lolo/ui/core/atoms/ui-atlas-image.lolo +16 -0
  49. package/behaviors/lolo/ui/core/atoms/ui-atlas-panel.lolo +16 -0
  50. package/behaviors/lolo/ui/core/atoms/ui-avatar.lolo +91 -1
  51. package/behaviors/lolo/ui/core/atoms/ui-badge.lolo +90 -0
  52. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +98 -13
  53. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +90 -0
  54. package/behaviors/lolo/ui/core/atoms/ui-card.lolo +91 -1
  55. package/behaviors/lolo/ui/core/atoms/ui-center.lolo +90 -0
  56. package/behaviors/lolo/ui/core/atoms/ui-checkbox.lolo +112 -0
  57. package/behaviors/lolo/ui/core/atoms/ui-confetti-effect.lolo +90 -0
  58. package/behaviors/lolo/ui/core/atoms/ui-day-cell.lolo +90 -0
  59. package/behaviors/lolo/ui/core/atoms/ui-dialog.lolo +90 -0
  60. package/behaviors/lolo/ui/core/atoms/ui-divider.lolo +90 -0
  61. package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +90 -0
  62. package/behaviors/lolo/ui/core/atoms/ui-flip-container.lolo +90 -0
  63. package/behaviors/lolo/ui/core/atoms/ui-game-icon.lolo +90 -0
  64. package/behaviors/lolo/ui/core/atoms/ui-hstack.lolo +90 -10
  65. package/behaviors/lolo/ui/core/atoms/ui-icon.lolo +90 -0
  66. package/behaviors/lolo/ui/core/atoms/ui-image.lolo +90 -0
  67. package/behaviors/lolo/ui/core/atoms/ui-infinite-scroll-sentinel.lolo +90 -0
  68. package/behaviors/lolo/ui/core/atoms/ui-input.lolo +11 -1
  69. package/behaviors/lolo/ui/core/atoms/ui-label.lolo +91 -1
  70. package/behaviors/lolo/ui/core/atoms/ui-law-reference-tooltip.lolo +90 -0
  71. package/behaviors/lolo/ui/core/atoms/ui-overlay.lolo +90 -0
  72. package/behaviors/lolo/ui/core/atoms/ui-pattern-tile.lolo +90 -0
  73. package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +90 -0
  74. package/behaviors/lolo/ui/core/atoms/ui-progress-bar.lolo +91 -1
  75. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +106 -0
  76. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +122 -0
  77. package/behaviors/lolo/ui/core/atoms/ui-section-header.lolo +90 -0
  78. package/behaviors/lolo/ui/core/atoms/ui-select.lolo +95 -0
  79. package/behaviors/lolo/ui/core/atoms/ui-spacer.lolo +90 -0
  80. package/behaviors/lolo/ui/core/atoms/ui-sparkline.lolo +90 -0
  81. package/behaviors/lolo/ui/core/atoms/ui-spinner.lolo +90 -0
  82. package/behaviors/lolo/ui/core/atoms/ui-stack.lolo +90 -10
  83. package/behaviors/lolo/ui/core/atoms/ui-status-dot.lolo +90 -0
  84. package/behaviors/lolo/ui/core/atoms/ui-svg-branch.lolo +90 -0
  85. package/behaviors/lolo/ui/core/atoms/ui-svg-connection.lolo +90 -0
  86. package/behaviors/lolo/ui/core/atoms/ui-svg-flow.lolo +90 -0
  87. package/behaviors/lolo/ui/core/atoms/ui-svg-grid.lolo +90 -0
  88. package/behaviors/lolo/ui/core/atoms/ui-svg-lobe.lolo +90 -0
  89. package/behaviors/lolo/ui/core/atoms/ui-svg-mesh.lolo +90 -0
  90. package/behaviors/lolo/ui/core/atoms/ui-svg-morph.lolo +90 -0
  91. package/behaviors/lolo/ui/core/atoms/ui-svg-node.lolo +90 -0
  92. package/behaviors/lolo/ui/core/atoms/ui-svg-pulse.lolo +90 -0
  93. package/behaviors/lolo/ui/core/atoms/ui-svg-ring.lolo +90 -0
  94. package/behaviors/lolo/ui/core/atoms/ui-svg-shield.lolo +90 -0
  95. package/behaviors/lolo/ui/core/atoms/ui-svg-stack.lolo +90 -0
  96. package/behaviors/lolo/ui/core/atoms/ui-switch.lolo +106 -0
  97. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +122 -0
  98. package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +100 -0
  99. package/behaviors/lolo/ui/core/atoms/ui-theme-toggle.lolo +90 -0
  100. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +106 -0
  101. package/behaviors/lolo/ui/core/atoms/ui-trend-indicator.lolo +91 -1
  102. package/behaviors/lolo/ui/core/atoms/ui-typewriter-text.lolo +90 -0
  103. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +96 -11
  104. package/behaviors/lolo/ui/core/atoms/ui-vstack.lolo +90 -10
  105. package/behaviors/lolo/ui/core/molecules/ui-accordion.lolo +90 -0
  106. package/behaviors/lolo/ui/core/molecules/ui-activation-block.lolo +90 -0
  107. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +90 -0
  108. package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +90 -0
  109. package/behaviors/lolo/ui/core/molecules/ui-bloom-quiz-block.lolo +90 -0
  110. package/behaviors/lolo/ui/core/molecules/ui-branching-logic-builder.lolo +90 -0
  111. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +90 -0
  112. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +122 -0
  113. package/behaviors/lolo/ui/core/molecules/ui-carousel.lolo +90 -0
  114. package/behaviors/lolo/ui/core/molecules/ui-change-list.lolo +90 -0
  115. package/behaviors/lolo/ui/core/molecules/ui-chart-legend.lolo +90 -0
  116. package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +93 -3
  117. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +202 -0
  118. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +106 -0
  119. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +123 -1
  120. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +90 -0
  121. package/behaviors/lolo/ui/core/molecules/ui-connection-block.lolo +90 -0
  122. package/behaviors/lolo/ui/core/molecules/ui-container.lolo +92 -2
  123. package/behaviors/lolo/ui/core/molecules/ui-content-renderer.lolo +97 -7
  124. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +125 -2
  125. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +126 -3
  126. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +106 -0
  127. package/behaviors/lolo/ui/core/molecules/ui-date-range-selector.lolo +90 -0
  128. package/behaviors/lolo/ui/core/molecules/ui-doc-breadcrumb.lolo +90 -0
  129. package/behaviors/lolo/ui/core/molecules/ui-doc-pagination.lolo +90 -0
  130. package/behaviors/lolo/ui/core/molecules/ui-doc-search.lolo +90 -0
  131. package/behaviors/lolo/ui/core/molecules/ui-doc-sidebar.lolo +90 -0
  132. package/behaviors/lolo/ui/core/molecules/ui-doc-toc.lolo +90 -0
  133. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +138 -0
  134. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +122 -0
  135. package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +90 -0
  136. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +90 -0
  137. package/behaviors/lolo/ui/core/molecules/ui-edge-decoration.lolo +10 -0
  138. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +90 -0
  139. package/behaviors/lolo/ui/core/molecules/ui-empty-state.lolo +91 -1
  140. package/behaviors/lolo/ui/core/molecules/ui-error-boundary.lolo +10 -0
  141. package/behaviors/lolo/ui/core/molecules/ui-error-state.lolo +90 -0
  142. package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +90 -0
  143. package/behaviors/lolo/ui/core/molecules/ui-feature-grid.lolo +90 -0
  144. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +90 -0
  145. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +122 -0
  146. package/behaviors/lolo/ui/core/molecules/ui-flex.lolo +90 -0
  147. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +90 -0
  148. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +91 -1
  149. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +90 -0
  150. package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +90 -0
  151. package/behaviors/lolo/ui/core/molecules/ui-form-field.lolo +90 -0
  152. package/behaviors/lolo/ui/core/molecules/ui-form-layout.lolo +96 -6
  153. package/behaviors/lolo/ui/core/molecules/ui-form-section-header.lolo +90 -0
  154. package/behaviors/lolo/ui/core/molecules/ui-fx-overlay.lolo +90 -0
  155. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +122 -0
  156. package/behaviors/lolo/ui/core/molecules/ui-geometric-pattern.lolo +10 -0
  157. package/behaviors/lolo/ui/core/molecules/ui-gradient-divider.lolo +90 -0
  158. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +95 -0
  159. package/behaviors/lolo/ui/core/molecules/ui-graph-view.lolo +90 -0
  160. package/behaviors/lolo/ui/core/molecules/ui-grid.lolo +95 -5
  161. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +90 -0
  162. package/behaviors/lolo/ui/core/molecules/ui-icon-button.lolo +90 -0
  163. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +90 -0
  164. package/behaviors/lolo/ui/core/molecules/ui-import-progress.lolo +90 -0
  165. package/behaviors/lolo/ui/core/molecules/ui-import-source-picker.lolo +90 -0
  166. package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +91 -1
  167. package/behaviors/lolo/ui/core/molecules/ui-jazari-state-machine.lolo +90 -0
  168. package/behaviors/lolo/ui/core/molecules/ui-lightbox.lolo +90 -0
  169. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +90 -0
  170. package/behaviors/lolo/ui/core/molecules/ui-line-chart.lolo +90 -0
  171. package/behaviors/lolo/ui/core/molecules/ui-loading-state.lolo +90 -0
  172. package/behaviors/lolo/ui/core/molecules/ui-map-view.lolo +90 -0
  173. package/behaviors/lolo/ui/core/molecules/ui-markdown-content.lolo +90 -0
  174. package/behaviors/lolo/ui/core/molecules/ui-matrix-question.lolo +90 -0
  175. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +90 -0
  176. package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +90 -0
  177. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +90 -0
  178. package/behaviors/lolo/ui/core/molecules/ui-navigation.lolo +90 -0
  179. package/behaviors/lolo/ui/core/molecules/ui-notification.lolo +91 -1
  180. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +122 -0
  181. package/behaviors/lolo/ui/core/molecules/ui-option-constraint-group.lolo +90 -0
  182. package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +90 -0
  183. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +90 -0
  184. package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +90 -0
  185. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +106 -0
  186. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +106 -0
  187. package/behaviors/lolo/ui/core/molecules/ui-positioned-canvas.lolo +122 -0
  188. package/behaviors/lolo/ui/core/molecules/ui-progress-dots.lolo +90 -0
  189. package/behaviors/lolo/ui/core/molecules/ui-pull-to-refresh.lolo +90 -0
  190. package/behaviors/lolo/ui/core/molecules/ui-qr-scanner.lolo +90 -0
  191. package/behaviors/lolo/ui/core/molecules/ui-quiz-block.lolo +90 -0
  192. package/behaviors/lolo/ui/core/molecules/ui-reflection-block.lolo +90 -0
  193. package/behaviors/lolo/ui/core/molecules/ui-relation-select.lolo +106 -0
  194. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +90 -0
  195. package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +122 -0
  196. package/behaviors/lolo/ui/core/molecules/ui-rich-text-editor.lolo +106 -0
  197. package/behaviors/lolo/ui/core/molecules/ui-scaled-diagram.lolo +90 -0
  198. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +106 -0
  199. package/behaviors/lolo/ui/core/molecules/ui-section.lolo +90 -0
  200. package/behaviors/lolo/ui/core/molecules/ui-side-panel.lolo +90 -0
  201. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +106 -0
  202. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +90 -0
  203. package/behaviors/lolo/ui/core/molecules/ui-simple-grid.lolo +90 -0
  204. package/behaviors/lolo/ui/core/molecules/ui-skeleton.lolo +93 -3
  205. package/behaviors/lolo/ui/core/molecules/ui-social-proof.lolo +90 -0
  206. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +122 -0
  207. package/behaviors/lolo/ui/core/molecules/ui-split.lolo +90 -0
  208. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +122 -0
  209. package/behaviors/lolo/ui/core/molecules/ui-stat-display.lolo +90 -0
  210. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +138 -0
  211. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +124 -1
  212. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +90 -0
  213. package/behaviors/lolo/ui/core/molecules/ui-tag-input.lolo +90 -0
  214. package/behaviors/lolo/ui/core/molecules/ui-tooltip.lolo +90 -0
  215. package/behaviors/lolo/ui/core/molecules/ui-top-nav-item.lolo +90 -0
  216. package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +90 -0
  217. package/behaviors/lolo/ui/core/molecules/ui-version-diff.lolo +90 -0
  218. package/behaviors/lolo/ui/core/molecules/ui-violation-alert.lolo +91 -1
  219. package/behaviors/lolo/ui/core/molecules/ui-vote-stack.lolo +91 -1
  220. package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +90 -0
  221. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +138 -0
  222. package/behaviors/lolo/ui/core/molecules/ui-wizard-progress.lolo +90 -0
  223. package/behaviors/lolo/ui/core/organisms/ui-chat-bar.lolo +91 -1
  224. package/behaviors/lolo/ui/core/organisms/ui-code-runner-panel.lolo +90 -0
  225. package/behaviors/lolo/ui/core/organisms/ui-dashboard-grid.lolo +91 -1
  226. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +336 -4
  227. package/behaviors/lolo/ui/core/organisms/ui-dock-layout.lolo +90 -0
  228. package/behaviors/lolo/ui/core/organisms/ui-drawer-slot.lolo +10 -0
  229. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +127 -4
  230. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +127 -4
  231. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +127 -3
  232. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +139 -1
  233. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +139 -1
  234. package/behaviors/lolo/ui/core/organisms/ui-master-detail-layout.lolo +90 -0
  235. package/behaviors/lolo/ui/core/organisms/ui-master-detail.lolo +123 -1
  236. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +123 -1
  237. package/behaviors/lolo/ui/core/organisms/ui-modal-slot.lolo +10 -0
  238. package/behaviors/lolo/ui/core/organisms/ui-runtime-debugger.lolo +90 -0
  239. package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +90 -0
  240. package/behaviors/lolo/ui/core/organisms/ui-split-pane.lolo +106 -0
  241. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +124 -2
  242. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +92 -2
  243. package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +91 -1
  244. package/behaviors/lolo/ui/core/organisms/ui-tabbed-container.lolo +90 -0
  245. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +122 -0
  246. package/behaviors/lolo/ui/core/organisms/ui-toast-slot.lolo +91 -1
  247. package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +80 -0
  248. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +91 -1
  249. package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +90 -0
  250. package/behaviors/lolo/ui/game/atoms/ui-action-palette.lolo +90 -0
  251. package/behaviors/lolo/ui/game/atoms/ui-action-tile.lolo +91 -1
  252. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +95 -0
  253. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +91 -1
  254. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +90 -0
  255. package/behaviors/lolo/ui/game/atoms/ui-control-button.lolo +90 -0
  256. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +90 -0
  257. package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +90 -0
  258. package/behaviors/lolo/ui/game/atoms/ui-draw-mesh.lolo +1 -1
  259. package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +2 -2
  260. package/behaviors/lolo/ui/game/atoms/ui-draw-sprite.lolo +1 -1
  261. package/behaviors/lolo/ui/game/atoms/ui-draw-text.lolo +3 -3
  262. package/behaviors/lolo/ui/game/atoms/ui-game-audio-toggle.lolo +90 -0
  263. package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +90 -0
  264. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +90 -0
  265. package/behaviors/lolo/ui/game/atoms/ui-health-bar.lolo +90 -0
  266. package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +90 -0
  267. package/behaviors/lolo/ui/game/atoms/ui-sequence-bar.lolo +90 -0
  268. package/behaviors/lolo/ui/game/atoms/ui-stat-badge.lolo +90 -0
  269. package/behaviors/lolo/ui/game/atoms/ui-state-graph.lolo +90 -0
  270. package/behaviors/lolo/ui/game/atoms/ui-state-json-view.lolo +90 -0
  271. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +123 -1
  272. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +90 -0
  273. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +106 -0
  274. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +106 -0
  275. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +106 -0
  276. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +112 -0
  277. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +106 -0
  278. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +106 -0
  279. package/behaviors/lolo-behavior-contracts.json +1 -1
  280. package/behaviors/registry/agent/atoms/std-agent-context.orb +299 -826
  281. package/behaviors/registry/agent/atoms/std-agent-memory.orb +858 -643
  282. package/behaviors/registry/agent/atoms/std-agent-session.orb +833 -770
  283. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +505 -707
  284. package/behaviors/registry/agent/atoms/std-agent-trace.orb +680 -195
  285. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +594 -0
  286. package/behaviors/registry/factory-signatures.json +1 -1
  287. package/behaviors/registry/infra/atoms/std-cache-aside.orb +172 -299
  288. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +48 -14
  289. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +236 -0
  290. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +236 -0
  291. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +215 -0
  292. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +215 -0
  293. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +26 -18
  294. package/behaviors/registry/ui/core/atoms/std-board.orb +10 -34
  295. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +32 -13
  296. package/behaviors/registry/ui/core/atoms/std-browse.orb +108 -12
  297. package/behaviors/registry/ui/core/atoms/std-calendar.orb +8 -19
  298. package/behaviors/registry/ui/core/atoms/std-detail-layout.orb +3 -1
  299. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +48 -11
  300. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +28 -4
  301. package/behaviors/registry/ui/core/atoms/std-event-log.orb +42 -14
  302. package/behaviors/registry/ui/core/atoms/std-file-store.orb +56 -58
  303. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +44 -11
  304. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +12 -16
  305. package/behaviors/registry/ui/core/atoms/std-list.orb +48 -11
  306. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +91 -14
  307. package/behaviors/registry/ui/core/atoms/std-prose.orb +14 -1
  308. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +79 -8
  309. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +622 -66
  310. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +108 -28
  311. package/behaviors/registry/ui/core/atoms/std-related.orb +82 -21
  312. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +28 -18
  313. package/behaviors/registry/ui/core/atoms/std-scoped-list.orb +993 -0
  314. package/behaviors/registry/ui/core/atoms/std-selection.orb +62 -12
  315. package/behaviors/registry/ui/core/atoms/std-signature-capture.orb +2 -16
  316. package/behaviors/registry/ui/core/atoms/std-slide-deck.orb +2 -0
  317. package/behaviors/registry/ui/core/atoms/std-step-flow.orb +8 -8
  318. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +48 -64
  319. package/behaviors/registry/ui/core/atoms/std-thread.orb +863 -141
  320. package/behaviors/registry/ui/core/atoms/std-tree.orb +40 -18
  321. package/behaviors/registry/ui/core/atoms/std-version-history.orb +76 -68
  322. package/behaviors/registry/ui/core/atoms/std-vote.orb +4 -54
  323. package/behaviors/registry/ui/core/atoms/std-wizard.orb +70 -10
  324. package/behaviors/registry/ui/core/atoms/ui-animated-graphic.orb +236 -0
  325. package/behaviors/registry/ui/core/atoms/ui-animated-reveal.orb +236 -0
  326. package/behaviors/registry/ui/core/atoms/ui-aside.orb +236 -0
  327. package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +29 -0
  328. package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +29 -0
  329. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +236 -1
  330. package/behaviors/registry/ui/core/atoms/ui-badge.orb +236 -0
  331. package/behaviors/registry/ui/core/atoms/ui-box.orb +231 -10
  332. package/behaviors/registry/ui/core/atoms/ui-button.orb +236 -0
  333. package/behaviors/registry/ui/core/atoms/ui-card.orb +236 -1
  334. package/behaviors/registry/ui/core/atoms/ui-center.orb +236 -0
  335. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +260 -0
  336. package/behaviors/registry/ui/core/atoms/ui-confetti-effect.orb +236 -0
  337. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +236 -0
  338. package/behaviors/registry/ui/core/atoms/ui-dialog.orb +236 -0
  339. package/behaviors/registry/ui/core/atoms/ui-divider.orb +236 -0
  340. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +236 -0
  341. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +236 -0
  342. package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +236 -0
  343. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +225 -3
  344. package/behaviors/registry/ui/core/atoms/ui-icon.orb +236 -0
  345. package/behaviors/registry/ui/core/atoms/ui-image.orb +236 -0
  346. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +236 -0
  347. package/behaviors/registry/ui/core/atoms/ui-input.orb +21 -1
  348. package/behaviors/registry/ui/core/atoms/ui-label.orb +237 -1
  349. package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +236 -0
  350. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +236 -0
  351. package/behaviors/registry/ui/core/atoms/ui-pattern-tile.orb +236 -0
  352. package/behaviors/registry/ui/core/atoms/ui-presence.orb +236 -0
  353. package/behaviors/registry/ui/core/atoms/ui-progress-bar.orb +236 -1
  354. package/behaviors/registry/ui/core/atoms/ui-radio.orb +252 -0
  355. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +268 -0
  356. package/behaviors/registry/ui/core/atoms/ui-section-header.orb +236 -0
  357. package/behaviors/registry/ui/core/atoms/ui-select.orb +243 -0
  358. package/behaviors/registry/ui/core/atoms/ui-spacer.orb +236 -0
  359. package/behaviors/registry/ui/core/atoms/ui-sparkline.orb +236 -0
  360. package/behaviors/registry/ui/core/atoms/ui-spinner.orb +236 -0
  361. package/behaviors/registry/ui/core/atoms/ui-stack.orb +225 -3
  362. package/behaviors/registry/ui/core/atoms/ui-status-dot.orb +236 -0
  363. package/behaviors/registry/ui/core/atoms/ui-svg-branch.orb +236 -0
  364. package/behaviors/registry/ui/core/atoms/ui-svg-connection.orb +236 -0
  365. package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +236 -0
  366. package/behaviors/registry/ui/core/atoms/ui-svg-grid.orb +236 -0
  367. package/behaviors/registry/ui/core/atoms/ui-svg-lobe.orb +236 -0
  368. package/behaviors/registry/ui/core/atoms/ui-svg-mesh.orb +236 -0
  369. package/behaviors/registry/ui/core/atoms/ui-svg-morph.orb +236 -0
  370. package/behaviors/registry/ui/core/atoms/ui-svg-node.orb +236 -0
  371. package/behaviors/registry/ui/core/atoms/ui-svg-pulse.orb +236 -0
  372. package/behaviors/registry/ui/core/atoms/ui-svg-ring.orb +236 -0
  373. package/behaviors/registry/ui/core/atoms/ui-svg-shield.orb +236 -0
  374. package/behaviors/registry/ui/core/atoms/ui-svg-stack.orb +236 -0
  375. package/behaviors/registry/ui/core/atoms/ui-switch.orb +252 -0
  376. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +268 -0
  377. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +250 -0
  378. package/behaviors/registry/ui/core/atoms/ui-theme-toggle.orb +236 -0
  379. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +252 -0
  380. package/behaviors/registry/ui/core/atoms/ui-trend-indicator.orb +236 -1
  381. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +236 -0
  382. package/behaviors/registry/ui/core/atoms/ui-typography.orb +231 -8
  383. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +225 -3
  384. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +236 -0
  385. package/behaviors/registry/ui/core/molecules/ui-activation-block.orb +236 -0
  386. package/behaviors/registry/ui/core/molecules/ui-alert.orb +236 -0
  387. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +236 -0
  388. package/behaviors/registry/ui/core/molecules/ui-bloom-quiz-block.orb +236 -0
  389. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +236 -0
  390. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +236 -0
  391. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +268 -0
  392. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +236 -0
  393. package/behaviors/registry/ui/core/molecules/ui-change-list.orb +236 -0
  394. package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +236 -0
  395. package/behaviors/registry/ui/core/molecules/ui-chart.orb +236 -3
  396. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +348 -0
  397. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +252 -0
  398. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +268 -1
  399. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +236 -0
  400. package/behaviors/registry/ui/core/molecules/ui-connection-block.orb +236 -0
  401. package/behaviors/registry/ui/core/molecules/ui-container.orb +236 -2
  402. package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +241 -7
  403. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +279 -0
  404. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +279 -1
  405. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +252 -0
  406. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +236 -0
  407. package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +236 -0
  408. package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +236 -0
  409. package/behaviors/registry/ui/core/molecules/ui-doc-search.orb +236 -0
  410. package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +236 -0
  411. package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +236 -0
  412. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +284 -0
  413. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +268 -0
  414. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +236 -0
  415. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +236 -0
  416. package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +21 -0
  417. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +236 -0
  418. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +236 -1
  419. package/behaviors/registry/ui/core/molecules/ui-error-boundary.orb +21 -0
  420. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +236 -0
  421. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +236 -0
  422. package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +236 -0
  423. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +236 -0
  424. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +268 -0
  425. package/behaviors/registry/ui/core/molecules/ui-flex.orb +236 -0
  426. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +236 -0
  427. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +236 -1
  428. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +236 -0
  429. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +236 -0
  430. package/behaviors/registry/ui/core/molecules/ui-form-field.orb +236 -0
  431. package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +241 -6
  432. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +236 -0
  433. package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +236 -0
  434. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +268 -0
  435. package/behaviors/registry/ui/core/molecules/ui-geometric-pattern.orb +21 -0
  436. package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +236 -0
  437. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +243 -0
  438. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +236 -0
  439. package/behaviors/registry/ui/core/molecules/ui-grid.orb +236 -5
  440. package/behaviors/registry/ui/core/molecules/ui-header.orb +236 -0
  441. package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +236 -0
  442. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +236 -0
  443. package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +236 -0
  444. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +236 -0
  445. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +236 -1
  446. package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +236 -0
  447. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +236 -0
  448. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +236 -0
  449. package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +236 -0
  450. package/behaviors/registry/ui/core/molecules/ui-loading-state.orb +236 -0
  451. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +236 -0
  452. package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +236 -0
  453. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +236 -0
  454. package/behaviors/registry/ui/core/molecules/ui-menu.orb +236 -0
  455. package/behaviors/registry/ui/core/molecules/ui-meter.orb +236 -0
  456. package/behaviors/registry/ui/core/molecules/ui-modal.orb +236 -0
  457. package/behaviors/registry/ui/core/molecules/ui-navigation.orb +236 -0
  458. package/behaviors/registry/ui/core/molecules/ui-notification.orb +237 -1
  459. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +268 -0
  460. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +236 -0
  461. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +236 -0
  462. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +236 -0
  463. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +236 -0
  464. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +252 -0
  465. package/behaviors/registry/ui/core/molecules/ui-popover.orb +252 -0
  466. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +268 -0
  467. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +236 -0
  468. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +236 -0
  469. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +236 -0
  470. package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +236 -0
  471. package/behaviors/registry/ui/core/molecules/ui-reflection-block.orb +236 -0
  472. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +252 -0
  473. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +236 -0
  474. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +268 -0
  475. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +252 -0
  476. package/behaviors/registry/ui/core/molecules/ui-scaled-diagram.orb +236 -0
  477. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +252 -0
  478. package/behaviors/registry/ui/core/molecules/ui-section.orb +236 -0
  479. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +236 -0
  480. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +252 -0
  481. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +236 -0
  482. package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +236 -0
  483. package/behaviors/registry/ui/core/molecules/ui-skeleton.orb +242 -2
  484. package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +236 -0
  485. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +268 -0
  486. package/behaviors/registry/ui/core/molecules/ui-split.orb +236 -0
  487. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +268 -0
  488. package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +236 -0
  489. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +284 -0
  490. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +277 -1
  491. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +236 -0
  492. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +236 -0
  493. package/behaviors/registry/ui/core/molecules/ui-tooltip.orb +236 -0
  494. package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +236 -0
  495. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +236 -0
  496. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +236 -0
  497. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +236 -1
  498. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +236 -1
  499. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +236 -0
  500. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +284 -0
  501. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +236 -0
  502. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +236 -1
  503. package/behaviors/registry/ui/core/organisms/ui-code-runner-panel.orb +236 -0
  504. package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +236 -1
  505. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1167 -22
  506. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +236 -0
  507. package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +21 -0
  508. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +280 -2
  509. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +279 -3
  510. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +289 -1
  511. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +284 -1
  512. package/behaviors/registry/ui/core/organisms/ui-form.orb +284 -1
  513. package/behaviors/registry/ui/core/organisms/ui-master-detail-layout.orb +236 -0
  514. package/behaviors/registry/ui/core/organisms/ui-master-detail.orb +268 -1
  515. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +268 -1
  516. package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +21 -0
  517. package/behaviors/registry/ui/core/organisms/ui-runtime-debugger.orb +236 -0
  518. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +236 -0
  519. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +252 -0
  520. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +268 -2
  521. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +236 -2
  522. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +236 -1
  523. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +236 -0
  524. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +268 -0
  525. package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +236 -1
  526. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +215 -0
  527. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +236 -1
  528. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +236 -0
  529. package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +236 -0
  530. package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +236 -1
  531. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +243 -0
  532. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +236 -1
  533. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +236 -0
  534. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +236 -0
  535. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +236 -0
  536. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +236 -0
  537. package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +0 -1
  538. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +0 -2
  539. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +0 -1
  540. package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +0 -3
  541. package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +236 -0
  542. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +236 -0
  543. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +236 -0
  544. package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +236 -0
  545. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +236 -0
  546. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +236 -0
  547. package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +236 -0
  548. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +236 -0
  549. package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +236 -0
  550. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +268 -1
  551. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +236 -0
  552. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +252 -0
  553. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +252 -0
  554. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +252 -0
  555. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +260 -0
  556. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +252 -0
  557. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +252 -0
  558. package/dist/behaviors/exports-reader.js +14291 -7304
  559. package/dist/behaviors/functions/index.d.ts +4188 -339
  560. package/dist/behaviors/functions/index.js +14261 -7266
  561. package/dist/behaviors/index.d.ts +1 -1
  562. package/dist/behaviors/index.js +14292 -7305
  563. package/dist/behaviors/query.js +14291 -7304
  564. package/dist/behaviors-embeddings.hash.json +3 -3
  565. package/dist/behaviors-embeddings.json +23 -19
  566. package/dist/behaviors-registry.json +56939 -2084
  567. package/dist/index.d.ts +1 -1
  568. package/dist/index.js +14292 -7305
  569. package/dist/knob-embeddings.hash.json +3 -3
  570. package/dist/knob-embeddings.json +14821 -245
  571. package/dist/registry/factory-signatures.json +1 -1
  572. package/package.json +3 -3
  573. package/behaviors/lolo/agent/organisms/std-agent-rabit.lolo +0 -301
  574. package/behaviors/registry/agent/organisms/std-agent-rabit.orb +0 -2181
@@ -1,184 +1,58 @@
1
1
  {
2
- "description": "Wraps llm/token-count + llm/compact — context window management.",
2
+ "description": "std-agent-context — keeps what an in-app assistant sends the model bounded. COMPACT { messages } passes a conversation of at most `keepMessages` turns straight through as COMPACTED; a longer one has its older turns summarized with `call-service llm summarize` into one leading note and keeps the last `keepMessages` turns verbatim. If summarizing fails, the older turns are dropped and the recent ones still go through, with a visible warning — a summarizer outage never blocks the assistant. Headless. Nothing is persisted: the conversation itself lives in std-agent-session.",
3
3
  "ledger": {
4
4
  "entries": {
5
- "ent_01KXG04EJ6PXMMHTTEJ27RNN6C": {
6
- "bakedName": "ContextWindow",
7
- "curName": "ContextWindow",
8
- "id": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C",
5
+ "ent_01M3TYMQJMGY8DD73YX22WEW07": {
6
+ "bakedName": "AgentContextWindow",
7
+ "curName": "AgentContextWindow",
8
+ "id": "ent_01M3TYMQJMGY8DD73YX22WEW07",
9
9
  "kind": "entity",
10
10
  "owner": "workspace",
11
11
  "renames": []
12
12
  },
13
- "evt_01KXG04EJ65AN9A7NMFDBY9K2Q": {
14
- "bakedName": "RESET",
15
- "curName": "RESET",
16
- "id": "evt_01KXG04EJ65AN9A7NMFDBY9K2Q",
17
- "kind": "event",
18
- "owner": "workspace",
19
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
20
- "renames": []
21
- },
22
- "evt_01KXG04EJ66A1JYHNEYG9198F1": {
13
+ "evt_01M3TYMQJM2ZA1HG90KARCHVXQ": {
23
14
  "bakedName": "COMPACTED",
24
15
  "curName": "COMPACTED",
25
- "id": "evt_01KXG04EJ66A1JYHNEYG9198F1",
26
- "kind": "event",
27
- "owner": "workspace",
28
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
29
- "renames": []
30
- },
31
- "evt_01KXG04EJ67W02HJVM8TA5N087": {
32
- "bakedName": "RESET",
33
- "curName": "RESET",
34
- "id": "evt_01KXG04EJ67W02HJVM8TA5N087",
35
- "kind": "event",
36
- "owner": "workspace",
37
- "parent": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
38
- "renames": []
39
- },
40
- "evt_01KXG04EJ69BAQATPKRX0H3FCS": {
41
- "bakedName": "COUNT",
42
- "curName": "COUNT",
43
- "id": "evt_01KXG04EJ69BAQATPKRX0H3FCS",
44
- "kind": "event",
45
- "owner": "workspace",
46
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
47
- "renames": []
48
- },
49
- "evt_01KXG04EJ6A298CG2EER1HNX1N": {
50
- "bakedName": "COUNTED",
51
- "curName": "COUNTED",
52
- "id": "evt_01KXG04EJ6A298CG2EER1HNX1N",
53
- "kind": "event",
54
- "owner": "workspace",
55
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
56
- "renames": []
57
- },
58
- "evt_01KXG04EJ6BGYTR3XX620JPG4E": {
59
- "bakedName": "RESET",
60
- "curName": "RESET",
61
- "id": "evt_01KXG04EJ6BGYTR3XX620JPG4E",
62
- "kind": "event",
63
- "owner": "workspace",
64
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
65
- "renames": []
66
- },
67
- "evt_01KXG04EJ6BV158VJ09W0Y21T3": {
68
- "bakedName": "INIT",
69
- "curName": "INIT",
70
- "id": "evt_01KXG04EJ6BV158VJ09W0Y21T3",
71
- "kind": "event",
72
- "owner": "workspace",
73
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
74
- "renames": []
75
- },
76
- "evt_01KXG04EJ6D8CWB6ANC75CXZ82": {
77
- "bakedName": "INIT",
78
- "curName": "INIT",
79
- "id": "evt_01KXG04EJ6D8CWB6ANC75CXZ82",
80
- "kind": "event",
81
- "owner": "workspace",
82
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
83
- "renames": []
84
- },
85
- "evt_01KXG04EJ6E9TP7C7SF7M8K3W0": {
86
- "bakedName": "AFTER_COUNTED",
87
- "curName": "AFTER_COUNTED",
88
- "id": "evt_01KXG04EJ6E9TP7C7SF7M8K3W0",
89
- "kind": "event",
90
- "owner": "workspace",
91
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
92
- "renames": []
93
- },
94
- "evt_01KXG04EJ6FHB7K9E2WTGN17F9": {
95
- "bakedName": "COUNTED",
96
- "curName": "COUNTED",
97
- "id": "evt_01KXG04EJ6FHB7K9E2WTGN17F9",
98
- "kind": "event",
99
- "owner": "workspace",
100
- "parent": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
101
- "renames": []
102
- },
103
- "evt_01KXG04EJ6J65JX3XFMD1C1SK4": {
104
- "bakedName": "COMPACT_COUNT_FAILED",
105
- "curName": "COMPACT_COUNT_FAILED",
106
- "id": "evt_01KXG04EJ6J65JX3XFMD1C1SK4",
16
+ "id": "evt_01M3TYMQJM2ZA1HG90KARCHVXQ",
107
17
  "kind": "event",
108
18
  "owner": "workspace",
109
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
19
+ "parent": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
110
20
  "renames": []
111
21
  },
112
- "evt_01KXG04EJ6KN4HPKZM7KJYWWM4": {
22
+ "evt_01M3TYMQJMHE4K52TH9CXAWQDV": {
113
23
  "bakedName": "INIT",
114
24
  "curName": "INIT",
115
- "id": "evt_01KXG04EJ6KN4HPKZM7KJYWWM4",
116
- "kind": "event",
117
- "owner": "workspace",
118
- "parent": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
119
- "renames": []
120
- },
121
- "evt_01KXG04EJ6RPMNB1NW9NSTTB67": {
122
- "bakedName": "COUNT_FAILED",
123
- "curName": "COUNT_FAILED",
124
- "id": "evt_01KXG04EJ6RPMNB1NW9NSTTB67",
125
- "kind": "event",
126
- "owner": "workspace",
127
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
128
- "renames": []
129
- },
130
- "evt_01KXG04EJ6WAKQAWFGQBEZE94C": {
131
- "bakedName": "COMPACT_FAILED",
132
- "curName": "COMPACT_FAILED",
133
- "id": "evt_01KXG04EJ6WAKQAWFGQBEZE94C",
25
+ "id": "evt_01M3TYMQJMHE4K52TH9CXAWQDV",
134
26
  "kind": "event",
135
27
  "owner": "workspace",
136
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
28
+ "parent": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
137
29
  "renames": []
138
30
  },
139
- "evt_01KXG04EJ6WNX1ZCSR2FFTFKRK": {
140
- "bakedName": "COMPACTED",
141
- "curName": "COMPACTED",
142
- "id": "evt_01KXG04EJ6WNX1ZCSR2FFTFKRK",
31
+ "evt_01M3TYMQJMRZ7YJPCJWBHGQX9B": {
32
+ "bakedName": "ContextSummarized",
33
+ "curName": "ContextSummarized",
34
+ "id": "evt_01M3TYMQJMRZ7YJPCJWBHGQX9B",
143
35
  "kind": "event",
144
36
  "owner": "workspace",
145
- "parent": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
37
+ "parent": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
146
38
  "renames": []
147
39
  },
148
- "evt_01KXG04EJ6X1DEPTM8YD7RKHKQ": {
40
+ "evt_01M3TYMQJMSZDFZ983H5ZFRA80": {
149
41
  "bakedName": "COMPACT",
150
42
  "curName": "COMPACT",
151
- "id": "evt_01KXG04EJ6X1DEPTM8YD7RKHKQ",
152
- "kind": "event",
153
- "owner": "workspace",
154
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
155
- "renames": []
156
- },
157
- "evt_01KXG04EJ6YDMK4GDYZAP5EQVN": {
158
- "bakedName": "TOKEN_COUNTED",
159
- "curName": "TOKEN_COUNTED",
160
- "id": "evt_01KXG04EJ6YDMK4GDYZAP5EQVN",
43
+ "id": "evt_01M3TYMQJMSZDFZ983H5ZFRA80",
161
44
  "kind": "event",
162
45
  "owner": "workspace",
163
- "parent": "trt_01KXG04EJ65759SYAWKN34XYXK",
46
+ "parent": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
164
47
  "renames": []
165
48
  },
166
- "evt_01KXG04EJ6Z7G17S74VV3YFDEJ": {
167
- "bakedName": "BEFORE_COUNTED",
168
- "curName": "BEFORE_COUNTED",
169
- "id": "evt_01KXG04EJ6Z7G17S74VV3YFDEJ",
49
+ "evt_01M3TYMQJMZQCGCNED97HQS2TE": {
50
+ "bakedName": "ContextSummarizeFailed",
51
+ "curName": "ContextSummarizeFailed",
52
+ "id": "evt_01M3TYMQJMZQCGCNED97HQS2TE",
170
53
  "kind": "event",
171
54
  "owner": "workspace",
172
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
173
- "renames": []
174
- },
175
- "evt_01KXG04EJ6ZMS4KGCC2NSZF14D": {
176
- "bakedName": "COMPACTED_OK",
177
- "curName": "COMPACTED_OK",
178
- "id": "evt_01KXG04EJ6ZMS4KGCC2NSZF14D",
179
- "kind": "event",
180
- "owner": "workspace",
181
- "parent": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
55
+ "parent": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
182
56
  "renames": []
183
57
  },
184
58
  "orb_01KXG04EJ6F1D9RV8QYMR1QHR3": {
@@ -197,26 +71,10 @@
197
71
  "owner": "workspace",
198
72
  "renames": []
199
73
  },
200
- "trt_01KXG04EJ65759SYAWKN34XYXK": {
201
- "bakedName": "ContextCounter",
202
- "curName": "ContextCounter",
203
- "id": "trt_01KXG04EJ65759SYAWKN34XYXK",
204
- "kind": "trait",
205
- "owner": "workspace",
206
- "renames": []
207
- },
208
- "trt_01KXG04EJ69AGWNN2FDK7XQEG9": {
209
- "bakedName": "ContextListener",
210
- "curName": "ContextListener",
211
- "id": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
212
- "kind": "trait",
213
- "owner": "workspace",
214
- "renames": []
215
- },
216
- "trt_01KXG04EJ6J58Z1FR4ESGW6ERR": {
217
- "bakedName": "ContextCompactor",
218
- "curName": "ContextCompactor",
219
- "id": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
74
+ "trt_01M3TYMQJMC4BF9VHSEYHSTK7T": {
75
+ "bakedName": "AgentContextCompactor",
76
+ "curName": "AgentContextCompactor",
77
+ "id": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
220
78
  "kind": "trait",
221
79
  "owner": "workspace",
222
80
  "renames": []
@@ -230,33 +88,45 @@
230
88
  "entity": {
231
89
  "fields": [
232
90
  {
233
- "default": 0.0,
234
- "name": "tokenCount",
235
- "type": "number"
91
+ "name": "id",
92
+ "required": true,
93
+ "type": "string"
236
94
  },
237
95
  {
238
- "default": 0.0,
239
- "name": "beforeTokens",
240
- "type": "number"
96
+ "default": [],
97
+ "description": "The conversation being compacted.",
98
+ "items": {
99
+ "properties": {
100
+ "content": {
101
+ "name": "content",
102
+ "required": true,
103
+ "type": "string"
104
+ },
105
+ "role": {
106
+ "name": "role",
107
+ "required": false,
108
+ "type": "string",
109
+ "values": [
110
+ "user",
111
+ "assistant"
112
+ ]
113
+ }
114
+ },
115
+ "type": "object"
116
+ },
117
+ "name": "pendingMessages",
118
+ "type": "array"
241
119
  },
242
120
  {
243
121
  "default": 0.0,
244
- "name": "afterTokens",
122
+ "description": "Turns in the last conversation compacted.",
123
+ "name": "lastSize",
124
+ "synonyms": "size, length",
245
125
  "type": "number"
246
- },
247
- {
248
- "default": "idle",
249
- "name": "status",
250
- "type": "string",
251
- "values": [
252
- "idle",
253
- "counted",
254
- "compacted"
255
- ]
256
126
  }
257
127
  ],
258
- "id": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C",
259
- "name": "ContextWindow",
128
+ "id": "ent_01M3TYMQJMGY8DD73YX22WEW07",
129
+ "name": "AgentContextWindow",
260
130
  "persistence": "runtime"
261
131
  },
262
132
  "id": "orb_01KXG04EJ6F1D9RV8QYMR1QHR3",
@@ -268,413 +138,206 @@
268
138
  "path": "/agent-context",
269
139
  "traits": [
270
140
  {
271
- "ref": "ContextCounter",
272
- "refId": "trt_01KXG04EJ65759SYAWKN34XYXK"
273
- },
274
- {
275
- "ref": "ContextCompactor",
276
- "refId": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR"
277
- },
278
- {
279
- "ref": "ContextListener",
280
- "refId": "trt_01KXG04EJ69AGWNN2FDK7XQEG9"
141
+ "ref": "AgentContextCompactor",
142
+ "refId": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T"
281
143
  }
282
144
  ]
283
145
  }
284
146
  ],
285
147
  "traits": [
286
148
  {
287
- "category": "lifecycle",
288
- "effectRow": [
289
- {
290
- "kind": "emit",
291
- "resource": "COUNTED"
292
- },
293
- {
294
- "kind": "llm/token-count"
295
- },
296
- {
297
- "kind": "set",
298
- "resource": "@entity.status"
299
- },
300
- {
301
- "kind": "set",
302
- "resource": "@entity.tokenCount"
303
- }
304
- ],
305
- "emits": [
306
- {
307
- "event": "COUNTED",
308
- "eventId": "evt_01KXG04EJ6A298CG2EER1HNX1N",
309
- "payloadSchema": [
310
- {
311
- "name": "tokenCount",
312
- "required": true,
313
- "type": "number"
314
- }
315
- ]
316
- },
317
- {
318
- "event": "TOKEN_COUNTED",
319
- "eventId": "evt_01KXG04EJ6YDMK4GDYZAP5EQVN",
320
- "payloadSchema": [
321
- {
322
- "name": "result",
323
- "required": true,
324
- "type": "number"
325
- }
326
- ]
149
+ "category": "interaction",
150
+ "config": {
151
+ "keepMessages": {
152
+ "default": 12.0,
153
+ "description": "The most recent turns sent to the model word for word; older turns are summarized.",
154
+ "label": "Turns kept verbatim",
155
+ "synonyms": "window, history length, context size",
156
+ "tier": "policy",
157
+ "type": "number"
327
158
  }
328
- ],
329
- "entityRefIds": {
330
- "ContextWindow": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C"
331
159
  },
332
- "id": "trt_01KXG04EJ65759SYAWKN34XYXK",
333
- "linkedEntity": "ContextWindow",
334
- "linkedEntityId": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C",
335
- "name": "ContextCounter",
336
- "scope": "instance",
337
- "stateMachine": {
338
- "events": [
339
- {
340
- "id": "evt_01KXG04EJ6D8CWB6ANC75CXZ82",
341
- "key": "INIT",
342
- "name": "Initialize"
343
- },
344
- {
345
- "id": "evt_01KXG04EJ69BAQATPKRX0H3FCS",
346
- "key": "COUNT",
347
- "name": "Count"
348
- },
349
- {
350
- "id": "evt_01KXG04EJ6YDMK4GDYZAP5EQVN",
351
- "key": "TOKEN_COUNTED",
352
- "name": "Token Counted",
353
- "payloadSchema": [
354
- {
355
- "name": "result",
356
- "required": true,
357
- "type": "number"
358
- }
359
- ]
360
- },
361
- {
362
- "id": "evt_01KXG04EJ6RPMNB1NW9NSTTB67",
363
- "key": "COUNT_FAILED",
364
- "name": "Count Failed"
365
- },
366
- {
367
- "id": "evt_01KXG04EJ6BGYTR3XX620JPG4E",
368
- "key": "RESET",
369
- "name": "Reset"
370
- },
371
- {
372
- "id": "evt_01KXG04EJ6A298CG2EER1HNX1N",
373
- "key": "COUNTED",
374
- "name": "Counted",
375
- "payloadSchema": [
376
- {
377
- "name": "tokenCount",
378
- "required": true,
379
- "type": "number"
380
- }
381
- ]
382
- }
383
- ],
384
- "states": [
385
- {
386
- "isInitial": true,
387
- "name": "idle"
388
- },
389
- {
390
- "name": "counting"
391
- },
392
- {
393
- "name": "counted"
394
- }
395
- ],
396
- "transitions": [
397
- {
398
- "effects": [
399
- [
400
- "set",
401
- "@entity.tokenCount",
402
- 0.0
403
- ],
404
- [
405
- "set",
406
- "@entity.status",
407
- "idle"
408
- ]
409
- ],
410
- "event": "INIT",
411
- "eventId": "evt_01KXG04EJ6D8CWB6ANC75CXZ82",
412
- "from": "idle",
413
- "to": "idle"
414
- },
415
- {
416
- "effects": [
417
- [
418
- "set",
419
- "@entity.status",
420
- "idle"
421
- ],
422
- [
423
- "llm/token-count",
424
- {
425
- "emit": {
426
- "failure": "COUNT_FAILED",
427
- "success": "TOKEN_COUNTED"
428
- }
429
- }
430
- ]
431
- ],
432
- "event": "COUNT",
433
- "eventId": "evt_01KXG04EJ69BAQATPKRX0H3FCS",
434
- "from": "idle",
435
- "to": "counting"
436
- },
437
- {
438
- "effects": [
439
- [
440
- "set",
441
- "@entity.tokenCount",
442
- "@payload.result"
443
- ],
444
- [
445
- "set",
446
- "@entity.status",
447
- "counted"
448
- ],
449
- [
450
- "emit",
451
- "COUNTED",
452
- {
453
- "tokenCount": "@entity.tokenCount"
454
- }
455
- ]
456
- ],
457
- "event": "TOKEN_COUNTED",
458
- "eventId": "evt_01KXG04EJ6YDMK4GDYZAP5EQVN",
459
- "from": "counting",
460
- "to": "counted"
461
- },
462
- {
463
- "effects": [
464
- [
465
- "set",
466
- "@entity.tokenCount",
467
- 0.0
468
- ],
469
- [
470
- "set",
471
- "@entity.status",
472
- "idle"
473
- ]
474
- ],
475
- "event": "COUNT_FAILED",
476
- "eventId": "evt_01KXG04EJ6RPMNB1NW9NSTTB67",
477
- "from": "counting",
478
- "to": "idle"
479
- },
480
- {
481
- "effects": [
482
- [
483
- "set",
484
- "@entity.status",
485
- "counted"
486
- ]
487
- ],
488
- "event": "INIT",
489
- "eventId": "evt_01KXG04EJ6D8CWB6ANC75CXZ82",
490
- "from": "counted",
491
- "to": "counted"
492
- },
493
- {
494
- "effects": [
495
- [
496
- "set",
497
- "@entity.tokenCount",
498
- 0.0
499
- ],
500
- [
501
- "set",
502
- "@entity.status",
503
- "idle"
504
- ]
505
- ],
506
- "event": "RESET",
507
- "eventId": "evt_01KXG04EJ6BGYTR3XX620JPG4E",
508
- "from": "counted",
509
- "to": "idle"
510
- }
511
- ]
512
- }
513
- },
514
- {
515
- "category": "lifecycle",
516
160
  "effectRow": [
517
161
  {
518
- "kind": "emit",
519
- "resource": "COMPACTED"
162
+ "kind": "call-service",
163
+ "resource": "llm.summarize"
520
164
  },
521
165
  {
522
- "kind": "llm/compact"
523
- },
524
- {
525
- "kind": "llm/token-count"
166
+ "kind": "emit",
167
+ "resource": "COMPACTED"
526
168
  },
527
169
  {
528
- "kind": "set",
529
- "resource": "@entity.afterTokens"
170
+ "kind": "render-ui",
171
+ "resource": "toast"
530
172
  },
531
173
  {
532
174
  "kind": "set",
533
- "resource": "@entity.beforeTokens"
175
+ "resource": "@entity.lastSize"
534
176
  },
535
177
  {
536
178
  "kind": "set",
537
- "resource": "@entity.status"
179
+ "resource": "@entity.pendingMessages"
538
180
  }
539
181
  ],
540
182
  "emits": [
541
183
  {
184
+ "description": "The conversation, bounded: recent turns verbatim, older turns as one summary note.",
542
185
  "event": "COMPACTED",
543
- "eventId": "evt_01KXG04EJ66A1JYHNEYG9198F1",
186
+ "eventId": "evt_01M3TYMQJM2ZA1HG90KARCHVXQ",
544
187
  "payloadSchema": [
545
188
  {
546
- "name": "before",
547
- "required": true,
548
- "type": "number"
549
- },
550
- {
551
- "name": "after",
189
+ "entity": "AgentChatMessage",
190
+ "name": "messages",
191
+ "properties": [
192
+ {
193
+ "name": "role",
194
+ "type": "string"
195
+ },
196
+ {
197
+ "name": "content",
198
+ "required": true,
199
+ "type": "string"
200
+ }
201
+ ],
552
202
  "required": true,
553
- "type": "number"
203
+ "type": "[object]"
554
204
  }
555
- ]
205
+ ],
206
+ "scope": "external",
207
+ "synonyms": "compacted, trimmed, bounded",
208
+ "tier": "domain"
556
209
  },
557
210
  {
558
- "event": "BEFORE_COUNTED",
559
- "eventId": "evt_01KXG04EJ6Z7G17S74VV3YFDEJ",
211
+ "event": "ContextSummarized",
212
+ "eventId": "evt_01M3TYMQJMRZ7YJPCJWBHGQX9B",
560
213
  "payloadSchema": [
561
214
  {
562
- "name": "result",
563
- "required": true,
564
- "type": "number"
215
+ "name": "summary",
216
+ "type": "string"
217
+ },
218
+ {
219
+ "name": "keyPoints",
220
+ "type": "[string]"
565
221
  }
566
- ]
222
+ ],
223
+ "scope": "internal",
224
+ "tier": "internal"
567
225
  },
568
226
  {
569
- "event": "AFTER_COUNTED",
570
- "eventId": "evt_01KXG04EJ6E9TP7C7SF7M8K3W0",
227
+ "event": "ContextSummarizeFailed",
228
+ "eventId": "evt_01M3TYMQJMZQCGCNED97HQS2TE",
571
229
  "payloadSchema": [
572
230
  {
573
- "name": "result",
574
- "required": true,
575
- "type": "number"
231
+ "name": "error",
232
+ "type": "string"
576
233
  }
577
- ]
234
+ ],
235
+ "scope": "internal",
236
+ "tier": "internal"
578
237
  }
579
238
  ],
580
239
  "entityRefIds": {
581
- "ContextWindow": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C"
240
+ "AgentContextWindow": "ent_01M3TYMQJMGY8DD73YX22WEW07"
582
241
  },
583
- "id": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR",
584
- "linkedEntity": "ContextWindow",
585
- "linkedEntityId": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C",
586
- "name": "ContextCompactor",
242
+ "id": "trt_01M3TYMQJMC4BF9VHSEYHSTK7T",
243
+ "linkedEntity": "AgentContextWindow",
244
+ "linkedEntityId": "ent_01M3TYMQJMGY8DD73YX22WEW07",
245
+ "name": "AgentContextCompactor",
587
246
  "scope": "instance",
588
247
  "stateMachine": {
589
248
  "events": [
590
249
  {
591
- "id": "evt_01KXG04EJ6BV158VJ09W0Y21T3",
250
+ "id": "evt_01M3TYMQJMHE4K52TH9CXAWQDV",
592
251
  "key": "INIT",
593
252
  "name": "Initialize"
594
253
  },
595
254
  {
596
- "id": "evt_01KXG04EJ6X1DEPTM8YD7RKHKQ",
255
+ "description": "Bound this conversation for the model.",
256
+ "id": "evt_01M3TYMQJMSZDFZ983H5ZFRA80",
597
257
  "key": "COMPACT",
598
- "name": "Compact"
599
- },
600
- {
601
- "id": "evt_01KXG04EJ6Z7G17S74VV3YFDEJ",
602
- "key": "BEFORE_COUNTED",
603
- "name": "Before Counted",
258
+ "name": "Compact",
604
259
  "payloadSchema": [
605
260
  {
606
- "name": "result",
261
+ "name": "messages",
262
+ "properties": [
263
+ {
264
+ "name": "role",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "name": "content",
269
+ "required": true,
270
+ "type": "string"
271
+ }
272
+ ],
607
273
  "required": true,
608
- "type": "number"
274
+ "type": "[object]"
609
275
  }
610
276
  ]
611
277
  },
612
278
  {
613
- "id": "evt_01KXG04EJ6J65JX3XFMD1C1SK4",
614
- "key": "COMPACT_COUNT_FAILED",
615
- "name": "Compact Count Failed"
616
- },
617
- {
618
- "id": "evt_01KXG04EJ6ZMS4KGCC2NSZF14D",
619
- "key": "COMPACTED_OK",
620
- "name": "Compacted Ok"
621
- },
622
- {
623
- "id": "evt_01KXG04EJ6WAKQAWFGQBEZE94C",
624
- "key": "COMPACT_FAILED",
625
- "name": "Compact Failed"
626
- },
627
- {
628
- "id": "evt_01KXG04EJ6E9TP7C7SF7M8K3W0",
629
- "key": "AFTER_COUNTED",
630
- "name": "After Counted",
279
+ "id": "evt_01M3TYMQJMRZ7YJPCJWBHGQX9B",
280
+ "key": "ContextSummarized",
281
+ "name": "Context summarized",
631
282
  "payloadSchema": [
632
283
  {
633
- "name": "result",
634
- "required": true,
635
- "type": "number"
284
+ "name": "summary",
285
+ "type": "string"
286
+ },
287
+ {
288
+ "name": "keyPoints",
289
+ "type": "[string]"
636
290
  }
637
- ]
291
+ ],
292
+ "tier": "internal"
638
293
  },
639
294
  {
640
- "id": "evt_01KXG04EJ65AN9A7NMFDBY9K2Q",
641
- "key": "RESET",
642
- "name": "Reset"
295
+ "id": "evt_01M3TYMQJMZQCGCNED97HQS2TE",
296
+ "key": "ContextSummarizeFailed",
297
+ "name": "Context summarize failed",
298
+ "payloadSchema": [
299
+ {
300
+ "name": "error",
301
+ "type": "string"
302
+ }
303
+ ],
304
+ "tier": "internal"
643
305
  },
644
306
  {
645
- "id": "evt_01KXG04EJ66A1JYHNEYG9198F1",
307
+ "description": "The conversation, bounded: recent turns verbatim, older turns as one summary note.",
308
+ "id": "evt_01M3TYMQJM2ZA1HG90KARCHVXQ",
646
309
  "key": "COMPACTED",
647
310
  "name": "Compacted",
648
311
  "payloadSchema": [
649
312
  {
650
- "name": "before",
651
- "required": true,
652
- "type": "number"
653
- },
654
- {
655
- "name": "after",
313
+ "entity": "AgentChatMessage",
314
+ "name": "messages",
315
+ "properties": [
316
+ {
317
+ "name": "role",
318
+ "type": "string"
319
+ },
320
+ {
321
+ "name": "content",
322
+ "required": true,
323
+ "type": "string"
324
+ }
325
+ ],
656
326
  "required": true,
657
- "type": "number"
327
+ "type": "[object]"
658
328
  }
659
- ]
329
+ ],
330
+ "synonyms": "compacted, trimmed, bounded",
331
+ "tier": "domain"
660
332
  }
661
333
  ],
662
334
  "states": [
663
335
  {
664
336
  "isInitial": true,
665
- "name": "idle"
666
- },
667
- {
668
- "name": "counting_before"
669
- },
670
- {
671
- "name": "compacting"
672
- },
673
- {
674
- "name": "counting_after"
337
+ "name": "ready"
675
338
  },
676
339
  {
677
- "name": "compacted"
340
+ "name": "summarizing"
678
341
  }
679
342
  ],
680
343
  "transitions": [
@@ -682,377 +345,187 @@
682
345
  "effects": [
683
346
  [
684
347
  "set",
685
- "@entity.beforeTokens",
348
+ "@entity.lastSize",
686
349
  0.0
687
- ],
688
- [
689
- "set",
690
- "@entity.afterTokens",
691
- 0.0
692
- ],
693
- [
694
- "set",
695
- "@entity.status",
696
- "idle"
697
350
  ]
698
351
  ],
699
352
  "event": "INIT",
700
- "eventId": "evt_01KXG04EJ6BV158VJ09W0Y21T3",
701
- "from": "idle",
702
- "to": "idle"
353
+ "eventId": "evt_01M3TYMQJMHE4K52TH9CXAWQDV",
354
+ "from": "ready",
355
+ "to": "ready"
703
356
  },
704
357
  {
705
358
  "effects": [
706
359
  [
707
360
  "set",
708
- "@entity.status",
709
- "idle"
361
+ "@entity.lastSize",
362
+ [
363
+ "array/len",
364
+ "@payload.messages"
365
+ ]
710
366
  ],
711
367
  [
712
- "llm/token-count",
368
+ "emit",
369
+ "COMPACTED",
713
370
  {
714
- "emit": {
715
- "failure": "COMPACT_COUNT_FAILED",
716
- "success": "BEFORE_COUNTED"
717
- }
371
+ "messages": "@payload.messages"
718
372
  }
719
373
  ]
720
374
  ],
721
375
  "event": "COMPACT",
722
- "eventId": "evt_01KXG04EJ6X1DEPTM8YD7RKHKQ",
723
- "from": "idle",
724
- "to": "counting_before"
725
- },
726
- {
727
- "effects": [
376
+ "eventId": "evt_01M3TYMQJMSZDFZ983H5ZFRA80",
377
+ "from": "ready",
378
+ "guard": [
379
+ "<=",
728
380
  [
729
- "set",
730
- "@entity.beforeTokens",
731
- "@payload.result"
381
+ "array/len",
382
+ "@payload.messages"
732
383
  ],
733
- [
734
- "llm/compact",
735
- {
736
- "emit": {
737
- "failure": "COMPACT_FAILED",
738
- "success": "COMPACTED_OK"
739
- }
740
- }
741
- ]
384
+ "@config.keepMessages"
742
385
  ],
743
- "event": "BEFORE_COUNTED",
744
- "eventId": "evt_01KXG04EJ6Z7G17S74VV3YFDEJ",
745
- "from": "counting_before",
746
- "to": "compacting"
386
+ "to": "ready"
747
387
  },
748
388
  {
749
389
  "effects": [
750
390
  [
751
391
  "set",
752
- "@entity.beforeTokens",
753
- 0.0
392
+ "@entity.lastSize",
393
+ [
394
+ "array/len",
395
+ "@payload.messages"
396
+ ]
754
397
  ],
755
398
  [
756
399
  "set",
757
- "@entity.afterTokens",
758
- 0.0
400
+ "@entity.pendingMessages",
401
+ "@payload.messages"
759
402
  ],
760
403
  [
761
- "set",
762
- "@entity.status",
763
- "idle"
764
- ]
765
- ],
766
- "event": "COMPACT_COUNT_FAILED",
767
- "eventId": "evt_01KXG04EJ6J65JX3XFMD1C1SK4",
768
- "from": "counting_before",
769
- "to": "idle"
770
- },
771
- {
772
- "effects": [
773
- [
774
- "llm/token-count",
404
+ "call-service",
405
+ "llm",
406
+ "summarize",
407
+ {
408
+ "text": [
409
+ "str/join",
410
+ [
411
+ "array/map",
412
+ [
413
+ "array/dropLast",
414
+ "@payload.messages",
415
+ "@config.keepMessages"
416
+ ],
417
+ [
418
+ "fn",
419
+ "item",
420
+ [
421
+ "str/concat",
422
+ "@item.role",
423
+ ": ",
424
+ "@item.content"
425
+ ]
426
+ ]
427
+ ],
428
+ "\n"
429
+ ]
430
+ },
775
431
  {
776
432
  "emit": {
777
- "failure": "COMPACT_COUNT_FAILED",
778
- "success": "AFTER_COUNTED"
433
+ "failure": "ContextSummarizeFailed",
434
+ "success": "ContextSummarized"
779
435
  }
780
436
  }
781
437
  ]
782
438
  ],
783
- "event": "COMPACTED_OK",
784
- "eventId": "evt_01KXG04EJ6ZMS4KGCC2NSZF14D",
785
- "from": "compacting",
786
- "to": "counting_after"
787
- },
788
- {
789
- "effects": [
790
- [
791
- "set",
792
- "@entity.beforeTokens",
793
- 0.0
794
- ],
439
+ "event": "COMPACT",
440
+ "eventId": "evt_01M3TYMQJMSZDFZ983H5ZFRA80",
441
+ "from": "ready",
442
+ "guard": [
443
+ ">",
795
444
  [
796
- "set",
797
- "@entity.afterTokens",
798
- 0.0
445
+ "array/len",
446
+ "@payload.messages"
799
447
  ],
800
- [
801
- "set",
802
- "@entity.status",
803
- "idle"
804
- ]
448
+ "@config.keepMessages"
805
449
  ],
806
- "event": "COMPACT_FAILED",
807
- "eventId": "evt_01KXG04EJ6WAKQAWFGQBEZE94C",
808
- "from": "compacting",
809
- "to": "idle"
450
+ "to": "summarizing"
810
451
  },
811
452
  {
812
453
  "effects": [
813
- [
814
- "set",
815
- "@entity.afterTokens",
816
- "@payload.result"
817
- ],
818
- [
819
- "set",
820
- "@entity.status",
821
- "compacted"
822
- ],
823
454
  [
824
455
  "emit",
825
456
  "COMPACTED",
826
457
  {
827
- "after": "@entity.afterTokens",
828
- "before": "@entity.beforeTokens"
458
+ "messages": [
459
+ "array/prepend",
460
+ [
461
+ "array/takeLast",
462
+ "@entity.pendingMessages",
463
+ "@config.keepMessages"
464
+ ],
465
+ {
466
+ "content": [
467
+ "str/concat",
468
+ "Earlier in this conversation: ",
469
+ "@payload.summary"
470
+ ],
471
+ "role": "assistant"
472
+ }
473
+ ]
829
474
  }
830
475
  ]
831
476
  ],
832
- "event": "AFTER_COUNTED",
833
- "eventId": "evt_01KXG04EJ6E9TP7C7SF7M8K3W0",
834
- "from": "counting_after",
835
- "to": "compacted"
836
- },
837
- {
838
- "effects": [
839
- [
840
- "set",
841
- "@entity.beforeTokens",
842
- 0.0
843
- ],
844
- [
845
- "set",
846
- "@entity.afterTokens",
847
- 0.0
848
- ],
849
- [
850
- "set",
851
- "@entity.status",
852
- "idle"
853
- ]
854
- ],
855
- "event": "COMPACT_COUNT_FAILED",
856
- "eventId": "evt_01KXG04EJ6J65JX3XFMD1C1SK4",
857
- "from": "counting_after",
858
- "to": "idle"
859
- },
860
- {
861
- "effects": [
862
- [
863
- "set",
864
- "@entity.status",
865
- "compacted"
866
- ]
867
- ],
868
- "event": "INIT",
869
- "eventId": "evt_01KXG04EJ6BV158VJ09W0Y21T3",
870
- "from": "compacted",
871
- "to": "compacted"
477
+ "event": "ContextSummarized",
478
+ "eventId": "evt_01M3TYMQJMRZ7YJPCJWBHGQX9B",
479
+ "from": "summarizing",
480
+ "to": "ready"
872
481
  },
873
482
  {
874
483
  "effects": [
875
484
  [
876
- "set",
877
- "@entity.beforeTokens",
878
- 0.0
879
- ],
880
- [
881
- "set",
882
- "@entity.afterTokens",
883
- 0.0
485
+ "emit",
486
+ "COMPACTED",
487
+ {
488
+ "messages": [
489
+ "array/takeLast",
490
+ "@entity.pendingMessages",
491
+ "@config.keepMessages"
492
+ ]
493
+ }
884
494
  ],
885
495
  [
886
- "set",
887
- "@entity.status",
888
- "idle"
496
+ "render-ui",
497
+ "toast",
498
+ {
499
+ "message": "@payload.error",
500
+ "type": "alert",
501
+ "variant": "warning"
502
+ }
889
503
  ]
890
504
  ],
891
- "event": "RESET",
892
- "eventId": "evt_01KXG04EJ65AN9A7NMFDBY9K2Q",
893
- "from": "compacted",
894
- "to": "idle"
505
+ "event": "ContextSummarizeFailed",
506
+ "eventId": "evt_01M3TYMQJMZQCGCNED97HQS2TE",
507
+ "from": "summarizing",
508
+ "to": "ready"
895
509
  }
896
510
  ]
897
511
  }
898
- },
899
- {
900
- "category": "lifecycle",
901
- "effectRow": [
902
- {
903
- "kind": "set",
904
- "resource": "@entity.status"
905
- }
906
- ],
907
- "entityRefIds": {
908
- "ContextWindow": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C"
512
+ }
513
+ ],
514
+ "types": {
515
+ "AgentChatMessage": [
516
+ {
517
+ "name": "role",
518
+ "type": "string"
909
519
  },
910
- "id": "trt_01KXG04EJ69AGWNN2FDK7XQEG9",
911
- "linkedEntity": "ContextWindow",
912
- "linkedEntityId": "ent_01KXG04EJ6PXMMHTTEJ27RNN6C",
913
- "listens": [
914
- {
915
- "event": "COUNTED",
916
- "eventId": "evt_01KXG04EJ6A298CG2EER1HNX1N",
917
- "source": {
918
- "kind": "trait",
919
- "trait": "ContextCounter",
920
- "traitId": "trt_01KXG04EJ65759SYAWKN34XYXK"
921
- },
922
- "triggers": "COUNTED",
923
- "triggersId": "evt_01KXG04EJ6FHB7K9E2WTGN17F9"
924
- },
925
- {
926
- "event": "COMPACTED",
927
- "eventId": "evt_01KXG04EJ66A1JYHNEYG9198F1",
928
- "source": {
929
- "kind": "trait",
930
- "trait": "ContextCompactor",
931
- "traitId": "trt_01KXG04EJ6J58Z1FR4ESGW6ERR"
932
- },
933
- "triggers": "COMPACTED",
934
- "triggersId": "evt_01KXG04EJ6WNX1ZCSR2FFTFKRK"
935
- }
936
- ],
937
- "name": "ContextListener",
938
- "scope": "instance",
939
- "stateMachine": {
940
- "events": [
941
- {
942
- "id": "evt_01KXG04EJ6KN4HPKZM7KJYWWM4",
943
- "key": "INIT",
944
- "name": "Initialize"
945
- },
946
- {
947
- "id": "evt_01KXG04EJ6FHB7K9E2WTGN17F9",
948
- "key": "COUNTED",
949
- "name": "Counted"
950
- },
951
- {
952
- "id": "evt_01KXG04EJ6WNX1ZCSR2FFTFKRK",
953
- "key": "COMPACTED",
954
- "name": "Compacted"
955
- },
956
- {
957
- "id": "evt_01KXG04EJ67W02HJVM8TA5N087",
958
- "key": "RESET",
959
- "name": "Reset"
960
- }
961
- ],
962
- "states": [
963
- {
964
- "isInitial": true,
965
- "name": "waiting"
966
- },
967
- {
968
- "name": "active"
969
- }
970
- ],
971
- "transitions": [
972
- {
973
- "effects": [
974
- [
975
- "set",
976
- "@entity.status",
977
- "idle"
978
- ]
979
- ],
980
- "event": "INIT",
981
- "eventId": "evt_01KXG04EJ6KN4HPKZM7KJYWWM4",
982
- "from": "waiting",
983
- "to": "waiting"
984
- },
985
- {
986
- "effects": [
987
- [
988
- "set",
989
- "@entity.status",
990
- "counted"
991
- ]
992
- ],
993
- "event": "COUNTED",
994
- "eventId": "evt_01KXG04EJ6FHB7K9E2WTGN17F9",
995
- "from": "waiting",
996
- "to": "active"
997
- },
998
- {
999
- "effects": [
1000
- [
1001
- "set",
1002
- "@entity.status",
1003
- "compacted"
1004
- ]
1005
- ],
1006
- "event": "COMPACTED",
1007
- "eventId": "evt_01KXG04EJ6WNX1ZCSR2FFTFKRK",
1008
- "from": "waiting",
1009
- "to": "active"
1010
- },
1011
- {
1012
- "effects": [
1013
- [
1014
- "set",
1015
- "@entity.status",
1016
- "idle"
1017
- ]
1018
- ],
1019
- "event": "RESET",
1020
- "eventId": "evt_01KXG04EJ67W02HJVM8TA5N087",
1021
- "from": "waiting",
1022
- "to": "waiting"
1023
- },
1024
- {
1025
- "effects": [
1026
- [
1027
- "set",
1028
- "@entity.status",
1029
- "idle"
1030
- ]
1031
- ],
1032
- "event": "INIT",
1033
- "eventId": "evt_01KXG04EJ6KN4HPKZM7KJYWWM4",
1034
- "from": "active",
1035
- "to": "active"
1036
- },
1037
- {
1038
- "effects": [
1039
- [
1040
- "set",
1041
- "@entity.status",
1042
- "idle"
1043
- ]
1044
- ],
1045
- "event": "RESET",
1046
- "eventId": "evt_01KXG04EJ67W02HJVM8TA5N087",
1047
- "from": "active",
1048
- "to": "waiting"
1049
- }
1050
- ]
520
+ {
521
+ "name": "content",
522
+ "required": true,
523
+ "type": "string"
1051
524
  }
1052
- }
1053
- ]
525
+ ]
526
+ }
1054
527
  }
1055
528
  ],
1056
529
  "schemaVersion": 1,
1057
- "version": "1.0.0"
530
+ "version": "2.0.0"
1058
531
  }