evalution 1.0.5 → 1.0.6

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 (335) hide show
  1. package/LICENSING.md +15 -1
  2. package/README.md +1 -0
  3. package/dist/check-BTg6THHB.d.ts +1925 -0
  4. package/dist/checks/index.d.ts +71 -0
  5. package/dist/checks/index.js +2 -0
  6. package/dist/checks-Cq97JU-h.js +309 -0
  7. package/dist/cli/index.js +5318 -347
  8. package/dist/client/assets/DatasetView-BcYR5beY.css +1 -0
  9. package/dist/client/assets/DatasetView-CyX0mCj8.js +15 -0
  10. package/dist/client/assets/EvalRunView-5IZp_6Ob.js +2 -0
  11. package/dist/client/assets/EvalView-DBTK6rCe.js +1 -0
  12. package/dist/client/assets/abap-BdImnpbu.js +1 -0
  13. package/dist/client/assets/actionscript-3-CoDkCxhg.js +1 -0
  14. package/dist/client/assets/ada-bCR0ucgS.js +1 -0
  15. package/dist/client/assets/andromeeda-C4gqWexZ.js +1 -0
  16. package/dist/client/assets/angular-html-CU67Zn6k.js +1 -0
  17. package/dist/client/assets/angular-ts-BwZT4LLn.js +1 -0
  18. package/dist/client/assets/apache-Pmp26Uib.js +1 -0
  19. package/dist/client/assets/apex-D8_7TLub.js +1 -0
  20. package/dist/client/assets/apl-dKokRX4l.js +1 -0
  21. package/dist/client/assets/applescript-Co6uUVPk.js +1 -0
  22. package/dist/client/assets/ara-BRHolxvo.js +1 -0
  23. package/dist/client/assets/asciidoc-Ve4PFQV2.js +1 -0
  24. package/dist/client/assets/asm-D_Q5rh1f.js +1 -0
  25. package/dist/client/assets/astro-CbQHKStN.js +1 -0
  26. package/dist/client/assets/aurora-x-D-2ljcwZ.js +1 -0
  27. package/dist/client/assets/awk-DMzUqQB5.js +1 -0
  28. package/dist/client/assets/ayu-dark-DYE7WIF3.js +1 -0
  29. package/dist/client/assets/ayu-light-BA47KaF1.js +1 -0
  30. package/dist/client/assets/ayu-mirage-32ctXXKs.js +1 -0
  31. package/dist/client/assets/ballerina-BFfxhgS-.js +1 -0
  32. package/dist/client/assets/bat-BkioyH1T.js +1 -0
  33. package/dist/client/assets/beancount-k_qm7-4y.js +1 -0
  34. package/dist/client/assets/berry-uYugtg8r.js +1 -0
  35. package/dist/client/assets/bibtex-CHM0blh-.js +1 -0
  36. package/dist/client/assets/bicep-Bmn6On1c.js +1 -0
  37. package/dist/client/assets/bird2-DPOp833l.js +1 -0
  38. package/dist/client/assets/blade-D4QpJJKB.js +1 -0
  39. package/dist/client/assets/bsl-BO_Y6i37.js +1 -0
  40. package/dist/client/assets/c-BIGW1oBm.js +1 -0
  41. package/dist/client/assets/c3-eo99z4R2.js +1 -0
  42. package/dist/client/assets/cadence-Bv_4Rxtq.js +1 -0
  43. package/dist/client/assets/cairo-KRGpt6FW.js +1 -0
  44. package/dist/client/assets/catppuccin-frappe-DFWUc33u.js +1 -0
  45. package/dist/client/assets/catppuccin-latte-C9dUb6Cb.js +1 -0
  46. package/dist/client/assets/catppuccin-macchiato-DQyhUUbL.js +1 -0
  47. package/dist/client/assets/catppuccin-mocha-D87Tk5Gz.js +1 -0
  48. package/dist/client/assets/clarity-D53aC0YG.js +1 -0
  49. package/dist/client/assets/clojure-P80f7IUj.js +1 -0
  50. package/dist/client/assets/cmake-D1j8_8rp.js +1 -0
  51. package/dist/client/assets/cobol-nwyudZeR.js +1 -0
  52. package/dist/client/assets/codeowners-Bp6g37R7.js +1 -0
  53. package/dist/client/assets/codeql-DsOJ9woJ.js +1 -0
  54. package/dist/client/assets/coffee-Ch7k5sss.js +1 -0
  55. package/dist/client/assets/common-lisp-Cg-RD9OK.js +1 -0
  56. package/dist/client/assets/coq-DkFqJrB1.js +1 -0
  57. package/dist/client/assets/cpp-CofmeUqb.js +1 -0
  58. package/dist/client/assets/crystal-tKQVLTB8.js +1 -0
  59. package/dist/client/assets/csharp-COcwbKMJ.js +1 -0
  60. package/dist/client/assets/css-DPfMkruS.js +1 -0
  61. package/dist/client/assets/csv-fuZLfV_i.js +1 -0
  62. package/dist/client/assets/cue-D82EKSYY.js +1 -0
  63. package/dist/client/assets/cypher-COkxafJQ.js +1 -0
  64. package/dist/client/assets/d-85-TOEBH.js +1 -0
  65. package/dist/client/assets/dark-plus-C3mMm8J8.js +1 -0
  66. package/dist/client/assets/dart-CF10PKvl.js +1 -0
  67. package/dist/client/assets/data-grid-overlay-editor-CBtkQufd.js +1 -0
  68. package/dist/client/assets/dax-CEL-wOlO.js +1 -0
  69. package/dist/client/assets/desktop-BmXAJ9_W.js +1 -0
  70. package/dist/client/assets/diff-D97Zzqfu.js +1 -0
  71. package/dist/client/assets/docker-BcOcwvcX.js +1 -0
  72. package/dist/client/assets/dotenv-Da5cRb03.js +1 -0
  73. package/dist/client/assets/dracula-BzJJZx-M.js +1 -0
  74. package/dist/client/assets/dracula-soft-BXkSAIEj.js +1 -0
  75. package/dist/client/assets/dream-maker-BtqSS_iP.js +1 -0
  76. package/dist/client/assets/edge-BkV0erSs.js +1 -0
  77. package/dist/client/assets/elixir-CDX3lj18.js +1 -0
  78. package/dist/client/assets/elm-DbKCFpqz.js +1 -0
  79. package/dist/client/assets/emacs-lisp-C9XAeP06.js +1 -0
  80. package/dist/client/assets/erb-B12qg9BL.js +1 -0
  81. package/dist/client/assets/erlang-DsQrWhSR.js +1 -0
  82. package/dist/client/assets/everforest-dark-BgDCqdQA.js +1 -0
  83. package/dist/client/assets/everforest-light-C8M2exoo.js +1 -0
  84. package/dist/client/assets/fennel-BYunw83y.js +1 -0
  85. package/dist/client/assets/fish-BvzEVeQv.js +1 -0
  86. package/dist/client/assets/fluent-C4IJs8-o.js +1 -0
  87. package/dist/client/assets/fortran-fixed-form-CkoXwp7k.js +1 -0
  88. package/dist/client/assets/fortran-free-form-BxgE0vQu.js +1 -0
  89. package/dist/client/assets/fsharp-CXgrBDvD.js +1 -0
  90. package/dist/client/assets/gdresource-BOOCDP_w.js +1 -0
  91. package/dist/client/assets/gdscript-C5YyOfLZ.js +1 -0
  92. package/dist/client/assets/gdshader-DkwncUOv.js +1 -0
  93. package/dist/client/assets/genie-D0YGMca9.js +1 -0
  94. package/dist/client/assets/gherkin-DyxjwDmM.js +1 -0
  95. package/dist/client/assets/git-commit-F4YmCXRG.js +1 -0
  96. package/dist/client/assets/git-rebase-r7XF79zn.js +1 -0
  97. package/dist/client/assets/github-dark-DHJKELXO.js +1 -0
  98. package/dist/client/assets/github-dark-default-Cuk6v7N8.js +1 -0
  99. package/dist/client/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
  100. package/dist/client/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
  101. package/dist/client/assets/github-light-DAi9KRSo.js +1 -0
  102. package/dist/client/assets/github-light-default-D7oLnXFd.js +1 -0
  103. package/dist/client/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
  104. package/dist/client/assets/gleam-BspZqrRM.js +1 -0
  105. package/dist/client/assets/glimmer-js-Rg0-pVw9.js +1 -0
  106. package/dist/client/assets/glimmer-ts-U6CK756n.js +1 -0
  107. package/dist/client/assets/glsl-DplSGwfg.js +1 -0
  108. package/dist/client/assets/gn-n2N0HUVH.js +1 -0
  109. package/dist/client/assets/gnuplot-DdkO51Og.js +1 -0
  110. package/dist/client/assets/go-CxLEBnE3.js +1 -0
  111. package/dist/client/assets/graphql-ChdNCCLP.js +1 -0
  112. package/dist/client/assets/groovy-gcz8RCvz.js +1 -0
  113. package/dist/client/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
  114. package/dist/client/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
  115. package/dist/client/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
  116. package/dist/client/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
  117. package/dist/client/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
  118. package/dist/client/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
  119. package/dist/client/assets/hack-CaT9iCJl.js +1 -0
  120. package/dist/client/assets/haml-B8DHNrY2.js +1 -0
  121. package/dist/client/assets/handlebars-BL8al0AC.js +1 -0
  122. package/dist/client/assets/haskell-Df6bDoY_.js +1 -0
  123. package/dist/client/assets/haxe-CzTSHFRz.js +1 -0
  124. package/dist/client/assets/hcl-BWvSN4gD.js +1 -0
  125. package/dist/client/assets/highlighted-body-KPVGNVTW-DyudWmoO.js +1 -0
  126. package/dist/client/assets/hjson-D5-asLiD.js +1 -0
  127. package/dist/client/assets/hlsl-D3lLCCz7.js +1 -0
  128. package/dist/client/assets/horizon-BUw7H-hv.js +1 -0
  129. package/dist/client/assets/horizon-bright-Cn-bp-IR.js +1 -0
  130. package/dist/client/assets/houston-DnULxvSX.js +1 -0
  131. package/dist/client/assets/html-GMplVEZG.js +1 -0
  132. package/dist/client/assets/html-derivative-BFtXZ54Q.js +1 -0
  133. package/dist/client/assets/http-jrhK8wxY.js +1 -0
  134. package/dist/client/assets/hurl-irOxFIW8.js +1 -0
  135. package/dist/client/assets/hxml-Bvhsp5Yf.js +1 -0
  136. package/dist/client/assets/hy-DFXneXwc.js +1 -0
  137. package/dist/client/assets/imba-DGztddWO.js +1 -0
  138. package/dist/client/assets/index-B7OFMd2c.css +32 -0
  139. package/dist/client/assets/index-aypgoZcG.js +701 -0
  140. package/dist/client/assets/ini-BEwlwnbL.js +1 -0
  141. package/dist/client/assets/java-CylS5w8V.js +1 -0
  142. package/dist/client/assets/javascript-wDzz0qaB.js +1 -0
  143. package/dist/client/assets/jinja-4LBKfQ-Z.js +1 -0
  144. package/dist/client/assets/jison-wvAkD_A8.js +1 -0
  145. package/dist/client/assets/json-Cp-IABpG.js +1 -0
  146. package/dist/client/assets/json5-C9tS-k6U.js +1 -0
  147. package/dist/client/assets/jsonc-Des-eS-w.js +1 -0
  148. package/dist/client/assets/jsonl-DcaNXYhu.js +1 -0
  149. package/dist/client/assets/jsonnet-DFQXde-d.js +1 -0
  150. package/dist/client/assets/jssm-C2t-YnRu.js +1 -0
  151. package/dist/client/assets/jsx-g9-lgVsj.js +1 -0
  152. package/dist/client/assets/julia-CxzCAyBv.js +1 -0
  153. package/dist/client/assets/just-Cw27pwNe.js +1 -0
  154. package/dist/client/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
  155. package/dist/client/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
  156. package/dist/client/assets/kanagawa-wave-DWedfzmr.js +1 -0
  157. package/dist/client/assets/kdl-DV7GczEv.js +1 -0
  158. package/dist/client/assets/kotlin-BdnUsdx6.js +1 -0
  159. package/dist/client/assets/kusto-DZf3V79B.js +1 -0
  160. package/dist/client/assets/laserwave-DUszq2jm.js +1 -0
  161. package/dist/client/assets/latex-CWtU0Tv5.js +1 -0
  162. package/dist/client/assets/lean-BZvkOJ9d.js +1 -0
  163. package/dist/client/assets/less-B1dDrJ26.js +1 -0
  164. package/dist/client/assets/light-plus-B7mTdjB0.js +1 -0
  165. package/dist/client/assets/liquid-DYVedYrR.js +1 -0
  166. package/dist/client/assets/llvm-DjAJT7YJ.js +1 -0
  167. package/dist/client/assets/log-2UxHyX5q.js +1 -0
  168. package/dist/client/assets/logo-BtOb2qkB.js +1 -0
  169. package/dist/client/assets/lua-BaeVxFsk.js +1 -0
  170. package/dist/client/assets/luau-C-HG3fhB.js +1 -0
  171. package/dist/client/assets/make-CHLpvVh8.js +1 -0
  172. package/dist/client/assets/markdown-Cvjx9yec.js +1 -0
  173. package/dist/client/assets/marko-CnJfTvn9.js +1 -0
  174. package/dist/client/assets/material-theme-D5KoaKCx.js +1 -0
  175. package/dist/client/assets/material-theme-darker-BfHTSMKl.js +1 -0
  176. package/dist/client/assets/material-theme-lighter-B0m2ddpp.js +1 -0
  177. package/dist/client/assets/material-theme-ocean-CyktbL80.js +1 -0
  178. package/dist/client/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
  179. package/dist/client/assets/matlab-D7o27uSR.js +1 -0
  180. package/dist/client/assets/mdc-BMNejdWA.js +1 -0
  181. package/dist/client/assets/mdx-Cmh6b_Ma.js +1 -0
  182. package/dist/client/assets/mermaid-mWjccvbQ.js +1 -0
  183. package/dist/client/assets/min-dark-CafNBF8u.js +1 -0
  184. package/dist/client/assets/min-light-CTRr51gU.js +1 -0
  185. package/dist/client/assets/mipsasm-CKIfxQSi.js +1 -0
  186. package/dist/client/assets/mojo-rZm6bMo-.js +1 -0
  187. package/dist/client/assets/monokai-D4h5O-jR.js +1 -0
  188. package/dist/client/assets/moonbit-_H4v1dQx.js +1 -0
  189. package/dist/client/assets/move-IF9eRakj.js +1 -0
  190. package/dist/client/assets/narrat-DRg8JJMk.js +1 -0
  191. package/dist/client/assets/nextflow-Zz6hmt5N.js +1 -0
  192. package/dist/client/assets/nextflow-groovy-BeH2EWoN.js +1 -0
  193. package/dist/client/assets/nginx-BpAMiNFr.js +1 -0
  194. package/dist/client/assets/night-owl-C39BiMTA.js +1 -0
  195. package/dist/client/assets/night-owl-light-CMTm3GFP.js +1 -0
  196. package/dist/client/assets/nim-CVrawwO9.js +1 -0
  197. package/dist/client/assets/nix-CwoSXNpI.js +1 -0
  198. package/dist/client/assets/nord-Ddv68eIx.js +1 -0
  199. package/dist/client/assets/number-overlay-editor-CXHiTLsp.js +9 -0
  200. package/dist/client/assets/nushell-Cz2AlsmD.js +1 -0
  201. package/dist/client/assets/objective-c-DXmwc3jG.js +1 -0
  202. package/dist/client/assets/objective-cpp-CLxacb5B.js +1 -0
  203. package/dist/client/assets/ocaml-C0hk2d4L.js +1 -0
  204. package/dist/client/assets/odin-BBf5iR-q.js +1 -0
  205. package/dist/client/assets/one-dark-pro-DVMEJ2y_.js +1 -0
  206. package/dist/client/assets/one-light-C3Wv6jpd.js +1 -0
  207. package/dist/client/assets/openscad-C4EeE6gA.js +1 -0
  208. package/dist/client/assets/pascal-D93ZcfNL.js +1 -0
  209. package/dist/client/assets/perl-C0TMdlhV.js +1 -0
  210. package/dist/client/assets/php-Dhbhpdrm.js +1 -0
  211. package/dist/client/assets/pkl-u5AG7uiY.js +1 -0
  212. package/dist/client/assets/plastic-3e1v2bzS.js +1 -0
  213. package/dist/client/assets/plsql-ChMvpjG-.js +1 -0
  214. package/dist/client/assets/po-BTJTHyun.js +1 -0
  215. package/dist/client/assets/poimandres-CS3Unz2-.js +1 -0
  216. package/dist/client/assets/polar-C0HS_06l.js +1 -0
  217. package/dist/client/assets/postcss-CXtECtnM.js +1 -0
  218. package/dist/client/assets/powerquery-CEu0bR-o.js +1 -0
  219. package/dist/client/assets/powershell-Dpen1YoG.js +1 -0
  220. package/dist/client/assets/prisma-Dd19v3D-.js +1 -0
  221. package/dist/client/assets/prolog-CbFg5uaA.js +1 -0
  222. package/dist/client/assets/proto-C7zT0LnQ.js +1 -0
  223. package/dist/client/assets/pug-CGlum2m_.js +1 -0
  224. package/dist/client/assets/puppet-BMWR74SV.js +1 -0
  225. package/dist/client/assets/purescript-CklMAg4u.js +1 -0
  226. package/dist/client/assets/python-B6aJPvgy.js +1 -0
  227. package/dist/client/assets/qml-3beO22l8.js +1 -0
  228. package/dist/client/assets/qmldir-C8lEn-DE.js +1 -0
  229. package/dist/client/assets/qss-IeuSbFQv.js +1 -0
  230. package/dist/client/assets/r-Dspwwk_N.js +1 -0
  231. package/dist/client/assets/racket-BqYA7rlc.js +1 -0
  232. package/dist/client/assets/raku-DXvB9xmW.js +1 -0
  233. package/dist/client/assets/razor-Uh8Bk_45.js +1 -0
  234. package/dist/client/assets/red-bN70gL4F.js +1 -0
  235. package/dist/client/assets/reg-C-SQnVFl.js +1 -0
  236. package/dist/client/assets/regexp-CDVJQ6XC.js +1 -0
  237. package/dist/client/assets/rel-C3B-1QV4.js +1 -0
  238. package/dist/client/assets/riscv-BM1_JUlF.js +1 -0
  239. package/dist/client/assets/ron-D8l8udqQ.js +1 -0
  240. package/dist/client/assets/rose-pine-dawn-DHQR4-dF.js +1 -0
  241. package/dist/client/assets/rose-pine-moon-D4_iv3hh.js +1 -0
  242. package/dist/client/assets/rose-pine-qdsjHGoJ.js +1 -0
  243. package/dist/client/assets/rosmsg-BJDFO7_C.js +1 -0
  244. package/dist/client/assets/rst-BrH8l1NY.js +1 -0
  245. package/dist/client/assets/ruby-Dw2BHqvy.js +1 -0
  246. package/dist/client/assets/rust-B1yitclQ.js +1 -0
  247. package/dist/client/assets/sas-cz2c8ADy.js +1 -0
  248. package/dist/client/assets/sass-Cj5Yp3dK.js +1 -0
  249. package/dist/client/assets/scala-C151Ov-r.js +1 -0
  250. package/dist/client/assets/scheme-C98Dy4si.js +1 -0
  251. package/dist/client/assets/scss-OYdSNvt2.js +1 -0
  252. package/dist/client/assets/sdbl-DVxCFoDh.js +1 -0
  253. package/dist/client/assets/shaderlab-Dg9Lc6iA.js +1 -0
  254. package/dist/client/assets/shellscript-Yzrsuije.js +1 -0
  255. package/dist/client/assets/shellsession-BADoaaVG.js +1 -0
  256. package/dist/client/assets/slack-dark-BthQWCQV.js +1 -0
  257. package/dist/client/assets/slack-ochin-DqwNpetd.js +1 -0
  258. package/dist/client/assets/smalltalk-BERRCDM3.js +1 -0
  259. package/dist/client/assets/snazzy-light-Bw305WKR.js +1 -0
  260. package/dist/client/assets/solarized-dark-DXbdFlpD.js +1 -0
  261. package/dist/client/assets/solarized-light-L9t79GZl.js +1 -0
  262. package/dist/client/assets/solidity-rGO070M0.js +1 -0
  263. package/dist/client/assets/soy-Brmx7dQM.js +1 -0
  264. package/dist/client/assets/sparql-rVzFXLq3.js +1 -0
  265. package/dist/client/assets/splunk-BtCnVYZw.js +1 -0
  266. package/dist/client/assets/sql-BLtJtn59.js +1 -0
  267. package/dist/client/assets/ssh-config-_ykCGR6B.js +1 -0
  268. package/dist/client/assets/stata-BH5u7GGu.js +1 -0
  269. package/dist/client/assets/stylus-BEDo0Tqx.js +1 -0
  270. package/dist/client/assets/surrealql-Bq5Q-fJD.js +1 -0
  271. package/dist/client/assets/svelte-C_ipcX3V.js +1 -0
  272. package/dist/client/assets/swift-D82vCrfD.js +1 -0
  273. package/dist/client/assets/synthwave-84-CbfX1IO0.js +1 -0
  274. package/dist/client/assets/system-verilog-CnnmHF94.js +1 -0
  275. package/dist/client/assets/systemd-4A_iFExJ.js +1 -0
  276. package/dist/client/assets/talonscript-CkByrt1z.js +1 -0
  277. package/dist/client/assets/tasl-QIJgUcNo.js +1 -0
  278. package/dist/client/assets/tcl-dwOrl1Do.js +1 -0
  279. package/dist/client/assets/templ-P3uqSqPl.js +1 -0
  280. package/dist/client/assets/terraform-BETggiCN.js +1 -0
  281. package/dist/client/assets/tex-idrVyKtj.js +1 -0
  282. package/dist/client/assets/tokyo-night-hegEt444.js +1 -0
  283. package/dist/client/assets/toml-vGWfd6FD.js +1 -0
  284. package/dist/client/assets/ts-tags-zn1MmPIZ.js +1 -0
  285. package/dist/client/assets/tsv-B_m7g4N7.js +1 -0
  286. package/dist/client/assets/tsx-COt5Ahok.js +1 -0
  287. package/dist/client/assets/turtle-BsS91CYL.js +1 -0
  288. package/dist/client/assets/twig-DNn4PbVi.js +1 -0
  289. package/dist/client/assets/typescript-BPQ3VLAy.js +1 -0
  290. package/dist/client/assets/typespec-BGHnOYBU.js +1 -0
  291. package/dist/client/assets/typst-DHCkPAjA.js +1 -0
  292. package/dist/client/assets/v-BcVCzyr7.js +1 -0
  293. package/dist/client/assets/vala-CsfeWuGM.js +1 -0
  294. package/dist/client/assets/vb-D17OF-Vu.js +1 -0
  295. package/dist/client/assets/verilog-BQ8w6xss.js +1 -0
  296. package/dist/client/assets/vesper-DU1UobuO.js +1 -0
  297. package/dist/client/assets/vhdl-CeAyd5Ju.js +1 -0
  298. package/dist/client/assets/viml-CJc9bBzg.js +1 -0
  299. package/dist/client/assets/vitesse-black-Bkuqu6BP.js +1 -0
  300. package/dist/client/assets/vitesse-dark-D0r3Knsf.js +1 -0
  301. package/dist/client/assets/vitesse-light-CVO1_9PV.js +1 -0
  302. package/dist/client/assets/vue-DN_0RTcg.js +1 -0
  303. package/dist/client/assets/vue-html-AaS7Mt5G.js +1 -0
  304. package/dist/client/assets/vue-vine-CQOfvN7w.js +1 -0
  305. package/dist/client/assets/vyper-CDx5xZoG.js +1 -0
  306. package/dist/client/assets/wasm-CG6Dc4jp.js +1 -0
  307. package/dist/client/assets/wasm-MzD3tlZU.js +1 -0
  308. package/dist/client/assets/wenyan-BV7otONQ.js +1 -0
  309. package/dist/client/assets/wgsl-Dx-B1_4e.js +1 -0
  310. package/dist/client/assets/wikitext-BhOHFoWU.js +1 -0
  311. package/dist/client/assets/wit-5i3qLPDT.js +1 -0
  312. package/dist/client/assets/wolfram-lXgVvXCa.js +1 -0
  313. package/dist/client/assets/xml-sdJ4AIDG.js +1 -0
  314. package/dist/client/assets/xsl-CtQFsRM5.js +1 -0
  315. package/dist/client/assets/yaml-Buea-lGh.js +1 -0
  316. package/dist/client/assets/zenscript-DVFEvuxE.js +1 -0
  317. package/dist/client/assets/zig-VOosw3JB.js +1 -0
  318. package/dist/client/index.html +2 -2
  319. package/dist/dataset-types-CSjbM_Vz.d.ts +564 -0
  320. package/dist/index.d.ts +3607 -934
  321. package/dist/index.js +3648 -604
  322. package/dist/instance-names-pVQxJbtw.js +12 -0
  323. package/dist/otlp-trace-ingestor-V8_bbpUG.js +12376 -0
  324. package/dist/runtime-DCNx7dHI.js +302 -0
  325. package/dist/trace-Dn6Pfcc5.d.ts +200 -0
  326. package/dist/views/datasets/index.d.ts +68 -0
  327. package/dist/views/datasets/index.js +237 -0
  328. package/dist/views/index.d.ts +98 -0
  329. package/dist/views/index.js +156 -0
  330. package/dist/views/react/index.d.ts +55 -0
  331. package/dist/views/react/index.js +246 -0
  332. package/package.json +60 -9
  333. package/dist/client/assets/index-BAk2IWAg.js +0 -144
  334. package/dist/client/assets/index-CHPZsnKo.css +0 -32
  335. package/dist/vercel-ai-sdk-JhQ1efcg.js +0 -1236
