@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,159 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
--lr-agent-run-spin: 1s linear;
|
|
6
|
+
}
|
|
7
|
+
[part='base'] {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: var(--lr-space-m);
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
inline-size: 100%;
|
|
13
|
+
padding: var(--lr-space-m);
|
|
14
|
+
border: var(--lr-border-width-thin) solid var(--lr-color-border);
|
|
15
|
+
border-radius: var(--lr-radius);
|
|
16
|
+
background: var(--lr-color-surface);
|
|
17
|
+
color: var(--lr-color-text);
|
|
18
|
+
}
|
|
19
|
+
[part='header'] {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
align-items: center;
|
|
23
|
+
column-gap: var(--lr-space-m);
|
|
24
|
+
row-gap: var(--lr-space-s);
|
|
25
|
+
}
|
|
26
|
+
[part='status'] {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: var(--lr-space-xs);
|
|
30
|
+
min-inline-size: 0;
|
|
31
|
+
}
|
|
32
|
+
[part='status-message'] {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
max-inline-size: var(--lr-size-16rem);
|
|
37
|
+
font-size: var(--lr-font-size-sm);
|
|
38
|
+
color: var(--lr-color-text-quiet);
|
|
39
|
+
}
|
|
40
|
+
[part='elapsed'],
|
|
41
|
+
[part='elapsed-static'] {
|
|
42
|
+
flex: 0 0 auto;
|
|
43
|
+
font-size: var(--lr-font-size-sm);
|
|
44
|
+
color: var(--lr-color-text-quiet);
|
|
45
|
+
font-variant-numeric: tabular-nums;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
}
|
|
48
|
+
[part='current-step'] {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: var(--lr-size-0-4em);
|
|
52
|
+
min-inline-size: 0;
|
|
53
|
+
flex: 1 1 auto;
|
|
54
|
+
font-size: var(--lr-font-size-sm);
|
|
55
|
+
color: var(--lr-color-text-quiet);
|
|
56
|
+
}
|
|
57
|
+
[part='current-step-icon'] {
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
flex: 0 0 auto;
|
|
60
|
+
color: var(--lr-color-brand);
|
|
61
|
+
}
|
|
62
|
+
[part='current-step-icon'] svg {
|
|
63
|
+
display: block;
|
|
64
|
+
animation: lr-agent-run-spin var(--lr-agent-run-spin) infinite;
|
|
65
|
+
}
|
|
66
|
+
[part='current-step-label'] {
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
min-inline-size: 0;
|
|
71
|
+
}
|
|
72
|
+
[part='summary'] {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-wrap: wrap;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: var(--lr-space-s);
|
|
77
|
+
flex: 0 0 auto;
|
|
78
|
+
font-size: var(--lr-font-size-sm);
|
|
79
|
+
}
|
|
80
|
+
[part='metric'] {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
align-items: baseline;
|
|
83
|
+
gap: var(--lr-space-xs);
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
}
|
|
86
|
+
[part='metric-label'] {
|
|
87
|
+
color: var(--lr-color-text-quiet);
|
|
88
|
+
}
|
|
89
|
+
[part='metric-value'] {
|
|
90
|
+
font-variant-numeric: tabular-nums;
|
|
91
|
+
font-weight: var(--lr-font-weight-semibold);
|
|
92
|
+
}
|
|
93
|
+
[part='metric-value'][data-variant='danger'] { color: var(--lr-color-danger); }
|
|
94
|
+
[part='metric-value'][data-variant='success'] { color: var(--lr-color-success); }
|
|
95
|
+
[part='metric-value'][data-variant='warning'] { color: var(--lr-color-warning); }
|
|
96
|
+
[part='model'] {
|
|
97
|
+
color: var(--lr-color-text-quiet);
|
|
98
|
+
white-space: nowrap;
|
|
99
|
+
}
|
|
100
|
+
[part='actions'] {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: var(--lr-space-xs);
|
|
104
|
+
flex: 0 0 auto;
|
|
105
|
+
margin-inline-start: auto;
|
|
106
|
+
}
|
|
107
|
+
[part='cancel-button'],
|
|
108
|
+
[part='retry-button'] {
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
min-block-size: var(--lr-size-1-75rem);
|
|
111
|
+
padding: var(--lr-size-0-25rem) var(--lr-space-s);
|
|
112
|
+
border: var(--lr-border-width-thin) solid var(--lr-color-border);
|
|
113
|
+
border-radius: var(--lr-radius);
|
|
114
|
+
background: var(--lr-color-surface);
|
|
115
|
+
color: var(--lr-color-text);
|
|
116
|
+
font: inherit;
|
|
117
|
+
font-size: var(--lr-font-size-sm);
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
-webkit-tap-highlight-color: transparent;
|
|
120
|
+
transition:
|
|
121
|
+
background-color var(--lr-transition-fast),
|
|
122
|
+
border-color var(--lr-transition-fast),
|
|
123
|
+
color var(--lr-transition-fast);
|
|
124
|
+
}
|
|
125
|
+
[part='cancel-button']:hover {
|
|
126
|
+
border-color: var(--lr-color-danger);
|
|
127
|
+
color: var(--lr-color-danger);
|
|
128
|
+
}
|
|
129
|
+
[part='retry-button']:hover {
|
|
130
|
+
border-color: var(--lr-color-brand);
|
|
131
|
+
color: var(--lr-color-brand);
|
|
132
|
+
}
|
|
133
|
+
[part='cancel-button']:focus-visible,
|
|
134
|
+
[part='retry-button']:focus-visible {
|
|
135
|
+
outline: var(--lr-focus-ring-width) solid var(--lr-focus-ring-color);
|
|
136
|
+
outline-offset: var(--lr-focus-ring-offset);
|
|
137
|
+
}
|
|
138
|
+
[part='body'] {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
gap: var(--lr-space-m);
|
|
142
|
+
min-inline-size: 0;
|
|
143
|
+
}
|
|
144
|
+
@keyframes lr-agent-run-spin {
|
|
145
|
+
to {
|
|
146
|
+
transform: rotate(360deg);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
@media (prefers-reduced-motion: reduce) {
|
|
150
|
+
[part='cancel-button'],
|
|
151
|
+
[part='retry-button'] {
|
|
152
|
+
transition: none !important;
|
|
153
|
+
}
|
|
154
|
+
[part='current-step-icon'] svg {
|
|
155
|
+
animation: none !important;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
`;
|
|
159
|
+
//# sourceMappingURL=agent-run.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-run.styles.js","sourceRoot":"","sources":["../../../src/components/agent-run/agent-run.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JxB,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
2
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
3
|
+
import '../trace-tree/trace-tree.js';
|
|
4
|
+
import '../graph-legend/graph-legend.js';
|
|
5
|
+
import '../handoff-divider/handoff-divider.js';
|
|
6
|
+
import type { LyraSpan } from '../trace-tree/span.js';
|
|
7
|
+
import type { LyraGraphLegendVisibilityDetail } from '../graph-legend/graph-legend.class.js';
|
|
8
|
+
export type { LyraSpan } from '../trace-tree/span.js';
|
|
9
|
+
export interface LyraAgentTraceEventMap {
|
|
10
|
+
/** Bubbles, composed, from the composed `<lr-trace-tree>` (identical `{ id }` detail), or is
|
|
11
|
+
* fired directly when a handoff quick-jump entry is activated -- a host handles both origins
|
|
12
|
+
* through this one event. */
|
|
13
|
+
'lr-span-select': CustomEvent<{
|
|
14
|
+
id: string;
|
|
15
|
+
}>;
|
|
16
|
+
/** Bubbles, composed, from the composed `<lr-trace-tree>`, unchanged. */
|
|
17
|
+
'lr-span-toggle': CustomEvent<{
|
|
18
|
+
id: string;
|
|
19
|
+
expanded: boolean;
|
|
20
|
+
}>;
|
|
21
|
+
/** Bubbles, composed, from the composed filter `<lr-graph-legend>`. Despite the property name
|
|
22
|
+
* (inherited verbatim from that component's own event contract), `hiddenTypes` here holds
|
|
23
|
+
* `LyraSpan['kind']` values, not graph node-type ids. */
|
|
24
|
+
'lr-visibility-change': CustomEvent<LyraGraphLegendVisibilityDetail>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* `<lr-agent-trace>` — a provider-neutral agent/LLM trace view: a span-kind filter row, a
|
|
28
|
+
* handoff quick-jump list, and the full trace hierarchy, all driven by one shared `LyraSpan[]`
|
|
29
|
+
* array (the same shape `<lr-trace-tree>` and `<lr-span-waterfall>` already consume).
|
|
30
|
+
*
|
|
31
|
+
* The actual trace rendering -- hierarchy, expand/collapse, roving-tabindex keyboard navigation,
|
|
32
|
+
* duration bars, the empty state -- is entirely `<lr-trace-tree>`'s own: this component only ever
|
|
33
|
+
* passes it a (possibly filtered) `spans` array plus a handful of pass-through properties, never
|
|
34
|
+
* building its own row markup. `<lr-trace-tree>` was chosen over `<lr-span-waterfall>` because a
|
|
35
|
+
* trace is fundamentally the hierarchy relationship between spans (which agent called which tool,
|
|
36
|
+
* which handed off to which sub-agent) -- exactly what `parentId`-derived `aria-level` nesting
|
|
37
|
+
* conveys and a flat, `startMs`-ordered timeline does not.
|
|
38
|
+
*
|
|
39
|
+
* This component's own contribution is the multi-domain filter layer on top of that: a filter
|
|
40
|
+
* row composing `<lr-graph-legend>` -- the same abstract type/visibility-toggle legend pattern
|
|
41
|
+
* that component already establishes for `<lr-graph>`'s node types, reused here (it neither
|
|
42
|
+
* reads nor writes an actual graph) for `LyraSpan.kind` visibility instead -- and a handoff
|
|
43
|
+
* quick-jump list composing `<lr-handoff-divider>` for each visible `'agent'`-kind span (an
|
|
44
|
+
* agent invocation is, in trace terms, a handoff of control to that agent). Hidden kinds are
|
|
45
|
+
* simply excluded from the array handed to `<lr-trace-tree>`; a span whose parent got filtered
|
|
46
|
+
* out is promoted to a root by `<lr-trace-tree>`'s own existing orphan handling, never dropped.
|
|
47
|
+
*
|
|
48
|
+
* Selection is controlled end-to-end for deep-linking: `activeSpanId` flows down into
|
|
49
|
+
* `<lr-trace-tree>` verbatim, and both activation paths -- a row click inside the tree, or a
|
|
50
|
+
* handoff quick-jump entry -- update it and fire the identical `lr-span-select` `{ id }` shape, so
|
|
51
|
+
* a host can encode the current span id in a URL and feed it straight back in.
|
|
52
|
+
*
|
|
53
|
+
* @customElement lr-agent-trace
|
|
54
|
+
* @event lr-span-select - `detail: { id }` — a span was activated, from the tree or the handoff list.
|
|
55
|
+
* @event lr-span-toggle - `detail: { id, expanded }` — a tree row was expanded or collapsed.
|
|
56
|
+
* @event lr-visibility-change - `detail: { hiddenTypes }` — the span-kind filter changed; `hiddenTypes` holds `LyraSpan['kind']` values.
|
|
57
|
+
* @csspart base - The root wrapper.
|
|
58
|
+
* @csspart filter - The composed `<lr-graph-legend>` filter row, only rendered while `spans` has at least one span.
|
|
59
|
+
* @csspart handoffs - The handoff quick-jump list wrapper, only rendered while at least one visible span has `kind: 'agent'`.
|
|
60
|
+
* @csspart handoff - One handoff quick-jump entry (a `<button>` wrapping an `<lr-handoff-divider>`); carries `data-active`.
|
|
61
|
+
* @csspart tree - The composed `<lr-trace-tree>`.
|
|
62
|
+
*/
|
|
63
|
+
export declare class LyraAgentTrace extends LyraElement<LyraAgentTraceEventMap> {
|
|
64
|
+
static styles: import("lit").CSSResultGroup[];
|
|
65
|
+
/** The full, unfiltered span array -- identical contract to `<lr-trace-tree>.spans`. Controlled
|
|
66
|
+
* and never mutated by this component. */
|
|
67
|
+
spans: LyraSpan[];
|
|
68
|
+
/** Controlled selection, forwarded verbatim into the composed `<lr-trace-tree>`. Updated
|
|
69
|
+
* locally (and re-emitted as `lr-span-select`) whenever a span is activated from either the
|
|
70
|
+
* tree or the handoff quick-jump list, so a host can also treat it as a two-way binding. */
|
|
71
|
+
activeSpanId: string | null;
|
|
72
|
+
/** Span kinds currently hidden from the tree. Empty (the default) shows every kind. Controlled
|
|
73
|
+
* -- a host may pre-set this (e.g. to hide `retriever`/`embedding` spans by default) or read it
|
|
74
|
+
* back after `lr-visibility-change`. */
|
|
75
|
+
hiddenKinds: LyraSpan['kind'][];
|
|
76
|
+
/** Accessible name forwarded to the composed `<lr-trace-tree>`. See its own `label` property. */
|
|
77
|
+
label: string;
|
|
78
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
79
|
+
showTokens: boolean;
|
|
80
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
81
|
+
showCost: boolean;
|
|
82
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
83
|
+
hideBars: boolean;
|
|
84
|
+
private presentKinds;
|
|
85
|
+
private get filteredSpans();
|
|
86
|
+
private handoffSpans;
|
|
87
|
+
/** The handed-off-from agent's name, resolved against the full (unfiltered) `spans` array so a
|
|
88
|
+
* hidden/filtered-out parent's name still renders -- empty when `parentId` is unset or
|
|
89
|
+
* unresolvable, mirroring `<lr-handoff-divider>`'s own "from is optional" contract. */
|
|
90
|
+
private handoffFromAgent;
|
|
91
|
+
/** Same computation `<lr-handoff-divider>` performs internally for its own `aria-label`, reused
|
|
92
|
+
* here (not reimplemented with different wording) for this button's accessible name. */
|
|
93
|
+
private handoffAccessibleLabel;
|
|
94
|
+
private onVisibilityChange;
|
|
95
|
+
/** Keeps `activeSpanId` (and therefore the handoff list's own highlighting) in sync when
|
|
96
|
+
* selection originates inside the composed `<lr-trace-tree>` rather than the handoff quick-jump
|
|
97
|
+
* list. The original event is never stopped here, so it still reaches a host listener on this
|
|
98
|
+
* element unchanged. */
|
|
99
|
+
private onTreeSpanSelect;
|
|
100
|
+
private selectSpan;
|
|
101
|
+
private renderFilter;
|
|
102
|
+
private renderHandoff;
|
|
103
|
+
private renderHandoffs;
|
|
104
|
+
render(): TemplateResult;
|
|
105
|
+
}
|
|
106
|
+
declare global {
|
|
107
|
+
interface HTMLElementTagNameMap {
|
|
108
|
+
'lr-agent-trace': LyraAgentTrace;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=agent-trace.class.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-trace.class.d.ts","sourceRoot":"","sources":["../../../src/components/agent-trace/agent-trace.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAO7D,OAAO,6BAA6B,CAAC;AACrC,OAAO,iCAAiC,CAAC;AACzC,OAAO,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAuB,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAElH,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA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,EAAE,cAAc,CAAC;KAClC;CACF"}
|
|
@@ -0,0 +1,221 @@
|
|
|
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 } from 'lit/decorators.js';
|
|
9
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
10
|
+
import { styles } from './agent-trace.styles.js';
|
|
11
|
+
// The registering barrels (not the bare *.class.js modules) -- this is what actually defines
|
|
12
|
+
// <lr-trace-tree>/<lr-graph-legend>/<lr-handoff-divider> as custom elements by the time this
|
|
13
|
+
// component's render() references them, regardless of whether a consumer imports this bare
|
|
14
|
+
// *.class.js module directly or the full agent-trace.js barrel. See this file's own regression
|
|
15
|
+
// test ("registers ... as a side effect of importing agent-trace.js") for why this matters.
|
|
16
|
+
import '../trace-tree/trace-tree.js';
|
|
17
|
+
import '../graph-legend/graph-legend.js';
|
|
18
|
+
import '../handoff-divider/handoff-divider.js';
|
|
19
|
+
/**
|
|
20
|
+
* Canonical span-kind order for the filter legend and the "which kinds are present" scan --
|
|
21
|
+
* matches `<lr-trace-tree>`'s own internal kind iteration order so a kind lands in the same
|
|
22
|
+
* visual position across both components.
|
|
23
|
+
*/
|
|
24
|
+
const KIND_ORDER = ['agent', 'llm', 'tool', 'retriever', 'embedding', 'other'];
|
|
25
|
+
/**
|
|
26
|
+
* Maps each `LyraSpan.kind` onto the message key `<lr-trace-tree>`/`<lr-span-waterfall>` already
|
|
27
|
+
* localize their own kind label through -- reused verbatim (not redefined with new wording) so a
|
|
28
|
+
* translation registered for one of those components applies identically here. In the roadmap's
|
|
29
|
+
* own vocabulary this component composes retrieval (`retriever` + `embedding`), tool (`tool`),
|
|
30
|
+
* model (`llm`), and handoff (`agent`) spans; the filter itself operates one level more granular,
|
|
31
|
+
* directly on `LyraSpan.kind`, so it never drifts from the exact field `<lr-trace-tree>` already
|
|
32
|
+
* keys its own rendering off of.
|
|
33
|
+
*/
|
|
34
|
+
const KIND_LABEL_KEY = {
|
|
35
|
+
agent: 'spanKindAgent',
|
|
36
|
+
llm: 'spanKindLlm',
|
|
37
|
+
tool: 'spanKindTool',
|
|
38
|
+
retriever: 'spanKindRetriever',
|
|
39
|
+
embedding: 'spanKindEmbedding',
|
|
40
|
+
other: 'spanKindOther',
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* `<lr-agent-trace>` — a provider-neutral agent/LLM trace view: a span-kind filter row, a
|
|
44
|
+
* handoff quick-jump list, and the full trace hierarchy, all driven by one shared `LyraSpan[]`
|
|
45
|
+
* array (the same shape `<lr-trace-tree>` and `<lr-span-waterfall>` already consume).
|
|
46
|
+
*
|
|
47
|
+
* The actual trace rendering -- hierarchy, expand/collapse, roving-tabindex keyboard navigation,
|
|
48
|
+
* duration bars, the empty state -- is entirely `<lr-trace-tree>`'s own: this component only ever
|
|
49
|
+
* passes it a (possibly filtered) `spans` array plus a handful of pass-through properties, never
|
|
50
|
+
* building its own row markup. `<lr-trace-tree>` was chosen over `<lr-span-waterfall>` because a
|
|
51
|
+
* trace is fundamentally the hierarchy relationship between spans (which agent called which tool,
|
|
52
|
+
* which handed off to which sub-agent) -- exactly what `parentId`-derived `aria-level` nesting
|
|
53
|
+
* conveys and a flat, `startMs`-ordered timeline does not.
|
|
54
|
+
*
|
|
55
|
+
* This component's own contribution is the multi-domain filter layer on top of that: a filter
|
|
56
|
+
* row composing `<lr-graph-legend>` -- the same abstract type/visibility-toggle legend pattern
|
|
57
|
+
* that component already establishes for `<lr-graph>`'s node types, reused here (it neither
|
|
58
|
+
* reads nor writes an actual graph) for `LyraSpan.kind` visibility instead -- and a handoff
|
|
59
|
+
* quick-jump list composing `<lr-handoff-divider>` for each visible `'agent'`-kind span (an
|
|
60
|
+
* agent invocation is, in trace terms, a handoff of control to that agent). Hidden kinds are
|
|
61
|
+
* simply excluded from the array handed to `<lr-trace-tree>`; a span whose parent got filtered
|
|
62
|
+
* out is promoted to a root by `<lr-trace-tree>`'s own existing orphan handling, never dropped.
|
|
63
|
+
*
|
|
64
|
+
* Selection is controlled end-to-end for deep-linking: `activeSpanId` flows down into
|
|
65
|
+
* `<lr-trace-tree>` verbatim, and both activation paths -- a row click inside the tree, or a
|
|
66
|
+
* handoff quick-jump entry -- update it and fire the identical `lr-span-select` `{ id }` shape, so
|
|
67
|
+
* a host can encode the current span id in a URL and feed it straight back in.
|
|
68
|
+
*
|
|
69
|
+
* @customElement lr-agent-trace
|
|
70
|
+
* @event lr-span-select - `detail: { id }` — a span was activated, from the tree or the handoff list.
|
|
71
|
+
* @event lr-span-toggle - `detail: { id, expanded }` — a tree row was expanded or collapsed.
|
|
72
|
+
* @event lr-visibility-change - `detail: { hiddenTypes }` — the span-kind filter changed; `hiddenTypes` holds `LyraSpan['kind']` values.
|
|
73
|
+
* @csspart base - The root wrapper.
|
|
74
|
+
* @csspart filter - The composed `<lr-graph-legend>` filter row, only rendered while `spans` has at least one span.
|
|
75
|
+
* @csspart handoffs - The handoff quick-jump list wrapper, only rendered while at least one visible span has `kind: 'agent'`.
|
|
76
|
+
* @csspart handoff - One handoff quick-jump entry (a `<button>` wrapping an `<lr-handoff-divider>`); carries `data-active`.
|
|
77
|
+
* @csspart tree - The composed `<lr-trace-tree>`.
|
|
78
|
+
*/
|
|
79
|
+
export class LyraAgentTrace extends LyraElement {
|
|
80
|
+
constructor() {
|
|
81
|
+
super(...arguments);
|
|
82
|
+
/** The full, unfiltered span array -- identical contract to `<lr-trace-tree>.spans`. Controlled
|
|
83
|
+
* and never mutated by this component. */
|
|
84
|
+
this.spans = [];
|
|
85
|
+
/** Controlled selection, forwarded verbatim into the composed `<lr-trace-tree>`. Updated
|
|
86
|
+
* locally (and re-emitted as `lr-span-select`) whenever a span is activated from either the
|
|
87
|
+
* tree or the handoff quick-jump list, so a host can also treat it as a two-way binding. */
|
|
88
|
+
this.activeSpanId = null;
|
|
89
|
+
/** Span kinds currently hidden from the tree. Empty (the default) shows every kind. Controlled
|
|
90
|
+
* -- a host may pre-set this (e.g. to hide `retriever`/`embedding` spans by default) or read it
|
|
91
|
+
* back after `lr-visibility-change`. */
|
|
92
|
+
this.hiddenKinds = [];
|
|
93
|
+
/** Accessible name forwarded to the composed `<lr-trace-tree>`. See its own `label` property. */
|
|
94
|
+
this.label = '';
|
|
95
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
96
|
+
this.showTokens = false;
|
|
97
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
98
|
+
this.showCost = false;
|
|
99
|
+
/** Forwarded verbatim to the composed `<lr-trace-tree>`. */
|
|
100
|
+
this.hideBars = false;
|
|
101
|
+
this.onVisibilityChange = (e) => {
|
|
102
|
+
this.hiddenKinds = e.detail.hiddenTypes;
|
|
103
|
+
};
|
|
104
|
+
/** Keeps `activeSpanId` (and therefore the handoff list's own highlighting) in sync when
|
|
105
|
+
* selection originates inside the composed `<lr-trace-tree>` rather than the handoff quick-jump
|
|
106
|
+
* list. The original event is never stopped here, so it still reaches a host listener on this
|
|
107
|
+
* element unchanged. */
|
|
108
|
+
this.onTreeSpanSelect = (e) => {
|
|
109
|
+
this.activeSpanId = e.detail.id;
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
static { this.styles = [LyraElement.styles, styles]; }
|
|
113
|
+
presentKinds() {
|
|
114
|
+
const present = new Set(this.spans.map((s) => s.kind));
|
|
115
|
+
return KIND_ORDER.filter((k) => present.has(k));
|
|
116
|
+
}
|
|
117
|
+
get filteredSpans() {
|
|
118
|
+
return this.hiddenKinds.length === 0 ? this.spans : this.spans.filter((s) => !this.hiddenKinds.includes(s.kind));
|
|
119
|
+
}
|
|
120
|
+
handoffSpans() {
|
|
121
|
+
return this.filteredSpans.filter((s) => s.kind === 'agent');
|
|
122
|
+
}
|
|
123
|
+
/** The handed-off-from agent's name, resolved against the full (unfiltered) `spans` array so a
|
|
124
|
+
* hidden/filtered-out parent's name still renders -- empty when `parentId` is unset or
|
|
125
|
+
* unresolvable, mirroring `<lr-handoff-divider>`'s own "from is optional" contract. */
|
|
126
|
+
handoffFromAgent(span) {
|
|
127
|
+
if (!span.parentId)
|
|
128
|
+
return '';
|
|
129
|
+
return this.spans.find((s) => s.id === span.parentId)?.name ?? '';
|
|
130
|
+
}
|
|
131
|
+
/** Same computation `<lr-handoff-divider>` performs internally for its own `aria-label`, reused
|
|
132
|
+
* here (not reimplemented with different wording) for this button's accessible name. */
|
|
133
|
+
handoffAccessibleLabel(span, fromAgent) {
|
|
134
|
+
return fromAgent
|
|
135
|
+
? this.localize('handoffFromToAgent', undefined, { from: fromAgent, to: span.name })
|
|
136
|
+
: this.localize('handoffToAgent', undefined, { agent: span.name });
|
|
137
|
+
}
|
|
138
|
+
selectSpan(id) {
|
|
139
|
+
this.activeSpanId = id;
|
|
140
|
+
this.emit('lr-span-select', { id });
|
|
141
|
+
}
|
|
142
|
+
renderFilter() {
|
|
143
|
+
const kinds = this.presentKinds();
|
|
144
|
+
if (kinds.length === 0)
|
|
145
|
+
return nothing;
|
|
146
|
+
const types = kinds.map((k) => ({ id: k, label: this.localize(KIND_LABEL_KEY[k]) }));
|
|
147
|
+
// <lr-graph-legend> keeps its own default accessible name (its localized "Graph legend"
|
|
148
|
+
// string) rather than a component-specific override here -- every visible label a user
|
|
149
|
+
// actually reads (each item's own kind name) is already correct and localized via `types`
|
|
150
|
+
// above; only the outer group's landmark name is generic.
|
|
151
|
+
return html `
|
|
152
|
+
<lr-graph-legend
|
|
153
|
+
part="filter"
|
|
154
|
+
.types=${types}
|
|
155
|
+
.hiddenTypes=${this.hiddenKinds}
|
|
156
|
+
@lr-visibility-change=${this.onVisibilityChange}
|
|
157
|
+
></lr-graph-legend>
|
|
158
|
+
`;
|
|
159
|
+
}
|
|
160
|
+
renderHandoff(span) {
|
|
161
|
+
const fromAgent = this.handoffFromAgent(span);
|
|
162
|
+
const isActive = this.activeSpanId === span.id;
|
|
163
|
+
return html `
|
|
164
|
+
<button
|
|
165
|
+
part="handoff"
|
|
166
|
+
type="button"
|
|
167
|
+
aria-label=${this.handoffAccessibleLabel(span, fromAgent)}
|
|
168
|
+
aria-current=${isActive ? 'true' : nothing}
|
|
169
|
+
?data-active=${isActive}
|
|
170
|
+
@click=${() => this.selectSpan(span.id)}
|
|
171
|
+
>
|
|
172
|
+
<lr-handoff-divider aria-hidden="true" agent=${span.name} from-agent=${fromAgent}></lr-handoff-divider>
|
|
173
|
+
</button>
|
|
174
|
+
`;
|
|
175
|
+
}
|
|
176
|
+
renderHandoffs() {
|
|
177
|
+
const handoffs = this.handoffSpans();
|
|
178
|
+
if (handoffs.length === 0)
|
|
179
|
+
return nothing;
|
|
180
|
+
return html `<div part="handoffs">${handoffs.map((span) => this.renderHandoff(span))}</div>`;
|
|
181
|
+
}
|
|
182
|
+
render() {
|
|
183
|
+
return html `
|
|
184
|
+
<div part="base">
|
|
185
|
+
${this.renderFilter()} ${this.renderHandoffs()}
|
|
186
|
+
<lr-trace-tree
|
|
187
|
+
part="tree"
|
|
188
|
+
.spans=${this.filteredSpans}
|
|
189
|
+
.activeSpanId=${this.activeSpanId}
|
|
190
|
+
.label=${this.label}
|
|
191
|
+
?show-tokens=${this.showTokens}
|
|
192
|
+
?show-cost=${this.showCost}
|
|
193
|
+
?hide-bars=${this.hideBars}
|
|
194
|
+
@lr-span-select=${this.onTreeSpanSelect}
|
|
195
|
+
></lr-trace-tree>
|
|
196
|
+
</div>
|
|
197
|
+
`;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
__decorate([
|
|
201
|
+
property({ attribute: false })
|
|
202
|
+
], LyraAgentTrace.prototype, "spans", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
property({ attribute: 'active-span-id' })
|
|
205
|
+
], LyraAgentTrace.prototype, "activeSpanId", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
property({ attribute: false })
|
|
208
|
+
], LyraAgentTrace.prototype, "hiddenKinds", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
property()
|
|
211
|
+
], LyraAgentTrace.prototype, "label", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
property({ type: Boolean, attribute: 'show-tokens' })
|
|
214
|
+
], LyraAgentTrace.prototype, "showTokens", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
property({ type: Boolean, attribute: 'show-cost' })
|
|
217
|
+
], LyraAgentTrace.prototype, "showCost", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
property({ type: Boolean, attribute: 'hide-bars' })
|
|
220
|
+
], LyraAgentTrace.prototype, "hideBars", void 0);
|
|
221
|
+
//# sourceMappingURL=agent-trace.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-trace.class.js","sourceRoot":"","sources":["../../../src/components/agent-trace/agent-trace.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAuB,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,6FAA6F;AAC7F,6FAA6F;AAC7F,2FAA2F;AAC3F,+FAA+F;AAC/F,4FAA4F;AAC5F,OAAO,6BAA6B,CAAC;AACrC,OAAO,iCAAiC,CAAC;AACzC,OAAO,uCAAuC,CAAC;AAM/C;;;;GAIG;AACH,MAAM,UAAU,GAA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AuC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './agent-trace.class.js';
|
|
2
|
+
import { LyraAgentTrace } from './agent-trace.class.js';
|
|
3
|
+
import { defineElement } from '../../internal/prefix.js';
|
|
4
|
+
import '../trace-tree/trace-tree.js';
|
|
5
|
+
import '../graph-legend/graph-legend.js';
|
|
6
|
+
import '../handoff-divider/handoff-divider.js';
|
|
7
|
+
defineElement('agent-trace', LyraAgentTrace);
|
|
8
|
+
//# sourceMappingURL=agent-trace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-trace.js","sourceRoot":"","sources":["../../../src/components/agent-trace/agent-trace.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,6BAA6B,CAAC;AACrC,OAAO,iCAAiC,CAAC;AACzC,OAAO,uCAAuC,CAAC;AAE/C,aAAa,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-trace.styles.d.ts","sourceRoot":"","sources":["../../../src/components/agent-trace/agent-trace.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA0DlB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
container-type: inline-size;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part='base'] {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: var(--lr-space-m);
|
|
12
|
+
max-inline-size: 100%;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part='filter'] {
|
|
17
|
+
max-inline-size: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[part='handoffs'] {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: var(--lr-space-2xs);
|
|
24
|
+
padding: var(--lr-space-xs);
|
|
25
|
+
border: var(--lr-border-width-thin) solid var(--lr-color-border);
|
|
26
|
+
border-radius: var(--lr-radius-m);
|
|
27
|
+
background: var(--lr-color-surface-raised);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
max-inline-size: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[part='handoff'] {
|
|
33
|
+
display: block;
|
|
34
|
+
inline-size: 100%;
|
|
35
|
+
max-inline-size: 100%;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
padding: 0;
|
|
38
|
+
border: none;
|
|
39
|
+
background: none;
|
|
40
|
+
font: inherit;
|
|
41
|
+
text-align: start;
|
|
42
|
+
color: inherit;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
border-radius: var(--lr-radius-xs);
|
|
45
|
+
}
|
|
46
|
+
[part='handoff']:hover {
|
|
47
|
+
background: color-mix(in srgb, var(--lr-color-text) 8%, transparent);
|
|
48
|
+
}
|
|
49
|
+
[part='handoff']:focus-visible {
|
|
50
|
+
outline: var(--lr-focus-ring-width) solid var(--lr-focus-ring-color);
|
|
51
|
+
outline-offset: var(--lr-focus-ring-offset);
|
|
52
|
+
}
|
|
53
|
+
[part='handoff'][data-active] {
|
|
54
|
+
background: var(--lr-color-brand-quiet);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[part='tree'] {
|
|
58
|
+
max-inline-size: 100%;
|
|
59
|
+
}
|
|
60
|
+
`;
|
|
61
|
+
//# sourceMappingURL=agent-trace.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-trace.styles.js","sourceRoot":"","sources":["../../../src/components/agent-trace/agent-trace.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DxB,CAAC"}
|