@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.
- package/behaviors/lolo/agent/atoms/std-agent-pool.lolo +355 -0
- package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +16 -2
- package/behaviors/lolo/agent/evals/eval-agent-builder.lolo +152 -0
- package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +320 -26
- package/behaviors/lolo/ui/learning/atoms/std-learn-generate.lolo +6 -4
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-fix-loop.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-planner.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-pool.orb +1 -0
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-session.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-trace.orb +1 -1
- package/behaviors/registry/agent/evals/eval-agent-builder.orb +1 -0
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1 -1
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +1 -1
- package/behaviors/registry/infra/atoms/std-analytics.orb +1 -1
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +1 -1
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +1 -1
- package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1 -1
- package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +1 -1
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -1
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +1 -1
- package/behaviors/registry/infra/atoms/std-data-import.orb +1 -1
- package/behaviors/registry/infra/atoms/std-global-search.orb +1 -1
- package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +1 -1
- package/behaviors/registry/infra/atoms/std-lifecycle.orb +1 -1
- package/behaviors/registry/infra/atoms/std-migration-job.orb +1 -1
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notification-center.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1 -1
- package/behaviors/registry/infra/atoms/std-page-search.orb +1 -1
- package/behaviors/registry/infra/atoms/std-page-watch.orb +1 -1
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +1 -1
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +1 -1
- package/behaviors/registry/infra/atoms/std-reminder-scheduler.orb +1 -1
- package/behaviors/registry/infra/atoms/std-review-cycle.orb +1 -1
- package/behaviors/registry/infra/atoms/std-row-access-control.orb +1 -1
- package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +1 -1
- package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -1
- package/behaviors/registry/ml/atoms/std-data-collector.orb +1 -1
- package/behaviors/registry/ml/atoms/std-graph-builder.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-lookup.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-posterior.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +1 -1
- package/behaviors/registry/ml/atoms/std-tokenizer.orb +1 -1
- package/behaviors/registry/ml/atoms/std-weight-validator.orb +1 -1
- package/behaviors/registry/ml/organisms/std-escalating-decision.orb +1 -1
- package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/std-avl-cosmic-zoom.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-detail.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-flow-canvas.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-layers-panel.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-orb-inspector.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-behavior-catalog.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-behavior-tour.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-confirmation.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-date-range.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-export.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-filter.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-gallery.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-hero.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-home.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-import.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-language-picker.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-media-section.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-modal.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-notification-panel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-panel-launcher.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-pricing.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-proof.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-prose.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-related.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-scoped-list.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-selection.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-site-footer.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-site-header.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-slide-deck.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-stat-band.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-step-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-steps.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tabs.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-thread.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tree.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-wizard.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-workspace-layout.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-animated-graphic.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-animated-reveal.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-avatar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-box.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-center.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-confetti-effect.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-dialog.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-divider.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-icon.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-image.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-input.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-label.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-pattern-tile.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-presence.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-progress-bar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-section-header.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-select.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-spacer.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-sparkline.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-spinner.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-status-dot.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-branch.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-connection.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-grid.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-lobe.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-mesh.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-morph.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-node.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-pulse.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-ring.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-shield.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-stack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-textarea.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-theme-toggle.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-trend-indicator.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-video-embed.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
- package/behaviors/registry/ui/core/molecules/std-stat-rows.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-accordion.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-activation-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-activity-rail.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-activity-feed.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-activity-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-alert.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-bloom-quiz-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-change-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-chart.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-connection-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-container.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-search.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-error-boundary.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-error-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-flex.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-field.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-gantt.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-geometric-pattern.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-input-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-loading-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-map-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-meter.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-modal.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-navigation.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-notification.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-reflection-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-scaled-diagram.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-section.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-skeleton.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-split.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tooltip.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-code-runner-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-form.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-master-detail-layout.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-runtime-debugger.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-area-fill.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-motion-body.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-production.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-score.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-zone-card.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-control-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-score-display.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-timer-display.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/templates/ui-game-shell.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-fx-cues.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-generate.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
- package/dist/behaviors-embeddings.hash.json +2 -2
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/knob-embeddings.hash.json +2 -2
- package/package.json +2 -2
|
@@ -1,21 +1,96 @@
|
|
|
1
1
|
app std-agent-builder [
|
|
2
|
-
version: "
|
|
3
|
-
description: "Agent builder — turns a request into a
|
|
2
|
+
version: "3.0.0",
|
|
3
|
+
description: "Agent builder — turns a request into a behavior by walking a ladder of caching tiers, cheapest first. START { request, orbitalName, context } embeds the request (`call-service llm embed`) and walks `ladder`: each step ranks its source by cosine similarity — installed behaviors under its registry folders (`behavior/catalog`), or a pool (POOL_SEARCH, answered by POOL_FOUND from std-agent-pool) — and when the best match reaches the step's threshold runs the step's action, otherwise goes to the next step. Actions: `mount` builds a page around the best match's first trait (`program/eval`); `adopt` serves the best match as it is, no model call; `fill` describes the best match (`behavior/describe`), asks the model once to set its knobs and the extra `fillFields`, applies them (`behavior/apply`) and evaluates the result (`program/eval`, final), feeding validator issues back for up to `maxRepairs` repair turns. BUILD_PROGRESS streams each step; BUILD_COMPLETE { orbitalName, behavior, value, tier, fields } carries the behavior and the step that served it; BUILD_REJECTED { error, errors } follows an exhausted ladder or a failed build. The default ladder mounts the closest UI molecule, as earlier versions did."
|
|
4
4
|
]
|
|
5
|
-
;; @capabilities "build
|
|
5
|
+
;; @capabilities "build a behavior from a request, caching tiers, retrieve before generating, adopt an existing behavior, fill a behavior's knobs, pick a behavior by meaning, program evaluation"
|
|
6
6
|
|
|
7
7
|
type CatalogHit = {
|
|
8
8
|
behavior : string!
|
|
9
|
+
description : string
|
|
9
10
|
traits : [trait]!
|
|
11
|
+
value : behavior!
|
|
10
12
|
vectors : Map string [number]
|
|
11
13
|
}
|
|
14
|
+
type PoolHit = {
|
|
15
|
+
id : string!
|
|
16
|
+
behavior : string!
|
|
17
|
+
value : behavior!
|
|
18
|
+
name : string
|
|
19
|
+
kind : string
|
|
20
|
+
topic : string
|
|
21
|
+
hint : string
|
|
22
|
+
description : string
|
|
23
|
+
score : number!
|
|
24
|
+
}
|
|
25
|
+
type Ranked = {
|
|
26
|
+
behavior : string!
|
|
27
|
+
value : behavior!
|
|
28
|
+
trait : trait
|
|
29
|
+
description : string
|
|
30
|
+
score : number!
|
|
31
|
+
}
|
|
32
|
+
type BuilderStep = {
|
|
33
|
+
name : string!
|
|
34
|
+
source : "catalog" | "pool"!
|
|
35
|
+
scope : [string]
|
|
36
|
+
threshold : number!
|
|
37
|
+
action : "mount" | "adopt" | "fill"!
|
|
38
|
+
take : number
|
|
39
|
+
}
|
|
12
40
|
type Built = {
|
|
13
41
|
behavior : string!
|
|
42
|
+
value : behavior!
|
|
14
43
|
}
|
|
15
44
|
type BuildIssue = {
|
|
16
45
|
code : string!
|
|
17
46
|
message : string!
|
|
18
47
|
}
|
|
48
|
+
type AgentChatMessage = {
|
|
49
|
+
role : "user" | "assistant"
|
|
50
|
+
content : string!
|
|
51
|
+
}
|
|
52
|
+
type AgentToolField = {
|
|
53
|
+
name : string!
|
|
54
|
+
type : string!
|
|
55
|
+
required : boolean
|
|
56
|
+
values : [string]
|
|
57
|
+
properties : [AgentToolField]
|
|
58
|
+
description : string
|
|
59
|
+
}
|
|
60
|
+
type AgentToolInput = {
|
|
61
|
+
event : EventAddress!
|
|
62
|
+
payload : [AgentToolField]
|
|
63
|
+
}
|
|
64
|
+
type KnobField = {
|
|
65
|
+
name : string!
|
|
66
|
+
type : string!
|
|
67
|
+
required : boolean
|
|
68
|
+
values : [string]
|
|
69
|
+
properties : [KnobField]
|
|
70
|
+
default : SExpr
|
|
71
|
+
label : string
|
|
72
|
+
description : string
|
|
73
|
+
tier : string
|
|
74
|
+
}
|
|
75
|
+
type DescribedTrait = {
|
|
76
|
+
trait : string!
|
|
77
|
+
knobs : [KnobField]!
|
|
78
|
+
}
|
|
79
|
+
type DescribedOrbital = {
|
|
80
|
+
value : orbital!
|
|
81
|
+
knobs : [KnobField]!
|
|
82
|
+
traits : [DescribedTrait]!
|
|
83
|
+
}
|
|
84
|
+
type BehaviorDescription = {
|
|
85
|
+
behavior : string!
|
|
86
|
+
knobs : [KnobField]!
|
|
87
|
+
orbitals : [DescribedOrbital]!
|
|
88
|
+
}
|
|
89
|
+
type FilledTrait = {
|
|
90
|
+
config : Map string SExpr
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
uses ToolLoop from "std/behaviors/std-agent-tool-loop"
|
|
19
94
|
|
|
20
95
|
orbital AgentBuilderOrbital {
|
|
21
96
|
|
|
@@ -23,33 +98,70 @@ orbital AgentBuilderOrbital {
|
|
|
23
98
|
id : string!
|
|
24
99
|
request : string = ""
|
|
25
100
|
orbitalName : string = ""
|
|
101
|
+
context : string = ""
|
|
26
102
|
queryVector : [number] = []
|
|
103
|
+
step : number = 0
|
|
104
|
+
ranked : [Ranked] = []
|
|
27
105
|
pick : trait = none
|
|
106
|
+
target : orbital = none
|
|
107
|
+
filledConfig : Map string SExpr = {}
|
|
108
|
+
filledTraits : Map string FilledTrait = {}
|
|
109
|
+
filledFields : Map string string = {}
|
|
110
|
+
tool : [AgentToolField] = []
|
|
111
|
+
repairs : number = 0
|
|
28
112
|
behavior : string = ""
|
|
29
113
|
error : string = ""
|
|
30
|
-
status : "idle" | "searching" | "building" | "done" | "failed" = idle
|
|
114
|
+
status : "idle" | "searching" | "describing" | "filling" | "building" | "done" | "failed" = idle
|
|
31
115
|
}
|
|
32
116
|
|
|
33
117
|
trait BuilderPipeline -> BuilderProcess [lifecycle, instance] {
|
|
34
118
|
config {
|
|
35
|
-
|
|
36
|
-
@label "
|
|
37
|
-
@description "
|
|
119
|
+
ladder : [BuilderStep] = [{ name: "mount", source: "catalog", scope: ["almadar-std/ui/core/molecules"], threshold: 0, action: "mount", take: 1 }]
|
|
120
|
+
@label "Caching tiers, cheapest first"
|
|
121
|
+
@description "Each step ranks its source (a registry catalog under `scope`, or the pool) against the request and, when the best match reaches `threshold`, runs `action` on it: `mount` (a page around its first trait), `adopt` (serve it as it is, no model call) or `fill` (one model turn setting its knobs). A step whose best match falls short hands over to the next one; when no step serves, the build is rejected."
|
|
122
|
+
@synonyms "tiers, cache levels, retrieval ladder"
|
|
38
123
|
@tier "domain"
|
|
124
|
+
fillFields : [AgentToolField] = []
|
|
125
|
+
@label "Extra fields the fill turn writes"
|
|
126
|
+
@description "Fields the model fills alongside the knobs (e.g. a one-line hint); they come back in BUILD_COMPLETE's `fields`."
|
|
127
|
+
@tier "domain"
|
|
128
|
+
fillInstructions : string = "You adapt an existing building block to a request. Call the FILL tool once: set only the knobs the request needs (in `config` and `traits` → trait → `config`), write every requested field in `fields`, then reply with one sentence."
|
|
129
|
+
@label "How the fill turn is briefed"
|
|
130
|
+
@tier "domain"
|
|
131
|
+
fillEvent : EventAddress = BuilderPipeline.FILL
|
|
132
|
+
@label "Fill tool event"
|
|
133
|
+
@description "The address the model's FILL tool fires; a consumer that renames this trait sets it to its own name."
|
|
134
|
+
@tier "internal"
|
|
135
|
+
maxRepairs : number = 2
|
|
136
|
+
@label "Repair turns"
|
|
137
|
+
@description "How many times validator issues go back to the model before the build fails."
|
|
138
|
+
@tier "policy"
|
|
139
|
+
statusSlot : slot = main
|
|
140
|
+
@label "Status slot"
|
|
141
|
+
@description "Where the builder shows its one-line status; a page running it in the background sends it to `system`."
|
|
142
|
+
@tier "presentation"
|
|
39
143
|
}
|
|
40
144
|
initial: idle
|
|
41
145
|
|
|
42
146
|
state idle {
|
|
43
147
|
INIT -> idle
|
|
44
148
|
(set @entity.status idle)
|
|
45
|
-
(render-ui
|
|
149
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
46
150
|
START -> searching
|
|
47
151
|
(set @entity.request ?request)
|
|
48
152
|
(set @entity.orbitalName ?orbitalName)
|
|
153
|
+
(set @entity.context (str/default ?context ""))
|
|
154
|
+
(set @entity.step 0)
|
|
155
|
+
(set @entity.repairs 0)
|
|
49
156
|
(set @entity.status searching)
|
|
157
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
50
158
|
(call-service llm embed { texts: [?request] } {
|
|
51
159
|
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
52
160
|
})
|
|
161
|
+
FILL -> idle
|
|
162
|
+
CONVERSE -> idle
|
|
163
|
+
ASSISTANT_REPLIED -> idle
|
|
164
|
+
TOOLS_FAILED -> idle
|
|
53
165
|
}
|
|
54
166
|
|
|
55
167
|
state searching {
|
|
@@ -57,17 +169,36 @@ orbital AgentBuilderOrbital {
|
|
|
57
169
|
(set @entity.status searching)
|
|
58
170
|
REQUEST_EMBEDDED -> searching when (> (array/len ?embeddings) 0)
|
|
59
171
|
(set @entity.queryVector (array/first ?embeddings))
|
|
60
|
-
(
|
|
61
|
-
emit: { failure: BUILD_FAILED, success: CATALOG_LISTED }
|
|
62
|
-
})
|
|
172
|
+
(emit STEP {})
|
|
63
173
|
REQUEST_EMBEDDED -> failed when (= (array/len ?embeddings) 0)
|
|
64
174
|
(set @entity.error "The model returned no embedding")
|
|
65
175
|
(set @entity.status failed)
|
|
66
|
-
(render-ui
|
|
176
|
+
(render-ui @config.statusSlot <typography content="Build failed: the model returned no embedding." variant="caption" />)
|
|
67
177
|
(emit BUILD_REJECTED { error: "The model returned no embedding", errors: [] })
|
|
68
|
-
|
|
69
|
-
(
|
|
178
|
+
STEP -> searching when (and (< @entity.step (array/len @config.ladder)) (= (object/get (array/nth @config.ladder @entity.step) source) "catalog"))
|
|
179
|
+
(behavior/catalog { paths: (object/get (array/nth @config.ladder @entity.step) scope []) } {
|
|
180
|
+
emit: { failure: BUILD_FAILED, success: CATALOG_LISTED }
|
|
181
|
+
})
|
|
182
|
+
STEP -> searching when (and (< @entity.step (array/len @config.ladder)) (= (object/get (array/nth @config.ladder @entity.step) source) "pool"))
|
|
183
|
+
(emit POOL_SEARCH { vector: @entity.queryVector, take: (object/get (array/nth @config.ladder @entity.step) take 5) })
|
|
184
|
+
STEP -> failed when (>= @entity.step (array/len @config.ladder))
|
|
185
|
+
(set @entity.error "No tier of the ladder could serve the request")
|
|
186
|
+
(set @entity.status failed)
|
|
187
|
+
(render-ui @config.statusSlot <typography content="No tier could serve the request." variant="caption" />)
|
|
188
|
+
(emit BUILD_REJECTED { error: "No tier of the ladder could serve the request", errors: [] })
|
|
189
|
+
CATALOG_LISTED -> searching
|
|
190
|
+
(set @entity.ranked (array/sort (array/map (array/filter ?result (fn e (> (array/len (object/get @e.vectors description [])) 0))) (fn e { behavior: @e.behavior, value: @e.value, trait: (array/first @e.traits), description: (object/get @e description ""), score: (array/cosine (object/get @e.vectors description) @entity.queryVector) })) score desc))
|
|
191
|
+
(emit RANKED {})
|
|
192
|
+
POOL_FOUND -> searching
|
|
193
|
+
(set @entity.ranked (array/map ?hits (fn h { behavior: @h.behavior, value: @h.value, description: (object/get @h description ""), score: @h.score })))
|
|
194
|
+
(emit RANKED {})
|
|
195
|
+
RANKED -> searching when (or (= (array/len @entity.ranked) 0) (< (object/get (array/first @entity.ranked) score) (object/get (array/nth @config.ladder @entity.step) threshold)))
|
|
196
|
+
(set @entity.step (+ @entity.step 1))
|
|
197
|
+
(emit STEP {})
|
|
198
|
+
RANKED -> building when (and (> (array/len @entity.ranked) 0) (and (>= (object/get (array/first @entity.ranked) score) (object/get (array/nth @config.ladder @entity.step) threshold)) (= (object/get (array/nth @config.ladder @entity.step) action) "mount")))
|
|
199
|
+
(set @entity.pick (object/get (array/first @entity.ranked) trait))
|
|
70
200
|
(set @entity.status building)
|
|
201
|
+
(emit BUILD_PROGRESS { status: "building", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
71
202
|
(program/eval (quasiquote {
|
|
72
203
|
name: (unquote @entity.orbitalName)
|
|
73
204
|
orbitals: [{
|
|
@@ -88,14 +219,74 @@ orbital AgentBuilderOrbital {
|
|
|
88
219
|
}) {
|
|
89
220
|
emit: { failure: BUILD_FAILED, success: BUILT }
|
|
90
221
|
})
|
|
91
|
-
|
|
92
|
-
(set @entity.
|
|
222
|
+
RANKED -> done when (and (> (array/len @entity.ranked) 0) (and (>= (object/get (array/first @entity.ranked) score) (object/get (array/nth @config.ladder @entity.step) threshold)) (= (object/get (array/nth @config.ladder @entity.step) action) "adopt")))
|
|
223
|
+
(set @entity.behavior (object/get (array/first @entity.ranked) behavior))
|
|
224
|
+
(set @entity.status done)
|
|
225
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Adopted " @entity.behavior)} variant="caption" />)
|
|
226
|
+
(emit BUILD_COMPLETE { orbitalName: @entity.orbitalName, behavior: @entity.behavior, value: (object/get (array/first @entity.ranked) value), tier: (object/get (array/nth @config.ladder @entity.step) name), fields: (object/fromEntries []) })
|
|
227
|
+
RANKED -> describing when (and (> (array/len @entity.ranked) 0) (and (>= (object/get (array/first @entity.ranked) score) (object/get (array/nth @config.ladder @entity.step) threshold)) (= (object/get (array/nth @config.ladder @entity.step) action) "fill")))
|
|
228
|
+
(set @entity.status describing)
|
|
229
|
+
(emit BUILD_PROGRESS { status: "describing", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
230
|
+
(behavior/describe { behavior: (object/get (array/first @entity.ranked) behavior) } {
|
|
231
|
+
emit: { failure: BUILD_FAILED, success: DESCRIBED }
|
|
232
|
+
})
|
|
233
|
+
BUILD_FAILED -> failed
|
|
234
|
+
(set @entity.error ?error)
|
|
235
|
+
(set @entity.status failed)
|
|
236
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
237
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
state describing {
|
|
241
|
+
INIT -> describing
|
|
242
|
+
(set @entity.status describing)
|
|
243
|
+
DESCRIBED -> filling when (> (array/len (object/get ?result orbitals [])) 0)
|
|
244
|
+
(let ((o (array/first (object/get ?result orbitals []))))
|
|
245
|
+
(do
|
|
246
|
+
(set @entity.target (object/get @o value))
|
|
247
|
+
(set @entity.tool [
|
|
248
|
+
{ name: "config", type: "object", properties: (array/map (array/filter (object/get @o knobs []) (fn k (!= (object/get @k tier "") "internal"))) (fn k (object/pick @k ["default", "description", "name", "properties", "required", "type", "values"]))) },
|
|
249
|
+
{ name: "traits", type: "object", properties: (array/map (object/get @o traits []) (fn t { name: (object/get @t trait), type: "object", properties: [{ name: "config", type: "object", properties: (array/map (array/filter (object/get @t knobs []) (fn k (!= (object/get @k tier "") "internal"))) (fn k (object/pick @k ["default", "description", "name", "properties", "required", "type", "values"]))) }] })) },
|
|
250
|
+
{ name: "fields", type: "object", required: (> (array/len @config.fillFields) 0), properties: @config.fillFields }
|
|
251
|
+
])
|
|
252
|
+
(set @entity.status filling)
|
|
253
|
+
(emit BUILD_PROGRESS { status: "filling", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
254
|
+
(emit CONVERSE {
|
|
255
|
+
messages: [{ role: "user", content: (if (= @entity.context "") @entity.request (str/concat @entity.request "\n\n" @entity.context)) }]
|
|
256
|
+
instructions: (str/concat @config.fillInstructions "\nThe building block: " (object/get (array/first @entity.ranked) behavior) " — " (object/get (array/first @entity.ranked) description ""))
|
|
257
|
+
tools: [{ event: @config.fillEvent, payload: @entity.tool }]
|
|
258
|
+
ephemeral: true
|
|
259
|
+
})))
|
|
260
|
+
DESCRIBED -> failed when (= (array/len (object/get ?result orbitals [])) 0)
|
|
261
|
+
(set @entity.error "The best match has no orbital to fill")
|
|
93
262
|
(set @entity.status failed)
|
|
94
|
-
(render-ui
|
|
263
|
+
(render-ui @config.statusSlot <typography content="Build failed: the best match has no orbital to fill." variant="caption" />)
|
|
264
|
+
(emit BUILD_REJECTED { error: "The best match has no orbital to fill", errors: [] })
|
|
95
265
|
BUILD_FAILED -> failed
|
|
96
266
|
(set @entity.error ?error)
|
|
97
267
|
(set @entity.status failed)
|
|
98
|
-
(render-ui
|
|
268
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
269
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
state filling {
|
|
273
|
+
INIT -> filling
|
|
274
|
+
(set @entity.status filling)
|
|
275
|
+
FILL -> filling
|
|
276
|
+
(set @entity.filledConfig (if (== ?config null) {} ?config))
|
|
277
|
+
(set @entity.filledTraits (if (== ?traits null) {} ?traits))
|
|
278
|
+
(set @entity.filledFields (if (== ?fields null) {} ?fields))
|
|
279
|
+
ASSISTANT_REPLIED -> building
|
|
280
|
+
(set @entity.status building)
|
|
281
|
+
(emit BUILD_PROGRESS { status: "building", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
282
|
+
(program/eval (quasiquote { name: (unquote @entity.orbitalName), orbitals: [(unquote (behavior/apply @entity.target { config: @entity.filledConfig, traits: @entity.filledTraits }))] }) { final: true } {
|
|
283
|
+
emit: { failure: BUILD_FAILED, success: BUILT }
|
|
284
|
+
})
|
|
285
|
+
TOOLS_FAILED -> failed
|
|
286
|
+
(set @entity.error ?error)
|
|
287
|
+
(set @entity.status failed)
|
|
288
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
289
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
99
290
|
}
|
|
100
291
|
|
|
101
292
|
state building {
|
|
@@ -104,13 +295,23 @@ orbital AgentBuilderOrbital {
|
|
|
104
295
|
BUILT -> done
|
|
105
296
|
(set @entity.behavior (object/get ?result behavior))
|
|
106
297
|
(set @entity.status done)
|
|
107
|
-
(render-ui
|
|
108
|
-
(emit BUILD_COMPLETE { orbitalName: @entity.orbitalName, behavior: (object/get ?result behavior) })
|
|
109
|
-
BUILD_FAILED ->
|
|
298
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Built " (object/get ?result behavior))} variant="caption" />)
|
|
299
|
+
(emit BUILD_COMPLETE { orbitalName: @entity.orbitalName, behavior: (object/get ?result behavior), value: (object/get ?result value), tier: (object/get (array/nth @config.ladder @entity.step) name), fields: @entity.filledFields })
|
|
300
|
+
BUILD_FAILED -> filling when (and (= (object/get (array/nth @config.ladder @entity.step) action) "fill") (< @entity.repairs @config.maxRepairs))
|
|
301
|
+
(set @entity.repairs (+ @entity.repairs 1))
|
|
302
|
+
(set @entity.status filling)
|
|
303
|
+
(emit BUILD_PROGRESS { status: "repairing", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
304
|
+
(emit CONVERSE {
|
|
305
|
+
messages: [{ role: "user", content: @entity.request }, { role: "user", content: (str/concat "The result did not validate. The validator's issues: " (json/stringify (if (== ?errors null) [] ?errors)) " (" ?error "). Call FILL again with corrected values.") }]
|
|
306
|
+
instructions: @config.fillInstructions
|
|
307
|
+
tools: [{ event: @config.fillEvent, payload: @entity.tool }]
|
|
308
|
+
ephemeral: true
|
|
309
|
+
})
|
|
310
|
+
BUILD_FAILED -> failed when (or (!= (object/get (array/nth @config.ladder @entity.step) action) "fill") (>= @entity.repairs @config.maxRepairs))
|
|
110
311
|
(set @entity.error ?error)
|
|
111
312
|
(set @entity.status failed)
|
|
112
|
-
(render-ui
|
|
113
|
-
(emit BUILD_REJECTED { error: ?error, errors: ?errors })
|
|
313
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
314
|
+
(emit BUILD_REJECTED { error: ?error, errors: (if (== ?errors null) [] ?errors) })
|
|
114
315
|
}
|
|
115
316
|
|
|
116
317
|
state done {
|
|
@@ -119,7 +320,18 @@ orbital AgentBuilderOrbital {
|
|
|
119
320
|
RESET -> idle
|
|
120
321
|
(set @entity.status idle)
|
|
121
322
|
(set @entity.pick null)
|
|
122
|
-
(render-ui
|
|
323
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
324
|
+
START -> searching
|
|
325
|
+
(set @entity.request ?request)
|
|
326
|
+
(set @entity.orbitalName ?orbitalName)
|
|
327
|
+
(set @entity.context (str/default ?context ""))
|
|
328
|
+
(set @entity.step 0)
|
|
329
|
+
(set @entity.repairs 0)
|
|
330
|
+
(set @entity.status searching)
|
|
331
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
332
|
+
(call-service llm embed { texts: [?request] } {
|
|
333
|
+
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
334
|
+
})
|
|
123
335
|
}
|
|
124
336
|
|
|
125
337
|
state failed {
|
|
@@ -128,41 +340,123 @@ orbital AgentBuilderOrbital {
|
|
|
128
340
|
RESET -> idle
|
|
129
341
|
(set @entity.status idle)
|
|
130
342
|
(set @entity.pick null)
|
|
131
|
-
(render-ui
|
|
343
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
344
|
+
START -> searching
|
|
345
|
+
(set @entity.request ?request)
|
|
346
|
+
(set @entity.orbitalName ?orbitalName)
|
|
347
|
+
(set @entity.context (str/default ?context ""))
|
|
348
|
+
(set @entity.step 0)
|
|
349
|
+
(set @entity.repairs 0)
|
|
350
|
+
(set @entity.status searching)
|
|
351
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
352
|
+
(call-service llm embed { texts: [?request] } {
|
|
353
|
+
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
354
|
+
})
|
|
132
355
|
}
|
|
133
356
|
|
|
134
357
|
emits {
|
|
135
358
|
BUILD_COMPLETE -> external {
|
|
136
359
|
orbitalName : string!
|
|
137
360
|
behavior : string!
|
|
361
|
+
value : behavior!
|
|
362
|
+
tier : string!
|
|
363
|
+
fields : Map string string
|
|
138
364
|
}
|
|
365
|
+
@description "A tier served the request: the behavior (its specifier and its value), the ladder step that served it, and the extra fields the fill turn wrote."
|
|
366
|
+
@tier "domain"
|
|
139
367
|
BUILD_REJECTED -> external {
|
|
140
368
|
error : string!
|
|
141
369
|
errors : [BuildIssue]
|
|
142
370
|
}
|
|
371
|
+
@description "No tier could serve the request, or the build failed; the validator's issues come back as data."
|
|
372
|
+
@tier "domain"
|
|
373
|
+
BUILD_PROGRESS -> external {
|
|
374
|
+
status : string!
|
|
375
|
+
tier : string
|
|
376
|
+
}
|
|
377
|
+
@description "The build moved on (searching, describing, filling, repairing, building) at a ladder step, for a page that shows the build as it streams."
|
|
378
|
+
@tier "domain"
|
|
379
|
+
POOL_SEARCH -> external {
|
|
380
|
+
vector : [number]!
|
|
381
|
+
take : number
|
|
382
|
+
}
|
|
383
|
+
@description "A pool step asks the pool for its best entries for the request's vector; std-agent-pool's SEARCH answers with POOL_FOUND."
|
|
384
|
+
@tier "domain"
|
|
385
|
+
CONVERSE -> external {
|
|
386
|
+
messages : [AgentChatMessage]!
|
|
387
|
+
instructions : string
|
|
388
|
+
tools : [AgentToolInput]
|
|
389
|
+
ephemeral : boolean
|
|
390
|
+
}
|
|
391
|
+
@tier "internal"
|
|
392
|
+
STEP {
|
|
393
|
+
}
|
|
394
|
+
@tier "internal"
|
|
395
|
+
RANKED {
|
|
396
|
+
}
|
|
397
|
+
@tier "internal"
|
|
143
398
|
REQUEST_EMBEDDED {
|
|
144
399
|
embeddings : [[number]]!
|
|
145
400
|
}
|
|
401
|
+
@tier "internal"
|
|
146
402
|
CATALOG_LISTED {
|
|
147
403
|
result : [CatalogHit]!
|
|
148
404
|
}
|
|
405
|
+
@tier "internal"
|
|
406
|
+
DESCRIBED {
|
|
407
|
+
result : BehaviorDescription!
|
|
408
|
+
}
|
|
409
|
+
@tier "internal"
|
|
149
410
|
BUILT {
|
|
150
411
|
result : Built!
|
|
151
412
|
}
|
|
413
|
+
@tier "internal"
|
|
152
414
|
BUILD_FAILED {
|
|
153
415
|
error : string!
|
|
154
416
|
errors : [BuildIssue]
|
|
155
417
|
}
|
|
418
|
+
@tier "internal"
|
|
156
419
|
}
|
|
157
420
|
|
|
158
421
|
listens {
|
|
159
422
|
START -> external {
|
|
160
423
|
request : string!
|
|
161
424
|
orbitalName : string!
|
|
425
|
+
context : string
|
|
162
426
|
}
|
|
427
|
+
@description "Build a behavior for the request; orbitalName names the program a mount or fill writes; context is any extra the fill turn should know."
|
|
163
428
|
RESET
|
|
429
|
+
POOL_FOUND {
|
|
430
|
+
hits : [PoolHit]!
|
|
431
|
+
}
|
|
432
|
+
@description "The pool's answer to POOL_SEARCH: its best entries, best first."
|
|
433
|
+
FILL -> external {
|
|
434
|
+
config : Map string SExpr
|
|
435
|
+
traits : Map string FilledTrait
|
|
436
|
+
fields : Map string string
|
|
437
|
+
}
|
|
438
|
+
@description "The model's knob settings for the building block and the extra fields it was asked to write."
|
|
439
|
+
BuilderTools.ASSISTANT_REPLIED -> ASSISTANT_REPLIED
|
|
440
|
+
ASSISTANT_REPLIED {
|
|
441
|
+
reply : string
|
|
442
|
+
}
|
|
443
|
+
BuilderTools.ASSISTANT_REPLY_FAILED -> TOOLS_FAILED
|
|
444
|
+
TOOLS_FAILED {
|
|
445
|
+
error : string!
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
trait BuilderTools = ToolLoop.traits.AgentToolLoop {
|
|
451
|
+
config {
|
|
452
|
+
quiet: true
|
|
453
|
+
maxSteps: 4
|
|
454
|
+
cancelKey: "std-agent-builder"
|
|
455
|
+
}
|
|
456
|
+
listens {
|
|
457
|
+
BuilderPipeline.CONVERSE -> CONVERSE
|
|
164
458
|
}
|
|
165
459
|
}
|
|
166
460
|
|
|
167
|
-
page "/agent-builder" as AgentBuilderPage -> BuilderPipeline
|
|
461
|
+
page "/agent-builder" as AgentBuilderPage -> BuilderPipeline, BuilderTools
|
|
168
462
|
}
|
|
@@ -159,10 +159,12 @@ orbital LearnGenerateOrbital {
|
|
|
159
159
|
(let ((fields (array/flatten (array/map (object/get ?result orbitals []) (fn o (array/flatten (array/map (object/get @o traits []) (fn t (array/flatten (array/map (array/filter (object/get (object/get @t stateMachine {}) events []) (fn e (= (object/get @e key "") "ROSTER_LOADED"))) (fn e (array/filter (object/get @e payloadSchema []) (fn f (!= (object/get @f name "") "mode"))))))))))))))
|
|
160
160
|
(do
|
|
161
161
|
(set @entity.instruments (if (> (array/len @fields) 0) (array/append @entity.instruments { behavior: (object/get (array/nth @entity.candidates @entity.cursor) behavior), description: (object/get (array/nth @entity.candidates @entity.cursor) description ""), fields: @fields }) @entity.instruments))
|
|
162
|
-
(
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
(let ((next (+ @entity.cursor 1)))
|
|
163
|
+
(do
|
|
164
|
+
(set @entity.cursor @next)
|
|
165
|
+
(behavior/source { behavior: (object/get (array/nth @entity.candidates @next) behavior) } {
|
|
166
|
+
emit: { failure: GENERATE_FAILED, success: SOURCED }
|
|
167
|
+
})))))
|
|
166
168
|
SOURCED -> choosing when (>= (+ @entity.cursor 1) (array/len @entity.candidates))
|
|
167
169
|
(let ((fields (array/flatten (array/map (object/get ?result orbitals []) (fn o (array/flatten (array/map (object/get @o traits []) (fn t (array/flatten (array/map (array/filter (object/get (object/get @t stateMachine {}) events []) (fn e (= (object/get @e key "") "ROSTER_LOADED"))) (fn e (array/filter (object/get @e payloadSchema []) (fn f (!= (object/get @f name "") "mode"))))))))))))))
|
|
168
170
|
(do
|