@almadar/std 16.253.0 → 16.255.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/evals/eval-agent-builder.lolo +159 -0
- package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +321 -26
- 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-memory.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-audit-capture.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-cross-reference.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-exact-check.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-label-capture.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-geosearch.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-search.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-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,97 @@
|
|
|
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
|
+
fields : Map string string
|
|
22
|
+
description : string
|
|
23
|
+
score : number!
|
|
24
|
+
}
|
|
25
|
+
type Ranked = {
|
|
26
|
+
behavior : string!
|
|
27
|
+
value : behavior!
|
|
28
|
+
trait : trait
|
|
29
|
+
description : string
|
|
30
|
+
fields : Map string string
|
|
31
|
+
score : number!
|
|
32
|
+
}
|
|
33
|
+
type BuilderStep = {
|
|
34
|
+
name : string!
|
|
35
|
+
source : "catalog" | "pool"!
|
|
36
|
+
scope : [string]
|
|
37
|
+
threshold : number!
|
|
38
|
+
action : "mount" | "adopt" | "fill"!
|
|
39
|
+
take : number
|
|
40
|
+
}
|
|
12
41
|
type Built = {
|
|
13
42
|
behavior : string!
|
|
43
|
+
value : behavior!
|
|
14
44
|
}
|
|
15
45
|
type BuildIssue = {
|
|
16
46
|
code : string!
|
|
17
47
|
message : string!
|
|
18
48
|
}
|
|
49
|
+
type AgentChatMessage = {
|
|
50
|
+
role : "user" | "assistant"
|
|
51
|
+
content : string!
|
|
52
|
+
}
|
|
53
|
+
type AgentToolField = {
|
|
54
|
+
name : string!
|
|
55
|
+
type : string!
|
|
56
|
+
required : boolean
|
|
57
|
+
values : [string]
|
|
58
|
+
properties : [AgentToolField]
|
|
59
|
+
description : string
|
|
60
|
+
}
|
|
61
|
+
type AgentToolInput = {
|
|
62
|
+
event : EventAddress!
|
|
63
|
+
payload : [AgentToolField]
|
|
64
|
+
}
|
|
65
|
+
type KnobField = {
|
|
66
|
+
name : string!
|
|
67
|
+
type : string!
|
|
68
|
+
required : boolean
|
|
69
|
+
values : [string]
|
|
70
|
+
properties : [KnobField]
|
|
71
|
+
default : SExpr
|
|
72
|
+
label : string
|
|
73
|
+
description : string
|
|
74
|
+
tier : string
|
|
75
|
+
}
|
|
76
|
+
type DescribedTrait = {
|
|
77
|
+
trait : string!
|
|
78
|
+
knobs : [KnobField]!
|
|
79
|
+
}
|
|
80
|
+
type DescribedOrbital = {
|
|
81
|
+
value : orbital!
|
|
82
|
+
knobs : [KnobField]!
|
|
83
|
+
traits : [DescribedTrait]!
|
|
84
|
+
}
|
|
85
|
+
type BehaviorDescription = {
|
|
86
|
+
behavior : string!
|
|
87
|
+
knobs : [KnobField]!
|
|
88
|
+
orbitals : [DescribedOrbital]!
|
|
89
|
+
}
|
|
90
|
+
type FilledTrait = {
|
|
91
|
+
config : Map string SExpr
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
uses ToolLoop from "std/behaviors/std-agent-tool-loop"
|
|
19
95
|
|
|
20
96
|
orbital AgentBuilderOrbital {
|
|
21
97
|
|
|
@@ -23,33 +99,70 @@ orbital AgentBuilderOrbital {
|
|
|
23
99
|
id : string!
|
|
24
100
|
request : string = ""
|
|
25
101
|
orbitalName : string = ""
|
|
102
|
+
context : string = ""
|
|
26
103
|
queryVector : [number] = []
|
|
104
|
+
step : number = 0
|
|
105
|
+
ranked : [Ranked] = []
|
|
27
106
|
pick : trait = none
|
|
107
|
+
target : orbital = none
|
|
108
|
+
filledConfig : Map string SExpr = {}
|
|
109
|
+
filledTraits : Map string FilledTrait = {}
|
|
110
|
+
filledFields : Map string string = {}
|
|
111
|
+
tool : [AgentToolField] = []
|
|
112
|
+
repairs : number = 0
|
|
28
113
|
behavior : string = ""
|
|
29
114
|
error : string = ""
|
|
30
|
-
status : "idle" | "searching" | "building" | "done" | "failed" = idle
|
|
115
|
+
status : "idle" | "searching" | "describing" | "filling" | "building" | "done" | "failed" = idle
|
|
31
116
|
}
|
|
32
117
|
|
|
33
118
|
trait BuilderPipeline -> BuilderProcess [lifecycle, instance] {
|
|
34
119
|
config {
|
|
35
|
-
|
|
36
|
-
@label "
|
|
37
|
-
@description "
|
|
120
|
+
ladder : [BuilderStep] = [{ name: "mount", source: "catalog", scope: ["almadar-std/ui/core/molecules"], threshold: 0, action: "mount", take: 1 }]
|
|
121
|
+
@label "Caching tiers, cheapest first"
|
|
122
|
+
@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."
|
|
123
|
+
@synonyms "tiers, cache levels, retrieval ladder"
|
|
38
124
|
@tier "domain"
|
|
125
|
+
fillFields : [AgentToolField] = []
|
|
126
|
+
@label "Extra fields the fill turn writes"
|
|
127
|
+
@description "Fields the model fills alongside the knobs (e.g. a one-line hint); they come back in BUILD_COMPLETE's `fields`."
|
|
128
|
+
@tier "domain"
|
|
129
|
+
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."
|
|
130
|
+
@label "How the fill turn is briefed"
|
|
131
|
+
@tier "domain"
|
|
132
|
+
fillEvent : EventAddress = BuilderPipeline.FILL
|
|
133
|
+
@label "Fill tool event"
|
|
134
|
+
@description "The address the model's FILL tool fires; a consumer that renames this trait sets it to its own name."
|
|
135
|
+
@tier "internal"
|
|
136
|
+
maxRepairs : number = 2
|
|
137
|
+
@label "Repair turns"
|
|
138
|
+
@description "How many times validator issues go back to the model before the build fails."
|
|
139
|
+
@tier "policy"
|
|
140
|
+
statusSlot : slot = main
|
|
141
|
+
@label "Status slot"
|
|
142
|
+
@description "Where the builder shows its one-line status; a page running it in the background sends it to `system`."
|
|
143
|
+
@tier "presentation"
|
|
39
144
|
}
|
|
40
145
|
initial: idle
|
|
41
146
|
|
|
42
147
|
state idle {
|
|
43
148
|
INIT -> idle
|
|
44
149
|
(set @entity.status idle)
|
|
45
|
-
(render-ui
|
|
150
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
46
151
|
START -> searching
|
|
47
152
|
(set @entity.request ?request)
|
|
48
153
|
(set @entity.orbitalName ?orbitalName)
|
|
154
|
+
(set @entity.context (str/default ?context ""))
|
|
155
|
+
(set @entity.step 0)
|
|
156
|
+
(set @entity.repairs 0)
|
|
49
157
|
(set @entity.status searching)
|
|
158
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
50
159
|
(call-service llm embed { texts: [?request] } {
|
|
51
160
|
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
52
161
|
})
|
|
162
|
+
FILL -> idle
|
|
163
|
+
CONVERSE -> idle
|
|
164
|
+
ASSISTANT_REPLIED -> idle
|
|
165
|
+
TOOLS_FAILED -> idle
|
|
53
166
|
}
|
|
54
167
|
|
|
55
168
|
state searching {
|
|
@@ -57,17 +170,36 @@ orbital AgentBuilderOrbital {
|
|
|
57
170
|
(set @entity.status searching)
|
|
58
171
|
REQUEST_EMBEDDED -> searching when (> (array/len ?embeddings) 0)
|
|
59
172
|
(set @entity.queryVector (array/first ?embeddings))
|
|
60
|
-
(
|
|
61
|
-
emit: { failure: BUILD_FAILED, success: CATALOG_LISTED }
|
|
62
|
-
})
|
|
173
|
+
(emit STEP {})
|
|
63
174
|
REQUEST_EMBEDDED -> failed when (= (array/len ?embeddings) 0)
|
|
64
175
|
(set @entity.error "The model returned no embedding")
|
|
65
176
|
(set @entity.status failed)
|
|
66
|
-
(render-ui
|
|
177
|
+
(render-ui @config.statusSlot <typography content="Build failed: the model returned no embedding." variant="caption" />)
|
|
67
178
|
(emit BUILD_REJECTED { error: "The model returned no embedding", errors: [] })
|
|
68
|
-
|
|
69
|
-
(
|
|
179
|
+
STEP -> searching when (and (< @entity.step (array/len @config.ladder)) (= (object/get (array/nth @config.ladder @entity.step) source) "catalog"))
|
|
180
|
+
(behavior/catalog { paths: (object/get (array/nth @config.ladder @entity.step) scope []) } {
|
|
181
|
+
emit: { failure: BUILD_FAILED, success: CATALOG_LISTED }
|
|
182
|
+
})
|
|
183
|
+
STEP -> searching when (and (< @entity.step (array/len @config.ladder)) (= (object/get (array/nth @config.ladder @entity.step) source) "pool"))
|
|
184
|
+
(emit POOL_SEARCH { vector: @entity.queryVector, take: (object/get (array/nth @config.ladder @entity.step) take 5) })
|
|
185
|
+
STEP -> failed when (>= @entity.step (array/len @config.ladder))
|
|
186
|
+
(set @entity.error "No tier of the ladder could serve the request")
|
|
187
|
+
(set @entity.status failed)
|
|
188
|
+
(render-ui @config.statusSlot <typography content="No tier could serve the request." variant="caption" />)
|
|
189
|
+
(emit BUILD_REJECTED { error: "No tier of the ladder could serve the request", errors: [] })
|
|
190
|
+
CATALOG_LISTED -> searching
|
|
191
|
+
(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 ""), fields: {}, score: (array/cosine (object/get @e.vectors description) @entity.queryVector) })) score desc))
|
|
192
|
+
(emit RANKED {})
|
|
193
|
+
POOL_FOUND -> searching
|
|
194
|
+
(set @entity.ranked (array/map ?hits (fn h { behavior: @h.behavior, value: @h.value, description: (object/get @h description ""), fields: (object/get @h fields {}), score: @h.score })))
|
|
195
|
+
(emit RANKED {})
|
|
196
|
+
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)))
|
|
197
|
+
(set @entity.step (+ @entity.step 1))
|
|
198
|
+
(emit STEP {})
|
|
199
|
+
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")))
|
|
200
|
+
(set @entity.pick (object/get (array/first @entity.ranked) trait))
|
|
70
201
|
(set @entity.status building)
|
|
202
|
+
(emit BUILD_PROGRESS { status: "building", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
71
203
|
(program/eval (quasiquote {
|
|
72
204
|
name: (unquote @entity.orbitalName)
|
|
73
205
|
orbitals: [{
|
|
@@ -88,14 +220,74 @@ orbital AgentBuilderOrbital {
|
|
|
88
220
|
}) {
|
|
89
221
|
emit: { failure: BUILD_FAILED, success: BUILT }
|
|
90
222
|
})
|
|
91
|
-
|
|
92
|
-
(set @entity.
|
|
223
|
+
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")))
|
|
224
|
+
(set @entity.behavior (object/get (array/first @entity.ranked) behavior))
|
|
225
|
+
(set @entity.status done)
|
|
226
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Adopted " @entity.behavior)} variant="caption" />)
|
|
227
|
+
(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/get (array/first @entity.ranked) fields {}) })
|
|
228
|
+
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")))
|
|
229
|
+
(set @entity.status describing)
|
|
230
|
+
(emit BUILD_PROGRESS { status: "describing", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
231
|
+
(behavior/describe { behavior: (object/get (array/first @entity.ranked) behavior) } {
|
|
232
|
+
emit: { failure: BUILD_FAILED, success: DESCRIBED }
|
|
233
|
+
})
|
|
234
|
+
BUILD_FAILED -> failed
|
|
235
|
+
(set @entity.error ?error)
|
|
236
|
+
(set @entity.status failed)
|
|
237
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
238
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
state describing {
|
|
242
|
+
INIT -> describing
|
|
243
|
+
(set @entity.status describing)
|
|
244
|
+
DESCRIBED -> filling when (> (array/len (object/get ?result orbitals [])) 0)
|
|
245
|
+
(let ((o (array/first (object/get ?result orbitals []))))
|
|
246
|
+
(do
|
|
247
|
+
(set @entity.target (object/get @o value))
|
|
248
|
+
(set @entity.tool [
|
|
249
|
+
{ 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"]))) },
|
|
250
|
+
{ 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"]))) }] })) },
|
|
251
|
+
{ name: "fields", type: "object", required: (> (array/len @config.fillFields) 0), properties: @config.fillFields }
|
|
252
|
+
])
|
|
253
|
+
(set @entity.status filling)
|
|
254
|
+
(emit BUILD_PROGRESS { status: "filling", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
255
|
+
(emit CONVERSE {
|
|
256
|
+
messages: [{ role: "user", content: (if (= @entity.context "") @entity.request (str/concat @entity.request "\n\n" @entity.context)) }]
|
|
257
|
+
instructions: (str/concat @config.fillInstructions "\nThe building block: " (object/get (array/first @entity.ranked) behavior) " — " (object/get (array/first @entity.ranked) description ""))
|
|
258
|
+
tools: [{ event: @config.fillEvent, payload: @entity.tool }]
|
|
259
|
+
ephemeral: true
|
|
260
|
+
})))
|
|
261
|
+
DESCRIBED -> failed when (= (array/len (object/get ?result orbitals [])) 0)
|
|
262
|
+
(set @entity.error "The best match has no orbital to fill")
|
|
93
263
|
(set @entity.status failed)
|
|
94
|
-
(render-ui
|
|
264
|
+
(render-ui @config.statusSlot <typography content="Build failed: the best match has no orbital to fill." variant="caption" />)
|
|
265
|
+
(emit BUILD_REJECTED { error: "The best match has no orbital to fill", errors: [] })
|
|
95
266
|
BUILD_FAILED -> failed
|
|
96
267
|
(set @entity.error ?error)
|
|
97
268
|
(set @entity.status failed)
|
|
98
|
-
(render-ui
|
|
269
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
270
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
state filling {
|
|
274
|
+
INIT -> filling
|
|
275
|
+
(set @entity.status filling)
|
|
276
|
+
FILL -> filling
|
|
277
|
+
(set @entity.filledConfig (if (== ?config null) {} ?config))
|
|
278
|
+
(set @entity.filledTraits (if (== ?traits null) {} ?traits))
|
|
279
|
+
(set @entity.filledFields (if (== ?fields null) {} ?fields))
|
|
280
|
+
ASSISTANT_REPLIED -> building
|
|
281
|
+
(set @entity.status building)
|
|
282
|
+
(emit BUILD_PROGRESS { status: "building", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
283
|
+
(program/eval (quasiquote { name: (unquote @entity.orbitalName), orbitals: [(unquote (behavior/apply @entity.target { config: @entity.filledConfig, traits: @entity.filledTraits }))] }) { final: true } {
|
|
284
|
+
emit: { failure: BUILD_FAILED, success: BUILT }
|
|
285
|
+
})
|
|
286
|
+
TOOLS_FAILED -> failed
|
|
287
|
+
(set @entity.error ?error)
|
|
288
|
+
(set @entity.status failed)
|
|
289
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
290
|
+
(emit BUILD_REJECTED { error: ?error, errors: [] })
|
|
99
291
|
}
|
|
100
292
|
|
|
101
293
|
state building {
|
|
@@ -104,13 +296,23 @@ orbital AgentBuilderOrbital {
|
|
|
104
296
|
BUILT -> done
|
|
105
297
|
(set @entity.behavior (object/get ?result behavior))
|
|
106
298
|
(set @entity.status done)
|
|
107
|
-
(render-ui
|
|
108
|
-
(emit BUILD_COMPLETE { orbitalName: @entity.orbitalName, behavior: (object/get ?result behavior) })
|
|
109
|
-
BUILD_FAILED ->
|
|
299
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Built " (object/get ?result behavior))} variant="caption" />)
|
|
300
|
+
(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 })
|
|
301
|
+
BUILD_FAILED -> filling when (and (= (object/get (array/nth @config.ladder @entity.step) action) "fill") (< @entity.repairs @config.maxRepairs))
|
|
302
|
+
(set @entity.repairs (+ @entity.repairs 1))
|
|
303
|
+
(set @entity.status filling)
|
|
304
|
+
(emit BUILD_PROGRESS { status: "repairing", tier: (object/get (array/nth @config.ladder @entity.step) name) })
|
|
305
|
+
(emit CONVERSE {
|
|
306
|
+
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.") }]
|
|
307
|
+
instructions: @config.fillInstructions
|
|
308
|
+
tools: [{ event: @config.fillEvent, payload: @entity.tool }]
|
|
309
|
+
ephemeral: true
|
|
310
|
+
})
|
|
311
|
+
BUILD_FAILED -> failed when (or (!= (object/get (array/nth @config.ladder @entity.step) action) "fill") (>= @entity.repairs @config.maxRepairs))
|
|
110
312
|
(set @entity.error ?error)
|
|
111
313
|
(set @entity.status failed)
|
|
112
|
-
(render-ui
|
|
113
|
-
(emit BUILD_REJECTED { error: ?error, errors: ?errors })
|
|
314
|
+
(render-ui @config.statusSlot <typography content={(str/concat "Build failed: " ?error)} variant="caption" />)
|
|
315
|
+
(emit BUILD_REJECTED { error: ?error, errors: (if (== ?errors null) [] ?errors) })
|
|
114
316
|
}
|
|
115
317
|
|
|
116
318
|
state done {
|
|
@@ -119,7 +321,18 @@ orbital AgentBuilderOrbital {
|
|
|
119
321
|
RESET -> idle
|
|
120
322
|
(set @entity.status idle)
|
|
121
323
|
(set @entity.pick null)
|
|
122
|
-
(render-ui
|
|
324
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
325
|
+
START -> searching
|
|
326
|
+
(set @entity.request ?request)
|
|
327
|
+
(set @entity.orbitalName ?orbitalName)
|
|
328
|
+
(set @entity.context (str/default ?context ""))
|
|
329
|
+
(set @entity.step 0)
|
|
330
|
+
(set @entity.repairs 0)
|
|
331
|
+
(set @entity.status searching)
|
|
332
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
333
|
+
(call-service llm embed { texts: [?request] } {
|
|
334
|
+
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
335
|
+
})
|
|
123
336
|
}
|
|
124
337
|
|
|
125
338
|
state failed {
|
|
@@ -128,41 +341,123 @@ orbital AgentBuilderOrbital {
|
|
|
128
341
|
RESET -> idle
|
|
129
342
|
(set @entity.status idle)
|
|
130
343
|
(set @entity.pick null)
|
|
131
|
-
(render-ui
|
|
344
|
+
(render-ui @config.statusSlot <typography content="Ready to build." variant="caption" />)
|
|
345
|
+
START -> searching
|
|
346
|
+
(set @entity.request ?request)
|
|
347
|
+
(set @entity.orbitalName ?orbitalName)
|
|
348
|
+
(set @entity.context (str/default ?context ""))
|
|
349
|
+
(set @entity.step 0)
|
|
350
|
+
(set @entity.repairs 0)
|
|
351
|
+
(set @entity.status searching)
|
|
352
|
+
(emit BUILD_PROGRESS { status: "searching", tier: "" })
|
|
353
|
+
(call-service llm embed { texts: [?request] } {
|
|
354
|
+
emit: { failure: BUILD_FAILED, success: REQUEST_EMBEDDED }
|
|
355
|
+
})
|
|
132
356
|
}
|
|
133
357
|
|
|
134
358
|
emits {
|
|
135
359
|
BUILD_COMPLETE -> external {
|
|
136
360
|
orbitalName : string!
|
|
137
361
|
behavior : string!
|
|
362
|
+
value : behavior!
|
|
363
|
+
tier : string!
|
|
364
|
+
fields : Map string string
|
|
138
365
|
}
|
|
366
|
+
@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 (or that the adopted pool entry carries)."
|
|
367
|
+
@tier "domain"
|
|
139
368
|
BUILD_REJECTED -> external {
|
|
140
369
|
error : string!
|
|
141
370
|
errors : [BuildIssue]
|
|
142
371
|
}
|
|
372
|
+
@description "No tier could serve the request, or the build failed; the validator's issues come back as data."
|
|
373
|
+
@tier "domain"
|
|
374
|
+
BUILD_PROGRESS -> external {
|
|
375
|
+
status : string!
|
|
376
|
+
tier : string
|
|
377
|
+
}
|
|
378
|
+
@description "The build moved on (searching, describing, filling, repairing, building) at a ladder step, for a page that shows the build as it streams."
|
|
379
|
+
@tier "domain"
|
|
380
|
+
POOL_SEARCH -> external {
|
|
381
|
+
vector : [number]!
|
|
382
|
+
take : number
|
|
383
|
+
}
|
|
384
|
+
@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."
|
|
385
|
+
@tier "domain"
|
|
386
|
+
CONVERSE -> external {
|
|
387
|
+
messages : [AgentChatMessage]!
|
|
388
|
+
instructions : string
|
|
389
|
+
tools : [AgentToolInput]
|
|
390
|
+
ephemeral : boolean
|
|
391
|
+
}
|
|
392
|
+
@tier "internal"
|
|
393
|
+
STEP {
|
|
394
|
+
}
|
|
395
|
+
@tier "internal"
|
|
396
|
+
RANKED {
|
|
397
|
+
}
|
|
398
|
+
@tier "internal"
|
|
143
399
|
REQUEST_EMBEDDED {
|
|
144
400
|
embeddings : [[number]]!
|
|
145
401
|
}
|
|
402
|
+
@tier "internal"
|
|
146
403
|
CATALOG_LISTED {
|
|
147
404
|
result : [CatalogHit]!
|
|
148
405
|
}
|
|
406
|
+
@tier "internal"
|
|
407
|
+
DESCRIBED {
|
|
408
|
+
result : BehaviorDescription!
|
|
409
|
+
}
|
|
410
|
+
@tier "internal"
|
|
149
411
|
BUILT {
|
|
150
412
|
result : Built!
|
|
151
413
|
}
|
|
414
|
+
@tier "internal"
|
|
152
415
|
BUILD_FAILED {
|
|
153
416
|
error : string!
|
|
154
417
|
errors : [BuildIssue]
|
|
155
418
|
}
|
|
419
|
+
@tier "internal"
|
|
156
420
|
}
|
|
157
421
|
|
|
158
422
|
listens {
|
|
159
423
|
START -> external {
|
|
160
424
|
request : string!
|
|
161
425
|
orbitalName : string!
|
|
426
|
+
context : string
|
|
162
427
|
}
|
|
428
|
+
@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
429
|
RESET
|
|
430
|
+
POOL_FOUND {
|
|
431
|
+
hits : [PoolHit]!
|
|
432
|
+
}
|
|
433
|
+
@description "The pool's answer to POOL_SEARCH: its best entries, best first."
|
|
434
|
+
FILL -> external {
|
|
435
|
+
config : Map string SExpr
|
|
436
|
+
traits : Map string FilledTrait
|
|
437
|
+
fields : Map string string
|
|
438
|
+
}
|
|
439
|
+
@description "The model's knob settings for the building block and the extra fields it was asked to write."
|
|
440
|
+
BuilderTools.ASSISTANT_REPLIED -> ASSISTANT_REPLIED
|
|
441
|
+
ASSISTANT_REPLIED {
|
|
442
|
+
reply : string
|
|
443
|
+
}
|
|
444
|
+
BuilderTools.ASSISTANT_REPLY_FAILED -> TOOLS_FAILED
|
|
445
|
+
TOOLS_FAILED {
|
|
446
|
+
error : string!
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
trait BuilderTools = ToolLoop.traits.AgentToolLoop {
|
|
452
|
+
config {
|
|
453
|
+
quiet: true
|
|
454
|
+
maxSteps: 4
|
|
455
|
+
cancelKey: "std-agent-builder"
|
|
456
|
+
}
|
|
457
|
+
listens {
|
|
458
|
+
BuilderPipeline.CONVERSE -> CONVERSE
|
|
164
459
|
}
|
|
165
460
|
}
|
|
166
461
|
|
|
167
|
-
page "/agent-builder" as AgentBuilderPage -> BuilderPipeline
|
|
462
|
+
page "/agent-builder" as AgentBuilderPage -> BuilderPipeline, BuilderTools
|
|
168
463
|
}
|