reeval 0.13.0 → 0.15.1

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 (375) hide show
  1. package/README.md +5 -3
  2. package/THIRD_PARTY_NOTICES.md +190 -190
  3. package/assets/gateway-models.mjs +74 -0
  4. package/dist/{adapter-IKKo4sZj.js → adapter-CbqbMR7y.js} +55 -14
  5. package/dist/adapter-CbqbMR7y.js.map +1 -0
  6. package/dist/{agent-ClE-g9VL.js → agent-Zgn-kiqq.js} +105 -35
  7. package/dist/agent-Zgn-kiqq.js.map +1 -0
  8. package/dist/{analysis-B0nOfAzA.js → analysis-C2-aEbr7.js} +4 -4
  9. package/dist/{analysis-B0nOfAzA.js.map → analysis-C2-aEbr7.js.map} +1 -1
  10. package/dist/app-files-ChbvRx3P.js +11 -0
  11. package/dist/app-files-ChbvRx3P.js.map +1 -0
  12. package/dist/{assemble-BO93VAk1.js → assemble-SKQGW_QF.js} +213 -136
  13. package/dist/assemble-SKQGW_QF.js.map +1 -0
  14. package/dist/assemble-XBWuK3Ed.js +1 -0
  15. package/dist/{attempt-jI0OWxlz.js → attempt-Ba2QerOK.js} +10 -10
  16. package/dist/{attempt-jI0OWxlz.js.map → attempt-Ba2QerOK.js.map} +1 -1
  17. package/dist/attempt-host-BOp8JklD.js +295 -0
  18. package/dist/attempt-host-BOp8JklD.js.map +1 -0
  19. package/dist/{capture-dn2hjSLj.js → capture-BM_3100g.js} +600 -53
  20. package/dist/capture-BM_3100g.js.map +1 -0
  21. package/dist/capture-DSK8O5bA.js +1 -0
  22. package/dist/{cli-BCE1xlm4.js → cli-PdYrcoKM.js} +177 -249
  23. package/dist/cli-PdYrcoKM.js.map +1 -0
  24. package/dist/{cli-spec-BXIBUlaK.js → cli-spec-D0qyrPZi.js} +9 -21
  25. package/dist/cli-spec-D0qyrPZi.js.map +1 -0
  26. package/dist/cli.js +2 -2
  27. package/dist/{assert-EUIoRdIt.js → client-Ct6s6OnF.js} +106 -3
  28. package/dist/client-Ct6s6OnF.js.map +1 -0
  29. package/dist/{command-CANun0m0.js → command-4pJYVCT4.js} +34 -21
  30. package/dist/command-4pJYVCT4.js.map +1 -0
  31. package/dist/{validate-DWjkshl1.js → command-9xm5ImqI.js} +420 -60
  32. package/dist/command-9xm5ImqI.js.map +1 -0
  33. package/dist/{command-D_kEnYcX.js → command-BqBxLgTc.js} +33 -31
  34. package/dist/command-BqBxLgTc.js.map +1 -0
  35. package/dist/{command-Bh3yhN_b.js → command-DbSMcxZL.js} +35 -15
  36. package/dist/command-DbSMcxZL.js.map +1 -0
  37. package/dist/{commands-7tH3EsVu.js → commands-BU6YJCz9.js} +183 -71
  38. package/dist/commands-BU6YJCz9.js.map +1 -0
  39. package/dist/{commands-BKGzBMgb.js → commands-Bi2SEQtr.js} +1 -1
  40. package/dist/config-k6m7XbAz.js +3777 -0
  41. package/dist/config-k6m7XbAz.js.map +1 -0
  42. package/dist/{contrasts-B4nOhn0Z.js → contrasts-DLZF4dGF.js} +3 -2
  43. package/dist/contrasts-DLZF4dGF.js.map +1 -0
  44. package/dist/cost-C5RBTTJr.js +1 -0
  45. package/dist/cost-ChPa8-Fp.js +359 -0
  46. package/dist/cost-ChPa8-Fp.js.map +1 -0
  47. package/dist/db-CpsifVln.js +1530 -0
  48. package/dist/db-CpsifVln.js.map +1 -0
  49. package/dist/db-DkD-F-X-.js +2 -0
  50. package/dist/{debug-D24NOQH1.js → debug-BhizgAsU.js} +2 -1
  51. package/dist/{debug-D24NOQH1.js.map → debug-BhizgAsU.js.map} +1 -1
  52. package/dist/debug-DeM5pswK.js +1 -0
  53. package/dist/{dist-Dp_AJgYN.js → dist-CYrBwyHA.js} +2 -2
  54. package/dist/{dist-Dp_AJgYN.js.map → dist-CYrBwyHA.js.map} +1 -1
  55. package/dist/{docker-DuHcQidD.js → docker-51WvhN_X.js} +5 -4
  56. package/dist/docker-51WvhN_X.js.map +1 -0
  57. package/dist/{docker-CQxucRPe.js → docker-B4-rx4dA.js} +48 -14
  58. package/dist/docker-B4-rx4dA.js.map +1 -0
  59. package/dist/{docker-Dac6Zalz.js → docker-YFj4H1Cr.js} +1 -1
  60. package/dist/{doctor-De_QlOTM.js → doctor-BuQnfz4e.js} +390 -53
  61. package/dist/doctor-BuQnfz4e.js.map +1 -0
  62. package/dist/{env-BQqj93gu.js → env-CARj5Axq.js} +6 -3
  63. package/dist/env-CARj5Axq.js.map +1 -0
  64. package/dist/{environment-B4IuURK1.js → environment-BOFgzFDg.js} +117 -297
  65. package/dist/environment-BOFgzFDg.js.map +1 -0
  66. package/dist/{errors-r025B0Zb.js → errors-UjcLWelF.js} +2 -2
  67. package/dist/{errors-r025B0Zb.js.map → errors-UjcLWelF.js.map} +1 -1
  68. package/dist/eval-source-Dje3rERU.js +145 -0
  69. package/dist/eval-source-Dje3rERU.js.map +1 -0
  70. package/dist/{evaluate-Djk1YPFL.js → evaluate-BPP9s3s6.js} +406 -130
  71. package/dist/evaluate-BPP9s3s6.js.map +1 -0
  72. package/dist/evaluate-dqXccn4k.d.ts +44 -0
  73. package/dist/{files-CN1QfenC.js → files-Bi461Be2.js} +202 -91
  74. package/dist/files-Bi461Be2.js.map +1 -0
  75. package/dist/files-C2h2Cw4F.js +1 -0
  76. package/dist/files-Clipx4OW.js +37 -0
  77. package/dist/files-Clipx4OW.js.map +1 -0
  78. package/dist/files-DmUrRmmL.js +1 -0
  79. package/dist/{files-D27nUk0K.js → files-H24pz0hL.js} +20 -9
  80. package/dist/files-H24pz0hL.js.map +1 -0
  81. package/dist/gateway.d.ts +30 -0
  82. package/dist/gateway.js +39 -0
  83. package/dist/gateway.js.map +1 -0
  84. package/dist/{git-rPfl7AD1.js → git-CsVZkNNL.js} +3 -3
  85. package/dist/{git-rPfl7AD1.js.map → git-CsVZkNNL.js.map} +1 -1
  86. package/dist/harness-3NVyTSGK.js +392 -0
  87. package/dist/harness-3NVyTSGK.js.map +1 -0
  88. package/dist/harness.d.ts +33 -21
  89. package/dist/harness.js +1 -1
  90. package/dist/{images-m784ueGK.js → images-4mwhNkvh.js} +8 -8
  91. package/dist/{images-m784ueGK.js.map → images-4mwhNkvh.js.map} +1 -1
  92. package/dist/index.d.ts +34 -35
  93. package/dist/index.js +5 -6
  94. package/dist/init-BDEOopK7.js +1 -0
  95. package/dist/{init-hiTkiM4L.js → init-cOk3D44b.js} +12 -15
  96. package/dist/init-cOk3D44b.js.map +1 -0
  97. package/dist/{invocations-D_ePcwyL.js → invocations-DW-lTk2f.js} +10 -6
  98. package/dist/invocations-DW-lTk2f.js.map +1 -0
  99. package/dist/judge-CKdgEXN7.js +575 -0
  100. package/dist/judge-CKdgEXN7.js.map +1 -0
  101. package/dist/judge.d.ts +8 -9
  102. package/dist/judge.js +7 -9
  103. package/dist/judge.js.map +1 -1
  104. package/dist/{live-DYd2QEyR.js → live-XJQ6nqK4.js} +2 -2
  105. package/dist/{live-DYd2QEyR.js.map → live-XJQ6nqK4.js.map} +1 -1
  106. package/dist/{matchers-Ddmc2z7H.js → matchers-DT2TaGix.js} +2 -2
  107. package/dist/{matchers-Ddmc2z7H.js.map → matchers-DT2TaGix.js.map} +1 -1
  108. package/dist/{model-DpkclE4r.js → model-Bq3G0OG1.js} +52 -45
  109. package/dist/model-Bq3G0OG1.js.map +1 -0
  110. package/dist/{model-UgHDMhI1.js → model-CTnyvh7H.js} +345 -382
  111. package/dist/model-CTnyvh7H.js.map +1 -0
  112. package/dist/model-D-SWrLZG.js +1 -0
  113. package/dist/model-g3XnzUv0.js +1 -0
  114. package/dist/model-vRiUycWh.js +77 -0
  115. package/dist/model-vRiUycWh.js.map +1 -0
  116. package/dist/{node-CGZYh4Fj.js → node-BVbbnFtv.js} +80 -51
  117. package/dist/node-BVbbnFtv.js.map +1 -0
  118. package/dist/opencode-providers-Bz0l7OZI.js +3276 -0
  119. package/dist/opencode-providers-Bz0l7OZI.js.map +1 -0
  120. package/dist/openrouter-models-CWRwLX-G.js +34 -0
  121. package/dist/openrouter-models-CWRwLX-G.js.map +1 -0
  122. package/dist/{pairs-DP6XOJby.js → pairs-puYi-zj2.js} +17 -9
  123. package/dist/pairs-puYi-zj2.js.map +1 -0
  124. package/dist/patch-CquGAGX5.js +76 -0
  125. package/dist/patch-CquGAGX5.js.map +1 -0
  126. package/dist/{patch-uMq9rCl_.js → patch-DKJiC5Sq.js} +5 -7
  127. package/dist/patch-DKJiC5Sq.js.map +1 -0
  128. package/dist/{plan-CZYgXnZh.js → plan-DdWkM6SW.js} +118 -46
  129. package/dist/plan-DdWkM6SW.js.map +1 -0
  130. package/dist/{plugins-P-uh54VF.js → plugins-D-CP6mMd.js} +254 -18
  131. package/dist/plugins-D-CP6mMd.js.map +1 -0
  132. package/dist/{preflight-D3HvKeAx.js → preflight-9ixuXzsx.js} +3 -3
  133. package/dist/{preflight-D3HvKeAx.js.map → preflight-9ixuXzsx.js.map} +1 -1
  134. package/dist/{preflight-BQlPTHVu.js → preflight-DTiVv0gY.js} +1 -1
  135. package/dist/{prepare-Dx7dOnJB.js → prepare-BfyikQit.js} +8 -8
  136. package/dist/{prepare-Dx7dOnJB.js.map → prepare-BfyikQit.js.map} +1 -1
  137. package/dist/{prepare-DCwM2KKD.js → prepare-tmBBf4W8.js} +2 -2
  138. package/dist/prices-QaS-kjSQ.js +253 -0
  139. package/dist/prices-QaS-kjSQ.js.map +1 -0
  140. package/dist/{provenance-C_-8y-x3.js → provenance-BizwUn3h.js} +4 -4
  141. package/dist/{provenance-C_-8y-x3.js.map → provenance-BizwUn3h.js.map} +1 -1
  142. package/dist/{providers-CF5UEaP8.js → providers-B6b9Tnyi.js} +5 -5
  143. package/dist/{providers-CF5UEaP8.js.map → providers-B6b9Tnyi.js.map} +1 -1
  144. package/dist/{providers-CTBYvMxu.js → providers-DkOupEBl.js} +1 -1
  145. package/dist/query-Clm2mNSm.js +1 -0
  146. package/dist/{query-DXthKmq0.js → query-DyM-VExS.js} +3 -3
  147. package/dist/{query-DXthKmq0.js.map → query-DyM-VExS.js.map} +1 -1
  148. package/dist/questions-BRhU8MzB.js +861 -0
  149. package/dist/questions-BRhU8MzB.js.map +1 -0
  150. package/dist/{record-kk9M1hj-.js → record-DZBCjuwm.js} +6 -6
  151. package/dist/{record-kk9M1hj-.js.map → record-DZBCjuwm.js.map} +1 -1
  152. package/dist/redact-DVIaahLv.js +658 -0
  153. package/dist/redact-DVIaahLv.js.map +1 -0
  154. package/dist/remarks-BwJ8pcTQ.js +1 -0
  155. package/dist/remarks-C7i2LMRb.js +596 -0
  156. package/dist/remarks-C7i2LMRb.js.map +1 -0
  157. package/dist/{header-BVzbRnNv.js → remarks-D_3qhBWU.js} +34 -9
  158. package/dist/remarks-D_3qhBWU.js.map +1 -0
  159. package/dist/{remarks-1521zwfW.js → remarks-dA8LyoPc.js} +12 -6
  160. package/dist/remarks-dA8LyoPc.js.map +1 -0
  161. package/dist/remote-DFIzcx_6.js +273 -0
  162. package/dist/remote-DFIzcx_6.js.map +1 -0
  163. package/dist/resolve--rQZ8u6Z.js +1 -0
  164. package/dist/{resolve-DzdWcIL6.js → resolve-DWSJpKHX.js} +48 -33
  165. package/dist/resolve-DWSJpKHX.js.map +1 -0
  166. package/dist/{results-D-naai_Q.js → results-BC3pcG_Z.js} +15 -30
  167. package/dist/results-BC3pcG_Z.js.map +1 -0
  168. package/dist/{resume-8-nnW8iO.js → resume-j-rcIryi.js} +47 -17
  169. package/dist/resume-j-rcIryi.js.map +1 -0
  170. package/dist/{root-DNuLhaA5.js → root-Dlff-zp8.js} +4 -4
  171. package/dist/{root-DNuLhaA5.js.map → root-Dlff-zp8.js.map} +1 -1
  172. package/dist/{runtime-PX_oXiCS.js → runtime-d56Gg3J5.js} +42 -13
  173. package/dist/runtime-d56Gg3J5.js.map +1 -0
  174. package/dist/{sandbox-YLbk9mO7.js → sandbox-Cmln11gU.js} +2 -2
  175. package/dist/{sandbox-YLbk9mO7.js.map → sandbox-Cmln11gU.js.map} +1 -1
  176. package/dist/sandbox.d.ts +2 -1
  177. package/dist/sandbox.js +1 -1
  178. package/dist/{server-De8oH3bt.js → server-BOoH10J8.js} +69 -52
  179. package/dist/server-BOoH10J8.js.map +1 -0
  180. package/dist/server-DpuVAbrO.js +1 -0
  181. package/dist/{shared-CA61BuPJ.js → shared-B_lvGqWz.js} +20 -12
  182. package/dist/shared-B_lvGqWz.js.map +1 -0
  183. package/dist/shared-CHvO7eLi.d.ts +1 -0
  184. package/dist/source-BFd6f0-R.js +1 -0
  185. package/dist/{source-C686eZpY.js → source-wD04-rRG.js} +15 -10
  186. package/dist/source-wD04-rRG.js.map +1 -0
  187. package/dist/{src-CzQrAcF8.js → src-1lpTocbd.js} +152 -75
  188. package/dist/src-1lpTocbd.js.map +1 -0
  189. package/dist/{src-DrJSnoMR.js → src-6_zz7oJs.js} +1 -1
  190. package/dist/{src-cbCb-MPy.js → src-8yTF251P.js} +68 -22
  191. package/dist/{src-cbCb-MPy.js.map → src-8yTF251P.js.map} +1 -1
  192. package/dist/{src-Xj_BZKbq.js → src-BO8AYqJ5.js} +45 -18
  193. package/dist/src-BO8AYqJ5.js.map +1 -0
  194. package/dist/{src-DeY52Gyf.js → src-BYDOXw_Y.js} +26 -10
  195. package/dist/{src-DeY52Gyf.js.map → src-BYDOXw_Y.js.map} +1 -1
  196. package/dist/src-BYPMM1x7.js +2 -0
  197. package/dist/src-Bp4aN3rA.js +2 -0
  198. package/dist/src-C7upnZSd.js +2 -0
  199. package/dist/{src-CIpKL45U.js → src-D91Hd6hT.js} +566 -1070
  200. package/dist/src-D91Hd6hT.js.map +1 -0
  201. package/dist/src-DH-9IO7f.js +1 -0
  202. package/dist/{src-djNNYIdP.js → src-DSZyg0Uq.js} +178 -29
  203. package/dist/src-DSZyg0Uq.js.map +1 -0
  204. package/dist/{src-DIL0jST0.js → src-DgHuStEi.js} +159 -31
  205. package/dist/src-DgHuStEi.js.map +1 -0
  206. package/dist/src-HSxBazcg.js +3 -0
  207. package/dist/src-LD1BAJFa.js +2 -0
  208. package/dist/src-dlX-Lmxg.js +2 -0
  209. package/dist/{src-C7W6kg81.js → src-gn7YlnRg.js} +64 -17
  210. package/dist/{src-C7W6kg81.js.map → src-gn7YlnRg.js.map} +1 -1
  211. package/dist/src-kYeaJJrl.js +2 -0
  212. package/dist/state-B5PLm5qY.js +1 -0
  213. package/dist/{state-C0i_ujQZ.js → state-DrJ687ut.js} +18 -18
  214. package/dist/{state-C0i_ujQZ.js.map → state-DrJ687ut.js.map} +1 -1
  215. package/dist/stats-hfpuYsAM.js +315 -0
  216. package/dist/stats-hfpuYsAM.js.map +1 -0
  217. package/dist/suite-22Kt9Grx.js +2 -0
  218. package/dist/{suite-DmuF_ApO.js → suite-Co8cwelb.js} +92 -42
  219. package/dist/suite-Co8cwelb.js.map +1 -0
  220. package/dist/{summary-BFMHMTz2.js → summary-DLFHVoux.js} +131 -280
  221. package/dist/summary-DLFHVoux.js.map +1 -0
  222. package/dist/testing.d.ts +449 -2
  223. package/dist/testing.js +16 -3
  224. package/dist/testing.js.map +1 -0
  225. package/dist/{text-CrVy5ioL.js → text-DTigcA64.js} +9 -5
  226. package/dist/text-DTigcA64.js.map +1 -0
  227. package/dist/{transcript-BTxJpW4R.js → transcript-DxPaWHTZ.js} +12 -4
  228. package/dist/transcript-DxPaWHTZ.js.map +1 -0
  229. package/dist/types-C5vI3g1C.js.map +1 -1
  230. package/dist/{types-B-9b1MDV.d.ts → types-coMWHaU2.d.ts} +493 -745
  231. package/dist/{usage-CleNKkly.js → usage-BNY1ABrU.js} +3 -3
  232. package/dist/{usage-CleNKkly.js.map → usage-BNY1ABrU.js.map} +1 -1
  233. package/dist/vertex-Bv7vhMgs.js +1 -0
  234. package/dist/vertex-C7PI-WPc.d.ts +3 -0
  235. package/dist/vertex-DypYjx71.js +456 -0
  236. package/dist/vertex-DypYjx71.js.map +1 -0
  237. package/dist/view/index.d.ts +505 -43
  238. package/dist/view/index.js +10 -9
  239. package/dist/{views-Dk8MCQKr.js → views-BFO1BLKu.js} +14 -13
  240. package/dist/views-BFO1BLKu.js.map +1 -0
  241. package/dist/views-BOf8qEL8.js +2 -0
  242. package/dist/{worker-entry-CqrzGPF4.js → worker-entry-CJtdsKBP.js} +21 -14
  243. package/dist/worker-entry-CJtdsKBP.js.map +1 -0
  244. package/dist/{workspace-CLeOybkr.js → workspace-BRxjfa8N.js} +5 -5
  245. package/dist/{workspace-CLeOybkr.js.map → workspace-BRxjfa8N.js.map} +1 -1
  246. package/dist/workspace-DDHzkMjm.js +1 -0
  247. package/docker/seccomp-default.json +1 -0
  248. package/package.json +10 -2
  249. package/skills/eval-rubric/SKILL.md +43 -103
  250. package/dist/adapter-IKKo4sZj.js.map +0 -1
  251. package/dist/agent-ClE-g9VL.js.map +0 -1
  252. package/dist/assemble-BO93VAk1.js.map +0 -1
  253. package/dist/assemble-VQxyoDxK.js +0 -1
  254. package/dist/assert-EUIoRdIt.js.map +0 -1
  255. package/dist/capture-dn2hjSLj.js.map +0 -1
  256. package/dist/capture-nIJ-7kUE.js +0 -1
  257. package/dist/cli-BCE1xlm4.js.map +0 -1
  258. package/dist/cli-spec-BXIBUlaK.js.map +0 -1
  259. package/dist/client-fcwgwOAD.js +0 -106
  260. package/dist/client-fcwgwOAD.js.map +0 -1
  261. package/dist/command-Bh3yhN_b.js.map +0 -1
  262. package/dist/command-C6vwmjS7.js +0 -91
  263. package/dist/command-C6vwmjS7.js.map +0 -1
  264. package/dist/command-CANun0m0.js.map +0 -1
  265. package/dist/command-CBaHukyl.js +0 -335
  266. package/dist/command-CBaHukyl.js.map +0 -1
  267. package/dist/command-D_kEnYcX.js.map +0 -1
  268. package/dist/commands-7tH3EsVu.js.map +0 -1
  269. package/dist/config-D7TFvUpL.js +0 -759
  270. package/dist/config-D7TFvUpL.js.map +0 -1
  271. package/dist/contrasts-B4nOhn0Z.js.map +0 -1
  272. package/dist/db-DJUuFoWQ.js +0 -602
  273. package/dist/db-DJUuFoWQ.js.map +0 -1
  274. package/dist/db-W9EFlXnn.js +0 -2
  275. package/dist/debug-D7bEv_UV.js +0 -1
  276. package/dist/docker-CQxucRPe.js.map +0 -1
  277. package/dist/docker-DuHcQidD.js.map +0 -1
  278. package/dist/doctor-De_QlOTM.js.map +0 -1
  279. package/dist/egress-DEAvq8Fl.js +0 -1258
  280. package/dist/egress-DEAvq8Fl.js.map +0 -1
  281. package/dist/env-BQqj93gu.js.map +0 -1
  282. package/dist/environment-B4IuURK1.js.map +0 -1
  283. package/dist/evaluate-C9-ritA5.d.ts +0 -92
  284. package/dist/evaluate-Djk1YPFL.js.map +0 -1
  285. package/dist/facts-Cfx1H70y.js +0 -898
  286. package/dist/facts-Cfx1H70y.js.map +0 -1
  287. package/dist/files-Bs6H3HiG.js +0 -65
  288. package/dist/files-Bs6H3HiG.js.map +0 -1
  289. package/dist/files-CN1QfenC.js.map +0 -1
  290. package/dist/files-CtjEXWXm.js +0 -1
  291. package/dist/files-D27nUk0K.js.map +0 -1
  292. package/dist/files-D3gJa91B.js +0 -1
  293. package/dist/generate-BnrvBAzF.js +0 -1646
  294. package/dist/generate-BnrvBAzF.js.map +0 -1
  295. package/dist/harness-1OkumOAm.js +0 -323
  296. package/dist/harness-1OkumOAm.js.map +0 -1
  297. package/dist/header-BVzbRnNv.js.map +0 -1
  298. package/dist/init-hiTkiM4L.js.map +0 -1
  299. package/dist/init-kMkTgTZc.js +0 -1
  300. package/dist/insights-B2Xmhz9o.js +0 -64
  301. package/dist/insights-B2Xmhz9o.js.map +0 -1
  302. package/dist/invocations-D_ePcwyL.js.map +0 -1
  303. package/dist/judge-CEDIfRiU.js +0 -186
  304. package/dist/judge-CEDIfRiU.js.map +0 -1
  305. package/dist/model-B8H3gL69.js +0 -1
  306. package/dist/model-CTiuzkWw.js +0 -46
  307. package/dist/model-CTiuzkWw.js.map +0 -1
  308. package/dist/model-DcIbmggK.js +0 -1
  309. package/dist/model-DpkclE4r.js.map +0 -1
  310. package/dist/model-UgHDMhI1.js.map +0 -1
  311. package/dist/node-CGZYh4Fj.js.map +0 -1
  312. package/dist/opencode-providers-snfeWd6Z.js +0 -3305
  313. package/dist/opencode-providers-snfeWd6Z.js.map +0 -1
  314. package/dist/options-CyAyLjgJ.js +0 -1129
  315. package/dist/options-CyAyLjgJ.js.map +0 -1
  316. package/dist/pairs-DP6XOJby.js.map +0 -1
  317. package/dist/patch-uMq9rCl_.js.map +0 -1
  318. package/dist/plan-CZYgXnZh.js.map +0 -1
  319. package/dist/plugins-P-uh54VF.js.map +0 -1
  320. package/dist/query-D_1ARx5q.js +0 -1
  321. package/dist/questions-KENpWnfV.js +0 -523
  322. package/dist/questions-KENpWnfV.js.map +0 -1
  323. package/dist/redact-CRGdfV2s.js +0 -240
  324. package/dist/redact-CRGdfV2s.js.map +0 -1
  325. package/dist/remarks-1521zwfW.js.map +0 -1
  326. package/dist/remarks-BhAV1H4V.js +0 -1
  327. package/dist/remarks-Ml6bcSdV.js +0 -278
  328. package/dist/remarks-Ml6bcSdV.js.map +0 -1
  329. package/dist/remote-Dkeghk8k.js +0 -378
  330. package/dist/remote-Dkeghk8k.js.map +0 -1
  331. package/dist/resolve-CMmhACr6.js +0 -1
  332. package/dist/resolve-DzdWcIL6.js.map +0 -1
  333. package/dist/results-D-naai_Q.js.map +0 -1
  334. package/dist/resume-8-nnW8iO.js.map +0 -1
  335. package/dist/rules-CcV3zLDR.js +0 -318
  336. package/dist/rules-CcV3zLDR.js.map +0 -1
  337. package/dist/run-Bel7Vde4.js +0 -88
  338. package/dist/run-Bel7Vde4.js.map +0 -1
  339. package/dist/runtime-PX_oXiCS.js.map +0 -1
  340. package/dist/server-C-ysqkLv.js +0 -1
  341. package/dist/server-De8oH3bt.js.map +0 -1
  342. package/dist/shared-CA61BuPJ.js.map +0 -1
  343. package/dist/source-C686eZpY.js.map +0 -1
  344. package/dist/source-DjgypUHW.js +0 -1
  345. package/dist/src-3mP821Pt.js +0 -2
  346. package/dist/src-B3KCLZVk.js +0 -3
  347. package/dist/src-BAyg6CtQ.js +0 -2
  348. package/dist/src-BezgGX4X.js +0 -2
  349. package/dist/src-CIpKL45U.js.map +0 -1
  350. package/dist/src-ChBhk06Q.js +0 -2
  351. package/dist/src-CoqZYspK.js +0 -2
  352. package/dist/src-CzQrAcF8.js.map +0 -1
  353. package/dist/src-D9fSTxlc.js +0 -1
  354. package/dist/src-DIL0jST0.js.map +0 -1
  355. package/dist/src-Xj_BZKbq.js.map +0 -1
  356. package/dist/src-dhSTRN50.js +0 -2
  357. package/dist/src-djNNYIdP.js.map +0 -1
  358. package/dist/state-BGWGAwdo.js +0 -1
  359. package/dist/state-CeR6oz0k.js +0 -66
  360. package/dist/state-CeR6oz0k.js.map +0 -1
  361. package/dist/studio-app/assets/index-Bb_cid9k.js +0 -58
  362. package/dist/studio-app/assets/index-CwQN3f_h.css +0 -2
  363. package/dist/studio-app/favicon.svg +0 -1
  364. package/dist/studio-app/index.html +0 -15
  365. package/dist/suite-DmuF_ApO.js.map +0 -1
  366. package/dist/suite-mn9g4veR.js +0 -2
  367. package/dist/summary-BFMHMTz2.js.map +0 -1
  368. package/dist/text-CrVy5ioL.js.map +0 -1
  369. package/dist/transcript-BTxJpW4R.js.map +0 -1
  370. package/dist/usage-BDo2q_yu.js +0 -1
  371. package/dist/validate-DWjkshl1.js.map +0 -1
  372. package/dist/views-DE2A1jEX.js +0 -2
  373. package/dist/views-Dk8MCQKr.js.map +0 -1
  374. package/dist/worker-entry-CqrzGPF4.js.map +0 -1
  375. package/dist/workspace-B1eGO46M.js +0 -1
