@keystrokehq/platform 0.1.69 → 0.1.71
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/README.md +6 -0
- package/dist/{awk2-LA3USKJP-Yg3Zvp46.cjs → awk2-LA3USKJP-CX2aQzBB.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-Yg3Zvp46.cjs.map → awk2-LA3USKJP-CX2aQzBB.cjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-C6HIBlk-.mjs → awk2-LA3USKJP-DrEf3Uun.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-C6HIBlk-.mjs.map → awk2-LA3USKJP-DrEf3Uun.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-BcpzVCOR.cjs → base64-C2AIWVNC-Zw6VdY06.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-BcpzVCOR.cjs.map → base64-C2AIWVNC-Zw6VdY06.cjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-BJfU207x.mjs → base64-C2AIWVNC-djynB-LN.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-BJfU207x.mjs.map → base64-C2AIWVNC-djynB-LN.mjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-ZJEj5Hrc.cjs → bash-YZ33HQZQ-CA0lcNTu.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-ZJEj5Hrc.cjs.map → bash-YZ33HQZQ-CA0lcNTu.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-D4zVFDnn.mjs → bash-YZ33HQZQ-CqTY_Msm.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-D4zVFDnn.mjs.map → bash-YZ33HQZQ-CqTY_Msm.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-BezX7Mwj.mjs → cat-TSFMZVYS-B_3nwH77.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-BezX7Mwj.mjs.map → cat-TSFMZVYS-B_3nwH77.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-BqB7ymkq.cjs → cat-TSFMZVYS-CZmWAaG_.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-BqB7ymkq.cjs.map → cat-TSFMZVYS-CZmWAaG_.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-CFHpam5X.mjs → chunk-5H5SCKJM-CwhSuP9B.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-CFHpam5X.mjs.map → chunk-5H5SCKJM-CwhSuP9B.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-BoX4BAbl.cjs → chunk-5H5SCKJM-DXHmX0GB.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-BoX4BAbl.cjs.map → chunk-5H5SCKJM-DXHmX0GB.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-iATXgw3O.cjs → chunk-AQ6FYS2X-CgnThQed.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-iATXgw3O.cjs.map → chunk-AQ6FYS2X-CgnThQed.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-Mfy24SVa.mjs → chunk-AQ6FYS2X-DXj-ezRf.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-Mfy24SVa.mjs.map → chunk-AQ6FYS2X-DXj-ezRf.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-COAGnzcN.cjs → chunk-CHFEPBH4-Cjs__IZ3.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-COAGnzcN.cjs.map → chunk-CHFEPBH4-Cjs__IZ3.cjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-BRHkewLb.mjs → chunk-CHFEPBH4-JnaeANK0.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-BRHkewLb.mjs.map → chunk-CHFEPBH4-JnaeANK0.mjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-BvY4IuHa.mjs → chunk-EBAPSGAO-BImY0-B8.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-BvY4IuHa.mjs.map → chunk-EBAPSGAO-BImY0-B8.mjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-BCq2-uhF.cjs → chunk-EBAPSGAO-BWpfV9BQ.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-BCq2-uhF.cjs.map → chunk-EBAPSGAO-BWpfV9BQ.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-BwJ4B908.cjs → chunk-LEKBROJD-325fLqWW.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-BwJ4B908.cjs.map → chunk-LEKBROJD-325fLqWW.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-Cl8D2A_m.mjs → chunk-LEKBROJD-UsBeJwv9.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-Cl8D2A_m.mjs.map → chunk-LEKBROJD-UsBeJwv9.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-CpXxyJ18.cjs → chunk-VPADYNBD-Di1oamRY.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-CpXxyJ18.cjs.map → chunk-VPADYNBD-Di1oamRY.cjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-D6r_n9Rj.mjs → chunk-VPADYNBD-OB0Y4Az0.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-D6r_n9Rj.mjs.map → chunk-VPADYNBD-OB0Y4Az0.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-DcpWdVLF.mjs → chunk-YCLFEX4T-C-mCH3zY.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-DcpWdVLF.mjs.map → chunk-YCLFEX4T-C-mCH3zY.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-I2Nz2UX3.cjs → chunk-YCLFEX4T-CoU8Enra.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-I2Nz2UX3.cjs.map → chunk-YCLFEX4T-CoU8Enra.cjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-DwwCXU9M.mjs → column-XT6UFXNQ-CZo7OrD_.mjs} +2 -2
- package/dist/{column-XT6UFXNQ-DwwCXU9M.mjs.map → column-XT6UFXNQ-CZo7OrD_.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-FKTGTVAy.cjs → column-XT6UFXNQ-D4-HTS_l.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-FKTGTVAy.cjs.map → column-XT6UFXNQ-D4-HTS_l.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-Dq_zFNG7.cjs → comm-VV2LDX2J-0IlA7Uzn.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-Dq_zFNG7.cjs.map → comm-VV2LDX2J-0IlA7Uzn.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-Cmjo1RL1.mjs → comm-VV2LDX2J-Cr3fn9ep.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-Cmjo1RL1.mjs.map → comm-VV2LDX2J-Cr3fn9ep.mjs.map} +1 -1
- package/dist/{config-DUP9VbSy.d.mts → config-CPh-Y6Qa.d.mts} +4 -3
- package/dist/{config-D0P7vutz.d.cts → config-WrJCGKCr.d.cts} +4 -3
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{cp-BISAAS7A-CLfTlwFa.mjs → cp-BISAAS7A-CD0l2j6S.mjs} +2 -2
- package/dist/{cp-BISAAS7A-CLfTlwFa.mjs.map → cp-BISAAS7A-CD0l2j6S.mjs.map} +1 -1
- package/dist/{cp-BISAAS7A-CbFxGxoU.cjs → cp-BISAAS7A-Dc9whLMv.cjs} +2 -2
- package/dist/{cp-BISAAS7A-CbFxGxoU.cjs.map → cp-BISAAS7A-Dc9whLMv.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-o4z6JrbJ.cjs → cut-OKARJCCV-Dhnh9kfl.cjs} +3 -3
- package/dist/{cut-OKARJCCV-o4z6JrbJ.cjs.map → cut-OKARJCCV-Dhnh9kfl.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-DLdBhCrb.mjs → cut-OKARJCCV-pPeOI4pV.mjs} +3 -3
- package/dist/{cut-OKARJCCV-DLdBhCrb.mjs.map → cut-OKARJCCV-pPeOI4pV.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-BJZi0LcF.mjs → diff-MWJFIG7X-DkYjYoZo.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-BJZi0LcF.mjs.map → diff-MWJFIG7X-DkYjYoZo.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-BMUXeO5n.cjs → diff-MWJFIG7X-esd7amDS.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-BMUXeO5n.cjs.map → diff-MWJFIG7X-esd7amDS.cjs.map} +1 -1
- package/dist/{dist-DKsRyzQA.cjs → dist-CoxD9bPI.cjs} +72 -23
- package/dist/dist-CoxD9bPI.cjs.map +1 -0
- package/dist/{dist-QdAztAh3.mjs → dist-vqdQgBVK.mjs} +73 -24
- package/dist/dist-vqdQgBVK.mjs.map +1 -0
- package/dist/{du-572XNP42-BVuECs5Z.cjs → du-572XNP42-BKaF_45E.cjs} +2 -2
- package/dist/{du-572XNP42-BVuECs5Z.cjs.map → du-572XNP42-BKaF_45E.cjs.map} +1 -1
- package/dist/{du-572XNP42-wIRE2035.mjs → du-572XNP42-Bi0-KMxE.mjs} +2 -2
- package/dist/{du-572XNP42-wIRE2035.mjs.map → du-572XNP42-Bi0-KMxE.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-DmFdLlHV.mjs → env-36M5BO7M-B2ZQBR_W.mjs} +2 -2
- package/dist/{env-36M5BO7M-DmFdLlHV.mjs.map → env-36M5BO7M-B2ZQBR_W.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-B1DWAPfB.cjs → env-36M5BO7M-Bt56CvR3.cjs} +2 -2
- package/dist/{env-36M5BO7M-B1DWAPfB.cjs.map → env-36M5BO7M-Bt56CvR3.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-Bz2Hk0FC.cjs → expand-JSPG6VOP-CZQOBzE4.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-Bz2Hk0FC.cjs.map → expand-JSPG6VOP-CZQOBzE4.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-BEqbNeLw.mjs → expand-JSPG6VOP-DJYQaAxG.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-BEqbNeLw.mjs.map → expand-JSPG6VOP-DJYQaAxG.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-Cv41uJFe.cjs → expr-5JAACS4X-D-6tjQKP.cjs} +2 -2
- package/dist/{expr-5JAACS4X-Cv41uJFe.cjs.map → expr-5JAACS4X-D-6tjQKP.cjs.map} +1 -1
- package/dist/{expr-5JAACS4X-zlr35KoS.mjs → expr-5JAACS4X-DFoRd5UC.mjs} +2 -2
- package/dist/{expr-5JAACS4X-zlr35KoS.mjs.map → expr-5JAACS4X-DFoRd5UC.mjs.map} +1 -1
- package/dist/{find-INTH3OLC-wHgM1Gv3.cjs → find-INTH3OLC-Bg-_OL9N.cjs} +3 -3
- package/dist/{find-INTH3OLC-wHgM1Gv3.cjs.map → find-INTH3OLC-Bg-_OL9N.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-DfimE54H.mjs → find-INTH3OLC-ClF5kwZG.mjs} +3 -3
- package/dist/{find-INTH3OLC-DfimE54H.mjs.map → find-INTH3OLC-ClF5kwZG.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-B7n-qKjE.mjs → fold-4TQNYMSW-DjysK6jz.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-B7n-qKjE.mjs.map → fold-4TQNYMSW-DjysK6jz.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-BNDizuO0.cjs → fold-4TQNYMSW-RuvTSqsK.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-BNDizuO0.cjs.map → fold-4TQNYMSW-RuvTSqsK.cjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-BlIw8pn3.mjs → grep-V3LQVMRQ-CRGhl-hH.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-BlIw8pn3.mjs.map → grep-V3LQVMRQ-CRGhl-hH.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-B3FyXAXJ.cjs → grep-V3LQVMRQ-E2h_lJyr.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-B3FyXAXJ.cjs.map → grep-V3LQVMRQ-E2h_lJyr.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-B-zRyf0Y.cjs → gzip-O5ASJAFY-B6Wdf-B7.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-B-zRyf0Y.cjs.map → gzip-O5ASJAFY-B6Wdf-B7.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-DiFV1_eJ.mjs → gzip-O5ASJAFY-BCEAveca.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-DiFV1_eJ.mjs.map → gzip-O5ASJAFY-BCEAveca.mjs.map} +1 -1
- package/dist/{head-442HYESI-HUEMaJpH.mjs → head-442HYESI-D2K4P2Rx.mjs} +2 -2
- package/dist/{head-442HYESI-HUEMaJpH.mjs.map → head-442HYESI-D2K4P2Rx.mjs.map} +1 -1
- package/dist/{head-442HYESI-Depd2eI6.cjs → head-442HYESI-wNbSgWsb.cjs} +2 -2
- package/dist/{head-442HYESI-Depd2eI6.cjs.map → head-442HYESI-wNbSgWsb.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-ta7W7sqn.cjs → help-HZ6M2CKN-Bg1VYYA5.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-ta7W7sqn.cjs.map → help-HZ6M2CKN-Bg1VYYA5.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-MwncrItu.mjs → help-HZ6M2CKN-BigqAuYz.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-MwncrItu.mjs.map → help-HZ6M2CKN-BigqAuYz.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-CSSsIVOj.mjs → html-to-markdown-JW4MSQZO-4_Loe9rX.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-CSSsIVOj.mjs.map → html-to-markdown-JW4MSQZO-4_Loe9rX.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-BMJ_NEfU.cjs → html-to-markdown-JW4MSQZO-CfmN2ZcI.cjs} +2 -2
- package/dist/{html-to-markdown-JW4MSQZO-BMJ_NEfU.cjs.map → html-to-markdown-JW4MSQZO-CfmN2ZcI.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-D_vDqxAh.cjs → join-TBRGI3LQ-0CR8WyHb.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-D_vDqxAh.cjs.map → join-TBRGI3LQ-0CR8WyHb.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-CgYYmoZ7.mjs → join-TBRGI3LQ-DIrfY00Z.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-CgYYmoZ7.mjs.map → join-TBRGI3LQ-DIrfY00Z.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-BKdEKWwN.mjs → jq-4XLYLOS5-CJSJUTCm.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-BKdEKWwN.mjs.map → jq-4XLYLOS5-CJSJUTCm.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-BxuyXoU0.cjs → jq-4XLYLOS5-QZ5ZMYR8.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-BxuyXoU0.cjs.map → jq-4XLYLOS5-QZ5ZMYR8.cjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-DsbvwJLy.mjs → js-exec-N5KEZBH7-px0wOLlZ.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-DsbvwJLy.mjs.map → js-exec-N5KEZBH7-px0wOLlZ.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-GNzc3pR4.cjs → js-exec-N5KEZBH7-xGqtmrB-.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-GNzc3pR4.cjs.map → js-exec-N5KEZBH7-xGqtmrB-.cjs.map} +1 -1
- package/dist/{lib--JIjoD2c.mjs → lib-C6fnVjW1.mjs} +2 -2
- package/dist/{lib--JIjoD2c.mjs.map → lib-C6fnVjW1.mjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-DDlOhia8.cjs → ln-4LGSXXGD-C_5lbRYs.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-DDlOhia8.cjs.map → ln-4LGSXXGD-C_5lbRYs.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-CdILNQs4.mjs → ln-4LGSXXGD-ClNNg1Cy.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-CdILNQs4.mjs.map → ln-4LGSXXGD-ClNNg1Cy.mjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-CPrpYxax.cjs → ls-ZJGQER7M-BY54B-oP.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-CPrpYxax.cjs.map → ls-ZJGQER7M-BY54B-oP.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-CpY4DGd-.mjs → ls-ZJGQER7M-D1zUcdlb.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-CpY4DGd-.mjs.map → ls-ZJGQER7M-D1zUcdlb.mjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-3klTAyVB.cjs → md5sum-SPU24VSG-DhGi9GoH.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-3klTAyVB.cjs.map → md5sum-SPU24VSG-DhGi9GoH.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-CPOnkctA.mjs → md5sum-SPU24VSG-Vo4Y6Bwo.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-CPOnkctA.mjs.map → md5sum-SPU24VSG-Vo4Y6Bwo.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-CvBF5IIk.mjs → mkdir-MEPGZOB6-BMixoESF.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-CvBF5IIk.mjs.map → mkdir-MEPGZOB6-BMixoESF.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-6QxPyXDQ.cjs → mkdir-MEPGZOB6-CgawHcnX.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-6QxPyXDQ.cjs.map → mkdir-MEPGZOB6-CgawHcnX.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646-CW4EMAzI.cjs → mv-W5BIQ646-BzW_Etdb.cjs} +2 -2
- package/dist/{mv-W5BIQ646-CW4EMAzI.cjs.map → mv-W5BIQ646-BzW_Etdb.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646--kJXpA8G.mjs → mv-W5BIQ646-CkHOGc9Q.mjs} +2 -2
- package/dist/{mv-W5BIQ646--kJXpA8G.mjs.map → mv-W5BIQ646-CkHOGc9Q.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-DXe6Rx98.cjs → nl-WSDW7I4O-D61T3lkX.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-DXe6Rx98.cjs.map → nl-WSDW7I4O-D61T3lkX.cjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-CyJaPb-s.mjs → nl-WSDW7I4O-DcnQr_YU.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-CyJaPb-s.mjs.map → nl-WSDW7I4O-DcnQr_YU.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-bwPu9c1J.mjs → od-WOKFDJTP-7LuMpI2U.mjs} +2 -2
- package/dist/{od-WOKFDJTP-bwPu9c1J.mjs.map → od-WOKFDJTP-7LuMpI2U.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-87SklrFR.cjs → od-WOKFDJTP-TzLiCg7j.cjs} +2 -2
- package/dist/{od-WOKFDJTP-87SklrFR.cjs.map → od-WOKFDJTP-TzLiCg7j.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-LPlOlD3J.mjs → paste-7JC6S4DX-Dceo81cs.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-LPlOlD3J.mjs.map → paste-7JC6S4DX-Dceo81cs.mjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-CaYT5dNr.cjs → paste-7JC6S4DX-Ddjdun-G.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-CaYT5dNr.cjs.map → paste-7JC6S4DX-Ddjdun-G.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-CRtReDPZ.cjs → printf-TWGXF445-Bf3r9_T4.cjs} +2 -2
- package/dist/{printf-TWGXF445-CRtReDPZ.cjs.map → printf-TWGXF445-Bf3r9_T4.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-BJU0e5mY.mjs → printf-TWGXF445-OCiLSp8d.mjs} +3 -3
- package/dist/{printf-TWGXF445-BJU0e5mY.mjs.map → printf-TWGXF445-OCiLSp8d.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-B6u9M_5d.mjs → python3-POMOR4OA-BI70uHzz.mjs} +3 -3
- package/dist/{python3-POMOR4OA-B6u9M_5d.mjs.map → python3-POMOR4OA-BI70uHzz.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-CUDeVW49.cjs → python3-POMOR4OA-Bt7oVFz_.cjs} +3 -3
- package/dist/{python3-POMOR4OA-CUDeVW49.cjs.map → python3-POMOR4OA-Bt7oVFz_.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-3tbo28Bs.cjs → rev-5EHFX4EJ-B3oieIwC.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-3tbo28Bs.cjs.map → rev-5EHFX4EJ-B3oieIwC.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-BHYKR3tK.mjs → rev-5EHFX4EJ-DBKj178x.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-BHYKR3tK.mjs.map → rev-5EHFX4EJ-DBKj178x.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-CU1P6jks.mjs → rg-S4FXYXWB-CfbJks82.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-CU1P6jks.mjs.map → rg-S4FXYXWB-CfbJks82.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-Dqy8US3o.cjs → rg-S4FXYXWB-DR1FKvWK.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-Dqy8US3o.cjs.map → rg-S4FXYXWB-DR1FKvWK.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-Bgjvax0-.mjs → rm-SSGETQVQ-BdPUbcSA.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-Bgjvax0-.mjs.map → rm-SSGETQVQ-BdPUbcSA.mjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-CuMHTlTU.cjs → rm-SSGETQVQ-D64rnY-K.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-CuMHTlTU.cjs.map → rm-SSGETQVQ-D64rnY-K.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-OA0pg8Pi.mjs → rmdir-OC4ZLPYA-7qEpm3ch.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-OA0pg8Pi.mjs.map → rmdir-OC4ZLPYA-7qEpm3ch.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-DzU560AU.cjs → rmdir-OC4ZLPYA-C8WL7BGv.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-DzU560AU.cjs.map → rmdir-OC4ZLPYA-C8WL7BGv.cjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-BACmd2ys.mjs → sed-S5UIK574-B8qqEqN7.mjs} +2 -2
- package/dist/{sed-S5UIK574-BACmd2ys.mjs.map → sed-S5UIK574-B8qqEqN7.mjs.map} +1 -1
- package/dist/{sed-S5UIK574-BnUtp9JK.cjs → sed-S5UIK574-c9rwlnGs.cjs} +2 -2
- package/dist/{sed-S5UIK574-BnUtp9JK.cjs.map → sed-S5UIK574-c9rwlnGs.cjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-Dt2ferYj.mjs → sha1sum-2PTOAFR6-B5XVCpai.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-Dt2ferYj.mjs.map → sha1sum-2PTOAFR6-B5XVCpai.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-_ObXRVHy.cjs → sha1sum-2PTOAFR6-B5n0RfqG.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-_ObXRVHy.cjs.map → sha1sum-2PTOAFR6-B5n0RfqG.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-Bne4YcBK.cjs → sha256sum-NS7D3IXX-BvgHDSGB.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-Bne4YcBK.cjs.map → sha256sum-NS7D3IXX-BvgHDSGB.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-DhQAHPG8.mjs → sha256sum-NS7D3IXX-y38zZDmN.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-DhQAHPG8.mjs.map → sha256sum-NS7D3IXX-y38zZDmN.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-tiYx6zFh.mjs → sleep-X22JJINO-BgZpdeut.mjs} +2 -2
- package/dist/{sleep-X22JJINO-tiYx6zFh.mjs.map → sleep-X22JJINO-BgZpdeut.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-Cl4fTz2p.cjs → sleep-X22JJINO-D-PQh_Ov.cjs} +2 -2
- package/dist/{sleep-X22JJINO-Cl4fTz2p.cjs.map → sleep-X22JJINO-D-PQh_Ov.cjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-RjtSyqtZ.mjs → sort-SW2YEO5B-BasURn2M.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-RjtSyqtZ.mjs.map → sort-SW2YEO5B-BasURn2M.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-CJqRZpAc.cjs → sort-SW2YEO5B-CdBBvg3D.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-CJqRZpAc.cjs.map → sort-SW2YEO5B-CdBBvg3D.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-DgH9dx0k.cjs → split-4KKZZXXE-D4hc4NEG.cjs} +2 -2
- package/dist/{split-4KKZZXXE-DgH9dx0k.cjs.map → split-4KKZZXXE-D4hc4NEG.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-Cr9lEZfk.mjs → split-4KKZZXXE-LDm7N7LX.mjs} +2 -2
- package/dist/{split-4KKZZXXE-Cr9lEZfk.mjs.map → split-4KKZZXXE-LDm7N7LX.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-Dz72skxn.cjs → sqlite3-CGOEFJAO-BWSdC_vX.cjs} +2 -2
- package/dist/{sqlite3-CGOEFJAO-Dz72skxn.cjs.map → sqlite3-CGOEFJAO-BWSdC_vX.cjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-CPFVM5IE.mjs → sqlite3-CGOEFJAO-Do3UIKvD.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-CPFVM5IE.mjs.map → sqlite3-CGOEFJAO-Do3UIKvD.mjs.map} +1 -1
- package/dist/{start-DU1co0_c.mjs → start-WFCqn6n8.mjs} +315 -273
- package/dist/start-WFCqn6n8.mjs.map +1 -0
- package/dist/{start-6OJAnUTb.cjs → start-zuq8pptN.cjs} +315 -273
- package/dist/start-zuq8pptN.cjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.d.cts +1 -1
- package/dist/start.d.mts +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-0R9eLtuz.mjs → strings-6WDHLGMX-D0LcXDFx.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-0R9eLtuz.mjs.map → strings-6WDHLGMX-D0LcXDFx.mjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-t7krqer3.cjs → strings-6WDHLGMX-bq8ynPi3.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-t7krqer3.cjs.map → strings-6WDHLGMX-bq8ynPi3.cjs.map} +1 -1
- package/dist/{tac-2STMMJYW-PE_pqA_-.mjs → tac-2STMMJYW-BDGG9txz.mjs} +2 -2
- package/dist/{tac-2STMMJYW-PE_pqA_-.mjs.map → tac-2STMMJYW-BDGG9txz.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-DBoubysm.cjs → tac-2STMMJYW-BQ75aOdN.cjs} +2 -2
- package/dist/{tac-2STMMJYW-DBoubysm.cjs.map → tac-2STMMJYW-BQ75aOdN.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-lVA_-Cnv.cjs → tail-R4PCA2C4-BtvHaGAr.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-lVA_-Cnv.cjs.map → tail-R4PCA2C4-BtvHaGAr.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-DeLD76KI.mjs → tail-R4PCA2C4-C0m4gWVg.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-DeLD76KI.mjs.map → tail-R4PCA2C4-C0m4gWVg.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-BlENu9nk.cjs → tar-STHHZTZ6-BTrSjL4q.cjs} +2 -2
- package/dist/{tar-STHHZTZ6-BlENu9nk.cjs.map → tar-STHHZTZ6-BTrSjL4q.cjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-C5JPJ0Ba.mjs → tar-STHHZTZ6-CBG0MLK3.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-C5JPJ0Ba.mjs.map → tar-STHHZTZ6-CBG0MLK3.mjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-CX2gaBik.mjs → tee-YUZ2FKCJ-BGkM9X-8.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-CX2gaBik.mjs.map → tee-YUZ2FKCJ-BGkM9X-8.mjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-DqtVXyXz.cjs → tee-YUZ2FKCJ-C7XnMke0.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-DqtVXyXz.cjs.map → tee-YUZ2FKCJ-C7XnMke0.cjs.map} +1 -1
- package/dist/{time-D4LNBSWX-Dc-tvcL8.mjs → time-D4LNBSWX-C4SnR475.mjs} +2 -2
- package/dist/{time-D4LNBSWX-Dc-tvcL8.mjs.map → time-D4LNBSWX-C4SnR475.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-Dsgl8AGx.cjs → time-D4LNBSWX-Dk9LRHuK.cjs} +2 -2
- package/dist/{time-D4LNBSWX-Dsgl8AGx.cjs.map → time-D4LNBSWX-Dk9LRHuK.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-DvjMtqH0.mjs → timeout-YDCRSLPQ-DhohmXQo.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-DvjMtqH0.mjs.map → timeout-YDCRSLPQ-DhohmXQo.mjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-9Tnz48PX.cjs → timeout-YDCRSLPQ-IIodimLQ.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-9Tnz48PX.cjs.map → timeout-YDCRSLPQ-IIodimLQ.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-CubQGA77.cjs → touch-UA33VN3N-BH94tj0o.cjs} +2 -2
- package/dist/{touch-UA33VN3N-CubQGA77.cjs.map → touch-UA33VN3N-BH94tj0o.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-hKEAagsK.mjs → touch-UA33VN3N-CYYNGsxX.mjs} +2 -2
- package/dist/{touch-UA33VN3N-hKEAagsK.mjs.map → touch-UA33VN3N-CYYNGsxX.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-EDP3yDQs.mjs → tr-36LHWFRQ-BZLwuNdf.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-EDP3yDQs.mjs.map → tr-36LHWFRQ-BZLwuNdf.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-Bf59q14F.cjs → tr-36LHWFRQ-CK-95bfG.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-Bf59q14F.cjs.map → tr-36LHWFRQ-CK-95bfG.cjs.map} +1 -1
- package/dist/{tree-YLD52CNT-CvzCOxjG.mjs → tree-YLD52CNT-CGsTtWjg.mjs} +2 -2
- package/dist/{tree-YLD52CNT-CvzCOxjG.mjs.map → tree-YLD52CNT-CGsTtWjg.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-POfTcitp.cjs → tree-YLD52CNT-Cww3aQfk.cjs} +2 -2
- package/dist/{tree-YLD52CNT-POfTcitp.cjs.map → tree-YLD52CNT-Cww3aQfk.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-DSbRhGaL.cjs → unexpand-CADSA4VO-Bs0nXKlg.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-DSbRhGaL.cjs.map → unexpand-CADSA4VO-Bs0nXKlg.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-DEw7srRA.mjs → unexpand-CADSA4VO-DUthCz4d.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-DEw7srRA.mjs.map → unexpand-CADSA4VO-DUthCz4d.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-DkQFNX83.mjs → uniq-XSIZR6PB-BwYAICy3.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-DkQFNX83.mjs.map → uniq-XSIZR6PB-BwYAICy3.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-B0L65FHN.cjs → uniq-XSIZR6PB-CGY2MF60.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-B0L65FHN.cjs.map → uniq-XSIZR6PB-CGY2MF60.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-BCCZMPfi.mjs → wc-LF7NU4LA-CLSla1j9.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-BCCZMPfi.mjs.map → wc-LF7NU4LA-CLSla1j9.mjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-BLmIvVNh.cjs → wc-LF7NU4LA-DMssR8j_.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-BLmIvVNh.cjs.map → wc-LF7NU4LA-DMssR8j_.cjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-ByJau1wF.mjs → xan-Y6WF3IRG-CXzjrrLb.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-ByJau1wF.mjs.map → xan-Y6WF3IRG-CXzjrrLb.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-VKVMsXxG.cjs → xan-Y6WF3IRG-zdAljm88.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-VKVMsXxG.cjs.map → xan-Y6WF3IRG-zdAljm88.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-BgdLBNl9.cjs → xan-view-HDVKHFC2-CUdxhKHs.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-BgdLBNl9.cjs.map → xan-view-HDVKHFC2-CUdxhKHs.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-BpPgpBOu.mjs → xan-view-HDVKHFC2-F8rBAZss.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-BpPgpBOu.mjs.map → xan-view-HDVKHFC2-F8rBAZss.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-CVnKuCwr.mjs → xargs-MGZPH7AX-Bwjic2g0.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-CVnKuCwr.mjs.map → xargs-MGZPH7AX-Bwjic2g0.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-sob18DeS.cjs → xargs-MGZPH7AX-CMFzO3Um.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-sob18DeS.cjs.map → xargs-MGZPH7AX-CMFzO3Um.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DgdNypAA.cjs → yq-4QJW3EQG-FBEG5OEQ.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-DgdNypAA.cjs.map → yq-4QJW3EQG-FBEG5OEQ.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DD0YMd1O.mjs → yq-4QJW3EQG-kSAxPXo0.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-DD0YMd1O.mjs.map → yq-4QJW3EQG-kSAxPXo0.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/dist-DKsRyzQA.cjs.map +0 -1
- package/dist/dist-QdAztAh3.mjs.map +0 -1
- package/dist/start-6OJAnUTb.cjs.map +0 -1
- package/dist/start-DU1co0_c.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CreateCredentialsRequestSchema, $n as WorkflowCanvasCredentialBindingsSchema, $t as OpenApiDiscoverResponseSchema, A as discoverMcpApp, An as SubmitMarketingContactResponseSchema, Ar as mapUserOrganization, At as InviteProjectMembersResponseSchema, B as ActiveOrganizationResponseSchema, Bn as UpdateOrganizationMemberRequestSchema, Br as validateCredentialValueAgainstFields, Bt as ListOrganizationMembersPageQuerySchema, C as defaultSchedulerPlugin, Cn as SkillSummarySchema, Cr as mapOrganizationInvitation, Ct as HistoryRunCancelResponseSchema, D as decodeOAuthState, Dn as StartMcpOAuthConnectionResultSchema, Dr as mapProjectDeployment, Dt as InviteOrganizationMembersRequestSchema, E as completeMcpOAuthConnect, En as StartMcpOAuthConnectionInputSchema, Er as mapProjectArtifact, Et as HistoryRunListResponseSchema, F as deleteManagedServiceCredential$1, Fn as TriggerInvokeRequestSchema, Fr as parseAppSlug, Ft as ListChannelPlatformsResponseSchema, G as AgentWorkspaceFileSummarySchema, Gn as UpdateProjectRequestSchema, Gt as ListProjectMembersResponseSchema, H as AgentSummaryDetailResponseSchema, Hn as UpdateOrganizationRequestSchema, Hr as validationErrorResponse, Ht as ListOrganizationsResponseSchema, I as setCredentialInstanceSecret, In as TriggerInvokeResponseSchema, Ir as parseStoredRouteManifest, It as ListCredentialsPageQuerySchema, J as ChannelPlatformSchema, Jn as UploadProjectSourceResponseSchema, Jt as ManagedServiceCredentialSchema, K as AppSlugAvailabilityQuerySchema, Kn as UpdateProjectSettingsRequestSchema, Kt as ListProjectMetricsResponseSchema, L as setManagedServiceCredential, Ln as TriggerRunListQuerySchema, Lr as projectFileId, Lt as ListCredentialsPageResponseSchema, M as withCredentialAssignments, Mn as SubmitTeamRequestResponseSchema, Mr as normalizeUserPreferences, Mt as ListAgentWorkspaceFilesResponseSchema, N as PublicHttpUrlError, Nn as TriggerAttachmentUpdateRequestSchema, Nr as organizationInvitationAcceptPath, Nt as ListApiKeysResponseSchema, O as describeCredentialBindings, On as StoredProjectSourceManifestSchema, Or as mapProjectMember, Ot as InviteOrganizationMembersResponseSchema, P as deleteCredentialInstanceSecret, Pn as TriggerInvokeInputsSchema, Pr as organizationSlugErrorCodeFromMessage, Pt as ListAppsResponseSchema, Q as CreateApiKeyResponseSchema, Qn as UserPreferencesSchema, Qt as OpenApiDiscoverRequestSchema, R as ACTIVE_ORG_HEADER, Rn as UpdateCredentialRequestSchema, Rr as resolveExternalPlatformOrigin, Rt as ListManagedServiceCredentialsResponseSchema, S as createJobQueue, Sn as SkillSummaryListResponseSchema, Sr as listenPortFromPublicUrl, St as GraphqlDiscoverResponseSchema, T as beginMcpOAuthConnect, Tn as SlugAvailabilityResponseSchema, Tr as mapProject, Tt as HistoryRunListQuerySchema, U as AgentSummaryListResponseSchema, Un as UpdateProjectMemberRequestSchema, Ut as ListProjectDeploymentsResponseSchema, V as AgentMemoryFileSummarySchema, Vn as UpdateOrganizationMemberResponseSchema, Vr as validateWorkflowRunInputValues, Vt as ListOrganizationMembersPageResponseSchema, W as AgentSummarySchema, Wn as UpdateProjectMemberResponseSchema, Wt as ListProjectFilesResponseSchema, X as ConnectManagedServiceCredentialRequestSchema, Xn as UserAvatarSchema, Xt as McpDiscoverRequestSchema, Y as CompleteProjectArtifactResponseSchema, Yn as UserAvatarPatchSchema, Yt as ManagedServiceKindSchema, Z as CreateApiKeyRequestSchema, Zn as UserPreferencesPatchSchema, Zt as McpDiscoverResponseSchema, _ as orgLogoStorageKey, _n as ProjectSourceResourcesSchema, _r as deriveCredentialInstanceSlug, _t as ErrorResponseSchema, a as extractRouteManifestFromArtifact, an as PresignChatAttachmentResponseSchema, ar as WorkflowSummaryListResponseSchema, at as CreateProjectArtifactResponseSchema, b as publicKeystrokeAssetsObjectUrl, bn as RecentResourceSchema, br as isLlmProviderSlug, bt as GetCustomAppResponseSchema, c as isKeystrokeAssetsOrgLogoPublicUrl, cn as PresignProjectSourceRequestSchema, cr as WorkspaceTriggerFileSchema, ct as DEFAULT_CLOUD_PLATFORM_ORIGIN, d as isStorageNotFoundError$1, dn as PresignUserAvatarResponseSchema, dr as WorkspaceTriggerRunListResponseSchema, dt as DEFAULT_WORKFLOW_OVERVIEW_MODEL, en as OrganizationSidebarBrandingPatchSchema, er as WorkflowCanvasRunSchema, et as CreateCredentialsResponseSchema, f as isUserAvatarStorageKey, fn as ProjectReachabilityResponseSchema, fr as WorkspaceWorkflowOverviewSchema, ft as DbProxyMigrateRequestSchema, gn as ProjectSlugAvailabilityResponseSchema, gr as chatAttachmentExtension, gt as DownloadActiveProjectSourceResponseSchema, h as loadProjectSourceFiles, hn as ProjectSlugAvailabilityQuerySchema, hr as buildCredentialInstanceLabel, ht as DownloadActiveProjectArtifactResponseSchema, i as ensureKeystrokeAssetsBucket, in as PresignChatAttachmentRequestSchema, ir as WorkflowSummaryDetailResponseSchema, it as CreateOrganizationResponseSchema, j as discoverOpenApiApp, jn as SubmitTeamRequestRequestSchema, jr as mergeUserPreferences, jt as ListAgentMemoryFilesResponseSchema, k as discoverGraphqlApp, kn as SubmitMarketingContactRequestSchema, kr as mapProjectSettings, kt as InviteProjectMembersRequestSchema, l as isOrgLogoStorageKey, ln as PresignProjectSourceResponseSchema, lr as WorkspaceTriggerListResponseSchema, lt as DEFAULT_TRIGGER_OVERVIEW_MODEL, m as keystrokeAssetsOrgLogoKeyFromPublicUrl, mn as ProjectSettingsResponseSchema, mr as agentWorkspaceFileId, mt as DeclineOrganizationInvitationResponseSchema, n as chatAttachmentStorageKey, nn as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, nr as WorkflowRunInputsPutBodySchema, nt as CreateCustomAppResponseSchema, o as isChatAttachmentStorageKey, on as PresignOrgLogoRequestSchema, or as WorkflowSummarySchema, ot as CreateProjectRequestSchema, p as keystrokeAssetsAvatarKeyFromPublicUrl, pn as ProjectResponseSchema, pr as agentMemoryFileId, pt as DbProxyQueryRequestSchema, q as AppSlugAvailabilityResponseSchema, qn as UploadProjectSourceManifestRequestSchema, qt as ListProjectsResponseSchema, r as createAssetsStorageClient, rn as PROJECT_SLUG_TAKEN_MESSAGE, rr as WorkflowRunInputsSchema, rt as CreateOrganizationRequestSchema, s as isKeystrokeAssetsAvatarPublicUrl, sn as PresignOrgLogoResponseSchema, sr as WorkspaceTriggerDetailSchema, st as CreateProjectResponseSchema, t as RouteManifestNotFoundError, tn as OrganizationSidebarBrandingSchema, tr as WorkflowCanvasSchema, tt as CreateCustomAppRequestSchema, u as isStorageBucketNotFoundError, un as PresignUserAvatarRequestSchema, ur as WorkspaceTriggerOverviewSchema, ut as DEFAULT_WORKFLOW_CANVAS_MODEL, v as projectArtifactKey, vn as PublicModelsResponseSchema, vr as displayCredentialAppName, vt as GetAppCatalogEntryResponseSchema, w as cronPayloadSchema, wn as SlugAvailabilityQuerySchema, wr as mapOrganizationMember, wt as HistoryRunDetailResponseSchema, x as userAvatarStorageKey, xn as SkillSummaryDetailResponseSchema, xr as jsonSchemaToWorkflowInputSchema, xt as GraphqlDiscoverRequestSchema, y as projectSourceBlobKey, yn as RecentResourceListResponseSchema, yr as isAllowedChatAttachmentMediaType, yt as GetCredentialResponseSchema, z as AcceptOrganizationInvitationResponseSchema, zn as UpdateManagedServiceCredentialRequestSchema, zr as resolveUniqueCredentialInstanceLabel, zt as ListOrganizationInvitationsResponseSchema } from "./dist-
|
|
1
|
+
import { $ as CreateCredentialsRequestSchema, $n as WorkflowCanvasCredentialBindingsSchema, $t as OpenApiDiscoverResponseSchema, A as discoverMcpApp, An as SubmitMarketingContactResponseSchema, Ar as mapUserOrganization, At as InviteProjectMembersResponseSchema, B as ActiveOrganizationResponseSchema, Bn as UpdateOrganizationMemberRequestSchema, Br as validateCredentialValueAgainstFields, Bt as ListOrganizationMembersPageQuerySchema, C as defaultSchedulerPlugin, Cn as SkillSummarySchema, Cr as mapOrganizationInvitation, Ct as HistoryRunCancelResponseSchema, D as decodeOAuthState, Dn as StartMcpOAuthConnectionResultSchema, Dr as mapProjectDeployment, Dt as InviteOrganizationMembersRequestSchema, E as completeMcpOAuthConnect, En as StartMcpOAuthConnectionInputSchema, Er as mapProjectArtifact, Et as HistoryRunListResponseSchema, F as deleteManagedServiceCredential$1, Fn as TriggerInvokeRequestSchema, Fr as parseAppSlug, Ft as ListChannelPlatformsResponseSchema, G as AgentWorkspaceFileSummarySchema, Gn as UpdateProjectRequestSchema, Gt as ListProjectMembersResponseSchema, H as AgentSummaryDetailResponseSchema, Hn as UpdateOrganizationRequestSchema, Hr as validationErrorResponse, Ht as ListOrganizationsResponseSchema, I as setCredentialInstanceSecret, In as TriggerInvokeResponseSchema, Ir as parseStoredRouteManifest, It as ListCredentialsPageQuerySchema, J as ChannelPlatformSchema, Jn as UploadProjectSourceResponseSchema, Jt as ManagedServiceCredentialSchema, K as AppSlugAvailabilityQuerySchema, Kn as UpdateProjectSettingsRequestSchema, Kt as ListProjectMetricsResponseSchema, L as setManagedServiceCredential, Ln as TriggerRunListQuerySchema, Lr as projectFileId, Lt as ListCredentialsPageResponseSchema, M as withCredentialAssignments, Mn as SubmitTeamRequestResponseSchema, Mr as normalizeUserPreferences, Mt as ListAgentWorkspaceFilesResponseSchema, N as PublicHttpUrlError, Nn as TriggerAttachmentUpdateRequestSchema, Nr as organizationInvitationAcceptPath, Nt as ListApiKeysResponseSchema, O as describeCredentialBindings, On as StoredProjectSourceManifestSchema, Or as mapProjectMember, Ot as InviteOrganizationMembersResponseSchema, P as deleteCredentialInstanceSecret, Pn as TriggerInvokeInputsSchema, Pr as organizationSlugErrorCodeFromMessage, Pt as ListAppsResponseSchema, Q as CreateApiKeyResponseSchema, Qn as UserPreferencesSchema, Qt as OpenApiDiscoverRequestSchema, R as ACTIVE_ORG_HEADER, Rn as UpdateCredentialRequestSchema, Rr as resolveExternalPlatformOrigin, Rt as ListManagedServiceCredentialsResponseSchema, S as createJobQueue, Sn as SkillSummaryListResponseSchema, Sr as listenPortFromPublicUrl, St as GraphqlDiscoverResponseSchema, T as beginMcpOAuthConnect, Tn as SlugAvailabilityResponseSchema, Tr as mapProject, Tt as HistoryRunListQuerySchema, U as AgentSummaryListResponseSchema, Un as UpdateProjectMemberRequestSchema, Ut as ListProjectDeploymentsResponseSchema, V as AgentMemoryFileSummarySchema, Vn as UpdateOrganizationMemberResponseSchema, Vr as validateWorkflowRunInputValues, Vt as ListOrganizationMembersPageResponseSchema, W as AgentSummarySchema, Wn as UpdateProjectMemberResponseSchema, Wt as ListProjectFilesResponseSchema, X as ConnectManagedServiceCredentialRequestSchema, Xn as UserAvatarSchema, Xt as McpDiscoverRequestSchema, Y as CompleteProjectArtifactResponseSchema, Yn as UserAvatarPatchSchema, Yt as ManagedServiceKindSchema, Z as CreateApiKeyRequestSchema, Zn as UserPreferencesPatchSchema, Zt as McpDiscoverResponseSchema, _ as orgLogoStorageKey, _n as ProjectSourceResourcesSchema, _r as deriveCredentialInstanceSlug, _t as ErrorResponseSchema, a as extractRouteManifestFromArtifact, an as PresignChatAttachmentResponseSchema, ar as WorkflowSummaryListResponseSchema, at as CreateProjectArtifactResponseSchema, b as publicKeystrokeAssetsObjectUrl, bn as RecentResourceSchema, br as isLlmProviderSlug, bt as GetCustomAppResponseSchema, c as isKeystrokeAssetsOrgLogoPublicUrl, cn as PresignProjectSourceRequestSchema, cr as WorkspaceTriggerFileSchema, ct as DEFAULT_CLOUD_PLATFORM_ORIGIN, d as isStorageNotFoundError$1, dn as PresignUserAvatarResponseSchema, dr as WorkspaceTriggerRunListResponseSchema, dt as DEFAULT_WORKFLOW_OVERVIEW_MODEL, en as OrganizationSidebarBrandingPatchSchema, er as WorkflowCanvasRunSchema, et as CreateCredentialsResponseSchema, f as isUserAvatarStorageKey, fn as ProjectReachabilityResponseSchema, fr as WorkspaceWorkflowOverviewSchema, ft as DbProxyMigrateRequestSchema, gn as ProjectSlugAvailabilityResponseSchema, gr as chatAttachmentExtension, gt as DownloadActiveProjectSourceResponseSchema, h as loadProjectSourceFiles, hn as ProjectSlugAvailabilityQuerySchema, hr as buildCredentialInstanceLabel, ht as DownloadActiveProjectArtifactResponseSchema, i as ensureKeystrokeAssetsBucket, in as PresignChatAttachmentRequestSchema, ir as WorkflowSummaryDetailResponseSchema, it as CreateOrganizationResponseSchema, j as discoverOpenApiApp, jn as SubmitTeamRequestRequestSchema, jr as mergeUserPreferences, jt as ListAgentMemoryFilesResponseSchema, k as discoverGraphqlApp, kn as SubmitMarketingContactRequestSchema, kr as mapProjectSettings, kt as InviteProjectMembersRequestSchema, l as isOrgLogoStorageKey, ln as PresignProjectSourceResponseSchema, lr as WorkspaceTriggerListResponseSchema, lt as DEFAULT_TRIGGER_OVERVIEW_MODEL, m as keystrokeAssetsOrgLogoKeyFromPublicUrl, mn as ProjectSettingsResponseSchema, mr as agentWorkspaceFileId, mt as DeclineOrganizationInvitationResponseSchema, n as chatAttachmentStorageKey, nn as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, nr as WorkflowRunInputsPutBodySchema, nt as CreateCustomAppResponseSchema, o as isChatAttachmentStorageKey, on as PresignOrgLogoRequestSchema, or as WorkflowSummarySchema, ot as CreateProjectRequestSchema, p as keystrokeAssetsAvatarKeyFromPublicUrl, pn as ProjectResponseSchema, pr as agentMemoryFileId, pt as DbProxyQueryRequestSchema, q as AppSlugAvailabilityResponseSchema, qn as UploadProjectSourceManifestRequestSchema, qt as ListProjectsResponseSchema, r as createAssetsStorageClient, rn as PROJECT_SLUG_TAKEN_MESSAGE, rr as WorkflowRunInputsSchema, rt as CreateOrganizationRequestSchema, s as isKeystrokeAssetsAvatarPublicUrl, sn as PresignOrgLogoResponseSchema, sr as WorkspaceTriggerDetailSchema, st as CreateProjectResponseSchema, t as RouteManifestNotFoundError, tn as OrganizationSidebarBrandingSchema, tr as WorkflowCanvasSchema, tt as CreateCustomAppRequestSchema, u as isStorageBucketNotFoundError, un as PresignUserAvatarRequestSchema, ur as WorkspaceTriggerOverviewSchema, ut as DEFAULT_WORKFLOW_CANVAS_MODEL, v as projectArtifactKey, vn as PublicModelsResponseSchema, vr as displayCredentialAppName, vt as GetAppCatalogEntryResponseSchema, w as cronPayloadSchema, wn as SlugAvailabilityQuerySchema, wr as mapOrganizationMember, wt as HistoryRunDetailResponseSchema, x as userAvatarStorageKey, xn as SkillSummaryDetailResponseSchema, xr as jsonSchemaToWorkflowInputSchema, xt as GraphqlDiscoverRequestSchema, y as projectSourceBlobKey, yn as RecentResourceListResponseSchema, yr as isAllowedChatAttachmentMediaType, yt as GetCredentialResponseSchema, z as AcceptOrganizationInvitationResponseSchema, zn as UpdateManagedServiceCredentialRequestSchema, zr as resolveUniqueCredentialInstanceLabel, zt as ListOrganizationInvitationsResponseSchema } from "./dist-vqdQgBVK.mjs";
|
|
2
2
|
import { a as verifyOrgWorkerToken, i as pingProjectTarget, n as fetchDeployStatus, r as mintOrgWorkerToken } from "./dist-DXrzDzt8.mjs";
|
|
3
3
|
import "./chunk-BZUGFHVS-B2NchobP.mjs";
|
|
4
4
|
import { n as d$4, t as _$1 } from "./chunk-TN7HHBQW-B8PYcKz5.mjs";
|
|
@@ -22872,43 +22872,43 @@ var tt = [
|
|
|
22872
22872
|
},
|
|
22873
22873
|
{
|
|
22874
22874
|
name: "cat",
|
|
22875
|
-
load: async () => (await import("./cat-TSFMZVYS-
|
|
22875
|
+
load: async () => (await import("./cat-TSFMZVYS-B_3nwH77.mjs")).catCommand
|
|
22876
22876
|
},
|
|
22877
22877
|
{
|
|
22878
22878
|
name: "printf",
|
|
22879
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
22879
|
+
load: async () => (await import("./printf-TWGXF445-OCiLSp8d.mjs")).printfCommand
|
|
22880
22880
|
},
|
|
22881
22881
|
{
|
|
22882
22882
|
name: "ls",
|
|
22883
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
22883
|
+
load: async () => (await import("./ls-ZJGQER7M-D1zUcdlb.mjs")).lsCommand
|
|
22884
22884
|
},
|
|
22885
22885
|
{
|
|
22886
22886
|
name: "mkdir",
|
|
22887
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
22887
|
+
load: async () => (await import("./mkdir-MEPGZOB6-BMixoESF.mjs")).mkdirCommand
|
|
22888
22888
|
},
|
|
22889
22889
|
{
|
|
22890
22890
|
name: "rmdir",
|
|
22891
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
22891
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-7qEpm3ch.mjs")).rmdirCommand
|
|
22892
22892
|
},
|
|
22893
22893
|
{
|
|
22894
22894
|
name: "touch",
|
|
22895
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
22895
|
+
load: async () => (await import("./touch-UA33VN3N-CYYNGsxX.mjs")).touchCommand
|
|
22896
22896
|
},
|
|
22897
22897
|
{
|
|
22898
22898
|
name: "rm",
|
|
22899
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
22899
|
+
load: async () => (await import("./rm-SSGETQVQ-BdPUbcSA.mjs")).rmCommand
|
|
22900
22900
|
},
|
|
22901
22901
|
{
|
|
22902
22902
|
name: "cp",
|
|
22903
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
22903
|
+
load: async () => (await import("./cp-BISAAS7A-CD0l2j6S.mjs")).cpCommand
|
|
22904
22904
|
},
|
|
22905
22905
|
{
|
|
22906
22906
|
name: "mv",
|
|
22907
|
-
load: async () => (await import("./mv-W5BIQ646
|
|
22907
|
+
load: async () => (await import("./mv-W5BIQ646-CkHOGc9Q.mjs")).mvCommand
|
|
22908
22908
|
},
|
|
22909
22909
|
{
|
|
22910
22910
|
name: "ln",
|
|
22911
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
22911
|
+
load: async () => (await import("./ln-4LGSXXGD-ClNNg1Cy.mjs")).lnCommand
|
|
22912
22912
|
},
|
|
22913
22913
|
{
|
|
22914
22914
|
name: "chmod",
|
|
@@ -22924,15 +22924,15 @@ var tt = [
|
|
|
22924
22924
|
},
|
|
22925
22925
|
{
|
|
22926
22926
|
name: "head",
|
|
22927
|
-
load: async () => (await import("./head-442HYESI-
|
|
22927
|
+
load: async () => (await import("./head-442HYESI-D2K4P2Rx.mjs")).headCommand
|
|
22928
22928
|
},
|
|
22929
22929
|
{
|
|
22930
22930
|
name: "tail",
|
|
22931
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
22931
|
+
load: async () => (await import("./tail-R4PCA2C4-C0m4gWVg.mjs")).tailCommand
|
|
22932
22932
|
},
|
|
22933
22933
|
{
|
|
22934
22934
|
name: "wc",
|
|
22935
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
22935
|
+
load: async () => (await import("./wc-LF7NU4LA-CLSla1j9.mjs")).wcCommand
|
|
22936
22936
|
},
|
|
22937
22937
|
{
|
|
22938
22938
|
name: "stat",
|
|
@@ -22940,95 +22940,95 @@ var tt = [
|
|
|
22940
22940
|
},
|
|
22941
22941
|
{
|
|
22942
22942
|
name: "grep",
|
|
22943
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22943
|
+
load: async () => (await import("./grep-V3LQVMRQ-CRGhl-hH.mjs")).grepCommand
|
|
22944
22944
|
},
|
|
22945
22945
|
{
|
|
22946
22946
|
name: "fgrep",
|
|
22947
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22947
|
+
load: async () => (await import("./grep-V3LQVMRQ-CRGhl-hH.mjs")).fgrepCommand
|
|
22948
22948
|
},
|
|
22949
22949
|
{
|
|
22950
22950
|
name: "egrep",
|
|
22951
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22951
|
+
load: async () => (await import("./grep-V3LQVMRQ-CRGhl-hH.mjs")).egrepCommand
|
|
22952
22952
|
},
|
|
22953
22953
|
{
|
|
22954
22954
|
name: "rg",
|
|
22955
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
22955
|
+
load: async () => (await import("./rg-S4FXYXWB-CfbJks82.mjs")).rgCommand
|
|
22956
22956
|
},
|
|
22957
22957
|
{
|
|
22958
22958
|
name: "sed",
|
|
22959
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
22959
|
+
load: async () => (await import("./sed-S5UIK574-B8qqEqN7.mjs")).sedCommand
|
|
22960
22960
|
},
|
|
22961
22961
|
{
|
|
22962
22962
|
name: "awk",
|
|
22963
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
22963
|
+
load: async () => (await import("./awk2-LA3USKJP-DrEf3Uun.mjs")).awkCommand2
|
|
22964
22964
|
},
|
|
22965
22965
|
{
|
|
22966
22966
|
name: "sort",
|
|
22967
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
22967
|
+
load: async () => (await import("./sort-SW2YEO5B-BasURn2M.mjs")).sortCommand
|
|
22968
22968
|
},
|
|
22969
22969
|
{
|
|
22970
22970
|
name: "uniq",
|
|
22971
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
22971
|
+
load: async () => (await import("./uniq-XSIZR6PB-BwYAICy3.mjs")).uniqCommand
|
|
22972
22972
|
},
|
|
22973
22973
|
{
|
|
22974
22974
|
name: "comm",
|
|
22975
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
22975
|
+
load: async () => (await import("./comm-VV2LDX2J-Cr3fn9ep.mjs")).commCommand
|
|
22976
22976
|
},
|
|
22977
22977
|
{
|
|
22978
22978
|
name: "cut",
|
|
22979
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
22979
|
+
load: async () => (await import("./cut-OKARJCCV-pPeOI4pV.mjs")).cutCommand
|
|
22980
22980
|
},
|
|
22981
22981
|
{
|
|
22982
22982
|
name: "paste",
|
|
22983
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
22983
|
+
load: async () => (await import("./paste-7JC6S4DX-Dceo81cs.mjs")).pasteCommand
|
|
22984
22984
|
},
|
|
22985
22985
|
{
|
|
22986
22986
|
name: "tr",
|
|
22987
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
22987
|
+
load: async () => (await import("./tr-36LHWFRQ-BZLwuNdf.mjs")).trCommand
|
|
22988
22988
|
},
|
|
22989
22989
|
{
|
|
22990
22990
|
name: "rev",
|
|
22991
|
-
load: async () => (await import("./rev-5EHFX4EJ-
|
|
22991
|
+
load: async () => (await import("./rev-5EHFX4EJ-DBKj178x.mjs")).rev
|
|
22992
22992
|
},
|
|
22993
22993
|
{
|
|
22994
22994
|
name: "nl",
|
|
22995
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
22995
|
+
load: async () => (await import("./nl-WSDW7I4O-DcnQr_YU.mjs")).nl
|
|
22996
22996
|
},
|
|
22997
22997
|
{
|
|
22998
22998
|
name: "fold",
|
|
22999
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
22999
|
+
load: async () => (await import("./fold-4TQNYMSW-DjysK6jz.mjs")).fold
|
|
23000
23000
|
},
|
|
23001
23001
|
{
|
|
23002
23002
|
name: "expand",
|
|
23003
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23003
|
+
load: async () => (await import("./expand-JSPG6VOP-DJYQaAxG.mjs")).expand
|
|
23004
23004
|
},
|
|
23005
23005
|
{
|
|
23006
23006
|
name: "unexpand",
|
|
23007
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23007
|
+
load: async () => (await import("./unexpand-CADSA4VO-DUthCz4d.mjs")).unexpand
|
|
23008
23008
|
},
|
|
23009
23009
|
{
|
|
23010
23010
|
name: "strings",
|
|
23011
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23011
|
+
load: async () => (await import("./strings-6WDHLGMX-D0LcXDFx.mjs")).strings
|
|
23012
23012
|
},
|
|
23013
23013
|
{
|
|
23014
23014
|
name: "split",
|
|
23015
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23015
|
+
load: async () => (await import("./split-4KKZZXXE-LDm7N7LX.mjs")).split
|
|
23016
23016
|
},
|
|
23017
23017
|
{
|
|
23018
23018
|
name: "column",
|
|
23019
|
-
load: async () => (await import("./column-XT6UFXNQ-
|
|
23019
|
+
load: async () => (await import("./column-XT6UFXNQ-CZo7OrD_.mjs")).column
|
|
23020
23020
|
},
|
|
23021
23021
|
{
|
|
23022
23022
|
name: "join",
|
|
23023
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23023
|
+
load: async () => (await import("./join-TBRGI3LQ-DIrfY00Z.mjs")).join
|
|
23024
23024
|
},
|
|
23025
23025
|
{
|
|
23026
23026
|
name: "tee",
|
|
23027
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23027
|
+
load: async () => (await import("./tee-YUZ2FKCJ-BGkM9X-8.mjs")).teeCommand
|
|
23028
23028
|
},
|
|
23029
23029
|
{
|
|
23030
23030
|
name: "find",
|
|
23031
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23031
|
+
load: async () => (await import("./find-INTH3OLC-ClF5kwZG.mjs")).findCommand
|
|
23032
23032
|
},
|
|
23033
23033
|
{
|
|
23034
23034
|
name: "basename",
|
|
@@ -23040,19 +23040,19 @@ var tt = [
|
|
|
23040
23040
|
},
|
|
23041
23041
|
{
|
|
23042
23042
|
name: "tree",
|
|
23043
|
-
load: async () => (await import("./tree-YLD52CNT-
|
|
23043
|
+
load: async () => (await import("./tree-YLD52CNT-CGsTtWjg.mjs")).treeCommand
|
|
23044
23044
|
},
|
|
23045
23045
|
{
|
|
23046
23046
|
name: "du",
|
|
23047
|
-
load: async () => (await import("./du-572XNP42-
|
|
23047
|
+
load: async () => (await import("./du-572XNP42-Bi0-KMxE.mjs")).duCommand
|
|
23048
23048
|
},
|
|
23049
23049
|
{
|
|
23050
23050
|
name: "env",
|
|
23051
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23051
|
+
load: async () => (await import("./env-36M5BO7M-B2ZQBR_W.mjs")).envCommand
|
|
23052
23052
|
},
|
|
23053
23053
|
{
|
|
23054
23054
|
name: "printenv",
|
|
23055
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23055
|
+
load: async () => (await import("./env-36M5BO7M-B2ZQBR_W.mjs")).printenvCommand
|
|
23056
23056
|
},
|
|
23057
23057
|
{
|
|
23058
23058
|
name: "alias",
|
|
@@ -23068,7 +23068,7 @@ var tt = [
|
|
|
23068
23068
|
},
|
|
23069
23069
|
{
|
|
23070
23070
|
name: "xargs",
|
|
23071
|
-
load: async () => (await import("./xargs-MGZPH7AX-
|
|
23071
|
+
load: async () => (await import("./xargs-MGZPH7AX-Bwjic2g0.mjs")).xargsCommand
|
|
23072
23072
|
},
|
|
23073
23073
|
{
|
|
23074
23074
|
name: "true",
|
|
@@ -23084,23 +23084,23 @@ var tt = [
|
|
|
23084
23084
|
},
|
|
23085
23085
|
{
|
|
23086
23086
|
name: "bash",
|
|
23087
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23087
|
+
load: async () => (await import("./bash-YZ33HQZQ-CqTY_Msm.mjs")).bashCommand
|
|
23088
23088
|
},
|
|
23089
23089
|
{
|
|
23090
23090
|
name: "sh",
|
|
23091
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23091
|
+
load: async () => (await import("./bash-YZ33HQZQ-CqTY_Msm.mjs")).shCommand
|
|
23092
23092
|
},
|
|
23093
23093
|
{
|
|
23094
23094
|
name: "jq",
|
|
23095
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23095
|
+
load: async () => (await import("./jq-4XLYLOS5-CJSJUTCm.mjs")).jqCommand
|
|
23096
23096
|
},
|
|
23097
23097
|
{
|
|
23098
23098
|
name: "base64",
|
|
23099
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23099
|
+
load: async () => (await import("./base64-C2AIWVNC-djynB-LN.mjs")).base64Command
|
|
23100
23100
|
},
|
|
23101
23101
|
{
|
|
23102
23102
|
name: "diff",
|
|
23103
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23103
|
+
load: async () => (await import("./diff-MWJFIG7X-DkYjYoZo.mjs")).diffCommand
|
|
23104
23104
|
},
|
|
23105
23105
|
{
|
|
23106
23106
|
name: "date",
|
|
@@ -23108,15 +23108,15 @@ var tt = [
|
|
|
23108
23108
|
},
|
|
23109
23109
|
{
|
|
23110
23110
|
name: "sleep",
|
|
23111
|
-
load: async () => (await import("./sleep-X22JJINO-
|
|
23111
|
+
load: async () => (await import("./sleep-X22JJINO-BgZpdeut.mjs")).sleepCommand
|
|
23112
23112
|
},
|
|
23113
23113
|
{
|
|
23114
23114
|
name: "timeout",
|
|
23115
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23115
|
+
load: async () => (await import("./timeout-YDCRSLPQ-DhohmXQo.mjs")).timeoutCommand
|
|
23116
23116
|
},
|
|
23117
23117
|
{
|
|
23118
23118
|
name: "time",
|
|
23119
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23119
|
+
load: async () => (await import("./time-D4LNBSWX-C4SnR475.mjs")).timeCommand
|
|
23120
23120
|
},
|
|
23121
23121
|
{
|
|
23122
23122
|
name: "seq",
|
|
@@ -23124,19 +23124,19 @@ var tt = [
|
|
|
23124
23124
|
},
|
|
23125
23125
|
{
|
|
23126
23126
|
name: "expr",
|
|
23127
|
-
load: async () => (await import("./expr-5JAACS4X-
|
|
23127
|
+
load: async () => (await import("./expr-5JAACS4X-DFoRd5UC.mjs")).exprCommand
|
|
23128
23128
|
},
|
|
23129
23129
|
{
|
|
23130
23130
|
name: "md5sum",
|
|
23131
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23131
|
+
load: async () => (await import("./md5sum-SPU24VSG-Vo4Y6Bwo.mjs")).md5sumCommand
|
|
23132
23132
|
},
|
|
23133
23133
|
{
|
|
23134
23134
|
name: "sha1sum",
|
|
23135
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23135
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-B5XVCpai.mjs")).sha1sumCommand
|
|
23136
23136
|
},
|
|
23137
23137
|
{
|
|
23138
23138
|
name: "sha256sum",
|
|
23139
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23139
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-y38zZDmN.mjs")).sha256sumCommand
|
|
23140
23140
|
},
|
|
23141
23141
|
{
|
|
23142
23142
|
name: "file",
|
|
@@ -23144,11 +23144,11 @@ var tt = [
|
|
|
23144
23144
|
},
|
|
23145
23145
|
{
|
|
23146
23146
|
name: "html-to-markdown",
|
|
23147
|
-
load: async () => (await import("./html-to-markdown-JW4MSQZO-
|
|
23147
|
+
load: async () => (await import("./html-to-markdown-JW4MSQZO-4_Loe9rX.mjs")).htmlToMarkdownCommand
|
|
23148
23148
|
},
|
|
23149
23149
|
{
|
|
23150
23150
|
name: "help",
|
|
23151
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23151
|
+
load: async () => (await import("./help-HZ6M2CKN-BigqAuYz.mjs")).helpCommand
|
|
23152
23152
|
},
|
|
23153
23153
|
{
|
|
23154
23154
|
name: "which",
|
|
@@ -23156,7 +23156,7 @@ var tt = [
|
|
|
23156
23156
|
},
|
|
23157
23157
|
{
|
|
23158
23158
|
name: "tac",
|
|
23159
|
-
load: async () => (await import("./tac-2STMMJYW-
|
|
23159
|
+
load: async () => (await import("./tac-2STMMJYW-BDGG9txz.mjs")).tac
|
|
23160
23160
|
},
|
|
23161
23161
|
{
|
|
23162
23162
|
name: "hostname",
|
|
@@ -23168,49 +23168,49 @@ var tt = [
|
|
|
23168
23168
|
},
|
|
23169
23169
|
{
|
|
23170
23170
|
name: "od",
|
|
23171
|
-
load: async () => (await import("./od-WOKFDJTP-
|
|
23171
|
+
load: async () => (await import("./od-WOKFDJTP-7LuMpI2U.mjs")).od
|
|
23172
23172
|
},
|
|
23173
23173
|
{
|
|
23174
23174
|
name: "gzip",
|
|
23175
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23175
|
+
load: async () => (await import("./gzip-O5ASJAFY-BCEAveca.mjs")).gzipCommand
|
|
23176
23176
|
},
|
|
23177
23177
|
{
|
|
23178
23178
|
name: "gunzip",
|
|
23179
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23179
|
+
load: async () => (await import("./gzip-O5ASJAFY-BCEAveca.mjs")).gunzipCommand
|
|
23180
23180
|
},
|
|
23181
23181
|
{
|
|
23182
23182
|
name: "zcat",
|
|
23183
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23183
|
+
load: async () => (await import("./gzip-O5ASJAFY-BCEAveca.mjs")).zcatCommand
|
|
23184
23184
|
}
|
|
23185
23185
|
];
|
|
23186
23186
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (tt.push({
|
|
23187
23187
|
name: "tar",
|
|
23188
|
-
load: async () => (await import("./tar-STHHZTZ6-
|
|
23188
|
+
load: async () => (await import("./tar-STHHZTZ6-CBG0MLK3.mjs")).tarCommand
|
|
23189
23189
|
}), tt.push({
|
|
23190
23190
|
name: "yq",
|
|
23191
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23191
|
+
load: async () => (await import("./yq-4QJW3EQG-kSAxPXo0.mjs")).yqCommand
|
|
23192
23192
|
}), tt.push({
|
|
23193
23193
|
name: "xan",
|
|
23194
|
-
load: async () => (await import("./xan-Y6WF3IRG-
|
|
23194
|
+
load: async () => (await import("./xan-Y6WF3IRG-CXzjrrLb.mjs")).xanCommand
|
|
23195
23195
|
}), tt.push({
|
|
23196
23196
|
name: "sqlite3",
|
|
23197
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23197
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-Do3UIKvD.mjs")).sqlite3Command
|
|
23198
23198
|
}));
|
|
23199
23199
|
var Yt = [];
|
|
23200
23200
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Yt.push({
|
|
23201
23201
|
name: "python3",
|
|
23202
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23202
|
+
load: async () => (await import("./python3-POMOR4OA-BI70uHzz.mjs")).python3Command
|
|
23203
23203
|
}), Yt.push({
|
|
23204
23204
|
name: "python",
|
|
23205
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23205
|
+
load: async () => (await import("./python3-POMOR4OA-BI70uHzz.mjs")).pythonCommand
|
|
23206
23206
|
}));
|
|
23207
23207
|
var Qt = [];
|
|
23208
23208
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Qt.push({
|
|
23209
23209
|
name: "js-exec",
|
|
23210
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23210
|
+
load: async () => (await import("./js-exec-N5KEZBH7-px0wOLlZ.mjs")).jsExecCommand
|
|
23211
23211
|
}), Qt.push({
|
|
23212
23212
|
name: "node",
|
|
23213
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23213
|
+
load: async () => (await import("./js-exec-N5KEZBH7-px0wOLlZ.mjs")).nodeStubCommand
|
|
23214
23214
|
}));
|
|
23215
23215
|
new TextEncoder();
|
|
23216
23216
|
Object.freeze({
|
|
@@ -24587,6 +24587,35 @@ function mountAuth(app, auth) {
|
|
|
24587
24587
|
app.on(["POST", "GET"], AUTH_API_PATH, (c) => handleAuthRequest(auth, c.req.raw));
|
|
24588
24588
|
}
|
|
24589
24589
|
//#endregion
|
|
24590
|
+
//#region src/oauth-client-metadata.ts
|
|
24591
|
+
/** Canonical path for Keystroke's outbound MCP OAuth Client ID Metadata Document. */
|
|
24592
|
+
const OAUTH_CLIENT_METADATA_PATH = "/.well-known/oauth-client-metadata";
|
|
24593
|
+
/** Outbound MCP OAuth callback path (must stay in sync with account mount). */
|
|
24594
|
+
const MCP_OAUTH_CALLBACK_PATH = "/api/mcp/oauth/callback";
|
|
24595
|
+
/** HTTPS URL of the CIMD document for the current external platform origin. */
|
|
24596
|
+
function resolveOAuthClientMetadataUrl(env = process.env) {
|
|
24597
|
+
const origin = resolveExternalPlatformOrigin(env)?.replace(/\/+$/, "");
|
|
24598
|
+
if (!origin) return;
|
|
24599
|
+
return `${origin}${OAUTH_CLIENT_METADATA_PATH}`;
|
|
24600
|
+
}
|
|
24601
|
+
/** HTTPS redirect URI used for outbound MCP OAuth connects. */
|
|
24602
|
+
function resolveMcpOAuthCallbackUrl(env = process.env) {
|
|
24603
|
+
const origin = resolveExternalPlatformOrigin(env)?.replace(/\/+$/, "");
|
|
24604
|
+
if (!origin) return;
|
|
24605
|
+
return `${origin}${MCP_OAUTH_CALLBACK_PATH}`;
|
|
24606
|
+
}
|
|
24607
|
+
/** Build the CIMD JSON body. `client_id` must exactly match the document URL. */
|
|
24608
|
+
function buildOAuthClientMetadataDocument(clientMetadataUrl, redirectUri) {
|
|
24609
|
+
return {
|
|
24610
|
+
client_id: clientMetadataUrl,
|
|
24611
|
+
client_name: "Keystroke",
|
|
24612
|
+
redirect_uris: [redirectUri],
|
|
24613
|
+
grant_types: ["authorization_code", "refresh_token"],
|
|
24614
|
+
response_types: ["code"],
|
|
24615
|
+
token_endpoint_auth_method: "none"
|
|
24616
|
+
};
|
|
24617
|
+
}
|
|
24618
|
+
//#endregion
|
|
24590
24619
|
//#region ../../packages/access-control/dist/index.mjs
|
|
24591
24620
|
const apiKeysActions = {
|
|
24592
24621
|
read: "apiKeys:read",
|
|
@@ -24966,7 +24995,7 @@ function withOrganizationProjectDatabase() {
|
|
|
24966
24995
|
}
|
|
24967
24996
|
//#endregion
|
|
24968
24997
|
//#region src/routes/account/users/me/avatar/GET.ts
|
|
24969
|
-
const handler$
|
|
24998
|
+
const handler$100 = async (c) => {
|
|
24970
24999
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24971
25000
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24972
25001
|
return c.json(UserAvatarSchema.parse({ url: dbUser.image ?? null }));
|
|
@@ -24985,7 +25014,7 @@ function avatarExtensionForContentType(contentType) {
|
|
|
24985
25014
|
}
|
|
24986
25015
|
//#endregion
|
|
24987
25016
|
//#region src/routes/account/users/me/avatar/presign/POST.ts
|
|
24988
|
-
const handler$
|
|
25017
|
+
const handler$99 = async (c) => {
|
|
24989
25018
|
const parsed = PresignUserAvatarRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24990
25019
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar upload request" }), 400);
|
|
24991
25020
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25025,7 +25054,7 @@ async function deleteStoredImageIfOwned(input) {
|
|
|
25025
25054
|
}
|
|
25026
25055
|
//#endregion
|
|
25027
25056
|
//#region src/routes/account/users/me/avatar/PATCH.ts
|
|
25028
|
-
const handler$
|
|
25057
|
+
const handler$98 = async (c) => {
|
|
25029
25058
|
const parsed = UserAvatarPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25030
25059
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar update" }), 400);
|
|
25031
25060
|
const user = c.get("user");
|
|
@@ -25067,14 +25096,14 @@ const handler$97 = async (c) => {
|
|
|
25067
25096
|
};
|
|
25068
25097
|
//#endregion
|
|
25069
25098
|
//#region src/routes/account/users/me/preferences/GET.ts
|
|
25070
|
-
const handler$
|
|
25099
|
+
const handler$97 = async (c) => {
|
|
25071
25100
|
const dbUser = await selectUserById(c.get("user").id);
|
|
25072
25101
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
25073
25102
|
return c.json(UserPreferencesSchema.parse(normalizeUserPreferences(dbUser.preferences)));
|
|
25074
25103
|
};
|
|
25075
25104
|
//#endregion
|
|
25076
25105
|
//#region src/routes/account/users/me/preferences/PATCH.ts
|
|
25077
|
-
const handler$
|
|
25106
|
+
const handler$96 = async (c) => {
|
|
25078
25107
|
const parsed = UserPreferencesPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25079
25108
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid preferences update" }), 400);
|
|
25080
25109
|
const user = c.get("user");
|
|
@@ -25089,7 +25118,7 @@ const handler$95 = async (c) => {
|
|
|
25089
25118
|
};
|
|
25090
25119
|
//#endregion
|
|
25091
25120
|
//#region src/routes/account/organizations/GET.ts
|
|
25092
|
-
const handler$
|
|
25121
|
+
const handler$95 = async (c) => {
|
|
25093
25122
|
const memberships = await selectUserOrganizations(c.get("user").id);
|
|
25094
25123
|
return c.json(ListOrganizationsResponseSchema.parse(memberships.map(mapUserOrganization)));
|
|
25095
25124
|
};
|
|
@@ -25167,7 +25196,7 @@ function createOrganizationHandler(deps) {
|
|
|
25167
25196
|
}
|
|
25168
25197
|
//#endregion
|
|
25169
25198
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
25170
|
-
const handler$
|
|
25199
|
+
const handler$94 = async (c) => {
|
|
25171
25200
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
25172
25201
|
slug: c.req.query("slug"),
|
|
25173
25202
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -25178,7 +25207,7 @@ const handler$93 = async (c) => {
|
|
|
25178
25207
|
};
|
|
25179
25208
|
//#endregion
|
|
25180
25209
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
25181
|
-
const handler$
|
|
25210
|
+
const handler$93 = async (c) => {
|
|
25182
25211
|
const { organizationId } = c.get("organization");
|
|
25183
25212
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
25184
25213
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -25186,7 +25215,7 @@ const handler$92 = async (c) => {
|
|
|
25186
25215
|
};
|
|
25187
25216
|
//#endregion
|
|
25188
25217
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
25189
|
-
const handler$
|
|
25218
|
+
const handler$92 = async (c) => {
|
|
25190
25219
|
const organization = c.get("organization");
|
|
25191
25220
|
const body = await c.req.json().catch(() => null);
|
|
25192
25221
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -25211,7 +25240,7 @@ const handler$91 = async (c) => {
|
|
|
25211
25240
|
};
|
|
25212
25241
|
//#endregion
|
|
25213
25242
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
25214
|
-
const handler$
|
|
25243
|
+
const handler$91 = async (c) => {
|
|
25215
25244
|
const { organizationId } = c.get("organization");
|
|
25216
25245
|
const organization = await selectOrganizationById(organizationId);
|
|
25217
25246
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -25260,7 +25289,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
25260
25289
|
publicUrl: finalized.publicUrl
|
|
25261
25290
|
};
|
|
25262
25291
|
}
|
|
25263
|
-
const handler$
|
|
25292
|
+
const handler$90 = async (c) => {
|
|
25264
25293
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25265
25294
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
25266
25295
|
const { organizationId } = c.get("organization");
|
|
@@ -25288,7 +25317,7 @@ const handler$89 = async (c) => {
|
|
|
25288
25317
|
};
|
|
25289
25318
|
//#endregion
|
|
25290
25319
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
25291
|
-
const handler$
|
|
25320
|
+
const handler$89 = async (c) => {
|
|
25292
25321
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
25293
25322
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
25294
25323
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25393,7 +25422,7 @@ async function attachRanAsToDetail(detail, ranByUserId) {
|
|
|
25393
25422
|
}
|
|
25394
25423
|
//#endregion
|
|
25395
25424
|
//#region src/routes/account/history/GET.ts
|
|
25396
|
-
const handler$
|
|
25425
|
+
const handler$88 = async (c) => {
|
|
25397
25426
|
const organization = c.get("organization");
|
|
25398
25427
|
const ctx = accessContext(c);
|
|
25399
25428
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -25418,7 +25447,7 @@ const handler$87 = async (c) => {
|
|
|
25418
25447
|
};
|
|
25419
25448
|
//#endregion
|
|
25420
25449
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
25421
|
-
const handler$
|
|
25450
|
+
const handler$87 = async (c) => {
|
|
25422
25451
|
const runId = c.req.param("runId") ?? "";
|
|
25423
25452
|
if (!runId) return c.json(null, 404);
|
|
25424
25453
|
const core = await findHistoryRunCore(runId);
|
|
@@ -25476,7 +25505,7 @@ function toAgentSummary(row, options) {
|
|
|
25476
25505
|
}
|
|
25477
25506
|
//#endregion
|
|
25478
25507
|
//#region src/routes/account/agents/GET.ts
|
|
25479
|
-
const handler$
|
|
25508
|
+
const handler$86 = async (c) => {
|
|
25480
25509
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
25481
25510
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
25482
25511
|
const rows = await listActiveAgents(filter);
|
|
@@ -25490,7 +25519,7 @@ function touchResourceActivityBestEffort(options) {
|
|
|
25490
25519
|
}
|
|
25491
25520
|
//#endregion
|
|
25492
25521
|
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
25493
|
-
const handler$
|
|
25522
|
+
const handler$85 = async (c) => {
|
|
25494
25523
|
const agentId = c.req.param("agentId") ?? "";
|
|
25495
25524
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25496
25525
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
@@ -25513,7 +25542,7 @@ const handler$84 = async (c) => {
|
|
|
25513
25542
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
25514
25543
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
25515
25544
|
}
|
|
25516
|
-
const handler$
|
|
25545
|
+
const handler$84 = async (c) => {
|
|
25517
25546
|
const agentId = c.req.param("agentId") ?? "";
|
|
25518
25547
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25519
25548
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25538,7 +25567,7 @@ function isStorageNotFoundError(error) {
|
|
|
25538
25567
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
25539
25568
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
25540
25569
|
}
|
|
25541
|
-
const handler$
|
|
25570
|
+
const handler$83 = async (c) => {
|
|
25542
25571
|
const agentId = c.req.param("agentId") ?? "";
|
|
25543
25572
|
const path = c.req.query("path");
|
|
25544
25573
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25592,7 +25621,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
25592
25621
|
}
|
|
25593
25622
|
//#endregion
|
|
25594
25623
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
25595
|
-
const handler$
|
|
25624
|
+
const handler$82 = async (c) => {
|
|
25596
25625
|
const agentId = c.req.param("agentId") ?? "";
|
|
25597
25626
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25598
25627
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25615,7 +25644,7 @@ const handler$81 = async (c) => {
|
|
|
25615
25644
|
};
|
|
25616
25645
|
//#endregion
|
|
25617
25646
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
25618
|
-
const handler$
|
|
25647
|
+
const handler$81 = async (c) => {
|
|
25619
25648
|
const agentId = c.req.param("agentId") ?? "";
|
|
25620
25649
|
const path = c.req.query("path");
|
|
25621
25650
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25664,7 +25693,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
25664
25693
|
}
|
|
25665
25694
|
//#endregion
|
|
25666
25695
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
25667
|
-
const handler$
|
|
25696
|
+
const handler$80 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
25668
25697
|
//#endregion
|
|
25669
25698
|
//#region src/routes/account/resources/workflows.ts
|
|
25670
25699
|
function toWorkflowSummary(row, options) {
|
|
@@ -25681,7 +25710,7 @@ function toWorkflowSummary(row, options) {
|
|
|
25681
25710
|
}
|
|
25682
25711
|
//#endregion
|
|
25683
25712
|
//#region src/routes/account/workflows/GET.ts
|
|
25684
|
-
const handler$
|
|
25713
|
+
const handler$79 = async (c) => {
|
|
25685
25714
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
25686
25715
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
25687
25716
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -25690,7 +25719,7 @@ const handler$78 = async (c) => {
|
|
|
25690
25719
|
};
|
|
25691
25720
|
//#endregion
|
|
25692
25721
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
25693
|
-
const handler$
|
|
25722
|
+
const handler$78 = async (c) => {
|
|
25694
25723
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
25695
25724
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
25696
25725
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -26130,7 +26159,7 @@ function buildWorkflowCanvas(input) {
|
|
|
26130
26159
|
//#region src/routes/account/workflows/[workflowId]/canvas/GET.ts
|
|
26131
26160
|
/** Bumped when the annotation prompt/model changes, so cached annotations invalidate. */
|
|
26132
26161
|
const ANNOTATIONS_GENERATOR_VERSION = "wf-canvas-annotations-v1";
|
|
26133
|
-
const handler$
|
|
26162
|
+
const handler$77 = async (c) => {
|
|
26134
26163
|
const organization = c.get("organization");
|
|
26135
26164
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26136
26165
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26303,7 +26332,7 @@ function toBinding(key, description) {
|
|
|
26303
26332
|
* each of its requirements currently binds to (read-only, no decryption). Not
|
|
26304
26333
|
* content-hash cached — credential state changes without a redeploy.
|
|
26305
26334
|
*/
|
|
26306
|
-
const handler$
|
|
26335
|
+
const handler$76 = async (c) => {
|
|
26307
26336
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26308
26337
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26309
26338
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26462,7 +26491,7 @@ function toCanvasRunStatus(status) {
|
|
|
26462
26491
|
if (status === "canceled") return "canceled";
|
|
26463
26492
|
return "running";
|
|
26464
26493
|
}
|
|
26465
|
-
const handler$
|
|
26494
|
+
const handler$75 = async (c) => {
|
|
26466
26495
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26467
26496
|
const runId = c.req.param("runId") ?? "";
|
|
26468
26497
|
if (!workflowId.trim() || !runId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow or run id" }), 400);
|
|
@@ -26517,7 +26546,7 @@ async function loadWorkflowSource(organization, projectId, sourcePath) {
|
|
|
26517
26546
|
return null;
|
|
26518
26547
|
}
|
|
26519
26548
|
}
|
|
26520
|
-
const handler$
|
|
26549
|
+
const handler$74 = async (c) => {
|
|
26521
26550
|
const organization = c.get("organization");
|
|
26522
26551
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26523
26552
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26618,7 +26647,7 @@ const handler$73 = async (c) => {
|
|
|
26618
26647
|
};
|
|
26619
26648
|
//#endregion
|
|
26620
26649
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/GET.ts
|
|
26621
|
-
const handler$
|
|
26650
|
+
const handler$73 = async (c) => {
|
|
26622
26651
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26623
26652
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26624
26653
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26633,7 +26662,7 @@ const handler$72 = async (c) => {
|
|
|
26633
26662
|
};
|
|
26634
26663
|
//#endregion
|
|
26635
26664
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/PUT.ts
|
|
26636
|
-
const handler$
|
|
26665
|
+
const handler$72 = async (c) => {
|
|
26637
26666
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26638
26667
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26639
26668
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26665,7 +26694,7 @@ function parseRunInput(requestSchema, input) {
|
|
|
26665
26694
|
* the active deploy's request schema, creates a pending run, and enqueues it on
|
|
26666
26695
|
* the project's queue (drained by the project runtime worker). Returns the run id.
|
|
26667
26696
|
*/
|
|
26668
|
-
const handler$
|
|
26697
|
+
const handler$71 = async (c) => {
|
|
26669
26698
|
const { organizationId } = c.get("organization");
|
|
26670
26699
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26671
26700
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26702,7 +26731,7 @@ const handler$70 = async (c) => {
|
|
|
26702
26731
|
};
|
|
26703
26732
|
//#endregion
|
|
26704
26733
|
//#region src/routes/account/workflows/[workflowId]/runs/GET.ts
|
|
26705
|
-
const handler$
|
|
26734
|
+
const handler$70 = async (c) => {
|
|
26706
26735
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26707
26736
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26708
26737
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26725,7 +26754,7 @@ const handler$69 = async (c) => {
|
|
|
26725
26754
|
};
|
|
26726
26755
|
//#endregion
|
|
26727
26756
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
26728
|
-
const handler$
|
|
26757
|
+
const handler$69 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
26729
26758
|
//#endregion
|
|
26730
26759
|
//#region src/routes/account/resources/skills.ts
|
|
26731
26760
|
function toSkillSummary(row) {
|
|
@@ -26742,7 +26771,7 @@ function toSkillSummary(row) {
|
|
|
26742
26771
|
}
|
|
26743
26772
|
//#endregion
|
|
26744
26773
|
//#region src/routes/account/skills/GET.ts
|
|
26745
|
-
const handler$
|
|
26774
|
+
const handler$68 = async (c) => {
|
|
26746
26775
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
26747
26776
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
26748
26777
|
const rows = await listActiveSkills(filter);
|
|
@@ -26750,7 +26779,7 @@ const handler$67 = async (c) => {
|
|
|
26750
26779
|
};
|
|
26751
26780
|
//#endregion
|
|
26752
26781
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
26753
|
-
const handler$
|
|
26782
|
+
const handler$67 = async (c) => {
|
|
26754
26783
|
const skillId = c.req.param("skillId") ?? "";
|
|
26755
26784
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
26756
26785
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -26859,7 +26888,7 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
26859
26888
|
}
|
|
26860
26889
|
//#endregion
|
|
26861
26890
|
//#region src/routes/account/triggers/GET.ts
|
|
26862
|
-
const handler$
|
|
26891
|
+
const handler$66 = async (c) => {
|
|
26863
26892
|
const organization = c.get("organization");
|
|
26864
26893
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
26865
26894
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
@@ -26871,7 +26900,7 @@ const handler$65 = async (c) => {
|
|
|
26871
26900
|
};
|
|
26872
26901
|
//#endregion
|
|
26873
26902
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
26874
|
-
const handler$
|
|
26903
|
+
const handler$65 = async (c) => {
|
|
26875
26904
|
const organization = c.get("organization");
|
|
26876
26905
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26877
26906
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26887,7 +26916,7 @@ const handler$64 = async (c) => {
|
|
|
26887
26916
|
};
|
|
26888
26917
|
//#endregion
|
|
26889
26918
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
26890
|
-
const handler$
|
|
26919
|
+
const handler$64 = async (c) => {
|
|
26891
26920
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26892
26921
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
26893
26922
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -26916,7 +26945,7 @@ const handler$63 = async (c) => {
|
|
|
26916
26945
|
};
|
|
26917
26946
|
//#endregion
|
|
26918
26947
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
26919
|
-
const handler$
|
|
26948
|
+
const handler$63 = async (c) => {
|
|
26920
26949
|
const { organizationId } = c.get("organization");
|
|
26921
26950
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26922
26951
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26953,7 +26982,7 @@ function envelope(row, status, hash) {
|
|
|
26953
26982
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
26954
26983
|
});
|
|
26955
26984
|
}
|
|
26956
|
-
const handler$
|
|
26985
|
+
const handler$62 = async (c) => {
|
|
26957
26986
|
const { organizationId } = c.get("organization");
|
|
26958
26987
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26959
26988
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -27013,7 +27042,7 @@ const handler$61 = async (c) => {
|
|
|
27013
27042
|
};
|
|
27014
27043
|
//#endregion
|
|
27015
27044
|
//#region src/routes/account/triggers/[triggerId]/attachments/[attachmentId]/PATCH.ts
|
|
27016
|
-
const handler$
|
|
27045
|
+
const handler$61 = async (c) => {
|
|
27017
27046
|
const organization = c.get("organization");
|
|
27018
27047
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27019
27048
|
const attachmentId = c.req.param("attachmentId") ?? "";
|
|
@@ -27083,7 +27112,7 @@ var InvokeHttpError = class extends Error {
|
|
|
27083
27112
|
* Manually invoke a trigger from the dashboard or CLI. Validates webhook input against
|
|
27084
27113
|
* stored attachment schemas, then enqueues a trigger job on the project's queue.
|
|
27085
27114
|
*/
|
|
27086
|
-
const handler$
|
|
27115
|
+
const handler$60 = async (c) => {
|
|
27087
27116
|
const { organizationId } = c.get("organization");
|
|
27088
27117
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27089
27118
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -27156,7 +27185,7 @@ const handler$59 = async (c) => {
|
|
|
27156
27185
|
* Form metadata for the dashboard invoke popover: webhook request schemas and
|
|
27157
27186
|
* cron's read-only static payload.
|
|
27158
27187
|
*/
|
|
27159
|
-
const handler$
|
|
27188
|
+
const handler$59 = async (c) => {
|
|
27160
27189
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27161
27190
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
27162
27191
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -27222,7 +27251,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
27222
27251
|
//#endregion
|
|
27223
27252
|
//#region src/routes/account/recents/GET.ts
|
|
27224
27253
|
const RECENTS_LIMIT = 50;
|
|
27225
|
-
const handler$
|
|
27254
|
+
const handler$58 = async (c) => {
|
|
27226
27255
|
const userId = c.get("user").id;
|
|
27227
27256
|
const organization = c.get("organization");
|
|
27228
27257
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -27248,7 +27277,7 @@ const handler$57 = async (c) => {
|
|
|
27248
27277
|
};
|
|
27249
27278
|
//#endregion
|
|
27250
27279
|
//#region src/routes/account/projects/GET.ts
|
|
27251
|
-
const handler$
|
|
27280
|
+
const handler$57 = async (c) => {
|
|
27252
27281
|
const organization = c.get("organization");
|
|
27253
27282
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27254
27283
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -27274,7 +27303,7 @@ function mergeProjectListMetrics(input) {
|
|
|
27274
27303
|
}
|
|
27275
27304
|
//#endregion
|
|
27276
27305
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
27277
|
-
const handler$
|
|
27306
|
+
const handler$56 = async (c) => {
|
|
27278
27307
|
const organization = c.get("organization");
|
|
27279
27308
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27280
27309
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -27290,7 +27319,7 @@ const handler$55 = async (c) => {
|
|
|
27290
27319
|
};
|
|
27291
27320
|
//#endregion
|
|
27292
27321
|
//#region src/routes/account/projects/POST.ts
|
|
27293
|
-
const handler$
|
|
27322
|
+
const handler$55 = async (c) => {
|
|
27294
27323
|
const organization = c.get("organization");
|
|
27295
27324
|
const user = c.get("user");
|
|
27296
27325
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27301,7 +27330,7 @@ const handler$54 = async (c) => {
|
|
|
27301
27330
|
};
|
|
27302
27331
|
//#endregion
|
|
27303
27332
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
27304
|
-
const handler$
|
|
27333
|
+
const handler$54 = async (c) => {
|
|
27305
27334
|
const organization = c.get("organization");
|
|
27306
27335
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
27307
27336
|
slug: c.req.query("slug"),
|
|
@@ -27313,12 +27342,12 @@ const handler$53 = async (c) => {
|
|
|
27313
27342
|
};
|
|
27314
27343
|
//#endregion
|
|
27315
27344
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
27316
|
-
const handler$
|
|
27345
|
+
const handler$53 = async (c) => {
|
|
27317
27346
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
27318
27347
|
};
|
|
27319
27348
|
//#endregion
|
|
27320
27349
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
27321
|
-
const handler$
|
|
27350
|
+
const handler$52 = async (c) => {
|
|
27322
27351
|
const organization = c.get("organization");
|
|
27323
27352
|
const project = c.get("project");
|
|
27324
27353
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27336,7 +27365,7 @@ const handler$51 = async (c) => {
|
|
|
27336
27365
|
};
|
|
27337
27366
|
//#endregion
|
|
27338
27367
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
27339
|
-
const handler$
|
|
27368
|
+
const handler$51 = async (c) => {
|
|
27340
27369
|
const organization = c.get("organization");
|
|
27341
27370
|
const project = c.get("project");
|
|
27342
27371
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -27344,7 +27373,7 @@ const handler$50 = async (c) => {
|
|
|
27344
27373
|
};
|
|
27345
27374
|
//#endregion
|
|
27346
27375
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
27347
|
-
const handler$
|
|
27376
|
+
const handler$50 = async (c) => {
|
|
27348
27377
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
27349
27378
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
27350
27379
|
};
|
|
@@ -27352,7 +27381,7 @@ const handler$49 = async (c) => {
|
|
|
27352
27381
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
27353
27382
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
27354
27383
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
27355
|
-
const handler$
|
|
27384
|
+
const handler$49 = async (c) => {
|
|
27356
27385
|
const project = c.get("project");
|
|
27357
27386
|
const { organizationId } = c.get("organization");
|
|
27358
27387
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27380,7 +27409,7 @@ const handler$48 = async (c) => {
|
|
|
27380
27409
|
//#endregion
|
|
27381
27410
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
27382
27411
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
27383
|
-
const handler$
|
|
27412
|
+
const handler$48 = async (c) => {
|
|
27384
27413
|
const project = c.get("project");
|
|
27385
27414
|
const { organizationId } = c.get("organization");
|
|
27386
27415
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27399,7 +27428,7 @@ const handler$47 = async (c) => {
|
|
|
27399
27428
|
};
|
|
27400
27429
|
//#endregion
|
|
27401
27430
|
//#region src/routes/account/projects/[projectId]/artifacts/active/source/GET.ts
|
|
27402
|
-
const handler$
|
|
27431
|
+
const handler$47 = async (c) => {
|
|
27403
27432
|
const project = c.get("project");
|
|
27404
27433
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27405
27434
|
if (!active?.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "No active source for project" }), 404);
|
|
@@ -27422,7 +27451,7 @@ const handler$46 = async (c) => {
|
|
|
27422
27451
|
};
|
|
27423
27452
|
//#endregion
|
|
27424
27453
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/complete/POST.ts
|
|
27425
|
-
const handler$
|
|
27454
|
+
const handler$46 = async (c) => {
|
|
27426
27455
|
const project = c.get("project");
|
|
27427
27456
|
const artifactId = c.req.param("artifactId");
|
|
27428
27457
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27462,7 +27491,7 @@ const handler$45 = async (c) => {
|
|
|
27462
27491
|
//#endregion
|
|
27463
27492
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
27464
27493
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
27465
|
-
const handler$
|
|
27494
|
+
const handler$45 = async (c) => {
|
|
27466
27495
|
const project = c.get("project");
|
|
27467
27496
|
const artifactId = c.req.param("artifactId");
|
|
27468
27497
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27490,7 +27519,7 @@ const handler$44 = async (c) => {
|
|
|
27490
27519
|
};
|
|
27491
27520
|
//#endregion
|
|
27492
27521
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
27493
|
-
const handler$
|
|
27522
|
+
const handler$44 = async (c) => {
|
|
27494
27523
|
const project = c.get("project");
|
|
27495
27524
|
const artifactId = c.req.param("artifactId");
|
|
27496
27525
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27522,7 +27551,7 @@ function extensionFromUpload(contentType, filename) {
|
|
|
27522
27551
|
if (fromName && /^[a-z0-9]+$/.test(fromName)) return fromName;
|
|
27523
27552
|
return chatAttachmentExtension(contentType) ?? "bin";
|
|
27524
27553
|
}
|
|
27525
|
-
const handler$
|
|
27554
|
+
const handler$43 = async (c) => {
|
|
27526
27555
|
const project = c.get("project");
|
|
27527
27556
|
const slug = c.req.param("slug");
|
|
27528
27557
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "Agent slug is required" }), 400);
|
|
@@ -27547,7 +27576,7 @@ const handler$42 = async (c) => {
|
|
|
27547
27576
|
};
|
|
27548
27577
|
//#endregion
|
|
27549
27578
|
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/[...key]/GET.ts
|
|
27550
|
-
const handler$
|
|
27579
|
+
const handler$42 = async (c) => {
|
|
27551
27580
|
const project = c.get("project");
|
|
27552
27581
|
const slug = c.req.param("slug");
|
|
27553
27582
|
const keyParam = c.req.param("key");
|
|
@@ -27593,7 +27622,7 @@ function resolveSourcePaths(rows, kindDir, filePaths) {
|
|
|
27593
27622
|
}] : [];
|
|
27594
27623
|
});
|
|
27595
27624
|
}
|
|
27596
|
-
const handler$
|
|
27625
|
+
const handler$41 = async (c) => {
|
|
27597
27626
|
const project = c.get("project");
|
|
27598
27627
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27599
27628
|
if (!active || !active.sourceManifestJson) return c.json(ListProjectFilesResponseSchema.parse({
|
|
@@ -27638,7 +27667,7 @@ function ifNoneMatchMatches(ifNoneMatch, etag) {
|
|
|
27638
27667
|
}
|
|
27639
27668
|
//#endregion
|
|
27640
27669
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/GET.ts
|
|
27641
|
-
const handler$
|
|
27670
|
+
const handler$40 = async (c) => {
|
|
27642
27671
|
const project = c.get("project");
|
|
27643
27672
|
const artifactId = c.req.param("artifactId");
|
|
27644
27673
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27684,7 +27713,7 @@ function createProjectReachabilityHandler(hosting) {
|
|
|
27684
27713
|
}
|
|
27685
27714
|
//#endregion
|
|
27686
27715
|
//#region src/routes/account/projects/[projectId]/members/GET.ts
|
|
27687
|
-
const handler$
|
|
27716
|
+
const handler$39 = async (c) => {
|
|
27688
27717
|
const project = c.get("project");
|
|
27689
27718
|
const currentUserId = c.get("user").id;
|
|
27690
27719
|
const members = await selectProjectMembers(project.id);
|
|
@@ -27692,7 +27721,7 @@ const handler$38 = async (c) => {
|
|
|
27692
27721
|
};
|
|
27693
27722
|
//#endregion
|
|
27694
27723
|
//#region src/routes/account/projects/[projectId]/members/POST.ts
|
|
27695
|
-
const handler$
|
|
27724
|
+
const handler$38 = async (c) => {
|
|
27696
27725
|
const organization = c.get("organization");
|
|
27697
27726
|
const project = c.get("project");
|
|
27698
27727
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27708,7 +27737,7 @@ const handler$37 = async (c) => {
|
|
|
27708
27737
|
};
|
|
27709
27738
|
//#endregion
|
|
27710
27739
|
//#region src/routes/account/projects/[projectId]/members/[userId]/PATCH.ts
|
|
27711
|
-
const handler$
|
|
27740
|
+
const handler$37 = async (c) => {
|
|
27712
27741
|
const project = c.get("project");
|
|
27713
27742
|
const userId = c.req.param("userId");
|
|
27714
27743
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27725,7 +27754,7 @@ const handler$36 = async (c) => {
|
|
|
27725
27754
|
};
|
|
27726
27755
|
//#endregion
|
|
27727
27756
|
//#region src/routes/account/projects/[projectId]/members/[userId]/DELETE.ts
|
|
27728
|
-
const handler$
|
|
27757
|
+
const handler$36 = async (c) => {
|
|
27729
27758
|
const project = c.get("project");
|
|
27730
27759
|
const userId = c.req.param("userId");
|
|
27731
27760
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -27739,7 +27768,7 @@ const handler$35 = async (c) => {
|
|
|
27739
27768
|
};
|
|
27740
27769
|
//#endregion
|
|
27741
27770
|
//#region src/routes/account/projects/[projectId]/members/me/DELETE.ts
|
|
27742
|
-
const handler$
|
|
27771
|
+
const handler$35 = async (c) => {
|
|
27743
27772
|
const project = c.get("project");
|
|
27744
27773
|
const userId = c.get("user").id;
|
|
27745
27774
|
try {
|
|
@@ -27752,13 +27781,13 @@ const handler$34 = async (c) => {
|
|
|
27752
27781
|
};
|
|
27753
27782
|
//#endregion
|
|
27754
27783
|
//#region src/routes/account/projects/[projectId]/settings/GET.ts
|
|
27755
|
-
const handler$
|
|
27784
|
+
const handler$34 = async (c) => {
|
|
27756
27785
|
const project = c.get("project");
|
|
27757
27786
|
return c.json(ProjectSettingsResponseSchema.parse(mapProjectSettings(project)));
|
|
27758
27787
|
};
|
|
27759
27788
|
//#endregion
|
|
27760
27789
|
//#region src/routes/account/projects/[projectId]/settings/PATCH.ts
|
|
27761
|
-
const handler$
|
|
27790
|
+
const handler$33 = async (c) => {
|
|
27762
27791
|
const organization = c.get("organization");
|
|
27763
27792
|
const project = c.get("project");
|
|
27764
27793
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27880,7 +27909,7 @@ async function enrichCredentialInstances(rows, organizationId) {
|
|
|
27880
27909
|
}
|
|
27881
27910
|
//#endregion
|
|
27882
27911
|
//#region src/routes/account/credentials/GET.ts
|
|
27883
|
-
const handler$
|
|
27912
|
+
const handler$32 = async (c) => {
|
|
27884
27913
|
const organization = c.get("organization");
|
|
27885
27914
|
const user = c.get("user");
|
|
27886
27915
|
const query = ListCredentialsPageQuerySchema.parse({
|
|
@@ -27909,7 +27938,7 @@ function withTargetScope(target, fn) {
|
|
|
27909
27938
|
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
27910
27939
|
return fn();
|
|
27911
27940
|
}
|
|
27912
|
-
const handler$
|
|
27941
|
+
const handler$31 = async (c) => {
|
|
27913
27942
|
const organization = c.get("organization");
|
|
27914
27943
|
const user = c.get("user");
|
|
27915
27944
|
const parsed = CreateCredentialsRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -27990,7 +28019,7 @@ const handler$30 = async (c) => {
|
|
|
27990
28019
|
};
|
|
27991
28020
|
//#endregion
|
|
27992
28021
|
//#region src/routes/account/credentials/[credentialId]/GET.ts
|
|
27993
|
-
const handler$
|
|
28022
|
+
const handler$30 = async (c) => {
|
|
27994
28023
|
const organization = c.get("organization");
|
|
27995
28024
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
27996
28025
|
const row = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
@@ -28000,7 +28029,7 @@ const handler$29 = async (c) => {
|
|
|
28000
28029
|
};
|
|
28001
28030
|
//#endregion
|
|
28002
28031
|
//#region src/routes/account/credentials/[credentialId]/PATCH.ts
|
|
28003
|
-
const handler$
|
|
28032
|
+
const handler$29 = async (c) => {
|
|
28004
28033
|
const organization = c.get("organization");
|
|
28005
28034
|
const user = c.get("user");
|
|
28006
28035
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
@@ -28098,7 +28127,7 @@ function createDeleteCredentialHandler(options = {}) {
|
|
|
28098
28127
|
}
|
|
28099
28128
|
//#endregion
|
|
28100
28129
|
//#region src/routes/account/members/GET.ts
|
|
28101
|
-
const handler$
|
|
28130
|
+
const handler$28 = async (c) => {
|
|
28102
28131
|
const { organizationId } = c.get("organization");
|
|
28103
28132
|
const query = ListOrganizationMembersPageQuerySchema.parse({
|
|
28104
28133
|
limit: c.req.query("limit") || void 0,
|
|
@@ -28156,7 +28185,7 @@ async function sendOrganizationInviteEmail(payload, resend) {
|
|
|
28156
28185
|
}
|
|
28157
28186
|
//#endregion
|
|
28158
28187
|
//#region src/routes/account/members/invitations/POST.ts
|
|
28159
|
-
const handler$
|
|
28188
|
+
const handler$27 = async (c) => {
|
|
28160
28189
|
const user = c.get("user");
|
|
28161
28190
|
const organization = c.get("organization");
|
|
28162
28191
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28182,7 +28211,7 @@ const handler$26 = async (c) => {
|
|
|
28182
28211
|
};
|
|
28183
28212
|
//#endregion
|
|
28184
28213
|
//#region src/routes/account/members/[userId]/PATCH.ts
|
|
28185
|
-
const handler$
|
|
28214
|
+
const handler$26 = async (c) => {
|
|
28186
28215
|
const { organizationId } = c.get("organization");
|
|
28187
28216
|
const userId = c.req.param("userId");
|
|
28188
28217
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28199,7 +28228,7 @@ const handler$25 = async (c) => {
|
|
|
28199
28228
|
};
|
|
28200
28229
|
//#endregion
|
|
28201
28230
|
//#region src/routes/account/members/[userId]/DELETE.ts
|
|
28202
|
-
const handler$
|
|
28231
|
+
const handler$25 = async (c) => {
|
|
28203
28232
|
const { organizationId } = c.get("organization");
|
|
28204
28233
|
const userId = c.req.param("userId");
|
|
28205
28234
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -28213,13 +28242,13 @@ const handler$24 = async (c) => {
|
|
|
28213
28242
|
};
|
|
28214
28243
|
//#endregion
|
|
28215
28244
|
//#region src/routes/account/invitations/GET.ts
|
|
28216
|
-
const handler$
|
|
28245
|
+
const handler$24 = async (c) => {
|
|
28217
28246
|
const invitations = await selectPendingInvitationsForUser(c.get("user").id);
|
|
28218
28247
|
return c.json(ListOrganizationInvitationsResponseSchema.parse(invitations.map(mapOrganizationInvitation)));
|
|
28219
28248
|
};
|
|
28220
28249
|
//#endregion
|
|
28221
28250
|
//#region src/routes/account/invitations/[invitationId]/accept/POST.ts
|
|
28222
|
-
const handler$
|
|
28251
|
+
const handler$23 = async (c) => {
|
|
28223
28252
|
const user = c.get("user");
|
|
28224
28253
|
const invitationId = c.req.param("invitationId");
|
|
28225
28254
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28235,7 +28264,7 @@ const handler$22 = async (c) => {
|
|
|
28235
28264
|
};
|
|
28236
28265
|
//#endregion
|
|
28237
28266
|
//#region src/routes/account/invitations/[invitationId]/decline/POST.ts
|
|
28238
|
-
const handler$
|
|
28267
|
+
const handler$22 = async (c) => {
|
|
28239
28268
|
const user = c.get("user");
|
|
28240
28269
|
const invitationId = c.req.param("invitationId");
|
|
28241
28270
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28321,13 +28350,13 @@ function appRowToCustomAppDetail(row) {
|
|
|
28321
28350
|
}
|
|
28322
28351
|
//#endregion
|
|
28323
28352
|
//#region src/routes/account/apps/GET.ts
|
|
28324
|
-
const handler$
|
|
28353
|
+
const handler$21 = async (c) => {
|
|
28325
28354
|
const apps = (await listAppsForOrganization(c.get("organization").organizationId)).map(appRowToCatalogSummary);
|
|
28326
28355
|
return c.json(ListAppsResponseSchema.parse(apps));
|
|
28327
28356
|
};
|
|
28328
28357
|
//#endregion
|
|
28329
28358
|
//#region src/routes/account/apps/POST.ts
|
|
28330
|
-
const handler$
|
|
28359
|
+
const handler$20 = async (c) => {
|
|
28331
28360
|
const organization = c.get("organization");
|
|
28332
28361
|
const parsed = CreateCustomAppRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28333
28362
|
if (!parsed.success) {
|
|
@@ -28360,7 +28389,7 @@ const handler$19 = async (c) => {
|
|
|
28360
28389
|
};
|
|
28361
28390
|
//#endregion
|
|
28362
28391
|
//#region src/routes/account/apps/discover/POST.ts
|
|
28363
|
-
const handler$
|
|
28392
|
+
const handler$19 = async (c) => {
|
|
28364
28393
|
const parsed = McpDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28365
28394
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28366
28395
|
try {
|
|
@@ -28374,7 +28403,7 @@ const handler$18 = async (c) => {
|
|
|
28374
28403
|
};
|
|
28375
28404
|
//#endregion
|
|
28376
28405
|
//#region src/routes/account/apps/discover-openapi/POST.ts
|
|
28377
|
-
const handler$
|
|
28406
|
+
const handler$18 = async (c) => {
|
|
28378
28407
|
const parsed = OpenApiDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28379
28408
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28380
28409
|
try {
|
|
@@ -28387,7 +28416,7 @@ const handler$17 = async (c) => {
|
|
|
28387
28416
|
};
|
|
28388
28417
|
//#endregion
|
|
28389
28418
|
//#region src/routes/account/apps/discover-graphql/POST.ts
|
|
28390
|
-
const handler$
|
|
28419
|
+
const handler$17 = async (c) => {
|
|
28391
28420
|
const parsed = GraphqlDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28392
28421
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28393
28422
|
try {
|
|
@@ -28400,7 +28429,7 @@ const handler$16 = async (c) => {
|
|
|
28400
28429
|
};
|
|
28401
28430
|
//#endregion
|
|
28402
28431
|
//#region src/routes/account/apps/[slug]/mcp/oauth/connections/POST.ts
|
|
28403
|
-
const handler$
|
|
28432
|
+
const handler$16 = async (c) => {
|
|
28404
28433
|
const organization = c.get("organization");
|
|
28405
28434
|
const user = c.get("user");
|
|
28406
28435
|
const appSlug = c.req.param("slug")?.trim();
|
|
@@ -28412,8 +28441,9 @@ const handler$15 = async (c) => {
|
|
|
28412
28441
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28413
28442
|
const app = await selectAppForOrganization(organization.organizationId, appSlug);
|
|
28414
28443
|
if (!app || app.source !== "mcp" || app.authKind !== "oauth") return c.json({ error: "App not found" }, 404);
|
|
28415
|
-
const
|
|
28416
|
-
|
|
28444
|
+
const redirectUri = resolveMcpOAuthCallbackUrl();
|
|
28445
|
+
const clientMetadataUrl = resolveOAuthClientMetadataUrl();
|
|
28446
|
+
if (!redirectUri) return c.json({ error: "PUBLIC_PLATFORM_URL is not configured" }, 500);
|
|
28417
28447
|
const projectIds = [];
|
|
28418
28448
|
const projectNamesById = {};
|
|
28419
28449
|
for (const slug of parsed.data.projects ?? []) {
|
|
@@ -28428,7 +28458,8 @@ const handler$15 = async (c) => {
|
|
|
28428
28458
|
input: parsed.data,
|
|
28429
28459
|
organizationId: organization.organizationId,
|
|
28430
28460
|
userId: user.id,
|
|
28431
|
-
redirectUri
|
|
28461
|
+
redirectUri,
|
|
28462
|
+
clientMetadataUrl,
|
|
28432
28463
|
scopeTargets: {
|
|
28433
28464
|
projectIds,
|
|
28434
28465
|
projectNamesById,
|
|
@@ -28458,7 +28489,7 @@ function buildOAuthWebLandingUrl(webOrigin, params) {
|
|
|
28458
28489
|
}
|
|
28459
28490
|
//#endregion
|
|
28460
28491
|
//#region src/routes/account/mcp/oauth/callback/GET.ts
|
|
28461
|
-
const handler$
|
|
28492
|
+
const handler$15 = async (c) => {
|
|
28462
28493
|
const code = c.req.query("code")?.trim();
|
|
28463
28494
|
const state = c.req.query("state")?.trim();
|
|
28464
28495
|
const oauthError = c.req.query("error")?.trim();
|
|
@@ -28506,7 +28537,7 @@ const handler$14 = async (c) => {
|
|
|
28506
28537
|
};
|
|
28507
28538
|
//#endregion
|
|
28508
28539
|
//#region src/routes/account/apps/slug-available/GET.ts
|
|
28509
|
-
const handler$
|
|
28540
|
+
const handler$14 = async (c) => {
|
|
28510
28541
|
const organization = c.get("organization");
|
|
28511
28542
|
const parsed = AppSlugAvailabilityQuerySchema.safeParse({ slug: c.req.query("slug") });
|
|
28512
28543
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid slug query" }), 400);
|
|
@@ -28517,7 +28548,7 @@ const handler$13 = async (c) => {
|
|
|
28517
28548
|
};
|
|
28518
28549
|
//#endregion
|
|
28519
28550
|
//#region src/routes/account/apps/[slug]/GET.ts
|
|
28520
|
-
const handler$
|
|
28551
|
+
const handler$13 = async (c) => {
|
|
28521
28552
|
const organization = c.get("organization");
|
|
28522
28553
|
const slug = c.req.param("slug") ?? "";
|
|
28523
28554
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
@@ -28532,7 +28563,7 @@ const handler$12 = async (c) => {
|
|
|
28532
28563
|
//#endregion
|
|
28533
28564
|
//#region src/routes/account/apps/[slug]/catalog/GET.ts
|
|
28534
28565
|
/** Full catalog entry (scopes + credential template) for connect UI. */
|
|
28535
|
-
const handler$
|
|
28566
|
+
const handler$12 = async (c) => {
|
|
28536
28567
|
const organization = c.get("organization");
|
|
28537
28568
|
const slug = c.req.param("slug") ?? "";
|
|
28538
28569
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
@@ -28565,14 +28596,14 @@ function projectChannelPlatform(row) {
|
|
|
28565
28596
|
});
|
|
28566
28597
|
}
|
|
28567
28598
|
/** Gateway platforms only — avoids downloading the full apps catalog. */
|
|
28568
|
-
const handler$
|
|
28599
|
+
const handler$11 = async (c) => {
|
|
28569
28600
|
const organization = c.get("organization");
|
|
28570
28601
|
const platforms = (await Promise.all(Object.keys(GATEWAY_BY_APP_SLUG).map((slug) => selectAppForOrganization(organization.organizationId, slug)))).flatMap((row) => row ? [projectChannelPlatform(row)] : []);
|
|
28571
28602
|
return c.json(ListChannelPlatformsResponseSchema.parse(platforms));
|
|
28572
28603
|
};
|
|
28573
28604
|
//#endregion
|
|
28574
28605
|
//#region src/routes/account/api-keys/GET.ts
|
|
28575
|
-
const handler$
|
|
28606
|
+
const handler$10 = async (c) => {
|
|
28576
28607
|
const { organizationId } = c.get("organization");
|
|
28577
28608
|
const user = c.get("user");
|
|
28578
28609
|
const records = apiKeyListScope(accessContext(c)).kind === "all" ? await listOrgPlatformApiKeysForOrganization(organizationId) : await listOrgPlatformApiKeysForUser(organizationId, user.id);
|
|
@@ -28589,7 +28620,7 @@ const handler$9 = async (c) => {
|
|
|
28589
28620
|
};
|
|
28590
28621
|
//#endregion
|
|
28591
28622
|
//#region src/routes/account/api-keys/POST.ts
|
|
28592
|
-
const handler$
|
|
28623
|
+
const handler$9 = async (c) => {
|
|
28593
28624
|
const { organizationId } = c.get("organization");
|
|
28594
28625
|
const user = c.get("user");
|
|
28595
28626
|
const body = CreateApiKeyRequestSchema.parse(await c.req.json());
|
|
@@ -28612,7 +28643,7 @@ const handler$8 = async (c) => {
|
|
|
28612
28643
|
};
|
|
28613
28644
|
//#endregion
|
|
28614
28645
|
//#region src/routes/account/api-keys/[apiKeyId]/DELETE.ts
|
|
28615
|
-
const handler$
|
|
28646
|
+
const handler$8 = async (c) => {
|
|
28616
28647
|
const { organizationId } = c.get("organization");
|
|
28617
28648
|
const user = c.get("user");
|
|
28618
28649
|
const apiKeyId = c.req.param("apiKeyId");
|
|
@@ -28637,7 +28668,7 @@ const handler$7 = async (c) => {
|
|
|
28637
28668
|
};
|
|
28638
28669
|
//#endregion
|
|
28639
28670
|
//#region src/routes/account/managed-service-credentials/GET.ts
|
|
28640
|
-
const handler$
|
|
28671
|
+
const handler$7 = async (c) => {
|
|
28641
28672
|
const { organizationId } = c.get("organization");
|
|
28642
28673
|
const user = c.get("user");
|
|
28643
28674
|
const kindParam = c.req.query("kind");
|
|
@@ -28657,7 +28688,7 @@ const handler$6 = async (c) => {
|
|
|
28657
28688
|
};
|
|
28658
28689
|
//#endregion
|
|
28659
28690
|
//#region src/routes/account/managed-service-credentials/POST.ts
|
|
28660
|
-
const handler$
|
|
28691
|
+
const handler$6 = async (c) => {
|
|
28661
28692
|
const { organizationId } = c.get("organization");
|
|
28662
28693
|
const user = c.get("user");
|
|
28663
28694
|
const body = ConnectManagedServiceCredentialRequestSchema.parse(await c.req.json());
|
|
@@ -28686,7 +28717,7 @@ const handler$5 = async (c) => {
|
|
|
28686
28717
|
};
|
|
28687
28718
|
//#endregion
|
|
28688
28719
|
//#region src/routes/account/managed-service-credentials/[id]/PATCH.ts
|
|
28689
|
-
const handler$
|
|
28720
|
+
const handler$5 = async (c) => {
|
|
28690
28721
|
const { organizationId } = c.get("organization");
|
|
28691
28722
|
const user = c.get("user");
|
|
28692
28723
|
const credentialId = c.req.param("id");
|
|
@@ -28717,7 +28748,7 @@ const handler$4 = async (c) => {
|
|
|
28717
28748
|
};
|
|
28718
28749
|
//#endregion
|
|
28719
28750
|
//#region src/routes/account/managed-service-credentials/[id]/DELETE.ts
|
|
28720
|
-
const handler$
|
|
28751
|
+
const handler$4 = async (c) => {
|
|
28721
28752
|
const { organizationId } = c.get("organization");
|
|
28722
28753
|
const credentialId = c.req.param("id");
|
|
28723
28754
|
if (!credentialId) return c.json(ErrorResponseSchema.parse({ error: "Credential id is required" }), 400);
|
|
@@ -28786,7 +28817,7 @@ async function postTeamRequestToSlack(input) {
|
|
|
28786
28817
|
}
|
|
28787
28818
|
//#endregion
|
|
28788
28819
|
//#region src/routes/account/team-requests/POST.ts
|
|
28789
|
-
const handler$
|
|
28820
|
+
const handler$3 = async (c) => {
|
|
28790
28821
|
const user = c.get("user");
|
|
28791
28822
|
const organizationContext = c.get("organization");
|
|
28792
28823
|
const parsed = SubmitTeamRequestRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -28825,7 +28856,7 @@ function mountAccountRoutes(options) {
|
|
|
28825
28856
|
const projectScoped = new Hono();
|
|
28826
28857
|
const protect = requireSession(createDefaultAuthJwtVerifier());
|
|
28827
28858
|
const deleteCredential = createDeleteCredentialHandler({ mcp: options.mcp });
|
|
28828
|
-
account.get("/mcp/oauth/callback", handler$
|
|
28859
|
+
account.get("/mcp/oauth/callback", handler$15);
|
|
28829
28860
|
account.use("/*", protect);
|
|
28830
28861
|
orgScoped.use("/*", protect);
|
|
28831
28862
|
orgScoped.use("/*", requireOrganization());
|
|
@@ -28847,107 +28878,107 @@ function mountAccountRoutes(options) {
|
|
|
28847
28878
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
28848
28879
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
28849
28880
|
const requireOrgParam = requireOrganizationParam();
|
|
28850
|
-
account.get("/organizations", handler$
|
|
28851
|
-
account.get("/organizations/slug-available", handler$
|
|
28881
|
+
account.get("/organizations", handler$95);
|
|
28882
|
+
account.get("/organizations/slug-available", handler$94);
|
|
28852
28883
|
account.post("/organizations", createOrganizationHandler(options));
|
|
28853
|
-
account.get("/organizations/:organizationId", requireOrgParam, handler$
|
|
28854
|
-
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$
|
|
28855
|
-
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$
|
|
28856
|
-
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$
|
|
28857
|
-
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$
|
|
28858
|
-
account.get("/invitations", handler$
|
|
28859
|
-
account.post("/invitations/:invitationId/accept", handler$
|
|
28860
|
-
account.post("/invitations/:invitationId/decline", handler$
|
|
28861
|
-
account.get("/users/me/avatar", handler$
|
|
28862
|
-
account.post("/users/me/avatar/presign", handler$
|
|
28863
|
-
account.patch("/users/me/avatar", handler$
|
|
28864
|
-
account.get("/users/me/preferences", handler$
|
|
28865
|
-
account.patch("/users/me/preferences", handler$
|
|
28884
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$93);
|
|
28885
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$92);
|
|
28886
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$91);
|
|
28887
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$90);
|
|
28888
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$89);
|
|
28889
|
+
account.get("/invitations", handler$24);
|
|
28890
|
+
account.post("/invitations/:invitationId/accept", handler$23);
|
|
28891
|
+
account.post("/invitations/:invitationId/decline", handler$22);
|
|
28892
|
+
account.get("/users/me/avatar", handler$100);
|
|
28893
|
+
account.post("/users/me/avatar/presign", handler$99);
|
|
28894
|
+
account.patch("/users/me/avatar", handler$98);
|
|
28895
|
+
account.get("/users/me/preferences", handler$97);
|
|
28896
|
+
account.patch("/users/me/preferences", handler$96);
|
|
28866
28897
|
const withOrgDb = withOrganizationProjectDatabase();
|
|
28867
|
-
orgScoped.get("/apps", handler$
|
|
28868
|
-
orgScoped.get("/apps/slug-available", handler$
|
|
28869
|
-
orgScoped.get("/channel-platforms", handler$
|
|
28870
|
-
orgScoped.post("/apps/discover", requireOrgUpdate, handler$
|
|
28871
|
-
orgScoped.post("/apps/discover-openapi", requireOrgUpdate, handler$
|
|
28872
|
-
orgScoped.post("/apps/discover-graphql", requireOrgUpdate, handler$
|
|
28873
|
-
orgScoped.post("/apps", requireOrgUpdate, handler$
|
|
28874
|
-
orgScoped.post("/apps/:slug/mcp/oauth/connections", requireOrgUpdate, withOrgDb, handler$
|
|
28875
|
-
orgScoped.get("/apps/:slug/catalog", handler$
|
|
28876
|
-
orgScoped.get("/apps/:slug", handler$
|
|
28877
|
-
account.post("/team-requests", requireOrganization(), handler$
|
|
28878
|
-
orgScoped.get("/members", handler$
|
|
28879
|
-
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$
|
|
28880
|
-
orgScoped.patch("/members/:userId", requireUserManage, handler$
|
|
28881
|
-
orgScoped.delete("/members/:userId", requireUserManage, handler$
|
|
28882
|
-
orgScoped.get("/api-keys", handler$
|
|
28883
|
-
orgScoped.post("/api-keys", requireApiKeyCreate, handler$
|
|
28884
|
-
orgScoped.delete("/api-keys/:apiKeyId", handler$
|
|
28885
|
-
orgScoped.get("/managed-service-credentials", requireManagedServicesRead, handler$
|
|
28886
|
-
orgScoped.post("/managed-service-credentials", requireManagedServicesManage, handler$
|
|
28887
|
-
orgScoped.patch("/managed-service-credentials/:id", requireManagedServicesManage, handler$
|
|
28888
|
-
orgScoped.delete("/managed-service-credentials/:id", requireManagedServicesManage, handler$
|
|
28889
|
-
orgScoped.get("/agents", withOrgDb, handler$
|
|
28890
|
-
orgScoped.get("/agents/:agentId", withOrgDb, handler$
|
|
28891
|
-
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$
|
|
28892
|
-
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$
|
|
28893
|
-
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$
|
|
28894
|
-
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$
|
|
28895
|
-
orgScoped.get("/workflows", withOrgDb, handler$
|
|
28896
|
-
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$
|
|
28897
|
-
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$
|
|
28898
|
-
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$
|
|
28899
|
-
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$
|
|
28900
|
-
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$
|
|
28901
|
-
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$
|
|
28902
|
-
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
28903
|
-
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
28904
|
-
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$
|
|
28905
|
-
orgScoped.get("/skills", withOrgDb, handler$
|
|
28906
|
-
orgScoped.get("/skills/:skillId", withOrgDb, handler$
|
|
28907
|
-
orgScoped.get("/triggers", withOrgDb, handler$
|
|
28908
|
-
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$
|
|
28909
|
-
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$
|
|
28910
|
-
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$
|
|
28911
|
-
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$
|
|
28912
|
-
orgScoped.get("/triggers/:triggerId/invoke-inputs", withOrgDb, handler$
|
|
28913
|
-
orgScoped.post("/triggers/:triggerId/invoke", withOrgDb, handler$
|
|
28914
|
-
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$
|
|
28915
|
-
orgScoped.get("/recents", withOrgDb, handler$
|
|
28916
|
-
orgScoped.get("/history", withOrgDb, handler$
|
|
28917
|
-
orgScoped.get("/history/:runId", withOrgDb, handler$
|
|
28918
|
-
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$
|
|
28919
|
-
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$
|
|
28920
|
-
orgScoped.get("/credentials", withOrgDb, handler$
|
|
28921
|
-
orgScoped.post("/credentials", withOrgDb, handler$
|
|
28922
|
-
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$
|
|
28923
|
-
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$
|
|
28898
|
+
orgScoped.get("/apps", handler$21);
|
|
28899
|
+
orgScoped.get("/apps/slug-available", handler$14);
|
|
28900
|
+
orgScoped.get("/channel-platforms", handler$11);
|
|
28901
|
+
orgScoped.post("/apps/discover", requireOrgUpdate, handler$19);
|
|
28902
|
+
orgScoped.post("/apps/discover-openapi", requireOrgUpdate, handler$18);
|
|
28903
|
+
orgScoped.post("/apps/discover-graphql", requireOrgUpdate, handler$17);
|
|
28904
|
+
orgScoped.post("/apps", requireOrgUpdate, handler$20);
|
|
28905
|
+
orgScoped.post("/apps/:slug/mcp/oauth/connections", requireOrgUpdate, withOrgDb, handler$16);
|
|
28906
|
+
orgScoped.get("/apps/:slug/catalog", handler$12);
|
|
28907
|
+
orgScoped.get("/apps/:slug", handler$13);
|
|
28908
|
+
account.post("/team-requests", requireOrganization(), handler$3);
|
|
28909
|
+
orgScoped.get("/members", handler$28);
|
|
28910
|
+
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$27);
|
|
28911
|
+
orgScoped.patch("/members/:userId", requireUserManage, handler$26);
|
|
28912
|
+
orgScoped.delete("/members/:userId", requireUserManage, handler$25);
|
|
28913
|
+
orgScoped.get("/api-keys", handler$10);
|
|
28914
|
+
orgScoped.post("/api-keys", requireApiKeyCreate, handler$9);
|
|
28915
|
+
orgScoped.delete("/api-keys/:apiKeyId", handler$8);
|
|
28916
|
+
orgScoped.get("/managed-service-credentials", requireManagedServicesRead, handler$7);
|
|
28917
|
+
orgScoped.post("/managed-service-credentials", requireManagedServicesManage, handler$6);
|
|
28918
|
+
orgScoped.patch("/managed-service-credentials/:id", requireManagedServicesManage, handler$5);
|
|
28919
|
+
orgScoped.delete("/managed-service-credentials/:id", requireManagedServicesManage, handler$4);
|
|
28920
|
+
orgScoped.get("/agents", withOrgDb, handler$86);
|
|
28921
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$85);
|
|
28922
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$84);
|
|
28923
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$83);
|
|
28924
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$82);
|
|
28925
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$81);
|
|
28926
|
+
orgScoped.get("/workflows", withOrgDb, handler$79);
|
|
28927
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$78);
|
|
28928
|
+
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$77);
|
|
28929
|
+
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$76);
|
|
28930
|
+
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$75);
|
|
28931
|
+
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$74);
|
|
28932
|
+
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$70);
|
|
28933
|
+
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$73);
|
|
28934
|
+
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$72);
|
|
28935
|
+
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$71);
|
|
28936
|
+
orgScoped.get("/skills", withOrgDb, handler$68);
|
|
28937
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$67);
|
|
28938
|
+
orgScoped.get("/triggers", withOrgDb, handler$66);
|
|
28939
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$65);
|
|
28940
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$64);
|
|
28941
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$63);
|
|
28942
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$62);
|
|
28943
|
+
orgScoped.get("/triggers/:triggerId/invoke-inputs", withOrgDb, handler$59);
|
|
28944
|
+
orgScoped.post("/triggers/:triggerId/invoke", withOrgDb, handler$60);
|
|
28945
|
+
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$61);
|
|
28946
|
+
orgScoped.get("/recents", withOrgDb, handler$58);
|
|
28947
|
+
orgScoped.get("/history", withOrgDb, handler$88);
|
|
28948
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$87);
|
|
28949
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$69);
|
|
28950
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$80);
|
|
28951
|
+
orgScoped.get("/credentials", withOrgDb, handler$32);
|
|
28952
|
+
orgScoped.post("/credentials", withOrgDb, handler$31);
|
|
28953
|
+
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$30(c, next));
|
|
28954
|
+
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$29);
|
|
28924
28955
|
orgScoped.delete("/credentials/:credentialId", withOrgDb, deleteCredential);
|
|
28925
|
-
orgScoped.get("/projects", handler$
|
|
28926
|
-
orgScoped.get("/projects/slug-available", handler$
|
|
28927
|
-
orgScoped.get("/projects/metrics", withOrgDb, handler$
|
|
28928
|
-
orgScoped.post("/projects", handler$
|
|
28929
|
-
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$
|
|
28930
|
-
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
28931
|
-
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$
|
|
28932
|
-
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$
|
|
28933
|
-
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
28934
|
-
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$
|
|
28935
|
-
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$
|
|
28936
|
-
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
28937
|
-
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
28938
|
-
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$
|
|
28956
|
+
orgScoped.get("/projects", handler$57);
|
|
28957
|
+
orgScoped.get("/projects/slug-available", handler$54);
|
|
28958
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$56);
|
|
28959
|
+
orgScoped.post("/projects", handler$55);
|
|
28960
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$53);
|
|
28961
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$52);
|
|
28962
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$51);
|
|
28963
|
+
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$34);
|
|
28964
|
+
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$33);
|
|
28965
|
+
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$39);
|
|
28966
|
+
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$38);
|
|
28967
|
+
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$37);
|
|
28968
|
+
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$36);
|
|
28969
|
+
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$35);
|
|
28939
28970
|
projectScoped.get("/:projectId/reachability", requireProject(), requireProjectMember, createProjectReachabilityHandler(options.hosting));
|
|
28940
|
-
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28941
|
-
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28942
|
-
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28943
|
-
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$
|
|
28944
|
-
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$
|
|
28945
|
-
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28946
|
-
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28947
|
-
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28948
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28949
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28950
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28971
|
+
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$41);
|
|
28972
|
+
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$43);
|
|
28973
|
+
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$42);
|
|
28974
|
+
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$40);
|
|
28975
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$50);
|
|
28976
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$48);
|
|
28977
|
+
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$47);
|
|
28978
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$49);
|
|
28979
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$46);
|
|
28980
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$45);
|
|
28981
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$44);
|
|
28951
28982
|
orgScoped.route("/projects", projectScoped);
|
|
28952
28983
|
account.route("/", orgScoped);
|
|
28953
28984
|
return account;
|
|
@@ -29213,7 +29244,7 @@ async function loadModelIds() {
|
|
|
29213
29244
|
})();
|
|
29214
29245
|
return pendingFetch;
|
|
29215
29246
|
}
|
|
29216
|
-
async function handler$
|
|
29247
|
+
async function handler$2(c) {
|
|
29217
29248
|
try {
|
|
29218
29249
|
const models = await loadModelIds();
|
|
29219
29250
|
return c.json(PublicModelsResponseSchema.parse({ models }));
|
|
@@ -29316,7 +29347,7 @@ function clientIp(c) {
|
|
|
29316
29347
|
return "unknown";
|
|
29317
29348
|
}
|
|
29318
29349
|
}
|
|
29319
|
-
async function handler(c) {
|
|
29350
|
+
async function handler$1(c) {
|
|
29320
29351
|
if (!consumeContactRateLimit(clientIp(c))) return c.json({ error: "Too many requests" }, 429);
|
|
29321
29352
|
const parsed = SubmitMarketingContactRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
29322
29353
|
if (!parsed.success) {
|
|
@@ -29338,6 +29369,16 @@ async function handler(c) {
|
|
|
29338
29369
|
return c.json(SubmitMarketingContactResponseSchema.parse({ ok: true }), 200);
|
|
29339
29370
|
}
|
|
29340
29371
|
//#endregion
|
|
29372
|
+
//#region src/routes/well-known/oauth-client-metadata/GET.ts
|
|
29373
|
+
/** Public CIMD document for outbound MCP OAuth (no session required). */
|
|
29374
|
+
async function handler(c) {
|
|
29375
|
+
const clientMetadataUrl = resolveOAuthClientMetadataUrl();
|
|
29376
|
+
const redirectUri = resolveMcpOAuthCallbackUrl();
|
|
29377
|
+
if (!clientMetadataUrl || !redirectUri) return c.json({ error: "PUBLIC_PLATFORM_URL is not configured" }, 500);
|
|
29378
|
+
const document = buildOAuthClientMetadataDocument(clientMetadataUrl, redirectUri);
|
|
29379
|
+
return c.json(document, 200, { "Cache-Control": "public, max-age=3600" });
|
|
29380
|
+
}
|
|
29381
|
+
//#endregion
|
|
29341
29382
|
//#region src/app.ts
|
|
29342
29383
|
async function createApp$1(auth, options) {
|
|
29343
29384
|
return createApp({
|
|
@@ -29353,8 +29394,9 @@ async function createApp$1(auth, options) {
|
|
|
29353
29394
|
mountAuth(app, authInstance);
|
|
29354
29395
|
},
|
|
29355
29396
|
mountAccount: async (app) => {
|
|
29356
|
-
app.
|
|
29357
|
-
app.
|
|
29397
|
+
app.get(OAUTH_CLIENT_METADATA_PATH, handler);
|
|
29398
|
+
app.post("/api/public/contact", handler$1);
|
|
29399
|
+
app.get("/api/public/models", handler$2);
|
|
29358
29400
|
app.route("/api", mountAccountRoutes({
|
|
29359
29401
|
hosting: options.hosting,
|
|
29360
29402
|
storage: options.storage,
|
|
@@ -29459,4 +29501,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
29459
29501
|
//#endregion
|
|
29460
29502
|
export { r1 as S, o as _, c as a, b$1 as b, a$1 as c, c$1 as d, r as f, e as g, u as h, n$1 as i, d$1 as l, b as m, n, p as o, r$1 as p, i as r, x as s, startPlatformServer as t, x$1 as u, r$3 as v, I1 as x, h as y };
|
|
29461
29503
|
|
|
29462
|
-
//# sourceMappingURL=start-
|
|
29504
|
+
//# sourceMappingURL=start-WFCqn6n8.mjs.map
|