reeval 0.17.0 → 0.17.2

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 (362) hide show
  1. package/THIRD_PARTY_NOTICES.md +19 -19
  2. package/dist/{adapter-CqUt4A0w.js → adapter-DyvDj4ZN.js} +9 -13
  3. package/dist/adapter-DyvDj4ZN.js.map +1 -0
  4. package/dist/{agent-BtAbRTFq.js → agent-v036GEgG.js} +167 -30
  5. package/dist/agent-v036GEgG.js.map +1 -0
  6. package/dist/{analysis-C2-aEbr7.js → analysis-adKPz-UJ.js} +5 -6
  7. package/dist/{analysis-C2-aEbr7.js.map → analysis-adKPz-UJ.js.map} +1 -1
  8. package/dist/app-files-hpRT5lj_.js +10 -0
  9. package/dist/app-files-hpRT5lj_.js.map +1 -0
  10. package/dist/assemble-DTXwCL3m.js +1 -0
  11. package/dist/{assemble-J9rkE29m.js → assemble-Dlh6Xv3U.js} +23 -23
  12. package/dist/assemble-Dlh6Xv3U.js.map +1 -0
  13. package/dist/{attempt-CpbZ9arV.js → attempt-CtKGvaQR.js} +4 -5
  14. package/dist/{attempt-CpbZ9arV.js.map → attempt-CtKGvaQR.js.map} +1 -1
  15. package/dist/{attempt-host-DDedP7Qv.js → attempt-host-DErH-DYV.js} +9 -11
  16. package/dist/{attempt-host-DDedP7Qv.js.map → attempt-host-DErH-DYV.js.map} +1 -1
  17. package/dist/bridge/index.mjs +9 -5
  18. package/dist/{budget-DBUrH4jX.js → budget-BcxLYY5L.js} +2 -3
  19. package/dist/budget-BcxLYY5L.js.map +1 -0
  20. package/dist/capture-BT2fAmpZ.js +1 -0
  21. package/dist/{capture-DheNqeYS.js → capture-Bdcx9Gap.js} +52 -56
  22. package/dist/capture-Bdcx9Gap.js.map +1 -0
  23. package/dist/{capture-Bvc4FtWT.js → capture-DMBZE9cs.js} +2 -3
  24. package/dist/{capture-Bvc4FtWT.js.map → capture-DMBZE9cs.js.map} +1 -1
  25. package/dist/{cli-KTHjNFoo.js → cli-CGd51thd.js} +118 -94
  26. package/dist/cli-CGd51thd.js.map +1 -0
  27. package/dist/{cli-spec-CPWT1mAG.js → cli-spec-ChkleEVm.js} +2 -3
  28. package/dist/{cli-spec-CPWT1mAG.js.map → cli-spec-ChkleEVm.js.map} +1 -1
  29. package/dist/cli.js +3 -4
  30. package/dist/{client-DMmOkbRA.js → client-CF-DOjOU.js} +6 -8
  31. package/dist/{client-DMmOkbRA.js.map → client-CF-DOjOU.js.map} +1 -1
  32. package/dist/{colors-Y6O3mtl_.js → colors-DcXBvAlU.js} +2 -3
  33. package/dist/{colors-Y6O3mtl_.js.map → colors-DcXBvAlU.js.map} +1 -1
  34. package/dist/{command-Ce03LLtg.js → command-CsfcwMyc.js} +22 -24
  35. package/dist/command-CsfcwMyc.js.map +1 -0
  36. package/dist/{command-nNN0mx65.js → command-CtTdCF3B.js} +17 -21
  37. package/dist/command-CtTdCF3B.js.map +1 -0
  38. package/dist/{command-1FBECMs-.js → command-CyIb9BSC.js} +29 -30
  39. package/dist/command-CyIb9BSC.js.map +1 -0
  40. package/dist/{command-CztRuwUM.js → command-TLmY-rYp.js} +22 -27
  41. package/dist/command-TLmY-rYp.js.map +1 -0
  42. package/dist/{commands-DP13JX9i.js → commands-C54S45d7.js} +51 -21
  43. package/dist/{commands-DP13JX9i.js.map → commands-C54S45d7.js.map} +1 -1
  44. package/dist/{commands-ZwQUezI1.js → commands-jO9Jj35r.js} +1 -1
  45. package/dist/{config-BjjDryd5.js → config-ImY6AlRE.js} +112 -74
  46. package/dist/config-ImY6AlRE.js.map +1 -0
  47. package/dist/{context-Dgn48BqT.js → context-BajfiH0S.js} +4 -5
  48. package/dist/{context-Dgn48BqT.js.map → context-BajfiH0S.js.map} +1 -1
  49. package/dist/{contrasts-DSsRZpR8.js → contrasts-DtSX8E_V.js} +4 -5
  50. package/dist/{contrasts-DSsRZpR8.js.map → contrasts-DtSX8E_V.js.map} +1 -1
  51. package/dist/{core-tLN-z1Be.js → core-CxY40JAs.js} +2 -3
  52. package/dist/{core-tLN-z1Be.js.map → core-CxY40JAs.js.map} +1 -1
  53. package/dist/cost-CMzY9VXv.js +1 -0
  54. package/dist/{cost-ChPa8-Fp.js → cost-e4IppZpJ.js} +5 -6
  55. package/dist/{cost-ChPa8-Fp.js.map → cost-e4IppZpJ.js.map} +1 -1
  56. package/dist/{cursor-catalog-D7bFLEAD.js → cursor-catalog-Bw6-pJjR.js} +6 -7
  57. package/dist/{cursor-catalog-D7bFLEAD.js.map → cursor-catalog-Bw6-pJjR.js.map} +1 -1
  58. package/dist/db-ZIk6S2CD.js +2 -0
  59. package/dist/{db-B9Ityuit.js → db-sHGpaLo9.js} +28 -27
  60. package/dist/db-sHGpaLo9.js.map +1 -0
  61. package/dist/{debug-CgG3T071.js → debug-B5jDImcW.js} +5 -6
  62. package/dist/{debug-CgG3T071.js.map → debug-B5jDImcW.js.map} +1 -1
  63. package/dist/debug-BnXV7JbX.js +1 -0
  64. package/dist/{default-effort-DK8gospa.js → default-effort-BZRa-SQP.js} +12 -9
  65. package/dist/default-effort-BZRa-SQP.js.map +1 -0
  66. package/dist/{default-effort-DmXHpqo9.js → default-effort-fpdbYVKm.js} +1 -1
  67. package/dist/{dist-CYrBwyHA.js → dist-ByYk_wAs.js} +59 -292
  68. package/dist/dist-ByYk_wAs.js.map +1 -0
  69. package/dist/{docker-SKpYOlGi.js → docker--2ytOHcu.js} +20 -11
  70. package/dist/docker--2ytOHcu.js.map +1 -0
  71. package/dist/{docker-BLCNfUie.js → docker-CIzHzwlC.js} +1 -1
  72. package/dist/{docker-hwp3EucJ.js → docker-CWuSRj7a.js} +5 -6
  73. package/dist/{docker-hwp3EucJ.js.map → docker-CWuSRj7a.js.map} +1 -1
  74. package/dist/{doctor-CT0Sgjng.js → doctor-eE65YpEv.js} +26 -27
  75. package/dist/{doctor-CT0Sgjng.js.map → doctor-eE65YpEv.js.map} +1 -1
  76. package/dist/{env-CARj5Axq.js → env-T86lAqUD.js} +3 -4
  77. package/dist/{env-CARj5Axq.js.map → env-T86lAqUD.js.map} +1 -1
  78. package/dist/{environment-CZdercoj.js → environment-Cy3FVLR5.js} +10 -13
  79. package/dist/environment-Cy3FVLR5.js.map +1 -0
  80. package/dist/{errors-BZVKVKYd.js → errors-BQV__TzH.js} +3 -4
  81. package/dist/{errors-BZVKVKYd.js.map → errors-BQV__TzH.js.map} +1 -1
  82. package/dist/{errors-B6BSMs03.js → errors-ttMTnIYX.js} +2 -3
  83. package/dist/{errors-B6BSMs03.js.map → errors-ttMTnIYX.js.map} +1 -1
  84. package/dist/{eval-source-nZD7-FSz.js → eval-source-BTsTRiBW.js} +8 -9
  85. package/dist/{eval-source-nZD7-FSz.js.map → eval-source-BTsTRiBW.js.map} +1 -1
  86. package/dist/{evaluate-fhC1PCd_.js → evaluate-CFFdyYZX.js} +118 -89
  87. package/dist/evaluate-CFFdyYZX.js.map +1 -0
  88. package/dist/{evaluate-CNi0lZ7n.d.ts → evaluate-DnGOaGQc.d.ts} +2 -4
  89. package/dist/files-B3d-8Fe0.js +1 -0
  90. package/dist/{files-Bk1mC3AN.js → files-BGlHnC46.js} +3 -4
  91. package/dist/{files-Bk1mC3AN.js.map → files-BGlHnC46.js.map} +1 -1
  92. package/dist/{files-I1i6Xyh1.js → files-CIX-pLl4.js} +7 -8
  93. package/dist/{files-I1i6Xyh1.js.map → files-CIX-pLl4.js.map} +1 -1
  94. package/dist/files-COW5JBJM.js +1 -0
  95. package/dist/{files-BGy05Dlr.js → files-CQU08uh4.js} +6 -7
  96. package/dist/{files-BGy05Dlr.js.map → files-CQU08uh4.js.map} +1 -1
  97. package/dist/files-Do4Rp3yZ.js +1 -0
  98. package/dist/{files-D1y8Pg4Z.js → files-p-uTdOjA.js} +4 -5
  99. package/dist/{files-D1y8Pg4Z.js.map → files-p-uTdOjA.js.map} +1 -1
  100. package/dist/{files-BIGxpL08.js → files-tnMgu7-X.js} +13 -16
  101. package/dist/files-tnMgu7-X.js.map +1 -0
  102. package/dist/{gate-BC6SdQZs.js → gate-BoDKeuJu.js} +4 -6
  103. package/dist/{gate-BC6SdQZs.js.map → gate-BoDKeuJu.js.map} +1 -1
  104. package/dist/gateway.d.ts +1 -3
  105. package/dist/gateway.js +1 -2
  106. package/dist/{git-DR02tHtU.js → git-BWVkG4Yl.js} +4 -5
  107. package/dist/{git-DR02tHtU.js.map → git-BWVkG4Yl.js.map} +1 -1
  108. package/dist/{harness-ylJLvrbp.js → harness-Ch2P81sx.js} +12 -13
  109. package/dist/harness-Ch2P81sx.js.map +1 -0
  110. package/dist/harness.d.ts +1 -3
  111. package/dist/harness.js +1 -1
  112. package/dist/{ids-Bp6ut7ZD.js → ids-DuK6xl4w.js} +2 -3
  113. package/dist/{ids-Bp6ut7ZD.js.map → ids-DuK6xl4w.js.map} +1 -1
  114. package/dist/{images---X8Wu9d.js → images-BVZHDf_z.js} +9 -10
  115. package/dist/{images---X8Wu9d.js.map → images-BVZHDf_z.js.map} +1 -1
  116. package/dist/index.d.ts +2 -12
  117. package/dist/index.js +5 -5
  118. package/dist/{init-CA95ZnkV.js → init-BWnMbUnc.js} +8 -9
  119. package/dist/{init-CA95ZnkV.js.map → init-BWnMbUnc.js.map} +1 -1
  120. package/dist/init-s1jN-PCI.js +1 -0
  121. package/dist/{invocations-BdoROAfb.js → invocations-BGRs1r_C.js} +6 -8
  122. package/dist/{invocations-BdoROAfb.js.map → invocations-BGRs1r_C.js.map} +1 -1
  123. package/dist/{judge-Dp7FPJ1P.js → judge-ByEUlzOM.js} +10 -15
  124. package/dist/judge-ByEUlzOM.js.map +1 -0
  125. package/dist/judge.d.ts +1 -5
  126. package/dist/judge.js +2 -3
  127. package/dist/live-ColieOai.js +120 -0
  128. package/dist/live-ColieOai.js.map +1 -0
  129. package/dist/live-DmJix4c8.js +1 -0
  130. package/dist/{live-CBFkdK1K.js → live-d_5a5iUv.js} +4 -5
  131. package/dist/{live-CBFkdK1K.js.map → live-d_5a5iUv.js.map} +1 -1
  132. package/dist/{matchers-Cv74mJRJ.js → matchers-B4ZtlJyP.js} +5 -6
  133. package/dist/{matchers-Cv74mJRJ.js.map → matchers-B4ZtlJyP.js.map} +1 -1
  134. package/dist/model-8uZBYqV5.js +1 -0
  135. package/dist/{model-DkJVmVd2.js → model-CFSjV-HJ.js} +6 -7
  136. package/dist/{model-DkJVmVd2.js.map → model-CFSjV-HJ.js.map} +1 -1
  137. package/dist/{model-6dfKFkQd.js → model-DBpdRXtO.js} +9 -11
  138. package/dist/model-DBpdRXtO.js.map +1 -0
  139. package/dist/{model-CN4ccjNz.js → model-DOXnWH65.js} +1 -1
  140. package/dist/{model-Be7fPvgi.js → model-DOiCiMCD.js} +23 -18
  141. package/dist/model-DOiCiMCD.js.map +1 -0
  142. package/dist/{node-D_Zkwhq2.js → node-CwP1G178.js} +11 -13
  143. package/dist/node-CwP1G178.js.map +1 -0
  144. package/dist/{object-BkXGPKWY.js → object-CeQ8dgUC.js} +2 -3
  145. package/dist/{object-BkXGPKWY.js.map → object-CeQ8dgUC.js.map} +1 -1
  146. package/dist/{opencode-providers-DPgdqRfg.js → opencode-providers-yNKyXD49.js} +57 -21
  147. package/dist/opencode-providers-yNKyXD49.js.map +1 -0
  148. package/dist/{openrouter-models-CR00FWAa.js → openrouter-models-C8nzPKG2.js} +3 -4
  149. package/dist/{openrouter-models-CR00FWAa.js.map → openrouter-models-C8nzPKG2.js.map} +1 -1
  150. package/dist/{patch-CquGAGX5.js → patch-C7yBztZj.js} +2 -3
  151. package/dist/{patch-CquGAGX5.js.map → patch-C7yBztZj.js.map} +1 -1
  152. package/dist/{patch-BJNdOZsf.js → patch-DvLr8wCZ.js} +5 -6
  153. package/dist/{patch-BJNdOZsf.js.map → patch-DvLr8wCZ.js.map} +1 -1
  154. package/dist/{paths-BmR-7tx3.js → paths-Dwmi7L4X.js} +2 -3
  155. package/dist/{paths-BmR-7tx3.js.map → paths-Dwmi7L4X.js.map} +1 -1
  156. package/dist/{plan-C1UpGZTk.js → plan-CIfOFhth.js} +11 -12
  157. package/dist/{plan-C1UpGZTk.js.map → plan-CIfOFhth.js.map} +1 -1
  158. package/dist/{plugins-Cx6ReJWE.js → plugins-BEs2Am3L.js} +8 -10
  159. package/dist/plugins-BEs2Am3L.js.map +1 -0
  160. package/dist/{preflight-BZ3L7P3a.js → preflight-50Qw5e5K.js} +4 -5
  161. package/dist/{preflight-BZ3L7P3a.js.map → preflight-50Qw5e5K.js.map} +1 -1
  162. package/dist/{preflight-CUooKgtT.js → preflight-BAIRsTpl.js} +1 -1
  163. package/dist/{prepare-BbBoTeDj.js → prepare-8XhzhLHX.js} +10 -11
  164. package/dist/{prepare-BbBoTeDj.js.map → prepare-8XhzhLHX.js.map} +1 -1
  165. package/dist/{prepare-CEZaEwaq.js → prepare-8nvfDFQx.js} +2 -2
  166. package/dist/{prices-QaS-kjSQ.js → prices-C4BRuSe8.js} +5 -6
  167. package/dist/{prices-QaS-kjSQ.js.map → prices-C4BRuSe8.js.map} +1 -1
  168. package/dist/{provenance-BWvTIlQM.js → provenance-Cc8fFE7Z.js} +6 -7
  169. package/dist/{provenance-BWvTIlQM.js.map → provenance-Cc8fFE7Z.js.map} +1 -1
  170. package/dist/provider-DCdTHQpk.js +1 -0
  171. package/dist/{provider-CmAYTQQs.js → provider-DZd8t_XW.js} +3 -4
  172. package/dist/{provider-CmAYTQQs.js.map → provider-DZd8t_XW.js.map} +1 -1
  173. package/dist/{providers-DdyZW_ru.js → providers-CP_bBtYm.js} +1 -1
  174. package/dist/{providers-B3yqakc7.js → providers-DZSTlC9R.js} +8 -9
  175. package/dist/{providers-B3yqakc7.js.map → providers-DZSTlC9R.js.map} +1 -1
  176. package/dist/{query-CZcqpOI9.js → query-DXpxaaTH.js} +5 -6
  177. package/dist/{query-CZcqpOI9.js.map → query-DXpxaaTH.js.map} +1 -1
  178. package/dist/query-kFPuqBv1.js +1 -0
  179. package/dist/{questions-CFU7-crW.js → questions-C_Y-oXW6.js} +10 -11
  180. package/dist/{questions-CFU7-crW.js.map → questions-C_Y-oXW6.js.map} +1 -1
  181. package/dist/{record-Bu1Xi6MQ.js → record-DhzwkSXc.js} +27 -4
  182. package/dist/record-DhzwkSXc.js.map +1 -0
  183. package/dist/{redact-DVIaahLv.js → redact-BEEGc37e.js} +8 -7
  184. package/dist/{redact-DVIaahLv.js.map → redact-BEEGc37e.js.map} +1 -1
  185. package/dist/{remarks-eBcrIZRu.js → remarks-0EXMh6AD.js} +2 -3
  186. package/dist/{remarks-eBcrIZRu.js.map → remarks-0EXMh6AD.js.map} +1 -1
  187. package/dist/remarks-BL18Id09.js +1 -0
  188. package/dist/{remarks-Dj_x9l5n.js → remarks-DeZZT8PK.js} +4 -6
  189. package/dist/{remarks-Dj_x9l5n.js.map → remarks-DeZZT8PK.js.map} +1 -1
  190. package/dist/{remarks-A3j-SkJ_.js → remarks-E4rpi8Ym.js} +16 -17
  191. package/dist/remarks-E4rpi8Ym.js.map +1 -0
  192. package/dist/{remote-EIFHdMd8.js → remote-DZ00A8V_.js} +10 -13
  193. package/dist/remote-DZ00A8V_.js.map +1 -0
  194. package/dist/resolve-BJSay360.js +1 -0
  195. package/dist/{resolve-8H5rz8mi.js → resolve-B_JlQ0La.js} +11 -12
  196. package/dist/{resolve-8H5rz8mi.js.map → resolve-B_JlQ0La.js.map} +1 -1
  197. package/dist/{results-E7JdVjq2.js → results-BMJHaQbi.js} +8 -9
  198. package/dist/{results-E7JdVjq2.js.map → results-BMJHaQbi.js.map} +1 -1
  199. package/dist/{resume-Blu4yIcq.js → resume-CexsWuGK.js} +8 -10
  200. package/dist/resume-CexsWuGK.js.map +1 -0
  201. package/dist/{root-Dlff-zp8.js → root-Co0jhOT5.js} +2 -3
  202. package/dist/{root-Dlff-zp8.js.map → root-Co0jhOT5.js.map} +1 -1
  203. package/dist/{runtime-CNbsMJQ7.js → runtime-CSZ1hjlN.js} +8 -10
  204. package/dist/{runtime-CNbsMJQ7.js.map → runtime-CSZ1hjlN.js.map} +1 -1
  205. package/dist/{sandbox-RButGfIE.js → sandbox-B5W8lLL1.js} +4 -5
  206. package/dist/{sandbox-RButGfIE.js.map → sandbox-B5W8lLL1.js.map} +1 -1
  207. package/dist/sandbox.d.ts +1 -5
  208. package/dist/sandbox.js +1 -1
  209. package/dist/{server-XgCYs_MF.js → server-BfN6q2lH.js} +17 -126
  210. package/dist/server-BfN6q2lH.js.map +1 -0
  211. package/dist/server-SBzrf35T.js +1 -0
  212. package/dist/{shared-B_lvGqWz.js → shared-ogqPJ0uo.js} +4 -6
  213. package/dist/shared-ogqPJ0uo.js.map +1 -0
  214. package/dist/{source-BOkbJCD2.js → source-BD6Bg0Tr.js} +3 -4
  215. package/dist/{source-BOkbJCD2.js.map → source-BD6Bg0Tr.js.map} +1 -1
  216. package/dist/source-Dn1uqPon.js +1 -0
  217. package/dist/{src-DSZyg0Uq.js → src-B-L8O1Ld.js} +38 -9
  218. package/dist/src-B-L8O1Ld.js.map +1 -0
  219. package/dist/{src-D4CZjMQ4.js → src-BC2WXULN.js} +2 -2
  220. package/dist/src-BKDZO3ra.js +2 -0
  221. package/dist/{src-A8HLtO0a.js → src-B_igzM1O.js} +3 -5
  222. package/dist/src-B_igzM1O.js.map +1 -0
  223. package/dist/{src-BkhEPVJZ.js → src-BvM0jWuZ.js} +83 -12
  224. package/dist/src-BvM0jWuZ.js.map +1 -0
  225. package/dist/src-BxrHipV0.js +3 -0
  226. package/dist/src-C9elednc.js +2 -0
  227. package/dist/src-CM7xdJFA.js +2 -0
  228. package/dist/src-CWEGknZo.js +2 -0
  229. package/dist/{src-BJCKWacl.js → src-Cpy9MNS3.js} +155 -83
  230. package/dist/src-Cpy9MNS3.js.map +1 -0
  231. package/dist/{src-GkJ-1Rdy.js → src-Cx0HJIJ-.js} +2 -2
  232. package/dist/{src-gn7YlnRg.js → src-D5t4OiRt.js} +5 -8
  233. package/dist/src-D5t4OiRt.js.map +1 -0
  234. package/dist/src-DVaAKCsH.js +1 -0
  235. package/dist/src-Dp-fWOfG.js +1448 -0
  236. package/dist/src-Dp-fWOfG.js.map +1 -0
  237. package/dist/src-DurP--_D.js +2 -0
  238. package/dist/{src-C2Japg_I.js → src-HTG2SoNz.js} +69 -29
  239. package/dist/src-HTG2SoNz.js.map +1 -0
  240. package/dist/{src-8yTF251P.js → src-KlDOGD0B.js} +66 -16
  241. package/dist/src-KlDOGD0B.js.map +1 -0
  242. package/dist/{src-BYDOXw_Y.js → src-uluei5nU.js} +40 -17
  243. package/dist/src-uluei5nU.js.map +1 -0
  244. package/dist/{state-D6-tvqtp.js → state-CdSjXIfE.js} +31 -40
  245. package/dist/state-CdSjXIfE.js.map +1 -0
  246. package/dist/state-Cicc9Oa5.js +1 -0
  247. package/dist/{stats-hfpuYsAM.js → stats-D-Gqwqt0.js} +2 -3
  248. package/dist/{stats-hfpuYsAM.js.map → stats-D-Gqwqt0.js.map} +1 -1
  249. package/dist/suite-BYJ2Q0S-.js +2 -0
  250. package/dist/{suite-DYI1k2Ie.js → suite-BtHPBFYL.js} +5 -7
  251. package/dist/suite-BtHPBFYL.js.map +1 -0
  252. package/dist/{summary-CN2aqAUz.js → summary-zP3cCXDN.js} +11 -13
  253. package/dist/{summary-CN2aqAUz.js.map → summary-zP3cCXDN.js.map} +1 -1
  254. package/dist/{tarball-CHcahyNK.js → tarball-CESxtK4X.js} +2 -3
  255. package/dist/{tarball-CHcahyNK.js.map → tarball-CESxtK4X.js.map} +1 -1
  256. package/dist/testing.d.ts +9 -11
  257. package/dist/testing.js +5 -6
  258. package/dist/{text-DTigcA64.js → text-D--Q5KsA.js} +2 -3
  259. package/dist/{text-DTigcA64.js.map → text-D--Q5KsA.js.map} +1 -1
  260. package/dist/{tool-target-CKWkd6QI.js → tool-target-DS5d72eH.js} +3 -4
  261. package/dist/{tool-target-CKWkd6QI.js.map → tool-target-DS5d72eH.js.map} +1 -1
  262. package/dist/{transcript-BJrKfgRW.js → transcript-C_IpYMRk.js} +8 -8
  263. package/dist/transcript-C_IpYMRk.js.map +1 -0
  264. package/dist/{types-DDeCnNmp.d.ts → types-BHR1lGPh.d.ts} +99 -24
  265. package/dist/{types-C5vI3g1C.js → types-C4OkYhZg.js} +2 -3
  266. package/dist/types-C4OkYhZg.js.map +1 -0
  267. package/dist/{usage-BNY1ABrU.js → usage-DJiDnh2D.js} +2 -3
  268. package/dist/{usage-BNY1ABrU.js.map → usage-DJiDnh2D.js.map} +1 -1
  269. package/dist/{vertex-DypYjx71.js → vertex-6uSpZ5L8.js} +8 -8
  270. package/dist/vertex-6uSpZ5L8.js.map +1 -0
  271. package/dist/vertex-BaAz44YN.js +1 -0
  272. package/dist/view/index.d.ts +13 -37
  273. package/dist/view/index.js +12 -12
  274. package/dist/{views-Bd-H71_t.js → views-CKoN5NAx.js} +7 -8
  275. package/dist/{views-Bd-H71_t.js.map → views-CKoN5NAx.js.map} +1 -1
  276. package/dist/views-CmyX255j.js +2 -0
  277. package/dist/{worker-entry-BIHJqE_z.js → worker-entry-D5dB8cgT.js} +12 -17
  278. package/dist/worker-entry-D5dB8cgT.js.map +1 -0
  279. package/dist/{workspace-Sy5g8zW9.js → workspace-Cho30qlM.js} +8 -9
  280. package/dist/{workspace-Sy5g8zW9.js.map → workspace-Cho30qlM.js.map} +1 -1
  281. package/dist/workspace-Dw9DEZox.js +1 -0
  282. package/docker/Dockerfile +4 -4
  283. package/package.json +12 -12
  284. package/skills/eval-rubric/SKILL.md +1 -1
  285. package/dist/adapter-CqUt4A0w.js.map +0 -1
  286. package/dist/agent-BtAbRTFq.js.map +0 -1
  287. package/dist/app-files-CDttHPOz.js +0 -11
  288. package/dist/app-files-CDttHPOz.js.map +0 -1
  289. package/dist/assemble-Bb7zqpRw.js +0 -1
  290. package/dist/assemble-J9rkE29m.js.map +0 -1
  291. package/dist/budget-DBUrH4jX.js.map +0 -1
  292. package/dist/capture-D68TiQQy.js +0 -1
  293. package/dist/capture-DheNqeYS.js.map +0 -1
  294. package/dist/cli-KTHjNFoo.js.map +0 -1
  295. package/dist/command-1FBECMs-.js.map +0 -1
  296. package/dist/command-Ce03LLtg.js.map +0 -1
  297. package/dist/command-CztRuwUM.js.map +0 -1
  298. package/dist/command-nNN0mx65.js.map +0 -1
  299. package/dist/config-BjjDryd5.js.map +0 -1
  300. package/dist/cost-C5RBTTJr.js +0 -1
  301. package/dist/db-B9Ityuit.js.map +0 -1
  302. package/dist/db-Bk6LWwza.js +0 -2
  303. package/dist/debug-CAx3qcaP.js +0 -1
  304. package/dist/default-effort-DK8gospa.js.map +0 -1
  305. package/dist/dist-CYrBwyHA.js.map +0 -1
  306. package/dist/docker-SKpYOlGi.js.map +0 -1
  307. package/dist/environment-CZdercoj.js.map +0 -1
  308. package/dist/evaluate-fhC1PCd_.js.map +0 -1
  309. package/dist/files-BIGxpL08.js.map +0 -1
  310. package/dist/files-C2RC7K4m.js +0 -1
  311. package/dist/files-C3tQtD26.js +0 -1
  312. package/dist/files-dJmrfmOM.js +0 -1
  313. package/dist/harness-ylJLvrbp.js.map +0 -1
  314. package/dist/init-BNTXrtMO.js +0 -1
  315. package/dist/judge-Dp7FPJ1P.js.map +0 -1
  316. package/dist/model-6dfKFkQd.js.map +0 -1
  317. package/dist/model-Be7fPvgi.js.map +0 -1
  318. package/dist/model-C_5TspZS.js +0 -1
  319. package/dist/node-D_Zkwhq2.js.map +0 -1
  320. package/dist/opencode-providers-DPgdqRfg.js.map +0 -1
  321. package/dist/plugins-Cx6ReJWE.js.map +0 -1
  322. package/dist/provider-DehR4CMN.js +0 -1
  323. package/dist/query-BkwQ0W-c.js +0 -1
  324. package/dist/record-Bu1Xi6MQ.js.map +0 -1
  325. package/dist/remarks-A3j-SkJ_.js.map +0 -1
  326. package/dist/remarks-Bp6AwPgb.js +0 -1
  327. package/dist/remote-EIFHdMd8.js.map +0 -1
  328. package/dist/resolve-Tm9pX7Hv.js +0 -1
  329. package/dist/resume-Blu4yIcq.js.map +0 -1
  330. package/dist/server-Dqrq-Sia.js +0 -1
  331. package/dist/server-XgCYs_MF.js.map +0 -1
  332. package/dist/shared-B_lvGqWz.js.map +0 -1
  333. package/dist/source-DooSTtyz.js +0 -1
  334. package/dist/src-1M0srjji.js +0 -1
  335. package/dist/src-8yTF251P.js.map +0 -1
  336. package/dist/src-A8HLtO0a.js.map +0 -1
  337. package/dist/src-BJCKWacl.js.map +0 -1
  338. package/dist/src-BYDOXw_Y.js.map +0 -1
  339. package/dist/src-BZlhaDhE.js +0 -2
  340. package/dist/src-BkhEPVJZ.js.map +0 -1
  341. package/dist/src-Bp6X4193.js +0 -2
  342. package/dist/src-C2Japg_I.js.map +0 -1
  343. package/dist/src-C5q3_fRV.js +0 -3
  344. package/dist/src-C9EHSYyP.js +0 -2
  345. package/dist/src-CJdpsrXi.js +0 -2
  346. package/dist/src-D1ET6oPL.js +0 -629
  347. package/dist/src-D1ET6oPL.js.map +0 -1
  348. package/dist/src-DSZyg0Uq.js.map +0 -1
  349. package/dist/src-OOKE-5GA.js +0 -2
  350. package/dist/src-gn7YlnRg.js.map +0 -1
  351. package/dist/state-BCyNaz13.js +0 -1
  352. package/dist/state-D6-tvqtp.js.map +0 -1
  353. package/dist/suite-BiWajSlA.js +0 -2
  354. package/dist/suite-DYI1k2Ie.js.map +0 -1
  355. package/dist/transcript-BJrKfgRW.js.map +0 -1
  356. package/dist/types-C5vI3g1C.js.map +0 -1
  357. package/dist/vertex-Bv7vhMgs.js +0 -1
  358. package/dist/vertex-DypYjx71.js.map +0 -1
  359. package/dist/views-7bNY17Z6.js +0 -2
  360. package/dist/worker-entry-BIHJqE_z.js.map +0 -1
  361. package/dist/workspace-CxwHv8mG.js +0 -1
  362. /package/dist/bridge/{pnpm-lock.yaml → pnpm-lockfile.yaml} +0 -0