@@ -1,5 +1,7 @@
1
- import { existsSync } from "node:fs";
1
+ import { s as withoutBom } from "./text-DTigcA64.js";
2
+ import { existsSync, readFileSync } from "node:fs";
2
3
  import { dirname, join, resolve } from "node:path";
4
+ import { parseEnv } from "node:util";
3
5
  //#region src/env.ts
4
6
  /**
5
7
  * Loads .env.local, then .env, from the config file's directory (the current one only without a
@@ -10,7 +12,8 @@ function loadEnvFiles(configPath) {
10
12
  const dir = configPath ? dirname(configPath) : resolve(".");
11
13
  for (const name of [".env.local", ".env"]) {
12
14
  const path = join(dir, name);
13
- if (existsSync(path)) process.loadEnvFile(path);
15
+ if (!existsSync(path)) continue;
16
+ for (const [key, value] of Object.entries(parseEnv(withoutBom(readFileSync(path, "utf8"))))) process.env[key] ??= value;
14
17
  }
15
18
  }
16
19
  /** `CI` is set to anything but `false`: records by default, forbids `.only`, names CI authors. */
@@ -18,4 +21,4 @@ const inCI = (env = process.env) => !!env.CI && env.CI !== "false";
18
21
  //#endregion
19
22
  export { loadEnvFiles as n, inCI as t };
