@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.
Files changed (432) hide show
  1. package/README.md +53 -2
  2. package/custom-elements.json +59005 -40073
  3. package/dist/ai/index.d.ts +3 -0
  4. package/dist/ai/index.d.ts.map +1 -0
  5. package/dist/ai/index.js +3 -0
  6. package/dist/ai/index.js.map +1 -0
  7. package/dist/ai/types.contract.d.ts +2 -0
  8. package/dist/ai/types.contract.d.ts.map +1 -0
  9. package/dist/ai/types.contract.js +139 -0
  10. package/dist/ai/types.contract.js.map +1 -0
  11. package/dist/ai/types.d.ts +201 -0
  12. package/dist/ai/types.d.ts.map +1 -0
  13. package/dist/ai/types.js +2 -0
  14. package/dist/ai/types.js.map +1 -0
  15. package/dist/components/agent-run/agent-run.class.d.ts +184 -0
  16. package/dist/components/agent-run/agent-run.class.d.ts.map +1 -0
  17. package/dist/components/agent-run/agent-run.class.js +473 -0
  18. package/dist/components/agent-run/agent-run.class.js.map +1 -0
  19. package/dist/components/agent-run/agent-run.d.ts +2 -0
  20. package/dist/components/agent-run/agent-run.d.ts.map +1 -0
  21. package/dist/components/agent-run/agent-run.js +5 -0
  22. package/dist/components/agent-run/agent-run.js.map +1 -0
  23. package/dist/components/agent-run/agent-run.styles.d.ts +2 -0
  24. package/dist/components/agent-run/agent-run.styles.d.ts.map +1 -0
  25. package/dist/components/agent-run/agent-run.styles.js +159 -0
  26. package/dist/components/agent-run/agent-run.styles.js.map +1 -0
  27. package/dist/components/agent-trace/agent-trace.class.d.ts +111 -0
  28. package/dist/components/agent-trace/agent-trace.class.d.ts.map +1 -0
  29. package/dist/components/agent-trace/agent-trace.class.js +221 -0
  30. package/dist/components/agent-trace/agent-trace.class.js.map +1 -0
  31. package/dist/components/agent-trace/agent-trace.d.ts +5 -0
  32. package/dist/components/agent-trace/agent-trace.d.ts.map +1 -0
  33. package/dist/components/agent-trace/agent-trace.js +8 -0
  34. package/dist/components/agent-trace/agent-trace.js.map +1 -0
  35. package/dist/components/agent-trace/agent-trace.styles.d.ts +2 -0
  36. package/dist/components/agent-trace/agent-trace.styles.d.ts.map +1 -0
  37. package/dist/components/agent-trace/agent-trace.styles.js +61 -0
  38. package/dist/components/agent-trace/agent-trace.styles.js.map +1 -0
  39. package/dist/components/agent-workspace/agent-workspace.class.d.ts +146 -0
  40. package/dist/components/agent-workspace/agent-workspace.class.d.ts.map +1 -0
  41. package/dist/components/agent-workspace/agent-workspace.class.js +332 -0
  42. package/dist/components/agent-workspace/agent-workspace.class.js.map +1 -0
  43. package/dist/components/agent-workspace/agent-workspace.d.ts +2 -0
  44. package/dist/components/agent-workspace/agent-workspace.d.ts.map +1 -0
  45. package/dist/components/agent-workspace/agent-workspace.js +5 -0
  46. package/dist/components/agent-workspace/agent-workspace.js.map +1 -0
  47. package/dist/components/agent-workspace/agent-workspace.styles.d.ts +2 -0
  48. package/dist/components/agent-workspace/agent-workspace.styles.d.ts.map +1 -0
  49. package/dist/components/agent-workspace/agent-workspace.styles.js +134 -0
  50. package/dist/components/agent-workspace/agent-workspace.styles.js.map +1 -0
  51. package/dist/components/app-rail/app-rail.styles.d.ts.map +1 -1
  52. package/dist/components/app-rail/app-rail.styles.js +4 -0
  53. package/dist/components/app-rail/app-rail.styles.js.map +1 -1
  54. package/dist/components/avatar/avatar.class.d.ts +3 -3
  55. package/dist/components/avatar/avatar.class.d.ts.map +1 -1
  56. package/dist/components/avatar/avatar.class.js +8 -10
  57. package/dist/components/avatar/avatar.class.js.map +1 -1
  58. package/dist/components/chart/chart.class.d.ts +1 -0
  59. package/dist/components/chart/chart.class.d.ts.map +1 -1
  60. package/dist/components/chart/chart.class.js +9 -3
  61. package/dist/components/chart/chart.class.js.map +1 -1
  62. package/dist/components/chat-message/chat-message.class.d.ts +45 -4
  63. package/dist/components/chat-message/chat-message.class.d.ts.map +1 -1
  64. package/dist/components/chat-message/chat-message.class.js +98 -8
  65. package/dist/components/chat-message/chat-message.class.js.map +1 -1
  66. package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -1
  67. package/dist/components/chat-message/chat-message.styles.js +14 -0
  68. package/dist/components/chat-message/chat-message.styles.js.map +1 -1
  69. package/dist/components/context-inspector/context-inspector.class.d.ts +114 -0
  70. package/dist/components/context-inspector/context-inspector.class.d.ts.map +1 -0
  71. package/dist/components/context-inspector/context-inspector.class.js +222 -0
  72. package/dist/components/context-inspector/context-inspector.class.js.map +1 -0
  73. package/dist/components/context-inspector/context-inspector.d.ts +7 -0
  74. package/dist/components/context-inspector/context-inspector.d.ts.map +1 -0
  75. package/dist/components/context-inspector/context-inspector.js +10 -0
  76. package/dist/components/context-inspector/context-inspector.js.map +1 -0
  77. package/dist/components/context-inspector/context-inspector.styles.d.ts +2 -0
  78. package/dist/components/context-inspector/context-inspector.styles.d.ts.map +1 -0
  79. package/dist/components/context-inspector/context-inspector.styles.js +98 -0
  80. package/dist/components/context-inspector/context-inspector.styles.js.map +1 -0
  81. package/dist/components/conversation-item/conversation-item.class.d.ts +8 -0
  82. package/dist/components/conversation-item/conversation-item.class.d.ts.map +1 -1
  83. package/dist/components/conversation-item/conversation-item.class.js +50 -22
  84. package/dist/components/conversation-item/conversation-item.class.js.map +1 -1
  85. package/dist/components/conversation-item/conversation-item.styles.d.ts.map +1 -1
  86. package/dist/components/conversation-item/conversation-item.styles.js +11 -0
  87. package/dist/components/conversation-item/conversation-item.styles.js.map +1 -1
  88. package/dist/components/csv-viewer/csv-viewer.styles.d.ts.map +1 -1
  89. package/dist/components/csv-viewer/csv-viewer.styles.js +8 -2
  90. package/dist/components/csv-viewer/csv-viewer.styles.js.map +1 -1
  91. package/dist/components/dashboard-grid/dashboard-grid.class.d.ts +162 -0
  92. package/dist/components/dashboard-grid/dashboard-grid.class.d.ts.map +1 -0
  93. package/dist/components/dashboard-grid/dashboard-grid.class.js +569 -0
  94. package/dist/components/dashboard-grid/dashboard-grid.class.js.map +1 -0
  95. package/dist/components/dashboard-grid/dashboard-grid.d.ts +6 -0
  96. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -0
  97. package/dist/components/dashboard-grid/dashboard-grid.js +9 -0
  98. package/dist/components/dashboard-grid/dashboard-grid.js.map +1 -0
  99. package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts +2 -0
  100. package/dist/components/dashboard-grid/dashboard-grid.styles.d.ts.map +1 -0
  101. package/dist/components/dashboard-grid/dashboard-grid.styles.js +86 -0
  102. package/dist/components/dashboard-grid/dashboard-grid.styles.js.map +1 -0
  103. package/dist/components/dashboard-grid/layout.d.ts +103 -0
  104. package/dist/components/dashboard-grid/layout.d.ts.map +1 -0
  105. package/dist/components/dashboard-grid/layout.js +94 -0
  106. package/dist/components/dashboard-grid/layout.js.map +1 -0
  107. package/dist/components/date-picker/date-input.class.d.ts +8 -0
  108. package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
  109. package/dist/components/date-picker/date-input.class.js +10 -0
  110. package/dist/components/date-picker/date-input.class.js.map +1 -1
  111. package/dist/components/date-picker/date-input.styles.d.ts.map +1 -1
  112. package/dist/components/date-picker/date-input.styles.js +39 -2
  113. package/dist/components/date-picker/date-input.styles.js.map +1 -1
  114. package/dist/components/diff-view/diff-view.class.d.ts +20 -2
  115. package/dist/components/diff-view/diff-view.class.d.ts.map +1 -1
  116. package/dist/components/diff-view/diff-view.class.js +107 -13
  117. package/dist/components/diff-view/diff-view.class.js.map +1 -1
  118. package/dist/components/diff-view/diff-view.styles.d.ts.map +1 -1
  119. package/dist/components/diff-view/diff-view.styles.js +5 -0
  120. package/dist/components/diff-view/diff-view.styles.js.map +1 -1
  121. package/dist/components/document-compare/document-compare.class.d.ts +131 -0
  122. package/dist/components/document-compare/document-compare.class.d.ts.map +1 -0
  123. package/dist/components/document-compare/document-compare.class.js +214 -0
  124. package/dist/components/document-compare/document-compare.class.js.map +1 -0
  125. package/dist/components/document-compare/document-compare.d.ts +2 -0
  126. package/dist/components/document-compare/document-compare.d.ts.map +1 -0
  127. package/dist/components/document-compare/document-compare.js +5 -0
  128. package/dist/components/document-compare/document-compare.js.map +1 -0
  129. package/dist/components/document-compare/document-compare.styles.d.ts +2 -0
  130. package/dist/components/document-compare/document-compare.styles.d.ts.map +1 -0
  131. package/dist/components/document-compare/document-compare.styles.js +65 -0
  132. package/dist/components/document-compare/document-compare.styles.js.map +1 -0
  133. package/dist/components/document-library/document-library.class.d.ts +154 -0
  134. package/dist/components/document-library/document-library.class.d.ts.map +1 -0
  135. package/dist/components/document-library/document-library.class.js +399 -0
  136. package/dist/components/document-library/document-library.class.js.map +1 -0
  137. package/dist/components/document-library/document-library.d.ts +9 -0
  138. package/dist/components/document-library/document-library.d.ts.map +1 -0
  139. package/dist/components/document-library/document-library.js +12 -0
  140. package/dist/components/document-library/document-library.js.map +1 -0
  141. package/dist/components/document-library/document-library.styles.d.ts +2 -0
  142. package/dist/components/document-library/document-library.styles.d.ts.map +1 -0
  143. package/dist/components/document-library/document-library.styles.js +77 -0
  144. package/dist/components/document-library/document-library.styles.js.map +1 -0
  145. package/dist/components/drilldown-panel/drilldown-panel.class.d.ts +148 -0
  146. package/dist/components/drilldown-panel/drilldown-panel.class.d.ts.map +1 -0
  147. package/dist/components/drilldown-panel/drilldown-panel.class.js +241 -0
  148. package/dist/components/drilldown-panel/drilldown-panel.class.js.map +1 -0
  149. package/dist/components/drilldown-panel/drilldown-panel.d.ts +9 -0
  150. package/dist/components/drilldown-panel/drilldown-panel.d.ts.map +1 -0
  151. package/dist/components/drilldown-panel/drilldown-panel.js +12 -0
  152. package/dist/components/drilldown-panel/drilldown-panel.js.map +1 -0
  153. package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts +2 -0
  154. package/dist/components/drilldown-panel/drilldown-panel.styles.d.ts.map +1 -0
  155. package/dist/components/drilldown-panel/drilldown-panel.styles.js +49 -0
  156. package/dist/components/drilldown-panel/drilldown-panel.styles.js.map +1 -0
  157. package/dist/components/emoji-picker/emoji-data-loader.d.ts.map +1 -1
  158. package/dist/components/emoji-picker/emoji-data-loader.js +1 -1
  159. package/dist/components/emoji-picker/emoji-data-loader.js.map +1 -1
  160. package/dist/components/emoji-picker/emoji-picker.class.d.ts +18 -1
  161. package/dist/components/emoji-picker/emoji-picker.class.d.ts.map +1 -1
  162. package/dist/components/emoji-picker/emoji-picker.class.js +152 -28
  163. package/dist/components/emoji-picker/emoji-picker.class.js.map +1 -1
  164. package/dist/components/emoji-picker/emoji-picker.styles.d.ts.map +1 -1
  165. package/dist/components/emoji-picker/emoji-picker.styles.js +26 -2
  166. package/dist/components/emoji-picker/emoji-picker.styles.js.map +1 -1
  167. package/dist/components/entity-dossier/entity-dossier.class.d.ts +132 -0
  168. package/dist/components/entity-dossier/entity-dossier.class.d.ts.map +1 -0
  169. package/dist/components/entity-dossier/entity-dossier.class.js +187 -0
  170. package/dist/components/entity-dossier/entity-dossier.class.js.map +1 -0
  171. package/dist/components/entity-dossier/entity-dossier.d.ts +9 -0
  172. package/dist/components/entity-dossier/entity-dossier.d.ts.map +1 -0
  173. package/dist/components/entity-dossier/entity-dossier.js +12 -0
  174. package/dist/components/entity-dossier/entity-dossier.js.map +1 -0
  175. package/dist/components/entity-dossier/entity-dossier.styles.d.ts +2 -0
  176. package/dist/components/entity-dossier/entity-dossier.styles.d.ts.map +1 -0
  177. package/dist/components/entity-dossier/entity-dossier.styles.js +30 -0
  178. package/dist/components/entity-dossier/entity-dossier.styles.js.map +1 -0
  179. package/dist/components/eval-dataset/eval-dataset.class.d.ts +145 -0
  180. package/dist/components/eval-dataset/eval-dataset.class.d.ts.map +1 -0
  181. package/dist/components/eval-dataset/eval-dataset.class.js +307 -0
  182. package/dist/components/eval-dataset/eval-dataset.class.js.map +1 -0
  183. package/dist/components/eval-dataset/eval-dataset.d.ts +7 -0
  184. package/dist/components/eval-dataset/eval-dataset.d.ts.map +1 -0
  185. package/dist/components/eval-dataset/eval-dataset.js +10 -0
  186. package/dist/components/eval-dataset/eval-dataset.js.map +1 -0
  187. package/dist/components/eval-dataset/eval-dataset.styles.d.ts +2 -0
  188. package/dist/components/eval-dataset/eval-dataset.styles.d.ts.map +1 -0
  189. package/dist/components/eval-dataset/eval-dataset.styles.js +76 -0
  190. package/dist/components/eval-dataset/eval-dataset.styles.js.map +1 -0
  191. package/dist/components/eval-result/eval-result.class.d.ts +115 -0
  192. package/dist/components/eval-result/eval-result.class.d.ts.map +1 -0
  193. package/dist/components/eval-result/eval-result.class.js +165 -0
  194. package/dist/components/eval-result/eval-result.class.js.map +1 -0
  195. package/dist/components/eval-result/eval-result.d.ts +5 -0
  196. package/dist/components/eval-result/eval-result.d.ts.map +1 -0
  197. package/dist/components/eval-result/eval-result.js +8 -0
  198. package/dist/components/eval-result/eval-result.js.map +1 -0
  199. package/dist/components/eval-result/eval-result.styles.d.ts +2 -0
  200. package/dist/components/eval-result/eval-result.styles.d.ts.map +1 -0
  201. package/dist/components/eval-result/eval-result.styles.js +47 -0
  202. package/dist/components/eval-result/eval-result.styles.js.map +1 -0
  203. package/dist/components/evaluation-run/evaluation-run.class.d.ts +168 -0
  204. package/dist/components/evaluation-run/evaluation-run.class.d.ts.map +1 -0
  205. package/dist/components/evaluation-run/evaluation-run.class.js +333 -0
  206. package/dist/components/evaluation-run/evaluation-run.class.js.map +1 -0
  207. package/dist/components/evaluation-run/evaluation-run.d.ts +2 -0
  208. package/dist/components/evaluation-run/evaluation-run.d.ts.map +1 -0
  209. package/dist/components/evaluation-run/evaluation-run.js +5 -0
  210. package/dist/components/evaluation-run/evaluation-run.js.map +1 -0
  211. package/dist/components/evaluation-run/evaluation-run.styles.d.ts +2 -0
  212. package/dist/components/evaluation-run/evaluation-run.styles.d.ts.map +1 -0
  213. package/dist/components/evaluation-run/evaluation-run.styles.js +73 -0
  214. package/dist/components/evaluation-run/evaluation-run.styles.js.map +1 -0
  215. package/dist/components/filter-bar/filter-bar.class.d.ts +200 -0
  216. package/dist/components/filter-bar/filter-bar.class.d.ts.map +1 -0
  217. package/dist/components/filter-bar/filter-bar.class.js +322 -0
  218. package/dist/components/filter-bar/filter-bar.class.js.map +1 -0
  219. package/dist/components/filter-bar/filter-bar.d.ts +10 -0
  220. package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
  221. package/dist/components/filter-bar/filter-bar.js +13 -0
  222. package/dist/components/filter-bar/filter-bar.js.map +1 -0
  223. package/dist/components/filter-bar/filter-bar.styles.d.ts +2 -0
  224. package/dist/components/filter-bar/filter-bar.styles.d.ts.map +1 -0
  225. package/dist/components/filter-bar/filter-bar.styles.js +37 -0
  226. package/dist/components/filter-bar/filter-bar.styles.js.map +1 -0
  227. package/dist/components/graph-query-builder/graph-query-builder.class.d.ts +242 -0
  228. package/dist/components/graph-query-builder/graph-query-builder.class.d.ts.map +1 -0
  229. package/dist/components/graph-query-builder/graph-query-builder.class.js +511 -0
  230. package/dist/components/graph-query-builder/graph-query-builder.class.js.map +1 -0
  231. package/dist/components/graph-query-builder/graph-query-builder.d.ts +7 -0
  232. package/dist/components/graph-query-builder/graph-query-builder.d.ts.map +1 -0
  233. package/dist/components/graph-query-builder/graph-query-builder.js +10 -0
  234. package/dist/components/graph-query-builder/graph-query-builder.js.map +1 -0
  235. package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts +2 -0
  236. package/dist/components/graph-query-builder/graph-query-builder.styles.d.ts.map +1 -0
  237. package/dist/components/graph-query-builder/graph-query-builder.styles.js +170 -0
  238. package/dist/components/graph-query-builder/graph-query-builder.styles.js.map +1 -0
  239. package/dist/components/grounding-summary/grounding-summary.class.d.ts +80 -0
  240. package/dist/components/grounding-summary/grounding-summary.class.d.ts.map +1 -0
  241. package/dist/components/grounding-summary/grounding-summary.class.js +182 -0
  242. package/dist/components/grounding-summary/grounding-summary.class.js.map +1 -0
  243. package/dist/components/grounding-summary/grounding-summary.d.ts +5 -0
  244. package/dist/components/grounding-summary/grounding-summary.d.ts.map +1 -0
  245. package/dist/components/grounding-summary/grounding-summary.js +8 -0
  246. package/dist/components/grounding-summary/grounding-summary.js.map +1 -0
  247. package/dist/components/grounding-summary/grounding-summary.styles.d.ts +2 -0
  248. package/dist/components/grounding-summary/grounding-summary.styles.d.ts.map +1 -0
  249. package/dist/components/grounding-summary/grounding-summary.styles.js +88 -0
  250. package/dist/components/grounding-summary/grounding-summary.styles.js.map +1 -0
  251. package/dist/components/heatmap/heatmap.class.d.ts +14 -0
  252. package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
  253. package/dist/components/heatmap/heatmap.class.js +165 -0
  254. package/dist/components/heatmap/heatmap.class.js.map +1 -1
  255. package/dist/components/ingestion-queue/ingestion-queue.class.d.ts +125 -0
  256. package/dist/components/ingestion-queue/ingestion-queue.class.d.ts.map +1 -0
  257. package/dist/components/ingestion-queue/ingestion-queue.class.js +276 -0
  258. package/dist/components/ingestion-queue/ingestion-queue.class.js.map +1 -0
  259. package/dist/components/ingestion-queue/ingestion-queue.d.ts +2 -0
  260. package/dist/components/ingestion-queue/ingestion-queue.d.ts.map +1 -0
  261. package/dist/components/ingestion-queue/ingestion-queue.js +5 -0
  262. package/dist/components/ingestion-queue/ingestion-queue.js.map +1 -0
  263. package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts +2 -0
  264. package/dist/components/ingestion-queue/ingestion-queue.styles.d.ts.map +1 -0
  265. package/dist/components/ingestion-queue/ingestion-queue.styles.js +138 -0
  266. package/dist/components/ingestion-queue/ingestion-queue.styles.js.map +1 -0
  267. package/dist/components/knowledge-base/knowledge-base.class.d.ts +136 -0
  268. package/dist/components/knowledge-base/knowledge-base.class.d.ts.map +1 -0
  269. package/dist/components/knowledge-base/knowledge-base.class.js +360 -0
  270. package/dist/components/knowledge-base/knowledge-base.class.js.map +1 -0
  271. package/dist/components/knowledge-base/knowledge-base.d.ts +7 -0
  272. package/dist/components/knowledge-base/knowledge-base.d.ts.map +1 -0
  273. package/dist/components/knowledge-base/knowledge-base.js +10 -0
  274. package/dist/components/knowledge-base/knowledge-base.js.map +1 -0
  275. package/dist/components/knowledge-base/knowledge-base.styles.d.ts +2 -0
  276. package/dist/components/knowledge-base/knowledge-base.styles.d.ts.map +1 -0
  277. package/dist/components/knowledge-base/knowledge-base.styles.js +94 -0
  278. package/dist/components/knowledge-base/knowledge-base.styles.js.map +1 -0
  279. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +196 -0
  280. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts.map +1 -0
  281. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js +477 -0
  282. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.class.js.map +1 -0
  283. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +11 -0
  284. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.d.ts.map +1 -0
  285. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js +14 -0
  286. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.js.map +1 -0
  287. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts +2 -0
  288. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.d.ts.map +1 -0
  289. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +76 -0
  290. package/dist/components/knowledge-graph-explorer/knowledge-graph-explorer.styles.js.map +1 -0
  291. package/dist/components/markdown/markdown-core.class.d.ts +10 -3
  292. package/dist/components/markdown/markdown-core.class.d.ts.map +1 -1
  293. package/dist/components/markdown/markdown-core.class.js +33 -4
  294. package/dist/components/markdown/markdown-core.class.js.map +1 -1
  295. package/dist/components/markdown/markdown.class.d.ts +10 -3
  296. package/dist/components/markdown/markdown.class.d.ts.map +1 -1
  297. package/dist/components/markdown/markdown.class.js +33 -4
  298. package/dist/components/markdown/markdown.class.js.map +1 -1
  299. package/dist/components/memory-panel/memory-panel.class.d.ts +146 -0
  300. package/dist/components/memory-panel/memory-panel.class.d.ts.map +1 -0
  301. package/dist/components/memory-panel/memory-panel.class.js +303 -0
  302. package/dist/components/memory-panel/memory-panel.class.js.map +1 -0
  303. package/dist/components/memory-panel/memory-panel.d.ts +5 -0
  304. package/dist/components/memory-panel/memory-panel.d.ts.map +1 -0
  305. package/dist/components/memory-panel/memory-panel.js +8 -0
  306. package/dist/components/memory-panel/memory-panel.js.map +1 -0
  307. package/dist/components/memory-panel/memory-panel.styles.d.ts +2 -0
  308. package/dist/components/memory-panel/memory-panel.styles.d.ts.map +1 -0
  309. package/dist/components/memory-panel/memory-panel.styles.js +139 -0
  310. package/dist/components/memory-panel/memory-panel.styles.js.map +1 -0
  311. package/dist/components/notebook-viewer/notebook-viewer.class.d.ts +9 -2
  312. package/dist/components/notebook-viewer/notebook-viewer.class.d.ts.map +1 -1
  313. package/dist/components/notebook-viewer/notebook-viewer.class.js +27 -4
  314. package/dist/components/notebook-viewer/notebook-viewer.class.js.map +1 -1
  315. package/dist/components/overlay/popover.class.d.ts +39 -0
  316. package/dist/components/overlay/popover.class.d.ts.map +1 -1
  317. package/dist/components/overlay/popover.class.js +53 -3
  318. package/dist/components/overlay/popover.class.js.map +1 -1
  319. package/dist/components/overlay/tooltip.class.d.ts +43 -0
  320. package/dist/components/overlay/tooltip.class.d.ts.map +1 -1
  321. package/dist/components/overlay/tooltip.class.js +66 -4
  322. package/dist/components/overlay/tooltip.class.js.map +1 -1
  323. package/dist/components/policy-summary/policy-summary.class.d.ts +76 -0
  324. package/dist/components/policy-summary/policy-summary.class.d.ts.map +1 -0
  325. package/dist/components/policy-summary/policy-summary.class.js +125 -0
  326. package/dist/components/policy-summary/policy-summary.class.js.map +1 -0
  327. package/dist/components/policy-summary/policy-summary.d.ts +6 -0
  328. package/dist/components/policy-summary/policy-summary.d.ts.map +1 -0
  329. package/dist/components/policy-summary/policy-summary.js +9 -0
  330. package/dist/components/policy-summary/policy-summary.js.map +1 -0
  331. package/dist/components/policy-summary/policy-summary.styles.d.ts +2 -0
  332. package/dist/components/policy-summary/policy-summary.styles.d.ts.map +1 -0
  333. package/dist/components/policy-summary/policy-summary.styles.js +68 -0
  334. package/dist/components/policy-summary/policy-summary.styles.js.map +1 -0
  335. package/dist/components/query-builder/query-builder.class.d.ts +180 -0
  336. package/dist/components/query-builder/query-builder.class.d.ts.map +1 -0
  337. package/dist/components/query-builder/query-builder.class.js +415 -0
  338. package/dist/components/query-builder/query-builder.class.js.map +1 -0
  339. package/dist/components/query-builder/query-builder.d.ts +9 -0
  340. package/dist/components/query-builder/query-builder.d.ts.map +1 -0
  341. package/dist/components/query-builder/query-builder.js +12 -0
  342. package/dist/components/query-builder/query-builder.js.map +1 -0
  343. package/dist/components/query-builder/query-builder.styles.d.ts +2 -0
  344. package/dist/components/query-builder/query-builder.styles.d.ts.map +1 -0
  345. package/dist/components/query-builder/query-builder.styles.js +77 -0
  346. package/dist/components/query-builder/query-builder.styles.js.map +1 -0
  347. package/dist/components/retrieval-results/retrieval-results.class.d.ts +151 -0
  348. package/dist/components/retrieval-results/retrieval-results.class.d.ts.map +1 -0
  349. package/dist/components/retrieval-results/retrieval-results.class.js +340 -0
  350. package/dist/components/retrieval-results/retrieval-results.class.js.map +1 -0
  351. package/dist/components/retrieval-results/retrieval-results.d.ts +7 -0
  352. package/dist/components/retrieval-results/retrieval-results.d.ts.map +1 -0
  353. package/dist/components/retrieval-results/retrieval-results.js +10 -0
  354. package/dist/components/retrieval-results/retrieval-results.js.map +1 -0
  355. package/dist/components/retrieval-results/retrieval-results.styles.d.ts +2 -0
  356. package/dist/components/retrieval-results/retrieval-results.styles.d.ts.map +1 -0
  357. package/dist/components/retrieval-results/retrieval-results.styles.js +94 -0
  358. package/dist/components/retrieval-results/retrieval-results.styles.js.map +1 -0
  359. package/dist/components/retrieval-search/retrieval-search.class.d.ts +127 -0
  360. package/dist/components/retrieval-search/retrieval-search.class.d.ts.map +1 -0
  361. package/dist/components/retrieval-search/retrieval-search.class.js +267 -0
  362. package/dist/components/retrieval-search/retrieval-search.class.js.map +1 -0
  363. package/dist/components/retrieval-search/retrieval-search.d.ts +8 -0
  364. package/dist/components/retrieval-search/retrieval-search.d.ts.map +1 -0
  365. package/dist/components/retrieval-search/retrieval-search.js +11 -0
  366. package/dist/components/retrieval-search/retrieval-search.js.map +1 -0
  367. package/dist/components/retrieval-search/retrieval-search.styles.d.ts +2 -0
  368. package/dist/components/retrieval-search/retrieval-search.styles.d.ts.map +1 -0
  369. package/dist/components/retrieval-search/retrieval-search.styles.js +75 -0
  370. package/dist/components/retrieval-search/retrieval-search.styles.js.map +1 -0
  371. package/dist/components/retrieval-trace/retrieval-trace.class.d.ts +101 -0
  372. package/dist/components/retrieval-trace/retrieval-trace.class.d.ts.map +1 -0
  373. package/dist/components/retrieval-trace/retrieval-trace.class.js +215 -0
  374. package/dist/components/retrieval-trace/retrieval-trace.class.js.map +1 -0
  375. package/dist/components/retrieval-trace/retrieval-trace.d.ts +4 -0
  376. package/dist/components/retrieval-trace/retrieval-trace.d.ts.map +1 -0
  377. package/dist/components/retrieval-trace/retrieval-trace.js +7 -0
  378. package/dist/components/retrieval-trace/retrieval-trace.js.map +1 -0
  379. package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts +2 -0
  380. package/dist/components/retrieval-trace/retrieval-trace.styles.d.ts.map +1 -0
  381. package/dist/components/retrieval-trace/retrieval-trace.styles.js +116 -0
  382. package/dist/components/retrieval-trace/retrieval-trace.styles.js.map +1 -0
  383. package/dist/components/rubric-form/rubric-form.class.d.ts.map +1 -1
  384. package/dist/components/rubric-form/rubric-form.class.js +1 -0
  385. package/dist/components/rubric-form/rubric-form.class.js.map +1 -1
  386. package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.d.ts.map +1 -1
  387. package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.js +8 -2
  388. package/dist/components/spreadsheet-viewer/spreadsheet-viewer.styles.js.map +1 -1
  389. package/dist/components/thread-list/thread-list.class.d.ts +38 -2
  390. package/dist/components/thread-list/thread-list.class.d.ts.map +1 -1
  391. package/dist/components/thread-list/thread-list.class.js +41 -6
  392. package/dist/components/thread-list/thread-list.class.js.map +1 -1
  393. package/dist/components/tool-timeline/tool-timeline.class.d.ts +140 -0
  394. package/dist/components/tool-timeline/tool-timeline.class.d.ts.map +1 -0
  395. package/dist/components/tool-timeline/tool-timeline.class.js +293 -0
  396. package/dist/components/tool-timeline/tool-timeline.class.js.map +1 -0
  397. package/dist/components/tool-timeline/tool-timeline.d.ts +2 -0
  398. package/dist/components/tool-timeline/tool-timeline.d.ts.map +1 -0
  399. package/dist/components/tool-timeline/tool-timeline.js +5 -0
  400. package/dist/components/tool-timeline/tool-timeline.js.map +1 -0
  401. package/dist/components/tool-timeline/tool-timeline.styles.d.ts +2 -0
  402. package/dist/components/tool-timeline/tool-timeline.styles.d.ts.map +1 -0
  403. package/dist/components/tool-timeline/tool-timeline.styles.js +148 -0
  404. package/dist/components/tool-timeline/tool-timeline.styles.js.map +1 -0
  405. package/dist/components/trace-tree/trace-tree.class.d.ts.map +1 -1
  406. package/dist/components/trace-tree/trace-tree.class.js +3 -1
  407. package/dist/components/trace-tree/trace-tree.class.js.map +1 -1
  408. package/dist/internal/localization.d.ts +1 -1
  409. package/dist/internal/localization.d.ts.map +1 -1
  410. package/dist/internal/localization.js +238 -0
  411. package/dist/internal/localization.js.map +1 -1
  412. package/dist/internal/positioner.d.ts +28 -1
  413. package/dist/internal/positioner.d.ts.map +1 -1
  414. package/dist/internal/positioner.js +12 -1
  415. package/dist/internal/positioner.js.map +1 -1
  416. package/dist/internal/root-registration-allowlist.d.ts +2 -2
  417. package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
  418. package/dist/internal/root-registration-allowlist.js +25 -0
  419. package/dist/internal/root-registration-allowlist.js.map +1 -1
  420. package/dist/internal/tokens.styles.d.ts.map +1 -1
  421. package/dist/internal/tokens.styles.js +2 -0
  422. package/dist/internal/tokens.styles.js.map +1 -1
  423. package/dist/lyra.d.ts +51 -1
  424. package/dist/lyra.d.ts.map +1 -1
  425. package/dist/lyra.js +49 -0
  426. package/dist/lyra.js.map +1 -1
  427. package/llms-full.txt +519 -15
  428. package/llms.txt +7 -0
  429. package/package.json +53 -1
  430. package/vscode-css-data.json +21 -0
  431. package/vscode-html-data.json +1205 -14
  432. package/web-types.json +1297 -60