@@ -0,0 +1,564 @@
1
+ import { PropDefinition, PropValue } from "ts-proppy";
2
+
3
+ //#region src/trace/trace-types.d.ts
4
+ /**
5
+ * A reference to a prompt.
6
+ *
7
+ * `id` is interpreted as a globally-unique prompt ID unless `providerId` is
8
+ * present, in which case `id` is scoped to that specific prompt provider. This
9
+ * mirrors the OpenTelemetry attributes `evalution.prompt.id` (always present)
10
+ * and `evalution.prompt.provider.id` (optional, scoping).
11
+ */
12
+ interface PromptID {
13
+ /** The prompt ID — global unless {@link providerId} scopes it. */
14
+ id: string;
15
+ /** When set, {@link id} is scoped to this prompt provider. */
16
+ providerId?: string;
17
+ /** Positional arguments the prompt function was called with. */
18
+ functionParameters?: unknown[];
19
+ /**
20
+ * The unresolved inputs the run was launched with — the recipe, not the
21
+ * resolution.
22
+ *
23
+ * Replaying them is only exactly faithful for the `value` kind. A `resource`
24
+ * re-runs its `create()`, producing an *equivalent* value rather than the
25
+ * same one — a fresh handle, a newly seeded row — so a UI must present it as
26
+ * something that will be re-created, never as a restored value.
27
+ */
28
+ functionInputs?: unknown[];
29
+ /** The unresolved execute-parameter inputs, keyed by parameter name. */
30
+ executeInputs?: Record<string, unknown>;
31
+ /**
32
+ * The run's named resource instances, by name, with the receipt each
33
+ * `create()` produced. See `specs/resource-instances.md` §F.
34
+ */
35
+ resources?: Record<string, unknown>;
36
+ /**
37
+ * The prompt's parameter definitions as they stood when the run was
38
+ * launched, so a replay can diff them against today's signature rather than
39
+ * guess whether the recorded inputs still fit.
40
+ */
41
+ parameterDefinitions?: unknown[];
42
+ /**
43
+ * The prompt's execute-parameter definitions as they stood when the run was
44
+ * launched — the types of {@link executeInputs}, as
45
+ * {@link parameterDefinitions} is for {@link functionInputs}.
46
+ */
47
+ executeParameterDefinitions?: unknown[];
48
+ /** The version the run executed against. */
49
+ version?: string;
50
+ /** The variation applied on top of {@link version}, if any. */
51
+ variation?: string;
52
+ }
53
+ /**
54
+ * Classification of a {@link Span}. See also:
55
+ * - `lmnr.span.type` from https://laminar.sh/docs/tracing/otel
56
+ * - `mlflow.spanType` from https://mlflow.org/docs/latest/genai/tracing/opentelemetry/attribute-mapping/#translated-span-attributes
57
+ *
58
+ * Mapped from `gen_ai.operation.name`. `CHECK` is evalution's own: an eval
59
+ * check that traced something while judging the run — see
60
+ * {@link CHECK_ATTRIBUTE}.
61
+ */
62
+ type SpanKind = "LLM" | "TOOL" | "AGENT" | "EMBEDDING" | "CHECK" | "DEFAULT";
63
+ /** A text segment within a multi-part {@link SpanMessage} content. */
64
+ interface SpanTextPart {
65
+ type: "text";
66
+ text: string;
67
+ }
68
+ /** An image segment within a multi-part {@link SpanMessage} content. */
69
+ interface SpanImagePart {
70
+ type: "image";
71
+ /** A URL, or base64/data-URI image data. */
72
+ image: string;
73
+ /** MIME type (e.g. `image/png`), when known. */
74
+ mediaType?: string;
75
+ }
76
+ /**
77
+ * A tool call the assistant made, within a multi-part {@link SpanMessage}
78
+ * content. Matched to its {@link SpanToolResultPart} by `toolCallId`.
79
+ */
80
+ interface SpanToolCallPart {
81
+ type: "tool-call";
82
+ toolCallId: string;
83
+ toolName: string;
84
+ /** The arguments the model passed, as JSON. */
85
+ input: unknown;
86
+ }
87
+ /**
88
+ * A tool's result fed back to the model, within a multi-part
89
+ * {@link SpanMessage} content (usually a `tool` message).
90
+ */
91
+ interface SpanToolResultPart {
92
+ type: "tool-result";
93
+ toolCallId: string;
94
+ toolName: string;
95
+ /** What the tool returned, unwrapped from the SDK's output envelope. */
96
+ output: unknown;
97
+ /** Whether the result reports a failure (an error, or a denied call). */
98
+ isError?: boolean;
99
+ }
100
+ type SpanMessageRole = "user" | "assistant" | "system" | "tool" | (string & {});
101
+ /** One segment of a multi-part {@link SpanMessage} content. */
102
+ type SpanContentPart = SpanTextPart | SpanImagePart | SpanToolCallPart | SpanToolResultPart;
103
+ /**
104
+ * A single message within an LLM span's input/output.
105
+ *
106
+ * `content` is a plain string for the common text-only case. It is an array
107
+ * of {@link SpanContentPart} when the message carries non-text content (e.g.
108
+ * an image, or a tool call or result) — the `string` form stays in the union so existing consumers and
109
+ * already-stored rows keep working unchanged.
110
+ */
111
+ interface SpanMessage {
112
+ role: SpanMessageRole;
113
+ content: string | SpanContentPart[];
114
+ }
115
+ /** LLM-specific attributes attached to `LLM` spans. */
116
+ interface LLMSpanDetails {
117
+ provider?: string;
118
+ model?: string;
119
+ /** Model parameters (temperature, max_tokens, …). */
120
+ modelParameters?: Record<string, unknown>;
121
+ /**
122
+ * Why the model stopped generating, as the provider or SDK reports it
123
+ * (`stop`, `length`, `tool-calls`, …). Not normalized across providers.
124
+ */
125
+ finishReason?: string;
126
+ /**
127
+ * What the model was given: a message list for a chat model, or any JSON
128
+ * for a model that takes something else (a System One call records
129
+ * `{ state, questions }`). Array-ness is the discriminant — see
130
+ * {@link spanMessages}.
131
+ */
132
+ input?: SpanMessage[] | {
133
+ [key: string]: unknown;
134
+ };
135
+ /**
136
+ * What it returned: text for a chat model, the assistant message of a turn
137
+ * that called tools (see `toolCallingOutput`), or JSON for structured
138
+ * output and for any model whose answer is data rather than prose.
139
+ */
140
+ output?: unknown;
141
+ /** Input tokens, counting any read from or written to a prompt cache. */
142
+ promptTokens?: number;
143
+ completionTokens?: number;
144
+ totalTokens?: number;
145
+ /** How many of {@link promptTokens} were read from a prompt cache. */
146
+ cacheReadTokens?: number;
147
+ /** How many of {@link promptTokens} were written to a prompt cache. */
148
+ cacheWriteTokens?: number;
149
+ /**
150
+ * Dollar cost of the call, broken down by token type, if known. The total
151
+ * cost is `cost.prompt + cost.completion`; `cost.prompt` includes cache
152
+ * reads and writes, each at its own price.
153
+ */
154
+ cost?: {
155
+ prompt: number;
156
+ completion: number; /** The part of `prompt` spent on {@link cacheReadTokens}. */
157
+ cacheRead?: number; /** The part of `prompt` spent on {@link cacheWriteTokens}. */
158
+ cacheWrite?: number;
159
+ };
160
+ }
161
+ interface ToolSpanDetails {
162
+ toolName: string;
163
+ /**
164
+ * The id the model gave this call, when the integration reports it — the
165
+ * same id as the {@link SpanToolCallPart} that requested it.
166
+ */
167
+ toolCallId?: string;
168
+ input: unknown;
169
+ output?: unknown;
170
+ }
171
+ /**
172
+ * A span in a {@link Trace}. Spans form a tree via {@link parentId}.
173
+ * Durations are derived from `startTime` and `endTime`; an in-progress span has
174
+ * no `endTime` yet.
175
+ */
176
+ interface Span {
177
+ id: string;
178
+ traceId: string;
179
+ /** `undefined` for the root span of the trace. */
180
+ parentId?: string;
181
+ name: string;
182
+ kind: SpanKind;
183
+ /** Start timestamp in milliseconds since epoch. */
184
+ startTime: number;
185
+ /** End timestamp in milliseconds since epoch, or `undefined` while running. */
186
+ endTime?: number;
187
+ status?: "ok" | "error";
188
+ /** Error message if `status` is `'error'`. */
189
+ errorMessage?: string;
190
+ /** Free-form attributes to show in the span's details pane. */
191
+ attributes?: Record<string, unknown>;
192
+ /**
193
+ * The OpenTelemetry resource that produced the span: attributes describing
194
+ * the process or service it ran in rather than the span itself
195
+ * (`service.name`, `deployment.environment.name`, …).
196
+ */
197
+ resource?: Record<string, unknown>;
198
+ /** LLM-specific details (present for `chat`/`completion`/`embedding` spans). */
199
+ llm?: LLMSpanDetails;
200
+ /**
201
+ * The prompt this span is attributed to, if any.
202
+ *
203
+ * Stored as emitted (`evalution.prompt.id` plus optional
204
+ * `evalution.prompt.provider.id`): a {@link PromptID} whose `id` is global
205
+ * unless `providerId` is set. The server resolves it against the prompt
206
+ * registry to a provider-scoped reference when a trace is served.
207
+ */
208
+ prompt?: PromptID;
209
+ tool?: ToolSpanDetails;
210
+ }
211
+ interface TraceBase {
212
+ id: string;
213
+ providerId?: string;
214
+ name: string;
215
+ /** Start timestamp (ms). */
216
+ startTime: number;
217
+ /** End timestamp (ms), or `undefined` while the trace is still running. */
218
+ endTime?: number;
219
+ status: "running" | "ok" | "error";
220
+ }
221
+ /**
222
+ * Top-level trace for a single invocation (e.g. one prompt execution).
223
+ */
224
+ interface Trace extends TraceBase {
225
+ /** Free-form attributes (e.g. prompt ID, function params). */
226
+ attributes?: Record<string, unknown>;
227
+ }
228
+ /** A trace together with all of its spans. */
229
+ interface TraceWithSpans {
230
+ trace: Trace;
231
+ spans: Span[];
232
+ }
233
+ //#endregion
234
+ //#region src/shared/types.d.ts
235
+ /**
236
+ * One prompt input, *before* resolution — the recipe rather than the value.
237
+ *
238
+ * The panel sends these instead of concrete JSON because a resource reference
239
+ * cannot survive a JSON round trip: its value doesn't exist until the run
240
+ * creates it. Every variant is JSON-safe by construction, which is also what
241
+ * lets a trace record what it ran with and replay it (see `PromptSpanInfo`).
242
+ */
243
+ type ExecutionInput = /** A value typed into the panel. */{
244
+ kind: "value";
245
+ value: PropValue;
246
+ }
247
+ /**
248
+ * An object assembled from per-property inputs, so a resource can fill one
249
+ * field of an otherwise hand-edited object — `toolsContext`'s `db` beside
250
+ * its typed-in ids. Only objects nest: an array of resources isn't a case
251
+ * any slot has yet.
252
+ */
253
+ | {
254
+ kind: "object";
255
+ properties: Record<string, ExecutionInput>;
256
+ }
257
+ /**
258
+ * One of the run's named resource instances ({@link RunResources}), or one
259
+ * of its outputs — created by the provider at run time, once per run
260
+ * however many places name it. See `specs/resource-instances.md` §A.
261
+ */
262
+ | {
263
+ kind: "instance"; /** The instance's name in the run's {@link RunResources}. */
264
+ name: string; /** A top-level output of its value (`taskId`). Absent for the value itself. */
265
+ output?: string;
266
+ }
267
+ /**
268
+ * A cell of the dataset row being run, by `DatasetField.id`. Only
269
+ * meaningful in an eval run, where the row is implicit; anywhere else it
270
+ * fails with a message that says so. The cell may itself hold a resource
271
+ * or an object, and resolves recursively. See `specs/evals.md` §B.2.
272
+ */
273
+ | {
274
+ kind: "dataset";
275
+ field: string;
276
+ }
277
+ /**
278
+ * Whatever the same run bound to one of the prompt's own slots, resolved
279
+ * in the run's lease — so a resource comes back as the same instance, and
280
+ * two slots can say they hold the same id rather than repeat one recipe.
281
+ * Works anywhere a run is assembled: the execute panel and an eval alike.
282
+ * See `specs/evals.md` §B.2.
283
+ */
284
+ | {
285
+ kind: "input"; /** Which half of the prompt's slots `path` is in. */
286
+ half: "function" | "execute"; /** The dotted slot path (`taskId`, `toolsContext.list_tasks.db`). */
287
+ path: string;
288
+ };
289
+ /**
290
+ * One code-defined resource instance a run creates, whether or not any slot
291
+ * reads it — the run's resources are the instances it declares, by name. See
292
+ * `specs/resource-instances.md` §A.
293
+ */
294
+ interface ResourceInstanceInput {
295
+ /** The resource's root {@link ResourceInfo.uri} — never an output's. */
296
+ uri: string;
297
+ /**
298
+ * Values for the resource's declared arguments, by parameter name. Absent
299
+ * when it takes none. Recursive — an argument may be a typed-in value, an
300
+ * object, another instance's output, a dataset cell, or another slot.
301
+ */
302
+ args?: Record<string, ExecutionInput>;
303
+ /**
304
+ * What this instance's `create()` produced. Recorded on every run (never
305
+ * sent by the panel); sent back only by a replay, so `create` can
306
+ * reconstruct rather than re-mint. See `specs/resource-arguments.md` §E.
307
+ */
308
+ receipt?: unknown;
309
+ }
310
+ /**
311
+ * A run's named resource instances, by name — `[A-Za-z_][A-Za-z0-9_-]*`.
312
+ * Every one is created when the run starts, and {@link ExecutionInput}s of
313
+ * kind `instance` refer to them by name.
314
+ */
315
+ type RunResources = Record<string, ResourceInstanceInput>;
316
+ //#endregion
317
+ //#region src/shared/column-paths.d.ts
318
+ /** Where a column reads from in a row. */
319
+ interface ColumnPath {
320
+ /** A field's cell, or one of the row's resource instances by name. */
321
+ root: {
322
+ field: string;
323
+ } | {
324
+ instance: string;
325
+ };
326
+ /** Steps inward, by name. Empty for the root itself. */
327
+ keys: string[];
328
+ }
329
+ /**
330
+ * One column of a dataset's layout (`Dataset.columns`), discriminated by `kind`. Kinds
331
+ * this version doesn't know (a newer client's) are stored and served as they
332
+ * were written — see {@link ForeignColumnSpec}.
333
+ */
334
+ type DatasetColumnSpec = KnownColumnSpec | ForeignColumnSpec;
335
+ /** A column of the layout whose `kind` this version knows. */
336
+ type KnownColumnSpec = {
337
+ kind: "path";
338
+ path: ColumnPath; /** Shown instead of the path's last key. */
339
+ title?: string;
340
+ hidden?: true; /** Added from the picker, as opposed to derived from a field or one of its keys. */
341
+ added?: true;
342
+ } /** Where the row came from. Moved and hidden like any column, but never removed. */ | {
343
+ kind: "source";
344
+ hidden?: true;
345
+ };
346
+ /**
347
+ * A column of a `kind` this version doesn't know, written by a newer one. Kept
348
+ * in its place, and written back intact, so an older client arranging the
349
+ * columns doesn't drop it.
350
+ */
351
+ interface ForeignColumnSpec {
352
+ kind: string;
353
+ hidden?: true;
354
+ [property: string]: unknown;
355
+ }
356
+ /** The parts of a row a path reads: its cells, and its resource instances. */
357
+ interface PathRow {
358
+ cells: Record<string, ExecutionInput>;
359
+ resources?: Record<string, ResourceInstanceInput>;
360
+ }
361
+ /**
362
+ * What a path reads in a row: the input there, `"absent"` when the row has
363
+ * nothing at its root, or `"n/a"` when a step can't be taken.
364
+ */
365
+ type PathValue = ExecutionInput | "absent" | "n/a";
366
+ /**
367
+ * How many instance references a path may step through before it gives up.
368
+ * A row whose references form a cycle can't run, but nothing stops one from
369
+ * being stored.
370
+ */
371
+ declare const MAX_REFERENCE_HOPS = 16;
372
+ /**
373
+ * Where a path landed, when its last step was an instance's argument — what
374
+ * an edit through it must change. See `specs/datasets.md` §Q.4.
375
+ */
376
+ interface InstanceArgument {
377
+ /** The instance whose argument it is. */
378
+ instance: string;
379
+ /** The argument's name. */
380
+ arg: string;
381
+ }
382
+ /** What {@link resolveColumnPath} found. */
383
+ interface ResolvedPath {
384
+ value: PathValue;
385
+ /** Set when the last step read an instance's argument. */
386
+ argument?: InstanceArgument;
387
+ }
388
+ /** A field's whole column. */
389
+ declare function fieldPath(field: string, keys?: string[]): ColumnPath;
390
+ /** An instance's column. */
391
+ declare function instancePath(instance: string, keys?: string[]): ColumnPath;
392
+ /**
393
+ * The inputs one step inward from `input`, by name, in order — what a path
394
+ * can step to next:
395
+ *
396
+ * - a `value` holding an object `PropValue`: its properties, each wrapped as
397
+ * the value cell it would be on its own;
398
+ * - an `object` cell: its properties;
399
+ * - an `instance` reference: that instance's arguments, in the same row. Its
400
+ * `output` is ignored, since a step names an argument, not an output.
401
+ *
402
+ * Anything else — a template, a primitive, an array, a `dataset` or `input`
403
+ * reference, an instance the row doesn't declare — has nothing inside it.
404
+ */
405
+ declare function childInputs(row: PathRow, input: ExecutionInput): [string, ExecutionInput][];
406
+ /**
407
+ * What `path` reads in `row`, and — when its last step read an instance's
408
+ * argument — which one, so an edit can be sent back there. Each step is
409
+ * taken by {@link childInputs}'s rules; a step that can't be taken reads as
410
+ * `"n/a"`, as does a path that steps through more than
411
+ * {@link MAX_REFERENCE_HOPS} instance references.
412
+ */
413
+ declare function resolveColumnPath(row: PathRow, path: ColumnPath): ResolvedPath;
414
+ /**
415
+ * What `path` reads in `row`: the input there, `"absent"` when the row has
416
+ * nothing at its root, or `"n/a"` when a step can't be taken. See
417
+ * {@link resolveColumnPath}.
418
+ */
419
+ declare function readColumnPath(row: PathRow, path: ColumnPath): PathValue;
420
+ //#endregion
421
+ //#region src/dataset/dataset-types.d.ts
422
+ /**
423
+ * One column of a {@link Dataset}.
424
+ *
425
+ * A field's type is never typed in as free-form syntax: a dataset belongs to
426
+ * no file, so there is no checker to resolve a hand-written type against.
427
+ * Most fields are derived — copied from a prompt parameter or from a trace's
428
+ * recorded definition. A field added by hand (`DatasetProvider.addField`) is
429
+ * either a `string`, `number`, or `boolean` primitive, whose syntax is its
430
+ * structure, or a copy of a prompt parameter's definition that the server
431
+ * looked up itself. See `specs/datasets.md` §B, §P.1.
432
+ */
433
+ interface DatasetField {
434
+ /**
435
+ * Stable, short id — row cells are keyed by it, so renaming a field never
436
+ * rewrites rows. Base-36 of a per-dataset counter (`0`–`9`, `a`–`z`, `10`,
437
+ * …), minted by the provider and never reused.
438
+ */
439
+ id: string;
440
+ /** Name, type, description — the checker's view of the slot this field came from. */
441
+ def: PropDefinition;
442
+ /**
443
+ * Set on a field added by hand (`DatasetProvider.addField`) rather than
444
+ * derived when the dataset was created. Such a field never came from the
445
+ * linked prompt, so it isn't flagged when it matches none of its
446
+ * parameters.
447
+ */
448
+ added?: true;
449
+ }
450
+ /**
451
+ * A dataset's metadata and schema. Rows are fetched separately
452
+ * ({@link DatasetProvider.listRows}), since they grow without bound.
453
+ */
454
+ interface Dataset {
455
+ /** Stable id; for a local dataset, also the basename of its file. */
456
+ id: string;
457
+ /** Display name. Renaming changes only this, never {@link id}. */
458
+ name: string;
459
+ /** The schema, in display order. */
460
+ fields: DatasetField[];
461
+ /**
462
+ * The prompt this dataset was created from, if any — metadata, not a
463
+ * constraint. Stores the prompt's `globalId` when it has one, so the link
464
+ * survives moves and renames; the server resolves it on read.
465
+ */
466
+ prompt?: PromptID;
467
+ /**
468
+ * The grid's columns, in order — a layout, not the schema, so a client
469
+ * reconciles it with the fields and rows it actually has on read. Absent
470
+ * until someone arranges the columns. See `specs/datasets.md` §Q.3.
471
+ */
472
+ columns?: DatasetColumnSpec[];
473
+ /** The path whose value names a row wherever a row is named. */
474
+ rowLabel?: ColumnPath;
475
+ /** Creation timestamp (ms). */
476
+ createdAt: number;
477
+ /** Timestamp (ms) of the last change to the dataset or its rows. */
478
+ updatedAt: number;
479
+ }
480
+ /** One of the rows' resource instances, summarized across rows by name. */
481
+ interface DatasetInstanceShape {
482
+ /** The resource it instantiates, in the first row that declares it. */
483
+ uri: string;
484
+ /** How many rows declare it. */
485
+ rows: number;
486
+ /** Its argument names, merged across rows in order of first appearance. */
487
+ args: string[];
488
+ }
489
+ /** Where a {@link DatasetRow} came from, so the view can link back to it. */
490
+ type DatasetRowSource = {
491
+ kind: "playground";
492
+ promptId: string;
493
+ providerId: string;
494
+ } | {
495
+ kind: "trace";
496
+ traceId: string;
497
+ traceProviderId: string;
498
+ };
499
+ /**
500
+ * One dataset row: a cell per field it has a value for, keyed by field id.
501
+ *
502
+ * A cell is the same {@link ExecutionInput} the execute panel stores and a
503
+ * trace records — so a resource reference, arguments and all, survives the
504
+ * trip into a dataset and back out into the panel. Rows are sparse: a field
505
+ * with no value has no key.
506
+ */
507
+ interface DatasetRow {
508
+ id: string;
509
+ /** Field id → the input for that field. */
510
+ cells: Record<string, ExecutionInput>;
511
+ /**
512
+ * Resource instances this row's runs declare, by name — its cells (and an
513
+ * eval's bindings) may name them with `instance` references. Never carries
514
+ * a receipt. See `specs/resource-instances.md` §E.
515
+ */
516
+ resources?: RunResources;
517
+ /** Where the row came from. */
518
+ source?: DatasetRowSource;
519
+ /** Creation timestamp (ms). */
520
+ createdAt: number;
521
+ }
522
+ /**
523
+ * One row's changes in `DatasetProvider.updateRows`: field id → the cell to
524
+ * set, or `null` to clear it. Fields not named are left as they are.
525
+ */
526
+ interface DatasetRowUpdate {
527
+ rowId: string;
528
+ cells: Record<string, ExecutionInput | null>;
529
+ /**
530
+ * The row's resource instances to set, by name, or `null` to remove one.
531
+ * Instances not named are left as they are.
532
+ */
533
+ resources?: Record<string, ResourceInstanceInput | null>;
534
+ }
535
+ /**
536
+ * What one field's cells hold, beyond a single value — found in the rows,
537
+ * not the schema: a field's `def` is the slot's type, which says nothing
538
+ * about the shape of the object a row typed in for it.
539
+ */
540
+ interface DatasetFieldShape {
541
+ /**
542
+ * The keys one level inside the field's cells: an `object` cell's property
543
+ * names, and the property names of a typed-in object value. Merged by name
544
+ * across rows, roughly in the order they first appear.
545
+ */
546
+ keys: string[];
547
+ }
548
+ /**
549
+ * What a dataset's rows hold, summarized without fetching them — enough for a
550
+ * table to lay out its columns before it pages any rows in.
551
+ */
552
+ interface DatasetRowsOverview {
553
+ /** How many rows the dataset has. */
554
+ rowCount: number;
555
+ /**
556
+ * Field id → what its cells hold, for every field whose cells have keys to
557
+ * show. A field whose cells are all plain values has no entry.
558
+ */
559
+ fields: Record<string, DatasetFieldShape>;
560
+ /** Instance name → its resource and argument names, merged across rows. */
561
+ instances: Record<string, DatasetInstanceShape>;
562
+ }
563
+ //#endregion
564
+ export { ResourceInstanceInput as _, ColumnPath as a, Trace as b, PathRow as c, childInputs as d, fieldPath as f, ExecutionInput as g, resolveColumnPath as h, DatasetRowsOverview as i, PathValue as l, readColumnPath as m, DatasetRow as n, InstanceArgument as o, instancePath as p, DatasetRowUpdate as r, MAX_REFERENCE_HOPS as s, Dataset as t, ResolvedPath as u, RunResources as v, TraceWithSpans as x, Span as y };