@aceshooting/lyra-ui 4.0.0 → 4.2.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/README.md +53 -2
- package/custom-elements.json +59005 -40073
- package/dist/ai/index.d.ts +3 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +3 -0
- package/dist/ai/index.js.map +1 -0
- package/dist/ai/types.contract.d.ts +2 -0
- package/dist/ai/types.contract.d.ts.map +1 -0
- package/dist/ai/types.contract.js +139 -0
- package/dist/ai/types.contract.js.map +1 -0
- package/dist/ai/types.d.ts +201 -0
- package/dist/ai/types.d.ts.map +1 -0
- package/dist/ai/types.js +2 -0
- package/dist/ai/types.js.map +1 -0
- package/dist/components/agent-run/agent-run.class.d.ts +184 -0
- package/dist/components/agent-run/agent-run.class.d.ts.map +1 -0
- package/dist/components/agent-run/agent-run.class.js +473 -0
- package/dist/components/agent-run/agent-run.class.js.map +1 -0
- package/dist/components/agent-run/agent-run.d.ts +2 -0
- package/dist/components/agent-run/agent-run.d.ts.map +1 -0
- package/dist/components/agent-run/agent-run.js +5 -0
- package/dist/components/agent-run/agent-run.js.map +1 -0
- package/dist/components/agent-run/agent-run.styles.d.ts +2 -0
- package/dist/components/agent-run/agent-run.styles.d.ts.map +1 -0
- package/dist/components/agent-run/agent-run.styles.js +159 -0
- package/dist/components/agent-run/agent-run.styles.js.map +1 -0
- package/dist/components/agent-trace/agent-trace.class.d.ts +111 -0
- package/dist/components/agent-trace/agent-trace.class.d.ts.map +1 -0
- package/dist/components/agent-trace/agent-trace.class.js +221 -0
- package/dist/components/agent-trace/agent-trace.class.js.map +1 -0
- package/dist/components/agent-trace/agent-trace.d.ts +5 -0
- package/dist/components/agent-trace/agent-trace.d.ts.map +1 -0
- package/dist/components/agent-trace/agent-trace.js +8 -0
- package/dist/components/agent-trace/agent-trace.js.map +1 -0
- package/dist/components/agent-trace/agent-trace.styles.d.ts +2 -0
- package/dist/components/agent-trace/agent-trace.styles.d.ts.map +1 -0
- package/dist/components/agent-trace/agent-trace.styles.js +61 -0
- package/dist/components/agent-trace/agent-trace.styles.js.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.class.d.ts +146 -0
- package/dist/components/agent-workspace/agent-workspace.class.d.ts.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.class.js +332 -0
- package/dist/components/agent-workspace/agent-workspace.class.js.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.d.ts +2 -0
- package/dist/components/agent-workspace/agent-workspace.d.ts.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.js +5 -0
- package/dist/components/agent-workspace/agent-workspace.js.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.styles.d.ts +2 -0
- package/dist/components/agent-workspace/agent-workspace.styles.d.ts.map +1 -0
- package/dist/components/agent-workspace/agent-workspace.styles.js +134 -0
- package/dist/components/agent-workspace/agent-workspace.styles.js.map +1 -0
- package/dist/components/app-rail/app-rail.styles.d.ts.map +1 -1
- package/dist/components/app-rail/app-rail.styles.js +4 -0
- package/dist/components/app-rail/app-rail.styles.js.map +1 -1
- package/dist/components/avatar/avatar.class.d.ts +3 -3
- package/dist/components/avatar/avatar.class.d.ts.map +1 -1
- package/dist/components/avatar/avatar.class.js +8 -10
- package/dist/components/avatar/avatar.class.js.map +1 -1
- package/dist/components/chart/chart.class.d.ts +1 -0
- package/dist/components/chart/chart.class.d.ts.map +1 -1
- package/dist/components/chart/chart.class.js +9 -3
- package/dist/components/chart/chart.class.js.map +1 -1
- package/dist/components/chat-message/chat-message.class.d.ts +45 -4
- package/dist/components/chat-message/chat-message.class.d.ts.map +1 -1
- package/dist/components/chat-message/chat-message.class.js +98 -8
- package/dist/components/chat-message/chat-message.class.js.map +1 -1
- package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -1
- package/dist/components/chat-message/chat-message.styles.js +14 -0
- package/dist/components/chat-message/chat-message.styles.js.map +1 -1
- package/dist/components/context-inspector/context-inspector.class.d.ts +114 -0
- package/dist/components/context-inspector/context-inspector.class.d.ts.map +1 -0
- package/dist/components/context-inspector/context-inspector.class.js +222 -0
- package/dist/components/context-inspector/context-inspector.class.js.map +1 -0
- package/dist/components/context-inspector/context-inspector.d.ts +7 -0
- package/dist/components/context-inspector/context-inspector.d.ts.map +1 -0
- package/dist/components/context-inspector/context-inspector.js +10 -0
- package/dist/components/context-inspector/context-inspector.js.map +1 -0
- package/dist/components/context-inspector/context-inspector.styles.d.ts +2 -0
- package/dist/components/context-inspector/context-inspector.styles.d.ts.map +1 -0
- package/dist/components/context-inspector/context-inspector.styles.js +98 -0
- package/dist/components/context-inspector/context-inspector.styles.js.map +1 -0
- package/dist/components/conversation-item/conversation-item.class.d.ts +8 -0
- package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -1
- package/dist/components/conversation-item/conversation-item.class.js +50 -22
- package/dist/components/conversation-item/conversation-item.class.js.map +1 -1
- package/dist/components/conversation-item/conversation-item.styles.d.ts.map +1 -1
- package/dist/components/conversation-item/conversation-item.styles.js +11 -0
- package/dist/components/conversation-item/conversation-item.styles.js.map +1 -1
- package/dist/components/csv-viewer/csv-viewer.styles.d.ts.map +1 -1
- package/dist/components/csv-viewer/csv-viewer.styles.js +8 -2
- package/dist/components/csv-viewer/csv-viewer.styles.js.map +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.class.d.ts +162 -0
- package/dist/components/dashboard-grid/dashboard-grid.class.d.ts.map +1 -0
- package/dist/components/dashboard-grid/dashboard-grid.class.js +569 -0
- package/dist/components/dashboard-grid/dashboard-grid.class.js.map +1 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +6 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -0
- package/dist/components/dashboard-grid/dashboard-grid.js +9 -0
- package/dist/components/dashboard-grid/dashboard-grid.js.map +1 -0
- package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts +2 -0
- package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts.map +1 -0
- package/dist/components/dashboard-grid/dashboard-grid.styles.js +86 -0
- package/dist/components/dashboard-grid/dashboard-grid.styles.js.map +1 -0
- package/dist/components/dashboard-grid/layout.d.ts +103 -0
- package/dist/components/dashboard-grid/layout.d.ts.map +1 -0
- package/dist/components/dashboard-grid/layout.js +94 -0
- package/dist/components/dashboard-grid/layout.js.map +1 -0
- package/dist/components/date-picker/date-input.class.d.ts +8 -0
- package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
- package/dist/components/date-picker/date-input.class.js +10 -0
- package/dist/components/date-picker/date-input.class.js.map +1 -1
- package/dist/components/date-picker/date-input.styles.d.ts.map +1 -1
- package/dist/components/date-picker/date-input.styles.js +39 -2
- package/dist/components/date-picker/date-input.styles.js.map +1 -1
- package/dist/components/diff-view/diff-view.class.d.ts +20 -2
- package/dist/components/diff-view/diff-view.class.d.ts.map +1 -1
- package/dist/components/diff-view/diff-view.class.js +107 -13
- package/dist/components/diff-view/diff-view.class.js.map +1 -1
- package/dist/components/diff-view/diff-view.styles.d.ts.map +1 -1
- package/dist/components/diff-view/diff-view.styles.js +5 -0
- package/dist/components/diff-view/diff-view.styles.js.map +1 -1
- package/dist/components/document-compare/document-compare.class.d.ts +131 -0
- package/dist/components/document-compare/document-compare.class.d.ts.map +1 -0
- package/dist/components/document-compare/document-compare.class.js +214 -0
- package/dist/components/document-compare/document-compare.class.js.map +1 -0
- package/dist/components/document-compare/document-compare.d.ts +2 -0
- package/dist/components/document-compare/document-compare.d.ts.map +1 -0
- package/dist/components/document-compare/document-compare.js +5 -0
- package/dist/components/document-compare/document-compare.js.map +1 -0
- package/dist/components/document-compare/document-compare.styles.d.ts +2 -0
- package/dist/components/document-compare/document-compare.styles.d.ts.map +1 -0
- package/dist/components/document-compare/document-compare.styles.js +65 -0
- package/dist/components/document-compare/document-compare.styles.js.map +1 -0
- package/dist/components/document-library/document-library.class.d.ts +154 -0
- package/dist/components/document-library/document-library.class.d.ts.map +1 -0
- package/dist/components/document-library/document-library.class.js +399 -0
- package/dist/components/document-library/document-library.class.js.map +1 -0
- package/dist/components/document-library/document-library.d.ts +9 -0
- package/dist/components/document-library/document-library.d.ts.map +1 -0
- package/dist/components/document-library/document-library.js +12 -0
- package/dist/components/document-library/document-library.js.map +1 -0
- package/dist/components/document-library/document-library.styles.d.ts +2 -0
- package/dist/components/document-library/document-library.styles.d.ts.map +1 -0
- package/dist/components/document-library/document-library.styles.js +77 -0
- package/dist/components/document-library/document-library.styles.js.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.class.d.ts +148 -0
- package/dist/components/drilldown-panel/drilldown-panel.class.d.ts.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.class.js +241 -0
- package/dist/components/drilldown-panel/drilldown-panel.class.js.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.d.ts +9 -0
- package/dist/components/drilldown-panel/drilldown-panel.d.ts.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.js +12 -0
- package/dist/components/drilldown-panel/drilldown-panel.js.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts +2 -0
- package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts.map +1 -0
- package/dist/components/drilldown-panel/drilldown-panel.styles.js +49 -0
- package/dist/components/drilldown-panel/drilldown-panel.styles.js.map +1 -0
- package/dist/components/emoji-picker/emoji-data-loader.d.ts.map +1 -1
- package/dist/components/emoji-picker/emoji-data-loader.js +1 -1
- package/dist/components/emoji-picker/emoji-data-loader.js.map +1 -1
- package/dist/components/emoji-picker/emoji-picker.class.d.ts +18 -1
- package/dist/components/emoji-picker/emoji-picker.class.d.ts.map +1 -1
- package/dist/components/emoji-picker/emoji-picker.class.js +152 -28
- package/dist/components/emoji-picker/emoji-picker.class.js.map +1 -1
- package/dist/components/emoji-picker/emoji-picker.styles.d.ts.map +1 -1
- package/dist/components/emoji-picker/emoji-picker.styles.js +26 -2
- package/dist/components/emoji-picker/emoji-picker.styles.js.map +1 -1
- package/dist/components/entity-dossier/entity-dossier.class.d.ts +132 -0
- package/dist/components/entity-dossier/entity-dossier.class.d.ts.map +1 -0
- package/dist/components/entity-dossier/entity-dossier.class.js +187 -0
- package/dist/components/entity-dossier/entity-dossier.class.js.map +1 -0
- package/dist/components/entity-dossier/entity-dossier.d.ts +9 -0
- package/dist/components/entity-dossier/entity-dossier.d.ts.map +1 -0
- package/dist/components/entity-dossier/entity-dossier.js +12 -0
- package/dist/components/entity-dossier/entity-dossier.js.map +1 -0
- package/dist/components/entity-dossier/entity-dossier.styles.d.ts +2 -0
- package/dist/components/entity-dossier/entity-dossier.styles.d.ts.map +1 -0
- package/dist/components/entity-dossier/entity-dossier.styles.js +30 -0
- package/dist/components/entity-dossier/entity-dossier.styles.js.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.class.d.ts +145 -0
- package/dist/components/eval-dataset/eval-dataset.class.d.ts.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.class.js +307 -0
- package/dist/components/eval-dataset/eval-dataset.class.js.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.d.ts +7 -0
- package/dist/components/eval-dataset/eval-dataset.d.ts.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.js +10 -0
- package/dist/components/eval-dataset/eval-dataset.js.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.styles.d.ts +2 -0
- package/dist/components/eval-dataset/eval-dataset.styles.d.ts.map +1 -0
- package/dist/components/eval-dataset/eval-dataset.styles.js +76 -0
- package/dist/components/eval-dataset/eval-dataset.styles.js.map +1 -0
- package/dist/components/eval-result/eval-result.class.d.ts +115 -0
- package/dist/components/eval-result/eval-result.class.d.ts.map +1 -0
- package/dist/components/eval-result/eval-result.class.js +165 -0
- package/dist/components/eval-result/eval-result.class.js.map +1 -0
- package/dist/components/eval-result/eval-result.d.ts +5 -0
- package/dist/components/eval-result/eval-result.d.ts.map +1 -0
- package/dist/components/eval-result/eval-result.js +8 -0
- package/dist/components/eval-result/eval-result.js.map +1 -0
- package/dist/components/eval-result/eval-result.styles.d.ts +2 -0
- package/dist/components/eval-result/eval-result.styles.d.ts.map +1 -0
- package/dist/components/eval-result/eval-result.styles.js +47 -0
- package/dist/components/eval-result/eval-result.styles.js.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.class.d.ts +168 -0
- package/dist/components/evaluation-run/evaluation-run.class.d.ts.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.class.js +333 -0
- package/dist/components/evaluation-run/evaluation-run.class.js.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.d.ts +2 -0
- package/dist/components/evaluation-run/evaluation-run.d.ts.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.js +5 -0
- package/dist/components/evaluation-run/evaluation-run.js.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.styles.d.ts +2 -0
- package/dist/components/evaluation-run/evaluation-run.styles.d.ts.map +1 -0
- package/dist/components/evaluation-run/evaluation-run.styles.js +73 -0
- package/dist/components/evaluation-run/evaluation-run.styles.js.map +1 -0
- package/dist/components/filter-bar/filter-bar.class.d.ts +200 -0
- package/dist/components/filter-bar/filter-bar.class.d.ts.map +1 -0
- package/dist/components/filter-bar/filter-bar.class.js +322 -0
- package/dist/components/filter-bar/filter-bar.class.js.map +1 -0
- package/dist/components/filter-bar/filter-bar.d.ts +10 -0
- package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
- package/dist/components/filter-bar/filter-bar.js +13 -0
- package/dist/components/filter-bar/filter-bar.js.map +1 -0
- package/dist/components/filter-bar/filter-bar.styles.d.ts +2 -0
- package/dist/components/filter-bar/filter-bar.styles.d.ts.map +1 -0
- package/dist/components/filter-bar/filter-bar.styles.js +37 -0
- package/dist/components/filter-bar/filter-bar.styles.js.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.class.d.ts +242 -0
- package/dist/components/graph-query-builder/graph-query-builder.class.d.ts.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.class.js +511 -0
- package/dist/components/graph-query-builder/graph-query-builder.class.js.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.d.ts +7 -0
- package/dist/components/graph-query-builder/graph-query-builder.d.ts.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.js +10 -0
- package/dist/components/graph-query-builder/graph-query-builder.js.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts +2 -0
- package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts.map +1 -0
- package/dist/components/graph-query-builder/graph-query-builder.styles.js +170 -0
- package/dist/components/graph-query-builder/graph-query-builder.styles.js.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.class.d.ts +80 -0
- package/dist/components/grounding-summary/grounding-summary.class.d.ts.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.class.js +182 -0
- package/dist/components/grounding-summary/grounding-summary.class.js.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.d.ts +5 -0
- package/dist/components/grounding-summary/grounding-summary.d.ts.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.js +8 -0
- package/dist/components/grounding-summary/grounding-summary.js.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.styles.d.ts +2 -0
- package/dist/components/grounding-summary/grounding-summary.styles.d.ts.map +1 -0
- package/dist/components/grounding-summary/grounding-summary.styles.js +88 -0
- package/dist/components/grounding-summary/grounding-summary.styles.js.map +1 -0
- package/dist/components/heatmap/heatmap.class.d.ts +14 -0
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.class.js +165 -0
- package/dist/components/heatmap/heatmap.class.js.map +1 -1
- package/dist/components/ingestion-queue/ingestion-queue.class.d.ts +125 -0
- package/dist/components/ingestion-queue/ingestion-queue.class.d.ts.map +1 -0
- package/dist/components/ingestion-queue/ingestion-queue.class.js +276 -0
- package/dist/components/ingestion-queue/ingestion-queue.class.js.map +1 -0
- package/dist/components/ingestion-queue/ingestion-queue.d.ts +2 -0
- package/dist/components/ingestion-queue/ingestion-queue.d.ts.map +1 -0
- package/dist/components/ingestion-queue/ingestion-queue.js +5 -0
- package/dist/components/ingestion-queue/ingestion-queue.js.map +1 -0
- package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts +2 -0
- package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts.map +1 -0
- package/dist/components/ingestion-queue/ingestion-queue.styles.js +138 -0
- package/dist/components/ingestion-queue/ingestion-queue.styles.js.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.class.d.ts +136 -0
- package/dist/components/knowledge-base/knowledge-base.class.d.ts.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.class.js +360 -0
- package/dist/components/knowledge-base/knowledge-base.class.js.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.d.ts +7 -0
- package/dist/components/knowledge-base/knowledge-base.d.ts.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.js +10 -0
- package/dist/components/knowledge-base/knowledge-base.js.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.styles.d.ts +2 -0
- package/dist/components/knowledge-base/knowledge-base.styles.d.ts.map +1 -0
- package/dist/components/knowledge-base/knowledge-base.styles.js +94 -0
- package/dist/components/knowledge-base/knowledge-base.styles.js.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +196 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js +477 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +11 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js +14 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts +2 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts.map +1 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +76 -0
- package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js.map +1 -0
- package/dist/components/markdown/markdown-core.class.d.ts +10 -3
- package/dist/components/markdown/markdown-core.class.d.ts.map +1 -1
- package/dist/components/markdown/markdown-core.class.js +33 -4
- package/dist/components/markdown/markdown-core.class.js.map +1 -1
- package/dist/components/markdown/markdown.class.d.ts +10 -3
- package/dist/components/markdown/markdown.class.d.ts.map +1 -1
- package/dist/components/markdown/markdown.class.js +33 -4
- package/dist/components/markdown/markdown.class.js.map +1 -1
- package/dist/components/memory-panel/memory-panel.class.d.ts +146 -0
- package/dist/components/memory-panel/memory-panel.class.d.ts.map +1 -0
- package/dist/components/memory-panel/memory-panel.class.js +303 -0
- package/dist/components/memory-panel/memory-panel.class.js.map +1 -0
- package/dist/components/memory-panel/memory-panel.d.ts +5 -0
- package/dist/components/memory-panel/memory-panel.d.ts.map +1 -0
- package/dist/components/memory-panel/memory-panel.js +8 -0
- package/dist/components/memory-panel/memory-panel.js.map +1 -0
- package/dist/components/memory-panel/memory-panel.styles.d.ts +2 -0
- package/dist/components/memory-panel/memory-panel.styles.d.ts.map +1 -0
- package/dist/components/memory-panel/memory-panel.styles.js +139 -0
- package/dist/components/memory-panel/memory-panel.styles.js.map +1 -0
- package/dist/components/notebook-viewer/notebook-viewer.class.d.ts +9 -2
- package/dist/components/notebook-viewer/notebook-viewer.class.d.ts.map +1 -1
- package/dist/components/notebook-viewer/notebook-viewer.class.js +27 -4
- package/dist/components/notebook-viewer/notebook-viewer.class.js.map +1 -1
- package/dist/components/overlay/popover.class.d.ts +39 -0
- package/dist/components/overlay/popover.class.d.ts.map +1 -1
- package/dist/components/overlay/popover.class.js +53 -3
- package/dist/components/overlay/popover.class.js.map +1 -1
- package/dist/components/overlay/tooltip.class.d.ts +43 -0
- package/dist/components/overlay/tooltip.class.d.ts.map +1 -1
- package/dist/components/overlay/tooltip.class.js +66 -4
- package/dist/components/overlay/tooltip.class.js.map +1 -1
- package/dist/components/policy-summary/policy-summary.class.d.ts +76 -0
- package/dist/components/policy-summary/policy-summary.class.d.ts.map +1 -0
- package/dist/components/policy-summary/policy-summary.class.js +125 -0
- package/dist/components/policy-summary/policy-summary.class.js.map +1 -0
- package/dist/components/policy-summary/policy-summary.d.ts +6 -0
- package/dist/components/policy-summary/policy-summary.d.ts.map +1 -0
- package/dist/components/policy-summary/policy-summary.js +9 -0
- package/dist/components/policy-summary/policy-summary.js.map +1 -0
- package/dist/components/policy-summary/policy-summary.styles.d.ts +2 -0
- package/dist/components/policy-summary/policy-summary.styles.d.ts.map +1 -0
- package/dist/components/policy-summary/policy-summary.styles.js +68 -0
- package/dist/components/policy-summary/policy-summary.styles.js.map +1 -0
- package/dist/components/query-builder/query-builder.class.d.ts +180 -0
- package/dist/components/query-builder/query-builder.class.d.ts.map +1 -0
- package/dist/components/query-builder/query-builder.class.js +415 -0
- package/dist/components/query-builder/query-builder.class.js.map +1 -0
- package/dist/components/query-builder/query-builder.d.ts +9 -0
- package/dist/components/query-builder/query-builder.d.ts.map +1 -0
- package/dist/components/query-builder/query-builder.js +12 -0
- package/dist/components/query-builder/query-builder.js.map +1 -0
- package/dist/components/query-builder/query-builder.styles.d.ts +2 -0
- package/dist/components/query-builder/query-builder.styles.d.ts.map +1 -0
- package/dist/components/query-builder/query-builder.styles.js +77 -0
- package/dist/components/query-builder/query-builder.styles.js.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.class.d.ts +151 -0
- package/dist/components/retrieval-results/retrieval-results.class.d.ts.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.class.js +340 -0
- package/dist/components/retrieval-results/retrieval-results.class.js.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.d.ts +7 -0
- package/dist/components/retrieval-results/retrieval-results.d.ts.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.js +10 -0
- package/dist/components/retrieval-results/retrieval-results.js.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.styles.d.ts +2 -0
- package/dist/components/retrieval-results/retrieval-results.styles.d.ts.map +1 -0
- package/dist/components/retrieval-results/retrieval-results.styles.js +94 -0
- package/dist/components/retrieval-results/retrieval-results.styles.js.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.class.d.ts +127 -0
- package/dist/components/retrieval-search/retrieval-search.class.d.ts.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.class.js +267 -0
- package/dist/components/retrieval-search/retrieval-search.class.js.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.d.ts +8 -0
- package/dist/components/retrieval-search/retrieval-search.d.ts.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.js +11 -0
- package/dist/components/retrieval-search/retrieval-search.js.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.styles.d.ts +2 -0
- package/dist/components/retrieval-search/retrieval-search.styles.d.ts.map +1 -0
- package/dist/components/retrieval-search/retrieval-search.styles.js +75 -0
- package/dist/components/retrieval-search/retrieval-search.styles.js.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.class.d.ts +101 -0
- package/dist/components/retrieval-trace/retrieval-trace.class.d.ts.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.class.js +215 -0
- package/dist/components/retrieval-trace/retrieval-trace.class.js.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.d.ts +4 -0
- package/dist/components/retrieval-trace/retrieval-trace.d.ts.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.js +7 -0
- package/dist/components/retrieval-trace/retrieval-trace.js.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts +2 -0
- package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts.map +1 -0
- package/dist/components/retrieval-trace/retrieval-trace.styles.js +116 -0
- package/dist/components/retrieval-trace/retrieval-trace.styles.js.map +1 -0
- package/dist/components/rubric-form/rubric-form.class.d.ts.map +1 -1
- package/dist/components/rubric-form/rubric-form.class.js +1 -0
- package/dist/components/rubric-form/rubric-form.class.js.map +1 -1
- package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.d.ts.map +1 -1
- package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.js +8 -2
- package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.js.map +1 -1
- package/dist/components/thread-list/thread-list.class.d.ts +38 -2
- package/dist/components/thread-list/thread-list.class.d.ts.map +1 -1
- package/dist/components/thread-list/thread-list.class.js +41 -6
- package/dist/components/thread-list/thread-list.class.js.map +1 -1
- package/dist/components/tool-timeline/tool-timeline.class.d.ts +140 -0
- package/dist/components/tool-timeline/tool-timeline.class.d.ts.map +1 -0
- package/dist/components/tool-timeline/tool-timeline.class.js +293 -0
- package/dist/components/tool-timeline/tool-timeline.class.js.map +1 -0
- package/dist/components/tool-timeline/tool-timeline.d.ts +2 -0
- package/dist/components/tool-timeline/tool-timeline.d.ts.map +1 -0
- package/dist/components/tool-timeline/tool-timeline.js +5 -0
- package/dist/components/tool-timeline/tool-timeline.js.map +1 -0
- package/dist/components/tool-timeline/tool-timeline.styles.d.ts +2 -0
- package/dist/components/tool-timeline/tool-timeline.styles.d.ts.map +1 -0
- package/dist/components/tool-timeline/tool-timeline.styles.js +148 -0
- package/dist/components/tool-timeline/tool-timeline.styles.js.map +1 -0
- package/dist/components/trace-tree/trace-tree.class.d.ts.map +1 -1
- package/dist/components/trace-tree/trace-tree.class.js +3 -1
- package/dist/components/trace-tree/trace-tree.class.js.map +1 -1
- package/dist/internal/localization.d.ts +1 -1
- package/dist/internal/localization.d.ts.map +1 -1
- package/dist/internal/localization.js +238 -0
- package/dist/internal/localization.js.map +1 -1
- package/dist/internal/positioner.d.ts +28 -1
- package/dist/internal/positioner.d.ts.map +1 -1
- package/dist/internal/positioner.js +12 -1
- package/dist/internal/positioner.js.map +1 -1
- package/dist/internal/root-registration-allowlist.d.ts +2 -2
- package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
- package/dist/internal/root-registration-allowlist.js +25 -0
- package/dist/internal/root-registration-allowlist.js.map +1 -1
- package/dist/internal/tokens.styles.d.ts.map +1 -1
- package/dist/internal/tokens.styles.js +2 -0
- package/dist/internal/tokens.styles.js.map +1 -1
- package/dist/lyra.d.ts +51 -1
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js +49 -0
- package/dist/lyra.js.map +1 -1
- package/llms-full.txt +519 -15
- package/llms.txt +7 -0
- package/package.json +53 -1
- package/vscode-css-data.json +21 -0
- package/vscode-html-data.json +1205 -14
- package/web-types.json +1297 -60
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { html, nothing } from 'lit';
|
|
8
|
+
import { property, state, query } from 'lit/decorators.js';
|
|
9
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
10
|
+
import { spinnerIcon } from '../../internal/icons.js';
|
|
11
|
+
import { getNumberFormat } from '../../internal/intl-cache.js';
|
|
12
|
+
import { finiteRange } from '../../internal/numbers.js';
|
|
13
|
+
import { srOnly } from '../../internal/a11y.js';
|
|
14
|
+
import { styles } from './agent-run.styles.js';
|
|
15
|
+
// Registers every custom element this component's own render() emits directly, so importing
|
|
16
|
+
// this `.class.ts` module alone (with no separate wrapper import) is already fully functional --
|
|
17
|
+
// mirrors `<lr-stream-status>`/`<lr-task-list>`'s own direct-registrar-import pattern (as opposed
|
|
18
|
+
// to a bare `*.class.js` import, which registers nothing on its own).
|
|
19
|
+
import '../generation-status/generation-status.js';
|
|
20
|
+
import '../usage-badge/usage-badge.js';
|
|
21
|
+
import '../task-list/task-list.js';
|
|
22
|
+
import '../badge/badge.js';
|
|
23
|
+
import '../empty/empty.js';
|
|
24
|
+
import '../live-region/live-region.js';
|
|
25
|
+
/** `true`-defaulting boolean attribute converter -- Lit's default presence-based `type: Boolean`
|
|
26
|
+
* can never be set back to `false` from a plain-HTML attribute once a property's own default is
|
|
27
|
+
* `true` (removing an attribute that was never present fires no `attributeChangedCallback`), so
|
|
28
|
+
* `fromAttribute` checks the literal string instead. Shared by `show-cancel` and `show-retry`,
|
|
29
|
+
* which have the identical `true`-default parsing need -- duplicated locally rather than
|
|
30
|
+
* imported, matching this exact converter's repeated per-component convention elsewhere in this
|
|
31
|
+
* library (see e.g. `<lr-task-list>`'s own `trueDefaultBooleanConverter`). */
|
|
32
|
+
const trueDefaultBooleanConverter = {
|
|
33
|
+
fromAttribute(value) {
|
|
34
|
+
return value !== 'false';
|
|
35
|
+
},
|
|
36
|
+
toAttribute(value) {
|
|
37
|
+
return value ? null : 'false';
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
/** Statuses for which the live elapsed-time ticker (and the built-in Cancel button) apply -- a
|
|
41
|
+
* run is still genuinely "going" while waiting on the user or an approval gate, not just while
|
|
42
|
+
* actively `running`. */
|
|
43
|
+
const TICKING_KINDS = new Set(['running', 'collecting', 'waiting-input', 'waiting-approval']);
|
|
44
|
+
/** Terminal statuses for which a static (not live-ticking) duration applies, and for which the
|
|
45
|
+
* built-in Retry button becomes relevant (a subset -- see `canRetry`). */
|
|
46
|
+
const TERMINAL_KINDS = new Set(['done', 'error', 'cancelled']);
|
|
47
|
+
/** Badge label per status. `running`/`error` reuse this library's existing generic `statusRunning`/
|
|
48
|
+
* `statusError` keys (identical wording already used by `<lr-task-list>`'s own per-item status
|
|
49
|
+
* text) rather than duplicating them. The other five kinds have no existing generic-enough
|
|
50
|
+
* counterpart -- `<lr-task-list>`'s own vocabulary (`pending`/`running`/`success`/`error`) is
|
|
51
|
+
* deliberately narrower than `AgentStatusKind` (see `AgentStatus`'s own doc comment in
|
|
52
|
+
* `src/ai/types.ts`) and collapsing e.g. `waiting-input`/`waiting-approval` down to it would
|
|
53
|
+
* discard exactly the distinction a host most needs to act on. */
|
|
54
|
+
const STATUS_LABEL = {
|
|
55
|
+
idle: { key: 'agentRunStatusIdle' },
|
|
56
|
+
running: { key: 'statusRunning' },
|
|
57
|
+
queued: { key: 'agentRunStatusQueued' },
|
|
58
|
+
collecting: { key: 'agentRunStatusCollecting' },
|
|
59
|
+
'waiting-input': { key: 'agentRunStatusWaitingInput' },
|
|
60
|
+
'waiting-approval': { key: 'agentRunStatusWaitingApproval' },
|
|
61
|
+
done: { key: 'agentRunStatusDone' },
|
|
62
|
+
error: { key: 'statusError' },
|
|
63
|
+
cancelled: { key: 'agentRunStatusCancelled' },
|
|
64
|
+
};
|
|
65
|
+
const STATUS_VARIANT = {
|
|
66
|
+
idle: 'neutral',
|
|
67
|
+
running: 'brand',
|
|
68
|
+
queued: 'neutral',
|
|
69
|
+
collecting: 'brand',
|
|
70
|
+
'waiting-input': 'warning',
|
|
71
|
+
'waiting-approval': 'warning',
|
|
72
|
+
done: 'success',
|
|
73
|
+
error: 'danger',
|
|
74
|
+
cancelled: 'neutral',
|
|
75
|
+
};
|
|
76
|
+
/** Coarsens the broader `AgentStatusKind` down to `<lr-task-list>`'s own narrower `TaskStatus`
|
|
77
|
+
* vocabulary, for the default tasks-slot content only (see `defaultTaskItems()`). Both
|
|
78
|
+
* `waiting-*` kinds map to `'running'` -- still in progress from the plan's point of view, even
|
|
79
|
+
* though it isn't actively executing -- and `cancelled` maps to `'error'`, the closest of
|
|
80
|
+
* `TaskStatus`'s four terminal-ish states since `<lr-task-list>` has no cancelled concept of its
|
|
81
|
+
* own. */
|
|
82
|
+
const STEP_TO_TASK_STATUS = {
|
|
83
|
+
idle: 'pending',
|
|
84
|
+
running: 'running',
|
|
85
|
+
'waiting-input': 'running',
|
|
86
|
+
'waiting-approval': 'running',
|
|
87
|
+
done: 'success',
|
|
88
|
+
error: 'error',
|
|
89
|
+
cancelled: 'error',
|
|
90
|
+
};
|
|
91
|
+
function toTaskItem(step) {
|
|
92
|
+
return {
|
|
93
|
+
id: step.id,
|
|
94
|
+
label: step.label,
|
|
95
|
+
status: STEP_TO_TASK_STATUS[step.status.kind] ?? 'pending',
|
|
96
|
+
detail: step.status.message,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/** `820` -> `"820ms"`; `1500` -> `"1.5s"`; `2000` -> `"2s"`. Identical algorithm to
|
|
100
|
+
* `<lr-usage-badge>`'s own `formatDuration` (itself already a duplicate of `<lr-tool-call-chip>`'s),
|
|
101
|
+
* duplicated locally again for the same reason: independently consumable components, no shared
|
|
102
|
+
* runtime dependency between them. Used only for a *terminal* run's static duration -- see the
|
|
103
|
+
* class doc's "elapsed time" section for why the live ticker below intentionally doesn't reuse
|
|
104
|
+
* this for an in-progress run. */
|
|
105
|
+
function formatDuration(ms) {
|
|
106
|
+
if (!Number.isFinite(ms) || ms < 1000) {
|
|
107
|
+
return { key: 'durationMilliseconds', value: String(Math.round(Math.max(0, ms))) };
|
|
108
|
+
}
|
|
109
|
+
const seconds = ms / 1000;
|
|
110
|
+
const rounded = Math.round(seconds * 10) / 10;
|
|
111
|
+
return { key: 'durationSeconds', value: Number.isInteger(rounded) ? rounded.toFixed(0) : rounded.toFixed(1) };
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* `<lr-agent-run>` — the top-level shell for one `AgentRun`: lifecycle-status badge, elapsed
|
|
115
|
+
* time, current step, model/cost summary, and built-in Cancel/Retry controls in a header, plus
|
|
116
|
+
* four named composition slots (`tasks`/`tools`/`reasoning`/`output`) for the run's actual
|
|
117
|
+
* content. This is deliberately a SHELL, not a new step-rendering surface — every piece of
|
|
118
|
+
* per-step or per-invocation rendering routes through an existing primitive:
|
|
119
|
+
*
|
|
120
|
+
* - **Elapsed time**: composes `<lr-generation-status>` (`active`/`started-at`, its own built-in
|
|
121
|
+
* Stop button hidden via `show-stop="false"` since this component renders its own Cancel/Retry
|
|
122
|
+
* pair instead) for the *live, ticking* readout while the run is genuinely in progress
|
|
123
|
+
* (`running`/`waiting-input`/`waiting-approval`). `<lr-stream-status>` was considered too (per
|
|
124
|
+
* this family's own composition brief) but doesn't fit: its `phase` vocabulary
|
|
125
|
+
* (`idle`/`connecting`/`streaming`/`stalled`) models transport/connection health, not an agent
|
|
126
|
+
* run's seven-state lifecycle, and it exposes no elapsed-time readout at all — exactly the
|
|
127
|
+
* distinction `<lr-generation-status>`'s own class doc already draws between the two. Once the
|
|
128
|
+
* run reaches a terminal state (`done`/`error`/`cancelled`) with both a `startedAt` and an
|
|
129
|
+
* `endedAt`, this component instead renders a small locally-formatted static duration
|
|
130
|
+
* (`endedAt - startedAt`): `<lr-generation-status>`'s freeze-on-`active=false` semantics only
|
|
131
|
+
* ever freeze at whatever it last computed *live*, so mounting it directly against a completed
|
|
132
|
+
* run loaded from history (e.g. `startedAt` yesterday, `endedAt` five minutes later, loaded
|
|
133
|
+
* today) would either show a stale zero or the wrong multi-hour span — it has no way to render a
|
|
134
|
+
* fixed historical span on demand. That static fallback reuses the same small `formatDuration()`
|
|
135
|
+
* algorithm `<lr-usage-badge>` and `<lr-tool-call-chip>` already duplicate locally for the same
|
|
136
|
+
* reason (see this file's own copy).
|
|
137
|
+
* - **Model + cost summary**: composes `<lr-usage-badge>`, fed `run.costEstimate` (formatted via
|
|
138
|
+
* `formatCost`, or a plain `Intl.NumberFormat` by default — this library never assumes a
|
|
139
|
+
* currency, see `<lr-format-number>`'s own explicit `currency` prop) as its `cost-text`.
|
|
140
|
+
* `run.model` (a plain string with no analogous `<lr-usage-badge>` property) renders alongside
|
|
141
|
+
* as plain text.
|
|
142
|
+
* - **Current step**: a single-line summary of whichever `run.steps` entry currently has
|
|
143
|
+
* `status.kind === 'running'` (the last such entry, if more than one) — a plain text line, not a
|
|
144
|
+
* list, so it doesn't duplicate `<lr-task-list>`'s own per-item rendering.
|
|
145
|
+
* - **Tasks slot default content**: when the host doesn't slot anything into `tasks` and
|
|
146
|
+
* `run.steps` is non-empty, this component's own `<slot>` fallback renders a `<lr-task-list>`
|
|
147
|
+
* populated by mapping every `AgentStep` to a `TaskItem` (see `toTaskItem()`) — a plain data
|
|
148
|
+
* adapter between the two existing shapes, not new rendering.
|
|
149
|
+
* - **Status badge**: composes `<lr-badge>`. **Empty state**: composes `<lr-empty>` when `run` is
|
|
150
|
+
* `null`.
|
|
151
|
+
*
|
|
152
|
+
* `tools`/`reasoning`/`output` are plain named slots with no default content — entirely the
|
|
153
|
+
* host's own composition (typically `<lr-tool-call-chip>`/`<lr-tool-result-view>` rows,
|
|
154
|
+
* reasoning/streaming text, and final output respectively). An `actions` slot adds extra header
|
|
155
|
+
* controls alongside the built-in Cancel/Retry pair. The `header` and `summary` slots replace the
|
|
156
|
+
* built-in lifecycle header and model/usage/metrics summary respectively. `statusLabels` and
|
|
157
|
+
* `statusVariants` make application-defined lifecycle kinds first-class, while `metrics` renders
|
|
158
|
+
* arbitrary labeled values such as prompt and completion token counts.
|
|
159
|
+
*
|
|
160
|
+
* The built-in Cancel button renders while `showCancel` is true and the run's status is one of
|
|
161
|
+
* `TICKING_KINDS` (still genuinely in progress); Retry renders while `showRetry` is true and the
|
|
162
|
+
* status is `error` or `cancelled`. Clicking either fires `lr-cancel`/`lr-retry` with
|
|
163
|
+
* `CancelEventDetail`/`RetryEventDetail` from `src/ai/types.ts` — this component never cancels or
|
|
164
|
+
* retries anything itself, it only requests. `RetryEventDetail.attempt` is a 1-based counter
|
|
165
|
+
* local to this component, incremented on every `lr-retry` click and reset to `0` whenever
|
|
166
|
+
* `run.id` changes (a genuinely new run replacing the old one, as opposed to the same run's status
|
|
167
|
+
* merely updating in place).
|
|
168
|
+
*
|
|
169
|
+
* Lifecycle transitions into an attention-needing or terminal state (`waiting-input`,
|
|
170
|
+
* `waiting-approval`, `done`, `error`, `cancelled`) are announced through an internal
|
|
171
|
+
* `<lr-live-region>`, mirroring `<lr-stream-status>`'s own stall/recover announcements —
|
|
172
|
+
* `running`/`idle` transitions are frequent and not independently actionable, so they stay
|
|
173
|
+
* silent, and whatever status a freshly-assigned `run` (a new `run.id`) happens to already carry
|
|
174
|
+
* is never itself treated as an eventful transition, only a later in-place change is.
|
|
175
|
+
*
|
|
176
|
+
* @customElement lr-agent-run
|
|
177
|
+
* @slot tasks - Task/plan content. Falls back to a `<lr-task-list>` built from `run.steps` when
|
|
178
|
+
* nothing is slotted and `run.steps` is non-empty.
|
|
179
|
+
* @slot header - Replaces the built-in lifecycle header and its built-in actions.
|
|
180
|
+
* @slot summary - Replaces the built-in model, usage, and metrics summary.
|
|
181
|
+
* @slot tools - Tool-call content (e.g. `<lr-tool-call-chip>`/`<lr-tool-result-view>` rows). No
|
|
182
|
+
* default content.
|
|
183
|
+
* @slot reasoning - Reasoning/thinking content. No default content.
|
|
184
|
+
* @slot output - The run's final output content. No default content.
|
|
185
|
+
* @slot actions - Extra header actions alongside the built-in Cancel/Retry buttons.
|
|
186
|
+
* @event lr-cancel - The built-in Cancel button was activated. `detail: CancelEventDetail`
|
|
187
|
+
* (`{ reason }`, always `undefined` from the built-in button itself).
|
|
188
|
+
* @event lr-retry - The built-in Retry button was activated. `detail: RetryEventDetail`
|
|
189
|
+
* (`{ attempt }`, a 1-based counter reset per `run.id`).
|
|
190
|
+
* @csspart base - The root container.
|
|
191
|
+
* @csspart empty - The `<lr-empty>` shown when `run` is `null`.
|
|
192
|
+
* @csspart header - The header row wrapping status, elapsed time, current step, summary, and actions.
|
|
193
|
+
* @csspart status - Wrapper around the status badge and optional status message.
|
|
194
|
+
* @csspart status-badge - The resolved `<lr-badge>` lifecycle-status pill.
|
|
195
|
+
* @csspart status-message - `run.status.message`, when set.
|
|
196
|
+
* @csspart elapsed - The composed `<lr-generation-status>`, only rendered while the run is
|
|
197
|
+
* actively ticking (see the class doc).
|
|
198
|
+
* @csspart elapsed-static - The static formatted duration for a terminal run with both
|
|
199
|
+
* `startedAt` and `endedAt`.
|
|
200
|
+
* @csspart current-step - Wrapper around the current-step icon and label. Only rendered while a
|
|
201
|
+
* step has `status.kind === 'running'`.
|
|
202
|
+
* @csspart current-step-icon - The spinning current-step icon.
|
|
203
|
+
* @csspart current-step-label - The current step's `label` text.
|
|
204
|
+
* @csspart summary - Wrapper around the model text and the composed `<lr-usage-badge>`. Only
|
|
205
|
+
* rendered while `run.model` or a valid `run.costEstimate` is present.
|
|
206
|
+
* @csspart model - `run.model`, when set.
|
|
207
|
+
* @csspart usage - The composed `<lr-usage-badge>`.
|
|
208
|
+
* @csspart metric - One arbitrary metric in the built-in summary.
|
|
209
|
+
* @csspart metric-label - The metric's label.
|
|
210
|
+
* @csspart metric-value - The metric's value.
|
|
211
|
+
* @csspart actions - Wrapper around the `actions` slot and the built-in Cancel/Retry buttons.
|
|
212
|
+
* @csspart cancel-button - The built-in Cancel button. Only rendered while cancelable (see the
|
|
213
|
+
* class doc).
|
|
214
|
+
* @csspart retry-button - The built-in Retry button. Only rendered while retryable.
|
|
215
|
+
* @csspart body - Wrapper around the four composition slots.
|
|
216
|
+
* @csspart tasks - The `tasks` slot.
|
|
217
|
+
* @csspart tools - The `tools` slot.
|
|
218
|
+
* @csspart reasoning - The `reasoning` slot.
|
|
219
|
+
* @csspart output - The `output` slot.
|
|
220
|
+
*/
|
|
221
|
+
export class LyraAgentRun extends LyraElement {
|
|
222
|
+
constructor() {
|
|
223
|
+
super(...arguments);
|
|
224
|
+
/** The run to display. Controlled and never mutated by this component -- pass a new object to
|
|
225
|
+
* update it. `null` renders the shared `<lr-empty>` `noData` state. */
|
|
226
|
+
this.run = null;
|
|
227
|
+
/** Labels for application-defined lifecycle kinds. Built-in kinds remain localized by Lyra. */
|
|
228
|
+
this.statusLabels = {};
|
|
229
|
+
/** Badge variants for application-defined lifecycle kinds. Unknown kinds default to `neutral`. */
|
|
230
|
+
this.statusVariants = {};
|
|
231
|
+
/** Additional run metrics such as prompt/completion token counts. */
|
|
232
|
+
this.metrics = [];
|
|
233
|
+
/** Whether the built-in Cancel button can render at all -- still gated by the run's own status
|
|
234
|
+
* being cancelable (`running`/`waiting-input`/`waiting-approval`). Set `false` for a read-only
|
|
235
|
+
* viewer. */
|
|
236
|
+
this.showCancel = true;
|
|
237
|
+
/** Whether the built-in Retry button can render at all -- still gated by the run's own status
|
|
238
|
+
* being retryable (`error`/`cancelled`). */
|
|
239
|
+
this.showRetry = true;
|
|
240
|
+
this.retryAttempt = 0;
|
|
241
|
+
this.hasHeaderSlot = false;
|
|
242
|
+
this.hasSummarySlot = false;
|
|
243
|
+
this.onHeaderSlotChange = (e) => {
|
|
244
|
+
this.hasHeaderSlot = e.target.assignedElements({ flatten: true }).length > 0;
|
|
245
|
+
};
|
|
246
|
+
this.onSummarySlotChange = (e) => {
|
|
247
|
+
this.hasSummarySlot = e.target.assignedElements({ flatten: true }).length > 0;
|
|
248
|
+
};
|
|
249
|
+
this.onCancelClick = () => {
|
|
250
|
+
this.emit('lr-cancel', {});
|
|
251
|
+
};
|
|
252
|
+
this.onRetryClick = () => {
|
|
253
|
+
this.retryAttempt += 1;
|
|
254
|
+
this.emit('lr-retry', { attempt: this.retryAttempt });
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
static { this.styles = [LyraElement.styles, srOnly, styles]; }
|
|
258
|
+
willUpdate(changed) {
|
|
259
|
+
if (!this.hasUpdated) {
|
|
260
|
+
this.hasHeaderSlot = this.hasSlotted('header');
|
|
261
|
+
this.hasSummarySlot = this.hasSlotted('summary');
|
|
262
|
+
}
|
|
263
|
+
if (changed.has('run') && this.run?.id !== this.previousRunId) {
|
|
264
|
+
this.retryAttempt = 0;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
hasSlotted(name) {
|
|
268
|
+
return Array.from(this.children).some((element) => element.getAttribute('slot') === name);
|
|
269
|
+
}
|
|
270
|
+
updated(changed) {
|
|
271
|
+
if (changed.has('run'))
|
|
272
|
+
this.handleRunChange();
|
|
273
|
+
}
|
|
274
|
+
handleRunChange() {
|
|
275
|
+
const runId = this.run?.id;
|
|
276
|
+
const kind = this.run?.status.kind;
|
|
277
|
+
const isFreshRun = runId !== this.previousRunId;
|
|
278
|
+
if (!isFreshRun && kind !== undefined && kind !== this.previousStatusKind && this.isAttentionKind(kind)) {
|
|
279
|
+
this.announceStatus(kind);
|
|
280
|
+
}
|
|
281
|
+
this.previousRunId = runId;
|
|
282
|
+
this.previousStatusKind = kind;
|
|
283
|
+
}
|
|
284
|
+
isAttentionKind(kind) {
|
|
285
|
+
return kind === 'waiting-input' || kind === 'waiting-approval' || TERMINAL_KINDS.has(kind);
|
|
286
|
+
}
|
|
287
|
+
announceStatus(kind) {
|
|
288
|
+
const region = this.liveRegion;
|
|
289
|
+
if (!region)
|
|
290
|
+
return;
|
|
291
|
+
region.mode = kind === 'error' || kind === 'waiting-input' || kind === 'waiting-approval' ? 'assertive' : 'polite';
|
|
292
|
+
region.announce(this.localize('agentRunStatusAnnounce', undefined, { status: this.statusLabel(kind) }), {
|
|
293
|
+
force: true,
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
statusLabel(kind) {
|
|
297
|
+
const custom = this.statusLabels[kind];
|
|
298
|
+
if (custom)
|
|
299
|
+
return custom;
|
|
300
|
+
const builtIn = STATUS_LABEL[kind];
|
|
301
|
+
if (builtIn)
|
|
302
|
+
return this.localize(builtIn.key);
|
|
303
|
+
return kind.replace(/[-_]+/g, ' ').replace(/\b\w/g, (letter) => letter.toUpperCase());
|
|
304
|
+
}
|
|
305
|
+
get currentStep() {
|
|
306
|
+
const steps = this.run?.steps;
|
|
307
|
+
if (!steps)
|
|
308
|
+
return undefined;
|
|
309
|
+
for (let i = steps.length - 1; i >= 0; i--) {
|
|
310
|
+
if (steps[i].status.kind === 'running')
|
|
311
|
+
return steps[i];
|
|
312
|
+
}
|
|
313
|
+
return undefined;
|
|
314
|
+
}
|
|
315
|
+
get isTicking() {
|
|
316
|
+
const kind = this.run?.status.kind;
|
|
317
|
+
return kind !== undefined && TICKING_KINDS.has(kind) && this.run?.startedAt != null;
|
|
318
|
+
}
|
|
319
|
+
/** The static formatted duration for a terminal run with both `startedAt` and `endedAt` --
|
|
320
|
+
* `undefined` while ticking, not yet terminal, or missing either timestamp (see the class
|
|
321
|
+
* doc's "elapsed time" section for why a terminal run doesn't reuse the live ticker). */
|
|
322
|
+
get staticElapsedText() {
|
|
323
|
+
const run = this.run;
|
|
324
|
+
if (!run || !TERMINAL_KINDS.has(run.status.kind))
|
|
325
|
+
return undefined;
|
|
326
|
+
if (run.startedAt == null || run.endedAt == null)
|
|
327
|
+
return undefined;
|
|
328
|
+
const d = formatDuration(Math.max(0, run.endedAt - run.startedAt));
|
|
329
|
+
return this.localize(d.key, undefined, { value: d.value });
|
|
330
|
+
}
|
|
331
|
+
get costText() {
|
|
332
|
+
const cost = this.run?.costEstimate;
|
|
333
|
+
if (cost == null || !Number.isFinite(cost))
|
|
334
|
+
return '';
|
|
335
|
+
const value = finiteRange(cost, cost, 0);
|
|
336
|
+
const formatter = this.formatCost ?? ((c) => getNumberFormat(this.effectiveLocale, { maximumFractionDigits: 4 }).format(c));
|
|
337
|
+
return formatter(value);
|
|
338
|
+
}
|
|
339
|
+
get canCancel() {
|
|
340
|
+
const kind = this.run?.status.kind;
|
|
341
|
+
return this.showCancel && kind !== undefined && TICKING_KINDS.has(kind);
|
|
342
|
+
}
|
|
343
|
+
get canRetry() {
|
|
344
|
+
const kind = this.run?.status.kind;
|
|
345
|
+
return this.showRetry && (kind === 'error' || kind === 'cancelled');
|
|
346
|
+
}
|
|
347
|
+
render() {
|
|
348
|
+
const run = this.run;
|
|
349
|
+
if (!run) {
|
|
350
|
+
return html `<div part="base"><lr-empty part="empty" heading=${this.localize('noData')}></lr-empty></div>`;
|
|
351
|
+
}
|
|
352
|
+
const kind = run.status.kind;
|
|
353
|
+
const step = this.currentStep;
|
|
354
|
+
const ticking = this.isTicking;
|
|
355
|
+
const staticElapsed = this.staticElapsedText;
|
|
356
|
+
const cost = this.costText;
|
|
357
|
+
const hasSummary = !!run.model || cost !== '' || this.metrics.length > 0;
|
|
358
|
+
return html `
|
|
359
|
+
<div part="base">
|
|
360
|
+
<div part="header">
|
|
361
|
+
<slot name="header" @slotchange=${this.onHeaderSlotChange}></slot>
|
|
362
|
+
${!this.hasHeaderSlot
|
|
363
|
+
? html `
|
|
364
|
+
<div part="status">
|
|
365
|
+
<lr-badge
|
|
366
|
+
part="status-badge"
|
|
367
|
+
variant=${this.statusVariants[kind] ?? STATUS_VARIANT[kind] ?? 'neutral'}
|
|
368
|
+
>${this.statusLabel(kind)}</lr-badge
|
|
369
|
+
>
|
|
370
|
+
${run.status.message ? html `<span part="status-message">${run.status.message}</span>` : nothing}
|
|
371
|
+
</div>
|
|
372
|
+
${ticking
|
|
373
|
+
? html `<lr-generation-status
|
|
374
|
+
part="elapsed"
|
|
375
|
+
exportparts="elapsed:elapsed-time"
|
|
376
|
+
active
|
|
377
|
+
.startedAt=${run.startedAt}
|
|
378
|
+
.showStop=${false}
|
|
379
|
+
></lr-generation-status>`
|
|
380
|
+
: staticElapsed
|
|
381
|
+
? html `<span part="elapsed-static">${staticElapsed}</span>`
|
|
382
|
+
: nothing}
|
|
383
|
+
${step
|
|
384
|
+
? html `
|
|
385
|
+
<div part="current-step">
|
|
386
|
+
<span part="current-step-icon" aria-hidden="true">${spinnerIcon()}</span>
|
|
387
|
+
<span class="sr-only">${this.localize('agentRunCurrentStepLabel')}</span>
|
|
388
|
+
<span part="current-step-label">${step.label}</span>
|
|
389
|
+
</div>
|
|
390
|
+
`
|
|
391
|
+
: nothing}
|
|
392
|
+
${hasSummary || this.hasSummarySlot
|
|
393
|
+
? html `<div part="summary">
|
|
394
|
+
<slot name="summary" @slotchange=${this.onSummarySlotChange}></slot>
|
|
395
|
+
${!this.hasSummarySlot
|
|
396
|
+
? html `
|
|
397
|
+
${run.model ? html `<span part="model">${run.model}</span>` : nothing}
|
|
398
|
+
${cost !== ''
|
|
399
|
+
? html `<lr-usage-badge part="usage" exportparts="cost:cost" cost-text=${cost}></lr-usage-badge>`
|
|
400
|
+
: nothing}
|
|
401
|
+
${this.metrics.map((metric) => html `<span part="metric" data-metric-id=${metric.id}>
|
|
402
|
+
<span part="metric-label">${metric.label}</span>
|
|
403
|
+
<span part="metric-value" data-variant=${metric.variant ?? nothing}>${metric.value}</span>
|
|
404
|
+
</span>`)}
|
|
405
|
+
`
|
|
406
|
+
: nothing}
|
|
407
|
+
</div>`
|
|
408
|
+
: nothing}
|
|
409
|
+
<div part="actions">
|
|
410
|
+
<slot name="actions"></slot>
|
|
411
|
+
${this.canCancel
|
|
412
|
+
? html `<button part="cancel-button" type="button" @click=${this.onCancelClick}>
|
|
413
|
+
${this.localize('cancel')}
|
|
414
|
+
</button>`
|
|
415
|
+
: nothing}
|
|
416
|
+
${this.canRetry
|
|
417
|
+
? html `<button part="retry-button" type="button" @click=${this.onRetryClick}>
|
|
418
|
+
${this.localize('retry')}
|
|
419
|
+
</button>`
|
|
420
|
+
: nothing}
|
|
421
|
+
</div>
|
|
422
|
+
`
|
|
423
|
+
: nothing}
|
|
424
|
+
</div>
|
|
425
|
+
<div part="body">
|
|
426
|
+
<slot part="tasks" name="tasks"
|
|
427
|
+
>${run.steps.length > 0
|
|
428
|
+
? html `<lr-task-list .items=${run.steps.map(toTaskItem)}></lr-task-list>`
|
|
429
|
+
: nothing}</slot
|
|
430
|
+
>
|
|
431
|
+
<slot part="tools" name="tools"></slot>
|
|
432
|
+
<slot part="reasoning" name="reasoning"></slot>
|
|
433
|
+
<slot part="output" name="output"></slot>
|
|
434
|
+
</div>
|
|
435
|
+
<lr-live-region></lr-live-region>
|
|
436
|
+
</div>
|
|
437
|
+
`;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
__decorate([
|
|
441
|
+
property({ attribute: false })
|
|
442
|
+
], LyraAgentRun.prototype, "run", void 0);
|
|
443
|
+
__decorate([
|
|
444
|
+
property({ attribute: false })
|
|
445
|
+
], LyraAgentRun.prototype, "formatCost", void 0);
|
|
446
|
+
__decorate([
|
|
447
|
+
property({ attribute: false })
|
|
448
|
+
], LyraAgentRun.prototype, "statusLabels", void 0);
|
|
449
|
+
__decorate([
|
|
450
|
+
property({ attribute: false })
|
|
451
|
+
], LyraAgentRun.prototype, "statusVariants", void 0);
|
|
452
|
+
__decorate([
|
|
453
|
+
property({ attribute: false })
|
|
454
|
+
], LyraAgentRun.prototype, "metrics", void 0);
|
|
455
|
+
__decorate([
|
|
456
|
+
property({ type: Boolean, attribute: 'show-cancel', converter: trueDefaultBooleanConverter })
|
|
457
|
+
], LyraAgentRun.prototype, "showCancel", void 0);
|
|
458
|
+
__decorate([
|
|
459
|
+
property({ type: Boolean, attribute: 'show-retry', converter: trueDefaultBooleanConverter })
|
|
460
|
+
], LyraAgentRun.prototype, "showRetry", void 0);
|
|
461
|
+
__decorate([
|
|
462
|
+
state()
|
|
463
|
+
], LyraAgentRun.prototype, "retryAttempt", void 0);
|
|
464
|
+
__decorate([
|
|
465
|
+
state()
|
|
466
|
+
], LyraAgentRun.prototype, "hasHeaderSlot", void 0);
|
|
467
|
+
__decorate([
|
|
468
|
+
state()
|
|
469
|
+
], LyraAgentRun.prototype, "hasSummarySlot", void 0);
|
|
470
|
+
__decorate([
|
|
471
|
+
query('lr-live-region')
|
|
472
|
+
], LyraAgentRun.prototype, "liveRegion", void 0);
|
|
473
|
+
//# sourceMappingURL=agent-run.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-run.class.js","sourceRoot":"","sources":["../../../src/components/agent-run/agent-run.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAA4E,MAAM,KAAK,CAAC;AAC9G,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MA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;;;;eAIN,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;YACrB,CAAC,CAAC,IAAI,CAAA,wBAAwB,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,kBAAkB;YACzE,CAAC,CAAC,OAAO;;;;;;;;KAQlB,CAAC;IACJ,CAAC;CACF;AApPiC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;yCAA6B;AAK5B;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;gDAAuC;AAGtC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;kDAA2C;AAG1C;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;oDAAmD;AAGlD;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;6CAAgC;AAKgC;IAA9F,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,2BAA2B,EAAE,CAAC;gDAAmB;AAInB;IAA7F,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,2BAA2B,EAAE,CAAC;+CAAkB;AAE9F;IAAhB,KAAK,EAAE;kDAA0B;AACjB;IAAhB,KAAK,EAAE;mDAA+B;AACtB;IAAhB,KAAK,EAAE;oDAAgC;AAEP;IAAhC,KAAK,CAAC,gBAAgB,CAAC;gDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-run.d.ts","sourceRoot":"","sources":["../../../src/components/agent-run/agent-run.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-run.js","sourceRoot":"","sources":["../../../src/components/agent-run/agent-run.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,aAAa,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-run.styles.d.ts","sourceRoot":"","sources":["../../../src/components/agent-run/agent-run.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA4JlB,CAAC"}
|