@@ -1,38 +1,38 @@
1
- import { n as UsageError } from "./errors-B6BSMs03.js";
2
- import { h as parseDuration } from "./shared-B_lvGqWz.js";
3
- import { D as profileSandbox, P as workspaceLabel, p as environmentSandbox } from "./environment-CZdercoj.js";
4
- import { C as pluginBuildsLabel } from "./plugins-Cx6ReJWE.js";
5
- import { a as fromCwd, o as newRunId } from "./ids-Bp6ut7ZD.js";
6
- import { $ as ciRunner, D as checkLimitHarness, H as sandboxId, L as plannedSandboxIds, R as plannedSandboxes, a as configPathFor, at as resolveOutput, b as resolveModelGateway, c as findConfig, d as malformedCredentials, et as directOnCloud, f as missingCredentials, g as selectProfile, h as runJudgeModel, i as configLabel, j as harnessId, l as hostCapacity, m as resolveConcurrency, p as requireConfig, rt as isDirect, u as loadConfig, v as gatewayScope } from "./config-BjjDryd5.js";
7
- import { l as judgeModelName, m as unusedGatewayKey } from "./judge-Dp7FPJ1P.js";
8
- import { y as vertexSettingsIn } from "./vertex-DypYjx71.js";
9
- import { _ as registerSecret, m as redactSecrets } from "./redact-DVIaahLv.js";
10
- import { a as plural, i as formatDuration, n as clip, o as sandboxWarningLine } from "./text-DTigcA64.js";
11
- import { n as loadEnvFiles, t as inCI } from "./env-CARj5Axq.js";
12
- import { o as PACKAGE_VERSION } from "./root-Dlff-zp8.js";
13
- import { U as LABEL$1, ot as imageInfo } from "./src-BJCKWacl.js";
14
- import { s as debugTime } from "./debug-CgG3T071.js";
15
- import { r as openRouterFallbacks } from "./openrouter-models-CR00FWAa.js";
16
- import { t as PrepareError } from "./provider-CmAYTQQs.js";
17
- import { D as runOutcome, G as triesNote, _ as formatUsage } from "./model-Be7fPvgi.js";
18
- import { u as suiteResult } from "./suite-DYI1k2Ie.js";
19
- import { a as commandHelpText, n as FLAGS, r as GLOBAL, s as helpText, t as COMMANDS } from "./cli-spec-CPWT1mAG.js";
20
- import { n as stripAnsi, t as colors } from "./colors-Y6O3mtl_.js";
21
- import { m as render } from "./summary-CN2aqAUz.js";
22
- import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-BWvTIlQM.js";
23
- import { t as budgetMarker } from "./budget-DBUrH4jX.js";
24
- import { a as prepareResume, c as writeCurrent, i as loadPrevious, l as writeLiveProgress, r as keptAttempts, s as resolveResume, t as completedKeysFor } from "./resume-Blu4yIcq.js";
25
- import { n as prepareAll, o as writePrepared, r as prepareTargets, t as RunStopError } from "./preflight-BZ3L7P3a.js";
26
- import { n as imageHarness } from "./prepare-BbBoTeDj.js";
27
- import { i as createProviders, n as attemptImage } from "./providers-B3yqakc7.js";
28
- import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-BdoROAfb.js";
1
+ import { n as UsageError } from "./errors-ttMTnIYX.js";
2
+ import { h as parseDuration } from "./shared-ogqPJ0uo.js";
3
+ import { D as profileSandbox, P as workspaceLabel, p as environmentSandbox } from "./environment-Cy3FVLR5.js";
4
+ import { C as pluginBuildsLabel } from "./plugins-BEs2Am3L.js";
5
+ import { a as fromCwd, o as newRunId } from "./ids-DuK6xl4w.js";
6
+ import { M as harnessId, O as checkLimitHarness, R as plannedSandboxIds, U as sandboxId, a as configPathFor, b as resolveModelGateway, c as findConfig, d as malformedCredentials, et as ciRunner, f as missingCredentials, g as selectProfile, h as runJudgeModel, i as configLabel, it as isDirect, l as hostCapacity, m as resolveConcurrency, ot as resolveOutput, p as requireConfig, tt as directOnCloud, u as loadConfig, v as gatewayScope, z as plannedSandboxes } from "./config-ImY6AlRE.js";
7
+ import { l as judgeModelName, m as unusedGatewayKey } from "./judge-ByEUlzOM.js";
8
+ import { y as vertexSettingsIn } from "./vertex-6uSpZ5L8.js";
9
+ import { _ as registerSecret, m as redactSecrets } from "./redact-BEEGc37e.js";
10
+ import { a as plural, i as formatDuration, n as clip, o as sandboxWarningLine } from "./text-D--Q5KsA.js";
11
+ import { n as loadEnvFiles, t as inCI } from "./env-T86lAqUD.js";
12
+ import { o as PACKAGE_VERSION } from "./root-Co0jhOT5.js";
13
+ import { W as LABEL$1, st as imageInfo } from "./src-Cpy9MNS3.js";
14
+ import { s as debugTime } from "./debug-B5jDImcW.js";
15
+ import { r as openRouterFallbacks } from "./openrouter-models-C8nzPKG2.js";
16
+ import { t as PrepareError } from "./provider-DZd8t_XW.js";
17
+ import { K as triesNote, O as runOutcome, _ as formatUsage } from "./model-DOiCiMCD.js";
18
+ import { u as suiteResult } from "./suite-BtHPBFYL.js";
19
+ import { a as commandHelpText, n as FLAGS, r as GLOBAL, s as helpText, t as COMMANDS } from "./cli-spec-ChkleEVm.js";
20
+ import { n as stripAnsi, t as colors } from "./colors-DcXBvAlU.js";
21
+ import { m as render } from "./summary-zP3cCXDN.js";
22
+ import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-Cc8fFE7Z.js";
23
+ import { t as budgetMarker } from "./budget-BcxLYY5L.js";
24
+ import { a as prepareResume, c as writeCurrent, i as loadPrevious, l as writeLiveProgress, r as keptAttempts, s as resolveResume, t as completedKeysFor } from "./resume-CexsWuGK.js";
25
+ import { n as prepareAll, o as writePrepared, r as prepareTargets, t as RunStopError } from "./preflight-50Qw5e5K.js";
26
+ import { n as imageHarness } from "./prepare-8XhzhLHX.js";
27
+ import { i as createProviders, n as attemptImage } from "./providers-DZSTlC9R.js";
28
+ import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-BGRs1r_C.js";
29
29
  import { existsSync, mkdirSync, readdirSync, writeFileSync } from "node:fs";
