niceeval 0.13.3 → 0.13.4-canary.39

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 (487) hide show
  1. package/INDEX.md +5 -5
  2. package/dist/agents/index.cjs +2 -2
  3. package/dist/agents/index.cjs.map +1 -1
  4. package/dist/agents/project.json +6 -0
  5. package/dist/agents/streaming.cjs.map +1 -1
  6. package/dist/agents/types.cjs.map +1 -1
  7. package/dist/agents/types.d.cts +1 -1
  8. package/dist/agents/types.d.mts +1 -1
  9. package/dist/agents/types.d.ts +1 -1
  10. package/dist/analysis/bindings.d.cts +8 -8
  11. package/dist/analysis/bindings.d.mts +8 -8
  12. package/dist/analysis/bindings.d.ts +8 -8
  13. package/dist/analysis/contracts.cjs.map +1 -1
  14. package/dist/analysis/contracts.d.cts +8 -19
  15. package/dist/analysis/contracts.d.mts +8 -19
  16. package/dist/analysis/contracts.d.ts +8 -19
  17. package/dist/analysis/experiment-groups.cjs +7 -14
  18. package/dist/analysis/experiment-groups.cjs.map +1 -1
  19. package/dist/analysis/index.cjs.map +1 -1
  20. package/dist/analysis/index.d.cts +1 -1
  21. package/dist/analysis/index.d.mts +1 -1
  22. package/dist/analysis/index.d.ts +1 -1
  23. package/dist/cli/application.cjs +4 -13
  24. package/dist/cli/application.cjs.map +1 -1
  25. package/dist/cli/application.d.cts +62 -59
  26. package/dist/cli/application.d.mts +62 -59
  27. package/dist/cli/application.d.ts +62 -59
  28. package/dist/cli/application.js +6 -12
  29. package/dist/cli/bootstrap.cjs +28 -2
  30. package/dist/cli/bootstrap.cjs.map +1 -1
  31. package/dist/cli/contribution.cjs +185 -0
  32. package/dist/cli/contribution.cjs.map +1 -0
  33. package/dist/cli/contribution.d.cts +55 -0
  34. package/dist/cli/contribution.d.mts +55 -0
  35. package/dist/cli/contribution.d.ts +55 -0
  36. package/dist/cli/contribution.js +20 -0
  37. package/dist/cli/contribution.js.map +1 -0
  38. package/dist/cli/node-application.cjs +119 -87
  39. package/dist/cli/node-application.cjs.map +1 -1
  40. package/dist/cli/node-application.d.cts +2 -8
  41. package/dist/cli/node-application.d.mts +2 -8
  42. package/dist/cli/node-application.d.ts +2 -8
  43. package/dist/cli/node-application.js +12 -22
  44. package/dist/cli/program.cjs +87 -2756
  45. package/dist/cli/program.cjs.map +1 -1
  46. package/dist/cli/program.d.cts +11 -332
  47. package/dist/cli/program.d.mts +11 -332
  48. package/dist/cli/program.d.ts +11 -332
  49. package/dist/cli/program.js +4 -28
  50. package/dist/cli.cjs +0 -3
  51. package/dist/cli.cjs.map +1 -1
  52. package/dist/cli.d.cts +0 -1
  53. package/dist/cli.d.mts +0 -1
  54. package/dist/cli.d.ts +0 -1
  55. package/dist/cli.js +6 -14
  56. package/dist/define.cjs +1 -1
  57. package/dist/define.cjs.map +1 -1
  58. package/dist/docker/cache-administration.cjs +8 -0
  59. package/dist/docker/cache-administration.cjs.map +1 -0
  60. package/dist/docker/cache-administration.d.cts +33 -0
  61. package/dist/docker/cache-administration.d.mts +33 -0
  62. package/dist/docker/cache-administration.d.ts +33 -0
  63. package/dist/docker/cache-administration.js +6 -0
  64. package/dist/docker/cache-administration.js.map +1 -0
  65. package/dist/docker/cache-live.cjs +27 -0
  66. package/dist/docker/cache-live.cjs.map +1 -0
  67. package/dist/docker/cache-live.d.cts +3 -0
  68. package/dist/docker/cache-live.d.mts +3 -0
  69. package/dist/docker/cache-live.d.ts +3 -0
  70. package/dist/docker/cache-live.js +6 -0
  71. package/dist/docker/cache-live.js.map +1 -0
  72. package/dist/docker/cli/contribution.cjs +223 -0
  73. package/dist/docker/cli/contribution.cjs.map +1 -0
  74. package/dist/docker/cli/contribution.d.cts +48 -0
  75. package/dist/docker/cli/contribution.d.mts +48 -0
  76. package/dist/docker/cli/contribution.d.ts +48 -0
  77. package/dist/docker/cli/contribution.js +8 -0
  78. package/dist/docker/cli/contribution.js.map +1 -0
  79. package/dist/eval/cli/contribution.cjs +62 -0
  80. package/dist/eval/cli/contribution.cjs.map +1 -0
  81. package/dist/eval/cli/contribution.d.cts +21 -0
  82. package/dist/eval/cli/contribution.d.mts +21 -0
  83. package/dist/eval/cli/contribution.d.ts +21 -0
  84. package/dist/eval/cli/contribution.js +8 -0
  85. package/dist/eval/cli/contribution.js.map +1 -0
  86. package/dist/eval/host/index.cjs +23 -0
  87. package/dist/eval/host/index.cjs.map +1 -0
  88. package/dist/eval/host/index.d.cts +27 -0
  89. package/dist/eval/host/index.d.mts +27 -0
  90. package/dist/eval/host/index.d.ts +27 -0
  91. package/dist/eval/host/index.js +8 -0
  92. package/dist/eval/host/index.js.map +1 -0
  93. package/dist/eval/host/index.mjs +8 -0
  94. package/dist/eval/host/index.mjs.map +1 -0
  95. package/dist/experiment/host/cli/contribution.cjs +835 -0
  96. package/dist/experiment/host/cli/contribution.cjs.map +1 -0
  97. package/dist/experiment/host/cli/contribution.d.cts +329 -0
  98. package/dist/experiment/host/cli/contribution.d.mts +329 -0
  99. package/dist/experiment/host/cli/contribution.d.ts +329 -0
  100. package/dist/experiment/host/cli/contribution.js +22 -0
  101. package/dist/experiment/host/cli/contribution.js.map +1 -0
  102. package/dist/experiment/host/cli/index.cjs +9 -0
  103. package/dist/experiment/host/cli/index.cjs.map +1 -0
  104. package/dist/experiment/host/cli/index.d.cts +2 -0
  105. package/dist/experiment/host/cli/index.d.mts +2 -0
  106. package/dist/experiment/host/cli/index.d.ts +2 -0
  107. package/dist/experiment/host/cli/index.js +10 -0
  108. package/dist/experiment/host/cli/index.js.map +1 -0
  109. package/dist/experiment/host/cli/terminal.cjs +15 -0
  110. package/dist/experiment/host/cli/terminal.cjs.map +1 -0
  111. package/dist/experiment/host/cli/terminal.d.cts +14 -0
  112. package/dist/experiment/host/cli/terminal.d.mts +14 -0
  113. package/dist/experiment/host/cli/terminal.d.ts +14 -0
  114. package/dist/experiment/host/cli/terminal.js +8 -0
  115. package/dist/experiment/host/cli/terminal.js.map +1 -0
  116. package/dist/experiment/host/index.cjs +35 -58
  117. package/dist/experiment/host/index.cjs.map +1 -1
  118. package/dist/experiment/host/index.d.cts +5 -79
  119. package/dist/experiment/host/index.d.mts +5 -79
  120. package/dist/experiment/host/index.d.ts +5 -79
  121. package/dist/experiment/host/index.js +4 -2
  122. package/dist/experiment/host/index.mjs +4 -2
  123. package/dist/experiment/host/operations.cjs +678 -0
  124. package/dist/experiment/host/operations.cjs.map +1 -0
  125. package/dist/experiment/host/operations.d.cts +19 -0
  126. package/dist/experiment/host/operations.d.mts +19 -0
  127. package/dist/experiment/host/operations.d.ts +19 -0
  128. package/dist/experiment/host/operations.js +24 -0
  129. package/dist/experiment/host/operations.js.map +1 -0
  130. package/dist/experiment/host/presentation.cjs +81 -0
  131. package/dist/experiment/host/presentation.cjs.map +1 -0
  132. package/dist/experiment/host/presentation.d.cts +9 -0
  133. package/dist/experiment/host/presentation.d.mts +9 -0
  134. package/dist/experiment/host/presentation.d.ts +9 -0
  135. package/dist/experiment/host/presentation.js +8 -0
  136. package/dist/experiment/host/presentation.js.map +1 -0
  137. package/dist/experiment/host/teardown.cjs +394 -0
  138. package/dist/experiment/host/teardown.cjs.map +1 -0
  139. package/dist/experiment/host/teardown.d.cts +5 -0
  140. package/dist/experiment/host/teardown.d.mts +5 -0
  141. package/dist/experiment/host/teardown.d.ts +5 -0
  142. package/dist/experiment/host/teardown.js +8 -0
  143. package/dist/experiment/host/teardown.js.map +1 -0
  144. package/dist/experiment/host/types.cjs +9 -0
  145. package/dist/experiment/host/types.cjs.map +1 -0
  146. package/dist/experiment/host/types.d.cts +423 -0
  147. package/dist/experiment/host/types.d.mts +423 -0
  148. package/dist/experiment/host/types.d.ts +423 -0
  149. package/dist/experiment/host/types.js +6 -0
  150. package/dist/experiment/host/types.js.map +1 -0
  151. package/dist/i18n/en.cjs +8 -50
  152. package/dist/i18n/en.cjs.map +1 -1
  153. package/dist/i18n/en.d.cts +2 -6
  154. package/dist/i18n/en.d.mts +2 -6
  155. package/dist/i18n/en.d.ts +2 -6
  156. package/dist/o11y/project.json +6 -0
  157. package/dist/project/cli/contribution.cjs +66 -0
  158. package/dist/project/cli/contribution.cjs.map +1 -0
  159. package/dist/project/cli/contribution.d.cts +17 -0
  160. package/dist/project/cli/contribution.d.mts +17 -0
  161. package/dist/project/cli/contribution.d.ts +17 -0
  162. package/dist/project/cli/contribution.js +8 -0
  163. package/dist/project/cli/contribution.js.map +1 -0
  164. package/dist/project/cli/index.cjs +7 -0
  165. package/dist/project/cli/index.cjs.map +1 -0
  166. package/dist/project/cli/index.d.cts +1 -0
  167. package/dist/project/cli/index.d.mts +1 -0
  168. package/dist/project/cli/index.d.ts +1 -0
  169. package/dist/project/cli/index.js +8 -0
  170. package/dist/project/cli/index.js.map +1 -0
  171. package/dist/project/host/index.cjs +11 -0
  172. package/dist/project/host/index.cjs.map +1 -0
  173. package/dist/project/host/index.d.cts +4 -0
  174. package/dist/project/host/index.d.mts +4 -0
  175. package/dist/project/host/index.d.ts +4 -0
  176. package/dist/project/host/index.js +14 -0
  177. package/dist/project/host/index.js.map +1 -0
  178. package/dist/project/host/index.mjs +14 -0
  179. package/dist/project/host/index.mjs.map +1 -0
  180. package/dist/project/host.cjs +59 -0
  181. package/dist/project/host.cjs.map +1 -0
  182. package/dist/project/host.d.cts +17 -0
  183. package/dist/project/host.d.mts +17 -0
  184. package/dist/project/host.d.ts +17 -0
  185. package/dist/project/host.js +6 -0
  186. package/dist/project/host.js.map +1 -0
  187. package/dist/project/index.cjs +11 -0
  188. package/dist/project/index.cjs.map +1 -0
  189. package/dist/project/index.d.cts +4 -0
  190. package/dist/project/index.d.mts +4 -0
  191. package/dist/project/index.d.ts +4 -0
  192. package/dist/project/index.js +14 -0
  193. package/dist/project/index.js.map +1 -0
  194. package/dist/project/node.cjs +91 -0
  195. package/dist/project/node.cjs.map +1 -0
  196. package/dist/project/node.d.cts +6 -0
  197. package/dist/project/node.d.mts +6 -0
  198. package/dist/project/node.d.ts +6 -0
  199. package/dist/project/node.js +12 -0
  200. package/dist/project/node.js.map +1 -0
  201. package/dist/project/services.cjs +17 -0
  202. package/dist/project/services.cjs.map +1 -0
  203. package/dist/project/services.d.cts +47 -0
  204. package/dist/project/services.d.mts +47 -0
  205. package/dist/project/services.d.ts +47 -0
  206. package/dist/project/services.js +12 -0
  207. package/dist/project/services.js.map +1 -0
  208. package/dist/project/templates.cjs +28 -0
  209. package/dist/project/templates.cjs.map +1 -0
  210. package/dist/project/templates.d.cts +4 -0
  211. package/dist/project/templates.d.mts +4 -0
  212. package/dist/project/templates.d.ts +4 -0
  213. package/dist/project/templates.js +12 -0
  214. package/dist/project/templates.js.map +1 -0
  215. package/dist/project.json +6 -0
  216. package/dist/record/family/catalog.d.cts +10 -10
  217. package/dist/record/family/catalog.d.mts +10 -10
  218. package/dist/record/family/catalog.d.ts +10 -10
  219. package/dist/record/family/file-changes.d.cts +8 -8
  220. package/dist/record/family/file-changes.d.mts +8 -8
  221. package/dist/record/family/file-changes.d.ts +8 -8
  222. package/dist/record/host/cli/contribution.cjs +206 -0
  223. package/dist/record/host/cli/contribution.cjs.map +1 -0
  224. package/dist/record/host/cli/contribution.d.cts +32 -0
  225. package/dist/record/host/cli/contribution.d.mts +32 -0
  226. package/dist/record/host/cli/contribution.d.ts +32 -0
  227. package/dist/record/host/cli/contribution.js +10 -0
  228. package/dist/record/host/cli/contribution.js.map +1 -0
  229. package/dist/record/host/cli/index.cjs +8 -0
  230. package/dist/record/host/cli/index.cjs.map +1 -0
  231. package/dist/record/host/cli/index.d.cts +1 -0
  232. package/dist/record/host/cli/index.d.mts +1 -0
  233. package/dist/record/host/cli/index.d.ts +1 -0
  234. package/dist/record/host/cli/index.js +10 -0
  235. package/dist/record/host/cli/index.js.map +1 -0
  236. package/dist/record/host/cli/presentation.cjs +122 -0
  237. package/dist/record/host/cli/presentation.cjs.map +1 -0
  238. package/dist/record/host/cli/presentation.d.cts +7 -0
  239. package/dist/record/host/cli/presentation.d.mts +7 -0
  240. package/dist/record/host/cli/presentation.d.ts +7 -0
  241. package/dist/record/host/cli/presentation.js +12 -0
  242. package/dist/record/host/cli/presentation.js.map +1 -0
  243. package/dist/record/host/index.cjs.map +1 -1
  244. package/dist/record/host/index.d.cts +1 -1
  245. package/dist/record/host/index.d.mts +1 -1
  246. package/dist/record/host/index.d.ts +1 -1
  247. package/dist/record/host/runtime.cjs +184 -1
  248. package/dist/record/host/runtime.cjs.map +1 -1
  249. package/dist/record/host/types.cjs.map +1 -1
  250. package/dist/record/host/types.d.cts +120 -0
  251. package/dist/record/host/types.d.mts +120 -0
  252. package/dist/record/host/types.d.ts +120 -0
  253. package/dist/record/project.json +6 -0
  254. package/dist/report/assets/styles.css +80 -0
  255. package/dist/report/cli/contribution.cjs +325 -0
  256. package/dist/report/cli/contribution.cjs.map +1 -0
  257. package/dist/report/cli/contribution.d.cts +143 -0
  258. package/dist/report/cli/contribution.d.mts +143 -0
  259. package/dist/report/cli/contribution.d.ts +143 -0
  260. package/dist/report/cli/contribution.js +12 -0
  261. package/dist/report/cli/contribution.js.map +1 -0
  262. package/dist/report/client-dist/app.js +9 -9
  263. package/dist/report/components/attempt-detail/content.cjs +1 -1
  264. package/dist/report/components/attempt-detail/content.cjs.map +1 -1
  265. package/dist/report/components/entity-lists/compute.cjs +5 -0
  266. package/dist/report/components/entity-lists/compute.cjs.map +1 -1
  267. package/dist/report/components/entity-lists/compute.d.cts +2 -0
  268. package/dist/report/components/entity-lists/compute.d.mts +2 -0
  269. package/dist/report/components/entity-lists/compute.d.ts +2 -0
  270. package/dist/report/components/entity-lists/content.cjs +35 -12
  271. package/dist/report/components/entity-lists/content.cjs.map +1 -1
  272. package/dist/report/components/entity-lists/index.cjs +0 -3
  273. package/dist/report/components/entity-lists/index.cjs.map +1 -1
  274. package/dist/report/components/summaries/index.cjs +2 -4
  275. package/dist/report/components/summaries/index.cjs.map +1 -1
  276. package/dist/report/definition/cell.cjs +7 -2
  277. package/dist/report/definition/cell.cjs.map +1 -1
  278. package/dist/report/definition/cell.d.cts +2 -0
  279. package/dist/report/definition/cell.d.mts +2 -0
  280. package/dist/report/definition/cell.d.ts +2 -0
  281. package/dist/report/definition/primitives/assertion-evidence.cjs +190 -4
  282. package/dist/report/definition/primitives/assertion-evidence.cjs.map +1 -1
  283. package/dist/report/definition/primitives/assertion-evidence.d.cts +4 -0
  284. package/dist/report/definition/primitives/assertion-evidence.d.mts +4 -0
  285. package/dist/report/definition/primitives/assertion-evidence.d.ts +4 -0
  286. package/dist/report/execution/machine.cjs +2 -3
  287. package/dist/report/execution/machine.cjs.map +1 -1
  288. package/dist/report/execution/machine.d.cts +11 -8
  289. package/dist/report/execution/machine.d.mts +11 -8
  290. package/dist/report/execution/machine.d.ts +11 -8
  291. package/dist/report/host/from-record.cjs +13 -8
  292. package/dist/report/host/from-record.cjs.map +1 -1
  293. package/dist/report/host/index.cjs +5 -1
  294. package/dist/report/host/index.cjs.map +1 -1
  295. package/dist/report/host/index.d.cts +1 -0
  296. package/dist/report/host/index.d.mts +1 -0
  297. package/dist/report/host/index.d.ts +1 -0
  298. package/dist/report/host/index.js +8 -2
  299. package/dist/report/host/index.mjs +8 -2
  300. package/dist/report/host/machine.cjs +23 -22
  301. package/dist/report/host/machine.cjs.map +1 -1
  302. package/dist/report/host/machine.d.cts +1 -1
  303. package/dist/report/host/machine.d.mts +1 -1
  304. package/dist/report/host/machine.d.ts +1 -1
  305. package/dist/report/host/node/loader.cjs +4 -2
  306. package/dist/report/host/node/loader.cjs.map +1 -1
  307. package/dist/report/host/node/loader.d.cts +3 -1
  308. package/dist/report/host/node/loader.d.mts +3 -1
  309. package/dist/report/host/node/loader.d.ts +3 -1
  310. package/dist/report/host/node.cjs +44 -9
  311. package/dist/report/host/node.cjs.map +1 -1
  312. package/dist/report/host/node.d.cts +13 -3
  313. package/dist/report/host/node.d.mts +13 -3
  314. package/dist/report/host/node.d.ts +13 -3
  315. package/dist/report/host/node.js +44 -32
  316. package/dist/report/host/operations.cjs +14 -0
  317. package/dist/report/host/operations.cjs.map +1 -0
  318. package/dist/report/host/operations.d.cts +39 -0
  319. package/dist/report/host/operations.d.mts +39 -0
  320. package/dist/report/host/operations.d.ts +39 -0
  321. package/dist/report/host/operations.js +10 -0
  322. package/dist/report/host/operations.js.map +1 -0
  323. package/dist/report/model/chart/plot.cjs +1 -1
  324. package/dist/report/model/chart/plot.cjs.map +1 -1
  325. package/dist/report/model/locale.cjs +4 -0
  326. package/dist/report/model/locale.cjs.map +1 -1
  327. package/dist/report/model/locale.d.cts +3 -1
  328. package/dist/report/model/locale.d.mts +3 -1
  329. package/dist/report/model/locale.d.ts +3 -1
  330. package/dist/report/react/styles.css +80 -0
  331. package/dist/runner/build-preparation.cjs +5 -5
  332. package/dist/runner/build-preparation.cjs.map +1 -1
  333. package/dist/runner/build-preparation.d.cts +2 -3
  334. package/dist/runner/build-preparation.d.mts +2 -3
  335. package/dist/runner/build-preparation.d.ts +2 -3
  336. package/dist/runner/feedback/coordinator.cjs +18 -15
  337. package/dist/runner/feedback/coordinator.cjs.map +1 -1
  338. package/dist/runner/feedback/coordinator.d.cts +6 -0
  339. package/dist/runner/feedback/coordinator.d.mts +6 -0
  340. package/dist/runner/feedback/coordinator.d.ts +6 -0
  341. package/dist/runner/ledger.cjs +3 -13
  342. package/dist/runner/ledger.cjs.map +1 -1
  343. package/dist/runner/ledger.d.cts +1 -3
  344. package/dist/runner/ledger.d.mts +1 -3
  345. package/dist/runner/ledger.d.ts +1 -3
  346. package/dist/runner/run.cjs +63 -18
  347. package/dist/runner/run.cjs.map +1 -1
  348. package/dist/runner/session.cjs +10 -0
  349. package/dist/runner/session.cjs.map +1 -1
  350. package/dist/runner/session.d.cts +25 -0
  351. package/dist/runner/session.d.mts +25 -0
  352. package/dist/runner/session.d.ts +25 -0
  353. package/dist/runner/types.cjs.map +1 -1
  354. package/dist/runner/types.d.cts +1 -2
  355. package/dist/runner/types.d.mts +1 -2
  356. package/dist/runner/types.d.ts +1 -2
  357. package/dist/sandbox/build-coordinator.cjs +38 -19
  358. package/dist/sandbox/build-coordinator.cjs.map +1 -1
  359. package/dist/sandbox/build-coordinator.d.cts +47 -7
  360. package/dist/sandbox/build-coordinator.d.mts +47 -7
  361. package/dist/sandbox/build-coordinator.d.ts +47 -7
  362. package/dist/sandbox/build-coordinator.js +8 -4
  363. package/dist/sandbox/cli/contribution.cjs +128 -0
  364. package/dist/sandbox/cli/contribution.cjs.map +1 -0
  365. package/dist/sandbox/cli/contribution.d.cts +71 -0
  366. package/dist/sandbox/cli/contribution.d.mts +71 -0
  367. package/dist/sandbox/cli/contribution.d.ts +71 -0
  368. package/dist/sandbox/cli/contribution.js +8 -0
  369. package/dist/sandbox/cli/contribution.js.map +1 -0
  370. package/dist/sandbox/cli-commands.cjs +14 -21
  371. package/dist/sandbox/cli-commands.cjs.map +1 -1
  372. package/dist/sandbox/cli-commands.d.cts +12 -8
  373. package/dist/sandbox/cli-commands.d.mts +12 -8
  374. package/dist/sandbox/cli-commands.d.ts +12 -8
  375. package/dist/sandbox/compose.cjs +22 -2
  376. package/dist/sandbox/compose.cjs.map +1 -1
  377. package/dist/sandbox/compose.d.cts +1 -1
  378. package/dist/sandbox/compose.d.mts +1 -1
  379. package/dist/sandbox/compose.d.ts +1 -1
  380. package/dist/sandbox/docker-profile/cli.cjs +13 -9
  381. package/dist/sandbox/docker-profile/cli.cjs.map +1 -1
  382. package/dist/sandbox/docker-profile/cli.d.cts +2 -0
  383. package/dist/sandbox/docker-profile/cli.d.mts +2 -0
  384. package/dist/sandbox/docker-profile/cli.d.ts +2 -0
  385. package/dist/sandbox/docker-profile/runtime.cjs +68 -7
  386. package/dist/sandbox/docker-profile/runtime.cjs.map +1 -1
  387. package/dist/sandbox/docker-profile/runtime.d.cts +19 -1
  388. package/dist/sandbox/docker-profile/runtime.d.mts +19 -1
  389. package/dist/sandbox/docker-profile/runtime.d.ts +19 -1
  390. package/dist/sandbox/docker-profile/runtime.js +10 -8
  391. package/dist/sandbox/docker-profile/schema.cjs +68 -19
  392. package/dist/sandbox/docker-profile/schema.cjs.map +1 -1
  393. package/dist/sandbox/docker-profile/schema.d.cts +23 -9
  394. package/dist/sandbox/docker-profile/schema.d.mts +23 -9
  395. package/dist/sandbox/docker-profile/schema.d.ts +23 -9
  396. package/dist/sandbox/docker-task-build-cache.cjs +532 -0
  397. package/dist/sandbox/docker-task-build-cache.cjs.map +1 -0
  398. package/dist/sandbox/docker-task-build-cache.d.cts +68 -0
  399. package/dist/sandbox/docker-task-build-cache.d.mts +68 -0
  400. package/dist/sandbox/docker-task-build-cache.d.ts +68 -0
  401. package/dist/sandbox/docker-task-build-cache.js +20 -0
  402. package/dist/sandbox/docker-task-build-cache.js.map +1 -0
  403. package/dist/sandbox/docker.cjs +50 -0
  404. package/dist/sandbox/docker.cjs.map +1 -1
  405. package/dist/sandbox/docker.d.cts +15 -0
  406. package/dist/sandbox/docker.d.mts +15 -0
  407. package/dist/sandbox/docker.d.ts +15 -0
  408. package/dist/sandbox/dockerfile-build.cjs +55 -5
  409. package/dist/sandbox/dockerfile-build.cjs.map +1 -1
  410. package/dist/sandbox/dockerfile-build.d.cts +2 -2
  411. package/dist/sandbox/dockerfile-build.d.mts +2 -2
  412. package/dist/sandbox/dockerfile-build.d.ts +2 -2
  413. package/dist/sandbox/index.cjs +5 -3
  414. package/dist/sandbox/index.cjs.map +1 -1
  415. package/dist/sandbox/index.d.cts +4 -3
  416. package/dist/sandbox/index.d.mts +4 -3
  417. package/dist/sandbox/index.d.ts +4 -3
  418. package/dist/sandbox/index.js +16 -14
  419. package/dist/sandbox/index.mjs +16 -14
  420. package/dist/sandbox/keep.cjs +1 -3
  421. package/dist/sandbox/keep.cjs.map +1 -1
  422. package/dist/sandbox/layer.cjs +70 -79
  423. package/dist/sandbox/layer.cjs.map +1 -1
  424. package/dist/sandbox/layer.d.cts +6 -12
  425. package/dist/sandbox/layer.d.mts +6 -12
  426. package/dist/sandbox/layer.d.ts +6 -12
  427. package/dist/sandbox/layer.js +16 -18
  428. package/dist/sandbox/ledger-paths.cjs +4 -18
  429. package/dist/sandbox/ledger-paths.cjs.map +1 -1
  430. package/dist/sandbox/ledger-paths.d.cts +3 -13
  431. package/dist/sandbox/ledger-paths.d.mts +3 -13
  432. package/dist/sandbox/ledger-paths.d.ts +3 -13
  433. package/dist/sandbox/ledger-paths.js +4 -8
  434. package/dist/sandbox/registry.cjs +1 -1
  435. package/dist/sandbox/registry.cjs.map +1 -1
  436. package/dist/sandbox/runtime.cjs +27 -37
  437. package/dist/sandbox/runtime.cjs.map +1 -1
  438. package/dist/sandbox/runtime.d.cts +1 -2
  439. package/dist/sandbox/runtime.d.mts +1 -2
  440. package/dist/sandbox/runtime.d.ts +1 -2
  441. package/dist/sandbox/runtime.js +6 -8
  442. package/dist/sandbox/types.cjs.map +1 -1
  443. package/dist/sandbox/types.d.cts +3 -3
  444. package/dist/sandbox/types.d.mts +3 -3
  445. package/dist/sandbox/types.d.ts +3 -3
  446. package/dist/sources/project.json +6 -0
  447. package/dist/vendor/remark/remark-gfm.cjs +72 -72
  448. package/dist/vendor/remark/remark-gfm.cjs.map +1 -1
  449. package/dist/vendor/remark/remark-parse.cjs +54 -54
  450. package/dist/vendor/remark/remark-parse.cjs.map +1 -1
  451. package/dist/vendor/remark/remark.cjs +125 -125
  452. package/dist/vendor/remark/remark.cjs.map +2 -2
  453. package/docs-site/zh/README.md +1 -1
  454. package/docs-site/zh/explanation/assert.mdx +4 -0
  455. package/docs-site/zh/explanation/judge.mdx +40 -9
  456. package/docs-site/zh/reference/cli.mdx +67 -43
  457. package/docs-site/zh/reference/define-agent.mdx +2 -2
  458. package/docs-site/zh/reference/report-components.mdx +4 -3
  459. package/docs-site/zh/troubleshooting/debug-sandbox.mdx +6 -0
  460. package/docs-site/zh/troubleshooting/debugging.mdx +28 -1
  461. package/docs-site/zh/tutorials/agent-feedback-loop.mdx +4 -2
  462. package/docs-site/zh/tutorials/concurrency.mdx +2 -2
  463. package/docs-site/zh/tutorials/custom-reports.mdx +175 -9
  464. package/docs-site/zh/tutorials/docker-in-docker.mdx +52 -7
  465. package/docs-site/zh/tutorials/eval-groups.mdx +1 -2
  466. package/docs-site/zh/tutorials/evaluation-kinds.mdx +39 -6
  467. package/docs-site/zh/tutorials/nixos-managed-dind.mdx +14 -5
  468. package/docs-site/zh/tutorials/sandbox-providers.mdx +1 -28
  469. package/docs-site/zh/tutorials/sandbox-reuse.mdx +1 -1
  470. package/docs-site/zh/tutorials/viewing-results.mdx +2 -0
  471. package/package.json +24 -19
  472. package/README.md +0 -176
  473. package/README.zh.md +0 -176
  474. package/dist/cli/record.cjs +0 -246
  475. package/dist/cli/record.cjs.map +0 -1
  476. package/dist/cli/record.d.cts +0 -40
  477. package/dist/cli/record.d.mts +0 -40
  478. package/dist/cli/record.d.ts +0 -40
  479. package/dist/cli/record.js +0 -10
  480. package/dist/cli/record.js.map +0 -1
  481. package/dist/sandbox/local.cjs +0 -361
  482. package/dist/sandbox/local.cjs.map +0 -1
  483. package/dist/sandbox/local.d.cts +0 -80
  484. package/dist/sandbox/local.d.mts +0 -80
  485. package/dist/sandbox/local.d.ts +0 -80
  486. package/dist/sandbox/local.js +0 -6
  487. package/dist/sandbox/local.js.map +0 -1