20
23
 
21
- //# sourceMappingURL=env-BQqj93gu.js.map
24
+ //# sourceMappingURL=env-CARj5Axq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-CARj5Axq.js","names":[],"sources":["../src/env.ts"],"mappings":";;;;;;;;;;AAUA,SAAgB,aAAa,YAAsC;CACjE,MAAM,MAAM,aAAa,QAAQ,UAAU,IAAI,QAAQ,GAAG;CAC1D,KAAK,MAAM,QAAQ,CAAC,cAAc,MAAM,GAAG;EACzC,MAAM,OAAO,KAAK,KAAK,IAAI;EAC3B,IAAI,CAAC,WAAW,IAAI,GAAG;EACvB,KAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,SAAS,WAAW,aAAa,MAAM,MAAM,CAAC,CAAC,CAAC,GACxF,QAAQ,IAAI,SAAS;CAEzB;AACF;;AAGA,MAAa,QAAQ,MAAyB,QAAQ,QACpD,CAAC,CAAC,IAAI,MAAM,IAAI,OAAO"}
@@ -1,35 +1,34 @@
1
1
  import { t as isObjectLike } from "./object-CLf2-tNq.js";
2
2
  import { n as UsageError } from "./errors-B6BSMs03.js";
3
- import { d as refusal, f as valueAt, i as durationSchema, l as nonEmpty, o as genericProblem, p as parseDuration, r as durationProblem, s as got, t as closest, u as oneOf } from "./shared-CA61BuPJ.js";
4
- import { n as SECRET_NAME } from "./redact-CRGdfV2s.js";
5
- import { i as PACKAGE_DIR, n as COMPILED } from "./root-DNuLhaA5.js";
6
- import { a as PLUGIN_PARTS, i as PLUGIN_NAME, y as localPluginServers } from "./plugins-P-uh54VF.js";
3
+ import { d as refusal, h as parseDuration, i as durationSchema, l as nonEmpty, o as genericProblem, r as durationProblem, s as got, t as closest } from "./shared-B_lvGqWz.js";
4
+ import { F as credentialsIn, G as pluginSourceSchema, H as gitWorkspaceSchema, I as descriptorProblem, K as secretSchema, L as egressPolicySchema, N as VAR, P as badHost, R as egressProblem, U as hostFileSchema, W as mcpServerSchema, a as PLUGIN_PARTS, i as PLUGIN_NAME, q as skillSourceSchema, y as localPluginServers, z as envVarsSchema } from "./plugins-D-CP6mMd.js";
5
+ import { c as hasTokenShape, n as SECRET_NAME } from "./redact-DVIaahLv.js";
6
+ import { i as PACKAGE_DIR, n as COMPILED } from "./root-Dlff-zp8.js";
7
7
  import picomatch from "picomatch";