@@ -0,0 +1,165 @@
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 './eval-result.styles.js';
11
+ import '../rubric-form/rubric-form.class.js';
12
+ import '../data-grid/data-grid.class.js';
13
+ import '../diff-view/diff-view.class.js';
14
+ const EMPTY_RUNS = [];
15
+ const EMPTY_COLUMNS = [];
16
+ const EMPTY_KEYS = [];
17
+ const EMPTY_VALUE = {};
18
+ /**
19
+ * `<lr-eval-result>` — rubric scoring, human review, and comparison across a single evaluation
20
+ * example's runs (one per model or prompt version), LangSmith/Arize-eval-result style.
21
+ *
22
+ * Composes three existing primitives directly rather than re-deriving any of their behavior:
23
+ * `<lr-data-grid>` renders the `runs` comparison table (`columns` is a plain pass-through to its
24
+ * own `DataGridColumn[]` shape, the same way `rubricKeys` is a pass-through to
25
+ * `<lr-rubric-form>`'s own `keys` -- neither is re-derived here); `<lr-rubric-form>` is the
26
+ * human-review scoring surface for whichever run is currently selected, reading/writing that
27
+ * run's own `review` value and re-emitting its `lr-input`/`lr-validity-change`/`lr-submit`/
28
+ * `lr-skip` events with the run id attached; `<lr-diff-view>` compares the selected run's output
29
+ * against `baselineRunId`'s output -- `layout="split"` once they resolve to two distinct runs,
30
+ * `layout="unified"` (an all-equal diff, i.e. a plain read of the one run's output) once they
31
+ * resolve to the same run or no baseline resolves at all -- so there is no separate un-diffed
32
+ * "just show the output" code path to keep in sync with the comparison one.
33
+ *
34
+ * `selectedRunId`/`baselineRunId` are both fully controlled: this component never mutates either
35
+ * property itself. Each one falls back to `runs[0]?.id` purely for *rendering* whenever the
36
+ * property is unset, so the component renders something useful with zero configuration beyond
37
+ * `runs` -- but moving the selection for real requires the host to set `selectedRunId` in
38
+ * response to `lr-run-select`, the same shape `<lr-rubric-form>`'s own `itemId` already uses. A
39
+ * `selectedRunId`/`baselineRunId` that doesn't match any entry in `runs` degrades gracefully: the
40
+ * comparison grid still renders, and the review/diff sections simply don't (no error, no crash).
41
+ *
42
+ * @customElement lr-eval-result
43
+ * @event lr-run-select - A comparison-grid row was activated. `detail: { runId }`.
44
+ * @event lr-review-input - The selected run's rubric value changed. `detail: { runId, value }`.
45
+ * @event lr-review-validity-change - The selected run's rubric validity changed. `detail: { runId, valid, errors }`.
46
+ * @event lr-review-submit - The selected run's rubric form was submitted. `detail: { runId, value }`.
47
+ * @event lr-review-skip - The selected run's rubric form was skipped (`reviewSkippable` only). `detail: { runId }`.
48
+ * @csspart base - The outer wrapper.
49
+ * @csspart empty - The message shown when `runs` has no entries.
50
+ * @csspart grid - The `<lr-data-grid>` comparison table.
51
+ * @csspart review - The `<lr-rubric-form>` scoring the selected run.
52
+ * @csspart diff - The wrapper around the diff caption and `<lr-diff-view>`.
53
+ * @csspart diff-labels - The caption row naming the two compared runs (only rendered while comparing two distinct runs).
54
+ * @csspart diff-label-old - The baseline run's caption.
55
+ * @csspart diff-label-new - The selected run's caption.
56
+ * @csspart diff-view - The `<lr-diff-view>` comparing the baseline and selected runs' output.
57
+ */
58
+ export class LyraEvalResult extends LyraElement {
59
+ constructor() {
60
+ super(...arguments);
61
+ /** The runs (one per model or prompt version) being compared for this evaluation example. */
62
+ this.runs = EMPTY_RUNS;
63
+ /** Column definitions for the comparison grid -- forwarded verbatim to `<lr-data-grid>`'s own `columns`. */
64
+ this.columns = EMPTY_COLUMNS;
65
+ /** Rubric field definitions for the review form -- forwarded verbatim to `<lr-rubric-form>`'s own `keys`. */
66
+ this.rubricKeys = EMPTY_KEYS;
67
+ /** The run currently open for review, and the diff's "new" side. Falls back to `runs[0]?.id` when unset. */
68
+ this.selectedRunId = '';
69
+ /** The run compared against, and the diff's "old" side. Falls back to `runs[0]?.id` when unset. */
70
+ this.baselineRunId = '';
71
+ /** Shows a Skip control on the review form (forwarded to `<lr-rubric-form>`'s own `skippable`). */
72
+ this.reviewSkippable = false;
73
+ /** Disables the review form's controls. The comparison grid stays interactive (selecting a run to inspect is not a mutation). */
74
+ this.disabled = false;
75
+ }
76
+ static { this.styles = [LyraElement.styles, styles]; }
77
+ get effectiveSelectedRunId() {
78
+ return this.selectedRunId || this.runs[0]?.id || '';
79
+ }
80
+ get selectedRun() {
81
+ const id = this.effectiveSelectedRunId;
82
+ return this.runs.find((run) => run.id === id);
83
+ }
84
+ get effectiveBaselineRunId() {
85
+ return this.baselineRunId || this.runs[0]?.id || '';
86
+ }
87
+ get baselineRun() {
88
+ const id = this.effectiveBaselineRunId;
89
+ return this.runs.find((run) => run.id === id);
90
+ }
91
+ renderReview(selected) {
92
+ return html `<lr-rubric-form
93
+ part="review"
94
+ .keys=${this.rubricKeys}
95
+ .value=${selected.review ?? EMPTY_VALUE}
96
+ item-id=${selected.id}
97
+ ?skippable=${this.reviewSkippable}
98
+ ?disabled=${this.disabled}
99
+ @lr-input=${(e) => this.emit('lr-review-input', { runId: selected.id, value: e.detail.value })}
100
+ @lr-validity-change=${(e) => this.emit('lr-review-validity-change', { runId: selected.id, valid: e.detail.valid, errors: e.detail.errors })}
101
+ @lr-submit=${(e) => this.emit('lr-review-submit', { runId: e.detail.itemId, value: e.detail.value })}
102
+ @lr-skip=${(e) => this.emit('lr-review-skip', { runId: e.detail.itemId })}
103
+ ></lr-rubric-form>`;
104
+ }
105
+ renderDiff(selected, baseline) {
106
+ const comparing = Boolean(baseline && baseline.id !== selected.id);
107
+ return html `<div part="diff">
108
+ ${comparing
109
+ ? html `<div part="diff-labels">
110
+ <span part="diff-label-old">${baseline.label}</span>
111
+ <span part="diff-label-new">${selected.label}</span>
112
+ </div>`
113
+ : nothing}
114
+ <lr-diff-view
115
+ part="diff-view"
116
+ layout=${comparing ? 'split' : 'unified'}
117
+ .oldText=${baseline?.output ?? selected.output}
118
+ .newText=${selected.output}
119
+ ></lr-diff-view>
120
+ </div>`;
121
+ }
122
+ render() {
123
+ if (this.runs.length === 0) {
124
+ return html `<div part="base"><p part="empty">${this.localize('noData')}</p></div>`;
125
+ }
126
+ const selected = this.selectedRun;
127
+ return html `
128
+ <div part="base">
129
+ <lr-data-grid
130
+ part="grid"
131
+ .columns=${this.columns}
132
+ .rows=${this.runs}
133
+ .rowKey=${(row) => row.id}
134
+ .selectedKey=${this.effectiveSelectedRunId}
135
+ aria-label=${this.getAttribute('aria-label') || nothing}
136
+ @lr-row-click=${(e) => this.emit('lr-run-select', { runId: e.detail.row.id })}
137
+ ></lr-data-grid>
138
+ ${selected ? this.renderReview(selected) : nothing}
139
+ ${selected ? this.renderDiff(selected, this.baselineRun) : nothing}
140
+ </div>
141
+ `;
142
+ }
143
+ }
144
+ __decorate([
145
+ property({ attribute: false })
146
+ ], LyraEvalResult.prototype, "runs", void 0);
147
+ __decorate([
148
+ property({ attribute: false })
149
+ ], LyraEvalResult.prototype, "columns", void 0);
150
+ __decorate([
151
+ property({ attribute: false })
152
+ ], LyraEvalResult.prototype, "rubricKeys", void 0);
153
+ __decorate([
154
+ property({ attribute: 'selected-run-id' })
155
+ ], LyraEvalResult.prototype, "selectedRunId", void 0);
156
+ __decorate([
157
+ property({ attribute: 'baseline-run-id' })
158
+ ], LyraEvalResult.prototype, "baselineRunId", void 0);
159
+ __decorate([
160
+ property({ type: Boolean, attribute: 'review-skippable' })
161
+ ], LyraEvalResult.prototype, "reviewSkippable", void 0);
162
+ __decorate([
163
+ property({ type: Boolean, reflect: true })
164
+ ], LyraEvalResult.prototype, "disabled", void 0);
165
+ //# sourceMappingURL=eval-result.class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-result.class.js","sourceRoot":"","sources":["../../../src/components/eval-result/eval-result.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;AAGjD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,iCAAiC,CAAC;AAEzC,MAAM,UAAU,GAAoB,EAAE,CAAC;AACvC,MAAM,aAAa,GAAoC,EAAE,CAAC;AAC1D,MAAM,UAAU,GAAgB,EAAE,CAAC;AACnC,MAAM,WAAW,GAAgB,EAAE,CAAC;AA4BpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAmC;IAAvE;;QAGE,6FAA6F;QAC7D,SAAI,GAAoB,UAAU,CAAC;QAEnE,4GAA4G;QAC5E,YAAO,GAAoC,aAAa,CAAC;QAEzF,6GAA6G;QAC7E,eAAU,GAAgB,UAAU,CAAC;QAErE,4GAA4G;QAChE,kBAAa,GAAG,EAAE,CAAC;QAE/D,mGAAmG;QACvD,kBAAa,GAAG,EAAE,CAAC;QAE/D,mGAAmG;QACvC,oBAAe,GAAG,KAAK,CAAC;QAEpF,iIAAiI;QACrF,aAAQ,GAAG,KAAK,CAAC;IA6E/D,CAAC;aAlGQ,WAAM,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,AAA/B,CAAgC;IAuB7C,IAAY,sBAAsB;QAChC,OAAO,I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;0BACvC,CAAC,CAAsC,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;;UAElH,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO;UAChD,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO;;KAErE,CAAC;IACJ,CAAC;CACF;AA/FiC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;4CAAoC;AAGnC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;+CAA0D;AAGzD;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;kDAAsC;AAGzB;IAA3C,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;qDAAoB;AAGnB;IAA3C,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;qDAAoB;AAGH;IAA3D,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;uDAAyB;AAGxC;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAAkB"}
@@ -0,0 +1,5 @@
1
+ export * from './eval-result.class.js';
2
+ import '../rubric-form/rubric-form.js';
3
+ import '../data-grid/data-grid.js';
4
+ import '../diff-view/diff-view.js';
5
+ //# sourceMappingURL=eval-result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-result.d.ts","sourceRoot":"","sources":["../../../src/components/eval-result/eval-result.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AAGvC,OAAO,+BAA+B,CAAC;AACvC,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from './eval-result.class.js';
2
+ import { LyraEvalResult } from './eval-result.class.js';
3
+ import { defineElement } from '../../internal/prefix.js';
4
+ import '../rubric-form/rubric-form.js';
5
+ import '../data-grid/data-grid.js';
6
+ import '../diff-view/diff-view.js';
7
+ defineElement('eval-result', LyraEvalResult);
8
+ //# sourceMappingURL=eval-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-result.js","sourceRoot":"","sources":["../../../src/components/eval-result/eval-result.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,+BAA+B,CAAC;AACvC,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AAEnC,aAAa,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult;
2
+ //# sourceMappingURL=eval-result.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-result.styles.d.ts","sourceRoot":"","sources":["../../../src/components/eval-result/eval-result.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA4ClB,CAAC"}
@@ -0,0 +1,47 @@
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-l);
12
+ min-inline-size: 0;
13
+ color: var(--lr-color-text);
14
+ }
15
+
16
+ [part='empty'] {
17
+ margin: 0;
18
+ color: var(--lr-color-text-quiet);
19
+ font-size: var(--lr-font-size-sm);
20
+ }
21
+
22
+ [part='grid'],
23
+ [part='review'],
24
+ [part='diff'],
25
+ [part='diff-view'] {
26
+ min-inline-size: 0;
27
+ }
28
+
29
+ [part='diff'] {
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: var(--lr-space-2xs);
33
+ }
34
+
35
+ [part='diff-labels'] {
36
+ display: flex;
37
+ justify-content: space-between;
38
+ flex-wrap: wrap;
39
+ gap: var(--lr-space-s);
40
+ font-weight: var(--lr-font-weight-semibold);
41
+ font-size: var(--lr-font-size-xs);
42
+ color: var(--lr-color-text-quiet);
43
+ text-transform: uppercase;
44
+ letter-spacing: var(--lr-size-0-02em);
45
+ }
46
+ `;
47
+ //# sourceMappingURL=eval-result.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eval-result.styles.js","sourceRoot":"","sources":["../../../src/components/eval-result/eval-result.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxB,CAAC"}
@@ -0,0 +1,168 @@
1
+ import { type TemplateResult, type PropertyValues } from 'lit';
2
+ import { LyraElement } from '../../internal/lyra-element.js';
3
+ import type { AgentStatus, Citation, GroundingAssessment } from '../../ai/types.js';
4
+ import type { ToolTimelineEntry, ToolTimelineApprovalDetail } from '../tool-timeline/tool-timeline.class.js';
5
+ import '../live-region/live-region.js';
6
+ import '../progress/progress-bar.js';
7
+ import '../empty/empty.js';
8
+ import '../details/details.js';
9
+ import '../badge/badge.js';
10
+ import '../markdown/markdown.js';
11
+ import '../code-block/code-block.js';
12
+ import '../grounding-summary/grounding-summary.js';
13
+ import '../tool-timeline/tool-timeline.js';
14
+ /** How an example's `input`/`output` text is rendered -- `'markdown'` (the default) through
15
+ * `<lr-markdown>`, `'code'` through `<lr-code-block>` (consulting the matching `*Language`
16
+ * property for shiki highlighting). */
17
+ export type EvaluationContentFormat = 'markdown' | 'code';
18
+ /**
19
+ * One example's result within an evaluation batch. `status` reuses the shared `AgentStatus`
20
+ * contract from `src/ai/types.ts` -- the same run-lifecycle vocabulary an agent step already
21
+ * uses -- rather than inventing a parallel pass/fail enum; rubric-driven scoring (did the output
22
+ * actually pass) is a separate concern owned by the sibling result-review component, not this
23
+ * one's batch-progress/trace-display job. `grounding`/`citations` compose directly into
24
+ * `<lr-grounding-summary>` (`assessment`/`citations`) and `toolTrace` directly into
25
+ * `<lr-tool-timeline>` (`entries`) with no adapters -- this component owns no grounding-scoring or
26
+ * tool-call rendering logic of its own.
27
+ */
28
+ export interface EvaluationExampleResult {
29
+ id: string;
30
+ /** Falls back to a localized "Example {index}" (1-based, in array order) when unset. */
31
+ label?: string;
32
+ status: AgentStatus;
33
+ input: string;
34
+ /** `'markdown'` (the default, when unset) renders via `<lr-markdown>`. */
35
+ inputFormat?: EvaluationContentFormat;
36
+ /** A shiki-recognized language id, consulted only when `inputFormat` is `'code'`. */
37
+ inputLanguage?: string;
38
+ output: string;
39
+ outputFormat?: EvaluationContentFormat;
40
+ outputLanguage?: string;
41
+ /** This example's grounding/citation-support assessment, when the run computed one. Omitted
42
+ * entirely means no grounding section renders for this example. */
43
+ grounding?: GroundingAssessment;
44
+ /** Evidence citations backing `grounding`, forwarded verbatim to `<lr-grounding-summary>`'s own
45
+ * `citations`. Only consulted while `grounding` is also set. */
46
+ citations?: Citation[];
47
+ /** This example's own tool-call trace. Omitted or empty means no tool-trace section renders for
48
+ * this example. */
49
+ toolTrace?: ToolTimelineEntry[];
50
+ }
51
+ /** `detail` for `lr-example-toggle`. */
52
+ export interface EvaluationExampleToggleDetail {
53
+ id: string;
54
+ expanded: boolean;
55
+ }
56
+ /** `detail` for `lr-example-citation-select` -- the nested per-example `<lr-grounding-summary>`'s
57
+ * own `lr-citation-select` detail (`{ citation }`), correlated with the example it came from so a
58
+ * host doesn't need to walk the DOM to find out which example's evidence was activated. */
59
+ export interface EvaluationCitationSelectDetail {
60
+ exampleId: string;
61
+ citation: Citation;
62
+ }
63
+ /** `detail` for `lr-example-tool-approval-decide` -- the nested per-example `<lr-tool-timeline>`'s
64
+ * own `lr-tool-approval-decide` detail (`ToolTimelineApprovalDetail`), correlated with the
65
+ * example it came from. */
66
+ export interface EvaluationToolApprovalDetail extends ToolTimelineApprovalDetail {
67
+ exampleId: string;
68
+ }
69
+ export interface LyraEvaluationRunEventMap {
70
+ 'lr-example-toggle': CustomEvent<EvaluationExampleToggleDetail>;
71
+ 'lr-example-citation-select': CustomEvent<EvaluationCitationSelectDetail>;
72
+ 'lr-example-tool-approval-decide': CustomEvent<EvaluationToolApprovalDetail>;
73
+ }
74
+ /**
75
+ * `<lr-evaluation-run>` — an evaluation batch's live progress: an overall `<lr-progress-bar>`
76
+ * counting terminal (done/error/cancelled) examples against the batch total, plus one
77
+ * `<lr-details>` disclosure per example showing its input/output (`<lr-markdown>` or
78
+ * `<lr-code-block>`, per `inputFormat`/`outputFormat`), a `<lr-grounding-summary>` when the
79
+ * example carries a `GroundingAssessment`, and a `<lr-tool-timeline>` when it carries
80
+ * `toolTrace` entries. Controlled: `examples` mirrors this package's other data-driven
81
+ * components' own convention (a plain prop the host replaces wholesale to update, never mutated
82
+ * in place).
83
+ *
84
+ * Nested-component events that need per-example correlation are intercepted and re-emitted under
85
+ * this component's own name with the originating example's `id` folded into `detail` (matching
86
+ * `<lr-tool-timeline>`'s own precedent of extending a shared `*EventDetail` type from
87
+ * `src/ai/types.ts` rather than inventing a divergent shape) -- a host listening at this
88
+ * component's boundary never needs to walk the DOM to find out which example a nested selection
89
+ * or approval decision came from.
90
+ *
91
+ * @customElement lr-evaluation-run
92
+ * @event lr-example-toggle - An example's disclosure was expanded or collapsed. `detail: { id,
93
+ * expanded }`.
94
+ * @event lr-example-citation-select - An evidence citation in a nested `<lr-grounding-summary>`
95
+ * was activated. `detail: { exampleId, citation }`.
96
+ * @event lr-example-tool-approval-decide - A pending tool call in a nested `<lr-tool-timeline>`
97
+ * was approved or denied. `detail: { exampleId, invocationId, approved, args? }`.
98
+ * @csspart base - The root wrapper.
99
+ * @csspart header - The batch-progress header row.
100
+ * @csspart header-label - The run's label, defaulting to a localized "Evaluation run".
101
+ * @csspart progress - The batch `<lr-progress-bar>`.
102
+ * @csspart summary - The "N of M examples complete" text.
103
+ * @csspart counts - Wrapper around the running/failed count badges.
104
+ * @csspart count - One count badge; carries `data-kind="running"|"error"`.
105
+ * @csspart examples - Wrapper around the per-example `<lr-details>` rows.
106
+ * @csspart example - One example's `<lr-details>` row; carries `data-status` (the example's
107
+ * `status.kind`).
108
+ * @csspart example-summary - The wrapper around an example's label and status badge, in the
109
+ * `<lr-details>` `summary` slot.
110
+ * @csspart example-label - An example's label text.
111
+ * @csspart example-status - An example's status badge.
112
+ * @csspart input-section - Wrapper around an example's input heading + rendered content.
113
+ * @csspart output-section - Wrapper around an example's output heading + rendered content.
114
+ * @csspart grounding-section - Wrapper around an example's `<lr-grounding-summary>`, only
115
+ * rendered when the example carries a `grounding` assessment.
116
+ * @csspart tool-trace-section - Wrapper around an example's `<lr-tool-timeline>`, only rendered
117
+ * when the example carries non-empty `toolTrace` entries.
118
+ * @csspart section-heading - The heading text inside any of the four sections above.
119
+ * @csspart input - The rendered `<lr-markdown>`/`<lr-code-block>` for an example's input.
120
+ * @csspart output - The rendered `<lr-markdown>`/`<lr-code-block>` for an example's output.
121
+ * @csspart grounding-summary - The nested `<lr-grounding-summary>` for an example's grounding
122
+ * assessment.
123
+ * @csspart tool-trace - The nested `<lr-tool-timeline>` for an example's tool calls.
124
+ * @csspart empty - The empty-state message shown when `examples` is empty.
125
+ * @csspart live-region - The internal status-announcement live region.
126
+ */
127
+ export declare class LyraEvaluationRun extends LyraElement<LyraEvaluationRunEventMap> {
128
+ static styles: import("lit").CSSResultGroup[];
129
+ /** The batch's examples so far. Controlled -- never mutated by this component; pass a new array
130
+ * to update it (e.g. as each example finishes, or as the whole batch streams in). */
131
+ examples: EvaluationExampleResult[];
132
+ /** The batch's expected total example count. `null` (the default) derives it from
133
+ * `examples.length` instead -- the common case once every result has already arrived; set this
134
+ * explicitly while a batch is still streaming in and the eventual total is already known ahead
135
+ * of every example actually completing. */
136
+ total: number | null;
137
+ /** Header label and accessible-name source. Falls back to a localized "Evaluation run" when
138
+ * unset. */
139
+ label: string;
140
+ private expandedIds;
141
+ private liveRegion?;
142
+ /** `true` until the first completed update -- gates the status-change announcements below so a
143
+ * freshly-mounted run never announces whatever statuses its very first `examples` happens to
144
+ * carry (mirrors `<lr-task-list>`'s identical `isMounting` gate). */
145
+ private isMounting;
146
+ /** Last-seen `status.kind` per example id, diffed against the incoming `examples` on every
147
+ * update to decide what to announce. */
148
+ private previousStatusById;
149
+ protected updated(changed: PropertyValues): void;
150
+ private statusCounts;
151
+ private exampleLabel;
152
+ private statusLabel;
153
+ private diffAndAnnounce;
154
+ private onExampleToggle;
155
+ private onCitationSelect;
156
+ private onToolApprovalDecide;
157
+ private renderContent;
158
+ private renderGrounding;
159
+ private renderToolTrace;
160
+ private renderExample;
161
+ render(): TemplateResult;
162
+ }
163
+ declare global {
164
+ interface HTMLElementTagNameMap {
165
+ 'lr-evaluation-run': LyraEvaluationRun;
166
+ }
167
+ }
168
+ //# sourceMappingURL=evaluation-run.class.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluation-run.class.d.ts","sourceRoot":"","sources":["../../../src/components/evaluation-run/evaluation-run.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAmB,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAKrG,OAAO,KAAK,EAAE,iBAAiB,EAAE,0BAA0B,EAA4B,MAAM,yCAAyC,CAAC;AACvI,OAAO,+BAA+B,CAAC;AACvC,OAAO,6BAA6B,CAAC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