@@ -0,0 +1,423 @@
1
+ import { type Effect } from "effect";
2
+ import type { Config } from "../../types.js";
3
+ import type { AnalysisCurrentSlotIdentity, AnalysisSelectionRequest } from "../../analysis/contracts.js";
4
+ import type { RecordAutomaticMigrationResult } from "../../record/host/types.js";
5
+ import type { FeedbackCoordinator } from "../../runner/feedback/coordinator.js";
6
+ import type { InvocationCompletion } from "../../runner/types.js";
7
+ import type { SessionListDocument, SessionShowDocument } from "../../runner/session.js";
8
+ import type { CurrentReuseReadbackSnapshot } from "../../runner/reuse-readback.js";
9
+ export type ExperimentHostJsonValue = null | boolean | number | string | readonly ExperimentHostJsonValue[] | {
10
+ readonly [key: string]: ExperimentHostJsonValue;
11
+ };
12
+ /** Services supplied once by the outer Node/application composition edge. */
13
+ export type ExperimentHostRequirements = import("../../record/platform/services.js").RecordFileSystem | import("../../record/platform/services.js").RecordEntropy | import("../../record/platform/services.js").RecordGit | import("../../coordination/record-leases.js").RecordCoordination;
14
+ export type ExperimentHostOperation = "catalog" | "check" | "debug" | "invocation-plan" | "invocation-run" | "rename-plan" | "rename-apply" | "accept" | "resolve-project-current" | "invocation-status-list" | "invocation-status-show" | "teardown-inspect" | "teardown-run";
15
+ declare const ExperimentHostError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
16
+ readonly _tag: "ExperimentHostError";
17
+ } & Readonly<A>;
18
+ /** Stable typed failure boundary; defects and interruption remain separate. */
19
+ export declare class ExperimentHostError extends ExperimentHostError_base<{
20
+ readonly operation: ExperimentHostOperation;
21
+ readonly code: string;
22
+ readonly message: string;
23
+ }> {
24
+ }
25
+ /** Inputs shared by discovery, link checking, and invocation planning. */
26
+ export interface ExperimentHostSelectionInput {
27
+ readonly cwd: string;
28
+ readonly experimentSelector?: string;
29
+ readonly evalSelectors?: readonly string[];
30
+ readonly tag?: string;
31
+ }
32
+ export interface ExperimentHostEvalSummary {
33
+ readonly id: string;
34
+ readonly description?: string;
35
+ readonly tags: readonly string[];
36
+ readonly evaluationKind: "pass" | "score";
37
+ }
38
+ export interface ExperimentHostExperimentSummary {
39
+ readonly id: string;
40
+ readonly description?: string;
41
+ readonly agent: string;
42
+ readonly model?: string;
43
+ readonly attempts: number;
44
+ readonly evalIds: readonly string[];
45
+ readonly labels: Readonly<Record<string, string | number>>;
46
+ readonly hasSetup: boolean;
47
+ readonly hasTeardown: boolean;
48
+ readonly sharedStateKey?: string;
49
+ }
50
+ export interface ExperimentHostCatalog {
51
+ readonly status: "listed";
52
+ readonly evals: readonly ExperimentHostEvalSummary[];
53
+ readonly experimentIds: readonly string[];
54
+ readonly experiments: readonly ExperimentHostExperimentSummary[];
55
+ }
56
+ export type ExperimentHostSelectionProblem = {
57
+ readonly status: "experiment-no-match";
58
+ readonly selector: string;
59
+ readonly candidates: readonly string[];
60
+ } | {
61
+ readonly status: "eval-no-match";
62
+ readonly selector: string;
63
+ readonly experimentIds: readonly string[];
64
+ readonly candidates: readonly string[];
65
+ } | {
66
+ readonly status: "empty-selection";
67
+ readonly experimentIds: readonly string[];
68
+ readonly candidates: readonly string[];
69
+ };
70
+ export interface ExperimentHostRunOverrides {
71
+ readonly attempts?: number;
72
+ readonly earlyExit?: boolean;
73
+ readonly timeoutMs?: number;
74
+ readonly budget?: number;
75
+ readonly rerun?: "failed" | "all";
76
+ readonly keepSandbox?: "failed" | "all";
77
+ readonly maxConcurrency?: number;
78
+ readonly maxBuildConcurrency?: number;
79
+ }
80
+ export interface ExperimentHostCheckRequest extends ExperimentHostSelectionInput {
81
+ readonly config: Config;
82
+ readonly overrides?: ExperimentHostRunOverrides;
83
+ }
84
+ export type ExperimentHostCheckResult = ExperimentHostSelectionProblem | {
85
+ readonly status: "linked";
86
+ readonly experimentIds: readonly string[];
87
+ readonly evalIds: readonly string[];
88
+ readonly pairCount: number;
89
+ };
90
+ declare const invocationPlanBrand: unique symbol;
91
+ /**
92
+ * Opaque in-memory authority issued by `experimentHost.invocation.plan`.
93
+ * Its Runner graph is held in Host-private storage and cannot be forged or
94
+ * reconstructed by a CLI.
95
+ */
96
+ export interface ExperimentHostInvocationPlan {
97
+ readonly [invocationPlanBrand]: typeof invocationPlanBrand;
98
+ }
99
+ export interface ExperimentHostInvocationShape {
100
+ readonly experiments: number;
101
+ readonly evals: number;
102
+ readonly configurations: number;
103
+ readonly totalAttempts: number;
104
+ readonly attempts: number;
105
+ readonly maxConcurrency: number;
106
+ readonly maxBuildConcurrency: number;
107
+ readonly experimentConcurrency: Readonly<Record<string, number>>;
108
+ }
109
+ export interface ExperimentHostDrySlotTarget {
110
+ readonly runId: string;
111
+ readonly slotId: string;
112
+ readonly experimentId: string;
113
+ readonly evalId: string;
114
+ readonly evalGroupId?: string;
115
+ readonly evalGroupIndex?: number;
116
+ readonly attempt: number;
117
+ }
118
+ export interface ExperimentHostDryComparison {
119
+ readonly attachment: string;
120
+ readonly recordedClaim: string;
121
+ readonly sourceState: string;
122
+ readonly result: string;
123
+ readonly reason: string;
124
+ }
125
+ export type ExperimentHostDrySlot = {
126
+ readonly state: "reuse";
127
+ readonly target: ExperimentHostDrySlotTarget;
128
+ readonly source: {
129
+ readonly attemptId: string;
130
+ readonly originRunId: string;
131
+ readonly originSlotId: string;
132
+ readonly sourceRunId: string;
133
+ };
134
+ readonly comparisons: readonly ExperimentHostDryComparison[];
135
+ } | {
136
+ readonly state: "gap";
137
+ readonly target: ExperimentHostDrySlotTarget;
138
+ readonly reason: string;
139
+ readonly scope: "slot" | "experiment" | "target";
140
+ readonly issues: readonly ExperimentHostJsonValue[];
141
+ readonly comparisons: readonly ExperimentHostDryComparison[];
142
+ };
143
+ export interface ExperimentHostDryPlan {
144
+ readonly policy: {
145
+ readonly name: "project-target";
146
+ readonly version: 1;
147
+ };
148
+ readonly slots: readonly ExperimentHostDrySlot[];
149
+ readonly readbacks: readonly CurrentReuseReadbackSnapshot[];
150
+ readonly lockedPairs: readonly string[];
151
+ }
152
+ export type ExperimentHostInvocationPlanResult = (ExperimentHostSelectionProblem | {
153
+ readonly status: "ready";
154
+ readonly plan: ExperimentHostInvocationPlan;
155
+ readonly shape: ExperimentHostInvocationShape;
156
+ readonly experimentIds: readonly string[];
157
+ readonly evalIds: readonly string[];
158
+ readonly pluginAudit: {
159
+ readonly occurrences: readonly ExperimentHostJsonValue[];
160
+ };
161
+ readonly dry?: ExperimentHostDryPlan;
162
+ }) & {
163
+ /** Exact Record Host result for the ordinary-entry migration notice. */
164
+ readonly automaticMigration: RecordAutomaticMigrationResult;
165
+ };
166
+ export interface ExperimentHostInvocationPlanRequest extends ExperimentHostSelectionInput {
167
+ readonly config: Config;
168
+ /** Host path to the portable Record root; defaults to cwd/.niceeval/record. */
169
+ readonly recordRoot?: string;
170
+ /** Host path to process coordination state; defaults to cwd/.niceeval. */
171
+ readonly coordinationRoot?: string;
172
+ readonly overrides?: ExperimentHostRunOverrides;
173
+ readonly preview?: boolean;
174
+ }
175
+ /** Lossless Experiment presentation owned by the calling Host surface. */
176
+ export interface ExperimentHostInvocationFeedback {
177
+ readonly coordinator: FeedbackCoordinator;
178
+ }
179
+ export interface ExperimentHostInvocationRunRequest {
180
+ readonly plan: ExperimentHostInvocationPlan;
181
+ readonly signal?: AbortSignal;
182
+ readonly feedback?: ExperimentHostInvocationFeedback;
183
+ /** Optional required JUnit reporter target, owned and invoked inside Host. */
184
+ readonly junitPath?: string;
185
+ }
186
+ /**
187
+ * Closed project-current selection issued by the Experiment Host. It carries
188
+ * identities, never a Runner, reader, or project discovery capability.
189
+ */
190
+ export interface ExperimentHostProjectCurrentTarget {
191
+ readonly selection: AnalysisSelectionRequest;
192
+ readonly currentSlots: readonly AnalysisCurrentSlotIdentity[];
193
+ /** Source files whose changes require a fresh project-current calculation. */
194
+ readonly watchInputs: readonly string[];
195
+ }
196
+ export interface ExperimentHostProjectCurrentRequest {
197
+ readonly cwd: string;
198
+ readonly config: Config;
199
+ /** Exact Experiment selectors supplied by a Report-facing caller. */
200
+ readonly experimentSelectors?: readonly string[];
201
+ /** Rebuild trusted definition modules before resolving the target. */
202
+ readonly freshImport?: boolean;
203
+ }
204
+ /**
205
+ * Invocation status is project-local and ephemeral. It is an observation of
206
+ * the coordination directory, not recoverable Record fact data.
207
+ */
208
+ export interface ExperimentHostInvocationStatusListRequest {
209
+ readonly cwd: string;
210
+ readonly all?: boolean;
211
+ readonly experimentSelector?: string;
212
+ }
213
+ export interface ExperimentHostInvocationStatusShowRequest {
214
+ readonly cwd: string;
215
+ readonly invocationSelector: string;
216
+ }
217
+ export type ExperimentHostInvocationStatusList = SessionListDocument;
218
+ export type ExperimentHostInvocationStatusShow = SessionShowDocument;
219
+ export interface ExperimentHostInvocationReceipt {
220
+ readonly invocationId: string;
221
+ readonly runIds: readonly string[];
222
+ readonly startedAt: string;
223
+ readonly completedAt?: string;
224
+ readonly completion: "completed" | "interrupted" | "failed";
225
+ }
226
+ export interface ExperimentHostInvocationSummary {
227
+ readonly total: number;
228
+ readonly passed: number;
229
+ readonly failed: number;
230
+ readonly skipped: number;
231
+ readonly errored: number;
232
+ readonly durationMs: number;
233
+ readonly inputTokens?: number;
234
+ readonly outputTokens?: number;
235
+ readonly estimatedCostUSD?: number;
236
+ }
237
+ export interface ExperimentHostInvocationResult {
238
+ readonly status: "finished";
239
+ readonly receipt: ExperimentHostInvocationReceipt;
240
+ readonly summary: ExperimentHostInvocationSummary;
241
+ /** Present when the caller supplied the one feedback reducer/presentation. */
242
+ readonly completion?: InvocationCompletion;
243
+ /** Exact CLI exit fold for the supplied presentation. */
244
+ readonly exitCode?: number;
245
+ }
246
+ export interface ExperimentHostRenameRequest {
247
+ readonly cwd: string;
248
+ readonly oldId: string;
249
+ readonly newId: string;
250
+ readonly recordRoot?: string;
251
+ readonly sourceRunId?: string;
252
+ readonly config?: Config;
253
+ readonly operatorReason?: string;
254
+ }
255
+ export type ExperimentHostRenameReason = "source-empty" | "target-not-found" | "target-has-results" | "source-unreadable" | "artifact-unavailable" | "nothing-to-migrate";
256
+ export interface ExperimentHostRenamePlan {
257
+ readonly status: "plan";
258
+ readonly oldId: string;
259
+ readonly newId: string;
260
+ readonly migrations: readonly {
261
+ readonly evalId: string;
262
+ readonly sourceLocator: string;
263
+ readonly targetExperimentId: string;
264
+ readonly fingerprint: string;
265
+ }[];
266
+ readonly excluded: readonly {
267
+ readonly evalId: string;
268
+ readonly reason: string;
269
+ }[];
270
+ readonly blocked?: {
271
+ readonly reason: ExperimentHostRenameReason;
272
+ readonly evalId?: string;
273
+ readonly conflictingEvals?: readonly string[];
274
+ readonly detail?: string;
275
+ };
276
+ }
277
+ export type ExperimentHostRenameResult = {
278
+ readonly status: "rejected";
279
+ readonly oldId: string;
280
+ readonly newId: string;
281
+ readonly reason: ExperimentHostRenameReason;
282
+ readonly evalId?: string;
283
+ readonly conflictingEvals?: readonly string[];
284
+ readonly detail?: string;
285
+ } | {
286
+ readonly status: "done";
287
+ readonly invocationId: string;
288
+ readonly runId: string;
289
+ readonly snapshotPath: string;
290
+ readonly oldId: string;
291
+ readonly newId: string;
292
+ readonly migrated: readonly {
293
+ readonly evalId: string;
294
+ readonly sourceLocator: string;
295
+ readonly locator: string;
296
+ readonly fingerprint: string;
297
+ readonly verdict: "passed" | "failed";
298
+ }[];
299
+ };
300
+ export interface ExperimentHostAcceptRequest {
301
+ readonly cwd: string;
302
+ readonly locators: readonly string[];
303
+ readonly recordRoot?: string;
304
+ readonly config?: Config;
305
+ readonly operatorReason?: string;
306
+ }
307
+ export interface ExperimentHostAcceptedAttempt {
308
+ readonly invocationId: string;
309
+ readonly runId: string;
310
+ readonly slotId: string;
311
+ readonly locator: string;
312
+ readonly sourceLocator: string;
313
+ readonly fingerprint: string;
314
+ }
315
+ export interface ExperimentHostSharedStateEvidence {
316
+ readonly key: string;
317
+ readonly experimentId: string;
318
+ readonly ownerToken: string;
319
+ readonly host: string;
320
+ readonly pid: number;
321
+ readonly processIdentity: string;
322
+ readonly heartbeatAt: string;
323
+ }
324
+ export interface ExperimentHostTeardownInspectRequest {
325
+ readonly cwd: string;
326
+ readonly experimentSelector?: string;
327
+ readonly coordinationRoot?: string;
328
+ readonly currentHost: string;
329
+ readonly recoveryKey?: string;
330
+ }
331
+ export type ExperimentHostTeardownInspection = {
332
+ readonly status: "no-evidence";
333
+ readonly key: string;
334
+ } | ExperimentHostSelectionProblem | {
335
+ readonly status: "selection-not-unique";
336
+ readonly experimentIds: readonly string[];
337
+ readonly evidence: ExperimentHostSharedStateEvidence;
338
+ } | {
339
+ readonly status: "experiment-mismatch";
340
+ readonly selectedExperimentId: string;
341
+ readonly evidence: ExperimentHostSharedStateEvidence;
342
+ } | {
343
+ readonly status: "teardown-required";
344
+ readonly experimentId: string;
345
+ readonly evidence: ExperimentHostSharedStateEvidence;
346
+ } | {
347
+ readonly status: "ready";
348
+ readonly experimentIds: readonly string[];
349
+ readonly orphanedRegistrations: number;
350
+ readonly evidence?: ExperimentHostSharedStateEvidence;
351
+ };
352
+ export interface ExperimentHostTeardownRequest extends ExperimentHostTeardownInspectRequest {
353
+ readonly observer?: ExperimentHostTeardownObserver;
354
+ readonly signal?: AbortSignal;
355
+ readonly ownerToken?: string;
356
+ readonly confirmOwnerTerminated?: boolean;
357
+ readonly confirmRemoteQuiesced?: boolean;
358
+ }
359
+ export type ExperimentHostTeardownEvent = {
360
+ readonly type: "experiment-progress";
361
+ readonly experimentId: string;
362
+ readonly detail: string;
363
+ } | {
364
+ readonly type: "diagnostic";
365
+ readonly code: string;
366
+ readonly level: "info" | "warning" | "error";
367
+ readonly message: string;
368
+ readonly data?: Readonly<Record<string, ExperimentHostJsonValue>>;
369
+ } | {
370
+ readonly type: "experiment-hook";
371
+ readonly experimentId: string;
372
+ readonly hook: "teardown";
373
+ readonly status: "started" | "done" | "failed";
374
+ readonly durationMs?: number;
375
+ readonly recovery?: true;
376
+ };
377
+ export interface ExperimentHostTeardownObserver {
378
+ readonly observe: (event: ExperimentHostTeardownEvent) => void;
379
+ }
380
+ export type ExperimentHostTeardownResult = ExperimentHostTeardownInspection | {
381
+ readonly status: "completed";
382
+ readonly experiments: readonly {
383
+ readonly experimentId: string;
384
+ readonly executions: number;
385
+ readonly outcome: "succeeded" | "failed" | "not-configured";
386
+ readonly error?: string;
387
+ }[];
388
+ } | {
389
+ readonly status: "recovered" | "already-released";
390
+ readonly key: string;
391
+ readonly experimentId: string;
392
+ readonly ownerToken: string;
393
+ } | {
394
+ readonly status: "recovery-confirmation-required";
395
+ readonly evidence: ExperimentHostSharedStateEvidence;
396
+ } | {
397
+ readonly status: "recovery-teardown-failed";
398
+ readonly evidence: ExperimentHostSharedStateEvidence;
399
+ readonly error: string;
400
+ };
401
+ export interface ExperimentHostHighLevelSDK {
402
+ readonly catalog: (input: ExperimentHostSelectionInput) => Effect.Effect<ExperimentHostCatalog, ExperimentHostError, ExperimentHostRequirements>;
403
+ readonly check: (input: ExperimentHostCheckRequest) => Effect.Effect<ExperimentHostCheckResult, ExperimentHostError, ExperimentHostRequirements>;
404
+ readonly invocation: {
405
+ readonly plan: (input: ExperimentHostInvocationPlanRequest) => Effect.Effect<ExperimentHostInvocationPlanResult, ExperimentHostError, ExperimentHostRequirements>;
406
+ readonly run: (input: ExperimentHostInvocationRunRequest) => Effect.Effect<ExperimentHostInvocationResult, ExperimentHostError, ExperimentHostRequirements>;
407
+ };
408
+ readonly resolveProjectCurrentTarget: (input: ExperimentHostProjectCurrentRequest) => Effect.Effect<ExperimentHostProjectCurrentTarget, ExperimentHostError, ExperimentHostRequirements>;
409
+ readonly invocationStatus: {
410
+ readonly list: (input: ExperimentHostInvocationStatusListRequest) => Effect.Effect<ExperimentHostInvocationStatusList, ExperimentHostError, ExperimentHostRequirements>;
411
+ readonly show: (input: ExperimentHostInvocationStatusShowRequest) => Effect.Effect<ExperimentHostInvocationStatusShow, ExperimentHostError, ExperimentHostRequirements>;
412
+ };
413
+ readonly rename: {
414
+ readonly plan: (input: ExperimentHostRenameRequest) => Effect.Effect<ExperimentHostRenamePlan, ExperimentHostError, ExperimentHostRequirements>;
415
+ readonly apply: (input: ExperimentHostRenameRequest) => Effect.Effect<ExperimentHostRenameResult, ExperimentHostError, ExperimentHostRequirements>;
416
+ };
417
+ readonly teardown: {
418
+ readonly inspect: (input: ExperimentHostTeardownInspectRequest) => Effect.Effect<ExperimentHostTeardownInspection, ExperimentHostError, ExperimentHostRequirements>;
419
+ readonly run: (input: ExperimentHostTeardownRequest) => Effect.Effect<ExperimentHostTeardownResult, ExperimentHostError, ExperimentHostRequirements>;
420
+ };
421
+ readonly accept: (input: ExperimentHostAcceptRequest) => Effect.Effect<readonly ExperimentHostAcceptedAttempt[], ExperimentHostError, ExperimentHostRequirements>;
422
+ }
423
+ export {};
@@ -0,0 +1,6 @@
1
+ import { createRequire as __niceevalCreateRequire } from "node:module";
2
+ const __niceevalRequire = __niceevalCreateRequire(import.meta.url);
3
+ const __niceevalCanonical = __niceevalRequire("./types.cjs");
4
+ const __niceevalExport0 = __niceevalCanonical["ExperimentHostError"];
5
+ export { __niceevalExport0 as ExperimentHostError };
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sources":[],"names":[],"mappings":""}
package/dist/i18n/en.cjs CHANGED
@@ -175,52 +175,15 @@ exports.en = {
175
175
  "loaders.outsideDiscovery": "Read of \"{{path}}\" happened outside discovery: loaders may only be called at the module top level of an eval file (while discovery evaluates that module), which is the only point early enough for the file's content to enter this eval's fingerprint. Move the read to the module top level and keep the result in a constant that test(t) uses; loaders cannot be called at run time from test(t) or from lifecycle hooks.",
176
176
  "loaders.nonFileUrl": "A URL passed to a loader must use the file: protocol, but got {{protocol}} ({{url}}). Pass new URL(relativePath, import.meta.url) instead, or use a plain project-root-relative string path.",
177
177
  "cli.flag.parseError": "{{message}}\nRun `niceeval --help` for usage.\n",
178
+ "cli.command.missing": "No command specified.\nRun `niceeval --help` for usage.\n",
178
179
  "cli.command.unknown": "Unknown command \"{{command}}\".\nRun `niceeval --help` for usage.\n",
179
180
  "cli.help": "niceeval — agent-native evals\n\n" +
180
181
  "Usage:\n" +
181
- " niceeval exp [path|experiment] [eval-id-prefix…] run experiments\n" +
182
- " niceeval exp list [experiment-prefix] list runnable configs (no dispatch)\n" +
183
- " niceeval exp rename <oldId> <newId> rebind terminal results from old to new id\n" +
184
- " --dry preview without writing; --record <root> select the actual Record root; --json one JSON document\n" +
185
- " --teardown recover a killed run: run only the selected experiments'\n" +
186
- " teardown (no attempts, no setup); combining it with eval id prefixes is an error\n" +
187
- " explicit sharedState recovery:\n" +
188
- " niceeval exp <selector> --teardown --recover-shared-state <key>\n" +
189
- " --owner-token <token> --confirm-owner-terminated --confirm-remote-quiesced\n" +
190
- " reads immutable owner evidence from <key>; the selected Experiment must declare a teardown function\n" +
191
- " (its current sharedState declaration may have changed); inspect or recover with human text (not --json)\n" +
192
- " niceeval debug <experiment> <eval> [--json] show the lifecycle command plan\n" +
193
- " niceeval accept @<locator>... accept explicit historical results\n" +
194
- " niceeval show [--run <run-id>...] render a Report in the terminal\n" +
195
- " by default, show reads all results matching the current project identities;\n" +
196
- " --experiment <id> is repeatable and narrows that current target\n" +
197
- " --run <run-id> is repeatable and audits complete historical ids only\n" +
198
- " --record <root> selects the actual Record root (default: .niceeval/record)\n" +
199
- " --report standard (or omit it) uses the built-in standard report; --page <route>\n" +
200
- " selects an exact Report route; --json emits one Report show document\n" +
201
- " niceeval list list discovered evals\n" +
202
- " niceeval session list [--all] [experiment-prefix] query Sessions (read-only)\n" +
203
- " niceeval session show <sessionId> show one Session (read-only)\n" +
204
- " niceeval view [--run <run-id>...] [--out dir] [--port n] [--no-open]\n" +
205
- " uses the same Record selection and built-in standard report as show; live mode\n" +
206
- " binds loopback only and rebuilds fixed ReportExecutions on Record changes\n" +
207
- " --out <dir> exports one completed static site and starts no server\n" +
208
- " niceeval sandbox list|enter|history|diff|stop inspect & destroy sandboxes kept by --keep-sandbox\n" +
209
- " niceeval sandbox list --orphans / prune reclaim instances orphaned by a killed run\n" +
210
- " niceeval clean delete .niceeval/ artifacts\n" +
211
- " niceeval init scaffold config + evals/\n\n" +
212
- "Flags:\n" +
213
- " --attempts n --max-concurrency n --max-build-concurrency n --timeout ms\n" +
214
- " --budget usd --tag t\n" +
215
- " --early-exit / --no-early-exit --rerun[=failed|all] --dry\n" +
216
- " --json (command-specific JSON; exp runs use NDJSON; default is human text)\n" +
217
- " --junit path --out dir --port n --open / --no-open -h, --help -v, --version\n\n" +
218
- "Positional args only select which evals to run (id prefixes); which agent and\n" +
219
- "how to run come from experiments/ + flags. Resolution: flag > experiment >\n" +
220
- "eval (timeoutMs / judge only) > niceeval.config.ts > built-in default, where\n" +
221
- "config is the fallback floor, not an override; --timeout has no built-in default —\n" +
222
- "with none of the four set, an attempt has no deadline. Configuration has no environment layer;\n" +
223
- "environment variables hold credentials such as API keys.\n",
182
+ " niceeval <command> [options]\n\n" +
183
+ "Application options:\n" +
184
+ " -h, --help print this command index\n" +
185
+ " -v, --version print the installed version\n" +
186
+ "\nRun `niceeval <command> --help` for command-specific usage.\n",
224
187
  "cli.show.noResults": "No results found under {{root}}. Run `niceeval exp` first, then `niceeval show`.\n",
225
188
  "cli.show.runDirMissing": "Record directory not found: {{dir}}\n",
226
189
  "cli.show.noEvalMatch": "No results matched: {{pattern}}. Evals with results: {{evals}}\n",
@@ -397,11 +360,6 @@ exports.en = {
397
360
  "live.running": " Running {{totalRuns}} attempts ({{evals}} evals × {{configs}} configs, concurrency {{concurrency}}) {{completed}}/{{total}} done",
398
361
  "live.runningUnknown": " Running... {{completed}}/{{total}} done",
399
362
  "live.waiting": "waiting for a slot...",
400
- "local.commandTimeout": "Command timed out after {{timeoutMs}}ms",
401
- "local.dirMissing": "local sandbox directory does not exist: {{dir}}. Create it first, or point localSandbox({ dir }) at an existing directory.",
402
- "local.dirNotWritable": "local sandbox directory is not writable: {{dir}} ({{message}})",
403
- "local.notARepo": "the current directory (and its parents) is not inside a git repository, so localSandbox() has no deterministic root to run in. cd into the repository you want to evaluate, or pass an explicit directory: localSandbox({ dir: \"/path/to/repo\" }).",
404
- "local.userUnsupported": 'the local sandbox provider does not support execution identity overrides, got { user: "{{user}}" } — niceeval does not escalate or switch identity on your machine. Use a container provider (docker / e2b / vercel) for steps that need a different user.',
405
363
  "report.assertionThreshold": " (got {{score}} < {{threshold}})",
406
364
  "report.error": "error",
407
365
  "report.errored": "errored",
@@ -461,8 +419,8 @@ exports.en = {
461
419
  "runner.useDirectAgent": "using Direct Agent (no Sandbox created)...",
462
420
  "sandbox.deadlineExceedsSession": "error: this attempt's timeout ({{timeoutMs}}ms) is longer than what a single {{provider}} session lives ({{limitMs}}ms); the sandbox would be reclaimed mid-attempt.\n" +
463
421
  " fix: lower timeoutMs below {{limitMs}}ms, or declare a longer lifetimeMs on the sandbox spec if your plan allows it.\n",
464
- "sandbox.providerNotImplemented": "{{provider}} sandbox provider is not implemented; use docker, vercel, e2b, or local",
465
- "sandbox.missingSpec": "sandbox agent needs a template-bearing SandboxLayer, but neither the Eval nor Experiment declared one — use dockerSandbox({ source: { type: \"image\", image } }), dockerSandbox({ source: { type: \"dockerfile\", context } }), dockerComposeSandbox({ file, workspaceService }), vercelSandbox({ snapshotId }), e2bSandbox({ template }), or localSandbox() from \"niceeval/sandbox\".\n" +
422
+ "sandbox.providerNotImplemented": "{{provider}} sandbox provider is not implemented; use docker, vercel, or e2b",
423
+ "sandbox.missingSpec": "sandbox agent needs a template-bearing SandboxLayer, but neither the Eval nor Experiment declared one — use dockerSandbox({ source: { type: \"image\", image } }), dockerSandbox({ source: { type: \"dockerfile\", context } }), dockerComposeSandbox({ file, workspaceService }), vercelSandbox({ snapshotId }), or e2bSandbox({ template }) from \"niceeval/sandbox\".\n" +
466
424
  " Docs: node_modules/niceeval/docs-site/zh/tutorials/sandbox-providers.mdx",
467
425
  "sandbox.dependencyMissing.docker": "Docker sandbox requires 'dockerode'. Install it with: pnpm add dockerode @types/dockerode",
468
426
  "sandbox.dependencyMissing.e2b": "E2B sandbox requires 'e2b'. Install it with: pnpm add e2b",