8
8
  import { readdirSync, realpathSync, statSync } from "node:fs";
9
9
  import { dirname, isAbsolute, join, normalize, resolve, sep } from "node:path";
10
10
  import { z } from "zod";
11
- import { isIP } from "node:net";
12
11
  import { fileURLToPath } from "node:url";
13
12
  //#region src/contract/docker.ts
14
13
  /** Docker's memory size: bytes, or a number with `b`, `k`, `m` or `g`. */
15
14
  const MEMORY = /^\d+(\.\d+)?[bkmg]?$/i;
16
15
  const installStepSchema = z.union([nonEmpty(), z.strictObject({
17
- run: nonEmpty().describe("The shell command."),
16
+ run: nonEmpty(),
18
17
  timeout: durationSchema.optional()
19
- })]).describe("A `docker({ install })` command, baked into a cached image layer: no secrets, root, cwd `/`.");
18
+ })]);
20
19
  /** Every field but `kind` and `dockerfile`, shared by the descriptor and `docker()`'s options. */
21
20
  const fields = {
22
- id: nonEmpty().optional().describe("Cell id; defaults to `docker` (`podman`), or `docker:<image>` for other images, plus an install hash."),
23
- image: nonEmpty().optional().describe("An image that already has the harness baked in, used as is."),
24
- from: z.string().regex(/^\S+$/, "one word").optional().describe("A Debian or Ubuntu based toolchain image; reeval bakes Node and the harness on top, cached."),
25
- install: z.array(installStepSchema).min(1).optional().describe("Baked onto the sandbox image in one build container: in order, no secrets, no workspace."),
26
- maxConcurrent: z.number().optional().describe("The most Docker sandboxes at once, across the run, whatever their image."),
27
- root: z.boolean().optional().describe("Run the agent, setup steps and checks as root, with the capabilities `apt-get` needs, instead of the unprivileged `reeval` user. For evals that install system packages at run time."),
28
- capabilities: z.array(z.string().regex(/^(CAP_)?[A-Z_]+$/)).optional().describe("Linux capabilities to add back, e.g. `['NET_RAW']`; every other one is dropped."),
29
- memory: z.union([z.string().regex(MEMORY), z.int().positive()]).optional().describe("The container's memory: `'4g'` (default), `'512m'`, or bytes."),
30
- swap: z.union([z.string().regex(MEMORY), z.int().nonnegative()]).optional().describe("Swap on top of `memory`, in the same units. Default: as much as `memory`; `0` makes `memory` the hard ceiling. A host without swap has none to give."),
31
- cpus: z.number().positive().optional().describe("CPUs the container may use, fractions allowed. Default 2, capped at the Docker host's."),
32
- pids: z.int().positive().optional().describe("Processes and threads at once. Default 1024.")
21
+ id: nonEmpty().optional(),
22
+ image: nonEmpty().optional(),
23
+ from: z.string().regex(/^\S+$/, "one word").optional(),
24
+ install: z.array(installStepSchema).min(1).optional(),
25
+ maxConcurrent: z.number().optional(),
26
+ root: z.boolean().optional(),
27
+ capabilities: z.array(z.string().regex(/^(CAP_)?[A-Z_]+$/)).optional(),
28
+ memory: z.union([z.string().regex(MEMORY), z.int().positive()]).optional(),
29
+ swap: z.union([z.string().regex(MEMORY), z.int().nonnegative()]).optional(),
30
+ cpus: z.number().positive().optional(),
31
+ pids: z.int().positive().optional()
33
32
  };
