openpond 0.2.63 → 0.2.64

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 (561) hide show
  1. package/dist/app-server.d.ts +76 -2
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/account-context-TIJOM22A.js +12 -0
  4. package/dist/chunks/acp-G5GCLP44.js +2 -0
  5. package/dist/chunks/acp-agent-JM5THNMF.js +19 -0
  6. package/dist/chunks/actions-command-VLKMHCMI.js +2 -0
  7. package/dist/chunks/app-layer-DZHMJUBC.js +3 -0
  8. package/dist/chunks/app-server-connected-apps-IB6M35NS.js +2 -0
  9. package/dist/chunks/app-server-evaluations-V6LRWDUF.js +2 -0
  10. package/dist/chunks/app-server-harness-services-6ZRLA3YD.js +2 -0
  11. package/dist/chunks/app-server-runtime-6LCX46RF.js +2 -0
  12. package/dist/chunks/apps-7LPKIYRY.js +2 -0
  13. package/dist/chunks/{chunk-NZTCH6K5.js → chunk-2GJD23CM.js} +1 -1
  14. package/dist/chunks/{chunk-BKEDG3A4.js → chunk-2MEOUS24.js} +1 -1
  15. package/dist/chunks/{chunk-DUL6DXOI.js → chunk-2W22IXHB.js} +1 -1
  16. package/dist/chunks/{chunk-GGJUWIGR.js → chunk-36FNNR5N.js} +1 -1
  17. package/dist/chunks/chunk-3BJ7LPE3.js +2 -0
  18. package/dist/chunks/chunk-3MVKXAH7.js +2 -0
  19. package/dist/chunks/{chunk-UTNGEMW5.js → chunk-3WJQ4IGK.js} +1 -1
  20. package/dist/chunks/{chunk-G6OR5NB6.js → chunk-4D3CICBG.js} +1 -1
  21. package/dist/chunks/chunk-4DYWVGVS.js +2 -0
  22. package/dist/chunks/{chunk-KUPJNBWG.js → chunk-4JYTFEND.js} +1 -1
  23. package/dist/chunks/chunk-4MQHIFZL.js +2 -0
  24. package/dist/chunks/chunk-4TO743HO.js +4 -0
  25. package/dist/chunks/{chunk-B4RKHHF7.js → chunk-4TTXNVCE.js} +1 -1
  26. package/dist/chunks/{chunk-3YXYBYWK.js → chunk-4V73I4OL.js} +1 -1
  27. package/dist/chunks/chunk-55Q64WWF.js +2 -0
  28. package/dist/chunks/{chunk-F7QTIHXX.js → chunk-5AU5Y6KS.js} +1 -1
  29. package/dist/chunks/chunk-5HPZGLOL.js +2 -0
  30. package/dist/chunks/{chunk-LCSBCCYC.js → chunk-5JVJQA5H.js} +1 -1
  31. package/dist/chunks/chunk-5KJMFK65.js +2 -0
  32. package/dist/chunks/{chunk-BSPFY3Y5.js → chunk-5KWKSR4P.js} +1 -1
  33. package/dist/chunks/chunk-5WPMI6QX.js +2 -0
  34. package/dist/chunks/{chunk-SHJY5RLU.js → chunk-5Z3AU5CL.js} +1 -1
  35. package/dist/chunks/{chunk-DQI5TE6A.js → chunk-66HFW4OU.js} +1 -1
  36. package/dist/chunks/{chunk-NT7N6KLE.js → chunk-67HXM6AL.js} +1 -1
  37. package/dist/chunks/{chunk-J7ZTPXRQ.js → chunk-6C3CXME7.js} +1 -1
  38. package/dist/chunks/{chunk-PWK5Z5S3.js → chunk-6ESBAHWK.js} +1 -1
  39. package/dist/chunks/{chunk-XNOMIWEY.js → chunk-6I5AUTVO.js} +1 -1
  40. package/dist/chunks/{chunk-OG33QAG6.js → chunk-6S2MWJVD.js} +1 -1
  41. package/dist/chunks/{chunk-KCOTDUGW.js → chunk-6TRVEA3T.js} +1 -1
  42. package/dist/chunks/chunk-6ZTP6CUJ.js +2 -0
  43. package/dist/chunks/{chunk-4L6DU6Z2.js → chunk-7FBWUVX7.js} +1 -1
  44. package/dist/chunks/{chunk-GPL2Z65R.js → chunk-7P5SH3CI.js} +2 -2
  45. package/dist/chunks/chunk-7PKTCMZ6.js +2 -0
  46. package/dist/chunks/chunk-7XOUM6RK.js +2 -0
  47. package/dist/chunks/chunk-A77DLBR4.js +2 -0
  48. package/dist/chunks/chunk-AF3AVDPP.js +2 -0
  49. package/dist/chunks/{chunk-RV7PUSI2.js → chunk-AJXWJLZA.js} +1 -1
  50. package/dist/chunks/chunk-AMC4Z7G4.js +2 -0
  51. package/dist/chunks/chunk-ANG2YMMD.js +2 -0
  52. package/dist/chunks/{chunk-ZPTKR3GB.js → chunk-B32CW3NT.js} +1 -1
  53. package/dist/chunks/{chunk-Y766IN7Y.js → chunk-B666Z2NS.js} +1 -1
  54. package/dist/chunks/chunk-BJXPQIVD.js +2 -0
  55. package/dist/chunks/{chunk-WBUK73ST.js → chunk-BL3CZWWD.js} +1 -1
  56. package/dist/chunks/{chunk-XMHIQ3SK.js → chunk-BTJACFU3.js} +2 -2
  57. package/dist/chunks/{chunk-25XXZS3E.js → chunk-C5B3FMV3.js} +1 -1
  58. package/dist/chunks/chunk-CRDKBFRN.js +2 -0
  59. package/dist/chunks/chunk-CYQLXS2U.js +2 -0
  60. package/dist/chunks/{chunk-N4VHLJBZ.js → chunk-D7R2AAX2.js} +1 -1
  61. package/dist/chunks/{chunk-LSZJ5M3X.js → chunk-DAEUVT2I.js} +1 -1
  62. package/dist/chunks/{chunk-ELX7VRSU.js → chunk-DIDQHTAX.js} +1 -1
  63. package/dist/chunks/chunk-DMO3UIS7.js +6 -0
  64. package/dist/chunks/{chunk-4BJGUCHY.js → chunk-DRMOHADV.js} +1 -1
  65. package/dist/chunks/{chunk-FYYYECHE.js → chunk-DSJZS77R.js} +4 -4
  66. package/dist/chunks/{chunk-7HRLWPPZ.js → chunk-DXA2UHBE.js} +1 -1
  67. package/dist/chunks/{chunk-T6JN4PND.js → chunk-EBOTNBUS.js} +1 -1
  68. package/dist/chunks/chunk-ECOH24MC.js +9 -0
  69. package/dist/chunks/{chunk-6PKXJEJM.js → chunk-EICS777E.js} +1 -1
  70. package/dist/chunks/{chunk-4SZ3HKHU.js → chunk-EVQISX7M.js} +1 -1
  71. package/dist/chunks/{chunk-2HAWOMZK.js → chunk-EW7CD7OA.js} +1 -1
  72. package/dist/chunks/chunk-FEQ7HNJR.js +2 -0
  73. package/dist/chunks/{chunk-IWWXIUAQ.js → chunk-FHLSLOKH.js} +8 -8
  74. package/dist/chunks/{chunk-BU27SLZP.js → chunk-FS2VKOT7.js} +1 -1
  75. package/dist/chunks/{chunk-4FNCBA3Y.js → chunk-FUFI4THX.js} +1 -1
  76. package/dist/chunks/{chunk-W5W4IODW.js → chunk-FYWQWKVS.js} +1 -1
  77. package/dist/chunks/{chunk-IZ56L2ZK.js → chunk-G4747MOW.js} +1 -1
  78. package/dist/chunks/{chunk-J572ANHX.js → chunk-G4E3WGLM.js} +4 -4
  79. package/dist/chunks/{chunk-P7HRF4FM.js → chunk-GD3RCUDH.js} +1 -1
  80. package/dist/chunks/{chunk-HUCBKXTU.js → chunk-GDJ4X2ZN.js} +1 -1
  81. package/dist/chunks/{chunk-JHR3LF2F.js → chunk-GF55VEMR.js} +1 -1
  82. package/dist/chunks/{chunk-GXCUH2VV.js → chunk-GFAI2MCJ.js} +3 -3
  83. package/dist/chunks/{chunk-KOKX7PBS.js → chunk-GI7LTJV3.js} +1 -1
  84. package/dist/chunks/{chunk-TCOTXCV6.js → chunk-GIU3Z45P.js} +1 -1
  85. package/dist/chunks/chunk-GKLZQN6P.js +161 -0
  86. package/dist/chunks/{chunk-GXZCMO6S.js → chunk-GRLQHYAU.js} +2 -2
  87. package/dist/chunks/{chunk-M3SCON53.js → chunk-GUG2SWRZ.js} +1 -1
  88. package/dist/chunks/{chunk-JQRMDFF3.js → chunk-H42UW6IF.js} +1 -1
  89. package/dist/chunks/{chunk-EZRUWIP6.js → chunk-H5ML7735.js} +1 -1
  90. package/dist/chunks/{chunk-VNJAAYNQ.js → chunk-HIQPGYVH.js} +1 -1
  91. package/dist/chunks/{chunk-DLANLLKH.js → chunk-HNDAGZCF.js} +1 -1
  92. package/dist/chunks/{chunk-OE22TAXP.js → chunk-HNQPEOJD.js} +1 -1
  93. package/dist/chunks/chunk-HORMGT2Q.js +2 -0
  94. package/dist/chunks/{chunk-2V4LPUBH.js → chunk-HPTEJBP4.js} +1 -1
  95. package/dist/chunks/{chunk-R6VJDOQM.js → chunk-HQQJKWZY.js} +4 -4
  96. package/dist/chunks/{chunk-UWHIU24L.js → chunk-HVM2GUM3.js} +1 -1
  97. package/dist/chunks/{chunk-NEJLJ2XY.js → chunk-HX6GXMDK.js} +1 -1
  98. package/dist/chunks/chunk-I3NYYOSS.js +2 -0
  99. package/dist/chunks/{chunk-LV3CQ72P.js → chunk-I6VMRQF4.js} +1 -1
  100. package/dist/chunks/{chunk-QU4UE73E.js → chunk-IEVJLG3V.js} +1 -1
  101. package/dist/chunks/chunk-IOSBGCRT.js +2 -0
  102. package/dist/chunks/{chunk-SO42ZB5K.js → chunk-JBFPTEVE.js} +1 -1
  103. package/dist/chunks/{chunk-G32BO6M5.js → chunk-JD76ANPN.js} +1 -1
  104. package/dist/chunks/{chunk-ERJV5BMC.js → chunk-JFZ6USNQ.js} +1 -1
  105. package/dist/chunks/{chunk-UPWJSNL5.js → chunk-JLW5BQVO.js} +1 -1
  106. package/dist/chunks/chunk-JRGECNP3.js +2 -0
  107. package/dist/chunks/{chunk-DABBHWSF.js → chunk-KAWXVMHI.js} +1 -1
  108. package/dist/chunks/chunk-KGUPAPGR.js +2 -0
  109. package/dist/chunks/{chunk-AHOBCBVZ.js → chunk-KOKBDIGR.js} +1 -1
  110. package/dist/chunks/chunk-KTIBXRWQ.js +2 -0
  111. package/dist/chunks/chunk-L4EJ5R3B.js +23 -0
  112. package/dist/chunks/{chunk-SI5W5LBV.js → chunk-LARJARMS.js} +1 -1
  113. package/dist/chunks/{chunk-MPNJ2BB4.js → chunk-LE75SVEL.js} +1 -1
  114. package/dist/chunks/{chunk-ERT32RZA.js → chunk-LI3FTPAH.js} +5 -5
  115. package/dist/chunks/chunk-LK77GI6M.js +2 -0
  116. package/dist/chunks/chunk-LOIYNRBC.js +33 -0
  117. package/dist/chunks/{chunk-7WYL2IDD.js → chunk-LXZLLTYQ.js} +1 -1
  118. package/dist/chunks/{chunk-RZUCVF2Q.js → chunk-LYVHYT3L.js} +1 -1
  119. package/dist/chunks/{chunk-MWXW2CA6.js → chunk-LZPCA6DH.js} +1 -1
  120. package/dist/chunks/{chunk-GVARQXYI.js → chunk-M5QPL5NO.js} +1 -1
  121. package/dist/chunks/{chunk-WWQNMC7C.js → chunk-MCBRB5D6.js} +1 -1
  122. package/dist/chunks/chunk-MHPCVQOE.js +2 -0
  123. package/dist/chunks/chunk-MMJU6PZV.js +2 -0
  124. package/dist/chunks/chunk-MVPKU72J.js +4 -0
  125. package/dist/chunks/{chunk-AGVOGPAZ.js → chunk-MWS2NAHJ.js} +1 -1
  126. package/dist/chunks/{chunk-R6WMY6AH.js → chunk-NTM3KQ25.js} +1 -1
  127. package/dist/chunks/chunk-NXN7GJOH.js +2 -0
  128. package/dist/chunks/chunk-O6ZYDHEJ.js +3 -0
  129. package/dist/chunks/chunk-OKEC2EIE.js +2 -0
  130. package/dist/chunks/{chunk-KCV5VN4X.js → chunk-OKKNDQJF.js} +1 -1
  131. package/dist/chunks/{chunk-ZYVHOVKL.js → chunk-OPTJYDZN.js} +1 -1
  132. package/dist/chunks/{chunk-NJLULBTM.js → chunk-OTDDXEQ6.js} +1 -1
  133. package/dist/chunks/{chunk-RDSVU6F6.js → chunk-OTUS7NTQ.js} +1 -1
  134. package/dist/chunks/{chunk-UH4JSSRL.js → chunk-OTXGAKFH.js} +8 -8
  135. package/dist/chunks/chunk-OW3EOC5Q.js +4 -0
  136. package/dist/chunks/chunk-OXRVILDW.js +2 -0
  137. package/dist/chunks/{chunk-JEISPWWM.js → chunk-PWKJ5KLZ.js} +1 -1
  138. package/dist/chunks/{chunk-RFMME46Z.js → chunk-PYNW5OFA.js} +1 -1
  139. package/dist/chunks/{chunk-AKGCM53D.js → chunk-Q3WXB465.js} +1 -1
  140. package/dist/chunks/{chunk-KHTAAVC2.js → chunk-Q4AXZY2P.js} +1 -1
  141. package/dist/chunks/{chunk-QJ6KUVAR.js → chunk-QAEZNFAM.js} +1 -1
  142. package/dist/chunks/{chunk-ABF3W2MO.js → chunk-QAFXQHHG.js} +2 -2
  143. package/dist/chunks/chunk-QCJY6FTC.js +3 -0
  144. package/dist/chunks/{chunk-5MHYGMJG.js → chunk-QJJNHKLT.js} +1 -1
  145. package/dist/chunks/{chunk-ERL2M773.js → chunk-QYQZQVVN.js} +1 -1
  146. package/dist/chunks/{chunk-VVNV4NNW.js → chunk-RCT3O3HQ.js} +1 -1
  147. package/dist/chunks/{chunk-7R56WC7L.js → chunk-RHMULF56.js} +1 -1
  148. package/dist/chunks/chunk-RRWL5BHZ.js +2 -0
  149. package/dist/chunks/{chunk-RG3NH6YQ.js → chunk-S4WILIRA.js} +1 -1
  150. package/dist/chunks/{chunk-N33D7KCW.js → chunk-S6UCVXBC.js} +1 -1
  151. package/dist/chunks/{chunk-IHB5GTOJ.js → chunk-SAZTOGX6.js} +3 -3
  152. package/dist/chunks/{chunk-2EPR4HLF.js → chunk-SH7POUVX.js} +6 -6
  153. package/dist/chunks/chunk-SQX22LQT.js +10 -0
  154. package/dist/chunks/{chunk-NLYZ5K7U.js → chunk-SSJV3VX7.js} +1 -1
  155. package/dist/chunks/chunk-TBODQT4W.js +2 -0
  156. package/dist/chunks/chunk-TGULVWPV.js +2 -0
  157. package/dist/chunks/{chunk-HIYQPZ7C.js → chunk-TPOAAJKA.js} +1 -1
  158. package/dist/chunks/{chunk-42V4NV2F.js → chunk-TVDZXDQW.js} +1 -1
  159. package/dist/chunks/{chunk-FVRII5XO.js → chunk-U2BD545L.js} +1 -1
  160. package/dist/chunks/chunk-UK5LGSGT.js +2 -0
  161. package/dist/chunks/{chunk-HFJUXKT5.js → chunk-ULJZ7NUF.js} +1 -1
  162. package/dist/chunks/chunk-UN2LKLGV.js +2 -0
  163. package/dist/chunks/{chunk-4NXEYPPX.js → chunk-UOFDKMRU.js} +1 -1
  164. package/dist/chunks/{chunk-2ITZW2CN.js → chunk-UTIELP6F.js} +1 -1
  165. package/dist/chunks/{chunk-NWQL6FNF.js → chunk-V3KEG6MI.js} +1 -1
  166. package/dist/chunks/{chunk-BPZOABMC.js → chunk-V3S2B6WU.js} +2 -2
  167. package/dist/chunks/{chunk-ZG6353RM.js → chunk-VD2TQCMH.js} +1 -1
  168. package/dist/chunks/{chunk-4ZBOYWQ3.js → chunk-VS2LOUCT.js} +1 -1
  169. package/dist/chunks/{chunk-V7KR74NO.js → chunk-VS3AMJEK.js} +1 -1
  170. package/dist/chunks/{chunk-YCZZ62C2.js → chunk-W22KWKF6.js} +1 -1
  171. package/dist/chunks/chunk-W7NXFRHN.js +2 -0
  172. package/dist/chunks/{chunk-DTTFUANI.js → chunk-WBO6FQHR.js} +2 -2
  173. package/dist/chunks/{chunk-5ZBLCWEJ.js → chunk-WJSJXK2N.js} +1 -1
  174. package/dist/chunks/{chunk-C2LAEGOW.js → chunk-WKHGXLJD.js} +2 -2
  175. package/dist/chunks/{chunk-H6C4MAUN.js → chunk-WLQEONBF.js} +1 -1
  176. package/dist/chunks/chunk-WLZJOCLA.js +10 -0
  177. package/dist/chunks/chunk-WMBOXX7G.js +2 -0
  178. package/dist/chunks/{chunk-PF56N7ZY.js → chunk-X2J2P5ZT.js} +5 -5
  179. package/dist/chunks/{chunk-AH26AQN7.js → chunk-XHBMK6LC.js} +1 -1
  180. package/dist/chunks/{chunk-ZZHXQCNB.js → chunk-Y3B6ZUE6.js} +1 -1
  181. package/dist/chunks/{chunk-WP2L2NY2.js → chunk-YBKDEEEH.js} +1 -1
  182. package/dist/chunks/chunk-YRDPVTEI.js +3 -0
  183. package/dist/chunks/{chunk-JORRZ4BB.js → chunk-YU4JYWCA.js} +1 -1
  184. package/dist/chunks/{chunk-CZ5R4JXZ.js → chunk-Z2TOBS3P.js} +1 -1
  185. package/dist/chunks/chunk-ZFJWA4JK.js +1 -0
  186. package/dist/chunks/chunk-ZSZXA7WB.js +2 -0
  187. package/dist/chunks/{chunk-LK2K3SPM.js → chunk-ZU3YBRXS.js} +2 -2
  188. package/dist/chunks/{chunk-5FU5RLML.js → chunk-ZUT4EM64.js} +1 -1
  189. package/dist/chunks/chunk-ZWW227M3.js +2 -0
  190. package/dist/chunks/chunk-ZY32SZ2P.js +3 -0
  191. package/dist/chunks/cli-TE7RP5H7.js +2 -0
  192. package/dist/chunks/client-I5MYOJEJ.js +2 -0
  193. package/dist/chunks/command-NDHFZAKA.js +13 -0
  194. package/dist/chunks/configuration-command-HPMGH7WR.js +2 -0
  195. package/dist/chunks/connected-app-executor-7DYMZCD7.js +2 -0
  196. package/dist/chunks/connected-evidence-FNHTBUDG.js +2 -0
  197. package/dist/chunks/{connected-starting-assets-JONPTII6.js → connected-starting-assets-O4X6D6BG.js} +1 -1
  198. package/dist/chunks/connection-GDWPMHPC.js +2 -0
  199. package/dist/chunks/{continual-Z7MO2PF6.js → continual-HQCFY7GN.js} +3 -3
  200. package/dist/chunks/core-commands-LEFFBKR7.js +2 -0
  201. package/dist/chunks/dataset-preparation-authoring-KWRTMKN6.js +4 -0
  202. package/dist/chunks/datasets-BWHI23IB.js +2 -0
  203. package/dist/chunks/desktop-test-XROQ7K5H.js +3 -0
  204. package/dist/chunks/dist-GR56E3QK.js +2 -0
  205. package/dist/chunks/dist-J4KHAVO3.js +2 -0
  206. package/dist/chunks/dist-O7HXZUBW.js +2 -0
  207. package/dist/chunks/enclave-7VLABNIX.js +2 -0
  208. package/dist/chunks/evaluation-coordination-JTQIKHW6.js +2 -0
  209. package/dist/chunks/experiment-improvements-2TV2DA3K.js +2 -0
  210. package/dist/chunks/experiments-VOCZ4DW3.js +2 -0
  211. package/dist/chunks/experiments-VUJ4SEMG.js +2 -0
  212. package/dist/chunks/experiments-signal-TSTEBORD.js +2 -0
  213. package/dist/chunks/{extension-ZM6NI5O5.js → extension-UH34ZF7N.js} +1 -1
  214. package/dist/chunks/{help-7HXFWIKS.js → help-OPN36XRA.js} +1 -1
  215. package/dist/chunks/host-profile-evaluation-tools-75EPCRSZ.js +2 -0
  216. package/dist/chunks/host-profile-external-dataset-YRKG2GL5.js +2 -0
  217. package/dist/chunks/hosted-app-server-composition-7WZ4RIX2.js +2 -0
  218. package/dist/chunks/hosted-experiment-improvement-NZTPZTDH.js +3 -0
  219. package/dist/chunks/hosted-harness-runtime-3AJGEIFD.js +2 -0
  220. package/dist/chunks/hosted-profile-candidate-3CAT3XBI.js +3 -0
  221. package/dist/chunks/hosted-profile-compiler-RXU626Q6.js +2 -0
  222. package/dist/chunks/hosted-profile-evaluation-control-CBDRKJ5J.js +2 -0
  223. package/dist/chunks/hosted-profile-evaluation-inspection-CHYKDYUQ.js +3 -0
  224. package/dist/chunks/hosted-profile-evaluation-preparation-H5S7JZMD.js +3 -0
  225. package/dist/chunks/hosted-tasksets-AMGDDB2R.js +2 -0
  226. package/dist/chunks/human-review-NVKBEYG5.js +2 -0
  227. package/dist/chunks/{import-6SI4BEKS.js → import-P5DCYMQ6.js} +2 -2
  228. package/dist/chunks/learning-NJLTGZFQ.js +2 -0
  229. package/dist/chunks/learning-XTY5VOTK.js +2 -0
  230. package/dist/chunks/local-harness-improvement-runtime-XEA73RGS.js +2 -0
  231. package/dist/chunks/local-harness-taskset-review-SW35G4DM.js +2 -0
  232. package/dist/chunks/local-scope-X3737QXT.js +2 -0
  233. package/dist/chunks/model-projects-GHWCKDON.js +2 -0
  234. package/dist/chunks/opchat-ZJ5DO4RT.js +3 -0
  235. package/dist/chunks/opchat-bounded-chat-JVZ5LRH2.js +2 -0
  236. package/dist/chunks/organizations-UKXORVYS.js +2 -0
  237. package/dist/chunks/{profile-O5HL5DTQ.js → profile-XL5LABHR.js} +1 -1
  238. package/dist/chunks/profile-training-source-VIND2MM2.js +2 -0
  239. package/dist/chunks/project-action-payload-2G57RL74.js +2 -0
  240. package/dist/chunks/project-agent-CCGEMNR7.js +2 -0
  241. package/dist/chunks/published-experiment-source-D3C2AWQD.js +2 -0
  242. package/dist/chunks/refiner-profile-service-PPGGNVOV.js +2 -0
  243. package/dist/chunks/{runtime-XBA744HJ.js → runtime-VSOOPNYN.js} +2 -2
  244. package/dist/chunks/sandbox-command-L6BMKDGY.js +2 -0
  245. package/dist/chunks/{sandbox-template-27U3FQN7.js → sandbox-template-QL5ID5GJ.js} +1 -1
  246. package/dist/chunks/saved-work-LAVTNKPT.js +2 -0
  247. package/dist/chunks/send-turn-D3GTSSHI.js +2 -0
  248. package/dist/chunks/setup-HSRCZ3WR.js +2 -0
  249. package/dist/chunks/{src-PU7QTFO5.js → src-662QOKNP.js} +1 -1
  250. package/dist/chunks/{src-BLWX6DRG.js → src-KWOSLOBH.js} +117 -117
  251. package/dist/chunks/standalone-experiment-turn-owner-KKYIGGPF.js +2 -0
  252. package/dist/chunks/stdio-Z65UIX55.js +2 -0
  253. package/dist/chunks/store-chat-resources-ZWDYMDJF.js +2 -0
  254. package/dist/chunks/{store-continual-support-reviews-FOMYYS25.js → store-continual-support-reviews-7PDLGRWF.js} +1 -1
  255. package/dist/chunks/store-conversation-serving-WRT4N7N2.js +2 -0
  256. package/dist/chunks/{store-create-improve-3LQMIYAP.js → store-create-improve-G46KIUVT.js} +1 -1
  257. package/dist/chunks/{store-datasets-3KSX7RSO.js → store-datasets-O67F75BL.js} +1 -1
  258. package/dist/chunks/store-evaluation-results-BEPR4LVD.js +7 -0
  259. package/dist/chunks/{store-harness-memory-2L7ARBR4.js → store-harness-memory-4XEUITXE.js} +1 -1
  260. package/dist/chunks/{store-harness-refinement-candidates-3PHL3BUY.js → store-harness-refinement-candidates-LCN4NV23.js} +1 -1
  261. package/dist/chunks/store-harness-workspaces-PJJQ74G6.js +2 -0
  262. package/dist/chunks/store-human-review-HJ3D7ZFA.js +7 -0
  263. package/dist/chunks/store-learned-preference-migration-validation-EXNRDHCO.js +2 -0
  264. package/dist/chunks/store-learning-6P6IS7GH.js +2 -0
  265. package/dist/chunks/store-learning-credentials-EGJ2WTZI.js +2 -0
  266. package/dist/chunks/{store-local-experiments-QTVHJAEP.js → store-local-experiments-CBJA56X2.js} +1 -1
  267. package/dist/chunks/store-model-batch-review-YIVD7T2T.js +2 -0
  268. package/dist/chunks/{store-model-configuration-3SU73CMS.js → store-model-configuration-T6XJJDAB.js} +2 -2
  269. package/dist/chunks/store-model-project-preparation-WWU5CJTV.js +2 -0
  270. package/dist/chunks/{store-preference-comparison-DWV5XSMY.js → store-preference-comparison-XQFTLMGH.js} +1 -1
  271. package/dist/chunks/{store-schedules-2KUY4T6M.js → store-schedules-JPFVWL3Q.js} +1 -1
  272. package/dist/chunks/{store-sidebar-file-bookmarks-A4XCS7RM.js → store-sidebar-file-bookmarks-J3JEVAYR.js} +1 -1
  273. package/dist/chunks/{store-sidebar-preferences-V2PKRXUZ.js → store-sidebar-preferences-2JHTFXJK.js} +1 -1
  274. package/dist/chunks/{store-subagents-UGVEFA6M.js → store-subagents-PUBQVWSU.js} +1 -1
  275. package/dist/chunks/{store-task-inbox-QABI4ZAH.js → store-task-inbox-VVXZUJIO.js} +1 -1
  276. package/dist/chunks/{store-task-inventory-GEQIZELY.js → store-task-inventory-MQX44AI6.js} +1 -1
  277. package/dist/chunks/store-taskset-drafts-G3WFVN4M.js +9 -0
  278. package/dist/chunks/{store-training-CQV7PL3V.js → store-training-DUVIDYK5.js} +1 -1
  279. package/dist/chunks/{store-training-jobs-XKN6K66J.js → store-training-jobs-HHFH3V5O.js} +1 -1
  280. package/dist/chunks/{store-training-models-Q7DTTR4S.js → store-training-models-C7UUZDTO.js} +1 -1
  281. package/dist/chunks/{store-usage-XGAX7NLB.js → store-usage-6DMZM7WV.js} +1 -1
  282. package/dist/chunks/{store-work-evidence-VSLLZ6UF.js → store-work-evidence-77B36LRC.js} +1 -1
  283. package/dist/chunks/taskset-7FQCJ55X.js +2 -0
  284. package/dist/chunks/taskset-packages-NRRPON7B.js +2 -0
  285. package/dist/chunks/taskset-packages-RW4SFGDU.js +2 -0
  286. package/dist/chunks/{teams-bot-UTQAJA6H.js → teams-bot-LGV7UKX2.js} +1 -1
  287. package/dist/chunks/tool-learning-NGO7QHYK.js +2 -0
  288. package/dist/chunks/training-XFM3OOPN.js +2 -0
  289. package/dist/chunks/training-XILDD5RG.js +2 -0
  290. package/dist/chunks/training-error-LQKCOQDJ.js +2 -0
  291. package/dist/chunks/training-hardware-ESXRWUIK.js +3 -0
  292. package/dist/chunks/training-hosted-6BX2IASC.js +2 -0
  293. package/dist/chunks/training-hosted-checkpoint-evaluation-UXFW33QL.js +2 -0
  294. package/dist/chunks/training-hosted-learning-YN5VD3PW.js +2 -0
  295. package/dist/chunks/training-hosted-serving-N2MHWGZN.js +2 -0
  296. package/dist/chunks/training-hosted-serving-report-J4YOZLRP.js +2 -0
  297. package/dist/chunks/training-hosted-workers-6JTDCCWA.js +2 -0
  298. package/dist/chunks/training-model-start-E5MP3URL.js +2 -0
  299. package/dist/chunks/web-search-56QRZGPR.js +2 -0
  300. package/dist/chunks/workspaces-MCS2AQX6.js +2 -0
  301. package/dist/cli.js +1 -1
  302. package/dist/index.js +1 -1
  303. package/dist/sandbox-template/manifest.js +1 -1
  304. package/dist/skills/manifest.json +1 -1
  305. package/dist/web/assets/App-BZuSv1XM.js +53 -0
  306. package/dist/web/assets/{AppDialog-8Y0FYalT.js → AppDialog-BILEK4np.js} +1 -1
  307. package/dist/web/assets/AppTerminalPanel-BvxZ8bwD.js +2 -0
  308. package/dist/web/assets/{AppToastContext-BiQbbVxq.js → AppToastContext-C-FsCKXW.js} +1 -1
  309. package/dist/web/assets/{AppsView-Dtte4h6e.js → AppsView-BMaq5oxx.js} +1 -1
  310. package/dist/web/assets/{AttachmentTypeIcon-DgADV7dn.js → AttachmentTypeIcon-Bh7Ft_UL.js} +1 -1
  311. package/dist/web/assets/{BrowserSidebar-BUqDvEv9.js → BrowserSidebar-BG2MLJ9I.js} +1 -1
  312. package/dist/web/assets/{CartesianChart-J4ChOjvG.js → CartesianChart-CS6ES_XT.js} +1 -1
  313. package/dist/web/assets/ChatTimelineEntry-Dr5X_XyN.js +8 -0
  314. package/dist/web/assets/{ChatTimelineEntry-DztFb85D.css → ChatTimelineEntry-vs8RaEGD.css} +1 -1
  315. package/dist/web/assets/{CollaborationTabs-CFCpk2Ck.js → CollaborationTabs-CPJ2w67F.js} +1 -1
  316. package/dist/web/assets/{CommandMenu-EPPjB14H.js → CommandMenu-Fe1V7NJd.js} +1 -1
  317. package/dist/web/assets/{CommunityView-Okydjpqm.js → CommunityView-DHTcmOnI.js} +1 -1
  318. package/dist/web/assets/{ComposerAttachments-RXCiE88M.js → ComposerAttachments-Ck9VWD6o.js} +1 -1
  319. package/dist/web/assets/{ComposerCreateImproveStrip-CSngc8-V.js → ComposerCreateImproveStrip-yiXO7cf8.js} +1 -1
  320. package/dist/web/assets/{ConversationImportsSettings-DS73kyfj.js → ConversationImportsSettings-_VLzUnHQ.js} +1 -1
  321. package/dist/web/assets/{FilePagePreview-Qc4B0vue.js → FilePagePreview-BpcM1DfE.js} +2 -2
  322. package/dist/web/assets/{GetStartedView-DGFPQ1We.js → GetStartedView-BH-WJ-rW.js} +1 -1
  323. package/dist/web/assets/{GettingStartedDialog-DFBYQdHz.js → GettingStartedDialog-CdQfj7RA.js} +1 -1
  324. package/dist/web/assets/{HostedModelLearningReview-BDu3FlcU.js → HostedModelLearningReview-C3GsOlu9.js} +1 -1
  325. package/dist/web/assets/{HostedModelLearningSettings-CHaTHwC8.js → HostedModelLearningSettings-SSMst6dl.js} +1 -1
  326. package/dist/web/assets/{HtmlVisual-D9Mh7xds.js → HtmlVisual-CH0tb3fv.js} +1 -1
  327. package/dist/web/assets/{LabModelVersionDetailPage-DgY7lAu5.js → LabModelVersionDetailPage-J2t9yILv.js} +1 -1
  328. package/dist/web/assets/{LabSkillSidebar-BwtlThO7.js → LabSkillSidebar-DdDYvfj2.js} +1 -1
  329. package/dist/web/assets/LabsRoute-MJwIjSKg.js +101 -0
  330. package/dist/web/assets/MainChatThread-BcwtaTDZ.js +2 -0
  331. package/dist/web/assets/MainPane-DDO6diPt.js +10 -0
  332. package/dist/web/assets/NativeSetupTerminal-BPSUFpRm.js +2 -0
  333. package/dist/web/assets/{NativeSkillSidebar-BEJvt5_H.js → NativeSkillSidebar-DPYavzau.js} +1 -1
  334. package/dist/web/assets/{NewProjectDialog-CjrjgkTN.js → NewProjectDialog-BtmvE9Sp.js} +1 -1
  335. package/dist/web/assets/{OutputsPage-jzx93QQ3.js → OutputsPage-BMRY7RK2.js} +1 -1
  336. package/dist/web/assets/{PageChrome-C1M13qG2.js → PageChrome-5VRxH6Rp.js} +1 -1
  337. package/dist/web/assets/{ProjectsPage-DZrjlMp2.js → ProjectsPage-1LHqxOMo.js} +1 -1
  338. package/dist/web/assets/RightChatPanelStack-D_7KgExz.js +1 -0
  339. package/dist/web/assets/RightSidebarHomePanel-iznJwDMf.js +1 -0
  340. package/dist/web/assets/{ScheduledWorkPage-Cw1ja2GF.js → ScheduledWorkPage-Dtz4zJ0T.js} +1 -1
  341. package/dist/web/assets/{SettingsView-CckoIki3.js → SettingsView-BeDYNPcD.js} +3 -3
  342. package/dist/web/assets/{TasksetDraftEditorPrimitives-ByC8bDjp.js → TasksetDraftEditorPrimitives-CcvKO3YA.js} +1 -1
  343. package/dist/web/assets/{TeamChatView-OprnSKLF.js → TeamChatView-DaXxOkTe.js} +1 -1
  344. package/dist/web/assets/{TerminalOverlay-d7A2F9Lx.js → TerminalOverlay-CF8uB4qA.js} +1 -1
  345. package/dist/web/assets/{TrainingCreationPanel-Cyn6R6I6.js → TrainingCreationPanel-DmMO7x5T.js} +1 -1
  346. package/dist/web/assets/{TrainingDraftPanel-Mpb5e7t5.js → TrainingDraftPanel-DCHbXjSx.js} +1 -1
  347. package/dist/web/assets/{TrainingRunLineage-VcKz7dIR.js → TrainingRunLineage-CwisTWs_.js} +1 -1
  348. package/dist/web/assets/UsageSettingsSection-Drt7gwRb.js +7 -0
  349. package/dist/web/assets/WorkSidebarPanel-BrIIRtGW.js +1 -0
  350. package/dist/web/assets/WorkspaceDiffPanel-Dmbrg0-y.js +11 -0
  351. package/dist/web/assets/{WorkspaceEnvironmentMenu-C8y3537a.js → WorkspaceEnvironmentMenu-KEZm1gdb.js} +1 -1
  352. package/dist/web/assets/{WorkspaceFileLocation-LrEWj4UK.js → WorkspaceFileLocation-ChbOKrPO.js} +1 -1
  353. package/dist/web/assets/{WorkspaceGitDialogs-NRIMXnkS.js → WorkspaceGitDialogs-BS2JQKNQ.js} +1 -1
  354. package/dist/web/assets/{WorkspaceMonacoEditor-CvDGjKAL.js → WorkspaceMonacoEditor-CN1hE_C4.js} +3 -3
  355. package/dist/web/assets/{WorkspacePdfPreview-BZ0BbnHv.js → WorkspacePdfPreview-Clb4m0le.js} +2 -2
  356. package/dist/web/assets/{WorkspacePresentationPreview-DJrjrvT0.js → WorkspacePresentationPreview-CwQsdvAR.js} +1 -1
  357. package/dist/web/assets/app-models-Cz3yxq4x.js +1 -0
  358. package/dist/web/assets/{bot-6OhUEmkE.js → bot-BNFltD5O.js} +1 -1
  359. package/dist/web/assets/chat-resources-CTN4f6KC.js +1 -0
  360. package/dist/web/assets/{chevron-down-jmVA1BIf.js → chevron-down-BnnT0tnM.js} +1 -1
  361. package/dist/web/assets/chevron-right-C8K5PZj7.js +1 -0
  362. package/dist/web/assets/{chevron-up-CstyLXH3.js → chevron-up-BAnwJJN3.js} +1 -1
  363. package/dist/web/assets/chunk-GJRXJL6G-pJp1DyJd.js +9 -0
  364. package/dist/web/assets/chunk-TLSP5JKG-DZmxtX-4.js +1 -0
  365. package/dist/web/assets/{client-choice-storage-BdQ_YDuk.js → client-choice-storage-Iuzoszas.js} +1 -1
  366. package/dist/web/assets/{cloud-upload-Ck1ufAr8.js → cloud-upload-CdSXJ7ms.js} +1 -1
  367. package/dist/web/assets/{copy-CPkbMfXt.js → copy-CBFg6m0d.js} +1 -1
  368. package/dist/web/assets/{createLucideIcon-CXQny8HU.js → createLucideIcon-DF2VR6WA.js} +1 -1
  369. package/dist/web/assets/{cssMode-CYxYl_om.js → cssMode-BSQUZhUO.js} +1 -1
  370. package/dist/web/assets/{external-link-CDKOLG_v.js → external-link-Cql9bKdv.js} +1 -1
  371. package/dist/web/assets/{folder-open-CEtOb_lK.js → folder-open-BXdVB5J1.js} +1 -1
  372. package/dist/web/assets/{folder-plus-CVMYZs3e.js → folder-plus-Cma2HulC.js} +1 -1
  373. package/dist/web/assets/{git-commit-horizontal-DDyhPjxS.js → git-commit-horizontal-eF--16ps.js} +1 -1
  374. package/dist/web/assets/{htmlMode-DoY4V_j0.js → htmlMode-aLPlQtyU.js} +1 -1
  375. package/dist/web/assets/icons-c3vt7y6n.js +1 -0
  376. package/dist/web/assets/{image-B-PjDSwU.js → image-CqKPwnBn.js} +1 -1
  377. package/dist/web/assets/{index-D9WbJMSq.js → index-CM0IRu1U.js} +2 -2
  378. package/dist/web/assets/{info-CCnw-K3b.js → info-CqeYEqG0.js} +1 -1
  379. package/dist/web/assets/{jsonMode-CeOpZdPj.js → jsonMode-fu7bEcHB.js} +1 -1
  380. package/dist/web/assets/loader-circle-pxp89T5x.js +1 -0
  381. package/dist/web/assets/{lspLanguageFeatures-DAbgLCqZ.js → lspLanguageFeatures-DraXQA4w.js} +1 -1
  382. package/dist/web/assets/{maximize-2-BZX38cpr.js → maximize-2-yMp8X9ts.js} +1 -1
  383. package/dist/web/assets/{message-square-CvgSecgD.js → message-square-DbIMQqfj.js} +1 -1
  384. package/dist/web/assets/model-display-zPvC4L2B.js +1 -0
  385. package/dist/web/assets/models-route-CWcJuOd0.js +1 -0
  386. package/dist/web/assets/{monaco.contribution-cbDqt48m.js → monaco.contribution-BQhp1CJs.js} +2 -2
  387. package/dist/web/assets/{monaco.contribution-CF2JDhi4.js → monaco.contribution-Bd8EqYGR.js} +2 -2
  388. package/dist/web/assets/{monaco.contribution-m2ze2EsL.js → monaco.contribution-CYWKnVxQ.js} +2 -2
  389. package/dist/web/assets/{monaco.contribution-yeyow_-Q.js → monaco.contribution-CmbWO0tB.js} +2 -2
  390. package/dist/web/assets/{monitor-By0s4hxb.js → monitor-DFE2fTkT.js} +1 -1
  391. package/dist/web/assets/{paperclip-BJ2QgJLa.js → paperclip-D_qsKbVs.js} +1 -1
  392. package/dist/web/assets/{pdf-C4x-1jjP.js → pdf-DkQRsi4n.js} +1 -1
  393. package/dist/web/assets/play-BtlX2stU.js +1 -0
  394. package/dist/web/assets/plus-DbASL_gy.js +1 -0
  395. package/dist/web/assets/{presentation-I86G1Gd9.js → presentation-BN_kIBPL.js} +1 -1
  396. package/dist/web/assets/{python-CqFTPj8r.js → python-DB9pj5Hr.js} +1 -1
  397. package/dist/web/assets/{refresh-cw-Dga35Eay.js → refresh-cw-B27ohHfn.js} +1 -1
  398. package/dist/web/assets/{save-BLKjYtzR.js → save-D-rwjKop.js} +1 -1
  399. package/dist/web/assets/settings-lists-DgSaJQA4.js +5 -0
  400. package/dist/web/assets/square-C2caJ3NG.js +1 -0
  401. package/dist/web/assets/{square-terminal-B-n7vUex.js → square-terminal-CeoK51wH.js} +1 -1
  402. package/dist/web/assets/{submit-issue-command-B7Hrt2tU.js → submit-issue-command-DZNW7Evj.js} +1 -1
  403. package/dist/web/assets/{toggleHighContrast-BhmBE5XE.js → toggleHighContrast-Bs8L1gx0.js} +1 -1
  404. package/dist/web/assets/{training-QrdkRQZQ.js → training-DCdoHJ0Y.js} +2 -2
  405. package/dist/web/assets/{training-model-data-DB-jg6L_.js → training-model-data-wHvE7xL1.js} +1 -1
  406. package/dist/web/assets/{tsMode-BSWEII2p.js → tsMode-C7EqshxC.js} +1 -1
  407. package/dist/web/assets/{upload-C4MPhQn8.js → upload-BWgjC2Jf.js} +1 -1
  408. package/dist/web/assets/{useAccountSettings-9oqWdRLs.js → useAccountSettings-Dva1MpsJ.js} +1 -1
  409. package/dist/web/assets/{useAgentInventory-isO79ui9.js → useAgentInventory-CrjIOmvb.js} +1 -1
  410. package/dist/web/assets/{useLocalAgentSchedules-CZX6PxoK.js → useLocalAgentSchedules-P-UaUKMb.js} +1 -1
  411. package/dist/web/assets/{useQuery-BD0Uexmh.js → useQuery-Bn3KqR4r.js} +1 -1
  412. package/dist/web/assets/{wifi-off-Cloe0WuQ.js → wifi-off--mKrSPFc.js} +1 -1
  413. package/dist/web/assets/{workers-BXagz5eg.js → workers-p0Kn2KMK.js} +1 -1
  414. package/dist/web/assets/x-D9GTV9ke.js +1 -0
  415. package/dist/web/assets/{yaml-sBdvVbCc.js → yaml-BeIdC4tu.js} +1 -1
  416. package/dist/web/index.html +1 -1
  417. package/docs/command-reference.md +44 -2
  418. package/package.json +1 -1
  419. package/dist/chunks/acp-H3MJCPHX.js +0 -2
  420. package/dist/chunks/acp-agent-DWA7272M.js +0 -21
  421. package/dist/chunks/actions-command-IIYOO4LL.js +0 -2
  422. package/dist/chunks/app-layer-K7H2WJ56.js +0 -3
  423. package/dist/chunks/app-server-connected-apps-RM5E2VWF.js +0 -2
  424. package/dist/chunks/app-server-evaluations-XGMGS67X.js +0 -2
  425. package/dist/chunks/app-server-harness-services-BHD6S5II.js +0 -2
  426. package/dist/chunks/app-server-runtime-LFIL6F7D.js +0 -2
  427. package/dist/chunks/apps-QKAHJGQ4.js +0 -2
  428. package/dist/chunks/chunk-5EP2DZLJ.js +0 -2
  429. package/dist/chunks/chunk-6EBCS57F.js +0 -2
  430. package/dist/chunks/chunk-6RS4NAOY.js +0 -2
  431. package/dist/chunks/chunk-7O6Z3VOZ.js +0 -2
  432. package/dist/chunks/chunk-7YLXGILH.js +0 -2
  433. package/dist/chunks/chunk-7ZLXFKRI.js +0 -2
  434. package/dist/chunks/chunk-B5R53U74.js +0 -2
  435. package/dist/chunks/chunk-C2AXMKK4.js +0 -2
  436. package/dist/chunks/chunk-F6UQ6PPK.js +0 -2
  437. package/dist/chunks/chunk-GS6ZUSIN.js +0 -3
  438. package/dist/chunks/chunk-JSQRLLN6.js +0 -2
  439. package/dist/chunks/chunk-LAOLJDVB.js +0 -2
  440. package/dist/chunks/chunk-LKKMLBOH.js +0 -3
  441. package/dist/chunks/chunk-M3FLEZ4E.js +0 -4
  442. package/dist/chunks/chunk-MEGKXGW3.js +0 -2
  443. package/dist/chunks/chunk-MILEWROZ.js +0 -2
  444. package/dist/chunks/chunk-N42HT64M.js +0 -2
  445. package/dist/chunks/chunk-NG2L6D7G.js +0 -2
  446. package/dist/chunks/chunk-OSVGNONV.js +0 -2
  447. package/dist/chunks/chunk-OTUBJV6C.js +0 -6
  448. package/dist/chunks/chunk-PBTXLQAU.js +0 -2
  449. package/dist/chunks/chunk-PBZCXPPC.js +0 -10
  450. package/dist/chunks/chunk-SFKZITAG.js +0 -9
  451. package/dist/chunks/chunk-SXMR6E2W.js +0 -2
  452. package/dist/chunks/chunk-U2K7QJCG.js +0 -2
  453. package/dist/chunks/chunk-URNMC46H.js +0 -157
  454. package/dist/chunks/chunk-VHXDWAEH.js +0 -2
  455. package/dist/chunks/chunk-W2TICQ62.js +0 -2
  456. package/dist/chunks/chunk-WSOUMXH3.js +0 -24
  457. package/dist/chunks/chunk-XOB6FKQV.js +0 -2
  458. package/dist/chunks/chunk-YBNKGA5C.js +0 -2
  459. package/dist/chunks/chunk-YM4PSVFW.js +0 -4
  460. package/dist/chunks/chunk-YNQWJWIC.js +0 -10
  461. package/dist/chunks/chunk-Z3BWCFLV.js +0 -2
  462. package/dist/chunks/cli-PSXMIJTF.js +0 -2
  463. package/dist/chunks/configuration-command-XYKMXIWF.js +0 -2
  464. package/dist/chunks/connected-app-executor-6G2LA3PQ.js +0 -2
  465. package/dist/chunks/connected-evidence-IRXYN6YD.js +0 -2
  466. package/dist/chunks/connection-XMAAGMXJ.js +0 -2
  467. package/dist/chunks/core-commands-WWN7X3XC.js +0 -2
  468. package/dist/chunks/dataset-preparation-authoring-F3OZIQSP.js +0 -4
  469. package/dist/chunks/datasets-2PC2HP7N.js +0 -2
  470. package/dist/chunks/desktop-test-VU6AFAMO.js +0 -3
  471. package/dist/chunks/dist-47AYOIH6.js +0 -2
  472. package/dist/chunks/dist-HSC43RG4.js +0 -2
  473. package/dist/chunks/dist-MXBEBM4D.js +0 -2
  474. package/dist/chunks/enclave-VURYNILU.js +0 -2
  475. package/dist/chunks/evaluation-coordination-UOWZHHC5.js +0 -2
  476. package/dist/chunks/experiment-improvements-EB2CV5RA.js +0 -2
  477. package/dist/chunks/experiments-CLXGM3TZ.js +0 -2
  478. package/dist/chunks/experiments-SZQYR6MH.js +0 -2
  479. package/dist/chunks/experiments-signal-2KJCP25D.js +0 -2
  480. package/dist/chunks/host-profile-evaluation-tools-Y2LQ4WQN.js +0 -2
  481. package/dist/chunks/host-profile-external-dataset-FRIGXOO7.js +0 -2
  482. package/dist/chunks/hosted-app-server-composition-PGKQNDW6.js +0 -2
  483. package/dist/chunks/hosted-experiment-improvement-UXC542SZ.js +0 -3
  484. package/dist/chunks/hosted-harness-runtime-6PEI7F2U.js +0 -2
  485. package/dist/chunks/hosted-profile-candidate-HM44BIUX.js +0 -3
  486. package/dist/chunks/hosted-profile-compiler-UAZ4PHYE.js +0 -2
  487. package/dist/chunks/hosted-profile-evaluation-control-EUL57FAB.js +0 -2
  488. package/dist/chunks/hosted-profile-evaluation-inspection-7USY75Z4.js +0 -3
  489. package/dist/chunks/hosted-profile-evaluation-preparation-2LSMZQNA.js +0 -3
  490. package/dist/chunks/hosted-tasksets-WGXGXJ7E.js +0 -2
  491. package/dist/chunks/human-review-M26UKGJL.js +0 -2
  492. package/dist/chunks/learning-HM3NWOV5.js +0 -2
  493. package/dist/chunks/local-harness-improvement-runtime-QGWFWNSR.js +0 -2
  494. package/dist/chunks/local-harness-taskset-review-KS4WPMN6.js +0 -2
  495. package/dist/chunks/local-scope-62GWHDXS.js +0 -2
  496. package/dist/chunks/model-projects-YUAMBQTO.js +0 -2
  497. package/dist/chunks/opchat-AG4CWVY4.js +0 -3
  498. package/dist/chunks/opchat-bounded-chat-IQMP5IIO.js +0 -2
  499. package/dist/chunks/organizations-KDKX77XZ.js +0 -2
  500. package/dist/chunks/profile-training-source-3DXFM2XI.js +0 -2
  501. package/dist/chunks/project-action-payload-QA24HYGF.js +0 -2
  502. package/dist/chunks/project-agent-XBOOM5TS.js +0 -2
  503. package/dist/chunks/published-experiment-source-GZGN354O.js +0 -2
  504. package/dist/chunks/refiner-profile-service-BJMOYKTC.js +0 -2
  505. package/dist/chunks/sandbox-command-5ECGS7DG.js +0 -2
  506. package/dist/chunks/saved-work-KUNVTJ7O.js +0 -2
  507. package/dist/chunks/send-turn-FIPWOXWV.js +0 -2
  508. package/dist/chunks/standalone-experiment-turn-owner-XIE46VNH.js +0 -2
  509. package/dist/chunks/store-chat-resources-YOEJ2BI6.js +0 -2
  510. package/dist/chunks/store-conversation-serving-K324SQTO.js +0 -2
  511. package/dist/chunks/store-evaluation-results-LHCCNNE6.js +0 -7
  512. package/dist/chunks/store-harness-workspaces-ZHNCNWVI.js +0 -2
  513. package/dist/chunks/store-human-review-QJY3ZPPF.js +0 -7
  514. package/dist/chunks/store-learned-preference-migration-validation-X32SRBOM.js +0 -2
  515. package/dist/chunks/store-learning-DW3QLQXU.js +0 -2
  516. package/dist/chunks/store-learning-credentials-67QNTPA7.js +0 -2
  517. package/dist/chunks/store-model-batch-review-PBYQZJJJ.js +0 -2
  518. package/dist/chunks/store-model-project-preparation-TFCG2F2F.js +0 -2
  519. package/dist/chunks/store-taskset-drafts-GXABQR5G.js +0 -9
  520. package/dist/chunks/taskset-ARKJQKYQ.js +0 -2
  521. package/dist/chunks/taskset-packages-X4K65DTW.js +0 -2
  522. package/dist/chunks/taskset-packages-XK7FSD45.js +0 -2
  523. package/dist/chunks/training-3IWW4256.js +0 -2
  524. package/dist/chunks/training-RVIESURJ.js +0 -2
  525. package/dist/chunks/training-error-2EWDOQ4G.js +0 -2
  526. package/dist/chunks/training-hosted-PFJHYTEU.js +0 -2
  527. package/dist/chunks/training-hosted-checkpoint-evaluation-JJPP7KFW.js +0 -2
  528. package/dist/chunks/training-hosted-learning-Y7NHRY4V.js +0 -2
  529. package/dist/chunks/training-hosted-serving-QAV7ZGGV.js +0 -2
  530. package/dist/chunks/training-hosted-serving-report-OX4A5OKB.js +0 -2
  531. package/dist/chunks/training-hosted-workers-LST4ZUXN.js +0 -2
  532. package/dist/chunks/training-model-start-ROLS3E4V.js +0 -2
  533. package/dist/chunks/web-search-7FBUBZ66.js +0 -2
  534. package/dist/chunks/workspaces-G3CMY7ZA.js +0 -2
  535. package/dist/web/assets/App-DY2R8Z6r.js +0 -53
  536. package/dist/web/assets/AppTerminalPanel-YcnBD5DF.js +0 -2
  537. package/dist/web/assets/ChatTimelineEntry-DC93wlDa.js +0 -8
  538. package/dist/web/assets/LabsRoute-BV7ZJGEw.js +0 -101
  539. package/dist/web/assets/MainChatThread-pzHKd_YN.js +0 -2
  540. package/dist/web/assets/MainPane-6OlLiKKb.js +0 -10
  541. package/dist/web/assets/NativeSetupTerminal-CPDChcMi.js +0 -2
  542. package/dist/web/assets/RightChatPanelStack-BsxJg9sy.js +0 -1
  543. package/dist/web/assets/RightSidebarHomePanel-CCVQ9LMB.js +0 -1
  544. package/dist/web/assets/UsageSettingsSection-FhYymrfc.js +0 -7
  545. package/dist/web/assets/WorkSidebarPanel-u87uptH0.js +0 -1
  546. package/dist/web/assets/WorkspaceDiffPanel-B5rlW7bA.js +0 -11
  547. package/dist/web/assets/app-models-CUA9XB9U.js +0 -1
  548. package/dist/web/assets/chat-resources-CI8KFVO5.js +0 -1
  549. package/dist/web/assets/chevron-right-BYmDQ7ti.js +0 -1
  550. package/dist/web/assets/chunk-ONGOAEY6-C__DQmRT.js +0 -9
  551. package/dist/web/assets/chunk-SQBYHWZU-DumrB9SB.js +0 -1
  552. package/dist/web/assets/icons-D7jkCa2d.js +0 -1
  553. package/dist/web/assets/loader-circle-CPaJeTDy.js +0 -1
  554. package/dist/web/assets/models-route-Bl_TmMl6.js +0 -1
  555. package/dist/web/assets/play-D_SuGDBM.js +0 -1
  556. package/dist/web/assets/plus-yw95Iaj8.js +0 -1
  557. package/dist/web/assets/settings-lists-DMKA1lCN.js +0 -5
  558. package/dist/web/assets/square-BY5lG2Ol.js +0 -1
  559. package/dist/web/assets/x-Dqpel42h.js +0 -1
  560. /package/dist/chunks/{chunk-IDOGNIMV.js → chunk-7J2NMUTK.js} +0 -0
  561. /package/dist/chunks/{chunk-PCB65K4G.js → chunk-SFR32TMJ.js} +0 -0
