@mastra/playground-ui 69.0.0-alpha.3 → 69.0.0-alpha.4
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/dist/{ActionRow-BlC9GAef.cjs → ActionRow-CvrBw87S.cjs} +2 -2
- package/dist/ActionRow-CvrBw87S.cjs.map +1 -0
- package/dist/{ActionRow-DCrRCvBq.js → ActionRow-yM6RsoEe.js} +2 -2
- package/dist/ActionRow-yM6RsoEe.js.map +1 -0
- package/dist/{Composer-D2BqRyb5.cjs → Composer-DNFL8qXT.cjs} +247 -78
- package/dist/Composer-DNFL8qXT.cjs.map +1 -0
- package/dist/{Composer-kjwmlIgL.js → Composer-yswP8Tls.js} +227 -82
- package/dist/Composer-yswP8Tls.js.map +1 -0
- package/dist/Composer.css +14 -0
- package/dist/{DataCodeSection-CcX8Z68Y.js → DataCodeSection-DQ86nArx.js} +2 -2
- package/dist/{DataCodeSection-CcX8Z68Y.js.map → DataCodeSection-DQ86nArx.js.map} +1 -1
- package/dist/{DataCodeSection-JPGTWLcL.cjs → DataCodeSection-vz1SFcEc.cjs} +2 -2
- package/dist/{DataCodeSection-JPGTWLcL.cjs.map → DataCodeSection-vz1SFcEc.cjs.map} +1 -1
- package/dist/{DataPanel-LfExjFpP.cjs → DataPanel-Bf7a92ew.cjs} +2 -2
- package/dist/{DataPanel-LfExjFpP.cjs.map → DataPanel-Bf7a92ew.cjs.map} +1 -1
- package/dist/{DataPanel-Rv5Mb_pf.js → DataPanel-CJsmZjPk.js} +2 -2
- package/dist/{DataPanel-Rv5Mb_pf.js.map → DataPanel-CJsmZjPk.js.map} +1 -1
- package/dist/{Dialog-Duy3M1ny.cjs → Dialog-BiKQDKFB.cjs} +3 -15
- package/dist/Dialog-BiKQDKFB.cjs.map +1 -0
- package/dist/{Dialog-OBPu3rl2.js → Dialog-DXJKTMMp.js} +2 -14
- package/dist/Dialog-DXJKTMMp.js.map +1 -0
- package/dist/{FilterBar-DgHNtsDI.js → FilterBar-BdETyj2z.js} +2 -2
- package/dist/{FilterBar-DgHNtsDI.js.map → FilterBar-BdETyj2z.js.map} +1 -1
- package/dist/{FilterBar-O8SYau_Q.cjs → FilterBar-D9aHh-m_.cjs} +2 -2
- package/dist/{FilterBar-O8SYau_Q.cjs.map → FilterBar-D9aHh-m_.cjs.map} +1 -1
- package/dist/{MarkdownRenderer-BSGb65Ze.js → MarkdownRenderer-CTKHmV9P.js} +192 -21
- package/dist/MarkdownRenderer-CTKHmV9P.js.map +1 -0
- package/dist/{MarkdownRenderer-CDwlvw0Y.cjs → MarkdownRenderer-DEfS5FJk.cjs} +192 -21
- package/dist/MarkdownRenderer-DEfS5FJk.cjs.map +1 -0
- package/dist/{MetricsLineChart-BnY9JKzc.cjs → MetricsLineChart-CFKyRZ0t.cjs} +7 -3
- package/dist/MetricsLineChart-CFKyRZ0t.cjs.map +1 -0
- package/dist/{MetricsLineChart-4w5lpH63.js → MetricsLineChart-CwQ7c3nK.js} +8 -4
- package/dist/MetricsLineChart-CwQ7c3nK.js.map +1 -0
- package/dist/{MetricsStackedBarChart-Bmk0OjYp.js → MetricsStackedBarChart-BYnCiXfI.js} +8 -6
- package/dist/MetricsStackedBarChart-BYnCiXfI.js.map +1 -0
- package/dist/{MetricsStackedBarChart-CJQF99sc.cjs → MetricsStackedBarChart-e4_hVNX6.cjs} +6 -4
- package/dist/MetricsStackedBarChart-e4_hVNX6.cjs.map +1 -0
- package/dist/{Workflow-CwIjxwC6.cjs → Workflow-BZ93cAzH.cjs} +2 -2
- package/dist/{Workflow-CwIjxwC6.cjs.map → Workflow-BZ93cAzH.cjs.map} +1 -1
- package/dist/{Workflow-BVVYys0W.js → Workflow-DZINlzVS.js} +2 -2
- package/dist/{Workflow-BVVYys0W.js.map → Workflow-DZINlzVS.js.map} +1 -1
- package/dist/{activity-BH_eegMA.js → activity-BFk77HxX.js} +2 -2
- package/dist/{activity-BH_eegMA.js.map → activity-BFk77HxX.js.map} +1 -1
- package/dist/{activity-Ciolopq8.cjs → activity-CSzzlpz0.cjs} +2 -2
- package/dist/{activity-Ciolopq8.cjs.map → activity-CSzzlpz0.cjs.map} +1 -1
- package/dist/chart-plot.css +9 -0
- package/dist/components/ActionRow.cjs.js +1 -1
- package/dist/components/ActionRow.es.js +1 -1
- package/dist/components/AlertDialog.cjs.js +1 -1
- package/dist/components/AlertDialog.es.js +1 -1
- package/dist/components/ChartSkeleton.cjs.js +2 -0
- package/dist/components/ChartSkeleton.cjs.js.map +1 -1
- package/dist/components/ChartSkeleton.es.js +2 -0
- package/dist/components/ChartSkeleton.es.js.map +1 -1
- package/dist/components/Command.cjs.js +1 -1
- package/dist/components/Command.es.js +1 -1
- package/dist/components/Composer.cjs.js +5 -1
- package/dist/components/Composer.es.js +1 -1
- package/dist/components/DataCodeSection.cjs.js +1 -1
- package/dist/components/DataCodeSection.es.js +1 -1
- package/dist/components/DataPanel.cjs.js +1 -1
- package/dist/components/DataPanel.es.js +1 -1
- package/dist/components/Dialog.cjs.js +1 -1
- package/dist/components/Dialog.es.js +1 -1
- package/dist/components/FilterBar.cjs.js +1 -1
- package/dist/components/FilterBar.es.js +1 -1
- package/dist/components/MarkdownRenderer.cjs.js +1 -1
- package/dist/components/MarkdownRenderer.es.js +1 -1
- package/dist/components/MetricsLineChart.cjs.js +1 -1
- package/dist/components/MetricsLineChart.es.js +1 -1
- package/dist/components/MetricsStackedBarChart.cjs.js +1 -1
- package/dist/components/MetricsStackedBarChart.es.js +1 -1
- package/dist/components/SeriesMark.cjs.js +1 -1
- package/dist/components/SeriesMark.cjs.js.map +1 -1
- package/dist/components/SeriesMark.es.js +1 -1
- package/dist/components/SeriesMark.es.js.map +1 -1
- package/dist/components/Sidebar.cjs.js +1 -1
- package/dist/components/Sidebar.es.js +1 -1
- package/dist/components/ThinkingLevel.cjs.js +219 -104
- package/dist/components/ThinkingLevel.cjs.js.map +1 -1
- package/dist/components/ThinkingLevel.es.js +221 -105
- package/dist/components/ThinkingLevel.es.js.map +1 -1
- package/dist/components/Workflow.cjs.js +1 -1
- package/dist/components/Workflow.es.js +1 -1
- package/dist/components/ai/activity.cjs.js +1 -1
- package/dist/components/ai/activity.es.js +1 -1
- package/dist/components/ai/plan.cjs.js +1 -1
- package/dist/components/ai/plan.es.js +1 -1
- package/dist/components/ai/tool-approval.cjs.js +1 -1
- package/dist/components/ai/tool-approval.es.js +1 -1
- package/dist/components/ai/tool-call.cjs.js +1 -1
- package/dist/components/ai/tool-call.es.js +1 -1
- package/dist/dialog-shell-BECSoKqj.cjs +26 -0
- package/dist/dialog-shell-BECSoKqj.cjs.map +1 -0
- package/dist/dialog-shell-C-PVUid_.js +16 -0
- package/dist/dialog-shell-C-PVUid_.js.map +1 -0
- package/dist/domains/chat/activity/activity-stretch-line.cjs.js +1 -1
- package/dist/domains/chat/activity/activity-stretch-line.es.js +1 -1
- package/dist/domains/chat/activity/components/activity-fold.cjs.js +1 -1
- package/dist/domains/chat/activity/components/activity-fold.es.js +1 -1
- package/dist/domains/chat/activity/components/calls-panel.cjs.js +1 -1
- package/dist/domains/chat/activity/components/calls-panel.es.js +1 -1
- package/dist/domains/chat/activity/components/stretch-content.cjs.js +1 -1
- package/dist/domains/chat/activity/components/stretch-content.es.js +1 -1
- package/dist/domains/chat/activity/components/stretch-thought.cjs.js +1 -1
- package/dist/domains/chat/activity/components/stretch-thought.es.js +1 -1
- package/dist/domains/chat/activity/model/activity-segments.cjs.js +1 -1
- package/dist/domains/chat/activity/model/activity-segments.es.js +1 -1
- package/dist/domains/chat/activity/model/activity-words.cjs.js +1 -1
- package/dist/domains/chat/activity/model/activity-words.es.js +1 -1
- package/dist/domains/chat/attachments/attachment-preview-dialog.cjs.js +1 -1
- package/dist/domains/chat/attachments/attachment-preview-dialog.es.js +1 -1
- package/dist/domains/chat/attachments/composer-attachment-list.cjs.js +1 -1
- package/dist/domains/chat/attachments/composer-attachment-list.es.js +1 -1
- package/dist/domains/chat/components/badge-wrapper.cjs.js +1 -1
- package/dist/domains/chat/components/badge-wrapper.es.js +1 -1
- package/dist/domains/chat/components/network-choice-metadata-dialog.cjs.js +1 -1
- package/dist/domains/chat/components/network-choice-metadata-dialog.es.js +1 -1
- package/dist/domains/chat/knowledge/pinned-knowledge.cjs.js +1 -1
- package/dist/domains/chat/knowledge/pinned-knowledge.es.js +1 -1
- package/dist/domains/chat/messages/dataset-save-action.cjs.js +1 -1
- package/dist/domains/chat/messages/dataset-save-action.es.js +1 -1
- package/dist/domains/chat/messages/message-row.cjs.js +2 -2
- package/dist/domains/chat/messages/message-row.es.js +2 -2
- package/dist/domains/chat/messages/notification-signal-notice.cjs.js +1 -1
- package/dist/domains/chat/messages/notification-signal-notice.es.js +1 -1
- package/dist/domains/chat/messages/reasoning-content.cjs.js +1 -1
- package/dist/domains/chat/messages/reasoning-content.es.js +1 -1
- package/dist/domains/chat/messages/renderers/message-text.cjs.js +1 -1
- package/dist/domains/chat/messages/renderers/message-text.es.js +1 -1
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.cjs.js +1 -1
- package/dist/domains/chat/messages/renderers/reasoning-part-renderer.es.js +1 -1
- package/dist/domains/chat/messages/signal-badge.cjs.js +1 -1
- package/dist/domains/chat/messages/signal-badge.es.js +1 -1
- package/dist/domains/chat/messages/skill-message.cjs.js +2 -2
- package/dist/domains/chat/messages/skill-message.es.js +2 -2
- package/dist/domains/chat/messages/system-reminder-badge.cjs.js +1 -1
- package/dist/domains/chat/messages/system-reminder-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/agent-badge-wrapper.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/agent-badge-wrapper.es.js +1 -1
- package/dist/domains/chat/tools/badges/agent-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/agent-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/background-task-metadata-dialog.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/background-task-metadata-dialog.es.js +1 -1
- package/dist/domains/chat/tools/badges/file-tree-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/file-tree-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/knowledge-tool-badge.cjs.js +2 -2
- package/dist/domains/chat/tools/badges/knowledge-tool-badge.es.js +2 -2
- package/dist/domains/chat/tools/badges/observation-marker-badge.cjs.js +2 -2
- package/dist/domains/chat/tools/badges/observation-marker-badge.es.js +2 -2
- package/dist/domains/chat/tools/badges/observation-marker-details.cjs.js +2 -2
- package/dist/domains/chat/tools/badges/observation-marker-details.es.js +2 -2
- package/dist/domains/chat/tools/badges/observation-renderer.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/observation-renderer.es.js +1 -1
- package/dist/domains/chat/tools/badges/sandbox-execution-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/sandbox-execution-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/tool-approval-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/tool-approval-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/tool-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/tool-badge.es.js +1 -1
- package/dist/domains/chat/tools/badges/workflow-badge.cjs.js +1 -1
- package/dist/domains/chat/tools/badges/workflow-badge.es.js +1 -1
- package/dist/domains/chat/tools/tool-card.cjs.js +1 -1
- package/dist/domains/chat/tools/tool-card.es.js +1 -1
- package/dist/domains/chat/tools/tool-groups.cjs.js +1 -1
- package/dist/domains/chat/tools/tool-groups.es.js +1 -1
- package/dist/domains/dashboards/components/stateless-widget.cjs.js.map +1 -1
- package/dist/domains/dashboards/components/stateless-widget.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/kpis/kpis-widget.cjs.js +23 -17
- package/dist/domains/dashboards/kinds/kpis/kpis-widget.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/kpis/kpis-widget.es.js +23 -17
- package/dist/domains/dashboards/kinds/kpis/kpis-widget.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/scores/options.cjs.js +1 -0
- package/dist/domains/dashboards/kinds/scores/options.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/scores/options.es.js +1 -0
- package/dist/domains/dashboards/kinds/scores/options.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/scores/scores-widget.cjs.js +3 -3
- package/dist/domains/dashboards/kinds/scores/scores-widget.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/scores/scores-widget.es.js +3 -3
- package/dist/domains/dashboards/kinds/scores/scores-widget.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/table/table-tabs.cjs.js +1 -0
- package/dist/domains/dashboards/kinds/table/table-tabs.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/table/table-tabs.es.js +1 -0
- package/dist/domains/dashboards/kinds/table/table-tabs.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/table/table-widget.cjs.js +1 -0
- package/dist/domains/dashboards/kinds/table/table-widget.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/table/table-widget.es.js +1 -0
- package/dist/domains/dashboards/kinds/table/table-widget.es.js.map +1 -1
- package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.cjs.js +6 -6
- package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.cjs.js.map +1 -1
- package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.es.js +6 -6
- package/dist/domains/dashboards/kinds/timeseries/timeseries-widget.es.js.map +1 -1
- package/dist/domains/dashboards/lib/chrome.cjs.js.map +1 -1
- package/dist/domains/dashboards/lib/chrome.es.js.map +1 -1
- package/dist/domains/dashboards/lib/timeseries.cjs.js +1 -0
- package/dist/domains/dashboards/lib/timeseries.cjs.js.map +1 -1
- package/dist/domains/dashboards/lib/timeseries.es.js +1 -0
- package/dist/domains/dashboards/lib/timeseries.es.js.map +1 -1
- package/dist/domains/dashboards/metrics-dashboard.cjs.js +10 -16
- package/dist/domains/dashboards/metrics-dashboard.cjs.js.map +1 -1
- package/dist/domains/dashboards/metrics-dashboard.es.js +10 -16
- package/dist/domains/dashboards/metrics-dashboard.es.js.map +1 -1
- package/dist/domains/dashboards/widget-kind.cjs.js.map +1 -1
- package/dist/domains/dashboards/widget-kind.es.js.map +1 -1
- package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.cjs.js +1 -1
- package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.es.js +1 -1
- package/dist/domains/datasets/components/save-as-dataset-item-dialog.cjs.js +1 -1
- package/dist/domains/datasets/components/save-as-dataset-item-dialog.es.js +1 -1
- package/dist/domains/knowledge/components/KnowledgePageDetail.cjs.js +1 -1
- package/dist/domains/knowledge/components/KnowledgePageDetail.es.js +1 -1
- package/dist/domains/knowledge/components/KnowledgePageExplorer.cjs.js +2 -2
- package/dist/domains/knowledge/components/KnowledgePageExplorer.es.js +2 -2
- package/dist/domains/llm/model-picker-option.cjs.js +39 -0
- package/dist/domains/llm/model-picker-option.cjs.js.map +1 -0
- package/dist/domains/llm/model-picker-option.d.ts +1 -0
- package/dist/domains/llm/model-picker-option.es.js +38 -0
- package/dist/domains/llm/model-picker-option.es.js.map +1 -0
- package/dist/domains/llm/model-picker-panel.cjs.js +168 -0
- package/dist/domains/llm/model-picker-panel.cjs.js.map +1 -0
- package/dist/domains/llm/model-picker-panel.d.ts +1 -0
- package/dist/domains/llm/model-picker-panel.es.js +167 -0
- package/dist/domains/llm/model-picker-panel.es.js.map +1 -0
- package/dist/domains/llm/model-picker-provider-filter.cjs.js +55 -0
- package/dist/domains/llm/model-picker-provider-filter.cjs.js.map +1 -0
- package/dist/domains/llm/model-picker-provider-filter.d.ts +1 -0
- package/dist/domains/llm/model-picker-provider-filter.es.js +54 -0
- package/dist/domains/llm/model-picker-provider-filter.es.js.map +1 -0
- package/dist/domains/llm/model-picker-provider-option.cjs.js +38 -0
- package/dist/domains/llm/model-picker-provider-option.cjs.js.map +1 -0
- package/dist/domains/llm/model-picker-provider-option.d.ts +1 -0
- package/dist/domains/llm/model-picker-provider-option.es.js +37 -0
- package/dist/domains/llm/model-picker-provider-option.es.js.map +1 -0
- package/dist/domains/llm/model-picker-types.cjs.js +0 -0
- package/dist/domains/llm/model-picker-types.d.ts +1 -0
- package/dist/domains/llm/model-picker-types.es.js +0 -0
- package/dist/domains/llm/model-picker.cjs.js +126 -0
- package/dist/domains/llm/model-picker.cjs.js.map +1 -0
- package/dist/domains/llm/model-picker.d.ts +1 -0
- package/dist/domains/llm/model-picker.es.js +125 -0
- package/dist/domains/llm/model-picker.es.js.map +1 -0
- package/dist/domains/llm.cjs.js +2 -0
- package/dist/domains/llm.es.js +2 -1
- package/dist/domains/logs/components/log-data-panel.cjs.js +1 -1
- package/dist/domains/logs/components/log-data-panel.es.js +1 -1
- package/dist/domains/metrics/components/agent-runs-card.cjs.js +2 -3
- package/dist/domains/metrics/components/agent-runs-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/agent-runs-card.es.js +2 -3
- package/dist/domains/metrics/components/agent-runs-card.es.js.map +1 -1
- package/dist/domains/metrics/components/chart-area.cjs.js +52 -7
- package/dist/domains/metrics/components/chart-area.cjs.js.map +1 -1
- package/dist/domains/metrics/components/chart-area.es.js +52 -7
- package/dist/domains/metrics/components/chart-area.es.js.map +1 -1
- package/dist/domains/metrics/components/chart-card.cjs.js +39 -5
- package/dist/domains/metrics/components/chart-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/chart-card.es.js +39 -5
- package/dist/domains/metrics/components/chart-card.es.js.map +1 -1
- package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.cjs.js +3 -4
- package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.cjs.js.map +1 -1
- package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.es.js +3 -4
- package/dist/domains/metrics/components/distinct-ids/distinct-ids-chart.es.js.map +1 -1
- package/dist/domains/metrics/components/failure-rate-card.cjs.js +1 -2
- package/dist/domains/metrics/components/failure-rate-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/failure-rate-card.es.js +1 -2
- package/dist/domains/metrics/components/failure-rate-card.es.js.map +1 -1
- package/dist/domains/metrics/components/latency-card.cjs.js +2 -8
- package/dist/domains/metrics/components/latency-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/latency-card.es.js +2 -8
- package/dist/domains/metrics/components/latency-card.es.js.map +1 -1
- package/dist/domains/metrics/components/scores-card.cjs.js +1 -2
- package/dist/domains/metrics/components/scores-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/scores-card.es.js +1 -2
- package/dist/domains/metrics/components/scores-card.es.js.map +1 -1
- package/dist/domains/metrics/components/token-usage-card.cjs.js +2 -3
- package/dist/domains/metrics/components/token-usage-card.cjs.js.map +1 -1
- package/dist/domains/metrics/components/token-usage-card.es.js +2 -3
- package/dist/domains/metrics/components/token-usage-card.es.js.map +1 -1
- package/dist/domains/observability/components/observability-histogram.cjs.js +1 -1
- package/dist/domains/observability/components/observability-histogram.es.js +1 -1
- package/dist/domains/scores/components/score-data-panel.cjs.js +1 -1
- package/dist/domains/scores/components/score-data-panel.es.js +1 -1
- package/dist/domains/scores/components/span-scoring.cjs.js +1 -1
- package/dist/domains/scores/components/span-scoring.es.js +1 -1
- package/dist/domains/scores/components/trace-scores-list.cjs.js +1 -1
- package/dist/domains/scores/components/trace-scores-list.es.js +1 -1
- package/dist/domains/skills/skill-simple-form.cjs.js +1 -1
- package/dist/domains/skills/skill-simple-form.es.js +1 -1
- package/dist/domains/spans/components/spans-explorer-body.cjs.js +1 -1
- package/dist/domains/spans/components/spans-explorer-body.es.js +1 -1
- package/dist/domains/spans/components/spans-filter-bar.cjs.js +1 -1
- package/dist/domains/spans/components/spans-filter-bar.es.js +1 -1
- package/dist/domains/threads/components/threads-explorer-body.cjs.js +1 -1
- package/dist/domains/threads/components/threads-explorer-body.es.js +1 -1
- package/dist/domains/threads/components/threads-filter-bar.cjs.js +1 -1
- package/dist/domains/threads/components/threads-filter-bar.es.js +1 -1
- package/dist/domains/traces/components/span-data-panel-view.cjs.js +1 -1
- package/dist/domains/traces/components/span-data-panel-view.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-error-renderer.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-error-renderer.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-input-renderers.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-input-renderers.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-output-renderers.cjs.js +2 -2
- package/dist/domains/traces/components/span-payload/span-output-renderers.es.js +2 -2
- package/dist/domains/traces/components/span-payload/span-payload-messages.cjs.js +2 -2
- package/dist/domains/traces/components/span-payload/span-payload-messages.es.js +2 -2
- package/dist/domains/traces/components/span-payload/span-payload-primitives.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-payload-primitives.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-payload-processor.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-payload-processor.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-payload-tool.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-payload-tool.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-processor-mutations.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-processor-mutations.es.js +1 -1
- package/dist/domains/traces/components/span-payload/span-tools-section.cjs.js +1 -1
- package/dist/domains/traces/components/span-payload/span-tools-section.es.js +1 -1
- package/dist/domains/traces/components/span-summary-description.cjs.js +1 -1
- package/dist/domains/traces/components/span-summary-description.es.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-details.cjs.js +1 -1
- package/dist/domains/traces/components/thread-trace/thread-trace-details.es.js +1 -1
- package/dist/domains/traces/components/trace-columns-menu.cjs.js +1 -1
- package/dist/domains/traces/components/trace-columns-menu.es.js +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.cjs.js +1 -1
- package/dist/domains/traces/components/trace-data-panel-view.es.js +1 -1
- package/dist/domains/traces/components/trace-data-panel.cjs.js +1 -1
- package/dist/domains/traces/components/trace-data-panel.es.js +1 -1
- package/dist/domains/traces/components/trace-id-button.cjs.js +1 -1
- package/dist/domains/traces/components/trace-id-button.es.js +1 -1
- package/dist/domains/traces/components/trace-summary-description.cjs.js +1 -1
- package/dist/domains/traces/components/trace-summary-description.es.js +1 -1
- package/dist/domains/traces/components/trace-thread-panel.cjs.js +1 -1
- package/dist/domains/traces/components/trace-thread-panel.es.js +1 -1
- package/dist/domains/traces/components/traces-explorer/traces-explorer-filter-bar.cjs.js +1 -1
- package/dist/domains/traces/components/traces-explorer/traces-explorer-filter-bar.es.js +1 -1
- package/dist/domains/workflows/components/workflow-layout.cjs.js +1 -1
- package/dist/domains/workflows/components/workflow-layout.es.js +1 -1
- package/dist/domains/workflows/components/workflow-step-detail.cjs.js +2 -2
- package/dist/domains/workflows/components/workflow-step-detail.es.js +2 -2
- package/dist/domains/workflows/workflow/data/workflow-data-button.cjs.js +1 -1
- package/dist/domains/workflows/workflow/data/workflow-data-button.es.js +1 -1
- package/dist/domains/workflows/workflow/use-workflow-graph-runtime.cjs.js +1 -1
- package/dist/domains/workflows/workflow/use-workflow-graph-runtime.es.js +1 -1
- package/dist/domains/workflows/workflow/utils.cjs.js +1 -1
- package/dist/domains/workflows/workflow/utils.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-body-graph.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-body-graph.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-data-edge.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-data-edge.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-debug-step-controls.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-debug-step-controls.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph-inner.cjs.js +2 -2
- package/dist/domains/workflows/workflow/workflow-graph-inner.es.js +2 -2
- package/dist/domains/workflows/workflow/workflow-graph-layout.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph-layout.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph-node.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph-node.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-graph.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-map-config-dialog.cjs.js +2 -2
- package/dist/domains/workflows/workflow/workflow-map-config-dialog.es.js +2 -2
- package/dist/domains/workflows/workflow/workflow-nested-graph.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-nested-graph.es.js +1 -1
- package/dist/domains/workflows/workflow/workflow-step-action-bar.cjs.js +2 -2
- package/dist/domains/workflows/workflow/workflow-step-action-bar.es.js +2 -2
- package/dist/domains/workflows/workflow/workflow-step-node-utils.cjs.js +1 -1
- package/dist/domains/workflows/workflow/workflow-step-node-utils.es.js +1 -1
- package/dist/domains/workspace/components/workspace-add-skill-dialog.cjs.js +2 -2
- package/dist/domains/workspace/components/workspace-add-skill-dialog.es.js +2 -2
- package/dist/domains/workspace/components/workspace-create-directory.cjs.js +1 -1
- package/dist/domains/workspace/components/workspace-create-directory.es.js +1 -1
- package/dist/domains/workspace/components/workspace-markdown-preview.cjs.js +1 -1
- package/dist/domains/workspace/components/workspace-markdown-preview.es.js +1 -1
- package/dist/ee/signals/settings/signal-definition-form-dialog.cjs.js +1 -1
- package/dist/ee/signals/settings/signal-definition-form-dialog.es.js +1 -1
- package/dist/icons/DatasetsIcon.cjs.js +4 -14
- package/dist/icons/DatasetsIcon.cjs.js.map +1 -1
- package/dist/icons/DatasetsIcon.es.js +4 -12
- package/dist/icons/DatasetsIcon.es.js.map +1 -1
- package/dist/icons/ExperimentsIcon.cjs.js +4 -16
- package/dist/icons/ExperimentsIcon.cjs.js.map +1 -1
- package/dist/icons/ExperimentsIcon.es.js +4 -14
- package/dist/icons/ExperimentsIcon.es.js.map +1 -1
- package/dist/icons/LogsIcon.cjs.js +4 -48
- package/dist/icons/LogsIcon.cjs.js.map +1 -1
- package/dist/icons/LogsIcon.es.js +5 -47
- package/dist/icons/LogsIcon.es.js.map +1 -1
- package/dist/icons/MetricsIcon.cjs.js +4 -17
- package/dist/icons/MetricsIcon.cjs.js.map +1 -1
- package/dist/icons/MetricsIcon.es.js +5 -16
- package/dist/icons/MetricsIcon.es.js.map +1 -1
- package/dist/icons/ProcessorIcon.cjs.js +15 -16
- package/dist/icons/ProcessorIcon.cjs.js.map +1 -1
- package/dist/icons/ProcessorIcon.es.js +16 -16
- package/dist/icons/ProcessorIcon.es.js.map +1 -1
- package/dist/icons/PromptIcon.cjs.js +7 -16
- package/dist/icons/PromptIcon.cjs.js.map +1 -1
- package/dist/icons/PromptIcon.es.js +8 -14
- package/dist/icons/PromptIcon.es.js.map +1 -1
- package/dist/icons/ScorersIcon.cjs.js +4 -30
- package/dist/icons/ScorersIcon.cjs.js.map +1 -1
- package/dist/icons/ScorersIcon.es.js +5 -29
- package/dist/icons/ScorersIcon.es.js.map +1 -1
- package/dist/icons/SettingsIcon.cjs.js +4 -16
- package/dist/icons/SettingsIcon.cjs.js.map +1 -1
- package/dist/icons/SettingsIcon.es.js +4 -14
- package/dist/icons/SettingsIcon.es.js.map +1 -1
- package/dist/icons/ToolsIcon.cjs.js +4 -16
- package/dist/icons/ToolsIcon.cjs.js.map +1 -1
- package/dist/icons/ToolsIcon.es.js +4 -14
- package/dist/icons/ToolsIcon.es.js.map +1 -1
- package/dist/icons/TraceIcon.cjs.js +4 -28
- package/dist/icons/TraceIcon.cjs.js.map +1 -1
- package/dist/icons/TraceIcon.es.js +5 -27
- package/dist/icons/TraceIcon.es.js.map +1 -1
- package/dist/icons/WorkspacesIcon.cjs.js +4 -14
- package/dist/icons/WorkspacesIcon.cjs.js.map +1 -1
- package/dist/icons/WorkspacesIcon.es.js +4 -12
- package/dist/icons/WorkspacesIcon.es.js.map +1 -1
- package/dist/primitives/chart-layout.cjs.js +4 -0
- package/dist/primitives/chart-layout.cjs.js.map +1 -1
- package/dist/primitives/chart-layout.es.js +4 -1
- package/dist/primitives/chart-layout.es.js.map +1 -1
- package/dist/primitives/chart-plot.cjs.js +1 -1
- package/dist/primitives/chart-plot.cjs.js.map +1 -1
- package/dist/primitives/chart-plot.es.js +1 -1
- package/dist/primitives/chart-plot.es.js.map +1 -1
- package/dist/{span-payload-primitives-KxqoXspn.js → span-payload-primitives-D0Qs2g2K.js} +3 -3
- package/dist/{span-payload-primitives-KxqoXspn.js.map → span-payload-primitives-D0Qs2g2K.js.map} +1 -1
- package/dist/{span-payload-primitives-CL3hlirm.cjs → span-payload-primitives-Zl7_jWt0.cjs} +3 -3
- package/dist/{span-payload-primitives-CL3hlirm.cjs.map → span-payload-primitives-Zl7_jWt0.cjs.map} +1 -1
- package/dist/src/domains/dashboards/components/stateless-widget.d.ts +7 -0
- package/dist/src/domains/dashboards/kinds/scores/scores-widget.d.ts +1 -1
- package/dist/src/domains/dashboards/lib/chrome.d.ts +1 -1
- package/dist/src/domains/dashboards/widget-kind.d.ts +2 -0
- package/dist/src/domains/llm/index.d.ts +3 -0
- package/dist/src/domains/llm/model-picker-option.d.ts +12 -0
- package/dist/src/domains/llm/model-picker-panel.d.ts +23 -0
- package/dist/src/domains/llm/model-picker-provider-filter.d.ts +16 -0
- package/dist/src/domains/llm/model-picker-provider-option.d.ts +10 -0
- package/dist/src/domains/llm/model-picker-types.d.ts +22 -0
- package/dist/src/domains/llm/model-picker.d.ts +40 -0
- package/dist/src/domains/metrics/components/chart-area.d.ts +10 -2
- package/dist/src/domains/metrics/components/chart-card.d.ts +7 -1
- package/dist/src/ds/components/Composer/composer-attach-menu.d.ts +23 -0
- package/dist/src/ds/components/Composer/composer-header.d.ts +14 -9
- package/dist/src/ds/components/Composer/composer.d.ts +21 -14
- package/dist/src/ds/components/Composer/index.d.ts +3 -1
- package/dist/src/ds/components/MarkdownRenderer/blocks.d.ts +21 -0
- package/dist/src/ds/components/MarkdownRenderer/markdown-renderer.d.ts +3 -3
- package/dist/src/ds/components/ThinkingLevel/index.d.ts +1 -1
- package/dist/src/ds/components/ThinkingLevel/thinking-level-brain.d.ts +5 -0
- package/dist/src/ds/components/ThinkingLevel/thinking-level-icon.d.ts +9 -0
- package/dist/src/ds/components/ThinkingLevel/thinking-level-picker.d.ts +0 -5
- package/dist/src/ds/components/ThinkingLevel/thinking-level-ramp.d.ts +20 -2
- package/dist/src/ds/components/ThinkingLevel/thinking-level-story-data.d.ts +7 -0
- package/dist/src/ds/components/ThinkingLevel/use-thinking-level-stop.d.ts +4 -1
- package/dist/src/ds/icons/DatasetsIcon.d.ts +2 -2
- package/dist/src/ds/icons/ExperimentsIcon.d.ts +2 -2
- package/dist/src/ds/icons/LogsIcon.d.ts +2 -2
- package/dist/src/ds/icons/MetricsIcon.d.ts +2 -2
- package/dist/src/ds/icons/ProcessorIcon.d.ts +2 -2
- package/dist/src/ds/icons/PromptIcon.d.ts +2 -2
- package/dist/src/ds/icons/ScorersIcon.d.ts +2 -2
- package/dist/src/ds/icons/SettingsIcon.d.ts +2 -2
- package/dist/src/ds/icons/ToolsIcon.d.ts +2 -2
- package/dist/src/ds/icons/TraceIcon.d.ts +2 -2
- package/dist/src/ds/icons/WorkspacesIcon.d.ts +2 -2
- package/dist/src/ds/primitives/chart-layout.d.ts +2 -0
- package/dist/style.css +277 -45
- package/dist/{tool-approval-C4WNL8VD.cjs → tool-approval-CAi-OjD4.cjs} +3 -3
- package/dist/{tool-approval-C4WNL8VD.cjs.map → tool-approval-CAi-OjD4.cjs.map} +1 -1
- package/dist/{tool-approval-ZfL3-Vvi.js → tool-approval-D4fPjSGH.js} +3 -3
- package/dist/{tool-approval-ZfL3-Vvi.js.map → tool-approval-D4fPjSGH.js.map} +1 -1
- package/dist/{tool-call-C4TBpJ6Y.cjs → tool-call-BlhTN5zS.cjs} +2 -2
- package/dist/{tool-call-C4TBpJ6Y.cjs.map → tool-call-BlhTN5zS.cjs.map} +1 -1
- package/dist/{tool-call-BLzYTI-x.js → tool-call-DIpsUDbM.js} +2 -2
- package/dist/{tool-call-BLzYTI-x.js.map → tool-call-DIpsUDbM.js.map} +1 -1
- package/dist/{tool-card-CM0aHG3p.js → tool-card-BTpMSR77.js} +2 -2
- package/dist/{tool-card-CM0aHG3p.js.map → tool-card-BTpMSR77.js.map} +1 -1
- package/dist/{tool-card-xDlCD0m6.cjs → tool-card-DfYiJxeq.cjs} +2 -2
- package/dist/{tool-card-xDlCD0m6.cjs.map → tool-card-DfYiJxeq.cjs.map} +1 -1
- package/dist/{use-workflow-graph-runtime-DEJA9rk4.cjs → use-workflow-graph-runtime-Dm3DVQzm.cjs} +2 -2
- package/dist/{use-workflow-graph-runtime-DEJA9rk4.cjs.map → use-workflow-graph-runtime-Dm3DVQzm.cjs.map} +1 -1
- package/dist/{use-workflow-graph-runtime-DHOsA1DM.js → use-workflow-graph-runtime-RGwgMzqP.js} +2 -2
- package/dist/{use-workflow-graph-runtime-DHOsA1DM.js.map → use-workflow-graph-runtime-RGwgMzqP.js.map} +1 -1
- package/package.json +7 -7
- package/dist/ActionRow-BlC9GAef.cjs.map +0 -1
- package/dist/ActionRow-DCrRCvBq.js.map +0 -1
- package/dist/Composer-D2BqRyb5.cjs.map +0 -1
- package/dist/Composer-kjwmlIgL.js.map +0 -1
- package/dist/Dialog-Duy3M1ny.cjs.map +0 -1
- package/dist/Dialog-OBPu3rl2.js.map +0 -1
- package/dist/MarkdownRenderer-BSGb65Ze.js.map +0 -1
- package/dist/MarkdownRenderer-CDwlvw0Y.cjs.map +0 -1
- package/dist/MetricsLineChart-4w5lpH63.js.map +0 -1
- package/dist/MetricsLineChart-BnY9JKzc.cjs.map +0 -1
- package/dist/MetricsStackedBarChart-Bmk0OjYp.js.map +0 -1
- package/dist/MetricsStackedBarChart-CJQF99sc.cjs.map +0 -1
- package/dist/src/ds/components/ThinkingLevel/thinking-level-slider.d.ts +0 -13
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ModelPickerProvider } from './model-picker-types';
|
|
3
|
+
interface ModelPickerProviderOptionProps {
|
|
4
|
+
provider: ModelPickerProvider;
|
|
5
|
+
onSelect: () => void;
|
|
6
|
+
renderProviderIcon: (providerId: string) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** A provider that isn't connected; picking it lists its models. */
|
|
9
|
+
export declare function ModelPickerProviderOption({ provider, onSelect, renderProviderIcon }: ModelPickerProviderOptionProps): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
export interface ModelPickerModel {
|
|
3
|
+
/** Unique within its provider. Shown formatted by `formatModelName`, e.g. `claude-opus-4-6` reads "Claude Opus 4.6". */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Lists newest first; models without a date follow, by id. */
|
|
6
|
+
releaseDate?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ModelPickerProvider {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
/** `false` marks the provider as missing credentials. */
|
|
12
|
+
connected?: boolean;
|
|
13
|
+
models: ModelPickerModel[];
|
|
14
|
+
}
|
|
15
|
+
export interface ModelPickerValue {
|
|
16
|
+
provider: string;
|
|
17
|
+
model: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ModelPickerAddProvider {
|
|
20
|
+
label: string;
|
|
21
|
+
render: ReactElement;
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ModelPickerAddProvider, ModelPickerProvider, ModelPickerValue } from './model-picker-types';
|
|
3
|
+
export interface ModelPickerProps {
|
|
4
|
+
/** Providers in display order, each with its models in display order. */
|
|
5
|
+
providers: ModelPickerProvider[];
|
|
6
|
+
value?: ModelPickerValue;
|
|
7
|
+
onValueChange: (value: ModelPickerValue) => void;
|
|
8
|
+
/** Marked "Default" in the list. */
|
|
9
|
+
defaultModel?: ModelPickerValue;
|
|
10
|
+
/** Trigger content. Defaults to the selected provider's icon and the model's readable name. */
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
renderProviderIcon?: (providerId: string) => ReactNode;
|
|
13
|
+
/** Above the search field, e.g. the credential the selected model runs on. */
|
|
14
|
+
header?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Controls for the selected model below the list, e.g. its thinking level. Rendered outside the
|
|
17
|
+
* command list so sliders and other inputs keep their own arrow-key handling.
|
|
18
|
+
*/
|
|
19
|
+
settings?: ReactNode;
|
|
20
|
+
/** A "+" at the end of the search field, e.g. a link to connect another provider. */
|
|
21
|
+
addProvider?: ModelPickerAddProvider;
|
|
22
|
+
/** An action at the end of the list that goes back to the default, e.g. clearing an override. Pass it only while there is something to reset. */
|
|
23
|
+
reset?: {
|
|
24
|
+
label: string;
|
|
25
|
+
onClick: () => void;
|
|
26
|
+
};
|
|
27
|
+
/** Open filtered to the selected model's provider instead of "All". Suits large catalogs. */
|
|
28
|
+
openOnSelectedProvider?: boolean;
|
|
29
|
+
busy?: boolean;
|
|
30
|
+
side?: 'top' | 'bottom';
|
|
31
|
+
align?: 'start' | 'end';
|
|
32
|
+
triggerClassName?: string;
|
|
33
|
+
'aria-label'?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* One trigger for provider and model: a ghost button with the provider's icon and the model's name. It
|
|
37
|
+
* opens a searchable list filtered by provider: a popover beside the trigger, and the design system's
|
|
38
|
+
* bottom Drawer on phones so it swipes closed. Searching looks across every provider.
|
|
39
|
+
*/
|
|
40
|
+
export declare function ModelPicker({ providers, value, onValueChange, defaultModel, children, renderProviderIcon, header, settings, addProvider, reset, openOnSelectedProvider, busy, side, align, triggerClassName, 'aria-label': ariaLabel, }: ModelPickerProps): import("react").JSX.Element;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
export type ChartAreaProps = {
|
|
3
|
-
/** No data in the range: the
|
|
3
|
+
/** No data in the range: the chart keeps its footprint and dates, under a "No data" message. */
|
|
4
4
|
isEmpty?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Only for a reason other than an empty range, e.g. a preview that can't run yet. An empty range
|
|
7
|
+
* keeps the shared "No data in this range", so every empty chart reads the same.
|
|
8
|
+
*/
|
|
5
9
|
emptyMessage?: string;
|
|
6
10
|
children: ReactNode;
|
|
7
11
|
};
|
|
8
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* A card's chart or list, filling the card body. Every empty chart looks the same: the chart keeps
|
|
14
|
+
* its footprint but is hidden (its dates stay), under three rulers and one message; the card's
|
|
15
|
+
* title already says what's missing.
|
|
16
|
+
*/
|
|
9
17
|
export declare function ChartArea({ isEmpty, emptyMessage, children }: ChartAreaProps): import("react").JSX.Element;
|
|
@@ -31,6 +31,12 @@ export type ChartCardProps<V extends string = string> = {
|
|
|
31
31
|
titleMenu?: Omit<MetricsCardTitleMenuProps<V>, 'title' | 'className'>;
|
|
32
32
|
/** A grip left of the title that drags the card, e.g. while a dashboard is being arranged. Ignored on `hero` cards. */
|
|
33
33
|
dragHandle?: MetricsCardDragHandleProps;
|
|
34
|
+
/**
|
|
35
|
+
* Makes a plain title editable in place: it reads as the title until hovered or focused. Enter or
|
|
36
|
+
* blur commits the trimmed title, when it changed; Escape reverts. The caller stores it and passes
|
|
37
|
+
* it back as `title`. Ignored with `titleMenu` or `href`, and on `hero` cards.
|
|
38
|
+
*/
|
|
39
|
+
onTitleChange?: (title: string) => void;
|
|
34
40
|
/**
|
|
35
41
|
* The card's headline number: right of the title, or the large value on `hero` cards. A card
|
|
36
42
|
* charting a few different things can pass one total each, marked with its series' color.
|
|
@@ -64,5 +70,5 @@ export type ChartCardProps<V extends string = string> = {
|
|
|
64
70
|
* Pure layout for a metrics chart card. The body has a fixed height, so the loading,
|
|
65
71
|
* error, empty and loaded states take the same room and nothing shifts around the card.
|
|
66
72
|
*/
|
|
67
|
-
export declare function ChartCard<V extends string = string>({ variant, title, href, LinkComponent, titleMenu, dragHandle, total, change, isLoading, actions, persistentActions, toolbar, isUpdating, bodyHeight, className, children, }: ChartCardProps<V>): import("react").JSX.Element;
|
|
73
|
+
export declare function ChartCard<V extends string = string>({ variant, title, href, LinkComponent, titleMenu, dragHandle, onTitleChange, total, change, isLoading, actions, persistentActions, toolbar, isUpdating, bodyHeight, className, children, }: ChartCardProps<V>): import("react").JSX.Element;
|
|
68
74
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface ComposerAttachAction {
|
|
3
|
+
label: string;
|
|
4
|
+
icon: ReactNode;
|
|
5
|
+
onSelect: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface ComposerAttachMenuProps {
|
|
8
|
+
/** Called with the files picked from any source. */
|
|
9
|
+
onFiles: (files: File[]) => void;
|
|
10
|
+
/** `accept` for the Files source, e.g. `image/*`. Camera and Photos always take images. */
|
|
11
|
+
accept?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Accessible name and tooltip of the "+" trigger. */
|
|
14
|
+
label?: string;
|
|
15
|
+
size?: 'icon-sm' | 'icon-md';
|
|
16
|
+
/** Extra entries after the sources, e.g. "From a URL…". */
|
|
17
|
+
actions?: readonly ComposerAttachAction[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The composer's "+" attach control: a menu of attachment sources that opens above the trigger, and the
|
|
21
|
+
* design system's bottom Drawer on phones so it swipes closed.
|
|
22
|
+
*/
|
|
23
|
+
export declare function ComposerAttachMenu({ onFiles, accept, disabled, label, size, actions, }: ComposerAttachMenuProps): import("react").JSX.Element;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface ComposerHeaderProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export interface ComposerHeaderProps extends ComponentProps<'div'> {
|
|
3
3
|
/** Animate visibility while retaining content through the closing transition. */
|
|
4
4
|
open?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* `stacked` takes space above the composer. `overlay` floats over the content above it so
|
|
7
|
+
* opening the header never moves the transcript; the parent must be positioned.
|
|
8
|
+
*/
|
|
9
|
+
placement?: 'stacked' | 'overlay';
|
|
5
10
|
}
|
|
6
11
|
/** Optional context above ComposerRing or ComposerBox. Empty rendered content occupies no space. */
|
|
7
|
-
export declare
|
|
8
|
-
export interface ComposerHeaderRowProps extends
|
|
12
|
+
export declare function ComposerHeader({ className, children, open, placement, ...props }: ComposerHeaderProps): import("react").JSX.Element;
|
|
13
|
+
export interface ComposerHeaderRowProps extends ComponentProps<'div'> {
|
|
9
14
|
tone?: 'default' | 'destructive' | 'success';
|
|
10
15
|
}
|
|
11
|
-
export declare
|
|
12
|
-
export type ComposerHeaderContentProps =
|
|
13
|
-
export declare
|
|
14
|
-
export type ComposerHeaderActionsProps =
|
|
15
|
-
export declare
|
|
16
|
+
export declare function ComposerHeaderRow({ className, tone, ...props }: ComposerHeaderRowProps): import("react").JSX.Element;
|
|
17
|
+
export type ComposerHeaderContentProps = ComponentProps<'div'>;
|
|
18
|
+
export declare function ComposerHeaderContent({ className, ...props }: ComposerHeaderContentProps): import("react").JSX.Element;
|
|
19
|
+
export type ComposerHeaderActionsProps = ComponentProps<'div'>;
|
|
20
|
+
export declare function ComposerHeaderActions({ className, ...props }: ComposerHeaderActionsProps): import("react").JSX.Element;
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ComposerProps =
|
|
3
|
-
export interface ComposerInputProps extends
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type ComposerProps = ComponentProps<'form'>;
|
|
3
|
+
export interface ComposerInputProps extends ComponentProps<'textarea'> {
|
|
4
4
|
variant?: 'inline' | 'textarea';
|
|
5
5
|
maxHeight?: string;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
export
|
|
7
|
+
/** Positioned so an overlay `ComposerHeader` can anchor to its top edge. */
|
|
8
|
+
export declare function Composer({ className, ...props }: ComposerProps): import("react").JSX.Element;
|
|
9
|
+
export interface ComposerBoxProps extends ComponentProps<'div'> {
|
|
9
10
|
sendingPulseKey?: number;
|
|
10
11
|
}
|
|
11
|
-
export declare
|
|
12
|
+
export declare function ComposerBox({ children, className, sendingPulseKey, ...props }: ComposerBoxProps): import("react").JSX.Element;
|
|
12
13
|
export type ComposerTone = 'default' | 'green' | 'purple' | 'orange';
|
|
13
|
-
export interface ComposerRingProps extends
|
|
14
|
+
export interface ComposerRingProps extends ComponentProps<'div'> {
|
|
14
15
|
busy?: boolean;
|
|
15
16
|
tone?: ComposerTone;
|
|
16
17
|
}
|
|
17
18
|
export declare function ComposerRing({ busy, tone, className, style, onPointerEnter, onPointerMove, ...props }: ComposerRingProps): import("react").JSX.Element;
|
|
18
|
-
export declare
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export declare
|
|
23
|
-
|
|
24
|
-
export
|
|
19
|
+
export declare function ComposerAttachments({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
20
|
+
export declare function ComposerInput({ ref, className, variant, maxHeight, autoComplete, ...props }: ComposerInputProps): import("react").JSX.Element;
|
|
21
|
+
export declare function ComposerActions({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
22
|
+
/** Leading actions, such as attaching files. */
|
|
23
|
+
export declare function ComposerActionsStart({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
24
|
+
/** Trailing actions: model, voice, and the primary Send action last. Stays right-aligned when alone. */
|
|
25
|
+
export declare function ComposerActionsEnd({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* Session status above the composer, outside the input box: right-aligned, wraps on narrow screens,
|
|
28
|
+
* and takes no space when nothing renders inside it.
|
|
29
|
+
*/
|
|
30
|
+
export declare function ComposerStatus({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
31
|
+
export interface ComposerToneLabelProps extends ComponentProps<'span'> {
|
|
25
32
|
tone: ComposerTone;
|
|
26
33
|
}
|
|
27
34
|
export declare function ComposerToneLabel({ tone, className, ...props }: ComposerToneLabelProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { Composer, ComposerActions, ComposerAttachments, ComposerBox, ComposerInput, ComposerRing, ComposerToneLabel, } from './composer';
|
|
1
|
+
export { Composer, ComposerActions, ComposerActionsEnd, ComposerActionsStart, ComposerAttachments, ComposerBox, ComposerInput, ComposerRing, ComposerStatus, ComposerToneLabel, } from './composer';
|
|
2
2
|
export type { ComposerBoxProps, ComposerInputProps, ComposerProps, ComposerRingProps, ComposerTone, ComposerToneLabelProps, } from './composer';
|
|
3
|
+
export { ComposerAttachMenu } from './composer-attach-menu';
|
|
4
|
+
export type { ComposerAttachAction, ComposerAttachMenuProps } from './composer-attach-menu';
|
|
3
5
|
export { ComposerHeader, ComposerHeaderActions, ComposerHeaderContent, ComposerHeaderRow } from './composer-header';
|
|
4
6
|
export type { ComposerHeaderActionsProps, ComposerHeaderContentProps, ComposerHeaderProps, ComposerHeaderRowProps, } from './composer-header';
|
|
5
7
|
export { ComposerSuggestions } from './commands/composer-suggestions';
|
|
@@ -9,3 +9,24 @@
|
|
|
9
9
|
* reaching one outside a fence abandons the split for the whole text.
|
|
10
10
|
*/
|
|
11
11
|
export declare function splitBlocks(markdown: string): string[];
|
|
12
|
+
export interface ListBlock {
|
|
13
|
+
ordered: boolean;
|
|
14
|
+
start: number;
|
|
15
|
+
loose: boolean;
|
|
16
|
+
tasks: boolean;
|
|
17
|
+
items: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Cuts a block that is one list into its top-level items, so a list still being
|
|
21
|
+
* written re-parses its last item instead of all of them. Rejoining the items
|
|
22
|
+
* returns the block.
|
|
23
|
+
*
|
|
24
|
+
* An item parsed on its own renders as it does in the list once the list's own
|
|
25
|
+
* facts are known: its first number, whether it holds a task, whether it is
|
|
26
|
+
* loose. A blank line before an item makes the list loose, unless it sits in a
|
|
27
|
+
* fence or raw HTML the item leaves open; a blank line inside an item may or may
|
|
28
|
+
* not, depending on what it sits in, so a list with only those stays whole. So
|
|
29
|
+
* does anything else the lines cannot settle: lazy continuation, a change of
|
|
30
|
+
* marker, tabs, a half-written checkbox, a definition other items may use.
|
|
31
|
+
*/
|
|
32
|
+
export declare function splitList(block: string): ListBlock | undefined;
|
|
@@ -21,9 +21,9 @@ export interface MarkdownRendererProps {
|
|
|
21
21
|
*
|
|
22
22
|
* react-markdown re-parses on every render, and a streaming reply re-renders
|
|
23
23
|
* its whole transcript on every delta. Memoizing spares the settled messages;
|
|
24
|
-
* rendering block by block — streaming or not — spares
|
|
25
|
-
* one but the last, and lets a reply settle without
|
|
26
|
-
* on screen.
|
|
24
|
+
* rendering block by block, and a list item by item — streaming or not — spares
|
|
25
|
+
* every block of the live one but the last, and lets a reply settle without
|
|
26
|
+
* remounting what is already on screen.
|
|
27
27
|
*
|
|
28
28
|
* The text is drawn as given: pacing a stream is `useRevealedText`, and belongs to
|
|
29
29
|
* whoever owns the whole of what is being laid down — a reply is prose, tool rows
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ThinkingLevelOption } from './use-thinking-level-stop';
|
|
2
|
+
export interface ThinkingLevelIconProps<T extends string> {
|
|
3
|
+
options: readonly ThinkingLevelOption<T>[];
|
|
4
|
+
value: T | undefined;
|
|
5
|
+
/** Pulses the brain while the level loads. */
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** The thinking level as one brain, e.g. on the button that opens the ramp. Empty while no level is set. */
|
|
9
|
+
export declare function ThinkingLevelIcon<T extends string>({ options, value, loading }: ThinkingLevelIconProps<T>): import("react").JSX.Element;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { ThinkingLevelOption } from './use-thinking-level-stop';
|
|
3
|
-
export interface ThinkingLevelBarsProps<T extends string> {
|
|
4
|
-
options: readonly ThinkingLevelOption<T>[];
|
|
5
|
-
value: T | undefined;
|
|
6
|
-
}
|
|
7
|
-
export declare function ThinkingLevelBars<T extends string>({ options, value }: ThinkingLevelBarsProps<T>): import("react").JSX.Element;
|
|
8
3
|
export interface ThinkingLevelUnavailableProps<T extends string> {
|
|
9
4
|
options: readonly ThinkingLevelOption<T>[];
|
|
10
5
|
label: string;
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import type { ThinkingLevelOption } from './use-thinking-level-stop';
|
|
2
2
|
export interface ThinkingLevelRampProps<T extends string> {
|
|
3
3
|
options: readonly ThinkingLevelOption<T>[];
|
|
4
|
-
|
|
4
|
+
/** Undefined while no level can be picked: the ramp keeps its size, with no pill and a disabled slider. */
|
|
5
|
+
value: T | undefined;
|
|
5
6
|
label: string;
|
|
7
|
+
/** Pulses the track while the level loads. */
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
/** Why no level can be picked, shown beside the label above the track. */
|
|
10
|
+
unavailableReason?: string;
|
|
11
|
+
/** A text button at the end of the label row, e.g. a way back to an inherited level. */
|
|
12
|
+
reset?: {
|
|
13
|
+
label: string;
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
};
|
|
6
16
|
/** Returning the write lets the ramp hold the dropped stop until it lands. */
|
|
7
17
|
onChange: (value: T) => void | Promise<unknown>;
|
|
8
18
|
}
|
|
9
|
-
|
|
19
|
+
/**
|
|
20
|
+
* One brain per level, filled to its depth. The picked level widens into a raised pill that
|
|
21
|
+
* carries its name. When it moves, the leading edge leaves first and the trailing edge follows,
|
|
22
|
+
* so the pill stretches across and settles; hovering another level leans the pill toward it.
|
|
23
|
+
*
|
|
24
|
+
* A hidden range input is the control for keyboard and assistive tech. Pointers land on the
|
|
25
|
+
* cells instead, which are not evenly sized, and a drag only writes the level it ends on.
|
|
26
|
+
*/
|
|
27
|
+
export declare function ThinkingLevelRamp<T extends string>({ options, value, label, loading, unavailableReason, reset, onChange, }: ThinkingLevelRampProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ThinkingLevelOption } from './use-thinking-level-stop';
|
|
2
|
+
export type Level = 'off' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
3
|
+
export declare const ALL_LEVELS: ThinkingLevelOption<Level>[];
|
|
4
|
+
export declare const LOW_HIGH_LEVELS: ThinkingLevelOption<Level>[];
|
|
5
|
+
export declare const UP_TO_HIGH_LEVELS: ThinkingLevelOption<Level>[];
|
|
6
|
+
export declare const SONNET_LEVELS: ThinkingLevelOption<Level>[];
|
|
7
|
+
export declare const DESCRIPTION = "More thinking answers harder problems, slower and at a higher cost.";
|
|
@@ -8,12 +8,15 @@ export interface ThinkingLevelOption<T extends string = string> {
|
|
|
8
8
|
export declare const invisibleRangeInputClassName: string;
|
|
9
9
|
export declare function useThinkingLevelStop<T extends string>({ options, value, onChange, }: {
|
|
10
10
|
options: readonly ThinkingLevelOption<T>[];
|
|
11
|
-
value: T;
|
|
11
|
+
value: T | undefined;
|
|
12
12
|
onChange: (value: T) => void | Promise<unknown>;
|
|
13
13
|
}): {
|
|
14
14
|
shownStop: number;
|
|
15
15
|
shownOption: ThinkingLevelOption<T> | undefined;
|
|
16
16
|
isPending: boolean;
|
|
17
|
+
/** Shows a stop the way a drag would, without writing it until `commitOnRelease`. */
|
|
18
|
+
previewStop: import("react").Dispatch<import("react").SetStateAction<number | undefined>>;
|
|
19
|
+
commitOnRelease: () => undefined;
|
|
17
20
|
rangeInputProps: {
|
|
18
21
|
type: string;
|
|
19
22
|
min: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const DatasetsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const DatasetsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const ExperimentsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const ExperimentsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const LogsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const LogsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const MetricsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const MetricsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const ProcessorIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const PromptIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const PromptIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const ScorersIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const ScorersIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const SettingsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const SettingsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const ToolsIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const ToolsIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const TraceIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const TraceIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const WorkspacesIcon: (props:
|
|
1
|
+
import type { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare const WorkspacesIcon: (props: LucideProps) => import("react").JSX.Element;
|
|
@@ -17,3 +17,5 @@ export declare const CHART_MARGIN: {
|
|
|
17
17
|
export declare const X_AXIS_HEIGHT = 22;
|
|
18
18
|
/** Axis labels of the metrics charts: 11px in the body font, muted. */
|
|
19
19
|
export declare const CHART_AXIS_FONT_SIZE = 11;
|
|
20
|
+
/** Set by a card's chart area while it has nothing to show: charts drop the y-axis and its space. */
|
|
21
|
+
export declare const ChartHideYAxis: import("react").Context<boolean>;
|