34
33
  const BASES = [
35
34
  "image",
@@ -50,20 +49,20 @@ function oneRecipe(value, ctx) {
50
49
  }
51
50
  const dockerSandboxSchema = z.strictObject({
52
51
  kind: z.literal("docker"),
53
- engine: z.enum(["docker", "podman"]).optional().describe("The container CLI the sandbox runs on: `podman` for `podman()`, Docker when unset."),
52
+ engine: z.enum(["docker", "podman"]).optional(),
54
53
  ...fields,
55
- dockerfile: nonEmpty().optional().describe("A Dockerfile, absolute or relative to the directory of the file it's written in, built from its directory with `REEVAL_BASE` set to reeval's sandbox image and cached by content hash.")
56
- }).superRefine(oneRecipe).describe("A local Docker container, made by `docker()`, or a Podman one, made by `podman()`.");
54
+ dockerfile: nonEmpty().optional()
55
+ }).superRefine(oneRecipe);
57
56
  const fakeSandboxSchema = z.strictObject({
58
57
  kind: z.literal("fake"),
59
- id: nonEmpty().optional().describe("Cell id; defaults to `fake`."),
60
- dir: nonEmpty().optional().describe("Parent directory for the per-eval workspace (defaults to the OS temp dir)."),
61
- maxConcurrent: z.number().optional().describe("The most attempts on this sandbox kind at once, across the run.")
62
- }).describe("A temp directory on the host instead of a container, made by `fakeSandbox()`.");
58
+ id: nonEmpty().optional(),
59
+ dir: nonEmpty().optional(),
60
+ maxConcurrent: z.number().optional()
61
+ });
63
62
  /** `docker()`'s argument: the descriptor's fields, with `dockerfile` relative or a `file:` URL. */
64
63
  const dockerOptionsSchema = z.strictObject({
65
64
  ...fields,
66
- dockerfile: z.union([nonEmpty(), z.instanceof(URL)]).optional().describe("Relative to the file that calls `docker()`, or an absolute path or `URL`.")
65
+ dockerfile: z.union([nonEmpty(), z.instanceof(URL)]).optional()
67
66
  }).superRefine(oneRecipe);
68
67
  const DOCKER_HINTS = {
69
68
  steps: "install",
@@ -134,12 +133,12 @@ function explainDocker(issue, value) {
134
133
  if (key === "environment" || key === "env") return `Unknown docker() option "${key}". The sandbox is what's baked into the image; variables and secrets belong in defineEnvironment({ env }).`;
135
134
  return `Unknown docker() option "${key}".${DOCKER_HINTS[key] ? ` Did you mean "${DOCKER_HINTS[key]}"?` : ""}`;
136
135
  }
136
+ if (issue.path[0] === "install" && issue.path.length > 1) return installMessage(options.install[issue.path[1]]);
137
137
  if (issue.code === "custom") {
138
138
  const { bases } = issue.params ?? {};
139
139
  return bases ? `docker() takes one base image, but got ${bases.join(" and ")}. Use image (has the harness), from (a toolchain image reeval bakes the harness onto) or dockerfile.` : "docker() takes dockerfile or install, not both: put the install commands in the Dockerfile as RUN lines, so there's one recipe for the image.";
140
140
  }
141
141
  const key = String(issue.path[0]);
142
- if (key === "install" && issue.path.length > 1) return installMessage(options.install[issue.path[1]]);
143
142
  return (FIELD[key] ?? ((v) => `docker({ ${key} }) is invalid (got ${got(v)})`))(options[key]);
144
143
  }
145
144
  function explainFake(issue, value) {
@@ -170,254 +169,36 @@ function sandboxProblem(value) {
170
169
  }), value.engine) : refusal(fakeSandboxSchema, value, explainFake, { skip: ["maxConcurrent"] });
171
170
  }
172
171
  //#endregion
