@keystrokehq/platform 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{awk2-LA3USKJP-DSodU9EK.cjs → awk2-LA3USKJP-Bz_5qS3B.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-DSodU9EK.cjs.map → awk2-LA3USKJP-Bz_5qS3B.cjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-XV05f-xq.mjs → awk2-LA3USKJP-CUHfIPnN.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-XV05f-xq.mjs.map → awk2-LA3USKJP-CUHfIPnN.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-Ciwpp79h.cjs → base64-C2AIWVNC-Bs_4TUn0.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-Ciwpp79h.cjs.map → base64-C2AIWVNC-Bs_4TUn0.cjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-DJMT7Bs8.mjs → base64-C2AIWVNC-DSi2bmJh.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-DJMT7Bs8.mjs.map → base64-C2AIWVNC-DSi2bmJh.mjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-BG32kEje.cjs → bash-YZ33HQZQ-Bfpmr-TM.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-BG32kEje.cjs.map → bash-YZ33HQZQ-Bfpmr-TM.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-CRsEMAfz.mjs → bash-YZ33HQZQ-DjOQ6JjM.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-CRsEMAfz.mjs.map → bash-YZ33HQZQ-DjOQ6JjM.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-Dp256KAl.mjs → cat-TSFMZVYS-CB5EVe2o.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-Dp256KAl.mjs.map → cat-TSFMZVYS-CB5EVe2o.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-DyJAkSpW.cjs → cat-TSFMZVYS-KsZFwGjt.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-DyJAkSpW.cjs.map → cat-TSFMZVYS-KsZFwGjt.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-_XORDVMb.cjs → chunk-5H5SCKJM-CTha9InT.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-_XORDVMb.cjs.map → chunk-5H5SCKJM-CTha9InT.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-oDBe2vU6.mjs → chunk-5H5SCKJM-DqZKjMww.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-oDBe2vU6.mjs.map → chunk-5H5SCKJM-DqZKjMww.mjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-DjxmvSeP.mjs → chunk-AQ6FYS2X-BcCblzH0.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-DjxmvSeP.mjs.map → chunk-AQ6FYS2X-BcCblzH0.mjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-DUpLjfnT.cjs → chunk-AQ6FYS2X-tLl-dLvQ.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-DUpLjfnT.cjs.map → chunk-AQ6FYS2X-tLl-dLvQ.cjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-BdkcwMbI.mjs → chunk-CHFEPBH4-ClA5__Al.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-BdkcwMbI.mjs.map → chunk-CHFEPBH4-ClA5__Al.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-CYhycw6A.cjs → chunk-CHFEPBH4-M2FD_SH1.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-CYhycw6A.cjs.map → chunk-CHFEPBH4-M2FD_SH1.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-DVRJVM4Z.cjs → chunk-EBAPSGAO-BMt7CpCB.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-DVRJVM4Z.cjs.map → chunk-EBAPSGAO-BMt7CpCB.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-B78H3bbx.mjs → chunk-EBAPSGAO-C9TMTYZQ.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-B78H3bbx.mjs.map → chunk-EBAPSGAO-C9TMTYZQ.mjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-BeOfjZWH.cjs → chunk-LEKBROJD-C7hXKNZW.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-BeOfjZWH.cjs.map → chunk-LEKBROJD-C7hXKNZW.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-DMyDHAOn.mjs → chunk-LEKBROJD-CUI1w13T.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-DMyDHAOn.mjs.map → chunk-LEKBROJD-CUI1w13T.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-DFZrL1S2.mjs → chunk-VPADYNBD-D1XkI5nz.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-DFZrL1S2.mjs.map → chunk-VPADYNBD-D1XkI5nz.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-FZH_vpgC.cjs → chunk-VPADYNBD-N-8es0cB.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-FZH_vpgC.cjs.map → chunk-VPADYNBD-N-8es0cB.cjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-DL4l8ArM.cjs → chunk-YCLFEX4T-BdXs6vK4.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-DL4l8ArM.cjs.map → chunk-YCLFEX4T-BdXs6vK4.cjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-Bvl2yMFc.mjs → chunk-YCLFEX4T-N1BY3UDP.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-Bvl2yMFc.mjs.map → chunk-YCLFEX4T-N1BY3UDP.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-nlTdlunB.mjs → column-XT6UFXNQ-ClxPkddp.mjs} +2 -2
- package/dist/{column-XT6UFXNQ-nlTdlunB.mjs.map → column-XT6UFXNQ-ClxPkddp.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-D1dzvATF.cjs → column-XT6UFXNQ-DqHXhLP0.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-D1dzvATF.cjs.map → column-XT6UFXNQ-DqHXhLP0.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-CtjYGEEe.mjs → comm-VV2LDX2J-B1JYbMCB.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-CtjYGEEe.mjs.map → comm-VV2LDX2J-B1JYbMCB.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-C2HdjuOA.cjs → comm-VV2LDX2J-DeD0X2x4.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-C2HdjuOA.cjs.map → comm-VV2LDX2J-DeD0X2x4.cjs.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{cp-BISAAS7A-CNNTr1t8.cjs → cp-BISAAS7A-Bjq_ri0g.cjs} +2 -2
- package/dist/{cp-BISAAS7A-CNNTr1t8.cjs.map → cp-BISAAS7A-Bjq_ri0g.cjs.map} +1 -1
- package/dist/{cp-BISAAS7A-CwAw8Re0.mjs → cp-BISAAS7A-CAm4Z0sE.mjs} +2 -2
- package/dist/{cp-BISAAS7A-CwAw8Re0.mjs.map → cp-BISAAS7A-CAm4Z0sE.mjs.map} +1 -1
- package/dist/{cut-OKARJCCV-Bnfc9d4n.mjs → cut-OKARJCCV-CRIjg0Ns.mjs} +3 -3
- package/dist/{cut-OKARJCCV-Bnfc9d4n.mjs.map → cut-OKARJCCV-CRIjg0Ns.mjs.map} +1 -1
- package/dist/{cut-OKARJCCV-ZUbHO7DV.cjs → cut-OKARJCCV-zQMscz57.cjs} +3 -3
- package/dist/{cut-OKARJCCV-ZUbHO7DV.cjs.map → cut-OKARJCCV-zQMscz57.cjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-CzjGkQ-G.cjs → diff-MWJFIG7X-B1iZmQRt.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-CzjGkQ-G.cjs.map → diff-MWJFIG7X-B1iZmQRt.cjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-oMJN3Qcs.mjs → diff-MWJFIG7X-D427o8_7.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-oMJN3Qcs.mjs.map → diff-MWJFIG7X-D427o8_7.mjs.map} +1 -1
- package/dist/{dist-DCDJn81K.mjs → dist-D3xq_ceI.mjs} +10571 -41
- package/dist/dist-D3xq_ceI.mjs.map +1 -0
- package/dist/{dist-BOUnkJqi.cjs → dist-DlBdattN.cjs} +10802 -199
- package/dist/dist-DlBdattN.cjs.map +1 -0
- package/dist/{du-572XNP42-Ccz6xOX8.mjs → du-572XNP42-DrGIQrok.mjs} +2 -2
- package/dist/{du-572XNP42-Ccz6xOX8.mjs.map → du-572XNP42-DrGIQrok.mjs.map} +1 -1
- package/dist/{du-572XNP42-BqK_djxX.cjs → du-572XNP42-zmjcHbWx.cjs} +2 -2
- package/dist/{du-572XNP42-BqK_djxX.cjs.map → du-572XNP42-zmjcHbWx.cjs.map} +1 -1
- package/dist/{env-36M5BO7M-BZNtzUW8.cjs → env-36M5BO7M-7QqjcLav.cjs} +2 -2
- package/dist/{env-36M5BO7M-BZNtzUW8.cjs.map → env-36M5BO7M-7QqjcLav.cjs.map} +1 -1
- package/dist/{env-36M5BO7M-CSD0H2fx.mjs → env-36M5BO7M-B8jcteMZ.mjs} +2 -2
- package/dist/{env-36M5BO7M-CSD0H2fx.mjs.map → env-36M5BO7M-B8jcteMZ.mjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-VpaF3TWn.mjs → expand-JSPG6VOP-DNRQYlJE.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-VpaF3TWn.mjs.map → expand-JSPG6VOP-DNRQYlJE.mjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-BeTweohI.cjs → expand-JSPG6VOP-DPWZSJ35.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-BeTweohI.cjs.map → expand-JSPG6VOP-DPWZSJ35.cjs.map} +1 -1
- package/dist/{expr-5JAACS4X-XLUssDwP.mjs → expr-5JAACS4X-BhL-DtvF.mjs} +2 -2
- package/dist/{expr-5JAACS4X-XLUssDwP.mjs.map → expr-5JAACS4X-BhL-DtvF.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-D814megs.cjs → expr-5JAACS4X-CRqZrw1J.cjs} +2 -2
- package/dist/{expr-5JAACS4X-D814megs.cjs.map → expr-5JAACS4X-CRqZrw1J.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-C8vI-rhn.mjs → find-INTH3OLC-B7pfHk1D.mjs} +3 -3
- package/dist/{find-INTH3OLC-C8vI-rhn.mjs.map → find-INTH3OLC-B7pfHk1D.mjs.map} +1 -1
- package/dist/{find-INTH3OLC-BMMlQvZi.cjs → find-INTH3OLC-fn7mS1WG.cjs} +3 -3
- package/dist/{find-INTH3OLC-BMMlQvZi.cjs.map → find-INTH3OLC-fn7mS1WG.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-Df1aCkbx.mjs → fold-4TQNYMSW-BPsq-Rk7.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-Df1aCkbx.mjs.map → fold-4TQNYMSW-BPsq-Rk7.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-ClBSFwXh.cjs → fold-4TQNYMSW-DY2bAZqA.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-ClBSFwXh.cjs.map → fold-4TQNYMSW-DY2bAZqA.cjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-D_Plk4kU.mjs → grep-V3LQVMRQ-D0S9BMWm.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-D_Plk4kU.mjs.map → grep-V3LQVMRQ-D0S9BMWm.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-DWLZe9ek.cjs → grep-V3LQVMRQ-DPh-vbM4.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-DWLZe9ek.cjs.map → grep-V3LQVMRQ-DPh-vbM4.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-DaL6S6xq.cjs → gzip-O5ASJAFY-DYkl8Paj.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-DaL6S6xq.cjs.map → gzip-O5ASJAFY-DYkl8Paj.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-qkX6fNlH.mjs → gzip-O5ASJAFY-oBPK4VtL.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-qkX6fNlH.mjs.map → gzip-O5ASJAFY-oBPK4VtL.mjs.map} +1 -1
- package/dist/{head-442HYESI-q1Y1529l.mjs → head-442HYESI-3cX76Dbw.mjs} +2 -2
- package/dist/{head-442HYESI-q1Y1529l.mjs.map → head-442HYESI-3cX76Dbw.mjs.map} +1 -1
- package/dist/{head-442HYESI-BKgO4PzV.cjs → head-442HYESI-D6GL-GKx.cjs} +2 -2
- package/dist/{head-442HYESI-BKgO4PzV.cjs.map → head-442HYESI-D6GL-GKx.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-tVjTjGEj.mjs → help-HZ6M2CKN-DYQWbVNc.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-tVjTjGEj.mjs.map → help-HZ6M2CKN-DYQWbVNc.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-CM8MvT7-.cjs → help-HZ6M2CKN-Dra6VD8l.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-CM8MvT7-.cjs.map → help-HZ6M2CKN-Dra6VD8l.cjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-DKpzolQL.mjs → html-to-markdown-JW4MSQZO-C1K3tE1y.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-DKpzolQL.mjs.map → html-to-markdown-JW4MSQZO-C1K3tE1y.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-CTGEo819.cjs → html-to-markdown-JW4MSQZO-DX27fv5k.cjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-CTGEo819.cjs.map → html-to-markdown-JW4MSQZO-DX27fv5k.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-DNgDrJKh.cjs → join-TBRGI3LQ-CFn50nzi.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-DNgDrJKh.cjs.map → join-TBRGI3LQ-CFn50nzi.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-DWuIuD_M.mjs → join-TBRGI3LQ-RetGo8e3.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-DWuIuD_M.mjs.map → join-TBRGI3LQ-RetGo8e3.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-Bszlja-3.cjs → jq-4XLYLOS5-BEygWO4t.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-Bszlja-3.cjs.map → jq-4XLYLOS5-BEygWO4t.cjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-hPLSzgJI.mjs → jq-4XLYLOS5-tAMBfLbp.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-hPLSzgJI.mjs.map → jq-4XLYLOS5-tAMBfLbp.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-qLi-iHSf.cjs → js-exec-N5KEZBH7-DUrzzhNm.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-qLi-iHSf.cjs.map → js-exec-N5KEZBH7-DUrzzhNm.cjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-BRqWQVWm.mjs → js-exec-N5KEZBH7-qQ5KOl_G.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-BRqWQVWm.mjs.map → js-exec-N5KEZBH7-qQ5KOl_G.mjs.map} +1 -1
- package/dist/{lib-CVjNf6WO.mjs → lib-B-iFrVAe.mjs} +2 -2
- package/dist/{lib-CVjNf6WO.mjs.map → lib-B-iFrVAe.mjs.map} +1 -1
- package/dist/{lib-DP4hgM_x.cjs → lib-B63SQ89e.cjs} +2 -2
- package/dist/{lib-DP4hgM_x.cjs.map → lib-B63SQ89e.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-ewS4XftL.mjs → ln-4LGSXXGD-CJQmy7lw.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-ewS4XftL.mjs.map → ln-4LGSXXGD-CJQmy7lw.mjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-Eo-aamDO.cjs → ln-4LGSXXGD-DD6JwlTZ.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-Eo-aamDO.cjs.map → ln-4LGSXXGD-DD6JwlTZ.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-BR6ic_HY.cjs → ls-ZJGQER7M-7n6QBD0S.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-BR6ic_HY.cjs.map → ls-ZJGQER7M-7n6QBD0S.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-BPSWCKmc.mjs → ls-ZJGQER7M-knrxu7nq.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-BPSWCKmc.mjs.map → ls-ZJGQER7M-knrxu7nq.mjs.map} +1 -1
- package/dist/{lzma-141SuNbK.cjs → lzma-DQQMkmlI.cjs} +2 -2
- package/dist/{lzma-141SuNbK.cjs.map → lzma-DQQMkmlI.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-NfddgAKZ.mjs → md5sum-SPU24VSG-B-On48Ml.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-NfddgAKZ.mjs.map → md5sum-SPU24VSG-B-On48Ml.mjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-CEXQhi__.cjs → md5sum-SPU24VSG-C2h6RP4c.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-CEXQhi__.cjs.map → md5sum-SPU24VSG-C2h6RP4c.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-NqHdU0T1.cjs → mkdir-MEPGZOB6-D-a5tN-A.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-NqHdU0T1.cjs.map → mkdir-MEPGZOB6-D-a5tN-A.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-DNerz547.mjs → mkdir-MEPGZOB6-DMiodUtH.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-DNerz547.mjs.map → mkdir-MEPGZOB6-DMiodUtH.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-Bjk99HWO.mjs → mv-W5BIQ646-CqH6GdND.mjs} +2 -2
- package/dist/{mv-W5BIQ646-Bjk99HWO.mjs.map → mv-W5BIQ646-CqH6GdND.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-CIQXUuLj.cjs → mv-W5BIQ646-DNKKxzsp.cjs} +2 -2
- package/dist/{mv-W5BIQ646-CIQXUuLj.cjs.map → mv-W5BIQ646-DNKKxzsp.cjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-DvjpUbc6.mjs → nl-WSDW7I4O-D3mjhE1B.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-DvjpUbc6.mjs.map → nl-WSDW7I4O-D3mjhE1B.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-DlIGOfvL.cjs → nl-WSDW7I4O-fmGiYdLg.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-DlIGOfvL.cjs.map → nl-WSDW7I4O-fmGiYdLg.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-CIgtP05c.mjs → od-WOKFDJTP-Bv-Ir4DD.mjs} +2 -2
- package/dist/{od-WOKFDJTP-CIgtP05c.mjs.map → od-WOKFDJTP-Bv-Ir4DD.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-Cwk1Knep.cjs → od-WOKFDJTP-DUp9iXPo.cjs} +2 -2
- package/dist/{od-WOKFDJTP-Cwk1Knep.cjs.map → od-WOKFDJTP-DUp9iXPo.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-BQwXeMbp.cjs → paste-7JC6S4DX-Cm1CPFnH.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-BQwXeMbp.cjs.map → paste-7JC6S4DX-Cm1CPFnH.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-CncMWnIT.mjs → paste-7JC6S4DX-Dm1ARADe.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-CncMWnIT.mjs.map → paste-7JC6S4DX-Dm1ARADe.mjs.map} +1 -1
- package/dist/{printf-TWGXF445-Dg_xdqrq.mjs → printf-TWGXF445-1gw-WlBT.mjs} +3 -3
- package/dist/{printf-TWGXF445-Dg_xdqrq.mjs.map → printf-TWGXF445-1gw-WlBT.mjs.map} +1 -1
- package/dist/{printf-TWGXF445-DY6hfxkE.cjs → printf-TWGXF445-BZIg5yEn.cjs} +3 -3
- package/dist/{printf-TWGXF445-DY6hfxkE.cjs.map → printf-TWGXF445-BZIg5yEn.cjs.map} +1 -1
- package/dist/{python3-POMOR4OA-CAFZif6Y.mjs → python3-POMOR4OA-CcYyeHqG.mjs} +3 -3
- package/dist/{python3-POMOR4OA-CAFZif6Y.mjs.map → python3-POMOR4OA-CcYyeHqG.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-CqDZ_Kxy.cjs → python3-POMOR4OA-tHHJIyfl.cjs} +3 -3
- package/dist/{python3-POMOR4OA-CqDZ_Kxy.cjs.map → python3-POMOR4OA-tHHJIyfl.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-BYsx8Jk9.cjs → rev-5EHFX4EJ-CoKQcxoW.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-BYsx8Jk9.cjs.map → rev-5EHFX4EJ-CoKQcxoW.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-5FBTIJ9v.mjs → rev-5EHFX4EJ-ul8u6uW3.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-5FBTIJ9v.mjs.map → rev-5EHFX4EJ-ul8u6uW3.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-DvnOCVVs.mjs → rg-S4FXYXWB-BNu1IMuQ.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-DvnOCVVs.mjs.map → rg-S4FXYXWB-BNu1IMuQ.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-CM9xV1hV.cjs → rg-S4FXYXWB-BPrfIP3V.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-CM9xV1hV.cjs.map → rg-S4FXYXWB-BPrfIP3V.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-csverXyb.mjs → rm-SSGETQVQ-CONlitLU.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-csverXyb.mjs.map → rm-SSGETQVQ-CONlitLU.mjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-_r0DV-pQ.cjs → rm-SSGETQVQ-DhkoeIwb.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-_r0DV-pQ.cjs.map → rm-SSGETQVQ-DhkoeIwb.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-DE1Zx2SA.cjs → rmdir-OC4ZLPYA-0bdLQhfz.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-DE1Zx2SA.cjs.map → rmdir-OC4ZLPYA-0bdLQhfz.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-C29p7Glg.mjs → rmdir-OC4ZLPYA-Ge8Xp67B.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-C29p7Glg.mjs.map → rmdir-OC4ZLPYA-Ge8Xp67B.mjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-Bwca8rcT.mjs → sed-S5UIK574-Djhw8XSG.mjs} +2 -2
- package/dist/{sed-S5UIK574-Bwca8rcT.mjs.map → sed-S5UIK574-Djhw8XSG.mjs.map} +1 -1
- package/dist/{sed-S5UIK574-BJGKpplS.cjs → sed-S5UIK574-Tht6AERS.cjs} +2 -2
- package/dist/{sed-S5UIK574-BJGKpplS.cjs.map → sed-S5UIK574-Tht6AERS.cjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-DDCukIj9.mjs → sha1sum-2PTOAFR6-BTshh3M2.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-DDCukIj9.mjs.map → sha1sum-2PTOAFR6-BTshh3M2.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-Cn_m870A.cjs → sha1sum-2PTOAFR6-DAJIvMyh.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-Cn_m870A.cjs.map → sha1sum-2PTOAFR6-DAJIvMyh.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-C5T_mkPi.cjs → sha256sum-NS7D3IXX-C2Ty0P-E.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-C5T_mkPi.cjs.map → sha256sum-NS7D3IXX-C2Ty0P-E.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-BAUkrIq0.mjs → sha256sum-NS7D3IXX-DuOzqwES.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-BAUkrIq0.mjs.map → sha256sum-NS7D3IXX-DuOzqwES.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-BbYO8IuH.cjs → sleep-X22JJINO-B2IOPy8c.cjs} +2 -2
- package/dist/{sleep-X22JJINO-BbYO8IuH.cjs.map → sleep-X22JJINO-B2IOPy8c.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-BvvjuFPV.mjs → sleep-X22JJINO-cct19bFs.mjs} +2 -2
- package/dist/{sleep-X22JJINO-BvvjuFPV.mjs.map → sleep-X22JJINO-cct19bFs.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-Ct66qHwe.cjs → sort-SW2YEO5B-BFdK-9e8.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-Ct66qHwe.cjs.map → sort-SW2YEO5B-BFdK-9e8.cjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-Dpc4a1_m.mjs → sort-SW2YEO5B-BjpIaW2-.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-Dpc4a1_m.mjs.map → sort-SW2YEO5B-BjpIaW2-.mjs.map} +1 -1
- package/dist/{split-4KKZZXXE-CVDyVWE1.cjs → split-4KKZZXXE-BR_MoyYj.cjs} +2 -2
- package/dist/{split-4KKZZXXE-CVDyVWE1.cjs.map → split-4KKZZXXE-BR_MoyYj.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-3wRqm5ld.mjs → split-4KKZZXXE-BVCv_n3u.mjs} +2 -2
- package/dist/{split-4KKZZXXE-3wRqm5ld.mjs.map → split-4KKZZXXE-BVCv_n3u.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-9DNVgjjW.mjs → sqlite3-CGOEFJAO-4p2ZjSOT.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-9DNVgjjW.mjs.map → sqlite3-CGOEFJAO-4p2ZjSOT.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-CyLt8NBp.cjs → sqlite3-CGOEFJAO-CVEBvT_R.cjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-CyLt8NBp.cjs.map → sqlite3-CGOEFJAO-CVEBvT_R.cjs.map} +1 -1
- package/dist/{start-4I4_mRpg.cjs → start-Bm-sRll5.cjs} +368 -213
- package/dist/start-Bm-sRll5.cjs.map +1 -0
- package/dist/{start-bZFo4MFZ.mjs → start-DE4umh9L.mjs} +368 -213
- package/dist/start-DE4umh9L.mjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.d.cts +1 -1
- package/dist/start.d.mts +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-CzMgE6lb.cjs → strings-6WDHLGMX-BVts6ju2.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-CzMgE6lb.cjs.map → strings-6WDHLGMX-BVts6ju2.cjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-DbIq_bOR.mjs → strings-6WDHLGMX-BbVpuE-M.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-DbIq_bOR.mjs.map → strings-6WDHLGMX-BbVpuE-M.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-DkjoAMxC.mjs → tac-2STMMJYW-BTbiodAq.mjs} +2 -2
- package/dist/{tac-2STMMJYW-DkjoAMxC.mjs.map → tac-2STMMJYW-BTbiodAq.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-Di3AWfnZ.cjs → tac-2STMMJYW-v4vihtfv.cjs} +2 -2
- package/dist/{tac-2STMMJYW-Di3AWfnZ.cjs.map → tac-2STMMJYW-v4vihtfv.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-CFaX7mf-.cjs → tail-R4PCA2C4-CbuVyzCz.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-CFaX7mf-.cjs.map → tail-R4PCA2C4-CbuVyzCz.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-BznPI_i_.mjs → tail-R4PCA2C4-DNfzBGHC.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-BznPI_i_.mjs.map → tail-R4PCA2C4-DNfzBGHC.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-DsIvECgA.mjs → tar-STHHZTZ6-C05g7tnL.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-DsIvECgA.mjs.map → tar-STHHZTZ6-C05g7tnL.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-7rT_572V.cjs → tar-STHHZTZ6-C0EdFcFe.cjs} +5 -5
- package/dist/{tar-STHHZTZ6-7rT_572V.cjs.map → tar-STHHZTZ6-C0EdFcFe.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-CYLjS-Zu.mjs → tee-YUZ2FKCJ-BODr4DfJ.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-CYLjS-Zu.mjs.map → tee-YUZ2FKCJ-BODr4DfJ.mjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-BTlYfkIl.cjs → tee-YUZ2FKCJ-Y5FbBFAi.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-BTlYfkIl.cjs.map → tee-YUZ2FKCJ-Y5FbBFAi.cjs.map} +1 -1
- package/dist/{time-D4LNBSWX-zuIqnzTZ.cjs → time-D4LNBSWX-CGZ1Jjtz.cjs} +2 -2
- package/dist/{time-D4LNBSWX-zuIqnzTZ.cjs.map → time-D4LNBSWX-CGZ1Jjtz.cjs.map} +1 -1
- package/dist/{time-D4LNBSWX-Dd89G8K7.mjs → time-D4LNBSWX-CphyvigR.mjs} +2 -2
- package/dist/{time-D4LNBSWX-Dd89G8K7.mjs.map → time-D4LNBSWX-CphyvigR.mjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-D_ivcSTe.cjs → timeout-YDCRSLPQ-Be3ijMm2.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-D_ivcSTe.cjs.map → timeout-YDCRSLPQ-Be3ijMm2.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-Bg_z7hW3.mjs → timeout-YDCRSLPQ-C2leKPOa.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-Bg_z7hW3.mjs.map → timeout-YDCRSLPQ-C2leKPOa.mjs.map} +1 -1
- package/dist/{touch-UA33VN3N-D0f4EyoS.cjs → touch-UA33VN3N-CrgDiqFL.cjs} +2 -2
- package/dist/{touch-UA33VN3N-D0f4EyoS.cjs.map → touch-UA33VN3N-CrgDiqFL.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-DJzb6r3T.mjs → touch-UA33VN3N-F5kzEMdg.mjs} +2 -2
- package/dist/{touch-UA33VN3N-DJzb6r3T.mjs.map → touch-UA33VN3N-F5kzEMdg.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-DftRfnSM.cjs → tr-36LHWFRQ-CYlHIsYJ.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-DftRfnSM.cjs.map → tr-36LHWFRQ-CYlHIsYJ.cjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-DWyDJ9vb.mjs → tr-36LHWFRQ-D-G4k3uH.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-DWyDJ9vb.mjs.map → tr-36LHWFRQ-D-G4k3uH.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-q4X_wew1.mjs → tree-YLD52CNT-BqHqq5uG.mjs} +2 -2
- package/dist/{tree-YLD52CNT-q4X_wew1.mjs.map → tree-YLD52CNT-BqHqq5uG.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-BYSnmNSS.cjs → tree-YLD52CNT-DEaMfgEI.cjs} +2 -2
- package/dist/{tree-YLD52CNT-BYSnmNSS.cjs.map → tree-YLD52CNT-DEaMfgEI.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-BzBmm9zG.cjs → unexpand-CADSA4VO-Cdcjl513.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-BzBmm9zG.cjs.map → unexpand-CADSA4VO-Cdcjl513.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-DAmAORZa.mjs → unexpand-CADSA4VO-CykAWVd2.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-DAmAORZa.mjs.map → unexpand-CADSA4VO-CykAWVd2.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-Dgr4xZpf.mjs → uniq-XSIZR6PB-D_1TK2TV.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-Dgr4xZpf.mjs.map → uniq-XSIZR6PB-D_1TK2TV.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-CXU8td9H.cjs → uniq-XSIZR6PB-DonSk3E2.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-CXU8td9H.cjs.map → uniq-XSIZR6PB-DonSk3E2.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-BavTNuqC.cjs → wc-LF7NU4LA-D5nKlcf-.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-BavTNuqC.cjs.map → wc-LF7NU4LA-D5nKlcf-.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-CnTKhMs3.mjs → wc-LF7NU4LA-DwvyIxFh.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-CnTKhMs3.mjs.map → wc-LF7NU4LA-DwvyIxFh.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-BpIvmPe1.mjs → xan-Y6WF3IRG-4aKmb8JA.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-BpIvmPe1.mjs.map → xan-Y6WF3IRG-4aKmb8JA.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-CYnnOmgg.cjs → xan-Y6WF3IRG-Be0pzYi9.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-CYnnOmgg.cjs.map → xan-Y6WF3IRG-Be0pzYi9.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-iFSKoOAL.cjs → xan-view-HDVKHFC2-CeRDV-8_.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-iFSKoOAL.cjs.map → xan-view-HDVKHFC2-CeRDV-8_.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-DVaI92zL.mjs → xan-view-HDVKHFC2-GsGbRDgZ.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-DVaI92zL.mjs.map → xan-view-HDVKHFC2-GsGbRDgZ.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-C0XL92Qo.mjs → xargs-MGZPH7AX-COEX0F-o.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-C0XL92Qo.mjs.map → xargs-MGZPH7AX-COEX0F-o.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-D7s1cSR4.cjs → xargs-MGZPH7AX-Ch2qBhWE.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-D7s1cSR4.cjs.map → xargs-MGZPH7AX-Ch2qBhWE.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-C9bYZv2H.cjs → yq-4QJW3EQG-B17J7ov2.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-C9bYZv2H.cjs.map → yq-4QJW3EQG-B17J7ov2.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-D2mrdxnU.mjs → yq-4QJW3EQG-vNxAc8W4.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-D2mrdxnU.mjs.map → yq-4QJW3EQG-vNxAc8W4.mjs.map} +1 -1
- package/package.json +4 -4
- package/dist/dist-BOUnkJqi.cjs.map +0 -1
- package/dist/dist-DCDJn81K.mjs.map +0 -1
- package/dist/start-4I4_mRpg.cjs.map +0 -1
- package/dist/start-bZFo4MFZ.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DeclineOrganizationInvitationResponseSchema, $t as StartMcpOAuthConnectionResultSchema, A as ACTIVE_ORG_HEADER, An as buildCredentialInstanceLabel, At as OrganizationSidebarBrandingSchema, B as CompleteProjectArtifactResponseSchema, Bn as mapProjectSettings, Bt as ProjectResponseSchema, C as decodeOAuthState, Cn as WorkspaceTriggerDetailSchema, Ct as ListProjectMetricsResponseSchema, D as deleteCredentialInstanceSecret, Dn as WorkspaceTriggerRunListResponseSchema, Dt as OpenApiDiscoverRequestSchema, E as PublicHttpUrlError, En as WorkspaceTriggerOverviewSchema, Et as McpDiscoverResponseSchema, F as AgentSummaryListResponseSchema, Fn as mapOrganizationMember, Ft as PresignProjectSourceRequestSchema, G as CreateCustomAppRequestSchema, Gn as organizationSlugErrorCodeFromMessage, Gt as RecentResourceListResponseSchema, H as CreateApiKeyResponseSchema, Hn as mergeUserPreferences, Ht as ProjectSlugAvailabilityQuerySchema, I as AgentSummarySchema, In as mapProject, It as PresignProjectSourceResponseSchema, J as CreateOrganizationResponseSchema, Jn as projectFileId, Jt as SkillSummaryListResponseSchema, K as CreateCustomAppResponseSchema, Kn as parseAppSlug, Kt as RecentResourceSchema, L as AgentWorkspaceFileSummarySchema, Ln as mapProjectArtifact, Lt as PresignUserAvatarRequestSchema, M as ActiveOrganizationResponseSchema, Mn as displayCredentialAppName, Mt as PROJECT_SLUG_TAKEN_MESSAGE, N as AgentMemoryFileSummarySchema, Nn as listenPortFromPublicUrl, Nt as PresignOrgLogoRequestSchema, O as readCredentialInstanceSecret, On as agentMemoryFileId, Ot as OpenApiDiscoverResponseSchema, P as AgentSummaryDetailResponseSchema, Pn as mapOrganizationInvitation, Pt as PresignOrgLogoResponseSchema, Q as DEFAULT_TRIGGER_OVERVIEW_MODEL, Qn as validationErrorResponse, Qt as StartMcpOAuthConnectionInputSchema, R as AppSlugAvailabilityQuerySchema, Rn as mapProjectDeployment, Rt as PresignUserAvatarResponseSchema, S as completeMcpOAuthConnect, Sn as WorkflowSummarySchema, St as ListProjectMembersResponseSchema, T as discoverOpenApiApp, Tn as WorkspaceTriggerListResponseSchema, Tt as McpDiscoverRequestSchema, U as CreateCredentialsRequestSchema, Un as normalizeUserPreferences, Ut as ProjectSlugAvailabilityResponseSchema, V as CreateApiKeyRequestSchema, Vn as mapUserOrganization, Vt as ProjectSettingsResponseSchema, W as CreateCredentialsResponseSchema, Wn as organizationInvitationAcceptPath, Wt as ProjectSourceResourcesSchema, X as CreateProjectRequestSchema, Xn as resolveUniqueCredentialInstanceLabel, Xt as SlugAvailabilityQuerySchema, Y as CreateProjectArtifactResponseSchema, Yn as resolveExternalPlatformOrigin, Yt as SkillSummarySchema, Z as CreateProjectResponseSchema, Zn as validateCredentialValueAgainstFields, Zt as SlugAvailabilityResponseSchema, _ as publicKeystrokeAssetsObjectUrl, _n as UserAvatarSchema, _t as ListOrganizationInvitationsResponseSchema, a as isKeystrokeAssetsAvatarPublicUrl, an as TriggerRunListQuerySchema, at as HistoryRunDetailResponseSchema, b as defaultSchedulerPlugin, bn as WorkflowSummaryDetailResponseSchema, bt as ListProjectDeploymentsResponseSchema, c as isStorageBucketNotFoundError, cn as UpdateOrganizationMemberResponseSchema, ct as InviteOrganizationMembersRequestSchema, d as keystrokeAssetsAvatarKeyFromPublicUrl, dn as UpdateProjectMemberResponseSchema, dt as InviteProjectMembersResponseSchema, en as StoredProjectSourceManifestSchema, er as pingProjectTarget, et as DownloadActiveProjectArtifactResponseSchema, f as keystrokeAssetsOrgLogoKeyFromPublicUrl, fn as UpdateProjectRequestSchema, ft as ListAgentMemoryFilesResponseSchema, g as projectSourceBlobKey, gn as UserAvatarPatchSchema, gt as ListCredentialsResponseSchema, h as projectArtifactKey, hn as UploadProjectSourceResponseSchema, ht as ListAppsResponseSchema, i as extractRouteManifestFromArtifact, in as SubmitTeamRequestResponseSchema, it as HistoryRunCancelResponseSchema, j as AcceptOrganizationInvitationResponseSchema, jn as deriveCredentialInstanceSlug, jt as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, k as setCredentialInstanceSecret, kn as agentWorkspaceFileId, kt as OrganizationSidebarBrandingPatchSchema, l as isStorageNotFoundError$1, ln as UpdateOrganizationRequestSchema, lt as InviteOrganizationMembersResponseSchema, m as orgLogoStorageKey, mn as UploadProjectSourceManifestRequestSchema, mt as ListApiKeysResponseSchema, n as createAssetsStorageClient, nn as SubmitMarketingContactResponseSchema, nt as GetCredentialResponseSchema, o as isKeystrokeAssetsOrgLogoPublicUrl, on as UpdateCredentialRequestSchema, ot as HistoryRunListQuerySchema, pn as UpdateProjectSettingsRequestSchema, pt as ListAgentWorkspaceFilesResponseSchema, q as CreateOrganizationRequestSchema, qn as parseStoredRouteManifest, qt as SkillSummaryDetailResponseSchema, r as ensureKeystrokeAssetsBucket, rn as SubmitTeamRequestRequestSchema, rt as GetCustomAppResponseSchema, s as isOrgLogoStorageKey, sn as UpdateOrganizationMemberRequestSchema, st as HistoryRunListResponseSchema, t as RouteManifestNotFoundError, tn as SubmitMarketingContactRequestSchema, tt as ErrorResponseSchema, u as isUserAvatarStorageKey, un as UpdateProjectMemberRequestSchema, ut as InviteProjectMembersRequestSchema, v as userAvatarStorageKey, vn as UserPreferencesPatchSchema, vt as ListOrganizationMembersResponseSchema, w as discoverMcpApp, wn as WorkspaceTriggerFileSchema, wt as ListProjectsResponseSchema, x as beginMcpOAuthConnect, xn as WorkflowSummaryListResponseSchema, xt as ListProjectFilesResponseSchema, y as createJobQueue, yn as UserPreferencesSchema, yt as ListOrganizationsResponseSchema, z as AppSlugAvailabilityResponseSchema, zn as mapProjectMember, zt as ProjectReachabilityResponseSchema } from "./dist-D3xq_ceI.mjs";
|
|
2
2
|
import "./chunk-BZUGFHVS-B2NchobP.mjs";
|
|
3
3
|
import { n as d$4, t as _$1 } from "./chunk-TN7HHBQW-B8PYcKz5.mjs";
|
|
4
4
|
import { t as withProjectScope } from "./with-project-scope-C6gaaB04.mjs";
|
|
@@ -23169,43 +23169,43 @@ var tt = [
|
|
|
23169
23169
|
},
|
|
23170
23170
|
{
|
|
23171
23171
|
name: "cat",
|
|
23172
|
-
load: async () => (await import("./cat-TSFMZVYS-
|
|
23172
|
+
load: async () => (await import("./cat-TSFMZVYS-CB5EVe2o.mjs")).catCommand
|
|
23173
23173
|
},
|
|
23174
23174
|
{
|
|
23175
23175
|
name: "printf",
|
|
23176
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
23176
|
+
load: async () => (await import("./printf-TWGXF445-1gw-WlBT.mjs")).printfCommand
|
|
23177
23177
|
},
|
|
23178
23178
|
{
|
|
23179
23179
|
name: "ls",
|
|
23180
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
23180
|
+
load: async () => (await import("./ls-ZJGQER7M-knrxu7nq.mjs")).lsCommand
|
|
23181
23181
|
},
|
|
23182
23182
|
{
|
|
23183
23183
|
name: "mkdir",
|
|
23184
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
23184
|
+
load: async () => (await import("./mkdir-MEPGZOB6-DMiodUtH.mjs")).mkdirCommand
|
|
23185
23185
|
},
|
|
23186
23186
|
{
|
|
23187
23187
|
name: "rmdir",
|
|
23188
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
23188
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-Ge8Xp67B.mjs")).rmdirCommand
|
|
23189
23189
|
},
|
|
23190
23190
|
{
|
|
23191
23191
|
name: "touch",
|
|
23192
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
23192
|
+
load: async () => (await import("./touch-UA33VN3N-F5kzEMdg.mjs")).touchCommand
|
|
23193
23193
|
},
|
|
23194
23194
|
{
|
|
23195
23195
|
name: "rm",
|
|
23196
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
23196
|
+
load: async () => (await import("./rm-SSGETQVQ-CONlitLU.mjs")).rmCommand
|
|
23197
23197
|
},
|
|
23198
23198
|
{
|
|
23199
23199
|
name: "cp",
|
|
23200
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
23200
|
+
load: async () => (await import("./cp-BISAAS7A-CAm4Z0sE.mjs")).cpCommand
|
|
23201
23201
|
},
|
|
23202
23202
|
{
|
|
23203
23203
|
name: "mv",
|
|
23204
|
-
load: async () => (await import("./mv-W5BIQ646-
|
|
23204
|
+
load: async () => (await import("./mv-W5BIQ646-CqH6GdND.mjs")).mvCommand
|
|
23205
23205
|
},
|
|
23206
23206
|
{
|
|
23207
23207
|
name: "ln",
|
|
23208
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
23208
|
+
load: async () => (await import("./ln-4LGSXXGD-CJQmy7lw.mjs")).lnCommand
|
|
23209
23209
|
},
|
|
23210
23210
|
{
|
|
23211
23211
|
name: "chmod",
|
|
@@ -23221,15 +23221,15 @@ var tt = [
|
|
|
23221
23221
|
},
|
|
23222
23222
|
{
|
|
23223
23223
|
name: "head",
|
|
23224
|
-
load: async () => (await import("./head-442HYESI-
|
|
23224
|
+
load: async () => (await import("./head-442HYESI-3cX76Dbw.mjs")).headCommand
|
|
23225
23225
|
},
|
|
23226
23226
|
{
|
|
23227
23227
|
name: "tail",
|
|
23228
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
23228
|
+
load: async () => (await import("./tail-R4PCA2C4-DNfzBGHC.mjs")).tailCommand
|
|
23229
23229
|
},
|
|
23230
23230
|
{
|
|
23231
23231
|
name: "wc",
|
|
23232
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
23232
|
+
load: async () => (await import("./wc-LF7NU4LA-DwvyIxFh.mjs")).wcCommand
|
|
23233
23233
|
},
|
|
23234
23234
|
{
|
|
23235
23235
|
name: "stat",
|
|
@@ -23237,95 +23237,95 @@ var tt = [
|
|
|
23237
23237
|
},
|
|
23238
23238
|
{
|
|
23239
23239
|
name: "grep",
|
|
23240
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23240
|
+
load: async () => (await import("./grep-V3LQVMRQ-D0S9BMWm.mjs")).grepCommand
|
|
23241
23241
|
},
|
|
23242
23242
|
{
|
|
23243
23243
|
name: "fgrep",
|
|
23244
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23244
|
+
load: async () => (await import("./grep-V3LQVMRQ-D0S9BMWm.mjs")).fgrepCommand
|
|
23245
23245
|
},
|
|
23246
23246
|
{
|
|
23247
23247
|
name: "egrep",
|
|
23248
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23248
|
+
load: async () => (await import("./grep-V3LQVMRQ-D0S9BMWm.mjs")).egrepCommand
|
|
23249
23249
|
},
|
|
23250
23250
|
{
|
|
23251
23251
|
name: "rg",
|
|
23252
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
23252
|
+
load: async () => (await import("./rg-S4FXYXWB-BNu1IMuQ.mjs")).rgCommand
|
|
23253
23253
|
},
|
|
23254
23254
|
{
|
|
23255
23255
|
name: "sed",
|
|
23256
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
23256
|
+
load: async () => (await import("./sed-S5UIK574-Djhw8XSG.mjs")).sedCommand
|
|
23257
23257
|
},
|
|
23258
23258
|
{
|
|
23259
23259
|
name: "awk",
|
|
23260
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
23260
|
+
load: async () => (await import("./awk2-LA3USKJP-CUHfIPnN.mjs")).awkCommand2
|
|
23261
23261
|
},
|
|
23262
23262
|
{
|
|
23263
23263
|
name: "sort",
|
|
23264
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
23264
|
+
load: async () => (await import("./sort-SW2YEO5B-BjpIaW2-.mjs")).sortCommand
|
|
23265
23265
|
},
|
|
23266
23266
|
{
|
|
23267
23267
|
name: "uniq",
|
|
23268
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
23268
|
+
load: async () => (await import("./uniq-XSIZR6PB-D_1TK2TV.mjs")).uniqCommand
|
|
23269
23269
|
},
|
|
23270
23270
|
{
|
|
23271
23271
|
name: "comm",
|
|
23272
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
23272
|
+
load: async () => (await import("./comm-VV2LDX2J-B1JYbMCB.mjs")).commCommand
|
|
23273
23273
|
},
|
|
23274
23274
|
{
|
|
23275
23275
|
name: "cut",
|
|
23276
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
23276
|
+
load: async () => (await import("./cut-OKARJCCV-CRIjg0Ns.mjs")).cutCommand
|
|
23277
23277
|
},
|
|
23278
23278
|
{
|
|
23279
23279
|
name: "paste",
|
|
23280
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
23280
|
+
load: async () => (await import("./paste-7JC6S4DX-Dm1ARADe.mjs")).pasteCommand
|
|
23281
23281
|
},
|
|
23282
23282
|
{
|
|
23283
23283
|
name: "tr",
|
|
23284
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
23284
|
+
load: async () => (await import("./tr-36LHWFRQ-D-G4k3uH.mjs")).trCommand
|
|
23285
23285
|
},
|
|
23286
23286
|
{
|
|
23287
23287
|
name: "rev",
|
|
23288
|
-
load: async () => (await import("./rev-5EHFX4EJ-
|
|
23288
|
+
load: async () => (await import("./rev-5EHFX4EJ-ul8u6uW3.mjs")).rev
|
|
23289
23289
|
},
|
|
23290
23290
|
{
|
|
23291
23291
|
name: "nl",
|
|
23292
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
23292
|
+
load: async () => (await import("./nl-WSDW7I4O-D3mjhE1B.mjs")).nl
|
|
23293
23293
|
},
|
|
23294
23294
|
{
|
|
23295
23295
|
name: "fold",
|
|
23296
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
23296
|
+
load: async () => (await import("./fold-4TQNYMSW-BPsq-Rk7.mjs")).fold
|
|
23297
23297
|
},
|
|
23298
23298
|
{
|
|
23299
23299
|
name: "expand",
|
|
23300
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23300
|
+
load: async () => (await import("./expand-JSPG6VOP-DNRQYlJE.mjs")).expand
|
|
23301
23301
|
},
|
|
23302
23302
|
{
|
|
23303
23303
|
name: "unexpand",
|
|
23304
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23304
|
+
load: async () => (await import("./unexpand-CADSA4VO-CykAWVd2.mjs")).unexpand
|
|
23305
23305
|
},
|
|
23306
23306
|
{
|
|
23307
23307
|
name: "strings",
|
|
23308
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23308
|
+
load: async () => (await import("./strings-6WDHLGMX-BbVpuE-M.mjs")).strings
|
|
23309
23309
|
},
|
|
23310
23310
|
{
|
|
23311
23311
|
name: "split",
|
|
23312
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23312
|
+
load: async () => (await import("./split-4KKZZXXE-BVCv_n3u.mjs")).split
|
|
23313
23313
|
},
|
|
23314
23314
|
{
|
|
23315
23315
|
name: "column",
|
|
23316
|
-
load: async () => (await import("./column-XT6UFXNQ-
|
|
23316
|
+
load: async () => (await import("./column-XT6UFXNQ-ClxPkddp.mjs")).column
|
|
23317
23317
|
},
|
|
23318
23318
|
{
|
|
23319
23319
|
name: "join",
|
|
23320
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23320
|
+
load: async () => (await import("./join-TBRGI3LQ-RetGo8e3.mjs")).join
|
|
23321
23321
|
},
|
|
23322
23322
|
{
|
|
23323
23323
|
name: "tee",
|
|
23324
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23324
|
+
load: async () => (await import("./tee-YUZ2FKCJ-BODr4DfJ.mjs")).teeCommand
|
|
23325
23325
|
},
|
|
23326
23326
|
{
|
|
23327
23327
|
name: "find",
|
|
23328
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23328
|
+
load: async () => (await import("./find-INTH3OLC-B7pfHk1D.mjs")).findCommand
|
|
23329
23329
|
},
|
|
23330
23330
|
{
|
|
23331
23331
|
name: "basename",
|
|
@@ -23337,19 +23337,19 @@ var tt = [
|
|
|
23337
23337
|
},
|
|
23338
23338
|
{
|
|
23339
23339
|
name: "tree",
|
|
23340
|
-
load: async () => (await import("./tree-YLD52CNT-
|
|
23340
|
+
load: async () => (await import("./tree-YLD52CNT-BqHqq5uG.mjs")).treeCommand
|
|
23341
23341
|
},
|
|
23342
23342
|
{
|
|
23343
23343
|
name: "du",
|
|
23344
|
-
load: async () => (await import("./du-572XNP42-
|
|
23344
|
+
load: async () => (await import("./du-572XNP42-DrGIQrok.mjs")).duCommand
|
|
23345
23345
|
},
|
|
23346
23346
|
{
|
|
23347
23347
|
name: "env",
|
|
23348
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23348
|
+
load: async () => (await import("./env-36M5BO7M-B8jcteMZ.mjs")).envCommand
|
|
23349
23349
|
},
|
|
23350
23350
|
{
|
|
23351
23351
|
name: "printenv",
|
|
23352
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23352
|
+
load: async () => (await import("./env-36M5BO7M-B8jcteMZ.mjs")).printenvCommand
|
|
23353
23353
|
},
|
|
23354
23354
|
{
|
|
23355
23355
|
name: "alias",
|
|
@@ -23365,7 +23365,7 @@ var tt = [
|
|
|
23365
23365
|
},
|
|
23366
23366
|
{
|
|
23367
23367
|
name: "xargs",
|
|
23368
|
-
load: async () => (await import("./xargs-MGZPH7AX-
|
|
23368
|
+
load: async () => (await import("./xargs-MGZPH7AX-COEX0F-o.mjs")).xargsCommand
|
|
23369
23369
|
},
|
|
23370
23370
|
{
|
|
23371
23371
|
name: "true",
|
|
@@ -23381,23 +23381,23 @@ var tt = [
|
|
|
23381
23381
|
},
|
|
23382
23382
|
{
|
|
23383
23383
|
name: "bash",
|
|
23384
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23384
|
+
load: async () => (await import("./bash-YZ33HQZQ-DjOQ6JjM.mjs")).bashCommand
|
|
23385
23385
|
},
|
|
23386
23386
|
{
|
|
23387
23387
|
name: "sh",
|
|
23388
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23388
|
+
load: async () => (await import("./bash-YZ33HQZQ-DjOQ6JjM.mjs")).shCommand
|
|
23389
23389
|
},
|
|
23390
23390
|
{
|
|
23391
23391
|
name: "jq",
|
|
23392
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23392
|
+
load: async () => (await import("./jq-4XLYLOS5-tAMBfLbp.mjs")).jqCommand
|
|
23393
23393
|
},
|
|
23394
23394
|
{
|
|
23395
23395
|
name: "base64",
|
|
23396
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23396
|
+
load: async () => (await import("./base64-C2AIWVNC-DSi2bmJh.mjs")).base64Command
|
|
23397
23397
|
},
|
|
23398
23398
|
{
|
|
23399
23399
|
name: "diff",
|
|
23400
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23400
|
+
load: async () => (await import("./diff-MWJFIG7X-D427o8_7.mjs")).diffCommand
|
|
23401
23401
|
},
|
|
23402
23402
|
{
|
|
23403
23403
|
name: "date",
|
|
@@ -23405,15 +23405,15 @@ var tt = [
|
|
|
23405
23405
|
},
|
|
23406
23406
|
{
|
|
23407
23407
|
name: "sleep",
|
|
23408
|
-
load: async () => (await import("./sleep-X22JJINO-
|
|
23408
|
+
load: async () => (await import("./sleep-X22JJINO-cct19bFs.mjs")).sleepCommand
|
|
23409
23409
|
},
|
|
23410
23410
|
{
|
|
23411
23411
|
name: "timeout",
|
|
23412
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23412
|
+
load: async () => (await import("./timeout-YDCRSLPQ-C2leKPOa.mjs")).timeoutCommand
|
|
23413
23413
|
},
|
|
23414
23414
|
{
|
|
23415
23415
|
name: "time",
|
|
23416
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23416
|
+
load: async () => (await import("./time-D4LNBSWX-CphyvigR.mjs")).timeCommand
|
|
23417
23417
|
},
|
|
23418
23418
|
{
|
|
23419
23419
|
name: "seq",
|
|
@@ -23421,19 +23421,19 @@ var tt = [
|
|
|
23421
23421
|
},
|
|
23422
23422
|
{
|
|
23423
23423
|
name: "expr",
|
|
23424
|
-
load: async () => (await import("./expr-5JAACS4X-
|
|
23424
|
+
load: async () => (await import("./expr-5JAACS4X-BhL-DtvF.mjs")).exprCommand
|
|
23425
23425
|
},
|
|
23426
23426
|
{
|
|
23427
23427
|
name: "md5sum",
|
|
23428
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23428
|
+
load: async () => (await import("./md5sum-SPU24VSG-B-On48Ml.mjs")).md5sumCommand
|
|
23429
23429
|
},
|
|
23430
23430
|
{
|
|
23431
23431
|
name: "sha1sum",
|
|
23432
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23432
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-BTshh3M2.mjs")).sha1sumCommand
|
|
23433
23433
|
},
|
|
23434
23434
|
{
|
|
23435
23435
|
name: "sha256sum",
|
|
23436
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23436
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-DuOzqwES.mjs")).sha256sumCommand
|
|
23437
23437
|
},
|
|
23438
23438
|
{
|
|
23439
23439
|
name: "file",
|
|
@@ -23441,11 +23441,11 @@ var tt = [
|
|
|
23441
23441
|
},
|
|
23442
23442
|
{
|
|
23443
23443
|
name: "html-to-markdown",
|
|
23444
|
-
load: async () => (await import("./html-to-markdown-JW4MSQZO-
|
|
23444
|
+
load: async () => (await import("./html-to-markdown-JW4MSQZO-C1K3tE1y.mjs")).htmlToMarkdownCommand
|
|
23445
23445
|
},
|
|
23446
23446
|
{
|
|
23447
23447
|
name: "help",
|
|
23448
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23448
|
+
load: async () => (await import("./help-HZ6M2CKN-DYQWbVNc.mjs")).helpCommand
|
|
23449
23449
|
},
|
|
23450
23450
|
{
|
|
23451
23451
|
name: "which",
|
|
@@ -23453,7 +23453,7 @@ var tt = [
|
|
|
23453
23453
|
},
|
|
23454
23454
|
{
|
|
23455
23455
|
name: "tac",
|
|
23456
|
-
load: async () => (await import("./tac-2STMMJYW-
|
|
23456
|
+
load: async () => (await import("./tac-2STMMJYW-BTbiodAq.mjs")).tac
|
|
23457
23457
|
},
|
|
23458
23458
|
{
|
|
23459
23459
|
name: "hostname",
|
|
@@ -23465,49 +23465,49 @@ var tt = [
|
|
|
23465
23465
|
},
|
|
23466
23466
|
{
|
|
23467
23467
|
name: "od",
|
|
23468
|
-
load: async () => (await import("./od-WOKFDJTP-
|
|
23468
|
+
load: async () => (await import("./od-WOKFDJTP-Bv-Ir4DD.mjs")).od
|
|
23469
23469
|
},
|
|
23470
23470
|
{
|
|
23471
23471
|
name: "gzip",
|
|
23472
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23472
|
+
load: async () => (await import("./gzip-O5ASJAFY-oBPK4VtL.mjs")).gzipCommand
|
|
23473
23473
|
},
|
|
23474
23474
|
{
|
|
23475
23475
|
name: "gunzip",
|
|
23476
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23476
|
+
load: async () => (await import("./gzip-O5ASJAFY-oBPK4VtL.mjs")).gunzipCommand
|
|
23477
23477
|
},
|
|
23478
23478
|
{
|
|
23479
23479
|
name: "zcat",
|
|
23480
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23480
|
+
load: async () => (await import("./gzip-O5ASJAFY-oBPK4VtL.mjs")).zcatCommand
|
|
23481
23481
|
}
|
|
23482
23482
|
];
|
|
23483
23483
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (tt.push({
|
|
23484
23484
|
name: "tar",
|
|
23485
|
-
load: async () => (await import("./tar-STHHZTZ6-
|
|
23485
|
+
load: async () => (await import("./tar-STHHZTZ6-C05g7tnL.mjs")).tarCommand
|
|
23486
23486
|
}), tt.push({
|
|
23487
23487
|
name: "yq",
|
|
23488
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23488
|
+
load: async () => (await import("./yq-4QJW3EQG-vNxAc8W4.mjs")).yqCommand
|
|
23489
23489
|
}), tt.push({
|
|
23490
23490
|
name: "xan",
|
|
23491
|
-
load: async () => (await import("./xan-Y6WF3IRG-
|
|
23491
|
+
load: async () => (await import("./xan-Y6WF3IRG-4aKmb8JA.mjs")).xanCommand
|
|
23492
23492
|
}), tt.push({
|
|
23493
23493
|
name: "sqlite3",
|
|
23494
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23494
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-4p2ZjSOT.mjs")).sqlite3Command
|
|
23495
23495
|
}));
|
|
23496
23496
|
var Yt = [];
|
|
23497
23497
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Yt.push({
|
|
23498
23498
|
name: "python3",
|
|
23499
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23499
|
+
load: async () => (await import("./python3-POMOR4OA-CcYyeHqG.mjs")).python3Command
|
|
23500
23500
|
}), Yt.push({
|
|
23501
23501
|
name: "python",
|
|
23502
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23502
|
+
load: async () => (await import("./python3-POMOR4OA-CcYyeHqG.mjs")).pythonCommand
|
|
23503
23503
|
}));
|
|
23504
23504
|
var Qt = [];
|
|
23505
23505
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Qt.push({
|
|
23506
23506
|
name: "js-exec",
|
|
23507
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23507
|
+
load: async () => (await import("./js-exec-N5KEZBH7-qQ5KOl_G.mjs")).jsExecCommand
|
|
23508
23508
|
}), Qt.push({
|
|
23509
23509
|
name: "node",
|
|
23510
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23510
|
+
load: async () => (await import("./js-exec-N5KEZBH7-qQ5KOl_G.mjs")).nodeStubCommand
|
|
23511
23511
|
}));
|
|
23512
23512
|
new TextEncoder();
|
|
23513
23513
|
Object.freeze({
|
|
@@ -24588,7 +24588,7 @@ function withOrganizationProjectDatabase() {
|
|
|
24588
24588
|
}
|
|
24589
24589
|
//#endregion
|
|
24590
24590
|
//#region src/routes/account/users/me/avatar/GET.ts
|
|
24591
|
-
const handler$
|
|
24591
|
+
const handler$77 = async (c) => {
|
|
24592
24592
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24593
24593
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24594
24594
|
return c.json(UserAvatarSchema.parse({ url: dbUser.image ?? null }));
|
|
@@ -24607,7 +24607,7 @@ function avatarExtensionForContentType(contentType) {
|
|
|
24607
24607
|
}
|
|
24608
24608
|
//#endregion
|
|
24609
24609
|
//#region src/routes/account/users/me/avatar/presign/POST.ts
|
|
24610
|
-
const handler$
|
|
24610
|
+
const handler$76 = async (c) => {
|
|
24611
24611
|
const parsed = PresignUserAvatarRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24612
24612
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar upload request" }), 400);
|
|
24613
24613
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -24647,7 +24647,7 @@ async function deleteStoredImageIfOwned(input) {
|
|
|
24647
24647
|
}
|
|
24648
24648
|
//#endregion
|
|
24649
24649
|
//#region src/routes/account/users/me/avatar/PATCH.ts
|
|
24650
|
-
const handler$
|
|
24650
|
+
const handler$75 = async (c) => {
|
|
24651
24651
|
const parsed = UserAvatarPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24652
24652
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar update" }), 400);
|
|
24653
24653
|
const user = c.get("user");
|
|
@@ -24689,14 +24689,14 @@ const handler$71 = async (c) => {
|
|
|
24689
24689
|
};
|
|
24690
24690
|
//#endregion
|
|
24691
24691
|
//#region src/routes/account/users/me/preferences/GET.ts
|
|
24692
|
-
const handler$
|
|
24692
|
+
const handler$74 = async (c) => {
|
|
24693
24693
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24694
24694
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24695
24695
|
return c.json(UserPreferencesSchema.parse(normalizeUserPreferences(dbUser.preferences)));
|
|
24696
24696
|
};
|
|
24697
24697
|
//#endregion
|
|
24698
24698
|
//#region src/routes/account/users/me/preferences/PATCH.ts
|
|
24699
|
-
const handler$
|
|
24699
|
+
const handler$73 = async (c) => {
|
|
24700
24700
|
const parsed = UserPreferencesPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24701
24701
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid preferences update" }), 400);
|
|
24702
24702
|
const user = c.get("user");
|
|
@@ -24711,7 +24711,7 @@ const handler$69 = async (c) => {
|
|
|
24711
24711
|
};
|
|
24712
24712
|
//#endregion
|
|
24713
24713
|
//#region src/routes/account/organizations/GET.ts
|
|
24714
|
-
const handler$
|
|
24714
|
+
const handler$72 = async (c) => {
|
|
24715
24715
|
const memberships = await selectUserOrganizations(c.get("user").id);
|
|
24716
24716
|
return c.json(ListOrganizationsResponseSchema.parse(memberships.map(mapUserOrganization)));
|
|
24717
24717
|
};
|
|
@@ -24789,7 +24789,7 @@ function createOrganizationHandler(deps) {
|
|
|
24789
24789
|
}
|
|
24790
24790
|
//#endregion
|
|
24791
24791
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
24792
|
-
const handler$
|
|
24792
|
+
const handler$71 = async (c) => {
|
|
24793
24793
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
24794
24794
|
slug: c.req.query("slug"),
|
|
24795
24795
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -24800,7 +24800,7 @@ const handler$67 = async (c) => {
|
|
|
24800
24800
|
};
|
|
24801
24801
|
//#endregion
|
|
24802
24802
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
24803
|
-
const handler$
|
|
24803
|
+
const handler$70 = async (c) => {
|
|
24804
24804
|
const { organizationId } = c.get("organization");
|
|
24805
24805
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
24806
24806
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -24808,7 +24808,7 @@ const handler$66 = async (c) => {
|
|
|
24808
24808
|
};
|
|
24809
24809
|
//#endregion
|
|
24810
24810
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
24811
|
-
const handler$
|
|
24811
|
+
const handler$69 = async (c) => {
|
|
24812
24812
|
const organization = c.get("organization");
|
|
24813
24813
|
const body = await c.req.json().catch(() => null);
|
|
24814
24814
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -24833,7 +24833,7 @@ const handler$65 = async (c) => {
|
|
|
24833
24833
|
};
|
|
24834
24834
|
//#endregion
|
|
24835
24835
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
24836
|
-
const handler$
|
|
24836
|
+
const handler$68 = async (c) => {
|
|
24837
24837
|
const { organizationId } = c.get("organization");
|
|
24838
24838
|
const organization = await selectOrganizationById(organizationId);
|
|
24839
24839
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -24882,7 +24882,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
24882
24882
|
publicUrl: finalized.publicUrl
|
|
24883
24883
|
};
|
|
24884
24884
|
}
|
|
24885
|
-
const handler$
|
|
24885
|
+
const handler$67 = async (c) => {
|
|
24886
24886
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24887
24887
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
24888
24888
|
const { organizationId } = c.get("organization");
|
|
@@ -24910,7 +24910,7 @@ const handler$63 = async (c) => {
|
|
|
24910
24910
|
};
|
|
24911
24911
|
//#endregion
|
|
24912
24912
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
24913
|
-
const handler$
|
|
24913
|
+
const handler$66 = async (c) => {
|
|
24914
24914
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24915
24915
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
24916
24916
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25001,7 +25001,7 @@ async function attachRanAsToDetail(detail, ranByUserId) {
|
|
|
25001
25001
|
}
|
|
25002
25002
|
//#endregion
|
|
25003
25003
|
//#region src/routes/account/history/GET.ts
|
|
25004
|
-
const handler$
|
|
25004
|
+
const handler$65 = async (c) => {
|
|
25005
25005
|
const organization = c.get("organization");
|
|
25006
25006
|
const ctx = accessContext(c);
|
|
25007
25007
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -25024,7 +25024,7 @@ const handler$61 = async (c) => {
|
|
|
25024
25024
|
};
|
|
25025
25025
|
//#endregion
|
|
25026
25026
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
25027
|
-
const handler$
|
|
25027
|
+
const handler$64 = async (c) => {
|
|
25028
25028
|
const runId = c.req.param("runId") ?? "";
|
|
25029
25029
|
if (!runId) return c.json(null, 404);
|
|
25030
25030
|
const core = await findHistoryRunCore(runId);
|
|
@@ -25080,7 +25080,7 @@ function toAgentSummary(row, options) {
|
|
|
25080
25080
|
}
|
|
25081
25081
|
//#endregion
|
|
25082
25082
|
//#region src/routes/account/agents/GET.ts
|
|
25083
|
-
const handler$
|
|
25083
|
+
const handler$63 = async (c) => {
|
|
25084
25084
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
25085
25085
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
25086
25086
|
const rows = await listActiveAgents(filter);
|
|
@@ -25094,7 +25094,7 @@ function touchResourceActivityBestEffort(options) {
|
|
|
25094
25094
|
}
|
|
25095
25095
|
//#endregion
|
|
25096
25096
|
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
25097
|
-
const handler$
|
|
25097
|
+
const handler$62 = async (c) => {
|
|
25098
25098
|
const agentId = c.req.param("agentId") ?? "";
|
|
25099
25099
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25100
25100
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
@@ -25181,7 +25181,7 @@ Union([
|
|
|
25181
25181
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
25182
25182
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
25183
25183
|
}
|
|
25184
|
-
const handler$
|
|
25184
|
+
const handler$61 = async (c) => {
|
|
25185
25185
|
const agentId = c.req.param("agentId") ?? "";
|
|
25186
25186
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25187
25187
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25206,7 +25206,7 @@ function isStorageNotFoundError(error) {
|
|
|
25206
25206
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
25207
25207
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
25208
25208
|
}
|
|
25209
|
-
const handler$
|
|
25209
|
+
const handler$60 = async (c) => {
|
|
25210
25210
|
const agentId = c.req.param("agentId") ?? "";
|
|
25211
25211
|
const path = c.req.query("path");
|
|
25212
25212
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25260,7 +25260,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
25260
25260
|
}
|
|
25261
25261
|
//#endregion
|
|
25262
25262
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
25263
|
-
const handler$
|
|
25263
|
+
const handler$59 = async (c) => {
|
|
25264
25264
|
const agentId = c.req.param("agentId") ?? "";
|
|
25265
25265
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25266
25266
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25283,7 +25283,7 @@ const handler$55 = async (c) => {
|
|
|
25283
25283
|
};
|
|
25284
25284
|
//#endregion
|
|
25285
25285
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
25286
|
-
const handler$
|
|
25286
|
+
const handler$58 = async (c) => {
|
|
25287
25287
|
const agentId = c.req.param("agentId") ?? "";
|
|
25288
25288
|
const path = c.req.query("path");
|
|
25289
25289
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25332,7 +25332,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
25332
25332
|
}
|
|
25333
25333
|
//#endregion
|
|
25334
25334
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
25335
|
-
const handler$
|
|
25335
|
+
const handler$57 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
25336
25336
|
//#endregion
|
|
25337
25337
|
//#region src/routes/account/resources/workflows.ts
|
|
25338
25338
|
function toWorkflowSummary(row, options) {
|
|
@@ -25349,7 +25349,7 @@ function toWorkflowSummary(row, options) {
|
|
|
25349
25349
|
}
|
|
25350
25350
|
//#endregion
|
|
25351
25351
|
//#region src/routes/account/workflows/GET.ts
|
|
25352
|
-
const handler$
|
|
25352
|
+
const handler$56 = async (c) => {
|
|
25353
25353
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
25354
25354
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
25355
25355
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -25358,7 +25358,7 @@ const handler$52 = async (c) => {
|
|
|
25358
25358
|
};
|
|
25359
25359
|
//#endregion
|
|
25360
25360
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
25361
|
-
const handler$
|
|
25361
|
+
const handler$55 = async (c) => {
|
|
25362
25362
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
25363
25363
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
25364
25364
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -25373,7 +25373,7 @@ const handler$51 = async (c) => {
|
|
|
25373
25373
|
};
|
|
25374
25374
|
//#endregion
|
|
25375
25375
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
25376
|
-
const handler$
|
|
25376
|
+
const handler$54 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
25377
25377
|
//#endregion
|
|
25378
25378
|
//#region src/routes/account/resources/skills.ts
|
|
25379
25379
|
function toSkillSummary(row) {
|
|
@@ -25389,7 +25389,7 @@ function toSkillSummary(row) {
|
|
|
25389
25389
|
}
|
|
25390
25390
|
//#endregion
|
|
25391
25391
|
//#region src/routes/account/skills/GET.ts
|
|
25392
|
-
const handler$
|
|
25392
|
+
const handler$53 = async (c) => {
|
|
25393
25393
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
25394
25394
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
25395
25395
|
const rows = await listActiveSkills(filter);
|
|
@@ -25397,7 +25397,7 @@ const handler$49 = async (c) => {
|
|
|
25397
25397
|
};
|
|
25398
25398
|
//#endregion
|
|
25399
25399
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
25400
|
-
const handler$
|
|
25400
|
+
const handler$52 = async (c) => {
|
|
25401
25401
|
const skillId = c.req.param("skillId") ?? "";
|
|
25402
25402
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
25403
25403
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -25504,7 +25504,7 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
25504
25504
|
}
|
|
25505
25505
|
//#endregion
|
|
25506
25506
|
//#region src/routes/account/triggers/GET.ts
|
|
25507
|
-
const handler$
|
|
25507
|
+
const handler$51 = async (c) => {
|
|
25508
25508
|
const organization = c.get("organization");
|
|
25509
25509
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
25510
25510
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
@@ -25520,7 +25520,7 @@ const handler$47 = async (c) => {
|
|
|
25520
25520
|
};
|
|
25521
25521
|
//#endregion
|
|
25522
25522
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
25523
|
-
const handler$
|
|
25523
|
+
const handler$50 = async (c) => {
|
|
25524
25524
|
const organization = c.get("organization");
|
|
25525
25525
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25526
25526
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25536,7 +25536,7 @@ const handler$46 = async (c) => {
|
|
|
25536
25536
|
};
|
|
25537
25537
|
//#endregion
|
|
25538
25538
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
25539
|
-
const handler$
|
|
25539
|
+
const handler$49 = async (c) => {
|
|
25540
25540
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25541
25541
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
25542
25542
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -25563,7 +25563,7 @@ const handler$45 = async (c) => {
|
|
|
25563
25563
|
};
|
|
25564
25564
|
//#endregion
|
|
25565
25565
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
25566
|
-
const handler$
|
|
25566
|
+
const handler$48 = async (c) => {
|
|
25567
25567
|
const { organizationId } = c.get("organization");
|
|
25568
25568
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25569
25569
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25600,7 +25600,7 @@ function envelope(row, status, hash) {
|
|
|
25600
25600
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
25601
25601
|
});
|
|
25602
25602
|
}
|
|
25603
|
-
const handler$
|
|
25603
|
+
const handler$47 = async (c) => {
|
|
25604
25604
|
const { organizationId } = c.get("organization");
|
|
25605
25605
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25606
25606
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25693,7 +25693,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
25693
25693
|
//#endregion
|
|
25694
25694
|
//#region src/routes/account/recents/GET.ts
|
|
25695
25695
|
const RECENTS_LIMIT = 50;
|
|
25696
|
-
const handler$
|
|
25696
|
+
const handler$46 = async (c) => {
|
|
25697
25697
|
const userId = c.get("user").id;
|
|
25698
25698
|
const organization = c.get("organization");
|
|
25699
25699
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -25719,7 +25719,7 @@ const handler$42 = async (c) => {
|
|
|
25719
25719
|
};
|
|
25720
25720
|
//#endregion
|
|
25721
25721
|
//#region src/routes/account/projects/GET.ts
|
|
25722
|
-
const handler$
|
|
25722
|
+
const handler$45 = async (c) => {
|
|
25723
25723
|
const organization = c.get("organization");
|
|
25724
25724
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
25725
25725
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -25745,7 +25745,7 @@ function mergeProjectListMetrics(input) {
|
|
|
25745
25745
|
}
|
|
25746
25746
|
//#endregion
|
|
25747
25747
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
25748
|
-
const handler$
|
|
25748
|
+
const handler$44 = async (c) => {
|
|
25749
25749
|
const organization = c.get("organization");
|
|
25750
25750
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
25751
25751
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -25761,7 +25761,7 @@ const handler$40 = async (c) => {
|
|
|
25761
25761
|
};
|
|
25762
25762
|
//#endregion
|
|
25763
25763
|
//#region src/routes/account/projects/POST.ts
|
|
25764
|
-
const handler$
|
|
25764
|
+
const handler$43 = async (c) => {
|
|
25765
25765
|
const organization = c.get("organization");
|
|
25766
25766
|
const user = c.get("user");
|
|
25767
25767
|
const body = await c.req.json().catch(() => null);
|
|
@@ -25772,7 +25772,7 @@ const handler$39 = async (c) => {
|
|
|
25772
25772
|
};
|
|
25773
25773
|
//#endregion
|
|
25774
25774
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
25775
|
-
const handler$
|
|
25775
|
+
const handler$42 = async (c) => {
|
|
25776
25776
|
const organization = c.get("organization");
|
|
25777
25777
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
25778
25778
|
slug: c.req.query("slug"),
|
|
@@ -25784,12 +25784,12 @@ const handler$38 = async (c) => {
|
|
|
25784
25784
|
};
|
|
25785
25785
|
//#endregion
|
|
25786
25786
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
25787
|
-
const handler$
|
|
25787
|
+
const handler$41 = async (c) => {
|
|
25788
25788
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
25789
25789
|
};
|
|
25790
25790
|
//#endregion
|
|
25791
25791
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
25792
|
-
const handler$
|
|
25792
|
+
const handler$40 = async (c) => {
|
|
25793
25793
|
const organization = c.get("organization");
|
|
25794
25794
|
const project = c.get("project");
|
|
25795
25795
|
const body = await c.req.json().catch(() => null);
|
|
@@ -25807,7 +25807,7 @@ const handler$36 = async (c) => {
|
|
|
25807
25807
|
};
|
|
25808
25808
|
//#endregion
|
|
25809
25809
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
25810
|
-
const handler$
|
|
25810
|
+
const handler$39 = async (c) => {
|
|
25811
25811
|
const organization = c.get("organization");
|
|
25812
25812
|
const project = c.get("project");
|
|
25813
25813
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -25815,7 +25815,7 @@ const handler$35 = async (c) => {
|
|
|
25815
25815
|
};
|
|
25816
25816
|
//#endregion
|
|
25817
25817
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
25818
|
-
const handler$
|
|
25818
|
+
const handler$38 = async (c) => {
|
|
25819
25819
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
25820
25820
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
25821
25821
|
};
|
|
@@ -25823,7 +25823,7 @@ const handler$34 = async (c) => {
|
|
|
25823
25823
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
25824
25824
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
25825
25825
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
25826
|
-
const handler$
|
|
25826
|
+
const handler$37 = async (c) => {
|
|
25827
25827
|
const project = c.get("project");
|
|
25828
25828
|
const { organizationId } = c.get("organization");
|
|
25829
25829
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -25851,7 +25851,7 @@ const handler$33 = async (c) => {
|
|
|
25851
25851
|
//#endregion
|
|
25852
25852
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
25853
25853
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
25854
|
-
const handler$
|
|
25854
|
+
const handler$36 = async (c) => {
|
|
25855
25855
|
const project = c.get("project");
|
|
25856
25856
|
const { organizationId } = c.get("organization");
|
|
25857
25857
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -25870,7 +25870,7 @@ const handler$32 = async (c) => {
|
|
|
25870
25870
|
};
|
|
25871
25871
|
//#endregion
|
|
25872
25872
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/complete/POST.ts
|
|
25873
|
-
const handler$
|
|
25873
|
+
const handler$35 = async (c) => {
|
|
25874
25874
|
const project = c.get("project");
|
|
25875
25875
|
const artifactId = c.req.param("artifactId");
|
|
25876
25876
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25909,7 +25909,7 @@ const handler$31 = async (c) => {
|
|
|
25909
25909
|
//#endregion
|
|
25910
25910
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
25911
25911
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
25912
|
-
const handler$
|
|
25912
|
+
const handler$34 = async (c) => {
|
|
25913
25913
|
const project = c.get("project");
|
|
25914
25914
|
const artifactId = c.req.param("artifactId");
|
|
25915
25915
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25937,7 +25937,7 @@ const handler$30 = async (c) => {
|
|
|
25937
25937
|
};
|
|
25938
25938
|
//#endregion
|
|
25939
25939
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
25940
|
-
const handler$
|
|
25940
|
+
const handler$33 = async (c) => {
|
|
25941
25941
|
const project = c.get("project");
|
|
25942
25942
|
const artifactId = c.req.param("artifactId");
|
|
25943
25943
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25982,7 +25982,7 @@ function resolveSourcePaths(rows, kindDir, filePaths) {
|
|
|
25982
25982
|
}] : [];
|
|
25983
25983
|
});
|
|
25984
25984
|
}
|
|
25985
|
-
const handler$
|
|
25985
|
+
const handler$32 = async (c) => {
|
|
25986
25986
|
const project = c.get("project");
|
|
25987
25987
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
25988
25988
|
if (!active || !active.sourceManifestJson) return c.json(ListProjectFilesResponseSchema.parse({
|
|
@@ -26016,7 +26016,7 @@ const handler$28 = async (c) => {
|
|
|
26016
26016
|
};
|
|
26017
26017
|
//#endregion
|
|
26018
26018
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/GET.ts
|
|
26019
|
-
const handler$
|
|
26019
|
+
const handler$31 = async (c) => {
|
|
26020
26020
|
const project = c.get("project");
|
|
26021
26021
|
const artifactId = c.req.param("artifactId");
|
|
26022
26022
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -26055,7 +26055,7 @@ function createProjectReachabilityHandler(hosting) {
|
|
|
26055
26055
|
}
|
|
26056
26056
|
//#endregion
|
|
26057
26057
|
//#region src/routes/account/projects/[projectId]/members/GET.ts
|
|
26058
|
-
const handler$
|
|
26058
|
+
const handler$30 = async (c) => {
|
|
26059
26059
|
const project = c.get("project");
|
|
26060
26060
|
const currentUserId = c.get("user").id;
|
|
26061
26061
|
const members = await selectProjectMembers(project.id);
|
|
@@ -26063,7 +26063,7 @@ const handler$26 = async (c) => {
|
|
|
26063
26063
|
};
|
|
26064
26064
|
//#endregion
|
|
26065
26065
|
//#region src/routes/account/projects/[projectId]/members/POST.ts
|
|
26066
|
-
const handler$
|
|
26066
|
+
const handler$29 = async (c) => {
|
|
26067
26067
|
const organization = c.get("organization");
|
|
26068
26068
|
const project = c.get("project");
|
|
26069
26069
|
const body = await c.req.json().catch(() => null);
|
|
@@ -26079,7 +26079,7 @@ const handler$25 = async (c) => {
|
|
|
26079
26079
|
};
|
|
26080
26080
|
//#endregion
|
|
26081
26081
|
//#region src/routes/account/projects/[projectId]/members/[userId]/PATCH.ts
|
|
26082
|
-
const handler$
|
|
26082
|
+
const handler$28 = async (c) => {
|
|
26083
26083
|
const project = c.get("project");
|
|
26084
26084
|
const userId = c.req.param("userId");
|
|
26085
26085
|
const body = await c.req.json().catch(() => null);
|
|
@@ -26096,7 +26096,7 @@ const handler$24 = async (c) => {
|
|
|
26096
26096
|
};
|
|
26097
26097
|
//#endregion
|
|
26098
26098
|
//#region src/routes/account/projects/[projectId]/members/[userId]/DELETE.ts
|
|
26099
|
-
const handler$
|
|
26099
|
+
const handler$27 = async (c) => {
|
|
26100
26100
|
const project = c.get("project");
|
|
26101
26101
|
const userId = c.req.param("userId");
|
|
26102
26102
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -26110,7 +26110,7 @@ const handler$23 = async (c) => {
|
|
|
26110
26110
|
};
|
|
26111
26111
|
//#endregion
|
|
26112
26112
|
//#region src/routes/account/projects/[projectId]/members/me/DELETE.ts
|
|
26113
|
-
const handler$
|
|
26113
|
+
const handler$26 = async (c) => {
|
|
26114
26114
|
const project = c.get("project");
|
|
26115
26115
|
const userId = c.get("user").id;
|
|
26116
26116
|
try {
|
|
@@ -26123,13 +26123,13 @@ const handler$22 = async (c) => {
|
|
|
26123
26123
|
};
|
|
26124
26124
|
//#endregion
|
|
26125
26125
|
//#region src/routes/account/projects/[projectId]/settings/GET.ts
|
|
26126
|
-
const handler$
|
|
26126
|
+
const handler$25 = async (c) => {
|
|
26127
26127
|
const project = c.get("project");
|
|
26128
26128
|
return c.json(ProjectSettingsResponseSchema.parse(mapProjectSettings(project)));
|
|
26129
26129
|
};
|
|
26130
26130
|
//#endregion
|
|
26131
26131
|
//#region src/routes/account/projects/[projectId]/settings/PATCH.ts
|
|
26132
|
-
const handler$
|
|
26132
|
+
const handler$24 = async (c) => {
|
|
26133
26133
|
const organization = c.get("organization");
|
|
26134
26134
|
const project = c.get("project");
|
|
26135
26135
|
const body = await c.req.json().catch(() => null);
|
|
@@ -26279,7 +26279,7 @@ async function enrichCredentialInstances(rows, organizationId) {
|
|
|
26279
26279
|
}
|
|
26280
26280
|
//#endregion
|
|
26281
26281
|
//#region src/routes/account/credentials/GET.ts
|
|
26282
|
-
const handler$
|
|
26282
|
+
const handler$23 = async (c) => {
|
|
26283
26283
|
const organization = c.get("organization");
|
|
26284
26284
|
const user = c.get("user");
|
|
26285
26285
|
const [rows, granted] = await Promise.all([listAllCredentialInstances(), grantedProjectIds(c, listScope(c, credentialListScope(accessContext(c))))]);
|
|
@@ -26296,7 +26296,7 @@ function withTargetScope(target, fn) {
|
|
|
26296
26296
|
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
26297
26297
|
return fn();
|
|
26298
26298
|
}
|
|
26299
|
-
const handler$
|
|
26299
|
+
const handler$22 = async (c) => {
|
|
26300
26300
|
const organization = c.get("organization");
|
|
26301
26301
|
const user = c.get("user");
|
|
26302
26302
|
const parsed = CreateCredentialsRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -26377,7 +26377,7 @@ const handler$18 = async (c) => {
|
|
|
26377
26377
|
};
|
|
26378
26378
|
//#endregion
|
|
26379
26379
|
//#region src/routes/account/credentials/[credentialId]/GET.ts
|
|
26380
|
-
const handler$
|
|
26380
|
+
const handler$21 = async (c) => {
|
|
26381
26381
|
const organization = c.get("organization");
|
|
26382
26382
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
26383
26383
|
const row = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
@@ -26387,7 +26387,7 @@ const handler$17 = async (c) => {
|
|
|
26387
26387
|
};
|
|
26388
26388
|
//#endregion
|
|
26389
26389
|
//#region src/routes/account/credentials/[credentialId]/PATCH.ts
|
|
26390
|
-
const handler$
|
|
26390
|
+
const handler$20 = async (c) => {
|
|
26391
26391
|
const organization = c.get("organization");
|
|
26392
26392
|
const user = c.get("user");
|
|
26393
26393
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
@@ -26485,7 +26485,7 @@ function createDeleteCredentialHandler(options = {}) {
|
|
|
26485
26485
|
}
|
|
26486
26486
|
//#endregion
|
|
26487
26487
|
//#region src/routes/account/members/GET.ts
|
|
26488
|
-
const handler$
|
|
26488
|
+
const handler$19 = async (c) => {
|
|
26489
26489
|
const { organizationId } = c.get("organization");
|
|
26490
26490
|
const members = await selectOrganizationMembers(organizationId);
|
|
26491
26491
|
return c.json(ListOrganizationMembersResponseSchema.parse(members.map(mapOrganizationMember)));
|
|
@@ -26533,7 +26533,7 @@ async function sendOrganizationInviteEmail(payload, resend) {
|
|
|
26533
26533
|
}
|
|
26534
26534
|
//#endregion
|
|
26535
26535
|
//#region src/routes/account/members/invitations/POST.ts
|
|
26536
|
-
const handler$
|
|
26536
|
+
const handler$18 = async (c) => {
|
|
26537
26537
|
const user = c.get("user");
|
|
26538
26538
|
const organization = c.get("organization");
|
|
26539
26539
|
const body = await c.req.json().catch(() => null);
|
|
@@ -26559,7 +26559,7 @@ const handler$14 = async (c) => {
|
|
|
26559
26559
|
};
|
|
26560
26560
|
//#endregion
|
|
26561
26561
|
//#region src/routes/account/members/[userId]/PATCH.ts
|
|
26562
|
-
const handler$
|
|
26562
|
+
const handler$17 = async (c) => {
|
|
26563
26563
|
const { organizationId } = c.get("organization");
|
|
26564
26564
|
const userId = c.req.param("userId");
|
|
26565
26565
|
const body = await c.req.json().catch(() => null);
|
|
@@ -26576,7 +26576,7 @@ const handler$13 = async (c) => {
|
|
|
26576
26576
|
};
|
|
26577
26577
|
//#endregion
|
|
26578
26578
|
//#region src/routes/account/members/[userId]/DELETE.ts
|
|
26579
|
-
const handler$
|
|
26579
|
+
const handler$16 = async (c) => {
|
|
26580
26580
|
const { organizationId } = c.get("organization");
|
|
26581
26581
|
const userId = c.req.param("userId");
|
|
26582
26582
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -26590,13 +26590,13 @@ const handler$12 = async (c) => {
|
|
|
26590
26590
|
};
|
|
26591
26591
|
//#endregion
|
|
26592
26592
|
//#region src/routes/account/invitations/GET.ts
|
|
26593
|
-
const handler$
|
|
26593
|
+
const handler$15 = async (c) => {
|
|
26594
26594
|
const invitations = await selectPendingInvitationsForUser(c.get("user").id);
|
|
26595
26595
|
return c.json(ListOrganizationInvitationsResponseSchema.parse(invitations.map(mapOrganizationInvitation)));
|
|
26596
26596
|
};
|
|
26597
26597
|
//#endregion
|
|
26598
26598
|
//#region src/routes/account/invitations/[invitationId]/accept/POST.ts
|
|
26599
|
-
const handler$
|
|
26599
|
+
const handler$14 = async (c) => {
|
|
26600
26600
|
const user = c.get("user");
|
|
26601
26601
|
const invitationId = c.req.param("invitationId");
|
|
26602
26602
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -26612,7 +26612,7 @@ const handler$10 = async (c) => {
|
|
|
26612
26612
|
};
|
|
26613
26613
|
//#endregion
|
|
26614
26614
|
//#region src/routes/account/invitations/[invitationId]/decline/POST.ts
|
|
26615
|
-
const handler$
|
|
26615
|
+
const handler$13 = async (c) => {
|
|
26616
26616
|
const user = c.get("user");
|
|
26617
26617
|
const invitationId = c.req.param("invitationId");
|
|
26618
26618
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -26665,36 +26665,39 @@ function appRowToCatalogEntry(row) {
|
|
|
26665
26665
|
authKind: row.authKind,
|
|
26666
26666
|
oauthScopes: row.oauthScopes,
|
|
26667
26667
|
source: row.source,
|
|
26668
|
+
...row.mcpUrl ? { mcpUrl: row.mcpUrl } : {},
|
|
26668
26669
|
...gateway ? { gateway } : {},
|
|
26669
26670
|
...hasCredentialFieldTemplate(row) ? { credentialFields: row.credentialFields } : {},
|
|
26670
26671
|
...row.credentialScheme ? { credentialScheme: row.credentialScheme } : {}
|
|
26671
26672
|
};
|
|
26672
26673
|
}
|
|
26673
26674
|
function appRowToCustomAppDetail(row) {
|
|
26674
|
-
if (row.
|
|
26675
|
-
if (!hasCredentialFieldTemplate(row)) throw new Error(`Custom app is missing credential fields: ${row.slug}`);
|
|
26675
|
+
if (row.organizationId === null) throw new Error(`App is not an org custom app: ${row.slug}`);
|
|
26676
26676
|
return {
|
|
26677
26677
|
id: row.slug,
|
|
26678
26678
|
slug: row.slug,
|
|
26679
26679
|
name: row.name,
|
|
26680
26680
|
description: row.description,
|
|
26681
26681
|
category: row.category,
|
|
26682
|
-
authKind:
|
|
26683
|
-
source:
|
|
26684
|
-
|
|
26682
|
+
authKind: row.authKind,
|
|
26683
|
+
source: row.source,
|
|
26684
|
+
mcpUrl: row.mcpUrl ?? null,
|
|
26685
|
+
...hasCredentialFieldTemplate(row) ? { credentialFields: row.credentialFields } : {},
|
|
26686
|
+
...row.credentialScheme ? { credentialScheme: row.credentialScheme } : {},
|
|
26687
|
+
...row.oauthScopes.length > 0 ? { oauthScopes: row.oauthScopes } : {},
|
|
26685
26688
|
createdAt: row.createdAt.toISOString(),
|
|
26686
26689
|
updatedAt: row.updatedAt.toISOString()
|
|
26687
26690
|
};
|
|
26688
26691
|
}
|
|
26689
26692
|
//#endregion
|
|
26690
26693
|
//#region src/routes/account/apps/GET.ts
|
|
26691
|
-
const handler$
|
|
26694
|
+
const handler$12 = async (c) => {
|
|
26692
26695
|
const apps = (await listAppsForOrganization(c.get("organization").organizationId)).map(appRowToCatalogEntry);
|
|
26693
26696
|
return c.json(ListAppsResponseSchema.parse(apps));
|
|
26694
26697
|
};
|
|
26695
26698
|
//#endregion
|
|
26696
26699
|
//#region src/routes/account/apps/POST.ts
|
|
26697
|
-
const handler$
|
|
26700
|
+
const handler$11 = async (c) => {
|
|
26698
26701
|
const organization = c.get("organization");
|
|
26699
26702
|
const parsed = CreateCustomAppRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
26700
26703
|
if (!parsed.success) {
|
|
@@ -26703,6 +26706,8 @@ const handler$7 = async (c) => {
|
|
|
26703
26706
|
}
|
|
26704
26707
|
const org = await selectOrganizationById(organization.organizationId);
|
|
26705
26708
|
if (!org) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
26709
|
+
const authKind = parsed.data.authKind ?? (parsed.data.source === "custom" ? "api_key" : void 0);
|
|
26710
|
+
if (!authKind) return c.json(ErrorResponseSchema.parse({ error: "authKind is required" }), 400);
|
|
26706
26711
|
try {
|
|
26707
26712
|
const row = await createOrgApp({
|
|
26708
26713
|
organizationId: organization.organizationId,
|
|
@@ -26710,7 +26715,12 @@ const handler$7 = async (c) => {
|
|
|
26710
26715
|
name: parsed.data.name,
|
|
26711
26716
|
slug: parsed.data.slug,
|
|
26712
26717
|
description: parsed.data.description,
|
|
26713
|
-
|
|
26718
|
+
authKind,
|
|
26719
|
+
source: parsed.data.source,
|
|
26720
|
+
mcpUrl: parsed.data.mcpUrl ?? null,
|
|
26721
|
+
credentialFields: parsed.data.fields,
|
|
26722
|
+
credentialScheme: parsed.data.credentialScheme,
|
|
26723
|
+
oauthScopes: parsed.data.oauthScopes
|
|
26714
26724
|
});
|
|
26715
26725
|
return c.json(CreateCustomAppResponseSchema.parse(appRowToCustomAppDetail(row)), 201);
|
|
26716
26726
|
} catch (error) {
|
|
@@ -26719,6 +26729,142 @@ const handler$7 = async (c) => {
|
|
|
26719
26729
|
}
|
|
26720
26730
|
};
|
|
26721
26731
|
//#endregion
|
|
26732
|
+
//#region src/routes/account/apps/discover/POST.ts
|
|
26733
|
+
const handler$10 = async (c) => {
|
|
26734
|
+
const parsed = McpDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
26735
|
+
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
26736
|
+
try {
|
|
26737
|
+
const result = await discoverMcpApp(parsed.data.url);
|
|
26738
|
+
return c.json(McpDiscoverResponseSchema.parse(result));
|
|
26739
|
+
} catch (error) {
|
|
26740
|
+
if (error instanceof PublicHttpUrlError) return c.json({ error: error.message }, 400);
|
|
26741
|
+
const message = error instanceof Error ? error.message : "Failed to discover MCP server";
|
|
26742
|
+
return c.json({ error: message }, 502);
|
|
26743
|
+
}
|
|
26744
|
+
};
|
|
26745
|
+
//#endregion
|
|
26746
|
+
//#region src/routes/account/apps/discover-openapi/POST.ts
|
|
26747
|
+
const handler$9 = async (c) => {
|
|
26748
|
+
const parsed = OpenApiDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
26749
|
+
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
26750
|
+
try {
|
|
26751
|
+
const result = await discoverOpenApiApp(parsed.data.url);
|
|
26752
|
+
return c.json(OpenApiDiscoverResponseSchema.parse(result));
|
|
26753
|
+
} catch (error) {
|
|
26754
|
+
const message = error instanceof Error ? error.message : "Failed to discover OpenAPI spec";
|
|
26755
|
+
return c.json({ error: message }, 502);
|
|
26756
|
+
}
|
|
26757
|
+
};
|
|
26758
|
+
//#endregion
|
|
26759
|
+
//#region src/routes/account/apps/[slug]/mcp/oauth/connections/POST.ts
|
|
26760
|
+
const handler$8 = async (c) => {
|
|
26761
|
+
const organization = c.get("organization");
|
|
26762
|
+
const user = c.get("user");
|
|
26763
|
+
const appSlug = c.req.param("slug")?.trim();
|
|
26764
|
+
if (!appSlug) return c.json({ error: "App slug is required" }, 400);
|
|
26765
|
+
const parsed = StartMcpOAuthConnectionInputSchema.safeParse({
|
|
26766
|
+
...await c.req.json().catch(() => ({})),
|
|
26767
|
+
appSlug
|
|
26768
|
+
});
|
|
26769
|
+
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
26770
|
+
const app = await selectAppForOrganization(organization.organizationId, appSlug);
|
|
26771
|
+
if (!app || app.source !== "mcp" || app.authKind !== "oauth") return c.json({ error: "App not found" }, 404);
|
|
26772
|
+
const platformOrigin = externalPlatformOrigin();
|
|
26773
|
+
if (!platformOrigin) return c.json({ error: "PUBLIC_PLATFORM_URL is not configured" }, 500);
|
|
26774
|
+
const projectIds = [];
|
|
26775
|
+
const projectNamesById = {};
|
|
26776
|
+
for (const slug of parsed.data.projects ?? []) {
|
|
26777
|
+
const project = await selectProjectForOrganizationBySlug(organization.organizationId, slug);
|
|
26778
|
+
if (!project) return c.json({ error: `Project "${slug}" not found` }, 400);
|
|
26779
|
+
projectIds.push(project.id);
|
|
26780
|
+
projectNamesById[project.id] = project.name;
|
|
26781
|
+
}
|
|
26782
|
+
try {
|
|
26783
|
+
const result = await beginMcpOAuthConnect({
|
|
26784
|
+
app,
|
|
26785
|
+
input: parsed.data,
|
|
26786
|
+
organizationId: organization.organizationId,
|
|
26787
|
+
userId: user.id,
|
|
26788
|
+
redirectUri: `${platformOrigin.replace(/\/+$/, "")}/api/mcp/oauth/callback`,
|
|
26789
|
+
scopeTargets: {
|
|
26790
|
+
projectIds,
|
|
26791
|
+
projectNamesById,
|
|
26792
|
+
organization: parsed.data.createOrganizationCredential,
|
|
26793
|
+
userId: parsed.data.createUserProvidedCredential ? user.id : void 0
|
|
26794
|
+
},
|
|
26795
|
+
projectNamesById
|
|
26796
|
+
});
|
|
26797
|
+
return c.json(StartMcpOAuthConnectionResultSchema.parse(result));
|
|
26798
|
+
} catch (error) {
|
|
26799
|
+
const message = error instanceof Error ? error.message : "Failed to start MCP OAuth connection";
|
|
26800
|
+
return c.json({ error: message }, 500);
|
|
26801
|
+
}
|
|
26802
|
+
};
|
|
26803
|
+
//#endregion
|
|
26804
|
+
//#region ../../packages/oauth/dist/index.mjs
|
|
26805
|
+
/** Build a browser landing URL on the web app after an integration OAuth callback completes. */
|
|
26806
|
+
function buildOAuthWebLandingUrl(webOrigin, params) {
|
|
26807
|
+
const base = webOrigin?.replace(/\/+$/, "");
|
|
26808
|
+
if (!base) return;
|
|
26809
|
+
const url = new URL(base);
|
|
26810
|
+
if (params.orgSlug) url.pathname = `/${params.orgSlug}/apps`;
|
|
26811
|
+
url.searchParams.set("oauth", params.ok ? "connected" : "error");
|
|
26812
|
+
url.searchParams.set("provider", params.key);
|
|
26813
|
+
if (params.error) url.searchParams.set("error", params.error);
|
|
26814
|
+
return url.toString();
|
|
26815
|
+
}
|
|
26816
|
+
//#endregion
|
|
26817
|
+
//#region src/routes/account/mcp/oauth/callback/GET.ts
|
|
26818
|
+
const handler$7 = async (c) => {
|
|
26819
|
+
const code = c.req.query("code")?.trim();
|
|
26820
|
+
const state = c.req.query("state")?.trim();
|
|
26821
|
+
const oauthError = c.req.query("error")?.trim();
|
|
26822
|
+
if (oauthError) {
|
|
26823
|
+
const redirect = buildOAuthWebLandingUrl(process.env.PUBLIC_WEB_URL, {
|
|
26824
|
+
key: "mcp",
|
|
26825
|
+
ok: false,
|
|
26826
|
+
error: oauthError
|
|
26827
|
+
});
|
|
26828
|
+
if (redirect) return c.redirect(redirect, 302);
|
|
26829
|
+
return c.json({ error: oauthError }, 400);
|
|
26830
|
+
}
|
|
26831
|
+
if (!code || !state) return c.json({ error: "Missing code or state" }, 400);
|
|
26832
|
+
let appSlug = "mcp";
|
|
26833
|
+
try {
|
|
26834
|
+
const payload = decodeOAuthState(state);
|
|
26835
|
+
appSlug = payload.appSlug;
|
|
26836
|
+
const organization = await selectOrganizationById(payload.organizationId);
|
|
26837
|
+
if (!organization) return c.json({ error: "Organization not found" }, 404);
|
|
26838
|
+
const result = await runWithOrganizationScope(organization.id, () => runWithProjectDatabase({
|
|
26839
|
+
url: resolveOrgDatabaseUrl(organization),
|
|
26840
|
+
searchPath: organization.dbSchema
|
|
26841
|
+
}, () => runWithTenantScope(organization.id, () => completeMcpOAuthConnect({
|
|
26842
|
+
state,
|
|
26843
|
+
code
|
|
26844
|
+
}))));
|
|
26845
|
+
const redirect = buildOAuthWebLandingUrl(process.env.PUBLIC_WEB_URL, {
|
|
26846
|
+
key: result.appSlug,
|
|
26847
|
+
ok: true,
|
|
26848
|
+
orgSlug: organization.slug
|
|
26849
|
+
});
|
|
26850
|
+
if (redirect) return c.redirect(redirect, 302);
|
|
26851
|
+
return c.json({
|
|
26852
|
+
ok: true,
|
|
26853
|
+
connectionId: result.connectionId,
|
|
26854
|
+
app: result.appSlug
|
|
26855
|
+
});
|
|
26856
|
+
} catch (error) {
|
|
26857
|
+
console.error("[mcp-oauth-callback] OAuth connection failed", error);
|
|
26858
|
+
const redirect = buildOAuthWebLandingUrl(process.env.PUBLIC_WEB_URL, {
|
|
26859
|
+
key: appSlug,
|
|
26860
|
+
ok: false,
|
|
26861
|
+
error: "OAuth connection failed"
|
|
26862
|
+
});
|
|
26863
|
+
if (redirect) return c.redirect(redirect, 302);
|
|
26864
|
+
return c.json({ error: "OAuth connection failed" }, 500);
|
|
26865
|
+
}
|
|
26866
|
+
};
|
|
26867
|
+
//#endregion
|
|
26722
26868
|
//#region src/routes/account/apps/slug-available/GET.ts
|
|
26723
26869
|
const handler$6 = async (c) => {
|
|
26724
26870
|
const organization = c.get("organization");
|
|
@@ -26921,6 +27067,7 @@ function mountAccountRoutes(options) {
|
|
|
26921
27067
|
const projectScoped = new Hono();
|
|
26922
27068
|
const protect = requireSession(createDefaultAuthJwtVerifier());
|
|
26923
27069
|
const deleteCredential = createDeleteCredentialHandler({ mcp: options.mcp });
|
|
27070
|
+
account.get("/mcp/oauth/callback", handler$7);
|
|
26924
27071
|
account.use("/*", protect);
|
|
26925
27072
|
orgScoped.use("/*", protect);
|
|
26926
27073
|
orgScoped.use("/*", requireOrganization());
|
|
@@ -26940,83 +27087,86 @@ function mountAccountRoutes(options) {
|
|
|
26940
27087
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
26941
27088
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
26942
27089
|
const requireOrgParam = requireOrganizationParam();
|
|
26943
|
-
account.get("/organizations", handler$
|
|
26944
|
-
account.get("/organizations/slug-available", handler$
|
|
27090
|
+
account.get("/organizations", handler$72);
|
|
27091
|
+
account.get("/organizations/slug-available", handler$71);
|
|
26945
27092
|
account.post("/organizations", createOrganizationHandler(options));
|
|
26946
|
-
account.get("/organizations/:organizationId", requireOrgParam, handler$
|
|
26947
|
-
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$
|
|
26948
|
-
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$
|
|
26949
|
-
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$
|
|
26950
|
-
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$
|
|
26951
|
-
account.get("/invitations", handler$
|
|
26952
|
-
account.post("/invitations/:invitationId/accept", handler$
|
|
26953
|
-
account.post("/invitations/:invitationId/decline", handler$
|
|
26954
|
-
account.get("/users/me/avatar", handler$
|
|
26955
|
-
account.post("/users/me/avatar/presign", handler$
|
|
26956
|
-
account.patch("/users/me/avatar", handler$
|
|
26957
|
-
account.get("/users/me/preferences", handler$
|
|
26958
|
-
account.patch("/users/me/preferences", handler$
|
|
26959
|
-
|
|
27093
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$70);
|
|
27094
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$69);
|
|
27095
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$68);
|
|
27096
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$67);
|
|
27097
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$66);
|
|
27098
|
+
account.get("/invitations", handler$15);
|
|
27099
|
+
account.post("/invitations/:invitationId/accept", handler$14);
|
|
27100
|
+
account.post("/invitations/:invitationId/decline", handler$13);
|
|
27101
|
+
account.get("/users/me/avatar", handler$77);
|
|
27102
|
+
account.post("/users/me/avatar/presign", handler$76);
|
|
27103
|
+
account.patch("/users/me/avatar", handler$75);
|
|
27104
|
+
account.get("/users/me/preferences", handler$74);
|
|
27105
|
+
account.patch("/users/me/preferences", handler$73);
|
|
27106
|
+
const withOrgDb = withOrganizationProjectDatabase();
|
|
27107
|
+
orgScoped.get("/apps", handler$12);
|
|
26960
27108
|
orgScoped.get("/apps/slug-available", handler$6);
|
|
26961
|
-
orgScoped.post("/apps", requireOrgUpdate, handler$
|
|
27109
|
+
orgScoped.post("/apps/discover", requireOrgUpdate, handler$10);
|
|
27110
|
+
orgScoped.post("/apps/discover-openapi", requireOrgUpdate, handler$9);
|
|
27111
|
+
orgScoped.post("/apps", requireOrgUpdate, handler$11);
|
|
27112
|
+
orgScoped.post("/apps/:slug/mcp/oauth/connections", requireOrgUpdate, withOrgDb, handler$8);
|
|
26962
27113
|
orgScoped.get("/apps/:slug", handler$5);
|
|
26963
27114
|
account.post("/team-requests", requireOrganization(), handler$1);
|
|
26964
|
-
orgScoped.get("/members", handler$
|
|
26965
|
-
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$
|
|
26966
|
-
orgScoped.patch("/members/:userId", requireUserManage, handler$
|
|
26967
|
-
orgScoped.delete("/members/:userId", requireUserManage, handler$
|
|
27115
|
+
orgScoped.get("/members", handler$19);
|
|
27116
|
+
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$18);
|
|
27117
|
+
orgScoped.patch("/members/:userId", requireUserManage, handler$17);
|
|
27118
|
+
orgScoped.delete("/members/:userId", requireUserManage, handler$16);
|
|
26968
27119
|
orgScoped.get("/api-keys", handler$4);
|
|
26969
27120
|
orgScoped.post("/api-keys", requireApiKeyCreate, handler$3);
|
|
26970
27121
|
orgScoped.delete("/api-keys/:apiKeyId", handler$2);
|
|
26971
|
-
|
|
26972
|
-
orgScoped.get("/agents", withOrgDb, handler$
|
|
26973
|
-
orgScoped.get("/agents/:agentId", withOrgDb, handler$
|
|
26974
|
-
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$
|
|
26975
|
-
orgScoped.get("/agents/:agentId/
|
|
26976
|
-
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$
|
|
26977
|
-
orgScoped.get("/
|
|
26978
|
-
orgScoped.get("/workflows", withOrgDb, handler$
|
|
26979
|
-
orgScoped.get("/
|
|
26980
|
-
orgScoped.get("/skills", withOrgDb, handler$
|
|
26981
|
-
orgScoped.get("/
|
|
26982
|
-
orgScoped.get("/triggers", withOrgDb, handler$
|
|
26983
|
-
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$
|
|
26984
|
-
orgScoped.get("/triggers/:triggerId/
|
|
26985
|
-
orgScoped.get("/triggers/:triggerId/
|
|
26986
|
-
orgScoped.get("/
|
|
26987
|
-
orgScoped.get("/
|
|
26988
|
-
orgScoped.get("/history", withOrgDb, handler$
|
|
26989
|
-
orgScoped.
|
|
26990
|
-
orgScoped.post("/
|
|
26991
|
-
orgScoped.
|
|
26992
|
-
orgScoped.
|
|
26993
|
-
orgScoped.
|
|
26994
|
-
orgScoped.
|
|
26995
|
-
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$16);
|
|
27122
|
+
orgScoped.get("/agents", withOrgDb, handler$63);
|
|
27123
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$62);
|
|
27124
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$61);
|
|
27125
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$60);
|
|
27126
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$59);
|
|
27127
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$58);
|
|
27128
|
+
orgScoped.get("/workflows", withOrgDb, handler$56);
|
|
27129
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$55);
|
|
27130
|
+
orgScoped.get("/skills", withOrgDb, handler$53);
|
|
27131
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$52);
|
|
27132
|
+
orgScoped.get("/triggers", withOrgDb, handler$51);
|
|
27133
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$50);
|
|
27134
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$49);
|
|
27135
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$48);
|
|
27136
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$47);
|
|
27137
|
+
orgScoped.get("/recents", withOrgDb, handler$46);
|
|
27138
|
+
orgScoped.get("/history", withOrgDb, handler$65);
|
|
27139
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$64);
|
|
27140
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$54);
|
|
27141
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$57);
|
|
27142
|
+
orgScoped.get("/credentials", withOrgDb, handler$23);
|
|
27143
|
+
orgScoped.post("/credentials", withOrgDb, handler$22);
|
|
27144
|
+
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$21(c, next));
|
|
27145
|
+
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$20);
|
|
26996
27146
|
orgScoped.delete("/credentials/:credentialId", withOrgDb, deleteCredential);
|
|
26997
|
-
orgScoped.get("/projects", handler$
|
|
26998
|
-
orgScoped.get("/projects/slug-available", handler$
|
|
26999
|
-
orgScoped.get("/projects/metrics", withOrgDb, handler$
|
|
27000
|
-
orgScoped.post("/projects", handler$
|
|
27001
|
-
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$
|
|
27002
|
-
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
27003
|
-
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$
|
|
27004
|
-
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$
|
|
27005
|
-
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
27006
|
-
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$
|
|
27007
|
-
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$
|
|
27008
|
-
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
27009
|
-
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
27010
|
-
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$
|
|
27147
|
+
orgScoped.get("/projects", handler$45);
|
|
27148
|
+
orgScoped.get("/projects/slug-available", handler$42);
|
|
27149
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$44);
|
|
27150
|
+
orgScoped.post("/projects", handler$43);
|
|
27151
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$41);
|
|
27152
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$40);
|
|
27153
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$39);
|
|
27154
|
+
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$25);
|
|
27155
|
+
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$24);
|
|
27156
|
+
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$30);
|
|
27157
|
+
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$29);
|
|
27158
|
+
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$28);
|
|
27159
|
+
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$27);
|
|
27160
|
+
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$26);
|
|
27011
27161
|
projectScoped.get("/:projectId/reachability", requireProject(), requireProjectMember, createProjectReachabilityHandler(options.hosting));
|
|
27012
|
-
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
27013
|
-
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$
|
|
27014
|
-
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$
|
|
27015
|
-
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27016
|
-
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27017
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27018
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27019
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27162
|
+
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$32);
|
|
27163
|
+
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$31);
|
|
27164
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$38);
|
|
27165
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$36);
|
|
27166
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$37);
|
|
27167
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$35);
|
|
27168
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$34);
|
|
27169
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$33);
|
|
27020
27170
|
orgScoped.route("/projects", projectScoped);
|
|
27021
27171
|
account.route("/", orgScoped);
|
|
27022
27172
|
return account;
|
|
@@ -27335,10 +27485,15 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
27335
27485
|
if (!webUrl) throw new Error("PUBLIC_WEB_URL is required for the platform server");
|
|
27336
27486
|
const platformUrl = process.env.PUBLIC_PLATFORM_URL?.replace(/\/+$/, "");
|
|
27337
27487
|
if (!platformUrl) throw new Error("PUBLIC_PLATFORM_URL is required for the platform server");
|
|
27488
|
+
const mcpServerEnabled = !!process.env.MCP_SERVER_ENABLED?.trim();
|
|
27338
27489
|
const auth = createAuth({
|
|
27339
27490
|
baseURL: platformUrl,
|
|
27340
27491
|
verificationUri: `${webUrl.replace(/\/+$/, "")}/device`,
|
|
27341
|
-
trustedOrigins: [webUrl]
|
|
27492
|
+
trustedOrigins: [webUrl],
|
|
27493
|
+
mcp: mcpServerEnabled ? {
|
|
27494
|
+
loginPage: `${webUrl.replace(/\/+$/, "")}/login`,
|
|
27495
|
+
resource: `${platformUrl}/v1/mcp`
|
|
27496
|
+
} : void 0
|
|
27342
27497
|
});
|
|
27343
27498
|
if (!auth) throw new Error("BETTER_AUTH_SECRET is required for the platform server");
|
|
27344
27499
|
const app = await createApp$1(auth, {
|
|
@@ -27349,7 +27504,7 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
27349
27504
|
llmProxy: platformConfig.llmProxy,
|
|
27350
27505
|
mcp: platformConfig.mcp
|
|
27351
27506
|
});
|
|
27352
|
-
await hooks.afterCreateApp?.(app);
|
|
27507
|
+
await hooks.afterCreateApp?.(app, auth);
|
|
27353
27508
|
const port = resolvePlatformListenPort();
|
|
27354
27509
|
serve({
|
|
27355
27510
|
fetch: app.fetch,
|
|
@@ -27361,4 +27516,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
27361
27516
|
//#endregion
|
|
27362
27517
|
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 };
|
|
27363
27518
|
|
|
27364
|
-
//# sourceMappingURL=start-
|
|
27519
|
+
//# sourceMappingURL=start-DE4umh9L.mjs.map
|