openpond 0.2.63 → 0.2.65
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-PHMBLRCV.js +2 -0
- package/dist/chunks/acp-agent-A7GK2VSH.js +19 -0
- package/dist/chunks/actions-command-VLKMHCMI.js +2 -0
- package/dist/chunks/app-layer-J66CQ2QN.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-OMR2VE6L.js +2 -0
- package/dist/chunks/apps-IHUFERZO.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-E2S2EMYQ.js +10 -0
- 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-FEQ7HNJR.js +2 -0
- package/dist/chunks/{chunk-2HAWOMZK.js → chunk-FGOTSCSE.js} +1 -1
- 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-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-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-R6VJDOQM.js → chunk-N2AV7PHV.js} +4 -4
- 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-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-UM6EQOT2.js +161 -0
- 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-465ODYTC.js +2 -0
- package/dist/chunks/connected-app-executor-7DYMZCD7.js +2 -0
- package/dist/chunks/connected-evidence-XPAZQRFQ.js +2 -0
- package/dist/chunks/{connected-starting-assets-JONPTII6.js → connected-starting-assets-2YX3QVDB.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-PJOGRBHJ.js +2 -0
- package/dist/chunks/dataset-preparation-authoring-KWRTMKN6.js +4 -0
- package/dist/chunks/datasets-OTE2I4VT.js +2 -0
- package/dist/chunks/desktop-test-Q6REQJ7K.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-KRCY2H4C.js +2 -0
- package/dist/chunks/experiment-improvements-7MI2VYBR.js +2 -0
- package/dist/chunks/experiments-CNUQKJZE.js +2 -0
- package/dist/chunks/experiments-VOCZ4DW3.js +2 -0
- package/dist/chunks/experiments-signal-4N344D4Y.js +2 -0
- package/dist/chunks/{extension-ZM6NI5O5.js → extension-UH34ZF7N.js} +1 -1
- package/dist/chunks/{help-7HXFWIKS.js → help-ZUKVY6RO.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-DWSU6ASL.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-HOBGC6RC.js +2 -0
- package/dist/chunks/{import-6SI4BEKS.js → import-Q3YRFVY7.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-2LLDIWEJ.js +3 -0
- package/dist/chunks/opchat-bounded-chat-FLDS36LU.js +2 -0
- package/dist/chunks/organizations-VIFSOY6P.js +2 -0
- package/dist/chunks/{profile-O5HL5DTQ.js → profile-KIHMW2WB.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-TJLQNMLA.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-CQO6BEMQ.js +2 -0
- package/dist/chunks/{sandbox-template-27U3FQN7.js → sandbox-template-MU33IILL.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-CHQVWHV7.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-D3LWA4S5.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
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{A as e}from"./chunk-
|
|
2
|
+
import{A as e}from"./chunk-X2J2P5ZT.js";import{a as o}from"./chunk-FTQLQJQV.js";var i=e.enum(["local","sandbox"]),s=e.enum(["pinned","saved_for_later"]),l=e.object({id:e.string().min(1),workspaceKind:i,workspaceId:e.string().min(1),workspaceName:e.string().min(1),path:e.string().min(1),status:s,order:e.number().int().nonnegative().nullable().default(null),sourceSessionId:e.string().min(1).nullable().default(null),available:e.boolean().default(!0),createdAt:e.string().min(1),updatedAt:e.string().min(1)}),p=e.object({items:e.array(l)}),d=e.object({workspaceKind:i,workspaceId:e.string().trim().min(1),workspaceName:e.string().trim().min(1),path:e.string().trim().min(1),status:e.enum(["pinned","saved_for_later","none"]),order:e.number().int().nonnegative().nullable().optional(),sourceSessionId:e.string().trim().min(1).nullable().optional()}),u=e.enum(["pin","save_for_later","remove","list"]);function c(n){let r=n.trim().replaceAll("\\","/");if(r=r.replace(/^(?:workspace|sandbox):file:/,""),r=r.replace(/^\/workspace\/app\//,""),r=r.replace(/^\.\//,""),!r||r.startsWith("/"))throw new Error("File path must be relative to the workspace.");let a=r.split("/").filter(t=>t&&t!==".");if(a.some(t=>t===".."))throw new Error("File path cannot leave the workspace.");if(a.length===0)throw new Error("File path is required.");return a.join("/")}o(c,"normalizeSidebarFilePath");function b(n){return["sidebar-file",n.workspaceKind,encodeURIComponent(n.workspaceId),encodeURIComponent(c(n.path))].join(":")}o(b,"sidebarFileBookmarkId");export{l as a,d as b,c,b as d};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{e as S}from"./chunk-
|
|
2
|
+
import{e as S}from"./chunk-XHBMK6LC.js";import{Z as h}from"./chunk-6I5AUTVO.js";import{a as A}from"./chunk-G4747MOW.js";import{a as b,e as H,f as w,j as f}from"./chunk-LE75SVEL.js";import{f as O,g as k}from"./chunk-ZY32SZ2P.js";import{e as I,i as P}from"./chunk-OTDDXEQ6.js";import{n as g}from"./chunk-RCT3O3HQ.js";import{A as c}from"./chunk-X2J2P5ZT.js";import{a as u}from"./chunk-FTQLQJQV.js";import{randomUUID as T}from"node:crypto";import{readFile as v}from"node:fs/promises";import p from"node:path";import{randomUUID as $}from"node:crypto";var y=c.object({revision:c.number().int().nonnegative(),overlay:H}).strict(),z=y.extend({proposal:w}).strict(),m=class{constructor(e){this.client=e}client;static{u(this,"HostedHarnessOverlayStorage")}async getHarnessRunOverlay(e){let s=await this.client.request({contractVersion:h,requestId:$(),operation:"harness/overlay/get",params:{runId:e}});return s===null?null:y.parse(s).overlay}async putHarnessRunOverlay(e){let s=H.parse(e.overlay);if(!e.requestId.trim()||s.revision!==(e.expectedRevision===null?0:e.expectedRevision+1))throw new Error("Hosted Harness overlay mutation requires a stable request and next revision.");let r=y.parse(await this.client.request({contractVersion:h,requestId:e.requestId,operation:"harness/overlay/put",params:{runId:s.runId,expectedRevision:e.expectedRevision,overlay:s}}));if(r.revision!==s.revision||r.overlay.contentHash!==s.contentHash)throw new Error("Host Harness overlay response changed committed identity.");return r.overlay}async createHarnessRunOverlay(e){if(e.revision!==0||e.status!=="active")throw new Error("A new Harness run overlay must be active at revision 0.");return this.putHarnessRunOverlay({overlay:e,expectedRevision:null,requestId:`harness-overlay:${e.runId}:${e.contentHash}`})}async ensureHarnessRunOverlay(e){let s=await this.getHarnessRunOverlay(e.runId);if(s){if(s.workspace.workspaceId!==e.workspace.id||s.baseHarnessRelease.id!==e.harnessRelease.id||s.baseHarnessRelease.contentHash!==e.harnessRelease.contentHash)throw new Error("The durable Agent run is already bound to another Harness release.");return s}let r=f({schemaVersion:"openpond.harnessRunOverlay.v1",id:`overlay-${g({runId:e.runId,harnessRelease:e.harnessRelease}).slice(0,24)}`,runId:e.runId,baseHarnessRelease:e.harnessRelease,workspace:{workspaceId:e.workspace.id,revision:e.workspace.revision,sourceRevision:e.workspace.sourceRevision,channelRevision:e.workspace.currentChannel.revision},revision:0,status:"active",edits:[],createdAt:e.admittedAt,updatedAt:e.admittedAt,metadata:{}});return this.createHarnessRunOverlay(r)}async appendHarnessRunOverlayEditsAtomically(e){return this.transition(e,"append")}async freezeHarnessRunOverlayAtomically(e){return this.transition({...e,edits:[]},"freeze")}async abandonHarnessRunOverlayAtomically(e){return this.transition({...e,edits:[]},"abandon")}async freezeHarnessRunOverlayWithProposalAtomically(e){let s=await this.getHarnessRunOverlay(e.runId);if(!s||s.revision!==e.expectedRevision||s.status!=="active")throw new Error("Hosted Harness overlay revision or status changed.");let r=new Set(s.edits.map(i=>i.id));for(let i of e.edits){if(r.has(i.id))throw new Error(`Harness overlay edit id already exists: ${i.id}.`);r.add(i.id)}let{contentHash:l,...n}=s,t=f({...n,revision:s.revision+1,status:"frozen",edits:[...s.edits,...e.edits],updatedAt:e.updatedAt}),d=w.parse(e.buildProposal(t)),a=z.parse(await this.client.request({contractVersion:h,requestId:`harness-proposal:${t.runId}:${d.contentHash}`,operation:"harness/overlay/freezeProposal",params:{runId:t.runId,expectedRevision:s.revision,overlay:t,proposal:d}}));if(a.overlay.contentHash!==t.contentHash||a.proposal.contentHash!==d.contentHash)throw new Error("Host Harness proposal response changed committed identity.");return{overlay:a.overlay,proposal:a.proposal}}async transition(e,s){let r=await this.getHarnessRunOverlay(e.runId);if(!r||r.revision!==e.expectedRevision||r.status==="abandoned"||s!=="abandon"&&r.status!=="active")throw new Error("Hosted Harness overlay revision or status changed.");if(s==="append"&&e.edits.length===0)throw new Error("Harness overlay append requires edits.");let l=new Set(r.edits.map(a=>a.id));for(let a of e.edits){if(l.has(a.id))throw new Error(`Harness overlay edit id already exists: ${a.id}.`);l.add(a.id)}let{contentHash:n,...t}=r,d=f({...t,revision:r.revision+1,status:s==="append"?"active":s==="freeze"?"frozen":"abandoned",edits:[...r.edits,...e.edits],updatedAt:e.updatedAt});return this.putHarnessRunOverlay({overlay:d,expectedRevision:r.revision,requestId:`harness-overlay:${d.runId}:${d.contentHash}`})}};var N=c.object({workspace:b,release:c.object({id:c.string().min(1),contentHash:c.string().regex(/^[a-f0-9]{64}$/),sourceRevision:c.string().min(1),assetsPath:c.string().min(1)}).strict()}).strict();async function C(o,e=null){let s=await o.request({contractVersion:h,requestId:T(),operation:"harness/get",params:{reference:e}});if(s===null)return null;let r=N.parse(s);if(!p.isAbsolute(r.release.assetsPath))throw new Error("Hosted Harness assets path must be absolute.");let[l,n]=await Promise.all([v(p.join(r.release.assetsPath,"agent-snapshot.json"),"utf8"),v(p.join(r.release.assetsPath,"harness-release.json"),"utf8")]),t=A.parse({schemaVersion:"openpond.localHarnessReleaseRecord.v1",workspaceId:r.workspace.id,sourceRevision:r.release.sourceRevision,agentSnapshot:I.parse(JSON.parse(l)),harnessRelease:P.parse(JSON.parse(n)),bundlePath:r.release.assetsPath,createdAt:new Date().toISOString()});if(t.harnessRelease.id!==r.release.id||t.harnessRelease.contentHash!==r.release.contentHash||(e!==null?e.id!==r.release.id||e.contentHash!==r.release.contentHash:r.workspace.currentChannel.release?.contentHash!==r.release.contentHash))throw new Error("Hosted Harness release differs from its bound workspace.");return S({workspace:r.workspace,release:t})}u(C,"loadHostedHarnessRuntime");async function se(o,e){let s=e.profileComponentBinding,r=e.profileWorkflowBinding;if(s){if(r||e.currentProfile?.profileId!==s.profileId)throw new Error("Profile component binding differs from the session Profile reference.");let n=await x(o,s.harnessRelease);if(E(n,s.profileId,s.sourceRevision,e.currentProfile?.repositoryId),s.target.kind==="profile")return n;if(s.target.kind==="skill"){let i=s.target.skillPath;if(!n.release.agentSnapshot.skills.some(j=>j.path===i))throw new Error("Bound Profile Skill is unavailable in its released source.");let R=await v(p.join(n.release.bundlePath,"source",i),"utf8");return{...n,instructionContext:[n.instructionContext,`Released Profile Skill (${i}):
|
|
3
3
|
${R}`].join(`
|
|
4
4
|
|
|
5
5
|
`)}}let t=await q(n),d=s.target.actionId,a=t.actions.find(i=>i.id===d);if(!a)throw new Error("Bound Profile Agent action is unavailable in its released source.");return{...n,workflowAction:a}}if(r){if(e.currentProfile?.profileId!==r.profileId)throw new Error("Profile workflow binding differs from the session Profile reference.");let n=await x(o,r.harnessRelease);E(n,r.profileId,r.sourceRevision,e.currentProfile?.repositoryId);let t=await q(n),d=k({binding:r,harnessRelease:n.release.harnessRelease,catalog:t.catalog,catalogHash:t.catalogHash}),a=d.invocation.kind==="agent_action"?d.invocation.actionId:null,i=a?t.actions.find(R=>R.id===a):void 0;if(a&&!i)throw new Error(`Bound Profile action ${a} is missing from its release.`);return{...n,workflow:d,...i?{workflowAction:i}:{}}}let l=await new m(o).getHarnessRunOverlay(e.id);return C(o,l?.baseHarnessRelease??null)}u(se,"loadHostedHarnessRuntimeForSession");async function x(o,e){let s=await C(o,e);if(!s)throw new Error("The bound Profile Harness release is unavailable.");return s}u(x,"requireRelease");function E(o,e,s,r){let l=o.release.harnessRelease.metadata.profile;if(!l||typeof l!="object"||l.id!==e||l.sourceRevision!==s||l.repositoryId!==void 0&&l.repositoryId!==r)throw new Error("Bound Profile source differs from its released Harness source.")}u(E,"assertProfileProvenance");async function q(o){let e=p.join(o.release.bundlePath,"source"),[s,r]=await Promise.all([v(p.join(e,"workflows","catalog.json")),v(p.join(e,"workflows","actions.json"))]);return O({agentSnapshot:o.release.agentSnapshot,harnessRelease:o.release.harnessRelease,catalogBytes:s,actionBytes:r})}u(q,"loadHostedProfileCatalog");export{m as a,C as b,se as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{A as t}from"./chunk-
|
|
2
|
+
import{A as t}from"./chunk-X2J2P5ZT.js";import{a as i}from"./chunk-FTQLQJQV.js";import{createHash as c}from"node:crypto";var s=t.object({version:t.literal(1),installationId:t.string().uuid(),profileId:t.string().min(1).max(200),ownerUserId:t.string().min(1).max(200),teamId:t.string().min(1).max(200).nullable(),audience:t.string().url()}).strict();function f(e,n,r,a){let o=e.accountState;return o.state!=="signed_in"||!o.activeProfile||!o.profile?.id||!e.token?null:s.parse({version:1,installationId:n,profileId:c("sha256").update(JSON.stringify([o.activeProfile.handle,o.activeProfile.baseUrl??o.baseUrl,a])).digest("hex"),ownerUserId:o.profile.id,teamId:r,audience:a})}i(f,"deviceLocalOwner");function m(e,n){let r=s.safeParse(e.metadata?.ponderLocalOwner);return r.success?r.data.installationId===n.installationId&&r.data.profileId===n.profileId&&r.data.ownerUserId===n.ownerUserId&&r.data.teamId===n.teamId&&r.data.audience===n.audience:!1}i(m,"deviceOwnsLocalSession");function p(e){let{ponderLocalOwner:n,ponderDesktopReservation:r,ponderWorkspaceRevision:a,remoteStarterSourceSessionId:o,...d}=e??{};return d}i(p,"publicSessionMetadata");function v(e,n){return{...p(n),...e?.ponderLocalOwner!==void 0?{ponderLocalOwner:e.ponderLocalOwner}:{},...e?.ponderDesktopReservation!==void 0?{ponderDesktopReservation:e.ponderDesktopReservation}:{},...e?.ponderWorkspaceRevision!==void 0?{ponderWorkspaceRevision:e.ponderWorkspaceRevision}:{},...e?.remoteStarterSourceSessionId!==void 0?{remoteStarterSourceSessionId:e.remoteStarterSourceSessionId}:{}}}i(v,"preserveDeviceSessionIdentity");export{s as a,f as b,m as c,p as d,v as e};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{a as bt,c as at}from"./chunk-
|
|
2
|
+
import{a as bt,c as at}from"./chunk-GF55VEMR.js";import{I as At,L as ne,b as Y,fa as st,ob as Pt,pb as Rt,qb as oe,ub as re,vb as se,xb as ae}from"./chunk-MVPKU72J.js";import{S as mt,T as ee,U as vt,e as Qt}from"./chunk-SH7POUVX.js";import{I as te}from"./chunk-2MEOUS24.js";import{e as qt,f as Zt}from"./chunk-HNQPEOJD.js";import{A as y}from"./chunk-X2J2P5ZT.js";import{a as s}from"./chunk-FTQLQJQV.js";var Ko=y.object({id:y.string(),location:y.literal("local"),sessionId:y.string().nullable(),modelRef:Zt.nullable(),revision:y.number().int().positive(),remoteAccessEnabled:y.literal(!1),hostedSandboxesEnabled:y.boolean(),hostedActivation:y.literal("inactive")}),Vo=y.object({sessionId:y.string(),coordinatorId:y.string(),coordinatorSessionId:y.string(),owner:y.enum(["ponder","user"]),revision:y.number().int().positive(),assignment:y.string(),creationKey:y.string(),createdAt:y.string(),updatedAt:y.string()}),Jo="You are Pal (Ponder Assisted Learning), the user's persistent desktop coordinator. Delegate bounded assignments to real local agents through openpond_start_agent. Use the exact inputId returned by delegation or follow-up when waiting for completion. Inspect real transcripts/results before synthesizing. Never claim acceptance means completion. Workers are persistent sessions. A user-controlled worker remains observable but you must not send it instructions until the user explicitly returns control. Never launch paid compute, deploy, or expand access without user authority. Local history stays on this desktop. Hosted capabilities are unavailable unless explicitly enabled and authorized. Discover configured models and projects before selecting a worker; do not invent provider availability or paths. Native workers own their context and compaction.";var kt="This native agent is controlled by its parent conversation. You can inspect its transcript; send further instructions through the parent conversation.";function qo(t){if(t.metadata?.nativeWorker===!0&&t.metadata.nativeWorkerCanResume===!1)throw new Error(kt)}s(qo,"assertNativeWorkerDirectInput");import{promises as Ht}from"node:fs";import{createHash as rn}from"node:crypto";import Dt from"node:path";import en from"node:os";import ie from"node:path";function Mt(t){let e=t.trim();return e.startsWith("# AGENTS.md instructions for ")||e.startsWith("<environment_context>")||e.startsWith("<summary>")||e.startsWith("<user_info>")||/^<external_codex_apps_open_page>[\s\S]*<\/external_codex_apps_open_page>$/.test(e)}s(Mt,"isCodexInjectedUserMessage");function pt(t){let e=t.trim(),n=/^<(goal_context|turn_aborted)>\s*([\s\S]*?)\s*<\/\1>$/.exec(e);if(n){let o=n[1];return{kind:o,text:n[2]?.trim()||Et(o)}}return e==="<turn_aborted>"?{kind:"turn_aborted",text:Et("turn_aborted")}:e==="<goal_context>"?{kind:"goal_context",text:Et("goal_context")}:null}s(pt,"codexControlMessage");function Z(t,e){return t.length<=e?t:`${t.slice(0,e)}
|
|
3
3
|
|
|
4
|
-
[truncated ${t.length-e} characters from Codex history]`}s(Z,"truncateText");function it(t){return t.replace(/\s+/g," ").trim()}s(it,"normalizeTitleText");function de(t){if(!t.trim())return null;try{return JSON.parse(t)}catch{return null}}s(de,"parseMaybeJson");function tt(t){if(!t.trim())return null;try{return JSON.parse(t)}catch{return null}}s(tt,"parseJson");function _(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}s(_,"asRecord");function l(t){return typeof t=="string"&&t.trim()?t.trim():null}s(l,"stringValue");function j(t){return typeof t=="number"&&Number.isFinite(t)?t:null}s(j,"numberValue");function ce(t){let e=new Map;if(!t)return e;for(let[n,o]of Object.entries(t))typeof o=="string"&&o.trim()&&e.set(n,o.trim());return e}s(ce,"stringMap");function k(t){return t.replace(/[^a-zA-Z0-9_-]+/g,"_").slice(0,96)||"item"}s(k,"safeId");function Nt(t){let e=0;for(let n of t)typeof n=="number"&&n>e&&(e=n);return e}s(Nt,"latestMillis");function et(t){let e=Nt(t.map(E));return new Date(e||Date.now()).toISOString()}s(et,"latestIso");function E(t){if(!t)return 0;let e=Date.parse(t);return Number.isFinite(e)?e:0}s(E,"millisFromIso");function J(t){if(typeof t!="string"||!t.trim())return null;let e=t.trim().replace(/(\.\d{3})\d+(Z)$/i,"$1$2"),n=Date.parse(e);return Number.isFinite(n)?new Date(n).toISOString():null}s(J,"isoTimestamp");function le(t){if(t===null)return null;let e=t*1e3;return Number.isFinite(e)?new Date(e).toISOString():null}s(le,"isoFromEpochSeconds");function ue(t){let e=/rollout-(\d{4}-\d{2}-\d{2})T(\d{2})-(\d{2})-(\d{2})-/.exec(ie.basename(t));return e?J(`${e[1]}T${e[2]}:${e[3]}:${e[4]}.000Z`):null}s(ue,"isoFromFileName");function nt(){return process.env.CODEX_HOME?.trim()||ie.join(en.homedir(),".codex")}s(nt,"codexHomePath");function Et(t){return t==="turn_aborted"?"The previous turn was interrupted.":"Goal context updated."}s(Et,"defaultCodexControlText");import{createReadStream as nn}from"node:fs";import{createInterface as on}from"node:readline";async function Q(t,e){let n=nn(t,{encoding:"utf8"}),o=on({input:n,crlfDelay:1/0});for await(let r of o){if(!r.trim())continue;let a=tt(r);a&&e(a)}}s(Q,"readJsonlRecords");function $t(t,e=!1){let n=new Map;async function o(r){let a=await Ht.stat(r),i=e?rn("sha256").update(await Ht.readFile(r)).digest("hex"):"";return`${a.dev}:${a.ino}:${a.size}:${a.mtimeMs}:${a.ctimeMs}:${i}`}return s(o,"signature"),async r=>{let a;try{a=await o(r)}catch{return n.delete(r),t(r)}let i=n.get(r);if(i?.signature===a)return i.value;let d=t(r).then(async c=>(await o(r).catch(()=>null)!==a&&n.get(r)?.value===d&&n.delete(r),c)).catch(c=>{throw n.get(r)?.value===d&&n.delete(r),c});return n.set(r,{signature:a,value:d}),n.size>4&&n.delete(n.keys().next().value),d}}s($t,"cachedFileReader");var sn=$t(cn),an=$t(ln,!0),dn=$t(un,!0),me=s(t=>sn(Dt.join(t,"history.jsonl")),"readPromptHistory"),pe=s(t=>an(Dt.join(t,"session_index.jsonl")),"readSessionIndex"),ge=s(t=>dn(Dt.join(t,".codex-global-state.json")),"readGlobalState");async function cn(t){let e=new Map;return await Q(t,n=>{let o=_(n),r=l(o?.session_id),a=l(o?.text)??"",i=le(j(o?.ts));if(!r||!/\S/.test(a)||!i)return;let d=e.get(r)??{firstPrompt:null,latestPrompt:null,firstAt:null,latestAt:null};(!d.firstAt||E(i)<E(d.firstAt))&&(d.firstAt=i,d.firstPrompt=it(a).slice(0,160)),(!d.latestAt||E(i)>E(d.latestAt))&&(d.latestAt=i),e.set(r,d)}).catch(()=>{}),e}s(cn,"parsePromptHistory");async function ln(t){let e=new Map;return await Q(t,n=>{let o=_(n),r=l(o?.id);r&&e.set(r,{id:r,threadName:it(l(o?.thread_name)??"")||null,updatedAt:J(l(o?.updated_at))})}).catch(()=>{}),e}s(ln,"parseSessionIndex");async function un(t){let e;try{e=JSON.parse(await Ht.readFile(t,"utf8"))}catch{e=null}let n=_(e);return{workspaceRootHints:ce(_(n?.["thread-workspace-root-hints"]))}}s(un,"parseGlobalState");import{createReadStream as On,existsSync as Pe,mkdirSync as Fn,promises as Ln,readFileSync as jn,statSync as Gt,writeFileSync as Bn}from"node:fs";import xt from"node:os";import M from"node:path";import{createInterface as zn}from"node:readline";import{promises as gt}from"node:fs";import O from"node:path";var mn=12e4,pn=15*1024*1024,dt=2*1024*1024,fe=new Map([[".gif","image/gif"],[".jpeg","image/jpeg"],[".jpg","image/jpeg"],[".png","image/png"],[".webp","image/webp"]]),gn=new Set(fe.values()),fn=new Set(["application/javascript","application/json","application/ld+json","application/sql","application/toml","application/typescript","application/x-httpd-php","application/x-javascript","application/x-sh","application/x-yaml","application/xml","application/yaml"]),hn=new Set([".c",".cc",".cpp",".css",".csv",".go",".h",".html",".java",".js",".json",".jsx",".log",".md",".mdx",".php",".py",".rb",".rs",".sh",".sql",".toml",".ts",".tsx",".txt",".xml",".yaml",".yml"]);async function _r(t){let e=t.attachments??[];if(e.length===0)return[];let n=O.join(t.attachmentRootDir,A(t.sessionId),A(t.turnId)),o=new Set,r=[];for(let[a,i]of e.entries()){let c={...he(i),...i.text?{text:i.text}:{}};if(i.contentsBase64){await gt.mkdir(n,{recursive:!0});let m=_n(i.relativePath||i.name,o,a+1),u=O.join(n,m);await gt.mkdir(O.dirname(u),{recursive:!0});let f=Buffer.from(i.contentsBase64,"base64"),p=await mt(t.storageHome,{owner:{domain:"chat_attachment",id:JSON.stringify([t.sessionId,t.turnId,m])},displayName:i.name,mediaType:i.mediaType,bytes:f});await
|
|
4
|
+
[truncated ${t.length-e} characters from Codex history]`}s(Z,"truncateText");function it(t){return t.replace(/\s+/g," ").trim()}s(it,"normalizeTitleText");function de(t){if(!t.trim())return null;try{return JSON.parse(t)}catch{return null}}s(de,"parseMaybeJson");function tt(t){if(!t.trim())return null;try{return JSON.parse(t)}catch{return null}}s(tt,"parseJson");function _(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}s(_,"asRecord");function l(t){return typeof t=="string"&&t.trim()?t.trim():null}s(l,"stringValue");function j(t){return typeof t=="number"&&Number.isFinite(t)?t:null}s(j,"numberValue");function ce(t){let e=new Map;if(!t)return e;for(let[n,o]of Object.entries(t))typeof o=="string"&&o.trim()&&e.set(n,o.trim());return e}s(ce,"stringMap");function k(t){return t.replace(/[^a-zA-Z0-9_-]+/g,"_").slice(0,96)||"item"}s(k,"safeId");function Nt(t){let e=0;for(let n of t)typeof n=="number"&&n>e&&(e=n);return e}s(Nt,"latestMillis");function et(t){let e=Nt(t.map(E));return new Date(e||Date.now()).toISOString()}s(et,"latestIso");function E(t){if(!t)return 0;let e=Date.parse(t);return Number.isFinite(e)?e:0}s(E,"millisFromIso");function J(t){if(typeof t!="string"||!t.trim())return null;let e=t.trim().replace(/(\.\d{3})\d+(Z)$/i,"$1$2"),n=Date.parse(e);return Number.isFinite(n)?new Date(n).toISOString():null}s(J,"isoTimestamp");function le(t){if(t===null)return null;let e=t*1e3;return Number.isFinite(e)?new Date(e).toISOString():null}s(le,"isoFromEpochSeconds");function ue(t){let e=/rollout-(\d{4}-\d{2}-\d{2})T(\d{2})-(\d{2})-(\d{2})-/.exec(ie.basename(t));return e?J(`${e[1]}T${e[2]}:${e[3]}:${e[4]}.000Z`):null}s(ue,"isoFromFileName");function nt(){return process.env.CODEX_HOME?.trim()||ie.join(en.homedir(),".codex")}s(nt,"codexHomePath");function Et(t){return t==="turn_aborted"?"The previous turn was interrupted.":"Goal context updated."}s(Et,"defaultCodexControlText");import{createReadStream as nn}from"node:fs";import{createInterface as on}from"node:readline";async function Q(t,e){let n=nn(t,{encoding:"utf8"}),o=on({input:n,crlfDelay:1/0});for await(let r of o){if(!r.trim())continue;let a=tt(r);a&&e(a)}}s(Q,"readJsonlRecords");function $t(t,e=!1){let n=new Map;async function o(r){let a=await Ht.stat(r),i=e?rn("sha256").update(await Ht.readFile(r)).digest("hex"):"";return`${a.dev}:${a.ino}:${a.size}:${a.mtimeMs}:${a.ctimeMs}:${i}`}return s(o,"signature"),async r=>{let a;try{a=await o(r)}catch{return n.delete(r),t(r)}let i=n.get(r);if(i?.signature===a)return i.value;let d=t(r).then(async c=>(await o(r).catch(()=>null)!==a&&n.get(r)?.value===d&&n.delete(r),c)).catch(c=>{throw n.get(r)?.value===d&&n.delete(r),c});return n.set(r,{signature:a,value:d}),n.size>4&&n.delete(n.keys().next().value),d}}s($t,"cachedFileReader");var sn=$t(cn),an=$t(ln,!0),dn=$t(un,!0),me=s(t=>sn(Dt.join(t,"history.jsonl")),"readPromptHistory"),pe=s(t=>an(Dt.join(t,"session_index.jsonl")),"readSessionIndex"),ge=s(t=>dn(Dt.join(t,".codex-global-state.json")),"readGlobalState");async function cn(t){let e=new Map;return await Q(t,n=>{let o=_(n),r=l(o?.session_id),a=l(o?.text)??"",i=le(j(o?.ts));if(!r||!/\S/.test(a)||!i)return;let d=e.get(r)??{firstPrompt:null,latestPrompt:null,firstAt:null,latestAt:null};(!d.firstAt||E(i)<E(d.firstAt))&&(d.firstAt=i,d.firstPrompt=it(a).slice(0,160)),(!d.latestAt||E(i)>E(d.latestAt))&&(d.latestAt=i),e.set(r,d)}).catch(()=>{}),e}s(cn,"parsePromptHistory");async function ln(t){let e=new Map;return await Q(t,n=>{let o=_(n),r=l(o?.id);r&&e.set(r,{id:r,threadName:it(l(o?.thread_name)??"")||null,updatedAt:J(l(o?.updated_at))})}).catch(()=>{}),e}s(ln,"parseSessionIndex");async function un(t){let e;try{e=JSON.parse(await Ht.readFile(t,"utf8"))}catch{e=null}let n=_(e);return{workspaceRootHints:ce(_(n?.["thread-workspace-root-hints"]))}}s(un,"parseGlobalState");import{createReadStream as On,existsSync as Pe,mkdirSync as Fn,promises as Ln,readFileSync as jn,statSync as Gt,writeFileSync as Bn}from"node:fs";import xt from"node:os";import M from"node:path";import{createInterface as zn}from"node:readline";import{promises as gt}from"node:fs";import O from"node:path";var mn=12e4,pn=15*1024*1024,dt=2*1024*1024,fe=new Map([[".gif","image/gif"],[".jpeg","image/jpeg"],[".jpg","image/jpeg"],[".png","image/png"],[".webp","image/webp"]]),gn=new Set(fe.values()),fn=new Set(["application/javascript","application/json","application/ld+json","application/sql","application/toml","application/typescript","application/x-httpd-php","application/x-javascript","application/x-sh","application/x-yaml","application/xml","application/yaml"]),hn=new Set([".c",".cc",".cpp",".css",".csv",".go",".h",".html",".java",".js",".json",".jsx",".log",".md",".mdx",".php",".py",".rb",".rs",".sh",".sql",".toml",".ts",".tsx",".txt",".xml",".yaml",".yml"]);async function _r(t){let e=t.attachments??[];if(e.length===0)return[];let n=O.join(t.attachmentRootDir,A(t.sessionId),A(t.turnId)),o=new Set,r=[];for(let[a,i]of e.entries()){let c={...he(i),...i.text?{text:i.text}:{}};if(i.contentsBase64){await gt.mkdir(n,{recursive:!0});let m=_n(i.relativePath||i.name,o,a+1),u=O.join(n,m);await gt.mkdir(O.dirname(u),{recursive:!0});let f=Buffer.from(i.contentsBase64,"base64"),p=await mt(t.storageHome,{owner:{domain:"chat_attachment",id:JSON.stringify([t.sessionId,t.turnId,m])},displayName:i.name,mediaType:i.mediaType,bytes:f});await Qt(u,f),c.localPath=p.path,c.storageName=m}r.push(c)}return r}s(_r,"materializeChatAttachments");function Tr(t,e){let n=new Map(e?.materialized.map(o=>[o.id,o])??[]);return(t??[]).map(o=>{let r=he(o),a=n.get(o.id),i=K(o.mediaType,a?.storageName??o.name);return e&&r.kind==="image"&&a?.localPath&&a.storageName&&i?{...r,imagePreview:{sessionId:e.sessionId,turnId:e.turnId,attachmentId:o.id,storageName:a.storageName,contentType:i}}:e&&a?.localPath&&a.storageName&&o.sizeBytes<=dt&&ct(o.mediaType,a.storageName)?{...r,filePreview:{sessionId:e.sessionId,turnId:e.turnId,attachmentId:o.id,storageName:a.storageName,contentType:o.mediaType}}:r})}s(Tr,"chatAttachmentSummaries");function Cr(t){if(!t||t.length===0)return"";let e=["<attachments>",`The user attached ${t.length} file${t.length===1?"":"s"} with this message.`],n=mn;for(let[o,r]of t.entries()){let a=r.localPath?` Saved locally at: ${r.localPath}`:"";e.push(`${o+1}. ${r.name} (${r.mediaType}, ${Tn(r.sizeBytes)}, ${r.kind}).${a}`);let i=r.text?.trim();if(i&&n>0){let d=i.length>n?`${i.slice(0,Math.max(0,n-34))}
|
|
5
5
|
[attachment text truncated]`:i;e.push("Text content:"),e.push("~~~text"),e.push(d),e.push("~~~"),n-=d.length}}return e.push("</attachments>"),e.join(`
|
|
6
6
|
`)}s(Cr,"chatAttachmentContext");function wr(t,e){let n=t.trim()||"Please review the attached files.",o=e.trim();return o?`${n}
|
|
7
7
|
|
|
@@ -14,4 +14,4 @@ ${o}`:n}s(wr,"formatPromptWithAttachmentContext");function he(t){let e=t.lineCou
|
|
|
14
14
|
`)).replace(je,`
|
|
15
15
|
`).replace(ho,`
|
|
16
16
|
`).trim());return o.push(...Te({attachmentRootDir:e.attachmentRootDir,mentions:a,offset:o.length,sessionId:e.sessionId,turnId:e.turnId})),o.push(...Ao(n.inputImages,i,e,o.length)),n.inputImages.length===0&&o.push(...Po(i,e,o.length)),{prompt:d||(o.length>0?"Please review the attached files.":n.text.trim()),attachments:o}}s(To,"visibleCodexUserContent");function Co(t){let e=xo.exec(t);if(!e)return t;let n=t.slice(e.index+e[0].length),o=yo.exec(n);return o?n.slice(o.index+o[0].length).trim():t}s(Co,"visibleCodexPromptText");function ze(t){if(typeof t=="string")return{text:t.trim(),inputImages:[]};if(!Array.isArray(t))return{text:"",inputImages:[]};let e=[],n=[];for(let o of t){if(typeof o=="string"){e.push(o);continue}let r=_(o),a=l(r?.text);a&&e.push(a);let i=l(r?.image_url);i&&l(r?.type)==="input_image"&&n.push(i)}return{text:e.filter(Boolean).join(`
|
|
17
|
-
`).trim(),inputImages:n}}s(ze,"codexUserContentParts");function wo(t){return ze(t).inputImages.length>0}s(wo,"codexContentHasInputImage");function So(t){return Array.from(t.matchAll(je)).map(e=>({label:e[1]??e[2]??e[3]??e[4]??null,localPath:e[5]??null}))}s(So,"codexImageReferences");function vo(t,e,n){let o=[];for(let r of t.split(/\r?\n/)){let a=fo.exec(r);if(!a)continue;let i=a[1]?.trim(),d=a[2]?.trim(),c=Mo(a[3],a[4]),m=No(a[5]);if(!i||!d||c===null||!m)continue;let u=`${e.turnId}_attachment_${n+1}_${o.length+1}`,f=a[6]?.trim()||ko(i),p=Ro({attachmentId:u,context:e,kind:m,localPath:f,mediaType:d}),g=Ce({attachmentId:u,attachmentRootDir:e.attachmentRootDir,localPath:f,mediaType:d,name:i,sessionId:e.sessionId,sizeBytes:c});o.push({id:u,name:i,mediaType:d,sizeBytes:c,kind:m,...p?{imagePreview:p}:{},...g})}return o}s(vo,"parseCodexAttachmentContext");function Ao(t,e,n,o){let r=[];for(let[a,i]of t.entries()){let d=bo(i);if(!d)continue;let c=e[a],m=Ue(c,d.contentType,a),u=`${n.turnId}_input_image_${a+1+o}`,f=Kt({bytes:d.bytes,attachmentId:u,contentType:d.contentType,context:n,name:m});r.push({id:u,name:m,mediaType:d.contentType,sizeBytes:d.bytes.byteLength,kind:"image",...f?{imagePreview:f}:{}})}return r}s(Ao,"codexInputImageAttachments");function Po(t,e,n){let o=[];for(let[r,a]of t.entries()){let i=a.localPath??null;if(!i)continue;let d=K("",i),c=Ge(i);if(!d||!c)continue;let m=Ue(a,d,r),u=`${e.turnId}_image_reference_${r+1+n}`,f=Kt({bytes:c,attachmentId:u,contentType:d,context:e,name:m});o.push({id:u,name:m,mediaType:d,sizeBytes:c.byteLength,kind:"image",...f?{imagePreview:f}:{}})}return o}s(Po,"codexImageReferenceAttachments");function Ro(t){if(t.kind!=="image"||!t.localPath||!t.context.attachmentRootDir)return;let e=M.basename(t.localPath),n=K(t.mediaType,e);if(!n)return;let o=M.resolve(t.localPath),r=M.resolve(t.context.attachmentRootDir,A(t.context.sessionId),A(t.context.turnId));if(o===r||!o.startsWith(`${r}${M.sep}`)){let a=Ge(t.localPath);return a?Kt({attachmentId:t.attachmentId,bytes:a,contentType:n,context:t.context,name:e}):void 0}return{sessionId:t.context.sessionId,turnId:t.context.turnId,attachmentId:t.attachmentId,storageName:e,contentType:n}}s(Ro,"codexHistoryImagePreview");function Kt(t){if(!t.context.attachmentRootDir||t.bytes.byteLength>It)return;let e=Eo(t.attachmentId,t.name,t.contentType),n=M.join(t.context.attachmentRootDir,A(t.context.sessionId),A(t.context.turnId)),o=M.join(n,e);try{Fn(n,{recursive:!0}),Pe(o)||Bn(o,t.bytes,{mode:384})}catch{return}return{sessionId:t.context.sessionId,turnId:t.context.turnId,attachmentId:t.attachmentId,storageName:e,contentType:t.contentType}}s(Kt,"materializedCodexHistoryImagePreview");function bo(t){let e=_o.exec(t.trim());if(!e)return null;let n=K(e[1],"");if(!n)return null;let o=Buffer.from(e[2].replace(/\s+/g,""),"base64");return o.byteLength===0||o.byteLength>It?null:{bytes:o,contentType:n}}s(bo,"parseDataImageUrl");function Ge(t){try{let e=Gt(t);return!e.isFile()||e.size<=0||e.size>It?null:jn(t)}catch{return null}}s(Ge,"readCodexHistoryImageBytes");function ko(t){return[M.join(xt.homedir(),"Pictures","Screenshots",t),M.join(xt.homedir(),"Pictures",t),M.join(xt.homedir(),"Downloads",t),M.join(xt.homedir(),"Desktop",t)].find(n=>{if(!K("",n))return!1;try{let r=Gt(n);return r.isFile()&&r.size>0&&r.size<=It}catch{return!1}})}s(ko,"localImagePathByName");function Ue(t,e,n){let o=t?.localPath?M.basename(t.localPath):"";if(o)return o;let r=t?.label?.trim();return r?`${r}${zt(e)}`:`image-${n+1}${zt(e)}`}s(Ue,"imageAttachmentName");function Eo(t,e,n){let o=M.extname(e)||zt(n),r=M.basename(e,M.extname(e)).replace(/[^a-zA-Z0-9._ -]+/g,"-").trim()||"image";return`${k(t)}-${r}${o}`}s(Eo,"uniqueCodexHistoryImageStorageName");function zt(t){return t==="image/jpeg"?".jpg":t==="image/gif"?".gif":t==="image/webp"?".webp":".png"}s(zt,"imageExtension");function Mo(t,e){if(!t||!e)return null;let n=Number.parseFloat(t);if(!Number.isFinite(n)||n<0)return null;let o=e.toUpperCase(),a={B:1,KB:1024,MB:1024**2,GB:1024**3,TB:1024**4}[o];return a?Math.round(n*a):null}s(Mo,"parseAttachmentByteSize");function No(t){return t==="image"||t==="text"||t==="file"?t:null}s(No,"attachmentKind");function Ho(){return Vt("OPENPOND_CODEX_HISTORY_LIMIT",Gn)}s(Ho,"metadataLimit");function Do(){return Vt("OPENPOND_CODEX_HISTORY_EVENT_LIMIT",Re)}s(Do,"eventLimit");function $o(){return Vt("OPENPOND_CODEX_HISTORY_THREAD_TAIL_BYTES",Xn)}s($o,"threadTailBytes");function Vt(t,e){let n=process.env[t],o=n?Number.parseInt(n,10):NaN;return Number.isFinite(o)&&o>0?o:e}s(Vt,"positiveIntegerEnv");import{createHash as Xe}from"node:crypto";import{createHash as Oo}from"node:crypto";function Ct(t){return t.provider==="openpond"?t.id:t.provider==="codex"?t.codexThreadId:t.nativeAgent?.sessionId??null}s(Ct,"localManagedSessionId");function as(t){return Zt(t)||["openpond","codex","claude-code","opencode","grok-build"].includes(t)}s(as,"localManagedProviderSupported");function We(t,e){return Oo("sha256").update(JSON.stringify({id:t.id,provider:t.provider,managedSessionId:Ct(t),nativeAgent:t.nativeAgent??null,cwd:t.cwd,nativeHistoryProjection:t.metadata?.nativeHistoryProjection===!0,nativeResumeAvailable:t.metadata?.nativeResumeAvailable===!0,nativeBranch:t.metadata?.nativeBranch??null,workspaceKind:t.workspaceKind??null,workspaceId:t.workspaceId??null,localProjectId:t.localProjectId??null,latestTurnId:e})).digest("hex")}s(We,"localManagedTargetRevision");function Ke(t){return Xe("sha256").update(Y("POST","/ponder/desktop/catalog",t)).digest("hex")}s(Ke,"localSessionIdentityHash");function wt(t,e){return Ke({managedRevision:We(t,e),modelRef:t.modelRef??null,profile:t.currentProfile??null,profileWorkflowBinding:t.profileWorkflowBinding??null,profileComponentBinding:t.profileComponentBinding??null,experience:t.experience,owner:t.metadata?.ponderLocalOwner??null,projectRevision:t.metadata?.ponderWorkspaceRevision??null,commandAccessMode:t.openPondCommandAccessMode})}s(wt,"localSessionOwnershipRevision");function Jt(t){return Ke({provider:t.provider,modelRef:t.modelRef??null,experience:t.experience,profile:t.currentProfile??null,workflow:t.profileWorkflowBinding??null,component:t.profileComponentBinding??null,cwd:t.cwd,workspaceKind:t.workspaceKind??null,workspaceId:t.workspaceId??null,localProjectId:t.localProjectId??null,cloudProjectId:t.cloudProjectId??null,owner:t.metadata?.ponderLocalOwner??null,projectRevision:t.metadata?.ponderWorkspaceRevision??null,commandAccessMode:t.openPondCommandAccessMode})}s(Jt,"localSessionConfigurationRevision");function ys(t){return t.metadata?.ponderLocalOwner===void 0&&!t.archived&&!t.systemKind&&!t.hiddenFromDefaultSidebar&&t.status!=="closed"&&!t.metadata?.nativeHistoryProjection&&!ke(t.id)&&!["sandbox","sandbox_template","sandbox_app"].includes(t.workspaceKind??"")}s(ys,"localSessionMayResolveOwnership");function Fo(t){return Xe("sha256").update(JSON.stringify({provider:t.provider,modelRef:t.modelRef,profile:t.currentProfile,workflow:t.profileWorkflowBinding,component:t.profileComponentBinding,cwd:t.cwd,workspaceKind:t.workspaceKind,workspaceId:t.workspaceId,localProjectId:t.localProjectId,owner:t.metadata?.ponderLocalOwner,commandAccessMode:t.openPondCommandAccessMode})).digest("hex")}s(Fo,"remoteExecutionRevision");function Lo(t){return{revision:Fo(t),managedSessionId:Ct(t)}}s(Lo,"remoteExecutionSnapshot");function Is(t,e){if(!t.payload.remoteDevice)return;let n=t.payload.remoteDeviceExecution,o=Lo(e);if(!n||n.revision!==o.revision||n.managedSessionId&&n.managedSessionId!==o.managedSessionId)throw new Error("The local task's provider, Profile, workspace or original agent changed before the remote instruction could run.")}s(Is,"assertRemoteExecution");import{createHash as jo}from"node:crypto";function Ss(t){return{ponderDesktopReservation:t}}s(Ss,"localSessionReservationMetadata");function Ve(t){let e=t.metadata?.ponderDesktopReservation;if(!e||typeof e!="object"||Array.isArray(e))return null;let n=e;return typeof n.operationId!="string"||typeof n.payloadHash!="string"||typeof n.creationHash!="string"?null:n}s(Ve,"readLocalSessionReservation");function vs(t){return jo("sha256").update(Y("POST","/local/session",t)).digest("hex")}s(vs,"localSessionCreationHash");import{createHash as Bo}from"node:crypto";function Je(t){return Bo("sha256").update(Y("POST","/ponder/desktop/catalog",t)).digest("hex")}s(Je,"hash");function zo(t){return t?Je(t):null}s(zo,"ponderDesktopProfileSelectionId");async function Os(t){let e=[];for(let n of t.sessions){if(!at(n,t.owner)||n.archived||n.systemKind||n.experience==="development"||n.hiddenFromDefaultSidebar||n.status==="closed"||["sandbox","sandbox_template","sandbox_app"].includes(n.workspaceKind??""))continue;let o=await t.inspect(n.id),r=n.localProjectId??n.workspaceId??n.cwd;if(!r)continue;let a=zo(n.currentProfile);if(e.length>=Rt)throw new Error("ponder_desktop_catalog_resource_limit_exceeded");e.push(Pt.parse({id:n.id,kind:"session",title:n.title||"Local task",providerId:n.provider,modelId:n.modelRef?.modelId??null,experience:n.experience,workspaceId:r,workspaceLabel:n.workspaceName??n.cwd??r,profileSelectionId:a,revision:wt(n,o.latestTurnId),available:o.canSendFollowup,unavailableReason:o.unavailableReason,canMessage:o.canSendFollowup,canSteer:o.canSteer,canStop:o.activeTurnId!==null&&o.managedSessionId!==null,activeTurnId:o.activeTurnId}))}for(let n of t.starters){let o=Pt.parse(n);if(o.kind!=="starter")throw new Error("ponder_desktop_starter_kind_invalid");if(e.length>=Rt)throw new Error("ponder_desktop_catalog_resource_limit_exceeded");e.push(o)}if(e.sort((n,o)=>n.id.localeCompare(o.id)),new Set(e.map(n=>n.id)).size!==e.length)throw new Error("ponder_desktop_catalog_duplicate_target");return oe.parse({targets:e,capturedAt:new Date().toISOString(),revision:Je(e)})}s(Os,"capturePonderDesktopCatalog");import{createHash as Yt}from"node:crypto";function Ye(t,e){return Yt("sha256").update(Y("POST",t,e)).digest("hex")}s(Ye,"payloadHash");function qe(t){let e=`ponder-desktop-op:${Yt("sha256").update(JSON.stringify([t.origin.scope.bindingId,t.origin.originChatTurnId,Ye("/ponder/desktop/intent",t.intent),...t.origin.humanControlId?[t.origin.humanControlId]:[]])).digest("hex")}`;if(t.id!==e||t.payloadHash!==Ye("/ponder/desktop/operation",ae(t)))throw new Error("ponder_desktop_operation_identity_invalid")}s(qe,"assertPonderDesktopOperationIdentity");function Ze(t){return`ponder-desktop-${Yt("sha256").update(t).digest("hex")}`}s(Ze,"ponderDesktopReservedSessionId");var Qe=y.object({operation:se,sessionRevision:y.string().regex(/^[a-f0-9]{64}$/),executionRevision:y.string().regex(/^[a-f0-9]{64}$/),managedSessionId:y.string().min(1).nullable()}).strict();function Go(t,e){if(t.senderKind!=="ponder")return;let n=Qe.parse(t.payload.ponderDesktop),o=e.provider==="codex"?e.codexThreadId:e.nativeAgent?.sessionId??null;if(n.executionRevision!==Jt(e)||n.managedSessionId!==null&&n.managedSessionId!==o)throw new Error("The local task's model, Profile, workspace or original agent changed before the queued instruction could run.")}s(Go,"assertPonderDesktopExecution");function Uo(t,e,n,o,r){qe(e);let a=e.intent,i=t.get("SELECT payload FROM ponder_desktop_authority WHERE id = 1"),d=i?re.parse(JSON.parse(i.payload)):null;if(!d||d.state!=="attached"||Date.parse(d.leaseExpiresAt)<=Date.now()||d.epoch!==e.claimedEpoch||d.authorizationRevision!==e.origin.authorizationRevision||!Object.entries(e.origin.scope).every(([u,f])=>d.scope[u]===f))throw new Error("ponder_desktop_local_authority_changed");if(e.state!=="dispatching"||!e.claimId)throw new Error("ponder_desktop_input_identity_invalid");let c=bt.parse(n.metadata?.ponderLocalOwner),m=e.origin.scope;if(!at(n,{...c,installationId:m.installationId,profileId:m.profileId,ownerUserId:m.ownerUserId,teamId:m.teamId}))throw new Error("ponder_desktop_input_owner_changed");if(a.action!=="create"&&a.targetId!==n.id)throw new Error("ponder_desktop_input_target_changed");if(r!==wt(n,o)||a.action!=="create"&&r!==a.targetRevision)throw new Error("ponder_desktop_input_target_changed");if(a.action==="create"){if(n.id!==Ze(e.id))throw new Error("ponder_desktop_input_reservation_invalid");let u=Ve(n);if(!u||typeof u!="object"||u.operationId!==e.id||u.payloadHash!==e.payloadHash)throw new Error("ponder_desktop_input_reservation_invalid")}}s(Uo,"assertPonderDesktopRecipient");function qs(t,e,n,o){if(e.senderKind!=="ponder"&&e.payload.ponderDesktop===void 0)return;if(e.senderKind!=="ponder"||e.senderSessionId!==null)throw new Error("ponder_desktop_input_authority_invalid");let{operation:r,sessionRevision:a}=Qe.parse(e.payload.ponderDesktop),i=r.intent;if(i.action==="stop"||i.action==="observe"||i.action==="inspect"||e.id!==`ponder-input:${r.id}`||e.idempotencyKey!==r.id||e.body!==i.prompt||e.replyTo!==null||e.kind!==(i.action==="steer"?"steer":"queued")||e.expectedTurnId!==(i.action==="steer"?i.expectedTurnId:null))throw new Error("ponder_desktop_input_identity_invalid");Uo(t,r,n,o,a),Go(e,n)}s(qs,"assertPonderDesktopInput");export{Ko as a,Vo as b,Jo as c,_r as d,Tr as e,Cr as f,wr as g,Sr as h,vr as i,Ss as j,Ve as k,vs as l,Ct as m,as as n,We as o,kt as p,qo as q,tt as r,_ as s,l as t,nt as u,Lt as v,Jn as w,ke as x,Zr as y,Qr as z,ts as A,es as B,Me as C,ns as D,wt as E,Jt as F,ys as G,Lo as H,Is as I,zo as J,Os as K,qe as L,Ze as M,Qe as N,Go as O,Uo as P,qs as Q};
|
|
17
|
+
`).trim(),inputImages:n}}s(ze,"codexUserContentParts");function wo(t){return ze(t).inputImages.length>0}s(wo,"codexContentHasInputImage");function So(t){return Array.from(t.matchAll(je)).map(e=>({label:e[1]??e[2]??e[3]??e[4]??null,localPath:e[5]??null}))}s(So,"codexImageReferences");function vo(t,e,n){let o=[];for(let r of t.split(/\r?\n/)){let a=fo.exec(r);if(!a)continue;let i=a[1]?.trim(),d=a[2]?.trim(),c=Mo(a[3],a[4]),m=No(a[5]);if(!i||!d||c===null||!m)continue;let u=`${e.turnId}_attachment_${n+1}_${o.length+1}`,f=a[6]?.trim()||ko(i),p=Ro({attachmentId:u,context:e,kind:m,localPath:f,mediaType:d}),g=Ce({attachmentId:u,attachmentRootDir:e.attachmentRootDir,localPath:f,mediaType:d,name:i,sessionId:e.sessionId,sizeBytes:c});o.push({id:u,name:i,mediaType:d,sizeBytes:c,kind:m,...p?{imagePreview:p}:{},...g})}return o}s(vo,"parseCodexAttachmentContext");function Ao(t,e,n,o){let r=[];for(let[a,i]of t.entries()){let d=bo(i);if(!d)continue;let c=e[a],m=Ue(c,d.contentType,a),u=`${n.turnId}_input_image_${a+1+o}`,f=Kt({bytes:d.bytes,attachmentId:u,contentType:d.contentType,context:n,name:m});r.push({id:u,name:m,mediaType:d.contentType,sizeBytes:d.bytes.byteLength,kind:"image",...f?{imagePreview:f}:{}})}return r}s(Ao,"codexInputImageAttachments");function Po(t,e,n){let o=[];for(let[r,a]of t.entries()){let i=a.localPath??null;if(!i)continue;let d=K("",i),c=Ge(i);if(!d||!c)continue;let m=Ue(a,d,r),u=`${e.turnId}_image_reference_${r+1+n}`,f=Kt({bytes:c,attachmentId:u,contentType:d,context:e,name:m});o.push({id:u,name:m,mediaType:d,sizeBytes:c.byteLength,kind:"image",...f?{imagePreview:f}:{}})}return o}s(Po,"codexImageReferenceAttachments");function Ro(t){if(t.kind!=="image"||!t.localPath||!t.context.attachmentRootDir)return;let e=M.basename(t.localPath),n=K(t.mediaType,e);if(!n)return;let o=M.resolve(t.localPath),r=M.resolve(t.context.attachmentRootDir,A(t.context.sessionId),A(t.context.turnId));if(o===r||!o.startsWith(`${r}${M.sep}`)){let a=Ge(t.localPath);return a?Kt({attachmentId:t.attachmentId,bytes:a,contentType:n,context:t.context,name:e}):void 0}return{sessionId:t.context.sessionId,turnId:t.context.turnId,attachmentId:t.attachmentId,storageName:e,contentType:n}}s(Ro,"codexHistoryImagePreview");function Kt(t){if(!t.context.attachmentRootDir||t.bytes.byteLength>It)return;let e=Eo(t.attachmentId,t.name,t.contentType),n=M.join(t.context.attachmentRootDir,A(t.context.sessionId),A(t.context.turnId)),o=M.join(n,e);try{Fn(n,{recursive:!0}),Pe(o)||Bn(o,t.bytes,{mode:384})}catch{return}return{sessionId:t.context.sessionId,turnId:t.context.turnId,attachmentId:t.attachmentId,storageName:e,contentType:t.contentType}}s(Kt,"materializedCodexHistoryImagePreview");function bo(t){let e=_o.exec(t.trim());if(!e)return null;let n=K(e[1],"");if(!n)return null;let o=Buffer.from(e[2].replace(/\s+/g,""),"base64");return o.byteLength===0||o.byteLength>It?null:{bytes:o,contentType:n}}s(bo,"parseDataImageUrl");function Ge(t){try{let e=Gt(t);return!e.isFile()||e.size<=0||e.size>It?null:jn(t)}catch{return null}}s(Ge,"readCodexHistoryImageBytes");function ko(t){return[M.join(xt.homedir(),"Pictures","Screenshots",t),M.join(xt.homedir(),"Pictures",t),M.join(xt.homedir(),"Downloads",t),M.join(xt.homedir(),"Desktop",t)].find(n=>{if(!K("",n))return!1;try{let r=Gt(n);return r.isFile()&&r.size>0&&r.size<=It}catch{return!1}})}s(ko,"localImagePathByName");function Ue(t,e,n){let o=t?.localPath?M.basename(t.localPath):"";if(o)return o;let r=t?.label?.trim();return r?`${r}${zt(e)}`:`image-${n+1}${zt(e)}`}s(Ue,"imageAttachmentName");function Eo(t,e,n){let o=M.extname(e)||zt(n),r=M.basename(e,M.extname(e)).replace(/[^a-zA-Z0-9._ -]+/g,"-").trim()||"image";return`${k(t)}-${r}${o}`}s(Eo,"uniqueCodexHistoryImageStorageName");function zt(t){return t==="image/jpeg"?".jpg":t==="image/gif"?".gif":t==="image/webp"?".webp":".png"}s(zt,"imageExtension");function Mo(t,e){if(!t||!e)return null;let n=Number.parseFloat(t);if(!Number.isFinite(n)||n<0)return null;let o=e.toUpperCase(),a={B:1,KB:1024,MB:1024**2,GB:1024**3,TB:1024**4}[o];return a?Math.round(n*a):null}s(Mo,"parseAttachmentByteSize");function No(t){return t==="image"||t==="text"||t==="file"?t:null}s(No,"attachmentKind");function Ho(){return Vt("OPENPOND_CODEX_HISTORY_LIMIT",Gn)}s(Ho,"metadataLimit");function Do(){return Vt("OPENPOND_CODEX_HISTORY_EVENT_LIMIT",Re)}s(Do,"eventLimit");function $o(){return Vt("OPENPOND_CODEX_HISTORY_THREAD_TAIL_BYTES",Xn)}s($o,"threadTailBytes");function Vt(t,e){let n=process.env[t],o=n?Number.parseInt(n,10):NaN;return Number.isFinite(o)&&o>0?o:e}s(Vt,"positiveIntegerEnv");import{createHash as Xe}from"node:crypto";import{createHash as Oo}from"node:crypto";function Ct(t){return t.provider==="openpond"?t.id:t.provider==="codex"?t.codexThreadId:t.nativeAgent?.sessionId??null}s(Ct,"localManagedSessionId");function as(t){return qt(t)||["openpond","codex","claude-code","opencode","grok-build"].includes(t)}s(as,"localManagedProviderSupported");function We(t,e){return Oo("sha256").update(JSON.stringify({id:t.id,provider:t.provider,managedSessionId:Ct(t),nativeAgent:t.nativeAgent??null,cwd:t.cwd,nativeHistoryProjection:t.metadata?.nativeHistoryProjection===!0,nativeResumeAvailable:t.metadata?.nativeResumeAvailable===!0,nativeBranch:t.metadata?.nativeBranch??null,workspaceKind:t.workspaceKind??null,workspaceId:t.workspaceId??null,localProjectId:t.localProjectId??null,latestTurnId:e})).digest("hex")}s(We,"localManagedTargetRevision");function Ke(t){return Xe("sha256").update(Y("POST","/ponder/desktop/catalog",t)).digest("hex")}s(Ke,"localSessionIdentityHash");function wt(t,e){return Ke({managedRevision:We(t,e),modelRef:t.modelRef??null,profile:t.currentProfile??null,profileWorkflowBinding:t.profileWorkflowBinding??null,profileComponentBinding:t.profileComponentBinding??null,experience:t.experience,owner:t.metadata?.ponderLocalOwner??null,projectRevision:t.metadata?.ponderWorkspaceRevision??null,commandAccessMode:t.openPondCommandAccessMode})}s(wt,"localSessionOwnershipRevision");function Jt(t){return Ke({provider:t.provider,modelRef:t.modelRef??null,experience:t.experience,profile:t.currentProfile??null,workflow:t.profileWorkflowBinding??null,component:t.profileComponentBinding??null,cwd:t.cwd,workspaceKind:t.workspaceKind??null,workspaceId:t.workspaceId??null,localProjectId:t.localProjectId??null,cloudProjectId:t.cloudProjectId??null,owner:t.metadata?.ponderLocalOwner??null,projectRevision:t.metadata?.ponderWorkspaceRevision??null,commandAccessMode:t.openPondCommandAccessMode})}s(Jt,"localSessionConfigurationRevision");function ys(t){return t.metadata?.ponderLocalOwner===void 0&&!t.archived&&!t.systemKind&&!t.hiddenFromDefaultSidebar&&t.status!=="closed"&&!t.metadata?.nativeHistoryProjection&&!ke(t.id)&&!["sandbox","sandbox_template","sandbox_app"].includes(t.workspaceKind??"")}s(ys,"localSessionMayResolveOwnership");function Fo(t){return Xe("sha256").update(JSON.stringify({provider:t.provider,modelRef:t.modelRef,profile:t.currentProfile,workflow:t.profileWorkflowBinding,component:t.profileComponentBinding,cwd:t.cwd,workspaceKind:t.workspaceKind,workspaceId:t.workspaceId,localProjectId:t.localProjectId,owner:t.metadata?.ponderLocalOwner,commandAccessMode:t.openPondCommandAccessMode})).digest("hex")}s(Fo,"remoteExecutionRevision");function Lo(t){return{revision:Fo(t),managedSessionId:Ct(t)}}s(Lo,"remoteExecutionSnapshot");function Is(t,e){if(!t.payload.remoteDevice)return;let n=t.payload.remoteDeviceExecution,o=Lo(e);if(!n||n.revision!==o.revision||n.managedSessionId&&n.managedSessionId!==o.managedSessionId)throw new Error("The local task's provider, Profile, workspace or original agent changed before the remote instruction could run.")}s(Is,"assertRemoteExecution");import{createHash as jo}from"node:crypto";function Ss(t){return{ponderDesktopReservation:t}}s(Ss,"localSessionReservationMetadata");function Ve(t){let e=t.metadata?.ponderDesktopReservation;if(!e||typeof e!="object"||Array.isArray(e))return null;let n=e;return typeof n.operationId!="string"||typeof n.payloadHash!="string"||typeof n.creationHash!="string"?null:n}s(Ve,"readLocalSessionReservation");function vs(t){return jo("sha256").update(Y("POST","/local/session",t)).digest("hex")}s(vs,"localSessionCreationHash");import{createHash as Bo}from"node:crypto";function Je(t){return Bo("sha256").update(Y("POST","/ponder/desktop/catalog",t)).digest("hex")}s(Je,"hash");function zo(t){return t?Je(t):null}s(zo,"ponderDesktopProfileSelectionId");async function Os(t){let e=[];for(let n of t.sessions){if(!at(n,t.owner)||n.archived||n.systemKind||n.experience==="development"||n.hiddenFromDefaultSidebar||n.status==="closed"||["sandbox","sandbox_template","sandbox_app"].includes(n.workspaceKind??""))continue;let o=await t.inspect(n.id),r=n.localProjectId??n.workspaceId??n.cwd;if(!r)continue;let a=zo(n.currentProfile);if(e.length>=Rt)throw new Error("ponder_desktop_catalog_resource_limit_exceeded");e.push(Pt.parse({id:n.id,kind:"session",title:n.title||"Local task",providerId:n.provider,modelId:n.modelRef?.modelId??null,experience:n.experience,workspaceId:r,workspaceLabel:n.workspaceName??n.cwd??r,profileSelectionId:a,revision:wt(n,o.latestTurnId),available:o.canSendFollowup,unavailableReason:o.unavailableReason,canMessage:o.canSendFollowup,canSteer:o.canSteer,canStop:o.activeTurnId!==null&&o.managedSessionId!==null,activeTurnId:o.activeTurnId}))}for(let n of t.starters){let o=Pt.parse(n);if(o.kind!=="starter")throw new Error("ponder_desktop_starter_kind_invalid");if(e.length>=Rt)throw new Error("ponder_desktop_catalog_resource_limit_exceeded");e.push(o)}if(e.sort((n,o)=>n.id.localeCompare(o.id)),new Set(e.map(n=>n.id)).size!==e.length)throw new Error("ponder_desktop_catalog_duplicate_target");return oe.parse({targets:e,capturedAt:new Date().toISOString(),revision:Je(e)})}s(Os,"capturePonderDesktopCatalog");import{createHash as Yt}from"node:crypto";function Ye(t,e){return Yt("sha256").update(Y("POST",t,e)).digest("hex")}s(Ye,"payloadHash");function qe(t){let e=`ponder-desktop-op:${Yt("sha256").update(JSON.stringify([t.origin.scope.bindingId,t.origin.originChatTurnId,Ye("/ponder/desktop/intent",t.intent),...t.origin.humanControlId?[t.origin.humanControlId]:[]])).digest("hex")}`;if(t.id!==e||t.payloadHash!==Ye("/ponder/desktop/operation",ae(t)))throw new Error("ponder_desktop_operation_identity_invalid")}s(qe,"assertPonderDesktopOperationIdentity");function Ze(t){return`ponder-desktop-${Yt("sha256").update(t).digest("hex")}`}s(Ze,"ponderDesktopReservedSessionId");var Qe=y.object({operation:se,sessionRevision:y.string().regex(/^[a-f0-9]{64}$/),executionRevision:y.string().regex(/^[a-f0-9]{64}$/),managedSessionId:y.string().min(1).nullable()}).strict();function Go(t,e){if(t.senderKind!=="ponder")return;let n=Qe.parse(t.payload.ponderDesktop),o=e.provider==="codex"?e.codexThreadId:e.nativeAgent?.sessionId??null;if(n.executionRevision!==Jt(e)||n.managedSessionId!==null&&n.managedSessionId!==o)throw new Error("The local task's model, Profile, workspace or original agent changed before the queued instruction could run.")}s(Go,"assertPonderDesktopExecution");function Uo(t,e,n,o,r){qe(e);let a=e.intent,i=t.get("SELECT payload FROM ponder_desktop_authority WHERE id = 1"),d=i?re.parse(JSON.parse(i.payload)):null;if(!d||d.state!=="attached"||Date.parse(d.leaseExpiresAt)<=Date.now()||d.epoch!==e.claimedEpoch||d.authorizationRevision!==e.origin.authorizationRevision||!Object.entries(e.origin.scope).every(([u,f])=>d.scope[u]===f))throw new Error("ponder_desktop_local_authority_changed");if(e.state!=="dispatching"||!e.claimId)throw new Error("ponder_desktop_input_identity_invalid");let c=bt.parse(n.metadata?.ponderLocalOwner),m=e.origin.scope;if(!at(n,{...c,installationId:m.installationId,profileId:m.profileId,ownerUserId:m.ownerUserId,teamId:m.teamId}))throw new Error("ponder_desktop_input_owner_changed");if(a.action!=="create"&&a.targetId!==n.id)throw new Error("ponder_desktop_input_target_changed");if(r!==wt(n,o)||a.action!=="create"&&r!==a.targetRevision)throw new Error("ponder_desktop_input_target_changed");if(a.action==="create"){if(n.id!==Ze(e.id))throw new Error("ponder_desktop_input_reservation_invalid");let u=Ve(n);if(!u||typeof u!="object"||u.operationId!==e.id||u.payloadHash!==e.payloadHash)throw new Error("ponder_desktop_input_reservation_invalid")}}s(Uo,"assertPonderDesktopRecipient");function qs(t,e,n,o){if(e.senderKind!=="ponder"&&e.payload.ponderDesktop===void 0)return;if(e.senderKind!=="ponder"||e.senderSessionId!==null)throw new Error("ponder_desktop_input_authority_invalid");let{operation:r,sessionRevision:a}=Qe.parse(e.payload.ponderDesktop),i=r.intent;if(i.action==="stop"||i.action==="observe"||i.action==="inspect"||e.id!==`ponder-input:${r.id}`||e.idempotencyKey!==r.id||e.body!==i.prompt||e.replyTo!==null||e.kind!==(i.action==="steer"?"steer":"queued")||e.expectedTurnId!==(i.action==="steer"?i.expectedTurnId:null))throw new Error("ponder_desktop_input_identity_invalid");Uo(t,r,n,o,a),Go(e,n)}s(qs,"assertPonderDesktopInput");export{Ko as a,Vo as b,Jo as c,_r as d,Tr as e,Cr as f,wr as g,Sr as h,vr as i,Ss as j,Ve as k,vs as l,Ct as m,as as n,We as o,kt as p,qo as q,tt as r,_ as s,l as t,nt as u,Lt as v,Jn as w,ke as x,Zr as y,Qr as z,ts as A,es as B,Me as C,ns as D,wt as E,Jt as F,ys as G,Lo as H,Is as I,zo as J,Os as K,qe as L,Ze as M,Qe as N,Go as O,Uo as P,qs as Q};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{Tb as l}from"./chunk-
|
|
2
|
+
import{Tb as l}from"./chunk-QAFXQHHG.js";import{c as n,d as a,e as i,g as t}from"./chunk-RCT3O3HQ.js";import{A as e}from"./chunk-X2J2P5ZT.js";var k=e.enum(["trajectory","reward","demonstration","preference","correction","critique","targeted_feedback","grader_evidence","infrastructure_failure"]),c=e.object({datasetRelease:t,harnessRelease:t,evidenceSetRelease:t.nullable(),profileRelease:t.nullable(),model:e.object({source:e.string().trim().min(1).max(200),revision:e.string().trim().min(1).max(500),artifactHash:a.nullable()}).strict(),environmentHash:a,graderHash:a,toolContractHash:a,verificationReceiptHash:a.nullable()}).strict(),r=e.object({schemaVersion:e.literal("openpond.learningSignal.v1"),id:n,taskId:n.nullable(),episodeId:n.nullable(),policyVersion:e.number().int().nonnegative().nullable(),lineage:c,approved:e.boolean(),verifier:e.enum(["deterministic","model_judge","human","none"]),createdAt:i,contentHash:a,metadata:e.record(e.string(),e.unknown()).default({})}).strict(),m=r.extend({kind:e.literal("trajectory"),payload:e.object({traceRef:e.string().trim().min(1).max(2e3),traceHash:a,terminal:e.boolean(),failureClass:e.enum(["policy_failure","grader_failure","environment_failure","infrastructure_failure","timeout","cancelled"]).nullable(),optimizerSample:l.nullable().optional()}).strict()}).strict(),d=r.extend({kind:e.literal("reward"),payload:e.object({reward:e.number().finite(),components:e.record(e.string(),e.number().finite()),eligible:e.boolean(),graderEvidenceRefs:e.array(n).max(1e3)}).strict()}).strict(),g=r.extend({kind:e.literal("demonstration"),payload:e.object({prompt:e.string().max(5e5),response:e.string().max(1e6)}).strict()}).strict(),u=r.extend({kind:e.literal("preference"),payload:e.object({prompt:e.string().max(5e5),chosen:e.string().max(1e6),rejected:e.string().max(1e6),rationale:e.string().max(5e5).nullable()}).strict()}).strict(),p=r.extend({kind:e.literal("correction"),payload:e.object({original:e.string().max(1e6),corrected:e.string().max(1e6),rationale:e.string().max(5e5).nullable()}).strict()}).strict(),b=r.extend({kind:e.literal("critique"),payload:e.object({response:e.string().max(1e6),critique:e.string().max(5e5),severity:e.enum(["note","warning","error"])}).strict()}).strict(),f=r.extend({kind:e.literal("targeted_feedback"),payload:e.object({turnIndex:e.number().int().nonnegative(),target:e.enum(["reasoning","tool","answer","policy"]),feedback:e.string().max(5e5)}).strict()}).strict(),h=r.extend({kind:e.literal("grader_evidence"),payload:e.object({graderId:n,score:e.number().finite().nullable(),passed:e.boolean(),privilegedArtifactRefs:e.array(e.string().trim().min(1).max(2e3))}).strict()}).strict(),x=r.extend({kind:e.literal("infrastructure_failure"),approved:e.literal(!1),verifier:e.literal("none"),payload:e.object({code:n,phase:n,retryable:e.boolean(),rewardEligible:e.literal(!1)}).strict()}).strict(),o=e.discriminatedUnion("kind",[m,d,g,u,p,b,f,h,x]),H=e.object({schemaVersion:e.literal("openpond.learningSignalBatch.v1"),manifestId:n,manifestHash:a,sequence:e.number().int().nonnegative(),signals:e.array(o).min(1).max(1e5),contentHash:a}).strict();var S=e.object({id:n,turn:e.number().int().nonnegative(),kind:e.enum(["message","tool_call","terminal"]),name:n.nullable(),arguments:e.record(e.string(),e.unknown()),content:e.string().max(1e6).nullable(),contentHash:a}).strict(),_=e.object({actionId:n,turn:e.number().int().nonnegative(),terminal:e.boolean(),output:e.record(e.string(),e.unknown()),artifactRefs:e.array(e.string().trim().min(1).max(2e3)),contentHash:a}).strict(),v=e.object({sequence:e.number().int().nonnegative(),type:e.enum(["created","reset","action","observation","terminal","graded","feedback","failure","collected","destroyed"]),timestamp:i,payloadHash:a,metadata:e.record(e.string(),e.unknown()).default({})}).strict(),s=e.object({graderId:n,graderVersion:e.string().trim().min(1).max(200),score:e.number().finite().nullable(),passed:e.boolean(),rewardEligible:e.boolean(),failureClass:e.enum(["policy_failure","grader_failure","environment_failure","infrastructure_failure","timeout","cancelled"]).nullable(),feedback:e.array(e.string().max(5e5)),visibleEvidenceRefs:e.array(e.string().trim().min(1).max(2e3)),privilegedEvidenceRefs:e.array(e.string().trim().min(1).max(2e3)),contentHash:a}).strict(),A=e.object({schemaVersion:e.literal("openpond.harnessRunTrace.v1"),manifest:t,taskId:n,seed:e.string().trim().min(1).max(500),events:e.array(v).max(1e6),actions:e.array(S).max(1e5),observations:e.array(_).max(1e5),graderEvidence:e.array(s).max(1e4),learningSignals:e.array(o).max(1e5),terminal:e.boolean(),failureClass:s.shape.failureClass,artifactHash:a,contentHash:a}).strict();export{k as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{b as g}from"./chunk-
|
|
2
|
+
import{b as g}from"./chunk-AF3AVDPP.js";import{A as p}from"./chunk-X2J2P5ZT.js";import{a as o}from"./chunk-FTQLQJQV.js";var x=p.object({schemaVersion:p.literal("openpond.taskAuthoringDecision.v1"),proposal:g}),T=10*6e4;function S(e){return b(e)}o(S,"createTaskAuthoringMessages");function A(e,n){let r=f(e);if(!r)throw new Error("Task authoring returned invalid structured output.");let i=h(r.proposal),s=m(i,n);if(s)throw new Error(`Task authoring returned an incompatible proposal: ${s}`);return i}o(A,"parseTaskAuthoringDecision");async function P(e){let n=w(e.signal,e.timeoutMs??T);try{let r=b(e),i=await y(e.stream({model:e.model,reasoningEffort:e.reasoningEffort,messages:r,signal:n.signal})),s=f(i),d=s?h(s.proposal):null,t=d?m(d,e.evidence):null;if(d&&!t)return{proposal:d,repairHistory:[]};let l=s?`The prior proposal is incompatible with the current Taskset materializer: ${t} Redesign it without changing the selected evidence.`:`The prior response was invalid. Return only valid JSON matching openpond.taskAuthoringDecision.v1. Invalid response:
|
|
3
3
|
${i.slice(0,2e4)}`,u=await y(e.stream({model:e.model,reasoningEffort:e.reasoningEffort,signal:n.signal,messages:[...r,{role:"user",content:l}]})),c=f(u);if(!c)throw new Error("Task authoring model returned invalid structured output after one repair attempt.");let a=h(c.proposal),v=m(a,e.evidence);if(v)throw new Error(`Task authoring model returned an incompatible proposal after one repair attempt: ${v}`);return{proposal:a,repairHistory:[{attempt:1,summary:"Repaired invalid or method-incompatible TaskDesignProposal output.",createdAt:new Date().toISOString()}]}}catch(r){throw n.signal.aborted&&!e.signal.aborted?new Error(`Task authoring timed out after ${n.timeoutMs}ms.`):r}finally{n.cleanup()}}o(P,"authorTaskDesignWithModel");function b(e){return[{role:"system",content:["You are OpenPond Taskset Authoring.","Use only the consented evidence supplied below.","Diagnose the work before designing a task. Repetition alone is not evidence that weights are the right intervention.","Produce one provider-neutral capability diagnosis and, only when justified, one task design. Separate policy-visible input from privileged outcomes.","The diagnosis must identify stableBehavior, changingKnowledge, requiredContext, requiredTools, the recommended intervention, whether training is eligible, and an evidence-backed rationale.","Use intervention=no_training when the behavior is already reliable or lacks a coherent repeated job. Use prompting when instructions or application logic are sufficient. Use retrieval when the primary value is changing facts or documents.","Prefer deterministic graders. Model judges must be calibrated and cannot silently become reward.","Do not fabricate expert approval, preferences, corrections, or rewards.","A methodHint is a user preference, not permission to misclassify the evidence. Explain a different recommendation when the hint is unsuitable.","A buildIntent is the learning signal the user wants to construct, not permission to invent unsupported demonstrations, preferences, rewards, or labels.","Historical assistant messages are candidate outcomes, not automatically approved truth. Exclude stale, contradictory, speculative, context-incomplete, or unsuccessful answers.","Explicitly selected local chats may supply extracted candidate examples when the assistant output is complete, internally consistent, and supports the stated objective. Do not require a separate historical expert-approval field; final approval occurs when the user creates the Taskset.","For each usable example, populate proposedExamples with its exact input and expected output, source and turn provenance, split, origin, and rationale.","Use origin=extracted only when inputPrompt and expectedOutputText exactly match the selected user/assistant pair. Label any repaired or newly generated text corrected or synthetic.","Keep every source cluster wholly within one data split. Evaluation examples should come from independent conversations when available.","For no_training, prompting, or retrieval recommendations, set trainingEligible=false, proposedMethod to none or retrieval as appropriate, and leave proposedExamples, graders, fixtures, and generated files empty.","Recommend provider-neutral methods from the evidence. A versioned executable environment with deterministic reward variance may justify GRPO even when the current local destination can execute only a separately labeled SFT trajectory bootstrap.","For Cross-System Operations traces, preserve the four required tools, the shared tool-contract hash, structured tool messages, split-isolated worlds, and the exact trajectory verifier. Never relabel the primary GRPO recommendation as SFT because local GPU execution is unavailable.","Generated verifier paths and custom-verifier modules must start with graders/. Fixture files must start with fixtures/ and environment files with environment/.","Return JSON only: {schemaVersion:'openpond.taskAuthoringDecision.v1', proposal: TaskDesignProposal}.",`TaskDesignProposal JSON schema:
|
|
4
4
|
${JSON.stringify(p.toJSONSchema(g),null,2)}`,"Follow the bundled Taskset Authoring skill below:",e.skillText].join(`
|
|
5
5
|
`)},{role:"user",content:JSON.stringify({proposalId:e.id,buildIntent:e.buildIntent,buildSpecification:e.buildSpecification,methodHint:e.methodHint??null,instruction:e.instruction??null,currentProposal:e.currentProposal??null,evidence:e.evidence},null,2)}]}o(b,"taskAuthoringMessages");function m(e,n){if(new Set(["no_training","prompting","retrieval"]).has(e.diagnosis.intervention)&&e.diagnosis.trainingEligible)return`${e.diagnosis.intervention} cannot be trainingEligible.`;if(e.diagnosis.intervention==="retrieval"&&e.proposedMethod!=="retrieval")return"Retrieval diagnoses must set proposedMethod=retrieval.";if((e.diagnosis.intervention==="no_training"||e.diagnosis.intervention==="prompting")&&e.proposedMethod!=="none")return`${e.diagnosis.intervention} diagnoses must set proposedMethod=none.`;if(!e.diagnosis.trainingEligible&&(e.proposedExamples.length||e.proposedGraders.length||e.graderFixtures.length||e.generatedFiles.length))return"Non-training diagnoses must not package training examples, graders, fixtures, or generated files.";if(e.diagnosis.trainingEligible&&e.diagnosis.stableBehavior.length===0)return"Training-eligible diagnoses must identify at least one stable behavior.";let i=new Set(n.map(t=>t.source.id));if(e.sourceIds.some(t=>!i.has(t)))return"proposal sourceIds must stay within the selected evidence.";for(let t of e.proposedExamples){if(!i.has(t.sourceId))return`Example ${t.id} references unselected source ${t.sourceId}.`;if(t.origin!=="extracted")continue;if(!t.sourceTurnId)return`Extracted example ${t.id} must declare sourceTurnId.`;let l=n.find(a=>a.source.id===t.sourceId),u=l?.excerpts.find(a=>a.role==="user"&&a.turnId===t.sourceTurnId),c=l?.excerpts.find(a=>a.role==="assistant"&&a.turnId===t.sourceTurnId);if(!u||u.text!==t.inputPrompt||!c||c.text!==t.expectedOutputText)return`Extracted example ${t.id} must exactly match its selected user/assistant pair.`}if(!e.diagnosis.trainingEligible)return null;if(!e.policy.policyVisibleFields.includes("input.prompt"))return"policyVisibleFields must include input.prompt.";if(!e.policy.privilegedFields.includes("expectedOutput.text"))return"privilegedFields must include expectedOutput.text.";if(e.proposedGraders.length===0)return"Training-eligible proposals must include an evaluation grader.";let s={verifier:"graders/",fixture:"fixtures/",environment:"environment/"};for(let t of e.generatedFiles)if(!t.path.replaceAll("\\","/").startsWith(s[t.role]))return`${t.role} file ${t.path} must start with ${s[t.role]}.`;let d=new Set(e.generatedFiles.map(t=>t.path.replaceAll("\\","/")));for(let t of e.proposedGraders){if(t.kind!=="custom_verifier")continue;let l=t.module.replaceAll("\\","/");if(!l.startsWith("graders/"))return`custom verifier ${t.id} module must start with graders/.`;if(!d.has(l))return`custom verifier ${t.id} module ${l} must have a matching generated file.`}return null}o(m,"proposalCompatibilityIssue");function h(e){return e.diagnosis.trainingEligible?g.parse({...e,policy:{...e.policy,policyVisibleFields:[...new Set([...e.policy.policyVisibleFields,"input.prompt"])],privilegedFields:[...new Set([...e.policy.privilegedFields,"expectedOutput.text"])]}}):e}o(h,"normalizePolicyBoundary");function w(e,n){let r=new AbortController,i=o(()=>r.abort(e.reason),"abortFromParent");e.aborted?i():e.addEventListener("abort",i,{once:!0});let s=setTimeout(()=>r.abort(new Error(`Task authoring timed out after ${n}ms.`)),n);return s.unref?.(),{signal:r.signal,timeoutMs:n,cleanup:o(()=>{clearTimeout(s),e.removeEventListener("abort",i)},"cleanup")}}o(w,"authoringTimeoutSignal");function f(e){let n=[e,e.replace(/^```(?:json)?\s*/i,"").replace(/```\s*$/,"")];for(let r of n)try{let i=x.safeParse(JSON.parse(r));if(i.success)return i.data}catch{}return null}o(f,"parseEnvelope");async function y(e){let n="";for await(let r of e)r.text&&(n+=r.text);return n}o(y,"collect");export{S as a,A as b,P as c};
|