173
- //#region src/contract/plain.ts
174
- /** A host environment variable's name. */
175
- const VAR = /^[A-Za-z_][A-Za-z0-9_]*$/;
176
- /** A host name, or `*.` and a domain for its subdomains. */
177
- const HOST = /^(?:\*\.)?[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/i;
178
- /** Why `host` isn't a host name or `*.` pattern, or undefined when it is one. */
179
- function badHost(host) {
180
- if (typeof host === "string" && HOST.test(host)) {
181
- const name = host.replace(/^\*\./, "");
182
- if (/(?:^|\.)\d+$/.test(name) && (name !== host || isIP(name) !== 4)) return `'${host}' isn't a host name or an IPv4 address, and a *. pattern never matches an address.`;
183
- if (name !== host && !name.includes(".")) return `'${host}' would allow every host under .${name}; name the domain, e.g. '*.example.${name}'.`;
184
- return;
185
- }
186
- if (typeof host === "string" && /^[a-z]+:\/\//i.test(host)) return `hosts are host names, not URLs: use '${new URL(host).hostname}' (got '${host}')`;
187
- if (typeof host === "string" && /^[^:/]+:\d+$/.test(host)) return `hosts are host names without a port: use '${host.split(":")[0]}' (got '${host}')`;
188
- return `${JSON.stringify(host)} isn't a host. Use a name like 'api.example.com', or '*.example.com' for its subdomains.`;
189
- }
190
- const host = z.string().superRefine((value, ctx) => {
191
- const bad = badHost(value);
192
- if (bad) ctx.addIssue({
193
- code: "custom",
194
- message: bad
195
- });
196
- });
197
- const gatePolicySchema = z.union([z.literal("all"), z.strictObject({ passRate: z.number().gt(0).max(1) })]).describe("How a cell's attempts decide its outcome: `'all'` (the default) passes only when every attempt passes (pass^k); `{ passRate }` passes when its pass@1 (passes over passes and fails) is at least that share.");
198
- const egressPolicySchema = z.union([
199
- z.literal("allow-all"),
200
- z.literal("deny-all"),
201
- z.strictObject({ allow: z.array(host).readonly() })
202
- ]).describe("Where the sandbox may connect: anywhere (`'allow-all'`, the default), nowhere (`'deny-all'`), or only the listed hosts (`'*.example.com'` matches subdomains). Under a restricted policy the harness's own hosts, brokered secrets' `hosts` and MCP servers' hosts are allowed too; any other request gets a refusal, and the attempt goes on.");
203
- const substituteInSchema = z.enum([
204
- "header",
205
- "query",
206
- "body"
207
- ]).describe("`header` values, the `query` string, or the request `body`.");
208
- const secretSchema = z.strictObject({
209
- kind: z.literal("secret"),
210
- from: z.string().regex(VAR, "needs a host variable name").optional().describe("The host variable; defaults to the key it's set under."),
211
- optional: z.boolean().optional().describe("When the host variable is unset, skip it (the record says so) instead of failing."),
212
- to: z.enum(["agent", "checks"]).optional().describe("`agent` (default): the container's environment. `checks`: only `c.exec` and `setup` steps."),
213
- hosts: z.array(host).min(1).optional().describe("Brokers the secret: the sandbox gets a per-attempt placeholder, and the Docker egress gateway swaps in the real value only on HTTPS requests to these hosts (`*.example.com` for subdomains)."),
214
- in: z.array(substituteInSchema).min(1).optional().describe("Where in a request to those hosts the gateway substitutes; defaults to `['header']`.")
215
- }).superRefine((secret, ctx) => {
216
- if (secret.in && !secret.hosts) ctx.addIssue({
217
- code: "custom",
218
- path: ["in"],
219
- message: "in only applies to a brokered secret; add hosts"
220
- });
221
- }).describe("A host environment variable, redacted everywhere reeval writes and recorded by name only. Made by the `secret` helper of `defineEnvironment` and `defineConfig` callbacks.");
222
- const secretTemplateSchema = z.strictObject({
223
- kind: z.literal("secret-template"),
224
- template: z.string().describe("The string, with `${NAME}` for each host variable to substitute.")
225
- }).describe("`secret.template('Bearer ${TOKEN}')`: host variables substituted into a string, for MCP headers.");
226
- const envValueSchema = z.union([z.string(), secretSchema]).describe("A variable's value: a literal string, or a host secret.");
227
- const envVarsSchema = z.record(z.string(), envValueSchema).describe("Environment variables by name.");
228
- const hostFileSchema = z.strictObject({
229
- kind: z.literal("file"),
230
- path: nonEmpty().describe("Its path on the host, absolute or relative to the directory of the file it's written in.")
231
- }).describe("A file on the host, read when an attempt starts. Made by the `file` helper.");
232
- const skillPlacementSchema = z.enum(["harness", "workspace"]).describe("`harness` (default): the agent's own skills, via its adapter. `workspace`: its repo skill dir.");
233
- const ONLY = "The skill names to keep; default every one found.";
234
- const EXCLUDE = "Paths in each skill directory to leave out, gitignore-style.";
235
- const skill = (source, fields) => z.strictObject({
236
- kind: z.literal("skill"),
237
- placement: skillPlacementSchema,
238
- source: z.literal(source),
239
- ...fields
240
- });
241
- const skillSourceSchema = z.discriminatedUnion("source", [
242
- skill("local", {
243
- path: nonEmpty().describe("A host directory with a `SKILL.md`, or a directory of them."),
244
- only: z.array(z.string()).optional().describe(ONLY),
245
- exclude: z.array(z.string()).optional().describe(EXCLUDE)
246
- }),
247
- skill("git", {
248
- repo: nonEmpty().describe("As written: a URL, `github:owner/repo`, or a GitHub `/tree/<ref>/<path>` URL."),
249
- ref: z.string().optional().describe("A branch, tag or commit SHA; unset is the remote's `HEAD`."),
250
- path: z.string().optional().describe("The directory in the repository to read skills from."),
251
- only: z.array(z.string()).optional().describe(ONLY),
252
- exclude: z.array(z.string()).optional().describe(EXCLUDE)
253
- }),
254
- skill("registry", {
255
- id: z.string().regex(/^[\w.-]+\/[\w.-]+@[a-z0-9-]+$/).describe("A skills.sh id, `owner/repo@skill`."),
256
- version: z.string().optional().describe("A git ref of the skill's repository.")
257
- }),
258
- skill("npm", {
259
- spec: nonEmpty().describe("A pinned npm package spec."),
260
- path: z.string().describe("The directory in the package to read skills from; default `skills`."),
261
- only: z.array(z.string()).optional().describe(ONLY),
262
- exclude: z.array(z.string()).optional().describe(EXCLUDE)
263
- }),
264
- skill("inline", {
265
- name: z.string().describe("The skill's name, as in `SKILL.md`'s frontmatter."),
266
- description: z.string().describe("The skill's description, as in `SKILL.md`'s frontmatter."),
267
- content: z.string().describe("The body of `SKILL.md`."),
268
- files: z.record(z.string(), z.string()).describe("Other files in the skill directory, by relative path.")
269
- })
270
- ]).describe("Skills to place for the agent, made by the `skill` helper.");
271
- const pluginPartSchema = z.enum([
272
- "skills",
273
- "agents",
274
- "commands",
275
- "hooks",
276
- "mcp",
277
- "rules"
278
- ]).describe("A part of a plugin, as Claude Code's layout bundles it: `skills/<name>/SKILL.md`, `agents/<name>.md`, `commands/<name>.md`, `hooks/hooks.json`, `.mcp.json` (or the manifest's `mcpServers`) or `rules/`.");
279
- const pluginMarketplaceSchema = z.discriminatedUnion("source", [z.strictObject({
280
- source: z.literal("git"),
281
- repo: nonEmpty().describe("As written: a URL or `github:owner/repo`."),
282
- ref: z.string().optional().describe("A branch, tag or commit SHA; unset is the remote's `HEAD`.")
283
- }), z.strictObject({
284
- source: z.literal("npm"),
285
- spec: nonEmpty().describe("An npm package spec.")
286
- })]).describe("A Claude Code marketplace: the source that holds its `.claude-plugin/marketplace.json`.");
287
- const buildCommands = z.union([nonEmpty(), z.array(nonEmpty()).min(1, "at least one command")]);
288
- const pluginBuildSchema = z.union([buildCommands, z.strictObject({
289
- run: buildCommands.describe("The command, or the commands in order."),
290
- cwd: z.string().regex(/^(?:\.|(?!\/)(?!.*(?:^|\/)\.\.?(?:\/|$))[^\\]+)$/, "a directory relative to the source's root, with forward slashes and no ..").optional().describe("Where they run, relative to the source's root; default the plugin's directory.")
291
- })]).describe("Shell commands that build a plugin in a Docker image layer, on the cell's harness image, as root and with no secrets: one, a list, or `{ run, cwd }`. They run from the plugin's directory, or from `cwd`, relative to the source's root (`'.'` for the repository's or package's root).");
292
- const plugin = (source, fields) => z.strictObject({
293
- kind: z.literal("plugin"),
294
- source: z.literal(source),
295
- ...fields,
296
- only: z.array(pluginPartSchema).min(1, "at least one part").optional().describe("The parts to place; default every part the plugin has."),
297
- build: pluginBuildSchema.optional().describe("Commands that build the plugin in a Docker image layer, from its directory unless `cwd` says otherwise.")
298
- });
299
- const pluginSourceSchema = z.discriminatedUnion("source", [
300
- plugin("local", { path: nonEmpty().describe("A host directory with a `.claude-plugin/plugin.json`.") }),
301
- plugin("git", {
302
- repo: nonEmpty().describe("As written: a URL, `github:owner/repo`, or a GitHub `/tree/<ref>/<path>` URL."),
303
- ref: z.string().optional().describe("A branch, tag or commit SHA; unset is the remote's `HEAD`."),
304
- path: z.string().optional().describe("The plugin's directory in the repository; default its root.")
305
- }),
306
- plugin("npm", {
307
- spec: nonEmpty().describe("A pinned npm package spec."),
308
- path: z.string().optional().describe("The plugin's directory in the package; default its root.")
309
- }),
310
- plugin("marketplace", {
311
- name: nonEmpty().describe("The plugin's entry in the marketplace's `.claude-plugin/marketplace.json`."),
312
- marketplace: pluginMarketplaceSchema.describe("Where the marketplace is: a git repository (at `ref`) or an npm package.")
313
- })
314
- ]).describe("A plugin to place for the agent, in Claude Code's layout, made by the `plugin` helper.");
315
- const mcpServerSchema = z.discriminatedUnion("transport", [z.strictObject({
316
- kind: z.literal("mcp"),
317
- transport: z.literal("stdio"),
318
- command: nonEmpty().describe("The command that starts the server in the sandbox."),
319
- args: z.array(z.string()),
320
- env: envVarsSchema.describe("Variables the server process gets.")
321
- }), z.strictObject({
322
- kind: z.literal("mcp"),
323
- transport: z.enum(["http", "sse"]).describe("Streamable HTTP, or the older SSE transport."),
324
- url: z.url("must be a URL"),
325
- headers: z.record(z.string(), z.union([
326
- z.string(),
327
- secretSchema,
328
- secretTemplateSchema
329
- ])).describe("Request headers, with secrets brokered by the egress gateway.")
330
- })]).describe("An MCP server the agent gets, made by the `mcp` helper: a command in the sandbox, or a URL.");
331
- const gitWorkspaceSchema = z.strictObject({
332
- kind: z.literal("git"),
333
- repo: nonEmpty().describe("As written: a URL, `github:owner/repo`, or a local path."),
334
- url: nonEmpty().describe("What reeval fetches: the clone URL, or an absolute path for a local repository."),
335
- ref: z.string().optional().describe("A branch, tag or commit SHA; unset is the remote's `HEAD`."),
336
- path: z.string().optional().describe("A directory in the repository whose contents become the workspace."),
337
- init: z.boolean().optional().describe("Give the workspace a `.git`: one commit of the fetched tree, with no remote."),
338
- token: z.string().superRefine((token, ctx) => {
339
- if (!VAR.test(token) || /^(?:gh[opsur]_|github_pat_)/.test(token)) ctx.addIssue({
340
- code: "custom",
341
- message: "token names the host variable that holds the token, e.g. token: 'GITHUB_TOKEN'. Don't put the token itself in the eval."
342
- });
343
- }).optional().describe("The host variable holding a token for the fetch; read on the host only.")
344
- }).describe("A git repository (or one directory of it) the workspace starts as, from the `git` helper. `url` is what reeval fetches: the clone URL, or an absolute path for a local repository.");
345
- /** Every key any object in `schema` takes, for "Did you mean". */
346
- function keysOf(schema) {
347
- const def = schema.def;
348
- if (def.shape) return Object.keys(def.shape);
349
- if (def.options) return [...new Set(def.options.flatMap(keysOf))];
350
- return def.innerType ? keysOf(def.innerType) : [];
351
- }
352
- /**
353
- * What's wrong with a descriptor that arrived as data, in terms of the helper that makes it
354
- * (`call`, e.g. `secret` or `skill.git`), or undefined when it's sound.
355
- */
356
- function descriptorProblem(schema, value, call) {
357
- return refusal(schema, value, (issue, v) => {
358
- if (issue.code === "unrecognized_keys") {
359
- const key = issue.keys[0];
360
- const near = closest(key, keysOf(schema));
361
- return `${call}() has no "${key}" field${issue.path.length ? ` in ${String(issue.path.join("."))}` : ""}.${near ? ` Did you mean "${near}"?` : ""}`;
362
- }
363
- if (issue.code === "custom") return `${call}(): ${issue.message}`;
364
- if (issue.code === "invalid_union" && issue.path.length === 1) {
365
- const key = String(issue.path[0]);
366
- const values = schema.def.options?.flatMap((o) => [...o.shape[key]?._zod.values ?? []]);
367
- return `${call.split(".")[0]}() ${key} is ${oneOf(values ?? [])} (got ${got(valueAt(v, issue.path))})`;
368
- }
369
- return genericProblem(call, issue, v);
370
- });
371
- }
372
- const GATE_SHAPE = "is 'all' (every attempt passes) or { passRate } with a share above 0 and at most 1, e.g. gate: { passRate: 0.8 }";
373
- /** reeval's sentence for a gate that isn't one, or undefined. */
374
- const gateProblem = (value, where) => refusal(gatePolicySchema, value, () => `gate in ${where} ${GATE_SHAPE} (got ${got(value)})`);
375
- const EGRESS_SHAPE = `is 'allow-all' (the default), 'deny-all', or { allow: ['api.example.com', '*.example.org'] }`;
376
- /** reeval's sentence for an egress policy that isn't one, or undefined. */
377
- function egressProblem(value, where) {
378
- return refusal(egressPolicySchema, value, () => {
379
- if (typeof value !== "object" || value === null || Array.isArray(value)) {
380
- const list = Array.isArray(value) ? ` For a list of hosts, use { allow: ${got(value)} }.` : "";
381
- return `egress in ${where} ${EGRESS_SHAPE} (got ${got(value)}).${list}`;
382
- }
383
- const key = Object.keys(value).find((k) => k !== "allow");
384
- if (key !== void 0) return `Unknown egress key "${key}" in ${where}.${key === "deny" ? " A policy lists what's allowed; everything else is refused." : key === "hosts" || key === "allowedHosts" ? " Did you mean \"allow\"?" : " A policy is { allow: ['api.example.com'] }."}`;
385
- const allow = value.allow;
386
- if (!Array.isArray(allow)) return `egress in ${where} ${EGRESS_SHAPE} (got ${got(value)})`;
387
- return `egress.allow in ${where}: ${allow.map(badHost).find(Boolean)}`;
388
- });
389
- }
390
- //#endregion
391
172
  //#region src/contract/environment.ts
392
173
  /** An environment's or layer's name, which names its cells. */
393
174
  const NAME = /^[A-Za-z0-9][A-Za-z0-9._@+-]*$/;
394
175
  const sandboxDescriptorSchema = z.union([fakeSandboxSchema, dockerSandboxSchema]);
395
176
  const setupStepSchema = z.union([nonEmpty(), z.strictObject({
396
- run: nonEmpty().describe("The shell command."),
397
- timeout: durationSchema.optional().describe("Default 5m."),
398
- cwd: nonEmpty().optional().describe("Relative to the workspace, or absolute; default the workspace.")
399
- })]).describe("Runs in every attempt before the agent starts, with secrets, outside the eval timeout: a shell command, or `{ run, timeout?, cwd? }`.");
177
+ run: nonEmpty(),
178
+ timeout: durationSchema.optional(),
179
+ cwd: nonEmpty().optional()
180
+ })]);
400
181
  const environmentSpecSchema = z.strictObject({
401
- sandbox: sandboxDescriptorSchema.optional().describe("Where the attempt runs: `docker()` or `fakeSandbox()`. A child's `extend` / `extendEnvironment` replaces the parent's entirely when it sets one; install is not merged onto the parent image."),
402
- workspace: gitWorkspaceSchema.optional().describe("The code the workspace starts as, before `files`, `rules` and `setup`; a child's replaces its parent's."),
403
- env: envVarsSchema.optional().describe("Variables and secrets for the sandbox, merged by name over the parent's."),
404
- egress: egressPolicySchema.optional().describe("Replaces the inherited policy; an `extend` child's replaces its parent's."),
405
- files: z.record(z.string(), z.union([z.string(), hostFileSchema])).optional().describe("Workspace-relative, or `~/` for home."),
406
- rules: z.union([z.string(), hostFileSchema]).optional().describe("Project rules, written where the harness's agent reads them: `AGENTS.md`, or `CLAUDE.md` for Claude Code."),
407
- setup: z.array(setupStepSchema).optional().describe("Shell commands run in every attempt before the agent starts; a child's run after its parent's."),
408
- skills: z.array(skillSourceSchema).optional().describe("Skills placed for the agent."),
409
- mcp: z.record(z.string(), mcpServerSchema).optional().describe("MCP servers the agent gets, by name."),
410
- plugins: z.array(pluginSourceSchema).optional().describe("Plugins in Claude Code's layout, made by the `plugin` helper; a child's replaces its parent's plugin of the same name.")
411
- }).describe("What an eval runs in: the declarative, phased spec of one environment.");
182
+ sandbox: sandboxDescriptorSchema.optional(),
183
+ workspace: gitWorkspaceSchema.optional(),
184
+ env: envVarsSchema.optional(),
185
+ egress: egressPolicySchema.optional(),
186
+ files: z.record(z.string(), z.union([z.string(), hostFileSchema])).optional(),
187
+ rules: z.union([z.string(), hostFileSchema]).optional(),
188
+ setup: z.array(setupStepSchema).optional(),
189
+ skills: z.array(skillSourceSchema).optional(),
190
+ mcp: z.record(z.string(), mcpServerSchema).optional(),
191
+ plugins: z.array(pluginSourceSchema).optional()
192
+ });
412
193
  const environmentLayerSchema = z.strictObject({
413
- name: z.string().regex(NAME).describe("The name passed to `defineEnvironment` or `extend`."),
414
- spec: environmentSpecSchema.describe("The spec as that layer wrote it, before merging.")
415
- }).describe("One environment in an `extend` chain.");
194
+ name: z.string().regex(NAME),
195
+ spec: environmentSpecSchema
196
+ });
416
197
  const environmentDataSchema = z.strictObject({
417
198
  kind: z.literal("environment"),
418
- name: z.string().regex(NAME).describe("The name it was defined or extended under, which names its cells."),
419
- layers: z.array(environmentLayerSchema).readonly().describe("Its `extend` chain, root first.")
420
- }).describe("An `Environment` as data, as JSON carries it: without `extend` / `extendEnvironment`.");
199
+ name: z.string().regex(NAME),
200
+ layers: z.array(environmentLayerSchema).readonly()
201
+ });
421
202
  //#endregion
