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.
- package/dist/app-server.d.ts +76 -2
- package/dist/app-server.js +1 -1
- package/dist/chunks/account-context-TIJOM22A.js +12 -0
- package/dist/chunks/acp-G5GCLP44.js +2 -0
- package/dist/chunks/acp-agent-JM5THNMF.js +19 -0
- package/dist/chunks/actions-command-VLKMHCMI.js +2 -0
- package/dist/chunks/app-layer-DZHMJUBC.js +3 -0
- package/dist/chunks/app-server-connected-apps-IB6M35NS.js +2 -0
- package/dist/chunks/app-server-evaluations-V6LRWDUF.js +2 -0
- package/dist/chunks/app-server-harness-services-6ZRLA3YD.js +2 -0
- package/dist/chunks/app-server-runtime-6LCX46RF.js +2 -0
- package/dist/chunks/apps-7LPKIYRY.js +2 -0
- package/dist/chunks/{chunk-NZTCH6K5.js → chunk-2GJD23CM.js} +1 -1
- package/dist/chunks/{chunk-BKEDG3A4.js → chunk-2MEOUS24.js} +1 -1
- package/dist/chunks/{chunk-DUL6DXOI.js → chunk-2W22IXHB.js} +1 -1
- package/dist/chunks/{chunk-GGJUWIGR.js → chunk-36FNNR5N.js} +1 -1
- package/dist/chunks/chunk-3BJ7LPE3.js +2 -0
- package/dist/chunks/chunk-3MVKXAH7.js +2 -0
- package/dist/chunks/{chunk-UTNGEMW5.js → chunk-3WJQ4IGK.js} +1 -1
- package/dist/chunks/{chunk-G6OR5NB6.js → chunk-4D3CICBG.js} +1 -1
- package/dist/chunks/chunk-4DYWVGVS.js +2 -0
- package/dist/chunks/{chunk-KUPJNBWG.js → chunk-4JYTFEND.js} +1 -1
- package/dist/chunks/chunk-4MQHIFZL.js +2 -0
- package/dist/chunks/chunk-4TO743HO.js +4 -0
- package/dist/chunks/{chunk-B4RKHHF7.js → chunk-4TTXNVCE.js} +1 -1
- package/dist/chunks/{chunk-3YXYBYWK.js → chunk-4V73I4OL.js} +1 -1
- package/dist/chunks/chunk-55Q64WWF.js +2 -0
- package/dist/chunks/{chunk-F7QTIHXX.js → chunk-5AU5Y6KS.js} +1 -1
- package/dist/chunks/chunk-5HPZGLOL.js +2 -0
- package/dist/chunks/{chunk-LCSBCCYC.js → chunk-5JVJQA5H.js} +1 -1
- package/dist/chunks/chunk-5KJMFK65.js +2 -0
- package/dist/chunks/{chunk-BSPFY3Y5.js → chunk-5KWKSR4P.js} +1 -1
- package/dist/chunks/chunk-5WPMI6QX.js +2 -0
- package/dist/chunks/{chunk-SHJY5RLU.js → chunk-5Z3AU5CL.js} +1 -1
- package/dist/chunks/{chunk-DQI5TE6A.js → chunk-66HFW4OU.js} +1 -1
- package/dist/chunks/{chunk-NT7N6KLE.js → chunk-67HXM6AL.js} +1 -1
- package/dist/chunks/{chunk-J7ZTPXRQ.js → chunk-6C3CXME7.js} +1 -1
- package/dist/chunks/{chunk-PWK5Z5S3.js → chunk-6ESBAHWK.js} +1 -1
- package/dist/chunks/{chunk-XNOMIWEY.js → chunk-6I5AUTVO.js} +1 -1
- package/dist/chunks/{chunk-OG33QAG6.js → chunk-6S2MWJVD.js} +1 -1
- package/dist/chunks/{chunk-KCOTDUGW.js → chunk-6TRVEA3T.js} +1 -1
- package/dist/chunks/chunk-6ZTP6CUJ.js +2 -0
- package/dist/chunks/{chunk-4L6DU6Z2.js → chunk-7FBWUVX7.js} +1 -1
- package/dist/chunks/{chunk-GPL2Z65R.js → chunk-7P5SH3CI.js} +2 -2
- package/dist/chunks/chunk-7PKTCMZ6.js +2 -0
- package/dist/chunks/chunk-7XOUM6RK.js +2 -0
- package/dist/chunks/chunk-A77DLBR4.js +2 -0
- package/dist/chunks/chunk-AF3AVDPP.js +2 -0
- package/dist/chunks/{chunk-RV7PUSI2.js → chunk-AJXWJLZA.js} +1 -1
- package/dist/chunks/chunk-AMC4Z7G4.js +2 -0
- package/dist/chunks/chunk-ANG2YMMD.js +2 -0
- package/dist/chunks/{chunk-ZPTKR3GB.js → chunk-B32CW3NT.js} +1 -1
- package/dist/chunks/{chunk-Y766IN7Y.js → chunk-B666Z2NS.js} +1 -1
- package/dist/chunks/chunk-BJXPQIVD.js +2 -0
- package/dist/chunks/{chunk-WBUK73ST.js → chunk-BL3CZWWD.js} +1 -1
- package/dist/chunks/{chunk-XMHIQ3SK.js → chunk-BTJACFU3.js} +2 -2
- package/dist/chunks/{chunk-25XXZS3E.js → chunk-C5B3FMV3.js} +1 -1
- package/dist/chunks/chunk-CRDKBFRN.js +2 -0
- package/dist/chunks/chunk-CYQLXS2U.js +2 -0
- package/dist/chunks/{chunk-N4VHLJBZ.js → chunk-D7R2AAX2.js} +1 -1
- package/dist/chunks/{chunk-LSZJ5M3X.js → chunk-DAEUVT2I.js} +1 -1
- package/dist/chunks/{chunk-ELX7VRSU.js → chunk-DIDQHTAX.js} +1 -1
- package/dist/chunks/chunk-DMO3UIS7.js +6 -0
- package/dist/chunks/{chunk-4BJGUCHY.js → chunk-DRMOHADV.js} +1 -1
- package/dist/chunks/{chunk-FYYYECHE.js → chunk-DSJZS77R.js} +4 -4
- package/dist/chunks/{chunk-7HRLWPPZ.js → chunk-DXA2UHBE.js} +1 -1
- package/dist/chunks/{chunk-T6JN4PND.js → chunk-EBOTNBUS.js} +1 -1
- package/dist/chunks/chunk-ECOH24MC.js +9 -0
- package/dist/chunks/{chunk-6PKXJEJM.js → chunk-EICS777E.js} +1 -1
- package/dist/chunks/{chunk-4SZ3HKHU.js → chunk-EVQISX7M.js} +1 -1
- package/dist/chunks/{chunk-2HAWOMZK.js → chunk-EW7CD7OA.js} +1 -1
- package/dist/chunks/chunk-FEQ7HNJR.js +2 -0
- package/dist/chunks/{chunk-IWWXIUAQ.js → chunk-FHLSLOKH.js} +8 -8
- package/dist/chunks/{chunk-BU27SLZP.js → chunk-FS2VKOT7.js} +1 -1
- package/dist/chunks/{chunk-4FNCBA3Y.js → chunk-FUFI4THX.js} +1 -1
- package/dist/chunks/{chunk-W5W4IODW.js → chunk-FYWQWKVS.js} +1 -1
- package/dist/chunks/{chunk-IZ56L2ZK.js → chunk-G4747MOW.js} +1 -1
- package/dist/chunks/{chunk-J572ANHX.js → chunk-G4E3WGLM.js} +4 -4
- package/dist/chunks/{chunk-P7HRF4FM.js → chunk-GD3RCUDH.js} +1 -1
- package/dist/chunks/{chunk-HUCBKXTU.js → chunk-GDJ4X2ZN.js} +1 -1
- package/dist/chunks/{chunk-JHR3LF2F.js → chunk-GF55VEMR.js} +1 -1
- package/dist/chunks/{chunk-GXCUH2VV.js → chunk-GFAI2MCJ.js} +3 -3
- package/dist/chunks/{chunk-KOKX7PBS.js → chunk-GI7LTJV3.js} +1 -1
- package/dist/chunks/{chunk-TCOTXCV6.js → chunk-GIU3Z45P.js} +1 -1
- package/dist/chunks/chunk-GKLZQN6P.js +161 -0
- package/dist/chunks/{chunk-GXZCMO6S.js → chunk-GRLQHYAU.js} +2 -2
- package/dist/chunks/{chunk-M3SCON53.js → chunk-GUG2SWRZ.js} +1 -1
- package/dist/chunks/{chunk-JQRMDFF3.js → chunk-H42UW6IF.js} +1 -1
- package/dist/chunks/{chunk-EZRUWIP6.js → chunk-H5ML7735.js} +1 -1
- package/dist/chunks/{chunk-VNJAAYNQ.js → chunk-HIQPGYVH.js} +1 -1
- package/dist/chunks/{chunk-DLANLLKH.js → chunk-HNDAGZCF.js} +1 -1
- package/dist/chunks/{chunk-OE22TAXP.js → chunk-HNQPEOJD.js} +1 -1
- package/dist/chunks/chunk-HORMGT2Q.js +2 -0
- package/dist/chunks/{chunk-2V4LPUBH.js → chunk-HPTEJBP4.js} +1 -1
- package/dist/chunks/{chunk-R6VJDOQM.js → chunk-HQQJKWZY.js} +4 -4
- package/dist/chunks/{chunk-UWHIU24L.js → chunk-HVM2GUM3.js} +1 -1
- package/dist/chunks/{chunk-NEJLJ2XY.js → chunk-HX6GXMDK.js} +1 -1
- package/dist/chunks/chunk-I3NYYOSS.js +2 -0
- package/dist/chunks/{chunk-LV3CQ72P.js → chunk-I6VMRQF4.js} +1 -1
- package/dist/chunks/{chunk-QU4UE73E.js → chunk-IEVJLG3V.js} +1 -1
- package/dist/chunks/chunk-IOSBGCRT.js +2 -0
- package/dist/chunks/{chunk-SO42ZB5K.js → chunk-JBFPTEVE.js} +1 -1
- package/dist/chunks/{chunk-G32BO6M5.js → chunk-JD76ANPN.js} +1 -1
- package/dist/chunks/{chunk-ERJV5BMC.js → chunk-JFZ6USNQ.js} +1 -1
- package/dist/chunks/{chunk-UPWJSNL5.js → chunk-JLW5BQVO.js} +1 -1
- package/dist/chunks/chunk-JRGECNP3.js +2 -0
- package/dist/chunks/{chunk-DABBHWSF.js → chunk-KAWXVMHI.js} +1 -1
- package/dist/chunks/chunk-KGUPAPGR.js +2 -0
- package/dist/chunks/{chunk-AHOBCBVZ.js → chunk-KOKBDIGR.js} +1 -1
- package/dist/chunks/chunk-KTIBXRWQ.js +2 -0
- package/dist/chunks/chunk-L4EJ5R3B.js +23 -0
- package/dist/chunks/{chunk-SI5W5LBV.js → chunk-LARJARMS.js} +1 -1
- package/dist/chunks/{chunk-MPNJ2BB4.js → chunk-LE75SVEL.js} +1 -1
- package/dist/chunks/{chunk-ERT32RZA.js → chunk-LI3FTPAH.js} +5 -5
- package/dist/chunks/chunk-LK77GI6M.js +2 -0
- package/dist/chunks/chunk-LOIYNRBC.js +33 -0
- package/dist/chunks/{chunk-7WYL2IDD.js → chunk-LXZLLTYQ.js} +1 -1
- package/dist/chunks/{chunk-RZUCVF2Q.js → chunk-LYVHYT3L.js} +1 -1
- package/dist/chunks/{chunk-MWXW2CA6.js → chunk-LZPCA6DH.js} +1 -1
- package/dist/chunks/{chunk-GVARQXYI.js → chunk-M5QPL5NO.js} +1 -1
- package/dist/chunks/{chunk-WWQNMC7C.js → chunk-MCBRB5D6.js} +1 -1
- package/dist/chunks/chunk-MHPCVQOE.js +2 -0
- package/dist/chunks/chunk-MMJU6PZV.js +2 -0
- package/dist/chunks/chunk-MVPKU72J.js +4 -0
- package/dist/chunks/{chunk-AGVOGPAZ.js → chunk-MWS2NAHJ.js} +1 -1
- package/dist/chunks/{chunk-R6WMY6AH.js → chunk-NTM3KQ25.js} +1 -1
- package/dist/chunks/chunk-NXN7GJOH.js +2 -0
- package/dist/chunks/chunk-O6ZYDHEJ.js +3 -0
- package/dist/chunks/chunk-OKEC2EIE.js +2 -0
- package/dist/chunks/{chunk-KCV5VN4X.js → chunk-OKKNDQJF.js} +1 -1
- package/dist/chunks/{chunk-ZYVHOVKL.js → chunk-OPTJYDZN.js} +1 -1
- package/dist/chunks/{chunk-NJLULBTM.js → chunk-OTDDXEQ6.js} +1 -1
- package/dist/chunks/{chunk-RDSVU6F6.js → chunk-OTUS7NTQ.js} +1 -1
- package/dist/chunks/{chunk-UH4JSSRL.js → chunk-OTXGAKFH.js} +8 -8
- package/dist/chunks/chunk-OW3EOC5Q.js +4 -0
- package/dist/chunks/chunk-OXRVILDW.js +2 -0
- package/dist/chunks/{chunk-JEISPWWM.js → chunk-PWKJ5KLZ.js} +1 -1
- package/dist/chunks/{chunk-RFMME46Z.js → chunk-PYNW5OFA.js} +1 -1
- package/dist/chunks/{chunk-AKGCM53D.js → chunk-Q3WXB465.js} +1 -1
- package/dist/chunks/{chunk-KHTAAVC2.js → chunk-Q4AXZY2P.js} +1 -1
- package/dist/chunks/{chunk-QJ6KUVAR.js → chunk-QAEZNFAM.js} +1 -1
- package/dist/chunks/{chunk-ABF3W2MO.js → chunk-QAFXQHHG.js} +2 -2
- package/dist/chunks/chunk-QCJY6FTC.js +3 -0
- package/dist/chunks/{chunk-5MHYGMJG.js → chunk-QJJNHKLT.js} +1 -1
- package/dist/chunks/{chunk-ERL2M773.js → chunk-QYQZQVVN.js} +1 -1
- package/dist/chunks/{chunk-VVNV4NNW.js → chunk-RCT3O3HQ.js} +1 -1
- package/dist/chunks/{chunk-7R56WC7L.js → chunk-RHMULF56.js} +1 -1
- package/dist/chunks/chunk-RRWL5BHZ.js +2 -0
- package/dist/chunks/{chunk-RG3NH6YQ.js → chunk-S4WILIRA.js} +1 -1
- package/dist/chunks/{chunk-N33D7KCW.js → chunk-S6UCVXBC.js} +1 -1
- package/dist/chunks/{chunk-IHB5GTOJ.js → chunk-SAZTOGX6.js} +3 -3
- package/dist/chunks/{chunk-2EPR4HLF.js → chunk-SH7POUVX.js} +6 -6
- package/dist/chunks/chunk-SQX22LQT.js +10 -0
- package/dist/chunks/{chunk-NLYZ5K7U.js → chunk-SSJV3VX7.js} +1 -1
- package/dist/chunks/chunk-TBODQT4W.js +2 -0
- package/dist/chunks/chunk-TGULVWPV.js +2 -0
- package/dist/chunks/{chunk-HIYQPZ7C.js → chunk-TPOAAJKA.js} +1 -1
- package/dist/chunks/{chunk-42V4NV2F.js → chunk-TVDZXDQW.js} +1 -1
- package/dist/chunks/{chunk-FVRII5XO.js → chunk-U2BD545L.js} +1 -1
- package/dist/chunks/chunk-UK5LGSGT.js +2 -0
- package/dist/chunks/{chunk-HFJUXKT5.js → chunk-ULJZ7NUF.js} +1 -1
- package/dist/chunks/chunk-UN2LKLGV.js +2 -0
- package/dist/chunks/{chunk-4NXEYPPX.js → chunk-UOFDKMRU.js} +1 -1
- package/dist/chunks/{chunk-2ITZW2CN.js → chunk-UTIELP6F.js} +1 -1
- package/dist/chunks/{chunk-NWQL6FNF.js → chunk-V3KEG6MI.js} +1 -1
- package/dist/chunks/{chunk-BPZOABMC.js → chunk-V3S2B6WU.js} +2 -2
- package/dist/chunks/{chunk-ZG6353RM.js → chunk-VD2TQCMH.js} +1 -1
- package/dist/chunks/{chunk-4ZBOYWQ3.js → chunk-VS2LOUCT.js} +1 -1
- package/dist/chunks/{chunk-V7KR74NO.js → chunk-VS3AMJEK.js} +1 -1
- package/dist/chunks/{chunk-YCZZ62C2.js → chunk-W22KWKF6.js} +1 -1
- package/dist/chunks/chunk-W7NXFRHN.js +2 -0
- package/dist/chunks/{chunk-DTTFUANI.js → chunk-WBO6FQHR.js} +2 -2
- package/dist/chunks/{chunk-5ZBLCWEJ.js → chunk-WJSJXK2N.js} +1 -1
- package/dist/chunks/{chunk-C2LAEGOW.js → chunk-WKHGXLJD.js} +2 -2
- package/dist/chunks/{chunk-H6C4MAUN.js → chunk-WLQEONBF.js} +1 -1
- package/dist/chunks/chunk-WLZJOCLA.js +10 -0
- package/dist/chunks/chunk-WMBOXX7G.js +2 -0
- package/dist/chunks/{chunk-PF56N7ZY.js → chunk-X2J2P5ZT.js} +5 -5
- package/dist/chunks/{chunk-AH26AQN7.js → chunk-XHBMK6LC.js} +1 -1
- package/dist/chunks/{chunk-ZZHXQCNB.js → chunk-Y3B6ZUE6.js} +1 -1
- package/dist/chunks/{chunk-WP2L2NY2.js → chunk-YBKDEEEH.js} +1 -1
- package/dist/chunks/chunk-YRDPVTEI.js +3 -0
- package/dist/chunks/{chunk-JORRZ4BB.js → chunk-YU4JYWCA.js} +1 -1
- package/dist/chunks/{chunk-CZ5R4JXZ.js → chunk-Z2TOBS3P.js} +1 -1
- package/dist/chunks/chunk-ZFJWA4JK.js +1 -0
- package/dist/chunks/chunk-ZSZXA7WB.js +2 -0
- package/dist/chunks/{chunk-LK2K3SPM.js → chunk-ZU3YBRXS.js} +2 -2
- package/dist/chunks/{chunk-5FU5RLML.js → chunk-ZUT4EM64.js} +1 -1
- package/dist/chunks/chunk-ZWW227M3.js +2 -0
- package/dist/chunks/chunk-ZY32SZ2P.js +3 -0
- package/dist/chunks/cli-TE7RP5H7.js +2 -0
- package/dist/chunks/client-I5MYOJEJ.js +2 -0
- package/dist/chunks/command-NDHFZAKA.js +13 -0
- package/dist/chunks/configuration-command-HPMGH7WR.js +2 -0
- package/dist/chunks/connected-app-executor-7DYMZCD7.js +2 -0
- package/dist/chunks/connected-evidence-FNHTBUDG.js +2 -0
- package/dist/chunks/{connected-starting-assets-JONPTII6.js → connected-starting-assets-O4X6D6BG.js} +1 -1
- package/dist/chunks/connection-GDWPMHPC.js +2 -0
- package/dist/chunks/{continual-Z7MO2PF6.js → continual-HQCFY7GN.js} +3 -3
- package/dist/chunks/core-commands-LEFFBKR7.js +2 -0
- package/dist/chunks/dataset-preparation-authoring-KWRTMKN6.js +4 -0
- package/dist/chunks/datasets-BWHI23IB.js +2 -0
- package/dist/chunks/desktop-test-XROQ7K5H.js +3 -0
- package/dist/chunks/dist-GR56E3QK.js +2 -0
- package/dist/chunks/dist-J4KHAVO3.js +2 -0
- package/dist/chunks/dist-O7HXZUBW.js +2 -0
- package/dist/chunks/enclave-7VLABNIX.js +2 -0
- package/dist/chunks/evaluation-coordination-JTQIKHW6.js +2 -0
- package/dist/chunks/experiment-improvements-2TV2DA3K.js +2 -0
- package/dist/chunks/experiments-VOCZ4DW3.js +2 -0
- package/dist/chunks/experiments-VUJ4SEMG.js +2 -0
- package/dist/chunks/experiments-signal-TSTEBORD.js +2 -0
- package/dist/chunks/{extension-ZM6NI5O5.js → extension-UH34ZF7N.js} +1 -1
- package/dist/chunks/{help-7HXFWIKS.js → help-OPN36XRA.js} +1 -1
- package/dist/chunks/host-profile-evaluation-tools-75EPCRSZ.js +2 -0
- package/dist/chunks/host-profile-external-dataset-YRKG2GL5.js +2 -0
- package/dist/chunks/hosted-app-server-composition-7WZ4RIX2.js +2 -0
- package/dist/chunks/hosted-experiment-improvement-NZTPZTDH.js +3 -0
- package/dist/chunks/hosted-harness-runtime-3AJGEIFD.js +2 -0
- package/dist/chunks/hosted-profile-candidate-3CAT3XBI.js +3 -0
- package/dist/chunks/hosted-profile-compiler-RXU626Q6.js +2 -0
- package/dist/chunks/hosted-profile-evaluation-control-CBDRKJ5J.js +2 -0
- package/dist/chunks/hosted-profile-evaluation-inspection-CHYKDYUQ.js +3 -0
- package/dist/chunks/hosted-profile-evaluation-preparation-H5S7JZMD.js +3 -0
- package/dist/chunks/hosted-tasksets-AMGDDB2R.js +2 -0
- package/dist/chunks/human-review-NVKBEYG5.js +2 -0
- package/dist/chunks/{import-6SI4BEKS.js → import-P5DCYMQ6.js} +2 -2
- package/dist/chunks/learning-NJLTGZFQ.js +2 -0
- package/dist/chunks/learning-XTY5VOTK.js +2 -0
- package/dist/chunks/local-harness-improvement-runtime-XEA73RGS.js +2 -0
- package/dist/chunks/local-harness-taskset-review-SW35G4DM.js +2 -0
- package/dist/chunks/local-scope-X3737QXT.js +2 -0
- package/dist/chunks/model-projects-GHWCKDON.js +2 -0
- package/dist/chunks/opchat-ZJ5DO4RT.js +3 -0
- package/dist/chunks/opchat-bounded-chat-JVZ5LRH2.js +2 -0
- package/dist/chunks/organizations-UKXORVYS.js +2 -0
- package/dist/chunks/{profile-O5HL5DTQ.js → profile-XL5LABHR.js} +1 -1
- package/dist/chunks/profile-training-source-VIND2MM2.js +2 -0
- package/dist/chunks/project-action-payload-2G57RL74.js +2 -0
- package/dist/chunks/project-agent-CCGEMNR7.js +2 -0
- package/dist/chunks/published-experiment-source-D3C2AWQD.js +2 -0
- package/dist/chunks/refiner-profile-service-PPGGNVOV.js +2 -0
- package/dist/chunks/{runtime-XBA744HJ.js → runtime-VSOOPNYN.js} +2 -2
- package/dist/chunks/sandbox-command-L6BMKDGY.js +2 -0
- package/dist/chunks/{sandbox-template-27U3FQN7.js → sandbox-template-QL5ID5GJ.js} +1 -1
- package/dist/chunks/saved-work-LAVTNKPT.js +2 -0
- package/dist/chunks/send-turn-D3GTSSHI.js +2 -0
- package/dist/chunks/setup-HSRCZ3WR.js +2 -0
- package/dist/chunks/{src-PU7QTFO5.js → src-662QOKNP.js} +1 -1
- package/dist/chunks/{src-BLWX6DRG.js → src-KWOSLOBH.js} +117 -117
- package/dist/chunks/standalone-experiment-turn-owner-KKYIGGPF.js +2 -0
- package/dist/chunks/stdio-Z65UIX55.js +2 -0
- package/dist/chunks/store-chat-resources-ZWDYMDJF.js +2 -0
- package/dist/chunks/{store-continual-support-reviews-FOMYYS25.js → store-continual-support-reviews-7PDLGRWF.js} +1 -1
- package/dist/chunks/store-conversation-serving-WRT4N7N2.js +2 -0
- package/dist/chunks/{store-create-improve-3LQMIYAP.js → store-create-improve-G46KIUVT.js} +1 -1
- package/dist/chunks/{store-datasets-3KSX7RSO.js → store-datasets-O67F75BL.js} +1 -1
- package/dist/chunks/store-evaluation-results-BEPR4LVD.js +7 -0
- package/dist/chunks/{store-harness-memory-2L7ARBR4.js → store-harness-memory-4XEUITXE.js} +1 -1
- package/dist/chunks/{store-harness-refinement-candidates-3PHL3BUY.js → store-harness-refinement-candidates-LCN4NV23.js} +1 -1
- package/dist/chunks/store-harness-workspaces-PJJQ74G6.js +2 -0
- package/dist/chunks/store-human-review-HJ3D7ZFA.js +7 -0
- package/dist/chunks/store-learned-preference-migration-validation-EXNRDHCO.js +2 -0
- package/dist/chunks/store-learning-6P6IS7GH.js +2 -0
- package/dist/chunks/store-learning-credentials-EGJ2WTZI.js +2 -0
- package/dist/chunks/{store-local-experiments-QTVHJAEP.js → store-local-experiments-CBJA56X2.js} +1 -1
- package/dist/chunks/store-model-batch-review-YIVD7T2T.js +2 -0
- package/dist/chunks/{store-model-configuration-3SU73CMS.js → store-model-configuration-T6XJJDAB.js} +2 -2
- package/dist/chunks/store-model-project-preparation-WWU5CJTV.js +2 -0
- package/dist/chunks/{store-preference-comparison-DWV5XSMY.js → store-preference-comparison-XQFTLMGH.js} +1 -1
- package/dist/chunks/{store-schedules-2KUY4T6M.js → store-schedules-JPFVWL3Q.js} +1 -1
- package/dist/chunks/{store-sidebar-file-bookmarks-A4XCS7RM.js → store-sidebar-file-bookmarks-J3JEVAYR.js} +1 -1
- package/dist/chunks/{store-sidebar-preferences-V2PKRXUZ.js → store-sidebar-preferences-2JHTFXJK.js} +1 -1
- package/dist/chunks/{store-subagents-UGVEFA6M.js → store-subagents-PUBQVWSU.js} +1 -1
- package/dist/chunks/{store-task-inbox-QABI4ZAH.js → store-task-inbox-VVXZUJIO.js} +1 -1
- package/dist/chunks/{store-task-inventory-GEQIZELY.js → store-task-inventory-MQX44AI6.js} +1 -1
- package/dist/chunks/store-taskset-drafts-G3WFVN4M.js +9 -0
- package/dist/chunks/{store-training-CQV7PL3V.js → store-training-DUVIDYK5.js} +1 -1
- package/dist/chunks/{store-training-jobs-XKN6K66J.js → store-training-jobs-HHFH3V5O.js} +1 -1
- package/dist/chunks/{store-training-models-Q7DTTR4S.js → store-training-models-C7UUZDTO.js} +1 -1
- package/dist/chunks/{store-usage-XGAX7NLB.js → store-usage-6DMZM7WV.js} +1 -1
- package/dist/chunks/{store-work-evidence-VSLLZ6UF.js → store-work-evidence-77B36LRC.js} +1 -1
- package/dist/chunks/taskset-7FQCJ55X.js +2 -0
- package/dist/chunks/taskset-packages-NRRPON7B.js +2 -0
- package/dist/chunks/taskset-packages-RW4SFGDU.js +2 -0
- package/dist/chunks/{teams-bot-UTQAJA6H.js → teams-bot-LGV7UKX2.js} +1 -1
- package/dist/chunks/tool-learning-NGO7QHYK.js +2 -0
- package/dist/chunks/training-XFM3OOPN.js +2 -0
- package/dist/chunks/training-XILDD5RG.js +2 -0
- package/dist/chunks/training-error-LQKCOQDJ.js +2 -0
- package/dist/chunks/training-hardware-ESXRWUIK.js +3 -0
- package/dist/chunks/training-hosted-6BX2IASC.js +2 -0
- package/dist/chunks/training-hosted-checkpoint-evaluation-UXFW33QL.js +2 -0
- package/dist/chunks/training-hosted-learning-YN5VD3PW.js +2 -0
- package/dist/chunks/training-hosted-serving-N2MHWGZN.js +2 -0
- package/dist/chunks/training-hosted-serving-report-J4YOZLRP.js +2 -0
- package/dist/chunks/training-hosted-workers-6JTDCCWA.js +2 -0
- package/dist/chunks/training-model-start-E5MP3URL.js +2 -0
- package/dist/chunks/web-search-56QRZGPR.js +2 -0
- package/dist/chunks/workspaces-MCS2AQX6.js +2 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/sandbox-template/manifest.js +1 -1
- package/dist/skills/manifest.json +1 -1
- package/dist/web/assets/App-BZuSv1XM.js +53 -0
- package/dist/web/assets/{AppDialog-8Y0FYalT.js → AppDialog-BILEK4np.js} +1 -1
- package/dist/web/assets/AppTerminalPanel-BvxZ8bwD.js +2 -0
- package/dist/web/assets/{AppToastContext-BiQbbVxq.js → AppToastContext-C-FsCKXW.js} +1 -1
- package/dist/web/assets/{AppsView-Dtte4h6e.js → AppsView-BMaq5oxx.js} +1 -1
- package/dist/web/assets/{AttachmentTypeIcon-DgADV7dn.js → AttachmentTypeIcon-Bh7Ft_UL.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-BUqDvEv9.js → BrowserSidebar-BG2MLJ9I.js} +1 -1
- package/dist/web/assets/{CartesianChart-J4ChOjvG.js → CartesianChart-CS6ES_XT.js} +1 -1
- package/dist/web/assets/ChatTimelineEntry-Dr5X_XyN.js +8 -0
- package/dist/web/assets/{ChatTimelineEntry-DztFb85D.css → ChatTimelineEntry-vs8RaEGD.css} +1 -1
- package/dist/web/assets/{CollaborationTabs-CFCpk2Ck.js → CollaborationTabs-CPJ2w67F.js} +1 -1
- package/dist/web/assets/{CommandMenu-EPPjB14H.js → CommandMenu-Fe1V7NJd.js} +1 -1
- package/dist/web/assets/{CommunityView-Okydjpqm.js → CommunityView-DHTcmOnI.js} +1 -1
- package/dist/web/assets/{ComposerAttachments-RXCiE88M.js → ComposerAttachments-Ck9VWD6o.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-CSngc8-V.js → ComposerCreateImproveStrip-yiXO7cf8.js} +1 -1
- package/dist/web/assets/{ConversationImportsSettings-DS73kyfj.js → ConversationImportsSettings-_VLzUnHQ.js} +1 -1
- package/dist/web/assets/{FilePagePreview-Qc4B0vue.js → FilePagePreview-BpcM1DfE.js} +2 -2
- package/dist/web/assets/{GetStartedView-DGFPQ1We.js → GetStartedView-BH-WJ-rW.js} +1 -1
- package/dist/web/assets/{GettingStartedDialog-DFBYQdHz.js → GettingStartedDialog-CdQfj7RA.js} +1 -1
- package/dist/web/assets/{HostedModelLearningReview-BDu3FlcU.js → HostedModelLearningReview-C3GsOlu9.js} +1 -1
- package/dist/web/assets/{HostedModelLearningSettings-CHaTHwC8.js → HostedModelLearningSettings-SSMst6dl.js} +1 -1
- package/dist/web/assets/{HtmlVisual-D9Mh7xds.js → HtmlVisual-CH0tb3fv.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-DgY7lAu5.js → LabModelVersionDetailPage-J2t9yILv.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-BwtlThO7.js → LabSkillSidebar-DdDYvfj2.js} +1 -1
- package/dist/web/assets/LabsRoute-MJwIjSKg.js +101 -0
- package/dist/web/assets/MainChatThread-BcwtaTDZ.js +2 -0
- package/dist/web/assets/MainPane-DDO6diPt.js +10 -0
- package/dist/web/assets/NativeSetupTerminal-BPSUFpRm.js +2 -0
- package/dist/web/assets/{NativeSkillSidebar-BEJvt5_H.js → NativeSkillSidebar-DPYavzau.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-CjrjgkTN.js → NewProjectDialog-BtmvE9Sp.js} +1 -1
- package/dist/web/assets/{OutputsPage-jzx93QQ3.js → OutputsPage-BMRY7RK2.js} +1 -1
- package/dist/web/assets/{PageChrome-C1M13qG2.js → PageChrome-5VRxH6Rp.js} +1 -1
- package/dist/web/assets/{ProjectsPage-DZrjlMp2.js → ProjectsPage-1LHqxOMo.js} +1 -1
- package/dist/web/assets/RightChatPanelStack-D_7KgExz.js +1 -0
- package/dist/web/assets/RightSidebarHomePanel-iznJwDMf.js +1 -0
- package/dist/web/assets/{ScheduledWorkPage-Cw1ja2GF.js → ScheduledWorkPage-Dtz4zJ0T.js} +1 -1
- package/dist/web/assets/{SettingsView-CckoIki3.js → SettingsView-BeDYNPcD.js} +3 -3
- package/dist/web/assets/{TasksetDraftEditorPrimitives-ByC8bDjp.js → TasksetDraftEditorPrimitives-CcvKO3YA.js} +1 -1
- package/dist/web/assets/{TeamChatView-OprnSKLF.js → TeamChatView-DaXxOkTe.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-d7A2F9Lx.js → TerminalOverlay-CF8uB4qA.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-Cyn6R6I6.js → TrainingCreationPanel-DmMO7x5T.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-Mpb5e7t5.js → TrainingDraftPanel-DCHbXjSx.js} +1 -1
- package/dist/web/assets/{TrainingRunLineage-VcKz7dIR.js → TrainingRunLineage-CwisTWs_.js} +1 -1
- package/dist/web/assets/UsageSettingsSection-Drt7gwRb.js +7 -0
- package/dist/web/assets/WorkSidebarPanel-BrIIRtGW.js +1 -0
- package/dist/web/assets/WorkspaceDiffPanel-Dmbrg0-y.js +11 -0
- package/dist/web/assets/{WorkspaceEnvironmentMenu-C8y3537a.js → WorkspaceEnvironmentMenu-KEZm1gdb.js} +1 -1
- package/dist/web/assets/{WorkspaceFileLocation-LrEWj4UK.js → WorkspaceFileLocation-ChbOKrPO.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-NRIMXnkS.js → WorkspaceGitDialogs-BS2JQKNQ.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-CvDGjKAL.js → WorkspaceMonacoEditor-CN1hE_C4.js} +3 -3
- package/dist/web/assets/{WorkspacePdfPreview-BZ0BbnHv.js → WorkspacePdfPreview-Clb4m0le.js} +2 -2
- package/dist/web/assets/{WorkspacePresentationPreview-DJrjrvT0.js → WorkspacePresentationPreview-CwQsdvAR.js} +1 -1
- package/dist/web/assets/app-models-Cz3yxq4x.js +1 -0
- package/dist/web/assets/{bot-6OhUEmkE.js → bot-BNFltD5O.js} +1 -1
- package/dist/web/assets/chat-resources-CTN4f6KC.js +1 -0
- package/dist/web/assets/{chevron-down-jmVA1BIf.js → chevron-down-BnnT0tnM.js} +1 -1
- package/dist/web/assets/chevron-right-C8K5PZj7.js +1 -0
- package/dist/web/assets/{chevron-up-CstyLXH3.js → chevron-up-BAnwJJN3.js} +1 -1
- package/dist/web/assets/chunk-GJRXJL6G-pJp1DyJd.js +9 -0
- package/dist/web/assets/chunk-TLSP5JKG-DZmxtX-4.js +1 -0
- package/dist/web/assets/{client-choice-storage-BdQ_YDuk.js → client-choice-storage-Iuzoszas.js} +1 -1
- package/dist/web/assets/{cloud-upload-Ck1ufAr8.js → cloud-upload-CdSXJ7ms.js} +1 -1
- package/dist/web/assets/{copy-CPkbMfXt.js → copy-CBFg6m0d.js} +1 -1
- package/dist/web/assets/{createLucideIcon-CXQny8HU.js → createLucideIcon-DF2VR6WA.js} +1 -1
- package/dist/web/assets/{cssMode-CYxYl_om.js → cssMode-BSQUZhUO.js} +1 -1
- package/dist/web/assets/{external-link-CDKOLG_v.js → external-link-Cql9bKdv.js} +1 -1
- package/dist/web/assets/{folder-open-CEtOb_lK.js → folder-open-BXdVB5J1.js} +1 -1
- package/dist/web/assets/{folder-plus-CVMYZs3e.js → folder-plus-Cma2HulC.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DDyhPjxS.js → git-commit-horizontal-eF--16ps.js} +1 -1
- package/dist/web/assets/{htmlMode-DoY4V_j0.js → htmlMode-aLPlQtyU.js} +1 -1
- package/dist/web/assets/icons-c3vt7y6n.js +1 -0
- package/dist/web/assets/{image-B-PjDSwU.js → image-CqKPwnBn.js} +1 -1
- package/dist/web/assets/{index-D9WbJMSq.js → index-CM0IRu1U.js} +2 -2
- package/dist/web/assets/{info-CCnw-K3b.js → info-CqeYEqG0.js} +1 -1
- package/dist/web/assets/{jsonMode-CeOpZdPj.js → jsonMode-fu7bEcHB.js} +1 -1
- package/dist/web/assets/loader-circle-pxp89T5x.js +1 -0
- package/dist/web/assets/{lspLanguageFeatures-DAbgLCqZ.js → lspLanguageFeatures-DraXQA4w.js} +1 -1
- package/dist/web/assets/{maximize-2-BZX38cpr.js → maximize-2-yMp8X9ts.js} +1 -1
- package/dist/web/assets/{message-square-CvgSecgD.js → message-square-DbIMQqfj.js} +1 -1
- package/dist/web/assets/model-display-zPvC4L2B.js +1 -0
- package/dist/web/assets/models-route-CWcJuOd0.js +1 -0
- package/dist/web/assets/{monaco.contribution-cbDqt48m.js → monaco.contribution-BQhp1CJs.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CF2JDhi4.js → monaco.contribution-Bd8EqYGR.js} +2 -2
- package/dist/web/assets/{monaco.contribution-m2ze2EsL.js → monaco.contribution-CYWKnVxQ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-yeyow_-Q.js → monaco.contribution-CmbWO0tB.js} +2 -2
- package/dist/web/assets/{monitor-By0s4hxb.js → monitor-DFE2fTkT.js} +1 -1
- package/dist/web/assets/{paperclip-BJ2QgJLa.js → paperclip-D_qsKbVs.js} +1 -1
- package/dist/web/assets/{pdf-C4x-1jjP.js → pdf-DkQRsi4n.js} +1 -1
- package/dist/web/assets/play-BtlX2stU.js +1 -0
- package/dist/web/assets/plus-DbASL_gy.js +1 -0
- package/dist/web/assets/{presentation-I86G1Gd9.js → presentation-BN_kIBPL.js} +1 -1
- package/dist/web/assets/{python-CqFTPj8r.js → python-DB9pj5Hr.js} +1 -1
- package/dist/web/assets/{refresh-cw-Dga35Eay.js → refresh-cw-B27ohHfn.js} +1 -1
- package/dist/web/assets/{save-BLKjYtzR.js → save-D-rwjKop.js} +1 -1
- package/dist/web/assets/settings-lists-DgSaJQA4.js +5 -0
- package/dist/web/assets/square-C2caJ3NG.js +1 -0
- package/dist/web/assets/{square-terminal-B-n7vUex.js → square-terminal-CeoK51wH.js} +1 -1
- package/dist/web/assets/{submit-issue-command-B7Hrt2tU.js → submit-issue-command-DZNW7Evj.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-BhmBE5XE.js → toggleHighContrast-Bs8L1gx0.js} +1 -1
- package/dist/web/assets/{training-QrdkRQZQ.js → training-DCdoHJ0Y.js} +2 -2
- package/dist/web/assets/{training-model-data-DB-jg6L_.js → training-model-data-wHvE7xL1.js} +1 -1
- package/dist/web/assets/{tsMode-BSWEII2p.js → tsMode-C7EqshxC.js} +1 -1
- package/dist/web/assets/{upload-C4MPhQn8.js → upload-BWgjC2Jf.js} +1 -1
- package/dist/web/assets/{useAccountSettings-9oqWdRLs.js → useAccountSettings-Dva1MpsJ.js} +1 -1
- package/dist/web/assets/{useAgentInventory-isO79ui9.js → useAgentInventory-CrjIOmvb.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-CZX6PxoK.js → useLocalAgentSchedules-P-UaUKMb.js} +1 -1
- package/dist/web/assets/{useQuery-BD0Uexmh.js → useQuery-Bn3KqR4r.js} +1 -1
- package/dist/web/assets/{wifi-off-Cloe0WuQ.js → wifi-off--mKrSPFc.js} +1 -1
- package/dist/web/assets/{workers-BXagz5eg.js → workers-p0Kn2KMK.js} +1 -1
- package/dist/web/assets/x-D9GTV9ke.js +1 -0
- package/dist/web/assets/{yaml-sBdvVbCc.js → yaml-BeIdC4tu.js} +1 -1
- package/dist/web/index.html +1 -1
- package/docs/command-reference.md +44 -2
- package/package.json +1 -1
- package/dist/chunks/acp-H3MJCPHX.js +0 -2
- package/dist/chunks/acp-agent-DWA7272M.js +0 -21
- package/dist/chunks/actions-command-IIYOO4LL.js +0 -2
- package/dist/chunks/app-layer-K7H2WJ56.js +0 -3
- package/dist/chunks/app-server-connected-apps-RM5E2VWF.js +0 -2
- package/dist/chunks/app-server-evaluations-XGMGS67X.js +0 -2
- package/dist/chunks/app-server-harness-services-BHD6S5II.js +0 -2
- package/dist/chunks/app-server-runtime-LFIL6F7D.js +0 -2
- package/dist/chunks/apps-QKAHJGQ4.js +0 -2
- package/dist/chunks/chunk-5EP2DZLJ.js +0 -2
- package/dist/chunks/chunk-6EBCS57F.js +0 -2
- package/dist/chunks/chunk-6RS4NAOY.js +0 -2
- package/dist/chunks/chunk-7O6Z3VOZ.js +0 -2
- package/dist/chunks/chunk-7YLXGILH.js +0 -2
- package/dist/chunks/chunk-7ZLXFKRI.js +0 -2
- package/dist/chunks/chunk-B5R53U74.js +0 -2
- package/dist/chunks/chunk-C2AXMKK4.js +0 -2
- package/dist/chunks/chunk-F6UQ6PPK.js +0 -2
- package/dist/chunks/chunk-GS6ZUSIN.js +0 -3
- package/dist/chunks/chunk-JSQRLLN6.js +0 -2
- package/dist/chunks/chunk-LAOLJDVB.js +0 -2
- package/dist/chunks/chunk-LKKMLBOH.js +0 -3
- package/dist/chunks/chunk-M3FLEZ4E.js +0 -4
- package/dist/chunks/chunk-MEGKXGW3.js +0 -2
- package/dist/chunks/chunk-MILEWROZ.js +0 -2
- package/dist/chunks/chunk-N42HT64M.js +0 -2
- package/dist/chunks/chunk-NG2L6D7G.js +0 -2
- package/dist/chunks/chunk-OSVGNONV.js +0 -2
- package/dist/chunks/chunk-OTUBJV6C.js +0 -6
- package/dist/chunks/chunk-PBTXLQAU.js +0 -2
- package/dist/chunks/chunk-PBZCXPPC.js +0 -10
- package/dist/chunks/chunk-SFKZITAG.js +0 -9
- package/dist/chunks/chunk-SXMR6E2W.js +0 -2
- package/dist/chunks/chunk-U2K7QJCG.js +0 -2
- package/dist/chunks/chunk-URNMC46H.js +0 -157
- package/dist/chunks/chunk-VHXDWAEH.js +0 -2
- package/dist/chunks/chunk-W2TICQ62.js +0 -2
- package/dist/chunks/chunk-WSOUMXH3.js +0 -24
- package/dist/chunks/chunk-XOB6FKQV.js +0 -2
- package/dist/chunks/chunk-YBNKGA5C.js +0 -2
- package/dist/chunks/chunk-YM4PSVFW.js +0 -4
- package/dist/chunks/chunk-YNQWJWIC.js +0 -10
- package/dist/chunks/chunk-Z3BWCFLV.js +0 -2
- package/dist/chunks/cli-PSXMIJTF.js +0 -2
- package/dist/chunks/configuration-command-XYKMXIWF.js +0 -2
- package/dist/chunks/connected-app-executor-6G2LA3PQ.js +0 -2
- package/dist/chunks/connected-evidence-IRXYN6YD.js +0 -2
- package/dist/chunks/connection-XMAAGMXJ.js +0 -2
- package/dist/chunks/core-commands-WWN7X3XC.js +0 -2
- package/dist/chunks/dataset-preparation-authoring-F3OZIQSP.js +0 -4
- package/dist/chunks/datasets-2PC2HP7N.js +0 -2
- package/dist/chunks/desktop-test-VU6AFAMO.js +0 -3
- package/dist/chunks/dist-47AYOIH6.js +0 -2
- package/dist/chunks/dist-HSC43RG4.js +0 -2
- package/dist/chunks/dist-MXBEBM4D.js +0 -2
- package/dist/chunks/enclave-VURYNILU.js +0 -2
- package/dist/chunks/evaluation-coordination-UOWZHHC5.js +0 -2
- package/dist/chunks/experiment-improvements-EB2CV5RA.js +0 -2
- package/dist/chunks/experiments-CLXGM3TZ.js +0 -2
- package/dist/chunks/experiments-SZQYR6MH.js +0 -2
- package/dist/chunks/experiments-signal-2KJCP25D.js +0 -2
- package/dist/chunks/host-profile-evaluation-tools-Y2LQ4WQN.js +0 -2
- package/dist/chunks/host-profile-external-dataset-FRIGXOO7.js +0 -2
- package/dist/chunks/hosted-app-server-composition-PGKQNDW6.js +0 -2
- package/dist/chunks/hosted-experiment-improvement-UXC542SZ.js +0 -3
- package/dist/chunks/hosted-harness-runtime-6PEI7F2U.js +0 -2
- package/dist/chunks/hosted-profile-candidate-HM44BIUX.js +0 -3
- package/dist/chunks/hosted-profile-compiler-UAZ4PHYE.js +0 -2
- package/dist/chunks/hosted-profile-evaluation-control-EUL57FAB.js +0 -2
- package/dist/chunks/hosted-profile-evaluation-inspection-7USY75Z4.js +0 -3
- package/dist/chunks/hosted-profile-evaluation-preparation-2LSMZQNA.js +0 -3
- package/dist/chunks/hosted-tasksets-WGXGXJ7E.js +0 -2
- package/dist/chunks/human-review-M26UKGJL.js +0 -2
- package/dist/chunks/learning-HM3NWOV5.js +0 -2
- package/dist/chunks/local-harness-improvement-runtime-QGWFWNSR.js +0 -2
- package/dist/chunks/local-harness-taskset-review-KS4WPMN6.js +0 -2
- package/dist/chunks/local-scope-62GWHDXS.js +0 -2
- package/dist/chunks/model-projects-YUAMBQTO.js +0 -2
- package/dist/chunks/opchat-AG4CWVY4.js +0 -3
- package/dist/chunks/opchat-bounded-chat-IQMP5IIO.js +0 -2
- package/dist/chunks/organizations-KDKX77XZ.js +0 -2
- package/dist/chunks/profile-training-source-3DXFM2XI.js +0 -2
- package/dist/chunks/project-action-payload-QA24HYGF.js +0 -2
- package/dist/chunks/project-agent-XBOOM5TS.js +0 -2
- package/dist/chunks/published-experiment-source-GZGN354O.js +0 -2
- package/dist/chunks/refiner-profile-service-BJMOYKTC.js +0 -2
- package/dist/chunks/sandbox-command-5ECGS7DG.js +0 -2
- package/dist/chunks/saved-work-KUNVTJ7O.js +0 -2
- package/dist/chunks/send-turn-FIPWOXWV.js +0 -2
- package/dist/chunks/standalone-experiment-turn-owner-XIE46VNH.js +0 -2
- package/dist/chunks/store-chat-resources-YOEJ2BI6.js +0 -2
- package/dist/chunks/store-conversation-serving-K324SQTO.js +0 -2
- package/dist/chunks/store-evaluation-results-LHCCNNE6.js +0 -7
- package/dist/chunks/store-harness-workspaces-ZHNCNWVI.js +0 -2
- package/dist/chunks/store-human-review-QJY3ZPPF.js +0 -7
- package/dist/chunks/store-learned-preference-migration-validation-X32SRBOM.js +0 -2
- package/dist/chunks/store-learning-DW3QLQXU.js +0 -2
- package/dist/chunks/store-learning-credentials-67QNTPA7.js +0 -2
- package/dist/chunks/store-model-batch-review-PBYQZJJJ.js +0 -2
- package/dist/chunks/store-model-project-preparation-TFCG2F2F.js +0 -2
- package/dist/chunks/store-taskset-drafts-GXABQR5G.js +0 -9
- package/dist/chunks/taskset-ARKJQKYQ.js +0 -2
- package/dist/chunks/taskset-packages-X4K65DTW.js +0 -2
- package/dist/chunks/taskset-packages-XK7FSD45.js +0 -2
- package/dist/chunks/training-3IWW4256.js +0 -2
- package/dist/chunks/training-RVIESURJ.js +0 -2
- package/dist/chunks/training-error-2EWDOQ4G.js +0 -2
- package/dist/chunks/training-hosted-PFJHYTEU.js +0 -2
- package/dist/chunks/training-hosted-checkpoint-evaluation-JJPP7KFW.js +0 -2
- package/dist/chunks/training-hosted-learning-Y7NHRY4V.js +0 -2
- package/dist/chunks/training-hosted-serving-QAV7ZGGV.js +0 -2
- package/dist/chunks/training-hosted-serving-report-OX4A5OKB.js +0 -2
- package/dist/chunks/training-hosted-workers-LST4ZUXN.js +0 -2
- package/dist/chunks/training-model-start-ROLS3E4V.js +0 -2
- package/dist/chunks/web-search-7FBUBZ66.js +0 -2
- package/dist/chunks/workspaces-G3CMY7ZA.js +0 -2
- package/dist/web/assets/App-DY2R8Z6r.js +0 -53
- package/dist/web/assets/AppTerminalPanel-YcnBD5DF.js +0 -2
- package/dist/web/assets/ChatTimelineEntry-DC93wlDa.js +0 -8
- package/dist/web/assets/LabsRoute-BV7ZJGEw.js +0 -101
- package/dist/web/assets/MainChatThread-pzHKd_YN.js +0 -2
- package/dist/web/assets/MainPane-6OlLiKKb.js +0 -10
- package/dist/web/assets/NativeSetupTerminal-CPDChcMi.js +0 -2
- package/dist/web/assets/RightChatPanelStack-BsxJg9sy.js +0 -1
- package/dist/web/assets/RightSidebarHomePanel-CCVQ9LMB.js +0 -1
- package/dist/web/assets/UsageSettingsSection-FhYymrfc.js +0 -7
- package/dist/web/assets/WorkSidebarPanel-u87uptH0.js +0 -1
- package/dist/web/assets/WorkspaceDiffPanel-B5rlW7bA.js +0 -11
- package/dist/web/assets/app-models-CUA9XB9U.js +0 -1
- package/dist/web/assets/chat-resources-CI8KFVO5.js +0 -1
- package/dist/web/assets/chevron-right-BYmDQ7ti.js +0 -1
- package/dist/web/assets/chunk-ONGOAEY6-C__DQmRT.js +0 -9
- package/dist/web/assets/chunk-SQBYHWZU-DumrB9SB.js +0 -1
- package/dist/web/assets/icons-D7jkCa2d.js +0 -1
- package/dist/web/assets/loader-circle-CPaJeTDy.js +0 -1
- package/dist/web/assets/models-route-Bl_TmMl6.js +0 -1
- package/dist/web/assets/play-D_SuGDBM.js +0 -1
- package/dist/web/assets/plus-yw95Iaj8.js +0 -1
- package/dist/web/assets/settings-lists-DMKA1lCN.js +0 -5
- package/dist/web/assets/square-BY5lG2Ol.js +0 -1
- package/dist/web/assets/x-Dqpel42h.js +0 -1
- /package/dist/chunks/{chunk-IDOGNIMV.js → chunk-7J2NMUTK.js} +0 -0
- /package/dist/chunks/{chunk-PCB65K4G.js → chunk-SFR32TMJ.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a as f}from"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import"./chunk-3M53YXEI.js";import{H as J,W as N,X as q,_ as k,aa as A,b as d,ba as B,c as w,e as b,ea as H,fa as I,na as E,oa as M,p as C,pa as T,r as m,s as j,t as x,u as F,v,w as P}from"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import{d as O,f as S,h as g}from"./chunk-UGOK7VTC.js";import{a as l}from"./chunk-FTQLQJQV.js";import R from"node:path";import{readFile as p}from"node:fs/promises";var n=l((t,s)=>typeof t[s]=="string"?t[s]:void 0,"stringOption");function a(t){console.log(JSON.stringify(t,null,2))}l(a,"print");function U(t,s){let i=n(t,"keyPath");if(i){let r=JSON.parse(i);if(Array.isArray(r)&&r.length&&r.every(c=>typeof c=="string"&&c.length))return r;throw new f("--key-path must be a JSON array of key segments.")}if(!s)throw new f("Specify a setting key, or --key-path for keys containing dots.");return s.split(".")}l(U,"keyPath");async function G(t,s){let i=S({home:n(t,"home")}),r=s[0]??"get",c=g(i).config;if(r==="path"){console.log(c);return}if(r==="export"){let e=await T(i),o=n(t,"file");o?(await b(R.resolve(o),JSON.stringify(e,null,2),{privateParent:!1}),a({path:R.resolve(o),requiresRebinding:e.requiresRebinding})):a(e);return}if(r==="backup"||r==="restore"){let e=n(t,"file"),o=n(t,"keyFile");if(!e||!o)throw new f(`config ${r} requires --file <encrypted-backup> and --key-file <separate-32-byte-key-file>.`);let u=await p(o),y=u.length===32?u:Buffer.from(u.toString("utf8").trim(),"base64");try{a(r==="backup"?await E(i,e,y):await M(e,i,y))}finally{y.fill(0),u.fill(0)}return}if(r==="collect-orphans"){a(await N(i));return}if(r==="schema"){a(F());return}if(r==="migrate"){let e=n(t,"resolutionFile"),o=e?q.parse(JSON.parse(await p(e,"utf8"))):void 0;a(await k(i,{resolutions:o,sourceAppHome:n(t,"sourceAppHome"),sourceConfig:n(t,"sourceConfig"),sourceBrowserState:n(t,"sourceBrowserState"),dryRun:t.dryRun===!0||t.dryRun==="true"}));return}if(r==="recover"){let e=n(t,"revision");a(e?await x(i,e,n(t,"expectedRevision")??d(await w(c))):await A(i));return}if(r==="restart-migration"){a(await B(i));return}if(r==="effective"){a(await I(i,{projectRoot:n(t,"projectRoot"),accountId:n(t,"accountId")}));return}if(r==="trust"||r==="untrust"){let e=n(t,"projectRoot")??s[1];if(!e)throw new f("Specify the canonical project root with --project-root.");await H(i,e,n(t,"accountId")??"local",r==="trust"),a({root:e,trusted:r==="trust"});return}if(r==="revisions"){a(await m(i));return}if(r==="validate"){let e=n(t,"file")??c;C(await p(e,"utf8"),e,t.project===!0||t.project==="true"?"project":"user"),a({valid:!0,path:e});return}if(r==="replace"){let e=n(t,"file");if(!e)throw new f("config replace requires --file <validated-toml-file>.");a(await j(i,n(t,"expectedRevision")??d(await w(c)),await p(e,"utf8")));return}if(r==="doctor"){let e=await w(c),o=null;try{await v(i)}catch(u){o=O(u,c)}a({home:i,path:c,rawRevision:d(e),issue:o,recoverableRevisions:await m(i),migration:await w(R.join(g(i).runtime,"migration.json"))!==null}),o&&(process.exitCode=1);return}if(await k(i),r==="clear-cache"){await J(i),a({cleared:!0,path:g(i).cache});return}let h=await v(i);if(r==="get"){if(!s[1]&&!t.keyPath){a(h);return}let e=h.document;for(let o of U(t,s[1]))e=e&&typeof e=="object"?e[o]:void 0;a(e??null);return}if(r==="set"||r==="unset"){let e=U(t,s[1]),o;if(r==="set"){let u=n(t,"value")??s[2];if(u===void 0)throw new f("config set requires a value. Use JSON for arrays, tables, numbers and booleans.");try{o=JSON.parse(u)}catch{o=u}}a(await P(i,n(t,"expectedRevision")??h.rawRevision,[r==="set"?{op:"set",path:e,value:o}:{op:"unset",path:e}]));return}throw new f(`Unknown config command: ${r}`)}l(G,"runConfigurationCommand");export{G as runConfigurationCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a,b,c}from"./chunk-FUFI4THX.js";import"./chunk-MCBRB5D6.js";import"./chunk-MVPKU72J.js";import"./chunk-OQPJ7FJF.js";import"./chunk-BL3CZWWD.js";import"./chunk-GD3RCUDH.js";import"./chunk-QCJY6FTC.js";import"./chunk-UTIELP6F.js";import"./chunk-6S2MWJVD.js";import"./chunk-FYWQWKVS.js";import"./chunk-6ESBAHWK.js";import"./chunk-4V73I4OL.js";import"./chunk-LE75SVEL.js";import"./chunk-7J2NMUTK.js";import"./chunk-W45RKGM6.js";import"./chunk-W45RKGM6.js";import"./chunk-7PKTCMZ6.js";import"./chunk-LXZLLTYQ.js";import"./chunk-GI7LTJV3.js";import"./chunk-VS3AMJEK.js";import"./chunk-XGY4OQLC.js";import"./chunk-AF3AVDPP.js";import"./chunk-SFR32TMJ.js";import"./chunk-5KJMFK65.js";import"./chunk-Y3B6ZUE6.js";import"./chunk-4N4EH3RJ.js";import"./chunk-ULJZ7NUF.js";import"./chunk-WJSJXK2N.js";import"./chunk-OKEC2EIE.js";import"./chunk-WLZJOCLA.js";import"./chunk-HIQPGYVH.js";import"./chunk-ZWW227M3.js";import"./chunk-DXA2UHBE.js";import"./chunk-MTP3B2SU.js";import"./chunk-27JGS3KB.js";import"./chunk-2LJCJOJ7.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-6FA3GG5B.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import"./chunk-FTQLQJQV.js";export{a as DEFAULT_CONNECTED_APP_TOOL_PATH,b as createCloudConnectedAppToolExecutor,c as resolveCloudConnectedAppToolTarget};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a as p,b as u}from"./chunk-OXRVILDW.js";import"./chunk-KOKBDIGR.js";import"./chunk-7P5SH3CI.js";import"./chunk-TGULVWPV.js";import"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import{c}from"./chunk-3M53YXEI.js";import"./chunk-CRDKBFRN.js";import{l as w}from"./chunk-DMO3UIS7.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import"./chunk-3WJQ4IGK.js";import"./chunk-KTIBXRWQ.js";import"./chunk-L4EJ5R3B.js";import"./chunk-6ZTP6CUJ.js";import"./chunk-TBODQT4W.js";import"./chunk-YRDPVTEI.js";import"./chunk-JRGECNP3.js";import"./chunk-RRWL5BHZ.js";import"./chunk-NXN7GJOH.js";import"./chunk-5WPMI6QX.js";import"./chunk-W7NXFRHN.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import"./chunk-UN2LKLGV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-AMC4Z7G4.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import{A as l}from"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import{a as n}from"./chunk-FTQLQJQV.js";async function g(r,d){let[o,s]=d;if(!o||d.length>2)throw new Error("usage: connected-evidence <list|collection|recorded-list|recorded|import-receipt|capture-assets|retain-assets|starting-assets|summary|case|unmapped|capture|selection|publish|prepare-recorded|upload-part|preview|commit|set-collection> [id] --team <id> [--input-file <path>]");if(c(r,"project")&&!["list","recorded-list"].includes(o))throw new Error("--project filters list commands; other operations retain their exact Project in --input-file.");if(r.local===!0||r.local==="true")throw new Error("Connected evidence is retained by its hosted source owner; select --api-base-url for that owner.");if(s&&!["recorded","import-receipt","starting-assets"].includes(o))throw new Error("This operation does not accept a resource id.");let a=new w(await u(r)),t=AbortSignal.timeout(6e4),m={...c(r,"project")?{projectId:c(r,"project")}:{},...c(r,"cursor")?{cursor:c(r,"cursor")}:{},limit:Number(c(r,"limit")||20)},i=n(async()=>p(r),"input"),e;switch(o){case"list":e=await a.list(m,t);break;case"recorded-list":e=await a.listRecordedExecutions(m,t);break;case"collection":e=await a.collection(t);break;case"recorded":if(!s)throw new Error("Select a recorded execution id.");e=await a.recordedExecution(s,t);break;case"import-receipt":if(!s)throw new Error("Select the original import operation id.");e=await a.readImport(s,t);break;case"retain-assets":e=await a.retainStartingAssets(await p(r,15*1024*1024),t);break;case"capture-assets":e=await(await import("./connected-starting-assets-O4X6D6BG.js")).captureConnectedStartingAssets(r,a,t);break;case"starting-assets":if(!s)throw new Error("Select a retained starting assets id.");e=await a.startingAssets(s,t);break;case"summary":e=await a.homeSummary(await i(),t);break;case"case":e=await a.read(await i(),t);break;case"unmapped":e=await a.unmappedEvents(await i(),t);break;case"capture":e=await a.capture(await i(),t);break;case"selection":e=await a.createSelection(await i(),t);break;case"publish":e=await a.publishDataset(await i(),t);break;case"prepare-recorded":e=await a.prepareRecorded(await i(),t);break;case"upload-part":e=await a.uploadPart(await i(),t);break;case"preview":e=await a.preview(await i(),t);break;case"commit":e=await a.commit(await i(),t);break;case"set-collection":e=await a.setCollection(l.object({paused:l.boolean()}).strict().parse(await i()).paused,t);break;default:throw new Error("Unknown connected evidence operation.")}console.log(JSON.stringify(e,null,2))}n(g,"runConnectedEvidenceCommand");export{g as runConnectedEvidenceCommand};
|
package/dist/chunks/{connected-starting-assets-JONPTII6.js → connected-starting-assets-O4X6D6BG.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{a as Me}from"./chunk-VHXDWAEH.js";import"./chunk-AHOBCBVZ.js";import{B as Oe,C as Be,c as Re}from"./chunk-UH4JSSRL.js";import"./chunk-GPL2Z65R.js";import"./chunk-SXMR6E2W.js";import"./chunk-2HAWOMZK.js";import"./chunk-SFKZITAG.js";import"./chunk-XRKFTPHD.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import"./chunk-3M53YXEI.js";import"./chunk-JFXINDOQ.js";import"./chunk-MILEWROZ.js";import{a as De,j as Fe}from"./chunk-OTUBJV6C.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import"./chunk-UTNGEMW5.js";import"./chunk-U2K7QJCG.js";import"./chunk-WSOUMXH3.js";import"./chunk-N42HT64M.js";import"./chunk-NG2L6D7G.js";import"./chunk-GLUWATL5.js";import"./chunk-OSVGNONV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-YBNKGA5C.js";import"./chunk-LAOLJDVB.js";import"./chunk-UWHIU24L.js";import"./chunk-JCLTFDVW.js";import{c as ve,h as Te,j as Le}from"./chunk-LV3CQ72P.js";import"./chunk-ABF3W2MO.js";import"./chunk-RV7PUSI2.js";import"./chunk-KCV5VN4X.js";import"./chunk-2EPR4HLF.js";import"./chunk-BKEDG3A4.js";import"./chunk-OE22TAXP.js";import"./chunk-UGOK7VTC.js";import"./chunk-J572ANHX.js";import"./chunk-PBZCXPPC.js";import"./chunk-NJLULBTM.js";import{n as me}from"./chunk-VVNV4NNW.js";import{A as F}from"./chunk-PF56N7ZY.js";import{a as c}from"./chunk-FTQLQJQV.js";import{stat as gi,readFile as bi}from"node:fs/promises";var Vt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],We=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Tt="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ze="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",ge={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},be="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Lt={5:be,"5module":be+" export import",6:be+" const class extends export import super"},Rt=/^in(stanceof)?$/,Ot=new RegExp("["+ze+"]"),Bt=new RegExp("["+ze+Tt+"]");function _e(e,t){for(var i=65536,s=0;s<t.length;s+=2){if(i+=t[s],i>e)return!1;if(i+=t[s+1],i>=e)return!0}return!1}c(_e,"isInAstralSet");function M(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ot.test(String.fromCharCode(e)):t===!1?!1:_e(e,We)}c(M,"isIdentifierStart");function z(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bt.test(String.fromCharCode(e)):t===!1?!1:_e(e,We)||_e(e,Vt)}c(z,"isIdentifierChar");var y=c(function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null},"TokenType");function T(e,t){return new y(e,{beforeExpr:!0,binop:t})}c(T,"binop");var L={beforeExpr:!0},N={startsExpr:!0},ke={};function g(e,t){return t===void 0&&(t={}),t.keyword=e,ke[e]=new y(e,t)}c(g,"kw");var r={num:new y("num",N),regexp:new y("regexp",N),string:new y("string",N),name:new y("name",N),privateId:new y("privateId",N),eof:new y("eof"),bracketL:new y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new y("]"),braceL:new y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new y("}"),parenL:new y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new y(")"),comma:new y(",",L),semi:new y(";",L),colon:new y(":",L),dot:new y("."),question:new y("?",L),questionDot:new y("?."),arrow:new y("=>",L),template:new y("template"),invalidTemplate:new y("invalidTemplate"),ellipsis:new y("...",L),backQuote:new y("`",N),dollarBraceL:new y("${",{beforeExpr:!0,startsExpr:!0}),eq:new y("=",{beforeExpr:!0,isAssign:!0}),assign:new y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:T("||",1),logicalAND:T("&&",2),bitwiseOR:T("|",3),bitwiseXOR:T("^",4),bitwiseAND:T("&",5),equality:T("==/!=/===/!==",6),relational:T("</>/<=/>=",7),bitShift:T("<</>>/>>>",8),plusMin:new y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:T("%",10),star:T("*",10),slash:T("/",10),starstar:new y("**",{beforeExpr:!0}),coalesce:T("??",1),_break:g("break"),_case:g("case",L),_catch:g("catch"),_continue:g("continue"),_debugger:g("debugger"),_default:g("default",L),_do:g("do",{isLoop:!0,beforeExpr:!0}),_else:g("else",L),_finally:g("finally"),_for:g("for",{isLoop:!0}),_function:g("function",N),_if:g("if"),_return:g("return",L),_switch:g("switch"),_throw:g("throw",L),_try:g("try"),_var:g("var"),_const:g("const"),_while:g("while",{isLoop:!0}),_with:g("with"),_new:g("new",{beforeExpr:!0,startsExpr:!0}),_this:g("this",N),_super:g("super",N),_class:g("class",N),_extends:g("extends",L),_export:g("export"),_import:g("import",N),_null:g("null",N),_true:g("true",N),_false:g("false",N),_in:g("in",{beforeExpr:!0,binop:7}),_instanceof:g("instanceof",{beforeExpr:!0,binop:7}),_typeof:g("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:g("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:g("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},V=/\r\n?|\n|\u2028|\u2029/,Dt=new RegExp(V.source,"g");function Y(e){return e===10||e===13||e===8232||e===8233}c(Y,"isNewLine");function Ke(e,t,i){i===void 0&&(i=e.length);for(var s=t;s<i;s++){var a=e.charCodeAt(s);if(Y(a))return s<i-1&&a===13&&e.charCodeAt(s+1)===10?s+2:s+1}return-1}c(Ke,"nextLineBreak");var Qe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ye=Object.prototype,Ft=Ye.hasOwnProperty,Mt=Ye.toString,X=Object.hasOwn||(function(e,t){return Ft.call(e,t)}),Ue=Array.isArray||(function(e){return Mt.call(e)==="[object Array]"}),je=Object.create(null);function W(e){return je[e]||(je[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}c(W,"wordsRegexp");function q(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}c(q,"codePointToString");var Ut=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ee=c(function(t,i){this.line=t,this.column=i},"Position");ee.prototype.offset=c(function(t){return new ee(this.line,this.column+t)},"offset");var ce=c(function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)},"SourceLocation");function Xe(e,t){for(var i=1,s=0;;){var a=Ke(e,s,t);if(a<0)return new ee(i,t-s);++i,s=a}}c(Xe,"getLineInfo");var Ce={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},qe=!1;function jt(e){var t={};for(var i in Ce)t[i]=e&&X(e,i)?e[i]:Ce[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!qe&&typeof console=="object"&&console.warn&&(qe=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
2
|
+
import{a as Me}from"./chunk-OXRVILDW.js";import"./chunk-KOKBDIGR.js";import{B as Oe,C as Be,a as Re}from"./chunk-OTXGAKFH.js";import"./chunk-7P5SH3CI.js";import"./chunk-TGULVWPV.js";import"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import"./chunk-3M53YXEI.js";import"./chunk-JFXINDOQ.js";import"./chunk-CRDKBFRN.js";import{a as De,j as Fe}from"./chunk-DMO3UIS7.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import"./chunk-3WJQ4IGK.js";import"./chunk-KTIBXRWQ.js";import"./chunk-L4EJ5R3B.js";import"./chunk-6ZTP6CUJ.js";import"./chunk-TBODQT4W.js";import"./chunk-YRDPVTEI.js";import"./chunk-JRGECNP3.js";import"./chunk-RRWL5BHZ.js";import"./chunk-NXN7GJOH.js";import"./chunk-5WPMI6QX.js";import"./chunk-W7NXFRHN.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import"./chunk-UN2LKLGV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-AMC4Z7G4.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import{j as ve,o as Te,q as Le}from"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import{n as me}from"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import{A as F}from"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import{a as c}from"./chunk-FTQLQJQV.js";import{stat as gi,readFile as bi}from"node:fs/promises";var Vt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],We=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Tt="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ze="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",ge={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},be="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Lt={5:be,"5module":be+" export import",6:be+" const class extends export import super"},Rt=/^in(stanceof)?$/,Ot=new RegExp("["+ze+"]"),Bt=new RegExp("["+ze+Tt+"]");function _e(e,t){for(var i=65536,s=0;s<t.length;s+=2){if(i+=t[s],i>e)return!1;if(i+=t[s+1],i>=e)return!0}return!1}c(_e,"isInAstralSet");function M(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ot.test(String.fromCharCode(e)):t===!1?!1:_e(e,We)}c(M,"isIdentifierStart");function z(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bt.test(String.fromCharCode(e)):t===!1?!1:_e(e,We)||_e(e,Vt)}c(z,"isIdentifierChar");var y=c(function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null},"TokenType");function T(e,t){return new y(e,{beforeExpr:!0,binop:t})}c(T,"binop");var L={beforeExpr:!0},N={startsExpr:!0},ke={};function g(e,t){return t===void 0&&(t={}),t.keyword=e,ke[e]=new y(e,t)}c(g,"kw");var r={num:new y("num",N),regexp:new y("regexp",N),string:new y("string",N),name:new y("name",N),privateId:new y("privateId",N),eof:new y("eof"),bracketL:new y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new y("]"),braceL:new y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new y("}"),parenL:new y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new y(")"),comma:new y(",",L),semi:new y(";",L),colon:new y(":",L),dot:new y("."),question:new y("?",L),questionDot:new y("?."),arrow:new y("=>",L),template:new y("template"),invalidTemplate:new y("invalidTemplate"),ellipsis:new y("...",L),backQuote:new y("`",N),dollarBraceL:new y("${",{beforeExpr:!0,startsExpr:!0}),eq:new y("=",{beforeExpr:!0,isAssign:!0}),assign:new y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:T("||",1),logicalAND:T("&&",2),bitwiseOR:T("|",3),bitwiseXOR:T("^",4),bitwiseAND:T("&",5),equality:T("==/!=/===/!==",6),relational:T("</>/<=/>=",7),bitShift:T("<</>>/>>>",8),plusMin:new y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:T("%",10),star:T("*",10),slash:T("/",10),starstar:new y("**",{beforeExpr:!0}),coalesce:T("??",1),_break:g("break"),_case:g("case",L),_catch:g("catch"),_continue:g("continue"),_debugger:g("debugger"),_default:g("default",L),_do:g("do",{isLoop:!0,beforeExpr:!0}),_else:g("else",L),_finally:g("finally"),_for:g("for",{isLoop:!0}),_function:g("function",N),_if:g("if"),_return:g("return",L),_switch:g("switch"),_throw:g("throw",L),_try:g("try"),_var:g("var"),_const:g("const"),_while:g("while",{isLoop:!0}),_with:g("with"),_new:g("new",{beforeExpr:!0,startsExpr:!0}),_this:g("this",N),_super:g("super",N),_class:g("class",N),_extends:g("extends",L),_export:g("export"),_import:g("import",N),_null:g("null",N),_true:g("true",N),_false:g("false",N),_in:g("in",{beforeExpr:!0,binop:7}),_instanceof:g("instanceof",{beforeExpr:!0,binop:7}),_typeof:g("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:g("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:g("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},V=/\r\n?|\n|\u2028|\u2029/,Dt=new RegExp(V.source,"g");function Y(e){return e===10||e===13||e===8232||e===8233}c(Y,"isNewLine");function Ke(e,t,i){i===void 0&&(i=e.length);for(var s=t;s<i;s++){var a=e.charCodeAt(s);if(Y(a))return s<i-1&&a===13&&e.charCodeAt(s+1)===10?s+2:s+1}return-1}c(Ke,"nextLineBreak");var Qe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ye=Object.prototype,Ft=Ye.hasOwnProperty,Mt=Ye.toString,X=Object.hasOwn||(function(e,t){return Ft.call(e,t)}),Ue=Array.isArray||(function(e){return Mt.call(e)==="[object Array]"}),je=Object.create(null);function W(e){return je[e]||(je[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}c(W,"wordsRegexp");function q(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}c(q,"codePointToString");var Ut=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ee=c(function(t,i){this.line=t,this.column=i},"Position");ee.prototype.offset=c(function(t){return new ee(this.line,this.column+t)},"offset");var ce=c(function(t,i,s){this.start=i,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)},"SourceLocation");function Xe(e,t){for(var i=1,s=0;;){var a=Ke(e,s,t);if(a<0)return new ee(i,t-s);++i,s=a}}c(Xe,"getLineInfo");var Ce={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},qe=!1;function jt(e){var t={};for(var i in Ce)t[i]=e&&X(e,i)?e[i]:Ce[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!qe&&typeof console=="object"&&console.warn&&(qe=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
3
3
|
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Ue(t.onToken)){var s=t.onToken;t.onToken=function(a){return s.push(a)}}return Ue(t.onComment)&&(t.onComment=qt(t,t.onComment)),t}c(jt,"getOptions");function qt(e,t){return function(i,s,a,n,o,u){var h={type:i?"Block":"Line",value:s,start:a,end:n};e.locations&&(h.loc=new ce(this,o,u)),e.ranges&&(h.range=[a,n]),t.push(h)}}c(qt,"pushComment");var te=1,Z=2,Ee=4,Ze=8,Ie=16,Je=32,pe=64,$e=128,Q=256,ie=512,le=te|Z|Q;function Ae(e,t){return Z|(e?Ee:0)|(t?Ze:0)}c(Ae,"functionFlags");var ne=0,Pe=1,G=2,et=3,tt=4,it=5,w=c(function(t,i,s){this.options=t=jt(t),this.sourceFile=t.sourceFile,this.keywords=W(Lt[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=ge[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=W(a);var n=(a?a+" ":"")+ge.strict;this.reservedWordsStrict=W(n),this.reservedWordsStrictBind=W(n+" "+ge.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
|
|
4
4
|
`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(V).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(te),this.regexpState=null,this.privateNameStack=[]},"Parser"),U={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};w.prototype.parse=c(function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},"parse");U.inFunction.get=function(){return(this.currentVarScope().flags&Z)>0};U.inGenerator.get=function(){return(this.currentVarScope().flags&Ze)>0};U.inAsync.get=function(){return(this.currentVarScope().flags&Ee)>0};U.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(Q|ie))return!1;if(i&Z)return(i&Ee)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};U.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&pe)>0||this.options.allowSuperOutsideMethod};U.allowDirectSuper.get=function(){return(this.currentThisScope().flags&$e)>0};U.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};U.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(Q|ie)||i&Z&&!(i&Ie))return!0}return!1};U.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Q)>0};w.extend=c(function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=this,a=0;a<t.length;a++)s=t[a](s);return s},"extend");w.parse=c(function(t,i){return new this(i,t).parse()},"parse");w.parseExpressionAt=c(function(t,i,s){var a=new this(s,t,i);return a.nextToken(),a.parseExpression()},"parseExpressionAt");w.tokenizer=c(function(t,i){return new this(i,t)},"tokenizer");Object.defineProperties(w.prototype,U);var E=w.prototype,Ht=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;E.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){k.lastIndex=e,e+=k.exec(this.input)[0].length;var t=Ht.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){k.lastIndex=e+t[0].length;var i=k.exec(this.input),s=i.index+i[0].length,a=this.input.charAt(s);return a===";"||a==="}"||V.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,this.input[e]===";"&&e++}};E.eat=function(e){return this.type===e?(this.next(),!0):!1};E.isContextual=function(e){return this.type===r.name&&this.value===e&&!this.containsEsc};E.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};E.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};E.canInsertSemicolon=function(){return this.type===r.eof||this.type===r.braceR||V.test(this.input.slice(this.lastTokEnd,this.start))};E.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};E.semicolon=function(){!this.eat(r.semi)&&!this.insertSemicolon()&&this.unexpected()};E.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};E.expect=function(e){this.eat(e)||this.unexpected()};E.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var fe=c(function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1},"DestructuringErrors");E.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};E.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,s=e.doubleProto;if(!t)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")};E.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};E.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var l=w.prototype;l.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==r.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var s=0,a=Object.keys(this.undefinedExports);s<a.length;s+=1){var n=a[s];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ne={kind:"loop"},Gt={kind:"switch"};l.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;k.lastIndex=this.pos;var t=k.exec(this.input),i=this.pos+t[0].length,s=this.input.charCodeAt(i);if(s===91||s===92)return!0;if(e)return!1;if(s===123||s>55295&&s<56320)return!0;if(M(s,!0)){for(var a=i+1;z(s=this.input.charCodeAt(a),!0);)++a;if(s===92||s>55295&&s<56320)return!0;var n=this.input.slice(i,a);if(!Rt.test(n))return!0}return!1};l.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;k.lastIndex=this.pos;var e=k.exec(this.input),t=this.pos+e[0].length,i;return!V.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(z(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};l.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;k.lastIndex=this.pos;var i=k.exec(this.input),s=this.pos+i[0].length;if(V.test(this.input.slice(this.pos,s)))return!1;if(e){var a=s+5,n;if(this.input.slice(s,a)!=="using"||a===this.input.length||z(n=this.input.charCodeAt(a))||n>55295&&n<56320)return!1;k.lastIndex=a;var o=k.exec(this.input);if(o&&V.test(this.input.slice(a,a+o[0].length)))return!1}if(t){var u=s+2,h;if(this.input.slice(s,u)==="of"&&(u===this.input.length||!z(h=this.input.charCodeAt(u))&&!(h>55295&&h<56320)))return!1}var f=this.input.charCodeAt(s);return M(f,!0)||f===92};l.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};l.isUsing=function(e){return this.isUsingKeyword(!1,e)};l.parseStatement=function(e,t,i){var s=this.type,a=this.startNode(),n;switch(this.isLet(e)&&(s=r._var,n="let"),s){case r._break:case r._continue:return this.parseBreakContinueStatement(a,s.keyword);case r._debugger:return this.parseDebuggerStatement(a);case r._do:return this.parseDoStatement(a);case r._for:return this.parseForStatement(a);case r._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case r._class:return e&&this.unexpected(),this.parseClass(a,!0);case r._if:return this.parseIfStatement(a);case r._return:return this.parseReturnStatement(a);case r._switch:return this.parseSwitchStatement(a);case r._throw:return this.parseThrowStatement(a);case r._try:return this.parseTryStatement(a);case r._const:case r._var:return n=n||this.value,e&&n!=="var"&&this.unexpected(),this.parseVarStatement(a,n);case r._while:return this.parseWhileStatement(a);case r._with:return this.parseWithStatement(a);case r.braceL:return this.parseBlock(!0,a);case r.semi:return this.parseEmptyStatement(a);case r._export:case r._import:if(this.options.ecmaVersion>10&&s===r._import){k.lastIndex=this.pos;var o=k.exec(this.input),u=this.pos+o[0].length,h=this.input.charCodeAt(u);if(h===40||h===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===r._import?this.parseImport(a):this.parseExport(a,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var f=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(f)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),f==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(a,!1,f),this.semicolon(),this.finishNode(a,"VariableDeclaration");var d=this.value,b=this.parseExpression();return s===r.name&&b.type==="Identifier"&&this.eat(r.colon)?this.parseLabeledStatement(a,d,b,e):this.parseExpressionStatement(a,b)}};l.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(r.semi)||this.insertSemicolon()?e.label=null:this.type!==r.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var a=this.labels[s];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(i||a.kind==="loop")||e.label&&i))break}return s===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};l.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};l.parseDoStatement=function(e){return this.next(),this.labels.push(Ne),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(r._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(r.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};l.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ne),this.enterScope(0),this.expect(r.parenL),this.type===r.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===r._var||this.type===r._const||i){var s=this.startNode(),a=i?"let":this.value;return this.next(),this.parseVar(s,!0,a),this.finishNode(s,"VariableDeclaration"),this.parseForAfterInit(e,s,t)}var n=this.isContextual("let"),o=!1,u=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(u){var h=this.startNode();return this.next(),u==="await using"&&this.next(),this.parseVar(h,!0,u),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(e,h,t)}var f=this.containsEsc,d=new fe,b=this.start,_=t>-1?this.parseExprSubscripts(d,"await"):this.parseExpression(!0,d);return this.type===r._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===r._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(_.start===b&&!f&&_.type==="Identifier"&&_.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),n&&o&&this.raise(_.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(_,!1,d),this.checkLValPattern(_),this.parseForIn(e,_)):(this.checkExpressionErrors(d,!0),t>-1&&this.unexpected(t),this.parseFor(e,_))};l.parseForAfterInit=function(e,t,i){return(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===r._in?i>-1&&this.unexpected(i):e.await=i>-1),this.parseForIn(e,t)):(i>-1&&this.unexpected(i),this.parseFor(e,t))};l.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,$|(i?0:we),!1,t)};l.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};l.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};l.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r.braceL),this.labels.push(Gt),this.enterScope(0);for(var t,i=!1;this.type!==r.braceR;)if(this.type===r._case||this.type===r._default){var s=this.type===r._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(r.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};l.parseThrowStatement=function(e){return this.next(),V.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Wt=[];l.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Je:0),this.checkLValPattern(e,t?tt:G),this.expect(r.parenR),e};l.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r._catch){var t=this.startNode();this.next(),this.eat(r.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};l.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};l.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ne),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};l.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};l.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};l.parseLabeledStatement=function(e,t,i,s){for(var a=0,n=this.labels;a<n.length;a+=1){var o=n[a];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===r._switch?"switch":null,h=this.labels.length-1;h>=0;h--){var f=this.labels[h];if(f.statementStart===e.start)f.statementStart=this.start,f.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};l.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};l.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(r.braceL),e&&this.enterScope(0);this.type!==r.braceR;){var s=this.parseStatement(null);t.body.push(s)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};l.parseFor=function(e,t){return e.init=t,this.expect(r.semi),e.test=this.type===r.semi?null:this.parseExpression(),this.expect(r.semi),e.update=this.type===r.parenR?null:this.parseExpression(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};l.parseForIn=function(e,t){var i=this.type===r._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(r.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};l.parseVar=function(e,t,i,s){for(e.declarations=[],e.kind=i;;){var a=this.startNode();if(this.parseVarId(a,i),this.eat(r.eq)?a.init=this.parseMaybeAssign(t):!s&&i==="const"&&!(this.type===r._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&(i==="using"||i==="await using")&&this.options.ecmaVersion>=17&&this.type!==r._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration"):!s&&a.id.type!=="Identifier"&&!(t&&(this.type===r._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):a.init=null,e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(r.comma))break}return e};l.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Pe:G,!1)};var $=1,we=2,st=4;l.parseFunction=function(e,t,i,s,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===r.star&&t&we&&this.unexpected(),e.generator=this.eat(r.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&$&&(e.id=t&st&&this.type!==r.name?null:this.parseIdent(),e.id&&!(t&we)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Pe:G:et));var n=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ae(e.async,e.generator)),t&$||(e.id=this.type===r.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,a),this.yieldPos=n,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(e,t&$?"FunctionDeclaration":"FunctionExpression")};l.parseFunctionParams=function(e){this.expect(r.parenL),e.params=this.parseBindingList(r.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};l.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),a=this.startNode(),n=!1;for(a.body=[],this.expect(r.braceL);this.type!==r.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(a.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(n&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),n=!0):o.key&&o.key.type==="PrivateIdentifier"&&zt(s,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};l.parseClassElement=function(e){if(this.eat(r.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),s="",a=!1,n=!1,o="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===r.star?u=!0:s="static"}if(i.static=u,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r.star)&&!this.canInsertSemicolon()?n=!0:s="async"),!s&&(t>=9||!n)&&this.eat(r.star)&&(a=!0),!s&&!n&&!a){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=h:s=h)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===r.parenL||o!=="method"||a||n){var f=!i.static&&oe(i,"constructor"),d=f&&e;f&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=f?"constructor":o,this.parseClassMethod(i,a,n,d)}else this.parseClassField(i);return i};l.isClassElementNameStart=function(){return this.type===r.name||this.type===r.privateId||this.type===r.num||this.type===r.string||this.type===r.bracketL||this.type.keyword};l.parseClassElementName=function(e){this.type===r.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};l.parseClassMethod=function(e,t,i,s){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),i&&this.raise(a.start,"Constructor can't be an async method")):e.static&&oe(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var n=e.value=this.parseMethod(t,i,s);return e.kind==="get"&&n.params.length!==0&&this.raiseRecoverable(n.start,"getter should have no params"),e.kind==="set"&&n.params.length!==1&&this.raiseRecoverable(n.start,"setter should have exactly one param"),e.kind==="set"&&n.params[0].type==="RestElement"&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};l.parseClassField=function(e){return oe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&oe(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r.eq)?(this.enterScope(ie|pe),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};l.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Q|pe);this.type!==r.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};l.parseClassId=function(e,t){this.type===r.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,G,!1)):(t===!0&&this.unexpected(),e.id=null)};l.parseClassSuper=function(e){e.superClass=this.eat(r._extends)?this.parseExprSubscripts(null,!1):null};l.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};l.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var s=this.privateNameStack.length,a=s===0?null:this.privateNameStack[s-1],n=0;n<i.length;++n){var o=i[n];X(t,o.name)||(a?a.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function zt(e,t){var i=t.key.name,s=e[i],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),s==="iget"&&a==="iset"||s==="iset"&&a==="iget"||s==="sget"&&a==="sset"||s==="sset"&&a==="sget"?(e[i]="true",!1):s?!0:(e[i]=a,!1)}c(zt,"isPrivateNameConflicted");function oe(e,t){var i=e.computed,s=e.key;return!i&&(s.type==="Identifier"&&s.name===t||s.type==="Literal"&&s.value===t)}c(oe,"checkKeyName");l.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};l.parseExport=function(e,t){if(this.next(),this.eat(r.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,s=e.specifiers;i<s.length;i+=1){var a=s[i];this.checkUnreserved(a.local),this.checkLocalExport(a.local),a.local.type==="Literal"&&this.raise(a.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};l.parseExportDeclaration=function(e){return this.parseStatement(null)};l.parseExportDefaultDeclaration=function(){var e;if(this.type===r._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,$|st,!1,e)}else if(this.type===r._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var s=this.parseMaybeAssign();return this.semicolon(),s}};l.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),X(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};l.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var s=0,a=t.properties;s<a.length;s+=1){var n=a[s];this.checkPatternExport(e,n)}else if(i==="ArrayPattern")for(var o=0,u=t.elements;o<u.length;o+=1){var h=u[o];h&&this.checkPatternExport(e,h)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"&&this.checkPatternExport(e,t.argument)};l.checkVariableExport=function(e,t){if(e)for(var i=0,s=t;i<s.length;i+=1){var a=s[i];this.checkPatternExport(e,a.id)}};l.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};l.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};l.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(r.braceL);!this.eat(r.braceR);){if(i)i=!1;else if(this.expect(r.comma),this.afterTrailingComma(r.braceR))break;t.push(this.parseExportSpecifier(e))}return t};l.parseImport=function(e){return this.next(),this.type===r.string?(e.specifiers=Wt,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===r.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};l.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,G),this.finishNode(e,"ImportSpecifier")};l.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,G),this.finishNode(e,"ImportDefaultSpecifier")};l.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,G),this.finishNode(e,"ImportNamespaceSpecifier")};l.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===r.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(r.comma)))return e;if(this.type===r.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(r.braceL);!this.eat(r.braceR);){if(t)t=!1;else if(this.expect(r.comma),this.afterTrailingComma(r.braceR))break;e.push(this.parseImportSpecifier())}return e};l.parseWithClause=function(){var e=[];if(!this.eat(r._with))return e;this.expect(r.braceL);for(var t={},i=!0;!this.eat(r.braceR);){if(i)i=!1;else if(this.expect(r.comma),this.afterTrailingComma(r.braceR))break;var s=this.parseImportAttribute(),a=s.key.type==="Identifier"?s.key.name:s.key.value;X(t,a)&&this.raiseRecoverable(s.key.start,"Duplicate attribute key '"+a+"'"),t[a]=!0,e.push(s)}return e};l.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===r.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(r.colon),this.type!==r.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};l.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===r.string){var e=this.parseLiteral(this.value);return Ut.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};l.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};l.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var O=w.prototype;O.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,a=e.properties;s<a.length;s+=1){var n=a[s];this.toAssignable(n,t),n.type==="RestElement"&&(n.argument.type==="ArrayPattern"||n.argument.type==="ObjectPattern")&&this.raise(n.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e};O.toAssignableList=function(e,t){for(var i=e.length,s=0;s<i;s++){var a=e[s];a&&this.toAssignable(a,t)}if(i){var n=e[i-1];this.options.ecmaVersion===6&&t&&n&&n.type==="RestElement"&&n.argument.type!=="Identifier"&&this.unexpected(n.argument.start)}return e};O.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};O.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==r.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};O.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case r.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(r.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case r.braceL:return this.parseObj(!0)}return this.parseIdent()};O.parseBindingList=function(e,t,i,s){for(var a=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(r.comma),t&&this.type===r.comma)a.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===r.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),a.push(o),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else a.push(this.parseAssignableListItem(s))}return a};O.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};O.parseBindingListItem=function(e){return e};O.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(r.eq))return i;var s=this.startNodeAt(e,t);return s.left=i,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")};O.checkLValSimple=function(e,t,i){t===void 0&&(t=ne);var s=t!==ne;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(s?"Binding ":"Assigning to ")+e.name+" in strict mode"),s&&(t===G&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(X(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==it&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(s?"Binding":"Assigning to")+" rvalue")}};O.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=ne),e.type){case"ObjectPattern":for(var s=0,a=e.properties;s<a.length;s+=1){var n=a[s];this.checkLValInnerPattern(n,t,i)}break;case"ArrayPattern":for(var o=0,u=e.elements;o<u.length;o+=1){var h=u[o];h&&this.checkLValInnerPattern(h,t,i)}break;default:this.checkLValSimple(e,t,i)}};O.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=ne),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var B=c(function(t,i,s,a,n){this.token=t,this.isExpr=!!i,this.preserveSpace=!!s,this.override=a,this.generator=!!n},"TokContext"),C={b_stat:new B("{",!1),b_expr:new B("{",!0),b_tmpl:new B("${",!1),p_stat:new B("(",!1),p_expr:new B("(",!0),q_tmpl:new B("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new B("function",!1),f_expr:new B("function",!0),f_expr_gen:new B("function",!0,!1,null,!0),f_gen:new B("function",!1,!1,null,!0)},J=w.prototype;J.initialContext=function(){return[C.b_stat]};J.curContext=function(){return this.context[this.context.length-1]};J.braceIsBlock=function(e){var t=this.curContext();return t===C.f_expr||t===C.f_stat?!0:e===r.colon&&(t===C.b_stat||t===C.b_expr)?!t.isExpr:e===r._return||e===r.name&&this.exprAllowed?V.test(this.input.slice(this.lastTokEnd,this.start)):e===r._else||e===r.semi||e===r.eof||e===r.parenR||e===r.arrow?!0:e===r.braceL?t===C.b_stat:e===r._var||e===r._const||e===r.name?!1:!this.exprAllowed};J.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};J.updateContext=function(e){var t,i=this.type;i.keyword&&e===r.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};J.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};r.parenR.updateContext=r.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===C.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};r.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?C.b_stat:C.b_expr),this.exprAllowed=!0};r.dollarBraceL.updateContext=function(){this.context.push(C.b_tmpl),this.exprAllowed=!0};r.parenL.updateContext=function(e){var t=e===r._if||e===r._for||e===r._with||e===r._while;this.context.push(t?C.p_stat:C.p_expr),this.exprAllowed=!0};r.incDec.updateContext=function(){};r._function.updateContext=r._class.updateContext=function(e){e.beforeExpr&&e!==r._else&&!(e===r.semi&&this.curContext()!==C.p_stat)&&!(e===r._return&&V.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===r.colon||e===r.braceL)&&this.curContext()===C.b_stat)?this.context.push(C.f_expr):this.context.push(C.f_stat),this.exprAllowed=!1};r.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};r.backQuote.updateContext=function(){this.curContext()===C.q_tmpl?this.context.pop():this.context.push(C.q_tmpl),this.exprAllowed=!1};r.star.updateContext=function(e){if(e===r._function){var t=this.context.length-1;this.context[t]===C.f_expr?this.context[t]=C.f_expr_gen:this.context[t]=C.f_gen}this.exprAllowed=!0};r.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==r.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=w.prototype;x.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var s=e.key,a;switch(s.type){case"Identifier":a=s.name;break;case"Literal":a=String(s.value);break;default:return}var n=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&n==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var o=t[a];if(o){var u;n==="init"?u=this.strict&&o.init||o.get||o.set:u=o.init||o[n],u&&this.raiseRecoverable(s.start,"Redefinition of property")}else o=t[a]={init:!1,get:!1,set:!1};o[n]=!0}};x.parseExpression=function(e,t){var i=this.start,s=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===r.comma){var n=this.startNodeAt(i,s);for(n.expressions=[a];this.eat(r.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(n,"SequenceExpression")}return a};x.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var s=!1,a=-1,n=-1,o=-1;t?(a=t.parenthesizedAssign,n=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new fe,s=!0);var u=this.start,h=this.startLoc;(this.type===r.parenL||this.type===r.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var f=this.parseMaybeConditional(e,t);if(i&&(f=i.call(this,f,u,h)),this.type.isAssign){var d=this.startNodeAt(u,h);return d.operator=this.value,this.type===r.eq&&(f=this.toAssignable(f,!1,t)),s||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=f.start&&(t.shorthandAssign=-1),this.type===r.eq?this.checkLValPattern(f):this.checkLValSimple(f),d.left=f,this.next(),d.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(d,"AssignmentExpression")}else s&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),n>-1&&(t.trailingComma=n),f};x.parseMaybeConditional=function(e,t){var i=this.start,s=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(r.question)){var n=this.startNodeAt(i,s);return n.test=a,n.consequent=this.parseMaybeAssign(),this.expect(r.colon),n.alternate=this.parseMaybeAssign(e),this.finishNode(n,"ConditionalExpression")}return a};x.parseExprOps=function(e,t){var i=this.start,s=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===i&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,i,s,-1,e)};x.parseExprOp=function(e,t,i,s,a){var n=this.type.binop;if(n!=null&&(!a||this.type!==r._in)&&n>s){var o=this.type===r.logicalOR||this.type===r.logicalAND,u=this.type===r.coalesce;u&&(n=r.logicalAND.binop);var h=this.value;this.next();var f=this.start,d=this.startLoc,b=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),f,d,n,a),_=this.buildBinary(t,i,e,b,h,o||u);return(o&&this.type===r.coalesce||u&&(this.type===r.logicalOR||this.type===r.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(_,t,i,s,a)}return e};x.buildBinary=function(e,t,i,s,a,n){s.type==="PrivateIdentifier"&&this.raise(s.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=a,o.right=s,this.finishNode(o,n?"LogicalExpression":"BinaryExpression")};x.parseMaybeUnary=function(e,t,i,s){var a=this.start,n=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(s),t=!0;else if(this.type.prefix){var u=this.startNode(),h=this.type===r.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,h,s),this.checkExpressionErrors(e,!0),h?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&rt(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&Se(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(u,h?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===r.privateId)(s||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==r._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,s),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var f=this.startNodeAt(a,n);f.operator=this.value,f.prefix=!1,f.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(f,"UpdateExpression")}}if(!i&&this.eat(r.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,n,o,this.parseMaybeUnary(null,!1,!1,s),"**",!1);else return o};function rt(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&rt(e.expression)}c(rt,"isLocalVariableAccess");function Se(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&Se(e.expression)||e.type==="ParenthesizedExpression"&&Se(e.expression)}c(Se,"isPrivateFieldAccess");x.parseExprSubscripts=function(e,t){var i=this.start,s=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var n=this.parseSubscripts(a,i,s,!1,t);return e&&n.type==="MemberExpression"&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start&&(e.trailingComma=-1)),n};x.parseSubscripts=function(e,t,i,s,a){for(var n=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var u=this.parseSubscript(e,t,i,s,n,o,a);if(u.optional&&(o=!0),u===e||u.type==="ArrowFunctionExpression"){if(o){var h=this.startNodeAt(t,i);h.expression=u,u=this.finishNode(h,"ChainExpression")}return u}e=u}};x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(r.arrow)};x.parseSubscriptAsyncArrow=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,s)};x.parseSubscript=function(e,t,i,s,a,n,o){var u=this.options.ecmaVersion>=11,h=u&&this.eat(r.questionDot);s&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var f=this.eat(r.bracketL);if(f||h&&this.type!==r.parenL&&this.type!==r.backQuote||this.eat(r.dot)){var d=this.startNodeAt(t,i);d.object=e,f?(d.property=this.parseExpression(),this.expect(r.bracketR)):this.type===r.privateId&&e.type!=="Super"?d.property=this.parsePrivateIdent():d.property=this.parseIdent(this.options.allowReserved!=="never"),d.computed=!!f,u&&(d.optional=h),e=this.finishNode(d,"MemberExpression")}else if(!s&&this.eat(r.parenL)){var b=new fe,_=this.yieldPos,A=this.awaitPos,D=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var S=this.parseExprList(r.parenR,this.options.ecmaVersion>=8,!1,b);if(a&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(b,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=A,this.awaitIdentPos=D,this.parseSubscriptAsyncArrow(t,i,S,o);this.checkExpressionErrors(b,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=A||this.awaitPos,this.awaitIdentPos=D||this.awaitIdentPos;var m=this.startNodeAt(t,i);m.callee=e,m.arguments=S,u&&(m.optional=h),e=this.finishNode(m,"CallExpression")}else if(this.type===r.backQuote){(h||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var P=this.startNodeAt(t,i);P.tag=e,P.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(P,"TaggedTemplateExpression")}return e};x.parseExprAtom=function(e,t,i){this.type===r.slash&&this.readRegexp();var s,a=this.potentialArrowAt===this.start;switch(this.type){case r._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),s=this.startNode(),this.next(),this.type===r.parenL&&!this.allowDirectSuper&&this.raise(s.start,"super() call outside constructor of a subclass"),this.type!==r.dot&&this.type!==r.bracketL&&this.type!==r.parenL&&this.unexpected(),this.finishNode(s,"Super");case r._this:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case r.name:var n=this.start,o=this.startLoc,u=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&h.name==="async"&&!this.canInsertSemicolon()&&this.eat(r._function))return this.overrideContext(C.f_expr),this.parseFunction(this.startNodeAt(n,o),0,!1,!0,t);if(a&&!this.canInsertSemicolon()){if(this.eat(r.arrow))return this.parseArrowExpression(this.startNodeAt(n,o),[h],!1,t);if(this.options.ecmaVersion>=8&&h.name==="async"&&this.type===r.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,o),[h],!0,t)}return h;case r.regexp:var f=this.value;return s=this.parseLiteral(f.value),s.regex={pattern:f.pattern,flags:f.flags},s;case r.num:case r.string:return this.parseLiteral(this.value);case r._null:case r._true:case r._false:return s=this.startNode(),s.value=this.type===r._null?null:this.type===r._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case r.parenL:var d=this.start,b=this.parseParenAndDistinguishExpression(a,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(b)&&(e.parenthesizedAssign=d),e.parenthesizedBind<0&&(e.parenthesizedBind=d)),b;case r.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(r.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case r.braceL:return this.overrideContext(C.b_expr),this.parseObj(!1,e);case r._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case r._class:return this.parseClass(this.startNode(),!1);case r._new:return this.parseNew();case r.backQuote:return this.parseTemplate();case r._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};x.parseExprAtomDefault=function(){this.unexpected()};x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===r.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(r.parenR)?e.options=null:(this.expect(r.comma),this.afterTrailingComma(r.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(r.parenR)||(this.expect(r.comma),this.afterTrailingComma(r.parenR)||this.unexpected())));else if(!this.eat(r.parenR)){var t=this.start;this.eat(r.comma)&&this.eat(r.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};x.parseParenExpression=function(){this.expect(r.parenL);var e=this.parseExpression();return this.expect(r.parenR),e};x.shouldParseArrow=function(e){return!this.canInsertSemicolon()};x.parseParenAndDistinguishExpression=function(e,t){var i=this.start,s=this.startLoc,a,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,h=[],f=!0,d=!1,b=new fe,_=this.yieldPos,A=this.awaitPos,D;for(this.yieldPos=0,this.awaitPos=0;this.type!==r.parenR;)if(f?f=!1:this.expect(r.comma),n&&this.afterTrailingComma(r.parenR,!0)){d=!0;break}else if(this.type===r.ellipsis){D=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===r.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,b,this.parseParenItem));var S=this.lastTokEnd,m=this.lastTokEndLoc;if(this.expect(r.parenR),e&&this.shouldParseArrow(h)&&this.eat(r.arrow))return this.checkPatternErrors(b,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_,this.awaitPos=A,this.parseParenArrowList(i,s,h,t);(!h.length||d)&&this.unexpected(this.lastTokStart),D&&this.unexpected(D),this.checkExpressionErrors(b,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=A||this.awaitPos,h.length>1?(a=this.startNodeAt(o,u),a.expressions=h,this.finishNodeAt(a,"SequenceExpression",S,m)):a=h[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(i,s);return P.expression=a,this.finishNode(P,"ParenthesizedExpression")}else return a};x.parseParenItem=function(e){return e};x.parseParenArrowList=function(e,t,i,s){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,s)};var Kt=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===r.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,a,!0,!1),this.eat(r.parenL)?e.arguments=this.parseExprList(r.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Kt,this.finishNode(e,"NewExpression")};x.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===r.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,`
|
|
5
5
|
`),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-H42UW6IF.js";import"./chunk-S4WILIRA.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import"./chunk-FTQLQJQV.js";export{a as EnclaveError,d as createEnclaveConnection,b as listUrlModels,c as resolveUrlModel};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{a as V,d as D}from"./chunk-
|
|
2
|
+
import{a as V,d as D}from"./chunk-KOKBDIGR.js";import{c as J}from"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import{c as k,f as O,g as te,h as q}from"./chunk-3M53YXEI.js";import{a as M}from"./chunk-UTIELP6F.js";import"./chunk-5WPMI6QX.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import{a as U}from"./chunk-6FA3GG5B.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import{A as n}from"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import{a as d}from"./chunk-FTQLQJQV.js";import{readFile as ge,writeFile as ye}from"node:fs/promises";import E from"node:path";import{createInterface as Ee}from"node:readline/promises";var Ae=Object.freeze({init:"openpond continual init --from ./tasks.jsonl",validate:"openpond continual validate ./continual-support.yaml",run:"openpond continual run ./continual-support.yaml",report:"openpond continual report <comparison-series-id>"});import{createHash as ke}from"node:crypto";function W(e){return`${JSON.stringify(G(e),null,2)}
|
|
3
3
|
`}d(W,"canonicalJson");function w(e){return ke("sha256").update(W(e)).digest("hex")}d(w,"contentHash");function G(e){return Array.isArray(e)?e.map(G):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).sort(([s],[t])=>s.localeCompare(t)).map(([s,t])=>[s,G(t)])):e}d(G,"normalize");function oe(e){let s=e.semanticSimilarityThreshold??.8;if(!(s>0&&s<=1))throw new Error("semanticSimilarityThreshold must be in (0, 1].");let t=new Set((e.allowSharedFamiliesBetween??[]).flatMap(([a,c])=>[`${a}\0${c}`,`${c}\0${a}`])),o=[];for(let a=0;a<e.panels.length;a+=1){let c=e.panels[a];for(let i=a+1;i<e.panels.length;i+=1){let f=e.panels[i];for(let l of c.tasks)for(let m of f.tasks){let g={leftPanel:c.id,rightPanel:f.id,leftTaskId:l.id,rightTaskId:m.id};if(l.id===m.id?o.push({...g,kind:"duplicate_id",similarity:1}):l.contentHash===m.contentHash&&o.push({...g,kind:"duplicate_content",similarity:1}),l.familyId===m.familyId&&!t.has(`${c.id}\0${f.id}`)&&o.push({...g,kind:"family_overlap",similarity:null}),l.prompt&&m.prompt){let u=Ie(l.prompt,m.prompt);u>=s&&o.push({...g,kind:"prompt_overlap",similarity:u})}}}}let r={schemaVersion:"openpond.continualBenchLeakageAudit.v1",threshold:s,findings:o.sort((a,c)=>JSON.stringify(a).localeCompare(JSON.stringify(c)))};return{...r,contentHash:w(r)}}d(oe,"auditContinualBenchLeakage");function Ie(e,s){let t=d(i=>new Set(i.toLowerCase().match(/[a-z0-9]+/g)??[]),"tokens"),o=t(e),r=t(s),a=new Set([...o,...r]);if(!a.size)return 1;let c=0;for(let i of o)r.has(i)&&(c+=1);return c/a.size}d(Ie,"jaccard");var S=n.string().trim().min(1).max(240),j=n.string().regex(/^[a-f0-9]{64}$/),Xe=n.object({id:S,contentHash:j}).strict(),ve=n.object({id:S,familyId:S,contentHash:j,prompt:n.string().max(1e6).optional(),payload:n.record(n.string(),n.unknown()).optional()}).strict(),Se=n.object({id:S,role:M,passLabel:S.nullable(),taskIds:n.array(S).min(1).max(1e6),disclosurePhase:n.enum(["review","evaluation","final"]),optimizerEligible:n.boolean()}).strict().superRefine((e,s)=>{let t=e.role==="correction"||e.role==="training_eligible";e.optimizerEligible!==t&&s.addIssue({code:"custom",path:["optimizerEligible"],message:"Only correction and training-eligible panels may be optimizer eligible."}),e.role==="frozen_final"&&e.disclosurePhase!=="final"&&s.addIssue({code:"custom",path:["disclosurePhase"],message:"The frozen-final panel may only be disclosed in the final phase."}),new Set(e.taskIds).size!==e.taskIds.length&&s.addIssue({code:"custom",path:["taskIds"],message:"Panel task ids must be unique."})}),Pe=n.object({label:S,familyIds:n.array(S).min(1).max(1e5)}).strict(),xe=n.object({adapter:n.literal("openpond"),apiBaseUrl:n.string().url().optional(),series:n.record(n.string(),n.unknown())}).strict(),T=n.object({schemaVersion:n.literal("openpond.continualBenchManifest.v1"),id:S,revision:n.number().int().positive(),name:n.string().trim().min(1).max(500),description:n.string().trim().min(1).max(2e4),license:n.string().trim().min(1).max(100),source:n.object({repository:n.string().trim().min(1).max(2e3).nullable(),commit:n.string().trim().min(1).max(500).nullable(),generatedBy:n.string().trim().min(1).max(2e3)}).strict(),split:n.object({seed:S,correctionCasesPerFamily:n.number().int().positive().max(100),correctionSelection:n.enum(["stable_hash","minimize_prompt_similarity"]),semanticSimilarityThreshold:n.number().gt(0).lte(1)}).strict(),passes:n.array(Pe).min(1).max(1e3),tasks:n.array(ve).min(1).max(1e6),panels:n.array(Se).min(1).max(1e5),grader:n.object({id:S,contentHash:j,outcomeScale:n.object({minimum:n.number().finite(),maximum:n.number().finite()}).strict()}).strict(),evaluation:n.object({seeds:n.array(n.number().int()).min(1).max(100),repetitions:n.number().int().positive().max(100),confidenceLevel:n.number().gt(0).lt(1),pairedBootstrapSamples:n.number().int().min(1e3).max(1e6)}).strict(),execution:xe.optional(),contentHash:j}).strict().superRefine((e,s)=>{let t=e.tasks.map(i=>i.id);new Set(t).size!==t.length&&s.addIssue({code:"custom",path:["tasks"],message:"Manifest task ids must be unique."});let o=new Set(t);for(let[i,f]of e.panels.entries())f.taskIds.some(l=>!o.has(l))&&s.addIssue({code:"custom",path:["panels",i,"taskIds"],message:"Every panel task must exist in the manifest inventory."});let r=e.passes.map(i=>i.label);new Set(r).size!==r.length&&s.addIssue({code:"custom",path:["passes"],message:"Pass labels must be unique."});let a=new Set(e.tasks.map(i=>i.familyId)),c=e.passes.flatMap(i=>i.familyIds);new Set(c).size!==c.length&&s.addIssue({code:"custom",path:["passes"],message:"An issue family may belong to only one pass."}),c.some(i=>!a.has(i))&&s.addIssue({code:"custom",path:["passes"],message:"Every assigned family must exist in the task inventory."})});function se(e){return T.parse({...e,contentHash:w(e)})}d(se,"sealPortableManifest");function ie(e){let s=T.parse(e),{contentHash:t,...o}=s;return t===w(o)}d(ie,"verifyPortableManifest");var L=n.string().trim().min(1).max(240),K=n.string().regex(/^[a-f0-9]{64}$/),Y=n.number().finite().nullable(),Ce=n.object({attemptId:L,seed:n.number().int(),repetition:n.number().int().nonnegative(),score:Y,passed:n.boolean().nullable(),latencyMs:n.number().nonnegative().nullable(),costUsd:n.number().nonnegative().nullable(),transcript:n.object({path:n.string().min(1),contentHash:K}).strict().nullable(),trace:n.object({path:n.string().min(1),contentHash:K}).strict().nullable(),graderOutputHash:K.nullable(),status:n.enum(["completed","failed","cancelled"])}).strict(),re=n.object({targetId:L,panelId:L,panelRole:M,taskId:L,familyId:L,attempts:n.array(Ce).min(1).max(1e4),meanScore:Y,passRate:Y,confidenceInterval:n.tuple([n.number().finite(),n.number().finite()]).nullable()}).strict(),ae=n.object({targetId:L,trainingGpuSeconds:n.number().nonnegative().nullable(),evaluationGpuSeconds:n.number().nonnegative().nullable(),providerSpendUsd:n.number().nonnegative().nullable(),totalSpendUsd:n.number().nonnegative().nullable(),durationSeconds:n.number().nonnegative().nullable(),optimizerGroups:n.number().int().nonnegative().nullable(),trajectories:n.number().int().nonnegative().nullable()}).strict(),le=n.enum(["systems_complete","correction_absorbed","issue_generalized","continually_current","frontier_pareto_result","inconclusive","loss"]);function ce(e){let s=[],t=[...e.families].sort((o,r)=>o.passLabel.localeCompare(r.passLabel));for(let o of t)s.push(F({id:`${o.passLabel.toLowerCase()}-correction`,role:"correction",passLabel:o.passLabel,taskIds:o.correctionTaskIds,familyIds:[o.familyId],optimizerEligible:!0})),s.push(F({id:`${o.passLabel.toLowerCase()}-siblings`,role:"sibling_verification",passLabel:o.passLabel,taskIds:o.siblingTaskIds,familyIds:[o.familyId],optimizerEligible:!1}));for(let o=0;o<t.length;o+=1){let r=t.slice(0,o+1);s.push(F({id:`known-${r[o].passLabel.toLowerCase()}`,role:"cumulative_known",passLabel:r[o].passLabel,taskIds:r.flatMap(a=>[...a.correctionTaskIds,...a.siblingTaskIds]),familyIds:r.map(a=>a.familyId),optimizerEligible:!1}))}return s.push(F({id:"training-eligible",role:"training_eligible",passLabel:null,taskIds:t.flatMap(o=>o.correctionTaskIds),familyIds:t.map(o=>o.familyId),optimizerEligible:!0})),s}d(ce,"createContinualBenchPanelAllocations");function Q(e){let s=new Set(["sibling_verification","development","retained","frozen_final"]),t=new Set(e.panels.filter(a=>s.has(a.role)).flatMap(a=>a.taskIds)),r=e.panels.filter(a=>a.optimizerEligible).flatMap(a=>a.taskIds).filter(a=>t.has(a));if(r.length)throw new Error(`Hidden evaluation tasks are optimizer eligible: ${[...new Set(r)].sort().join(", ")}`)}d(Q,"assertOptimizerIsolation");function F(e){let s={...e,taskIds:[...e.taskIds].sort(),familyIds:[...e.familyIds].sort()};return{...s,contentHash:w(s)}}d(F,"sealPanel");function A(e){let s=T.safeParse(e);if(!s.success)return{valid:!1,manifestHash:null,leakageHash:null,issues:s.error.issues.map(i=>({severity:"error",code:"schema",message:i.message,path:i.path.join(".")}))};let t=s.data,o=[];ie(t)||o.push({severity:"error",code:"content_hash",message:"Manifest contentHash does not match its canonical payload.",path:"contentHash"});let r=new Map(t.tasks.map(i=>[i.id,i])),a=[];for(let i of t.passes){let f=t.panels.find(u=>u.role==="correction"&&u.passLabel===i.label),l=t.panels.find(u=>u.role==="sibling_verification"&&u.passLabel===i.label);if(!f||!l){o.push({severity:"error",code:"missing_holdout",message:`Pass ${i.label} requires both correction and sibling-verification panels.`,path:"panels"});continue}a.push([f.id,l.id]);let m=new Set(f.taskIds.map(u=>r.get(u)?.familyId)),g=new Set(l.taskIds.map(u=>r.get(u)?.familyId));for(let u of i.familyIds)(!m.has(u)||!g.has(u))&&o.push({severity:"error",code:"insufficient_family",message:`Pass ${i.label} family ${u} lacks a correction or sibling case; the holdout was not weakened.`,path:"passes"})}let c=oe({panels:t.panels.filter(i=>i.role!=="cumulative_known"&&i.role!=="training_eligible").map(i=>({id:i.id,tasks:i.taskIds.map(f=>{let l=r.get(f);return{id:l.id,familyId:l.familyId,contentHash:l.contentHash,prompt:l.prompt}})})),allowSharedFamiliesBetween:a,semanticSimilarityThreshold:t.split.semanticSimilarityThreshold});for(let i of c.findings)o.push({severity:"error",code:`leakage_${i.kind}`,message:`${i.leftTaskId} in ${i.leftPanel} overlaps ${i.rightTaskId} in ${i.rightPanel}.`,path:"panels"});return{valid:!o.some(i=>i.severity==="error"),manifestHash:t.contentHash,issues:o,leakageHash:c.contentHash}}d(A,"validateContinualBenchManifest");function de(e){let s=A(e);if(!s.valid)throw new Error(s.issues.map(t=>`${t.code}: ${t.message}`).join(`
|
|
4
4
|
`));return T.parse(e)}d(de,"requireValidContinualBenchManifest");var R=n.string().trim().min(1).max(240),me=n.string().regex(/^[a-f0-9]{64}$/),_e=n.object({id:R,label:n.string().trim().min(1).max(500),kind:n.enum(["candidate","accepted_head","base","master","external_reference"]),ordinal:n.number().int().nonnegative().nullable(),meanScore:n.number().finite().nullable(),confidenceInterval:n.tuple([n.number().finite(),n.number().finite()]).nullable(),taskMetrics:n.array(re).max(1e6),efficiency:ae.nullable(),evidenceUrl:n.string().url().nullable()}).strict(),pe=n.object({schemaVersion:n.literal("openpond.continualBenchReport.v1"),seriesId:R,protocol:n.object({id:R,revision:n.number().int().positive(),contentHash:me}).strict(),generatedAt:n.string().datetime({offset:!0}),status:n.enum(["partial","terminal"]),points:n.array(_e).min(1).max(1e4),outcomes:n.array(le).max(7),audit:n.array(n.object({requirement:R,status:n.enum(["passed","failed","unavailable"]),evidenceRefs:n.array(R).max(1e5)}).strict()).max(1e4),chart:n.object({x:n.literal("ordinal"),y:n.literal("meanScore"),series:n.array(n.object({pointId:R,label:n.string(),ordinal:n.number().nullable(),value:n.number().nullable(),lower:n.number().nullable(),upper:n.number().nullable(),kind:n.string()}).strict())}).strict(),contentHash:me}).strict();function ue(e){let s={x:"ordinal",y:"meanScore",series:e.points.map(o=>({pointId:o.id,label:o.label,ordinal:o.ordinal,value:o.meanScore,lower:o.confidenceInterval?.[0]??null,upper:o.confidenceInterval?.[1]??null,kind:o.kind}))},t={...e,chart:s};return pe.parse({...t,contentHash:w(t)})}d(ue,"createContinualBenchReport");function fe(e){let s=pe.parse(e),{contentHash:t,...o}=s;if(t!==w(o))throw new Error("Continual Support report content hash does not match its payload.");return W(s)}d(fe,"exportContinualBenchReport");function be(e){let s=e.correctionCasesPerFamily??1;if(!Number.isInteger(s)||s<1)throw new Error("correctionCasesPerFamily must be a positive integer.");let t=new Map,o=new Map;for(let l of e.tasks){if(t.has(l.id))throw new Error(`Duplicate task id: ${l.id}`);t.set(l.id,l);let m=o.get(l.familyId)??[];m.push(l),o.set(l.familyId,m)}let r=new Map;for(let l of e.passes){if(!l.label.trim())throw new Error("Pass labels cannot be empty.");for(let m of l.familyIds){if(r.has(m))throw new Error(`Family ${m} is assigned to more than one pass.`);r.set(m,l.label)}}let a=[],c=[],i=[];for(let[l,m]of[...o].sort(([g],[u])=>g.localeCompare(u))){let g=r.get(l);if(!g){i.push({code:"unassigned_family",familyId:l,taskCount:m.length});continue}let u=[...m].sort((y,v)=>{let P=w([e.seed,l,y.id,y.contentHash]),h=w([e.seed,l,v.id,v.contentHash]);return P.localeCompare(h)||y.id.localeCompare(v.id)});if(u.length<=s){i.push({code:"insufficient_siblings",familyId:l,taskCount:u.length});continue}e.correctionSelection==="minimize_prompt_similarity"&&s===1&&u.every(y=>y.prompt)&&(u=[...u].sort((y,v)=>{let P=he(y,u),h=he(v,u);return P-h||y.id.localeCompare(v.id)}));let I=u.slice(0,s),$=u.slice(s);a.push(...I.map(y=>({...y,passLabel:g,panelRole:"correction",optimizerEligible:!0})),...$.map(y=>({...y,passLabel:g,panelRole:"sibling_verification",optimizerEligible:!1}))),c.push({familyId:l,passLabel:g,correctionTaskIds:I.map(y=>y.id),siblingTaskIds:$.map(y=>y.id)})}for(let l of r.keys())if(!o.has(l))throw new Error(`Assigned family ${l} has no source tasks.`);let f={schemaVersion:"openpond.continualBenchSplit.v1",seed:e.seed,allocations:a.sort((l,m)=>l.passLabel.localeCompare(m.passLabel)||l.familyId.localeCompare(m.familyId)||l.id.localeCompare(m.id)),families:c.sort((l,m)=>l.passLabel.localeCompare(m.passLabel)||l.familyId.localeCompare(m.familyId)),advisories:i.sort((l,m)=>l.familyId.localeCompare(m.familyId)||l.code.localeCompare(m.code))};return{...f,contentHash:w(f)}}d(be,"createContinualBenchSplit");function he(e,s){return Math.max(...s.filter(t=>t.id!==e.id).map(t=>$e(e.prompt,t.prompt)))}d(he,"maximumSiblingSimilarity");function $e(e,s){let t=d(i=>new Set(i.toLowerCase().match(/[a-z0-9]+/g)??[]),"tokenize"),o=t(e),r=t(s),a=new Set([...o,...r]);if(!a.size)return 1;let c=0;for(let i of o)r.has(i)&&(c+=1);return c/a.size}d($e,"jaccard");async function et(e,s,t={}){let o=s[0];if(!o||!["init","validate","run","report"].includes(o))throw new Error("usage: openpond continual <init|validate|run|report> [manifest-or-series-id]");let r=t.log??console.log;if(o==="init"){await He(e,s.slice(1),t,r);return}if(o==="report"){await Re(e,s.slice(1),t,r);return}let a=s[1];if(!a||s.length!==2)throw new Error(`usage: openpond continual ${o} <manifest-path>`);let c=await ze(E.resolve(a),t.readFile??ge),i=A(c);if(o==="validate"){if(O(e.json))r(JSON.stringify(i,null,2));else{r(i.valid?`Valid Continual Support manifest ${i.manifestHash}.`:"Continual Support manifest is invalid."),r(`Leakage audit ${i.leakageHash??"unavailable"}; ${i.issues.length} finding(s).`);for(let l of i.issues)r(`${l.severity}: ${l.code} at ${l.path}: ${l.message}`)}if(!i.valid)throw Fe("Continual Support validation failed.",2);return}let f=de(c);Q(f),await Le(f,e,t,r)}d(et,"runContinualCommand");async function He(e,s,t,o){if(s.length)throw new Error("continual init accepts --from and --output options, not positional arguments.");let r=k(e,"from");if(!r)throw new Error("continual init requires --from <tasks.json|tasks.jsonl>.");let a=E.resolve(k(e,"output")||"continual-support.yaml"),c=await Be(E.resolve(r),t.readFile??ge),i=O(e.nonInteractive)||!process.stdin.isTTY,f=t.prompt??Me,l=await Oe(c,i,f),m=l.filter(p=>p.panelRole===null||p.panelRole==="correction"||p.panelRole==="sibling_verification"),g=[...new Map(m.map(p=>[p.passLabel,p])).keys()].sort().map(p=>({label:p,familyIds:[...new Set(m.filter(_=>_.passLabel===p).map(_=>_.familyId))].sort()})),u=l.map(p=>({id:p.id,familyId:p.familyId,contentHash:w(p.payload),...p.prompt?{prompt:p.prompt}:{},payload:p.payload})),I=be({tasks:m.map(p=>({id:p.id,familyId:p.familyId,contentHash:w(p.payload),prompt:p.prompt})),passes:g,seed:k(e,"seed")||"continual-support-v1",correctionCasesPerFamily:q(e.correctionCasesPerFamily,"correction-cases-per-family")??1,correctionSelection:k(e,"correctionSelection")==="stable_hash"?"stable_hash":"minimize_prompt_similarity"});if(I.advisories.length)throw new Error(`The proposed split is incomplete and was not weakened: ${I.advisories.map(p=>`${p.code}:${p.familyId}`).join(", ")}`);let $=ce(I).map(p=>({id:p.id,role:p.role,passLabel:p.passLabel,taskIds:p.taskIds,disclosurePhase:p.role==="sibling_verification"?"evaluation":"review",optimizerEligible:p.optimizerEligible})),y=["development","retained","frozen_final"];for(let p of y){let _=l.filter(x=>x.panelRole===p).map(x=>x.id).sort();_.length&&$.push({id:p.replace("_","-"),role:p,passLabel:null,taskIds:_,disclosurePhase:p==="frozen_final"?"final":"evaluation",optimizerEligible:!1})}let v=k(e,"id")||je(k(e,"name")||E.basename(r,E.extname(r))),P=k(e,"grader")||"user-supplied-grader-v1",h={schemaVersion:"openpond.continualBenchManifest.v1",id:v,revision:1,name:k(e,"name")||v,description:k(e,"description")||"A sealed continual-support workflow converted from an ordinary task set.",license:k(e,"license")||"UNSPECIFIED",source:{repository:k(e,"repository")||null,commit:k(e,"commit")||null,generatedBy:`openpond continual init --from ${r}`},split:{seed:I.seed,correctionCasesPerFamily:q(e.correctionCasesPerFamily,"correction-cases-per-family")??1,correctionSelection:k(e,"correctionSelection")==="stable_hash"?"stable_hash":"minimize_prompt_similarity",semanticSimilarityThreshold:te(e.semanticSimilarityThreshold,"semantic-similarity-threshold")??.8},passes:g,tasks:u,panels:$,grader:{id:P,contentHash:w({id:P}),outcomeScale:{minimum:0,maximum:1}},evaluation:{seeds:[1701,1709,1721],repetitions:3,confidenceLevel:.95,pairedBootstrapSamples:1e4}},H=se(h),ne=a.endsWith(".json")?`${JSON.stringify(H,null,2)}
|
|
5
|
-
`:
|
|
5
|
+
`:U.dump(H,{noRefs:!0,lineWidth:120,sortKeys:!1});await(t.writeFile??ye)(a,ne,"utf8"),o(`Created ${a}.`),o(`Manifest ${H.contentHash}; split ${I.contentHash}.`)}d(He,"initializeManifest");async function Le(e,s,t,o){if(!e.execution)throw new Error("This manifest validates locally but needs an execution.openpond series binding before `continual run`.");let r={...e.execution.series},a=r.benchmarkProtocol,c=C(a?.issueFamilyLedger);if(!a||c.contentHash!==e.contentHash)throw new Error("execution.series.benchmarkProtocol.issueFamilyLedger must bind the exact sealed portable manifest hash.");let i=J(s)??e.execution.apiBaseUrl??process.env.OPENPOND_LOCAL_API_URL?.replace(/\/$/,"")??V,f=t.request??await D(i),l=C(await X(f,`${i}/v1/training/comparison-series`,"POST",{series:r})),m=b(l.id)||b(r.id),g=ee(l.revision);if(!m||!g)throw new Error("OpenPond did not return a Comparison Series identity and revision.");await X(f,`${i}/v1/training/comparison-series/${encodeURIComponent(m)}/seal`,"POST",{expectedRevision:g});let u=`/models/comparisons/${encodeURIComponent(m)}`,I={comparisonSeriesId:m,canonicalUrl:u,protocolHash:e.contentHash};o(O(s.json)?JSON.stringify(I,null,2):`Created and sealed Comparison Series ${m}.
|
|
6
6
|
${u}
|
|
7
|
-
No release was queued or started.`)}d(Le,"submitManifest");async function Re(e,s,t,o){let r=s[0];if(!r||s.length!==1)throw new Error("usage: openpond continual report <comparison-series-id> [--output <path>]");let a=
|
|
7
|
+
No release was queued or started.`)}d(Le,"submitManifest");async function Re(e,s,t,o){let r=s[0];if(!r||s.length!==1)throw new Error("usage: openpond continual report <comparison-series-id> [--output <path>]");let a=J(e)??process.env.OPENPOND_LOCAL_API_URL?.replace(/\/$/,"")??V,c=t.request??await D(a),i=C(await X(c,`${a}/v1/training`,"GET")),f=N(i.comparisonSeries).map(C).find(h=>h.id===r);if(!f)throw new Error(`Comparison Series ${r} was not found.`);let l=C(f.benchmarkProtocol),m=N(i.comparisonSeriesEntries).map(C).filter(h=>h.seriesId===r),g=N(i.modelCurrencySnapshots).map(C).filter(h=>h.seriesId===r),u=new Map(g.map(h=>[b(h.entryId),h])),I=m.filter(h=>b(h.modelVersionId)).map(h=>{let H=u.get(b(h.id)),p=N(H?.panels).map(C).map(B=>z(B.strictSuccess)).filter(B=>B!==null),_=p.length?p.reduce((B,we)=>B+we,0)/p.length:null,x=Z(H?.efficiency);return{id:b(h.id),label:b(h.label),kind:"candidate",ordinal:z(h.ordinal),meanScore:_,confidenceInterval:null,taskMetrics:[],efficiency:x?{targetId:b(h.modelVersionId),trainingGpuSeconds:z(x.gpuSeconds),evaluationGpuSeconds:null,providerSpendUsd:null,totalSpendUsd:z(x.costUsd),durationSeconds:z(x.latencyMs)===null?null:z(x.latencyMs)/1e3,optimizerGroups:null,trajectories:null}:null,evidenceUrl:`${a}/models/comparisons/${encodeURIComponent(r)}`}});if(!I.length)throw new Error(`Comparison Series ${r} has no receipt-derived candidate points to report.`);let $=m.every(h=>["candidate","accepted","rejected","no_signal","failed","cancelled"].includes(b(h.status)||"")),y=ue({schemaVersion:"openpond.continualBenchReport.v1",seriesId:r,protocol:{id:b(l.id),revision:ee(l.revision),contentHash:b(l.contentHash)},generatedAt:new Date().toISOString(),status:$?"terminal":"partial",points:I,outcomes:[],audit:[{requirement:"receipt-derived-points",status:"passed",evidenceRefs:I.map(h=>h.id)}]}),v=fe(y),P=k(e,"output");P?(await(t.writeFile??ye)(E.resolve(P),v,"utf8"),o(`Wrote ${E.resolve(P)} (${y.contentHash}).`)):o(v.trimEnd())}d(Re,"exportReport");async function ze(e,s){let t=await s(e,"utf8");return e.endsWith(".json")?JSON.parse(t):U.load(t)}d(ze,"loadStructuredFile");async function Be(e,s){let t=await s(e,"utf8"),o=e.endsWith(".jsonl")?t.split(/\r?\n/).filter(r=>r.trim()).map((r,a)=>{try{return JSON.parse(r)}catch{throw new Error(`Invalid JSONL at line ${a+1}.`)}}):JSON.parse(t);if(!Array.isArray(o)||!o.length)throw new Error("The source must contain a non-empty JSON array or JSONL sequence.");return o.map((r,a)=>Te(r,a))}d(Be,"readSourceRows");function Te(e,s){let t=C(e),o=b(t.id)||b(t.taskId)||b(t.task_id);if(!o)throw new Error(`Source row ${s+1} is missing id/taskId.`);let r=b(t.familyId)||b(t.family_id)||b(t.clusterKey),a=b(t.passLabel)||b(t.pass_label),c=b(t.panelRole)||b(t.panel_role);if(c&&!new Set(["correction","sibling_verification","cumulative_known","development","retained","frozen_final","training_eligible"]).has(c))throw new Error(`Source row ${o} has unsupported panel role ${c}.`);return{id:o,familyId:r,passLabel:a,panelRole:c,prompt:b(t.prompt)||b(Z(t.input)?.prompt)||void 0,payload:t}}d(Te,"normalizeSourceRow");async function Oe(e,s,t){let o=[],r=new Map;for(let a of e){let c=a.familyId;if(!c){if(s)throw new Error(`Task ${a.id} lacks familyId; non-interactive init never fabricates issue families.`);if(c=(await t(`Issue family for ${a.id}: `)).trim(),!c)throw new Error(`Task ${a.id} requires an issue family.`)}let i=a.passLabel;if(!a.panelRole||a.panelRole==="correction"||a.panelRole==="sibling_verification"){if(i=i||r.get(c)||null,!i){if(s)throw new Error(`Task family ${c} lacks passLabel; provide labels for CI.`);i=(await t(`Pass label for family ${c}: `)).trim()}if(!i)throw new Error(`Family ${c} requires a pass label.`);let f=r.get(c);if(f&&f!==i)throw new Error(`Family ${c} appears in both ${f} and ${i}.`);r.set(c,i)}o.push({...a,familyId:c,passLabel:i})}return o}d(Oe,"completeLabels");async function Me(e){let s=Ee({input:process.stdin,output:process.stdout});try{return await s.question(e)}finally{s.close()}}d(Me,"defaultPrompt");async function X(e,s,t,o){let r=await e(s,{method:t,headers:o===void 0?{Accept:"application/json"}:{Accept:"application/json","Content-Type":"application/json"},body:o===void 0?void 0:JSON.stringify(o)}),a=await r.text(),c=a?JSON.parse(a):null;if(!r.ok)throw new Error(`OpenPond request failed (${r.status}): ${b(Z(c)?.error)||r.statusText}`);return c}d(X,"requestJson");function C(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:{}}d(C,"object");function Z(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}d(Z,"objectOrNull");function N(e){return Array.isArray(e)?e:[]}d(N,"array");function b(e){return typeof e=="string"&&e.trim()?e.trim():null}d(b,"string");function ee(e){return typeof e=="number"&&Number.isFinite(e)?e:null}d(ee,"number");function z(e){return ee(e)}d(z,"numberOrNull");function je(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")||"continual-support"}d(je,"slug");function Fe(e,s){return Object.assign(new Error(e),{exitCode:s})}d(Fe,"withExitCode");export{et as runContinualCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"./chunk-2W22IXHB.js";import"./chunk-7P5SH3CI.js";import"./chunk-TGULVWPV.js";import"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import"./chunk-3M53YXEI.js";import"./chunk-CRDKBFRN.js";import"./chunk-DMO3UIS7.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import"./chunk-3WJQ4IGK.js";import"./chunk-KTIBXRWQ.js";import"./chunk-L4EJ5R3B.js";import"./chunk-6ZTP6CUJ.js";import"./chunk-TBODQT4W.js";import"./chunk-YRDPVTEI.js";import"./chunk-JRGECNP3.js";import"./chunk-RRWL5BHZ.js";import"./chunk-NXN7GJOH.js";import"./chunk-5WPMI6QX.js";import"./chunk-W7NXFRHN.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import"./chunk-UN2LKLGV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-AMC4Z7G4.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import"./chunk-FTQLQJQV.js";export{m as resolveGitBranch,f as runAccount,j as runBacktestRun,p as runCheckUpdate,k as runDeployWatch,g as runHealth,d as runLogin,o as runOpentool,e as runProfiles,l as runRepoCreate,n as runRepoPush,b as runTemplateBranches,a as runTemplateStatus,c as runTemplateUpdate,h as runToolList,i as runToolRun};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a as w,b}from"./chunk-GIU3Z45P.js";import{a as m}from"./chunk-D7R2AAX2.js";import"./chunk-MVPKU72J.js";import"./chunk-OQPJ7FJF.js";import"./chunk-BL3CZWWD.js";import"./chunk-GD3RCUDH.js";import"./chunk-QCJY6FTC.js";import"./chunk-UTIELP6F.js";import"./chunk-6S2MWJVD.js";import"./chunk-FYWQWKVS.js";import"./chunk-6ESBAHWK.js";import"./chunk-4V73I4OL.js";import"./chunk-LE75SVEL.js";import"./chunk-7J2NMUTK.js";import"./chunk-W45RKGM6.js";import"./chunk-W45RKGM6.js";import"./chunk-7PKTCMZ6.js";import"./chunk-LXZLLTYQ.js";import"./chunk-GI7LTJV3.js";import"./chunk-VS3AMJEK.js";import"./chunk-XGY4OQLC.js";import{c as h}from"./chunk-AF3AVDPP.js";import"./chunk-SFR32TMJ.js";import"./chunk-5KJMFK65.js";import"./chunk-Y3B6ZUE6.js";import"./chunk-WJSJXK2N.js";import"./chunk-OKEC2EIE.js";import"./chunk-WLZJOCLA.js";import"./chunk-HIQPGYVH.js";import"./chunk-ZWW227M3.js";import"./chunk-DXA2UHBE.js";import"./chunk-MTP3B2SU.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-6FA3GG5B.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import{a as f}from"./chunk-FTQLQJQV.js";import{constants as g}from"node:fs";import{open as y,realpath as D}from"node:fs/promises";import k from"node:path";async function x(i){if(i.length!==1||!k.isAbsolute(i[0]))throw new Error("Dataset preparation requires one absolute private request-file path.");let o=i[0];if(await D(o)!==o)throw new Error("Dataset preparation request path must not contain symbolic links.");let s=await y(o,g.O_RDONLY|g.O_NOFOLLOW),n=4*1024*1024,l;try{let r=await s.stat();if(!r.isFile()||r.size>n||(r.mode&63)!==0||process.getuid&&r.uid!==process.getuid())throw new Error("Dataset preparation request is not a bounded private file.");let a=Buffer.alloc(n+1),e=0;for(;e<a.length;){let d=await s.read(a,e,a.length-e,e);if(d.bytesRead===0)break;e+=d.bytesRead}if(e>n)throw new Error("Dataset preparation request changed beyond its byte limit.");l=a.subarray(0,e)}finally{await s.close()}let t=h.parse(JSON.parse(new TextDecoder("utf8",{fatal:!0}).decode(l))),c=await m(),p;try{p=t.action==="messages"?{messages:w({id:t.id,evidence:t.evidence,skillText:c.bundle,buildIntent:"verifiable_reward",buildSpecification:t.buildSpecification,methodHint:"grpo",instruction:t.instruction,currentProposal:t.currentProposal}),skillHash:c.contentHash}:{proposal:b(t.content,t.evidence),skillHash:c.contentHash}}catch(r){if(t.action!=="validate")throw r;process.stdout.write(`${JSON.stringify({error:{code:"dataset_preparation_authoring_proposal_invalid"}})}
|
|
3
|
+
`),process.exitCode=2;return}let u=JSON.stringify(p);if(Buffer.byteLength(u)>4*1024*1024)throw new Error("Dataset preparation authoring response exceeds its byte limit.");process.stdout.write(`${u}
|
|
4
|
+
`)}f(x,"runDatasetPreparationAuthoringCli");export{x as runDatasetPreparationAuthoringCli};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{d as ae}from"./chunk-LYVHYT3L.js";import{a as re,d as se}from"./chunk-KOKBDIGR.js";import"./chunk-7P5SH3CI.js";import{c as N}from"./chunk-TGULVWPV.js";import"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import{c as J,f as j}from"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import{c as l,f as R}from"./chunk-3M53YXEI.js";import"./chunk-GI7LTJV3.js";import"./chunk-VS3AMJEK.js";import"./chunk-XGY4OQLC.js";import"./chunk-AF3AVDPP.js";import"./chunk-SFR32TMJ.js";import"./chunk-5KJMFK65.js";import"./chunk-Y3B6ZUE6.js";import"./chunk-OKEC2EIE.js";import"./chunk-WLZJOCLA.js";import"./chunk-HIQPGYVH.js";import"./chunk-ZWW227M3.js";import"./chunk-DXA2UHBE.js";import"./chunk-MTP3B2SU.js";import"./chunk-CRDKBFRN.js";import{a as V,b as F,c as Q,d as q,e as X,f as Y,g as Z,h as ee,i as te}from"./chunk-DMO3UIS7.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import{d as H}from"./chunk-3WJQ4IGK.js";import"./chunk-KTIBXRWQ.js";import{f as O,h as $,n as B}from"./chunk-L4EJ5R3B.js";import"./chunk-6ZTP6CUJ.js";import"./chunk-TBODQT4W.js";import"./chunk-YRDPVTEI.js";import"./chunk-JRGECNP3.js";import"./chunk-RRWL5BHZ.js";import"./chunk-NXN7GJOH.js";import"./chunk-5WPMI6QX.js";import"./chunk-W7NXFRHN.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import"./chunk-UN2LKLGV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-AMC4Z7G4.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import{n as K}from"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import{A as t}from"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import{a as S}from"./chunk-FTQLQJQV.js";var G=t.enum(["create","save","publish","begin_version"]),ne=t.object({operationId:t.string().trim().min(1).max(240),kind:G,requestHash:t.string().regex(/^[a-f0-9]{64}$/),receipt:q,base:q.nullable()}).strict().superRefine((a,r)=>{let{receipt:e,base:s,kind:n}=a;(s&&(s.teamId!==e.teamId||s.datasetId!==e.datasetId||s.revision+1!==e.revision)||!s&&e.revision!==1)&&r.addIssue({code:"custom",message:"Operation recovery history identity/revision mismatch."}),s&&((s.ownerScope??"workspace")!==(e.ownerScope??"workspace")||s.originProjectId!==e.originProjectId||s.workspace.draft.createdAt!==e.workspace.draft.createdAt)&&r.addIssue({code:"custom",message:"Operation recovery cannot change Dataset ownership or origin."});let i=s?e.workspace.draft.status==="published"?"publish":s.workspace.draft.status==="published"?"begin_version":"save":"create";n!==i&&r.addIssue({code:"custom",message:"Operation recovery kind differs from its retained lifecycle."})});var c=t.string().trim().min(1).max(240),I=t.string().regex(/^[a-f0-9]{64}$/),k=t.iso.datetime(),p=t.number().int().nonnegative(),x=t.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),C=t.object({id:c,projectId:c,maximumMicroUsd:x.positive(),maximumSandboxSeconds:p.max(10800)}).strict(),ie=t.object({schemaVersion:t.literal("openpond.datasetPreparationGrant.v1"),id:c,teamId:c,ownerUserId:c,projectId:c,maximumMicroUsd:x,maximumSandboxSeconds:p,settledMicroUsd:x,heldMicroUsd:x,sandboxSeconds:p,heldSandboxSeconds:p,unresolvedCalls:p,cleanupPending:p,createdAt:k,updatedAt:k}).strict(),L=t.enum(["coding_change","debugging","code_explanation","structured_text","artifact_work"]),oe=t.enum(["inventory","preview","reconstruction","grader_authoring","qualification","release"]),le=t.enum(["draft","running","pausing","paused","needs_attention","preview_ready","ready","releasing","completed","insufficient_data","budget_exhausted","cancelling","cancelled","failed"]),fe=t.object({projectId:c,from:k,to:k,importCutoff:k,connections:t.array(c).min(1).max(50),excludedSessions:t.array(t.object({connectionId:c,sourceKeyHash:I,nativeRevisionHash:I,reason:t.enum(["source_read_failed","native_session_not_ready"]),explanation:t.string().trim().min(1).max(2e3)}).strict()).max(1e4).default([])}).strict().superRefine((a,r)=>{Date.parse(a.from)>=Date.parse(a.to)&&r.addIssue({code:"custom",message:"Source event-time window must be nonempty."}),new Set(a.connections).size!==a.connections.length&&r.addIssue({code:"custom",message:"Source connections must be unique."}),a.excludedSessions.some(e=>!a.connections.includes(e.connectionId))&&r.addIssue({code:"custom",message:"Excluded sessions must belong to selected source connections."}),new Set(a.excludedSessions.map(e=>JSON.stringify([e.connectionId,e.sourceKeyHash]))).size!==a.excludedSessions.length&&r.addIssue({code:"custom",message:"Source session exclusions must be unique."})}),ce=t.object({source:fe,taskClasses:t.array(L).min(1).max(5),limits:t.object({maximumConversations:t.number().int().min(1).max(1e4),maximumCandidates:t.number().int().min(1).max(1e4),acceptedTarget:t.number().int().min(1).max(1e4),maximumRepairsPerCandidate:t.number().int().min(0).max(5),maximumEvidenceBytesPerConversation:t.number().int().min(1024).max(2e6)}).strict(),researcher:t.object({modelId:c,maximumOutputTokens:t.number().int().min(1).max(32768)}).strict(),adjudicator:t.object({modelId:c,maximumOutputTokens:t.number().int().min(1).max(32768)}).strict(),grading:t.discriminatedUnion("mode",[t.object({mode:t.literal("auto")}).strict(),t.object({mode:t.literal("existing_only")}).strict(),t.object({mode:t.literal("manual"),releases:t.array($).min(1).max(100)}).strict()]),budget:t.object({grantId:c,maximumMicroUsd:x.positive(),previewMaximumMicroUsd:x,qualificationMaximumMicroUsdPerCandidate:x,maximumSandboxSeconds:p.max(10800)}).strict(),finish:t.enum(["stop_ready","create_private_version"]),execution:t.enum(["preview_only","prepare"]),allowPartialVersion:t.boolean(),population:t.literal("development")}).strict().superRefine((a,r)=>{a.limits.acceptedTarget>a.limits.maximumCandidates&&r.addIssue({code:"custom",message:"Accepted target exceeds candidate scan limit."}),a.budget.previewMaximumMicroUsd>a.budget.maximumMicroUsd&&r.addIssue({code:"custom",message:"Preview allowance exceeds the shared preparation ceiling."}),new Set(a.taskClasses).size!==a.taskClasses.length&&r.addIssue({code:"custom",message:"Task classes must be unique."})}),_=t.object({operationId:c,expectedDatasetRevision:t.number().int().positive(),policy:ce}).strict(),E=t.discriminatedUnion("action",[t.object({action:t.enum(["start","pause","resume","cancel","release"]),operationId:c,expectedRevision:t.number().int().positive()}).strict(),t.object({action:t.literal("resolve"),operationId:c,expectedRevision:t.number().int().positive(),candidateId:c,decision:t.enum(["retry","exclude"]),reason:t.string().trim().min(1).max(5e3)}).strict()]),he=t.object({conversations:p,importedTurns:p,selectedTurns:p,queuedSnapshots:p.nullable(),failedSessions:p.nullable(),skippedSessions:p.nullable(),lastAdmissionAt:k.nullable(),complete:t.boolean(),sourceComplete:t.boolean().default(!1),excludedSessions:p.default(0),reasons:t.array(t.object({code:c,message:t.string().trim().min(1).max(2e3)}).strict()).max(100),sourceInventoryHash:I}).strict(),ge=t.object({maximumMicroUsd:x,settledMicroUsd:x,heldMicroUsd:x,unresolvedCalls:p,sandboxSeconds:p,cleanupPending:p,complete:t.boolean()}).strict(),we=t.object({sampleConversations:p,sampleTurns:p,candidateCount:p,modelId:c,modelConfigurationHash:I,callReceiptIds:t.array(c).max(2e3),inputTokens:p.nullable(),outputTokens:p.nullable(),classes:t.array(t.object({taskClass:L,candidates:p,assessment:t.enum(["executable","calibrated_judge","unsupported"]),requirements:t.array(t.string().trim().min(1).max(5e3)).max(20)}).strict()).max(5),exclusions:t.array(t.object({code:c,count:p,reason:t.string().trim().min(1).max(5e3)}).strict()).max(100),estimates:t.array(t.object({stage:oe,minimumMicroUsd:x,maximumMicroUsd:x,assumptions:t.array(t.string().trim().min(1).max(2e3)).min(1).max(20)}).strict().refine(a=>a.minimumMicroUsd<=a.maximumMicroUsd,"Estimate range is reversed.")).max(6),createdAt:k}).strict(),A=t.object({schemaVersion:t.literal("openpond.datasetPreparationRun.v1"),id:c,operationId:c,teamId:c,ownerUserId:c,datasetId:c,datasetRevision:t.number().int().positive(),revision:t.number().int().positive(),requestHash:I,policy:ce,status:le,stage:oe,coverage:he.nullable(),preview:we.nullable(),counts:t.object({scannedConversations:p,scannedTurns:p,candidates:p,reconstructed:p,qualifying:p,qualified:p,excluded:p,needsAttention:p}).strict(),accounting:ge,publication:t.object({datasetId:c,workspaceRevision:t.number().int().positive(),release:$}).strict().nullable(),error:t.object({code:c,message:t.string().trim().min(1).max(5e3)}).strict().nullable(),createdAt:k,updatedAt:k}).strict().superRefine((a,r)=>{a.accounting.maximumMicroUsd!==a.policy.budget.maximumMicroUsd&&r.addIssue({code:"custom",message:"Accounting authority differs from the saved preparation policy."}),a.counts.qualified+a.counts.excluded+a.counts.needsAttention>a.counts.candidates&&r.addIssue({code:"custom",message:"Preparation outcomes exceed the candidate population."}),a.status==="preview_ready"&&(a.policy.execution!=="preview_only"||a.stage!=="preview"||!a.preview||!a.coverage?.complete||!a.accounting.complete)&&r.addIssue({code:"custom",message:"Preview readiness requires a preview-only policy, reconciled source coverage and settled preview calls."}),["ready","releasing","completed"].includes(a.status)&&(a.counts.qualified===0||!a.policy.allowPartialVersion&&a.counts.qualified<a.policy.limits.acceptedTarget)&&r.addIssue({code:"custom",message:"Preparation cannot report readiness below its accepted target."}),["ready","releasing","completed"].includes(a.status)&&(a.policy.execution!=="prepare"||!a.preview||!a.coverage?.complete||!a.accounting.complete)&&r.addIssue({code:"custom",message:"Dataset readiness requires full preparation authority, reconciled source coverage, preview and final accounting."}),a.status==="completed"&&(!a.publication||!a.accounting.complete)&&r.addIssue({code:"custom",message:"Completed preparation requires publication and reconciled accounting."}),a.status==="cancelled"&&(!a.accounting.complete||a.accounting.cleanupPending>0)&&r.addIssue({code:"custom",message:"Cancellation requires settled resource obligations."})}),de=t.object({teamId:c,datasetId:c,runs:t.array(A).max(50),nextCursor:c.nullable()}).strict(),be=t.object({source:V,startSequence:p,endSequence:p,role:t.enum(["requirement","initial_context","outcome","correction","verification"])}).strict().superRefine((a,r)=>{a.endSequence<a.startSequence&&r.addIssue({code:"custom",message:"Evidence span must be ordered."})}),ye=t.object({schemaVersion:t.literal("openpond.preparedTaskProvenance.v1"),candidateId:c,preparationId:c,familyKey:c,sourceSpans:t.array(be).min(1).max(200),firstAvailableAt:k,initialInputHash:I,initialEnvironmentHash:I,initialAssetsHash:I.nullable(),sourceScopeHash:I}).strict().superRefine((a,r)=>{a.sourceSpans.some(s=>s.role==="requirement")||r.addIssue({code:"custom",message:"A reconstructed task needs a source requirement."});let e=new Set;for(let s of a.sourceSpans){a.sourceSpans.some(i=>i!==s&&i.source.id===s.source.id&&i.source.snapshotHash===s.source.snapshotHash&&i.role!==s.role&&s.startSequence<=i.endSequence&&i.startSequence<=s.endSequence)&&r.addIssue({code:"custom",message:"Evidence offsets cannot have conflicting roles."});let n=JSON.stringify([s.source,s.startSequence,s.endSequence]);e.has(n)&&r.addIssue({code:"custom",message:"Evidence span is duplicated or crosses public/private roles."}),e.add(n)}}),Ie=t.object({schemaVersion:t.literal("openpond.preparedTaskQualification.v1"),id:c,candidateId:c,preparationId:c,taskHash:I,environmentHash:I,packageHash:I,graderBindings:t.array(t.object({id:c,version:c,contentHash:I,origin:t.enum(["reused","adapted","authored"])}).strict()).min(1).max(100),checks:t.array(t.object({id:c,label:t.enum(["positive","incorrect","incomplete","adversarial","clean_reset"]),executionReceiptId:c,expectedPassed:t.boolean(),observedPassed:t.boolean().nullable(),infrastructureError:c.nullable()}).strict()).min(5).max(500),independentEvidenceRefs:t.array(c).min(1).max(100),judgeCalibration:t.enum(["not_applicable","passed","failed","pending"]),cleanup:t.enum(["completed","pending"]),passed:t.boolean(),createdAt:k}).strict().superRefine((a,r)=>{if(!a.passed)return;let e=new Set(a.checks.map(s=>s.label));["positive","incorrect","incomplete","adversarial","clean_reset"].some(s=>!e.has(s))&&r.addIssue({code:"custom",message:"Qualified tasks require positive, negative, adversarial and clean-reset evidence."}),(a.cleanup!=="completed"||["pending","failed"].includes(a.judgeCalibration)||a.checks.some(s=>s.infrastructureError!==null||s.observedPassed!==s.expectedPassed))&&r.addIssue({code:"custom",message:"Failed, uncalibrated or uncleared checks cannot qualify a task."}),a.checks.some(s=>s.expectedPassed!==["positive","clean_reset"].includes(s.label))&&r.addIssue({code:"custom",message:"Qualification witnesses must pass positives/resets and reject incorrect, incomplete and adversarial outputs."})}),pe=t.object({id:c,runId:c,revision:t.number().int().positive(),taskClass:L,status:t.enum(["discovered","reconstructing","authoring","qualifying","qualified","excluded","needs_attention"]),objective:t.string().trim().min(1).max(2e4),provenance:ye.nullable(),qualification:Ie.nullable(),reason:t.object({code:c,message:t.string().trim().min(1).max(5e3)}).strict().nullable(),attempts:p.max(6)}).strict().superRefine((a,r)=>{a.status==="qualified"&&(!a.provenance||!a.qualification?.passed)&&r.addIssue({code:"custom",message:"Candidate admission requires reconstruction and qualification receipts."}),a.provenance&&(a.provenance.candidateId!==a.id||a.provenance.preparationId!==a.runId)&&r.addIssue({code:"custom",message:"Candidate provenance identity mismatch."}),a.qualification&&(a.qualification.candidateId!==a.id||a.qualification.preparationId!==a.runId)&&r.addIssue({code:"custom",message:"Candidate qualification identity mismatch."})});var v=t.string().trim().min(1).max(240),ve=t.object({teamId:v,datasetId:v,runId:v,candidates:t.array(pe).max(50),nextCursor:v.nullable()}).strict(),T=class extends Error{constructor(e,s,n){super(n);this.status=e;this.code=s;this.name="DatasetPreparationRequestError"}status;code;static{S(this,"DatasetPreparationRequestError")}},U=class{constructor(r){this.options=r;let e=new URL(r.baseUrl);if(!["http:","https:"].includes(e.protocol)||e.username||e.password||e.search||e.hash||!r.apiKey.trim()||!r.teamId.trim())throw new Error("A clean API origin and workspace credentials are required.");this.baseUrl=e.toString().replace(/\/+$/,"")}options;static{S(this,"OpenPondDatasetPreparationClient")}baseUrl;async create(r,e,s){let n=_.parse(e),i=this.readRun(await this.request(r,"","POST",n,s),r);if(i.operationId!==n.operationId||i.requestHash!==K(n)||i.datasetRevision!==n.expectedDatasetRevision)throw new Error("Preparation creation receipt differs from the saved intent.");return i}async createGrant(r,e,s){let n=C.parse(e),i=this.readGrant(await this.request(r,"/grants","POST",n,s));if(i.id!==n.id||i.projectId!==n.projectId||i.maximumMicroUsd!==n.maximumMicroUsd||i.maximumSandboxSeconds!==n.maximumSandboxSeconds)throw new Error("Preparation grant receipt differs from the saved limits.");return i}async getGrant(r,e,s){let n=this.readGrant(await this.request(r,`/grants/${encodeURIComponent(v.parse(e))}`,"GET",void 0,s));if(n.id!==e)throw new Error("Preparation grant identity mismatch.");return n}readGrant(r){let e=ie.parse(r);if(e.teamId!==this.options.teamId)throw new Error("Preparation grant workspace mismatch.");return e}async get(r,e,s){return this.readRun(await this.request(r,`/${encodeURIComponent(v.parse(e))}`,"GET",void 0,s),r,e)}async list(r,e={}){let s=new URLSearchParams(e.cursor?{cursor:v.parse(e.cursor)}:{}),n=de.parse(await this.request(r,`?${s}`,"GET",void 0,e.signal));if(n.teamId!==this.options.teamId||n.datasetId!==r||n.runs.some(i=>i.teamId!==n.teamId||i.datasetId!==r)||new Set(n.runs.map(i=>i.id)).size!==n.runs.length)throw new Error("Preparation list scope/identity mismatch.");return n}async command(r,e,s,n){let i=E.parse(s),o=this.readRun(await this.request(r,`/${encodeURIComponent(v.parse(e))}/commands`,"POST",i,n),r,e);if(o.revision<i.expectedRevision+1)throw new Error("Preparation command did not advance the expected revision.");return o}async operationResult(r,e,s){let n=await this.request(r,`/operations/${encodeURIComponent(v.parse(e))}`,"GET",void 0,s);if(n===null)return null;let i=t.object({operationId:v,requestHash:t.string().regex(/^[a-f0-9]{64}$/),run:A}).strict().parse(n);if(i.operationId!==e)throw new Error("Preparation operation recovery identity mismatch.");return this.readRun(i.run,r),i}async candidates(r,e,s={}){let n=new URLSearchParams(s.cursor?{cursor:v.parse(s.cursor)}:{}),i=ve.parse(await this.request(r,`/${encodeURIComponent(v.parse(e))}/candidates?${n}`,"GET",void 0,s.signal));if(i.teamId!==this.options.teamId||i.datasetId!==r||i.runId!==e||i.candidates.some(o=>o.runId!==e)||new Set(i.candidates.map(o=>o.id)).size!==i.candidates.length)throw new Error("Preparation candidate page scope/identity mismatch.");return i}readRun(r,e,s){let n=A.parse(r);if(n.teamId!==this.options.teamId||n.datasetId!==e||s&&n.id!==s)throw new Error("Preparation run scope/identity mismatch.");return n}async request(r,e,s,n,i){let o=await(this.options.fetch??fetch)(`${this.baseUrl}/v1/dataset-workspaces/${encodeURIComponent(v.parse(r))}/preparations${e}`,{method:s,signal:i,redirect:"error",headers:{Authorization:`Bearer ${this.options.apiKey}`,"X-OpenPond-Team-Id":this.options.teamId,"Content-Type":"application/json"},...n===void 0?{}:{body:JSON.stringify(n)}});if(!o.body)throw o.ok?new Error("Preparation response is empty."):new T(o.status,"dataset_preparation_request_failed",`Dataset preparation request failed (${o.status}).`);let d=o.body.getReader(),m=[],w=0;try{for(;;){let y=await d.read();if(y.done)break;if(w+=y.value.byteLength,w>(o.ok?8*1024*1024:64*1024))throw new Error("Preparation response exceeds its bounded page.");m.push(y.value)}}finally{await d.cancel()}let h=new Uint8Array(w),b=0;for(let y of m)h.set(y,b),b+=y.length;let g=new TextDecoder("utf-8",{fatal:!0}).decode(h);if(!o.ok){let y=null;try{y=JSON.parse(g)}catch{}let f=t.object({code:t.string().max(240),message:t.string().max(5e3)}).safeParse(y);throw new T(o.status,f.success?f.data.code:"dataset_preparation_request_failed",f.success?f.data.message:`Dataset preparation request failed (${o.status}).`)}return JSON.parse(g)}};var P=class{constructor(r){this.options=r;let e=new URL(r.baseUrl);if(!["http:","https:"].includes(e.protocol)||e.username||e.password||e.search||e.hash||!r.apiKey.trim()||!r.teamId.trim())throw new Error("A clean API origin and workspace credentials are required.");this.baseUrl=e.toString().replace(/\/+$/,""),this.preparations=new U(r)}options;static{S(this,"OpenPondDatasetWorkspaceClient")}baseUrl;preparations;async list(r={}){let{signal:e,...s}=r,n=F.parse(s),i=new URLSearchParams(Object.entries(n).filter(([,d])=>d!==void 0).map(([d,m])=>[d,String(m)])),o=ee.parse(await this.request(`?${i}`,"GET",void 0,e));if(o.teamId!==this.options.teamId||o.datasets.length>n.limit||new Set(o.datasets.map(d=>d.id)).size!==o.datasets.length)throw new Error("Dataset list workspace/page mismatch.");return o}async get(r,e){return this.readback(await this.request(`/${encodeURIComponent(r)}`,"GET",void 0,e),r)}async operationResult(r,e){let s=G.parse(e.kind),n=new URLSearchParams({kind:s,...e.datasetId?{datasetId:e.datasetId}:{}}),i=await this.request(`/operations/${encodeURIComponent(r)}?${n}`,"GET",void 0,e.signal,132*1024*1024);if(i===null)return null;let o=ne.parse(i);if(this.readback(o.receipt,o.receipt.datasetId),o.base&&this.readback(o.base,o.receipt.datasetId),o.operationId!==r||o.kind!==s||e.datasetId&&o.receipt.datasetId!==e.datasetId||e.requestHash&&o.requestHash!==e.requestHash)throw new Error("Dataset operation recovery identity/request mismatch.");return o}async beginVersion(r,e,s){let n=Y.parse(e),i=this.readback(await this.request(`/${encodeURIComponent(r)}/begin-version`,"POST",n,s),r);if(i.revision!==n.expectedRevision+1||i.workspace.draft.status!=="draft"||!i.publication||!i.workspace.draft.publishedTasksetRef)throw new Error("Editable version receipt mismatch.");return i}async versions(r,e={}){let s=new URLSearchParams(e.beforeRevision===void 0?{}:{beforeRevision:String(e.beforeRevision)}),n=Z.parse(await this.request(`/${encodeURIComponent(r)}/versions?${s}`,"GET",void 0,e.signal));if(n.teamId!==this.options.teamId||n.datasetId!==r||n.items.some((i,o)=>o>0&&i.workspaceRevision>=n.items[o-1].workspaceRevision||e.beforeRevision!==void 0&&i.workspaceRevision>=e.beforeRevision))throw new Error("Dataset version history scope/order mismatch.");return n}async version(r,e,s){let n=this.readback(await this.request(`/${encodeURIComponent(r)}/versions/${e}`,"GET",void 0,s),r);if(n.revision!==e||n.workspace.draft.status!=="published")throw new Error("Dataset immutable version mismatch.");return n}async save(r,e){let s=Q.parse(r),n=O(s.workspace);if(n.draft.profileId!==this.options.teamId||n.draft.revision!==s.expectedRevision+1)throw new Error("Dataset write scope or revision mismatch.");let i=this.readback(await this.request(`/${encodeURIComponent(n.draft.id)}`,"PUT",s,e),n.draft.id);if(s.originProjectId&&i.originProjectId!==s.originProjectId)throw new Error("Dataset origin Project mismatch.");if(s.ownerScope&&i.ownerScope!==s.ownerScope)throw new Error("Dataset owner scope mismatch.");if(i.workspace.contentHash!==n.contentHash)throw new Error("Dataset write receipt differs from the saved bytes.");return i}async validate(r,e,s){let n=te.parse(await this.request(`/${encodeURIComponent(r)}/validate`,"POST",{expectedRevision:e},s));if(n.teamId!==this.options.teamId||n.datasetId!==r||n.revision!==e)throw new Error("Dataset validation receipt mismatch.");return n}async publish(r,e,s){let n=X.parse(e),i=this.readback(await this.request(`/${encodeURIComponent(r)}/publish`,"POST",n,s),r);if(i.revision!==n.expectedRevision+1||i.workspace.draft.status!=="published"||i.publication?.packageHash!==n.packageHash)throw new Error("Dataset publication receipt mismatch.");return i}readback(r,e){let s=q.parse(r);if(O(s.workspace),s.datasetId!==e||s.teamId!==this.options.teamId)throw new Error("Dataset identity mismatch.");return s}async request(r,e,s,n,i){let o=await(this.options.fetch??fetch)(`${this.baseUrl}/v1/dataset-workspaces${r}`,{method:e,signal:n,redirect:"error",headers:{Authorization:`Bearer ${this.options.apiKey}`,"X-OpenPond-Team-Id":this.options.teamId,"Content-Type":"application/json"},...s===void 0?{}:{body:JSON.stringify(s)}});if(!o.ok)throw new Error(`Dataset request failed (${o.status}).`);if(i!==void 0){if(!o.body)throw new Error("Dataset response is empty.");let d=o.body.getReader(),m=[],w=0;try{for(;;){let g=await d.read();if(g.done)break;if(w+=g.value.byteLength,w>i)throw new Error("Dataset recovery exceeds its bounded response.");m.push(g.value)}}finally{await d.cancel()}let h=new Uint8Array(w),b=0;for(let g of m)h.set(g,b),b+=g.length;return JSON.parse(new TextDecoder("utf-8",{fatal:!0}).decode(h))}return o.json()}};import{readFile as Se,stat as xe}from"node:fs/promises";var M="datasets preparation <grant-create|grant-read|create|read|list|candidates|operation|start|pause|resume|cancel|resolve|release> <dataset-id> [run-or-grant-id] --team <id> --api-base-url <origin> [--input-file <path>] [--operation-id <id>] [--expected-revision <n>] [--cursor <id>]";async function ue(a,r,e){let[s,n,i]=e;if(!n||!s||e.length>3)throw new Error(`usage: ${M}`);let o=l(r,"cursor")||void 0,d;if(s==="grant-create"){if(i)throw new Error("Grant creation takes its identity from the input file.");d=await a.createGrant(n,C.parse(await z(r)))}else if(s==="grant-read"){if(!i)throw new Error("Grant read requires the retained grant ID.");d=await a.getGrant(n,i)}else if(s==="create"){if(i)throw new Error("Create derives its run identity from the saved operation ID.");d=await a.create(n,_.parse(await z(r)))}else if(s==="list"){if(i)throw new Error("List accepts a Dataset ID only.");d=await a.list(n,{cursor:o})}else if(s==="operation"){let m=l(r,"operationId");if(i||!m)throw new Error("Operation recovery requires --operation-id and no run ID.");d=await a.operationResult(n,m)}else{if(!i)throw new Error(`${s} requires the retained preparation run ID.`);if(s==="read")d=await a.get(n,i);else if(s==="candidates")d=await a.candidates(n,i,{cursor:o});else{let m=s==="resolve"?E.parse(await z(r)):E.parse({action:s,operationId:l(r,"operationId"),expectedRevision:Number(l(r,"expectedRevision"))});if(m.action!==s)throw new Error("Input-file action differs from the selected preparation command.");d=await a.command(n,i,m)}}console.log(JSON.stringify(d,null,2))}S(ue,"runDatasetPreparationCommand");async function z(a){let r=l(a,"inputFile");if(!r||(await xe(r)).size>1048576)throw new Error("Preparation requires a bounded --input-file containing its saved policy or resolution command.");let e=await Se(r);if(e.byteLength>1048576)throw new Error("Preparation input exceeds one MiB.");return JSON.parse(new TextDecoder("utf-8",{fatal:!0}).decode(e))}S(z,"readPreparationInput");import{readFile as ke,stat as Pe}from"node:fs/promises";async function me(a,r){let[e,s]=r;if(!e||r.length>2)throw new Error("Usage: datasets <context|select|select-model|select-destination|new-experiment|select-experiment|rename-experiment|schema|list|read|create|save|file|validate|check-graders|check-sources|package|import|inspect-source|import-source|list-graders|read-grader|save-grader|test-grader|upload|publish|sync|pause-sync|disconnect-sync|related-chats> [id] --local [--input-file <path>] [--operation-id <id>] [--expected-revision <n>] [--json]");let n=new URL(l(a,"serverUrl")||process.env.OPENPOND_LOCAL_API_URL||re);if(n.protocol!=="http:"||!["localhost","127.0.0.1","[::1]"].includes(n.hostname)||n.username||n.password||n.search||n.hash||n.pathname!=="/")throw new Error("Local Datasets require an HTTP loopback server origin.");let i=await se(n.origin,{maximumResponseBytes:Number.POSITIVE_INFINITY,timeoutMs:12e5}),o=l(a,"inputFile"),d={};if(o){let u=await Pe(o);if(!u.isFile()||u.size>64*1024*1024)throw new Error("Provide a bounded regular input file.");d=JSON.parse(await ke(o,"utf8"))}let m=l(a,"expectedRevision"),w=["read-grader","save-grader","test-grader"].includes(e),h=w?l(a,"datasetId"):void 0,b=w?l(a,"graderId")||(h?s:void 0):void 0;w&&(d={...d,...b?{graderId:b}:{},...e==="read-grader"?{view:"inspection",...a.limit!==void 0?{limit:Number(a.limit)}:{},...a.offset!==void 0?{offset:Number(a.offset)}:{}}:{}});let g=e==="context"?{action:"context",payload:d}:e==="select-destination"?{action:"set_destination",payload:{executionLocation:s==="hosted"?"cloud":s}}:e==="select-model"?{action:"set_model",payload:{evaluationModel:s}}:e==="new-experiment"?{action:"create_scope",payload:{operationId:l(a,"operationId")}}:e==="select"?{action:"set_focus",payload:{kind:"dataset",id:s??null,...m?{revision:Number(m)}:{}}}:e==="select-experiment"?{action:"select_scope",payload:{scopeId:s}}:e==="rename-experiment"?{action:"rename_scope",payload:{scopeId:s,...d}}:null;if(g&&!process.env.OPENPOND_CHAT_INVOCATION)throw new Error("Chat selection commands require the app's scoped command executor.");let y=await i(new URL("/v1/local-datasets",n),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...g??{action:e.replaceAll("-","_"),...h||s?{id:h||s}:{},...a.operationId?{operationId:l(a,"operationId")}:{},...m?{expectedRevision:Number(m)}:{},payload:d},...process.env.OPENPOND_CHAT_INVOCATION?{invocationToken:process.env.OPENPOND_CHAT_INVOCATION}:{}})}),f=await y.json();if(!y.ok)throw new Error(typeof f.error=="string"?f.error:`Local Dataset request failed (${y.status}).`);if(R(a.json)){console.log(JSON.stringify(f,null,2));return}let D=Array.isArray(f)?f:[...f.summary?[f.summary]:[],...Array.isArray(f.summaries)?f.summaries:[]];if(!D.length){console.log(JSON.stringify(f,null,2));return}for(let u of D){if(u.kind==="grader"){console.log(`${u.name} \xB7 version ${u.revision} \xB7 ${u.state} \xB7 ${u.checkState}`),console.log(`${u.id} \xB7 Dataset ${u.datasetId} \xB7 Grader ${u.graderId}`);continue}console.log(`${u.name} \xB7 version ${u.revision} \xB7 ${u.state} \xB7 ${u.syncState}`),console.log(`${u.id} \xB7 ${u.taskCount} tasks \xB7 ${u.graderCount} graders \xB7 ${u.checkState}`),console.log(`Inspect: openpond datasets read ${u.id} --local --expected-revision ${u.revision} --json`),console.log(`Check graders: openpond datasets check-graders ${u.id} --local --expected-revision ${u.revision}`)}}S(me,"runLocalDatasetsCommand");import{readFile as De}from"node:fs/promises";async function yt(a,r){if(R(a.local))return me(a,r);let[e,s]=r,n=l(a,"team"),i=J(a);if(e==="preparation"){if(!n||!i)throw new Error(`usage: ${M}`);let h=await H(),b=new P({teamId:n,baseUrl:i,apiKey:await N(h,j(h))});return ue(b.preparations,a,r.slice(1))}if(!n||!i||!e||r.length>2||!["upload","save","read","list","validate","publish"].includes(e))throw new Error("usage: datasets <upload|save|read|list|validate|publish> [folder|id] --team <id> --api-base-url <origin> [--input-file <path>] [--operation-id <id>] [--expected-revision <n>] [--publish] [--project <id>]");let o=await H(),d=new P({teamId:n,baseUrl:i,apiKey:await N(o,j(o))}),m=l(a,"operationId"),w;if(e==="save"){let h=l(a,"inputFile");if(s||!h)throw new Error("Save requires --input-file containing the complete Dataset workspace write request, including its operationId and expectedRevision.");w=await d.save(JSON.parse(await De(h,"utf8")))}else if(e==="list"){if(s)throw new Error("List does not accept a dataset id.");w=await d.list({cursor:l(a,"cursor")||void 0})}else{if(!s)throw new Error(`${e} requires a ${e==="upload"?"folder":"dataset id"}.`);if(e==="read")w=await d.get(s);else if(e==="upload"){if(!m||m.length>220)throw new Error("Upload requires a stable --operation-id of at most 220 characters. Reuse it after an uncertain response.");let h=l(a,"expectedRevision"),b=h?Number(h):0;if(!Number.isSafeInteger(b)||b<0)throw new Error("Expected revision must be a nonnegative integer.");let g=await ae({directory:s,teamId:n,expectedRevision:b,datasetId:l(a,"datasetId")||void 0}),y=B({workspace:g.workspace,preparation:null,adapterId:"openpond-hosted-taskset-authoring-v1",now:g.workspace.draft.updatedAt}),f=await d.save({operationId:`${m}:save`,expectedRevision:b,workspace:g.workspace,...l(a,"project")?{originProjectId:l(a,"project")}:{}}),D=await d.get(f.datasetId);if(D.workspace.draft.status==="draft"){let W=await d.validate(f.datasetId,f.revision);if(W.workspaceHash!==g.workspace.contentHash||W.packageHash!==y.contentHash)throw new Error("Hosted validation differs from the captured folder bytes.")}else if(D.publication?.packageHash!==y.contentHash)throw new Error("This dataset was changed after the upload receipt. Read the current version before continuing.");let u=R(a.publish)?await d.publish(f.datasetId,{operationId:`${m}:publish`,expectedRevision:f.revision,workspaceHash:f.workspace.contentHash,packageHash:y.contentHash}):f;w={teamId:n,datasetId:u.datasetId,revision:u.revision,status:u.workspace.draft.status,operationId:m,capturedBytes:g.capturedBytes,sourceHash:g.sourceHash,sourceFiles:g.sourceFiles,workspaceHash:f.workspace.contentHash,packageHash:y.contentHash,publication:u.publication}}else{let h=Number(l(a,"expectedRevision"));if(!Number.isSafeInteger(h)||h<=0)throw new Error(`${e} requires --expected-revision with the retained dataset revision.`);if(e==="validate")w=await d.validate(s,h);else{if(!m)throw new Error("Publish requires a stable --operation-id.");let b=l(a,"workspaceHash"),g=l(a,"packageHash");if(!b||!g)throw new Error("Publish requires --workspace-hash and --package-hash from the retained validation receipt. Keep these pins and the operation id unchanged on retry.");w=await d.publish(s,{operationId:m,expectedRevision:h,workspaceHash:b,packageHash:g})}}}console.log(JSON.stringify(w,null,2))}S(yt,"runDatasetsCommand");export{yt as runDatasetsCommand};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{u as f}from"./chunk-7P5SH3CI.js";import"./chunk-TGULVWPV.js";import{a as c}from"./chunk-EW7CD7OA.js";import"./chunk-SQX22LQT.js";import"./chunk-XRKFTPHD.js";import"./chunk-BSHAIAXY.js";import"./chunk-XWPC3AN4.js";import{c as p,f as u}from"./chunk-3M53YXEI.js";import"./chunk-CRDKBFRN.js";import"./chunk-DMO3UIS7.js";import"./chunk-27JGS3KB.js";import"./chunk-BT5YNE5U.js";import"./chunk-3WJQ4IGK.js";import"./chunk-KTIBXRWQ.js";import"./chunk-L4EJ5R3B.js";import"./chunk-6ZTP6CUJ.js";import"./chunk-TBODQT4W.js";import"./chunk-YRDPVTEI.js";import"./chunk-JRGECNP3.js";import"./chunk-RRWL5BHZ.js";import"./chunk-NXN7GJOH.js";import"./chunk-5WPMI6QX.js";import"./chunk-W7NXFRHN.js";import"./chunk-5HPZGLOL.js";import"./chunk-GLUWATL5.js";import"./chunk-UN2LKLGV.js";import"./chunk-2LJCJOJ7.js";import"./chunk-AMC4Z7G4.js";import"./chunk-LK77GI6M.js";import"./chunk-HVM2GUM3.js";import"./chunk-JCLTFDVW.js";import"./chunk-I6VMRQF4.js";import"./chunk-QAFXQHHG.js";import"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import"./chunk-G4E3WGLM.js";import"./chunk-ZY32SZ2P.js";import"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-UGOK7VTC.js";import{a as r}from"./chunk-FTQLQJQV.js";import d from"node:path";import{access as v}from"node:fs/promises";import{constants as C}from"node:fs";import{createRequire as P}from"node:module";var l=d.join("scripts","desktop-harness.ts");async function $(n,t){let o=await j({options:n,rest:t}),e=await f(o.command,o.args,{cwd:o.cwd,inherit:!0,timeoutMs:0});if(e.code!==0)throw new m(e.code)}r($,"runDesktopTestCommand");async function j(n){let t=n.options,o=n.rest,e=o[0];if(e!=="run"&&e!=="attach")throw new c(D());let a=o.slice(1);if(a.length===0)throw new c("usage: openpond desktop-test run <scenario...> [options]");let g=p(t,"cwd")||n.cwd||process.cwd(),w=await O(g),k=(n.env??process.env).OPENPOND_NODE_BINARY?.trim()||process.execPath,s=[P(import.meta.url).resolve("tsx/cli"),l,"run",...a],h=x(t,e);return h&&s.push(`--${h}`),i(s,"--app",t,"app"),i(s,"--server",t,"server"),i(s,"--token",t,"token"),i(s,"--token-file",t,"tokenFile"),i(s,"--devtools-port",t,"devtoolsPort"),i(s,"--artifacts-dir",t,"artifactsDir"),H(s,t),i(s,"--grep",t,"grep"),i(s,"--timeout-ms",t,"timeoutMs"),u(t.keepHome)&&s.push("--keep-home"),{command:k,args:s,cwd:w}}r(j,"buildDesktopHarnessInvocation");async function O(n){let t=d.resolve(n);for(;;){let o=d.join(t,l);if(await R(o))return t;let e=d.dirname(t);if(e===t)throw new c(`Could not find ${l}. Run this command from the OpenPond source checkout or pass --cwd <repo>.`);t=e}}r(O,"resolveDesktopHarnessRepoRoot");function x(n,t){let o=t==="attach"?"attach":null;for(let e of["isolated","attach","packaged","none"])if(u(n[e])){if(o&&o!==e)throw new c("Choose only one desktop harness launch mode: --isolated, --attach, --packaged, or --none.");o=e}return o}r(x,"resolveLaunchMode");function i(n,t,o,e){let a=p(o,e);a&&n.push(t,a)}r(i,"appendStringFlag");function H(n,t){let o=p(t,"json"),e=p(t,"jsonPath");if(o&&y(o))throw new c("harness --json requires a report path. Use --json <path> or --json-path <path>.");if(o&&e&&o!==e)throw new c("Use only one JSON report path: --json <path> or --json-path <path>.");let a=o||e;a&&n.push("--json",a)}r(H,"appendJsonFlag");function y(n){return/^(true|false|1|0|yes|no)$/i.test(n)}r(y,"isBooleanLiteral");async function R(n){try{return await v(n,C.R_OK),!0}catch{return!1}}r(R,"fileExists");function D(){return["usage: openpond desktop-test run <scenario...> [options]"," openpond desktop-test attach <scenario...> [options]","","Options include --isolated, --attach, --packaged, --none, --app <path>,","--server <url>, --token <token>, --token-file <path>, --devtools-port <port>, --artifacts-dir <path>,","--json <path>, --json-path <path>, --grep <pattern>, --timeout-ms <ms>,","--keep-home, and --cwd <repo>."].join(`
|
|
3
|
+
`)}r(D,"desktopHarnessCliUsage");var m=class extends Error{static{r(this,"HarnessCommandFailedError")}exitCode;constructor(t){let o=typeof t=="number"&&t>0?t:1;super(`desktop harness failed with exit code ${o}`),this.name="HarnessCommandFailedError",this.exitCode=o}};export{j as buildDesktopHarnessInvocation,O as resolveDesktopHarnessRepoRoot,$ as runDesktopTestCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{$ as sa,A as L,B as M,C as N,D as O,E as X,F as Y,G as Z,H as _,I as $,J as aa,K as ba,L as ca,M as da,N as ea,O as fa,P as ga,Q as ha,R as ia,S as ja,T as ka,U as la,V as ma,W as na,X as oa,Y as pa,Z as qa,_ as ra,a as l,aa as ta,b as m,ba as ua,c as n,ca as va,d as o,da as wa,e as p,ea as xa,f as q,fa as ya,g as r,ga as za,h as s,ha as Aa,i as t,ia as Ba,j as u,ja as Ca,k as v,ka as Da,l as w,la as Ea,m as x,ma as Fa,n as y,na as Ga,o as z,oa as Ha,p as A,pa as Ia,q as B,qa as Ja,r as C,s as D,t as E,u as F,v as G,w as H,x as I,y as J,z as K}from"./chunk-SH7POUVX.js";import"./chunk-2MEOUS24.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import{a,b,c,d,e,f,g,h,i,k as j,l as k,m as P,o as Q,p as R,q as S,r as T,s as U,t as V,u as W}from"./chunk-UGOK7VTC.js";import"./chunk-FTQLQJQV.js";export{Da as CLIENT_CHOICE_KEYS,Ca as ClientChoicesSchema,w as ConfigSchema,v as CredentialReferenceSchema,L as LAYOUT_PREFERENCE_KEYS,l as MISSING_REVISION,oa as MigrationResolutionsSchema,Q as PERSISTENCE_TABLES_SQL,c as PersistenceError,fa as accountId,r as acquireFileLock,ka as artifactReference,Aa as assertConfigRunCurrent,Ja as assertHomeCompatible,k as assertStorageAncestors,p as atomicWriteFile,b as bindHomeCallbacks,za as captureConfigRun,_ as clearCache,na as collectArtifactOrphans,F as configEditorSchema,C as configRecoveryRevisions,N as configToPreferences,ea as credentialVersions,ca as deleteCredential,W as deleteLocalRecord,y as diffConfig,Ba as effectivePreferences,g as expandHome,Ga as exportRecoveryBackup,Ia as exportSettings,m as fileRevision,T as getLocalRecord,S as getLocalRecords,ra as initializeHome,e as isMissing,O as layoutPreferences,Z as listCache,U as listLocalRecords,J as mergeConfig,da as newCredentialId,P as openStorageDatabase,H as patchConfig,d as persistenceIssue,M as preferencesToConfig,o as privateDirectory,s as processIsDead,j as protectPrivateDirectory,ja as publishManagedArtifact,V as putLocalRecord,ga as readAccountConfiguration,X as readCache,Ea as readClientChoices,G as readConfig,$ as readCredential,aa as readCredentials,t as readJsonFile,pa as readMigrationJournal,n as readOptionalFile,va as readPreferences,ta as recoverMigration,ma as releaseArtifactReference,B as rememberValidConfig,D as replaceConfigText,i as resolveConfigPath,ya as resolveEffectiveConfig,f as resolveOpenPondHome,qa as resolveStoredPath,ua as restartMigration,E as restoreConfigRevision,Ha as restoreRecoveryBackup,z as serializeConfig,xa as setProjectTrust,h as storagePaths,ha as updateAccountConfiguration,Fa as updateClientChoices,I as updateConfig,u as updateJsonFile,wa as updatePreferences,x as validateConfigDocument,A as validateConfigText,ia as validateManagedArtifacts,sa as validateMigratedHome,K as watchConfig,q as withFileLock,R as withLocalDatabase,la as withManagedArtifact,a as withOpenPondHome,Y as writeCache,ba as writeCredential};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{$ as Ef,$a as rh,$b as ri,A as cf,Aa as Sg,Ab as Sh,Ac as Si,B as df,Ba as Tg,Bb as Th,Bc as Ti,C as ef,Ca as Ug,Cb as Uh,Cc as Ui,D as ff,Da as Vg,Db as Vh,Dc as Vi,E as gf,Ea as Wg,Eb as Wh,Ec as Wi,F as hf,Fa as Xg,Fb as Xh,Fc as Xi,G as jf,Ga as Yg,Gb as Yh,Gc as Yi,H as kf,Ha as Zg,Hb as Zh,Hc as Zi,I as lf,Ia as _g,Ib as _h,Ic as _i,J as mf,Ja as $g,Jb as $h,Jc as $i,K as nf,Ka as ah,Kb as ai,Kc as aj,L as of,La as bh,Lb as bi,Lc as bj,M as pf,Ma as ch,Mb as ci,N as qf,Na as dh,Nb as di,O as rf,Oa as eh,Ob as ei,P as sf,Pa as fh,Pb as fi,Q as tf,Qa as gh,Qb as gi,R as uf,Ra as hh,Rb as hi,S as vf,Sa as ih,Sb as ii,T as wf,Ta as jh,Tb as ji,U as xf,Ua as kh,Ub as ki,V as yf,Va as lh,Vb as li,W as zf,Wa as mh,Wb as mi,X as Af,Xa as nh,Xb as ni,Y as Bf,Ya as oh,Yb as oi,Z as Cf,Za as ph,Zb as pi,_ as Df,_a as qh,_b as qi,a as Ee,aa as Ff,ab as sh,ac as si,b as Fe,ba as Gf,bb as th,bc as ti,c as Ge,ca as Hf,cb as uh,cc as ui,d as He,da as If,db as vh,dc as vi,e as Ie,ea as Jf,eb as wh,ec as wi,f as Je,fa as Kf,fb as xh,fc as xi,g as Ke,ga as Lf,gb as yh,gc as yi,h as Le,ha as zg,hb as zh,hc as zi,i as Me,ia as Ag,ib as Ah,ic as Ai,j as Ne,ja as Bg,jb as Bh,jc as Bi,k as Oe,ka as Cg,kb as Ch,kc as Ci,l as Pe,la as Dg,lb as Dh,lc as Di,m as Qe,ma as Eg,mb as Eh,mc as Ei,n as Re,na as Fg,nb as Fh,nc as Fi,o as Se,oa as Gg,ob as Gh,oc as Gi,p as Te,pa as Hg,pb as Hh,pc as Hi,q as Ue,qa as Ig,qb as Ih,qc as Ii,r as Ve,ra as Jg,rb as Jh,rc as Ji,s as We,sa as Kg,sb as Kh,sc as Ki,t as Xe,ta as Lg,tb as Lh,tc as Li,u as Ye,ua as Mg,ub as Mh,uc as Mi,v as Ze,va as Ng,vb as Nh,vc as Ni,w as _e,wa as Og,wb as Oh,wc as Oi,x as $e,xa as Pg,xb as Ph,xc as Pi,y as af,ya as Qg,yb as Qh,yc as Qi,z as bf,za as Rg,zb as Rh,zc as Ri}from"./chunk-QAFXQHHG.js";import{A as kg,B as lg,C as mg,D as ng,E as og,F as pg,G as qg,H as rg,I as sg,J as tg,K as ug,L as vg,M as wg,N as xg,O as yg,a as Mf,b as Nf,c as Of,d as Pf,e as Qf,f as Rf,g as Sf,h as Tf,i as Uf,j as Vf,k as Wf,l as Xf,m as Yf,n as Zf,o as _f,p as $f,q as ag,r as bg,s as cg,t as dg,u as eg,v as fg,w as gg,x as hg,y as ig,z as jg}from"./chunk-OKKNDQJF.js";import"./chunk-AJXWJLZA.js";import{$ as jc,$a as jd,$b as je,A as Kb,Aa as Kc,Ab as Kd,B as Lb,Ba as Lc,Bb as Ld,C as Mb,Ca as Mc,Cb as Md,D as Nb,Da as Nc,Db as Nd,E as Ob,Ea as Oc,Eb as Od,F as Pb,Fa as Pc,Fb as Pd,G as Qb,Ga as Qc,Gb as Qd,H as Rb,Ha as Rc,Hb as Rd,I as Sb,Ia as Sc,Ib as Sd,J as Tb,Ja as Tc,Jb as Td,K as Ub,Ka as Uc,Kb as Ud,L as Vb,La as Vc,Lb as Vd,M as Wb,Ma as Wc,Mb as Wd,N as Xb,Na as Xc,Nb as Xd,O as Yb,Oa as Yc,Ob as Yd,P as Zb,Pa as Zc,Pb as Zd,Q as _b,Qa as _c,Qb as _d,R as $b,Ra as $c,Rb as $d,S as ac,Sa as ad,Sb as ae,T as bc,Ta as bd,Tb as be,U as cc,Ua as cd,Ub as ce,V as dc,Va as dd,Vb as de,W as ec,Wa as ed,Wb as ee,X as fc,Xa as fd,Xb as fe,Y as gc,Ya as gd,Yb as ge,Z as hc,Za as hd,Zb as he,_ as ic,_a as id,_b as ie,a as p,aa as kc,ab as kd,ac as ke,b as lb,ba as lc,bb as ld,bc as le,c as mb,ca as mc,cb as md,cc as me,d as nb,da as nc,db as nd,dc as ne,e as ob,ea as oc,eb as od,ec as oe,f as pb,fa as pc,fb as pd,fc as pe,g as qb,ga as qc,gb as qd,gc as qe,h as rb,ha as rc,hb as rd,hc as re,i as sb,ia as sc,ib as sd,ic as se,j as tb,ja as tc,jb as td,jc as te,k as ub,ka as uc,kb as ud,kc as ue,l as vb,la as vc,lb as vd,lc as ve,m as wb,ma as wc,mb as wd,mc as we,n as xb,na as xc,nb as xd,nc as xe,o as yb,oa as yc,ob as yd,oc as ye,p as zb,pa as zc,pb as zd,pc as ze,q as Ab,qa as Ac,qb as Ad,qc as Ae,r as Bb,ra as Bc,rb as Bd,rc as Be,s as Cb,sa as Cc,sb as Cd,sc as Ce,t as Db,ta as Dc,tb as Dd,tc as De,u as Eb,ua as Ec,ub as Ed,v as Fb,va as Fc,vb as Fd,w as Gb,wa as Gc,wb as Gd,x as Hb,xa as Hc,xb as Hd,y as Ib,ya as Ic,yb as Id,z as Jb,za as Jc,zb as Jd}from"./chunk-G4E3WGLM.js";import{$ as G,$a as Ga,Aa as fa,Ab as fb,Ba as ga,Bb as gb,Ca as ha,Cb as hb,Da as ia,Db as ib,Ea as ja,Eb as jb,Fa as ka,Fb as kb,Ga as la,Ha as ma,Ia as na,Ja as oa,Ka as pa,La as qa,Ma as ra,Na as sa,Oa as ta,Pa as ua,Qa as va,Ra as wa,Sa as xa,Ta as ya,Ua as za,Va as Aa,W as B,Wa as Ba,X as C,Xa as Ca,Y as D,Ya as Da,Z as E,Za as Ea,_ as F,_a as Fa,aa as H,ab as Ha,ba as I,bb as Ia,ca as J,cb as Ja,da as K,db as Ka,ea as L,eb as La,fa as M,fb as Ma,ga as N,gb as Na,ha as O,hb as Oa,i as q,ia as P,ib as Pa,j as r,ja as Q,jb as Qa,k as s,ka as R,kb as Ra,l as t,la as S,lb as Sa,m as u,ma as T,mb as Ta,na as U,nb as Ua,oa as V,ob as Va,pa as W,pb as Wa,qa as X,qb as Xa,ra as Y,rb as Ya,s as v,sa as Z,sb as Za,t as w,ta as _,tb as _a,u as x,ua as $,ub as $a,v as y,va as aa,vb as ab,w as z,wa as ba,wb as bb,x as A,xa as ca,xb as cb,ya as da,yb as db,za as ea,zb as eb}from"./chunk-ZY32SZ2P.js";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}from"./chunk-OTDDXEQ6.js";import"./chunk-ECOH24MC.js";import"./chunk-HNQPEOJD.js";import"./chunk-RCT3O3HQ.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-FTQLQJQV.js";export{pe as AcceptanceAttemptSchema,he as AcceptanceCheckSchema,ne as AcceptanceGroupManifestContentSchema,oe as AcceptanceGroupManifestSchema,qe as AcceptanceGroupSnapshotContentSchema,re as AcceptanceGroupSnapshotSchema,le as AcceptanceMeasurementSchema,ie as AcceptancePlanContentSchema,je as AcceptancePlanSchema,d as AgentSnapshotContentSchema,e as AgentSnapshotSchema,Nc as ApplyTaskCorrectionCommandSchema,Uc as ArchiveAuthoringDraftCommandSchema,of as ArtifactCollectionStatusSchema,rf as ArtifactManifestContentSchema,qf as ArtifactManifestEntrySchema,sf as ArtifactManifestSchema,pf as ArtifactValidationStatusSchema,lf as AttemptOutcomeClassSchema,Ie as AttemptReceiptContentSchema,Je as AttemptReceiptSchema,yc as AuthoringDraftContentSchema,Ac as AuthoringDraftFinalizationSchema,xc as AuthoringDraftInputSchema,zc as AuthoringDraftSchema,wc as AuthoringTargetKindSchema,df as BenchmarkComparisonContentSchema,ef as BenchmarkComparisonSchema,$e as BenchmarkDefinitionSchema,Ye as BenchmarkMetricSchema,_e as BenchmarkProtocolSchema,Ze as BenchmarkRunPhaseSchema,af as BenchmarkRunRequestSchema,bf as BenchmarkRunSummaryContentSchema,cf as BenchmarkRunSummarySchema,mb as BoundJudgeResponseSchema,Ca as BoundRewardResultSchema,Gi as CORE_METRIC_CATALOG,_c as CancelLearningIterationCommandSchema,Zc as CancelLearningIterationReservationCommandSchema,Wc as CancelRewardCheckCommandSchema,Sc as CancelTaskGradeCommandSchema,li as CanonicalRolloutRecordSchema,b as CapabilityRequirementSchema,vc as CombinedRewardAuthoringFieldsSchema,Zg as ComparisonAssignmentContentSchema,_g as ComparisonAssignmentSchema,Ce as CorrectionMetricObservationSchema,De as CorrectionMetricSummarySchema,Be as CorrectionOpportunitySchema,ye as CorrectionVerificationCheckSchema,ze as CorrectionVerificationPlanContentSchema,Ae as CorrectionVerificationPlanSchema,I as CustomVerifierGraderSpecSchema,H as CustomVerifierRuntimeSchema,gd as DEFAULT_REWARD_VERIFIER_SOURCE,F as DeterministicGraderSpecSchema,E as EnvironmentContractSchema,ki as EnvironmentExecutionEvidenceSchema,mf as EnvironmentReleaseContentSchema,nf as EnvironmentReleaseSchema,Ke as EvaluationResultContentSchema,Le as EvaluationResultSchema,Sf as EvidenceArtifactIdSchema,Tf as EvidenceArtifactRefSchema,Ni as EvidenceCompletenessSchema,Mi as EvidenceReferenceSchema,Za as ExperimentCaseIdentitySchema,eb as ExperimentCaseResultSchema,Ya as ExperimentEvaluatorSchema,cb as ExperimentFeedbackSchema,ab as ExperimentManifestContentSchema,bb as ExperimentManifestSchema,fb as ExperimentResultContentSchema,gb as ExperimentResultSchema,Xa as ExperimentTargetSchema,db as ExperimentUsageSchema,kf as FailureOwnerSchema,sa as FeedbackKeySchema,ka as GraderEvidenceContentSchema,la as GraderEvidenceSchema,g as GraderInterfaceContractSchema,K as GraderSpecSchema,Me as HarnessCompatibilityReceiptContentSchema,Ne as HarnessCompatibilityReceiptSchema,n as HarnessLifecycleEventSchema,h as HarnessReleaseContentSchema,i as HarnessReleaseSchema,o as HarnessTraceSchema,J as HumanGraderSpecSchema,Ic as ImportTaskIntakeCommandSchema,ob as JudgeCallReservationSchema,Pb as LearningAcceptedParentSchema,ee as LearningCandidateDecisionObservationSchema,oc as LearningChainSchema,Kd as LearningCommandRequestSchema,ad as LearningCommandSchema,vd as LearningConflictError,qc as LearningConsumptionSchema,p as LearningContinuationModeOverrideSchema,fa as LearningDomainError,pc as LearningEligibilityCountsSchema,cd as LearningIterationDispatchSchema,dd as LearningIterationObservationSchema,rc as LearningIterationReservationSchema,Rb as LearningIterationSchema,Qb as LearningIterationStatusSchema,bd as LearningIterationSubmissionSchema,nc as LearningIterationTriggerSchema,ub as LearningJsonObjectSchema,wb as LearningJsonPointerSchema,Nd as LearningOperationResultSchema,Nb as LearningPolicyContentSchema,Dd as LearningPolicyInspectionResultSchema,Ob as LearningPolicySchema,Ld as LearningReadRequestSchema,ud as LearningResourceKindSchema,Tb as LearningResourceSchema,Ab as LearningReviewOriginSchema,vb as LearningRevisionRefSchema,fd as LearningScheduleFireSchema,ed as LearningScheduleSchema,Bb as LearningSourceContentSchema,Cb as LearningSourceSchema,Hd as LearningTaskQueueInspectionSchema,Yb as LearningTextAssetContentSchema,Zb as LearningTextAssetSchema,f as LifecycleContractSchema,Yd as MAX_REWARD_CALIBRATION_CLOSURE_BYTES,si as METRIC_DEFINITION_SCHEMA_VERSION,ti as METRIC_OBSERVATION_SCHEMA_VERSION,Ci as MetricAggregationSchema,Ki as MetricCatalogSchema,Di as MetricDefinitionSchema,Bi as MetricDirectionSchema,Ei as MetricObservationSchema,Oi as MetricSeriesPointSchema,Ai as MetricUnitSchema,zi as MetricValueTypeSchema,j as ModelActionSchema,Sh as ModelImprovementDecisionSchema,Uh as ModelImprovementQualificationReceiptContentSchema,Vh as ModelImprovementQualificationReceiptSchema,Th as ModelImprovementSignalSchema,G as ModelJudgeGraderSpecSchema,ja as ModelJudgeReceiptSchema,ia as ModelJudgeTransportPolicySchema,Ta as NativeHarnessExperimentAttemptContentSchema,Ua as NativeHarnessExperimentAttemptSchema,Sa as NativeHarnessExperimentEvidenceSchema,rb as NightlyScheduleSchema,ji as OptimizerTrainingSampleSchema,D as PolicyBoundarySchema,c as PortabilityReportSchema,bh as PreferenceAggregationReceiptContentSchema,ch as PreferenceAggregationReceiptSchema,dh as PreferenceCalibrationReportContentSchema,eh as PreferenceCalibrationReportSchema,Tg as PreferenceComparisonPurposeSchema,Xg as PreferenceComparisonReleaseContentSchema,Yg as PreferenceComparisonReleaseSchema,vh as PreferenceDatasetReleaseContentSchema,wh as PreferenceDatasetReleaseSchema,th as PreferenceEvidenceAuthoritySchema,$g as PreferenceReceiptContentSchema,ah as PreferenceReceiptSchema,Wg as PreferenceRendererSchema,Ug as PreferenceReviewerKindSchema,Vg as PreferenceRewardScopeSchema,$ as ProfileEvaluationCatalogSchema,Yh as ProfileEvaluationComparisonContentSchema,Zh as ProfileEvaluationComparisonSchema,Z as ProfileEvaluationDefinitionSchema,gi as ProfileEvaluationEvidenceRefSchema,$h as ProfileEvaluationReportContentSchema,ai as ProfileEvaluationReportSchema,aa as ProfileEvaluationRunSourceSchema,di as ProfileEvaluationSuiteRunContentSchema,ei as ProfileEvaluationSuiteRunSchema,_ as ProfileEvaluationSuiteSchema,S as ProfileEvaluationTargetSchema,U as ProfileExternalDatasetBindingContentSchema,V as ProfileExternalDatasetBindingSchema,T as ProfileExternalFieldMappingsSchema,q as ProfileSourceCandidateSchema,Xc as PublishCheckedRewardCommandSchema,Jc as PublishLearningResourceCommandSchema,Kc as PublishLearningResourcesCommandSchema,Vc as QueueRewardCheckCommandSchema,Pc as QueueTaskGradeCommandSchema,ri as RUN_TELEMETRY_SCHEMA_VERSION,C as RequiredOutputContractSchema,Yc as ReserveLearningIterationCommandSchema,Oc as ResolveTaskFeedbackCommandSchema,$c as RetryLearningIterationDispatchCommandSchema,Qc as ReviewTaskEvidenceCommandSchema,tc as RewardAuthoringFieldsSchema,Aa as RewardBindingContentSchema,Ba as RewardBindingSchema,za as RewardBindingSourceSchema,Zd as RewardCalibrationClosureSchema,od as RewardCheckRunSchema,md as RewardCheckRuntimeSchema,vf as RewardComponentReceiptSchema,Da as RewardCompositionContentSchema,Ea as RewardCompositionSchema,sc as RewardFixtureAuthoringFieldsSchema,nd as RewardFixtureCheckResultSchema,ld as RewardFixtureSchema,ua as RewardImplementationSchema,uh as RewardModelQualificationKindSchema,xh as RewardModelQualificationReportContentSchema,yh as RewardModelQualificationReportSchema,ya as RewardNormalizationSchema,wf as RewardReceiptContentSchema,xf as RewardReceiptSchema,va as RewardReleaseContentSchema,xa as RewardReleaseRefSchema,wa as RewardReleaseSchema,mi as RolloutQualificationSchema,Fe as RunLimitsSchema,Ge as RunManifestContentSchema,He as RunManifestSchema,Pi as RunMetricSummarySchema,Fi as RunTelemetryBatchSchema,yi as RunTelemetryEventSchema,xi as RunTelemetryLineageSchema,Ee as RuntimeTargetBindingSchema,Na as STANDALONE_EXPERIMENT_MAX_POLICY_CALLS,Pa as STANDALONE_EXPERIMENT_READ_TOOLS,Tc as SaveAuthoringDraftCommandSchema,jf as ScoringStatusSchema,Rc as SealTaskBatchCommandSchema,Ma as StandaloneHarnessExperimentSourceSchema,Lc as SubmitTaskExampleCommandSchema,Mc as SubmitTaskFeedbackCommandSchema,Bc as TASK_INTAKE_LIMITS,v as TASK_JSON_SCHEMA_DIALECT,x as TASK_SCHEMA_MAX_BYTES,w as TASK_VALUE_MAX_BYTES,Jb as TaskAdmissionDecisionContentSchema,Kb as TaskAdmissionDecisionSchema,Lb as TaskBatchContentSchema,kc as TaskBatchPackageMetadataSchema,Mb as TaskBatchSchema,xb as TaskDefinitionContentSchema,yb as TaskDefinitionSchema,Eb as TaskEvidenceContentSchema,Md as TaskEvidenceInspectionResultSchema,Fb as TaskEvidenceSchema,Db as TaskExampleSubmissionSchema,Ib as TaskFeedbackSchema,Hb as TaskFeedbackSubmissionSchema,uc as TaskFormatAuthoringFieldsSchema,Sb as TaskGradeRunSchema,pa as TaskGradeSchema,Dc as TaskIntakeFileSchema,Cc as TaskIntakeFormatSchema,Fc as TaskIntakePreviewSchema,Ec as TaskIntakeRecordSchema,Gb as TaskRatingSchema,L as TaskRecordSchema,zb as TaskSourceMappingSchema,B as TaskSplitSchema,r as TasksetMetricPolicySchema,s as TasksetMetricResultContentSchema,t as TasksetMetricResultSchema,M as TasksetReleaseContentSchema,N as TasksetReleaseSchema,Fh as TasksetRunExecutionSchema,Hh as TasksetRunManifestContentSchema,Ih as TasksetRunManifestSchema,Gh as TasksetRunMemberSchema,Eh as TasksetRunPolicySchema,Li as TelemetryCohortSchema,wi as TelemetryEventTypeSchema,Zi as TelemetryExportBundleContentSchema,_i as TelemetryExportBundleSchema,vi as TelemetrySourceSchema,ui as TelemetryVisibilitySchema,a as ToolDeclarationSchema,k as ToolObservationSchema,lb as TrainingHandoffOriginSchema,tf as VerifierSetReleaseContentSchema,uf as VerifierSetReleaseSchema,Pf as WORK_EVIDENCE_ELIGIBILITY_SCHEMA_VERSION,Mf as WORK_EVIDENCE_SCHEMA_VERSION,Of as WORK_FEEDBACK_SCHEMA_VERSION,Nf as WORK_PROCESS_TRACE_SCHEMA_VERSION,Ig as WorkEvidenceAuthoringInputSchema,Bg as WorkEvidenceBlockerCodeSchema,Cg as WorkEvidenceDecisionSchema,Dg as WorkEvidenceEligibilityContentSchema,Eg as WorkEvidenceEligibilitySchema,zg as WorkEvidencePolicyStateSchema,hg as WorkEvidenceReceiptContentSchema,ig as WorkEvidenceReceiptSchema,Ag as WorkEvidenceUseSchema,fg as WorkFailureClassSchema,kg as WorkFeedbackReasonCodeSchema,lg as WorkFeedbackReceiptContentSchema,mg as WorkFeedbackReceiptSchema,jg as WorkFeedbackVerdictSchema,$f as WorkInterventionOutcomeSchema,Wf as WorkProcessActionSchema,ag as WorkProcessErrorClassSchema,Vf as WorkProcessLayerSchema,Uf as WorkProcessStepKindSchema,cg as WorkProcessStepSchema,Xf as WorkProcessStepStatusSchema,dg as WorkProcessTraceContentSchema,eg as WorkProcessTraceSchema,Qf as WorkSourceOpaqueRefSchema,gg as WorkTerminalSchema,Yf as WorkToolCategorySchema,bg as WorkTraceIncompleteReasonSchema,_f as WorkTransitionStateSchema,Zf as WorkValidationKindSchema,Rf as WorkWorkspaceOpaqueRefSchema,xe as acceptanceGroupVerdict,Mg as acceptedWorkFeedbackFixture,Og as activeWorkEvidenceEligibilityFixture,Re as aggregateEvaluationReceipts,oa as aggregateGraderScores,nh as aggregatePreferenceReceipts,Qh as aggregateTasksetEvaluationReceipts,Oh as aggregateTasksetRunReceipts,we as assertAcceptanceBaselineReuse,ue as assertAcceptanceGroupSnapshot,ve as assertAcceptanceGroupUpdate,gc as assertAdmissionDecision,y as assertBoundedTaskJson,Te as assertComparableRunManifests,yg as assertFeedbackTargetsEvidence,hc as assertGradeIdentity,Xb as assertLearningContentHash,Jd as assertLearningRequestJson,ci as assertProfileEvaluationReport,Mh as assertProfileEvaluationRunAdmission,Gd as assertRewardCalibration,La as assertRewardHash,u as assertTasksetMetricResult,Ph as assertTasksetMetricSource,P as assertTasksetRelease,Lh as assertTasksetRunRelease,kd as authoringNumber,Bf as bindTasksetExecutionReleases,Kf as buildArtifactManifest,Cf as classifyAttemptOutcome,Fg as classifyWorkEvidence,tb as coalesceNightlyOccurrences,hf as compareBenchmarkRuns,kb as compareExperiments,Ia as compileBoundGraders,hd as compileRewardAuthoring,qd as compileRewardCheck,pd as compileRewardFixtures,lc as compileTaskBatch,Lg as completeWorkEvidenceFixture,Kg as completeWorkProcessTraceFixture,Ka as composeBoundRewards,se as createAcceptanceGroupManifest,te as createAcceptanceGroupSnapshot,ke as createAcceptancePlan,l as createAgentSnapshot,zf as createArtifactManifest,Pe as createAttemptReceipt,ff as createBenchmarkDefinition,gf as createBenchmarkRunSummary,nb as createBoundModelJudgeRunner,qb as createBudgetedJudgeExecutor,Xd as createBudgetedRewardFixtureExecutor,Rd as createBuiltinTaskGradeExecutor,ni as createCanonicalRolloutRecord,hh as createComparisonAssignment,yf as createEnvironmentRelease,hb as createExperimentManifest,ib as createExperimentResult,Se as createHarnessCompatibilityReceipt,m as createHarnessRelease,Wd as createIsolatedRewardFixtureExecutor,de as createLearningIterationWorker,ge as createLearningScheduleWorker,Qd as createLearningService,_b as createLearningTextAsset,Ri as createMetricObservation,Wh as createModelImprovementQualificationReceipt,Va as createNativeHarnessExperimentAttempt,ph as createPreferenceCalibrationReport,fh as createPreferenceComparisonRelease,zh as createPreferenceDatasetRelease,kh as createPreferenceReceipt,sh as createPreferenceRewardComponents,_h as createProfileEvaluationComparison,bi as createProfileEvaluationReport,fi as createProfileEvaluationSuiteRun,X as createProfileExternalDatasetBinding,Ga as createRewardBinding,$d as createRewardCalibrationClosure,Ud as createRewardCheckJudgeBudgetStore,ce as createRewardCheckWorker,Ch as createRewardModelQualificationReport,Df as createRewardReceipt,Fa as createRewardRelease,Oe as createRunManifest,Qi as createRunTelemetryEvent,lh as createSyntheticFixturePreferenceReceipt,Vd as createTaskGradeJudgeBudgetStore,Sd as createTaskGradeWorker,Jh as createTasksetRunManifest,$i as createTelemetryExportBundle,Ve as createVerifiedHarnessCompatibilityReceipt,Af as createVerifierSetRelease,sg as createWorkEvidenceReceipt,tg as createWorkFeedbackReceipt,rg as createWorkProcessTrace,Od as decodeTaskIntakeText,Vi as deriveEvidenceCompleteness,Hg as eligibleEvidenceUses,me as evaluateAcceptancePlan,ga as evaluateDeterministicGrader,ng as evidenceArtifactId,qg as evidenceArtifactRef,hi as executeProfileEvaluationRun,Ja as executeRewardBinding,rd as executeRewardFixture,Sg as executeRuntimeProtocol,Rh as executeTasksetMetric,_a as experimentCaseKey,ae as exportRewardCalibrationClosure,Y as externalDatasetDefinitionId,ta as feedbackKeyForReward,Ui as filterTelemetryCohort,Hi as getCoreMetricDefinition,na as gradeEvidence,qa as gradeTaskEvidence,ma as gradersForTask,ii as harnessEvaluationReviewConformance,Ra as harnessExperimentReadToolDeclarations,Oa as harnessExperimentSourceRequiresProfile,Xe as harnessRefinerBenchmarkAssets,We as harnessRefinerBenchmarkRelease,$a as humanProjectionViewId,Ng as incompleteWorkProcessTraceFixture,Ed as inspectLearningPolicy,Id as inspectLearningTaskQueue,ac as inspectTaskEvidence,Hc as intakeDate,Gc as intakeId,Qg as invalidRawEvidenceFixture,Jf as isScorableOutcome,pb as judgeCommittedSpend,yd as learningEvidenceId,zd as learningOperationId,Ub as learningRef,td as learningResourceSchemas,Bd as learningScheduleId,da as loadReleasedProfileEvaluationCatalog,ea as loadReleasedProfileEvaluationCatalogAssets,cc as mapTaskSourceRecord,sd as matchRewardFixture,Ah as materializePreferenceDatasetRelease,Ti as mergeTelemetryItems,sb as nextNightlyOccurrence,pi as optimizerEligibleRollouts,Nh as orderTasksetRunReceipts,jd as parseRewardAuthoringObject,Q as policyTaskView,ha as portableDeterministicCheck,Pd as previewTaskIntake,rh as projectPairwiseWinFraction,Fd as qualifyRewardCheck,qi as qualifyRolloutBatch,dc as readTaskJsonPointer,fe as reconcileLearningCandidateDecision,Yi as redactTelemetryAttributes,Xi as redactTelemetryEvent,bj as redactTelemetryExportBundle,Ef as regradeRewardReceipt,xd as requireLearningRelease,wd as requireLearningResource,Ha as resolveBoundRewards,Ad as resolveLearningTrainingParent,ca as resolveProfileEvaluationRunSource,Pg as revokedWorkEvidenceEligibilityFixture,id as rewardAuthoringFields,be as rewardCalibrationClosureAsset,Ue as rewardEligibleReceipts,Td as rewardFixtureFromRating,Vb as sameLearningRef,Wb as sealLearningContent,jc as sealTaskBatch,Qa as standaloneHarnessExperimentTools,Wi as summarizeMetric,Cd as synchronizeLearningSchedule,fc as taskAttemptEvidence,mc as taskBatchPackageMetadata,ic as taskFamilyReservations,ec as taskRecordFromEvidence,Kh as tasksetRunMetricPolicy,Si as telemetryIdempotencyKey,Jg as toWorkEvidenceAuthoringInput,R as trainingPolicyTaskViews,jh as validateComparisonAssignment,Ii as validateCoreMetricObservation,Ji as validateMetricObservation,ba as validateProfileEvaluationCatalog,bc as validateSourceSubmission,z as validateTaskSchema,A as validateTaskValue,O as validateTasksetRelease,Gf as verifyArtifactManifest,Qe as verifyAttemptReceipt,oi as verifyCanonicalRolloutRecord,ih as verifyComparisonAssignment,Ff as verifyEnvironmentRelease,jb as verifyExperimentEvidence,$b as verifyLearningTextAsset,Xh as verifyModelImprovementQualificationReceipt,Wa as verifyNativeHarnessExperimentAttempt,oh as verifyPreferenceAggregationReceipt,qh as verifyPreferenceCalibrationReport,gh as verifyPreferenceComparisonRelease,Bh as verifyPreferenceDatasetRelease,mh as verifyPreferenceReceipt,W as verifyProfileExternalDatasetBinding,Lf as verifyRequiredOutputs,_d as verifyRewardCalibrationClosure,Dh as verifyRewardModelQualificationReport,If as verifyRewardReceipt,ra as verifyTaskGrade,aj as verifyTelemetryExportBundle,Hf as verifyVerifierSetRelease,Gg as verifyWorkEvidenceEligibility,vg as verifyWorkEvidenceReceipt,wg as verifyWorkFeedbackReceipt,ug as verifyWorkProcessTrace,Rg as workEvidenceConformance,xg as workEvidenceReceiptRef,og as workSourceOpaqueRef,pg as workWorkspaceOpaqueRef};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{$,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,a,aa,b,ba,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-6I5AUTVO.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-FTQLQJQV.js";export{e as AGENT_PROTOCOL_VERSION,f as AGENT_RPC_METHODS,I as AcpClient,H as AcpRpcError,r as AgentCheckpointSchema,q as AgentEffectiveSurfaceSchema,v as AgentEventNameSchema,ba as AgentHostStorageClient,m as AgentJsonRpcDispatcher,k as AgentProtocolEnvelopeSchema,L as AgentRpcClient,w as CanonicalAgentEventSchema,K as ClaudeCliClient,J as ClaudeTaskProgress,M as ExperimentEnvironmentParamsSchema,Z as HOST_STORAGE_CONTRACT_VERSION,P as HarnessReviewStorageParamsSchema,aa as HostStorageCapabilitySchema,$ as HostStorageRequestSchema,_ as HostStorageScopeSchema,R as HostedOutputBeginParamsSchema,S as HostedOutputChunkParamsSchema,T as HostedOutputCompleteParamsSchema,Q as HostedOutputIdentitySchema,V as HostedOutputSaveSandboxFileParamsSchema,W as HostedSandboxActionSchema,U as HostedSandboxOutputIdentitySchema,X as HostedSandboxRequestParamsSchema,Y as HostedToolAuthorizationParamsSchema,l as InitializeParamsSchema,j as JsonRpcErrorSchema,h as JsonRpcNotificationSchema,g as JsonRpcRequestSchema,i as JsonRpcSuccessSchema,O as RefinerStorageActionSchema,N as TaskInboxStorageParamsSchema,z as TaskSerialExecutor,y as TaskSignals,A as agentCompactionDecision,x as canonicalEventHash,p as canonicalHash,o as canonicalJson,t as checkpointHash,d as createAgentRuntimeService,D as createAgentToolCatalog,F as createAgentToolCatalogProjection,s as effectiveSurfaceHash,E as executeAgentTool,G as executeProjectedAgentTool,u as materializeAgentPrompt,a as providerRoundSequence,B as runAgentCompaction,C as runAgentCompactionProgram,n as runAgentJsonlServer,c as runProviderRound,b as runProviderRoundLoop};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import{a,b,c,d}from"./chunk-S4WILIRA.js";import"./chunk-ZFJWA4JK.js";import"./chunk-X2J2P5ZT.js";import"./chunk-FTQLQJQV.js";export{a as EnclaveHealthSchema,c as EnclavePromptSchema,b as EnclaveReplySchema,d as UrlModelSchema};
|