@keystrokehq/platform 0.1.70 → 0.1.72
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 +10 -0
- package/dist/{awk2-LA3USKJP-CYGnVzHS.mjs → awk2-LA3USKJP-BVDeDi7o.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-CYGnVzHS.mjs.map → awk2-LA3USKJP-BVDeDi7o.mjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-DtRr1PDg.cjs → awk2-LA3USKJP-CI5xqcdQ.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-DtRr1PDg.cjs.map → awk2-LA3USKJP-CI5xqcdQ.cjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-1BAUbcBO.cjs → base64-C2AIWVNC-Bd-zVJ86.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-1BAUbcBO.cjs.map → base64-C2AIWVNC-Bd-zVJ86.cjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-BSuPrrQH.mjs → base64-C2AIWVNC-DDcKt2o7.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-BSuPrrQH.mjs.map → base64-C2AIWVNC-DDcKt2o7.mjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-Bse50H80.cjs → bash-YZ33HQZQ-CMONN1xz.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-Bse50H80.cjs.map → bash-YZ33HQZQ-CMONN1xz.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-BaWz2i9y.mjs → bash-YZ33HQZQ-DsD6AV_B.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-BaWz2i9y.mjs.map → bash-YZ33HQZQ-DsD6AV_B.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-DpvCD5jL.mjs → cat-TSFMZVYS-BthzUlhY.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-DpvCD5jL.mjs.map → cat-TSFMZVYS-BthzUlhY.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-BJKzDI_y.cjs → cat-TSFMZVYS-CRpxd6kq.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-BJKzDI_y.cjs.map → cat-TSFMZVYS-CRpxd6kq.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-B_3vrkXp.cjs → chunk-5H5SCKJM-BaE_UxtC.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-B_3vrkXp.cjs.map → chunk-5H5SCKJM-BaE_UxtC.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-BWqzsjxV.mjs → chunk-5H5SCKJM-DoFIrXFG.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-BWqzsjxV.mjs.map → chunk-5H5SCKJM-DoFIrXFG.mjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-BOO7PjVQ.cjs → chunk-AQ6FYS2X-BwrckpZm.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-BOO7PjVQ.cjs.map → chunk-AQ6FYS2X-BwrckpZm.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-XzV_cJBU.mjs → chunk-AQ6FYS2X-CfS-kJ22.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-XzV_cJBU.mjs.map → chunk-AQ6FYS2X-CfS-kJ22.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-B2uwyuSg.mjs → chunk-CHFEPBH4-BWxE5X46.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-B2uwyuSg.mjs.map → chunk-CHFEPBH4-BWxE5X46.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-CVZKhizO.cjs → chunk-CHFEPBH4-DtlCJfZT.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-CVZKhizO.cjs.map → chunk-CHFEPBH4-DtlCJfZT.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-p8hGT3kh.cjs → chunk-EBAPSGAO-BdeDQkRw.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-p8hGT3kh.cjs.map → chunk-EBAPSGAO-BdeDQkRw.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-ZP_v_Key.mjs → chunk-EBAPSGAO-C88RlV2J.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-ZP_v_Key.mjs.map → chunk-EBAPSGAO-C88RlV2J.mjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-COZVmVkv.cjs → chunk-LEKBROJD-BdyzUIRQ.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-COZVmVkv.cjs.map → chunk-LEKBROJD-BdyzUIRQ.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-Du_6eJ6K.mjs → chunk-LEKBROJD-CMcCrYLG.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-Du_6eJ6K.mjs.map → chunk-LEKBROJD-CMcCrYLG.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-DrbrTFA4.mjs → chunk-VPADYNBD-BmFghlRR.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-DrbrTFA4.mjs.map → chunk-VPADYNBD-BmFghlRR.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-CUfBAbxe.cjs → chunk-VPADYNBD-iDyIQ4I2.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-CUfBAbxe.cjs.map → chunk-VPADYNBD-iDyIQ4I2.cjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-DwEVPpyn.mjs → chunk-YCLFEX4T-D0-dhU30.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-DwEVPpyn.mjs.map → chunk-YCLFEX4T-D0-dhU30.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-D2qgbuER.cjs → chunk-YCLFEX4T-d3TDuMoh.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-D2qgbuER.cjs.map → chunk-YCLFEX4T-d3TDuMoh.cjs.map} +1 -1
- package/dist/{column-XT6UFXNQ--y-3PCOI.mjs → column-XT6UFXNQ-3gRhWmLI.mjs} +2 -2
- package/dist/{column-XT6UFXNQ--y-3PCOI.mjs.map → column-XT6UFXNQ-3gRhWmLI.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-BH82ugGm.cjs → column-XT6UFXNQ-UTF6J8Ho.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-BH82ugGm.cjs.map → column-XT6UFXNQ-UTF6J8Ho.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-D14qk5bn.cjs → comm-VV2LDX2J-BNilYtp_.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-D14qk5bn.cjs.map → comm-VV2LDX2J-BNilYtp_.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-Bm8Lscgf.mjs → comm-VV2LDX2J-Bf4rjWWh.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-Bm8Lscgf.mjs.map → comm-VV2LDX2J-Bf4rjWWh.mjs.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{cp-BISAAS7A-DmEKO6zv.mjs → cp-BISAAS7A-D7pKL5XA.mjs} +2 -2
- package/dist/{cp-BISAAS7A-DmEKO6zv.mjs.map → cp-BISAAS7A-D7pKL5XA.mjs.map} +1 -1
- package/dist/{cp-BISAAS7A-CmqNkMsq.cjs → cp-BISAAS7A-rvZbJYPg.cjs} +2 -2
- package/dist/{cp-BISAAS7A-CmqNkMsq.cjs.map → cp-BISAAS7A-rvZbJYPg.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-CPqT4x-h.cjs → cut-OKARJCCV-C2HCVYHm.cjs} +3 -3
- package/dist/{cut-OKARJCCV-CPqT4x-h.cjs.map → cut-OKARJCCV-C2HCVYHm.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-DwT7mbWx.mjs → cut-OKARJCCV-CB1fVYpF.mjs} +3 -3
- package/dist/{cut-OKARJCCV-DwT7mbWx.mjs.map → cut-OKARJCCV-CB1fVYpF.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-B2Z_UNbE.mjs → diff-MWJFIG7X-42h76h6P.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-B2Z_UNbE.mjs.map → diff-MWJFIG7X-42h76h6P.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-C3eKSj5u.cjs → diff-MWJFIG7X-BoTkfPVo.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-C3eKSj5u.cjs.map → diff-MWJFIG7X-BoTkfPVo.cjs.map} +1 -1
- package/dist/{dist-mun4LPn0.cjs → dist-CoxD9bPI.cjs} +34 -10
- package/dist/{dist-mun4LPn0.cjs.map → dist-CoxD9bPI.cjs.map} +1 -1
- package/dist/{dist-Bz7umCNr.mjs → dist-vqdQgBVK.mjs} +34 -10
- package/dist/{dist-Bz7umCNr.mjs.map → dist-vqdQgBVK.mjs.map} +1 -1
- package/dist/{du-572XNP42-CBfyOZrK.cjs → du-572XNP42-C350FTWw.cjs} +2 -2
- package/dist/{du-572XNP42-CBfyOZrK.cjs.map → du-572XNP42-C350FTWw.cjs.map} +1 -1
- package/dist/{du-572XNP42-DSegCJB_.mjs → du-572XNP42-CUd1XKLY.mjs} +2 -2
- package/dist/{du-572XNP42-DSegCJB_.mjs.map → du-572XNP42-CUd1XKLY.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-C6fswd3z.mjs → env-36M5BO7M-BrAOsQEV.mjs} +2 -2
- package/dist/{env-36M5BO7M-C6fswd3z.mjs.map → env-36M5BO7M-BrAOsQEV.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-BYN8GT-U.cjs → env-36M5BO7M-DPNeQf-M.cjs} +2 -2
- package/dist/{env-36M5BO7M-BYN8GT-U.cjs.map → env-36M5BO7M-DPNeQf-M.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-B1w-Ycns.cjs → expand-JSPG6VOP-BRQo18bb.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-B1w-Ycns.cjs.map → expand-JSPG6VOP-BRQo18bb.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-CUCKYi5P.mjs → expand-JSPG6VOP-C_86st90.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-CUCKYi5P.mjs.map → expand-JSPG6VOP-C_86st90.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-DmPznQe2.mjs → expr-5JAACS4X-CIfzomse.mjs} +2 -2
- package/dist/{expr-5JAACS4X-DmPznQe2.mjs.map → expr-5JAACS4X-CIfzomse.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-Ds8fKLaw.cjs → expr-5JAACS4X-CkT1nlHf.cjs} +2 -2
- package/dist/{expr-5JAACS4X-Ds8fKLaw.cjs.map → expr-5JAACS4X-CkT1nlHf.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-0EV8fNtG.cjs → find-INTH3OLC-B0MbFhsv.cjs} +3 -3
- package/dist/{find-INTH3OLC-0EV8fNtG.cjs.map → find-INTH3OLC-B0MbFhsv.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-BId86hIF.mjs → find-INTH3OLC-COWqruIv.mjs} +3 -3
- package/dist/{find-INTH3OLC-BId86hIF.mjs.map → find-INTH3OLC-COWqruIv.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-DrKK7VEv.cjs → fold-4TQNYMSW-DuAxeOHg.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-DrKK7VEv.cjs.map → fold-4TQNYMSW-DuAxeOHg.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-DLyPOCGB.mjs → fold-4TQNYMSW-ziL3L6Jj.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-DLyPOCGB.mjs.map → fold-4TQNYMSW-ziL3L6Jj.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-CNGCZY0I.mjs → grep-V3LQVMRQ-D_WdHf4R.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-CNGCZY0I.mjs.map → grep-V3LQVMRQ-D_WdHf4R.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-CkKkQiWt.cjs → grep-V3LQVMRQ-Di59N_V9.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-CkKkQiWt.cjs.map → grep-V3LQVMRQ-Di59N_V9.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-BfmVZFp9.mjs → gzip-O5ASJAFY-CFOuL6wJ.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-BfmVZFp9.mjs.map → gzip-O5ASJAFY-CFOuL6wJ.mjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-B-qsQpSl.cjs → gzip-O5ASJAFY-Dr_-4xrH.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-B-qsQpSl.cjs.map → gzip-O5ASJAFY-Dr_-4xrH.cjs.map} +1 -1
- package/dist/{head-442HYESI-CFsbsnlG.cjs → head-442HYESI-BgbyLh10.cjs} +2 -2
- package/dist/{head-442HYESI-CFsbsnlG.cjs.map → head-442HYESI-BgbyLh10.cjs.map} +1 -1
- package/dist/{head-442HYESI-Ddx-O96Z.mjs → head-442HYESI-Drtu6BR1.mjs} +2 -2
- package/dist/{head-442HYESI-Ddx-O96Z.mjs.map → head-442HYESI-Drtu6BR1.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-9wUzdqWF.mjs → help-HZ6M2CKN-Bt16EAsg.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-9wUzdqWF.mjs.map → help-HZ6M2CKN-Bt16EAsg.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-D2v9VG-2.cjs → help-HZ6M2CKN-mOQjl5dI.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-D2v9VG-2.cjs.map → help-HZ6M2CKN-mOQjl5dI.cjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-Cmbal3wt.mjs → html-to-markdown-JW4MSQZO-CJXUXm6e.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-Cmbal3wt.mjs.map → html-to-markdown-JW4MSQZO-CJXUXm6e.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-CbMPgL_a.cjs → html-to-markdown-JW4MSQZO-oGv6STSH.cjs} +2 -2
- package/dist/{html-to-markdown-JW4MSQZO-CbMPgL_a.cjs.map → html-to-markdown-JW4MSQZO-oGv6STSH.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-CU6AbI0V.cjs → join-TBRGI3LQ-BTs6JVKp.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-CU6AbI0V.cjs.map → join-TBRGI3LQ-BTs6JVKp.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-DGAasNBV.mjs → join-TBRGI3LQ-M75dE-Zz.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-DGAasNBV.mjs.map → join-TBRGI3LQ-M75dE-Zz.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-DLFrEwta.mjs → jq-4XLYLOS5-78BOpS6Q.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-DLFrEwta.mjs.map → jq-4XLYLOS5-78BOpS6Q.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-DPCvSvFT.cjs → jq-4XLYLOS5-Cq5eXKVE.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-DPCvSvFT.cjs.map → jq-4XLYLOS5-Cq5eXKVE.cjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-Bk6zF-fy.mjs → js-exec-N5KEZBH7-BV27RcUK.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-Bk6zF-fy.mjs.map → js-exec-N5KEZBH7-BV27RcUK.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-DWBOd5gs.cjs → js-exec-N5KEZBH7-qFZ5Q08K.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-DWBOd5gs.cjs.map → js-exec-N5KEZBH7-qFZ5Q08K.cjs.map} +1 -1
- package/dist/{lib-CnCPFGET.mjs → lib-C6fnVjW1.mjs} +2 -2
- package/dist/{lib-CnCPFGET.mjs.map → lib-C6fnVjW1.mjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-CW3iJzBT.cjs → ln-4LGSXXGD-0yk1E4KW.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-CW3iJzBT.cjs.map → ln-4LGSXXGD-0yk1E4KW.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-B7CS9Efo.mjs → ln-4LGSXXGD-CcC8oAay.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-B7CS9Efo.mjs.map → ln-4LGSXXGD-CcC8oAay.mjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-CxeUdJy-.mjs → ls-ZJGQER7M-CBKKNxe5.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-CxeUdJy-.mjs.map → ls-ZJGQER7M-CBKKNxe5.mjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-Ai-m-sbQ.cjs → ls-ZJGQER7M-CVHVXCMt.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-Ai-m-sbQ.cjs.map → ls-ZJGQER7M-CVHVXCMt.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-DqtA2NqT.mjs → md5sum-SPU24VSG-6tBiopTd.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-DqtA2NqT.mjs.map → md5sum-SPU24VSG-6tBiopTd.mjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-CRUuutpM.cjs → md5sum-SPU24VSG-CSOkNc40.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-CRUuutpM.cjs.map → md5sum-SPU24VSG-CSOkNc40.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-LjFjTRB_.mjs → mkdir-MEPGZOB6-BFsBDpoC.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-LjFjTRB_.mjs.map → mkdir-MEPGZOB6-BFsBDpoC.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-D4pKzHpK.cjs → mkdir-MEPGZOB6-BYjEoahl.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-D4pKzHpK.cjs.map → mkdir-MEPGZOB6-BYjEoahl.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646-oRY_Dp2Q.cjs → mv-W5BIQ646-CXaYSKMT.cjs} +2 -2
- package/dist/{mv-W5BIQ646-oRY_Dp2Q.cjs.map → mv-W5BIQ646-CXaYSKMT.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646-N2f4g3X1.mjs → mv-W5BIQ646-DrNLqf6E.mjs} +2 -2
- package/dist/{mv-W5BIQ646-N2f4g3X1.mjs.map → mv-W5BIQ646-DrNLqf6E.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-D88uEPPQ.mjs → nl-WSDW7I4O-BJB_kuMK.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-D88uEPPQ.mjs.map → nl-WSDW7I4O-BJB_kuMK.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-4Z8mreEA.cjs → nl-WSDW7I4O-CUKe8Hna.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-4Z8mreEA.cjs.map → nl-WSDW7I4O-CUKe8Hna.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-CrIY0wbF.cjs → od-WOKFDJTP-BUxrFzxk.cjs} +2 -2
- package/dist/{od-WOKFDJTP-CrIY0wbF.cjs.map → od-WOKFDJTP-BUxrFzxk.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-ByyLZy-E.mjs → od-WOKFDJTP-CYiv7a5T.mjs} +2 -2
- package/dist/{od-WOKFDJTP-ByyLZy-E.mjs.map → od-WOKFDJTP-CYiv7a5T.mjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-YPlvjW1p.mjs → paste-7JC6S4DX-BwpjdFdY.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-YPlvjW1p.mjs.map → paste-7JC6S4DX-BwpjdFdY.mjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-CadKOagY.cjs → paste-7JC6S4DX-DOvdu0nN.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-CadKOagY.cjs.map → paste-7JC6S4DX-DOvdu0nN.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-CR0z570w.cjs → printf-TWGXF445-BC-VpNTT.cjs} +2 -2
- package/dist/{printf-TWGXF445-CR0z570w.cjs.map → printf-TWGXF445-BC-VpNTT.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-TI4R6l6o.mjs → printf-TWGXF445-CTCWw8v-.mjs} +3 -3
- package/dist/{printf-TWGXF445-TI4R6l6o.mjs.map → printf-TWGXF445-CTCWw8v-.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-C6cWgxga.cjs → python3-POMOR4OA-CZVib7aD.cjs} +3 -3
- package/dist/{python3-POMOR4OA-C6cWgxga.cjs.map → python3-POMOR4OA-CZVib7aD.cjs.map} +1 -1
- package/dist/{python3-POMOR4OA-YXaSuZll.mjs → python3-POMOR4OA-MjTQXwRV.mjs} +3 -3
- package/dist/{python3-POMOR4OA-YXaSuZll.mjs.map → python3-POMOR4OA-MjTQXwRV.mjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-CyPoCenM.mjs → rev-5EHFX4EJ-BajjlHWQ.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-CyPoCenM.mjs.map → rev-5EHFX4EJ-BajjlHWQ.mjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-CPMvj_DM.cjs → rev-5EHFX4EJ-CVHfVAWI.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-CPMvj_DM.cjs.map → rev-5EHFX4EJ-CVHfVAWI.cjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-CKxdtZPO.cjs → rg-S4FXYXWB-CNAoZRMd.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-CKxdtZPO.cjs.map → rg-S4FXYXWB-CNAoZRMd.cjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-Db2lsnmX.mjs → rg-S4FXYXWB-fElsZtNI.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-Db2lsnmX.mjs.map → rg-S4FXYXWB-fElsZtNI.mjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-CTK8UVOw.cjs → rm-SSGETQVQ-BqliK4OQ.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-CTK8UVOw.cjs.map → rm-SSGETQVQ-BqliK4OQ.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-DW1lkC4X.mjs → rm-SSGETQVQ-I2m6Alra.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-DW1lkC4X.mjs.map → rm-SSGETQVQ-I2m6Alra.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-DfkcVved.cjs → rmdir-OC4ZLPYA-DgnydYjF.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-DfkcVved.cjs.map → rmdir-OC4ZLPYA-DgnydYjF.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-C3MQypHr.mjs → rmdir-OC4ZLPYA-F2lgNOB-.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-C3MQypHr.mjs.map → rmdir-OC4ZLPYA-F2lgNOB-.mjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-DGD-7AVa.cjs → sed-S5UIK574-Drh8JH3-.cjs} +2 -2
- package/dist/{sed-S5UIK574-DGD-7AVa.cjs.map → sed-S5UIK574-Drh8JH3-.cjs.map} +1 -1
- package/dist/{sed-S5UIK574-BYNG3C6h.mjs → sed-S5UIK574-pAnVKoY_.mjs} +2 -2
- package/dist/{sed-S5UIK574-BYNG3C6h.mjs.map → sed-S5UIK574-pAnVKoY_.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-BmToFgVm.mjs → sha1sum-2PTOAFR6-CPmlbBAZ.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-BmToFgVm.mjs.map → sha1sum-2PTOAFR6-CPmlbBAZ.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-GTxhYECh.cjs → sha1sum-2PTOAFR6-DQLmB80f.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-GTxhYECh.cjs.map → sha1sum-2PTOAFR6-DQLmB80f.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-CMiTETKW.cjs → sha256sum-NS7D3IXX-BB3FHOTy.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-CMiTETKW.cjs.map → sha256sum-NS7D3IXX-BB3FHOTy.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-Cev990cR.mjs → sha256sum-NS7D3IXX-BpnpORhl.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-Cev990cR.mjs.map → sha256sum-NS7D3IXX-BpnpORhl.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-BFO_nhWp.cjs → sleep-X22JJINO-Cn66G4tY.cjs} +2 -2
- package/dist/{sleep-X22JJINO-BFO_nhWp.cjs.map → sleep-X22JJINO-Cn66G4tY.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-DWb-qljV.mjs → sleep-X22JJINO-DHO33uGs.mjs} +2 -2
- package/dist/{sleep-X22JJINO-DWb-qljV.mjs.map → sleep-X22JJINO-DHO33uGs.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-DFy1oQJ5.cjs → sort-SW2YEO5B-CZkcZtWt.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-DFy1oQJ5.cjs.map → sort-SW2YEO5B-CZkcZtWt.cjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-DoWC_Y1l.mjs → sort-SW2YEO5B-Cu3qxG8w.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-DoWC_Y1l.mjs.map → sort-SW2YEO5B-Cu3qxG8w.mjs.map} +1 -1
- package/dist/{split-4KKZZXXE-l_yqOyFe.cjs → split-4KKZZXXE-CZ6jr8-b.cjs} +2 -2
- package/dist/{split-4KKZZXXE-l_yqOyFe.cjs.map → split-4KKZZXXE-CZ6jr8-b.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-DNT_bInL.mjs → split-4KKZZXXE-OnKKzW7i.mjs} +2 -2
- package/dist/{split-4KKZZXXE-DNT_bInL.mjs.map → split-4KKZZXXE-OnKKzW7i.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-BhnZGPAy.mjs → sqlite3-CGOEFJAO-BKK0KJ8v.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-BhnZGPAy.mjs.map → sqlite3-CGOEFJAO-BKK0KJ8v.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-7sbzUgg9.cjs → sqlite3-CGOEFJAO-C0ZMpD0J.cjs} +2 -2
- package/dist/{sqlite3-CGOEFJAO-7sbzUgg9.cjs.map → sqlite3-CGOEFJAO-C0ZMpD0J.cjs.map} +1 -1
- package/dist/{start-oiYa_7Ho.cjs → start-BA8SAE2h.cjs} +354 -273
- package/dist/start-BA8SAE2h.cjs.map +1 -0
- package/dist/{start-anmOyXx4.mjs → start-BBwx09TY.mjs} +355 -274
- package/dist/start-BBwx09TY.mjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-BdbnmPgr.cjs → strings-6WDHLGMX-Cg983GOM.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-BdbnmPgr.cjs.map → strings-6WDHLGMX-Cg983GOM.cjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-cF75DNPd.mjs → strings-6WDHLGMX-Co4JzXuN.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-cF75DNPd.mjs.map → strings-6WDHLGMX-Co4JzXuN.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-CsBU9hOa.cjs → tac-2STMMJYW-UAnl7bNm.cjs} +2 -2
- package/dist/{tac-2STMMJYW-CsBU9hOa.cjs.map → tac-2STMMJYW-UAnl7bNm.cjs.map} +1 -1
- package/dist/{tac-2STMMJYW-DSi1FNzA.mjs → tac-2STMMJYW-kd437kTC.mjs} +2 -2
- package/dist/{tac-2STMMJYW-DSi1FNzA.mjs.map → tac-2STMMJYW-kd437kTC.mjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-B_B07YTM.cjs → tail-R4PCA2C4-Dz0A6cWe.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-B_B07YTM.cjs.map → tail-R4PCA2C4-Dz0A6cWe.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-Cspbla5y.mjs → tail-R4PCA2C4-tMWQyXPx.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-Cspbla5y.mjs.map → tail-R4PCA2C4-tMWQyXPx.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-C7uxt82q.mjs → tar-STHHZTZ6-DVbObmOU.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-C7uxt82q.mjs.map → tar-STHHZTZ6-DVbObmOU.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-CtBhzksb.cjs → tar-STHHZTZ6-DvA3ojMk.cjs} +2 -2
- package/dist/{tar-STHHZTZ6-CtBhzksb.cjs.map → tar-STHHZTZ6-DvA3ojMk.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-DgvVMzjK.cjs → tee-YUZ2FKCJ-COdh8ZzP.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-DgvVMzjK.cjs.map → tee-YUZ2FKCJ-COdh8ZzP.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-Cg2u7mIi.mjs → tee-YUZ2FKCJ-VDnX2t7r.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-Cg2u7mIi.mjs.map → tee-YUZ2FKCJ-VDnX2t7r.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-CmLQhlYa.mjs → time-D4LNBSWX-CTn1Sh6I.mjs} +2 -2
- package/dist/{time-D4LNBSWX-CmLQhlYa.mjs.map → time-D4LNBSWX-CTn1Sh6I.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-DO_aydVu.cjs → time-D4LNBSWX-CVnwzEEX.cjs} +2 -2
- package/dist/{time-D4LNBSWX-DO_aydVu.cjs.map → time-D4LNBSWX-CVnwzEEX.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-C55BRBNu.cjs → timeout-YDCRSLPQ-C1pHFK-_.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-C55BRBNu.cjs.map → timeout-YDCRSLPQ-C1pHFK-_.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-Mr8A8nY1.mjs → timeout-YDCRSLPQ-DmkRXEdq.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-Mr8A8nY1.mjs.map → timeout-YDCRSLPQ-DmkRXEdq.mjs.map} +1 -1
- package/dist/{touch-UA33VN3N-ClQ5ZWdr.mjs → touch-UA33VN3N-Bc4NVi4v.mjs} +2 -2
- package/dist/{touch-UA33VN3N-ClQ5ZWdr.mjs.map → touch-UA33VN3N-Bc4NVi4v.mjs.map} +1 -1
- package/dist/{touch-UA33VN3N-B27WntNN.cjs → touch-UA33VN3N-DT9rnPwY.cjs} +2 -2
- package/dist/{touch-UA33VN3N-B27WntNN.cjs.map → touch-UA33VN3N-DT9rnPwY.cjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-Dj0l2XuW.mjs → tr-36LHWFRQ-Cmpv8tkZ.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-Dj0l2XuW.mjs.map → tr-36LHWFRQ-Cmpv8tkZ.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-BQP3Hu4B.cjs → tr-36LHWFRQ-DrO99DwG.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-BQP3Hu4B.cjs.map → tr-36LHWFRQ-DrO99DwG.cjs.map} +1 -1
- package/dist/{tree-YLD52CNT-C-hnq6JB.mjs → tree-YLD52CNT-B63OXTS2.mjs} +2 -2
- package/dist/{tree-YLD52CNT-C-hnq6JB.mjs.map → tree-YLD52CNT-B63OXTS2.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-5N1kNwoQ.cjs → tree-YLD52CNT-BCEt4L9-.cjs} +2 -2
- package/dist/{tree-YLD52CNT-5N1kNwoQ.cjs.map → tree-YLD52CNT-BCEt4L9-.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-BR-GlrvU.mjs → unexpand-CADSA4VO-C6MkGw7D.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-BR-GlrvU.mjs.map → unexpand-CADSA4VO-C6MkGw7D.mjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-z55VaF8C.cjs → unexpand-CADSA4VO-CB70cMyK.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-z55VaF8C.cjs.map → unexpand-CADSA4VO-CB70cMyK.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-COe3fQcb.mjs → uniq-XSIZR6PB-DNLw03Vi.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-COe3fQcb.mjs.map → uniq-XSIZR6PB-DNLw03Vi.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-DnVrMKBl.cjs → uniq-XSIZR6PB-eUmymLHm.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-DnVrMKBl.cjs.map → uniq-XSIZR6PB-eUmymLHm.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-B24oySis.mjs → wc-LF7NU4LA-BIUrjovr.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-B24oySis.mjs.map → wc-LF7NU4LA-BIUrjovr.mjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-Aw9qrruu.cjs → wc-LF7NU4LA-mg271QDD.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-Aw9qrruu.cjs.map → wc-LF7NU4LA-mg271QDD.cjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-DePeZoBR.mjs → xan-Y6WF3IRG-BEY47Usy.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-DePeZoBR.mjs.map → xan-Y6WF3IRG-BEY47Usy.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-D-KhnzXo.cjs → xan-Y6WF3IRG-CPJ2FD8e.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-D-KhnzXo.cjs.map → xan-Y6WF3IRG-CPJ2FD8e.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-D6WN3766.mjs → xan-view-HDVKHFC2-CkHxWyyz.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-D6WN3766.mjs.map → xan-view-HDVKHFC2-CkHxWyyz.mjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-75c9_lCk.cjs → xan-view-HDVKHFC2-uK93OcAV.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-75c9_lCk.cjs.map → xan-view-HDVKHFC2-uK93OcAV.cjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-DF9TPELl.mjs → xargs-MGZPH7AX-B7TPRZ7i.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-DF9TPELl.mjs.map → xargs-MGZPH7AX-B7TPRZ7i.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-BNmV_Fx0.cjs → xargs-MGZPH7AX-DiU-uOKw.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-BNmV_Fx0.cjs.map → xargs-MGZPH7AX-DiU-uOKw.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DVkU6qDv.mjs → yq-4QJW3EQG-Bdyt9wte.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-DVkU6qDv.mjs.map → yq-4QJW3EQG-Bdyt9wte.mjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-NMVL_Lgc.cjs → yq-4QJW3EQG-gL4SlSp8.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-NMVL_Lgc.cjs.map → yq-4QJW3EQG-gL4SlSp8.cjs.map} +1 -1
- package/package.json +3 -3
- package/dist/start-anmOyXx4.mjs.map +0 -1
- package/dist/start-oiYa_7Ho.cjs.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";
|
|
@@ -18,7 +18,7 @@ import { AUTH_API_PATH, createAuth, createDefaultAuthJwtVerifier, extractWebhook
|
|
|
18
18
|
import { buildWebhookUrl, createCredentialMaterializeHandler, enqueueWebhookIngress, enqueueWorkflowRunByKey, extractWebhookRoutesFromManifest, formatIssuesDetail, matchWebhookPayload, seedOAuthAppsFromEnvForAllOrganizations, seedOAuthAppsFromEnvForOrganization, syncRegistryFromStoredManifest, webhookAttachmentSchemasFromStoredSource, withProjectId } from "@keystrokehq/runtime";
|
|
19
19
|
import "node:url";
|
|
20
20
|
import "typescript";
|
|
21
|
-
import { createApp, externalPlatformOrigin, getProjectScheduler, platformWebhookOrigin, postTeamSlackWebhook, resolveMcpEntityId } from "@keystrokehq/http";
|
|
21
|
+
import { createApp, externalPlatformOrigin, getProjectScheduler, platformWebhookOrigin, postPipelineSlackWebhook, postTeamSlackWebhook, resolveMcpEntityId } from "@keystrokehq/http";
|
|
22
22
|
import { Hono } from "hono";
|
|
23
23
|
import { Resend } from "resend";
|
|
24
24
|
import { getConnInfo } from "@hono/node-server/conninfo";
|
|
@@ -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-BthzUlhY.mjs")).catCommand
|
|
22876
22876
|
},
|
|
22877
22877
|
{
|
|
22878
22878
|
name: "printf",
|
|
22879
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
22879
|
+
load: async () => (await import("./printf-TWGXF445-CTCWw8v-.mjs")).printfCommand
|
|
22880
22880
|
},
|
|
22881
22881
|
{
|
|
22882
22882
|
name: "ls",
|
|
22883
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
22883
|
+
load: async () => (await import("./ls-ZJGQER7M-CBKKNxe5.mjs")).lsCommand
|
|
22884
22884
|
},
|
|
22885
22885
|
{
|
|
22886
22886
|
name: "mkdir",
|
|
22887
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
22887
|
+
load: async () => (await import("./mkdir-MEPGZOB6-BFsBDpoC.mjs")).mkdirCommand
|
|
22888
22888
|
},
|
|
22889
22889
|
{
|
|
22890
22890
|
name: "rmdir",
|
|
22891
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
22891
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-F2lgNOB-.mjs")).rmdirCommand
|
|
22892
22892
|
},
|
|
22893
22893
|
{
|
|
22894
22894
|
name: "touch",
|
|
22895
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
22895
|
+
load: async () => (await import("./touch-UA33VN3N-Bc4NVi4v.mjs")).touchCommand
|
|
22896
22896
|
},
|
|
22897
22897
|
{
|
|
22898
22898
|
name: "rm",
|
|
22899
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
22899
|
+
load: async () => (await import("./rm-SSGETQVQ-I2m6Alra.mjs")).rmCommand
|
|
22900
22900
|
},
|
|
22901
22901
|
{
|
|
22902
22902
|
name: "cp",
|
|
22903
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
22903
|
+
load: async () => (await import("./cp-BISAAS7A-D7pKL5XA.mjs")).cpCommand
|
|
22904
22904
|
},
|
|
22905
22905
|
{
|
|
22906
22906
|
name: "mv",
|
|
22907
|
-
load: async () => (await import("./mv-W5BIQ646-
|
|
22907
|
+
load: async () => (await import("./mv-W5BIQ646-DrNLqf6E.mjs")).mvCommand
|
|
22908
22908
|
},
|
|
22909
22909
|
{
|
|
22910
22910
|
name: "ln",
|
|
22911
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
22911
|
+
load: async () => (await import("./ln-4LGSXXGD-CcC8oAay.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-Drtu6BR1.mjs")).headCommand
|
|
22928
22928
|
},
|
|
22929
22929
|
{
|
|
22930
22930
|
name: "tail",
|
|
22931
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
22931
|
+
load: async () => (await import("./tail-R4PCA2C4-tMWQyXPx.mjs")).tailCommand
|
|
22932
22932
|
},
|
|
22933
22933
|
{
|
|
22934
22934
|
name: "wc",
|
|
22935
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
22935
|
+
load: async () => (await import("./wc-LF7NU4LA-BIUrjovr.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-D_WdHf4R.mjs")).grepCommand
|
|
22944
22944
|
},
|
|
22945
22945
|
{
|
|
22946
22946
|
name: "fgrep",
|
|
22947
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22947
|
+
load: async () => (await import("./grep-V3LQVMRQ-D_WdHf4R.mjs")).fgrepCommand
|
|
22948
22948
|
},
|
|
22949
22949
|
{
|
|
22950
22950
|
name: "egrep",
|
|
22951
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22951
|
+
load: async () => (await import("./grep-V3LQVMRQ-D_WdHf4R.mjs")).egrepCommand
|
|
22952
22952
|
},
|
|
22953
22953
|
{
|
|
22954
22954
|
name: "rg",
|
|
22955
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
22955
|
+
load: async () => (await import("./rg-S4FXYXWB-fElsZtNI.mjs")).rgCommand
|
|
22956
22956
|
},
|
|
22957
22957
|
{
|
|
22958
22958
|
name: "sed",
|
|
22959
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
22959
|
+
load: async () => (await import("./sed-S5UIK574-pAnVKoY_.mjs")).sedCommand
|
|
22960
22960
|
},
|
|
22961
22961
|
{
|
|
22962
22962
|
name: "awk",
|
|
22963
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
22963
|
+
load: async () => (await import("./awk2-LA3USKJP-BVDeDi7o.mjs")).awkCommand2
|
|
22964
22964
|
},
|
|
22965
22965
|
{
|
|
22966
22966
|
name: "sort",
|
|
22967
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
22967
|
+
load: async () => (await import("./sort-SW2YEO5B-Cu3qxG8w.mjs")).sortCommand
|
|
22968
22968
|
},
|
|
22969
22969
|
{
|
|
22970
22970
|
name: "uniq",
|
|
22971
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
22971
|
+
load: async () => (await import("./uniq-XSIZR6PB-DNLw03Vi.mjs")).uniqCommand
|
|
22972
22972
|
},
|
|
22973
22973
|
{
|
|
22974
22974
|
name: "comm",
|
|
22975
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
22975
|
+
load: async () => (await import("./comm-VV2LDX2J-Bf4rjWWh.mjs")).commCommand
|
|
22976
22976
|
},
|
|
22977
22977
|
{
|
|
22978
22978
|
name: "cut",
|
|
22979
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
22979
|
+
load: async () => (await import("./cut-OKARJCCV-CB1fVYpF.mjs")).cutCommand
|
|
22980
22980
|
},
|
|
22981
22981
|
{
|
|
22982
22982
|
name: "paste",
|
|
22983
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
22983
|
+
load: async () => (await import("./paste-7JC6S4DX-BwpjdFdY.mjs")).pasteCommand
|
|
22984
22984
|
},
|
|
22985
22985
|
{
|
|
22986
22986
|
name: "tr",
|
|
22987
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
22987
|
+
load: async () => (await import("./tr-36LHWFRQ-Cmpv8tkZ.mjs")).trCommand
|
|
22988
22988
|
},
|
|
22989
22989
|
{
|
|
22990
22990
|
name: "rev",
|
|
22991
|
-
load: async () => (await import("./rev-5EHFX4EJ-
|
|
22991
|
+
load: async () => (await import("./rev-5EHFX4EJ-BajjlHWQ.mjs")).rev
|
|
22992
22992
|
},
|
|
22993
22993
|
{
|
|
22994
22994
|
name: "nl",
|
|
22995
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
22995
|
+
load: async () => (await import("./nl-WSDW7I4O-BJB_kuMK.mjs")).nl
|
|
22996
22996
|
},
|
|
22997
22997
|
{
|
|
22998
22998
|
name: "fold",
|
|
22999
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
22999
|
+
load: async () => (await import("./fold-4TQNYMSW-ziL3L6Jj.mjs")).fold
|
|
23000
23000
|
},
|
|
23001
23001
|
{
|
|
23002
23002
|
name: "expand",
|
|
23003
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23003
|
+
load: async () => (await import("./expand-JSPG6VOP-C_86st90.mjs")).expand
|
|
23004
23004
|
},
|
|
23005
23005
|
{
|
|
23006
23006
|
name: "unexpand",
|
|
23007
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23007
|
+
load: async () => (await import("./unexpand-CADSA4VO-C6MkGw7D.mjs")).unexpand
|
|
23008
23008
|
},
|
|
23009
23009
|
{
|
|
23010
23010
|
name: "strings",
|
|
23011
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23011
|
+
load: async () => (await import("./strings-6WDHLGMX-Co4JzXuN.mjs")).strings
|
|
23012
23012
|
},
|
|
23013
23013
|
{
|
|
23014
23014
|
name: "split",
|
|
23015
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23015
|
+
load: async () => (await import("./split-4KKZZXXE-OnKKzW7i.mjs")).split
|
|
23016
23016
|
},
|
|
23017
23017
|
{
|
|
23018
23018
|
name: "column",
|
|
23019
|
-
load: async () => (await import("./column-XT6UFXNQ
|
|
23019
|
+
load: async () => (await import("./column-XT6UFXNQ-3gRhWmLI.mjs")).column
|
|
23020
23020
|
},
|
|
23021
23021
|
{
|
|
23022
23022
|
name: "join",
|
|
23023
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23023
|
+
load: async () => (await import("./join-TBRGI3LQ-M75dE-Zz.mjs")).join
|
|
23024
23024
|
},
|
|
23025
23025
|
{
|
|
23026
23026
|
name: "tee",
|
|
23027
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23027
|
+
load: async () => (await import("./tee-YUZ2FKCJ-VDnX2t7r.mjs")).teeCommand
|
|
23028
23028
|
},
|
|
23029
23029
|
{
|
|
23030
23030
|
name: "find",
|
|
23031
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23031
|
+
load: async () => (await import("./find-INTH3OLC-COWqruIv.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-B63OXTS2.mjs")).treeCommand
|
|
23044
23044
|
},
|
|
23045
23045
|
{
|
|
23046
23046
|
name: "du",
|
|
23047
|
-
load: async () => (await import("./du-572XNP42-
|
|
23047
|
+
load: async () => (await import("./du-572XNP42-CUd1XKLY.mjs")).duCommand
|
|
23048
23048
|
},
|
|
23049
23049
|
{
|
|
23050
23050
|
name: "env",
|
|
23051
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23051
|
+
load: async () => (await import("./env-36M5BO7M-BrAOsQEV.mjs")).envCommand
|
|
23052
23052
|
},
|
|
23053
23053
|
{
|
|
23054
23054
|
name: "printenv",
|
|
23055
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23055
|
+
load: async () => (await import("./env-36M5BO7M-BrAOsQEV.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-B7TPRZ7i.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-DsD6AV_B.mjs")).bashCommand
|
|
23088
23088
|
},
|
|
23089
23089
|
{
|
|
23090
23090
|
name: "sh",
|
|
23091
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23091
|
+
load: async () => (await import("./bash-YZ33HQZQ-DsD6AV_B.mjs")).shCommand
|
|
23092
23092
|
},
|
|
23093
23093
|
{
|
|
23094
23094
|
name: "jq",
|
|
23095
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23095
|
+
load: async () => (await import("./jq-4XLYLOS5-78BOpS6Q.mjs")).jqCommand
|
|
23096
23096
|
},
|
|
23097
23097
|
{
|
|
23098
23098
|
name: "base64",
|
|
23099
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23099
|
+
load: async () => (await import("./base64-C2AIWVNC-DDcKt2o7.mjs")).base64Command
|
|
23100
23100
|
},
|
|
23101
23101
|
{
|
|
23102
23102
|
name: "diff",
|
|
23103
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23103
|
+
load: async () => (await import("./diff-MWJFIG7X-42h76h6P.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-DHO33uGs.mjs")).sleepCommand
|
|
23112
23112
|
},
|
|
23113
23113
|
{
|
|
23114
23114
|
name: "timeout",
|
|
23115
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23115
|
+
load: async () => (await import("./timeout-YDCRSLPQ-DmkRXEdq.mjs")).timeoutCommand
|
|
23116
23116
|
},
|
|
23117
23117
|
{
|
|
23118
23118
|
name: "time",
|
|
23119
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23119
|
+
load: async () => (await import("./time-D4LNBSWX-CTn1Sh6I.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-CIfzomse.mjs")).exprCommand
|
|
23128
23128
|
},
|
|
23129
23129
|
{
|
|
23130
23130
|
name: "md5sum",
|
|
23131
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23131
|
+
load: async () => (await import("./md5sum-SPU24VSG-6tBiopTd.mjs")).md5sumCommand
|
|
23132
23132
|
},
|
|
23133
23133
|
{
|
|
23134
23134
|
name: "sha1sum",
|
|
23135
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23135
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-CPmlbBAZ.mjs")).sha1sumCommand
|
|
23136
23136
|
},
|
|
23137
23137
|
{
|
|
23138
23138
|
name: "sha256sum",
|
|
23139
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23139
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-BpnpORhl.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-CJXUXm6e.mjs")).htmlToMarkdownCommand
|
|
23148
23148
|
},
|
|
23149
23149
|
{
|
|
23150
23150
|
name: "help",
|
|
23151
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23151
|
+
load: async () => (await import("./help-HZ6M2CKN-Bt16EAsg.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-kd437kTC.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-CYiv7a5T.mjs")).od
|
|
23172
23172
|
},
|
|
23173
23173
|
{
|
|
23174
23174
|
name: "gzip",
|
|
23175
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23175
|
+
load: async () => (await import("./gzip-O5ASJAFY-CFOuL6wJ.mjs")).gzipCommand
|
|
23176
23176
|
},
|
|
23177
23177
|
{
|
|
23178
23178
|
name: "gunzip",
|
|
23179
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23179
|
+
load: async () => (await import("./gzip-O5ASJAFY-CFOuL6wJ.mjs")).gunzipCommand
|
|
23180
23180
|
},
|
|
23181
23181
|
{
|
|
23182
23182
|
name: "zcat",
|
|
23183
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23183
|
+
load: async () => (await import("./gzip-O5ASJAFY-CFOuL6wJ.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-DVbObmOU.mjs")).tarCommand
|
|
23189
23189
|
}), tt.push({
|
|
23190
23190
|
name: "yq",
|
|
23191
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23191
|
+
load: async () => (await import("./yq-4QJW3EQG-Bdyt9wte.mjs")).yqCommand
|
|
23192
23192
|
}), tt.push({
|
|
23193
23193
|
name: "xan",
|
|
23194
|
-
load: async () => (await import("./xan-Y6WF3IRG-
|
|
23194
|
+
load: async () => (await import("./xan-Y6WF3IRG-BEY47Usy.mjs")).xanCommand
|
|
23195
23195
|
}), tt.push({
|
|
23196
23196
|
name: "sqlite3",
|
|
23197
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23197
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-BKK0KJ8v.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-MjTQXwRV.mjs")).python3Command
|
|
23203
23203
|
}), Yt.push({
|
|
23204
23204
|
name: "python",
|
|
23205
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23205
|
+
load: async () => (await import("./python3-POMOR4OA-MjTQXwRV.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-BV27RcUK.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-BV27RcUK.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
|
};
|
|
@@ -25135,6 +25164,32 @@ async function createOrganizationWithHosting(deps, userId, name, preferredSlug)
|
|
|
25135
25164
|
}
|
|
25136
25165
|
}
|
|
25137
25166
|
//#endregion
|
|
25167
|
+
//#region src/lib/signup-slack.ts
|
|
25168
|
+
/**
|
|
25169
|
+
* Escape the three characters Slack treats as control sequences in `mrkdwn`
|
|
25170
|
+
* text. Signup fields are user-controlled and must not inject links or mentions.
|
|
25171
|
+
*
|
|
25172
|
+
* @see https://api.slack.com/reference/surfaces/formatting#escaping
|
|
25173
|
+
*/
|
|
25174
|
+
function escapeSlackText$1(value) {
|
|
25175
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
25176
|
+
}
|
|
25177
|
+
function buildSignupSlackText(input) {
|
|
25178
|
+
const name = escapeSlackText$1(input.user.name.trim());
|
|
25179
|
+
const email = escapeSlackText$1(input.user.email.trim());
|
|
25180
|
+
const orgName = escapeSlackText$1(input.org.name.trim());
|
|
25181
|
+
const slug = escapeSlackText$1(input.org.slug.trim());
|
|
25182
|
+
return [
|
|
25183
|
+
"*New Website Sign Up* :boom:",
|
|
25184
|
+
`*Name:* ${name}`,
|
|
25185
|
+
`*Email:* ${email}`,
|
|
25186
|
+
`*Org:* ${orgName} (\`${slug}\`)`
|
|
25187
|
+
].join("\n");
|
|
25188
|
+
}
|
|
25189
|
+
async function postSignupToSlack(input) {
|
|
25190
|
+
await postPipelineSlackWebhook({ text: buildSignupSlackText(input) });
|
|
25191
|
+
}
|
|
25192
|
+
//#endregion
|
|
25138
25193
|
//#region src/routes/account/organizations/slug-errors.ts
|
|
25139
25194
|
function organizationSlugErrorBody(error) {
|
|
25140
25195
|
if (error instanceof OrganizationSlugTakenError) return {
|
|
@@ -25156,7 +25211,20 @@ function createOrganizationHandler(deps) {
|
|
|
25156
25211
|
const parsed = CreateOrganizationRequestSchema.safeParse(body);
|
|
25157
25212
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid organization request" }), 400);
|
|
25158
25213
|
try {
|
|
25214
|
+
const hadOrganizations = (await selectUserOrganizations(user.id)).length > 0;
|
|
25159
25215
|
const membership = await createOrganizationWithHosting(deps, user.id, parsed.data.name, parsed.data.slug);
|
|
25216
|
+
if (!hadOrganizations) postSignupToSlack({
|
|
25217
|
+
user: {
|
|
25218
|
+
name: user.name,
|
|
25219
|
+
email: user.email
|
|
25220
|
+
},
|
|
25221
|
+
org: {
|
|
25222
|
+
name: membership.organization.name,
|
|
25223
|
+
slug: membership.organization.slug
|
|
25224
|
+
}
|
|
25225
|
+
}).catch((error) => {
|
|
25226
|
+
console.error("Failed to deliver signup notification to Slack", error);
|
|
25227
|
+
});
|
|
25160
25228
|
return c.json(CreateOrganizationResponseSchema.parse(mapUserOrganization(membership)), 201);
|
|
25161
25229
|
} catch (error) {
|
|
25162
25230
|
if (error instanceof OrganizationSlugTakenError$1) return c.json(ErrorResponseSchema.parse(organizationSlugErrorBody(error)), 409);
|
|
@@ -25167,7 +25235,7 @@ function createOrganizationHandler(deps) {
|
|
|
25167
25235
|
}
|
|
25168
25236
|
//#endregion
|
|
25169
25237
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
25170
|
-
const handler$
|
|
25238
|
+
const handler$94 = async (c) => {
|
|
25171
25239
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
25172
25240
|
slug: c.req.query("slug"),
|
|
25173
25241
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -25178,7 +25246,7 @@ const handler$93 = async (c) => {
|
|
|
25178
25246
|
};
|
|
25179
25247
|
//#endregion
|
|
25180
25248
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
25181
|
-
const handler$
|
|
25249
|
+
const handler$93 = async (c) => {
|
|
25182
25250
|
const { organizationId } = c.get("organization");
|
|
25183
25251
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
25184
25252
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -25186,7 +25254,7 @@ const handler$92 = async (c) => {
|
|
|
25186
25254
|
};
|
|
25187
25255
|
//#endregion
|
|
25188
25256
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
25189
|
-
const handler$
|
|
25257
|
+
const handler$92 = async (c) => {
|
|
25190
25258
|
const organization = c.get("organization");
|
|
25191
25259
|
const body = await c.req.json().catch(() => null);
|
|
25192
25260
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -25211,7 +25279,7 @@ const handler$91 = async (c) => {
|
|
|
25211
25279
|
};
|
|
25212
25280
|
//#endregion
|
|
25213
25281
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
25214
|
-
const handler$
|
|
25282
|
+
const handler$91 = async (c) => {
|
|
25215
25283
|
const { organizationId } = c.get("organization");
|
|
25216
25284
|
const organization = await selectOrganizationById(organizationId);
|
|
25217
25285
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -25260,7 +25328,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
25260
25328
|
publicUrl: finalized.publicUrl
|
|
25261
25329
|
};
|
|
25262
25330
|
}
|
|
25263
|
-
const handler$
|
|
25331
|
+
const handler$90 = async (c) => {
|
|
25264
25332
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25265
25333
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
25266
25334
|
const { organizationId } = c.get("organization");
|
|
@@ -25288,7 +25356,7 @@ const handler$89 = async (c) => {
|
|
|
25288
25356
|
};
|
|
25289
25357
|
//#endregion
|
|
25290
25358
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
25291
|
-
const handler$
|
|
25359
|
+
const handler$89 = async (c) => {
|
|
25292
25360
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
25293
25361
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
25294
25362
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25393,7 +25461,7 @@ async function attachRanAsToDetail(detail, ranByUserId) {
|
|
|
25393
25461
|
}
|
|
25394
25462
|
//#endregion
|
|
25395
25463
|
//#region src/routes/account/history/GET.ts
|
|
25396
|
-
const handler$
|
|
25464
|
+
const handler$88 = async (c) => {
|
|
25397
25465
|
const organization = c.get("organization");
|
|
25398
25466
|
const ctx = accessContext(c);
|
|
25399
25467
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -25418,7 +25486,7 @@ const handler$87 = async (c) => {
|
|
|
25418
25486
|
};
|
|
25419
25487
|
//#endregion
|
|
25420
25488
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
25421
|
-
const handler$
|
|
25489
|
+
const handler$87 = async (c) => {
|
|
25422
25490
|
const runId = c.req.param("runId") ?? "";
|
|
25423
25491
|
if (!runId) return c.json(null, 404);
|
|
25424
25492
|
const core = await findHistoryRunCore(runId);
|
|
@@ -25476,7 +25544,7 @@ function toAgentSummary(row, options) {
|
|
|
25476
25544
|
}
|
|
25477
25545
|
//#endregion
|
|
25478
25546
|
//#region src/routes/account/agents/GET.ts
|
|
25479
|
-
const handler$
|
|
25547
|
+
const handler$86 = async (c) => {
|
|
25480
25548
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
25481
25549
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
25482
25550
|
const rows = await listActiveAgents(filter);
|
|
@@ -25490,7 +25558,7 @@ function touchResourceActivityBestEffort(options) {
|
|
|
25490
25558
|
}
|
|
25491
25559
|
//#endregion
|
|
25492
25560
|
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
25493
|
-
const handler$
|
|
25561
|
+
const handler$85 = async (c) => {
|
|
25494
25562
|
const agentId = c.req.param("agentId") ?? "";
|
|
25495
25563
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25496
25564
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
@@ -25513,7 +25581,7 @@ const handler$84 = async (c) => {
|
|
|
25513
25581
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
25514
25582
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
25515
25583
|
}
|
|
25516
|
-
const handler$
|
|
25584
|
+
const handler$84 = async (c) => {
|
|
25517
25585
|
const agentId = c.req.param("agentId") ?? "";
|
|
25518
25586
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25519
25587
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25538,7 +25606,7 @@ function isStorageNotFoundError(error) {
|
|
|
25538
25606
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
25539
25607
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
25540
25608
|
}
|
|
25541
|
-
const handler$
|
|
25609
|
+
const handler$83 = async (c) => {
|
|
25542
25610
|
const agentId = c.req.param("agentId") ?? "";
|
|
25543
25611
|
const path = c.req.query("path");
|
|
25544
25612
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25592,7 +25660,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
25592
25660
|
}
|
|
25593
25661
|
//#endregion
|
|
25594
25662
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
25595
|
-
const handler$
|
|
25663
|
+
const handler$82 = async (c) => {
|
|
25596
25664
|
const agentId = c.req.param("agentId") ?? "";
|
|
25597
25665
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25598
25666
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25615,7 +25683,7 @@ const handler$81 = async (c) => {
|
|
|
25615
25683
|
};
|
|
25616
25684
|
//#endregion
|
|
25617
25685
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
25618
|
-
const handler$
|
|
25686
|
+
const handler$81 = async (c) => {
|
|
25619
25687
|
const agentId = c.req.param("agentId") ?? "";
|
|
25620
25688
|
const path = c.req.query("path");
|
|
25621
25689
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25664,7 +25732,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
25664
25732
|
}
|
|
25665
25733
|
//#endregion
|
|
25666
25734
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
25667
|
-
const handler$
|
|
25735
|
+
const handler$80 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
25668
25736
|
//#endregion
|
|
25669
25737
|
//#region src/routes/account/resources/workflows.ts
|
|
25670
25738
|
function toWorkflowSummary(row, options) {
|
|
@@ -25681,7 +25749,7 @@ function toWorkflowSummary(row, options) {
|
|
|
25681
25749
|
}
|
|
25682
25750
|
//#endregion
|
|
25683
25751
|
//#region src/routes/account/workflows/GET.ts
|
|
25684
|
-
const handler$
|
|
25752
|
+
const handler$79 = async (c) => {
|
|
25685
25753
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
25686
25754
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
25687
25755
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -25690,7 +25758,7 @@ const handler$78 = async (c) => {
|
|
|
25690
25758
|
};
|
|
25691
25759
|
//#endregion
|
|
25692
25760
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
25693
|
-
const handler$
|
|
25761
|
+
const handler$78 = async (c) => {
|
|
25694
25762
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
25695
25763
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
25696
25764
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -26130,7 +26198,7 @@ function buildWorkflowCanvas(input) {
|
|
|
26130
26198
|
//#region src/routes/account/workflows/[workflowId]/canvas/GET.ts
|
|
26131
26199
|
/** Bumped when the annotation prompt/model changes, so cached annotations invalidate. */
|
|
26132
26200
|
const ANNOTATIONS_GENERATOR_VERSION = "wf-canvas-annotations-v1";
|
|
26133
|
-
const handler$
|
|
26201
|
+
const handler$77 = async (c) => {
|
|
26134
26202
|
const organization = c.get("organization");
|
|
26135
26203
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26136
26204
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26303,7 +26371,7 @@ function toBinding(key, description) {
|
|
|
26303
26371
|
* each of its requirements currently binds to (read-only, no decryption). Not
|
|
26304
26372
|
* content-hash cached — credential state changes without a redeploy.
|
|
26305
26373
|
*/
|
|
26306
|
-
const handler$
|
|
26374
|
+
const handler$76 = async (c) => {
|
|
26307
26375
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26308
26376
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26309
26377
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26462,7 +26530,7 @@ function toCanvasRunStatus(status) {
|
|
|
26462
26530
|
if (status === "canceled") return "canceled";
|
|
26463
26531
|
return "running";
|
|
26464
26532
|
}
|
|
26465
|
-
const handler$
|
|
26533
|
+
const handler$75 = async (c) => {
|
|
26466
26534
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26467
26535
|
const runId = c.req.param("runId") ?? "";
|
|
26468
26536
|
if (!workflowId.trim() || !runId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow or run id" }), 400);
|
|
@@ -26517,7 +26585,7 @@ async function loadWorkflowSource(organization, projectId, sourcePath) {
|
|
|
26517
26585
|
return null;
|
|
26518
26586
|
}
|
|
26519
26587
|
}
|
|
26520
|
-
const handler$
|
|
26588
|
+
const handler$74 = async (c) => {
|
|
26521
26589
|
const organization = c.get("organization");
|
|
26522
26590
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26523
26591
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26618,7 +26686,7 @@ const handler$73 = async (c) => {
|
|
|
26618
26686
|
};
|
|
26619
26687
|
//#endregion
|
|
26620
26688
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/GET.ts
|
|
26621
|
-
const handler$
|
|
26689
|
+
const handler$73 = async (c) => {
|
|
26622
26690
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26623
26691
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26624
26692
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26633,7 +26701,7 @@ const handler$72 = async (c) => {
|
|
|
26633
26701
|
};
|
|
26634
26702
|
//#endregion
|
|
26635
26703
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/PUT.ts
|
|
26636
|
-
const handler$
|
|
26704
|
+
const handler$72 = async (c) => {
|
|
26637
26705
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26638
26706
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26639
26707
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26665,7 +26733,7 @@ function parseRunInput(requestSchema, input) {
|
|
|
26665
26733
|
* the active deploy's request schema, creates a pending run, and enqueues it on
|
|
26666
26734
|
* the project's queue (drained by the project runtime worker). Returns the run id.
|
|
26667
26735
|
*/
|
|
26668
|
-
const handler$
|
|
26736
|
+
const handler$71 = async (c) => {
|
|
26669
26737
|
const { organizationId } = c.get("organization");
|
|
26670
26738
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26671
26739
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26702,7 +26770,7 @@ const handler$70 = async (c) => {
|
|
|
26702
26770
|
};
|
|
26703
26771
|
//#endregion
|
|
26704
26772
|
//#region src/routes/account/workflows/[workflowId]/runs/GET.ts
|
|
26705
|
-
const handler$
|
|
26773
|
+
const handler$70 = async (c) => {
|
|
26706
26774
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26707
26775
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26708
26776
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26725,7 +26793,7 @@ const handler$69 = async (c) => {
|
|
|
26725
26793
|
};
|
|
26726
26794
|
//#endregion
|
|
26727
26795
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
26728
|
-
const handler$
|
|
26796
|
+
const handler$69 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
26729
26797
|
//#endregion
|
|
26730
26798
|
//#region src/routes/account/resources/skills.ts
|
|
26731
26799
|
function toSkillSummary(row) {
|
|
@@ -26742,7 +26810,7 @@ function toSkillSummary(row) {
|
|
|
26742
26810
|
}
|
|
26743
26811
|
//#endregion
|
|
26744
26812
|
//#region src/routes/account/skills/GET.ts
|
|
26745
|
-
const handler$
|
|
26813
|
+
const handler$68 = async (c) => {
|
|
26746
26814
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
26747
26815
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
26748
26816
|
const rows = await listActiveSkills(filter);
|
|
@@ -26750,7 +26818,7 @@ const handler$67 = async (c) => {
|
|
|
26750
26818
|
};
|
|
26751
26819
|
//#endregion
|
|
26752
26820
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
26753
|
-
const handler$
|
|
26821
|
+
const handler$67 = async (c) => {
|
|
26754
26822
|
const skillId = c.req.param("skillId") ?? "";
|
|
26755
26823
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
26756
26824
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -26859,7 +26927,7 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
26859
26927
|
}
|
|
26860
26928
|
//#endregion
|
|
26861
26929
|
//#region src/routes/account/triggers/GET.ts
|
|
26862
|
-
const handler$
|
|
26930
|
+
const handler$66 = async (c) => {
|
|
26863
26931
|
const organization = c.get("organization");
|
|
26864
26932
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
26865
26933
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
@@ -26871,7 +26939,7 @@ const handler$65 = async (c) => {
|
|
|
26871
26939
|
};
|
|
26872
26940
|
//#endregion
|
|
26873
26941
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
26874
|
-
const handler$
|
|
26942
|
+
const handler$65 = async (c) => {
|
|
26875
26943
|
const organization = c.get("organization");
|
|
26876
26944
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26877
26945
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26887,7 +26955,7 @@ const handler$64 = async (c) => {
|
|
|
26887
26955
|
};
|
|
26888
26956
|
//#endregion
|
|
26889
26957
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
26890
|
-
const handler$
|
|
26958
|
+
const handler$64 = async (c) => {
|
|
26891
26959
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26892
26960
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
26893
26961
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -26916,7 +26984,7 @@ const handler$63 = async (c) => {
|
|
|
26916
26984
|
};
|
|
26917
26985
|
//#endregion
|
|
26918
26986
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
26919
|
-
const handler$
|
|
26987
|
+
const handler$63 = async (c) => {
|
|
26920
26988
|
const { organizationId } = c.get("organization");
|
|
26921
26989
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26922
26990
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26953,7 +27021,7 @@ function envelope(row, status, hash) {
|
|
|
26953
27021
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
26954
27022
|
});
|
|
26955
27023
|
}
|
|
26956
|
-
const handler$
|
|
27024
|
+
const handler$62 = async (c) => {
|
|
26957
27025
|
const { organizationId } = c.get("organization");
|
|
26958
27026
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26959
27027
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -27013,7 +27081,7 @@ const handler$61 = async (c) => {
|
|
|
27013
27081
|
};
|
|
27014
27082
|
//#endregion
|
|
27015
27083
|
//#region src/routes/account/triggers/[triggerId]/attachments/[attachmentId]/PATCH.ts
|
|
27016
|
-
const handler$
|
|
27084
|
+
const handler$61 = async (c) => {
|
|
27017
27085
|
const organization = c.get("organization");
|
|
27018
27086
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27019
27087
|
const attachmentId = c.req.param("attachmentId") ?? "";
|
|
@@ -27083,7 +27151,7 @@ var InvokeHttpError = class extends Error {
|
|
|
27083
27151
|
* Manually invoke a trigger from the dashboard or CLI. Validates webhook input against
|
|
27084
27152
|
* stored attachment schemas, then enqueues a trigger job on the project's queue.
|
|
27085
27153
|
*/
|
|
27086
|
-
const handler$
|
|
27154
|
+
const handler$60 = async (c) => {
|
|
27087
27155
|
const { organizationId } = c.get("organization");
|
|
27088
27156
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27089
27157
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -27156,7 +27224,7 @@ const handler$59 = async (c) => {
|
|
|
27156
27224
|
* Form metadata for the dashboard invoke popover: webhook request schemas and
|
|
27157
27225
|
* cron's read-only static payload.
|
|
27158
27226
|
*/
|
|
27159
|
-
const handler$
|
|
27227
|
+
const handler$59 = async (c) => {
|
|
27160
27228
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27161
27229
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
27162
27230
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -27222,7 +27290,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
27222
27290
|
//#endregion
|
|
27223
27291
|
//#region src/routes/account/recents/GET.ts
|
|
27224
27292
|
const RECENTS_LIMIT = 50;
|
|
27225
|
-
const handler$
|
|
27293
|
+
const handler$58 = async (c) => {
|
|
27226
27294
|
const userId = c.get("user").id;
|
|
27227
27295
|
const organization = c.get("organization");
|
|
27228
27296
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -27248,7 +27316,7 @@ const handler$57 = async (c) => {
|
|
|
27248
27316
|
};
|
|
27249
27317
|
//#endregion
|
|
27250
27318
|
//#region src/routes/account/projects/GET.ts
|
|
27251
|
-
const handler$
|
|
27319
|
+
const handler$57 = async (c) => {
|
|
27252
27320
|
const organization = c.get("organization");
|
|
27253
27321
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27254
27322
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -27274,7 +27342,7 @@ function mergeProjectListMetrics(input) {
|
|
|
27274
27342
|
}
|
|
27275
27343
|
//#endregion
|
|
27276
27344
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
27277
|
-
const handler$
|
|
27345
|
+
const handler$56 = async (c) => {
|
|
27278
27346
|
const organization = c.get("organization");
|
|
27279
27347
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27280
27348
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -27290,7 +27358,7 @@ const handler$55 = async (c) => {
|
|
|
27290
27358
|
};
|
|
27291
27359
|
//#endregion
|
|
27292
27360
|
//#region src/routes/account/projects/POST.ts
|
|
27293
|
-
const handler$
|
|
27361
|
+
const handler$55 = async (c) => {
|
|
27294
27362
|
const organization = c.get("organization");
|
|
27295
27363
|
const user = c.get("user");
|
|
27296
27364
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27301,7 +27369,7 @@ const handler$54 = async (c) => {
|
|
|
27301
27369
|
};
|
|
27302
27370
|
//#endregion
|
|
27303
27371
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
27304
|
-
const handler$
|
|
27372
|
+
const handler$54 = async (c) => {
|
|
27305
27373
|
const organization = c.get("organization");
|
|
27306
27374
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
27307
27375
|
slug: c.req.query("slug"),
|
|
@@ -27313,12 +27381,12 @@ const handler$53 = async (c) => {
|
|
|
27313
27381
|
};
|
|
27314
27382
|
//#endregion
|
|
27315
27383
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
27316
|
-
const handler$
|
|
27384
|
+
const handler$53 = async (c) => {
|
|
27317
27385
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
27318
27386
|
};
|
|
27319
27387
|
//#endregion
|
|
27320
27388
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
27321
|
-
const handler$
|
|
27389
|
+
const handler$52 = async (c) => {
|
|
27322
27390
|
const organization = c.get("organization");
|
|
27323
27391
|
const project = c.get("project");
|
|
27324
27392
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27336,7 +27404,7 @@ const handler$51 = async (c) => {
|
|
|
27336
27404
|
};
|
|
27337
27405
|
//#endregion
|
|
27338
27406
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
27339
|
-
const handler$
|
|
27407
|
+
const handler$51 = async (c) => {
|
|
27340
27408
|
const organization = c.get("organization");
|
|
27341
27409
|
const project = c.get("project");
|
|
27342
27410
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -27344,7 +27412,7 @@ const handler$50 = async (c) => {
|
|
|
27344
27412
|
};
|
|
27345
27413
|
//#endregion
|
|
27346
27414
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
27347
|
-
const handler$
|
|
27415
|
+
const handler$50 = async (c) => {
|
|
27348
27416
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
27349
27417
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
27350
27418
|
};
|
|
@@ -27352,7 +27420,7 @@ const handler$49 = async (c) => {
|
|
|
27352
27420
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
27353
27421
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
27354
27422
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
27355
|
-
const handler$
|
|
27423
|
+
const handler$49 = async (c) => {
|
|
27356
27424
|
const project = c.get("project");
|
|
27357
27425
|
const { organizationId } = c.get("organization");
|
|
27358
27426
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27380,7 +27448,7 @@ const handler$48 = async (c) => {
|
|
|
27380
27448
|
//#endregion
|
|
27381
27449
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
27382
27450
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
27383
|
-
const handler$
|
|
27451
|
+
const handler$48 = async (c) => {
|
|
27384
27452
|
const project = c.get("project");
|
|
27385
27453
|
const { organizationId } = c.get("organization");
|
|
27386
27454
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27399,7 +27467,7 @@ const handler$47 = async (c) => {
|
|
|
27399
27467
|
};
|
|
27400
27468
|
//#endregion
|
|
27401
27469
|
//#region src/routes/account/projects/[projectId]/artifacts/active/source/GET.ts
|
|
27402
|
-
const handler$
|
|
27470
|
+
const handler$47 = async (c) => {
|
|
27403
27471
|
const project = c.get("project");
|
|
27404
27472
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27405
27473
|
if (!active?.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "No active source for project" }), 404);
|
|
@@ -27422,7 +27490,7 @@ const handler$46 = async (c) => {
|
|
|
27422
27490
|
};
|
|
27423
27491
|
//#endregion
|
|
27424
27492
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/complete/POST.ts
|
|
27425
|
-
const handler$
|
|
27493
|
+
const handler$46 = async (c) => {
|
|
27426
27494
|
const project = c.get("project");
|
|
27427
27495
|
const artifactId = c.req.param("artifactId");
|
|
27428
27496
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27462,7 +27530,7 @@ const handler$45 = async (c) => {
|
|
|
27462
27530
|
//#endregion
|
|
27463
27531
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
27464
27532
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
27465
|
-
const handler$
|
|
27533
|
+
const handler$45 = async (c) => {
|
|
27466
27534
|
const project = c.get("project");
|
|
27467
27535
|
const artifactId = c.req.param("artifactId");
|
|
27468
27536
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27490,7 +27558,7 @@ const handler$44 = async (c) => {
|
|
|
27490
27558
|
};
|
|
27491
27559
|
//#endregion
|
|
27492
27560
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
27493
|
-
const handler$
|
|
27561
|
+
const handler$44 = async (c) => {
|
|
27494
27562
|
const project = c.get("project");
|
|
27495
27563
|
const artifactId = c.req.param("artifactId");
|
|
27496
27564
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27522,7 +27590,7 @@ function extensionFromUpload(contentType, filename) {
|
|
|
27522
27590
|
if (fromName && /^[a-z0-9]+$/.test(fromName)) return fromName;
|
|
27523
27591
|
return chatAttachmentExtension(contentType) ?? "bin";
|
|
27524
27592
|
}
|
|
27525
|
-
const handler$
|
|
27593
|
+
const handler$43 = async (c) => {
|
|
27526
27594
|
const project = c.get("project");
|
|
27527
27595
|
const slug = c.req.param("slug");
|
|
27528
27596
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "Agent slug is required" }), 400);
|
|
@@ -27547,7 +27615,7 @@ const handler$42 = async (c) => {
|
|
|
27547
27615
|
};
|
|
27548
27616
|
//#endregion
|
|
27549
27617
|
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/[...key]/GET.ts
|
|
27550
|
-
const handler$
|
|
27618
|
+
const handler$42 = async (c) => {
|
|
27551
27619
|
const project = c.get("project");
|
|
27552
27620
|
const slug = c.req.param("slug");
|
|
27553
27621
|
const keyParam = c.req.param("key");
|
|
@@ -27593,7 +27661,7 @@ function resolveSourcePaths(rows, kindDir, filePaths) {
|
|
|
27593
27661
|
}] : [];
|
|
27594
27662
|
});
|
|
27595
27663
|
}
|
|
27596
|
-
const handler$
|
|
27664
|
+
const handler$41 = async (c) => {
|
|
27597
27665
|
const project = c.get("project");
|
|
27598
27666
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27599
27667
|
if (!active || !active.sourceManifestJson) return c.json(ListProjectFilesResponseSchema.parse({
|
|
@@ -27638,7 +27706,7 @@ function ifNoneMatchMatches(ifNoneMatch, etag) {
|
|
|
27638
27706
|
}
|
|
27639
27707
|
//#endregion
|
|
27640
27708
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/GET.ts
|
|
27641
|
-
const handler$
|
|
27709
|
+
const handler$40 = async (c) => {
|
|
27642
27710
|
const project = c.get("project");
|
|
27643
27711
|
const artifactId = c.req.param("artifactId");
|
|
27644
27712
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27684,7 +27752,7 @@ function createProjectReachabilityHandler(hosting) {
|
|
|
27684
27752
|
}
|
|
27685
27753
|
//#endregion
|
|
27686
27754
|
//#region src/routes/account/projects/[projectId]/members/GET.ts
|
|
27687
|
-
const handler$
|
|
27755
|
+
const handler$39 = async (c) => {
|
|
27688
27756
|
const project = c.get("project");
|
|
27689
27757
|
const currentUserId = c.get("user").id;
|
|
27690
27758
|
const members = await selectProjectMembers(project.id);
|
|
@@ -27692,7 +27760,7 @@ const handler$38 = async (c) => {
|
|
|
27692
27760
|
};
|
|
27693
27761
|
//#endregion
|
|
27694
27762
|
//#region src/routes/account/projects/[projectId]/members/POST.ts
|
|
27695
|
-
const handler$
|
|
27763
|
+
const handler$38 = async (c) => {
|
|
27696
27764
|
const organization = c.get("organization");
|
|
27697
27765
|
const project = c.get("project");
|
|
27698
27766
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27708,7 +27776,7 @@ const handler$37 = async (c) => {
|
|
|
27708
27776
|
};
|
|
27709
27777
|
//#endregion
|
|
27710
27778
|
//#region src/routes/account/projects/[projectId]/members/[userId]/PATCH.ts
|
|
27711
|
-
const handler$
|
|
27779
|
+
const handler$37 = async (c) => {
|
|
27712
27780
|
const project = c.get("project");
|
|
27713
27781
|
const userId = c.req.param("userId");
|
|
27714
27782
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27725,7 +27793,7 @@ const handler$36 = async (c) => {
|
|
|
27725
27793
|
};
|
|
27726
27794
|
//#endregion
|
|
27727
27795
|
//#region src/routes/account/projects/[projectId]/members/[userId]/DELETE.ts
|
|
27728
|
-
const handler$
|
|
27796
|
+
const handler$36 = async (c) => {
|
|
27729
27797
|
const project = c.get("project");
|
|
27730
27798
|
const userId = c.req.param("userId");
|
|
27731
27799
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -27739,7 +27807,7 @@ const handler$35 = async (c) => {
|
|
|
27739
27807
|
};
|
|
27740
27808
|
//#endregion
|
|
27741
27809
|
//#region src/routes/account/projects/[projectId]/members/me/DELETE.ts
|
|
27742
|
-
const handler$
|
|
27810
|
+
const handler$35 = async (c) => {
|
|
27743
27811
|
const project = c.get("project");
|
|
27744
27812
|
const userId = c.get("user").id;
|
|
27745
27813
|
try {
|
|
@@ -27752,13 +27820,13 @@ const handler$34 = async (c) => {
|
|
|
27752
27820
|
};
|
|
27753
27821
|
//#endregion
|
|
27754
27822
|
//#region src/routes/account/projects/[projectId]/settings/GET.ts
|
|
27755
|
-
const handler$
|
|
27823
|
+
const handler$34 = async (c) => {
|
|
27756
27824
|
const project = c.get("project");
|
|
27757
27825
|
return c.json(ProjectSettingsResponseSchema.parse(mapProjectSettings(project)));
|
|
27758
27826
|
};
|
|
27759
27827
|
//#endregion
|
|
27760
27828
|
//#region src/routes/account/projects/[projectId]/settings/PATCH.ts
|
|
27761
|
-
const handler$
|
|
27829
|
+
const handler$33 = async (c) => {
|
|
27762
27830
|
const organization = c.get("organization");
|
|
27763
27831
|
const project = c.get("project");
|
|
27764
27832
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27880,7 +27948,7 @@ async function enrichCredentialInstances(rows, organizationId) {
|
|
|
27880
27948
|
}
|
|
27881
27949
|
//#endregion
|
|
27882
27950
|
//#region src/routes/account/credentials/GET.ts
|
|
27883
|
-
const handler$
|
|
27951
|
+
const handler$32 = async (c) => {
|
|
27884
27952
|
const organization = c.get("organization");
|
|
27885
27953
|
const user = c.get("user");
|
|
27886
27954
|
const query = ListCredentialsPageQuerySchema.parse({
|
|
@@ -27909,7 +27977,7 @@ function withTargetScope(target, fn) {
|
|
|
27909
27977
|
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
27910
27978
|
return fn();
|
|
27911
27979
|
}
|
|
27912
|
-
const handler$
|
|
27980
|
+
const handler$31 = async (c) => {
|
|
27913
27981
|
const organization = c.get("organization");
|
|
27914
27982
|
const user = c.get("user");
|
|
27915
27983
|
const parsed = CreateCredentialsRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -27990,7 +28058,7 @@ const handler$30 = async (c) => {
|
|
|
27990
28058
|
};
|
|
27991
28059
|
//#endregion
|
|
27992
28060
|
//#region src/routes/account/credentials/[credentialId]/GET.ts
|
|
27993
|
-
const handler$
|
|
28061
|
+
const handler$30 = async (c) => {
|
|
27994
28062
|
const organization = c.get("organization");
|
|
27995
28063
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
27996
28064
|
const row = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
@@ -28000,7 +28068,7 @@ const handler$29 = async (c) => {
|
|
|
28000
28068
|
};
|
|
28001
28069
|
//#endregion
|
|
28002
28070
|
//#region src/routes/account/credentials/[credentialId]/PATCH.ts
|
|
28003
|
-
const handler$
|
|
28071
|
+
const handler$29 = async (c) => {
|
|
28004
28072
|
const organization = c.get("organization");
|
|
28005
28073
|
const user = c.get("user");
|
|
28006
28074
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
@@ -28098,7 +28166,7 @@ function createDeleteCredentialHandler(options = {}) {
|
|
|
28098
28166
|
}
|
|
28099
28167
|
//#endregion
|
|
28100
28168
|
//#region src/routes/account/members/GET.ts
|
|
28101
|
-
const handler$
|
|
28169
|
+
const handler$28 = async (c) => {
|
|
28102
28170
|
const { organizationId } = c.get("organization");
|
|
28103
28171
|
const query = ListOrganizationMembersPageQuerySchema.parse({
|
|
28104
28172
|
limit: c.req.query("limit") || void 0,
|
|
@@ -28156,7 +28224,7 @@ async function sendOrganizationInviteEmail(payload, resend) {
|
|
|
28156
28224
|
}
|
|
28157
28225
|
//#endregion
|
|
28158
28226
|
//#region src/routes/account/members/invitations/POST.ts
|
|
28159
|
-
const handler$
|
|
28227
|
+
const handler$27 = async (c) => {
|
|
28160
28228
|
const user = c.get("user");
|
|
28161
28229
|
const organization = c.get("organization");
|
|
28162
28230
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28182,7 +28250,7 @@ const handler$26 = async (c) => {
|
|
|
28182
28250
|
};
|
|
28183
28251
|
//#endregion
|
|
28184
28252
|
//#region src/routes/account/members/[userId]/PATCH.ts
|
|
28185
|
-
const handler$
|
|
28253
|
+
const handler$26 = async (c) => {
|
|
28186
28254
|
const { organizationId } = c.get("organization");
|
|
28187
28255
|
const userId = c.req.param("userId");
|
|
28188
28256
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28199,7 +28267,7 @@ const handler$25 = async (c) => {
|
|
|
28199
28267
|
};
|
|
28200
28268
|
//#endregion
|
|
28201
28269
|
//#region src/routes/account/members/[userId]/DELETE.ts
|
|
28202
|
-
const handler$
|
|
28270
|
+
const handler$25 = async (c) => {
|
|
28203
28271
|
const { organizationId } = c.get("organization");
|
|
28204
28272
|
const userId = c.req.param("userId");
|
|
28205
28273
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -28213,13 +28281,13 @@ const handler$24 = async (c) => {
|
|
|
28213
28281
|
};
|
|
28214
28282
|
//#endregion
|
|
28215
28283
|
//#region src/routes/account/invitations/GET.ts
|
|
28216
|
-
const handler$
|
|
28284
|
+
const handler$24 = async (c) => {
|
|
28217
28285
|
const invitations = await selectPendingInvitationsForUser(c.get("user").id);
|
|
28218
28286
|
return c.json(ListOrganizationInvitationsResponseSchema.parse(invitations.map(mapOrganizationInvitation)));
|
|
28219
28287
|
};
|
|
28220
28288
|
//#endregion
|
|
28221
28289
|
//#region src/routes/account/invitations/[invitationId]/accept/POST.ts
|
|
28222
|
-
const handler$
|
|
28290
|
+
const handler$23 = async (c) => {
|
|
28223
28291
|
const user = c.get("user");
|
|
28224
28292
|
const invitationId = c.req.param("invitationId");
|
|
28225
28293
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28235,7 +28303,7 @@ const handler$22 = async (c) => {
|
|
|
28235
28303
|
};
|
|
28236
28304
|
//#endregion
|
|
28237
28305
|
//#region src/routes/account/invitations/[invitationId]/decline/POST.ts
|
|
28238
|
-
const handler$
|
|
28306
|
+
const handler$22 = async (c) => {
|
|
28239
28307
|
const user = c.get("user");
|
|
28240
28308
|
const invitationId = c.req.param("invitationId");
|
|
28241
28309
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28321,13 +28389,13 @@ function appRowToCustomAppDetail(row) {
|
|
|
28321
28389
|
}
|
|
28322
28390
|
//#endregion
|
|
28323
28391
|
//#region src/routes/account/apps/GET.ts
|
|
28324
|
-
const handler$
|
|
28392
|
+
const handler$21 = async (c) => {
|
|
28325
28393
|
const apps = (await listAppsForOrganization(c.get("organization").organizationId)).map(appRowToCatalogSummary);
|
|
28326
28394
|
return c.json(ListAppsResponseSchema.parse(apps));
|
|
28327
28395
|
};
|
|
28328
28396
|
//#endregion
|
|
28329
28397
|
//#region src/routes/account/apps/POST.ts
|
|
28330
|
-
const handler$
|
|
28398
|
+
const handler$20 = async (c) => {
|
|
28331
28399
|
const organization = c.get("organization");
|
|
28332
28400
|
const parsed = CreateCustomAppRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28333
28401
|
if (!parsed.success) {
|
|
@@ -28360,7 +28428,7 @@ const handler$19 = async (c) => {
|
|
|
28360
28428
|
};
|
|
28361
28429
|
//#endregion
|
|
28362
28430
|
//#region src/routes/account/apps/discover/POST.ts
|
|
28363
|
-
const handler$
|
|
28431
|
+
const handler$19 = async (c) => {
|
|
28364
28432
|
const parsed = McpDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28365
28433
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28366
28434
|
try {
|
|
@@ -28374,7 +28442,7 @@ const handler$18 = async (c) => {
|
|
|
28374
28442
|
};
|
|
28375
28443
|
//#endregion
|
|
28376
28444
|
//#region src/routes/account/apps/discover-openapi/POST.ts
|
|
28377
|
-
const handler$
|
|
28445
|
+
const handler$18 = async (c) => {
|
|
28378
28446
|
const parsed = OpenApiDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28379
28447
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28380
28448
|
try {
|
|
@@ -28387,7 +28455,7 @@ const handler$17 = async (c) => {
|
|
|
28387
28455
|
};
|
|
28388
28456
|
//#endregion
|
|
28389
28457
|
//#region src/routes/account/apps/discover-graphql/POST.ts
|
|
28390
|
-
const handler$
|
|
28458
|
+
const handler$17 = async (c) => {
|
|
28391
28459
|
const parsed = GraphqlDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28392
28460
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28393
28461
|
try {
|
|
@@ -28400,7 +28468,7 @@ const handler$16 = async (c) => {
|
|
|
28400
28468
|
};
|
|
28401
28469
|
//#endregion
|
|
28402
28470
|
//#region src/routes/account/apps/[slug]/mcp/oauth/connections/POST.ts
|
|
28403
|
-
const handler$
|
|
28471
|
+
const handler$16 = async (c) => {
|
|
28404
28472
|
const organization = c.get("organization");
|
|
28405
28473
|
const user = c.get("user");
|
|
28406
28474
|
const appSlug = c.req.param("slug")?.trim();
|
|
@@ -28412,8 +28480,9 @@ const handler$15 = async (c) => {
|
|
|
28412
28480
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28413
28481
|
const app = await selectAppForOrganization(organization.organizationId, appSlug);
|
|
28414
28482
|
if (!app || app.source !== "mcp" || app.authKind !== "oauth") return c.json({ error: "App not found" }, 404);
|
|
28415
|
-
const
|
|
28416
|
-
|
|
28483
|
+
const redirectUri = resolveMcpOAuthCallbackUrl();
|
|
28484
|
+
const clientMetadataUrl = resolveOAuthClientMetadataUrl();
|
|
28485
|
+
if (!redirectUri) return c.json({ error: "PUBLIC_PLATFORM_URL is not configured" }, 500);
|
|
28417
28486
|
const projectIds = [];
|
|
28418
28487
|
const projectNamesById = {};
|
|
28419
28488
|
for (const slug of parsed.data.projects ?? []) {
|
|
@@ -28428,7 +28497,8 @@ const handler$15 = async (c) => {
|
|
|
28428
28497
|
input: parsed.data,
|
|
28429
28498
|
organizationId: organization.organizationId,
|
|
28430
28499
|
userId: user.id,
|
|
28431
|
-
redirectUri
|
|
28500
|
+
redirectUri,
|
|
28501
|
+
clientMetadataUrl,
|
|
28432
28502
|
scopeTargets: {
|
|
28433
28503
|
projectIds,
|
|
28434
28504
|
projectNamesById,
|
|
@@ -28458,7 +28528,7 @@ function buildOAuthWebLandingUrl(webOrigin, params) {
|
|
|
28458
28528
|
}
|
|
28459
28529
|
//#endregion
|
|
28460
28530
|
//#region src/routes/account/mcp/oauth/callback/GET.ts
|
|
28461
|
-
const handler$
|
|
28531
|
+
const handler$15 = async (c) => {
|
|
28462
28532
|
const code = c.req.query("code")?.trim();
|
|
28463
28533
|
const state = c.req.query("state")?.trim();
|
|
28464
28534
|
const oauthError = c.req.query("error")?.trim();
|
|
@@ -28506,7 +28576,7 @@ const handler$14 = async (c) => {
|
|
|
28506
28576
|
};
|
|
28507
28577
|
//#endregion
|
|
28508
28578
|
//#region src/routes/account/apps/slug-available/GET.ts
|
|
28509
|
-
const handler$
|
|
28579
|
+
const handler$14 = async (c) => {
|
|
28510
28580
|
const organization = c.get("organization");
|
|
28511
28581
|
const parsed = AppSlugAvailabilityQuerySchema.safeParse({ slug: c.req.query("slug") });
|
|
28512
28582
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid slug query" }), 400);
|
|
@@ -28517,7 +28587,7 @@ const handler$13 = async (c) => {
|
|
|
28517
28587
|
};
|
|
28518
28588
|
//#endregion
|
|
28519
28589
|
//#region src/routes/account/apps/[slug]/GET.ts
|
|
28520
|
-
const handler$
|
|
28590
|
+
const handler$13 = async (c) => {
|
|
28521
28591
|
const organization = c.get("organization");
|
|
28522
28592
|
const slug = c.req.param("slug") ?? "";
|
|
28523
28593
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
@@ -28532,7 +28602,7 @@ const handler$12 = async (c) => {
|
|
|
28532
28602
|
//#endregion
|
|
28533
28603
|
//#region src/routes/account/apps/[slug]/catalog/GET.ts
|
|
28534
28604
|
/** Full catalog entry (scopes + credential template) for connect UI. */
|
|
28535
|
-
const handler$
|
|
28605
|
+
const handler$12 = async (c) => {
|
|
28536
28606
|
const organization = c.get("organization");
|
|
28537
28607
|
const slug = c.req.param("slug") ?? "";
|
|
28538
28608
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
@@ -28565,14 +28635,14 @@ function projectChannelPlatform(row) {
|
|
|
28565
28635
|
});
|
|
28566
28636
|
}
|
|
28567
28637
|
/** Gateway platforms only — avoids downloading the full apps catalog. */
|
|
28568
|
-
const handler$
|
|
28638
|
+
const handler$11 = async (c) => {
|
|
28569
28639
|
const organization = c.get("organization");
|
|
28570
28640
|
const platforms = (await Promise.all(Object.keys(GATEWAY_BY_APP_SLUG).map((slug) => selectAppForOrganization(organization.organizationId, slug)))).flatMap((row) => row ? [projectChannelPlatform(row)] : []);
|
|
28571
28641
|
return c.json(ListChannelPlatformsResponseSchema.parse(platforms));
|
|
28572
28642
|
};
|
|
28573
28643
|
//#endregion
|
|
28574
28644
|
//#region src/routes/account/api-keys/GET.ts
|
|
28575
|
-
const handler$
|
|
28645
|
+
const handler$10 = async (c) => {
|
|
28576
28646
|
const { organizationId } = c.get("organization");
|
|
28577
28647
|
const user = c.get("user");
|
|
28578
28648
|
const records = apiKeyListScope(accessContext(c)).kind === "all" ? await listOrgPlatformApiKeysForOrganization(organizationId) : await listOrgPlatformApiKeysForUser(organizationId, user.id);
|
|
@@ -28589,7 +28659,7 @@ const handler$9 = async (c) => {
|
|
|
28589
28659
|
};
|
|
28590
28660
|
//#endregion
|
|
28591
28661
|
//#region src/routes/account/api-keys/POST.ts
|
|
28592
|
-
const handler$
|
|
28662
|
+
const handler$9 = async (c) => {
|
|
28593
28663
|
const { organizationId } = c.get("organization");
|
|
28594
28664
|
const user = c.get("user");
|
|
28595
28665
|
const body = CreateApiKeyRequestSchema.parse(await c.req.json());
|
|
@@ -28612,7 +28682,7 @@ const handler$8 = async (c) => {
|
|
|
28612
28682
|
};
|
|
28613
28683
|
//#endregion
|
|
28614
28684
|
//#region src/routes/account/api-keys/[apiKeyId]/DELETE.ts
|
|
28615
|
-
const handler$
|
|
28685
|
+
const handler$8 = async (c) => {
|
|
28616
28686
|
const { organizationId } = c.get("organization");
|
|
28617
28687
|
const user = c.get("user");
|
|
28618
28688
|
const apiKeyId = c.req.param("apiKeyId");
|
|
@@ -28637,7 +28707,7 @@ const handler$7 = async (c) => {
|
|
|
28637
28707
|
};
|
|
28638
28708
|
//#endregion
|
|
28639
28709
|
//#region src/routes/account/managed-service-credentials/GET.ts
|
|
28640
|
-
const handler$
|
|
28710
|
+
const handler$7 = async (c) => {
|
|
28641
28711
|
const { organizationId } = c.get("organization");
|
|
28642
28712
|
const user = c.get("user");
|
|
28643
28713
|
const kindParam = c.req.query("kind");
|
|
@@ -28657,7 +28727,7 @@ const handler$6 = async (c) => {
|
|
|
28657
28727
|
};
|
|
28658
28728
|
//#endregion
|
|
28659
28729
|
//#region src/routes/account/managed-service-credentials/POST.ts
|
|
28660
|
-
const handler$
|
|
28730
|
+
const handler$6 = async (c) => {
|
|
28661
28731
|
const { organizationId } = c.get("organization");
|
|
28662
28732
|
const user = c.get("user");
|
|
28663
28733
|
const body = ConnectManagedServiceCredentialRequestSchema.parse(await c.req.json());
|
|
@@ -28686,7 +28756,7 @@ const handler$5 = async (c) => {
|
|
|
28686
28756
|
};
|
|
28687
28757
|
//#endregion
|
|
28688
28758
|
//#region src/routes/account/managed-service-credentials/[id]/PATCH.ts
|
|
28689
|
-
const handler$
|
|
28759
|
+
const handler$5 = async (c) => {
|
|
28690
28760
|
const { organizationId } = c.get("organization");
|
|
28691
28761
|
const user = c.get("user");
|
|
28692
28762
|
const credentialId = c.req.param("id");
|
|
@@ -28717,7 +28787,7 @@ const handler$4 = async (c) => {
|
|
|
28717
28787
|
};
|
|
28718
28788
|
//#endregion
|
|
28719
28789
|
//#region src/routes/account/managed-service-credentials/[id]/DELETE.ts
|
|
28720
|
-
const handler$
|
|
28790
|
+
const handler$4 = async (c) => {
|
|
28721
28791
|
const { organizationId } = c.get("organization");
|
|
28722
28792
|
const credentialId = c.req.param("id");
|
|
28723
28793
|
if (!credentialId) return c.json(ErrorResponseSchema.parse({ error: "Credential id is required" }), 400);
|
|
@@ -28786,7 +28856,7 @@ async function postTeamRequestToSlack(input) {
|
|
|
28786
28856
|
}
|
|
28787
28857
|
//#endregion
|
|
28788
28858
|
//#region src/routes/account/team-requests/POST.ts
|
|
28789
|
-
const handler$
|
|
28859
|
+
const handler$3 = async (c) => {
|
|
28790
28860
|
const user = c.get("user");
|
|
28791
28861
|
const organizationContext = c.get("organization");
|
|
28792
28862
|
const parsed = SubmitTeamRequestRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -28825,7 +28895,7 @@ function mountAccountRoutes(options) {
|
|
|
28825
28895
|
const projectScoped = new Hono();
|
|
28826
28896
|
const protect = requireSession(createDefaultAuthJwtVerifier());
|
|
28827
28897
|
const deleteCredential = createDeleteCredentialHandler({ mcp: options.mcp });
|
|
28828
|
-
account.get("/mcp/oauth/callback", handler$
|
|
28898
|
+
account.get("/mcp/oauth/callback", handler$15);
|
|
28829
28899
|
account.use("/*", protect);
|
|
28830
28900
|
orgScoped.use("/*", protect);
|
|
28831
28901
|
orgScoped.use("/*", requireOrganization());
|
|
@@ -28847,107 +28917,107 @@ function mountAccountRoutes(options) {
|
|
|
28847
28917
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
28848
28918
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
28849
28919
|
const requireOrgParam = requireOrganizationParam();
|
|
28850
|
-
account.get("/organizations", handler$
|
|
28851
|
-
account.get("/organizations/slug-available", handler$
|
|
28920
|
+
account.get("/organizations", handler$95);
|
|
28921
|
+
account.get("/organizations/slug-available", handler$94);
|
|
28852
28922
|
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$
|
|
28923
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$93);
|
|
28924
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$92);
|
|
28925
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$91);
|
|
28926
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$90);
|
|
28927
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$89);
|
|
28928
|
+
account.get("/invitations", handler$24);
|
|
28929
|
+
account.post("/invitations/:invitationId/accept", handler$23);
|
|
28930
|
+
account.post("/invitations/:invitationId/decline", handler$22);
|
|
28931
|
+
account.get("/users/me/avatar", handler$100);
|
|
28932
|
+
account.post("/users/me/avatar/presign", handler$99);
|
|
28933
|
+
account.patch("/users/me/avatar", handler$98);
|
|
28934
|
+
account.get("/users/me/preferences", handler$97);
|
|
28935
|
+
account.patch("/users/me/preferences", handler$96);
|
|
28866
28936
|
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$
|
|
28937
|
+
orgScoped.get("/apps", handler$21);
|
|
28938
|
+
orgScoped.get("/apps/slug-available", handler$14);
|
|
28939
|
+
orgScoped.get("/channel-platforms", handler$11);
|
|
28940
|
+
orgScoped.post("/apps/discover", requireOrgUpdate, handler$19);
|
|
28941
|
+
orgScoped.post("/apps/discover-openapi", requireOrgUpdate, handler$18);
|
|
28942
|
+
orgScoped.post("/apps/discover-graphql", requireOrgUpdate, handler$17);
|
|
28943
|
+
orgScoped.post("/apps", requireOrgUpdate, handler$20);
|
|
28944
|
+
orgScoped.post("/apps/:slug/mcp/oauth/connections", requireOrgUpdate, withOrgDb, handler$16);
|
|
28945
|
+
orgScoped.get("/apps/:slug/catalog", handler$12);
|
|
28946
|
+
orgScoped.get("/apps/:slug", handler$13);
|
|
28947
|
+
account.post("/team-requests", requireOrganization(), handler$3);
|
|
28948
|
+
orgScoped.get("/members", handler$28);
|
|
28949
|
+
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$27);
|
|
28950
|
+
orgScoped.patch("/members/:userId", requireUserManage, handler$26);
|
|
28951
|
+
orgScoped.delete("/members/:userId", requireUserManage, handler$25);
|
|
28952
|
+
orgScoped.get("/api-keys", handler$10);
|
|
28953
|
+
orgScoped.post("/api-keys", requireApiKeyCreate, handler$9);
|
|
28954
|
+
orgScoped.delete("/api-keys/:apiKeyId", handler$8);
|
|
28955
|
+
orgScoped.get("/managed-service-credentials", requireManagedServicesRead, handler$7);
|
|
28956
|
+
orgScoped.post("/managed-service-credentials", requireManagedServicesManage, handler$6);
|
|
28957
|
+
orgScoped.patch("/managed-service-credentials/:id", requireManagedServicesManage, handler$5);
|
|
28958
|
+
orgScoped.delete("/managed-service-credentials/:id", requireManagedServicesManage, handler$4);
|
|
28959
|
+
orgScoped.get("/agents", withOrgDb, handler$86);
|
|
28960
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$85);
|
|
28961
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$84);
|
|
28962
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$83);
|
|
28963
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$82);
|
|
28964
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$81);
|
|
28965
|
+
orgScoped.get("/workflows", withOrgDb, handler$79);
|
|
28966
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$78);
|
|
28967
|
+
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$77);
|
|
28968
|
+
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$76);
|
|
28969
|
+
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$75);
|
|
28970
|
+
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$74);
|
|
28971
|
+
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$70);
|
|
28972
|
+
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$73);
|
|
28973
|
+
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$72);
|
|
28974
|
+
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$71);
|
|
28975
|
+
orgScoped.get("/skills", withOrgDb, handler$68);
|
|
28976
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$67);
|
|
28977
|
+
orgScoped.get("/triggers", withOrgDb, handler$66);
|
|
28978
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$65);
|
|
28979
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$64);
|
|
28980
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$63);
|
|
28981
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$62);
|
|
28982
|
+
orgScoped.get("/triggers/:triggerId/invoke-inputs", withOrgDb, handler$59);
|
|
28983
|
+
orgScoped.post("/triggers/:triggerId/invoke", withOrgDb, handler$60);
|
|
28984
|
+
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$61);
|
|
28985
|
+
orgScoped.get("/recents", withOrgDb, handler$58);
|
|
28986
|
+
orgScoped.get("/history", withOrgDb, handler$88);
|
|
28987
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$87);
|
|
28988
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$69);
|
|
28989
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$80);
|
|
28990
|
+
orgScoped.get("/credentials", withOrgDb, handler$32);
|
|
28991
|
+
orgScoped.post("/credentials", withOrgDb, handler$31);
|
|
28992
|
+
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$30(c, next));
|
|
28993
|
+
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$29);
|
|
28924
28994
|
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$
|
|
28995
|
+
orgScoped.get("/projects", handler$57);
|
|
28996
|
+
orgScoped.get("/projects/slug-available", handler$54);
|
|
28997
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$56);
|
|
28998
|
+
orgScoped.post("/projects", handler$55);
|
|
28999
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$53);
|
|
29000
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$52);
|
|
29001
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$51);
|
|
29002
|
+
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$34);
|
|
29003
|
+
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$33);
|
|
29004
|
+
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$39);
|
|
29005
|
+
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$38);
|
|
29006
|
+
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$37);
|
|
29007
|
+
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$36);
|
|
29008
|
+
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$35);
|
|
28939
29009
|
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$
|
|
29010
|
+
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$41);
|
|
29011
|
+
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$43);
|
|
29012
|
+
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$42);
|
|
29013
|
+
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$40);
|
|
29014
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$50);
|
|
29015
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$48);
|
|
29016
|
+
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$47);
|
|
29017
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$49);
|
|
29018
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$46);
|
|
29019
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$45);
|
|
29020
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$44);
|
|
28951
29021
|
orgScoped.route("/projects", projectScoped);
|
|
28952
29022
|
account.route("/", orgScoped);
|
|
28953
29023
|
return account;
|
|
@@ -29213,7 +29283,7 @@ async function loadModelIds() {
|
|
|
29213
29283
|
})();
|
|
29214
29284
|
return pendingFetch;
|
|
29215
29285
|
}
|
|
29216
|
-
async function handler$
|
|
29286
|
+
async function handler$2(c) {
|
|
29217
29287
|
try {
|
|
29218
29288
|
const models = await loadModelIds();
|
|
29219
29289
|
return c.json(PublicModelsResponseSchema.parse({ models }));
|
|
@@ -29316,7 +29386,7 @@ function clientIp(c) {
|
|
|
29316
29386
|
return "unknown";
|
|
29317
29387
|
}
|
|
29318
29388
|
}
|
|
29319
|
-
async function handler(c) {
|
|
29389
|
+
async function handler$1(c) {
|
|
29320
29390
|
if (!consumeContactRateLimit(clientIp(c))) return c.json({ error: "Too many requests" }, 429);
|
|
29321
29391
|
const parsed = SubmitMarketingContactRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
29322
29392
|
if (!parsed.success) {
|
|
@@ -29338,6 +29408,16 @@ async function handler(c) {
|
|
|
29338
29408
|
return c.json(SubmitMarketingContactResponseSchema.parse({ ok: true }), 200);
|
|
29339
29409
|
}
|
|
29340
29410
|
//#endregion
|
|
29411
|
+
//#region src/routes/well-known/oauth-client-metadata/GET.ts
|
|
29412
|
+
/** Public CIMD document for outbound MCP OAuth (no session required). */
|
|
29413
|
+
async function handler(c) {
|
|
29414
|
+
const clientMetadataUrl = resolveOAuthClientMetadataUrl();
|
|
29415
|
+
const redirectUri = resolveMcpOAuthCallbackUrl();
|
|
29416
|
+
if (!clientMetadataUrl || !redirectUri) return c.json({ error: "PUBLIC_PLATFORM_URL is not configured" }, 500);
|
|
29417
|
+
const document = buildOAuthClientMetadataDocument(clientMetadataUrl, redirectUri);
|
|
29418
|
+
return c.json(document, 200, { "Cache-Control": "public, max-age=3600" });
|
|
29419
|
+
}
|
|
29420
|
+
//#endregion
|
|
29341
29421
|
//#region src/app.ts
|
|
29342
29422
|
async function createApp$1(auth, options) {
|
|
29343
29423
|
return createApp({
|
|
@@ -29353,8 +29433,9 @@ async function createApp$1(auth, options) {
|
|
|
29353
29433
|
mountAuth(app, authInstance);
|
|
29354
29434
|
},
|
|
29355
29435
|
mountAccount: async (app) => {
|
|
29356
|
-
app.
|
|
29357
|
-
app.
|
|
29436
|
+
app.get(OAUTH_CLIENT_METADATA_PATH, handler);
|
|
29437
|
+
app.post("/api/public/contact", handler$1);
|
|
29438
|
+
app.get("/api/public/models", handler$2);
|
|
29358
29439
|
app.route("/api", mountAccountRoutes({
|
|
29359
29440
|
hosting: options.hosting,
|
|
29360
29441
|
storage: options.storage,
|
|
@@ -29459,4 +29540,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
29459
29540
|
//#endregion
|
|
29460
29541
|
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
29542
|
|
|
29462
|
-
//# sourceMappingURL=start-
|
|
29543
|
+
//# sourceMappingURL=start-BBwx09TY.mjs.map
|