@keystrokehq/platform 0.1.63 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{awk2-LA3USKJP-BGL2c2Yc.cjs → awk2-LA3USKJP-C7Xd64fW.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-BGL2c2Yc.cjs.map → awk2-LA3USKJP-C7Xd64fW.cjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-CBGbfQzU.mjs → awk2-LA3USKJP-OVhHvm0M.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-CBGbfQzU.mjs.map → awk2-LA3USKJP-OVhHvm0M.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-DEWGBjID.mjs → base64-C2AIWVNC-B4xempQE.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-DEWGBjID.mjs.map → base64-C2AIWVNC-B4xempQE.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-C-r7JP5p.cjs → base64-C2AIWVNC-Bex-t3I4.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-C-r7JP5p.cjs.map → base64-C2AIWVNC-Bex-t3I4.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-BDaE7hEw.mjs → bash-YZ33HQZQ-Bpb8UPgy.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-BDaE7hEw.mjs.map → bash-YZ33HQZQ-Bpb8UPgy.mjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-X6Ayxjdh.cjs → bash-YZ33HQZQ-q_QkOxg9.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-X6Ayxjdh.cjs.map → bash-YZ33HQZQ-q_QkOxg9.cjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-DPjXrg7t.cjs → cat-TSFMZVYS-BaaEWb6B.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-DPjXrg7t.cjs.map → cat-TSFMZVYS-BaaEWb6B.cjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-Q6Hf6Oge.mjs → cat-TSFMZVYS-D-XfA2-u.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-Q6Hf6Oge.mjs.map → cat-TSFMZVYS-D-XfA2-u.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-BkPj37Uj.mjs → chunk-5H5SCKJM-2QFfFm16.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-BkPj37Uj.mjs.map → chunk-5H5SCKJM-2QFfFm16.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-T8srEq0i.cjs → chunk-5H5SCKJM-Bd3Cy40o.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-T8srEq0i.cjs.map → chunk-5H5SCKJM-Bd3Cy40o.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-Dhjm1jSq.cjs → chunk-AQ6FYS2X-C0DShA_0.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-Dhjm1jSq.cjs.map → chunk-AQ6FYS2X-C0DShA_0.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-5Seop1Ii.mjs → chunk-AQ6FYS2X-DMiWipGc.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-5Seop1Ii.mjs.map → chunk-AQ6FYS2X-DMiWipGc.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-VwaFSRwY.mjs → chunk-CHFEPBH4-CteZ28qt.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-VwaFSRwY.mjs.map → chunk-CHFEPBH4-CteZ28qt.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-1Lim91RF.cjs → chunk-CHFEPBH4-FVn5w6kL.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-1Lim91RF.cjs.map → chunk-CHFEPBH4-FVn5w6kL.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-C_sleQDN.cjs → chunk-EBAPSGAO-BqJAzVe0.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-C_sleQDN.cjs.map → chunk-EBAPSGAO-BqJAzVe0.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-BXZkp12N.mjs → chunk-EBAPSGAO-Dx1efiwx.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-BXZkp12N.mjs.map → chunk-EBAPSGAO-Dx1efiwx.mjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-B7e5IYQo.mjs → chunk-LEKBROJD-Br3WDnKS.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-B7e5IYQo.mjs.map → chunk-LEKBROJD-Br3WDnKS.mjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-hD94psRk.cjs → chunk-LEKBROJD-wOcDzVmy.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-hD94psRk.cjs.map → chunk-LEKBROJD-wOcDzVmy.cjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-guU31ZI5.cjs → chunk-VPADYNBD-CsQS9Muj.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-guU31ZI5.cjs.map → chunk-VPADYNBD-CsQS9Muj.cjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-TjW91OxN.mjs → chunk-VPADYNBD-uzb_ADOd.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-TjW91OxN.mjs.map → chunk-VPADYNBD-uzb_ADOd.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-UyT2cr5y.cjs → chunk-YCLFEX4T-3dg1fdi5.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-UyT2cr5y.cjs.map → chunk-YCLFEX4T-3dg1fdi5.cjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-t_poiVZt.mjs → chunk-YCLFEX4T-Cllcw71p.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-t_poiVZt.mjs.map → chunk-YCLFEX4T-Cllcw71p.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-DDGHyPQ9.cjs → column-XT6UFXNQ-DEK3nKck.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-DDGHyPQ9.cjs.map → column-XT6UFXNQ-DEK3nKck.cjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-TrVerir2.mjs → column-XT6UFXNQ-I2BZLhKb.mjs} +2 -2
- package/dist/{column-XT6UFXNQ-TrVerir2.mjs.map → column-XT6UFXNQ-I2BZLhKb.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-D23mvBPi.mjs → comm-VV2LDX2J-CpJ8nPAI.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-D23mvBPi.mjs.map → comm-VV2LDX2J-CpJ8nPAI.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-Bo5T0ZOL.cjs → comm-VV2LDX2J-mKjD6HKN.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-Bo5T0ZOL.cjs.map → comm-VV2LDX2J-mKjD6HKN.cjs.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{cp-BISAAS7A-DpRVZaXG.mjs → cp-BISAAS7A-D0VlH-Wg.mjs} +2 -2
- package/dist/{cp-BISAAS7A-DpRVZaXG.mjs.map → cp-BISAAS7A-D0VlH-Wg.mjs.map} +1 -1
- package/dist/{cp-BISAAS7A-fZLxK1CV.cjs → cp-BISAAS7A-D1roBQhu.cjs} +2 -2
- package/dist/{cp-BISAAS7A-fZLxK1CV.cjs.map → cp-BISAAS7A-D1roBQhu.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-KHaWPVgh.cjs → cut-OKARJCCV-Csc01z-Z.cjs} +3 -3
- package/dist/{cut-OKARJCCV-KHaWPVgh.cjs.map → cut-OKARJCCV-Csc01z-Z.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-5TYMAMAg.mjs → cut-OKARJCCV-D4jl0vCs.mjs} +3 -3
- package/dist/{cut-OKARJCCV-5TYMAMAg.mjs.map → cut-OKARJCCV-D4jl0vCs.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-1SUS3Txq.mjs → diff-MWJFIG7X-BV_Qmks0.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-1SUS3Txq.mjs.map → diff-MWJFIG7X-BV_Qmks0.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-RHG6LjP-.cjs → diff-MWJFIG7X-CG_-qpK9.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-RHG6LjP-.cjs.map → diff-MWJFIG7X-CG_-qpK9.cjs.map} +1 -1
- package/dist/{dist-b4HzEMMH.cjs → dist-BSWU4IUF.cjs} +7 -4
- package/dist/dist-BSWU4IUF.cjs.map +1 -0
- package/dist/{dist-FxtFB69U.mjs → dist-Bb39JWkf.mjs} +22 -10
- package/dist/dist-Bb39JWkf.mjs.map +1 -0
- package/dist/{dist-CChImt_Z.mjs → dist-BdztevxT.mjs} +7 -4
- package/dist/dist-BdztevxT.mjs.map +1 -0
- package/dist/{dist-Bf-X1hc-.cjs → dist-gb6y6LTE.cjs} +40 -10
- package/dist/dist-gb6y6LTE.cjs.map +1 -0
- package/dist/{du-572XNP42-C5BwG-hn.mjs → du-572XNP42-9rctmDpU.mjs} +2 -2
- package/dist/{du-572XNP42-C5BwG-hn.mjs.map → du-572XNP42-9rctmDpU.mjs.map} +1 -1
- package/dist/{du-572XNP42-BFMY81nH.cjs → du-572XNP42-DN5NUZw2.cjs} +2 -2
- package/dist/{du-572XNP42-BFMY81nH.cjs.map → du-572XNP42-DN5NUZw2.cjs.map} +1 -1
- package/dist/{env-36M5BO7M-nLEjIadl.cjs → env-36M5BO7M-Bch2IP1n.cjs} +2 -2
- package/dist/{env-36M5BO7M-nLEjIadl.cjs.map → env-36M5BO7M-Bch2IP1n.cjs.map} +1 -1
- package/dist/{env-36M5BO7M-DNwUUFD3.mjs → env-36M5BO7M-CLABuTEO.mjs} +2 -2
- package/dist/{env-36M5BO7M-DNwUUFD3.mjs.map → env-36M5BO7M-CLABuTEO.mjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-Cd9oTNoA.mjs → expand-JSPG6VOP-yKm9_cxv.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-Cd9oTNoA.mjs.map → expand-JSPG6VOP-yKm9_cxv.mjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-DbBnz1xZ.cjs → expand-JSPG6VOP-yLMkKCc-.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-DbBnz1xZ.cjs.map → expand-JSPG6VOP-yLMkKCc-.cjs.map} +1 -1
- package/dist/{expr-5JAACS4X-ChtZWiUE.cjs → expr-5JAACS4X-MvpGcvzG.cjs} +2 -2
- package/dist/{expr-5JAACS4X-ChtZWiUE.cjs.map → expr-5JAACS4X-MvpGcvzG.cjs.map} +1 -1
- package/dist/{expr-5JAACS4X-Cf6x6i33.mjs → expr-5JAACS4X-xJ0as9kF.mjs} +2 -2
- package/dist/{expr-5JAACS4X-Cf6x6i33.mjs.map → expr-5JAACS4X-xJ0as9kF.mjs.map} +1 -1
- package/dist/{find-INTH3OLC-CkpCJ3pJ.mjs → find-INTH3OLC-BeolrH0P.mjs} +3 -3
- package/dist/{find-INTH3OLC-CkpCJ3pJ.mjs.map → find-INTH3OLC-BeolrH0P.mjs.map} +1 -1
- package/dist/{find-INTH3OLC-C7KkhILZ.cjs → find-INTH3OLC-CA7eA8Xo.cjs} +3 -3
- package/dist/{find-INTH3OLC-C7KkhILZ.cjs.map → find-INTH3OLC-CA7eA8Xo.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-_gu7Rl83.cjs → fold-4TQNYMSW--h2IlVky.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-_gu7Rl83.cjs.map → fold-4TQNYMSW--h2IlVky.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-qmbE89Lf.mjs → fold-4TQNYMSW-Cvd3o80q.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-qmbE89Lf.mjs.map → fold-4TQNYMSW-Cvd3o80q.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-Db-aRsyg.mjs → grep-V3LQVMRQ-4QvVw0cb.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-Db-aRsyg.mjs.map → grep-V3LQVMRQ-4QvVw0cb.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-BR5F9inn.cjs → grep-V3LQVMRQ-uA_s5mZw.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-BR5F9inn.cjs.map → grep-V3LQVMRQ-uA_s5mZw.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-EP2xf5Y_.cjs → gzip-O5ASJAFY-Clz3IU9k.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-EP2xf5Y_.cjs.map → gzip-O5ASJAFY-Clz3IU9k.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-Do8n8_qx.mjs → gzip-O5ASJAFY-Vl0Gtsew.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-Do8n8_qx.mjs.map → gzip-O5ASJAFY-Vl0Gtsew.mjs.map} +1 -1
- package/dist/{head-442HYESI-CG6vyOIZ.cjs → head-442HYESI-CoYEhJix.cjs} +2 -2
- package/dist/{head-442HYESI-CG6vyOIZ.cjs.map → head-442HYESI-CoYEhJix.cjs.map} +1 -1
- package/dist/{head-442HYESI-CdsuONnt.mjs → head-442HYESI-DLc7PlzM.mjs} +2 -2
- package/dist/{head-442HYESI-CdsuONnt.mjs.map → head-442HYESI-DLc7PlzM.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-D2ZULY2r.cjs → help-HZ6M2CKN-BRsISmPg.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-D2ZULY2r.cjs.map → help-HZ6M2CKN-BRsISmPg.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-CCwL_Yl6.mjs → help-HZ6M2CKN-XJ0t-58J.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-CCwL_Yl6.mjs.map → help-HZ6M2CKN-XJ0t-58J.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-DELHwTRG.mjs → html-to-markdown-JW4MSQZO-B8RZYWEW.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-DELHwTRG.mjs.map → html-to-markdown-JW4MSQZO-B8RZYWEW.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-DKTVI5xf.cjs → html-to-markdown-JW4MSQZO-Mz2mADFj.cjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-DKTVI5xf.cjs.map → html-to-markdown-JW4MSQZO-Mz2mADFj.cjs.map} +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{join-TBRGI3LQ-BFOE666V.mjs → join-TBRGI3LQ-CCldrnDL.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-BFOE666V.mjs.map → join-TBRGI3LQ-CCldrnDL.mjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-kfzlerBI.cjs → join-TBRGI3LQ-CK8txMhn.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-kfzlerBI.cjs.map → join-TBRGI3LQ-CK8txMhn.cjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-DLgHNh55.cjs → jq-4XLYLOS5-DFunEioL.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-DLgHNh55.cjs.map → jq-4XLYLOS5-DFunEioL.cjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-BQHwTRc2.mjs → jq-4XLYLOS5-l0pqNTeC.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-BQHwTRc2.mjs.map → jq-4XLYLOS5-l0pqNTeC.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-CjZA7H9Y.mjs → js-exec-N5KEZBH7-B7LvR3Ck.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-CjZA7H9Y.mjs.map → js-exec-N5KEZBH7-B7LvR3Ck.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-C3jp-Jh1.cjs → js-exec-N5KEZBH7-bDxXt3kh.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-C3jp-Jh1.cjs.map → js-exec-N5KEZBH7-bDxXt3kh.cjs.map} +1 -1
- package/dist/{lib-D_JhPjnA.mjs → lib-Bt7JEX8K.mjs} +2 -2
- package/dist/{lib-D_JhPjnA.mjs.map → lib-Bt7JEX8K.mjs.map} +1 -1
- package/dist/{lib-DAM_xsvo.cjs → lib-DeOFAUHd.cjs} +2 -2
- package/dist/{lib-DAM_xsvo.cjs.map → lib-DeOFAUHd.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-Dwpnd6h2.mjs → ln-4LGSXXGD-Dg-wo_B-.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-Dwpnd6h2.mjs.map → ln-4LGSXXGD-Dg-wo_B-.mjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-CMCyddO8.cjs → ln-4LGSXXGD-SSgETsI3.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-CMCyddO8.cjs.map → ln-4LGSXXGD-SSgETsI3.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-yyE5jtS3.cjs → ls-ZJGQER7M-VcWClPGE.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-yyE5jtS3.cjs.map → ls-ZJGQER7M-VcWClPGE.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-BNOzuy3g.mjs → ls-ZJGQER7M-bt-6bLKQ.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-BNOzuy3g.mjs.map → ls-ZJGQER7M-bt-6bLKQ.mjs.map} +1 -1
- package/dist/{lzma-BsA6Hs6T.cjs → lzma-BkVvcXqG.cjs} +2 -2
- package/dist/{lzma-BsA6Hs6T.cjs.map → lzma-BkVvcXqG.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-BOA2pSWZ.cjs → md5sum-SPU24VSG-BWM2kUxE.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-BOA2pSWZ.cjs.map → md5sum-SPU24VSG-BWM2kUxE.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-C8AdJxhI.mjs → md5sum-SPU24VSG-CVazLynX.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-C8AdJxhI.mjs.map → md5sum-SPU24VSG-CVazLynX.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-BcwdY0Ma.mjs → mkdir-MEPGZOB6-3AUj5bUJ.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-BcwdY0Ma.mjs.map → mkdir-MEPGZOB6-3AUj5bUJ.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-pXVzHZi_.cjs → mkdir-MEPGZOB6-BcOHU5Fk.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-pXVzHZi_.cjs.map → mkdir-MEPGZOB6-BcOHU5Fk.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646-CUSvDxbI.cjs → mv-W5BIQ646-DBCRqvtu.cjs} +2 -2
- package/dist/{mv-W5BIQ646-CUSvDxbI.cjs.map → mv-W5BIQ646-DBCRqvtu.cjs.map} +1 -1
- package/dist/{mv-W5BIQ646-D3bi1R9p.mjs → mv-W5BIQ646-szXegLi4.mjs} +2 -2
- package/dist/{mv-W5BIQ646-D3bi1R9p.mjs.map → mv-W5BIQ646-szXegLi4.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-DiFRTXuW.mjs → nl-WSDW7I4O-Bz_UjM_F.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-DiFRTXuW.mjs.map → nl-WSDW7I4O-Bz_UjM_F.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-CCHu1Y7X.cjs → nl-WSDW7I4O-C1ZivG6H.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-CCHu1Y7X.cjs.map → nl-WSDW7I4O-C1ZivG6H.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-8JEVA3Uf.mjs → od-WOKFDJTP-DKOF-uSo.mjs} +2 -2
- package/dist/{od-WOKFDJTP-8JEVA3Uf.mjs.map → od-WOKFDJTP-DKOF-uSo.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-DyPQVWx0.cjs → od-WOKFDJTP-JMVUbt-5.cjs} +2 -2
- package/dist/{od-WOKFDJTP-DyPQVWx0.cjs.map → od-WOKFDJTP-JMVUbt-5.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-_9g5mJ2v.mjs → paste-7JC6S4DX-CNnli-7U.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-_9g5mJ2v.mjs.map → paste-7JC6S4DX-CNnli-7U.mjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-zBiE-mU3.cjs → paste-7JC6S4DX-DgMQjclR.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-zBiE-mU3.cjs.map → paste-7JC6S4DX-DgMQjclR.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-beQW5nG6.cjs → printf-TWGXF445-Bmyhnr2e.cjs} +3 -3
- package/dist/{printf-TWGXF445-beQW5nG6.cjs.map → printf-TWGXF445-Bmyhnr2e.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-Bj_zD0UD.mjs → printf-TWGXF445-V7r9pHkG.mjs} +3 -3
- package/dist/{printf-TWGXF445-Bj_zD0UD.mjs.map → printf-TWGXF445-V7r9pHkG.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-Bl_FjniR.cjs → python3-POMOR4OA-Cdzmc1bh.cjs} +3 -3
- package/dist/{python3-POMOR4OA-Bl_FjniR.cjs.map → python3-POMOR4OA-Cdzmc1bh.cjs.map} +1 -1
- package/dist/{python3-POMOR4OA-EzA7X-E6.mjs → python3-POMOR4OA-cDmm8tHR.mjs} +3 -3
- package/dist/{python3-POMOR4OA-EzA7X-E6.mjs.map → python3-POMOR4OA-cDmm8tHR.mjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-CTYp3Zpb.mjs → rev-5EHFX4EJ--1yycfOa.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-CTYp3Zpb.mjs.map → rev-5EHFX4EJ--1yycfOa.mjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-BSzQExvv.cjs → rev-5EHFX4EJ-DjHUJtHX.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-BSzQExvv.cjs.map → rev-5EHFX4EJ-DjHUJtHX.cjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-TUC3ro1a.cjs → rg-S4FXYXWB-DDH1l6ZO.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-TUC3ro1a.cjs.map → rg-S4FXYXWB-DDH1l6ZO.cjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-xBQXXqQJ.mjs → rg-S4FXYXWB-SOt3hAEL.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-xBQXXqQJ.mjs.map → rg-S4FXYXWB-SOt3hAEL.mjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-DG7UiIDA.cjs → rm-SSGETQVQ-CDuxJmrm.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-DG7UiIDA.cjs.map → rm-SSGETQVQ-CDuxJmrm.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-DxuMjZMu.mjs → rm-SSGETQVQ-ouO349u9.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-DxuMjZMu.mjs.map → rm-SSGETQVQ-ouO349u9.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-luVyJvIH.mjs → rmdir-OC4ZLPYA-DD6ee53Z.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-luVyJvIH.mjs.map → rmdir-OC4ZLPYA-DD6ee53Z.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-Dgp7LpKa.cjs → rmdir-OC4ZLPYA-SwATcsKH.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-Dgp7LpKa.cjs.map → rmdir-OC4ZLPYA-SwATcsKH.cjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-W5G_42sV.cjs → sed-S5UIK574-CuP9GAfC.cjs} +2 -2
- package/dist/{sed-S5UIK574-W5G_42sV.cjs.map → sed-S5UIK574-CuP9GAfC.cjs.map} +1 -1
- package/dist/{sed-S5UIK574-DNM--Qbh.mjs → sed-S5UIK574-vgX7BQcu.mjs} +2 -2
- package/dist/{sed-S5UIK574-DNM--Qbh.mjs.map → sed-S5UIK574-vgX7BQcu.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-bYeHO5As.mjs → sha1sum-2PTOAFR6-CptNr5Hy.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-bYeHO5As.mjs.map → sha1sum-2PTOAFR6-CptNr5Hy.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-DRX09xfr.cjs → sha1sum-2PTOAFR6-rD4j15q6.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-DRX09xfr.cjs.map → sha1sum-2PTOAFR6-rD4j15q6.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-BALHrn29.mjs → sha256sum-NS7D3IXX-CYlATjRS.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-BALHrn29.mjs.map → sha256sum-NS7D3IXX-CYlATjRS.mjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-pEx4Nlxz.cjs → sha256sum-NS7D3IXX-DoU5xoK6.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-pEx4Nlxz.cjs.map → sha256sum-NS7D3IXX-DoU5xoK6.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-Bp6g2tW9.cjs → sleep-X22JJINO-BU3l0hnR.cjs} +2 -2
- package/dist/{sleep-X22JJINO-Bp6g2tW9.cjs.map → sleep-X22JJINO-BU3l0hnR.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-HxDKPBZR.mjs → sleep-X22JJINO-DDeojNvT.mjs} +2 -2
- package/dist/{sleep-X22JJINO-HxDKPBZR.mjs.map → sleep-X22JJINO-DDeojNvT.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-fBlHoB_a.mjs → sort-SW2YEO5B-2wOduQWS.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-fBlHoB_a.mjs.map → sort-SW2YEO5B-2wOduQWS.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-DR8iHRuN.cjs → sort-SW2YEO5B-DSxrhcOF.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-DR8iHRuN.cjs.map → sort-SW2YEO5B-DSxrhcOF.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-B17_7njg.cjs → split-4KKZZXXE-B81-EqQu.cjs} +2 -2
- package/dist/{split-4KKZZXXE-B17_7njg.cjs.map → split-4KKZZXXE-B81-EqQu.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-DuBZGw5T.mjs → split-4KKZZXXE-DbOKxroW.mjs} +2 -2
- package/dist/{split-4KKZZXXE-DuBZGw5T.mjs.map → split-4KKZZXXE-DbOKxroW.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-BB6F_5-D.mjs → sqlite3-CGOEFJAO-B-ZzJtst.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-BB6F_5-D.mjs.map → sqlite3-CGOEFJAO-B-ZzJtst.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-XoorSW5n.cjs → sqlite3-CGOEFJAO-mwkQHPAn.cjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-XoorSW5n.cjs.map → sqlite3-CGOEFJAO-mwkQHPAn.cjs.map} +1 -1
- package/dist/{start-xbqVrGhy.cjs → start-CGptqtDb.cjs} +339 -266
- package/dist/start-CGptqtDb.cjs.map +1 -0
- package/dist/{start-DYnIf75m.mjs → start-Cb4yLZ5F.mjs} +340 -267
- package/dist/start-Cb4yLZ5F.mjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-DSA8v5qw.cjs → strings-6WDHLGMX-C44Tc9mO.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-DSA8v5qw.cjs.map → strings-6WDHLGMX-C44Tc9mO.cjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-Ckk0EvbI.mjs → strings-6WDHLGMX-CFv1rEqL.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-Ckk0EvbI.mjs.map → strings-6WDHLGMX-CFv1rEqL.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-DB6jvdtx.mjs → tac-2STMMJYW-DYxdRFyo.mjs} +2 -2
- package/dist/{tac-2STMMJYW-DB6jvdtx.mjs.map → tac-2STMMJYW-DYxdRFyo.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-CYkFQG0w.cjs → tac-2STMMJYW-DtxAsTFN.cjs} +2 -2
- package/dist/{tac-2STMMJYW-CYkFQG0w.cjs.map → tac-2STMMJYW-DtxAsTFN.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-CT05j-0q.mjs → tail-R4PCA2C4-DOV_7C9z.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-CT05j-0q.mjs.map → tail-R4PCA2C4-DOV_7C9z.mjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-CWMtdICt.cjs → tail-R4PCA2C4-DSpn58Mr.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-CWMtdICt.cjs.map → tail-R4PCA2C4-DSpn58Mr.cjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-CwhMNhP7.mjs → tar-STHHZTZ6-BcCgQUW2.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-CwhMNhP7.mjs.map → tar-STHHZTZ6-BcCgQUW2.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-CgZGDZ18.cjs → tar-STHHZTZ6-zuEt_k6h.cjs} +5 -5
- package/dist/{tar-STHHZTZ6-CgZGDZ18.cjs.map → tar-STHHZTZ6-zuEt_k6h.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-Dwaan3fu.mjs → tee-YUZ2FKCJ-Be086I-8.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-Dwaan3fu.mjs.map → tee-YUZ2FKCJ-Be086I-8.mjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-bbbxXMWs.cjs → tee-YUZ2FKCJ-CFBXvaTu.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-bbbxXMWs.cjs.map → tee-YUZ2FKCJ-CFBXvaTu.cjs.map} +1 -1
- package/dist/{time-D4LNBSWX-BYRhhcb0.mjs → time-D4LNBSWX-BEyTrkGd.mjs} +2 -2
- package/dist/{time-D4LNBSWX-BYRhhcb0.mjs.map → time-D4LNBSWX-BEyTrkGd.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-2HcWwID2.cjs → time-D4LNBSWX-CrGLo1qW.cjs} +2 -2
- package/dist/{time-D4LNBSWX-2HcWwID2.cjs.map → time-D4LNBSWX-CrGLo1qW.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-CHdz2oDw.mjs → timeout-YDCRSLPQ-BXlKYlQf.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-CHdz2oDw.mjs.map → timeout-YDCRSLPQ-BXlKYlQf.mjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-DR7iAnPz.cjs → timeout-YDCRSLPQ-CtGfVYZ2.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-DR7iAnPz.cjs.map → timeout-YDCRSLPQ-CtGfVYZ2.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-CYInX6Yh.cjs → touch-UA33VN3N-B94fFD7p.cjs} +2 -2
- package/dist/{touch-UA33VN3N-CYInX6Yh.cjs.map → touch-UA33VN3N-B94fFD7p.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-D_viAQAq.mjs → touch-UA33VN3N-CTOgeqlE.mjs} +2 -2
- package/dist/{touch-UA33VN3N-D_viAQAq.mjs.map → touch-UA33VN3N-CTOgeqlE.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-Dm4E4yNe.mjs → tr-36LHWFRQ-CX7Jm9tF.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-Dm4E4yNe.mjs.map → tr-36LHWFRQ-CX7Jm9tF.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-E9cLgaY2.cjs → tr-36LHWFRQ-Ds1WFY2m.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-E9cLgaY2.cjs.map → tr-36LHWFRQ-Ds1WFY2m.cjs.map} +1 -1
- package/dist/{tree-YLD52CNT-BJq1DDgJ.mjs → tree-YLD52CNT-BULOnjZi.mjs} +2 -2
- package/dist/{tree-YLD52CNT-BJq1DDgJ.mjs.map → tree-YLD52CNT-BULOnjZi.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-DcMHtSNz.cjs → tree-YLD52CNT-CGCyCFbD.cjs} +2 -2
- package/dist/{tree-YLD52CNT-DcMHtSNz.cjs.map → tree-YLD52CNT-CGCyCFbD.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-C2u9kk4z.mjs → unexpand-CADSA4VO-CfCsiEdh.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-C2u9kk4z.mjs.map → unexpand-CADSA4VO-CfCsiEdh.mjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-CPf1eX4f.cjs → unexpand-CADSA4VO-wXDInVM-.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-CPf1eX4f.cjs.map → unexpand-CADSA4VO-wXDInVM-.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-CIU7iA4v.cjs → uniq-XSIZR6PB-BaPNs1m1.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-CIU7iA4v.cjs.map → uniq-XSIZR6PB-BaPNs1m1.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-qh_cqBWC.mjs → uniq-XSIZR6PB-CkKeX1T3.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-qh_cqBWC.mjs.map → uniq-XSIZR6PB-CkKeX1T3.mjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-BbxcDy__.cjs → wc-LF7NU4LA-DSP-XbWE.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-BbxcDy__.cjs.map → wc-LF7NU4LA-DSP-XbWE.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-BnYjcFUB.mjs → wc-LF7NU4LA-DdpL8NdO.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-BnYjcFUB.mjs.map → wc-LF7NU4LA-DdpL8NdO.mjs.map} +1 -1
- package/dist/{with-project-scope-l2mUjwTW.cjs → with-project-scope--jMce0yl.cjs} +2 -2
- package/dist/{with-project-scope-l2mUjwTW.cjs.map → with-project-scope--jMce0yl.cjs.map} +1 -1
- package/dist/{with-project-scope-BcHUAMLs.mjs → with-project-scope-Dl5PuIW4.mjs} +2 -2
- package/dist/{with-project-scope-BcHUAMLs.mjs.map → with-project-scope-Dl5PuIW4.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-BYPvKEpv.mjs → xan-Y6WF3IRG-BZgWDWUk.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-BYPvKEpv.mjs.map → xan-Y6WF3IRG-BZgWDWUk.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-BCZiwjDs.cjs → xan-Y6WF3IRG-Bkbbv6KO.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-BCZiwjDs.cjs.map → xan-Y6WF3IRG-Bkbbv6KO.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-BydghNC_.mjs → xan-view-HDVKHFC2-B3G16u5_.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-BydghNC_.mjs.map → xan-view-HDVKHFC2-B3G16u5_.mjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-sHsNhmdW.cjs → xan-view-HDVKHFC2-y6oNsGG8.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-sHsNhmdW.cjs.map → xan-view-HDVKHFC2-y6oNsGG8.cjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-C0ZTspsX.cjs → xargs-MGZPH7AX-B0tTOZjF.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-C0ZTspsX.cjs.map → xargs-MGZPH7AX-B0tTOZjF.cjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-BtkEXitX.mjs → xargs-MGZPH7AX-DoPlfpJU.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-BtkEXitX.mjs.map → xargs-MGZPH7AX-DoPlfpJU.mjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DkZSal0c.mjs → yq-4QJW3EQG-Chi3vo46.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-DkZSal0c.mjs.map → yq-4QJW3EQG-Chi3vo46.mjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DwE7zzTV.cjs → yq-4QJW3EQG-DO4AaWZA.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-DwE7zzTV.cjs.map → yq-4QJW3EQG-DO4AaWZA.cjs.map} +1 -1
- package/package.json +2 -2
- package/dist/dist-Bf-X1hc-.cjs.map +0 -1
- package/dist/dist-CChImt_Z.mjs.map +0 -1
- package/dist/dist-FxtFB69U.mjs.map +0 -1
- package/dist/dist-b4HzEMMH.cjs.map +0 -1
- package/dist/start-DYnIf75m.mjs.map +0 -1
- package/dist/start-xbqVrGhy.cjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as verifyOrgWorkerToken, i as pingProjectTarget, n as fetchDeployStatus, r as mintOrgWorkerToken } from "./dist-
|
|
1
|
+
import { $ as CreateCredentialsRequestSchema, $n as WorkflowRunInputsPutBodySchema, $t as OpenApiDiscoverResponseSchema, A as discoverMcpApp, An as SubmitMarketingContactResponseSchema, Ar as organizationInvitationAcceptPath, At as InviteProjectMembersResponseSchema, B as ActiveOrganizationResponseSchema, Bn as UpdateProjectMemberRequestSchema, Bt as ListOrganizationMembersPageQuerySchema, C as defaultSchedulerPlugin, Cn as SkillSummarySchema, Cr as mapProjectArtifact, Ct as HistoryRunCancelResponseSchema, D as decodeOAuthState, Dn as StartMcpOAuthConnectionResultSchema, Dr as mapUserOrganization, Dt as InviteOrganizationMembersRequestSchema, E as completeMcpOAuthConnect, En as StartMcpOAuthConnectionInputSchema, Er as mapProjectSettings, Et as HistoryRunListResponseSchema, F as deleteManagedServiceCredential$1, Fn as UpdateCredentialRequestSchema, Fr as resolveExternalPlatformOrigin, Ft as ListChannelPlatformsResponseSchema, G as AgentWorkspaceFileSummarySchema, Gn as UploadProjectSourceResponseSchema, Gt as ListProjectMembersResponseSchema, H as AgentSummaryDetailResponseSchema, Hn as UpdateProjectRequestSchema, Ht as ListOrganizationsResponseSchema, I as setCredentialInstanceSecret, In as UpdateManagedServiceCredentialRequestSchema, Ir as resolveUniqueCredentialInstanceLabel, It as ListCredentialsPageQuerySchema, J as ChannelPlatformSchema, Jn as UserPreferencesPatchSchema, Jt as ManagedServiceCredentialSchema, K as AppSlugAvailabilityQuerySchema, Kn as UserAvatarPatchSchema, Kt as ListProjectMetricsResponseSchema, L as setManagedServiceCredential, Ln as UpdateOrganizationMemberRequestSchema, Lr as validateCredentialValueAgainstFields, Lt as ListCredentialsPageResponseSchema, M as withCredentialAssignments, Mn as SubmitTeamRequestResponseSchema, Mr as parseAppSlug, Mt as ListAgentWorkspaceFilesResponseSchema, N as PublicHttpUrlError, Nn as TriggerAttachmentUpdateRequestSchema, Nr as parseStoredRouteManifest, Nt as ListApiKeysResponseSchema, O as describeCredentialBindings, On as StoredProjectSourceManifestSchema, Or as mergeUserPreferences, Ot as InviteOrganizationMembersResponseSchema, P as deleteCredentialInstanceSecret, Pn as TriggerRunListQuerySchema, Pr as projectFileId, Pt as ListAppsResponseSchema, Q as CreateApiKeyResponseSchema, Qn as WorkflowCanvasSchema, Qt as OpenApiDiscoverRequestSchema, R as ACTIVE_ORG_HEADER, Rn as UpdateOrganizationMemberResponseSchema, Rr as validateWorkflowRunInputValues, Rt as ListManagedServiceCredentialsResponseSchema, S as createJobQueue, Sn as SkillSummaryListResponseSchema, Sr as mapProject, St as GraphqlDiscoverResponseSchema, T as beginMcpOAuthConnect, Tn as SlugAvailabilityResponseSchema, Tr as mapProjectMember, Tt as HistoryRunListQuerySchema, U as AgentSummaryListResponseSchema, Un as UpdateProjectSettingsRequestSchema, Ut as ListProjectDeploymentsResponseSchema, V as AgentMemoryFileSummarySchema, Vn as UpdateProjectMemberResponseSchema, Vt as ListOrganizationMembersPageResponseSchema, W as AgentSummarySchema, Wn as UploadProjectSourceManifestRequestSchema, Wt as ListProjectFilesResponseSchema, X as ConnectManagedServiceCredentialRequestSchema, Xn as WorkflowCanvasCredentialBindingsSchema, Xt as McpDiscoverRequestSchema, Y as CompleteProjectArtifactResponseSchema, Yn as UserPreferencesSchema, Yt as ManagedServiceKindSchema, Z as CreateApiKeyRequestSchema, Zn as WorkflowCanvasRunSchema, Zt as McpDiscoverResponseSchema, _ as orgLogoStorageKey, _n as ProjectSourceResourcesSchema, _r as isLlmProviderSlug, _t as ErrorResponseSchema, a as extractRouteManifestFromArtifact, an as PresignChatAttachmentResponseSchema, ar as WorkspaceTriggerFileSchema, at as CreateProjectArtifactResponseSchema, b as publicKeystrokeAssetsObjectUrl, bn as RecentResourceSchema, br as mapOrganizationInvitation, bt as GetCustomAppResponseSchema, c as isKeystrokeAssetsOrgLogoPublicUrl, cn as PresignProjectSourceRequestSchema, cr as WorkspaceTriggerRunListResponseSchema, ct as DEFAULT_CLOUD_PLATFORM_ORIGIN, d as isStorageNotFoundError$1, dn as PresignUserAvatarResponseSchema, dr as agentWorkspaceFileId, dt as DEFAULT_WORKFLOW_OVERVIEW_MODEL, en as OrganizationSidebarBrandingPatchSchema, er as WorkflowRunInputsSchema, et as CreateCredentialsResponseSchema, f as isUserAvatarStorageKey, fn as ProjectReachabilityResponseSchema, fr as buildCredentialInstanceLabel, ft as DbProxyMigrateRequestSchema, gn as ProjectSlugAvailabilityResponseSchema, gr as isAllowedChatAttachmentMediaType, gt as DownloadActiveProjectSourceResponseSchema, h as loadProjectSourceFiles, hn as ProjectSlugAvailabilityQuerySchema, hr as displayCredentialAppName, ht as DownloadActiveProjectArtifactResponseSchema, i as ensureKeystrokeAssetsBucket, in as PresignChatAttachmentRequestSchema, ir as WorkspaceTriggerDetailSchema, it as CreateOrganizationResponseSchema, j as discoverOpenApiApp, jn as SubmitTeamRequestRequestSchema, jr as organizationSlugErrorCodeFromMessage, jt as ListAgentMemoryFilesResponseSchema, k as discoverGraphqlApp, kn as SubmitMarketingContactRequestSchema, kr as normalizeUserPreferences, kt as InviteProjectMembersRequestSchema, l as isOrgLogoStorageKey, ln as PresignProjectSourceResponseSchema, lr as WorkspaceWorkflowOverviewSchema, lt as DEFAULT_TRIGGER_OVERVIEW_MODEL, m as keystrokeAssetsOrgLogoKeyFromPublicUrl, mn as ProjectSettingsResponseSchema, mr as deriveCredentialInstanceSlug, mt as DeclineOrganizationInvitationResponseSchema, n as chatAttachmentStorageKey, nn as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, nr as WorkflowSummaryListResponseSchema, nt as CreateCustomAppResponseSchema, o as isChatAttachmentStorageKey, on as PresignOrgLogoRequestSchema, or as WorkspaceTriggerListResponseSchema, ot as CreateProjectRequestSchema, p as keystrokeAssetsAvatarKeyFromPublicUrl, pn as ProjectResponseSchema, pr as chatAttachmentExtension, pt as DbProxyQueryRequestSchema, q as AppSlugAvailabilityResponseSchema, qn as UserAvatarSchema, qt as ListProjectsResponseSchema, r as createAssetsStorageClient, rn as PROJECT_SLUG_TAKEN_MESSAGE, rr as WorkflowSummarySchema, rt as CreateOrganizationRequestSchema, s as isKeystrokeAssetsAvatarPublicUrl, sn as PresignOrgLogoResponseSchema, sr as WorkspaceTriggerOverviewSchema, st as CreateProjectResponseSchema, t as RouteManifestNotFoundError, tn as OrganizationSidebarBrandingSchema, tr as WorkflowSummaryDetailResponseSchema, tt as CreateCustomAppRequestSchema, u as isStorageBucketNotFoundError, un as PresignUserAvatarRequestSchema, ur as agentMemoryFileId, ut as DEFAULT_WORKFLOW_CANVAS_MODEL, v as projectArtifactKey, vn as PublicModelsResponseSchema, vr as jsonSchemaToWorkflowInputSchema, vt as GetAppCatalogEntryResponseSchema, w as cronPayloadSchema, wn as SlugAvailabilityQuerySchema, wr as mapProjectDeployment, wt as HistoryRunDetailResponseSchema, x as userAvatarStorageKey, xn as SkillSummaryDetailResponseSchema, xr as mapOrganizationMember, xt as GraphqlDiscoverRequestSchema, y as projectSourceBlobKey, yn as RecentResourceListResponseSchema, yr as listenPortFromPublicUrl, yt as GetCredentialResponseSchema, z as AcceptOrganizationInvitationResponseSchema, zn as UpdateOrganizationRequestSchema, zr as validationErrorResponse, zt as ListOrganizationInvitationsResponseSchema } from "./dist-Bb39JWkf.mjs";
|
|
2
|
+
import { a as verifyOrgWorkerToken, i as pingProjectTarget, n as fetchDeployStatus, r as mintOrgWorkerToken } from "./dist-BdztevxT.mjs";
|
|
3
3
|
import "./chunk-BZUGFHVS-B2NchobP.mjs";
|
|
4
4
|
import { n as d$4, t as _$1 } from "./chunk-TN7HHBQW-B8PYcKz5.mjs";
|
|
5
|
-
import { n as readWorkerTokenFromRequest, r as requireWorkerToken, t as withProjectScope } from "./with-project-scope-
|
|
5
|
+
import { n as readWorkerTokenFromRequest, r as requireWorkerToken, t as withProjectScope } from "./with-project-scope-Dl5PuIW4.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import "node:fs/promises";
|
|
9
9
|
import { acquireProjectDatabasePool, buildHistoryAgentSessionDetail, buildHistoryWorkflowRunDetail, cancelAgentSession, cancelWorkflowRun, clearCredentialInstanceDefaults, deleteCredentialInstanceById, findHistoryRunCore, getProjectScopeId, getServerTenantScopeId, getWorkspaceTriggerById, listActiveAgents, listActiveSkills, listActiveWorkflows, listAllCredentialInstances, listCredentialInstancesByConnectionId, listHistoryRuns, listRecentResourceActivity, listReplayEvents, listTriggersByIds, listWorkspaceTriggerRunRows, listWorkspaceTriggers, releaseProjectDatabasePool, runWithProjectDatabase, runWithProjectScope, runWithTenantScope, selectActiveAgentById, selectActiveAgentsByIds, selectActiveSkillById, selectActiveSkillsByIds, selectActiveWorkflowById, selectActiveWorkflowsByIds, selectAgentBySlug, selectAgentLastRunAtByIds, selectAgentSessionById, selectCredentialInstanceById, selectCredentialInstancesForScope, selectEphemeralTriggerAttachments, selectProjectResourceCounts, selectTriggerById, selectWorkflowCanvasAnnotations, selectWorkflowLastRunAtByIds, selectWorkflowOverview, selectWorkflowRunById, selectWorkflowRunForWorkflow, selectWorkflowRunInputValues, setTriggerAttachmentEnabledState, setTriggerOverviewGenerating, setWorkflowCanvasAnnotationsGenerating, setWorkflowOverviewGenerating, storedTriggerSourceFromRow, touchResourceActivity, updateTriggerOverview, updateWorkflowCanvasAnnotations, updateWorkflowOverview, updateWorkflowRunInputValues, upsertCredentialInstance } from "@keystrokehq/database";
|
|
10
10
|
import { ZodError, z } from "zod";
|
|
11
11
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
12
|
-
import { CannotModifyOwnerError, OrgAppSlugTakenError, OrgPlatformApiKeyNotFoundError, OrganizationInvitationExpiredError, OrganizationInvitationForbiddenError, OrganizationInvitationNotFoundError, OrganizationMemberNotFoundError, OrganizationSlugTakenError, OrganizationSlugTakenError as OrganizationSlugTakenError$1, ProjectMemberNotFoundError, ProjectSlugTakenError, acceptInvitation, checkOrgAppSlugAvailability, checkOrganizationSlugAvailability, checkProjectSlugAvailability, completeProjectArtifact, createOrgAgentStorageClient, createOrgApp, createOrgPlatformApiKey, createOrgStorageClient, createOrganizationForUser, createProjectForOrganization, declineInvitation, deleteOAuthConnectionById, deleteProjectForOrganization, encryptCredentialPayload as encryptCredentialPayload$1, ensureProjectPgBossGrants, ensureWebhookApiKeyForRoute, ensureWebhookApiKeys, getManagedServiceCredential, hasCredentialFieldTemplate, initDatabase, insertProjectArtifact, inviteOrganizationMembers, inviteProjectMembers, isOrganizationStorageBucketInUse, listAppsForOrganization, listManagedServiceCredentialsForOrganization, listOrgPlatformApiKeysForOrganization, listOrgPlatformApiKeysForUser, listWebhookApiKeysForProject,
|
|
12
|
+
import { CannotModifyOwnerError, OrgAppSlugTakenError, OrgPlatformApiKeyNotFoundError, OrganizationInvitationExpiredError, OrganizationInvitationForbiddenError, OrganizationInvitationNotFoundError, OrganizationMemberNotFoundError, OrganizationSlugTakenError, OrganizationSlugTakenError as OrganizationSlugTakenError$1, ProjectMemberNotFoundError, ProjectSlugTakenError, acceptInvitation, checkOrgAppSlugAvailability, checkOrganizationSlugAvailability, checkProjectSlugAvailability, completeProjectArtifact, createOrgAgentStorageClient, createOrgApp, createOrgPlatformApiKey, createOrgStorageClient, createOrganizationForUser, createProjectForOrganization, declineInvitation, deleteOAuthConnectionById, deleteProjectForOrganization, encryptCredentialPayload as encryptCredentialPayload$1, ensureProjectPgBossGrants, ensureWebhookApiKeyForRoute, ensureWebhookApiKeys, getManagedServiceCredential, hasCredentialFieldTemplate, initDatabase, insertProjectArtifact, inviteOrganizationMembers, inviteProjectMembers, isOrganizationStorageBucketInUse, listAppsForOrganization, listManagedServiceCredentialsForOrganization, listOrgPlatformApiKeysForOrganization, listOrgPlatformApiKeysForUser, listWebhookApiKeysForProject, loadOrgPlatformApiKeyUser, mapOrgPlatformApiKeyCreator, mapOrgPlatformApiKeyCreatorOrDeleted, orgSchedulerRuntimeEnv, orgWorkspacesRuntimeEnv, organizationRowToSidebarBranding, promoteProjectArtifact, removeOrganizationMember, removeProjectMember, resolveNewOrganizationIdentity, resolveOrgProjectDatabaseOptions, resolveOrgRuntimeDatabase, revokeOrgPlatformApiKey, runWithOrganizationScope, runWithWorkspaceContext, selectActiveArtifactManifestForProject, selectActiveArtifactSourceManifestForProject, selectActiveProjectArtifactForProject, selectAppForOrganization, selectLastDeploymentAtByProject, selectManagedServiceCredentialById, selectOAuthConnectionsByIds, selectOrgPlatformApiKeyForOrganization, selectOrganizationById, selectOrganizationMembers, selectPendingInvitationsForUser, selectProjectArtifactById, selectProjectArtifactForProject, selectProjectArtifactSourceManifestForProject, selectProjectById, selectProjectDeployments, selectProjectForOrganization, selectProjectForOrganizationBySlug, selectProjectIdsForUser, selectProjectMembers, selectProjectsByOrganizationId, selectUserById, selectUserOrganizationMembership, selectUserOrganizations, selectUserProjectMembership, selectUsersByIds, updateOrganizationActive, updateOrganizationFailed, updateOrganizationMemberRole, updateOrganizationName, updateOrganizationSidebarBranding, updateOrganizationSlug, updateProjectActive, updateProjectArtifactManifest, updateProjectArtifactSourceManifest, updateProjectFailed, updateProjectForOrganization, updateProjectMemberRole, updateProjectSettings, updateUserById, verifyOrgPlatformApiKeySecret } from "@keystrokehq/platform-database";
|
|
13
13
|
import "node:fs";
|
|
14
14
|
import { basename, join, normalize, relative, resolve } from "node:path";
|
|
15
15
|
import { tmpdir } from "node:os";
|
|
@@ -22872,43 +22872,43 @@ var tt = [
|
|
|
22872
22872
|
},
|
|
22873
22873
|
{
|
|
22874
22874
|
name: "cat",
|
|
22875
|
-
load: async () => (await import("./cat-TSFMZVYS-
|
|
22875
|
+
load: async () => (await import("./cat-TSFMZVYS-D-XfA2-u.mjs")).catCommand
|
|
22876
22876
|
},
|
|
22877
22877
|
{
|
|
22878
22878
|
name: "printf",
|
|
22879
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
22879
|
+
load: async () => (await import("./printf-TWGXF445-V7r9pHkG.mjs")).printfCommand
|
|
22880
22880
|
},
|
|
22881
22881
|
{
|
|
22882
22882
|
name: "ls",
|
|
22883
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
22883
|
+
load: async () => (await import("./ls-ZJGQER7M-bt-6bLKQ.mjs")).lsCommand
|
|
22884
22884
|
},
|
|
22885
22885
|
{
|
|
22886
22886
|
name: "mkdir",
|
|
22887
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
22887
|
+
load: async () => (await import("./mkdir-MEPGZOB6-3AUj5bUJ.mjs")).mkdirCommand
|
|
22888
22888
|
},
|
|
22889
22889
|
{
|
|
22890
22890
|
name: "rmdir",
|
|
22891
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
22891
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-DD6ee53Z.mjs")).rmdirCommand
|
|
22892
22892
|
},
|
|
22893
22893
|
{
|
|
22894
22894
|
name: "touch",
|
|
22895
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
22895
|
+
load: async () => (await import("./touch-UA33VN3N-CTOgeqlE.mjs")).touchCommand
|
|
22896
22896
|
},
|
|
22897
22897
|
{
|
|
22898
22898
|
name: "rm",
|
|
22899
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
22899
|
+
load: async () => (await import("./rm-SSGETQVQ-ouO349u9.mjs")).rmCommand
|
|
22900
22900
|
},
|
|
22901
22901
|
{
|
|
22902
22902
|
name: "cp",
|
|
22903
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
22903
|
+
load: async () => (await import("./cp-BISAAS7A-D0VlH-Wg.mjs")).cpCommand
|
|
22904
22904
|
},
|
|
22905
22905
|
{
|
|
22906
22906
|
name: "mv",
|
|
22907
|
-
load: async () => (await import("./mv-W5BIQ646-
|
|
22907
|
+
load: async () => (await import("./mv-W5BIQ646-szXegLi4.mjs")).mvCommand
|
|
22908
22908
|
},
|
|
22909
22909
|
{
|
|
22910
22910
|
name: "ln",
|
|
22911
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
22911
|
+
load: async () => (await import("./ln-4LGSXXGD-Dg-wo_B-.mjs")).lnCommand
|
|
22912
22912
|
},
|
|
22913
22913
|
{
|
|
22914
22914
|
name: "chmod",
|
|
@@ -22924,15 +22924,15 @@ var tt = [
|
|
|
22924
22924
|
},
|
|
22925
22925
|
{
|
|
22926
22926
|
name: "head",
|
|
22927
|
-
load: async () => (await import("./head-442HYESI-
|
|
22927
|
+
load: async () => (await import("./head-442HYESI-DLc7PlzM.mjs")).headCommand
|
|
22928
22928
|
},
|
|
22929
22929
|
{
|
|
22930
22930
|
name: "tail",
|
|
22931
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
22931
|
+
load: async () => (await import("./tail-R4PCA2C4-DOV_7C9z.mjs")).tailCommand
|
|
22932
22932
|
},
|
|
22933
22933
|
{
|
|
22934
22934
|
name: "wc",
|
|
22935
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
22935
|
+
load: async () => (await import("./wc-LF7NU4LA-DdpL8NdO.mjs")).wcCommand
|
|
22936
22936
|
},
|
|
22937
22937
|
{
|
|
22938
22938
|
name: "stat",
|
|
@@ -22940,95 +22940,95 @@ var tt = [
|
|
|
22940
22940
|
},
|
|
22941
22941
|
{
|
|
22942
22942
|
name: "grep",
|
|
22943
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22943
|
+
load: async () => (await import("./grep-V3LQVMRQ-4QvVw0cb.mjs")).grepCommand
|
|
22944
22944
|
},
|
|
22945
22945
|
{
|
|
22946
22946
|
name: "fgrep",
|
|
22947
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22947
|
+
load: async () => (await import("./grep-V3LQVMRQ-4QvVw0cb.mjs")).fgrepCommand
|
|
22948
22948
|
},
|
|
22949
22949
|
{
|
|
22950
22950
|
name: "egrep",
|
|
22951
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22951
|
+
load: async () => (await import("./grep-V3LQVMRQ-4QvVw0cb.mjs")).egrepCommand
|
|
22952
22952
|
},
|
|
22953
22953
|
{
|
|
22954
22954
|
name: "rg",
|
|
22955
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
22955
|
+
load: async () => (await import("./rg-S4FXYXWB-SOt3hAEL.mjs")).rgCommand
|
|
22956
22956
|
},
|
|
22957
22957
|
{
|
|
22958
22958
|
name: "sed",
|
|
22959
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
22959
|
+
load: async () => (await import("./sed-S5UIK574-vgX7BQcu.mjs")).sedCommand
|
|
22960
22960
|
},
|
|
22961
22961
|
{
|
|
22962
22962
|
name: "awk",
|
|
22963
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
22963
|
+
load: async () => (await import("./awk2-LA3USKJP-OVhHvm0M.mjs")).awkCommand2
|
|
22964
22964
|
},
|
|
22965
22965
|
{
|
|
22966
22966
|
name: "sort",
|
|
22967
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
22967
|
+
load: async () => (await import("./sort-SW2YEO5B-2wOduQWS.mjs")).sortCommand
|
|
22968
22968
|
},
|
|
22969
22969
|
{
|
|
22970
22970
|
name: "uniq",
|
|
22971
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
22971
|
+
load: async () => (await import("./uniq-XSIZR6PB-CkKeX1T3.mjs")).uniqCommand
|
|
22972
22972
|
},
|
|
22973
22973
|
{
|
|
22974
22974
|
name: "comm",
|
|
22975
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
22975
|
+
load: async () => (await import("./comm-VV2LDX2J-CpJ8nPAI.mjs")).commCommand
|
|
22976
22976
|
},
|
|
22977
22977
|
{
|
|
22978
22978
|
name: "cut",
|
|
22979
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
22979
|
+
load: async () => (await import("./cut-OKARJCCV-D4jl0vCs.mjs")).cutCommand
|
|
22980
22980
|
},
|
|
22981
22981
|
{
|
|
22982
22982
|
name: "paste",
|
|
22983
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
22983
|
+
load: async () => (await import("./paste-7JC6S4DX-CNnli-7U.mjs")).pasteCommand
|
|
22984
22984
|
},
|
|
22985
22985
|
{
|
|
22986
22986
|
name: "tr",
|
|
22987
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
22987
|
+
load: async () => (await import("./tr-36LHWFRQ-CX7Jm9tF.mjs")).trCommand
|
|
22988
22988
|
},
|
|
22989
22989
|
{
|
|
22990
22990
|
name: "rev",
|
|
22991
|
-
load: async () => (await import("./rev-5EHFX4EJ
|
|
22991
|
+
load: async () => (await import("./rev-5EHFX4EJ--1yycfOa.mjs")).rev
|
|
22992
22992
|
},
|
|
22993
22993
|
{
|
|
22994
22994
|
name: "nl",
|
|
22995
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
22995
|
+
load: async () => (await import("./nl-WSDW7I4O-Bz_UjM_F.mjs")).nl
|
|
22996
22996
|
},
|
|
22997
22997
|
{
|
|
22998
22998
|
name: "fold",
|
|
22999
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
22999
|
+
load: async () => (await import("./fold-4TQNYMSW-Cvd3o80q.mjs")).fold
|
|
23000
23000
|
},
|
|
23001
23001
|
{
|
|
23002
23002
|
name: "expand",
|
|
23003
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23003
|
+
load: async () => (await import("./expand-JSPG6VOP-yKm9_cxv.mjs")).expand
|
|
23004
23004
|
},
|
|
23005
23005
|
{
|
|
23006
23006
|
name: "unexpand",
|
|
23007
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23007
|
+
load: async () => (await import("./unexpand-CADSA4VO-CfCsiEdh.mjs")).unexpand
|
|
23008
23008
|
},
|
|
23009
23009
|
{
|
|
23010
23010
|
name: "strings",
|
|
23011
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23011
|
+
load: async () => (await import("./strings-6WDHLGMX-CFv1rEqL.mjs")).strings
|
|
23012
23012
|
},
|
|
23013
23013
|
{
|
|
23014
23014
|
name: "split",
|
|
23015
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23015
|
+
load: async () => (await import("./split-4KKZZXXE-DbOKxroW.mjs")).split
|
|
23016
23016
|
},
|
|
23017
23017
|
{
|
|
23018
23018
|
name: "column",
|
|
23019
|
-
load: async () => (await import("./column-XT6UFXNQ-
|
|
23019
|
+
load: async () => (await import("./column-XT6UFXNQ-I2BZLhKb.mjs")).column
|
|
23020
23020
|
},
|
|
23021
23021
|
{
|
|
23022
23022
|
name: "join",
|
|
23023
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23023
|
+
load: async () => (await import("./join-TBRGI3LQ-CCldrnDL.mjs")).join
|
|
23024
23024
|
},
|
|
23025
23025
|
{
|
|
23026
23026
|
name: "tee",
|
|
23027
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23027
|
+
load: async () => (await import("./tee-YUZ2FKCJ-Be086I-8.mjs")).teeCommand
|
|
23028
23028
|
},
|
|
23029
23029
|
{
|
|
23030
23030
|
name: "find",
|
|
23031
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23031
|
+
load: async () => (await import("./find-INTH3OLC-BeolrH0P.mjs")).findCommand
|
|
23032
23032
|
},
|
|
23033
23033
|
{
|
|
23034
23034
|
name: "basename",
|
|
@@ -23040,19 +23040,19 @@ var tt = [
|
|
|
23040
23040
|
},
|
|
23041
23041
|
{
|
|
23042
23042
|
name: "tree",
|
|
23043
|
-
load: async () => (await import("./tree-YLD52CNT-
|
|
23043
|
+
load: async () => (await import("./tree-YLD52CNT-BULOnjZi.mjs")).treeCommand
|
|
23044
23044
|
},
|
|
23045
23045
|
{
|
|
23046
23046
|
name: "du",
|
|
23047
|
-
load: async () => (await import("./du-572XNP42-
|
|
23047
|
+
load: async () => (await import("./du-572XNP42-9rctmDpU.mjs")).duCommand
|
|
23048
23048
|
},
|
|
23049
23049
|
{
|
|
23050
23050
|
name: "env",
|
|
23051
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23051
|
+
load: async () => (await import("./env-36M5BO7M-CLABuTEO.mjs")).envCommand
|
|
23052
23052
|
},
|
|
23053
23053
|
{
|
|
23054
23054
|
name: "printenv",
|
|
23055
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23055
|
+
load: async () => (await import("./env-36M5BO7M-CLABuTEO.mjs")).printenvCommand
|
|
23056
23056
|
},
|
|
23057
23057
|
{
|
|
23058
23058
|
name: "alias",
|
|
@@ -23068,7 +23068,7 @@ var tt = [
|
|
|
23068
23068
|
},
|
|
23069
23069
|
{
|
|
23070
23070
|
name: "xargs",
|
|
23071
|
-
load: async () => (await import("./xargs-MGZPH7AX-
|
|
23071
|
+
load: async () => (await import("./xargs-MGZPH7AX-DoPlfpJU.mjs")).xargsCommand
|
|
23072
23072
|
},
|
|
23073
23073
|
{
|
|
23074
23074
|
name: "true",
|
|
@@ -23084,23 +23084,23 @@ var tt = [
|
|
|
23084
23084
|
},
|
|
23085
23085
|
{
|
|
23086
23086
|
name: "bash",
|
|
23087
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23087
|
+
load: async () => (await import("./bash-YZ33HQZQ-Bpb8UPgy.mjs")).bashCommand
|
|
23088
23088
|
},
|
|
23089
23089
|
{
|
|
23090
23090
|
name: "sh",
|
|
23091
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23091
|
+
load: async () => (await import("./bash-YZ33HQZQ-Bpb8UPgy.mjs")).shCommand
|
|
23092
23092
|
},
|
|
23093
23093
|
{
|
|
23094
23094
|
name: "jq",
|
|
23095
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23095
|
+
load: async () => (await import("./jq-4XLYLOS5-l0pqNTeC.mjs")).jqCommand
|
|
23096
23096
|
},
|
|
23097
23097
|
{
|
|
23098
23098
|
name: "base64",
|
|
23099
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23099
|
+
load: async () => (await import("./base64-C2AIWVNC-B4xempQE.mjs")).base64Command
|
|
23100
23100
|
},
|
|
23101
23101
|
{
|
|
23102
23102
|
name: "diff",
|
|
23103
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23103
|
+
load: async () => (await import("./diff-MWJFIG7X-BV_Qmks0.mjs")).diffCommand
|
|
23104
23104
|
},
|
|
23105
23105
|
{
|
|
23106
23106
|
name: "date",
|
|
@@ -23108,15 +23108,15 @@ var tt = [
|
|
|
23108
23108
|
},
|
|
23109
23109
|
{
|
|
23110
23110
|
name: "sleep",
|
|
23111
|
-
load: async () => (await import("./sleep-X22JJINO-
|
|
23111
|
+
load: async () => (await import("./sleep-X22JJINO-DDeojNvT.mjs")).sleepCommand
|
|
23112
23112
|
},
|
|
23113
23113
|
{
|
|
23114
23114
|
name: "timeout",
|
|
23115
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23115
|
+
load: async () => (await import("./timeout-YDCRSLPQ-BXlKYlQf.mjs")).timeoutCommand
|
|
23116
23116
|
},
|
|
23117
23117
|
{
|
|
23118
23118
|
name: "time",
|
|
23119
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23119
|
+
load: async () => (await import("./time-D4LNBSWX-BEyTrkGd.mjs")).timeCommand
|
|
23120
23120
|
},
|
|
23121
23121
|
{
|
|
23122
23122
|
name: "seq",
|
|
@@ -23124,19 +23124,19 @@ var tt = [
|
|
|
23124
23124
|
},
|
|
23125
23125
|
{
|
|
23126
23126
|
name: "expr",
|
|
23127
|
-
load: async () => (await import("./expr-5JAACS4X-
|
|
23127
|
+
load: async () => (await import("./expr-5JAACS4X-xJ0as9kF.mjs")).exprCommand
|
|
23128
23128
|
},
|
|
23129
23129
|
{
|
|
23130
23130
|
name: "md5sum",
|
|
23131
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23131
|
+
load: async () => (await import("./md5sum-SPU24VSG-CVazLynX.mjs")).md5sumCommand
|
|
23132
23132
|
},
|
|
23133
23133
|
{
|
|
23134
23134
|
name: "sha1sum",
|
|
23135
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23135
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-CptNr5Hy.mjs")).sha1sumCommand
|
|
23136
23136
|
},
|
|
23137
23137
|
{
|
|
23138
23138
|
name: "sha256sum",
|
|
23139
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23139
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-CYlATjRS.mjs")).sha256sumCommand
|
|
23140
23140
|
},
|
|
23141
23141
|
{
|
|
23142
23142
|
name: "file",
|
|
@@ -23144,11 +23144,11 @@ var tt = [
|
|
|
23144
23144
|
},
|
|
23145
23145
|
{
|
|
23146
23146
|
name: "html-to-markdown",
|
|
23147
|
-
load: async () => (await import("./html-to-markdown-JW4MSQZO-
|
|
23147
|
+
load: async () => (await import("./html-to-markdown-JW4MSQZO-B8RZYWEW.mjs")).htmlToMarkdownCommand
|
|
23148
23148
|
},
|
|
23149
23149
|
{
|
|
23150
23150
|
name: "help",
|
|
23151
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23151
|
+
load: async () => (await import("./help-HZ6M2CKN-XJ0t-58J.mjs")).helpCommand
|
|
23152
23152
|
},
|
|
23153
23153
|
{
|
|
23154
23154
|
name: "which",
|
|
@@ -23156,7 +23156,7 @@ var tt = [
|
|
|
23156
23156
|
},
|
|
23157
23157
|
{
|
|
23158
23158
|
name: "tac",
|
|
23159
|
-
load: async () => (await import("./tac-2STMMJYW-
|
|
23159
|
+
load: async () => (await import("./tac-2STMMJYW-DYxdRFyo.mjs")).tac
|
|
23160
23160
|
},
|
|
23161
23161
|
{
|
|
23162
23162
|
name: "hostname",
|
|
@@ -23168,49 +23168,49 @@ var tt = [
|
|
|
23168
23168
|
},
|
|
23169
23169
|
{
|
|
23170
23170
|
name: "od",
|
|
23171
|
-
load: async () => (await import("./od-WOKFDJTP-
|
|
23171
|
+
load: async () => (await import("./od-WOKFDJTP-DKOF-uSo.mjs")).od
|
|
23172
23172
|
},
|
|
23173
23173
|
{
|
|
23174
23174
|
name: "gzip",
|
|
23175
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23175
|
+
load: async () => (await import("./gzip-O5ASJAFY-Vl0Gtsew.mjs")).gzipCommand
|
|
23176
23176
|
},
|
|
23177
23177
|
{
|
|
23178
23178
|
name: "gunzip",
|
|
23179
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23179
|
+
load: async () => (await import("./gzip-O5ASJAFY-Vl0Gtsew.mjs")).gunzipCommand
|
|
23180
23180
|
},
|
|
23181
23181
|
{
|
|
23182
23182
|
name: "zcat",
|
|
23183
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23183
|
+
load: async () => (await import("./gzip-O5ASJAFY-Vl0Gtsew.mjs")).zcatCommand
|
|
23184
23184
|
}
|
|
23185
23185
|
];
|
|
23186
23186
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (tt.push({
|
|
23187
23187
|
name: "tar",
|
|
23188
|
-
load: async () => (await import("./tar-STHHZTZ6-
|
|
23188
|
+
load: async () => (await import("./tar-STHHZTZ6-BcCgQUW2.mjs")).tarCommand
|
|
23189
23189
|
}), tt.push({
|
|
23190
23190
|
name: "yq",
|
|
23191
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23191
|
+
load: async () => (await import("./yq-4QJW3EQG-Chi3vo46.mjs")).yqCommand
|
|
23192
23192
|
}), tt.push({
|
|
23193
23193
|
name: "xan",
|
|
23194
|
-
load: async () => (await import("./xan-Y6WF3IRG-
|
|
23194
|
+
load: async () => (await import("./xan-Y6WF3IRG-BZgWDWUk.mjs")).xanCommand
|
|
23195
23195
|
}), tt.push({
|
|
23196
23196
|
name: "sqlite3",
|
|
23197
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23197
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-B-ZzJtst.mjs")).sqlite3Command
|
|
23198
23198
|
}));
|
|
23199
23199
|
var Yt = [];
|
|
23200
23200
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Yt.push({
|
|
23201
23201
|
name: "python3",
|
|
23202
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23202
|
+
load: async () => (await import("./python3-POMOR4OA-cDmm8tHR.mjs")).python3Command
|
|
23203
23203
|
}), Yt.push({
|
|
23204
23204
|
name: "python",
|
|
23205
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23205
|
+
load: async () => (await import("./python3-POMOR4OA-cDmm8tHR.mjs")).pythonCommand
|
|
23206
23206
|
}));
|
|
23207
23207
|
var Qt = [];
|
|
23208
23208
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Qt.push({
|
|
23209
23209
|
name: "js-exec",
|
|
23210
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23210
|
+
load: async () => (await import("./js-exec-N5KEZBH7-B7LvR3Ck.mjs")).jsExecCommand
|
|
23211
23211
|
}), Qt.push({
|
|
23212
23212
|
name: "node",
|
|
23213
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23213
|
+
load: async () => (await import("./js-exec-N5KEZBH7-B7LvR3Ck.mjs")).nodeStubCommand
|
|
23214
23214
|
}));
|
|
23215
23215
|
new TextEncoder();
|
|
23216
23216
|
Object.freeze({
|
|
@@ -24966,7 +24966,7 @@ function withOrganizationProjectDatabase() {
|
|
|
24966
24966
|
}
|
|
24967
24967
|
//#endregion
|
|
24968
24968
|
//#region src/routes/account/users/me/avatar/GET.ts
|
|
24969
|
-
const handler$
|
|
24969
|
+
const handler$97 = async (c) => {
|
|
24970
24970
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24971
24971
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24972
24972
|
return c.json(UserAvatarSchema.parse({ url: dbUser.image ?? null }));
|
|
@@ -24985,7 +24985,7 @@ function avatarExtensionForContentType(contentType) {
|
|
|
24985
24985
|
}
|
|
24986
24986
|
//#endregion
|
|
24987
24987
|
//#region src/routes/account/users/me/avatar/presign/POST.ts
|
|
24988
|
-
const handler$
|
|
24988
|
+
const handler$96 = async (c) => {
|
|
24989
24989
|
const parsed = PresignUserAvatarRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24990
24990
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar upload request" }), 400);
|
|
24991
24991
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25025,7 +25025,7 @@ async function deleteStoredImageIfOwned(input) {
|
|
|
25025
25025
|
}
|
|
25026
25026
|
//#endregion
|
|
25027
25027
|
//#region src/routes/account/users/me/avatar/PATCH.ts
|
|
25028
|
-
const handler$
|
|
25028
|
+
const handler$95 = async (c) => {
|
|
25029
25029
|
const parsed = UserAvatarPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25030
25030
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar update" }), 400);
|
|
25031
25031
|
const user = c.get("user");
|
|
@@ -25067,14 +25067,14 @@ const handler$93 = async (c) => {
|
|
|
25067
25067
|
};
|
|
25068
25068
|
//#endregion
|
|
25069
25069
|
//#region src/routes/account/users/me/preferences/GET.ts
|
|
25070
|
-
const handler$
|
|
25070
|
+
const handler$94 = async (c) => {
|
|
25071
25071
|
const dbUser = await selectUserById(c.get("user").id);
|
|
25072
25072
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
25073
25073
|
return c.json(UserPreferencesSchema.parse(normalizeUserPreferences(dbUser.preferences)));
|
|
25074
25074
|
};
|
|
25075
25075
|
//#endregion
|
|
25076
25076
|
//#region src/routes/account/users/me/preferences/PATCH.ts
|
|
25077
|
-
const handler$
|
|
25077
|
+
const handler$93 = async (c) => {
|
|
25078
25078
|
const parsed = UserPreferencesPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25079
25079
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid preferences update" }), 400);
|
|
25080
25080
|
const user = c.get("user");
|
|
@@ -25089,7 +25089,7 @@ const handler$91 = async (c) => {
|
|
|
25089
25089
|
};
|
|
25090
25090
|
//#endregion
|
|
25091
25091
|
//#region src/routes/account/organizations/GET.ts
|
|
25092
|
-
const handler$
|
|
25092
|
+
const handler$92 = async (c) => {
|
|
25093
25093
|
const memberships = await selectUserOrganizations(c.get("user").id);
|
|
25094
25094
|
return c.json(ListOrganizationsResponseSchema.parse(memberships.map(mapUserOrganization)));
|
|
25095
25095
|
};
|
|
@@ -25167,7 +25167,7 @@ function createOrganizationHandler(deps) {
|
|
|
25167
25167
|
}
|
|
25168
25168
|
//#endregion
|
|
25169
25169
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
25170
|
-
const handler$
|
|
25170
|
+
const handler$91 = async (c) => {
|
|
25171
25171
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
25172
25172
|
slug: c.req.query("slug"),
|
|
25173
25173
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -25178,7 +25178,7 @@ const handler$89 = async (c) => {
|
|
|
25178
25178
|
};
|
|
25179
25179
|
//#endregion
|
|
25180
25180
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
25181
|
-
const handler$
|
|
25181
|
+
const handler$90 = async (c) => {
|
|
25182
25182
|
const { organizationId } = c.get("organization");
|
|
25183
25183
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
25184
25184
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -25186,7 +25186,7 @@ const handler$88 = async (c) => {
|
|
|
25186
25186
|
};
|
|
25187
25187
|
//#endregion
|
|
25188
25188
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
25189
|
-
const handler$
|
|
25189
|
+
const handler$89 = async (c) => {
|
|
25190
25190
|
const organization = c.get("organization");
|
|
25191
25191
|
const body = await c.req.json().catch(() => null);
|
|
25192
25192
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -25211,7 +25211,7 @@ const handler$87 = async (c) => {
|
|
|
25211
25211
|
};
|
|
25212
25212
|
//#endregion
|
|
25213
25213
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
25214
|
-
const handler$
|
|
25214
|
+
const handler$88 = async (c) => {
|
|
25215
25215
|
const { organizationId } = c.get("organization");
|
|
25216
25216
|
const organization = await selectOrganizationById(organizationId);
|
|
25217
25217
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -25260,7 +25260,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
25260
25260
|
publicUrl: finalized.publicUrl
|
|
25261
25261
|
};
|
|
25262
25262
|
}
|
|
25263
|
-
const handler$
|
|
25263
|
+
const handler$87 = async (c) => {
|
|
25264
25264
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
25265
25265
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
25266
25266
|
const { organizationId } = c.get("organization");
|
|
@@ -25288,7 +25288,7 @@ const handler$85 = async (c) => {
|
|
|
25288
25288
|
};
|
|
25289
25289
|
//#endregion
|
|
25290
25290
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
25291
|
-
const handler$
|
|
25291
|
+
const handler$86 = async (c) => {
|
|
25292
25292
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
25293
25293
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
25294
25294
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -25393,7 +25393,7 @@ async function attachRanAsToDetail(detail, ranByUserId) {
|
|
|
25393
25393
|
}
|
|
25394
25394
|
//#endregion
|
|
25395
25395
|
//#region src/routes/account/history/GET.ts
|
|
25396
|
-
const handler$
|
|
25396
|
+
const handler$85 = async (c) => {
|
|
25397
25397
|
const organization = c.get("organization");
|
|
25398
25398
|
const ctx = accessContext(c);
|
|
25399
25399
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -25418,7 +25418,7 @@ const handler$83 = async (c) => {
|
|
|
25418
25418
|
};
|
|
25419
25419
|
//#endregion
|
|
25420
25420
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
25421
|
-
const handler$
|
|
25421
|
+
const handler$84 = async (c) => {
|
|
25422
25422
|
const runId = c.req.param("runId") ?? "";
|
|
25423
25423
|
if (!runId) return c.json(null, 404);
|
|
25424
25424
|
const core = await findHistoryRunCore(runId);
|
|
@@ -25476,7 +25476,7 @@ function toAgentSummary(row, options) {
|
|
|
25476
25476
|
}
|
|
25477
25477
|
//#endregion
|
|
25478
25478
|
//#region src/routes/account/agents/GET.ts
|
|
25479
|
-
const handler$
|
|
25479
|
+
const handler$83 = async (c) => {
|
|
25480
25480
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
25481
25481
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
25482
25482
|
const rows = await listActiveAgents(filter);
|
|
@@ -25490,7 +25490,7 @@ function touchResourceActivityBestEffort(options) {
|
|
|
25490
25490
|
}
|
|
25491
25491
|
//#endregion
|
|
25492
25492
|
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
25493
|
-
const handler$
|
|
25493
|
+
const handler$82 = async (c) => {
|
|
25494
25494
|
const agentId = c.req.param("agentId") ?? "";
|
|
25495
25495
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25496
25496
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
@@ -25513,7 +25513,7 @@ const handler$80 = async (c) => {
|
|
|
25513
25513
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
25514
25514
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
25515
25515
|
}
|
|
25516
|
-
const handler$
|
|
25516
|
+
const handler$81 = async (c) => {
|
|
25517
25517
|
const agentId = c.req.param("agentId") ?? "";
|
|
25518
25518
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25519
25519
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25538,7 +25538,7 @@ function isStorageNotFoundError(error) {
|
|
|
25538
25538
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
25539
25539
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
25540
25540
|
}
|
|
25541
|
-
const handler$
|
|
25541
|
+
const handler$80 = async (c) => {
|
|
25542
25542
|
const agentId = c.req.param("agentId") ?? "";
|
|
25543
25543
|
const path = c.req.query("path");
|
|
25544
25544
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25592,7 +25592,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
25592
25592
|
}
|
|
25593
25593
|
//#endregion
|
|
25594
25594
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
25595
|
-
const handler$
|
|
25595
|
+
const handler$79 = async (c) => {
|
|
25596
25596
|
const agentId = c.req.param("agentId") ?? "";
|
|
25597
25597
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25598
25598
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -25615,7 +25615,7 @@ const handler$77 = async (c) => {
|
|
|
25615
25615
|
};
|
|
25616
25616
|
//#endregion
|
|
25617
25617
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
25618
|
-
const handler$
|
|
25618
|
+
const handler$78 = async (c) => {
|
|
25619
25619
|
const agentId = c.req.param("agentId") ?? "";
|
|
25620
25620
|
const path = c.req.query("path");
|
|
25621
25621
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25664,7 +25664,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
25664
25664
|
}
|
|
25665
25665
|
//#endregion
|
|
25666
25666
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
25667
|
-
const handler$
|
|
25667
|
+
const handler$77 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
25668
25668
|
//#endregion
|
|
25669
25669
|
//#region src/routes/account/resources/workflows.ts
|
|
25670
25670
|
function toWorkflowSummary(row, options) {
|
|
@@ -25681,7 +25681,7 @@ function toWorkflowSummary(row, options) {
|
|
|
25681
25681
|
}
|
|
25682
25682
|
//#endregion
|
|
25683
25683
|
//#region src/routes/account/workflows/GET.ts
|
|
25684
|
-
const handler$
|
|
25684
|
+
const handler$76 = async (c) => {
|
|
25685
25685
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
25686
25686
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
25687
25687
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -25690,7 +25690,7 @@ const handler$74 = async (c) => {
|
|
|
25690
25690
|
};
|
|
25691
25691
|
//#endregion
|
|
25692
25692
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
25693
|
-
const handler$
|
|
25693
|
+
const handler$75 = async (c) => {
|
|
25694
25694
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
25695
25695
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
25696
25696
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -26130,8 +26130,8 @@ function buildWorkflowCanvas(input) {
|
|
|
26130
26130
|
//#region src/routes/account/workflows/[workflowId]/canvas/GET.ts
|
|
26131
26131
|
/** Bumped when the annotation prompt/model changes, so cached annotations invalidate. */
|
|
26132
26132
|
const ANNOTATIONS_GENERATOR_VERSION = "wf-canvas-annotations-v1";
|
|
26133
|
-
const handler$
|
|
26134
|
-
const
|
|
26133
|
+
const handler$74 = async (c) => {
|
|
26134
|
+
const organization = c.get("organization");
|
|
26135
26135
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26136
26136
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26137
26137
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26186,11 +26186,9 @@ const handler$72 = async (c) => {
|
|
|
26186
26186
|
model: cache.model ?? model
|
|
26187
26187
|
}));
|
|
26188
26188
|
}
|
|
26189
|
-
const organization = await selectOrganizationById(organizationId);
|
|
26190
|
-
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
26191
26189
|
await runWithProjectScope(projectId, () => setWorkflowCanvasAnnotationsGenerating(workflowId, hash));
|
|
26192
26190
|
try {
|
|
26193
|
-
await (await getProjectScheduler(organization, projectId)).enqueue({
|
|
26191
|
+
await (await getProjectScheduler(organization.row, projectId)).enqueue({
|
|
26194
26192
|
kind: "workflow-canvas-annotations",
|
|
26195
26193
|
targetId: workflowId,
|
|
26196
26194
|
runId: crypto.randomUUID(),
|
|
@@ -26305,7 +26303,7 @@ function toBinding(key, description) {
|
|
|
26305
26303
|
* each of its requirements currently binds to (read-only, no decryption). Not
|
|
26306
26304
|
* content-hash cached — credential state changes without a redeploy.
|
|
26307
26305
|
*/
|
|
26308
|
-
const handler$
|
|
26306
|
+
const handler$73 = async (c) => {
|
|
26309
26307
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26310
26308
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26311
26309
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26464,7 +26462,7 @@ function toCanvasRunStatus(status) {
|
|
|
26464
26462
|
if (status === "canceled") return "canceled";
|
|
26465
26463
|
return "running";
|
|
26466
26464
|
}
|
|
26467
|
-
const handler$
|
|
26465
|
+
const handler$72 = async (c) => {
|
|
26468
26466
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26469
26467
|
const runId = c.req.param("runId") ?? "";
|
|
26470
26468
|
if (!workflowId.trim() || !runId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow or run id" }), 400);
|
|
@@ -26519,8 +26517,8 @@ async function loadWorkflowSource(organization, projectId, sourcePath) {
|
|
|
26519
26517
|
return null;
|
|
26520
26518
|
}
|
|
26521
26519
|
}
|
|
26522
|
-
const handler$
|
|
26523
|
-
const
|
|
26520
|
+
const handler$71 = async (c) => {
|
|
26521
|
+
const organization = c.get("organization");
|
|
26524
26522
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26525
26523
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26526
26524
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26582,12 +26580,10 @@ const handler$69 = async (c) => {
|
|
|
26582
26580
|
model: cache.model ?? model
|
|
26583
26581
|
}));
|
|
26584
26582
|
}
|
|
26585
|
-
const organization = await selectOrganizationById(organizationId);
|
|
26586
|
-
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
26587
26583
|
await runWithProjectScope(projectId, () => setWorkflowOverviewGenerating(workflowId, hash));
|
|
26588
|
-
const source = await loadWorkflowSource(organization, projectId, workflowEntry.moduleFile);
|
|
26584
|
+
const source = await loadWorkflowSource(organization.row, projectId, workflowEntry.moduleFile);
|
|
26589
26585
|
try {
|
|
26590
|
-
await (await getProjectScheduler(organization, projectId)).enqueue({
|
|
26586
|
+
await (await getProjectScheduler(organization.row, projectId)).enqueue({
|
|
26591
26587
|
kind: "workflow-overview",
|
|
26592
26588
|
targetId: workflowId,
|
|
26593
26589
|
runId: crypto.randomUUID(),
|
|
@@ -26622,7 +26618,7 @@ const handler$69 = async (c) => {
|
|
|
26622
26618
|
};
|
|
26623
26619
|
//#endregion
|
|
26624
26620
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/GET.ts
|
|
26625
|
-
const handler$
|
|
26621
|
+
const handler$70 = async (c) => {
|
|
26626
26622
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26627
26623
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26628
26624
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26637,7 +26633,7 @@ const handler$68 = async (c) => {
|
|
|
26637
26633
|
};
|
|
26638
26634
|
//#endregion
|
|
26639
26635
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/PUT.ts
|
|
26640
|
-
const handler$
|
|
26636
|
+
const handler$69 = async (c) => {
|
|
26641
26637
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26642
26638
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26643
26639
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26669,7 +26665,7 @@ function parseRunInput(requestSchema, input) {
|
|
|
26669
26665
|
* the active deploy's request schema, creates a pending run, and enqueues it on
|
|
26670
26666
|
* the project's queue (drained by the project runtime worker). Returns the run id.
|
|
26671
26667
|
*/
|
|
26672
|
-
const handler$
|
|
26668
|
+
const handler$68 = async (c) => {
|
|
26673
26669
|
const { organizationId } = c.get("organization");
|
|
26674
26670
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26675
26671
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -26706,7 +26702,7 @@ const handler$66 = async (c) => {
|
|
|
26706
26702
|
};
|
|
26707
26703
|
//#endregion
|
|
26708
26704
|
//#region src/routes/account/workflows/[workflowId]/runs/GET.ts
|
|
26709
|
-
const handler$
|
|
26705
|
+
const handler$67 = async (c) => {
|
|
26710
26706
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26711
26707
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
26712
26708
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -26729,7 +26725,7 @@ const handler$65 = async (c) => {
|
|
|
26729
26725
|
};
|
|
26730
26726
|
//#endregion
|
|
26731
26727
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
26732
|
-
const handler$
|
|
26728
|
+
const handler$66 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
26733
26729
|
//#endregion
|
|
26734
26730
|
//#region src/routes/account/resources/skills.ts
|
|
26735
26731
|
function toSkillSummary(row) {
|
|
@@ -26746,7 +26742,7 @@ function toSkillSummary(row) {
|
|
|
26746
26742
|
}
|
|
26747
26743
|
//#endregion
|
|
26748
26744
|
//#region src/routes/account/skills/GET.ts
|
|
26749
|
-
const handler$
|
|
26745
|
+
const handler$65 = async (c) => {
|
|
26750
26746
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
26751
26747
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
26752
26748
|
const rows = await listActiveSkills(filter);
|
|
@@ -26754,7 +26750,7 @@ const handler$63 = async (c) => {
|
|
|
26754
26750
|
};
|
|
26755
26751
|
//#endregion
|
|
26756
26752
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
26757
|
-
const handler$
|
|
26753
|
+
const handler$64 = async (c) => {
|
|
26758
26754
|
const skillId = c.req.param("skillId") ?? "";
|
|
26759
26755
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
26760
26756
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -26863,21 +26859,19 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
26863
26859
|
}
|
|
26864
26860
|
//#endregion
|
|
26865
26861
|
//#region src/routes/account/triggers/GET.ts
|
|
26866
|
-
const handler$
|
|
26862
|
+
const handler$63 = async (c) => {
|
|
26867
26863
|
const organization = c.get("organization");
|
|
26868
26864
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
26869
26865
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
26870
26866
|
if (filter === "empty") return c.json(WorkspaceTriggerListResponseSchema.parse([]));
|
|
26871
26867
|
const granted = await grantedProjectIds(c, scope);
|
|
26872
26868
|
const [records, projects] = await Promise.all([listWorkspaceTriggers(filter.projectIds), selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: granted })]);
|
|
26873
|
-
const webhookKeys = await listWebhookApiKeysForProjects(filter.projectIds ?? projects.map((project) => project.id));
|
|
26874
26869
|
const projectNameById = new Map(projects.map((project) => [project.id, project.name]));
|
|
26875
|
-
|
|
26876
|
-
return c.json(WorkspaceTriggerListResponseSchema.parse(records.map((record) => toWorkspaceTriggerDetail(record, projectNameById.get(record.projectId) ?? "Unknown project", buildTriggerWebhookUrl(record, tokens)))));
|
|
26870
|
+
return c.json(WorkspaceTriggerListResponseSchema.parse(records.map((record) => toWorkspaceTriggerDetail(record, projectNameById.get(record.projectId) ?? "Unknown project", null))));
|
|
26877
26871
|
};
|
|
26878
26872
|
//#endregion
|
|
26879
26873
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
26880
|
-
const handler$
|
|
26874
|
+
const handler$62 = async (c) => {
|
|
26881
26875
|
const organization = c.get("organization");
|
|
26882
26876
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26883
26877
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26893,7 +26887,7 @@ const handler$60 = async (c) => {
|
|
|
26893
26887
|
};
|
|
26894
26888
|
//#endregion
|
|
26895
26889
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
26896
|
-
const handler$
|
|
26890
|
+
const handler$61 = async (c) => {
|
|
26897
26891
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26898
26892
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
26899
26893
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -26922,7 +26916,7 @@ const handler$59 = async (c) => {
|
|
|
26922
26916
|
};
|
|
26923
26917
|
//#endregion
|
|
26924
26918
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
26925
|
-
const handler$
|
|
26919
|
+
const handler$60 = async (c) => {
|
|
26926
26920
|
const { organizationId } = c.get("organization");
|
|
26927
26921
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26928
26922
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -26959,7 +26953,7 @@ function envelope(row, status, hash) {
|
|
|
26959
26953
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
26960
26954
|
});
|
|
26961
26955
|
}
|
|
26962
|
-
const handler$
|
|
26956
|
+
const handler$59 = async (c) => {
|
|
26963
26957
|
const { organizationId } = c.get("organization");
|
|
26964
26958
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
26965
26959
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -27019,7 +27013,7 @@ const handler$57 = async (c) => {
|
|
|
27019
27013
|
};
|
|
27020
27014
|
//#endregion
|
|
27021
27015
|
//#region src/routes/account/triggers/[triggerId]/attachments/[attachmentId]/PATCH.ts
|
|
27022
|
-
const handler$
|
|
27016
|
+
const handler$58 = async (c) => {
|
|
27023
27017
|
const organization = c.get("organization");
|
|
27024
27018
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
27025
27019
|
const attachmentId = c.req.param("attachmentId") ?? "";
|
|
@@ -27083,7 +27077,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
27083
27077
|
//#endregion
|
|
27084
27078
|
//#region src/routes/account/recents/GET.ts
|
|
27085
27079
|
const RECENTS_LIMIT = 50;
|
|
27086
|
-
const handler$
|
|
27080
|
+
const handler$57 = async (c) => {
|
|
27087
27081
|
const userId = c.get("user").id;
|
|
27088
27082
|
const organization = c.get("organization");
|
|
27089
27083
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -27109,7 +27103,7 @@ const handler$55 = async (c) => {
|
|
|
27109
27103
|
};
|
|
27110
27104
|
//#endregion
|
|
27111
27105
|
//#region src/routes/account/projects/GET.ts
|
|
27112
|
-
const handler$
|
|
27106
|
+
const handler$56 = async (c) => {
|
|
27113
27107
|
const organization = c.get("organization");
|
|
27114
27108
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27115
27109
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -27135,7 +27129,7 @@ function mergeProjectListMetrics(input) {
|
|
|
27135
27129
|
}
|
|
27136
27130
|
//#endregion
|
|
27137
27131
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
27138
|
-
const handler$
|
|
27132
|
+
const handler$55 = async (c) => {
|
|
27139
27133
|
const organization = c.get("organization");
|
|
27140
27134
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
27141
27135
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -27151,7 +27145,7 @@ const handler$53 = async (c) => {
|
|
|
27151
27145
|
};
|
|
27152
27146
|
//#endregion
|
|
27153
27147
|
//#region src/routes/account/projects/POST.ts
|
|
27154
|
-
const handler$
|
|
27148
|
+
const handler$54 = async (c) => {
|
|
27155
27149
|
const organization = c.get("organization");
|
|
27156
27150
|
const user = c.get("user");
|
|
27157
27151
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27162,7 +27156,7 @@ const handler$52 = async (c) => {
|
|
|
27162
27156
|
};
|
|
27163
27157
|
//#endregion
|
|
27164
27158
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
27165
|
-
const handler$
|
|
27159
|
+
const handler$53 = async (c) => {
|
|
27166
27160
|
const organization = c.get("organization");
|
|
27167
27161
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
27168
27162
|
slug: c.req.query("slug"),
|
|
@@ -27174,12 +27168,12 @@ const handler$51 = async (c) => {
|
|
|
27174
27168
|
};
|
|
27175
27169
|
//#endregion
|
|
27176
27170
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
27177
|
-
const handler$
|
|
27171
|
+
const handler$52 = async (c) => {
|
|
27178
27172
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
27179
27173
|
};
|
|
27180
27174
|
//#endregion
|
|
27181
27175
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
27182
|
-
const handler$
|
|
27176
|
+
const handler$51 = async (c) => {
|
|
27183
27177
|
const organization = c.get("organization");
|
|
27184
27178
|
const project = c.get("project");
|
|
27185
27179
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27197,7 +27191,7 @@ const handler$49 = async (c) => {
|
|
|
27197
27191
|
};
|
|
27198
27192
|
//#endregion
|
|
27199
27193
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
27200
|
-
const handler$
|
|
27194
|
+
const handler$50 = async (c) => {
|
|
27201
27195
|
const organization = c.get("organization");
|
|
27202
27196
|
const project = c.get("project");
|
|
27203
27197
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -27205,7 +27199,7 @@ const handler$48 = async (c) => {
|
|
|
27205
27199
|
};
|
|
27206
27200
|
//#endregion
|
|
27207
27201
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
27208
|
-
const handler$
|
|
27202
|
+
const handler$49 = async (c) => {
|
|
27209
27203
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
27210
27204
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
27211
27205
|
};
|
|
@@ -27213,7 +27207,7 @@ const handler$47 = async (c) => {
|
|
|
27213
27207
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
27214
27208
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
27215
27209
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
27216
|
-
const handler$
|
|
27210
|
+
const handler$48 = async (c) => {
|
|
27217
27211
|
const project = c.get("project");
|
|
27218
27212
|
const { organizationId } = c.get("organization");
|
|
27219
27213
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27241,7 +27235,7 @@ const handler$46 = async (c) => {
|
|
|
27241
27235
|
//#endregion
|
|
27242
27236
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
27243
27237
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
27244
|
-
const handler$
|
|
27238
|
+
const handler$47 = async (c) => {
|
|
27245
27239
|
const project = c.get("project");
|
|
27246
27240
|
const { organizationId } = c.get("organization");
|
|
27247
27241
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -27260,7 +27254,7 @@ const handler$45 = async (c) => {
|
|
|
27260
27254
|
};
|
|
27261
27255
|
//#endregion
|
|
27262
27256
|
//#region src/routes/account/projects/[projectId]/artifacts/active/source/GET.ts
|
|
27263
|
-
const handler$
|
|
27257
|
+
const handler$46 = async (c) => {
|
|
27264
27258
|
const project = c.get("project");
|
|
27265
27259
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27266
27260
|
if (!active?.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "No active source for project" }), 404);
|
|
@@ -27283,7 +27277,7 @@ const handler$44 = async (c) => {
|
|
|
27283
27277
|
};
|
|
27284
27278
|
//#endregion
|
|
27285
27279
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/complete/POST.ts
|
|
27286
|
-
const handler$
|
|
27280
|
+
const handler$45 = async (c) => {
|
|
27287
27281
|
const project = c.get("project");
|
|
27288
27282
|
const artifactId = c.req.param("artifactId");
|
|
27289
27283
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27323,7 +27317,7 @@ const handler$43 = async (c) => {
|
|
|
27323
27317
|
//#endregion
|
|
27324
27318
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
27325
27319
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
27326
|
-
const handler$
|
|
27320
|
+
const handler$44 = async (c) => {
|
|
27327
27321
|
const project = c.get("project");
|
|
27328
27322
|
const artifactId = c.req.param("artifactId");
|
|
27329
27323
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27351,7 +27345,7 @@ const handler$42 = async (c) => {
|
|
|
27351
27345
|
};
|
|
27352
27346
|
//#endregion
|
|
27353
27347
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
27354
|
-
const handler$
|
|
27348
|
+
const handler$43 = async (c) => {
|
|
27355
27349
|
const project = c.get("project");
|
|
27356
27350
|
const artifactId = c.req.param("artifactId");
|
|
27357
27351
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -27383,7 +27377,7 @@ function extensionFromUpload(contentType, filename) {
|
|
|
27383
27377
|
if (fromName && /^[a-z0-9]+$/.test(fromName)) return fromName;
|
|
27384
27378
|
return chatAttachmentExtension(contentType) ?? "bin";
|
|
27385
27379
|
}
|
|
27386
|
-
const handler$
|
|
27380
|
+
const handler$42 = async (c) => {
|
|
27387
27381
|
const project = c.get("project");
|
|
27388
27382
|
const slug = c.req.param("slug");
|
|
27389
27383
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "Agent slug is required" }), 400);
|
|
@@ -27408,7 +27402,7 @@ const handler$40 = async (c) => {
|
|
|
27408
27402
|
};
|
|
27409
27403
|
//#endregion
|
|
27410
27404
|
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/[...key]/GET.ts
|
|
27411
|
-
const handler$
|
|
27405
|
+
const handler$41 = async (c) => {
|
|
27412
27406
|
const project = c.get("project");
|
|
27413
27407
|
const slug = c.req.param("slug");
|
|
27414
27408
|
const keyParam = c.req.param("key");
|
|
@@ -27434,16 +27428,27 @@ const handler$39 = async (c) => {
|
|
|
27434
27428
|
* match are dropped rather than emitting paths clients can't find in the tree.
|
|
27435
27429
|
*/
|
|
27436
27430
|
function resolveSourcePaths(rows, kindDir, filePaths) {
|
|
27431
|
+
const exact = new Set(filePaths);
|
|
27432
|
+
const bySuffix = /* @__PURE__ */ new Map();
|
|
27433
|
+
for (const filePath of filePaths) {
|
|
27434
|
+
const kindIdx = filePath.indexOf(`/${kindDir}/`);
|
|
27435
|
+
if (kindIdx >= 0) bySuffix.set(filePath.slice(kindIdx + 1), filePath);
|
|
27436
|
+
else if (filePath.startsWith(`${kindDir}/`)) bySuffix.set(filePath, filePath);
|
|
27437
|
+
}
|
|
27437
27438
|
return rows.flatMap((row) => {
|
|
27439
|
+
if (exact.has(row.moduleFile)) return [{
|
|
27440
|
+
slug: row.slug,
|
|
27441
|
+
path: row.moduleFile
|
|
27442
|
+
}];
|
|
27438
27443
|
const suffix = `${kindDir}/${row.moduleFile}`;
|
|
27439
|
-
const path =
|
|
27444
|
+
const path = bySuffix.get(suffix);
|
|
27440
27445
|
return path ? [{
|
|
27441
27446
|
slug: row.slug,
|
|
27442
27447
|
path
|
|
27443
27448
|
}] : [];
|
|
27444
27449
|
});
|
|
27445
27450
|
}
|
|
27446
|
-
const handler$
|
|
27451
|
+
const handler$40 = async (c) => {
|
|
27447
27452
|
const project = c.get("project");
|
|
27448
27453
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
27449
27454
|
if (!active || !active.sourceManifestJson) return c.json(ListProjectFilesResponseSchema.parse({
|
|
@@ -27476,20 +27481,36 @@ const handler$38 = async (c) => {
|
|
|
27476
27481
|
}));
|
|
27477
27482
|
};
|
|
27478
27483
|
//#endregion
|
|
27484
|
+
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/if-none-match.ts
|
|
27485
|
+
/** RFC 7232 weak comparison for If-None-Match (comma-separated list or `*`). */
|
|
27486
|
+
function ifNoneMatchMatches(ifNoneMatch, etag) {
|
|
27487
|
+
if (!ifNoneMatch) return false;
|
|
27488
|
+
const header = ifNoneMatch.trim();
|
|
27489
|
+
if (header === "*") return true;
|
|
27490
|
+
const normalize = (value) => value.trim().replace(/^W\//i, "");
|
|
27491
|
+
const target = normalize(etag);
|
|
27492
|
+
return header.split(",").some((part) => normalize(part) === target);
|
|
27493
|
+
}
|
|
27494
|
+
//#endregion
|
|
27479
27495
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/GET.ts
|
|
27480
|
-
const handler$
|
|
27496
|
+
const handler$39 = async (c) => {
|
|
27481
27497
|
const project = c.get("project");
|
|
27482
27498
|
const artifactId = c.req.param("artifactId");
|
|
27483
27499
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
27484
27500
|
const path = c.req.query("path");
|
|
27485
27501
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
27486
|
-
const artifact = await
|
|
27502
|
+
const artifact = await selectProjectArtifactSourceManifestForProject(artifactId, project.id);
|
|
27487
27503
|
if (!artifact || !artifact.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "Artifact not found" }), 404);
|
|
27488
27504
|
const file = StoredProjectSourceManifestSchema.parse(artifact.sourceManifestJson).files.find((entry) => entry.path === path);
|
|
27489
27505
|
if (!file) return c.json(ErrorResponseSchema.parse({ error: "File not found" }), 404);
|
|
27490
|
-
const
|
|
27491
|
-
const
|
|
27492
|
-
if (
|
|
27506
|
+
const etag = `"${file.hash}"`;
|
|
27507
|
+
const cacheControl = "private, max-age=31536000, immutable";
|
|
27508
|
+
if (ifNoneMatchMatches(c.req.header("If-None-Match"), etag)) {
|
|
27509
|
+
c.header("ETag", etag);
|
|
27510
|
+
c.header("Cache-Control", cacheControl);
|
|
27511
|
+
return c.body(null, 304);
|
|
27512
|
+
}
|
|
27513
|
+
const organization = c.get("organization").row;
|
|
27493
27514
|
const storage = createOrgStorageClient(organization);
|
|
27494
27515
|
let bytes;
|
|
27495
27516
|
try {
|
|
@@ -27497,6 +27518,8 @@ const handler$37 = async (c) => {
|
|
|
27497
27518
|
} catch {
|
|
27498
27519
|
return c.json(ErrorResponseSchema.parse({ error: "File contents not found" }), 404);
|
|
27499
27520
|
}
|
|
27521
|
+
c.header("ETag", etag);
|
|
27522
|
+
c.header("Cache-Control", cacheControl);
|
|
27500
27523
|
c.header("Content-Type", "text/plain; charset=utf-8");
|
|
27501
27524
|
return c.body(new TextDecoder().decode(bytes));
|
|
27502
27525
|
};
|
|
@@ -27516,7 +27539,7 @@ function createProjectReachabilityHandler(hosting) {
|
|
|
27516
27539
|
}
|
|
27517
27540
|
//#endregion
|
|
27518
27541
|
//#region src/routes/account/projects/[projectId]/members/GET.ts
|
|
27519
|
-
const handler$
|
|
27542
|
+
const handler$38 = async (c) => {
|
|
27520
27543
|
const project = c.get("project");
|
|
27521
27544
|
const currentUserId = c.get("user").id;
|
|
27522
27545
|
const members = await selectProjectMembers(project.id);
|
|
@@ -27524,7 +27547,7 @@ const handler$36 = async (c) => {
|
|
|
27524
27547
|
};
|
|
27525
27548
|
//#endregion
|
|
27526
27549
|
//#region src/routes/account/projects/[projectId]/members/POST.ts
|
|
27527
|
-
const handler$
|
|
27550
|
+
const handler$37 = async (c) => {
|
|
27528
27551
|
const organization = c.get("organization");
|
|
27529
27552
|
const project = c.get("project");
|
|
27530
27553
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27540,7 +27563,7 @@ const handler$35 = async (c) => {
|
|
|
27540
27563
|
};
|
|
27541
27564
|
//#endregion
|
|
27542
27565
|
//#region src/routes/account/projects/[projectId]/members/[userId]/PATCH.ts
|
|
27543
|
-
const handler$
|
|
27566
|
+
const handler$36 = async (c) => {
|
|
27544
27567
|
const project = c.get("project");
|
|
27545
27568
|
const userId = c.req.param("userId");
|
|
27546
27569
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27557,7 +27580,7 @@ const handler$34 = async (c) => {
|
|
|
27557
27580
|
};
|
|
27558
27581
|
//#endregion
|
|
27559
27582
|
//#region src/routes/account/projects/[projectId]/members/[userId]/DELETE.ts
|
|
27560
|
-
const handler$
|
|
27583
|
+
const handler$35 = async (c) => {
|
|
27561
27584
|
const project = c.get("project");
|
|
27562
27585
|
const userId = c.req.param("userId");
|
|
27563
27586
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -27571,7 +27594,7 @@ const handler$33 = async (c) => {
|
|
|
27571
27594
|
};
|
|
27572
27595
|
//#endregion
|
|
27573
27596
|
//#region src/routes/account/projects/[projectId]/members/me/DELETE.ts
|
|
27574
|
-
const handler$
|
|
27597
|
+
const handler$34 = async (c) => {
|
|
27575
27598
|
const project = c.get("project");
|
|
27576
27599
|
const userId = c.get("user").id;
|
|
27577
27600
|
try {
|
|
@@ -27584,13 +27607,13 @@ const handler$32 = async (c) => {
|
|
|
27584
27607
|
};
|
|
27585
27608
|
//#endregion
|
|
27586
27609
|
//#region src/routes/account/projects/[projectId]/settings/GET.ts
|
|
27587
|
-
const handler$
|
|
27610
|
+
const handler$33 = async (c) => {
|
|
27588
27611
|
const project = c.get("project");
|
|
27589
27612
|
return c.json(ProjectSettingsResponseSchema.parse(mapProjectSettings(project)));
|
|
27590
27613
|
};
|
|
27591
27614
|
//#endregion
|
|
27592
27615
|
//#region src/routes/account/projects/[projectId]/settings/PATCH.ts
|
|
27593
|
-
const handler$
|
|
27616
|
+
const handler$32 = async (c) => {
|
|
27594
27617
|
const organization = c.get("organization");
|
|
27595
27618
|
const project = c.get("project");
|
|
27596
27619
|
const body = await c.req.json().catch(() => null);
|
|
@@ -27712,7 +27735,7 @@ async function enrichCredentialInstances(rows, organizationId) {
|
|
|
27712
27735
|
}
|
|
27713
27736
|
//#endregion
|
|
27714
27737
|
//#region src/routes/account/credentials/GET.ts
|
|
27715
|
-
const handler$
|
|
27738
|
+
const handler$31 = async (c) => {
|
|
27716
27739
|
const organization = c.get("organization");
|
|
27717
27740
|
const user = c.get("user");
|
|
27718
27741
|
const query = ListCredentialsPageQuerySchema.parse({
|
|
@@ -27741,7 +27764,7 @@ function withTargetScope(target, fn) {
|
|
|
27741
27764
|
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
27742
27765
|
return fn();
|
|
27743
27766
|
}
|
|
27744
|
-
const handler$
|
|
27767
|
+
const handler$30 = async (c) => {
|
|
27745
27768
|
const organization = c.get("organization");
|
|
27746
27769
|
const user = c.get("user");
|
|
27747
27770
|
const parsed = CreateCredentialsRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -27822,7 +27845,7 @@ const handler$28 = async (c) => {
|
|
|
27822
27845
|
};
|
|
27823
27846
|
//#endregion
|
|
27824
27847
|
//#region src/routes/account/credentials/[credentialId]/GET.ts
|
|
27825
|
-
const handler$
|
|
27848
|
+
const handler$29 = async (c) => {
|
|
27826
27849
|
const organization = c.get("organization");
|
|
27827
27850
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
27828
27851
|
const row = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
@@ -27832,7 +27855,7 @@ const handler$27 = async (c) => {
|
|
|
27832
27855
|
};
|
|
27833
27856
|
//#endregion
|
|
27834
27857
|
//#region src/routes/account/credentials/[credentialId]/PATCH.ts
|
|
27835
|
-
const handler$
|
|
27858
|
+
const handler$28 = async (c) => {
|
|
27836
27859
|
const organization = c.get("organization");
|
|
27837
27860
|
const user = c.get("user");
|
|
27838
27861
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
@@ -27930,7 +27953,7 @@ function createDeleteCredentialHandler(options = {}) {
|
|
|
27930
27953
|
}
|
|
27931
27954
|
//#endregion
|
|
27932
27955
|
//#region src/routes/account/members/GET.ts
|
|
27933
|
-
const handler$
|
|
27956
|
+
const handler$27 = async (c) => {
|
|
27934
27957
|
const { organizationId } = c.get("organization");
|
|
27935
27958
|
const query = ListOrganizationMembersPageQuerySchema.parse({
|
|
27936
27959
|
limit: c.req.query("limit") || void 0,
|
|
@@ -27988,7 +28011,7 @@ async function sendOrganizationInviteEmail(payload, resend) {
|
|
|
27988
28011
|
}
|
|
27989
28012
|
//#endregion
|
|
27990
28013
|
//#region src/routes/account/members/invitations/POST.ts
|
|
27991
|
-
const handler$
|
|
28014
|
+
const handler$26 = async (c) => {
|
|
27992
28015
|
const user = c.get("user");
|
|
27993
28016
|
const organization = c.get("organization");
|
|
27994
28017
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28014,7 +28037,7 @@ const handler$24 = async (c) => {
|
|
|
28014
28037
|
};
|
|
28015
28038
|
//#endregion
|
|
28016
28039
|
//#region src/routes/account/members/[userId]/PATCH.ts
|
|
28017
|
-
const handler$
|
|
28040
|
+
const handler$25 = async (c) => {
|
|
28018
28041
|
const { organizationId } = c.get("organization");
|
|
28019
28042
|
const userId = c.req.param("userId");
|
|
28020
28043
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28031,7 +28054,7 @@ const handler$23 = async (c) => {
|
|
|
28031
28054
|
};
|
|
28032
28055
|
//#endregion
|
|
28033
28056
|
//#region src/routes/account/members/[userId]/DELETE.ts
|
|
28034
|
-
const handler$
|
|
28057
|
+
const handler$24 = async (c) => {
|
|
28035
28058
|
const { organizationId } = c.get("organization");
|
|
28036
28059
|
const userId = c.req.param("userId");
|
|
28037
28060
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -28045,13 +28068,13 @@ const handler$22 = async (c) => {
|
|
|
28045
28068
|
};
|
|
28046
28069
|
//#endregion
|
|
28047
28070
|
//#region src/routes/account/invitations/GET.ts
|
|
28048
|
-
const handler$
|
|
28071
|
+
const handler$23 = async (c) => {
|
|
28049
28072
|
const invitations = await selectPendingInvitationsForUser(c.get("user").id);
|
|
28050
28073
|
return c.json(ListOrganizationInvitationsResponseSchema.parse(invitations.map(mapOrganizationInvitation)));
|
|
28051
28074
|
};
|
|
28052
28075
|
//#endregion
|
|
28053
28076
|
//#region src/routes/account/invitations/[invitationId]/accept/POST.ts
|
|
28054
|
-
const handler$
|
|
28077
|
+
const handler$22 = async (c) => {
|
|
28055
28078
|
const user = c.get("user");
|
|
28056
28079
|
const invitationId = c.req.param("invitationId");
|
|
28057
28080
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28067,7 +28090,7 @@ const handler$20 = async (c) => {
|
|
|
28067
28090
|
};
|
|
28068
28091
|
//#endregion
|
|
28069
28092
|
//#region src/routes/account/invitations/[invitationId]/decline/POST.ts
|
|
28070
|
-
const handler$
|
|
28093
|
+
const handler$21 = async (c) => {
|
|
28071
28094
|
const user = c.get("user");
|
|
28072
28095
|
const invitationId = c.req.param("invitationId");
|
|
28073
28096
|
if (!invitationId) return c.json(ErrorResponseSchema.parse({ error: "Invitation id is required" }), 400);
|
|
@@ -28107,9 +28130,8 @@ const GATEWAY_BY_APP_SLUG = { slack: {
|
|
|
28107
28130
|
docsUrl: "https://chat-sdk.dev/adapters/official/slack",
|
|
28108
28131
|
tagline: "Respond in channels, threads, and DMs."
|
|
28109
28132
|
} };
|
|
28110
|
-
/** Map a platform `apps` row to the connect-picker
|
|
28111
|
-
function
|
|
28112
|
-
const gateway = GATEWAY_BY_APP_SLUG[row.slug];
|
|
28133
|
+
/** Map a platform `apps` row to the slim connect-picker list shape. */
|
|
28134
|
+
function appRowToCatalogSummary(row) {
|
|
28113
28135
|
return {
|
|
28114
28136
|
id: row.slug,
|
|
28115
28137
|
name: row.name,
|
|
@@ -28118,9 +28140,17 @@ function appRowToCatalogEntry(row) {
|
|
|
28118
28140
|
integrationDescription: row.description,
|
|
28119
28141
|
...row.logo ? { logo: row.logo } : {},
|
|
28120
28142
|
authKind: row.authKind,
|
|
28121
|
-
oauthScopes: row.oauthScopes,
|
|
28122
28143
|
source: row.source,
|
|
28123
28144
|
...row.url ? { url: row.url } : {},
|
|
28145
|
+
...hasCredentialFieldTemplate(row) ? { hasCredentialFields: true } : {}
|
|
28146
|
+
};
|
|
28147
|
+
}
|
|
28148
|
+
/** Map a platform `apps` row to the full connect-picker detail shape. */
|
|
28149
|
+
function appRowToCatalogEntry(row) {
|
|
28150
|
+
const gateway = GATEWAY_BY_APP_SLUG[row.slug];
|
|
28151
|
+
return {
|
|
28152
|
+
...appRowToCatalogSummary(row),
|
|
28153
|
+
oauthScopes: row.oauthScopes,
|
|
28124
28154
|
...gateway ? { gateway } : {},
|
|
28125
28155
|
...hasCredentialFieldTemplate(row) ? { credentialFields: row.credentialFields } : {},
|
|
28126
28156
|
...row.credentialScheme ? { credentialScheme: row.credentialScheme } : {}
|
|
@@ -28146,13 +28176,13 @@ function appRowToCustomAppDetail(row) {
|
|
|
28146
28176
|
}
|
|
28147
28177
|
//#endregion
|
|
28148
28178
|
//#region src/routes/account/apps/GET.ts
|
|
28149
|
-
const handler$
|
|
28150
|
-
const apps = (await listAppsForOrganization(c.get("organization").organizationId)).map(
|
|
28179
|
+
const handler$20 = async (c) => {
|
|
28180
|
+
const apps = (await listAppsForOrganization(c.get("organization").organizationId)).map(appRowToCatalogSummary);
|
|
28151
28181
|
return c.json(ListAppsResponseSchema.parse(apps));
|
|
28152
28182
|
};
|
|
28153
28183
|
//#endregion
|
|
28154
28184
|
//#region src/routes/account/apps/POST.ts
|
|
28155
|
-
const handler$
|
|
28185
|
+
const handler$19 = async (c) => {
|
|
28156
28186
|
const organization = c.get("organization");
|
|
28157
28187
|
const parsed = CreateCustomAppRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28158
28188
|
if (!parsed.success) {
|
|
@@ -28185,7 +28215,7 @@ const handler$17 = async (c) => {
|
|
|
28185
28215
|
};
|
|
28186
28216
|
//#endregion
|
|
28187
28217
|
//#region src/routes/account/apps/discover/POST.ts
|
|
28188
|
-
const handler$
|
|
28218
|
+
const handler$18 = async (c) => {
|
|
28189
28219
|
const parsed = McpDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28190
28220
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28191
28221
|
try {
|
|
@@ -28199,7 +28229,7 @@ const handler$16 = async (c) => {
|
|
|
28199
28229
|
};
|
|
28200
28230
|
//#endregion
|
|
28201
28231
|
//#region src/routes/account/apps/discover-openapi/POST.ts
|
|
28202
|
-
const handler$
|
|
28232
|
+
const handler$17 = async (c) => {
|
|
28203
28233
|
const parsed = OpenApiDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28204
28234
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28205
28235
|
try {
|
|
@@ -28212,7 +28242,7 @@ const handler$15 = async (c) => {
|
|
|
28212
28242
|
};
|
|
28213
28243
|
//#endregion
|
|
28214
28244
|
//#region src/routes/account/apps/discover-graphql/POST.ts
|
|
28215
|
-
const handler$
|
|
28245
|
+
const handler$16 = async (c) => {
|
|
28216
28246
|
const parsed = GraphqlDiscoverRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
28217
28247
|
if (!parsed.success) return c.json({ error: "Invalid request body" }, 400);
|
|
28218
28248
|
try {
|
|
@@ -28225,7 +28255,7 @@ const handler$14 = async (c) => {
|
|
|
28225
28255
|
};
|
|
28226
28256
|
//#endregion
|
|
28227
28257
|
//#region src/routes/account/apps/[slug]/mcp/oauth/connections/POST.ts
|
|
28228
|
-
const handler$
|
|
28258
|
+
const handler$15 = async (c) => {
|
|
28229
28259
|
const organization = c.get("organization");
|
|
28230
28260
|
const user = c.get("user");
|
|
28231
28261
|
const appSlug = c.req.param("slug")?.trim();
|
|
@@ -28283,7 +28313,7 @@ function buildOAuthWebLandingUrl(webOrigin, params) {
|
|
|
28283
28313
|
}
|
|
28284
28314
|
//#endregion
|
|
28285
28315
|
//#region src/routes/account/mcp/oauth/callback/GET.ts
|
|
28286
|
-
const handler$
|
|
28316
|
+
const handler$14 = async (c) => {
|
|
28287
28317
|
const code = c.req.query("code")?.trim();
|
|
28288
28318
|
const state = c.req.query("state")?.trim();
|
|
28289
28319
|
const oauthError = c.req.query("error")?.trim();
|
|
@@ -28331,7 +28361,7 @@ const handler$12 = async (c) => {
|
|
|
28331
28361
|
};
|
|
28332
28362
|
//#endregion
|
|
28333
28363
|
//#region src/routes/account/apps/slug-available/GET.ts
|
|
28334
|
-
const handler$
|
|
28364
|
+
const handler$13 = async (c) => {
|
|
28335
28365
|
const organization = c.get("organization");
|
|
28336
28366
|
const parsed = AppSlugAvailabilityQuerySchema.safeParse({ slug: c.req.query("slug") });
|
|
28337
28367
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid slug query" }), 400);
|
|
@@ -28342,7 +28372,7 @@ const handler$11 = async (c) => {
|
|
|
28342
28372
|
};
|
|
28343
28373
|
//#endregion
|
|
28344
28374
|
//#region src/routes/account/apps/[slug]/GET.ts
|
|
28345
|
-
const handler$
|
|
28375
|
+
const handler$12 = async (c) => {
|
|
28346
28376
|
const organization = c.get("organization");
|
|
28347
28377
|
const slug = c.req.param("slug") ?? "";
|
|
28348
28378
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
@@ -28355,6 +28385,47 @@ const handler$10 = async (c) => {
|
|
|
28355
28385
|
}
|
|
28356
28386
|
};
|
|
28357
28387
|
//#endregion
|
|
28388
|
+
//#region src/routes/account/apps/[slug]/catalog/GET.ts
|
|
28389
|
+
/** Full catalog entry (scopes + credential template) for connect UI. */
|
|
28390
|
+
const handler$11 = async (c) => {
|
|
28391
|
+
const organization = c.get("organization");
|
|
28392
|
+
const slug = c.req.param("slug") ?? "";
|
|
28393
|
+
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
28394
|
+
const row = await selectAppForOrganization(organization.organizationId, decodeURIComponent(slug));
|
|
28395
|
+
if (!row) return c.json(ErrorResponseSchema.parse({ error: "App not found" }), 404);
|
|
28396
|
+
return c.json(GetAppCatalogEntryResponseSchema.parse(appRowToCatalogEntry(row)));
|
|
28397
|
+
};
|
|
28398
|
+
//#endregion
|
|
28399
|
+
//#region src/routes/account/channel-platforms/GET.ts
|
|
28400
|
+
const PLATFORM_FALLBACK_DOMAINS = { slack: "slack.com" };
|
|
28401
|
+
function projectChannelPlatform(row) {
|
|
28402
|
+
const gateway = GATEWAY_BY_APP_SLUG[row.slug];
|
|
28403
|
+
if (!gateway) throw new Error(`App ${row.slug} does not support gateway bindings`);
|
|
28404
|
+
return ChannelPlatformSchema.parse({
|
|
28405
|
+
key: row.slug,
|
|
28406
|
+
name: row.name,
|
|
28407
|
+
appLogoId: row.slug,
|
|
28408
|
+
fallbackDomain: PLATFORM_FALLBACK_DOMAINS[row.slug] ?? `${row.slug}.com`,
|
|
28409
|
+
description: row.description,
|
|
28410
|
+
tagline: gateway.tagline ?? row.description,
|
|
28411
|
+
authKind: row.authKind,
|
|
28412
|
+
credentialFields: [],
|
|
28413
|
+
capabilities: gateway.capabilities,
|
|
28414
|
+
supportedModes: gateway.supportedModes,
|
|
28415
|
+
resourceNoun: gateway.resourceNoun,
|
|
28416
|
+
webhookPathHint: gateway.webhookPathHint,
|
|
28417
|
+
supportsChannelDirectory: gateway.supportsChannelDirectory,
|
|
28418
|
+
...gateway.connectAppId ? { connectAppId: gateway.connectAppId } : {},
|
|
28419
|
+
docsUrl: gateway.docsUrl
|
|
28420
|
+
});
|
|
28421
|
+
}
|
|
28422
|
+
/** Gateway platforms only — avoids downloading the full apps catalog. */
|
|
28423
|
+
const handler$10 = async (c) => {
|
|
28424
|
+
const organization = c.get("organization");
|
|
28425
|
+
const platforms = (await Promise.all(Object.keys(GATEWAY_BY_APP_SLUG).map((slug) => selectAppForOrganization(organization.organizationId, slug)))).flatMap((row) => row ? [projectChannelPlatform(row)] : []);
|
|
28426
|
+
return c.json(ListChannelPlatformsResponseSchema.parse(platforms));
|
|
28427
|
+
};
|
|
28428
|
+
//#endregion
|
|
28358
28429
|
//#region src/routes/account/api-keys/GET.ts
|
|
28359
28430
|
const handler$9 = async (c) => {
|
|
28360
28431
|
const { organizationId } = c.get("organization");
|
|
@@ -28609,7 +28680,7 @@ function mountAccountRoutes(options) {
|
|
|
28609
28680
|
const projectScoped = new Hono();
|
|
28610
28681
|
const protect = requireSession(createDefaultAuthJwtVerifier());
|
|
28611
28682
|
const deleteCredential = createDeleteCredentialHandler({ mcp: options.mcp });
|
|
28612
|
-
account.get("/mcp/oauth/callback", handler$
|
|
28683
|
+
account.get("/mcp/oauth/callback", handler$14);
|
|
28613
28684
|
account.use("/*", protect);
|
|
28614
28685
|
orgScoped.use("/*", protect);
|
|
28615
28686
|
orgScoped.use("/*", requireOrganization());
|
|
@@ -28631,36 +28702,38 @@ function mountAccountRoutes(options) {
|
|
|
28631
28702
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
28632
28703
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
28633
28704
|
const requireOrgParam = requireOrganizationParam();
|
|
28634
|
-
account.get("/organizations", handler$
|
|
28635
|
-
account.get("/organizations/slug-available", handler$
|
|
28705
|
+
account.get("/organizations", handler$92);
|
|
28706
|
+
account.get("/organizations/slug-available", handler$91);
|
|
28636
28707
|
account.post("/organizations", createOrganizationHandler(options));
|
|
28637
|
-
account.get("/organizations/:organizationId", requireOrgParam, handler$
|
|
28638
|
-
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$
|
|
28639
|
-
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$
|
|
28640
|
-
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$
|
|
28641
|
-
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$
|
|
28642
|
-
account.get("/invitations", handler$
|
|
28643
|
-
account.post("/invitations/:invitationId/accept", handler$
|
|
28644
|
-
account.post("/invitations/:invitationId/decline", handler$
|
|
28645
|
-
account.get("/users/me/avatar", handler$
|
|
28646
|
-
account.post("/users/me/avatar/presign", handler$
|
|
28647
|
-
account.patch("/users/me/avatar", handler$
|
|
28648
|
-
account.get("/users/me/preferences", handler$
|
|
28649
|
-
account.patch("/users/me/preferences", handler$
|
|
28708
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$90);
|
|
28709
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$89);
|
|
28710
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$88);
|
|
28711
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$87);
|
|
28712
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$86);
|
|
28713
|
+
account.get("/invitations", handler$23);
|
|
28714
|
+
account.post("/invitations/:invitationId/accept", handler$22);
|
|
28715
|
+
account.post("/invitations/:invitationId/decline", handler$21);
|
|
28716
|
+
account.get("/users/me/avatar", handler$97);
|
|
28717
|
+
account.post("/users/me/avatar/presign", handler$96);
|
|
28718
|
+
account.patch("/users/me/avatar", handler$95);
|
|
28719
|
+
account.get("/users/me/preferences", handler$94);
|
|
28720
|
+
account.patch("/users/me/preferences", handler$93);
|
|
28650
28721
|
const withOrgDb = withOrganizationProjectDatabase();
|
|
28651
|
-
orgScoped.get("/apps", handler$
|
|
28652
|
-
orgScoped.get("/apps/slug-available", handler$
|
|
28653
|
-
orgScoped.
|
|
28654
|
-
orgScoped.post("/apps/discover
|
|
28655
|
-
orgScoped.post("/apps/discover-
|
|
28656
|
-
orgScoped.post("/apps", requireOrgUpdate, handler$
|
|
28657
|
-
orgScoped.post("/apps
|
|
28658
|
-
orgScoped.
|
|
28722
|
+
orgScoped.get("/apps", handler$20);
|
|
28723
|
+
orgScoped.get("/apps/slug-available", handler$13);
|
|
28724
|
+
orgScoped.get("/channel-platforms", handler$10);
|
|
28725
|
+
orgScoped.post("/apps/discover", requireOrgUpdate, handler$18);
|
|
28726
|
+
orgScoped.post("/apps/discover-openapi", requireOrgUpdate, handler$17);
|
|
28727
|
+
orgScoped.post("/apps/discover-graphql", requireOrgUpdate, handler$16);
|
|
28728
|
+
orgScoped.post("/apps", requireOrgUpdate, handler$19);
|
|
28729
|
+
orgScoped.post("/apps/:slug/mcp/oauth/connections", requireOrgUpdate, withOrgDb, handler$15);
|
|
28730
|
+
orgScoped.get("/apps/:slug/catalog", handler$11);
|
|
28731
|
+
orgScoped.get("/apps/:slug", handler$12);
|
|
28659
28732
|
account.post("/team-requests", requireOrganization(), handler$2);
|
|
28660
|
-
orgScoped.get("/members", handler$
|
|
28661
|
-
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$
|
|
28662
|
-
orgScoped.patch("/members/:userId", requireUserManage, handler$
|
|
28663
|
-
orgScoped.delete("/members/:userId", requireUserManage, handler$
|
|
28733
|
+
orgScoped.get("/members", handler$27);
|
|
28734
|
+
orgScoped.post("/members/invitations", requireUserInvite, requireInvitableRole, handler$26);
|
|
28735
|
+
orgScoped.patch("/members/:userId", requireUserManage, handler$25);
|
|
28736
|
+
orgScoped.delete("/members/:userId", requireUserManage, handler$24);
|
|
28664
28737
|
orgScoped.get("/api-keys", handler$9);
|
|
28665
28738
|
orgScoped.post("/api-keys", requireApiKeyCreate, handler$8);
|
|
28666
28739
|
orgScoped.delete("/api-keys/:apiKeyId", handler$7);
|
|
@@ -28668,66 +28741,66 @@ function mountAccountRoutes(options) {
|
|
|
28668
28741
|
orgScoped.post("/managed-service-credentials", requireManagedServicesManage, handler$5);
|
|
28669
28742
|
orgScoped.patch("/managed-service-credentials/:id", requireManagedServicesManage, handler$4);
|
|
28670
28743
|
orgScoped.delete("/managed-service-credentials/:id", requireManagedServicesManage, handler$3);
|
|
28671
|
-
orgScoped.get("/agents", withOrgDb, handler$
|
|
28672
|
-
orgScoped.get("/agents/:agentId", withOrgDb, handler$
|
|
28673
|
-
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$
|
|
28674
|
-
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$
|
|
28675
|
-
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$
|
|
28676
|
-
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$
|
|
28677
|
-
orgScoped.get("/workflows", withOrgDb, handler$
|
|
28678
|
-
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$
|
|
28679
|
-
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$
|
|
28680
|
-
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$
|
|
28681
|
-
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$
|
|
28682
|
-
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$
|
|
28683
|
-
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$
|
|
28684
|
-
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
28685
|
-
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
28686
|
-
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$
|
|
28687
|
-
orgScoped.get("/skills", withOrgDb, handler$
|
|
28688
|
-
orgScoped.get("/skills/:skillId", withOrgDb, handler$
|
|
28689
|
-
orgScoped.get("/triggers", withOrgDb, handler$
|
|
28690
|
-
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$
|
|
28691
|
-
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$
|
|
28692
|
-
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$
|
|
28693
|
-
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$
|
|
28694
|
-
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$
|
|
28695
|
-
orgScoped.get("/recents", withOrgDb, handler$
|
|
28696
|
-
orgScoped.get("/history", withOrgDb, handler$
|
|
28697
|
-
orgScoped.get("/history/:runId", withOrgDb, handler$
|
|
28698
|
-
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$
|
|
28699
|
-
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$
|
|
28700
|
-
orgScoped.get("/credentials", withOrgDb, handler$
|
|
28701
|
-
orgScoped.post("/credentials", withOrgDb, handler$
|
|
28702
|
-
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$
|
|
28703
|
-
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$
|
|
28744
|
+
orgScoped.get("/agents", withOrgDb, handler$83);
|
|
28745
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$82);
|
|
28746
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$81);
|
|
28747
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$80);
|
|
28748
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$79);
|
|
28749
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$78);
|
|
28750
|
+
orgScoped.get("/workflows", withOrgDb, handler$76);
|
|
28751
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$75);
|
|
28752
|
+
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$74);
|
|
28753
|
+
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$73);
|
|
28754
|
+
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$72);
|
|
28755
|
+
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$71);
|
|
28756
|
+
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$67);
|
|
28757
|
+
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$70);
|
|
28758
|
+
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$69);
|
|
28759
|
+
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$68);
|
|
28760
|
+
orgScoped.get("/skills", withOrgDb, handler$65);
|
|
28761
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$64);
|
|
28762
|
+
orgScoped.get("/triggers", withOrgDb, handler$63);
|
|
28763
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$62);
|
|
28764
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$61);
|
|
28765
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$60);
|
|
28766
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$59);
|
|
28767
|
+
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$58);
|
|
28768
|
+
orgScoped.get("/recents", withOrgDb, handler$57);
|
|
28769
|
+
orgScoped.get("/history", withOrgDb, handler$85);
|
|
28770
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$84);
|
|
28771
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$66);
|
|
28772
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$77);
|
|
28773
|
+
orgScoped.get("/credentials", withOrgDb, handler$31);
|
|
28774
|
+
orgScoped.post("/credentials", withOrgDb, handler$30);
|
|
28775
|
+
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$29(c, next));
|
|
28776
|
+
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$28);
|
|
28704
28777
|
orgScoped.delete("/credentials/:credentialId", withOrgDb, deleteCredential);
|
|
28705
|
-
orgScoped.get("/projects", handler$
|
|
28706
|
-
orgScoped.get("/projects/slug-available", handler$
|
|
28707
|
-
orgScoped.get("/projects/metrics", withOrgDb, handler$
|
|
28708
|
-
orgScoped.post("/projects", handler$
|
|
28709
|
-
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$
|
|
28710
|
-
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
28711
|
-
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$
|
|
28712
|
-
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$
|
|
28713
|
-
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
28714
|
-
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$
|
|
28715
|
-
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$
|
|
28716
|
-
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
28717
|
-
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
28718
|
-
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$
|
|
28778
|
+
orgScoped.get("/projects", handler$56);
|
|
28779
|
+
orgScoped.get("/projects/slug-available", handler$53);
|
|
28780
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$55);
|
|
28781
|
+
orgScoped.post("/projects", handler$54);
|
|
28782
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$52);
|
|
28783
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$51);
|
|
28784
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$50);
|
|
28785
|
+
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$33);
|
|
28786
|
+
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$32);
|
|
28787
|
+
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$38);
|
|
28788
|
+
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$37);
|
|
28789
|
+
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$36);
|
|
28790
|
+
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$35);
|
|
28791
|
+
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$34);
|
|
28719
28792
|
projectScoped.get("/:projectId/reachability", requireProject(), requireProjectMember, createProjectReachabilityHandler(options.hosting));
|
|
28720
|
-
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28721
|
-
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28722
|
-
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28723
|
-
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$
|
|
28724
|
-
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$
|
|
28725
|
-
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28726
|
-
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
28727
|
-
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28728
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28729
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28730
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
28793
|
+
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$40);
|
|
28794
|
+
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$42);
|
|
28795
|
+
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$41);
|
|
28796
|
+
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$39);
|
|
28797
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$49);
|
|
28798
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$47);
|
|
28799
|
+
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$46);
|
|
28800
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$48);
|
|
28801
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$45);
|
|
28802
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$44);
|
|
28803
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$43);
|
|
28731
28804
|
orgScoped.route("/projects", projectScoped);
|
|
28732
28805
|
account.route("/", orgScoped);
|
|
28733
28806
|
return account;
|
|
@@ -29239,4 +29312,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
29239
29312
|
//#endregion
|
|
29240
29313
|
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 };
|
|
29241
29314
|
|
|
29242
|
-
//# sourceMappingURL=start-
|
|
29315
|
+
//# sourceMappingURL=start-Cb4yLZ5F.mjs.map
|