@@ -1,9 +0,0 @@
1
- import{a as e,b as t,c as n,d as r,g as i,i as a,l as o,m as s,o as c,p as l,r as u,v as d,x as f,y as p}from"./schemas-lO3MoWQr.js";import{a as m,c as h,d as g,i as _,n as v,o as y,r as b,s as x}from"./common-BMjyKlX-.js";import{C as S,G as C,H as w,M as T,S as ee,U as E,V as D,b as O,d as te,i as k,k as ne,l as re,o as A,r as j,s as M}from"./chunk-H3JZ3P5T-B0SCoPw4.js";import{C as ie,P as ae,R as oe,c as se,f as ce,l as le,o as N,p as ue,u as de,z as fe}from"./contracts-BLiqJxBv.js";import{n as pe,u as me}from"./reward-checks-Bcq9ETCA.js";var P=N.shape.id,he=d().regex(/^[a-f0-9]{64}$/),ge=s({scopeId:P,modelId:P}).strict(),_e=s({schemaVersion:r(`openpond.modelTasksetAuthoring.v1`),owner:ge,root:N,parent:N}).strict(),ve=s({schemaVersion:r(`openpond.modelTasksetDraftRequest.v1`),operationId:P,modelId:P,expectedModelRevision:l().int().positive(),sourcePackageHash:he}).strict(),ye=s({schemaVersion:r(`openpond.modelTasksetDraftPreparation.v1`),draftId:P,requestHash:he,sourcePackageHash:he,sourceTasksetRef:N,tasksetId:P,tasksetRevision:l().int().positive(),lineage:_e,authoringGraph:r(`bound`).optional()}).strict(),be=d().min(1).max(1024).refine(e=>!e.includes(`\\`)&&!e.includes(`:`)&&!e.includes(`\0`)&&!e.startsWith(`/`)&&!e.split(`/`).some(e=>!e||e===`.`||e===`..`||e.startsWith(`.env`)),`Use a relative Taskset file path without environment files.`),xe=s({path:be,sizeBytes:l().int().nonnegative(),writable:c()}).strict(),Se=s({encoding:u([`utf8`,`base64`]),data:d().max(8e6)}).strict(),Ce=xe.extend({contentHash:he,content:Se}).strict();s({draftId:P,expectedDraftRevision:l().int().positive(),path:be,expectedFileHash:he.nullable(),content:Se.nullable()}).strict(),s({provider:M,model:M,revision:d().trim().min(1).max(500).nullable().default(null),artifactHash:A.nullable().default(null),tokenizerRevision:d().trim().min(1).max(500).nullable().default(null),chatTemplateHash:A.nullable().default(null)}).strict();var we=[`openpond`,`codex`,`claude-code`,`grok-build`,`opencode`,`anthropic`,`openai`,`xai`,`google`,`openrouter`,`deepseek`,`zai`,`moonshot`,`together`,`groq`,`custom-openai-compatible`],Te=p([`acp:`,d().regex(/^[a-z0-9][a-z0-9-]{0,100}$/)]),Ee=t([u(we),Te]),De=s({providerId:Ee,modelId:d().trim().min(1).max(300)}),Oe=ie.extend({mode:u([`nightly`,`approved_count`]),minimumTasks:l().int().min(1).max(1e4),maximumSpendUsd:l().positive().max(1e5),maximumDailySpendUsd:l().positive().max(1e6)}).strict().superRefine((e,t)=>{e.maximumDailySpendUsd<e.maximumSpendUsd&&t.addIssue({code:`custom`,path:[`maximumDailySpendUsd`],message:`The daily budget must cover one update.`})}),ke=d().trim().min(1).max(191),Ae=d().regex(/^[a-f0-9]{64}$/),je=n(`mode`,[s({mode:r(`automatic`),objective:u([`balanced`,`fast`,`economical`])}).strict(),s({mode:r(`manual`),availabilityId:ke,gpuType:d().trim().min(1).max(256)}).strict()]),Me=s({estimateId:ke,inputHash:Ae,requestHash:Ae,pricingVersion:ke,expiresAt:d().datetime({offset:!0}),token:d().min(1).max(8192)}).strict();s({schemaVersion:r(`openpond.trainingGpuCatalog.v1`),observedAt:d().datetime({offset:!0}),expiresAt:d().datetime({offset:!0}),workerImageDigest:d().regex(/^sha256:[a-f0-9]{64}$/),supportedLoraRanks:e(l().int().positive()),pricingBasis:r(`accepted_compute_and_disk_hourly_before_credits`),offerings:e(s({availabilityId:ke,gpuType:d().min(1).max(256),provider:ke,region:d().min(1),dataCenterId:d().nullable(),gpuCount:l().int().positive(),gpuMemoryGb:l().positive(),stockStatus:u([`High`,`Medium`,`Low`]),computeHourlyUsd:l().nonnegative(),diskHourlyUsd:l().nonnegative(),totalHourlyUsd:l().nonnegative()}).strict()).max(1e3)}).strict();var Ne=67108864,Pe=524288,Fe=class extends Error{code;constructor(e,t){super(t),this.name=`OpenPondProtocolError`,this.code=e}};function Ie(e){return JSON.stringify(Be(e))}function Le(e){return new TextEncoder().encode(Ie(e)).byteLength}async function Re(e){let t=new TextEncoder().encode(Ie(e)),n=await globalThis.crypto.subtle.digest(`SHA-256`,t);return Array.from(new Uint8Array(n),e=>e.toString(16).padStart(2,`0`)).join(``)}function ze(e,t,n){let r=Le(e);if(r>t)throw new Fe(`payload_too_large`,`${n} is ${r} bytes; the maximum is ${t} bytes.`)}function Be(e){if(e===null||typeof e==`string`||typeof e==`boolean`)return e;if(typeof e==`number`){if(!Number.isFinite(e))throw new Fe(`non_json_value`,`Canonical JSON cannot contain a non-finite number.`);return Object.is(e,-0)?0:e}if(Array.isArray(e))return e.map(e=>Be(e));if(typeof e==`object`){let t=Object.getPrototypeOf(e);if(t!==Object.prototype&&t!==null)throw new Fe(`non_json_value`,`Canonical JSON accepts only plain objects.`);let n={};for(let t of Object.keys(e).sort()){let r=e[t];if(r===void 0||typeof r==`function`||typeof r==`symbol`)throw new Fe(`non_json_value`,`Canonical JSON cannot contain ${typeof r} at ${t}.`);n[t]=Be(r)}return n}throw new Fe(`non_json_value`,`Canonical JSON cannot contain ${typeof e}.`)}var F=d().trim().min(1).max(500),I=d().regex(/^[a-f0-9]{64}$/),L=d().datetime({offset:!0}),R=s({id:F,contentHash:I}).strict(),Ve=R.extend({revision:l().int().positive()}).strict(),He=s({schemaVersion:r(`openpond.baseModelPreference.v1`),modelId:F,revision:d().trim().min(1).max(256).nullable(),tokenizerRevision:d().trim().min(1).max(256).nullable(),chatTemplateHash:d().trim().min(8).max(256).nullable(),modelAssetId:F.nullable(),source:u([`managed`,`local`,`builtin`])}).strict(),Ue=u([`sft`,`dpo`,`grpo`,`ppo`,`sdft`,`opd`,`opsd`,`sdpo`]),We=s({schemaVersion:d().regex(/^openpond\.[A-Za-z0-9]+Recipe\.v\d+$/),method:Ue,parameterization:u([`lora`,`full`])}).catchall(f()),Ge=s({profileProjectId:F,sourceRevision:d().regex(/^[a-f0-9]{40,64}$/),harnessRelease:R}).strict(),Ke=s({profileProjectId:F,sourceRevision:d().regex(/^[a-f0-9]{40,64}$/),catalogHash:I,definitionId:F,harnessRelease:R,tasksetRelease:R}).strict(),qe=s({tasksetRef:Ve.nullable().default(null),evaluationTasksetRef:Ve.nullable().optional(),profileSource:Ge.nullable().optional(),profileEvaluation:Ke.nullable().optional(),rewardBindingRef:Ve.nullable().optional(),tasksetRelease:R.nullable().default(null),harnessRelease:R.nullable().default(null),baseModel:He.nullable().default(null),method:Ue.nullable().default(null),destinationId:F.nullable().default(null),managedRolloutPlacement:u([`local`,`remote`]).default(`remote`),managedGpuPlacementObjective:u([`fast`,`balanced`,`economical`]).default(`balanced`),managedGpuSelection:je.optional(),continuationAdapterMode:u([`residual_append`,`shared`,`sequential_merge`]).optional(),managedGpuRequirement:u([`any`,`h100_hbm3`]).default(`any`),runPreset:u([`small`,`standard`,`custom`,`small_experiment`]).nullable().default(null),recipe:We.nullable().default(null),preferredMaximumSpendUsd:l().nonnegative().nullable().default(null),preferredRetentionDays:l().int().nonnegative().nullable().default(null)}).strict(),Je=qe,Ye=s({schemaVersion:r(`openpond.hostedModelProjectLink.v1`),apiOrigin:d().url().refine(e=>new URL(e).origin===e,`Use a canonical API origin.`).nullable().default(null),teamId:F,projectId:F,portableProjectId:F,revision:l().int().positive(),etag:I,syncedSourceRevision:l().int().positive(),syncedAt:L,tasksets:e(s({localTasksetId:F,localTasksetHash:I.nullable().default(null),releaseId:F,releaseRevision:l().int().positive(),releaseHash:I,packageHash:I.nullable().default(null),hostedTasksetId:F,syncedAt:L}).strict()).max(1e4).default([])}).strict(),Xe=s({localTasksetId:F,releaseId:F,releaseRevision:l().int().positive(),releaseHash:I,state:u([`syncing`,`synced`,`sync_failed`]),hostedTasksetId:F.nullable().default(null),lastAttemptAt:L,syncedAt:L.nullable().default(null),lastError:d().trim().min(1).max(5e3).nullable().default(null)}).strict(),Ze=s({schemaVersion:r(`openpond.modelProject.v2`),id:F,profileId:F,revision:l().int().positive().default(1),name:d().trim().min(1).max(200),objective:d().trim().max(5e3).nullable(),defaultBaseModel:He.nullable(),defaultDestinationId:F.nullable(),trainingSetup:qe,hosted:Ye.nullable().default(null),tasksetSyncs:e(Xe).max(1e4).default([]),createdAt:L,updatedAt:L}).strict(),Qe=Ze.pick({id:!0,profileId:!0,name:!0,objective:!0,defaultBaseModel:!0,defaultDestinationId:!0,trainingSetup:!0}),$e=s({schemaVersion:r(`openpond.modelProjectSave.v1`),operationId:F,expectedRevision:l().int().nonnegative(),project:Qe,learning:Oe.optional()}).strict().superRefine((e,t)=>{e.learning&&e.expectedRevision!==0&&t.addIssue({code:`custom`,path:[`learning`],message:`Use learning settings to edit an existing Model's policy.`})}),et=s({schemaVersion:r(`openpond.modelProjectConfigurationCheck.v1`),configurationHash:I,projectId:F,expectedRevision:l().int().nonnegative(),checkedAt:L,canSave:c(),deferred:e(u([`base_model`,`taskset`])).max(2),findings:e(s({code:F,severity:u([`error`,`warning`]),message:d().min(1).max(5e3),field:d().min(1).max(500).nullable()}).strict()).max(100)}).strict();s({id:F,name:d().min(1).max(500),available:c(),preference:He}).strict();function tt(e){try{D(e,Pe)}catch{throw new at(400,{schemaVersion:`openpond.modelProjectApiError.v2`,code:`model_configuration_json_invalid`,message:`Model configuration must be bounded JSON data.`,retryable:!1,requestId:null,details:{}})}return $e.parse(e)}async function nt(e,t,n){D(e,Pe);let r=Qe.parse(e);ze(r,Pe,`Model configuration`);let i=n?Oe.parse(n):void 0;return tt({schemaVersion:`openpond.modelProjectSave.v1`,operationId:`model-save:${await Re({project:r,expectedRevision:t,...i?{learning:i}:{}})}`,expectedRevision:t,project:r,...i?{learning:i}:{}})}s({schemaVersion:r(`openpond.hostedModelProjectSync.v2`),portableProjectId:F,name:d().trim().min(1).max(200),objective:d().trim().max(5e3).nullable(),defaultBaseModel:He.nullable(),defaultDestinationId:F.nullable(),trainingSetup:Je,sourceRevision:l().int().positive(),sourceUpdatedAt:L,expectedEtag:I.nullable().default(null)}).strict();var rt=s({id:F,teamId:F,portableProjectId:F,name:d().trim().min(1).max(200),objective:d().trim().max(5e3).nullable(),defaultBaseModel:He.nullable(),defaultDestinationId:F.nullable(),trainingSetup:Je,sourceRevision:l().int().positive(),sourceUpdatedAt:L,revision:l().int().positive(),etag:I,createdAt:L,updatedAt:L}).strict(),it=s({kind:u([`taskset_release`,`harness_release`,`dataset_release`,`evidence_set`,`model_version`,`reward_model_version`,`evaluation_receipt`]),ref:R,role:d().trim().min(1).max(200).nullable().default(null),updatedAt:L}).strict();s({project:rt,resources:e(it).max(1e4),jobCount:l().int().nonnegative(),latestJobIds:e(F).max(100)}).strict(),s({schemaVersion:r(`openpond.modelProjectApiError.v2`),code:d().trim().min(1).max(200),message:d().trim().min(1).max(5e3),retryable:c().default(!1),requestId:d().trim().min(1).max(500).nullable().default(null),details:i(d(),f()).default({})}).strict();var at=class extends Error{status;code;retryable;requestId;details;constructor(e,t){super(t.message),this.name=`OpenPondModelProjectApiError`,this.status=e,this.code=t.code,this.retryable=t.retryable,this.requestId=t.requestId,this.details=t.details}},ot=Object.create,st=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,lt=Object.getOwnPropertyNames,ut=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,z=(e,t)=>function(){try{return t||(0,e[lt(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},ft=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of lt(t))!dt.call(e,i)&&i!==n&&st(e,i,{get:()=>t[i],enumerable:!(r=ct(t,i))||r.enumerable});return e},pt=(e,t,n)=>(n=e==null?{}:ot(ut(e)),ft(t||!e||!e.__esModule?st(n,`default`,{value:e,enumerable:!0}):n,e)),mt=`openpond.connectedEvidence.v1`,ht=`connected-evidence-1`,gt={files:100,sourceBytes:33554432,decodedBytes:67108864,lineBytes:67108864,events:1e5,sessions:1e3,boundaries:5e3,evaluatorBytes:2097152},B=d().min(1).max(500),V=d().regex(/^[a-f0-9]{64}$/),_t=d().datetime().nullable(),vt=l().int().nonnegative().nullable(),yt=u([`native_chat`,`native_work`,`codex`,`claude_code`,`hermes`,`openclaw`,`opencode`,`grok_build`,`pi`,`oh_my_pi`]),bt=s({invocationId:B,inputTokens:vt,outputTokens:vt,cachedInputTokens:vt,totalTokens:vt,provenance:u([`billed_invocation`,`reported_invocation`,`reported_cumulative`])}).strict(),xt=s({id:B,sequence:l().int().nonnegative(),occurredAt:_t,kind:u([`message`,`tool_call`,`tool_result`,`compaction`,`artifact`,`terminal`,`usage`,`unknown`]),role:u([`user`,`assistant`,`system`,`tool`]).nullable(),callId:B.nullable(),parentId:B.nullable(),content:o(),usage:bt.nullable()}).strict(),St=s({id:B,familyKey:B,projection:u([`turn`,`conversation`]),requestEventId:B,start:l().int().nonnegative(),end:l().int().positive(),inputHash:V,outputHash:V.nullable(),revisionHash:V,terminal:u([`completed`,`failed`,`cancelled`,`unknown`]),coverage:s({answer:c(),context:u([`retained`,`compacted`,`unknown`]),process:u([`retained`,`partial`,`absent`]),artifacts:u([`retained`,`references_only`,`absent`]),replay:r(`unavailable`),gaps:e(d().max(500)).max(100)}).strict()}).strict(),Ct=s({schemaVersion:r(`openpond.connectedRepositoryContext.v1`),kind:r(`git`),commitHash:d().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/),branch:d().min(1).max(500).nullable(),recordedAt:_t,sourceFileHash:V,metadataHash:V,workingDirectoryHash:V.optional()}).strict();s({schemaVersion:r(mt),normalizerVersion:r(ht),origin:yt,sessionId:B,branchId:B.nullable(),parentSessionId:B.nullable(),exporterVersion:d().max(200).nullable(),acquisition:s({machineId:B,sourceInstanceId:B}).strict().optional(),repositoryContext:Ct.optional(),sourceFiles:e(s({path:B,contentHash:V,sizeBytes:l().int().nonnegative()}).strict()).max(gt.files),events:e(xt).max(gt.events),unmappedEvents:e(xt).max(gt.events),boundaries:e(St).max(gt.boundaries),warnings:e(d().max(500)).max(100),contentHash:V}).strict();var wt=u([`scored`,`unscorable`]),Tt=u([`policy`,`environment`,`collector`,`verifier`,`provider`,`host`,`user`,`scheduler`]),Et=u([`completed`,`policy_failure`,`incomplete_output`,`task_deadline`,`environment_failure`,`collector_failure`,`verifier_failure`,`provider_failure`,`host_failure`,`infrastructure_timeout`,`cancelled`]),Dt=s({schemaVersion:r(`openpond.environmentRelease.v1`),id:x,revision:l().int().positive(),contract:ee,actionSchemaRef:b.nullable(),observationSchemaRef:b.nullable(),stateSchemaRef:b.nullable(),artifactCollection:s({maxArtifacts:l().int().positive().max(1e5),maxTotalBytes:l().int().positive().max(1e10)}).strict(),adapterConformanceHashes:i(x,y),metadata:m}).strict().extend({contentHash:y}).strict(),Ot=u([`collected`,`missing`,`skipped`,`failed`]),kt=u([`not_requested`,`passed`,`failed`]),At=s({requiredOutputPath:d().trim().min(1).max(2e3).nullable(),collectedPath:d().trim().min(1).max(4e3).nullable(),declaredMediaType:d().trim().min(1).max(200).nullable(),detectedMediaType:d().trim().min(1).max(200).nullable(),artifact:v.nullable(),status:Ot,parseStatus:kt,schemaStatus:kt,errorCode:x.nullable(),failureOwner:Tt.nullable(),evidenceRefs:e(v).max(1e4),metadata:m}).strict();s({schemaVersion:r(`openpond.artifactManifest.v1`),id:x,attemptRef:_,entries:e(At).max(1e5),createdAt:h,metadata:m}).strict().extend({contentHash:y}).strict();var jt=s({schemaVersion:r(`openpond.verifierSetRelease.v1`),id:x,revision:l().int().positive(),graders:e(S).max(1e3),isolation:s({processBoundary:u([`same_process`,`isolated_process`,`container`]),networkPolicy:r(`none`),defaultTimeoutMs:l().int().positive().max(3e5)}).strict(),calibrationReceiptRefs:e(_).max(1e4),metadata:m}).strict().extend({contentHash:y}).strict(),Mt=s({verifierId:x,verifierVersion:d().trim().min(1).max(100),status:wt,rawScore:l().finite().nullable(),normalizedScore:l().min(0).max(1).nullable(),weight:l().nonnegative().max(1e3),passed:c(),hardGate:c(),rewardEligible:c(),rewardContribution:l().min(0).max(1).nullable(),failureOwner:Tt.nullable(),feedback:e(d().max(2e4)).max(1e3),visibleEvidenceRefs:e(v).max(1e4),privilegedEvidenceRefs:e(v).max(1e4),metadata:m}).strict().superRefine((e,t)=>{e.status===`scored`&&e.normalizedScore===null&&t.addIssue({code:`custom`,message:`A scored component requires a normalized score.`,path:[`normalizedScore`]}),e.status===`unscorable`&&(e.normalizedScore!==null||e.rewardEligible)&&t.addIssue({code:`custom`,message:`An unscorable component cannot contribute reward.`,path:[`status`]})}),Nt=s({schemaVersion:r(`openpond.rewardReceipt.v1`),id:x,attemptRef:_,verifierSetRef:_,artifactManifestRef:_,status:wt,reward:l().min(0).max(1).nullable(),learningEligible:c(),passed:c(),outcomeClass:Et,failureOwner:Tt.nullable(),components:e(Mt).min(1).max(1e4),visibleEvidenceRefs:e(v).max(1e5),privilegedEvidenceRefs:e(v).max(1e5),supersedes:_.nullable(),createdAt:h,metadata:m}).strict();function Pt(e,t){e.status===`scored`&&(e.reward===null||!e.learningEligible)&&t.addIssue({code:`custom`,message:`A scored receipt requires a reward and is learning-eligible.`,path:[`status`]}),e.status===`unscorable`&&(e.reward!==null||e.learningEligible)&&t.addIssue({code:`custom`,message:`An unscorable receipt has null reward and is not learning-eligible.`,path:[`status`]})}Nt.superRefine(Pt),Nt.extend({contentHash:y}).strict().superRefine(Pt);var Ft=d().regex(/^(0|-?[1-9][0-9]*)$/).max(20).refine(e=>{if(e.length>20||!/^(0|-?[1-9][0-9]*)$/.test(e))return!1;let t=BigInt(e);return t>=-(1n<<63n)&&t<1n<<63n},`SQL integers must fit signed 64-bit storage.`),It=t([a(),d().max(262144),l().finite(),s({integer:Ft}).strict(),s({blobBase64:d().max(349528).regex(/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/)}).strict()]),Lt=d().min(1).max(128).refine(e=>!e.includes(`\0`)),Rt=s({tables:e(s({name:Lt,columns:e(s({name:Lt,type:u([`INTEGER`,`REAL`,`TEXT`,`BLOB`])}).strict()).min(1).max(128),rows:e(e(It).max(128)).max(4096)}).strict()).max(64)}).strict().superRefine((e,t)=>{let n=new Set;for(let[r,i]of e.tables.entries()){let e=i.name.toLowerCase();(n.has(e)||e.startsWith(`sqlite_`))&&t.addIssue({code:`custom`,path:[`tables`,r,`name`],message:`Table names must be unique and outside SQLite's reserved namespace.`}),n.add(e),new Set(i.columns.map(e=>e.name.toLowerCase())).size!==i.columns.length&&t.addIssue({code:`custom`,path:[`tables`,r,`columns`],message:`Column names must be unique.`}),i.rows.some(e=>e.length!==i.columns.length)&&t.addIssue({code:`custom`,path:[`tables`,r,`rows`],message:`Each row must match the declared columns.`})}}),zt=s({schemaVersion:r(`openpond.sqlExecution.v1`),snapshot:Rt,sql:d().min(1).max(65536).refine(e=>!e.includes(`\0`)),maxRows:l().int().min(1).max(4096),maxResultBytes:l().int().min(256).max(262144)}).strict();n(`status`,[s({status:r(`completed`),columns:e(d()).max(128),rows:e(e(It).max(128)).max(4096)}).strict(),s({status:r(`rejected`),code:u([`invalid_query`,`multiple_statements`,`result_too_large`,`memory_limit`])}).strict()]);var Bt=s({scope:u([`input`,`initialState`,`state`,`arguments`]),path:e(d().min(1).max(256)).max(16)}).strict(),Vt={id:d().min(1).max(128),operation:u([`step`,`collect`]),toolName:d().min(1).max(500).optional(),timeoutMs:l().int().min(1).max(2e4)},Ht=n(`kind`,[s({...Vt,kind:r(`sqlite.v1`),sql:Bt,snapshot:Bt,maxRows:zt.shape.maxRows,maxResultBytes:zt.shape.maxResultBytes}).strict(),s({...Vt,kind:r(`javascript.v1`),source:Bt,cases:Bt,exportName:d().regex(/^[A-Za-z_$][A-Za-z0-9_$]*$/).max(128),maxCases:l().int().min(1).max(32),maxResultBytes:l().int().min(256).max(262144)}).strict()]).superRefine((e,t)=>{e.operation===`step`!=(e.toolName!==void 0)&&t.addIssue({code:`custom`,path:[`toolName`],message:`Only step services require a declared tool name.`}),e.operation===`collect`&&(e.kind===`sqlite.v1`?[e.sql,e.snapshot]:[e.source,e.cases]).some(e=>e.scope===`arguments`)&&t.addIssue({code:`custom`,message:`Collection has no tool arguments.`})}),Ut=s({schemaVersion:r(`openpond.javascriptEnvironment.v1`),id:d().trim().min(1).max(500),revision:l().int().positive(),module:b.refine(e=>e.visibility===`host_private`,`Environment code belongs to the execution owner.`),tools:e(C).min(1).max(200),maxSteps:l().int().min(1).max(1e3),maxStateBytes:l().int().min(1).max(1048576),maxObservationBytes:l().int().min(1).max(262144),operationTimeoutMs:l().int().min(1).max(3e4),executionServices:e(Ht).min(1).max(16).optional()}).strict().superRefine((e,t)=>{new Set(e.tools.map(e=>e.name)).size!==e.tools.length&&t.addIssue({code:`custom`,path:[`tools`],message:`Environment tool names must be unique.`}),e.tools.forEach((e,n)=>{w(e.inputSchema).valid||t.addIssue({code:`custom`,path:[`tools`,n,`inputSchema`],message:`Environment tools require a supported JSON schema.`}),e.inputSchemaHash!==g(e.inputSchema)&&t.addIssue({code:`custom`,path:[`tools`,n,`inputSchemaHash`],message:`Tool schema identity differs from its declared schema.`})});let n=e.executionServices??[];new Set(n.map(e=>e.id)).size!==n.length&&t.addIssue({code:`custom`,path:[`executionServices`],message:`Execution service identities must be unique.`}),n.forEach((n,r)=>{let i=e.tools.find(e=>e.name===n.toolName);n.operation===`step`&&!i&&t.addIssue({code:`custom`,path:[`executionServices`,r,`toolName`],message:`Execution services must target a declared tool.`}),n.timeoutMs>=Math.min(e.operationTimeoutMs,i?.timeoutMs??e.operationTimeoutMs)&&t.addIssue({code:`custom`,path:[`executionServices`,r,`timeoutMs`],message:`Service budgets must leave time for the authored controller.`})})}).safeExtend({contentHash:d().regex(/^[a-f0-9]{64}$/)});u([`create`,`reset`,`step`,`collect`,`destroy`]),s({state:i(d(),f()),observation:i(d(),f())}).strict();var Wt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;var t=class{};e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var n=class extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw Error(`CodeGen: name must be a valid identifier`);this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};e.Name=n;var r=class extends t{constructor(e){super(),this._items=typeof e==`string`?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===``||e===`""`}get str(){return this._str??=this._items.reduce((e,t)=>`${e}${t}`,``)}get names(){return this._names??=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}};e._Code=r,e.nil=new r(``);function i(e,...t){let n=[e[0]],i=0;for(;i<t.length;)s(n,t[i]),n.push(e[++i]);return new r(n)}e._=i;var a=new r(`+`);function o(e,...t){let n=[p(e[0])],i=0;for(;i<t.length;)n.push(a),s(n,t[i]),n.push(a,p(e[++i]));return c(n),new r(n)}e.str=o;function s(e,t){t instanceof r?e.push(...t._items):t instanceof n?e.push(t):e.push(d(t))}e.addCodeArg=s;function c(e){let t=1;for(;t<e.length-1;){if(e[t]===a){let n=l(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function l(e,t){if(t===`""`)return e;if(e===`""`)return t;if(typeof e==`string`)return t instanceof n||e[e.length-1]!==`"`?void 0:typeof t==`string`?t[0]===`"`?e.slice(0,-1)+t.slice(1):void 0:`${e.slice(0,-1)}${t}"`;if(typeof t==`string`&&t[0]===`"`&&!(e instanceof n))return`"${e}${t.slice(1)}`}function u(e,t){return t.emptyStr()?e:e.emptyStr()?t:o`${e}${t}`}e.strConcat=u;function d(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:p(Array.isArray(e)?e.join(`,`):e)}function f(e){return new r(p(e))}e.stringify=f;function p(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=p;function m(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new r(`.${t}`):i`[${t}]`}e.getProperty=m;function h(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new r(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=h;function g(e){return new r(e.toString())}e.regexpCode=g}}),Gt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;var t=Wt(),n=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},r;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(r||(e.UsedValueState=r={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var i=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){if((this._parent?._prefixes)?.has(e)||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};e.Scope=i;var a=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:r}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${r}]`}};e.ValueScopeName=a;var o=(0,t._)`\n`;e.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?o:t.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let n=this.toName(e),{prefix:r}=n,i=t.key??t.ref,a=this._values[r];if(a){let e=a.get(i);if(e)return e}else a=this._values[r]=new Map;a.set(i,n);let o=this._scope[r]||(this._scope[r]=[]),s=o.length;return o[s]=t.ref,n.setValue(t,{property:r,itemIndex:s}),n}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,n=this._values){return this._reduceValues(n,n=>{if(n.scopePath===void 0)throw Error(`CodeGen: name "${n}" has no value`);return(0,t._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(e.value===void 0)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(i,a,o={},s){let c=t.nil;for(let l in i){let u=i[l];if(!u)continue;let d=o[l]=o[l]||new Map;u.forEach(i=>{if(d.has(i))return;d.set(i,r.Started);let o=a(i);if(o){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;c=(0,t._)`${c}${n} ${i} = ${o};${this.opts._n}`}else if(o=s?.(i))c=(0,t._)`${c}${o}${this.opts._n}`;else throw new n(i);d.set(i,r.Completed)})}return c}}}}),H=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;var t=Wt(),n=Gt(),r=Wt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return r.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return r.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return r.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}});var i=Gt();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(`>`),GTE:new t._Code(`>=`),LT:new t._Code(`<`),LTE:new t._Code(`<=`),EQ:new t._Code(`===`),NEQ:new t._Code(`!==`),NOT:new t._Code(`!`),OR:new t._Code(`||`),AND:new t._Code(`&&`),ADD:new t._Code(`+`)};var a=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},o=class extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let r=e?n.varKinds.var:this.varKind,i=this.rhs===void 0?``:` = ${this.rhs}`;return`${r} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=O(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},s=class extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=O(this.rhs,e,n),this}get names(){return D(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},c=class extends s{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},l=class extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},u=class extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},d=class extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},f=class extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=O(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},p=class extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),``)}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,r=n.length;for(;r--;){let i=n[r];i.optimizeNames(e,t)||(te(e,i.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>E(e,t.names),{})}},m=class extends p{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},h=class extends p{},g=class extends m{};g.kind=`else`;var _=class e extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+=`else `+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let e=n.optimizeNodes();n=this.else=Array.isArray(e)?new g(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(k(t),n instanceof e?[n]:n.nodes);if(t!==!1&&this.nodes.length)return this}optimizeNames(e,t){if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=O(this.condition,e,t),this}get names(){let e=super.names;return D(e,this.condition),this.else&&E(e,this.else.names),e}};_.kind=`if`;var v=class extends m{};v.kind=`for`;var y=class extends v{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=O(this.iteration,e,t),this}get names(){return E(super.names,this.iteration.names)}},b=class extends v{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:r,from:i,to:a}=this;return`for(${t} ${r}=${i}; ${r}<${a}; ${r}++)`+super.render(e)}get names(){return D(D(super.names,this.from),this.to)}},x=class extends v{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=O(this.iterable,e,t),this}get names(){return E(super.names,this.iterable.names)}},S=class extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?`async `:``}function ${this.name}(${this.args})`+super.render(e)}};S.kind=`func`;var C=class extends p{render(e){return`return `+super.render(e)}};C.kind=`return`;var w=class extends m{render(e){let t=`try`+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)==null||e.optimizeNodes(),(t=this.finally)==null||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(r=this.finally)==null||r.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&E(e,this.catch.names),this.finally&&E(e,this.finally.names),e}},T=class extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};T.kind=`catch`;var ee=class extends m{render(e){return`finally`+super.render(e)}};ee.kind=`finally`,e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
2
- `:``},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){let i=this._scope.toName(t);return n!==void 0&&r&&(this._constants[i.str]=n),this._leafNode(new o(e,i,n)),i}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,n){return this._leafNode(new s(e,t,n))}add(t,n){return this._leafNode(new c(t,e.operators.ADD,n))}code(e){return typeof e==`function`?e():e!==t.nil&&this._leafNode(new f(e)),this}object(...e){let n=[`{`];for(let[r,i]of e)n.length>1&&n.push(`,`),n.push(r),(r!==i||this.opts.es5)&&(n.push(`:`),(0,t.addCodeArg)(n,i));return n.push(`}`),new t._Code(n)}if(e,t,n){if(this._blockNode(new _(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw Error(`CodeGen: "else" body without "then" body`);return this}elseIf(e){return this._elseNode(new _(e))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(_,g)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new y(e),t)}forRange(e,t,r,i,a=this.opts.es5?n.varKinds.var:n.varKinds.let){let o=this._scope.toName(e);return this._for(new b(a,o,t,r),()=>i(o))}forOf(e,r,i,a=n.varKinds.const){let o=this._scope.toName(e);if(this.opts.es5){let e=r instanceof t.Name?r:this.var(`_arr`,r);return this.forRange(`_i`,0,(0,t._)`${e}.length`,n=>{this.var(o,(0,t._)`${e}[${n}]`),i(o)})}return this._for(new x(`of`,a,o,r),()=>i(o))}forIn(e,r,i,a=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,t._)`Object.keys(${r})`,i);let o=this._scope.toName(e);return this._for(new x(`in`,a,o,r),()=>i(o))}endFor(){return this._endBlockNode(v)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new u(e))}return(e){let t=new C;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw Error(`CodeGen: "return" should have one node`);return this._endBlockNode(C)}try(e,t,n){if(!t&&!n)throw Error(`CodeGen: "try" without "catch" and "finally"`);let r=new w;if(this._blockNode(r),this.code(e),t){let e=this.name(`e`);this._currNode=r.catch=new T(e),t(e)}return n&&(this._currNode=r.finally=new ee,this.code(n)),this._endBlockNode(T,ee)}throw(e){return this._leafNode(new d(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(t===void 0)throw Error(`CodeGen: not in self-balancing block`);let n=this._nodes.length-t;if(n<0||e!==void 0&&n!==e)throw Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,n=t.nil,r,i){return this._blockNode(new S(e,n,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(e=1){for(;e-->0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof _))throw Error(`CodeGen: "else" without "if"`);return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};function E(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function D(e,n){return n instanceof t._CodeOrName?E(e,n.names):e}function O(e,n,r){return e instanceof t.Name?i(e):a(e)?new t._Code(e._items.reduce((e,n)=>(n instanceof t.Name&&(n=i(n)),n instanceof t._Code?e.push(...n._items):e.push(n),e),[])):e;function i(e){let t=r[e.str];return t===void 0||n[e.str]!==1?e:(delete n[e.str],t)}function a(e){return e instanceof t._Code&&e._items.some(e=>e instanceof t.Name&&n[e.str]===1&&r[e.str]!==void 0)}}function te(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function k(e){return typeof e==`boolean`||typeof e==`number`||e===null?!e:(0,t._)`!${ie(e)}`}e.not=k;var ne=M(e.operators.AND);function re(...e){return e.reduce(ne)}e.and=re;var A=M(e.operators.OR);function j(...e){return e.reduce(A)}e.or=j;function M(e){return(n,r)=>n===t.nil?r:r===t.nil?n:(0,t._)`${ie(n)} ${e} ${ie(r)}`}function ie(e){return e instanceof t.Name?e:(0,t._)`(${e})`}}}),U=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;var t=H(),n=Wt();function r(e){let t={};for(let n of e)t[n]=!0;return t}e.toHash=r;function i(e,t){return typeof t==`boolean`?t:Object.keys(t).length===0||(a(e,t),!o(t,e.self.RULES.all))}e.alwaysValidSchema=i;function a(e,t=e.schema){let{opts:n,self:r}=e;if(!n.strictSchema||typeof t==`boolean`)return;let i=r.RULES.keywords;for(let n in t)i[n]||x(e,`unknown keyword: "${n}"`)}e.checkUnknownRules=a;function o(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(t[n])return!0;return!1}e.schemaHasRules=o;function s(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(n!==`$ref`&&t.all[n])return!0;return!1}e.schemaHasRulesButRef=s;function c({topSchemaRef:e,schemaPath:n},r,i,a){if(!a){if(typeof r==`number`||typeof r==`boolean`)return r;if(typeof r==`string`)return(0,t._)`${r}`}return(0,t._)`${e}${n}${(0,t.getProperty)(i)}`}e.schemaRefOrVal=c;function l(e){return f(decodeURIComponent(e))}e.unescapeFragment=l;function u(e){return encodeURIComponent(d(e))}e.escapeFragment=u;function d(e){return typeof e==`number`?`${e}`:e.replace(/~/g,`~0`).replace(/\//g,`~1`)}e.escapeJsonPointer=d;function f(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}e.unescapeJsonPointer=f;function p(e,t){if(Array.isArray(e))for(let n of e)t(n);else t(e)}e.eachItem=p;function m({mergeNames:e,mergeToName:n,mergeValues:r,resultToName:i}){return(a,o,s,c)=>{let l=s===void 0?o:s instanceof t.Name?(o instanceof t.Name?e(a,o,s):n(a,o,s),s):o instanceof t.Name?(n(a,s,o),o):r(o,s);return c===t.Name&&!(l instanceof t.Name)?i(a,l):l}}e.mergeEvaluated={props:m({mergeNames:(e,n,r)=>e.if((0,t._)`${r} !== true && ${n} !== undefined`,()=>{e.if((0,t._)`${n} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,t._)`${r} || {}`).code((0,t._)`Object.assign(${r}, ${n})`))}),mergeToName:(e,n,r)=>e.if((0,t._)`${r} !== true`,()=>{n===!0?e.assign(r,!0):(e.assign(r,(0,t._)`${r} || {}`),g(e,r,n))}),mergeValues:(e,t)=>e===!0||{...e,...t},resultToName:h}),items:m({mergeNames:(e,n,r)=>e.if((0,t._)`${r} !== true && ${n} !== undefined`,()=>e.assign(r,(0,t._)`${n} === true ? true : ${r} > ${n} ? ${r} : ${n}`)),mergeToName:(e,n,r)=>e.if((0,t._)`${r} !== true`,()=>e.assign(r,n===!0||(0,t._)`${r} > ${n} ? ${r} : ${n}`)),mergeValues:(e,t)=>e===!0||Math.max(e,t),resultToName:(e,t)=>e.var(`items`,t)})};function h(e,n){if(n===!0)return e.var(`props`,!0);let r=e.var(`props`,(0,t._)`{}`);return n!==void 0&&g(e,r,n),r}e.evaluatedPropsToName=h;function g(e,n,r){Object.keys(r).forEach(r=>e.assign((0,t._)`${n}${(0,t.getProperty)(r)}`,!0))}e.setEvaluated=g;var _={};function v(e,t){return e.scopeValue(`func`,{ref:t,code:_[t.code]||(_[t.code]=new n._Code(t.code))})}e.useFunc=v;var y;(function(e){e[e.Num=0]=`Num`,e[e.Str=1]=`Str`})(y||(e.Type=y={}));function b(e,n,r){if(e instanceof t.Name){let i=n===y.Num;return r?i?(0,t._)`"[" + ${e} + "]"`:(0,t._)`"['" + ${e} + "']"`:i?(0,t._)`"/" + ${e}`:(0,t._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,t.getProperty)(e).toString():`/`+d(e)}e.getErrorPath=b;function x(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,n===!0)throw Error(t);e.self.logger.warn(t)}}e.checkStrictMode=x}}),W=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.default={data:new t.Name(`data`),valCxt:new t.Name(`valCxt`),instancePath:new t.Name(`instancePath`),parentData:new t.Name(`parentData`),parentDataProperty:new t.Name(`parentDataProperty`),rootData:new t.Name(`rootData`),dynamicAnchors:new t.Name(`dynamicAnchors`),vErrors:new t.Name(`vErrors`),errors:new t.Name(`errors`),this:new t.Name(`this`),self:new t.Name(`self`),scope:new t.Name(`scope`),json:new t.Name(`json`),jsonPos:new t.Name(`jsonPos`),jsonLen:new t.Name(`jsonLen`),jsonPart:new t.Name(`jsonPart`)}}}),Kt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;var t=H(),n=U(),r=W();e.keywordError={message:({keyword:e})=>(0,t.str)`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:n})=>n?(0,t.str)`"${e}" keyword must be ${n} ($data)`:(0,t.str)`"${e}" keyword is invalid ($data)`};function i(n,r=e.keywordError,i,a){let{it:o}=n,{gen:s,compositeRule:u,allErrors:f}=o,p=d(n,r,i);a??(u||f)?c(s,p):l(o,(0,t._)`[${p}]`)}e.reportError=i;function a(t,n=e.keywordError,i){let{it:a}=t,{gen:o,compositeRule:s,allErrors:u}=a;c(o,d(t,n,i)),s||u||l(a,r.default.vErrors)}e.reportExtraError=a;function o(e,n){e.assign(r.default.errors,n),e.if((0,t._)`${r.default.vErrors} !== null`,()=>e.if(n,()=>e.assign((0,t._)`${r.default.vErrors}.length`,n),()=>e.assign(r.default.vErrors,null)))}e.resetErrorsCount=o;function s({gen:e,keyword:n,schemaValue:i,data:a,errsCount:o,it:s}){if(o===void 0)throw Error(`ajv implementation error`);let c=e.name(`err`);e.forRange(`i`,o,r.default.errors,o=>{e.const(c,(0,t._)`${r.default.vErrors}[${o}]`),e.if((0,t._)`${c}.instancePath === undefined`,()=>e.assign((0,t._)`${c}.instancePath`,(0,t.strConcat)(r.default.instancePath,s.errorPath))),e.assign((0,t._)`${c}.schemaPath`,(0,t.str)`${s.errSchemaPath}/${n}`),s.opts.verbose&&(e.assign((0,t._)`${c}.schema`,i),e.assign((0,t._)`${c}.data`,a))})}e.extendErrors=s;function c(e,n){let i=e.const(`err`,n);e.if((0,t._)`${r.default.vErrors} === null`,()=>e.assign(r.default.vErrors,(0,t._)`[${i}]`),(0,t._)`${r.default.vErrors}.push(${i})`),e.code((0,t._)`${r.default.errors}++`)}function l(e,n){let{gen:r,validateName:i,schemaEnv:a}=e;a.$async?r.throw((0,t._)`new ${e.ValidationError}(${n})`):(r.assign((0,t._)`${i}.errors`,n),r.return(!1))}var u={keyword:new t.Name(`keyword`),schemaPath:new t.Name(`schemaPath`),params:new t.Name(`params`),propertyName:new t.Name(`propertyName`),message:new t.Name(`message`),schema:new t.Name(`schema`),parentSchema:new t.Name(`parentSchema`)};function d(e,n,r){let{createErrors:i}=e.it;return i===!1?(0,t._)`{}`:f(e,n,r)}function f(e,t,n={}){let{gen:r,it:i}=e,a=[p(i,n),m(e,n)];return h(e,t,a),r.object(...a)}function p({errorPath:e},{instancePath:i}){let a=i?(0,t.str)`${e}${(0,n.getErrorPath)(i,n.Type.Str)}`:e;return[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,a)]}function m({keyword:e,it:{errSchemaPath:r}},{schemaPath:i,parentSchema:a}){let o=a?r:(0,t.str)`${r}/${e}`;return i&&(o=(0,t.str)`${o}${(0,n.getErrorPath)(i,n.Type.Str)}`),[u.schemaPath,o]}function h(e,{params:n,message:i},a){let{keyword:o,data:s,schemaValue:c,it:l}=e,{opts:d,propertyName:f,topSchemaRef:p,schemaPath:m}=l;a.push([u.keyword,o],[u.params,typeof n==`function`?n(e):n||(0,t._)`{}`]),d.messages&&a.push([u.message,typeof i==`function`?i(e):i]),d.verbose&&a.push([u.schema,c],[u.parentSchema,(0,t._)`${p}${m}`],[r.default.data,s]),f&&a.push([u.propertyName,f])}}}),qt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.boolOrEmptySchema=e.topBoolOrEmptySchema=void 0;var t=Kt(),n=H(),r=W(),i={message:`boolean schema is false`};function a(e){let{gen:t,schema:i,validateName:a}=e;i===!1?s(e,!1):typeof i==`object`&&i.$async===!0?t.return(r.default.data):(t.assign((0,n._)`${a}.errors`,null),t.return(!0))}e.topBoolOrEmptySchema=a;function o(e,t){let{gen:n,schema:r}=e;r===!1?(n.var(t,!1),s(e)):n.var(t,!0)}e.boolOrEmptySchema=o;function s(e,n){let{gen:r,data:a}=e,o={gen:r,keyword:`false schema`,data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,t.reportError)(o,i,void 0,n)}}}),Jt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRules=e.isJSONType=void 0;var t=new Set([`string`,`number`,`integer`,`boolean`,`null`,`object`,`array`]);function n(e){return typeof e==`string`&&t.has(e)}e.isJSONType=n;function r(){let e={number:{type:`number`,rules:[]},string:{type:`string`,rules:[]},array:{type:`array`,rules:[]},object:{type:`object`,rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}e.getRules=r}}),Yt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.shouldUseRule=e.shouldUseGroup=e.schemaHasRulesForType=void 0;function t({schema:e,self:t},r){let i=t.RULES.types[r];return i&&i!==!0&&n(e,i)}e.schemaHasRulesForType=t;function n(e,t){return t.rules.some(t=>r(e,t))}e.shouldUseGroup=n;function r(e,t){return e[t.keyword]!==void 0||t.definition.implements?.some(t=>e[t]!==void 0)}e.shouldUseRule=r}}),Xt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;var t=Jt(),n=Yt(),r=Kt(),i=H(),a=U(),o;(function(e){e[e.Correct=0]=`Correct`,e[e.Wrong=1]=`Wrong`})(o||(e.DataType=o={}));function s(e){let t=c(e.type);if(t.includes(`null`)){if(e.nullable===!1)throw Error(`type: null contradicts nullable: false`)}else{if(!t.length&&e.nullable!==void 0)throw Error(`"nullable" cannot be used without "type"`);e.nullable===!0&&t.push(`null`)}return t}e.getSchemaTypes=s;function c(e){let n=Array.isArray(e)?e:e?[e]:[];if(n.every(t.isJSONType))return n;throw Error(`type must be JSONType or JSONType[]: `+n.join(`,`))}e.getJSONTypes=c;function l(e,t){let{gen:r,data:i,opts:a}=e,s=d(t,a.coerceTypes),c=t.length>0&&!(s.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(c){let n=h(t,i,a.strictNumbers,o.Wrong);r.if(n,()=>{s.length?f(e,t,s):_(e)})}return c}e.coerceAndCheckDataType=l;var u=new Set([`string`,`number`,`integer`,`boolean`,`null`]);function d(e,t){return t?e.filter(e=>u.has(e)||t===`array`&&e===`array`):[]}function f(e,t,n){let{gen:r,data:a,opts:o}=e,s=r.let(`dataType`,(0,i._)`typeof ${a}`),c=r.let(`coerced`,(0,i._)`undefined`);o.coerceTypes===`array`&&r.if((0,i._)`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>r.assign(a,(0,i._)`${a}[0]`).assign(s,(0,i._)`typeof ${a}`).if(h(t,a,o.strictNumbers),()=>r.assign(c,a))),r.if((0,i._)`${c} !== undefined`);for(let e of n)(u.has(e)||e===`array`&&o.coerceTypes===`array`)&&l(e);r.else(),_(e),r.endIf(),r.if((0,i._)`${c} !== undefined`,()=>{r.assign(a,c),p(e,c)});function l(e){switch(e){case`string`:r.elseIf((0,i._)`${s} == "number" || ${s} == "boolean"`).assign(c,(0,i._)`"" + ${a}`).elseIf((0,i._)`${a} === null`).assign(c,(0,i._)`""`);return;case`number`:r.elseIf((0,i._)`${s} == "boolean" || ${a} === null
3
- || (${s} == "string" && ${a} && ${a} == +${a})`).assign(c,(0,i._)`+${a}`);return;case`integer`:r.elseIf((0,i._)`${s} === "boolean" || ${a} === null
4
- || (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(c,(0,i._)`+${a}`);return;case`boolean`:r.elseIf((0,i._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(c,!1).elseIf((0,i._)`${a} === "true" || ${a} === 1`).assign(c,!0);return;case`null`:r.elseIf((0,i._)`${a} === "" || ${a} === 0 || ${a} === false`),r.assign(c,null);return;case`array`:r.elseIf((0,i._)`${s} === "string" || ${s} === "number"
5
- || ${s} === "boolean" || ${a} === null`).assign(c,(0,i._)`[${a}]`)}}}function p({gen:e,parentData:t,parentDataProperty:n},r){e.if((0,i._)`${t} !== undefined`,()=>e.assign((0,i._)`${t}[${n}]`,r))}function m(e,t,n,r=o.Correct){let a=r===o.Correct?i.operators.EQ:i.operators.NEQ,s;switch(e){case`null`:return(0,i._)`${t} ${a} null`;case`array`:s=(0,i._)`Array.isArray(${t})`;break;case`object`:s=(0,i._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case`integer`:s=c((0,i._)`!(${t} % 1) && !isNaN(${t})`);break;case`number`:s=c();break;default:return(0,i._)`typeof ${t} ${a} ${e}`}return r===o.Correct?s:(0,i.not)(s);function c(e=i.nil){return(0,i.and)((0,i._)`typeof ${t} == "number"`,e,n?(0,i._)`isFinite(${t})`:i.nil)}}e.checkDataType=m;function h(e,t,n,r){if(e.length===1)return m(e[0],t,n,r);let o,s=(0,a.toHash)(e);if(s.array&&s.object){let e=(0,i._)`typeof ${t} != "object"`;o=s.null?e:(0,i._)`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else o=i.nil;s.number&&delete s.integer;for(let e in s)o=(0,i.and)(o,m(e,t,n,r));return o}e.checkDataTypes=h;var g={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e==`string`?(0,i._)`{type: ${e}}`:(0,i._)`{type: ${t}}`};function _(e){let t=v(e);(0,r.reportError)(t,g)}e.reportTypeError=_;function v(e){let{gen:t,data:n,schema:r}=e,i=(0,a.schemaRefOrVal)(e,r,`type`);return{gen:t,keyword:`type`,data:n,schema:r.type,schemaCode:i,schemaValue:i,parentSchema:r,params:{},it:e}}}}),Zt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.assignDefaults=void 0;var t=H(),n=U();function r(e,t){let{properties:n,items:r}=e.schema;if(t===`object`&&n)for(let t in n)i(e,t,n[t].default);else t===`array`&&Array.isArray(r)&&r.forEach((t,n)=>i(e,n,t.default))}e.assignDefaults=r;function i(e,r,i){let{gen:a,compositeRule:o,data:s,opts:c}=e;if(i===void 0)return;let l=(0,t._)`${s}${(0,t.getProperty)(r)}`;if(o){(0,n.checkStrictMode)(e,`default is ignored for: ${l}`);return}let u=(0,t._)`${l} === undefined`;c.useDefaults===`empty`&&(u=(0,t._)`${u} || ${l} === null || ${l} === ""`),a.if(u,(0,t._)`${l} = ${(0,t.stringify)(i)}`)}}}),G=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateUnion=e.validateArray=e.usePattern=e.callValidateCode=e.schemaProperties=e.allSchemaProperties=e.noPropertyInData=e.propertyInData=e.isOwnProperty=e.hasPropFunc=e.reportMissingProp=e.checkMissingProp=e.checkReportMissingProp=void 0;var t=H(),n=U(),r=W(),i=U();function a(e,n){let{gen:r,data:i,it:a}=e;r.if(d(r,i,n,a.opts.ownProperties),()=>{e.setParams({missingProperty:(0,t._)`${n}`},!0),e.error()})}e.checkReportMissingProp=a;function o({gen:e,data:n,it:{opts:r}},i,a){return(0,t.or)(...i.map(i=>(0,t.and)(d(e,n,i,r.ownProperties),(0,t._)`${a} = ${i}`)))}e.checkMissingProp=o;function s(e,t){e.setParams({missingProperty:t},!0),e.error()}e.reportMissingProp=s;function c(e){return e.scopeValue(`func`,{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}e.hasPropFunc=c;function l(e,n,r){return(0,t._)`${c(e)}.call(${n}, ${r})`}e.isOwnProperty=l;function u(e,n,r,i){let a=(0,t._)`${n}${(0,t.getProperty)(r)} !== undefined`;return i?(0,t._)`${a} && ${l(e,n,r)}`:a}e.propertyInData=u;function d(e,n,r,i){let a=(0,t._)`${n}${(0,t.getProperty)(r)} === undefined`;return i?(0,t.or)(a,(0,t.not)(l(e,n,r))):a}e.noPropertyInData=d;function f(e){return e?Object.keys(e).filter(e=>e!==`__proto__`):[]}e.allSchemaProperties=f;function p(e,t){return f(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))}e.schemaProperties=p;function m({schemaCode:e,data:n,it:{gen:i,topSchemaRef:a,schemaPath:o,errorPath:s},it:c},l,u,d){let f=d?(0,t._)`${e}, ${n}, ${a}${o}`:n,p=[[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,s)],[r.default.parentData,c.parentData],[r.default.parentDataProperty,c.parentDataProperty],[r.default.rootData,r.default.rootData]];c.opts.dynamicRef&&p.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);let m=(0,t._)`${f}, ${i.object(...p)}`;return u===t.nil?(0,t._)`${l}(${m})`:(0,t._)`${l}.call(${u}, ${m})`}e.callValidateCode=m;var h=(0,t._)`new RegExp`;function g({gen:e,it:{opts:n}},r){let a=n.unicodeRegExp?`u`:``,{regExp:o}=n.code,s=o(r,a);return e.scopeValue(`pattern`,{key:s.toString(),ref:s,code:(0,t._)`${o.code===`new RegExp`?h:(0,i.useFunc)(e,o)}(${r}, ${a})`})}e.usePattern=g;function _(e){let{gen:r,data:i,keyword:a,it:o}=e,s=r.name(`valid`);if(o.allErrors){let e=r.let(`valid`,!0);return c(()=>r.assign(e,!1)),e}return r.var(s,!0),c(()=>r.break()),s;function c(o){let c=r.const(`len`,(0,t._)`${i}.length`);r.forRange(`i`,0,c,i=>{e.subschema({keyword:a,dataProp:i,dataPropType:n.Type.Num},s),r.if((0,t.not)(s),o)})}}e.validateArray=_;function v(e){let{gen:r,schema:i,keyword:a,it:o}=e;if(!Array.isArray(i))throw Error(`ajv implementation error`);if(i.some(e=>(0,n.alwaysValidSchema)(o,e))&&!o.opts.unevaluated)return;let s=r.let(`valid`,!1),c=r.name(`_valid`);r.block(()=>i.forEach((n,i)=>{let o=e.subschema({keyword:a,schemaProp:i,compositeRule:!0},c);r.assign(s,(0,t._)`${s} || ${c}`),e.mergeValidEvaluated(o,c)||r.if((0,t.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}e.validateUnion=v}}),Qt=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateKeywordUsage=e.validSchemaType=e.funcKeywordCode=e.macroKeywordCode=void 0;var t=H(),n=W(),r=G(),i=Kt();function a(e,n){let{gen:r,keyword:i,schema:a,parentSchema:o,it:s}=e,c=n.macro.call(s.self,a,o,s),l=u(r,i,c);s.opts.validateSchema!==!1&&s.self.validateSchema(c,!0);let d=r.name(`valid`);e.subschema({schema:c,schemaPath:t.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},d),e.pass(d,()=>e.error(!0))}e.macroKeywordCode=a;function o(e,i){let{gen:a,keyword:o,schema:d,parentSchema:f,$data:p,it:m}=e;l(m,i);let h=u(a,o,!p&&i.compile?i.compile.call(m.self,d,f,m):i.validate),g=a.let(`valid`);e.block$data(g,_),e.ok(i.valid??g);function _(){if(i.errors===!1)b(),i.modifying&&s(e),x(()=>e.error());else{let t=i.async?v():y();i.modifying&&s(e),x(()=>c(e,t))}}function v(){let e=a.let(`ruleErrs`,null);return a.try(()=>b((0,t._)`await `),n=>a.assign(g,!1).if((0,t._)`${n} instanceof ${m.ValidationError}`,()=>a.assign(e,(0,t._)`${n}.errors`),()=>a.throw(n))),e}function y(){let e=(0,t._)`${h}.errors`;return a.assign(e,null),b(t.nil),e}function b(o=i.async?(0,t._)`await `:t.nil){let s=m.opts.passContext?n.default.this:n.default.self,c=!(`compile`in i&&!p||i.schema===!1);a.assign(g,(0,t._)`${o}${(0,r.callValidateCode)(e,h,s,c)}`,i.modifying)}function x(e){a.if((0,t.not)(i.valid??g),e)}}e.funcKeywordCode=o;function s(e){let{gen:n,data:r,it:i}=e;n.if(i.parentData,()=>n.assign(r,(0,t._)`${i.parentData}[${i.parentDataProperty}]`))}function c(e,r){let{gen:a}=e;a.if((0,t._)`Array.isArray(${r})`,()=>{a.assign(n.default.vErrors,(0,t._)`${n.default.vErrors} === null ? ${r} : ${n.default.vErrors}.concat(${r})`).assign(n.default.errors,(0,t._)`${n.default.vErrors}.length`),(0,i.extendErrors)(e)},()=>e.error())}function l({schemaEnv:e},t){if(t.async&&!e.$async)throw Error(`async keyword in sync schema`)}function u(e,n,r){if(r===void 0)throw Error(`keyword "${n}" failed to compile`);return e.scopeValue(`keyword`,typeof r==`function`?{ref:r}:{ref:r,code:(0,t.stringify)(r)})}function d(e,t,n=!1){return!t.length||t.some(t=>t===`array`?Array.isArray(e):t===`object`?e&&typeof e==`object`&&!Array.isArray(e):typeof e==t||n&&e===void 0)}e.validSchemaType=d;function f({schema:e,opts:t,self:n,errSchemaPath:r},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw Error(`ajv implementation error`);let o=i.dependencies;if(o?.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw Error(`parent schema must have dependencies of ${a}: ${o.join(`,`)}`);if(i.validateSchema&&!i.validateSchema(e[a])){let e=`keyword "${a}" value is invalid at path "${r}": `+n.errorsText(i.validateSchema.errors);if(t.validateSchema===`log`)n.logger.error(e);else throw Error(e)}}e.validateKeywordUsage=f}}),$t=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendSubschemaMode=e.extendSubschemaData=e.getSubschema=void 0;var t=H(),n=U();function r(e,{keyword:r,schemaProp:i,schema:a,schemaPath:o,errSchemaPath:s,topSchemaRef:c}){if(r!==void 0&&a!==void 0)throw Error(`both "keyword" and "schema" passed, only one allowed`);if(r!==void 0){let a=e.schema[r];return i===void 0?{schema:a,schemaPath:(0,t._)`${e.schemaPath}${(0,t.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${r}`}:{schema:a[i],schemaPath:(0,t._)`${e.schemaPath}${(0,t.getProperty)(r)}${(0,t.getProperty)(i)}`,errSchemaPath:`${e.errSchemaPath}/${r}/${(0,n.escapeFragment)(i)}`}}if(a!==void 0){if(o===void 0||s===void 0||c===void 0)throw Error(`"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"`);return{schema:a,schemaPath:o,topSchemaRef:c,errSchemaPath:s}}throw Error(`either "keyword" or "schema" must be passed`)}e.getSubschema=r;function i(e,r,{dataProp:i,dataPropType:a,data:o,dataTypes:s,propertyName:c}){if(o!==void 0&&i!==void 0)throw Error(`both "data" and "dataProp" passed, only one allowed`);let{gen:l}=r;if(i!==void 0){let{errorPath:o,dataPathArr:s,opts:c}=r;u(l.let(`data`,(0,t._)`${r.data}${(0,t.getProperty)(i)}`,!0)),e.errorPath=(0,t.str)`${o}${(0,n.getErrorPath)(i,a,c.jsPropertySyntax)}`,e.parentDataProperty=(0,t._)`${i}`,e.dataPathArr=[...s,e.parentDataProperty]}o!==void 0&&(u(o instanceof t.Name?o:l.let(`data`,o,!0)),c!==void 0&&(e.propertyName=c)),s&&(e.dataTypes=s);function u(t){e.data=t,e.dataLevel=r.dataLevel+1,e.dataTypes=[],r.definedProperties=new Set,e.parentData=r.data,e.dataNames=[...r.dataNames,t]}}e.extendSubschemaData=i;function a(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:i,allErrors:a}){r!==void 0&&(e.compositeRule=r),i!==void 0&&(e.createErrors=i),a!==void 0&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=n}e.extendSubschemaMode=a}}),en=z({"../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(e,t){t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}}}),tn=z({"../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(e,t){var n=t.exports=function(e,t,n){typeof t==`function`&&(n=t,t={}),n=t.cb||n;var i=typeof n==`function`?n:n.pre||function(){},a=n.post||function(){};r(t,i,a,e,``,e)};n.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},n.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},n.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},n.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(e,t,a,o,s,c,l,u,d,f){if(o&&typeof o==`object`&&!Array.isArray(o)){for(var p in t(o,s,c,l,u,d,f),o){var m=o[p];if(Array.isArray(m)){if(p in n.arrayKeywords)for(var h=0;h<m.length;h++)r(e,t,a,m[h],s+`/`+p+`/`+h,c,s,p,o,h)}else if(p in n.propsKeywords){if(m&&typeof m==`object`)for(var g in m)r(e,t,a,m[g],s+`/`+p+`/`+i(g),c,s,p,o,g)}else(p in n.keywords||e.allKeys&&!(p in n.skipKeywords))&&r(e,t,a,m,s+`/`+p,c,s,p,o)}a(o,s,c,l,u,d,f)}}function i(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}}}),nn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaRefs=e.resolveUrl=e.normalizeId=e._getFullPath=e.getFullPath=e.inlineRef=void 0;var t=U(),n=en(),r=tn(),i=new Set([`type`,`format`,`pattern`,`maxLength`,`minLength`,`maxProperties`,`minProperties`,`maxItems`,`minItems`,`maximum`,`minimum`,`uniqueItems`,`multipleOf`,`required`,`enum`,`const`]);function a(e,t=!0){return typeof e==`boolean`?!0:t===!0?!s(e):t?c(e)<=t:!1}e.inlineRef=a;var o=new Set([`$ref`,`$recursiveRef`,`$recursiveAnchor`,`$dynamicRef`,`$dynamicAnchor`]);function s(e){for(let t in e){if(o.has(t))return!0;let n=e[t];if(Array.isArray(n)&&n.some(s)||typeof n==`object`&&s(n))return!0}return!1}function c(e){let n=0;for(let r in e)if(r===`$ref`||(n++,!i.has(r)&&(typeof e[r]==`object`&&(0,t.eachItem)(e[r],e=>n+=c(e)),n===1/0)))return 1/0;return n}function l(e,t=``,n){return n!==!1&&(t=f(t)),u(e,e.parse(t))}e.getFullPath=l;function u(e,t){return e.serialize(t).split(`#`)[0]+`#`}e._getFullPath=u;var d=/#\/?$/;function f(e){return e?e.replace(d,``):``}e.normalizeId=f;function p(e,t,n){return n=f(n),e.resolve(t,n)}e.resolveUrl=p;var m=/^[a-z_][-a-z0-9._]*$/i;function h(e,t){if(typeof e==`boolean`)return{};let{schemaId:i,uriResolver:a}=this.opts,o=f(e[i]||t),s={"":o},c=l(a,o,!1),u={},d=new Set;return r(e,{allKeys:!0},(e,t,n,r)=>{if(r===void 0)return;let a=c+t,o=s[r];typeof e[i]==`string`&&(o=l.call(this,e[i])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=o;function l(t){let n=this.opts.uriResolver.resolve;if(t=f(o?n(o,t):t),d.has(t))throw h(t);d.add(t);let r=this.refs[t];return typeof r==`string`&&(r=this.refs[r]),typeof r==`object`?p(e,r.schema,t):t!==f(a)&&(t[0]===`#`?(p(e,u[t],t),u[t]=e):this.refs[t]=a),t}function g(e){if(typeof e==`string`){if(!m.test(e))throw Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}}),u;function p(e,t,r){if(t!==void 0&&!n(e,t))throw h(r)}function h(e){return Error(`reference "${e}" resolves to more than one schema`)}}e.getSchemaRefs=h}}),rn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getData=e.KeywordCxt=e.validateFunctionCode=void 0;var t=qt(),n=Xt(),r=Yt(),i=Xt(),a=Zt(),o=Qt(),s=$t(),c=H(),l=W(),u=nn(),d=U(),f=Kt();function p(e){S(e)&&(w(e),x(e))?_(e):m(e,()=>(0,t.topBoolOrEmptySchema)(e))}e.validateFunctionCode=p;function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:i},a){i.code.es5?e.func(t,(0,c._)`${l.default.data}, ${l.default.valCxt}`,r.$async,()=>{e.code((0,c._)`"use strict"; ${y(n,i)}`),g(e,i),e.code(a)}):e.func(t,(0,c._)`${l.default.data}, ${h(i)}`,r.$async,()=>e.code(y(n,i)).code(a))}function h(e){return(0,c._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?(0,c._)`, ${l.default.dynamicAnchors}={}`:c.nil}}={}`}function g(e,t){e.if(l.default.valCxt,()=>{e.var(l.default.instancePath,(0,c._)`${l.default.valCxt}.${l.default.instancePath}`),e.var(l.default.parentData,(0,c._)`${l.default.valCxt}.${l.default.parentData}`),e.var(l.default.parentDataProperty,(0,c._)`${l.default.valCxt}.${l.default.parentDataProperty}`),e.var(l.default.rootData,(0,c._)`${l.default.valCxt}.${l.default.rootData}`),t.dynamicRef&&e.var(l.default.dynamicAnchors,(0,c._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{e.var(l.default.instancePath,(0,c._)`""`),e.var(l.default.parentData,(0,c._)`undefined`),e.var(l.default.parentDataProperty,(0,c._)`undefined`),e.var(l.default.rootData,l.default.data),t.dynamicRef&&e.var(l.default.dynamicAnchors,(0,c._)`{}`)})}function _(e){let{schema:t,opts:n,gen:r}=e;m(e,()=>{n.$comment&&t.$comment&&te(e),E(e),r.let(l.default.vErrors,null),r.let(l.default.errors,0),n.unevaluated&&v(e),T(e),k(e)})}function v(e){let{gen:t,validateName:n}=e;e.evaluated=t.const(`evaluated`,(0,c._)`${n}.evaluated`),t.if((0,c._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,c._)`${e.evaluated}.props`,(0,c._)`undefined`)),t.if((0,c._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,c._)`${e.evaluated}.items`,(0,c._)`undefined`))}function y(e,t){let n=typeof e==`object`&&e[t.schemaId];return n&&(t.code.source||t.code.process)?(0,c._)`/*# sourceURL=${n} */`:c.nil}function b(e,n){S(e)&&(w(e),x(e))?C(e,n):(0,t.boolOrEmptySchema)(e,n)}function x({schema:e,self:t}){if(typeof e==`boolean`)return!e;for(let n in e)if(t.RULES.all[n])return!0;return!1}function S(e){return typeof e.schema!=`boolean`}function C(e,t){let{schema:n,gen:r,opts:i}=e;i.$comment&&n.$comment&&te(e),D(e),O(e);let a=r.const(`_errs`,l.default.errors);T(e,a),r.var(t,(0,c._)`${a} === ${l.default.errors}`)}function w(e){(0,d.checkUnknownRules)(e),ee(e)}function T(e,t){if(e.opts.jtd)return re(e,[],!1,t);let r=(0,n.getSchemaTypes)(e.schema);re(e,r,!(0,n.coerceAndCheckDataType)(e,r),t)}function ee(e){let{schema:t,errSchemaPath:n,opts:r,self:i}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,d.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function E(e){let{schema:t,opts:n}=e;t.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,d.checkStrictMode)(e,`default is ignored in the schema root`)}function D(e){let t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,u.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function O(e){if(e.schema.$async&&!e.schemaEnv.$async)throw Error(`async schema in sync schema`)}function te({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:i}){let a=n.$comment;if(i.$comment===!0)e.code((0,c._)`${l.default.self}.logger.log(${a})`);else if(typeof i.$comment==`function`){let n=(0,c.str)`${r}/$comment`,i=e.scopeValue(`root`,{ref:t.root});e.code((0,c._)`${l.default.self}.opts.$comment(${a}, ${n}, ${i}.schema)`)}}function k(e){let{gen:t,schemaEnv:n,validateName:r,ValidationError:i,opts:a}=e;n.$async?t.if((0,c._)`${l.default.errors} === 0`,()=>t.return(l.default.data),()=>t.throw((0,c._)`new ${i}(${l.default.vErrors})`)):(t.assign((0,c._)`${r}.errors`,l.default.vErrors),a.unevaluated&&ne(e),t.return((0,c._)`${l.default.errors} === 0`))}function ne({gen:e,evaluated:t,props:n,items:r}){n instanceof c.Name&&e.assign((0,c._)`${t}.props`,n),r instanceof c.Name&&e.assign((0,c._)`${t}.items`,r)}function re(e,t,n,a){let{gen:o,schema:s,data:u,allErrors:f,opts:p,self:m}=e,{RULES:h}=m;if(s.$ref&&(p.ignoreKeywordsWithRef||!(0,d.schemaHasRulesButRef)(s,h))){o.block(()=>ue(e,`$ref`,h.all.$ref.definition));return}p.jtd||j(e,t),o.block(()=>{for(let e of h.rules)g(e);g(h.post)});function g(d){(0,r.shouldUseGroup)(s,d)&&(d.type?(o.if((0,i.checkDataType)(d.type,u,p.strictNumbers)),A(e,d),t.length===1&&t[0]===d.type&&n&&(o.else(),(0,i.reportTypeError)(e)),o.endIf()):A(e,d),f||o.if((0,c._)`${l.default.errors} === ${a||0}`))}}function A(e,t){let{gen:n,schema:i,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block(()=>{for(let n of t.rules)(0,r.shouldUseRule)(i,n)&&ue(e,n.keyword,n.definition,t.type)})}function j(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(M(e,t),e.opts.allowUnionTypes||ie(e,t),ae(e,e.dataTypes))}function M(e,t){t.length&&(e.dataTypes.length?(t.forEach(t=>{se(e.dataTypes,t)||le(e,`type "${t}" not allowed by context "${e.dataTypes.join(`,`)}"`)}),ce(e,t)):e.dataTypes=t)}function ie(e,t){t.length>1&&!(t.length===2&&t.includes(`null`))&&le(e,`use allowUnionTypes to allow union type keyword`)}function ae(e,t){let n=e.self.RULES.all;for(let i in n){let a=n[i];if(typeof a==`object`&&(0,r.shouldUseRule)(e.schema,a)){let{type:n}=a.definition;n.length&&!n.some(e=>oe(t,e))&&le(e,`missing type "${n.join(`,`)}" for keyword "${i}"`)}}}function oe(e,t){return e.includes(t)||t===`number`&&e.includes(`integer`)}function se(e,t){return e.includes(t)||t===`integer`&&e.includes(`number`)}function ce(e,t){let n=[];for(let r of e.dataTypes)se(t,r)?n.push(r):t.includes(`integer`)&&r===`number`&&n.push(`integer`);e.dataTypes=n}function le(e,t){let n=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${n}" (strictTypes)`,(0,d.checkStrictMode)(e,t,e.opts.strictTypes)}var N=class{constructor(e,t,n){if((0,o.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,d.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const(`vSchema`,pe(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,o.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);(`code`in t?t.trackErrors:t.errors!==!1)&&(this.errsCount=e.gen.const(`_errs`,l.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){e===void 0?(this.error(),this.allErrors||this.gen.if(!1)):(this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else())}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail((0,c._)`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){t?(this.setParams(t),this._error(e,n),this.setParams({})):this._error(e,n)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error(`add "trackErrors" to keyword definition`);(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=c.nil,t=c.nil){if(!this.$data)return;let{gen:n,schemaCode:r,schemaType:i,def:a}=this;n.if((0,c.or)((0,c._)`${r} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(i.length||a.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:n,def:r,it:a}=this;return(0,c.or)(o(),s());function o(){if(n.length){if(!(t instanceof c.Name))throw Error(`ajv implementation error`);let e=Array.isArray(n)?n:[n];return(0,c._)`${(0,i.checkDataTypes)(e,t,a.opts.strictNumbers,i.DataType.Wrong)}`}return c.nil}function s(){if(r.validateSchema){let n=e.scopeValue(`validate$data`,{ref:r.validateSchema});return(0,c._)`!${n}(${t})`}return c.nil}}subschema(e,t){let n=(0,s.getSubschema)(this.it,e);(0,s.extendSubschemaData)(n,this.it,e),(0,s.extendSubschemaMode)(n,e);let r={...this.it,...n,items:void 0,props:void 0};return b(r,t),r}mergeEvaluated(e,t){let{it:n,gen:r}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=d.mergeEvaluated.props(r,e.props,n.props,t)),n.items!==!0&&e.items!==void 0&&(n.items=d.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){let{it:n,gen:r}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return r.if(t,()=>this.mergeEvaluated(e,c.Name)),!0}};e.KeywordCxt=N;function ue(e,t,n,r){let i=new N(e,n,t);`code`in n?n.code(i,r):i.$data&&n.validate?(0,o.funcKeywordCode)(i,n):`macro`in n?(0,o.macroKeywordCode)(i,n):(n.compile||n.validate)&&(0,o.funcKeywordCode)(i,n)}var de=/^\/(?:[^~]|~0|~1)*$/,fe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function pe(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let i,a;if(e===``)return l.default.rootData;if(e[0]===`/`){if(!de.test(e))throw Error(`Invalid JSON-pointer: ${e}`);i=e,a=l.default.rootData}else{let o=fe.exec(e);if(!o)throw Error(`Invalid JSON-pointer: ${e}`);let s=+o[1];if(i=o[2],i===`#`){if(s>=t)throw Error(u(`property/index`,s));return r[t-s]}if(s>t)throw Error(u(`data`,s));if(a=n[t-s],!i)return a}let o=a,s=i.split(`/`);for(let e of s)e&&(a=(0,c._)`${a}${(0,c.getProperty)((0,d.unescapeJsonPointer)(e))}`,o=(0,c._)`${o} && ${a}`);return o;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}e.getData=pe}}),an=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=class extends Error{constructor(e){super(`validation failed`),this.errors=e,this.ajv=this.validation=!0}}}}),on=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nn();e.default=class extends Error{constructor(e,n,r,i){super(i||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,t.resolveUrl)(e,n,r),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(e,this.missingRef))}}}}),sn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.resolveSchema=e.getCompilingSchema=e.resolveRef=e.compileSchema=e.SchemaEnv=void 0;var t=H(),n=an(),r=W(),i=nn(),a=U(),o=rn(),s=class{constructor(e){this.refs={},this.dynamicAnchors={};let t;typeof e.schema==`object`&&(t=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=e.baseId??(0,i.normalizeId)(t?.[e.schemaId||`$id`]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=t?.$async,this.refs={}}};e.SchemaEnv=s;function c(e){let a=d.call(this,e);if(a)return a;let s=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:c,lines:l}=this.opts.code,{ownProperties:u}=this.opts,f=new t.CodeGen(this.scope,{es5:c,lines:l,ownProperties:u}),p;e.$async&&(p=f.scopeValue(`Error`,{ref:n.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));let m=f.scopeName(`validate`);e.validateName=m;let h={gen:f,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue(`schema`,this.opts.code.source===!0?{ref:e.schema,code:(0,t.stringify)(e.schema)}:{ref:e.schema}),validateName:m,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:s,baseId:e.baseId||s,schemaPath:t.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?``:`#`),errorPath:(0,t._)`""`,opts:this.opts,self:this},g;try{this._compilations.add(e),(0,o.validateFunctionCode)(h),f.optimize(this.opts.code.optimize);let n=f.toString();g=`${f.scopeRefs(r.default.scope)}return ${n}`,this.opts.code.process&&(g=this.opts.code.process(g,e));let i=Function(`${r.default.self}`,`${r.default.scope}`,g)(this,this.scope.get());if(this.scope.value(m,{ref:i}),i.errors=null,i.schema=e.schema,i.schemaEnv=e,e.$async&&(i.$async=!0),this.opts.code.source===!0&&(i.source={validateName:m,validateCode:n,scopeValues:f._values}),this.opts.unevaluated){let{props:e,items:n}=h;i.evaluated={props:e instanceof t.Name?void 0:e,items:n instanceof t.Name?void 0:n,dynamicProps:e instanceof t.Name,dynamicItems:n instanceof t.Name},i.source&&(i.source.evaluated=(0,t.stringify)(i.evaluated))}return e.validate=i,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error(`Error compiling schema, function code:`,g),t}finally{this._compilations.delete(e)}}e.compileSchema=c;function l(e,t,n){n=(0,i.resolveUrl)(this.opts.uriResolver,t,n);let r=e.refs[n];if(r)return r;let a=p.call(this,e,n);if(a===void 0){let r=e.localRefs?.[n],{schemaId:i}=this.opts;r&&(a=new s({schema:r,schemaId:i,root:e,baseId:t}))}if(a!==void 0)return e.refs[n]=u.call(this,a)}e.resolveRef=l;function u(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function d(e){for(let t of this._compilations)if(f(t,e))return t}e.getCompilingSchema=d;function f(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function p(e,t){let n;for(;typeof(n=this.refs[t])==`string`;)t=n;return n||this.schemas[t]||m.call(this,e,t)}function m(e,t){let n=this.opts.uriResolver.parse(t),r=(0,i._getFullPath)(this.opts.uriResolver,n),a=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===a)return g.call(this,n,e);let o=(0,i.normalizeId)(r),l=this.refs[o]||this.schemas[o];if(typeof l==`string`){let t=m.call(this,e,l);return typeof t?.schema==`object`?g.call(this,n,t):void 0}if(typeof l?.schema==`object`){if(l.validate||c.call(this,l),o===(0,i.normalizeId)(t)){let{schema:t}=l,{schemaId:n}=this.opts,r=t[n];return r&&(a=(0,i.resolveUrl)(this.opts.uriResolver,a,r)),new s({schema:t,schemaId:n,root:e,baseId:a})}return g.call(this,n,l)}}e.resolveSchema=m;var h=new Set([`properties`,`patternProperties`,`enum`,`dependencies`,`definitions`]);function g(e,{baseId:t,schema:n,root:r}){if(e.fragment?.[0]!==`/`)return;for(let r of e.fragment.slice(1).split(`/`)){if(typeof n==`boolean`)return;let e=n[(0,a.unescapeFragment)(r)];if(e===void 0)return;n=e;let o=typeof n==`object`&&n[this.opts.schemaId];!h.has(r)&&o&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,o))}let o;if(typeof n!=`boolean`&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){let e=(0,i.resolveUrl)(this.opts.uriResolver,t,n.$ref);o=m.call(this,r,e)}let{schemaId:c}=this.opts;if(o||=new s({schema:n,schemaId:c,root:r,baseId:t}),o.schema!==o.root.schema)return o}}}),cn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(e,t){t.exports={$id:`https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#`,description:`Meta-schema for $data reference (JSON AnySchema extension proposal)`,type:`object`,required:[`$data`],properties:{$data:{type:`string`,anyOf:[{format:`relative-json-pointer`},{format:`json-pointer`}]}},additionalProperties:!1}}}),ln=z({"../../node_modules/.pnpm/fast-uri@3.1.3/node_modules/fast-uri/lib/utils.js"(e,t){var n=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),r=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),i=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),a=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),o=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function s(e){let t=``,n=0,r=0;for(r=0;r<e.length;r++)if(n=e[r].charCodeAt(0),n!==48){if(!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return``;t+=e[r];break}for(r+=1;r<e.length;r++){if(n=e[r].charCodeAt(0),!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return``;t+=e[r]}return t}var c=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function l(e){return e.length=0,!0}function u(e,t,n){if(e.length){let r=s(e);if(r!==``)t.push(r);else return n.error=!0,!1;e.length=0}return!0}function d(e){let t=0,n={error:!1,address:``,zone:``},r=[],i=[],a=!1,o=!1,c=u;for(let s=0;s<e.length;s++){let u=e[s];if(u!==`[`&&u!==`]`){if(u===`:`){if(a===!0&&(o=!0),!c(i,r,n))break;if(++t>7){n.error=!0;break}s>0&&e[s-1]===`:`&&(a=!0),r.push(`:`)}else if(u===`%`){if(!c(i,r,n))break;c=l}else{i.push(u);continue}}}return i.length&&(c===l?n.zone=i.join(``):o?r.push(i.join(``)):r.push(s(i))),n.address=r.join(``),n}function f(e){if(p(e,`:`)<2)return{host:e,isIPV6:!1};let t=d(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,n=t.address;return t.zone&&(e+=`%`+t.zone,n+=`%25`+t.zone),{host:e,isIPV6:!0,escapedHost:n}}}function p(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}function m(e){let t=e,n=[],r=-1,i=0;for(;i=t.length;){if(i===1){if(t===`.`)break;if(t===`/`){n.push(`/`);break}n.push(t);break}if(i===2){if(t[0]===`.`){if(t[1]===`.`)break;if(t[1]===`/`){t=t.slice(2);continue}}else if(t[0]===`/`&&(t[1]===`.`||t[1]===`/`)){n.push(`/`);break}}else if(i===3&&t===`/..`){n.length!==0&&n.pop(),n.push(`/`);break}if(t[0]===`.`){if(t[1]===`.`){if(t[2]===`/`){t=t.slice(3);continue}}else if(t[1]===`/`){t=t.slice(2);continue}}else if(t[0]===`/`&&t[1]===`.`){if(t[2]===`/`){t=t.slice(2);continue}if(t[2]===`.`&&t[3]===`/`){t=t.slice(3),n.length!==0&&n.pop();continue}}if((r=t.indexOf(`/`,1))===-1){n.push(t);break}n.push(t.slice(0,r)),t=t.slice(r)}return n.join(``)}var h={"@":`%40`,"/":`%2F`,"?":`%3F`,"#":`%23`,":":`%3A`},g=/[@/?#:]/g,_=/[@/?#]/g;function v(e,t){let n=t?_:g;return n.lastIndex=0,e.replace(n,e=>h[e])}function y(e,t=!1){if(e.indexOf(`%`)===-1)return e;let n=``;for(let r=0;r<e.length;r++){if(e[r]===`%`&&r+2<e.length){let o=e.slice(r+1,r+3);if(i(o)){let e=o.toUpperCase(),i=String.fromCharCode(parseInt(e,16));t&&a(i)?n+=i:n+=`%`+e,r+=2;continue}}n+=e[r]}return n}function b(e){let t=``;for(let n=0;n<e.length;n++){if(e[n]===`%`&&n+2<e.length){let r=e.slice(n+1,n+3);if(i(r)){let e=r.toUpperCase(),i=String.fromCharCode(parseInt(e,16));i!==`.`&&a(i)?t+=i:t+=`%`+e,n+=2;continue}}o(e[n])?t+=e[n]:t+=escape(e[n])}return t}function x(e){let t=``;for(let n=0;n<e.length;n++){if(e[n]===`%`&&n+2<e.length){let r=e.slice(n+1,n+3);if(i(r)){t+=`%`+r.toUpperCase(),n+=2;continue}}t+=escape(e[n])}return t}function S(e){let t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push(`@`)),e.host!==void 0){let n=unescape(e.host);if(!r(n)){let e=f(n);n=e.isIPV6===!0?`[${e.escapedHost}]`:v(n,!1)}t.push(n)}return(typeof e.port==`number`||typeof e.port==`string`)&&(t.push(`:`),t.push(String(e.port))),t.length?t.join(``):void 0}t.exports={nonSimpleDomain:c,recomposeAuthority:S,reescapeHostDelimiters:v,normalizePercentEncoding:y,normalizePathEncoding:b,escapePreservingEscapes:x,removeDotSegments:m,isIPv4:r,isUUID:n,normalizeIPv6:f,stringArrayToHexStripped:s}}}),un=z({"../../node_modules/.pnpm/fast-uri@3.1.3/node_modules/fast-uri/lib/schemes.js"(e,t){var{isUUID:n}=ln(),r=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,i=[`http`,`https`,`ws`,`wss`,`urn`,`urn:uuid`];function a(e){return i.indexOf(e)!==-1}function o(e){return e.secure===!0?!0:e.secure===!1?!1:e.scheme?e.scheme.length===3&&(e.scheme[0]===`w`||e.scheme[0]===`W`)&&(e.scheme[1]===`s`||e.scheme[1]===`S`)&&(e.scheme[2]===`s`||e.scheme[2]===`S`):!1}function s(e){return e.host||(e.error=e.error||`HTTP URIs must have a host.`),e}function c(e){let t=String(e.scheme).toLowerCase()===`https`;return(e.port===(t?443:80)||e.port===``)&&(e.port=void 0),e.path||=`/`,e}function l(e){return e.secure=o(e),e.resourceName=(e.path||`/`)+(e.query?`?`+e.query:``),e.path=void 0,e.query=void 0,e}function u(e){if((e.port===(o(e)?443:80)||e.port===``)&&(e.port=void 0),typeof e.secure==`boolean`&&(e.scheme=e.secure?`wss`:`ws`,e.secure=void 0),e.resourceName){let[t,n]=e.resourceName.split(`?`);e.path=t&&t!==`/`?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}function d(e,t){if(!e.path)return e.error=`URN can not be parsed`,e;let n=e.path.match(r);if(n){let r=t.scheme||e.scheme||`urn`;e.nid=n[1].toLowerCase(),e.nss=n[2];let i=y(`${r}:${t.nid||e.nid}`);e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||`URN can not be parsed.`;return e}function f(e,t){if(e.nid===void 0)throw Error(`URN without nid cannot be serialized`);let n=t.scheme||e.scheme||`urn`,r=e.nid.toLowerCase(),i=y(`${n}:${t.nid||r}`);i&&(e=i.serialize(e,t));let a=e,o=e.nss;return a.path=`${r||t.nid}:${o}`,t.skipEscape=!0,a}function p(e,t){let r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!n(r.uuid))&&(r.error=r.error||`UUID is not valid.`),r}function m(e){let t=e;return t.nss=(e.uuid||``).toLowerCase(),t}var h={scheme:`http`,domainHost:!0,parse:s,serialize:c},g={scheme:`https`,domainHost:h.domainHost,parse:s,serialize:c},_={scheme:`ws`,domainHost:!0,parse:l,serialize:u},v={http:h,https:g,ws:_,wss:{scheme:`wss`,domainHost:_.domainHost,parse:_.parse,serialize:_.serialize},urn:{scheme:`urn`,parse:d,serialize:f,skipNormalize:!0},"urn:uuid":{scheme:`urn:uuid`,parse:p,serialize:m,skipNormalize:!0}};Object.setPrototypeOf(v,null);function y(e){return e&&(v[e]||v[e.toLowerCase()])||void 0}t.exports={wsIsSecure:o,SCHEMES:v,isValidSchemeName:a,getSchemeHandler:y}}}),dn=z({"../../node_modules/.pnpm/fast-uri@3.1.3/node_modules/fast-uri/index.js"(e,t){var{normalizeIPv6:n,removeDotSegments:r,recomposeAuthority:i,normalizePercentEncoding:a,normalizePathEncoding:o,escapePreservingEscapes:s,reescapeHostDelimiters:c,isIPv4:l,nonSimpleDomain:u}=ln(),{SCHEMES:d,getSchemeHandler:f}=un();function p(e,t){return typeof e==`string`?e=S(e,t):typeof e==`object`&&(e=x(_(e,t),t)),e}function m(e,t,n){let r=n?Object.assign({scheme:`null`},n):{scheme:`null`},i=h(x(e,r),x(t,r),r,!0);return r.skipEscape=!0,_(i,r)}function h(e,t,n,i){let a={};return i||(e=x(_(e,n),n),t=x(_(t,n),n)),n||={},!n.tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=r(t.path||``),a.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=r(t.path||``),a.query=t.query):(t.path?(t.path[0]===`/`?a.path=r(t.path):(a.path=(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?`/`+t.path:e.path?e.path.slice(0,e.path.lastIndexOf(`/`)+1)+t.path:t.path,a.path=r(a.path)),a.query=t.query):(a.path=e.path,a.query=t.query===void 0?e.query:t.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function g(e,t,n){let r=w(e,n),i=w(t,n);return r!==void 0&&i!==void 0&&r.toLowerCase()===i.toLowerCase()}function _(e,t){let n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:``},o=Object.assign({},t),c=[],l=f(o.scheme||n.scheme);l&&l.serialize&&l.serialize(n,o),n.path!==void 0&&(o.skipEscape?n.path=a(n.path):(n.path=s(n.path),n.scheme!==void 0&&(n.path=n.path.split(`%3A`).join(`:`)))),o.reference!==`suffix`&&n.scheme&&c.push(n.scheme,`:`);let u=i(n);if(u!==void 0&&(o.reference!==`suffix`&&c.push(`//`),c.push(u),n.path&&n.path[0]!==`/`&&c.push(`/`)),n.path!==void 0){let e=n.path;!o.absolutePath&&(!l||!l.absolutePath)&&(e=r(e)),u===void 0&&e[0]===`/`&&e[1]===`/`&&(e=`/%2F`+e.slice(2)),c.push(e)}return n.query!==void 0&&c.push(`?`,n.query),n.fragment!==void 0&&c.push(`#`,n.fragment),c.join(``)}var v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function y(e,t){if(t[2]!==void 0&&e.path&&e.path[0]!==`/`)return`URI path must start with "/" when authority is present.`;if(typeof e.port==`number`&&(e.port<0||e.port>65535))return`URI port is malformed.`}function b(e,t){let r=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:``,port:void 0,path:``,query:void 0,fragment:void 0},a=!1,s=!1;r.reference===`suffix`&&(e=r.scheme?r.scheme+`:`+e:`//`+e);let d=e.match(v);if(d){i.scheme=d[1],i.userinfo=d[3],i.host=d[4],i.port=parseInt(d[5],10),i.path=d[6]||``,i.query=d[7],i.fragment=d[8],isNaN(i.port)&&(i.port=d[5]);let t=y(i,d);if(t!==void 0&&(i.error=i.error||t,a=!0),i.host){if(l(i.host)===!1){let e=n(i.host);i.host=e.host.toLowerCase(),s=e.isIPV6}else s=!0}i.reference=i.scheme===void 0&&i.userinfo===void 0&&i.host===void 0&&i.port===void 0&&i.query===void 0&&!i.path?`same-document`:i.scheme===void 0?`relative`:i.fragment===void 0?`absolute`:`uri`,r.reference&&r.reference!==`suffix`&&r.reference!==i.reference&&(i.error=i.error||`URI is not a `+r.reference+` reference.`);let p=f(r.scheme||i.scheme);if(!r.unicodeSupport&&(!p||!p.unicodeSupport)&&i.host&&(r.domainHost||p&&p.domainHost)&&s===!1&&u(i.host))try{i.host=new URL(`http://`+i.host).hostname}catch(e){i.error=i.error||`Host's domain name can not be converted to ASCII: `+e}if((!p||p&&!p.skipNormalize)&&(e.indexOf(`%`)!==-1&&(i.scheme!==void 0&&(i.scheme=unescape(i.scheme)),i.host!==void 0&&(i.host=c(unescape(i.host),s))),i.path&&=o(i.path),i.fragment))try{i.fragment=encodeURI(decodeURIComponent(i.fragment))}catch{i.error=i.error||`URI malformed`}p&&p.parse&&p.parse(i,r)}else i.error=i.error||`URI can not be parsed.`;return{parsed:i,malformedAuthorityOrPort:a}}function x(e,t){return b(e,t).parsed}function S(e,t){return C(e,t).normalized}function C(e,t){let{parsed:n,malformedAuthorityOrPort:r}=b(e,t);return{normalized:r?e:_(n,t),malformedAuthorityOrPort:r}}function w(e,t){if(typeof e==`string`){let{normalized:n,malformedAuthorityOrPort:r}=C(e,t);return r?void 0:n}if(typeof e==`object`)return _(e,t)}var T={SCHEMES:d,normalize:p,resolve:m,resolveComponent:h,equal:g,serialize:_,parse:x};t.exports=T,t.exports.default=T,t.exports.fastUri=T}}),fn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=dn();t.code=`require("ajv/dist/runtime/uri").default`,e.default=t}}),pn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=rn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=H();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});var r=an(),i=on(),a=Jt(),o=sn(),s=H(),c=nn(),l=Xt(),u=U(),d=cn(),f=fn(),p=(e,t)=>new RegExp(e,t);p.code=`new RegExp`;var m=[`removeAdditional`,`useDefaults`,`coerceTypes`],h=new Set([`validate`,`serialize`,`parse`,`wrapper`,`root`,`schema`,`keyword`,`pattern`,`formats`,`validate$data`,`func`,`obj`,`Error`]),g={errorDataPath:``,format:"`validateFormats: false` can be used instead.",nullable:`"nullable" keyword is supported by default.`,jsonPointers:`Deprecated jsPropertySyntax can be used instead.`,extendRefs:`Deprecated ignoreKeywordsWithRef can be used instead.`,missingRefs:`Pass empty schema with $id that should be ignored to ajv.addSchema.`,processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:`"uniqueItems" keyword is always validated.`,unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:`Map is used as cache, schema object as key.`,serialize:`Map is used as cache, schema object as key.`,ajvErrors:`It is default now.`},_={ignoreKeywordsWithRef:``,jsPropertySyntax:``,unicode:`"minLength"/"maxLength" account for unicode characters by default.`},v=200;function y(e){let t=e.strict,n=e.code?.optimize,r=n===!0||n===void 0?1:n||0,i=e.code?.regExp??p,a=e.uriResolver??f.default;return{strictSchema:e.strictSchema??t??!0,strictNumbers:e.strictNumbers??t??!0,strictTypes:e.strictTypes??t??`log`,strictTuples:e.strictTuples??t??`log`,strictRequired:e.strictRequired??t??!1,code:e.code?{...e.code,optimize:r,regExp:i}:{optimize:r,regExp:i},loopRequired:e.loopRequired??v,loopEnum:e.loopEnum??v,meta:e.meta??!0,messages:e.messages??!0,inlineRefs:e.inlineRefs??!0,schemaId:e.schemaId??`$id`,addUsedSchema:e.addUsedSchema??!0,validateSchema:e.validateSchema??!0,validateFormats:e.validateFormats??!0,unicodeRegExp:e.unicodeRegExp??!0,int32range:e.int32range??!0,uriResolver:a}}var b=class{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...y(e)};let{es5:t,lines:n}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:h,es5:t,lines:n}),this.logger=D(e.logger);let r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),x.call(this,g,e,`NOT SUPPORTED`),x.call(this,_,e,`DEPRECATED`,`warn`),this._metaOpts=ee.call(this),e.formats&&w.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&T.call(this,e.keywords),typeof e.meta==`object`&&this.addMetaSchema(e.meta),C.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword(`$async`)}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:n}=this.opts,r=d;n===`id`&&(r={...d},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e==`object`?e[t]||e:void 0}validate(e,t){let n;if(typeof e==`string`){if(n=this.getSchema(e),!n)throw Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let r=n(t);return`$async`in n||(this.errors=n.errors),r}compile(e,t){let n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if(typeof this.opts.loadSchema!=`function`)throw Error(`options.loadSchema should be a function`);let{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await a.call(this,e.$schema);let n=this._addSchema(e,t);return n.validate||o.call(this,n)}async function a(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;return s.call(this,t),await c.call(this,t.missingSchema),o.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){let n=await l.call(this,e);this.refs[e]||await a.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){let t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(let t of e)this.addSchema(t,void 0,n,r);return this}let i;if(typeof e==`object`){let{schemaId:t}=this.opts;if(i=e[t],i!==void 0&&typeof i!=`string`)throw Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if(typeof e==`boolean`)return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!=`string`)throw Error(`$schema must be a string`);if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn(`meta-schema not available`),this.errors=null,!0;let r=this.validate(n,e);if(!r&&t){let e=`schema is invalid: `+this.errorsText();if(this.opts.validateSchema===`log`)this.logger.error(e);else throw Error(e)}return r}getSchema(e){let t;for(;typeof(t=S.call(this,e))==`string`;)e=t;if(t===void 0){let{schemaId:n}=this.opts,r=new o.SchemaEnv({schema:{},schemaId:n});if(t=o.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case`undefined`:return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case`string`:{let t=S.call(this,e);return typeof t==`object`&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case`object`:{let t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw Error(`ajv.removeSchema: invalid parameter`)}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if(typeof e==`string`)n=e,typeof t==`object`&&(this.logger.warn(`these parameters are deprecated, see docs for addKeyword`),t.keyword=n);else if(typeof e==`object`&&t===void 0){if(t=e,n=t.keyword,Array.isArray(n)&&!n.length)throw Error(`addKeywords: keyword must be string or non-empty array`)}else throw Error(`invalid addKeywords parameters`);if(te.call(this,n,t),!t)return(0,u.eachItem)(n,e=>k.call(this,e)),this;re.call(this,t);let r={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,u.eachItem)(n,r.type.length===0?e=>k.call(this,e,r):e=>r.type.forEach(t=>k.call(this,e,r,t))),this}getKeyword(e){let t=this.RULES.all[e];return typeof t==`object`?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(let n of t.rules){let t=n.rules.findIndex(t=>t.keyword===e);t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return typeof t==`string`&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=`, `,dataVar:n=`data`}={}){return!e||e.length===0?`No errors`:e.map(e=>`${n}${e.instancePath} ${e.message}`).reduce((e,n)=>e+t+n)}$dataMetaSchema(e,t){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let r of t){let t=r.split(`/`).slice(1),i=e;for(let e of t)i=i[e];for(let e in n){let t=n[e];if(typeof t!=`object`)continue;let{$data:r}=t.definition,a=i[e];r&&a&&(i[e]=j(a))}}return e}_removeAllSchemas(e,t){for(let n in e){let r=e[n];(!t||t.test(n))&&(typeof r==`string`?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,i=this.opts.addUsedSchema){let a,{schemaId:s}=this.opts;if(typeof e==`object`)a=e[s];else if(this.opts.jtd)throw Error(`schema must be object`);else if(typeof e!=`boolean`)throw Error(`schema must be object or boolean`);let l=this._cache.get(e);if(l!==void 0)return l;n=(0,c.normalizeId)(a||n);let u=c.getSchemaRefs.call(this,e,n);return l=new o.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:u}),this._cache.set(l.schema,l),i&&!n.startsWith(`#`)&&(n&&this._checkUnique(n),this.refs[n]=l),r&&this.validateSchema(e,!0),l}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):o.compileSchema.call(this,e),!e.validate)throw Error(`ajv implementation error`);return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,e)}finally{this.opts=t}}};b.ValidationError=r.default,b.MissingRefError=i.default,e.default=b;function x(e,t,n,r=`error`){for(let i in e){let a=i;a in t&&this.logger[r](`${n}: option ${i}. ${e[a]}`)}}function S(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function C(){let e=this.opts.schemas;if(e){if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}}function w(){for(let e in this.opts.formats){let t=this.opts.formats[e];t&&this.addFormat(e,t)}}function T(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn(`keywords option as map is deprecated, pass array`);for(let t in e){let n=e[t];n.keyword||=t,this.addKeyword(n)}}}function ee(){let e={...this.opts};for(let t of m)delete e[t];return e}var E={log(){},warn(){},error(){}};function D(e){if(e===!1)return E;if(e===void 0)return console;if(e.log&&e.warn&&e.error)return e;throw Error(`logger must implement log, warn and error methods`)}var O=/^[a-z_$][a-z0-9_$:-]*$/i;function te(e,t){let{RULES:n}=this;if((0,u.eachItem)(e,e=>{if(n.keywords[e])throw Error(`Keyword ${e} is already defined`);if(!O.test(e))throw Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!(`code`in t||`validate`in t))throw Error(`$data keyword must have "code" or "validate" function`)}function k(e,t,n){var r;let i=t?.post;if(n&&i)throw Error(`keyword with "post" flag cannot have "type"`);let{RULES:a}=this,o=i?a.post:a.rules.find(({type:e})=>e===n);if(o||(o={type:n,rules:[]},a.rules.push(o)),a.keywords[e]=!0,!t)return;let s={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?ne.call(this,o,s,t.before):o.rules.push(s),a.all[e]=s,(r=t.implements)==null||r.forEach(e=>this.addKeyword(e))}function ne(e,t,n){let r=e.rules.findIndex(e=>e.keyword===n);r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function re(e){let{metaSchema:t}=e;t!==void 0&&(e.$data&&this.opts.$data&&(t=j(t)),e.validateSchema=this.compile(t,!0))}var A={$ref:`https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#`};function j(e){return{anyOf:[e,A]}}}}),mn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={keyword:`id`,code(){throw Error(`NOT SUPPORTED: keyword "id", use "$id" for schema ID`)}}}}),hn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.callRef=e.getValidate=void 0;var t=on(),n=G(),r=H(),i=W(),a=sn(),o=U(),s={keyword:`$ref`,schemaType:`string`,code(e){let{gen:n,schema:i,it:o}=e,{baseId:s,schemaEnv:u,validateName:d,opts:f,self:p}=o,{root:m}=u;if((i===`#`||i===`#/`)&&s===m.baseId)return g();let h=a.resolveRef.call(p,m,s,i);if(h===void 0)throw new t.default(o.opts.uriResolver,s,i);return h instanceof a.SchemaEnv?_(h):v(h);function g(){if(u===m)return l(e,d,u,u.$async);let t=n.scopeValue(`root`,{ref:m});return l(e,(0,r._)`${t}.validate`,m,m.$async)}function _(t){l(e,c(e,t),t,t.$async)}function v(t){let a=n.scopeValue(`schema`,f.code.source===!0?{ref:t,code:(0,r.stringify)(t)}:{ref:t}),o=n.name(`valid`),s=e.subschema({schema:t,dataTypes:[],schemaPath:r.nil,topSchemaRef:a,errSchemaPath:i},o);e.mergeEvaluated(s),e.ok(o)}}};function c(e,t){let{gen:n}=e;return t.validate?n.scopeValue(`validate`,{ref:t.validate}):(0,r._)`${n.scopeValue(`wrapper`,{ref:t})}.validate`}e.getValidate=c;function l(e,t,a,s){let{gen:c,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,p=f.passContext?i.default.this:r.nil;s?m():h();function m(){if(!d.$async)throw Error(`async schema referenced by sync schema`);let i=c.let(`valid`);c.try(()=>{c.code((0,r._)`await ${(0,n.callValidateCode)(e,t,p)}`),_(t),u||c.assign(i,!0)},e=>{c.if((0,r._)`!(${e} instanceof ${l.ValidationError})`,()=>c.throw(e)),g(e),u||c.assign(i,!1)}),e.ok(i)}function h(){e.result((0,n.callValidateCode)(e,t,p),()=>_(t),()=>g(t))}function g(e){let t=(0,r._)`${e}.errors`;c.assign(i.default.vErrors,(0,r._)`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`),c.assign(i.default.errors,(0,r._)`${i.default.vErrors}.length`)}function _(e){if(!l.opts.unevaluated)return;let t=a?.validate?.evaluated;if(l.props!==!0){if(t&&!t.dynamicProps)t.props!==void 0&&(l.props=o.mergeEvaluated.props(c,t.props,l.props));else{let t=c.var(`props`,(0,r._)`${e}.evaluated.props`);l.props=o.mergeEvaluated.props(c,t,l.props,r.Name)}}if(l.items!==!0){if(t&&!t.dynamicItems)t.items!==void 0&&(l.items=o.mergeEvaluated.items(c,t.items,l.items));else{let t=c.var(`items`,(0,r._)`${e}.evaluated.items`);l.items=o.mergeEvaluated.items(c,t,l.items,r.Name)}}}}e.callRef=l,e.default=s}}),gn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=mn(),n=hn();e.default=[`$schema`,`$id`,`$defs`,`$vocabulary`,{keyword:`$comment`},`definitions`,t.default,n.default]}}),_n=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=t.operators,r={maximum:{okStr:`<=`,ok:n.LTE,fail:n.GT},minimum:{okStr:`>=`,ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:`<`,ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:`>`,ok:n.GT,fail:n.LTE}};e.default={keyword:Object.keys(r),type:`number`,schemaType:`number`,$data:!0,error:{message:({keyword:e,schemaCode:n})=>(0,t.str)`must be ${r[e].okStr} ${n}`,params:({keyword:e,schemaCode:n})=>(0,t._)`{comparison: ${r[e].okStr}, limit: ${n}}`},code(e){let{keyword:n,data:i,schemaCode:a}=e;e.fail$data((0,t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`)}}}}),vn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.default={keyword:`multipleOf`,type:`number`,schemaType:`number`,$data:!0,error:{message:({schemaCode:e})=>(0,t.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,t._)`{multipleOf: ${e}}`},code(e){let{gen:n,data:r,schemaCode:i,it:a}=e,o=a.opts.multipleOfPrecision,s=n.let(`res`),c=o?(0,t._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${o}`:(0,t._)`${s} !== parseInt(${s})`;e.fail$data((0,t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`)}}}}),yn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(e){Object.defineProperty(e,"__esModule",{value:!0});function t(e){let t=e.length,n=0,r=0,i;for(;r<t;)n++,i=e.charCodeAt(r++),i>=55296&&i<=56319&&r<t&&(i=e.charCodeAt(r),(i&64512)==56320&&r++);return n}e.default=t,t.code=`require("ajv/dist/runtime/ucs2length").default`}}),bn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r=yn();e.default={keyword:[`maxLength`,`minLength`],type:`string`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxLength`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} characters`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:i,data:a,schemaCode:o,it:s}=e,c=i===`maxLength`?t.operators.GT:t.operators.LT,l=s.opts.unicode===!1?(0,t._)`${a}.length`:(0,t._)`${(0,n.useFunc)(e.gen,r.default)}(${a})`;e.fail$data((0,t._)`${l} ${c} ${o}`)}}}}),xn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=G(),n=U(),r=H();e.default={keyword:`pattern`,type:`string`,schemaType:`string`,$data:!0,error:{message:({schemaCode:e})=>(0,r.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,r._)`{pattern: ${e}}`},code(e){let{gen:i,data:a,$data:o,schema:s,schemaCode:c,it:l}=e,u=l.opts.unicodeRegExp?`u`:``;if(o){let{regExp:t}=l.opts.code,o=t.code===`new RegExp`?(0,r._)`new RegExp`:(0,n.useFunc)(i,t),s=i.let(`valid`);i.try(()=>i.assign(s,(0,r._)`${o}(${c}, ${u}).test(${a})`),()=>i.assign(s,!1)),e.fail$data((0,r._)`!${s}`)}else{let n=(0,t.usePattern)(e,s);e.fail$data((0,r._)`!${n}.test(${a})`)}}}}}),Sn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.default={keyword:[`maxProperties`,`minProperties`],type:`object`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxProperties`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,a=n===`maxProperties`?t.operators.GT:t.operators.LT;e.fail$data((0,t._)`Object.keys(${r}).length ${a} ${i}`)}}}}),Cn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=G(),n=H(),r=U();e.default={keyword:`required`,type:`object`,schemaType:`array`,$data:!0,error:{message:({params:{missingProperty:e}})=>(0,n.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,n._)`{missingProperty: ${e}}`},code(e){let{gen:i,schema:a,schemaCode:o,data:s,$data:c,it:l}=e,{opts:u}=l;if(!c&&a.length===0)return;let d=a.length>=u.loopRequired;if(l.allErrors?f():p(),u.strictRequired){let t=e.parentSchema.properties,{definedProperties:n}=e.it;for(let e of a)if(t?.[e]===void 0&&!n.has(e)){let t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,r.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){if(d||c)e.block$data(n.nil,m);else for(let n of a)(0,t.checkReportMissingProp)(e,n)}function p(){let n=i.let(`missing`);if(d||c){let t=i.let(`valid`,!0);e.block$data(t,()=>h(n,t)),e.ok(t)}else i.if((0,t.checkMissingProp)(e,a,n)),(0,t.reportMissingProp)(e,n),i.else()}function m(){i.forOf(`prop`,o,n=>{e.setParams({missingProperty:n}),i.if((0,t.noPropertyInData)(i,s,n,u.ownProperties),()=>e.error())})}function h(r,a){e.setParams({missingProperty:r}),i.forOf(r,o,()=>{i.assign(a,(0,t.propertyInData)(i,s,r,u.ownProperties)),i.if((0,n.not)(a),()=>{e.error(),i.break()})},n.nil)}}}}}),wn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.default={keyword:[`maxItems`,`minItems`],type:`array`,schemaType:`number`,$data:!0,error:{message({keyword:e,schemaCode:n}){let r=e===`maxItems`?`more`:`fewer`;return(0,t.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:e})=>(0,t._)`{limit: ${e}}`},code(e){let{keyword:n,data:r,schemaCode:i}=e,a=n===`maxItems`?t.operators.GT:t.operators.LT;e.fail$data((0,t._)`${r}.length ${a} ${i}`)}}}}),Tn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=en();t.code=`require("ajv/dist/runtime/equal").default`,e.default=t}}),En=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Xt(),n=H(),r=U(),i=Tn();e.default={keyword:`uniqueItems`,type:`array`,schemaType:`boolean`,$data:!0,error:{message:({params:{i:e,j:t}})=>(0,n.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,n._)`{i: ${e}, j: ${t}}`},code(e){let{gen:a,data:o,$data:s,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!s&&!c)return;let f=a.let(`valid`),p=l.items?(0,t.getSchemaTypes)(l.items):[];e.block$data(f,m,(0,n._)`${u} === false`),e.ok(f);function m(){let t=a.let(`i`,(0,n._)`${o}.length`),r=a.let(`j`);e.setParams({i:t,j:r}),a.assign(f,!0),a.if((0,n._)`${t} > 1`,()=>(h()?g:_)(t,r))}function h(){return p.length>0&&!p.some(e=>e===`object`||e===`array`)}function g(r,i){let s=a.name(`item`),c=(0,t.checkDataTypes)(p,s,d.opts.strictNumbers,t.DataType.Wrong),l=a.const(`indices`,(0,n._)`{}`);a.for((0,n._)`;${r}--;`,()=>{a.let(s,(0,n._)`${o}[${r}]`),a.if(c,(0,n._)`continue`),p.length>1&&a.if((0,n._)`typeof ${s} == "string"`,(0,n._)`${s} += "_"`),a.if((0,n._)`typeof ${l}[${s}] == "number"`,()=>{a.assign(i,(0,n._)`${l}[${s}]`),e.error(),a.assign(f,!1).break()}).code((0,n._)`${l}[${s}] = ${r}`)})}function _(t,s){let c=(0,r.useFunc)(a,i.default),l=a.name(`outer`);a.label(l).for((0,n._)`;${t}--;`,()=>a.for((0,n._)`${s} = ${t}; ${s}--;`,()=>a.if((0,n._)`${c}(${o}[${t}], ${o}[${s}])`,()=>{e.error(),a.assign(f,!1).break(l)})))}}}}}),Dn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r=Tn();e.default={keyword:`const`,$data:!0,error:{message:`must be equal to constant`,params:({schemaCode:e})=>(0,t._)`{allowedValue: ${e}}`},code(e){let{gen:i,data:a,$data:o,schemaCode:s,schema:c}=e;o||c&&typeof c==`object`?e.fail$data((0,t._)`!${(0,n.useFunc)(i,r.default)}(${a}, ${s})`):e.fail((0,t._)`${c} !== ${a}`)}}}}),On=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r=Tn();e.default={keyword:`enum`,schemaType:`array`,$data:!0,error:{message:`must be equal to one of the allowed values`,params:({schemaCode:e})=>(0,t._)`{allowedValues: ${e}}`},code(e){let{gen:i,data:a,$data:o,schema:s,schemaCode:c,it:l}=e;if(!o&&s.length===0)throw Error(`enum must have non-empty array`);let u=s.length>=l.opts.loopEnum,d,f=()=>d??=(0,n.useFunc)(i,r.default),p;if(u||o)p=i.let(`valid`),e.block$data(p,m);else{if(!Array.isArray(s))throw Error(`ajv implementation error`);let e=i.const(`vSchema`,c);p=(0,t.or)(...s.map((t,n)=>h(e,n)))}e.pass(p);function m(){i.assign(p,!1),i.forOf(`v`,c,e=>i.if((0,t._)`${f()}(${a}, ${e})`,()=>i.assign(p,!0).break()))}function h(e,n){let r=s[n];return typeof r==`object`&&r?(0,t._)`${f()}(${a}, ${e}[${n}])`:(0,t._)`${a} === ${r}`}}}}}),kn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=_n(),n=vn(),r=bn(),i=xn(),a=Sn(),o=Cn(),s=wn(),c=En(),l=Dn(),u=On();e.default=[t.default,n.default,r.default,i.default,a.default,o.default,s.default,c.default,{keyword:`type`,schemaType:[`string`,`array`]},{keyword:`nullable`,schemaType:`boolean`},l.default,u.default]}}),An=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateAdditionalItems=void 0;var t=H(),n=U(),r={keyword:`additionalItems`,type:`array`,schemaType:[`boolean`,`object`],before:`uniqueItems`,error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{parentSchema:t,it:r}=e,{items:a}=t;Array.isArray(a)?i(e,a):(0,n.checkStrictMode)(r,`"additionalItems" is ignored when "items" is not an array of schemas`)}};function i(e,r){let{gen:i,schema:a,data:o,keyword:s,it:c}=e;c.items=!0;let l=i.const(`len`,(0,t._)`${o}.length`);if(a===!1)e.setParams({len:r.length}),e.pass((0,t._)`${l} <= ${r.length}`);else if(typeof a==`object`&&!(0,n.alwaysValidSchema)(c,a)){let n=i.var(`valid`,(0,t._)`${l} <= ${r.length}`);i.if((0,t.not)(n),()=>u(n)),e.ok(n)}function u(a){i.forRange(`i`,r.length,l,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},a),c.allErrors||i.if((0,t.not)(a),()=>i.break())})}}e.validateAdditionalItems=i,e.default=r}}),jn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateTuple=void 0;var t=H(),n=U(),r=G(),i={keyword:`items`,type:`array`,schemaType:[`object`,`array`,`boolean`],before:`uniqueItems`,code(e){let{schema:t,it:i}=e;if(Array.isArray(t))return a(e,`additionalItems`,t);i.items=!0,!(0,n.alwaysValidSchema)(i,t)&&e.ok((0,r.validateArray)(e))}};function a(e,r,i=e.schema){let{gen:a,parentSchema:o,data:s,keyword:c,it:l}=e;f(o),l.opts.unevaluated&&i.length&&l.items!==!0&&(l.items=n.mergeEvaluated.items(a,i.length,l.items));let u=a.name(`valid`),d=a.const(`len`,(0,t._)`${s}.length`);i.forEach((r,i)=>{(0,n.alwaysValidSchema)(l,r)||(a.if((0,t._)`${d} > ${i}`,()=>e.subschema({keyword:c,schemaProp:i,dataProp:i},u)),e.ok(u))});function f(e){let{opts:t,errSchemaPath:a}=l,o=i.length,s=o===e.minItems&&(o===e.maxItems||e[r]===!1);if(t.strictTuples&&!s){let e=`"${c}" is ${o}-tuple, but minItems or maxItems/${r} are not specified or different at path "${a}"`;(0,n.checkStrictMode)(l,e,t.strictTuples)}}}e.validateTuple=a,e.default=i}}),Mn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=jn();e.default={keyword:`prefixItems`,type:`array`,schemaType:[`array`],before:`uniqueItems`,code:e=>(0,t.validateTuple)(e,`items`)}}}),Nn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r=G(),i=An();e.default={keyword:`items`,type:`array`,schemaType:[`object`,`boolean`],before:`uniqueItems`,error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{schema:t,parentSchema:a,it:o}=e,{prefixItems:s}=a;o.items=!0,!(0,n.alwaysValidSchema)(o,t)&&(s?(0,i.validateAdditionalItems)(e,s):e.ok((0,r.validateArray)(e)))}}}}),Pn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U();e.default={keyword:`contains`,type:`array`,schemaType:[`object`,`boolean`],before:`uniqueItems`,trackErrors:!0,error:{message:({params:{min:e,max:n}})=>n===void 0?(0,t.str)`must contain at least ${e} valid item(s)`:(0,t.str)`must contain at least ${e} and no more than ${n} valid item(s)`,params:({params:{min:e,max:n}})=>n===void 0?(0,t._)`{minContains: ${e}}`:(0,t._)`{minContains: ${e}, maxContains: ${n}}`},code(e){let{gen:r,schema:i,parentSchema:a,data:o,it:s}=e,c,l,{minContains:u,maxContains:d}=a;s.opts.next?(c=u===void 0?1:u,l=d):c=1;let f=r.const(`len`,(0,t._)`${o}.length`);if(e.setParams({min:c,max:l}),l===void 0&&c===0){(0,n.checkStrictMode)(s,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(l!==void 0&&c>l){(0,n.checkStrictMode)(s,`"minContains" > "maxContains" is always invalid`),e.fail();return}if((0,n.alwaysValidSchema)(s,i)){let n=(0,t._)`${f} >= ${c}`;l!==void 0&&(n=(0,t._)`${n} && ${f} <= ${l}`),e.pass(n);return}s.items=!0;let p=r.name(`valid`);l===void 0&&c===1?h(p,()=>r.if(p,()=>r.break())):c===0?(r.let(p,!0),l!==void 0&&r.if((0,t._)`${o}.length > 0`,m)):(r.let(p,!1),m()),e.result(p,()=>e.reset());function m(){let e=r.name(`_valid`),t=r.let(`count`,0);h(e,()=>r.if(e,()=>g(t)))}function h(t,i){r.forRange(`i`,0,f,r=>{e.subschema({keyword:`contains`,dataProp:r,dataPropType:n.Type.Num,compositeRule:!0},t),i()})}function g(e){r.code((0,t._)`${e}++`),l===void 0?r.if((0,t._)`${e} >= ${c}`,()=>r.assign(p,!0).break()):(r.if((0,t._)`${e} > ${l}`,()=>r.assign(p,!1).break()),c===1?r.assign(p,!0):r.if((0,t._)`${e} >= ${c}`,()=>r.assign(p,!0)))}}}}}),Fn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;var t=H(),n=U(),r=G();e.error={message:({params:{property:e,depsCount:n,deps:r}})=>{let i=n===1?`property`:`properties`;return(0,t.str)`must have ${i} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:n,deps:r,missingProperty:i}})=>(0,t._)`{property: ${e},
6
- missingProperty: ${i},
7
- depsCount: ${n},
8
- deps: ${r}}`};var i={keyword:`dependencies`,type:`object`,schemaType:`object`,error:e.error,code(e){let[t,n]=a(e);o(e,t),s(e,n)}};function a({schema:e}){let t={},n={};for(let r in e){if(r===`__proto__`)continue;let i=Array.isArray(e[r])?t:n;i[r]=e[r]}return[t,n]}function o(e,n=e.schema){let{gen:i,data:a,it:o}=e;if(Object.keys(n).length===0)return;let s=i.let(`missing`);for(let c in n){let l=n[c];if(l.length===0)continue;let u=(0,r.propertyInData)(i,a,c,o.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(`, `)}),o.allErrors?i.if(u,()=>{for(let t of l)(0,r.checkReportMissingProp)(e,t)}):(i.if((0,t._)`${u} && (${(0,r.checkMissingProp)(e,l,s)})`),(0,r.reportMissingProp)(e,s),i.else())}}e.validatePropertyDeps=o;function s(e,t=e.schema){let{gen:i,data:a,keyword:o,it:s}=e,c=i.name(`valid`);for(let l in t)(0,n.alwaysValidSchema)(s,t[l])||(i.if((0,r.propertyInData)(i,a,l,s.opts.ownProperties),()=>{let t=e.subschema({keyword:o,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>i.var(c,!0)),e.ok(c))}e.validateSchemaDeps=s,e.default=i}}),In=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U();e.default={keyword:`propertyNames`,type:`object`,schemaType:[`object`,`boolean`],error:{message:`property name must be valid`,params:({params:e})=>(0,t._)`{propertyName: ${e.propertyName}}`},code(e){let{gen:r,schema:i,data:a,it:o}=e;if((0,n.alwaysValidSchema)(o,i))return;let s=r.name(`valid`);r.forIn(`key`,a,n=>{e.setParams({propertyName:n}),e.subschema({keyword:`propertyNames`,data:n,dataTypes:[`string`],propertyName:n,compositeRule:!0},s),r.if((0,t.not)(s),()=>{e.error(!0),o.allErrors||r.break()})}),e.ok(s)}}}}),Ln=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=G(),n=H(),r=W(),i=U();e.default={keyword:`additionalProperties`,type:[`object`],schemaType:[`boolean`,`object`],allowUndefined:!0,trackErrors:!0,error:{message:`must NOT have additional properties`,params:({params:e})=>(0,n._)`{additionalProperty: ${e.additionalProperty}}`},code(e){let{gen:a,schema:o,parentSchema:s,data:c,errsCount:l,it:u}=e;if(!l)throw Error(`ajv implementation error`);let{allErrors:d,opts:f}=u;if(u.props=!0,f.removeAdditional!==`all`&&(0,i.alwaysValidSchema)(u,o))return;let p=(0,t.allSchemaProperties)(s.properties),m=(0,t.allSchemaProperties)(s.patternProperties);h(),e.ok((0,n._)`${l} === ${r.default.errors}`);function h(){a.forIn(`key`,c,e=>{!p.length&&!m.length?v(e):a.if(g(e),()=>v(e))})}function g(r){let o;if(p.length>8){let e=(0,i.schemaRefOrVal)(u,s.properties,`properties`);o=(0,t.isOwnProperty)(a,e,r)}else o=p.length?(0,n.or)(...p.map(e=>(0,n._)`${r} === ${e}`)):n.nil;return m.length&&(o=(0,n.or)(o,...m.map(i=>(0,n._)`${(0,t.usePattern)(e,i)}.test(${r})`))),(0,n.not)(o)}function _(e){a.code((0,n._)`delete ${c}[${e}]`)}function v(t){if(f.removeAdditional===`all`||f.removeAdditional&&o===!1)_(t);else if(o===!1)e.setParams({additionalProperty:t}),e.error(),d||a.break();else if(typeof o==`object`&&!(0,i.alwaysValidSchema)(u,o)){let r=a.name(`valid`);f.removeAdditional===`failing`?(y(t,r,!1),a.if((0,n.not)(r),()=>{e.reset(),_(t)})):(y(t,r),d||a.if((0,n.not)(r),()=>a.break()))}}function y(t,n,r){let a={keyword:`additionalProperties`,dataProp:t,dataPropType:i.Type.Str};r===!1&&Object.assign(a,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(a,n)}}}}}),Rn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=rn(),n=G(),r=U(),i=Ln();e.default={keyword:`properties`,type:`object`,schemaType:`object`,code(e){let{gen:a,schema:o,parentSchema:s,data:c,it:l}=e;l.opts.removeAdditional===`all`&&s.additionalProperties===void 0&&i.default.code(new t.KeywordCxt(l,i.default,`additionalProperties`));let u=(0,n.allSchemaProperties)(o);for(let e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&l.props!==!0&&(l.props=r.mergeEvaluated.props(a,(0,r.toHash)(u),l.props));let d=u.filter(e=>!(0,r.alwaysValidSchema)(l,o[e]));if(d.length===0)return;let f=a.name(`valid`);for(let t of d)p(t)?m(t):(a.if((0,n.propertyInData)(a,c,t,l.opts.ownProperties)),m(t),l.allErrors||a.else().var(f,!0),a.endIf()),e.it.definedProperties.add(t),e.ok(f);function p(e){return l.opts.useDefaults&&!l.compositeRule&&o[e].default!==void 0}function m(t){e.subschema({keyword:`properties`,schemaProp:t,dataProp:t},f)}}}}}),zn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=G(),n=H(),r=U(),i=U();e.default={keyword:`patternProperties`,type:`object`,schemaType:`object`,code(e){let{gen:a,schema:o,data:s,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,t.allSchemaProperties)(o),f=d.filter(e=>(0,r.alwaysValidSchema)(l,o[e]));if(d.length===0||f.length===d.length&&(!l.opts.unevaluated||l.props===!0))return;let p=u.strictSchema&&!u.allowMatchingProperties&&c.properties,m=a.name(`valid`);l.props!==!0&&!(l.props instanceof n.Name)&&(l.props=(0,i.evaluatedPropsToName)(a,l.props));let{props:h}=l;g();function g(){for(let e of d)p&&_(e),l.allErrors?v(e):(a.var(m,!0),v(e),a.if(m))}function _(e){for(let t in p)new RegExp(e).test(t)&&(0,r.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){a.forIn(`key`,s,o=>{a.if((0,n._)`${(0,t.usePattern)(e,r)}.test(${o})`,()=>{let t=f.includes(r);t||e.subschema({keyword:`patternProperties`,schemaProp:r,dataProp:o,dataPropType:i.Type.Str},m),l.opts.unevaluated&&h!==!0?a.assign((0,n._)`${h}[${o}]`,!0):!t&&!l.allErrors&&a.if((0,n.not)(m),()=>a.break())})})}}}}}),Bn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=U();e.default={keyword:`not`,schemaType:[`object`,`boolean`],trackErrors:!0,code(e){let{gen:n,schema:r,it:i}=e;if((0,t.alwaysValidSchema)(i,r)){e.fail();return}let a=n.name(`valid`);e.subschema({keyword:`not`,compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,()=>e.reset(),()=>e.error())},error:{message:`must NOT be valid`}}}}),Vn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={keyword:`anyOf`,schemaType:`array`,trackErrors:!0,code:G().validateUnion,error:{message:`must match a schema in anyOf`}}}}),Hn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U();e.default={keyword:`oneOf`,schemaType:`array`,trackErrors:!0,error:{message:`must match exactly one schema in oneOf`,params:({params:e})=>(0,t._)`{passingSchemas: ${e.passing}}`},code(e){let{gen:r,schema:i,parentSchema:a,it:o}=e;if(!Array.isArray(i))throw Error(`ajv implementation error`);if(o.opts.discriminator&&a.discriminator)return;let s=i,c=r.let(`valid`,!1),l=r.let(`passing`,null),u=r.name(`_valid`);e.setParams({passing:l}),r.block(d),e.result(c,()=>e.reset(),()=>e.error(!0));function d(){s.forEach((i,a)=>{let s;(0,n.alwaysValidSchema)(o,i)?r.var(u,!0):s=e.subschema({keyword:`oneOf`,schemaProp:a,compositeRule:!0},u),a>0&&r.if((0,t._)`${u} && ${c}`).assign(c,!1).assign(l,(0,t._)`[${l}, ${a}]`).else(),r.if(u,()=>{r.assign(c,!0),r.assign(l,a),s&&e.mergeEvaluated(s,t.Name)})})}}}}}),Un=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=U();e.default={keyword:`allOf`,schemaType:`array`,code(e){let{gen:n,schema:r,it:i}=e;if(!Array.isArray(r))throw Error(`ajv implementation error`);let a=n.name(`valid`);r.forEach((n,r)=>{if((0,t.alwaysValidSchema)(i,n))return;let o=e.subschema({keyword:`allOf`,schemaProp:r},a);e.ok(a),e.mergeEvaluated(o)})}}}}),Wn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r={keyword:`if`,schemaType:[`object`,`boolean`],trackErrors:!0,error:{message:({params:e})=>(0,t.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,t._)`{failingKeyword: ${e.ifClause}}`},code(e){let{gen:r,parentSchema:a,it:o}=e;a.then===void 0&&a.else===void 0&&(0,n.checkStrictMode)(o,`"if" without "then" and "else" is ignored`);let s=i(o,`then`),c=i(o,`else`);if(!s&&!c)return;let l=r.let(`valid`,!0),u=r.name(`_valid`);if(d(),e.reset(),s&&c){let t=r.let(`ifClause`);e.setParams({ifClause:t}),r.if(u,f(`then`,t),f(`else`,t))}else s?r.if(u,f(`then`)):r.if((0,t.not)(u),f(`else`));e.pass(l,()=>e.error(!0));function d(){let t=e.subschema({keyword:`if`,compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}function f(n,i){return()=>{let a=e.subschema({keyword:n},u);r.assign(l,u),e.mergeValidEvaluated(a,l),i?r.assign(i,(0,t._)`${n}`):e.setParams({ifClause:n})}}}};function i(e,t){let r=e.schema[t];return r!==void 0&&!(0,n.alwaysValidSchema)(e,r)}e.default=r}}),Gn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=U();e.default={keyword:[`then`,`else`],schemaType:[`object`,`boolean`],code({keyword:e,parentSchema:n,it:r}){n.if===void 0&&(0,t.checkStrictMode)(r,`"${e}" without "if" is ignored`)}}}}),Kn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=An(),n=Mn(),r=jn(),i=Nn(),a=Pn(),o=Fn(),s=In(),c=Ln(),l=Rn(),u=zn(),d=Bn(),f=Vn(),p=Hn(),m=Un(),h=Wn(),g=Gn();function _(e=!1){let _=[d.default,f.default,p.default,m.default,h.default,g.default,s.default,c.default,o.default,l.default,u.default];return e?_.push(n.default,i.default):_.push(t.default,r.default),_.push(a.default),_}e.default=_}}),qn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicAnchor=void 0;var t=H(),n=W(),r=sn(),i=hn(),a={keyword:`$dynamicAnchor`,schemaType:`string`,code:e=>o(e,e.schema)};function o(e,r){let{gen:i,it:a}=e;a.schemaEnv.root.dynamicAnchors[r]=!0;let o=(0,t._)`${n.default.dynamicAnchors}${(0,t.getProperty)(r)}`,c=a.errSchemaPath===`#`?a.validateName:s(e);i.if((0,t._)`!${o}`,()=>i.assign(o,c))}e.dynamicAnchor=o;function s(e){let{schemaEnv:t,schema:n,self:a}=e.it,{root:o,baseId:s,localRefs:c,meta:l}=t.root,{schemaId:u}=a.opts,d=new r.SchemaEnv({schema:n,schemaId:u,root:o,baseId:s,localRefs:c,meta:l});return r.compileSchema.call(a,d),(0,i.getValidate)(e,d)}e.default=a}}),Jn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicRef=void 0;var t=H(),n=W(),r=hn(),i={keyword:`$dynamicRef`,schemaType:`string`,code:e=>a(e,e.schema)};function a(e,i){let{gen:a,keyword:o,it:s}=e;if(i[0]!==`#`)throw Error(`"${o}" only supports hash fragment reference`);let c=i.slice(1);if(s.allErrors)l();else{let t=a.let(`valid`,!1);l(t),e.ok(t)}function l(e){if(s.schemaEnv.root.dynamicAnchors[c]){let r=a.let(`_v`,(0,t._)`${n.default.dynamicAnchors}${(0,t.getProperty)(c)}`);a.if(r,u(r,e),u(s.validateName,e))}else u(s.validateName,e)()}function u(t,n){return n?()=>a.block(()=>{(0,r.callRef)(e,t),a.let(n,!0)}):()=>(0,r.callRef)(e,t)}}e.dynamicRef=a,e.default=i}}),Yn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=qn(),n=U();e.default={keyword:`$recursiveAnchor`,schemaType:`boolean`,code(e){e.schema?(0,t.dynamicAnchor)(e,``):(0,n.checkStrictMode)(e.it,`$recursiveAnchor: false is ignored`)}}}}),Xn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Jn();e.default={keyword:`$recursiveRef`,schemaType:`string`,code:e=>(0,t.dynamicRef)(e,e.schema)}}}),Zn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=qn(),n=Jn(),r=Yn(),i=Xn();e.default=[t.default,n.default,r.default,i.default]}}),Qn=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Fn();e.default={keyword:`dependentRequired`,type:`object`,schemaType:`object`,error:t.error,code:e=>(0,t.validatePropertyDeps)(e)}}}),$n=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Fn();e.default={keyword:`dependentSchemas`,type:`object`,schemaType:`object`,code:e=>(0,t.validateSchemaDeps)(e)}}}),er=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=U();e.default={keyword:[`maxContains`,`minContains`],type:`array`,schemaType:`number`,code({keyword:e,parentSchema:n,it:r}){n.contains===void 0&&(0,t.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}}}}),tr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Qn(),n=$n(),r=er();e.default=[t.default,n.default,r.default]}}),nr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U(),r=W();e.default={keyword:`unevaluatedProperties`,type:`object`,schemaType:[`boolean`,`object`],trackErrors:!0,error:{message:`must NOT have unevaluated properties`,params:({params:e})=>(0,t._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){let{gen:i,schema:a,data:o,errsCount:s,it:c}=e;if(!s)throw Error(`ajv implementation error`);let{allErrors:l,props:u}=c;u instanceof t.Name?i.if((0,t._)`${u} !== true`,()=>i.forIn(`key`,o,e=>i.if(f(u,e),()=>d(e)))):u!==!0&&i.forIn(`key`,o,e=>u===void 0?d(e):i.if(p(u,e),()=>d(e))),c.props=!0,e.ok((0,t._)`${s} === ${r.default.errors}`);function d(r){if(a===!1)e.setParams({unevaluatedProperty:r}),e.error(),l||i.break();else if(!(0,n.alwaysValidSchema)(c,a)){let a=i.name(`valid`);e.subschema({keyword:`unevaluatedProperties`,dataProp:r,dataPropType:n.Type.Str},a),l||i.if((0,t.not)(a),()=>i.break())}}function f(e,n){return(0,t._)`!${e} || !${e}[${n}]`}function p(e,n){let r=[];for(let i in e)e[i]===!0&&r.push((0,t._)`${n} !== ${i}`);return(0,t.and)(...r)}}}}}),rr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=U();e.default={keyword:`unevaluatedItems`,type:`array`,schemaType:[`boolean`,`object`],error:{message:({params:{len:e}})=>(0,t.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,t._)`{limit: ${e}}`},code(e){let{gen:r,schema:i,data:a,it:o}=e,s=o.items||0;if(s===!0)return;let c=r.const(`len`,(0,t._)`${a}.length`);if(i===!1)e.setParams({len:s}),e.fail((0,t._)`${c} > ${s}`);else if(typeof i==`object`&&!(0,n.alwaysValidSchema)(o,i)){let n=r.var(`valid`,(0,t._)`${c} <= ${s}`);r.if((0,t.not)(n),()=>l(n,s)),e.ok(n)}o.items=!0;function l(i,a){r.forRange(`i`,a,c,a=>{e.subschema({keyword:`unevaluatedItems`,dataProp:a,dataPropType:n.Type.Num},i),o.allErrors||r.if((0,t.not)(i),()=>r.break())})}}}}}),ir=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=nr(),n=rr();e.default=[t.default,n.default]}}),ar=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H();e.default={keyword:`format`,type:[`number`,`string`],schemaType:`string`,$data:!0,error:{message:({schemaCode:e})=>(0,t.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,t._)`{format: ${e}}`},code(e,n){let{gen:r,data:i,$data:a,schema:o,schemaCode:s,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;if(!l.validateFormats)return;a?p():m();function p(){let a=r.scopeValue(`formats`,{ref:f.formats,code:l.code.formats}),o=r.const(`fDef`,(0,t._)`${a}[${s}]`),c=r.let(`fType`),u=r.let(`format`);r.if((0,t._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>r.assign(c,(0,t._)`${o}.type || "string"`).assign(u,(0,t._)`${o}.validate`),()=>r.assign(c,(0,t._)`"string"`).assign(u,o)),e.fail$data((0,t.or)(p(),m()));function p(){return l.strictSchema===!1?t.nil:(0,t._)`${s} && !${u}`}function m(){let e=d.$async?(0,t._)`(${o}.async ? await ${u}(${i}) : ${u}(${i}))`:(0,t._)`${u}(${i})`,r=(0,t._)`(typeof ${u} == "function" ? ${e} : ${u}.test(${i}))`;return(0,t._)`${u} && ${u} !== true && ${c} === ${n} && !${r}`}}function m(){let a=f.formats[o];if(!a){m();return}if(a===!0)return;let[s,c,p]=h(a);s===n&&e.pass(g());function m(){if(l.strictSchema===!1){f.logger.warn(e());return}throw Error(e());function e(){return`unknown format "${o}" ignored in schema at path "${u}"`}}function h(e){let n=e instanceof RegExp?(0,t.regexpCode)(e):l.code.formats?(0,t._)`${l.code.formats}${(0,t.getProperty)(o)}`:void 0,i=r.scopeValue(`formats`,{key:o,ref:e,code:n});return typeof e==`object`&&!(e instanceof RegExp)?[e.type||`string`,e.validate,(0,t._)`${i}.validate`]:[`string`,e,i]}function g(){if(typeof a==`object`&&!(a instanceof RegExp)&&a.async){if(!d.$async)throw Error(`async format in sync schema`);return(0,t._)`await ${p}(${i})`}return typeof c==`function`?(0,t._)`${p}(${i})`:(0,t._)`${p}.test(${i})`}}}}}}),or=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=[ar().default]}}),sr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.contentVocabulary=e.metadataVocabulary=void 0,e.metadataVocabulary=[`title`,`description`,`default`,`deprecated`,`readOnly`,`writeOnly`,`examples`],e.contentVocabulary=[`contentMediaType`,`contentEncoding`,`contentSchema`]}}),cr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=gn(),n=kn(),r=Kn(),i=Zn(),a=tr(),o=ir(),s=or(),c=sr();e.default=[i.default,t.default,n.default,(0,r.default)(!0),s.default,c.metadataVocabulary,c.contentVocabulary,a.default,o.default]}}),lr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0;var t;(function(e){e.Tag=`tag`,e.Mapping=`mapping`})(t||(e.DiscrError=t={}))}}),ur=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=H(),n=lr(),r=sn(),i=on(),a=U();e.default={keyword:`discriminator`,type:`object`,schemaType:`object`,error:{message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:n,tagName:r}})=>(0,t._)`{error: ${e}, tag: ${r}, tagValue: ${n}}`},code(e){let{gen:o,data:s,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw Error(`discriminator: requires discriminator option`);let f=c.propertyName;if(typeof f!=`string`)throw Error(`discriminator: requires propertyName`);if(c.mapping)throw Error(`discriminator: mapping is not supported`);if(!d)throw Error(`discriminator: requires oneOf keyword`);let p=o.let(`valid`,!1),m=o.const(`tag`,(0,t._)`${s}${(0,t.getProperty)(f)}`);o.if((0,t._)`typeof ${m} == "string"`,()=>h(),()=>e.error(!1,{discrError:n.DiscrError.Tag,tag:m,tagName:f})),e.ok(p);function h(){let r=_();o.if(!1);for(let e in r)o.elseIf((0,t._)`${m} === ${e}`),o.assign(p,g(r[e]));o.else(),e.error(!1,{discrError:n.DiscrError.Mapping,tag:m,tagName:f}),o.endIf()}function g(n){let r=o.name(`valid`),i=e.subschema({keyword:`oneOf`,schemaProp:n},r);return e.mergeEvaluated(i,t.Name),r}function _(){let e={},t=o(l),n=!0;for(let e=0;e<d.length;e++){let c=d[e];if(c?.$ref&&!(0,a.schemaHasRulesButRef)(c,u.self.RULES)){let e=c.$ref;if(c=r.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),c instanceof r.SchemaEnv&&(c=c.schema),c===void 0)throw new i.default(u.opts.uriResolver,u.baseId,e)}let l=c?.properties?.[f];if(typeof l!=`object`)throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);n&&=t||o(c),s(l,e)}if(!n)throw Error(`discriminator: "${f}" must be required`);return e;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function s(e,t){if(e.const)c(e.const,t);else if(e.enum)for(let n of e.enum)c(n,t);else throw Error(`discriminator: "properties/${f}" must have "const" or "enum"`)}function c(t,n){if(typeof t!=`string`||t in e)throw Error(`discriminator: "${f}" values must be unique strings`);e[t]=n}}}}}}),dr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/schema`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:`meta`,title:`Core and Validation specifications meta-schema`,allOf:[{$ref:`meta/core`},{$ref:`meta/applicator`},{$ref:`meta/unevaluated`},{$ref:`meta/validation`},{$ref:`meta/meta-data`},{$ref:`meta/format-annotation`},{$ref:`meta/content`}],type:[`object`,`boolean`],$comment:`This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.`,properties:{definitions:{$comment:`"definitions" has been replaced by "$defs".`,type:`object`,additionalProperties:{$dynamicRef:`#meta`},deprecated:!0,default:{}},dependencies:{$comment:`"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.`,type:`object`,additionalProperties:{anyOf:[{$dynamicRef:`#meta`},{$ref:`meta/validation#/$defs/stringArray`}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:`"$recursiveAnchor" has been replaced by "$dynamicAnchor".`,$ref:`meta/core#/$defs/anchorString`,deprecated:!0},$recursiveRef:{$comment:`"$recursiveRef" has been replaced by "$dynamicRef".`,$ref:`meta/core#/$defs/uriReferenceString`,deprecated:!0}}}}}),fr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/applicator`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:`meta`,title:`Applicator vocabulary meta-schema`,type:[`object`,`boolean`],properties:{prefixItems:{$ref:`#/$defs/schemaArray`},items:{$dynamicRef:`#meta`},contains:{$dynamicRef:`#meta`},additionalProperties:{$dynamicRef:`#meta`},properties:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},default:{}},patternProperties:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},propertyNames:{format:`regex`},default:{}},dependentSchemas:{type:`object`,additionalProperties:{$dynamicRef:`#meta`},default:{}},propertyNames:{$dynamicRef:`#meta`},if:{$dynamicRef:`#meta`},then:{$dynamicRef:`#meta`},else:{$dynamicRef:`#meta`},allOf:{$ref:`#/$defs/schemaArray`},anyOf:{$ref:`#/$defs/schemaArray`},oneOf:{$ref:`#/$defs/schemaArray`},not:{$dynamicRef:`#meta`}},$defs:{schemaArray:{type:`array`,minItems:1,items:{$dynamicRef:`#meta`}}}}}}),pr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/unevaluated`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:`meta`,title:`Unevaluated applicator vocabulary meta-schema`,type:[`object`,`boolean`],properties:{unevaluatedItems:{$dynamicRef:`#meta`},unevaluatedProperties:{$dynamicRef:`#meta`}}}}}),mr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/content`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:`meta`,title:`Content vocabulary meta-schema`,type:[`object`,`boolean`],properties:{contentEncoding:{type:`string`},contentMediaType:{type:`string`},contentSchema:{$dynamicRef:`#meta`}}}}}),hr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/core`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:`meta`,title:`Core vocabulary meta-schema`,type:[`object`,`boolean`],properties:{$id:{$ref:`#/$defs/uriReferenceString`,$comment:`Non-empty fragments not allowed.`,pattern:`^[^#]*#?$`},$schema:{$ref:`#/$defs/uriString`},$ref:{$ref:`#/$defs/uriReferenceString`},$anchor:{$ref:`#/$defs/anchorString`},$dynamicRef:{$ref:`#/$defs/uriReferenceString`},$dynamicAnchor:{$ref:`#/$defs/anchorString`},$vocabulary:{type:`object`,propertyNames:{$ref:`#/$defs/uriString`},additionalProperties:{type:`boolean`}},$comment:{type:`string`},$defs:{type:`object`,additionalProperties:{$dynamicRef:`#meta`}}},$defs:{anchorString:{type:`string`,pattern:`^[A-Za-z_][-A-Za-z0-9._]*$`},uriString:{type:`string`,format:`uri`},uriReferenceString:{type:`string`,format:`uri-reference`}}}}}),gr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/format-annotation`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:`meta`,title:`Format vocabulary meta-schema for annotation results`,type:[`object`,`boolean`],properties:{format:{type:`string`}}}}}),_r=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/meta-data`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:`meta`,title:`Meta-data vocabulary meta-schema`,type:[`object`,`boolean`],properties:{title:{type:`string`},description:{type:`string`},default:!0,deprecated:{type:`boolean`,default:!1},readOnly:{type:`boolean`,default:!1},writeOnly:{type:`boolean`,default:!1},examples:{type:`array`,items:!0}}}}}),vr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(e,t){t.exports={$schema:`https://json-schema.org/draft/2020-12/schema`,$id:`https://json-schema.org/draft/2020-12/meta/validation`,$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:`meta`,title:`Validation vocabulary meta-schema`,type:[`object`,`boolean`],properties:{type:{anyOf:[{$ref:`#/$defs/simpleTypes`},{type:`array`,items:{$ref:`#/$defs/simpleTypes`},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:`array`,items:!0},multipleOf:{type:`number`,exclusiveMinimum:0},maximum:{type:`number`},exclusiveMaximum:{type:`number`},minimum:{type:`number`},exclusiveMinimum:{type:`number`},maxLength:{$ref:`#/$defs/nonNegativeInteger`},minLength:{$ref:`#/$defs/nonNegativeIntegerDefault0`},pattern:{type:`string`,format:`regex`},maxItems:{$ref:`#/$defs/nonNegativeInteger`},minItems:{$ref:`#/$defs/nonNegativeIntegerDefault0`},uniqueItems:{type:`boolean`,default:!1},maxContains:{$ref:`#/$defs/nonNegativeInteger`},minContains:{$ref:`#/$defs/nonNegativeInteger`,default:1},maxProperties:{$ref:`#/$defs/nonNegativeInteger`},minProperties:{$ref:`#/$defs/nonNegativeIntegerDefault0`},required:{$ref:`#/$defs/stringArray`},dependentRequired:{type:`object`,additionalProperties:{$ref:`#/$defs/stringArray`}}},$defs:{nonNegativeInteger:{type:`integer`,minimum:0},nonNegativeIntegerDefault0:{$ref:`#/$defs/nonNegativeInteger`,default:0},simpleTypes:{enum:[`array`,`boolean`,`integer`,`null`,`number`,`object`,`string`]},stringArray:{type:`array`,items:{type:`string`},uniqueItems:!0,default:[]}}}}}),yr=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t=dr(),n=fr(),r=pr(),i=mr(),a=hr(),o=gr(),s=_r(),c=vr(),l=[`/properties`];function u(e){return[t,n,r,i,a,u(this,o),s,u(this,c)].forEach(e=>this.addMetaSchema(e,void 0,!1)),this;function u(t,n){return e?t.$dataMetaSchema(n,l):n}}e.default=u}}),br=z({"../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js"(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2020=void 0;var n=pn(),r=cr(),i=ur(),a=yr(),o=`https://json-schema.org/draft/2020-12/schema`,s=class extends n.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),r.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:e,meta:t}=this.opts;t&&(a.default.call(this,e),this.refs[`http://json-schema.org/schema`]=o)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}};e.Ajv2020=s,t.exports=e=s,t.exports.Ajv2020=s,Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var c=rn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var l=H();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var u=an();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return u.default}});var d=on();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return d.default}})}}),xr=s({schemaVersion:r(`openpond.connectedDatasetSource.v1`),kind:r(`connected_activity`),id:d().min(1).max(240),profileId:d().min(1).max(240),title:d().min(1).max(500),sourceHash:d().regex(/^[a-f0-9]{64}$/),occurredAt:d().datetime(),licensingStatus:u([`pending`,`approved`,`review`,`blocked`]),secretScanStatus:u([`pending`,`passed`,`blocked`]),piiScanStatus:u([`pending`,`passed`,`review`,`blocked`]),origin:yt,sourceId:d().min(1).max(500),sessionId:d().min(1).max(500),normalizerVersion:d().min(1).max(200),projection:u([`turn`,`conversation`]),ownerUserId:d().min(1).max(500),purpose:r(`recorded_evaluation`),sourceFileHashes:e(d().regex(/^[a-f0-9]{64}$/)).max(100).optional(),metadata:i(d(),f()).default({})}).strict(),K=d().trim().min(1).max(240),q=d().trim().min(1),J=d().trim().min(8).max(256),Sr=d().trim().min(1).max(1e3).refine(e=>!e.startsWith(`/`)&&!e.startsWith(`\\`)&&!e.split(/[\\/]/).includes(`..`),`Artifact paths must be relative and stay inside the Dataset.`),Y=u([`train`,`validation`,`test`,`frozen_eval`]),Cr=s({name:d().trim().min(1).max(500),semanticRole:u([`row_id`,`cluster_id`,`prompt`,`messages`,`demonstration`,`chosen`,`rejected`,`expected_output`,`privileged_context`,`reward`,`feedback`,`tag`,`metadata`]),logicalType:u([`string`,`integer`,`float`,`boolean`,`json`,`messages`]),nullable:c(),policy:u([`visible`,`privileged`,`metadata`])}),wr=s({schemaVersion:r(`openpond.datasetSemanticSchema.v1`),fields:e(Cr).min(1).max(1e4),schemaHash:J}),Tr=s({id:K,split:Y,path:Sr,contentHash:J,schemaHash:J,sizeBytes:l().int().nonnegative(),rowCount:l().int().positive(),rowGroupCount:l().int().positive()}),Er=s({schemaVersion:r(`openpond.datasetArtifact.v1`),id:K,tasksetId:K,tasksetRevision:l().int().positive(),contentHash:J,format:r(`parquet`),schema:wr,shards:e(Tr).min(1).max(1e5),rowCount:l().int().positive(),splitCounts:i(Y,l().int().nonnegative()),sourceReceiptRefs:e(K).min(1).max(1e5),mappingHash:J,qualityReportHash:J,createdAt:q}),Dr=s({schemaVersion:r(`openpond.datasetArtifactSummary.v1`),artifactId:K,tasksetId:K,tasksetRevision:l().int().positive(),format:r(`parquet`),rowCount:l().int().positive(),splitCounts:i(Y,l().int().nonnegative()),sizeBytes:l().int().nonnegative(),contentHash:J,available:c(),unavailableReason:d().trim().min(1).max(2e3).nullable(),createdAt:q}),Or=s({schemaVersion:r(`openpond.datasetCatalogItem.v1`),tasksetId:K,tasksetRevision:l().int().positive(),artifactId:K.nullable(),name:d().trim().min(1).max(500),status:u([`draft`,`awaiting_disclosure_approval`,`awaiting_materialization_approval`,`materializing`,`validating`,`needs_review`,`baselining`,`ready`,`blocked`,`failed`,`archived`]),storageKind:u([`inline`,`parquet`]),rowCount:l().int().nonnegative(),splitCounts:i(Y,l().int().nonnegative()),sizeBytes:l().int().nonnegative().nullable(),available:c(),unavailableReason:d().trim().min(1).max(2e3).nullable(),createdAt:q,updatedAt:q});s({schemaVersion:r(`openpond.datasetCatalog.v1`),profileId:K,datasets:e(Or),generatedAt:q}),s({schemaVersion:r(`openpond.datasetArtifactRegistry.v1`),manifest:Er,profileId:K,storageRoot:d().trim().min(1).max(4e3),relativeManifestPath:Sr,available:c(),unavailableReason:d().trim().min(1).max(2e3).nullable(),verifiedAt:q.nullable(),createdAt:q,updatedAt:q}),s({split:Y.nullable().default(null),cursor:d().trim().min(1).max(2e3).nullable().default(null),limit:l().int().min(1).max(100).default(25),columns:e(d().trim().min(1).max(500)).max(100).default([])}),s({schemaVersion:r(`openpond.datasetRowPage.v1`),tasksetId:K,tasksetRevision:l().int().positive(),artifactHash:J,split:Y.nullable(),rows:e(i(d(),f())).max(100),nextCursor:d().max(2e3).nullable(),totalRows:l().int().nonnegative(),returnedRows:l().int().nonnegative()});var kr=s({schemaVersion:r(`openpond.datasetStorageSettings.v1`),datasetStorePath:d().trim().min(1).max(4e3),updatedAt:q}),Ar=s({id:K,label:d().trim().min(1).max(500),path:d().trim().min(1).max(4e3),datasetStorePath:d().trim().min(1).max(4e3),kind:u([`local`,`network`,`removable`,`cache`]),configured:c(),mounted:c(),writable:c(),totalBytes:l().int().nonnegative().nullable(),freeBytes:l().int().nonnegative().nullable()});s({schemaVersion:r(`openpond.datasetStorageState.v1`),settings:kr,storageRoots:e(Ar)}),s({datasetStorePath:d().trim().min(1).max(4e3)});var jr=d().trim().min(1).max(240),Mr=d().trim().min(1),Nr=d().trim().min(8).max(256),Pr=i(d(),f()).default({}),Fr=d().trim().min(7).max(256),Ir=u([`pending`,`approved`,`review`,`blocked`]),Lr=s({id:jr,profileId:jr,title:d().trim().min(1).max(500),sourceHash:Nr,occurredAt:Mr,licensingStatus:Ir,secretScanStatus:u([`pending`,`passed`,`blocked`]),piiScanStatus:u([`pending`,`passed`,`review`,`blocked`]),metadata:Pr}),Rr=Lr.extend({schemaVersion:r(`openpond.huggingFaceDatasetSource.v1`),kind:r(`huggingface`),repositoryId:d().trim().regex(/^[^/\s]+\/[^/\s]+$/).max(500),repositoryUrl:d().url().max(2e3),revision:Fr,configuration:d().trim().min(1).max(500),upstreamSplits:e(d().trim().min(1).max(500)).min(1).max(1e3),gated:c(),private:c(),declaredLicense:d().trim().min(1).max(500).nullable(),sourceFileHashes:e(Nr).min(1).max(1e5)}),zr=Lr.extend({schemaVersion:r(`openpond.uploadedFileDatasetSource.v1`),kind:r(`uploaded_file`),originalFileNames:e(d().trim().min(1).max(500)).min(1).max(1e3),mediaTypes:e(d().trim().min(1).max(200)).min(1).max(1e3),sourceFileHashes:e(Nr).min(1).max(1e3),totalBytes:l().int().nonnegative(),parserVersion:d().trim().min(1).max(200)}),Br=Lr.extend({schemaVersion:r(`openpond.generatedDatasetSource.v1`),kind:r(`generated`),generatorId:jr,generatorVersion:d().trim().min(1).max(200),seed:l().int(),generatorHash:Nr}),Vr=Lr.extend({schemaVersion:r(`openpond.learningBatchDatasetSource.v1`),kind:r(`learning_batch`),batch:s({id:jr,revision:l().int().positive(),contentHash:Nr}).strict(),taskDefinition:s({id:jr,revision:l().int().positive(),contentHash:Nr}).strict(),admittedBy:jr}),Hr=n(`kind`,[Rr,zr,Br,Vr]);pt(br(),1);var Ur=s({schemaVersion:r(`openpond.structuredSamplingSchema.v1`),validationSchemaHash:d().regex(/^[a-f0-9]{64}$/),schemaRef:j.refine(e=>e.visibility===`policy`&&e.sizeBytes<=128e3&&[`application/json`,`application/schema+json`].includes(e.mediaType),`Sampling schemas must be bounded policy-visible JSON assets.`),postValidationOnly:e(s({schemaPath:d().min(1).max(2e3),keyword:r(`maxItems`),enforcement:r(`full_validation_only`)}).strict()).min(1).max(100)}).strict();s({declaration:Ur,schema:i(d(),f()),schemaHash:d().regex(/^[a-f0-9]{64}$/),schemaSource:d().max(128e3)}).strict();var Wr=s({schemaVersion:r(`openpond.harnessActionBinding.v1`),actionId:M,modelToolName:d().trim().min(1).max(64).regex(/^[a-zA-Z][a-zA-Z0-9_-]*$/),description:d().trim().min(1).max(1e3),inputSchema:i(d(),f()),actionSchemaHash:A,agentRelease:k,implementationHash:A,runtimeBindingId:M,capabilityReceiptHash:A,sideEffect:u([`read`,`write`]),studentVisible:c(),timeoutMs:l().int().positive().max(36e5),episodeArgumentBindings:e(s({argument:M,source:r(`case_id`)}).strict()).max(20).default([])}).strict(),X=d().trim().min(1).max(240),Gr=d().trim().min(1),Kr=d().trim().min(8).max(256),qr=d().trim().regex(/^[a-f0-9]{64}$/),Jr=d().trim().regex(/^[A-Za-z_$][A-Za-z0-9_$]*$/),Z=i(d(),f()).default({}),Yr=X.nullable();function Xr(e){let t=e.trim().replaceAll(`\\`,`/`);return!t||t.startsWith(`/`)||t===`.`||t===`..`?!1:!t.split(`/`).some(e=>!e||e===`.`||e===`..`)}function Zr(e){let t=e.trim();return t.length>0&&t!==`.`&&t!==`..`&&!t.includes(`/`)&&!t.includes(`\\`)&&!t.includes(`\0`)}var Qr=Y,$r=u([`general`,`benchmark`]),ei=s({schemaVersion:r(`openpond.tasksetBenchmark.v1`),definitionId:X,releaseId:X,releaseHash:qr,managedReleasePath:d().trim().min(1).max(1e3).refine(Xr,`Benchmark release paths must remain relative.`),adaptationSplit:Qr,evaluationSplit:Qr,primaryMetric:u([`foreground_tokens`,`success_rate`,`latency_ms`,`cost_usd`]),qualityGate:u([`none`,`non_regression`,`all_pass`]),source:u([`builtin`,`imported`]),metadata:Z}),ti=s({schemaVersion:r(`openpond.tasksetPreferenceComparisonBinding.v1`),releaseId:X,releaseHash:qr,publishedAt:Gr,metadata:Z}),ni=s({status:u([`pending`,`granted`,`denied`,`revoked`]),scope:u([`metadata_only`,`selected_turns`,`full_session`]),grantedBy:Yr,grantedAt:Gr.nullable(),purpose:r(`task_authoring_and_evaluation`)}),ri=s({schemaVersion:r(`openpond.trainingSource.v1`),id:X,profileId:X,sessionId:X,turnIds:e(X).max(1e3).default([]),workspaceId:Yr,sourceHash:Kr,clusterKey:X,title:d().trim().min(1).max(500),occurredAt:Gr,consent:ni,connectedAppIds:e(X).max(100).default([]),secretScanStatus:u([`pending`,`passed`,`blocked`]),piiScanStatus:u([`pending`,`passed`,`review`,`blocked`]),licensingStatus:u([`pending`,`approved`,`review`,`blocked`]),metadata:Z}),ii=t([ri,Hr,xr]),ai=s({policyVisibleFields:e(X).max(1e3).default([]),privilegedFields:e(X).max(1e3).default([]),hiddenGraderRefs:e(X).max(100).default([]),connectedAppScopes:e(X).max(100).default([])}),oi=s({id:X,sourceRefId:X,artifactRef:d().trim().min(1).max(4e3).refine(Xr,`Task asset references must be safe relative paths.`),fileName:d().trim().min(1).max(500).refine(Zr,`Task asset file names must not contain path separators.`),stagingPath:d().trim().min(1).max(1e3).refine(Xr,`Task asset staging paths must stay inside Work inputs.`).optional(),mediaType:d().trim().min(1).max(200),sha256:qr,sizeBytes:l().int().nonnegative().max(25e7),split:Qr,metadata:Z}).superRefine((e,t)=>{e.stagingPath&&e.stagingPath.split(`/`).at(-1)!==e.fileName&&t.addIssue({code:`custom`,message:`Staged task assets must preserve their source file name.`,path:[`stagingPath`]})}),si=s({path:d().trim().min(1).max(1e3).refine(Xr,`Required output paths must stay inside the Work output directory.`),mediaType:d().trim().min(1).max(200),schemaRef:X.nullable().optional(),submissionMode:r(`structured_json`).optional(),maxBytes:l().int().positive().max(1e7).optional(),metadata:Z}),ci=s({schemaVersion:r(`openpond.taskData.v1`),id:X,clusterKey:X,split:Qr,input:i(d(),f()),expectedOutput:i(d(),f()).nullable(),policyVisibleContext:i(d(),f()).default({}),privilegedContextRef:Yr,sourceRefs:e(X).min(1).max(100),assets:e(oi).max(1e3).optional(),resourceRefs:e(X).max(1e3).optional(),requiredOutputs:e(si).max(100).optional(),tags:e(X).max(100).default([]),metadata:Z}),li=s({id:X,kind:u([`file`,`catalog`,`configuration`,`code_module`]),path:d().trim().min(1).max(1e3).refine(Xr,`Environment resource paths must remain relative.`),mediaType:d().trim().min(1).max(200).nullable().optional(),visibility:u([`policy_visible`,`policy_hidden`,`privileged`]),required:c(),metadata:Z}),ui=s({id:X,taskId:Yr,sourceRefs:e(X).min(1).max(100),artifactRef:X,approved:c(),confidence:l().min(0).max(1),metadata:Z}),di=ui.extend({kind:r(`demonstration`),prompt:d().max(1e5).nullable().default(null),response:d().max(2e5).nullable().default(null)}),fi=ui.extend({kind:r(`preference`),prompt:d().max(1e5),chosen:d().max(2e5),rejected:d().max(2e5),rationale:d().max(1e5).nullable().default(null)}),pi=ui.extend({kind:r(`correction`),original:d().max(2e5),corrected:d().max(2e5),rationale:d().max(1e5).nullable().default(null)}),mi=ui.extend({kind:r(`feedback`),feedback:d().max(1e5),polarity:u([`positive`,`negative`,`mixed`,`neutral`])}),hi=ui.extend({kind:r(`reward`),task:d().max(1e5),rules:e(s({id:X,points:l().finite(),condition:d().trim().min(1).max(1e5)})).min(1).max(1e3),otherwisePoints:l().finite(),executable:c()}),gi=ui.extend({kind:r(`label`),labelKind:r(`rubric`),task:d().max(1e5),criteria:e(s({id:X,label:d().trim().min(1).max(500),description:d().trim().min(1).max(1e5)})).min(1).max(1e3),calibrationExamples:s({positive:d().trim().min(1).max(2e5),negative:d().trim().min(1).max(2e5),boundary:d().trim().min(1).max(2e5)})});n(`kind`,[di,fi,pi,mi,hi,gi]);var _i=s({demonstrations:e(di).max(1e5).default([]),preferences:e(fi).max(1e5).default([]),corrections:e(pi).max(1e5).default([]),feedback:e(mi).max(1e5).default([]),rewards:e(hi).max(1e5).default([]),labels:e(gi).max(1e5).default([])}),vi=s({protocolVersion:r(`openpond.taskEnvironment.v1`),kind:u([`chat`,`agent`,`program`,`stateful_harness`,`work`]),entrypoint:d().trim().min(1).max(1e3),stateful:c(),deterministicSeeds:c(),toolNames:e(X).max(200).default([]),actionBindings:e(Wr).max(200).optional(),lifecycle:e(u([`create`,`reset`,`step`,`grade`,`cleanup`])).min(1),defaultTimeoutMs:l().int().positive().max(36e5),networkPolicy:u([`none`,`declared_read_only`,`declared_scoped`]),resources:e(li).max(1e4).optional(),metadata:Z}),yi=s({schemaVersion:r(`openpond.tasksetCapabilities.v1`),taskKind:u([`chat`,`single_agent`,`multi_agent`,`custom_program`]),supportedSignals:e(u([`demonstration`,`preference`,`correction`,`feedback`,`reward`,`label`])),compatibleMethods:e(u([`none`,`retrieval`,`sft`,`dpo`,`grpo`,`ppo`,`sdft`,`opd`,`opsd`,`sdpo`])),rewardKinds:e(u([`none`,`exact`,`deterministic`,`model_judge`,`human`])),requiresTools:c(),requiresState:c(),requiresPrivilegedGrading:c(),environmentPlacements:e(u([`local`,`remote`,`colocated`,`provider_native`])),exportable:c(),portabilityBlockers:e(d().trim().min(1).max(2e3)).default([])}),bi=s({id:X,taskIds:e(X).min(1).max(1e4).refine(e=>new Set(e).size===e.length,`Grader task IDs must be unique.`).optional(),version:d().trim().min(1).max(100),label:d().trim().min(1).max(500),weight:l().min(0).max(1e3).default(1),hardGate:c().default(!1),rewardEligible:c().default(!1),privileged:c().default(!1),metadata:Z}),xi=bi.extend({kind:u([`content`,`schema`,`file`,`diff`,`test`,`runtime_event`,`state`]),config:i(d(),f())}),Si=bi.extend({kind:r(`model_judge`),rubric:d().trim().min(1).max(5e4),judge:De,calibrationFixtureRefs:e(X).min(1).max(500),calibrationStatus:u([`pending`,`passed`,`failed`]),temperature:l().min(0).max(2).default(0)}),Ci=bi.extend({kind:r(`human`),form:T.optional(),rubric:d().trim().min(1).max(5e4),reviewerRole:d().trim().min(1).max(500)}),wi=bi.extend({kind:r(`custom_verifier`),runtime:O.optional(),module:d().trim().min(1).max(1e3).refine(Xr,`Custom verifier modules must use a safe relative path.`),exportName:Jr,timeoutMs:l().int().positive().max(3e5),networkPolicy:r(`none`)}),Ti=t([xi,Si,Ci,wi]),Ei=u([`positive`,`negative`,`boundary`,`adversarial`,`prompt_injection`,`infrastructure_failure`]),Di=s({id:X,taskId:X,label:Ei,output:i(d(),f()),infrastructureError:d().trim().min(1).max(1e4).nullable(),expectedPassed:c(),expectedRewardEligible:c(),metadata:Z});d().regex(/^[a-f0-9]{64}$/);var Oi=s({environment:Dt,verifierSet:jt,javascript:Ut}).strict();s({actions:e(s({name:d().min(1).max(64),arguments:i(d(),f())}).strict()).max(1e3)}).strict();var ki=s({environment:Dt,verifierSet:jt}).strict(),Ai=s({scopeId:d().trim().min(1).max(500),modelId:d().trim().min(1).max(500)}).strict();s({schemaVersion:r(`openpond.modelTasksetDerivation.v1`),owner:Ai,root:Ve,parent:Ve}).strict();var ji=s({taskset:ne,taskDefinition:ce,rewardBinding:ae,rewards:e(fe).min(1).max(100),assets:e(me).max(1e3),executionResources:ki.optional(),execution:Oi.optional(),instructionMode:r(`per_task`).optional()}).strict(),Mi=s({batch:de,evidence:e(ue).min(1).max(1e4),decisions:e(le).min(1).max(1e4),sources:e(se).min(1).max(1e4),assets:e(me).max(1e3)}).strict(),Ni=s({asset:j,base64:d()}).strict();s({schemaVersion:r(`openpond.connectedRewardCalibrationProjection.v1`),sourceReward:oe,fixtureSet:j,calibrationCheck:N,fixture:pe,fixtureHash:d().regex(/^[a-f0-9]{64}$/),checkResultHash:d().regex(/^[a-f0-9]{64}$/),independentCalibrationTask:r(!0),closureRef:j,graderId:d().min(1).max(240).optional()}).strict();var Pi=ji.omit({taskset:!0,executionResources:!0}),Fi=s({schemaVersion:r(`openpond.tasksetPackage.v1`),taskset:ne,environment:Dt,verifierSet:jt,files:e(Ni).max(1e4),modelResources:Pi.optional(),learningResources:Mi.optional()}).strict().extend({contentHash:d().regex(/^[a-f0-9]{64}$/)}).strict(),Ii=d().trim().min(1).max(240),Li=d().trim().min(1),Ri=d().trim().min(8).max(256),zi=d().trim().regex(/^[A-Za-z_$][A-Za-z0-9_$]*$/),Bi=i(d(),f()).default({});function Vi(e){let t=e.trim().replaceAll(`\\`,`/`);return!t||t.startsWith(`/`)||t===`.`||t===`..`?!1:!t.split(`/`).some(e=>!e||e===`.`||e===`..`)}var Hi=ci.extend({sourceRefs:e(Ii).max(100).default([])}),Ui=u([`draft`,`validating`,`needs_review`,`published`]),Wi=s({enabled:c(),candidateCount:l().int().min(2).max(4),minimumSamples:l().int().min(1).max(1e4).default(100),allowTies:c(),allowRejectAll:c(),rubric:d().trim().max(5e4),criteria:e(s({id:Ii,label:d().trim().min(1).max(500),description:d().trim().max(1e4),weight:l().nonnegative().max(1e3)})).max(100)}),Gi=s({mode:u([`text`,`structured_json`,`artifacts`]),jsonSchema:i(d(),f()).nullable(),requiredOutputSource:r(`task.requiredOutputs`).optional(),responsePath:d().trim().min(1).max(1e3).refine(Vi,`Response paths must name a safe relative output path.`).optional(),renderer:s({module:d().trim().min(1).max(1e3).refine(Vi,`Renderer modules must use a safe relative path.`),exportName:zi,configRef:d().trim().min(1).max(1e3).refine(Vi,`Renderer configuration must use a safe relative path.`).nullable().default(null)}).nullable()}).superRefine((e,t)=>{e.responsePath!==void 0&&(e.mode!==`artifacts`||e.requiredOutputSource!==`task.requiredOutputs`)&&t.addIssue({code:`custom`,path:[`responsePath`],message:`An artifact response path requires artifacts mode and task.requiredOutputs.`}),e.requiredOutputSource!==void 0&&e.mode!==`artifacts`&&t.addIssue({code:`custom`,path:[`requiredOutputSource`],message:`Required output sources belong to artifacts mode.`}),e.mode===`structured_json`&&!e.jsonSchema&&t.addIssue({code:`custom`,message:`Structured JSON output requires a JSON Schema.`,path:[`jsonSchema`]}),e.mode===`text`&&e.renderer&&t.addIssue({code:`custom`,message:`Text output cannot configure an artifact renderer.`,path:[`renderer`]})}),Ki=s({schemaVersion:r(`openpond.tasksetDraft.v1`),id:Ii,revision:l().int().positive(),profileId:Ii,modelScope:s({modelId:Ii,expectedModelRevision:l().int().positive(),source:ye.optional()}).strict().nullable().default(null),name:d().trim().max(500),objective:d().trim().max(2e4),purpose:$r.default(`general`),benchmark:ei.nullable().default(null),preferenceComparison:ti.nullable().default(null),status:Ui,sourceRefs:e(ii).max(1e5).default([]),datasetArtifact:Er.nullable().optional(),policy:ai,environment:vi,output:Gi.default({mode:`text`,jsonSchema:null,renderer:null}),capabilities:yi,metrics:E,review:Wi,tasks:e(Hi).max(1e6).default([]),graders:e(Ti).max(1e3).default([]),graderFixtures:e(Di).max(1e5).default([]),learningSignals:_i,publishedTasksetRef:s({id:Ii,revision:l().int().positive(),contentHash:Ri}).nullable(),createdAt:Li,updatedAt:Li,metadata:Bi}).superRefine((e,t)=>{e.purpose===`benchmark`&&!e.benchmark&&t.addIssue({code:`custom`,message:`Benchmark drafts require an immutable benchmark binding.`,path:[`benchmark`]}),e.purpose!==`benchmark`&&e.benchmark&&t.addIssue({code:`custom`,message:`Only benchmark drafts may carry a benchmark binding.`,path:[`benchmark`]}),e.datasetArtifact&&e.tasks.length>0&&t.addIssue({code:`custom`,message:`Artifact-backed drafts may not duplicate canonical rows inline.`,path:[`tasks`]}),e.status===`published`&&!e.publishedTasksetRef&&t.addIssue({code:`custom`,message:`Published drafts require an immutable Taskset reference.`,path:[`publishedTasksetRef`]})}),Q=d().trim().min(1).max(240),qi=d().trim().min(1),Ji=d().trim().min(8).max(256),Yi=i(d(),f()).default({}),Xi=Q.nullable(),Zi=[`work_capabilities`,`work_environment`,`work_list_files`,`work_read_file`,`work_read_document`,`work_write_file`,`work_write_docx`,`work_edit_file`,`work_delete_file`,`work_exec`,`work_save_output`,`work_stop`],Qi=u([`draft`,`awaiting_disclosure_approval`,`awaiting_materialization_approval`,`materializing`,`validating`,`needs_review`,`baselining`,`ready`,`blocked`,`failed`,`archived`]),$i=u([`demonstrations`,`preferences`,`verifiable_reward`,`rubric`,`discovery`]),$=d().trim().max(1e5),ea=n(`kind`,[s({kind:r(`demonstrations`),behavior:$,examples:e(s({id:Q,prompt:$,response:$})).max(1e3).default([])}),s({kind:r(`preferences`),preference:$,pairs:e(s({id:Q,prompt:$,chosen:$,rejected:$,rationale:$})).max(1e3).default([])}),s({kind:r(`verifiable_reward`),task:$,rules:e(s({id:Q,points:l().finite(),condition:$})).max(1e3).default([]),otherwisePoints:l().finite().default(0)}),s({kind:r(`rubric`),task:$,criteria:e(s({id:Q,label:d().trim().max(500),description:$})).max(1e3).default([]),positiveExample:$,negativeExample:$,boundaryExample:$})]),ta=s({path:d().trim().min(1).max(1e3),role:u([`environment`,`verifier`,`fixture`]),content:d().max(25e4)}),na=s({primaryMethod:u([`sft`,`dpo`,`grpo`,`ppo`,`sdft`,`opsd`,`sdpo`]),bootstrap:s({method:r(`sft`),purpose:r(`trajectory_bootstrap`),demonstrationRefs:e(Q).min(1).max(1e5),limitations:e(d().trim().min(1).max(5e3)).min(1).max(100)}).nullable()}),ra=u([`taskset_not_ready`,`demonstrations_missing`,`preference_pairs_missing`,`preference_pairs_invalid`,`executable_reward_missing`,`reward_not_calibrated`,`reward_model_missing`,`value_model_required`,`frozen_eval_missing`]),ia=s({method:u([`sft`,`dpo`,`grpo`,`ppo`]),status:u([`recommended`,`compatible`,`needs_dataset_work`]),reasonCodes:e(ra).default([]),reasons:e(d().trim().min(1).max(5e3)).default([])}),aa=s({code:Q,message:d().trim().min(1).max(5e3),path:d().trim().max(2e3).nullable()}),oa=s({schemaVersion:r(`openpond.tasksetReadiness.v1`),tasksetId:Q,tasksetHash:Ji,ready:c(),recommendedMethod:u([`none`,`retrieval`,`sft`,`dpo`,`grpo`,`ppo`,`sdft`,`opd`,`opsd`,`sdpo`]),trainingPath:na.nullable().default(null),methodReadiness:e(ia).default([]),compatibleDestinationClasses:e(u([`export`,`custom`,`hosted_managed`])),blockers:e(aa).default([]),advisories:e(aa).default([]),warnings:e(d().trim().min(1).max(5e3)).default([]),generatedAt:qi}),sa=s({attempt:l().int().positive(),summary:d().trim().min(1).max(5e3),createdAt:qi}),ca=s({schemaVersion:r(`openpond.taskAuthoringProvenance.v1`),model:De.nullable(),modelConfig:Yi,skillHash:Ji,promptTemplateVersion:d().trim().min(1).max(200),buildIntent:$i.default(`demonstrations`),buildSpecification:ea.nullable().default(null),evidenceHashes:e(Ji).max(1e5),tasksetSdkVersion:d().trim().min(1).max(100),sourceCommit:d().trim().min(1).max(256).nullable(),repairHistory:e(sa).max(1e3),createdAt:qi}),la=s({schemaVersion:r(`openpond.taskset.v1`),id:Q,revision:l().int().positive().default(1),profileId:Q,profileRelease:re.nullable().optional(),createImproveRunId:Xi.default(null),name:d().trim().min(1).max(500),objective:d().trim().max(2e4),purpose:$r.default(`general`),benchmark:ei.nullable().default(null),preferenceComparison:ti.nullable().default(null),status:Qi,sourceRefs:e(ii).min(1).max(1e5),datasetArtifact:Er.nullable().optional(),policy:ai,environment:vi,capabilities:yi,metrics:E.optional(),tasks:e(ci).max(1e6),graders:e(Ti).max(1e3),graderFixtures:e(Di).max(1e5),learningSignals:_i,authoringProvenance:ca,readiness:oa.nullable(),contentHash:Ji,createdAt:qi,updatedAt:qi,metadata:Yi}).superRefine((e,t)=>{e.purpose===`benchmark`&&!e.benchmark&&t.addIssue({code:`custom`,message:`Benchmark Tasksets require an immutable benchmark binding.`,path:[`benchmark`]}),e.purpose!==`benchmark`&&e.benchmark&&t.addIssue({code:`custom`,message:`Only benchmark Tasksets may carry a benchmark binding.`,path:[`benchmark`]}),e.datasetArtifact&&e.tasks.length>0&&t.addIssue({code:`custom`,message:`Artifact-backed Tasksets may not duplicate canonical rows inline.`,path:[`tasks`]}),!e.datasetArtifact&&e.tasks.length===0&&t.addIssue({code:`custom`,message:`A Taskset requires inline tasks or a Dataset artifact manifest.`,path:[`tasks`]})});function ua(e){return e.schemaVersion===`openpond.trainingSource.v1`}var da=class extends Error{issues;constructor(e){super(e.map(e=>e.message).join(`
9
- `)),this.name=`TasksetDraftPublishError`,this.issues=e}};function fa(e){let t=[];e.name.trim()||t.push({code:`name_missing`,message:`Name is required.`,path:`name`}),e.objective.trim()||t.push({code:`objective_missing`,message:`Objective is required.`,path:`objective`}),!e.datasetArtifact&&e.tasks.length===0&&t.push({code:`tasks_missing`,message:`Add at least one task or Dataset artifact.`,path:`tasks`});let n=new Set(e.sourceRefs.map(e=>e.id));for(let r of e.tasks)for(let e of r.sourceRefs)n.has(e)||t.push({code:`task_source_missing`,message:`Task ${r.id} references missing source ${e}.`,path:`tasks.${r.id}.sourceRefs`});return t}function pa(e,t={}){let n=la.safeParse(e);if(!n.success)return{valid:!1,taskset:null,computedHash:null,issues:n.error.issues.map(e=>({code:`schema_invalid`,severity:`error`,message:e.message,path:e.path.join(`.`)}))};let r=n.data,i=[];va(r,i),ha(r,i),ya(r,i),xa(r,i),Sa(r,i),t.purpose!==`publication`&&(r.graders.length||i.push({code:`graders_required`,severity:`error`,message:`Scored execution requires at least one grader.`,path:`graders`}),ma(r,i,t)),Ca(r,i),wa(r.capabilities,i,r),ba(r,i);let a=_a(r);return r.contentHash!==a&&i.push({code:`content_hash_mismatch`,severity:`error`,message:`Taskset contentHash is ${r.contentHash}, expected ${a}.`,path:`contentHash`}),{valid:!i.some(e=>e.severity===`error`),taskset:r,computedHash:a,issues:i}}function ma(e,t,n){let r=e.graders.length>0&&e.graders.every(e=>e.kind===`human`);!r&&!e.graderFixtures.length&&!(n.allowUnscoredOnlineRewardBatch&&e.metadata.trainingMethod===`grpo`&&e.metadata.learning)&&t.push({code:`grader_fixtures_required`,severity:`error`,message:`Taskset admission requires authored grader fixtures.`,path:`graderFixtures`});let i=new Set(e.tasks.map(e=>e.id)),a=new Set([`positive`,`negative`,`boundary`,`adversarial`,`prompt_injection`,`infrastructure_failure`]);for(let n of e.graderFixtures)!e.datasetArtifact&&!i.has(n.taskId)&&t.push({code:`grader_fixture_task_missing`,severity:`warning`,message:`Fixture ${n.id} references a task outside this Taskset revision (${n.taskId}).`,path:`graderFixtures.${n.id}.taskId`}),a.delete(n.label),n.label===`infrastructure_failure`&&!n.infrastructureError&&t.push({code:`infrastructure_fixture_error_missing`,severity:`error`,message:`Infrastructure fixture ${n.id} must declare an infrastructure error.`,path:`graderFixtures.${n.id}.infrastructureError`});for(let e of r?[]:a)t.push({code:`grader_fixture_missing`,severity:`warning`,message:`Taskset does not include the optional ${e} grader calibration fixture.`,path:`graderFixtures`})}function ha(e,t){let n=e.datasetArtifact;if(!n)return;(n.tasksetId!==e.id||n.tasksetRevision!==e.revision)&&t.push({code:`dataset_artifact_taskset_mismatch`,severity:`error`,message:`Dataset artifact identity does not match its Taskset revision.`,path:`datasetArtifact`});let r=Object.values(n.splitCounts).reduce((e,t)=>e+t,0),i=n.shards.reduce((e,t)=>e+t.rowCount,0);(r!==n.rowCount||i!==n.rowCount)&&t.push({code:`dataset_artifact_row_count_mismatch`,severity:`error`,message:`Dataset artifact row, split, and shard counts do not agree.`,path:`datasetArtifact.rowCount`});let a=new Map;for(let e of n.shards)a.set(e.split,(a.get(e.split)??0)+e.rowCount);for(let[e,r]of Object.entries(n.splitCounts))(a.get(e)??0)!==r&&t.push({code:`dataset_artifact_split_count_mismatch`,severity:`error`,message:`Dataset artifact ${e} shard counts do not match its manifest.`,path:`datasetArtifact.splitCounts.${e}`});let{contentHash:o,...s}=n;te(s)!==n.contentHash&&t.push({code:`dataset_artifact_hash_mismatch`,severity:`error`,message:`Dataset artifact manifest content hash is invalid.`,path:`datasetArtifact.contentHash`})}function ga(e){return _a(e)}function _a(e){let{contentHash:t,status:n,readiness:r,updatedAt:i,...a}=e;return te(a)}function va(e,t){for(let[n,r]of e.sourceRefs.entries())ua(r)&&r.consent.status!==`granted`&&t.push({code:`source_consent_missing`,severity:`error`,message:`Source ${r.id} is not consented.`,path:`sourceRefs.${n}.consent.status`}),r.secretScanStatus!==`passed`&&t.push({code:`source_secret_scan`,severity:`error`,message:`Source ${r.id} did not pass secret scanning.`,path:`sourceRefs.${n}.secretScanStatus`}),r.piiScanStatus!==`passed`&&t.push({code:`source_pii_scan`,severity:`error`,message:`Source ${r.id} has unresolved PII policy.`,path:`sourceRefs.${n}.piiScanStatus`}),r.licensingStatus!==`approved`&&t.push({code:`source_license`,severity:`error`,message:`Source ${r.id} has unresolved licensing policy.`,path:`sourceRefs.${n}.licensingStatus`})}function ya(e,t){let n=new Map;for(let t of e.tasks){let e=n.get(t.clusterKey)??new Set;e.add(t.split),n.set(t.clusterKey,e)}for(let[e,r]of n)r.size>1&&t.push({code:`split_cluster_contamination`,severity:`error`,message:`Source cluster ${e} appears in multiple splits: ${[...r].join(`, `)}.`,path:`tasks`});(e.datasetArtifact?e.datasetArtifact.splitCounts.frozen_eval??0:e.tasks.filter(e=>e.split===`frozen_eval`).length)===0&&t.push({code:`frozen_eval_missing`,severity:`warning`,message:`Add an independent test example before training.`,path:`tasks`})}function ba(e,t){if(e.environment.kind!==`work`)return;e.environment.entrypoint!==`openpond-work-v1`&&t.push({code:`work_entrypoint_invalid`,severity:`error`,message:`Work Tasksets must use the openpond-work-v1 entrypoint.`,path:`environment.entrypoint`}),(!e.environment.lifecycle.includes(`reset`)||!e.environment.lifecycle.includes(`cleanup`))&&t.push({code:`work_reset_lifecycle_missing`,severity:`error`,message:`Work attempts require reset and cleanup; filesystem state belongs to one attempt.`,path:`environment.lifecycle`});let n=new Set(Zi),r=e.environment.toolNames.filter(e=>!n.has(e));r.length&&t.push({code:`work_tool_unknown`,severity:`error`,message:`Work Taskset declares unknown tools: ${r.join(`, `)}.`,path:`environment.toolNames`}),e.environment.toolNames.includes(`work_save_output`)||t.push({code:`work_output_tool_missing`,severity:`error`,message:`Work Tasksets must declare work_save_output.`,path:`environment.toolNames`});for(let n of[`create`,`reset`,`step`,`grade`,`cleanup`])e.environment.lifecycle.includes(n)||t.push({code:`work_lifecycle_incomplete`,severity:`error`,message:`Work Tasksets require the ${n} lifecycle stage.`,path:`environment.lifecycle`});let i=new Map(e.sourceRefs.map(e=>[e.id,e]));for(let[n,r]of e.tasks.entries()){let e=new Set,a=new Set;for(let[o,s]of(r.assets??[]).entries()){let c=`tasks.${n}.assets.${o}`;e.has(s.id)&&t.push({code:`work_asset_duplicate_id`,severity:`error`,message:`Task ${r.id} repeats asset id ${s.id}.`,path:`${c}.id`});let l=s.stagingPath??s.fileName;a.has(l)&&t.push({code:`work_asset_duplicate_name`,severity:`error`,message:`Task ${r.id} repeats staged path ${l}.`,path:`${c}.fileName`}),e.add(s.id),a.add(l),r.sourceRefs.includes(s.sourceRefId)||t.push({code:`work_asset_task_source_missing`,severity:`error`,message:`Asset ${s.id} references source ${s.sourceRefId} outside task ${r.id}.`,path:`${c}.sourceRefId`});let u=i.get(s.sourceRefId);u?`sourceFileHashes`in u&&!u.sourceFileHashes?.includes(s.sha256)&&t.push({code:`work_asset_hash_unregistered`,severity:`error`,message:`Asset ${s.id} hash is not registered by source ${s.sourceRefId}.`,path:`${c}.sha256`}):t.push({code:`work_asset_source_missing`,severity:`error`,message:`Asset ${s.id} references missing source ${s.sourceRefId}.`,path:`${c}.sourceRefId`}),u&&`kind`in u&&u.kind===`uploaded_file`&&!u.originalFileNames.includes(s.fileName)&&t.push({code:`work_asset_name_unregistered`,severity:`error`,message:`Asset ${s.id} file name is not registered by source ${s.sourceRefId}.`,path:`${c}.fileName`}),u&&`kind`in u&&u.kind===`uploaded_file`&&!u.mediaTypes.includes(s.mediaType)&&t.push({code:`work_asset_media_type_unregistered`,severity:`error`,message:`Asset ${s.id} media type is not registered by source ${s.sourceRefId}.`,path:`${c}.mediaType`}),s.split!==r.split&&t.push({code:`work_asset_split_mismatch`,severity:`error`,message:`Asset ${s.id} is assigned to ${s.split}, not task split ${r.split}.`,path:`${c}.split`})}let o=new Set;for(let[e,i]of(r.requiredOutputs??[]).entries()){let a=i.path.replaceAll(`\\`,`/`),s=`tasks.${n}.requiredOutputs.${e}.path`;o.has(a)&&t.push({code:`work_output_duplicate_path`,severity:`error`,message:`Task ${r.id} repeats required output path ${a}.`,path:s}),o.add(a)}(r.requiredOutputs??[]).length===0&&t.push({code:`work_output_missing`,severity:`error`,message:`Work task ${r.id} must declare at least one required output.`,path:`tasks.${n}.requiredOutputs`})}}function xa(e,t){let n=new Set(e.policy.policyVisibleFields);for(let r of e.policy.privilegedFields)n.has(r)&&t.push({code:`privileged_field_visible`,severity:`error`,message:`Field ${r} is both policy-visible and privileged.`,path:`policy`});for(let n of e.tasks)n.privilegedContextRef&&Object.keys(n.policyVisibleContext).includes(n.privilegedContextRef)&&t.push({code:`privileged_context_leak`,severity:`error`,message:`Task ${n.id} exposes its privileged context reference.`,path:`tasks.${n.id}.policyVisibleContext`})}function Sa(e,t){let n=new Set(e.tasks.map(e=>e.id)),r=new Set;for(let i of e.graders)i.taskIds?.some(e=>!n.has(e))&&t.push({code:`grader_task_missing`,severity:`error`,message:`Grader ${i.id} refers to a task outside this Dataset.`,path:`graders`}),r.has(i.id)&&t.push({code:`grader_duplicate`,severity:`error`,message:`Duplicate grader id ${i.id}.`,path:`graders`}),r.add(i.id),i.kind===`model_judge`&&i.rewardEligible&&i.calibrationStatus!==`passed`&&t.push({code:`judge_calibration_pending`,severity:`warning`,message:`Model judge ${i.id} is selected for reward without a passing advisory calibration report.`,path:`graders.${i.id}`}),i.kind===`model_judge`&&i.calibrationStatus===`passed`&&typeof i.metadata.calibrationEvidenceHash!=`string`&&t.push({code:`judge_calibration_evidence_missing`,severity:`warning`,message:`Model judge ${i.id} declares calibration without an OpenPond fixture evidence hash.`,path:`graders.${i.id}.metadata.calibrationEvidenceHash`}),i.kind===`human`&&i.rewardEligible&&t.push({code:`human_online_reward`,severity:`error`,message:`Human grader ${i.id} cannot be an online optimizer reward.`,path:`graders.${i.id}`})}function Ca(e,t){let n=new Set(e.tasks.map(e=>e.id)),r=new Set(e.sourceRefs.map(e=>e.id));for(let i of[...e.learningSignals.demonstrations,...e.learningSignals.preferences,...e.learningSignals.corrections,...e.learningSignals.feedback,...e.learningSignals.rewards,...e.learningSignals.labels])i.taskId&&!e.datasetArtifact&&!n.has(i.taskId)&&t.push({code:`learning_signal_task_missing`,severity:`error`,message:`Signal ${i.id} references missing task ${i.taskId}.`,path:`learningSignals.${i.kind}.${i.id}.taskId`}),i.sourceRefs.some(e=>!r.has(e))&&t.push({code:`learning_signal_source_missing`,severity:`error`,message:`Signal ${i.id} references a source outside the Dataset.`,path:`learningSignals.${i.kind}.${i.id}.sourceRefs`});for(let n of e.learningSignals.preferences)n.chosen.trim()===n.rejected.trim()&&t.push({code:`preference_pair_identical`,severity:`error`,message:`Preference ${n.id} has identical chosen and rejected responses.`,path:`learningSignals.preferences.${n.id}`});for(let n of e.learningSignals.rewards)n.executable||t.push({code:`reward_not_executable`,severity:`warning`,message:`Reward ${n.id} is a reviewed specification but has no executable verifier yet.`,path:`learningSignals.rewards.${n.id}.executable`})}function wa(e,t,n){!e.exportable&&e.portabilityBlockers.length===0&&t.push({code:`portability_reason_missing`,severity:`error`,message:`Non-exportable Tasksets must declare a portability blocker.`,path:`capabilities.portabilityBlockers`}),e.compatibleMethods.includes(`grpo`)&&!e.rewardKinds.some(e=>e===`exact`||e===`deterministic`||e===`model_judge`)&&t.push({code:`grpo_reward_missing`,severity:`error`,message:`GRPO compatibility requires a scalar reward kind.`,path:`capabilities.rewardKinds`}),n?.capabilities.compatibleMethods.includes(`sft`)&&n.learningSignals.demonstrations.length===0&&t.push({code:`sft_demonstrations_missing`,severity:`error`,message:`SFT compatibility requires approved demonstrations.`,path:`learningSignals.demonstrations`}),n?.capabilities.compatibleMethods.includes(`dpo`)&&n.learningSignals.preferences.length===0&&t.push({code:`dpo_preferences_missing`,severity:`error`,message:`DPO compatibility requires chosen and rejected response pairs.`,path:`learningSignals.preferences`}),n&&(n.capabilities.compatibleMethods.includes(`grpo`)||n.capabilities.compatibleMethods.includes(`ppo`))&&!n.learningSignals.rewards.some(e=>e.executable)&&!n.graders.some(e=>e.rewardEligible&&e.weight>0&&e.kind!==`human`)&&t.push({code:`online_reward_not_executable`,severity:`error`,message:`GRPO/PPO compatibility requires an executable scalar reward.`,path:`learningSignals.rewards`})}export{ve as $,Et as A,R as B,ai as C,ii as D,Fi as E,xt as F,Ve as G,Ze as H,yt as I,je as J,Ne as K,rt as L,wt as M,gt as N,Qr as O,St as P,De as Q,He as R,ci as S,yi as T,Ue as U,We as V,qe as W,nt as X,Ie as Y,Oe as Z,Dr as _,Hi as a,Ti as b,Ui as c,ra as d,xe as et,na as f,pa as g,ua as h,ta as i,Tt as j,ri as k,oa as l,fa as m,$i as n,Ce as nt,da as o,ga as p,Me as q,ea as r,Ki as s,sa as t,be as tt,la as u,Y as v,si as w,Oi as x,Ei as y,et as z};
@@ -1 +0,0 @@
1
- import{T as e,a as t,c as n,d as r,l as i,m as a,o,p as s,r as c,v as l}from"./schemas-lO3MoWQr.js";import{E as u,d,i as f}from"./chunk-H3JZ3P5T-B0SCoPw4.js";import{E as ee,R as te}from"./contracts-BLiqJxBv.js";import{p}from"./chat-resources-CI8KFVO5.js";import{F as m,I as h,N as g,P as _}from"./chunk-ONGOAEY6-C__DQmRT.js";var v=s().int().nonnegative().nullable();a({requestId:l().min(1),startedAt:l().datetime(),provider:l(),model:l(),mode:l(),status:l(),source:l(),projectId:l().nullable(),inputTokens:v,cachedInputTokens:v,outputTokens:v,totalTokens:v}).strict();var y=s().int().nonnegative(),b=a({invocations:y,inputTokens:y,cachedInputTokens:y,outputTokens:y,totalTokens:y,missingInput:y,missingCachedInput:y,missingOutput:y,missingTotal:y,failures:y,unattributed:y}).strict(),x=a({total:b,days:t(b.extend({key:l().regex(/^\d{4}-\d{2}-\d{2}$/)})),modes:t(b.extend({key:l()})),models:t(b.extend({key:l()}))}).strict(),S=l().trim().min(1).max(500),C=l().regex(/^[a-f0-9]{64}$/),w=e(),T=s().int().nonnegative().max(1e6),ne=a({sourceKeyHash:C,nativeRevisionHash:C.nullable(),state:c([`reading`,`admitted`,`skipped`,`failed`]),reason:c([`no_eligible_boundaries`,`native_session_not_ready`,`source_read_failed`,`source_revision_unavailable`]).nullable(),unknownTimeBoundaries:T,normalized:t(a({sessionHash:C,boundaries:t(a({id:S,inputHash:C,revisionHash:C,occurredAt:w}).strict()).max(5e3)}).strict()).max(1e3)}).strict(),re=a({schemaVersion:r(`openpond.collectorCoverageManifest.v1`),jobId:S,connectionId:S,connectionRevision:s().int().positive(),machineId:S,sourceInstanceId:S,from:w.nullable(),to:w,startedAt:w,finishedAt:w.nullable(),listingComplete:o(),pendingOperations:T,sessions:t(ne).max(1e4)}).strict().superRefine((e,t)=>{e.from!==null&&Date.parse(e.from)>=Date.parse(e.to)&&t.addIssue({code:`custom`,message:`Collector source window is empty.`}),e.finishedAt!==null&&Date.parse(e.finishedAt)<Date.parse(e.startedAt)&&t.addIssue({code:`custom`,message:`Collector finish time precedes its start.`}),new Set(e.sessions.map(e=>e.sourceKeyHash)).size!==e.sessions.length&&t.addIssue({code:`custom`,message:`Collector source inventory is duplicated.`});let n=0;for(let r of e.sessions)for(let i of r.normalized){n+=i.boundaries.length,new Set(i.boundaries.map(e=>e.id)).size!==i.boundaries.length&&t.addIssue({code:`custom`,message:`Normalized source boundaries are duplicated.`});for(let n of i.boundaries)(Date.parse(n.occurredAt)>=Date.parse(e.to)||e.from!==null&&Date.parse(n.occurredAt)<Date.parse(e.from))&&t.addIssue({code:`custom`,message:`Eligible boundary is outside the declared event-time window.`})}n>2e4&&t.addIssue({code:`custom`,message:`Collector coverage exceeds its bounded boundary inventory.`})}),ie=a({jobId:S,manifestHash:C,sourceInventoryHash:C,eligibleBoundaryHash:C,from:w.nullable(),to:w,finishedAt:w.nullable(),conversations:T,eligibleTurns:T,admittedSessions:T,skippedSessions:T,failedSessions:T,unknownTimeBoundaries:T,pendingOperations:T,listingComplete:o(),complete:o()}).strict(),ae=l().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/),E=l().max(3e6),D=a({hash:ae,base64:E}).strict(),O=a({schemaVersion:r(`openpond.connectedGitFileProof.v1`),path:l().min(1).max(1e3).refine(e=>!/[\x00-\x1f\x7f]/.test(e)&&!e.startsWith(`/`)&&!e.includes(`\\`)&&e.split(`/`).length<=32&&e.split(`/`).every(e=>e&&e!==`.`&&e!==`..`&&e!==`.git`&&!e.startsWith(`.env`))),commit:D,trees:t(D).min(1).max(32),contentsBase64:E}).strict(),k=l().trim().min(1).max(500),oe=l().regex(/^[a-f0-9]{64}$/),A=a({id:k,revision:s().int().positive(),contentHash:oe}).strict(),j=a({schemaVersion:r(`openpond.hostedTasksetSummary.v1`),id:k,teamId:k,release:A,name:l().min(1).max(500),description:l().max(2e4),taskCount:s().int().nonnegative(),buildIntent:l().min(1).max(100),methodHint:l().min(1).max(100).nullable(),packageBytes:s().int().nonnegative().nullable(),storedBytes:s().int().nonnegative().nullable(),createdAt:l().datetime({offset:!0})}).strict();a({afterId:l().trim().min(1).max(2e3).optional(),limit:s().int().min(1).max(100).default(30),modelProjectId:k.optional(),projectId:k.optional(),search:l().trim().max(100).optional(),sort:c([`id`,`name`,`updated`]).default(`id`)}).strict(),a({items:t(j).max(100),nextCursor:l().trim().min(1).max(2e3).nullable()}).strict(),a({code:l().min(1),message:l().min(1)}).strict();var M=l().trim().min(1).max(500),N=l().regex(/^[a-f0-9]{64}$/);a({teamId:M,ownerUserId:M}).strict();var P=a({id:M,snapshotHash:N,boundaryId:M,boundaryRevisionHash:N}).strict(),F=a({sourceId:M,source:h,sessionId:M,snapshotHash:N,title:l().max(500),projectId:M.nullable(),capturedAt:l().datetime(),boundaries:t(_.omit({start:!0,end:!0})).max(g.boundaries)}).strict();a({operationId:M,conversationId:M.optional(),cursor:M.optional(),limit:s().int().min(1).max(50).default(20)}).strict();var I=a({hash:N,parts:s().int().min(1).max(1500)}).strict();I.extend({index:s().int().nonnegative().max(1499),base64:l().max(35e4)}).strict(),a({path:l().min(1).max(500),encoding:c([`utf8`,`zstd`]),base64:l()}).strict();var L=a({upload:I,source:c([`codex`,`claude_code`,`hermes`,`openclaw`,`opencode`,`grok_build`,`pi`,`oh_my_pi`]),branchLeafId:M.optional(),acquisition:a({machineId:M,sourceInstanceId:M}).strict().optional(),destination:n(`kind`,[a({kind:r(`existing`),projectId:M}).strict(),a({kind:r(`new`),name:l().trim().min(1).max(200)}).strict()])}).strict(),R=L.extend({operationId:M,previewHash:N,selection:t(a({sessionHash:N,boundaryIds:t(M).min(1).max(g.boundaries)}).strict()).min(1).max(g.sessions)}).strict(),z=a({from:l().datetime(),to:l().datetime(),projectId:M.optional()}).strict(),se=a({teamId:M,range:z,activity:a({conversations:s().int().nonnegative(),turns:s().int().nonnegative(),chatTurns:s().int().nonnegative(),workTurns:s().int().nonnegative()}).strict(),accounting:a({contextSnapshots:s().int().nonnegative()}).strict(),usage:x}).strict(),B=l().trim().min(1).max(240),V=l().regex(/^[a-f0-9]{64}$/);a({cursor:l().trim().min(1).max(2e3).optional(),projectId:B.optional(),search:l().trim().max(100).optional(),sort:c([`id`,`name`,`updated`]).default(`id`),limit:s().int().min(1).max(100).default(100)}).strict(),a({operationId:B,expectedRevision:s().int().nonnegative(),originProjectId:B.optional(),workspace:p,ownerScope:c([`workspace`,`personal`]).optional()}).strict().superRefine((e,t)=>{e.workspace.draft.modelScope!==null&&t.addIssue({code:`custom`,message:`Independent datasets cannot carry Model-owned draft preparation.`}),e.workspace.draft.status!==`draft`&&t.addIssue({code:`custom`,message:`Only draft workspaces can be saved.`})});var H=a({schemaVersion:r(`openpond.datasetWorkspaceReceipt.v1`),teamId:B,datasetId:B,revision:s().int().positive(),originProjectId:B.optional(),workspace:p,ownerScope:c([`workspace`,`personal`]).optional(),publication:a({tasksetId:B,release:A,packageHash:V}).strict().nullable()}).strict().superRefine((e,t)=>{(e.workspace.draft.id!==e.datasetId||e.workspace.draft.profileId!==e.teamId||e.workspace.draft.revision!==e.revision||e.workspace.draft.modelScope!==null)&&t.addIssue({code:`custom`,message:`Dataset workspace scope/revision mismatch.`})});a({operationId:B,expectedRevision:s().int().positive(),workspaceHash:V,packageHash:V}).strict(),a({operationId:B,expectedRevision:s().int().positive()}).strict(),a({teamId:B,datasetId:B,items:t(a({workspaceRevision:s().int().positive(),publication:H.shape.publication.unwrap(),publishedAt:e()}).strict()).max(25),nextBeforeRevision:s().int().positive().nullable()}).strict(),a({teamId:B,datasets:t(a({id:B,revision:s().int().positive(),originProjectId:B.optional(),name:l(),status:c([`draft`,`published`]),ownerScope:c([`workspace`,`personal`]).optional(),taskCount:s().int().nonnegative().optional(),publication:H.shape.publication,updatedAt:l().datetime()}).strict()).max(100),nextCursor:l().trim().min(1).max(2e3).nullable()}).strict(),a({teamId:B,datasetId:B,revision:s().int().positive(),workspaceHash:V,packageHash:V,release:A}).strict();var U=l().trim().min(1).max(240),W=l().regex(/^[a-f0-9]{64}$/);a({operationId:U,source:P,proofs:t(O).min(1).max(100)}).strict().superRefine((e,t)=>{new Set(e.proofs.map(e=>e.path)).size!==e.proofs.length&&t.addIssue({code:`custom`,message:`Select each starting path once.`}),new TextEncoder().encode(JSON.stringify(e)).byteLength>15728640&&t.addIssue({code:`custom`,message:`Starting assets exceed the retained upload allowance.`})});var G=a({path:O.shape.path,commitHash:l().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/),gitObjectHash:l().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/),mode:c([`100644`,`100755`]),sizeBytes:s().int().nonnegative().max(2097152),sha256:W}).strict();a({schemaVersion:r(`openpond.connectedStartingAssetsReceipt.v1`),id:U,operationId:U,teamId:U,ownerUserId:U,projectId:U,requestHash:W,source:P,inputHash:W,observationHash:W,assets:t(G).min(1).max(100),selectedPathsUnmodified:r(!0),dependencyClosureQualified:r(!1),createdAt:e(),receiptHash:W}).strict();var K=l().min(1).max(200),q=l().regex(/^[a-f0-9]{64}$/),J=a({operationId:K,name:l().trim().min(1).max(500),projectId:K,dataset:f.extend({revision:s().int().positive()}).strict(),caseIds:t(K).min(1).max(1e4)}).strict().superRefine((e,t)=>{new Set(e.caseIds).size!==e.caseIds.length&&t.addIssue({code:`custom`,message:`Select each case once.`})}),ce=P.extend({inputHash:q,outputHash:q.nullable(),task:u,taskHash:q}).strict(),le=a({schemaVersion:r(`openpond.connectedRecordedExecution.v1`),id:K,teamId:K,ownerUserId:K,request:J,manifest:ee,sources:t(ce).min(1).max(1e4),contentHash:q}).strict();function ue(e){let t=le.parse(e),{contentHash:n,...r}=t,{contentHash:i,...a}=t.manifest;if(d(r)!==n||d(a)!==i||t.manifest.teamId!==t.teamId||t.manifest.id!==t.id||t.manifest.operationId!==t.request.operationId||d(t.manifest.dataset)!==d(t.request.dataset)||t.sources.length!==t.request.caseIds.length||t.sources.length!==t.manifest.population.length||t.sources.some((e,n)=>e.taskHash!==d(e.task)||e.task.id!==t.request.caseIds[n]||e.boundaryId!==e.task.id||t.manifest.population[n]?.caseId!==e.boundaryId))throw Error(`Recorded execution identity or population integrity failed.`);return t}a({projectId:K.optional(),cursor:K.optional(),limit:s().int().min(1).max(50).default(20)}).strict();var de=a({id:K,teamId:K,ownerUserId:K,projectId:K,name:l().min(1).max(500),dataset:J.shape.dataset,manifestHash:q,contentHash:q,caseCount:s().int().min(1).max(1e4),createdAt:l().datetime()}).strict();a({teamId:K,items:t(de).max(50),nextCursor:K.nullable()}).strict(),a({datasetId:l().trim().min(1).max(240),expectedRevision:s().int().positive(),operationId:l().trim().min(1).max(240),graders:t(te).min(1).max(100).optional()}).strict().superRefine((e,t)=>{e.graders&&new Set(e.graders.map(e=>e.id)).size!==e.graders.length&&t.addIssue({code:`custom`,path:[`graders`],message:`Choose one exact revision of each grader.`})});var Y=l().min(1).max(500),X=s().int().nonnegative();a({teamId:Y,ownerUserId:Y,projectId:Y.nullable(),status:c([`active`,`paused`,`archived`]),revision:X,state:c([`collecting`,`pending`,`attention`,`paused`,`archived`]),lastReconciledAt:l().datetime().nullable(),lastCapturedAt:l().datetime().nullable(),historyDays:s().int().positive(),sources:X,tasks:X,datasets:t(a({datasetId:Y,projection:c([`turn`,`conversation`]),revision:X}).strict()).max(2),latestBatch:a({operationId:Y,updatedAt:l().datetime(),scanned:X,captured:X,unchanged:X,pending:X,failed:X,excluded:X,paused:X,hasMore:o()}).strict().nullable()}).strict();var Z=l().min(1).max(500),Q=l().regex(/^[a-f0-9]{64}$/),fe=a({teamId:Z,projectId:Z.nullable(),status:c([`active`,`paused`,`archived`]),revision:s().int().nonnegative()}).strict(),pe=a({teamId:Z,operationId:Z,projectId:Z.nullable(),outcomes:t(a({conversationId:Z,state:c([`captured`,`unchanged`,`pending`,`paused`,`excluded`,`failed`]),sourceId:Z.optional(),snapshotHash:Q.optional(),reason:l().optional()}).strict()).max(50),nextCursor:Z.nullable()}).strict(),me=a({teamId:Z,ref:P,origin:F.shape.source,sessionId:Z,projectId:Z,capturedAt:l().datetime(),unmappedEvidence:a({count:s().int().nonnegative().max(1e5),contentHash:Q}).strict(),evidence:a({input:t(m),observed:t(m),answer:i(),boundary:_}).strict()}).strict(),he=a({teamId:Z,sourceId:Z,snapshotHash:Q,contentHash:Q,count:s().int().nonnegative(),offset:s().int().nonnegative(),events:t(m).max(50),nextOffset:s().int().nonnegative().nullable()}).strict(),ge=a({teamId:Z,source:L.shape.source,sourceHash:Q,previewHash:Q,destination:L.shape.destination,issues:t(a({file:l(),message:l()}).strict()).max(100),sessions:t(a({sessionHash:Q,sessionId:Z,origin:F.shape.source,exporterVersion:l().nullable(),eventCount:s().int().nonnegative(),boundaries:t(a({id:Z,projection:c([`turn`,`conversation`]),answer:o(),process:c([`retained`,`partial`,`absent`]),terminal:c([`completed`,`failed`,`cancelled`,`unknown`])}).strict()).max(5001),warnings:t(l()).max(100),sample:t(a({role:c([`user`,`assistant`,`system`,`tool`]).nullable(),text:l().max(4e3)}).strict()).max(3)}).strict()).max(1e3)}).strict(),_e=a({teamId:Z,operationId:Z,requestHash:Q,previewHash:Q,projectId:Z.optional(),state:c([`admitting`,`publishing`,`completed`,`failed`]),outcomes:t(a({sessionHash:Q,sourceId:Z,status:c([`imported`,`already_present`]),datasets:t(a({datasetId:Z,revision:s().int().positive(),changed:o()}).strict()).max(2)}).strict()).max(1e3),error:l().optional()}).strict(),$=l().trim().min(1).max(240);a({id:$,expectedRevision:s().int().positive(),manifest:re}).strict().refine(e=>e.id===e.manifest.connectionId&&e.expectedRevision===e.manifest.connectionRevision,`Collector coverage scope differs from its connection.`),a({id:$,cutoff:e().optional()}).strict(),a({schemaVersion:r(`openpond.connectedSyncCoverageReceipt.v1`),id:$,teamId:$,ownerUserId:$,connectionId:$,connectionRevision:s().int().positive(),receivedAt:e(),summary:ie}).strict(),a({id:$,source:L.shape.source,machineId:$,sourceInstanceId:$,sourceLabel:l().trim().min(1).max(200),sourceRoot:l().min(1).max(2e3),destination:L.shape.destination,since:l().datetime().nullable(),keepSyncing:o(),expectedRevision:s().int().nonnegative()}).strict(),a({id:$,expectedRevision:s().int().positive(),action:c([`pause`,`resume`,`disconnect`])}).strict(),a({id:$,operationId:$,expectedRevision:s().int().positive()}).strict(),a({id:$,expectedRevision:s().int().positive(),pendingOperations:s().int().min(0).max(1e4),error:l().max(500).nullable(),completedSyncRevision:s().int().nonnegative().default(0)}).strict(),a({teamId:$,id:$,revision:s().int().positive(),source:L.shape.source,sourceLabel:l(),sourceRoot:l(),taskDatasetId:$.nullable(),conversationDatasetId:$.nullable(),machineId:$,sourceInstanceId:$,projectId:$,datasetIds:t($).max(2),since:l().datetime().nullable(),keepSyncing:o(),state:c([`active`,`paused`,`disconnected`]),health:c([`online`,`offline`]),lastHeartbeatAt:l().datetime().nullable(),lastAdmissionAt:l().datetime().nullable(),pendingOperations:s().int().nonnegative(),admittedTasks:s().int().nonnegative(),error:l().nullable(),requestedSyncRevision:s().int().nonnegative().default(0),completedSyncRevision:s().int().nonnegative().default(0),syncRequestedAt:l().datetime().nullable().default(null),syncCompletedAt:l().datetime().nullable().default(null)}).strict().refine(e=>e.completedSyncRevision<=e.requestedSyncRevision&&e.requestedSyncRevision<=e.revision,`Invalid sync acknowledgement generation.`),a({connectionId:$,expectedRevision:s().int().positive(),request:R}).strict();export{fe as a,R as c,F as d,G as f,A as h,me as i,P as l,j as m,_e as n,he as o,H as p,pe as r,ue as s,ge as t,se as u};
@@ -1 +0,0 @@
1
- import{m as e}from"./index-D9WbJMSq.js";e();
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-CXQny8HU.js";var t=e(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]);export{t};
@@ -1 +0,0 @@
1
- var e=[`get-started`,`home`,`inbox`,`models`,`datasets`,`graders`,`experiments`,`tasks`,`tasksets`,`labeling`,`rewards`,`evaluations`,`runs`,`versions`,`serving`],t={"get-started":`Get started`,home:`Home`,inbox:`Inbox`,models:`Models`,datasets:`Datasets`,graders:`Graders`,experiments:`Experiments`,tasks:`Tasks`,tasksets:`Tasksets`,labeling:`Labeling`,rewards:`Rewards`,evaluations:`Runs`,runs:`Training`,versions:`Versions`,serving:`Serving`},n={tasks:[`drafts`],tasksets:[`drafts`,`formats`,`batches`],rewards:[`scorers`,`combined`],evaluations:[`results`,`review`,`comparisons`],runs:[`series`,`new`]},r={datasets:[`tasks`,`experiments`,`graders`,`versions`],graders:[`overview`,`checks`,`usage`,`versions`],experiments:[`tasks`,`graders`,`versions`,`diagnostics`,`overview`,`cases`,`compare`,`configuration`],tasksets:[`overview`,`tasks`,`reward`,`attempts`,`releases`],rewards:[`definition`,`usage`,`evidence`],evaluations:[`overview`,`comparison`,`activity`],runs:[`diagnostics`,`details`,`metrics`,`evaluation`,`rollouts`,`activity`,`artifacts`],versions:[`overview`,`metrics`,`evaluation`,`rollouts`,`activity`,`artifacts`]};function i(e=`models`,t=null,n={}){return e===`evaluations`&&n.collection===`review`?i(`labeling`,t,{...n,collection:`default`}):{page:e,modelId:[`get-started`,`home`,`inbox`,`datasets`,`graders`,`experiments`].includes(e)?null:t,collection:e===`evaluations`?`results`:`default`,resourceId:null,detailTab:null,query:``,after:null,...n}}function a(t){let a=t.pathname.split(`/`).filter(Boolean);if(a[0]!==`models`&&a[0]!==`console`)return null;let o;try{o=a.slice(1).map(decodeURIComponent)}catch{return null}if(o.some(e=>!e.trim()||e.length>2e3||e.includes(`\0`)))return null;let s=o[0]&&!e.includes(o[0])?o.shift():null;if(s&&(s.length>500||[`projects`,`scorers`].includes(s)))return null;o[0]===`runs`&&o[1]===`evaluations`&&o.splice(0,2,`evaluations`,`results`),o[0]===`runs`&&o[1]===`comparisons`&&o.splice(0,2,`evaluations`,`comparisons`);let c=o.shift(),l=c??`models`;if(!e.includes(l)||c===`models`||s&&l===`get-started`)return null;let u=l===`evaluations`?`results`:`default`;if(n[l]?.includes(o[0]))u=o.shift();else if(l===`evaluations`&&o.length)return null;if(l===`experiments`&&o[0]===`history`)return null;let d=o.shift()??null,f=o.shift()??null;if(o.length||f&&!d||(l===`models`||l===`get-started`||l===`home`)&&d)return null;if(u===`drafts`||u===`new`){if(!d||f)return null}else if(u!==`series`){if([`review`,`formats`,`batches`,`comparisons`,`scorers`,`combined`].includes(u)){if(f)return null}else if(f&&!r[l]?.includes(f))return null}if(l===`serving`&&f)return null;let p=new URLSearchParams(t.search??``);if([...p.keys()].some(e=>![`model`,`q`,`after`,`source`,`project`,`pass`,`dataset`,`revision`,`hash`,`sort`,`location`,`kind`,`review_source`,`review_snapshot`,`review_boundary`,`review_revision`].includes(e))||[...p.keys()].some(e=>p.getAll(e).length!==1))return null;let m=[`review_source`,`review_snapshot`,`review_boundary`,`review_revision`],h=m.some(e=>p.has(e));if(h&&(l!==`datasets`||d||p.get(`location`)===`local`||m.some(e=>!p.get(e))||[p.get(`review_source`),p.get(`review_boundary`)].some(e=>!e.trim()||e.length>500||e.includes(`\0`))||[p.get(`review_snapshot`),p.get(`review_revision`)].some(e=>!/^[a-f0-9]{64}$/.test(e))))return null;let g=h?{id:p.get(`review_source`),snapshotHash:p.get(`review_snapshot`),boundaryId:p.get(`review_boundary`),boundaryRevisionHash:p.get(`review_revision`)}:void 0,_=p.get(`sort`);if(_!==null&&(l!==`datasets`||![`id`,`name`,`updated`].includes(_)))return null;let v=p.has(`revision`)?Number(p.get(`revision`)):void 0,y=p.get(`hash`)??void 0,b=[`datasets`,`graders`].includes(l);if((v!==void 0||y!==void 0)&&(!d||!b||!Number.isSafeInteger(v)||v<=0||!/^[a-f0-9]{64}$/.test(y??``)))return null;let x=p.get(`source`);if(x!==null&&(l!==`labeling`&&(l!==`evaluations`||u!==`review`)||!x.trim()||x.length>500)||p.has(`dataset`)&&(l!==`datasets`||!d||p.get(`dataset`)!==`release`))return null;let S=[`home`,`inbox`,`datasets`,`graders`,`experiments`].includes(l),C=l===`runs`&&!!(d?.startsWith(`hosted-run:`)||d?.startsWith(`hosted-policy:`)),w=p.get(`location`);if(w!==null&&(!S||![`local`,`hosted`].includes(w)))return null;let T=p.get(`kind`);if(T!==null&&(l!==`experiments`||!d||w===`local`||T!==`recorded_evidence`)||a[0]===`console`&&!S&&l!==`runs`)return null;let E=p.get(`project`)===`all`?null:p.get(`project`),D=p.get(`pass`);if([E,D].some(e=>e!==null&&(!e.trim()||e.length>240))||!S&&!C&&(E||D)||l!==`experiments`&&D||(S||C)&&s||D&&!d)return null;let O=p.get(`model`);if(S&&O!==null||s&&O&&s!==O)return null;let k=s??O;if(l===`get-started`&&p.size!==0)return null;let A=p.get(`q`)??``,j=p.get(`after`);return k!==null&&(!k.trim()||k.length>500)||A.length>1e3||j!==null&&(!j.trim()||j.length>2e3)?null:i(l,k,{...g?{reviewSource:g}:{},collection:u,resourceId:d,detailTab:f,query:A,after:j,...T?{executionKind:`recorded_evidence`}:{},...w?{executionLocation:w}:{},..._?{sort:_}:{},...v===void 0?{}:{revision:v,contentHash:y},...p.get(`dataset`)===`release`?{datasetKind:`release`}:{},...a[0]===`console`?{area:`console`}:{},...S||C?{...p.has(`project`)?{projectId:E}:{},...p.has(`pass`)?{passId:D}:{}}:{},...x===null?{}:{sourceId:x}})}function o(e){let t=[e.area===`console`?`/console`:`/models`];if(e.modelId&&t.push(encodeURIComponent(e.modelId)),e.page===`evaluations`&&e.collection===`review`)return o(i(`labeling`,e.modelId,{collection:`default`,resourceId:e.resourceId,sourceId:e.sourceId,query:e.query,after:e.after}));e.page===`evaluations`?t.push(`runs`,e.collection===`comparisons`?`comparisons`:`evaluations`):(e.page!==`models`&&t.push(e.page),e.collection!=="default"&&t.push(e.collection)),e.resourceId&&t.push(encodeURIComponent(e.resourceId)),e.resourceId&&e.detailTab&&t.push(encodeURIComponent(e.detailTab));let n=new URLSearchParams;return e.page===`datasets`&&!e.resourceId&&e.reviewSource&&(n.set(`review_source`,e.reviewSource.id),n.set(`review_snapshot`,e.reviewSource.snapshotHash),n.set(`review_boundary`,e.reviewSource.boundaryId),n.set(`review_revision`,e.reviewSource.boundaryRevisionHash)),e.executionLocation&&n.set(`location`,e.executionLocation),e.projectId?n.set(`project`,e.projectId):e.projectId===null&&[`home`,`inbox`,`datasets`,`graders`,`experiments`].includes(e.page)&&n.set(`project`,`all`),e.page===`datasets`&&e.resourceId&&e.datasetKind===`release`&&n.set(`dataset`,`release`),e.page===`datasets`&&e.sort&&n.set(`sort`,e.sort),e.revision!==void 0&&e.contentHash&&e.resourceId&&[`datasets`,`graders`].includes(e.page)&&(n.set(`revision`,String(e.revision)),n.set(`hash`,e.contentHash)),e.passId&&n.set(`pass`,e.passId),e.page===`experiments`&&e.resourceId&&e.executionKind&&n.set(`kind`,e.executionKind),e.query&&n.set(`q`,e.query),e.after&&n.set(`after`,e.after),(e.page===`labeling`||e.page===`evaluations`&&e.collection===`review`)&&e.sourceId&&n.set(`source`,e.sourceId),`${t.join(`/`)}${n.size?`?${n}`:``}`}function s(e,t){return i(e.page,t,{...e.area?{area:e.area}:{},...[`home`,`inbox`,`datasets`,`graders`,`experiments`].includes(e.page)&&e.projectId!==void 0?{projectId:e.projectId}:{},collection:e.collection===`new`||e.collection===`drafts`?`default`:e.collection})}function c(e,t,n=null){return{...e,resourceId:t,detailTab:n,after:null,...t===e.resourceId?{}:{revision:void 0,contentHash:void 0}}}export{o as a,i,t as n,c as o,s as r,a as s,e as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-CXQny8HU.js";var t=e(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]);export{t};
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-CXQny8HU.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};