422
203
  //#region src/environment.ts
423
204
  var DefinitionError = class extends Error {
@@ -496,7 +277,7 @@ const SUBSTITUTE_IN = [
496
277
  "query",
497
278
  "body"
498
279
  ];
499
- /** Throws unless `value` is `'allow-all'`, `'deny-all'` or `{ allow: [hosts] }`. */
280
+ /** Throws unless `value` is `'proxy'`, `'allow-all'`, `'deny-all'` or `{ allow: [hosts] }`. */
500
281
  function checkEgress(value, where, Err = DefinitionError) {
501
282
  const problem = egressProblem(value, where);
502
283
  if (problem) throw new Err(problem);
@@ -539,18 +320,23 @@ function mcpHosts(url) {
539
320
  }
540
321
  }
541
322
  /**
323
+ * Where an MCP server's header secret is brokered to: its own `hosts`, else the server's host.
324
+ * Never on an `http://` server: the gateway swaps secrets in over HTTPS only, and the header
325
+ * goes only to the server.
326
+ */
327
+ const mcpHeaderHosts = (value, url) => {
328
+ const own = mcpHosts(url);
329
+ return own && isSecret(value) ? value.hosts ?? own : own;
330
+ };
331
+ /**
542
332
  * Every secret among `env` and the layers' env and MCP servers (their local plugins' included),
543
333
  * layered as the attempt resolves them: a later layer's variable or MCP server replaces an
544
334
  * earlier one of the same name.
545
335
  */
546
336
  function plannedSecrets(env, layers) {
547
337
  const vars = { ...env };
548
- const servers = /* @__PURE__ */ new Map();
549
- for (const { spec } of layers) {
550
- Object.assign(vars, spec.env);
551
- for (const [name, server] of Object.entries(spec.mcp ?? {})) servers.set(name, server);
552
- }
553
- for (const [name, server] of localPluginServers(layers)) servers.set(name, server);
338
+ for (const { spec } of layers) Object.assign(vars, spec.env);
339
+ const servers = layeredServers(layers);
554
340
  const out = /* @__PURE__ */ new Map();
555
341
  const add = (label, from, hosts, checksOnly = false, optional = false) => out.set(`${label}\0${from}`, {
556
342
  label,
@@ -568,15 +354,43 @@ function plannedSecrets(env, layers) {
568
354
  fromVars(s.env, `mcp.${server}.env.`);
569
355
  continue;
570
356
  }
571
- const own = mcpHosts(s.url);
572
357
  for (const [header, value] of Object.entries(s.headers)) {
573
358
  const label = `mcp.${server}.headers.${header}`;
574
- if (isSecret(value)) add(label, value.from ?? header, value.hosts ?? own);
575
- if (isSecretTemplate(value)) for (const [, name] of value.template.matchAll(/\$\{([A-Za-z_][A-Za-z0-9_]*)\}/g)) add(label, name, own);
359
+ if (isSecret(value)) add(label, value.from ?? header, mcpHeaderHosts(value, s.url));
360
+ if (isSecretTemplate(value)) for (const [, name] of value.template.matchAll(/\$\{([A-Za-z_][A-Za-z0-9_]*)\}/g)) add(label, name, mcpHeaderHosts(value, s.url));
576
361
  }
577
362
  }
578
363
  return [...out.values()];
579
364
  }
365
+ /** The layers' MCP servers and their local plugins', a later one replacing an earlier one of its name. */
366
+ function layeredServers(layers) {
367
+ const servers = /* @__PURE__ */ new Map();
368
+ for (const { spec } of layers) for (const [name, server] of Object.entries(spec.mcp ?? {})) servers.set(name, server);
369
+ for (const [name, server] of localPluginServers(layers)) servers.set(name, server);
370
+ return servers;
371
+ }
372
+ const CREDENTIAL_HEADER = /^(?:proxy-)?authorization$|^cookie$|(?:^|[-_])auth(?:$|[-_])/i;
373
+ /** An `Authorization`-style value, whatever the header is called. */
374
+ const AUTH_SCHEME = /^(?:Bearer|Basic|Token)\s+\S/i;
375
+ /** Whether an MCP header written as a plain string looks like a credential, by its name or its value's shape. */
376
+ const credentialHeader = (name, value) => CREDENTIAL_HEADER.test(name.trim()) || SECRET_NAME.test(name) || AUTH_SCHEME.test(value.trim()) || hasTokenShape(value);
377
+ /**
378
+ * The plain-header values masked like a secret-named host variable's: 8 or more characters, so a
379
+ * guessed-at header such as `X-Token-Count: '1000'` can't mask every `1000` the attempt writes.
380
+ */
381
+ const maskedHeaderValue = (name, value) => value.length >= 8 && credentialHeader(name, value);
382
+ /** The layers' MCP headers that look like credentials but aren't a `secret()` or `secret.template`. */
383
+ function plainCredentialHeaders(layers) {
384
+ const out = [];
385
+ for (const [server, s] of layeredServers(layers)) {
386
+ if (s.transport === "stdio") continue;
387
+ for (const [header, value] of Object.entries(s.headers)) if (typeof value === "string" && credentialHeader(header, value)) out.push({
388
+ label: `mcp.${server}.headers.${header}`,
389
+ https: mcpHosts(s.url) !== void 0
390
+ });
391
+ }
392
+ return out;
393
+ }
580
394
  /** The secrets the sandbox gets as real values: no `hosts`, and none implied by an MCP URL. */
581
395
  const unbrokeredSecrets = (env, layers) => plannedSecrets(env, layers).flatMap(({ hosts, ...s }) => hosts ? [] : [s]);
582
396
  function secretHelper() {
@@ -634,14 +448,12 @@ function sameWorkspaceOnly(a, b) {
634
448
  }
635
449
  /** The paths the layers' `files` write, sorted. */
636
450
  const filesOf = (layers) => [...new Set(layers.flatMap((l) => Object.keys(l.spec.files ?? {})))].sort();
637
- /** A URL with its password (or an https username, which is where tokens go) masked. */
638
- function credentialsIn(repo) {
639
- if (!URL.canParse(repo)) return void 0;
640
- const u = new URL(repo);
641
- if (!u.password && !(u.username && /^https?:$/.test(u.protocol))) return void 0;
642
- u.username = u.username && "***";
643
- u.password = u.password && "***";
644
- return u.href;
451
+ const NO_GIT_CREDENTIALS = "the URL has a password or token in it. reeval fetches the repository on the host with your own git credentials; remove it from the URL.";
452
+ const NO_NPM_CREDENTIALS = "the URL has a password or token in it. reeval runs npm pack on the host, with your own npm and git credentials; remove it from the URL.";
453
+ /** Throws when an npm spec is a URL (a tarball, git+https:, git+ssh:) with a password or token. */
454
+ function npmCredentials(call, spec) {
455
+ const masked = credentialsIn(spec);
456
+ if (masked) throw new DefinitionError(`${call}(${JSON.stringify(masked)}): ${NO_NPM_CREDENTIALS}`);
645
457
  }
646
458
  const GIT_OPTIONS = [
647
459
  "ref",
@@ -720,6 +532,8 @@ function skillHelper(base) {
720
532
  }),
721
533
  git: (repo, o = {}) => {
722
534
  if (typeof repo !== "string" || !repo) throw new DefinitionError(`skill.git() needs a repository URL, e.g. skill.git('https://github.com/acme/skills') (got ${JSON.stringify(repo)})`);
535
+ const masked = credentialsIn(repo);
536
+ if (masked) throw new DefinitionError(`skill.git(${JSON.stringify(masked)}): ${NO_GIT_CREDENTIALS}`);
723
537
  const parsed = parseGitRepo(repo);
724
538
  const ref = o.ref ?? parsed.ref;
725
539
  const path = o.path ?? parsed.path;
@@ -744,15 +558,18 @@ function skillHelper(base) {
744
558
  placement: placement(o.placement)
745
559
  };
746
560
  },
747
- npm: (spec, o = {}) => ({
748
- kind: "skill",
749
- source: "npm",
750
- spec: localNpmSpec(spec, base),
751
- path: o.path ?? "skills",
752
- ...o.only ? { only: [...o.only] } : {},
753
- ...exclude(o.exclude),
754
- placement: placement(o.placement)
755
- }),
561
+ npm: (spec, o = {}) => {
562
+ if (typeof spec === "string") npmCredentials("skill.npm", spec);
563
+ return {
564
+ kind: "skill",
565
+ source: "npm",
566
+ spec: localNpmSpec(spec, base),
567
+ path: o.path ?? "skills",
568
+ ...o.only ? { only: [...o.only] } : {},
569
+ ...exclude(o.exclude),
570
+ placement: placement(o.placement)
571
+ };
572
+ },
756
573
  inline: (skill, o = {}) => ({
757
574
  kind: "skill",
758
575
  source: "inline",
@@ -832,7 +649,7 @@ function pluginHelper(base) {
832
649
  if (typeof repo !== "string" || !repo.trim()) throw new DefinitionError(`plugin.git() needs a repository: a URL or github:owner/repo, e.g. plugin.git('github:acme/agent-plugins', { ref: 'v1.2.0' }) (got ${JSON.stringify(repo)})`);
833
650
  const what = `plugin.git(${JSON.stringify(repo)})`;
834
651
  const masked = credentialsIn(repo);
835
- if (masked) throw new DefinitionError(`plugin.git(${JSON.stringify(masked)}): the URL has a password or token in it. reeval fetches the repository on the host with your own git credentials; remove it from the URL.`);
652
+ if (masked) throw new DefinitionError(`plugin.git(${JSON.stringify(masked)}): ${NO_GIT_CREDENTIALS}`);
836
653
  const options = common(what, o, ["ref", "path"]);
837
654
  const parsed = parseGitRepo(repo);
838
655
  const ref = o.ref ?? parsed.ref;
@@ -849,6 +666,7 @@ function pluginHelper(base) {
849
666
  },
850
667
  npm: (spec, o = {}) => {
851
668
  if (typeof spec !== "string" || !spec.trim()) throw new DefinitionError(`plugin.npm() needs a pinned package spec, e.g. plugin.npm('@acme/review-plugin@1.2.0') (got ${JSON.stringify(spec)})`);
669
+ npmCredentials("plugin.npm", spec);
852
670
  const what = `plugin.npm(${JSON.stringify(spec)})`;
853
671
  const options = common(what, o, ["path"]);
854
672
  const path = dirPath(what, o.path, "package");
@@ -873,6 +691,8 @@ function pluginHelper(base) {
873
691
  if (ref !== void 0) throw new DefinitionError(`${what}: ref picks a commit of a git marketplace; pin an npm marketplace in its spec, e.g. npm:@acme/plugins@2.0.0`);
874
692
  const spec = from.slice(4);
875
693
  if (!spec) throw new DefinitionError(`${what}: npm: needs a package spec`);
694
+ const masked = credentialsIn(spec);
695
+ if (masked) throw new DefinitionError(`plugin.marketplace(${JSON.stringify(`${name}@npm:${masked}`)}): ${NO_NPM_CREDENTIALS}`);
876
696
  return {
877
697
  kind: "plugin",
878
698
  source: "marketplace",
@@ -885,7 +705,7 @@ function pluginHelper(base) {
885
705
  };
886
706
  }
887
707
  const masked = credentialsIn(from);
888
- if (masked) throw new DefinitionError(`plugin.marketplace(${JSON.stringify(`${name}@${masked}`)}): the URL has a password or token in it. reeval fetches the repository on the host with your own git credentials; remove it from the URL.`);
708
+ if (masked) throw new DefinitionError(`plugin.marketplace(${JSON.stringify(`${name}@${masked}`)}): ${NO_GIT_CREDENTIALS}`);
889
709
  const parsed = parseGitRepo(from);
890
710
  if (parsed.ref !== void 0 || parsed.path !== void 0) throw new DefinitionError(`${what}: name the marketplace's repository, whose root holds .claude-plugin/marketplace.json, and pick its commit with ref, e.g. plugin.marketplace('${name}@github:owner/repo', { ref: 'v1' })`);
891
711
  if (ref !== void 0 && (typeof ref !== "string" || !ref.trim() || ref.startsWith("-"))) throw new DefinitionError(`${what}: ref is a branch, tag or commit SHA (got ${JSON.stringify(ref)})`);
@@ -1360,6 +1180,6 @@ function applied(env) {
1360
1180
  };
1361
1181
  }
1362
1182
  //#endregion
1363
- export { toPath as A, checkDockerOptions as B, parseGitRepo as C, sandboxOf as D, sameWorkspaceOnly as E, sandboxDescriptorSchema as F, egressPolicySchema as I, envVarsSchema as L, workspaceLabel as M, workspaceOf as N, sandboxPaths as O, environmentDataSchema as P, gatePolicySchema as R, mcpHosts as S, profileSandbox as T, sandboxProblem as V, isEnvironment as _, callerDir as a, isSecret as b, defineEnvironment as c, environmentFrom as d, environmentPaths as f, helpersFor as g, globFilter as h, applied as i, unbrokeredSecrets as j, stepCommand as k, emptyEnvironment as l, filesOf as m, DEFAULT_SKILL_EXCLUDE as n, checkEgress as o, environmentSandbox as p, EMPTY_BASELINE as r, checkEnv as s, DEFAULT_DIRECTORY_IGNORES as t, environmentDataProblem as u, isHostFile as v, plannedSecrets as w, isSecretTemplate as x, isMovingRef as y, gateProblem as z };
1183
+ export { sandboxPaths as A, mcpHeaderHosts as C, profileSandbox as D, plannedSecrets as E, workspaceOf as F, environmentDataSchema as I, sandboxDescriptorSchema as L, toPath as M, unbrokeredSecrets as N, sameWorkspaceOnly as O, workspaceLabel as P, checkDockerOptions as R, maskedHeaderValue as S, plainCredentialHeaders as T, isEnvironment as _, callerDir as a, isSecret as b, defineEnvironment as c, environmentFrom as d, environmentPaths as f, helpersFor as g, globFilter as h, applied as i, stepCommand as j, sandboxOf as k, emptyEnvironment as l, filesOf as m, DEFAULT_SKILL_EXCLUDE as n, checkEgress as o, environmentSandbox as p, EMPTY_BASELINE as r, checkEnv as s, DEFAULT_DIRECTORY_IGNORES as t, environmentDataProblem as u, isHostFile as v, parseGitRepo as w, isSecretTemplate as x, isMovingRef as y, sandboxProblem as z };
1364
1184
 
1365
- //# sourceMappingURL=environment-B4IuURK1.js.map
1185
+ //# sourceMappingURL=environment-BOFgzFDg.js.map