30
30
  import { dirname, join } from "node:path";
31
31
  import { inspect } from "node:util";
32
32
  import { appendFile, readFile, rm } from "node:fs/promises";
33
33
  import { detectAgent } from "std-env";
34
34
  import { Command, Option } from "commander";
35
- //#region src/cli-parse.ts
35
+ // src/cli-parse.ts
36
36
  const OPTIONS = Object.fromEntries(Object.entries(FLAGS).map(([name, spec]) => {
37
37
  const short = "short" in spec ? `-${spec.short}, ` : "";
38
38
  const value = spec.type === "string" ? "optional" in spec && spec.optional ? " [value]" : " <value>" : "";
@@ -162,8 +162,7 @@ function usageError(error, command) {
162
162
  }
163
163
  return new UsageError(first.charAt(0).toUpperCase() + first.slice(1));
164
164
  }
165
- //#endregion
166
- //#region src/preflight.ts
165
+ // src/preflight.ts
167
166
  /**
168
167
  * How the terminal names a sandbox to prepare: its cell id, `+ install`, `+ plugin builds`, and a
169
168
  * harness other than Cursor.
@@ -219,8 +218,7 @@ async function preflight(uses, options) {
219
218
  }
220
219
  return { images };
221
220
  }
222
- //#endregion
223
- //#region src/ui/format.ts
221
+ // src/ui/format.ts
224
222
  /** Most detail lines a `-vv` payload prints under its line. */
225
223
  const DEBUG_DETAIL_LINES = 40;
226
224
  /**
@@ -280,6 +278,7 @@ function progressLine(c, p) {
280
278
  case "judge-start": return c.dim(`judging: ${oneLine(p.question, 120)}`);
281
279
  case "judge-end": return judgeLine(c, p);
282
280
  case "cleanup": return c.dim("cleaning up");
281
+ case "warning": return c.yellow(`warning: ${p.text}`);
283
282
  case "browser-download": {
284
283
  const total = p.bytes == null ? "?" : formatBytes(p.bytes);
285
284
  return `downloading ${p.name} ${p.version} ${formatBytes(p.received)} / ${total} → ${p.cache}`;
@@ -311,6 +310,7 @@ function phaseOf(p) {
311
310
  case "judge-end": return "judging";
312
311
  case "cleanup": return "cleanup";
313
312
  case "browser-download": return "browser download";
313
+ case "warning": return "running";
314
314
  }
315
315
  }
316
316
  function capLines(text, max) {
@@ -397,8 +397,7 @@ function prepareLines(c, e, max) {
397
397
  const who = outcome.target.setBy.join(", ");
398
398
  return [`${c.red("✗")} ${outcome.target.label} failed to prepare ${c.dim(`(set by ${who}; only its attempts fail)`)}`, ...tailLines(outcome.failure.message, max).map((l) => ` ${c.yellow(l)}`)];
399
399
  }
400
- //#endregion
401
- //#region src/ui/result.ts
400
+ // src/ui/result.ts
402
401
  function resultLines(c, e, verbose) {
403
402
  const { record } = e;
404
403
  const tokens = formatUsage(record.cost.usage);
@@ -417,8 +416,7 @@ function resultLines(c, e, verbose) {
417
416
  notes
418
417
  });
419
418
  }
420
- //#endregion
421
- //#region src/ui/tags.ts
419
+ // src/ui/tags.ts
422
420
  const STOPWORDS = new Set("a an the and or of to in on for with without from by at as is are be it its that this when than then into via not no".split(" "));
423
421
  const MAX_WORDS = 3;
424
422
  const MAX_LENGTH = 24;
@@ -475,8 +473,7 @@ var Tagger = class {
475
473
  return `${tag}#${attempt}`;
476
474
  }
477
475
  };
478
- //#endregion
479
- //#region src/ui/agent.ts
476
+ // src/ui/agent.ts
480
477
  const MAX_LINES = 12;
481
478
  var AgentRenderer = class {
482
479
  #o;
@@ -516,7 +513,7 @@ var AgentRenderer = class {
516
513
  return;
517
514
  }
518
515
  case "eval-progress": {
519
- if (e.progress.kind !== "browser-download") return;
516
+ if (e.progress.kind !== "browser-download" && e.progress.kind !== "warning") return;
520
517
  const label = this.#labels.get(e.key) ?? `[${e.key}]`;
521
518
  this.#write(`${label} ${progressLine(this.#c, e.progress)}`);
522
519
  return;
@@ -536,8 +533,7 @@ var AgentRenderer = class {
536
533
  }
537
534
  close() {}
538
535
  };
539
- //#endregion
540
- //#region src/ui/header.ts
536
+ // src/ui/header.ts
541
537
  /** ` ➜ `, ` ⚠ `: the glyph column every line of the block starts with. */
542
538
  const GLYPH = 5;
543
539
  /** `Est. Time: `, the longest key. */
@@ -665,8 +661,7 @@ function startLine(c, output) {
665
661
  const text = output.outputLogs === "none" ? "Running..." : output.outputLogs === "errors-only" ? "Running; logs print for failed attempts only..." : output.logOrder === "stream" ? "Streaming logs..." : "Running; each attempt's logs print as it ends...";
666
662
  return ` ${c.teal("◆")} ${text}`;
667
663
  }
668
- //#endregion
669
- //#region src/ui/plain.ts
664
+ // src/ui/plain.ts
670
665
  /** In a grouped block, an end line replaces its start line and keeps its start time. */
671
666
  const STARTS = {
672
667
  "sandbox-ready": "sandbox",
@@ -770,6 +765,10 @@ var PlainRenderer = class {
770
765
  return this.#o.output.logOrder === "stream" && this.#o.output.outputLogs === "full";
771
766
  }
772
767
  #add(a, line) {
768
+ if (line.kind === "warning" && !this.#streaming) {
769
+ this.#write(this.#detail(a, line, true));
770
+ return;
771
+ }
773
772
  a.lines.push(line);
774
773
  if (this.#streaming) this.#write(this.#detail(a, line, true));
775
774
  }
@@ -821,7 +820,7 @@ var PlainRenderer = class {
821
820
  case "eval-progress": {
822
821
  const a = this.#running.get(e.key);
823
822
  if (!a) return;
824
- a.last = e;
823
+ if (e.progress.kind !== "warning") a.last = e;
825
824
  const { progress } = e;
826
825
  const paint = a.ungated ? {
827
826
  ...c,
@@ -989,8 +988,7 @@ var PlainRenderer = class {
989
988
  this.#clearStatus();
990
989
  }
991
990
  };
992
- //#endregion
993
- //#region src/ui/index.ts
991
+ // src/ui/index.ts
994
992
  const depthOf = (bits = 4) => bits >= 24 ? 24 : bits >= 8 ? 8 : 4;
995
993
  function createRenderer(options) {
996
994
  const out = { write: (text) => options.out.write(redactSecrets(text)) };
@@ -1004,8 +1002,7 @@ function createRenderer(options) {
1004
1002
  colors: colors(options.output.color, depthOf(options.colorDepth))
1005
1003
  });
1006
1004
  }
1007
- //#endregion
1008
- //#region src/cli.ts
1005
+ // src/cli.ts
1009
1006
  const HISTORY_COMMANDS = {
1010
1007
  record: 1,
1011
1008
  history: 1,
@@ -1048,6 +1045,16 @@ let stopCode = EXIT.interrupted;
1048
1045
  * live.json turns `finishing`: a signal then has nothing left to cancel.
1049
1046
  */
1050
1047
  let finishing = false;
1048
+ /** The other signal this soon after the one that canceled the run is the same Ctrl-C, passed on. */
1049
+ const SAME_PRESS_MS = 1e3;
1050
+ /** What a forced quit leaves, and how to finish or discard it. */
1051
+ function quitWithoutRecord(runId, stagingDir) {
1052
+ return [
1053
+ `reeval: quit without writing run ${runId}'s record; its workers still destroy their sandboxes.`,
1054
+ ` reeval run --resume ${runId} keeps the attempts that finished, runs the rest and writes the record.`,
1055
+ ` Deleting ${fromCwd(stagingDir)} discards the run.`
1056
+ ].join("\n");
1057
+ }
1051
1058
  async function run(argv) {
1052
1059
  const { values, positionals } = parseCli(argv);
1053
1060
  invocation.flags = values;
@@ -1065,7 +1072,7 @@ async function run(argv) {
1065
1072
  return values.help ? EXIT.ok : EXIT.usage;
1066
1073
  }
1067
1074
  if (command === "init") {
1068
- const { initCommand } = await import("./init-BNTXrtMO.js");
1075
+ const { initCommand } = await import("./init-s1jN-PCI.js");
1069
1076
  return initCommand(values, filters, {
1070
1077
  out: (s) => console.log(s),
1071
1078
  input: process.stdin,
@@ -1074,7 +1081,7 @@ async function run(argv) {
1074
1081
  });
1075
1082
  }
1076
1083
  if (command === "doctor") {
1077
- const { doctorCommand } = await import("./doctor-CT0Sgjng.js");
1084
+ const { doctorCommand } = await import("./doctor-eE65YpEv.js");
1078
1085
  return doctorCommand(values, {
1079
1086
  out: (s) => console.log(s),
1080
1087
  color: !!process.stdout.isTTY && !process.env.NO_COLOR,
@@ -1082,7 +1089,7 @@ async function run(argv) {
1082
1089
  });
1083
1090
  }
1084
1091
  if (command === "report") {
1085
- const { reportCommand } = await import("./command-CztRuwUM.js");
1092
+ const { reportCommand } = await import("./command-TLmY-rYp.js");
1086
1093
  return reportCommand(values, filters, {
1087
1094
  out: (s) => console.log(s),
1088
1095
  err: (s) => console.error(dim(s)),
@@ -1097,7 +1104,7 @@ async function run(argv) {
1097
1104
  }
1098
1105
  if (command === "studio") {
1099
1106
  const config = await loadConfig(configPath, "studio");
1100
- const { studioCommand } = await import("./command-nNN0mx65.js");
1107
+ const { studioCommand } = await import("./command-CtTdCF3B.js");
1101
1108
  return studioCommand({
1102
1109
  config,
1103
1110
  flags: values,
@@ -1108,7 +1115,7 @@ async function run(argv) {
1108
1115
  if (command === "mcp") {
1109
1116
  if (!values.http) console.log = console.info = console.debug = console.error;
1110
1117
  const config = await loadConfig(configPath, "mcp");
1111
- const { mcpCommand } = await import("./command-Ce03LLtg.js");
1118
+ const { mcpCommand } = await import("./command-CsfcwMyc.js");
1112
1119
  return mcpCommand({
1113
1120
  config,
1114
1121
  flags: values,
@@ -1117,7 +1124,7 @@ async function run(argv) {
1117
1124
  }
1118
1125
  if (command in HISTORY_COMMANDS) {
1119
1126
  const config = await loadConfig(configPath, command);
1120
- const commands = await import("./commands-ZwQUezI1.js");
1127
+ const commands = await import("./commands-jO9Jj35r.js");
1121
1128
  const ctx = {
1122
1129
  config,
1123
1130
  flags: values,
@@ -1130,7 +1137,7 @@ async function run(argv) {
1130
1137
  case "compare": return commands.compareCommand(ctx, filters);
1131
1138
  case "checkout": return commands.checkoutCommand(ctx, filters);
1132
1139
  case "query": {
1133
- const { queryCommand } = await import("./query-BkwQ0W-c.js");
1140
+ const { queryCommand } = await import("./query-kFPuqBv1.js");
1134
1141
  return queryCommand({
1135
1142
  ...ctx,
1136
1143
  err: (s) => console.error(dim(s))
@@ -1138,7 +1145,7 @@ async function run(argv) {
1138
1145
  }
1139
1146
  case "analyze": {
1140
1147
  loadEnvFiles(configPath);
1141
- const { analyzeCommand } = await import("./command-1FBECMs-.js");
1148
+ const { analyzeCommand } = await import("./command-CyIb9BSC.js");
1142
1149
  return analyzeCommand({
1143
1150
  ...ctx,
1144
1151
  err: (s) => console.error(dim(s))
@@ -1152,12 +1159,12 @@ async function run(argv) {
1152
1159
  }
1153
1160
  /** The dry run's prices, fetched only when a planned attempt or the judge has anything to price. */
1154
1161
  async function dryRunPrices(planned, judgeModel) {
1155
- const { needsPrices } = await import("./cost-C5RBTTJr.js");
1162
+ const { needsPrices } = await import("./cost-CMzY9VXv.js");
1156
1163
  if (!needsPrices(planned.filter((p) => !p.attempt.plan.skip).map((p) => p.attempt.harness), judgeModel)) return {
1157
1164
  table: null,
1158
1165
  why: "nothing to price"
1159
1166
  };
1160
- const { loadPrices } = await import("./prices-QaS-kjSQ.js");
1167
+ const { loadPrices } = await import("./prices-C4BRuSe8.js");
1161
1168
  return loadPrices();
1162
1169
  }
1163
1170
  /** Asks a yes/no question on the terminal; anything but y or yes is no. */
@@ -1184,14 +1191,14 @@ async function cleanCommand(flags, configPath) {
1184
1191
  keep = Number(flags.keep);
1185
1192
  if (!(Number.isInteger(keep) && keep >= 0)) throw new UsageError(`--keep must be a whole number (got ${flags.keep})`);
1186
1193
  }
1187
- const { debugRoot, pruneDebug } = await import("./files-C3tQtD26.js");
1188
- const { formatBytes } = await import("./debug-CAx3qcaP.js");
1194
+ const { debugRoot, pruneDebug } = await import("./files-COW5JBJM.js");
1195
+ const { formatBytes } = await import("./debug-BnXV7JbX.js");
1189
1196
  const { runs, bytes } = await pruneDebug(config.root, keep);
1190
1197
  const where = fromCwd(debugRoot(config.root)) || ".";
1191
1198
  console.log(runs.length ? `Removed debug data and snapshots for ${runs.length} run${runs.length === 1 ? "" : "s"} (${formatBytes(bytes)}) from ${where} and .reeval/runs` : `No debug data or snapshots to remove in ${where} or .reeval/runs`);
1192
1199
  if (flags.images) {
1193
- const { dockerAvailable, pruneImages } = await import("./src-1M0srjji.js");
1194
- const { requireDocker } = await import("./providers-DdyZW_ru.js");
1200
+ const { dockerAvailable, pruneImages } = await import("./src-DVaAKCsH.js");
1201
+ const { requireDocker } = await import("./providers-CP_bBtYm.js");
1195
1202
  const engines = [];
1196
1203
  for (const engine of ["docker", "podman"]) if (await dockerAvailable(engine)) engines.push(engine);
1197
1204
  if (!engines.length) await requireDocker();
@@ -1212,7 +1219,7 @@ function verbosityOf(flags) {
1212
1219
  * does. Needs a config, as `reeval run` does: there is no default image.
1213
1220
  */
1214
1221
  async function imageBuildCommand(flags, configPath, filters) {
1215
- const { buildImages, imagePlanLines, imageTargets, plannedImageUses } = await import("./images---X8Wu9d.js");
1222
+ const { buildImages, imagePlanLines, imageTargets, plannedImageUses } = await import("./images-BVZHDf_z.js");
1216
1223
  const { runId, stagingDir, config, runs, tags, concurrency, profile } = await startRun(await prepareRun({
1217
1224
  ...flags,
1218
1225
  "dry-run": true
@@ -1235,7 +1242,7 @@ async function imageBuildCommand(flags, configPath, filters) {
1235
1242
  for (const line of await imagePlanLines(targets, root)) console.log(line);
1236
1243
  return EXIT.ok;
1237
1244
  }
1238
- const { PrepareError } = await import("./provider-DehR4CMN.js");
1245
+ const { PrepareError } = await import("./provider-DCdTHQpk.js");
1239
1246
  let built;
1240
1247
  try {
1241
1248
  built = await buildImages(targets, root, {
@@ -1272,7 +1279,7 @@ async function runCommand(flags, configPath, filters) {
1272
1279
  if (githubOut) await appendFile(githubOut, `run-id=${ctx.runId}\n`).catch(() => {});
1273
1280
  const stepStart = process.env.GITHUB_STEP_SUMMARY;
1274
1281
  if (stepStart) await appendFile(stepStart, `run ${ctx.runId}\n`).catch(() => {});
1275
- const { engineVersions } = await import("./node-D_Zkwhq2.js");
1282
+ const { engineVersions } = await import("./node-CwP1G178.js");
1276
1283
  const terminal = setup.json && !setup.dryRun ? process.stderr : process.stdout;
1277
1284
  const renderer = createRenderer({
1278
1285
  out: setup.json && setup.dryRun ? { write: () => true } : terminal,
@@ -1297,7 +1304,7 @@ async function runCommand(flags, configPath, filters) {
1297
1304
  invocation.unhandledErrors = engineRun.unhandledErrors;
1298
1305
  const engines = [...new Set(plan?.sandboxes.flatMap((s) => s.kind === "docker" ? [s.engine ?? "docker"] : []))];
1299
1306
  if ((interrupted || engineRun.canceled) && engines.length) {
1300
- const { removeRunContainers } = await import("./docker-BLCNfUie.js");
1307
+ const { removeRunContainers } = await import("./docker-CIzHzwlC.js");
1301
1308
  await removeRunContainers(ctx.runId, engines);
1302
1309
  }
1303
1310
  if (engineRun.stopped || !plan) {
@@ -1314,8 +1321,8 @@ async function runCommand(flags, configPath, filters) {
1314
1321
  }
1315
1322
  finishing = true;
1316
1323
  live?.phase("finishing");
1317
- const { lockfiles } = await import("./state-BCyNaz13.js");
1318
- const { writeScratchRun } = await import("./results-E7JdVjq2.js");
1324
+ const { lockfiles } = await import("./state-Cicc9Oa5.js");
1325
+ const { writeScratchRun } = await import("./results-BMJHaQbi.js");
1319
1326
  const run = await writeScratchRun({
1320
1327
  ctx,
1321
1328
  author: ctx.author,
@@ -1341,7 +1348,7 @@ async function runCommand(flags, configPath, filters) {
1341
1348
  const { record } = run;
1342
1349
  const outcome = runOutcome(record);
1343
1350
  const code = stopped ? stopCode : outcome === "fail" ? EXIT.failed : outcome === "infra_error" ? EXIT.infra : EXIT.ok;
1344
- const { pruneDebug } = await import("./files-C3tQtD26.js");
1351
+ const { pruneDebug } = await import("./files-COW5JBJM.js");
1345
1352
  await pruneDebug(ctx.config.root, ctx.config.debug.keep).catch(() => {});
1346
1353
  const summary = run.artifactDir ? join(run.artifactDir, "summary.md") : run.recordPath;
1347
1354
  renderer.onEvent({
@@ -1358,7 +1365,7 @@ async function runCommand(flags, configPath, filters) {
1358
1365
  const { config } = ctx;
1359
1366
  const mode = setup.record;
1360
1367
  if ((flags.record || mode === "always" || mode === "ci" && inCI()) && record.status !== "interrupted") {
1361
- const { record: recordCmd } = await import("./commands-ZwQUezI1.js");
1368
+ const { record: recordCmd } = await import("./commands-jO9Jj35r.js");
1362
1369
  const allow = record.status === "budget" ? { "allow-incomplete": true } : {};
1363
1370
  const line = await recordCmd(config, record.runId, {
1364
1371
  ...flags,
@@ -1368,7 +1375,7 @@ async function runCommand(flags, configPath, filters) {
1368
1375
  else console.log(line);
1369
1376
  }
1370
1377
  if (setup.json) {
1371
- const { suiteResult } = await import("./suite-BiWajSlA.js");
1378
+ const { suiteResult } = await import("./suite-BYJ2Q0S-.js");
1372
1379
  process.stdout.write(`${JSON.stringify(suiteResult(record), null, 2)}\n`);
1373
1380
  }
1374
1381
  return code;
@@ -1401,7 +1408,7 @@ async function prepareRun(flags, configPath) {
1401
1408
  const concurrency = await resolveConcurrency(config, flags.concurrency, async () => {
1402
1409
  const container = sandboxes.find((s) => s.kind === "docker");
1403
1410
  if (!container) return hostCapacity();
1404
- const { dockerCapacity } = await import("./src-1M0srjji.js");
1411
+ const { dockerCapacity } = await import("./src-DVaAKCsH.js");
1405
1412
  return await dockerCapacity(container.engine) ?? hostCapacity();
1406
1413
  });
1407
1414
  return {
@@ -1428,11 +1435,11 @@ async function prepareRun(flags, configPath) {
1428
1435
  async function startRun({ config, profile, runs, tags, concurrency, verbosity, configFile, resume, dryRun }) {
1429
1436
  const startedAt = /* @__PURE__ */ new Date();
1430
1437
  const git = await gitInfo(config.root, [config.history.dir]);
1431
- const { worktreePatch } = await import("./state-BCyNaz13.js");
1438
+ const { worktreePatch } = await import("./state-Cicc9Oa5.js");
1432
1439
  const patch = git?.dirty ? await worktreePatch(config.root, [config.history.dir]) : null;
1433
1440
  const who = await author(config.root);
1434
- const { stagingDir, sweepStaging } = await import("./results-E7JdVjq2.js");
1435
- const { scratchDir } = await import("./files-dJmrfmOM.js");
1441
+ const { stagingDir, sweepStaging } = await import("./results-BMJHaQbi.js");
1442
+ const { scratchDir } = await import("./files-Do4Rp3yZ.js");
1436
1443
  const scratch = scratchDir(config.root);
1437
1444
  if (resume !== void 0) {
1438
1445
  const target = await resolveResume(config.root, resume || void 0);
@@ -1443,7 +1450,7 @@ async function startRun({ config, profile, runs, tags, concurrency, verbosity, c
1443
1450
  artifacts: target.previousArtifacts
1444
1451
  } : await loadPrevious(stagingDir(config.root, target.runId));
1445
1452
  if (!dryRun) try {
1446
- const { removeRunContainers } = await import("./docker-BLCNfUie.js");
1453
+ const { removeRunContainers } = await import("./docker-CIzHzwlC.js");
1447
1454
  await removeRunContainers(target.runId, ["docker", "podman"]);
1448
1455
  } catch {}
1449
1456
  return {
@@ -1504,12 +1511,12 @@ function unmatchedFilter(config, parts) {
1504
1511
  */
1505
1512
  async function planEfforts(planned) {
1506
1513
  const live = planned.filter((p) => !p.attempt.plan.skip);
1507
- const { effortNotes, withDefaultEffort } = await import("./default-effort-DmXHpqo9.js");
1514
+ const { effortNotes, withDefaultEffort } = await import("./default-effort-fpdbYVKm.js");
1508
1515
  let cursor;
1509
1516
  let unchecked = "CURSOR_API_KEY isn't set";
1510
1517
  const key = process.env.CURSOR_API_KEY;
1511
1518
  if (key && live.some((p) => p.attempt.harness.kind === "cursor")) {
1512
- const { checkCursorPlan } = await import("./cursor-catalog-D7bFLEAD.js");
1519
+ const { checkCursorPlan } = await import("./cursor-catalog-Bw6-pJjR.js");
1513
1520
  const checked = await checkCursorPlan(key, live);
1514
1521
  if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
1515
1522
  else {
@@ -1543,8 +1550,8 @@ async function executeRun(ctx, setup, filters, renderer) {
1543
1550
  configFile,
1544
1551
  completed: []
1545
1552
  }));
1546
- const { runEngine } = await import("./node-D_Zkwhq2.js");
1547
- const { buildPlan, checkAttemptBudget, planDocument, planLine, planTable, runHeader } = await import("./plan-C1UpGZTk.js");
1553
+ const { runEngine } = await import("./node-CwP1G178.js");
1554
+ const { buildPlan, checkAttemptBudget, planDocument, planLine, planTable, runHeader } = await import("./plan-CIfOFhth.js");
1548
1555
  let plan;
1549
1556
  let sandboxVersions = { images: [] };
1550
1557
  let preflightStop;
@@ -1575,7 +1582,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1575
1582
  for (const p of skipped) for (const name of p.attempt.secretVars) registerSecret(process.env[name]);
1576
1583
  const efforts = await planEfforts(skipped);
1577
1584
  if (efforts) run.cursorEfforts = efforts;
1578
- const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-CN4ccjNz.js") : void 0;
1585
+ const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-DOXnWH65.js") : void 0;
1579
1586
  const judge = runJudgeModel(config, profile);
1580
1587
  const judgeModel = judge === void 0 ? null : judgeModelName(judge);
1581
1588
  plan = await buildPlan({
@@ -1600,7 +1607,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1600
1607
  };
1601
1608
  run.completed = [...completed];
1602
1609
  kept = keptAttempts(completed, stagingDir, ctx.previous);
1603
- const { imageStages, imageTargets } = await import("./images---X8Wu9d.js");
1610
+ const { imageStages, imageTargets } = await import("./images-BVZHDf_z.js");
1604
1611
  const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
1605
1612
  id: p.id,
1606
1613
  harness: p.attempt.harness,
@@ -1619,13 +1626,13 @@ async function executeRun(ctx, setup, filters, renderer) {
1619
1626
  return false;
1620
1627
  }
1621
1628
  const elsewhere = setup.configElsewhere ? configFile : void 0;
1622
- const { scratchDir } = await import("./files-dJmrfmOM.js");
1629
+ const { scratchDir } = await import("./files-Do4Rp3yZ.js");
1623
1630
  const lines = [];
1624
1631
  if (setup.dryRun) {
1625
1632
  const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
1626
1633
  lines.push(...planTable(plan, todos));
1627
- const { imageStatusLines } = await import("./images---X8Wu9d.js");
1628
- const { dockerAvailable, engineSpec } = await import("./src-1M0srjji.js");
1634
+ const { imageStatusLines } = await import("./images-BVZHDf_z.js");
1635
+ const { dockerAvailable, engineSpec } = await import("./src-DVaAKCsH.js");
1629
1636
  const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
1630
1637
  const down = [];
1631
1638
  for (const engine of engines) if (!await dockerAvailable(engine)) down.push(engine);
@@ -1634,7 +1641,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1634
1641
  const names = down.map((e) => engineSpec(e).name).join(" and ");
1635
1642
  lines.push(`images not checked: ${names} ${down.length === 1 ? "is" : "are"} not running`);
1636
1643
  }
1637
- const { costLine } = await import("./cost-C5RBTTJr.js");
1644
+ const { costLine } = await import("./cost-CMzY9VXv.js");
1638
1645
  const cost = plan.cost && costLine(plan.cost);
1639
1646
  if (cost) lines.push(cost);
1640
1647
  }
@@ -1708,7 +1715,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1708
1715
  });
1709
1716
  if (malformed.length) throw new UsageError(`Credentials with whitespace or a line break in them: ${malformed.join(", ")}. A key copied from a wrapped terminal line picks these up; set it again as one line.`);
1710
1717
  if (asked.length) {
1711
- const { questionRunner } = await import("./questions-CFU7-crW.js");
1718
+ const { questionRunner } = await import("./questions-C_Y-oXW6.js");
1712
1719
  const warned = /* @__PURE__ */ new Set();
1713
1720
  questions = questionRunner({
1714
1721
  evals: asked,
@@ -1750,7 +1757,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1750
1757
  }
1751
1758
  });
1752
1759
  }
1753
- const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-CxwHv8mG.js");
1760
+ const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-Dw9DEZox.js");
1754
1761
  const live = skipped.filter((p) => !p.attempt.plan.skip);
1755
1762
  const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
1756
1763
  workspace: a.workspace,
@@ -1880,13 +1887,31 @@ async function executeRun(ctx, setup, filters, renderer) {
1880
1887
  renderer.onEvent(e);
1881
1888
  },
1882
1889
  onCancelable: (cancel) => {
1890
+ let first;
1883
1891
  const onSignal = (signal) => {
1892
+ if (first && !first.passedOn && signal !== first.signal && Date.now() - first.at < SAME_PRESS_MS) {
1893
+ if (signal === "SIGINT") stopCode = EXIT.interrupted;
1894
+ if (!finishing) renderer.onEvent({
1895
+ type: "notice",
1896
+ at: Date.now(),
1897
+ level: "warn",
1898
+ text: `A launcher passed the Ctrl-C on and may have given the terminal back; the run still cancels and writes its record. kill ${process.pid} quits it at once, without a record`
1899
+ });
1900
+ first.passedOn = true;
1901
+ return;
1902
+ }
1884
1903
  stopCode = signal === "SIGTERM" ? EXIT.terminated : EXIT.interrupted;
1885
1904
  if (interrupted) {
1886
1905
  renderer.close();
1906
+ process.stderr.write(red(`${quitWithoutRecord(runId, stagingDir)}\n`));
1907
+ finish(stopCode);
1887
1908
  process.exit(stopCode);
1888
1909
  }
1889
1910
  interrupted = true;
1911
+ first = {
1912
+ signal,
1913
+ at: Date.now()
1914
+ };
1890
1915
  if (finishing) return;
1891
1916
  questions?.cancel();
1892
1917
  live?.phase("cancelling");
@@ -1894,7 +1919,7 @@ async function executeRun(ctx, setup, filters, renderer) {
1894
1919
  type: "notice",
1895
1920
  at: Date.now(),
1896
1921
  level: "warn",
1897
- text: "Canceling: stopping agents and destroying sandboxes (Ctrl-C again to force)"
1922
+ text: "Canceling: stopping agents and destroying sandboxes, then writing the run's record. Ctrl-C again quits at once, without a record"
1898
1923
  });
1899
1924
  cancel();
1900
1925
  };
@@ -1908,9 +1933,9 @@ async function executeRun(ctx, setup, filters, renderer) {
1908
1933
  throw error;
1909
1934
  } finally {
1910
1935
  clearTimeout(budgetTimer);
1911
- const { removePrepared } = await import("./preflight-CUooKgtT.js");
1936
+ const { removePrepared } = await import("./preflight-BAIRsTpl.js");
1912
1937
  removePrepared(config.root, runId);
1913
- const { removePreparedWorkspaces } = await import("./workspace-CxwHv8mG.js");
1938
+ const { removePreparedWorkspaces } = await import("./workspace-Dw9DEZox.js");
1914
1939
  removePreparedWorkspaces(config.root, runId);
1915
1940
  }
1916
1941
  if (preflightStop) throw preflightStop;
@@ -1990,7 +2015,6 @@ run(process.argv.slice(2)).finally(() => {
1990
2015
  finish(code, error, error instanceof UsageError ? "usage" : expected ? "expected" : "crash");
1991
2016
  process.exitCode = code;
1992
2017
  });
1993
- //#endregion
1994
2018
  export {};
1995
2019
 
1996
- //# sourceMappingURL=cli-KTHjNFoo.js.map
2020
+ //# sourceMappingURL=cli-CGd51thd.js.map