@almadar/std 16.253.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/evals/eval-agent-builder.lolo +152 -0
- package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +320 -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-fix-loop.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-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-detail-layout.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-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 +1 @@
|
|
|
1
|
-
{"name":"std-multi-party-flow","version":"3.0.2","description":"std-multi-party-flow — Escrow.com / DocuSign / Stripe Connect style multi-party transaction. Header + summary (subject/amount/reference) + named parties (avatar/role/actor) + stage progress + your-turn panel + activity feed + dispute/cancel escape hatches. Topology = loading / awaiting / capturing_dispute / capturing_cancel / funded / released / disputed / cancelled / error.","orbitals":[{"name":"MultiPartyFlowOrbital","id":"orb_58YWDH9Q86VM39ZMSG8JN2XWC7","entity":{"name":"MultiPartyView","id":"ent_X08E94N56TJKD7S7058VEEB90C","persistence":"runtime","fields":[{"name":"id","type":"string","required":true},{"name":"parties","type":"array","default":[],"items":{"type":"object","properties":{"id":{"name":"id","type":"string","required":true},"title":{"name":"title","type":"string","required":true},"actionIcon":{"name":"actionIcon","type":"string","required":false},"description":{"name":"description","type":"string","required":false},"icon":{"name":"icon","type":"string","required":false},"actionLabel":{"name":"actionLabel","type":"string","required":false},"actor":{"name":"actor","type":"string","required":false}}},"description":"A list of participants involved in the transaction.","synonyms":"participants, actors, members, roles"},{"name":"currentPartyIndex","type":"number","default":0,"description":"The numerical position of the current party in the list.","synonyms":"index, position, order"},{"name":"totalParties","type":"number","default":0,"description":"The total number of participants involved in the process.","synonyms":"count, size, quantity, number_of_parties"},{"name":"currentPartyId","type":"string","default":"","description":"Unique identifier for the currently active party.","synonyms":"party identifier, party key, party reference"},{"name":"currentPartyTitle","type":"string","default":"","description":"The descriptive name of the current party involved.","synonyms":"party name, party label, party identifier"},{"name":"currentPartyActor","type":"string","default":"","description":"The identifier of the currently active participant.","synonyms":"actor, identifier, user, participant"},{"name":"currentPartyIcon","type":"string","default":"user","description":"Icon representing the current party in the multi-party flow.","synonyms":"image, icon, avatar"},{"name":"currentActionLabel","type":"string","default":"Confirm","description":"The text displayed for the current action being performed.","synonyms":"action, task, operation, step"},{"name":"currentActionIcon","type":"string","default":"check","description":"Icon representing the current action being performed.","synonyms":"icon, image, symbol"},{"name":"currentActionDescription","type":"string","default":"","description":"A brief explanation of the action being performed.","synonyms":"action, description, task, operation"},{"name":"currentStepLabel","type":"string","default":"Step 1","description":"The text displayed for the current stage of the process.","synonyms":"step, stage, status, phase"},{"name":"audit","type":"array","default":[],"items":{"type":"object","properties":{"id":{"name":"id","type":"string","required":true},"description":{"name":"description","type":"string","required":false},"title":{"name":"title","type":"string","required":true},"timestamp":{"name":"timestamp","type":"string","required":false},"status":{"name":"status","type":"string","required":false,"values":["complete","active","pending","error"]}}},"description":"Records of changes and events related to the view.","synonyms":"history, log, changes, events"},{"name":"reason","type":"string","default":"","description":"The justification or explanation for an action or event.","synonyms":"justification, explanation, cause, rationale"},{"name":"disputeReason","type":"string","default":"","description":"The reason provided for initiating a dispute.","synonyms":"dispute explanation, dispute justification, reason for dispute"},{"name":"cancelReason","type":"string","default":"","description":"The reason provided for cancelling the transaction.","synonyms":"cancellation reason, cancel explanation, rejection reason"},{"name":"errorMessage","type":"string","default":"","description":"A textual description of an error condition.","synonyms":"error, error message, problem, issue"}]},"traits":[{"name":"MultiPartyTransaction","id":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z","entityRebindable":true,"entityContract":{"requires":[],"provides":["audit","cancelReason","currentActionDescription","currentActionIcon","currentActionLabel","currentPartyActor","currentPartyIcon","currentPartyId","currentPartyIndex","currentPartyTitle","currentStepLabel","disputeReason","errorMessage","parties","reason","totalParties"]},"effectRow":[{"kind":"fetch","resource":"MultiPartyView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.audit"},{"kind":"set","resource":"@entity.cancelReason"},{"kind":"set","resource":"@entity.currentActionDescription"},{"kind":"set","resource":"@entity.currentActionIcon"},{"kind":"set","resource":"@entity.currentActionLabel"},{"kind":"set","resource":"@entity.currentPartyActor"},{"kind":"set","resource":"@entity.currentPartyIcon"},{"kind":"set","resource":"@entity.currentPartyId"},{"kind":"set","resource":"@entity.currentPartyIndex"},{"kind":"set","resource":"@entity.currentPartyTitle"},{"kind":"set","resource":"@entity.currentStepLabel"},{"kind":"set","resource":"@entity.disputeReason"},{"kind":"set","resource":"@entity.errorMessage"},{"kind":"set","resource":"@entity.parties"},{"kind":"set","resource":"@entity.reason"},{"kind":"set","resource":"@entity.totalParties"}],"category":"interaction","capabilities":["multi-party"],"linkedEntity":"MultiPartyView","linkedEntityId":"ent_X08E94N56TJKD7S7058VEEB90C","entityRefIds":{"MultiPartyView":"ent_X08E94N56TJKD7S7058VEEB90C"},"emits":[{"event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","description":"Signals a party's acceptance or agreement within the flow.","synonyms":"accept, acknowledge, confirm, approve","tier":"domain","payloadSchema":[{"name":"partyKey","type":"string"}]},{"event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","description":"Signals the dispute process has been initiated.","synonyms":"dispute, challenge, contest","tier":"domain"},{"event":"CANCEL_TRANSACTION","eventId":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","description":"Indicates a transaction cancellation request has been initiated.","synonyms":"terminate, end, void, revoke","tier":"domain"},{"event":"SUBMIT_DISPUTE","eventId":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","description":"Signals a dispute submission request.","synonyms":"dispute, challenge, contest","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"SUBMIT_CANCEL","eventId":"evt_4951TRZD37PHKYGF35VTKGY0F5","description":"Signals a cancellation request has been submitted.","synonyms":"request cancel, initiate cancellation, submit termination","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","description":"Indicates a reason was provided for transaction cancellation.","synonyms":"reason, explanation, justification","tier":"presentation"},{"event":"RELEASE","eventId":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","description":"Transaction funds are distributed to the intended recipients.","synonyms":"complete, finalize, distribute, payout","tier":"domain"},{"event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","description":"Initiates a reset of the current transaction flow.","synonyms":"reset, refresh, reinitialize","tier":"presentation"},{"event":"FlowLoaded","eventId":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","description":"Signals successful loading of the transaction flow data.","synonyms":"loaded, initialized, ready","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"entity":"ObjectSpec"}]},{"event":"FlowLoadFailed","eventId":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","description":"Indicates that loading the flow data failed.","synonyms":"failure, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"loading","isInitial":true},{"name":"awaiting"},{"name":"capturing_dispute"},{"name":"capturing_cancel"},{"name":"funded"},{"name":"released"},{"name":"disputed"},{"name":"cancelled"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_5HEJ88SVQDXVPTPG2NDD180966","name":"Initialize"},{"key":"FlowLoaded","id":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","name":"Flow loaded","description":"Signals successful loading of the transaction flow data.","synonyms":"loaded, initialized, ready","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}]}],"listened":true},{"key":"FlowLoadFailed","id":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","name":"Flow load failed","description":"Indicates that loading the flow data failed.","synonyms":"failure, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"FlowSaved","id":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","name":"Flow saved","description":"Indicates the flow data has been successfully saved.","synonyms":"saved, updated, persisted","tier":"presentation","payloadSchema":[{"name":"row","type":"@entity"}],"listened":true},{"key":"FlowSaveFailed","id":"evt_PDVE06TKB89NM8V5T46D4VS1PR","name":"Flow save failed","description":"Indicates a failure to save the current flow state.","synonyms":"failed, error, unsuccessful, save error","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"PARTY_CONFIRM","id":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","name":"Party Confirm","description":"Signals a party's acceptance or agreement within the flow.","synonyms":"accept, acknowledge, confirm, approve","tier":"domain","payloadSchema":[{"name":"partyKey","type":"string"}],"listened":true},{"key":"OPEN_DISPUTE","id":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","name":"Open Dispute","description":"Signals the dispute process has been initiated.","synonyms":"dispute, challenge, contest","tier":"domain","listened":true},{"key":"CANCEL_TRANSACTION","id":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","name":"Cancel Transaction","description":"Indicates a transaction cancellation request has been initiated.","synonyms":"terminate, end, void, revoke","tier":"domain","listened":true},{"key":"SUBMIT_DISPUTE","id":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","name":"Submit Dispute","description":"Signals a dispute submission request.","synonyms":"dispute, challenge, contest","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REASON","id":"evt_S28RJ2CJK799KT4NATEAKZV2T6","name":"Cancel Reason","description":"Indicates a reason was provided for transaction cancellation.","synonyms":"reason, explanation, justification","tier":"presentation","listened":true},{"key":"SUBMIT_CANCEL","id":"evt_4951TRZD37PHKYGF35VTKGY0F5","name":"Submit Cancel","description":"Signals a cancellation request has been submitted.","synonyms":"request cancel, initiate cancellation, submit termination","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"RELEASE","id":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","name":"Release","description":"Transaction funds are distributed to the intended recipients.","synonyms":"complete, finalize, distribute, payout","tier":"domain","listened":true},{"key":"RESTART","id":"evt_858BEPSX0WYGE47JM37H2PNTH6","name":"Restart","description":"Initiates a reset of the current transaction flow.","synonyms":"reset, refresh, reinitialize","tier":"presentation","listened":true}],"transitions":[{"from":"loading","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"loading","to":"awaiting","event":"FlowLoaded","eventId":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","effects":[["set","@entity.currentPartyIndex",0],["set","@entity.totalParties",["array/len","@config.parties"]],["set","@entity.parties",["array/map","@config.parties",["fn","party",{"actionIcon":["object/get","@party","actionIcon","check"],"actionLabel":["object/get","@party","actionLabel","Confirm"],"actor":["object/get","@party","actor",""],"description":["object/get","@party","description",""],"icon":["object/get","@party","icon","user"],"id":["object/get","@party","id"],"title":["object/get","@party","title"]}]]],["set","@entity.currentPartyId",["object/get",["array/first","@config.parties"],"id",""]],["set","@entity.currentPartyTitle",["object/get",["array/first","@config.parties"],"title",""]],["set","@entity.currentPartyActor",["object/get",["array/first","@config.parties"],"actor",""]],["set","@entity.currentPartyIcon",["object/get",["array/first","@config.parties"],"icon","user"]],["set","@entity.currentActionLabel",["object/get",["array/first","@config.parties"],"actionLabel","Confirm"]],["set","@entity.currentActionIcon",["object/get",["array/first","@config.parties"],"actionIcon","check"]],["set","@entity.currentActionDescription",["object/get",["array/first","@config.parties"],"actionDescription",""]],["set","@entity.currentStepLabel",["object/get",["array/first","@config.parties"],"stepLabel","Step 1"]],["set","@entity.audit",[{"description":["str/concat","Reference ","@config.transactionReference"],"id":"init","status":"complete","timestamp":"Just now","title":"Transaction opened"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"git-pull-request","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Active","type":"badge","variant":"primary"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Parties","type":"typography","variant":"h4"},{"entity":"@entity.parties","fields":[],"gap":"sm","renderItem":["fn","party",{"children":[{"align":"center","children":[{"name":"@party.icon","size":"lg","type":"icon"},{"children":[{"align":"center","children":[{"content":"@party.title","type":"typography","variant":"h4"},{"color":"muted","content":"·","type":"typography"},{"content":"@party.actor","type":"typography","variant":"body"}],"direction":"horizontal","gap":"xs","type":"stack"},{"color":"muted","content":"@party.description","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"},{"content":"Progress","type":"typography","variant":"h4"},{"currentStep":"@entity.currentPartyIndex","steps":"@entity.parties","type":"wizard-progress"},{"children":[{"children":[{"align":"center","children":[{"name":"clock","type":"icon"},{"color":"muted","content":"@entity.currentStepLabel","type":"typography","variant":"caption"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"Waiting for","type":"typography","variant":"caption"},{"content":"@entity.currentPartyActor","type":"typography","variant":"body","weight":"bold"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@entity.currentActionDescription","type":"typography","variant":"body"},{"action":"PARTY_CONFIRM","actionPayload":{"partyKey":"@entity.currentPartyId"},"icon":"@entity.currentActionIcon","label":"@entity.currentActionLabel","type":"button","variant":"primary"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"type":"divider"},{"align":"center","children":[{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"},{"action":"CANCEL_TRANSACTION","icon":"@config.cancelIcon","label":"@config.cancelLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"loading","to":"error","event":"FlowLoadFailed","eventId":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to load","type":"error-state"}]]},{"from":"loading","to":"awaiting","event":"FlowSaved","eventId":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","effects":[["render-ui","main",{"title":"Refreshing…","type":"loading-state"}]]},{"from":"loading","to":"error","event":"FlowSaveFailed","eventId":"evt_PDVE06TKB89NM8V5T46D4VS1PR","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Save failed","type":"error-state"}]]},{"from":"awaiting","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"awaiting","to":"awaiting","event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","guard":["not",["=",["+","@entity.currentPartyIndex",1],"@entity.totalParties"]],"effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@entity.currentPartyActor"," completed: ","@entity.currentActionLabel"],"id":["str/concat","confirm-",["object/get","@payload","partyKey",""]],"status":"complete","timestamp":["time/now"],"title":["str/concat","@entity.currentPartyTitle"," confirmed"]}]],["set","@entity.currentPartyIndex",["+","@entity.currentPartyIndex",1]],["set","@entity.currentPartyId",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"id",""]],["set","@entity.currentPartyTitle",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"title",""]],["set","@entity.currentPartyActor",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actor",""]],["set","@entity.currentPartyIcon",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"icon","user"]],["set","@entity.currentActionLabel",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionLabel","Confirm"]],["set","@entity.currentActionIcon",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionIcon","check"]],["set","@entity.currentActionDescription",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionDescription",""]],["set","@entity.currentStepLabel",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"stepLabel","Step"]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"git-pull-request","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Active","type":"badge","variant":"primary"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Parties","type":"typography","variant":"h4"},{"entity":"@entity.parties","fields":[],"gap":"sm","renderItem":["fn","party",{"children":[{"align":"center","children":[{"name":"@party.icon","size":"lg","type":"icon"},{"children":[{"align":"center","children":[{"content":"@party.title","type":"typography","variant":"h4"},{"color":"muted","content":"·","type":"typography"},{"content":"@party.actor","type":"typography","variant":"body"}],"direction":"horizontal","gap":"xs","type":"stack"},{"color":"muted","content":"@party.description","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"},{"content":"Progress","type":"typography","variant":"h4"},{"currentStep":"@entity.currentPartyIndex","steps":"@entity.parties","type":"wizard-progress"},{"children":[{"children":[{"align":"center","children":[{"name":"clock","type":"icon"},{"color":"muted","content":"@entity.currentStepLabel","type":"typography","variant":"caption"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"Waiting for","type":"typography","variant":"caption"},{"content":"@entity.currentPartyActor","type":"typography","variant":"body","weight":"bold"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@entity.currentActionDescription","type":"typography","variant":"body"},{"action":"PARTY_CONFIRM","actionPayload":{"partyKey":"@entity.currentPartyId"},"icon":"@entity.currentActionIcon","label":"@entity.currentActionLabel","type":"button","variant":"primary"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"type":"divider"},{"align":"center","children":[{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"},{"action":"CANCEL_TRANSACTION","icon":"@config.cancelIcon","label":"@config.cancelLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"awaiting","to":"funded","event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","guard":["=",["+","@entity.currentPartyIndex",1],"@entity.totalParties"],"effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@entity.currentPartyActor"," completed: ","@entity.currentActionLabel"],"id":["str/concat","confirm-",["object/get","@payload","partyKey",""]],"status":"complete","timestamp":["time/now"],"title":["str/concat","@entity.currentPartyTitle"," confirmed"]}]],["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@config.transactionAmount"," is now funded and ready for release."],"id":"all-confirmed","status":"complete","timestamp":["time/now"],"title":"All parties confirmed"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"lock","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Funded","type":"badge","variant":"success"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"children":[{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"All parties confirmed","type":"typography","variant":"h2"},{"align":"center","color":"muted","content":"Funds are held in escrow and ready for release to the seller.","type":"typography","variant":"body"},{"align":"center","children":[{"action":"RELEASE","icon":"@config.releaseIcon","label":"@config.releaseLabel","type":"button","variant":"success"},{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"awaiting","to":"capturing_dispute","event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"Open a dispute","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Describe the issue so all parties and the escrow officer can review. Funds will remain in escrow until the dispute is resolved.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_DISPUTE","submitLabel":"Submit dispute","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"awaiting","to":"capturing_cancel","event":"CANCEL_TRANSACTION","eventId":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"x-circle","size":"lg","type":"icon"},{"content":"Cancel transaction","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Tell the other parties why this transaction is being cancelled. Any escrowed funds will be returned to the buyer.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_CANCEL","submitLabel":"Cancel transaction","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"capturing_dispute","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_dispute","to":"disputed","event":"SUBMIT_DISPUTE","eventId":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","effects":[["set","@entity.disputeReason",["object/get","@payload.data","reason",""]],["set","@entity.audit",["array/append","@entity.audit",{"description":"@entity.disputeReason","id":"dispute-opened","status":"error","timestamp":["time/now"],"title":"Dispute opened"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Disputed","type":"badge","variant":"danger"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Reason for dispute","type":"typography","variant":"caption"},{"content":"@entity.disputeReason","type":"typography","variant":"body"},{"type":"divider"},{"color":"muted","content":"An escrow officer will contact all parties within one business day. Funds remain held until resolution.","type":"typography","variant":"caption"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"capturing_dispute","to":"loading","event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_cancel","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_cancel","to":"cancelled","event":"SUBMIT_CANCEL","eventId":"evt_4951TRZD37PHKYGF35VTKGY0F5","effects":[["set","@entity.cancelReason",["object/get","@payload.data","reason",""]],["set","@entity.audit",["array/append","@entity.audit",{"description":"@entity.cancelReason","id":"cancelled","status":"error","timestamp":["time/now"],"title":"Transaction cancelled"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"x-circle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Cancelled","type":"badge","variant":"warning"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Reason for cancellation","type":"typography","variant":"caption"},{"content":"@entity.cancelReason","type":"typography","variant":"body"},{"type":"divider"},{"color":"muted","content":"Any escrowed funds have been returned to the buyer.","type":"typography","variant":"caption"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"capturing_cancel","to":"loading","event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"funded","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"funded","to":"released","event":"RELEASE","eventId":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@config.transactionAmount"," released to the seller. Transaction complete."],"id":"released","status":"complete","timestamp":["time/now"],"title":"Funds released"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"check-circle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Completed","type":"badge","variant":"success"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"Transaction complete","type":"typography","variant":"h2"},{"align":"center","content":"@config.transactionAmount","type":"typography","variant":"h1"},{"align":"center","color":"muted","content":"Funds have been released to the seller.","type":"typography","variant":"body"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"funded","to":"capturing_dispute","event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"Open a dispute","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Describe the issue so all parties and the escrow officer can review. Funds will remain in escrow until the dispute is resolved.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_DISPUTE","submitLabel":"Submit dispute","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"released","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"released","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"disputed","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"disputed","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"cancelled","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"cancelled","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"error","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]}]},"config":{"cancelIcon":{"type":"string","default":"x","label":"Cancel icon","description":"Icon next to the cancel button","tier":"presentation"},"releaseIcon":{"type":"string","default":"unlock","label":"Release icon","description":"Icon next to the release button","tier":"presentation"},"cancelLabel":{"type":"string","default":"Cancel transaction","label":"Cancel button","description":"Label on the cancel-transaction escape-hatch button","tier":"presentation"},"releaseLabel":{"type":"string","default":"Release funds","label":"Release button","description":"Label on the final-release primary button","tier":"presentation"},"disputeIcon":{"type":"string","default":"alert-triangle","label":"Dispute icon","description":"Icon next to the dispute button","tier":"presentation"},"disputeLabel":{"type":"string","default":"Open dispute","label":"Dispute button","description":"Label on the open-dispute escape-hatch button","tier":"presentation"},"timelineLook":{"type":"string","default":"vertical-spacious","label":"Timeline look","description":"Layer 2 visual treatment for the timeline.","tier":"presentation","values":["vertical-compact","vertical-spacious","horizontal","swimlane"]},"transactionAmount":{"type":"string","default":"$0.00","label":"Amount","description":"Formatted amount held in escrow","tier":"presentation"},"transactionReference":{"type":"string","default":"","label":"Reference","description":"External identifier shown in the summary","tier":"presentation"},"reasonFields":{"type":"[string]","default":["reason"],"label":"Reason fields","description":"Form fields shown when capturing a dispute or cancel reason","tier":"presentation","items":{"type":"string"}},"title":{"type":"string","default":"Escrow transaction","label":"Page title","description":"Heading shown above the transaction view","tier":"presentation"},"transactionSubject":{"type":"string","default":"Sale of item","label":"Subject","description":"Short description of what is being transacted","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Layer 2 visual treatment for cards rendered by this atom.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"parties":{"type":"[PartySpec]","default":[{"actionDescription":"Authorize the funds to be held in escrow until delivery is confirmed.","actionIcon":"credit-card","actionLabel":"Confirm payment","description":"Funds the transaction and confirms receipt.","icon":"user","id":"buyer","stepLabel":"Step 1 of 2","title":"Buyer"},{"actionDescription":"Mark the item as shipped. Funds release after the buyer confirms receipt.","actionIcon":"package","actionLabel":"Confirm shipment","description":"Ships the item and uploads delivery proof.","icon":"user-check","id":"seller","stepLabel":"Step 2 of 2","title":"Seller"}],"label":"Parties","description":"Ordered participants with role, actor name, and required action. stepLabel entries should track the party count when overriding.","tier":"domain","items":{"type":"object","properties":{"actionDescription":{"name":"actionDescription","type":"string","required":false},"key":{"name":"key","type":"string","required":false},"icon":{"name":"icon","type":"string","required":false},"actionLabel":{"name":"actionLabel","type":"string","required":false},"name":{"name":"name","type":"string","required":false},"stepLabel":{"name":"stepLabel","type":"string","required":false},"title":{"name":"title","type":"string","required":false},"actor":{"name":"actor","type":"string","required":false},"description":{"name":"description","type":"string","required":false},"id":{"name":"id","type":"string","required":false},"label":{"name":"label","type":"string","required":false},"actionIcon":{"name":"actionIcon","type":"string","required":false},"role":{"name":"role","type":"string","required":false}}}}},"scope":"instance"}],"pages":[{"name":"MultiPartyFlowPage","id":"pag_XF6XD8F10AGG5EYT9QSTHC1AWY","path":"/multi-party-flow","traits":[{"ref":"MultiPartyTransaction","refId":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"}]}],"types":{"AuditEvent":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"description","type":"string"},{"name":"timestamp","type":"string"},{"name":"status","type":"string","values":["complete","active","pending","error"]}],"ObjectSpec":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"PartySpec":[{"name":"id","type":"string"},{"name":"key","type":"string"},{"name":"name","type":"string"},{"name":"label","type":"string"},{"name":"title","type":"string"},{"name":"role","type":"string"},{"name":"description","type":"string"},{"name":"icon","type":"string"},{"name":"actionLabel","type":"string"},{"name":"actionIcon","type":"string"},{"name":"actionDescription","type":"string"},{"name":"actor","type":"string"},{"name":"stepLabel","type":"string"}],"PartyView":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"description","type":"string"},{"name":"icon","type":"string"},{"name":"actionLabel","type":"string"},{"name":"actionIcon","type":"string"},{"name":"actor","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_X08E94N56TJKD7S7058VEEB90C":{"id":"ent_X08E94N56TJKD7S7058VEEB90C","kind":"entity","bakedName":"MultiPartyView","curName":"MultiPartyView","renames":[],"owner":"workspace"},"evt_4951TRZD37PHKYGF35VTKGY0F5":{"id":"evt_4951TRZD37PHKYGF35VTKGY0F5","kind":"event","bakedName":"SUBMIT_CANCEL","curName":"SUBMIT_CANCEL","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9":{"id":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","kind":"event","bakedName":"PARTY_CONFIRM","curName":"PARTY_CONFIRM","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_5HEJ88SVQDXVPTPG2NDD180966":{"id":"evt_5HEJ88SVQDXVPTPG2NDD180966","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_6FEV0FD71ZKGZT0YET1T6DXEPP":{"id":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","kind":"event","bakedName":"OPEN_DISPUTE","curName":"OPEN_DISPUTE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_858BEPSX0WYGE47JM37H2PNTH6":{"id":"evt_858BEPSX0WYGE47JM37H2PNTH6","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N":{"id":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","kind":"event","bakedName":"SUBMIT_DISPUTE","curName":"SUBMIT_DISPUTE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD":{"id":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","kind":"event","bakedName":"FlowLoaded","curName":"FlowLoaded","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ":{"id":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","kind":"event","bakedName":"CANCEL_TRANSACTION","curName":"CANCEL_TRANSACTION","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J":{"id":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","kind":"event","bakedName":"RELEASE","curName":"RELEASE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC":{"id":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","kind":"event","bakedName":"FlowSaved","curName":"FlowSaved","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_PDVE06TKB89NM8V5T46D4VS1PR":{"id":"evt_PDVE06TKB89NM8V5T46D4VS1PR","kind":"event","bakedName":"FlowSaveFailed","curName":"FlowSaveFailed","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_S28RJ2CJK799KT4NATEAKZV2T6":{"id":"evt_S28RJ2CJK799KT4NATEAKZV2T6","kind":"event","bakedName":"CANCEL_REASON","curName":"CANCEL_REASON","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK":{"id":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","kind":"event","bakedName":"FlowLoadFailed","curName":"FlowLoadFailed","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"orb_58YWDH9Q86VM39ZMSG8JN2XWC7":{"id":"orb_58YWDH9Q86VM39ZMSG8JN2XWC7","kind":"orbital","bakedName":"MultiPartyFlowOrbital","curName":"MultiPartyFlowOrbital","renames":[],"owner":"workspace"},"pag_XF6XD8F10AGG5EYT9QSTHC1AWY":{"id":"pag_XF6XD8F10AGG5EYT9QSTHC1AWY","kind":"page","bakedName":"MultiPartyFlowPage","curName":"MultiPartyFlowPage","renames":[],"owner":"workspace"},"trt_SBSXCP183WM1YERNH2EM7VYQ7Z":{"id":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z","kind":"trait","bakedName":"MultiPartyTransaction","curName":"MultiPartyTransaction","renames":[],"owner":"workspace"}}}}
|
|
1
|
+
{"name":"std-multi-party-flow","version":"3.0.2","description":"std-multi-party-flow — Escrow.com / DocuSign / Stripe Connect style multi-party transaction. Header + summary (subject/amount/reference) + named parties (avatar/role/actor) + stage progress + your-turn panel + activity feed + dispute/cancel escape hatches. Topology = loading / awaiting / capturing_dispute / capturing_cancel / funded / released / disputed / cancelled / error.","orbitals":[{"name":"MultiPartyFlowOrbital","id":"orb_58YWDH9Q86VM39ZMSG8JN2XWC7","entity":{"name":"MultiPartyView","id":"ent_X08E94N56TJKD7S7058VEEB90C","persistence":"runtime","fields":[{"name":"id","type":"string","required":true},{"name":"parties","type":"array","default":[],"items":{"type":"object","properties":{"actionIcon":{"name":"actionIcon","type":"string","required":false},"actionLabel":{"name":"actionLabel","type":"string","required":false},"actor":{"name":"actor","type":"string","required":false},"icon":{"name":"icon","type":"string","required":false},"title":{"name":"title","type":"string","required":true},"description":{"name":"description","type":"string","required":false},"id":{"name":"id","type":"string","required":true}}},"description":"A list of participants involved in the transaction.","synonyms":"participants, actors, members, roles"},{"name":"currentPartyIndex","type":"number","default":0,"description":"The numerical position of the current party in the list.","synonyms":"index, position, order"},{"name":"totalParties","type":"number","default":0,"description":"The total number of participants involved in the process.","synonyms":"count, size, quantity, number_of_parties"},{"name":"currentPartyId","type":"string","default":"","description":"Unique identifier for the currently active party.","synonyms":"party identifier, party key, party reference"},{"name":"currentPartyTitle","type":"string","default":"","description":"The descriptive name of the current party involved.","synonyms":"party name, party label, party identifier"},{"name":"currentPartyActor","type":"string","default":"","description":"The identifier of the currently active participant.","synonyms":"actor, identifier, user, participant"},{"name":"currentPartyIcon","type":"string","default":"user","description":"Icon representing the current party in the multi-party flow.","synonyms":"image, icon, avatar"},{"name":"currentActionLabel","type":"string","default":"Confirm","description":"The text displayed for the current action being performed.","synonyms":"action, task, operation, step"},{"name":"currentActionIcon","type":"string","default":"check","description":"Icon representing the current action being performed.","synonyms":"icon, image, symbol"},{"name":"currentActionDescription","type":"string","default":"","description":"A brief explanation of the action being performed.","synonyms":"action, description, task, operation"},{"name":"currentStepLabel","type":"string","default":"Step 1","description":"The text displayed for the current stage of the process.","synonyms":"step, stage, status, phase"},{"name":"audit","type":"array","default":[],"items":{"type":"object","properties":{"description":{"name":"description","type":"string","required":false},"status":{"name":"status","type":"string","required":false,"values":["complete","active","pending","error"]},"timestamp":{"name":"timestamp","type":"string","required":false},"title":{"name":"title","type":"string","required":true},"id":{"name":"id","type":"string","required":true}}},"description":"Records of changes and events related to the view.","synonyms":"history, log, changes, events"},{"name":"reason","type":"string","default":"","description":"The justification or explanation for an action or event.","synonyms":"justification, explanation, cause, rationale"},{"name":"disputeReason","type":"string","default":"","description":"The reason provided for initiating a dispute.","synonyms":"dispute explanation, dispute justification, reason for dispute"},{"name":"cancelReason","type":"string","default":"","description":"The reason provided for cancelling the transaction.","synonyms":"cancellation reason, cancel explanation, rejection reason"},{"name":"errorMessage","type":"string","default":"","description":"A textual description of an error condition.","synonyms":"error, error message, problem, issue"}]},"traits":[{"name":"MultiPartyTransaction","id":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z","entityRebindable":true,"entityContract":{"requires":[],"provides":["audit","cancelReason","currentActionDescription","currentActionIcon","currentActionLabel","currentPartyActor","currentPartyIcon","currentPartyId","currentPartyIndex","currentPartyTitle","currentStepLabel","disputeReason","errorMessage","parties","reason","totalParties"]},"effectRow":[{"kind":"fetch","resource":"MultiPartyView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.audit"},{"kind":"set","resource":"@entity.cancelReason"},{"kind":"set","resource":"@entity.currentActionDescription"},{"kind":"set","resource":"@entity.currentActionIcon"},{"kind":"set","resource":"@entity.currentActionLabel"},{"kind":"set","resource":"@entity.currentPartyActor"},{"kind":"set","resource":"@entity.currentPartyIcon"},{"kind":"set","resource":"@entity.currentPartyId"},{"kind":"set","resource":"@entity.currentPartyIndex"},{"kind":"set","resource":"@entity.currentPartyTitle"},{"kind":"set","resource":"@entity.currentStepLabel"},{"kind":"set","resource":"@entity.disputeReason"},{"kind":"set","resource":"@entity.errorMessage"},{"kind":"set","resource":"@entity.parties"},{"kind":"set","resource":"@entity.reason"},{"kind":"set","resource":"@entity.totalParties"}],"category":"interaction","capabilities":["multi-party"],"linkedEntity":"MultiPartyView","linkedEntityId":"ent_X08E94N56TJKD7S7058VEEB90C","entityRefIds":{"MultiPartyView":"ent_X08E94N56TJKD7S7058VEEB90C"},"emits":[{"event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","description":"Signals a party's acceptance or agreement within the flow.","synonyms":"accept, acknowledge, confirm, approve","tier":"domain","payloadSchema":[{"name":"partyKey","type":"string"}]},{"event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","description":"Signals the dispute process has been initiated.","synonyms":"dispute, challenge, contest","tier":"domain"},{"event":"CANCEL_TRANSACTION","eventId":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","description":"Indicates a transaction cancellation request has been initiated.","synonyms":"terminate, end, void, revoke","tier":"domain"},{"event":"SUBMIT_DISPUTE","eventId":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","description":"Signals a dispute submission request.","synonyms":"dispute, challenge, contest","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"SUBMIT_CANCEL","eventId":"evt_4951TRZD37PHKYGF35VTKGY0F5","description":"Signals a cancellation request has been submitted.","synonyms":"request cancel, initiate cancellation, submit termination","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","description":"Indicates a reason was provided for transaction cancellation.","synonyms":"reason, explanation, justification","tier":"presentation"},{"event":"RELEASE","eventId":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","description":"Transaction funds are distributed to the intended recipients.","synonyms":"complete, finalize, distribute, payout","tier":"domain"},{"event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","description":"Initiates a reset of the current transaction flow.","synonyms":"reset, refresh, reinitialize","tier":"presentation"},{"event":"FlowLoaded","eventId":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","description":"Signals successful loading of the transaction flow data.","synonyms":"loaded, initialized, ready","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"entity":"ObjectSpec"}]},{"event":"FlowLoadFailed","eventId":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","description":"Indicates that loading the flow data failed.","synonyms":"failure, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"loading","isInitial":true},{"name":"awaiting"},{"name":"capturing_dispute"},{"name":"capturing_cancel"},{"name":"funded"},{"name":"released"},{"name":"disputed"},{"name":"cancelled"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_5HEJ88SVQDXVPTPG2NDD180966","name":"Initialize"},{"key":"FlowLoaded","id":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","name":"Flow loaded","description":"Signals successful loading of the transaction flow data.","synonyms":"loaded, initialized, ready","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}]}],"listened":true},{"key":"FlowLoadFailed","id":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","name":"Flow load failed","description":"Indicates that loading the flow data failed.","synonyms":"failure, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"FlowSaved","id":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","name":"Flow saved","description":"Indicates the flow data has been successfully saved.","synonyms":"saved, updated, persisted","tier":"presentation","payloadSchema":[{"name":"row","type":"@entity"}],"listened":true},{"key":"FlowSaveFailed","id":"evt_PDVE06TKB89NM8V5T46D4VS1PR","name":"Flow save failed","description":"Indicates a failure to save the current flow state.","synonyms":"failed, error, unsuccessful, save error","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"PARTY_CONFIRM","id":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","name":"Party Confirm","description":"Signals a party's acceptance or agreement within the flow.","synonyms":"accept, acknowledge, confirm, approve","tier":"domain","payloadSchema":[{"name":"partyKey","type":"string"}],"listened":true},{"key":"OPEN_DISPUTE","id":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","name":"Open Dispute","description":"Signals the dispute process has been initiated.","synonyms":"dispute, challenge, contest","tier":"domain","listened":true},{"key":"CANCEL_TRANSACTION","id":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","name":"Cancel Transaction","description":"Indicates a transaction cancellation request has been initiated.","synonyms":"terminate, end, void, revoke","tier":"domain","listened":true},{"key":"SUBMIT_DISPUTE","id":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","name":"Submit Dispute","description":"Signals a dispute submission request.","synonyms":"dispute, challenge, contest","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REASON","id":"evt_S28RJ2CJK799KT4NATEAKZV2T6","name":"Cancel Reason","description":"Indicates a reason was provided for transaction cancellation.","synonyms":"reason, explanation, justification","tier":"presentation","listened":true},{"key":"SUBMIT_CANCEL","id":"evt_4951TRZD37PHKYGF35VTKGY0F5","name":"Submit Cancel","description":"Signals a cancellation request has been submitted.","synonyms":"request cancel, initiate cancellation, submit termination","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"RELEASE","id":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","name":"Release","description":"Transaction funds are distributed to the intended recipients.","synonyms":"complete, finalize, distribute, payout","tier":"domain","listened":true},{"key":"RESTART","id":"evt_858BEPSX0WYGE47JM37H2PNTH6","name":"Restart","description":"Initiates a reset of the current transaction flow.","synonyms":"reset, refresh, reinitialize","tier":"presentation","listened":true}],"transitions":[{"from":"loading","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"loading","to":"awaiting","event":"FlowLoaded","eventId":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","effects":[["set","@entity.currentPartyIndex",0],["set","@entity.totalParties",["array/len","@config.parties"]],["set","@entity.parties",["array/map","@config.parties",["fn","party",{"actionIcon":["object/get","@party","actionIcon","check"],"actionLabel":["object/get","@party","actionLabel","Confirm"],"actor":["object/get","@party","actor",""],"description":["object/get","@party","description",""],"icon":["object/get","@party","icon","user"],"id":["object/get","@party","id"],"title":["object/get","@party","title"]}]]],["set","@entity.currentPartyId",["object/get",["array/first","@config.parties"],"id",""]],["set","@entity.currentPartyTitle",["object/get",["array/first","@config.parties"],"title",""]],["set","@entity.currentPartyActor",["object/get",["array/first","@config.parties"],"actor",""]],["set","@entity.currentPartyIcon",["object/get",["array/first","@config.parties"],"icon","user"]],["set","@entity.currentActionLabel",["object/get",["array/first","@config.parties"],"actionLabel","Confirm"]],["set","@entity.currentActionIcon",["object/get",["array/first","@config.parties"],"actionIcon","check"]],["set","@entity.currentActionDescription",["object/get",["array/first","@config.parties"],"actionDescription",""]],["set","@entity.currentStepLabel",["object/get",["array/first","@config.parties"],"stepLabel","Step 1"]],["set","@entity.audit",[{"description":["str/concat","Reference ","@config.transactionReference"],"id":"init","status":"complete","timestamp":"Just now","title":"Transaction opened"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"git-pull-request","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Active","type":"badge","variant":"primary"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Parties","type":"typography","variant":"h4"},{"entity":"@entity.parties","fields":[],"gap":"sm","renderItem":["fn","party",{"children":[{"align":"center","children":[{"name":"@party.icon","size":"lg","type":"icon"},{"children":[{"align":"center","children":[{"content":"@party.title","type":"typography","variant":"h4"},{"color":"muted","content":"·","type":"typography"},{"content":"@party.actor","type":"typography","variant":"body"}],"direction":"horizontal","gap":"xs","type":"stack"},{"color":"muted","content":"@party.description","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"},{"content":"Progress","type":"typography","variant":"h4"},{"currentStep":"@entity.currentPartyIndex","steps":"@entity.parties","type":"wizard-progress"},{"children":[{"children":[{"align":"center","children":[{"name":"clock","type":"icon"},{"color":"muted","content":"@entity.currentStepLabel","type":"typography","variant":"caption"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"Waiting for","type":"typography","variant":"caption"},{"content":"@entity.currentPartyActor","type":"typography","variant":"body","weight":"bold"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@entity.currentActionDescription","type":"typography","variant":"body"},{"action":"PARTY_CONFIRM","actionPayload":{"partyKey":"@entity.currentPartyId"},"icon":"@entity.currentActionIcon","label":"@entity.currentActionLabel","type":"button","variant":"primary"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"type":"divider"},{"align":"center","children":[{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"},{"action":"CANCEL_TRANSACTION","icon":"@config.cancelIcon","label":"@config.cancelLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"loading","to":"error","event":"FlowLoadFailed","eventId":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to load","type":"error-state"}]]},{"from":"loading","to":"awaiting","event":"FlowSaved","eventId":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","effects":[["render-ui","main",{"title":"Refreshing…","type":"loading-state"}]]},{"from":"loading","to":"error","event":"FlowSaveFailed","eventId":"evt_PDVE06TKB89NM8V5T46D4VS1PR","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Save failed","type":"error-state"}]]},{"from":"awaiting","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"awaiting","to":"awaiting","event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","guard":["not",["=",["+","@entity.currentPartyIndex",1],"@entity.totalParties"]],"effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@entity.currentPartyActor"," completed: ","@entity.currentActionLabel"],"id":["str/concat","confirm-",["object/get","@payload","partyKey",""]],"status":"complete","timestamp":["time/now"],"title":["str/concat","@entity.currentPartyTitle"," confirmed"]}]],["set","@entity.currentPartyIndex",["+","@entity.currentPartyIndex",1]],["set","@entity.currentPartyId",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"id",""]],["set","@entity.currentPartyTitle",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"title",""]],["set","@entity.currentPartyActor",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actor",""]],["set","@entity.currentPartyIcon",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"icon","user"]],["set","@entity.currentActionLabel",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionLabel","Confirm"]],["set","@entity.currentActionIcon",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionIcon","check"]],["set","@entity.currentActionDescription",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"actionDescription",""]],["set","@entity.currentStepLabel",["object/get",["array/nth","@config.parties","@entity.currentPartyIndex"],"stepLabel","Step"]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"git-pull-request","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Active","type":"badge","variant":"primary"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Parties","type":"typography","variant":"h4"},{"entity":"@entity.parties","fields":[],"gap":"sm","renderItem":["fn","party",{"children":[{"align":"center","children":[{"name":"@party.icon","size":"lg","type":"icon"},{"children":[{"align":"center","children":[{"content":"@party.title","type":"typography","variant":"h4"},{"color":"muted","content":"·","type":"typography"},{"content":"@party.actor","type":"typography","variant":"body"}],"direction":"horizontal","gap":"xs","type":"stack"},{"color":"muted","content":"@party.description","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"},{"content":"Progress","type":"typography","variant":"h4"},{"currentStep":"@entity.currentPartyIndex","steps":"@entity.parties","type":"wizard-progress"},{"children":[{"children":[{"align":"center","children":[{"name":"clock","type":"icon"},{"color":"muted","content":"@entity.currentStepLabel","type":"typography","variant":"caption"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"Waiting for","type":"typography","variant":"caption"},{"content":"@entity.currentPartyActor","type":"typography","variant":"body","weight":"bold"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@entity.currentActionDescription","type":"typography","variant":"body"},{"action":"PARTY_CONFIRM","actionPayload":{"partyKey":"@entity.currentPartyId"},"icon":"@entity.currentActionIcon","label":"@entity.currentActionLabel","type":"button","variant":"primary"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"type":"divider"},{"align":"center","children":[{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"},{"action":"CANCEL_TRANSACTION","icon":"@config.cancelIcon","label":"@config.cancelLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"awaiting","to":"funded","event":"PARTY_CONFIRM","eventId":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","guard":["=",["+","@entity.currentPartyIndex",1],"@entity.totalParties"],"effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@entity.currentPartyActor"," completed: ","@entity.currentActionLabel"],"id":["str/concat","confirm-",["object/get","@payload","partyKey",""]],"status":"complete","timestamp":["time/now"],"title":["str/concat","@entity.currentPartyTitle"," confirmed"]}]],["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@config.transactionAmount"," is now funded and ready for release."],"id":"all-confirmed","status":"complete","timestamp":["time/now"],"title":"All parties confirmed"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"lock","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Funded","type":"badge","variant":"success"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"align":"center","children":[{"children":[{"color":"muted","content":"Amount in escrow","type":"typography","variant":"caption"},{"content":"@config.transactionAmount","type":"typography","variant":"h1"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Subject","type":"typography","variant":"caption"},{"content":"@config.transactionSubject","type":"typography","variant":"h4"}],"direction":"vertical","gap":"xs","type":"stack"},{"children":[{"color":"muted","content":"Reference","type":"typography","variant":"caption"},{"content":"@config.transactionReference","type":"typography","variant":"body"}],"direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"lg","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"children":[{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"All parties confirmed","type":"typography","variant":"h2"},{"align":"center","color":"muted","content":"Funds are held in escrow and ready for release to the seller.","type":"typography","variant":"body"},{"align":"center","children":[{"action":"RELEASE","icon":"@config.releaseIcon","label":"@config.releaseLabel","type":"button","variant":"success"},{"action":"OPEN_DISPUTE","icon":"@config.disputeIcon","label":"@config.disputeLabel","type":"button","variant":"danger"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card","variant":"elevated"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"awaiting","to":"capturing_dispute","event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"Open a dispute","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Describe the issue so all parties and the escrow officer can review. Funds will remain in escrow until the dispute is resolved.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_DISPUTE","submitLabel":"Submit dispute","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"awaiting","to":"capturing_cancel","event":"CANCEL_TRANSACTION","eventId":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"x-circle","size":"lg","type":"icon"},{"content":"Cancel transaction","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Tell the other parties why this transaction is being cancelled. Any escrowed funds will be returned to the buyer.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_CANCEL","submitLabel":"Cancel transaction","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"capturing_dispute","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_dispute","to":"disputed","event":"SUBMIT_DISPUTE","eventId":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","effects":[["set","@entity.disputeReason",["object/get","@payload.data","reason",""]],["set","@entity.audit",["array/append","@entity.audit",{"description":"@entity.disputeReason","id":"dispute-opened","status":"error","timestamp":["time/now"],"title":"Dispute opened"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Disputed","type":"badge","variant":"danger"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Reason for dispute","type":"typography","variant":"caption"},{"content":"@entity.disputeReason","type":"typography","variant":"body"},{"type":"divider"},{"color":"muted","content":"An escrow officer will contact all parties within one business day. Funds remain held until resolution.","type":"typography","variant":"caption"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"capturing_dispute","to":"loading","event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_cancel","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"capturing_cancel","to":"cancelled","event":"SUBMIT_CANCEL","eventId":"evt_4951TRZD37PHKYGF35VTKGY0F5","effects":[["set","@entity.cancelReason",["object/get","@payload.data","reason",""]],["set","@entity.audit",["array/append","@entity.audit",{"description":"@entity.cancelReason","id":"cancelled","status":"error","timestamp":["time/now"],"title":"Transaction cancelled"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"x-circle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Cancelled","type":"badge","variant":"warning"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Reason for cancellation","type":"typography","variant":"caption"},{"content":"@entity.cancelReason","type":"typography","variant":"body"},{"type":"divider"},{"color":"muted","content":"Any escrowed funds have been returned to the buyer.","type":"typography","variant":"caption"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"capturing_cancel","to":"loading","event":"CANCEL_REASON","eventId":"evt_S28RJ2CJK799KT4NATEAKZV2T6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"funded","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"funded","to":"released","event":"RELEASE","eventId":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","effects":[["set","@entity.audit",["array/append","@entity.audit",{"description":["str/concat","@config.transactionAmount"," released to the seller. Transaction complete."],"id":"released","status":"complete","timestamp":["time/now"],"title":"Funds released"}]],["render-ui","main",{"children":[{"align":"center","children":[{"name":"check-circle","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"},{"label":"Completed","type":"badge","variant":"success"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"Transaction complete","type":"typography","variant":"h2"},{"align":"center","content":"@config.transactionAmount","type":"typography","variant":"h1"},{"align":"center","color":"muted","content":"Funds have been released to the seller.","type":"typography","variant":"body"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"},{"content":"Activity","type":"typography","variant":"h4"},{"entity":"@entity.audit","fields":["title","description","timestamp","status"],"titleField":"title","descriptionField":"description","dateField":"timestamp","statusField":"status","look":"@config.timelineLook","type":"timeline"},{"action":"RESTART","icon":"rotate-ccw","label":"Start a new transaction","type":"button","variant":"secondary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"funded","to":"capturing_dispute","event":"OPEN_DISPUTE","eventId":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","effects":[["set","@entity.reason",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REASON","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"alert-triangle","size":"lg","type":"icon"},{"content":"Open a dispute","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"Describe the issue so all parties and the escrow officer can review. Funds will remain in escrow until the dispute is resolved.","type":"typography","variant":"body"},{"cancelEvent":"CANCEL_REASON","entity":"@entity","fields":"@config.reasonFields","mode":"edit","submitEvent":"SUBMIT_DISPUTE","submitLabel":"Submit dispute","type":"form-section"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"released","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"released","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"disputed","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"disputed","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"cancelled","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"cancelled","to":"loading","event":"RESTART","eventId":"evt_858BEPSX0WYGE47JM37H2PNTH6","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]},{"from":"error","to":"loading","event":"INIT","eventId":"evt_5HEJ88SVQDXVPTPG2NDD180966","effects":[["fetch","MultiPartyView",{"emit":{"failure":"FlowLoadFailed","success":"FlowLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"}]}]]}]},"config":{"cancelLabel":{"type":"string","default":"Cancel transaction","label":"Cancel button","description":"Label on the cancel-transaction escape-hatch button","tier":"presentation"},"title":{"type":"string","default":"Escrow transaction","label":"Page title","description":"Heading shown above the transaction view","tier":"presentation"},"transactionReference":{"type":"string","default":"","label":"Reference","description":"External identifier shown in the summary","tier":"presentation"},"timelineLook":{"type":"string","default":"vertical-spacious","label":"Timeline look","description":"Layer 2 visual treatment for the timeline.","tier":"presentation","values":["vertical-compact","vertical-spacious","horizontal","swimlane"]},"parties":{"type":"[PartySpec]","default":[{"actionDescription":"Authorize the funds to be held in escrow until delivery is confirmed.","actionIcon":"credit-card","actionLabel":"Confirm payment","description":"Funds the transaction and confirms receipt.","icon":"user","id":"buyer","stepLabel":"Step 1 of 2","title":"Buyer"},{"actionDescription":"Mark the item as shipped. Funds release after the buyer confirms receipt.","actionIcon":"package","actionLabel":"Confirm shipment","description":"Ships the item and uploads delivery proof.","icon":"user-check","id":"seller","stepLabel":"Step 2 of 2","title":"Seller"}],"label":"Parties","description":"Ordered participants with role, actor name, and required action. stepLabel entries should track the party count when overriding.","tier":"domain","items":{"type":"object","properties":{"stepLabel":{"name":"stepLabel","type":"string","required":false},"name":{"name":"name","type":"string","required":false},"label":{"name":"label","type":"string","required":false},"role":{"name":"role","type":"string","required":false},"key":{"name":"key","type":"string","required":false},"icon":{"name":"icon","type":"string","required":false},"description":{"name":"description","type":"string","required":false},"actor":{"name":"actor","type":"string","required":false},"actionIcon":{"name":"actionIcon","type":"string","required":false},"title":{"name":"title","type":"string","required":false},"actionDescription":{"name":"actionDescription","type":"string","required":false},"actionLabel":{"name":"actionLabel","type":"string","required":false},"id":{"name":"id","type":"string","required":false}}}},"transactionSubject":{"type":"string","default":"Sale of item","label":"Subject","description":"Short description of what is being transacted","tier":"presentation"},"releaseIcon":{"type":"string","default":"unlock","label":"Release icon","description":"Icon next to the release button","tier":"presentation"},"cancelIcon":{"type":"string","default":"x","label":"Cancel icon","description":"Icon next to the cancel button","tier":"presentation"},"reasonFields":{"type":"[string]","default":["reason"],"label":"Reason fields","description":"Form fields shown when capturing a dispute or cancel reason","tier":"presentation","items":{"type":"string"}},"releaseLabel":{"type":"string","default":"Release funds","label":"Release button","description":"Label on the final-release primary button","tier":"presentation"},"disputeIcon":{"type":"string","default":"alert-triangle","label":"Dispute icon","description":"Icon next to the dispute button","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Layer 2 visual treatment for cards rendered by this atom.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"disputeLabel":{"type":"string","default":"Open dispute","label":"Dispute button","description":"Label on the open-dispute escape-hatch button","tier":"presentation"},"transactionAmount":{"type":"string","default":"$0.00","label":"Amount","description":"Formatted amount held in escrow","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"MultiPartyFlowPage","id":"pag_XF6XD8F10AGG5EYT9QSTHC1AWY","path":"/multi-party-flow","traits":[{"ref":"MultiPartyTransaction","refId":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"}]}],"types":{"AuditEvent":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"description","type":"string"},{"name":"timestamp","type":"string"},{"name":"status","type":"string","values":["complete","active","pending","error"]}],"ObjectSpec":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"PartySpec":[{"name":"id","type":"string"},{"name":"key","type":"string"},{"name":"name","type":"string"},{"name":"label","type":"string"},{"name":"title","type":"string"},{"name":"role","type":"string"},{"name":"description","type":"string"},{"name":"icon","type":"string"},{"name":"actionLabel","type":"string"},{"name":"actionIcon","type":"string"},{"name":"actionDescription","type":"string"},{"name":"actor","type":"string"},{"name":"stepLabel","type":"string"}],"PartyView":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"description","type":"string"},{"name":"icon","type":"string"},{"name":"actionLabel","type":"string"},{"name":"actionIcon","type":"string"},{"name":"actor","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_X08E94N56TJKD7S7058VEEB90C":{"id":"ent_X08E94N56TJKD7S7058VEEB90C","kind":"entity","bakedName":"MultiPartyView","curName":"MultiPartyView","renames":[],"owner":"workspace"},"evt_4951TRZD37PHKYGF35VTKGY0F5":{"id":"evt_4951TRZD37PHKYGF35VTKGY0F5","kind":"event","bakedName":"SUBMIT_CANCEL","curName":"SUBMIT_CANCEL","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9":{"id":"evt_4N66ZR2BFW5QY5EWW1AG1HJDF9","kind":"event","bakedName":"PARTY_CONFIRM","curName":"PARTY_CONFIRM","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_5HEJ88SVQDXVPTPG2NDD180966":{"id":"evt_5HEJ88SVQDXVPTPG2NDD180966","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_6FEV0FD71ZKGZT0YET1T6DXEPP":{"id":"evt_6FEV0FD71ZKGZT0YET1T6DXEPP","kind":"event","bakedName":"OPEN_DISPUTE","curName":"OPEN_DISPUTE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_858BEPSX0WYGE47JM37H2PNTH6":{"id":"evt_858BEPSX0WYGE47JM37H2PNTH6","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N":{"id":"evt_9CDQWFCV5ZDJZVT9YQN02VDE1N","kind":"event","bakedName":"SUBMIT_DISPUTE","curName":"SUBMIT_DISPUTE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD":{"id":"evt_E8VY5X1G7JR3SDXDSC0WCCQKJD","kind":"event","bakedName":"FlowLoaded","curName":"FlowLoaded","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ":{"id":"evt_MXRZGZH4DYJ6Z09JWCMHDWRKVJ","kind":"event","bakedName":"CANCEL_TRANSACTION","curName":"CANCEL_TRANSACTION","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J":{"id":"evt_NCMQCTQH3WRHYDY5R7JPEV7W5J","kind":"event","bakedName":"RELEASE","curName":"RELEASE","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC":{"id":"evt_PD2ZVYC1DW0PYDSSSH34TM5EKC","kind":"event","bakedName":"FlowSaved","curName":"FlowSaved","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_PDVE06TKB89NM8V5T46D4VS1PR":{"id":"evt_PDVE06TKB89NM8V5T46D4VS1PR","kind":"event","bakedName":"FlowSaveFailed","curName":"FlowSaveFailed","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_S28RJ2CJK799KT4NATEAKZV2T6":{"id":"evt_S28RJ2CJK799KT4NATEAKZV2T6","kind":"event","bakedName":"CANCEL_REASON","curName":"CANCEL_REASON","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK":{"id":"evt_VH2YGPTZ3BFHNKQ0FBDRTKPSCK","kind":"event","bakedName":"FlowLoadFailed","curName":"FlowLoadFailed","renames":[],"owner":"workspace","parent":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z"},"orb_58YWDH9Q86VM39ZMSG8JN2XWC7":{"id":"orb_58YWDH9Q86VM39ZMSG8JN2XWC7","kind":"orbital","bakedName":"MultiPartyFlowOrbital","curName":"MultiPartyFlowOrbital","renames":[],"owner":"workspace"},"pag_XF6XD8F10AGG5EYT9QSTHC1AWY":{"id":"pag_XF6XD8F10AGG5EYT9QSTHC1AWY","kind":"page","bakedName":"MultiPartyFlowPage","curName":"MultiPartyFlowPage","renames":[],"owner":"workspace"},"trt_SBSXCP183WM1YERNH2EM7VYQ7Z":{"id":"trt_SBSXCP183WM1YERNH2EM7VYQ7Z","kind":"trait","bakedName":"MultiPartyTransaction","curName":"MultiPartyTransaction","renames":[],"owner":"workspace"}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"std-notification-panel","version":"1.0.0","description":"std-notification-panel — the bell's overlay surface. A dedicated modal-only trait that renders the notification list a consumer already passes to std-app-layout's `notifications` knob, and dismisses with a single (render-ui modal null). Mount it beside the app layout and route the layout's notificationClickEvent into OPEN; the catalog trait underneath is never repainted, so opening and closing the bell cannot strand the viewer. Owning the overlay in its own trait is what makes the shape legal — a modal rendered from the trait that also owns `main` is rejected by CIRCUIT_MODAL_EXIT_INCOMPLETE.","orbitals":[{"name":"NotificationPanelOrbital","id":"orb_P4JCAQFJ5WS2YB91TEW06TWBRX","entity":{"name":"NotificationRecord","id":"ent_THX6Y361HC0RP7TN30NATB4TQG","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"NotificationPanel","id":"trt_2KH0AZ0021010VNEX0A66N6QQ4","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"@config.panelSlot","resolved":false}],"category":"interaction","linkedEntity":"NotificationRecord","linkedEntityId":"ent_THX6Y361HC0RP7TN30NATB4TQG","entityRefIds":{"NotificationRecord":"ent_THX6Y361HC0RP7TN30NATB4TQG"},"emits":[{"event":"CLOSE","eventId":"evt_Q054EQA8A9454NRVV7RGFDKXWD","description":"The viewer dismissed the notification overlay.","synonyms":"close, dismiss, hide, back","tier":"presentation","scope":"external","payloadSchema":[{"name":"id","type":"string"}]}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_1Z4TVHXS7SWKWSDERA33VM6RTR","name":"Initialize"},{"key":"OPEN","id":"evt_9GM76G8DQF6VQGTG80DM40XSS3","name":"Open","description":"The viewer asked to see notifications.","synonyms":"show notifications, open bell, view alerts","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"CLOSE","id":"evt_Q054EQA8A9454NRVV7RGFDKXWD","name":"Close","description":"The viewer dismissed the notification overlay.","synonyms":"close, dismiss, hide, back","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_1Z4TVHXS7SWKWSDERA33VM6RTR","effects":[["render-ui","@config.panelSlot",null]]},{"from":"idle","to":"idle","event":"OPEN","eventId":"evt_9GM76G8DQF6VQGTG80DM40XSS3","effects":[["render-ui","@config.panelSlot",{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"@config.icon","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"action":"CLOSE","icon":"x","label":"@config.closeLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","justify":"between","type":"stack"},{"type":"divider"},{"children":["array/map","@config.notifications",["fn","n",{"align":"center","children":[{"label":["object/get","@n","variant"],"type":"badge"},{"content":["object/get","@n","message"],"type":"typography","variant":"body"}],"direction":"horizontal","gap":"sm","type":"stack"}]],"direction":"vertical","gap":"sm","type":"stack"},{"color":"muted","content":["if",[">",["array/len","@config.notifications"],0],"","@config.emptyMessage"],"type":"typography","variant":"caption"}],"className":"max-h-[60vh] overflow-y-auto","direction":"vertical","gap":"md","type":"stack"}]]},{"from":"idle","to":"idle","event":"CLOSE","eventId":"evt_Q054EQA8A9454NRVV7RGFDKXWD","effects":[["render-ui","@config.panelSlot",null]]}]},"config":{"
|
|
1
|
+
{"name":"std-notification-panel","version":"1.0.0","description":"std-notification-panel — the bell's overlay surface. A dedicated modal-only trait that renders the notification list a consumer already passes to std-app-layout's `notifications` knob, and dismisses with a single (render-ui modal null). Mount it beside the app layout and route the layout's notificationClickEvent into OPEN; the catalog trait underneath is never repainted, so opening and closing the bell cannot strand the viewer. Owning the overlay in its own trait is what makes the shape legal — a modal rendered from the trait that also owns `main` is rejected by CIRCUIT_MODAL_EXIT_INCOMPLETE.","orbitals":[{"name":"NotificationPanelOrbital","id":"orb_P4JCAQFJ5WS2YB91TEW06TWBRX","entity":{"name":"NotificationRecord","id":"ent_THX6Y361HC0RP7TN30NATB4TQG","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"NotificationPanel","id":"trt_2KH0AZ0021010VNEX0A66N6QQ4","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"@config.panelSlot","resolved":false}],"category":"interaction","linkedEntity":"NotificationRecord","linkedEntityId":"ent_THX6Y361HC0RP7TN30NATB4TQG","entityRefIds":{"NotificationRecord":"ent_THX6Y361HC0RP7TN30NATB4TQG"},"emits":[{"event":"CLOSE","eventId":"evt_Q054EQA8A9454NRVV7RGFDKXWD","description":"The viewer dismissed the notification overlay.","synonyms":"close, dismiss, hide, back","tier":"presentation","scope":"external","payloadSchema":[{"name":"id","type":"string"}]}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_1Z4TVHXS7SWKWSDERA33VM6RTR","name":"Initialize"},{"key":"OPEN","id":"evt_9GM76G8DQF6VQGTG80DM40XSS3","name":"Open","description":"The viewer asked to see notifications.","synonyms":"show notifications, open bell, view alerts","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"CLOSE","id":"evt_Q054EQA8A9454NRVV7RGFDKXWD","name":"Close","description":"The viewer dismissed the notification overlay.","synonyms":"close, dismiss, hide, back","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_1Z4TVHXS7SWKWSDERA33VM6RTR","effects":[["render-ui","@config.panelSlot",null]]},{"from":"idle","to":"idle","event":"OPEN","eventId":"evt_9GM76G8DQF6VQGTG80DM40XSS3","effects":[["render-ui","@config.panelSlot",{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"@config.icon","size":"lg","type":"icon"},{"content":"@config.title","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"action":"CLOSE","icon":"x","label":"@config.closeLabel","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"sm","justify":"between","type":"stack"},{"type":"divider"},{"children":["array/map","@config.notifications",["fn","n",{"align":"center","children":[{"label":["object/get","@n","variant"],"type":"badge"},{"content":["object/get","@n","message"],"type":"typography","variant":"body"}],"direction":"horizontal","gap":"sm","type":"stack"}]],"direction":"vertical","gap":"sm","type":"stack"},{"color":"muted","content":["if",[">",["array/len","@config.notifications"],0],"","@config.emptyMessage"],"type":"typography","variant":"caption"}],"className":"max-h-[60vh] overflow-y-auto","direction":"vertical","gap":"md","type":"stack"}]]},{"from":"idle","to":"idle","event":"CLOSE","eventId":"evt_Q054EQA8A9454NRVV7RGFDKXWD","effects":[["render-ui","@config.panelSlot",null]]}]},"config":{"icon":{"type":"string","default":"bell","label":"Which icon appears in the overlay header?","description":"Lucide icon name shown next to the overlay title.","synonyms":"header icon, bell icon, panel icon","tier":"presentation"},"closeLabel":{"type":"string","default":"Close","label":"What should the dismiss button say?","description":"Label on the button that closes the overlay.","synonyms":"dismiss label, close label, back label","tier":"presentation"},"emptyMessage":{"type":"string","default":"You're all caught up.","label":"What shows when there are no notifications?","description":"Message rendered in place of the list when there is nothing to show.","synonyms":"empty state, no notifications, nothing here","tier":"presentation"},"title":{"type":"string","default":"Notifications","label":"What should the overlay heading say?","description":"Heading displayed at the top of the notification overlay.","synonyms":"panel title, overlay heading, notifications title","tier":"presentation"},"panelSlot":{"type":"slot","default":"modal","label":"Render slot","description":"UI slot the overlay renders into. Never `main` — repainting main is what strands the viewer.","tier":"internal"},"notifications":{"type":"[NotificationSpec]","default":[],"label":"Which notifications should the overlay list?","description":"Items rendered in the overlay — the same list std-app-layout takes for its bell dropdown.","synonyms":"alerts, messages, notices, notification items","tier":"presentation","items":{"type":"object","properties":{"message":{"name":"message","type":"string","required":false},"variant":{"name":"variant","type":"string","required":false},"id":{"name":"id","type":"string","required":false}}}}},"scope":"instance"}],"pages":[{"name":"NotificationPanelPage","id":"pag_K4WSMACQSRBWW17KJAXDHHEZ3C","path":"/notification-panel","traits":[{"ref":"NotificationPanel","refId":"trt_2KH0AZ0021010VNEX0A66N6QQ4"}]}],"types":{"NotificationSpec":[{"name":"id","type":"string"},{"name":"message","type":"string"},{"name":"variant","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_THX6Y361HC0RP7TN30NATB4TQG":{"id":"ent_THX6Y361HC0RP7TN30NATB4TQG","kind":"entity","bakedName":"NotificationRecord","curName":"NotificationRecord","renames":[],"owner":"workspace"},"evt_1Z4TVHXS7SWKWSDERA33VM6RTR":{"id":"evt_1Z4TVHXS7SWKWSDERA33VM6RTR","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_2KH0AZ0021010VNEX0A66N6QQ4"},"evt_9GM76G8DQF6VQGTG80DM40XSS3":{"id":"evt_9GM76G8DQF6VQGTG80DM40XSS3","kind":"event","bakedName":"OPEN","curName":"OPEN","renames":[],"owner":"workspace","parent":"trt_2KH0AZ0021010VNEX0A66N6QQ4"},"evt_Q054EQA8A9454NRVV7RGFDKXWD":{"id":"evt_Q054EQA8A9454NRVV7RGFDKXWD","kind":"event","bakedName":"CLOSE","curName":"CLOSE","renames":[],"owner":"workspace","parent":"trt_2KH0AZ0021010VNEX0A66N6QQ4"},"orb_P4JCAQFJ5WS2YB91TEW06TWBRX":{"id":"orb_P4JCAQFJ5WS2YB91TEW06TWBRX","kind":"orbital","bakedName":"NotificationPanelOrbital","curName":"NotificationPanelOrbital","renames":[],"owner":"workspace"},"pag_K4WSMACQSRBWW17KJAXDHHEZ3C":{"id":"pag_K4WSMACQSRBWW17KJAXDHHEZ3C","kind":"page","bakedName":"NotificationPanelPage","curName":"NotificationPanelPage","renames":[],"owner":"workspace"},"trt_2KH0AZ0021010VNEX0A66N6QQ4":{"id":"trt_2KH0AZ0021010VNEX0A66N6QQ4","kind":"trait","bakedName":"NotificationPanel","curName":"NotificationPanel","renames":[],"owner":"workspace"}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"std-panel-launcher","version":"1.0.0","description":"std-panel-launcher — a floating button on the page that opens a side panel holding one trait (an assistant, a help panel, a cart). Closed: the button floats bottom-right. Open: the panel shows `contentTrait` under `title` and the button steps aside; the panel's close button (or Escape on small screens) brings the button back. The panel slot defaults to `dock`, which pushes the page aside on wide screens and becomes a side sheet below 1024px. List the trait on every page that should carry the button — it never injects itself.","orbitals":[{"name":"PanelLauncherOrbital","id":"orb_GGKFTE5FPXQVEVPSQD8DRYQRF9","entity":{"name":"PanelLauncherView","id":"ent_E4A5FC5ZDFZPQPZPD3105MCM06","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"PanelLauncher","id":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"@config.panelSlot","resolved":false},{"kind":"render-ui","resource":"floating"}],"category":"interaction","linkedEntity":"PanelLauncherView","linkedEntityId":"ent_E4A5FC5ZDFZPQPZPD3105MCM06","entityRefIds":{"PanelLauncherView":"ent_E4A5FC5ZDFZPQPZPD3105MCM06"},"emits":[{"event":"OPEN","eventId":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","description":"Open the panel.","synonyms":"show, launch, expand","tier":"presentation"},{"event":"CLOSE","eventId":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","description":"Close the panel.","synonyms":"hide, dismiss, collapse","tier":"presentation"}],"stateMachine":{"states":[{"name":"closed","isInitial":true},{"name":"open"}],"events":[{"key":"INIT","id":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","name":"Initialize"},{"key":"OPEN","id":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","name":"Open","description":"Open the panel.","synonyms":"show, launch, expand","tier":"presentation"},{"key":"CLOSE","id":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","name":"Close","description":"Close the panel.","synonyms":"hide, dismiss, collapse","tier":"presentation"}],"transitions":[{"from":"closed","to":"closed","event":"INIT","eventId":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","effects":[["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]},{"from":"closed","to":"open","event":"OPEN","eventId":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","effects":[["render-ui","floating",null],["render-ui","@config.panelSlot",{"children":[{"align":"center","children":[{"content":"@config.title","type":"typography","variant":"h4"},{"action":"CLOSE","aria-label":"@config.closeLabel","icon":"x","type":"button","variant":"ghost"}],"direction":"horizontal","justify":"between","type":"stack"},"@config.contentTrait"],"direction":"vertical","gap":"md","className":"h-full min-h-0 p-4","type":"stack"}]]},{"from":"open","to":"closed","event":"INIT","eventId":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","effects":[["render-ui","@config.panelSlot",null],["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]},{"from":"open","to":"closed","event":"CLOSE","eventId":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","effects":[["render-ui","@config.panelSlot",null],["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]}]},"config":{"
|
|
1
|
+
{"name":"std-panel-launcher","version":"1.0.0","description":"std-panel-launcher — a floating button on the page that opens a side panel holding one trait (an assistant, a help panel, a cart). Closed: the button floats bottom-right. Open: the panel shows `contentTrait` under `title` and the button steps aside; the panel's close button (or Escape on small screens) brings the button back. The panel slot defaults to `dock`, which pushes the page aside on wide screens and becomes a side sheet below 1024px. List the trait on every page that should carry the button — it never injects itself.","orbitals":[{"name":"PanelLauncherOrbital","id":"orb_GGKFTE5FPXQVEVPSQD8DRYQRF9","entity":{"name":"PanelLauncherView","id":"ent_E4A5FC5ZDFZPQPZPD3105MCM06","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"PanelLauncher","id":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"@config.panelSlot","resolved":false},{"kind":"render-ui","resource":"floating"}],"category":"interaction","linkedEntity":"PanelLauncherView","linkedEntityId":"ent_E4A5FC5ZDFZPQPZPD3105MCM06","entityRefIds":{"PanelLauncherView":"ent_E4A5FC5ZDFZPQPZPD3105MCM06"},"emits":[{"event":"OPEN","eventId":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","description":"Open the panel.","synonyms":"show, launch, expand","tier":"presentation"},{"event":"CLOSE","eventId":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","description":"Close the panel.","synonyms":"hide, dismiss, collapse","tier":"presentation"}],"stateMachine":{"states":[{"name":"closed","isInitial":true},{"name":"open"}],"events":[{"key":"INIT","id":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","name":"Initialize"},{"key":"OPEN","id":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","name":"Open","description":"Open the panel.","synonyms":"show, launch, expand","tier":"presentation"},{"key":"CLOSE","id":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","name":"Close","description":"Close the panel.","synonyms":"hide, dismiss, collapse","tier":"presentation"}],"transitions":[{"from":"closed","to":"closed","event":"INIT","eventId":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","effects":[["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]},{"from":"closed","to":"open","event":"OPEN","eventId":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","effects":[["render-ui","floating",null],["render-ui","@config.panelSlot",{"children":[{"align":"center","children":[{"content":"@config.title","type":"typography","variant":"h4"},{"action":"CLOSE","aria-label":"@config.closeLabel","icon":"x","type":"button","variant":"ghost"}],"direction":"horizontal","justify":"between","type":"stack"},"@config.contentTrait"],"direction":"vertical","gap":"md","className":"h-full min-h-0 p-4","type":"stack"}]]},{"from":"open","to":"closed","event":"INIT","eventId":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","effects":[["render-ui","@config.panelSlot",null],["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]},{"from":"open","to":"closed","event":"CLOSE","eventId":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","effects":[["render-ui","@config.panelSlot",null],["render-ui","floating",{"action":"OPEN","icon":"@config.icon","label":"@config.label","type":"floating-action-button"}]]}]},"config":{"closeLabel":{"type":"string","default":"Close panel","label":"Close button label","tier":"presentation"},"contentTrait":{"type":"trait","label":"What does the panel hold?","description":"The trait the panel shows when it is open.","synonyms":"panel content, body, assistant, chat","tier":"presentation"},"title":{"type":"string","default":"Panel","label":"Panel title","description":"Heading at the top of the open panel.","tier":"presentation"},"panelSlot":{"type":"slot","default":"dock","label":"Where the panel opens","description":"`dock` pushes the page aside (a side sheet on small screens); `drawer` slides over it.","tier":"presentation"},"icon":{"type":"icon","default":"message-circle","label":"Button icon","tier":"presentation"},"label":{"type":"string","default":"Open panel","label":"Button label","description":"What the floating button does, read to screen readers and shown as its tooltip.","synonyms":"aria label, button name, tooltip","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"PanelLauncherPage","id":"pag_HRQ5N5HYXKZESTDAK5FVDBV68V","path":"/panel-launcher","traits":[{"ref":"PanelLauncher","refId":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8"}]}]}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_E4A5FC5ZDFZPQPZPD3105MCM06":{"id":"ent_E4A5FC5ZDFZPQPZPD3105MCM06","kind":"entity","bakedName":"PanelLauncherView","curName":"PanelLauncherView","renames":[],"owner":"workspace"},"evt_69REWBHWCXY6EJ5ARN6MX8TTC5":{"id":"evt_69REWBHWCXY6EJ5ARN6MX8TTC5","kind":"event","bakedName":"OPEN","curName":"OPEN","renames":[],"owner":"workspace","parent":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8"},"evt_6XGHFMDH5HRJRXSDNEXGW1QS68":{"id":"evt_6XGHFMDH5HRJRXSDNEXGW1QS68","kind":"event","bakedName":"CLOSE","curName":"CLOSE","renames":[],"owner":"workspace","parent":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8"},"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN":{"id":"evt_BWWRY7V0DGG6R66ADHZ4ZCKBVN","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8"},"orb_GGKFTE5FPXQVEVPSQD8DRYQRF9":{"id":"orb_GGKFTE5FPXQVEVPSQD8DRYQRF9","kind":"orbital","bakedName":"PanelLauncherOrbital","curName":"PanelLauncherOrbital","renames":[],"owner":"workspace"},"pag_HRQ5N5HYXKZESTDAK5FVDBV68V":{"id":"pag_HRQ5N5HYXKZESTDAK5FVDBV68V","kind":"page","bakedName":"PanelLauncherPage","curName":"PanelLauncherPage","renames":[],"owner":"workspace"},"trt_P2WVQ0QBD8NPM6K63XS27CY0V8":{"id":"trt_P2WVQ0QBD8NPM6K63XS27CY0V8","kind":"trait","bakedName":"PanelLauncher","curName":"PanelLauncher","renames":[],"owner":"workspace"}}}}
|