@keystrokehq/platform 0.1.98 → 0.1.100
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-pnoNftT8.mjs → awk2-LA3USKJP-B6p73lgw.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-pnoNftT8.mjs.map → awk2-LA3USKJP-B6p73lgw.mjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-pKmGobcZ.cjs → awk2-LA3USKJP-BYLeAtcP.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-pKmGobcZ.cjs.map → awk2-LA3USKJP-BYLeAtcP.cjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-CyAyrmOE.mjs → base64-C2AIWVNC-CUJXWhMj.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-CyAyrmOE.mjs.map → base64-C2AIWVNC-CUJXWhMj.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-CrtpD1na.cjs → base64-C2AIWVNC-JxUtSuwI.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-CrtpD1na.cjs.map → base64-C2AIWVNC-JxUtSuwI.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-Bft3qmnm.mjs → bash-YZ33HQZQ-CMw62FXG.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-Bft3qmnm.mjs.map → bash-YZ33HQZQ-CMw62FXG.mjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-DLA5dK37.cjs → bash-YZ33HQZQ-Dng1IFqz.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-DLA5dK37.cjs.map → bash-YZ33HQZQ-Dng1IFqz.cjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-BaKHr4U0.cjs → cat-TSFMZVYS-ViKoZBm5.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-BaKHr4U0.cjs.map → cat-TSFMZVYS-ViKoZBm5.cjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-CblTQ5QR.mjs → cat-TSFMZVYS-WZvj4clB.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-CblTQ5QR.mjs.map → cat-TSFMZVYS-WZvj4clB.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-gg7VwICJ.mjs → chunk-5H5SCKJM-BHYg2UY4.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-gg7VwICJ.mjs.map → chunk-5H5SCKJM-BHYg2UY4.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-J5-RMqlK.cjs → chunk-5H5SCKJM-D-PBsH6e.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-J5-RMqlK.cjs.map → chunk-5H5SCKJM-D-PBsH6e.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-BTQ2ZWeh.cjs → chunk-AQ6FYS2X-Bbo9QdKX.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-BTQ2ZWeh.cjs.map → chunk-AQ6FYS2X-Bbo9QdKX.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-CrZWHyzD.mjs → chunk-AQ6FYS2X-CLrm6xzX.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-CrZWHyzD.mjs.map → chunk-AQ6FYS2X-CLrm6xzX.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-CPiu5G3a.cjs → chunk-CHFEPBH4-DWNOffd8.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-CPiu5G3a.cjs.map → chunk-CHFEPBH4-DWNOffd8.cjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-CINsrE8W.mjs → chunk-CHFEPBH4-DbBYPZe6.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-CINsrE8W.mjs.map → chunk-CHFEPBH4-DbBYPZe6.mjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-C93v3qzT.mjs → chunk-EBAPSGAO-DRHbJ6yk.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-C93v3qzT.mjs.map → chunk-EBAPSGAO-DRHbJ6yk.mjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-DZoiCbGH.cjs → chunk-EBAPSGAO-TZEXb1rm.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-DZoiCbGH.cjs.map → chunk-EBAPSGAO-TZEXb1rm.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-hm07oWvp.cjs → chunk-LEKBROJD-CHqSGJ_l.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-hm07oWvp.cjs.map → chunk-LEKBROJD-CHqSGJ_l.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-BuX8Z517.mjs → chunk-LEKBROJD-DLD3D5_m.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-BuX8Z517.mjs.map → chunk-LEKBROJD-DLD3D5_m.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-ZJpUxqq9.cjs → chunk-VPADYNBD-BJWVv2YT.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-ZJpUxqq9.cjs.map → chunk-VPADYNBD-BJWVv2YT.cjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-BwKY-5Xk.mjs → chunk-VPADYNBD-CIdS-8AP.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-BwKY-5Xk.mjs.map → chunk-VPADYNBD-CIdS-8AP.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-DvGVdefs.mjs → chunk-YCLFEX4T-57jHBQcw.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-DvGVdefs.mjs.map → chunk-YCLFEX4T-57jHBQcw.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-BmQTDw1Y.cjs → chunk-YCLFEX4T-BnNzA5hA.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-BmQTDw1Y.cjs.map → chunk-YCLFEX4T-BnNzA5hA.cjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-CEthufNl.mjs → column-XT6UFXNQ-7oTwyEni.mjs} +2 -2
- package/dist/{column-XT6UFXNQ-CEthufNl.mjs.map → column-XT6UFXNQ-7oTwyEni.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-tddqJ9Kg.cjs → column-XT6UFXNQ-CCFlLVw8.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-tddqJ9Kg.cjs.map → column-XT6UFXNQ-CCFlLVw8.cjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-BpdAYzr_.mjs → comm-VV2LDX2J-BxfBaO9v.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-BpdAYzr_.mjs.map → comm-VV2LDX2J-BxfBaO9v.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-D8M6JDGH.cjs → comm-VV2LDX2J-D22EVr_6.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-D8M6JDGH.cjs.map → comm-VV2LDX2J-D22EVr_6.cjs.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{cp-BISAAS7A-BO2reDJf.cjs → cp-BISAAS7A-BRHB7AIH.cjs} +2 -2
- package/dist/{cp-BISAAS7A-BO2reDJf.cjs.map → cp-BISAAS7A-BRHB7AIH.cjs.map} +1 -1
- package/dist/{cp-BISAAS7A-Bgk2QUcq.mjs → cp-BISAAS7A-C_3usEAm.mjs} +2 -2
- package/dist/{cp-BISAAS7A-Bgk2QUcq.mjs.map → cp-BISAAS7A-C_3usEAm.mjs.map} +1 -1
- package/dist/{cut-OKARJCCV-DPm1czVO.mjs → cut-OKARJCCV-BwRH6RGq.mjs} +3 -3
- package/dist/{cut-OKARJCCV-DPm1czVO.mjs.map → cut-OKARJCCV-BwRH6RGq.mjs.map} +1 -1
- package/dist/{cut-OKARJCCV-DaBpPPf8.cjs → cut-OKARJCCV-uYglaFFh.cjs} +3 -3
- package/dist/{cut-OKARJCCV-DaBpPPf8.cjs.map → cut-OKARJCCV-uYglaFFh.cjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-sW58v-In.cjs → diff-MWJFIG7X-B8OZxTkK.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-sW58v-In.cjs.map → diff-MWJFIG7X-B8OZxTkK.cjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-DZWE4by5.mjs → diff-MWJFIG7X-DhYLo0mp.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-DZWE4by5.mjs.map → diff-MWJFIG7X-DhYLo0mp.mjs.map} +1 -1
- package/dist/{dist-DCAFVLts.cjs → dist-5w20EcrX.cjs} +86 -5
- package/dist/dist-5w20EcrX.cjs.map +1 -0
- package/dist/{dist-B_VrBT_r.mjs → dist-BaAMpZ1S.mjs} +62 -5
- package/dist/dist-BaAMpZ1S.mjs.map +1 -0
- package/dist/{dist-QIg3f1DP.cjs → dist-CfnRNsn7.cjs} +42 -4
- package/dist/dist-CfnRNsn7.cjs.map +1 -0
- package/dist/{dist-BdxWQmKK.mjs → dist-J47haz46.mjs} +42 -4
- package/dist/dist-J47haz46.mjs.map +1 -0
- package/dist/{du-572XNP42-CRWdTyWl.mjs → du-572XNP42-D4jNcp-X.mjs} +2 -2
- package/dist/{du-572XNP42-CRWdTyWl.mjs.map → du-572XNP42-D4jNcp-X.mjs.map} +1 -1
- package/dist/{du-572XNP42-CqHbkS7A.cjs → du-572XNP42-DQBbeLYk.cjs} +2 -2
- package/dist/{du-572XNP42-CqHbkS7A.cjs.map → du-572XNP42-DQBbeLYk.cjs.map} +1 -1
- package/dist/{env-36M5BO7M-B3hY6c1d.mjs → env-36M5BO7M-C9XK9wU5.mjs} +2 -2
- package/dist/{env-36M5BO7M-B3hY6c1d.mjs.map → env-36M5BO7M-C9XK9wU5.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-BJX6pRHi.cjs → env-36M5BO7M-CrBME2zU.cjs} +2 -2
- package/dist/{env-36M5BO7M-BJX6pRHi.cjs.map → env-36M5BO7M-CrBME2zU.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-Dd-2L8yn.cjs → expand-JSPG6VOP-8taML-uG.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-Dd-2L8yn.cjs.map → expand-JSPG6VOP-8taML-uG.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-C4ZcygSl.mjs → expand-JSPG6VOP-CGKZzaSY.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-C4ZcygSl.mjs.map → expand-JSPG6VOP-CGKZzaSY.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-Cxs0wDb3.mjs → expr-5JAACS4X-CoEm9kc0.mjs} +2 -2
- package/dist/{expr-5JAACS4X-Cxs0wDb3.mjs.map → expr-5JAACS4X-CoEm9kc0.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-DmKCLgI8.cjs → expr-5JAACS4X-DD7f1fto.cjs} +2 -2
- package/dist/{expr-5JAACS4X-DmKCLgI8.cjs.map → expr-5JAACS4X-DD7f1fto.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-C2Uc7scj.cjs → find-INTH3OLC-22KJl1jB.cjs} +3 -3
- package/dist/{find-INTH3OLC-C2Uc7scj.cjs.map → find-INTH3OLC-22KJl1jB.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-BR7ZZKkF.mjs → find-INTH3OLC-B0Wvrw-B.mjs} +3 -3
- package/dist/{find-INTH3OLC-BR7ZZKkF.mjs.map → find-INTH3OLC-B0Wvrw-B.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-BQ9ukqex.cjs → fold-4TQNYMSW-C-xmi3lF.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-BQ9ukqex.cjs.map → fold-4TQNYMSW-C-xmi3lF.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-DsDovqTl.mjs → fold-4TQNYMSW-DVwgP0UC.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-DsDovqTl.mjs.map → fold-4TQNYMSW-DVwgP0UC.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-ChT5D1RX.cjs → grep-V3LQVMRQ-4W-ZtlI_.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-ChT5D1RX.cjs.map → grep-V3LQVMRQ-4W-ZtlI_.cjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-BsgT3xzo.mjs → grep-V3LQVMRQ-CVGsroUl.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-BsgT3xzo.mjs.map → grep-V3LQVMRQ-CVGsroUl.mjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-ClxvbIo6.mjs → gzip-O5ASJAFY-BPaJj7Ex.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-ClxvbIo6.mjs.map → gzip-O5ASJAFY-BPaJj7Ex.mjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-DJOwjcpB.cjs → gzip-O5ASJAFY-Dkxns1Il.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-DJOwjcpB.cjs.map → gzip-O5ASJAFY-Dkxns1Il.cjs.map} +1 -1
- package/dist/{head-442HYESI-B1LlP95a.mjs → head-442HYESI-D7kW3fYu.mjs} +2 -2
- package/dist/{head-442HYESI-B1LlP95a.mjs.map → head-442HYESI-D7kW3fYu.mjs.map} +1 -1
- package/dist/{head-442HYESI-CL9VIqkb.cjs → head-442HYESI-DVZIi2AP.cjs} +2 -2
- package/dist/{head-442HYESI-CL9VIqkb.cjs.map → head-442HYESI-DVZIi2AP.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-CzUrqQB7.cjs → help-HZ6M2CKN-42yd1IFd.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-CzUrqQB7.cjs.map → help-HZ6M2CKN-42yd1IFd.cjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-BjVXFW-f.mjs → help-HZ6M2CKN-BgZ1QArM.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-BjVXFW-f.mjs.map → help-HZ6M2CKN-BgZ1QArM.mjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-TyAsgBnO.cjs → html-to-markdown-JW4MSQZO-CY8dHLHn.cjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-TyAsgBnO.cjs.map → html-to-markdown-JW4MSQZO-CY8dHLHn.cjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-BKOSSsyy.mjs → html-to-markdown-JW4MSQZO-smj2xdyh.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-BKOSSsyy.mjs.map → html-to-markdown-JW4MSQZO-smj2xdyh.mjs.map} +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{join-TBRGI3LQ-JKyApOii.cjs → join-TBRGI3LQ-CjY00TUK.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-JKyApOii.cjs.map → join-TBRGI3LQ-CjY00TUK.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-CwgUaVoR.mjs → join-TBRGI3LQ-c7iJRovH.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-CwgUaVoR.mjs.map → join-TBRGI3LQ-c7iJRovH.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-D6TJiRje.cjs → jq-4XLYLOS5-CioN6pox.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-D6TJiRje.cjs.map → jq-4XLYLOS5-CioN6pox.cjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-ZisFFv1P.mjs → jq-4XLYLOS5-DJzeBWR-.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-ZisFFv1P.mjs.map → jq-4XLYLOS5-DJzeBWR-.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-Dp6FRM8y.mjs → js-exec-N5KEZBH7-DdIKLU9x.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-Dp6FRM8y.mjs.map → js-exec-N5KEZBH7-DdIKLU9x.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-BDEPJLK5.cjs → js-exec-N5KEZBH7-kj3dwQhi.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-BDEPJLK5.cjs.map → js-exec-N5KEZBH7-kj3dwQhi.cjs.map} +1 -1
- package/dist/{lib-Dsemc_Ik.mjs → lib-B2WpNIBZ.mjs} +2 -2
- package/dist/{lib-Dsemc_Ik.mjs.map → lib-B2WpNIBZ.mjs.map} +1 -1
- package/dist/{lib-Cecx0Mdv.cjs → lib-BAkj51fF.cjs} +2 -2
- package/dist/{lib-Cecx0Mdv.cjs.map → lib-BAkj51fF.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-DbVtAqnH.mjs → ln-4LGSXXGD-BkSmlDkl.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-DbVtAqnH.mjs.map → ln-4LGSXXGD-BkSmlDkl.mjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-DCt-08KM.cjs → ln-4LGSXXGD-ClTiibB8.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-DCt-08KM.cjs.map → ln-4LGSXXGD-ClTiibB8.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-PRXSwGZZ.mjs → ls-ZJGQER7M-C7VCXkMP.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-PRXSwGZZ.mjs.map → ls-ZJGQER7M-C7VCXkMP.mjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-BQuAedIy.cjs → ls-ZJGQER7M-CkYiplbD.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-BQuAedIy.cjs.map → ls-ZJGQER7M-CkYiplbD.cjs.map} +1 -1
- package/dist/{lzma-BE4gwH-8.cjs → lzma-BUK5ghqg.cjs} +2 -2
- package/dist/{lzma-BE4gwH-8.cjs.map → lzma-BUK5ghqg.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-CmmvMGPa.mjs → md5sum-SPU24VSG-CEcU1nA2.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-CmmvMGPa.mjs.map → md5sum-SPU24VSG-CEcU1nA2.mjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-xbLQd_LU.cjs → md5sum-SPU24VSG-DMeibv0u.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-xbLQd_LU.cjs.map → md5sum-SPU24VSG-DMeibv0u.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-IHvBvQTL.cjs → mkdir-MEPGZOB6-CwvY2HZA.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-IHvBvQTL.cjs.map → mkdir-MEPGZOB6-CwvY2HZA.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-DB938M04.mjs → mkdir-MEPGZOB6-Dn3uD5eY.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-DB938M04.mjs.map → mkdir-MEPGZOB6-Dn3uD5eY.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-B2XVmdN4.mjs → mv-W5BIQ646-BzWIU_AO.mjs} +2 -2
- package/dist/{mv-W5BIQ646-B2XVmdN4.mjs.map → mv-W5BIQ646-BzWIU_AO.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-CFwaJ3Xx.cjs → mv-W5BIQ646-Ghc4CkcZ.cjs} +2 -2
- package/dist/{mv-W5BIQ646-CFwaJ3Xx.cjs.map → mv-W5BIQ646-Ghc4CkcZ.cjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-CRYsCXB7.mjs → nl-WSDW7I4O-B5Qgs4af.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-CRYsCXB7.mjs.map → nl-WSDW7I4O-B5Qgs4af.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-FzZXRAwD.cjs → nl-WSDW7I4O-DCZF9MJ_.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-FzZXRAwD.cjs.map → nl-WSDW7I4O-DCZF9MJ_.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-DVBJw76D.mjs → od-WOKFDJTP-BUu7RaT-.mjs} +2 -2
- package/dist/{od-WOKFDJTP-DVBJw76D.mjs.map → od-WOKFDJTP-BUu7RaT-.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-M80nAztL.cjs → od-WOKFDJTP-QN7R6weu.cjs} +2 -2
- package/dist/{od-WOKFDJTP-M80nAztL.cjs.map → od-WOKFDJTP-QN7R6weu.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-q6d7adhi.mjs → paste-7JC6S4DX-ApWd7pkL.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-q6d7adhi.mjs.map → paste-7JC6S4DX-ApWd7pkL.mjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-DOPeey0W.cjs → paste-7JC6S4DX-Ua9bciOF.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-DOPeey0W.cjs.map → paste-7JC6S4DX-Ua9bciOF.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-BOz88v_H.mjs → printf-TWGXF445-Bs5QzZzm.mjs} +3 -3
- package/dist/{printf-TWGXF445-BOz88v_H.mjs.map → printf-TWGXF445-Bs5QzZzm.mjs.map} +1 -1
- package/dist/{printf-TWGXF445-BXve-Eiv.cjs → printf-TWGXF445-pVQkdFjV.cjs} +3 -3
- package/dist/{printf-TWGXF445-BXve-Eiv.cjs.map → printf-TWGXF445-pVQkdFjV.cjs.map} +1 -1
- package/dist/{python3-POMOR4OA-DRta50Gp.mjs → python3-POMOR4OA-CRvY0hez.mjs} +3 -3
- package/dist/{python3-POMOR4OA-DRta50Gp.mjs.map → python3-POMOR4OA-CRvY0hez.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-__fmhnV2.cjs → python3-POMOR4OA-eqw9lUpF.cjs} +3 -3
- package/dist/{python3-POMOR4OA-__fmhnV2.cjs.map → python3-POMOR4OA-eqw9lUpF.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-CFFAX-eL.cjs → rev-5EHFX4EJ-CIcQwh8J.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-CFFAX-eL.cjs.map → rev-5EHFX4EJ-CIcQwh8J.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-DP28Z2tI.mjs → rev-5EHFX4EJ-D0sz4Iq_.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-DP28Z2tI.mjs.map → rev-5EHFX4EJ-D0sz4Iq_.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-Bawo1fot.mjs → rg-S4FXYXWB-D0N_niTv.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-Bawo1fot.mjs.map → rg-S4FXYXWB-D0N_niTv.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-DrdwsBhO.cjs → rg-S4FXYXWB-hU1KleFZ.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-DrdwsBhO.cjs.map → rg-S4FXYXWB-hU1KleFZ.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-BaWdfV2i.cjs → rm-SSGETQVQ-BYaim9ju.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-BaWdfV2i.cjs.map → rm-SSGETQVQ-BYaim9ju.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-C6EQ5XnR.mjs → rm-SSGETQVQ-QA-RiLoe.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-C6EQ5XnR.mjs.map → rm-SSGETQVQ-QA-RiLoe.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-DK3A8POR.cjs → rmdir-OC4ZLPYA-7_q69FRU.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-DK3A8POR.cjs.map → rmdir-OC4ZLPYA-7_q69FRU.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-COg4QKnN.mjs → rmdir-OC4ZLPYA-CZtH0A__.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-COg4QKnN.mjs.map → rmdir-OC4ZLPYA-CZtH0A__.mjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-CQ1AnR3r.cjs → sed-S5UIK574-D-CPvMMQ.cjs} +2 -2
- package/dist/{sed-S5UIK574-CQ1AnR3r.cjs.map → sed-S5UIK574-D-CPvMMQ.cjs.map} +1 -1
- package/dist/{sed-S5UIK574-P4wu0pe1.mjs → sed-S5UIK574-D-EI4yzk.mjs} +2 -2
- package/dist/{sed-S5UIK574-P4wu0pe1.mjs.map → sed-S5UIK574-D-EI4yzk.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-jNQ-uyUw.mjs → sha1sum-2PTOAFR6-0sMSrmGo.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-jNQ-uyUw.mjs.map → sha1sum-2PTOAFR6-0sMSrmGo.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-BPLIR6an.cjs → sha1sum-2PTOAFR6-D6JPNHR3.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-BPLIR6an.cjs.map → sha1sum-2PTOAFR6-D6JPNHR3.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-Bvq-KnSV.cjs → sha256sum-NS7D3IXX-C9NjWtdH.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-Bvq-KnSV.cjs.map → sha256sum-NS7D3IXX-C9NjWtdH.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-DebIy64D.mjs → sha256sum-NS7D3IXX-R1Kb1T6X.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-DebIy64D.mjs.map → sha256sum-NS7D3IXX-R1Kb1T6X.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-BZNoBeaB.mjs → sleep-X22JJINO-C53-AcVT.mjs} +2 -2
- package/dist/{sleep-X22JJINO-BZNoBeaB.mjs.map → sleep-X22JJINO-C53-AcVT.mjs.map} +1 -1
- package/dist/{sleep-X22JJINO-DP1z72-Q.cjs → sleep-X22JJINO-gbNgqCI0.cjs} +2 -2
- package/dist/{sleep-X22JJINO-DP1z72-Q.cjs.map → sleep-X22JJINO-gbNgqCI0.cjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-DewIJ9_h.mjs → sort-SW2YEO5B-BDB1WJ_f.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-DewIJ9_h.mjs.map → sort-SW2YEO5B-BDB1WJ_f.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-BWZaGhuw.cjs → sort-SW2YEO5B-DdCWWY3d.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-BWZaGhuw.cjs.map → sort-SW2YEO5B-DdCWWY3d.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-Bhr_rhRz.cjs → split-4KKZZXXE-BVv4iIE_.cjs} +2 -2
- package/dist/{split-4KKZZXXE-Bhr_rhRz.cjs.map → split-4KKZZXXE-BVv4iIE_.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-ciJXyT15.mjs → split-4KKZZXXE-lyrSVN3u.mjs} +2 -2
- package/dist/{split-4KKZZXXE-ciJXyT15.mjs.map → split-4KKZZXXE-lyrSVN3u.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-K8u_Ru5X.mjs → sqlite3-CGOEFJAO-C-YDeldQ.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-K8u_Ru5X.mjs.map → sqlite3-CGOEFJAO-C-YDeldQ.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-CdyK5NF3.cjs → sqlite3-CGOEFJAO-C4E1h_XQ.cjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-CdyK5NF3.cjs.map → sqlite3-CGOEFJAO-C4E1h_XQ.cjs.map} +1 -1
- package/dist/{start-y3y8zgSv.cjs → start-Cg3y8EF-.cjs} +419 -232
- package/dist/start-Cg3y8EF-.cjs.map +1 -0
- package/dist/{start-DCnxLHI5.mjs → start-Cu01lH1L.mjs} +419 -232
- package/dist/start-Cu01lH1L.mjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-Xt8Gbe8-.cjs → strings-6WDHLGMX-C4fmxujI.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-Xt8Gbe8-.cjs.map → strings-6WDHLGMX-C4fmxujI.cjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-lZect78u.mjs → strings-6WDHLGMX-f5YX8v0H.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-lZect78u.mjs.map → strings-6WDHLGMX-f5YX8v0H.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-6DSfXKEM.cjs → tac-2STMMJYW-Bwryi3YB.cjs} +2 -2
- package/dist/{tac-2STMMJYW-6DSfXKEM.cjs.map → tac-2STMMJYW-Bwryi3YB.cjs.map} +1 -1
- package/dist/{tac-2STMMJYW-CYopDu0z.mjs → tac-2STMMJYW-DuqiSwEr.mjs} +2 -2
- package/dist/{tac-2STMMJYW-CYopDu0z.mjs.map → tac-2STMMJYW-DuqiSwEr.mjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-B8zVnbJv.cjs → tail-R4PCA2C4-Cb2vqLQR.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-B8zVnbJv.cjs.map → tail-R4PCA2C4-Cb2vqLQR.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-05tRE3pO.mjs → tail-R4PCA2C4-D9sohW7E.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-05tRE3pO.mjs.map → tail-R4PCA2C4-D9sohW7E.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-BF9uOAeY.cjs → tar-STHHZTZ6-1k8sj9rF.cjs} +5 -5
- package/dist/{tar-STHHZTZ6-BF9uOAeY.cjs.map → tar-STHHZTZ6-1k8sj9rF.cjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-BGc4fGMj.mjs → tar-STHHZTZ6-Dndro3Ro.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-BGc4fGMj.mjs.map → tar-STHHZTZ6-Dndro3Ro.mjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-DXc_xwaw.cjs → tee-YUZ2FKCJ-CLNWhMFc.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-DXc_xwaw.cjs.map → tee-YUZ2FKCJ-CLNWhMFc.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-CZGSWOLF.mjs → tee-YUZ2FKCJ-ZbuSeqJ5.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-CZGSWOLF.mjs.map → tee-YUZ2FKCJ-ZbuSeqJ5.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-C5yYBJS0.mjs → time-D4LNBSWX-C3LWERRL.mjs} +2 -2
- package/dist/{time-D4LNBSWX-C5yYBJS0.mjs.map → time-D4LNBSWX-C3LWERRL.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-CQI3pEaI.cjs → time-D4LNBSWX-CHyi8Tnt.cjs} +2 -2
- package/dist/{time-D4LNBSWX-CQI3pEaI.cjs.map → time-D4LNBSWX-CHyi8Tnt.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-C57Y8ySP.cjs → timeout-YDCRSLPQ-BIohU0aw.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-C57Y8ySP.cjs.map → timeout-YDCRSLPQ-BIohU0aw.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-CsT6X_C0.mjs → timeout-YDCRSLPQ-Br5lFMWx.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-CsT6X_C0.mjs.map → timeout-YDCRSLPQ-Br5lFMWx.mjs.map} +1 -1
- package/dist/{touch-UA33VN3N-Cyx5v5-2.cjs → touch-UA33VN3N-DCfWjRvU.cjs} +2 -2
- package/dist/{touch-UA33VN3N-Cyx5v5-2.cjs.map → touch-UA33VN3N-DCfWjRvU.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-DYslBCYn.mjs → touch-UA33VN3N-DsanRi3-.mjs} +2 -2
- package/dist/{touch-UA33VN3N-DYslBCYn.mjs.map → touch-UA33VN3N-DsanRi3-.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-CJ7ZK1Cv.cjs → tr-36LHWFRQ-BIi_i1xq.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-CJ7ZK1Cv.cjs.map → tr-36LHWFRQ-BIi_i1xq.cjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-C57tK13M.mjs → tr-36LHWFRQ-DyOCfShp.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-C57tK13M.mjs.map → tr-36LHWFRQ-DyOCfShp.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-C01jI2xZ.mjs → tree-YLD52CNT-DUU0HeD4.mjs} +2 -2
- package/dist/{tree-YLD52CNT-C01jI2xZ.mjs.map → tree-YLD52CNT-DUU0HeD4.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-C0new1hw.cjs → tree-YLD52CNT-DZJOFR5q.cjs} +2 -2
- package/dist/{tree-YLD52CNT-C0new1hw.cjs.map → tree-YLD52CNT-DZJOFR5q.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-DgiJnv3D.mjs → unexpand-CADSA4VO-C1dl77nO.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-DgiJnv3D.mjs.map → unexpand-CADSA4VO-C1dl77nO.mjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-KAVxaOsW.cjs → unexpand-CADSA4VO-ChZCo1F6.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-KAVxaOsW.cjs.map → unexpand-CADSA4VO-ChZCo1F6.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-C05c3Clm.mjs → uniq-XSIZR6PB-CJCfktlG.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-C05c3Clm.mjs.map → uniq-XSIZR6PB-CJCfktlG.mjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-a2hQnbkY.cjs → uniq-XSIZR6PB-DbjztTpM.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-a2hQnbkY.cjs.map → uniq-XSIZR6PB-DbjztTpM.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-D_LGPXUP.mjs → wc-LF7NU4LA-CDw6vOoa.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-D_LGPXUP.mjs.map → wc-LF7NU4LA-CDw6vOoa.mjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-UNORxUJr.cjs → wc-LF7NU4LA-tmIT-THo.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-UNORxUJr.cjs.map → wc-LF7NU4LA-tmIT-THo.cjs.map} +1 -1
- package/dist/{with-project-scope-Drmz2h2Z.cjs → with-project-scope-DMb9RZOs.cjs} +2 -2
- package/dist/{with-project-scope-Drmz2h2Z.cjs.map → with-project-scope-DMb9RZOs.cjs.map} +1 -1
- package/dist/{with-project-scope-7t3SHNwz.mjs → with-project-scope-c3QrO7Qy.mjs} +2 -2
- package/dist/{with-project-scope-7t3SHNwz.mjs.map → with-project-scope-c3QrO7Qy.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-B_ysBBaD.mjs → xan-Y6WF3IRG--antYgD8.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-B_ysBBaD.mjs.map → xan-Y6WF3IRG--antYgD8.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-DvYlOlaJ.cjs → xan-Y6WF3IRG-yURx0UgC.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-DvYlOlaJ.cjs.map → xan-Y6WF3IRG-yURx0UgC.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-Bv8_W4eE.mjs → xan-view-HDVKHFC2-CpTCR0IM.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-Bv8_W4eE.mjs.map → xan-view-HDVKHFC2-CpTCR0IM.mjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-ClhOnUAS.cjs → xan-view-HDVKHFC2-DdX_RdsQ.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-ClhOnUAS.cjs.map → xan-view-HDVKHFC2-DdX_RdsQ.cjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-la_JFVst.mjs → xargs-MGZPH7AX-DlA1e6QN.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-la_JFVst.mjs.map → xargs-MGZPH7AX-DlA1e6QN.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-BvvOKhXS.cjs → xargs-MGZPH7AX-squN73UJ.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-BvvOKhXS.cjs.map → xargs-MGZPH7AX-squN73UJ.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-WlQHm2uv.cjs → yq-4QJW3EQG-CaDOezvi.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-WlQHm2uv.cjs.map → yq-4QJW3EQG-CaDOezvi.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-Bq2dt3bL.mjs → yq-4QJW3EQG-DROI7Q0Q.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-Bq2dt3bL.mjs.map → yq-4QJW3EQG-DROI7Q0Q.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/dist-B_VrBT_r.mjs.map +0 -1
- package/dist/dist-BdxWQmKK.mjs.map +0 -1
- package/dist/dist-DCAFVLts.cjs.map +0 -1
- package/dist/dist-QIg3f1DP.cjs.map +0 -1
- package/dist/start-DCnxLHI5.mjs.map +0 -1
- package/dist/start-y3y8zgSv.cjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as verifyOrgWorkerToken, i as pingProjectTarget, n as fetchDeployStatus, r as mintOrgWorkerToken } from "./dist-
|
|
1
|
+
import { $ as CreateApiKeyResponseSchema, $n as UserAvatarPatchSchema, $t as ManagedServiceKindSchema, A as discoverMcpApp, An as StartMcpOAuthConnectionInputSchema, Ar as mapProject, At as InviteOrganizationMembersRequestSchema, B as AcceptOrganizationInvitationResponseSchema, Bn as TriggerInvokeResponseSchema, Br as organizationSlugErrorCodeFromMessage, Bt as ListCredentialsPageResponseSchema, C as defaultSchedulerPlugin, Cn as RecentResourceListResponseSchema, Cr as isAllowedChatAttachmentMediaType, Ct as GetCustomAppResponseSchema, D as decodeOAuthState, Dn as SkillSummarySchema, Dr as listenPortFromPublicUrl, Dt as HistoryRunDetailResponseSchema, E as completeMcpOAuthConnect, En as SkillSummaryListResponseSchema, Er as jsonSchemaToWorkflowInputSchema, Et as HistoryRunCancelResponseSchema, F as deleteManagedServiceCredential$1, Fn as SubmitTeamRequestRequestSchema, Fr as mapUserOrganization, Ft as ListAgentWorkspaceFilesResponseSchema, G as AgentSummarySchema, Gn as UpdateOrganizationMemberResponseSchema, Gr as resolveUniqueCredentialInstanceLabel, Gt as ListOrganizationsResponseSchema, H as AgentMemoryFileSummarySchema, Hn as UpdateCredentialRequestSchema, Hr as parseStoredRouteManifest, Ht as ListOrganizationInvitationsResponseSchema, I as readCredentialInstanceSecret, In as SubmitTeamRequestResponseSchema, Ir as mcpEntityId, It as ListApiKeysResponseSchema, J as AppSlugAvailabilityResponseSchema, Jn as UpdateProjectMemberResponseSchema, Jr as validationErrorResponse, Jt as ListProjectMembersResponseSchema, K as AgentWorkspaceFileSummarySchema, Kn as UpdateOrganizationRequestSchema, Kr as validateCredentialValueAgainstFields, Kt as ListProjectDeploymentsResponseSchema, L as setCredentialInstanceSecret, Ln as TriggerAttachmentUpdateRequestSchema, Lr as mergeUserPreferences, Lt as ListAppsResponseSchema, M as withCredentialAssignments, Mn as StoredProjectSourceManifestSchema, Mr as mapProjectDeployment, Mt as InviteProjectMembersRequestSchema, N as PublicHttpUrlError, Nn as SubmitMarketingContactRequestSchema, Nr as mapProjectMember, Nt as InviteProjectMembersResponseSchema, O as describeCredentialBindings, On as SlugAvailabilityQuerySchema, Or as mapOrganizationInvitation, Ot as HistoryRunListQuerySchema, P as deleteCredentialInstanceSecret, Pn as SubmitMarketingContactResponseSchema, Pr as mapProjectSettings, Pt as ListAgentMemoryFilesResponseSchema, Q as CreateApiKeyRequestSchema, Qn as UploadProjectSourceResponseSchema, Qt as ManagedServiceCredentialSchema, R as setManagedServiceCredential, Rn as TriggerInvokeInputsSchema, Rr as normalizeUserPreferences, Rt as ListChannelPlatformsResponseSchema, S as createJobQueue, Sn as PublicModelsResponseSchema, Sr as displayCredentialAppName, St as GetCredentialResponseSchema, T as beginMcpOAuthConnect, Tn as SkillSummaryDetailResponseSchema, Tr as isLlmProviderSlug, Tt as GraphqlDiscoverResponseSchema, U as AgentSummaryDetailResponseSchema, Un as UpdateManagedServiceCredentialRequestSchema, Ur as projectFileId, Ut as ListOrganizationMembersPageQuerySchema, V as ActiveOrganizationResponseSchema, Vn as TriggerRunListQuerySchema, Vr as parseAppSlug, Vt as ListManagedServiceCredentialsResponseSchema, W as AgentSummaryListResponseSchema, Wn as UpdateOrganizationMemberRequestSchema, Wr as resolveExternalPlatformOrigin, Wt as ListOrganizationMembersPageResponseSchema, X as CompleteProjectArtifactResponseSchema, Xn as UpdateProjectSettingsRequestSchema, Xt as ListProjectsResponseSchema, Y as ChannelPlatformSchema, Yn as UpdateProjectRequestSchema, Yt as ListProjectMetricsResponseSchema, Z as ConnectManagedServiceCredentialRequestSchema, Zn as UploadProjectSourceManifestRequestSchema, Zt as MICRO_CREDITS_PER_CREDIT, _ as orgLogoStorageKey, _n as ProjectResponseSchema, _r as agentMemoryFileId, _t as DuplicateCredentialRequestSchema, a as extractRouteManifestFromArtifact, an as OrganizationSidebarBrandingSchema, ar as WorkflowCanvasSchema, at as CreateOrganizationResponseSchema, b as publicKeystrokeAssetsObjectUrl, bn as ProjectSlugAvailabilityResponseSchema, br as chatAttachmentExtension, bt as FilePartSchema, c as isKeystrokeAssetsOrgLogoPublicUrl, cn as PresignChatAttachmentRequestSchema, cr as WorkflowSummaryDetailResponseSchema, ct as CreateProjectResponseSchema, d as isStorageNotFoundError$1, dn as PresignOrgLogoResponseSchema, dr as WorkspaceTriggerDetailSchema, dt as DEFAULT_WORKFLOW_CANVAS_MODEL, en as McpDiscoverRequestSchema, er as UserAvatarSchema, et as CreateCredentialsRequestSchema, f as isUserAvatarStorageKey, fn as PresignProjectSourceRequestSchema, fr as WorkspaceTriggerFileSchema, ft as DEFAULT_WORKFLOW_OVERVIEW_MODEL, gn as ProjectReachabilityResponseSchema, gr as WorkspaceWorkflowOverviewSchema, gt as DownloadActiveProjectSourceResponseSchema, h as loadProjectSourceFiles, hn as PresignUserAvatarResponseSchema, hr as WorkspaceTriggerRunListResponseSchema, ht as DownloadActiveProjectArtifactResponseSchema, i as ensureKeystrokeAssetsBucket, in as OrganizationSidebarBrandingPatchSchema, ir as WorkflowCanvasRunSchema, it as CreateOrganizationRequestSchema, j as discoverOpenApiApp, jn as StartMcpOAuthConnectionResultSchema, jr as mapProjectArtifact, jt as InviteOrganizationMembersResponseSchema, k as discoverGraphqlApp, kn as SlugAvailabilityResponseSchema, kr as mapOrganizationMember, kt as HistoryRunListResponseSchema, l as isOrgLogoStorageKey, ln as PresignChatAttachmentResponseSchema, lr as WorkflowSummaryListResponseSchema, lt as DEFAULT_CLOUD_PLATFORM_ORIGIN, m as keystrokeAssetsOrgLogoKeyFromPublicUrl, mn as PresignUserAvatarRequestSchema, mr as WorkspaceTriggerOverviewSchema, mt as DeclineOrganizationInvitationResponseSchema, n as chatAttachmentStorageKey, nn as OpenApiDiscoverRequestSchema, nr as UserPreferencesSchema, nt as CreateCustomAppRequestSchema, o as isChatAttachmentStorageKey, on as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, or as WorkflowRunInputsPutBodySchema, ot as CreateProjectArtifactResponseSchema, p as keystrokeAssetsAvatarKeyFromPublicUrl, pn as PresignProjectSourceResponseSchema, pr as WorkspaceTriggerListResponseSchema, pt as DbProxyQueryRequestSchema, q as AppSlugAvailabilityQuerySchema, qn as UpdateProjectMemberRequestSchema, qr as validateWorkflowRunInputValues, qt as ListProjectFilesResponseSchema, r as createAssetsStorageClient, rn as OpenApiDiscoverResponseSchema, rr as WorkflowCanvasCredentialBindingsSchema, rt as CreateCustomAppResponseSchema, s as isKeystrokeAssetsAvatarPublicUrl, sn as PROJECT_SLUG_TAKEN_MESSAGE, sr as WorkflowRunInputsSchema, st as CreateProjectRequestSchema, t as RouteManifestNotFoundError, tn as McpDiscoverResponseSchema, tr as UserPreferencesPatchSchema, tt as CreateCredentialsResponseSchema, u as isStorageBucketNotFoundError, un as PresignOrgLogoRequestSchema, ur as WorkflowSummarySchema, ut as DEFAULT_TRIGGER_OVERVIEW_MODEL, v as projectArtifactKey, vn as ProjectSettingsResponseSchema, vr as agentWorkspaceFileId, vt as DuplicateCredentialsResponseSchema, w as cronPayloadSchema, wn as RecentResourceSchema, wr as isHelloWorldTemplateSlug, wt as GraphqlDiscoverRequestSchema, x as userAvatarStorageKey, xn as ProjectSourceResourcesSchema, xr as deriveCredentialInstanceSlug, xt as GetAppCatalogEntryResponseSchema, y as projectSourceBlobKey, yn as ProjectSlugAvailabilityQuerySchema, yr as buildCredentialInstanceLabel, yt as ErrorResponseSchema, z as ACTIVE_ORG_HEADER, zn as TriggerInvokeRequestSchema, zr as organizationInvitationAcceptPath, zt as ListCredentialsPageQuerySchema } from "./dist-BaAMpZ1S.mjs";
|
|
2
|
+
import { a as verifyOrgWorkerToken, i as pingProjectTarget, n as fetchDeployStatus, r as mintOrgWorkerToken } from "./dist-J47haz46.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-c3QrO7Qy.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import "node:fs/promises";
|
|
@@ -22951,43 +22951,43 @@ var tt = [
|
|
|
22951
22951
|
},
|
|
22952
22952
|
{
|
|
22953
22953
|
name: "cat",
|
|
22954
|
-
load: async () => (await import("./cat-TSFMZVYS-
|
|
22954
|
+
load: async () => (await import("./cat-TSFMZVYS-WZvj4clB.mjs")).catCommand
|
|
22955
22955
|
},
|
|
22956
22956
|
{
|
|
22957
22957
|
name: "printf",
|
|
22958
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
22958
|
+
load: async () => (await import("./printf-TWGXF445-Bs5QzZzm.mjs")).printfCommand
|
|
22959
22959
|
},
|
|
22960
22960
|
{
|
|
22961
22961
|
name: "ls",
|
|
22962
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
22962
|
+
load: async () => (await import("./ls-ZJGQER7M-C7VCXkMP.mjs")).lsCommand
|
|
22963
22963
|
},
|
|
22964
22964
|
{
|
|
22965
22965
|
name: "mkdir",
|
|
22966
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
22966
|
+
load: async () => (await import("./mkdir-MEPGZOB6-Dn3uD5eY.mjs")).mkdirCommand
|
|
22967
22967
|
},
|
|
22968
22968
|
{
|
|
22969
22969
|
name: "rmdir",
|
|
22970
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
22970
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-CZtH0A__.mjs")).rmdirCommand
|
|
22971
22971
|
},
|
|
22972
22972
|
{
|
|
22973
22973
|
name: "touch",
|
|
22974
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
22974
|
+
load: async () => (await import("./touch-UA33VN3N-DsanRi3-.mjs")).touchCommand
|
|
22975
22975
|
},
|
|
22976
22976
|
{
|
|
22977
22977
|
name: "rm",
|
|
22978
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
22978
|
+
load: async () => (await import("./rm-SSGETQVQ-QA-RiLoe.mjs")).rmCommand
|
|
22979
22979
|
},
|
|
22980
22980
|
{
|
|
22981
22981
|
name: "cp",
|
|
22982
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
22982
|
+
load: async () => (await import("./cp-BISAAS7A-C_3usEAm.mjs")).cpCommand
|
|
22983
22983
|
},
|
|
22984
22984
|
{
|
|
22985
22985
|
name: "mv",
|
|
22986
|
-
load: async () => (await import("./mv-W5BIQ646-
|
|
22986
|
+
load: async () => (await import("./mv-W5BIQ646-BzWIU_AO.mjs")).mvCommand
|
|
22987
22987
|
},
|
|
22988
22988
|
{
|
|
22989
22989
|
name: "ln",
|
|
22990
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
22990
|
+
load: async () => (await import("./ln-4LGSXXGD-BkSmlDkl.mjs")).lnCommand
|
|
22991
22991
|
},
|
|
22992
22992
|
{
|
|
22993
22993
|
name: "chmod",
|
|
@@ -23003,15 +23003,15 @@ var tt = [
|
|
|
23003
23003
|
},
|
|
23004
23004
|
{
|
|
23005
23005
|
name: "head",
|
|
23006
|
-
load: async () => (await import("./head-442HYESI-
|
|
23006
|
+
load: async () => (await import("./head-442HYESI-D7kW3fYu.mjs")).headCommand
|
|
23007
23007
|
},
|
|
23008
23008
|
{
|
|
23009
23009
|
name: "tail",
|
|
23010
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
23010
|
+
load: async () => (await import("./tail-R4PCA2C4-D9sohW7E.mjs")).tailCommand
|
|
23011
23011
|
},
|
|
23012
23012
|
{
|
|
23013
23013
|
name: "wc",
|
|
23014
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
23014
|
+
load: async () => (await import("./wc-LF7NU4LA-CDw6vOoa.mjs")).wcCommand
|
|
23015
23015
|
},
|
|
23016
23016
|
{
|
|
23017
23017
|
name: "stat",
|
|
@@ -23019,95 +23019,95 @@ var tt = [
|
|
|
23019
23019
|
},
|
|
23020
23020
|
{
|
|
23021
23021
|
name: "grep",
|
|
23022
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23022
|
+
load: async () => (await import("./grep-V3LQVMRQ-CVGsroUl.mjs")).grepCommand
|
|
23023
23023
|
},
|
|
23024
23024
|
{
|
|
23025
23025
|
name: "fgrep",
|
|
23026
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23026
|
+
load: async () => (await import("./grep-V3LQVMRQ-CVGsroUl.mjs")).fgrepCommand
|
|
23027
23027
|
},
|
|
23028
23028
|
{
|
|
23029
23029
|
name: "egrep",
|
|
23030
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
23030
|
+
load: async () => (await import("./grep-V3LQVMRQ-CVGsroUl.mjs")).egrepCommand
|
|
23031
23031
|
},
|
|
23032
23032
|
{
|
|
23033
23033
|
name: "rg",
|
|
23034
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
23034
|
+
load: async () => (await import("./rg-S4FXYXWB-D0N_niTv.mjs")).rgCommand
|
|
23035
23035
|
},
|
|
23036
23036
|
{
|
|
23037
23037
|
name: "sed",
|
|
23038
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
23038
|
+
load: async () => (await import("./sed-S5UIK574-D-EI4yzk.mjs")).sedCommand
|
|
23039
23039
|
},
|
|
23040
23040
|
{
|
|
23041
23041
|
name: "awk",
|
|
23042
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
23042
|
+
load: async () => (await import("./awk2-LA3USKJP-B6p73lgw.mjs")).awkCommand2
|
|
23043
23043
|
},
|
|
23044
23044
|
{
|
|
23045
23045
|
name: "sort",
|
|
23046
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
23046
|
+
load: async () => (await import("./sort-SW2YEO5B-BDB1WJ_f.mjs")).sortCommand
|
|
23047
23047
|
},
|
|
23048
23048
|
{
|
|
23049
23049
|
name: "uniq",
|
|
23050
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
23050
|
+
load: async () => (await import("./uniq-XSIZR6PB-CJCfktlG.mjs")).uniqCommand
|
|
23051
23051
|
},
|
|
23052
23052
|
{
|
|
23053
23053
|
name: "comm",
|
|
23054
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
23054
|
+
load: async () => (await import("./comm-VV2LDX2J-BxfBaO9v.mjs")).commCommand
|
|
23055
23055
|
},
|
|
23056
23056
|
{
|
|
23057
23057
|
name: "cut",
|
|
23058
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
23058
|
+
load: async () => (await import("./cut-OKARJCCV-BwRH6RGq.mjs")).cutCommand
|
|
23059
23059
|
},
|
|
23060
23060
|
{
|
|
23061
23061
|
name: "paste",
|
|
23062
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
23062
|
+
load: async () => (await import("./paste-7JC6S4DX-ApWd7pkL.mjs")).pasteCommand
|
|
23063
23063
|
},
|
|
23064
23064
|
{
|
|
23065
23065
|
name: "tr",
|
|
23066
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
23066
|
+
load: async () => (await import("./tr-36LHWFRQ-DyOCfShp.mjs")).trCommand
|
|
23067
23067
|
},
|
|
23068
23068
|
{
|
|
23069
23069
|
name: "rev",
|
|
23070
|
-
load: async () => (await import("./rev-5EHFX4EJ-
|
|
23070
|
+
load: async () => (await import("./rev-5EHFX4EJ-D0sz4Iq_.mjs")).rev
|
|
23071
23071
|
},
|
|
23072
23072
|
{
|
|
23073
23073
|
name: "nl",
|
|
23074
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
23074
|
+
load: async () => (await import("./nl-WSDW7I4O-B5Qgs4af.mjs")).nl
|
|
23075
23075
|
},
|
|
23076
23076
|
{
|
|
23077
23077
|
name: "fold",
|
|
23078
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
23078
|
+
load: async () => (await import("./fold-4TQNYMSW-DVwgP0UC.mjs")).fold
|
|
23079
23079
|
},
|
|
23080
23080
|
{
|
|
23081
23081
|
name: "expand",
|
|
23082
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23082
|
+
load: async () => (await import("./expand-JSPG6VOP-CGKZzaSY.mjs")).expand
|
|
23083
23083
|
},
|
|
23084
23084
|
{
|
|
23085
23085
|
name: "unexpand",
|
|
23086
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23086
|
+
load: async () => (await import("./unexpand-CADSA4VO-C1dl77nO.mjs")).unexpand
|
|
23087
23087
|
},
|
|
23088
23088
|
{
|
|
23089
23089
|
name: "strings",
|
|
23090
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23090
|
+
load: async () => (await import("./strings-6WDHLGMX-f5YX8v0H.mjs")).strings
|
|
23091
23091
|
},
|
|
23092
23092
|
{
|
|
23093
23093
|
name: "split",
|
|
23094
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23094
|
+
load: async () => (await import("./split-4KKZZXXE-lyrSVN3u.mjs")).split
|
|
23095
23095
|
},
|
|
23096
23096
|
{
|
|
23097
23097
|
name: "column",
|
|
23098
|
-
load: async () => (await import("./column-XT6UFXNQ-
|
|
23098
|
+
load: async () => (await import("./column-XT6UFXNQ-7oTwyEni.mjs")).column
|
|
23099
23099
|
},
|
|
23100
23100
|
{
|
|
23101
23101
|
name: "join",
|
|
23102
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23102
|
+
load: async () => (await import("./join-TBRGI3LQ-c7iJRovH.mjs")).join
|
|
23103
23103
|
},
|
|
23104
23104
|
{
|
|
23105
23105
|
name: "tee",
|
|
23106
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23106
|
+
load: async () => (await import("./tee-YUZ2FKCJ-ZbuSeqJ5.mjs")).teeCommand
|
|
23107
23107
|
},
|
|
23108
23108
|
{
|
|
23109
23109
|
name: "find",
|
|
23110
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23110
|
+
load: async () => (await import("./find-INTH3OLC-B0Wvrw-B.mjs")).findCommand
|
|
23111
23111
|
},
|
|
23112
23112
|
{
|
|
23113
23113
|
name: "basename",
|
|
@@ -23119,19 +23119,19 @@ var tt = [
|
|
|
23119
23119
|
},
|
|
23120
23120
|
{
|
|
23121
23121
|
name: "tree",
|
|
23122
|
-
load: async () => (await import("./tree-YLD52CNT-
|
|
23122
|
+
load: async () => (await import("./tree-YLD52CNT-DUU0HeD4.mjs")).treeCommand
|
|
23123
23123
|
},
|
|
23124
23124
|
{
|
|
23125
23125
|
name: "du",
|
|
23126
|
-
load: async () => (await import("./du-572XNP42-
|
|
23126
|
+
load: async () => (await import("./du-572XNP42-D4jNcp-X.mjs")).duCommand
|
|
23127
23127
|
},
|
|
23128
23128
|
{
|
|
23129
23129
|
name: "env",
|
|
23130
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23130
|
+
load: async () => (await import("./env-36M5BO7M-C9XK9wU5.mjs")).envCommand
|
|
23131
23131
|
},
|
|
23132
23132
|
{
|
|
23133
23133
|
name: "printenv",
|
|
23134
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23134
|
+
load: async () => (await import("./env-36M5BO7M-C9XK9wU5.mjs")).printenvCommand
|
|
23135
23135
|
},
|
|
23136
23136
|
{
|
|
23137
23137
|
name: "alias",
|
|
@@ -23147,7 +23147,7 @@ var tt = [
|
|
|
23147
23147
|
},
|
|
23148
23148
|
{
|
|
23149
23149
|
name: "xargs",
|
|
23150
|
-
load: async () => (await import("./xargs-MGZPH7AX-
|
|
23150
|
+
load: async () => (await import("./xargs-MGZPH7AX-DlA1e6QN.mjs")).xargsCommand
|
|
23151
23151
|
},
|
|
23152
23152
|
{
|
|
23153
23153
|
name: "true",
|
|
@@ -23163,23 +23163,23 @@ var tt = [
|
|
|
23163
23163
|
},
|
|
23164
23164
|
{
|
|
23165
23165
|
name: "bash",
|
|
23166
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23166
|
+
load: async () => (await import("./bash-YZ33HQZQ-CMw62FXG.mjs")).bashCommand
|
|
23167
23167
|
},
|
|
23168
23168
|
{
|
|
23169
23169
|
name: "sh",
|
|
23170
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23170
|
+
load: async () => (await import("./bash-YZ33HQZQ-CMw62FXG.mjs")).shCommand
|
|
23171
23171
|
},
|
|
23172
23172
|
{
|
|
23173
23173
|
name: "jq",
|
|
23174
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23174
|
+
load: async () => (await import("./jq-4XLYLOS5-DJzeBWR-.mjs")).jqCommand
|
|
23175
23175
|
},
|
|
23176
23176
|
{
|
|
23177
23177
|
name: "base64",
|
|
23178
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23178
|
+
load: async () => (await import("./base64-C2AIWVNC-CUJXWhMj.mjs")).base64Command
|
|
23179
23179
|
},
|
|
23180
23180
|
{
|
|
23181
23181
|
name: "diff",
|
|
23182
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23182
|
+
load: async () => (await import("./diff-MWJFIG7X-DhYLo0mp.mjs")).diffCommand
|
|
23183
23183
|
},
|
|
23184
23184
|
{
|
|
23185
23185
|
name: "date",
|
|
@@ -23187,15 +23187,15 @@ var tt = [
|
|
|
23187
23187
|
},
|
|
23188
23188
|
{
|
|
23189
23189
|
name: "sleep",
|
|
23190
|
-
load: async () => (await import("./sleep-X22JJINO-
|
|
23190
|
+
load: async () => (await import("./sleep-X22JJINO-C53-AcVT.mjs")).sleepCommand
|
|
23191
23191
|
},
|
|
23192
23192
|
{
|
|
23193
23193
|
name: "timeout",
|
|
23194
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23194
|
+
load: async () => (await import("./timeout-YDCRSLPQ-Br5lFMWx.mjs")).timeoutCommand
|
|
23195
23195
|
},
|
|
23196
23196
|
{
|
|
23197
23197
|
name: "time",
|
|
23198
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23198
|
+
load: async () => (await import("./time-D4LNBSWX-C3LWERRL.mjs")).timeCommand
|
|
23199
23199
|
},
|
|
23200
23200
|
{
|
|
23201
23201
|
name: "seq",
|
|
@@ -23203,19 +23203,19 @@ var tt = [
|
|
|
23203
23203
|
},
|
|
23204
23204
|
{
|
|
23205
23205
|
name: "expr",
|
|
23206
|
-
load: async () => (await import("./expr-5JAACS4X-
|
|
23206
|
+
load: async () => (await import("./expr-5JAACS4X-CoEm9kc0.mjs")).exprCommand
|
|
23207
23207
|
},
|
|
23208
23208
|
{
|
|
23209
23209
|
name: "md5sum",
|
|
23210
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23210
|
+
load: async () => (await import("./md5sum-SPU24VSG-CEcU1nA2.mjs")).md5sumCommand
|
|
23211
23211
|
},
|
|
23212
23212
|
{
|
|
23213
23213
|
name: "sha1sum",
|
|
23214
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23214
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-0sMSrmGo.mjs")).sha1sumCommand
|
|
23215
23215
|
},
|
|
23216
23216
|
{
|
|
23217
23217
|
name: "sha256sum",
|
|
23218
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23218
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-R1Kb1T6X.mjs")).sha256sumCommand
|
|
23219
23219
|
},
|
|
23220
23220
|
{
|
|
23221
23221
|
name: "file",
|
|
@@ -23223,11 +23223,11 @@ var tt = [
|
|
|
23223
23223
|
},
|
|
23224
23224
|
{
|
|
23225
23225
|
name: "html-to-markdown",
|
|
23226
|
-
load: async () => (await import("./html-to-markdown-JW4MSQZO-
|
|
23226
|
+
load: async () => (await import("./html-to-markdown-JW4MSQZO-smj2xdyh.mjs")).htmlToMarkdownCommand
|
|
23227
23227
|
},
|
|
23228
23228
|
{
|
|
23229
23229
|
name: "help",
|
|
23230
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23230
|
+
load: async () => (await import("./help-HZ6M2CKN-BgZ1QArM.mjs")).helpCommand
|
|
23231
23231
|
},
|
|
23232
23232
|
{
|
|
23233
23233
|
name: "which",
|
|
@@ -23235,7 +23235,7 @@ var tt = [
|
|
|
23235
23235
|
},
|
|
23236
23236
|
{
|
|
23237
23237
|
name: "tac",
|
|
23238
|
-
load: async () => (await import("./tac-2STMMJYW-
|
|
23238
|
+
load: async () => (await import("./tac-2STMMJYW-DuqiSwEr.mjs")).tac
|
|
23239
23239
|
},
|
|
23240
23240
|
{
|
|
23241
23241
|
name: "hostname",
|
|
@@ -23247,49 +23247,49 @@ var tt = [
|
|
|
23247
23247
|
},
|
|
23248
23248
|
{
|
|
23249
23249
|
name: "od",
|
|
23250
|
-
load: async () => (await import("./od-WOKFDJTP-
|
|
23250
|
+
load: async () => (await import("./od-WOKFDJTP-BUu7RaT-.mjs")).od
|
|
23251
23251
|
},
|
|
23252
23252
|
{
|
|
23253
23253
|
name: "gzip",
|
|
23254
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23254
|
+
load: async () => (await import("./gzip-O5ASJAFY-BPaJj7Ex.mjs")).gzipCommand
|
|
23255
23255
|
},
|
|
23256
23256
|
{
|
|
23257
23257
|
name: "gunzip",
|
|
23258
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23258
|
+
load: async () => (await import("./gzip-O5ASJAFY-BPaJj7Ex.mjs")).gunzipCommand
|
|
23259
23259
|
},
|
|
23260
23260
|
{
|
|
23261
23261
|
name: "zcat",
|
|
23262
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23262
|
+
load: async () => (await import("./gzip-O5ASJAFY-BPaJj7Ex.mjs")).zcatCommand
|
|
23263
23263
|
}
|
|
23264
23264
|
];
|
|
23265
23265
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (tt.push({
|
|
23266
23266
|
name: "tar",
|
|
23267
|
-
load: async () => (await import("./tar-STHHZTZ6-
|
|
23267
|
+
load: async () => (await import("./tar-STHHZTZ6-Dndro3Ro.mjs")).tarCommand
|
|
23268
23268
|
}), tt.push({
|
|
23269
23269
|
name: "yq",
|
|
23270
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23270
|
+
load: async () => (await import("./yq-4QJW3EQG-DROI7Q0Q.mjs")).yqCommand
|
|
23271
23271
|
}), tt.push({
|
|
23272
23272
|
name: "xan",
|
|
23273
|
-
load: async () => (await import("./xan-Y6WF3IRG
|
|
23273
|
+
load: async () => (await import("./xan-Y6WF3IRG--antYgD8.mjs")).xanCommand
|
|
23274
23274
|
}), tt.push({
|
|
23275
23275
|
name: "sqlite3",
|
|
23276
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23276
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-C-YDeldQ.mjs")).sqlite3Command
|
|
23277
23277
|
}));
|
|
23278
23278
|
var Yt = [];
|
|
23279
23279
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Yt.push({
|
|
23280
23280
|
name: "python3",
|
|
23281
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23281
|
+
load: async () => (await import("./python3-POMOR4OA-CRvY0hez.mjs")).python3Command
|
|
23282
23282
|
}), Yt.push({
|
|
23283
23283
|
name: "python",
|
|
23284
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23284
|
+
load: async () => (await import("./python3-POMOR4OA-CRvY0hez.mjs")).pythonCommand
|
|
23285
23285
|
}));
|
|
23286
23286
|
var Qt = [];
|
|
23287
23287
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Qt.push({
|
|
23288
23288
|
name: "js-exec",
|
|
23289
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23289
|
+
load: async () => (await import("./js-exec-N5KEZBH7-DdIKLU9x.mjs")).jsExecCommand
|
|
23290
23290
|
}), Qt.push({
|
|
23291
23291
|
name: "node",
|
|
23292
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23292
|
+
load: async () => (await import("./js-exec-N5KEZBH7-DdIKLU9x.mjs")).nodeStubCommand
|
|
23293
23293
|
}));
|
|
23294
23294
|
new TextEncoder();
|
|
23295
23295
|
Object.freeze({
|
|
@@ -24397,6 +24397,7 @@ const cronSourceSchema = z.object({
|
|
|
24397
24397
|
kind: z.literal("cron"),
|
|
24398
24398
|
...baseSourceShape,
|
|
24399
24399
|
schedule: cronScheduleSchema,
|
|
24400
|
+
timezone: z.string().trim().min(1).optional(),
|
|
24400
24401
|
payload: cronPayloadSchema.optional()
|
|
24401
24402
|
});
|
|
24402
24403
|
const pollSourceSchema = z.object({
|
|
@@ -24404,6 +24405,7 @@ const pollSourceSchema = z.object({
|
|
|
24404
24405
|
...baseSourceShape,
|
|
24405
24406
|
id: z.string().optional(),
|
|
24406
24407
|
schedule: cronScheduleSchema,
|
|
24408
|
+
timezone: z.string().trim().min(1).optional(),
|
|
24407
24409
|
run: z.function(),
|
|
24408
24410
|
filters: z.array(z.function()),
|
|
24409
24411
|
passes: z.function()
|
|
@@ -25943,7 +25945,7 @@ function withOrganizationProjectDatabase() {
|
|
|
25943
25945
|
trace.getTracer("keystroke.http");
|
|
25944
25946
|
//#endregion
|
|
25945
25947
|
//#region src/routes/account/users/me/avatar/GET.ts
|
|
25946
|
-
const handler$
|
|
25948
|
+
const handler$102 = async (c) => {
|
|
25947
25949
|
const dbUser = await selectUserById(c.get("user").id);
|
|
25948
25950
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
25949
25951
|
return c.json(UserAvatarSchema.parse({ url: dbUser.image ?? null }));
|
|
@@ -25962,7 +25964,7 @@ function avatarExtensionForContentType(contentType) {
|
|
|
25962
25964
|
}
|
|
25963
25965
|
//#endregion
|
|
25964
25966
|
//#region src/routes/account/users/me/avatar/presign/POST.ts
|
|
25965
|
-
const handler$
|
|
25967
|
+
const handler$101 = async (c) => {
|
|
25966
25968
|
const parsed = PresignUserAvatarRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
25967
25969
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar upload request" }), 400);
|
|
25968
25970
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -26002,7 +26004,7 @@ async function deleteStoredImageIfOwned(input) {
|
|
|
26002
26004
|
}
|
|
26003
26005
|
//#endregion
|
|
26004
26006
|
//#region src/routes/account/users/me/avatar/PATCH.ts
|
|
26005
|
-
const handler$
|
|
26007
|
+
const handler$100 = async (c) => {
|
|
26006
26008
|
const parsed = UserAvatarPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
26007
26009
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar update" }), 400);
|
|
26008
26010
|
const user = c.get("user");
|
|
@@ -26044,14 +26046,14 @@ const handler$99 = async (c) => {
|
|
|
26044
26046
|
};
|
|
26045
26047
|
//#endregion
|
|
26046
26048
|
//#region src/routes/account/users/me/preferences/GET.ts
|
|
26047
|
-
const handler$
|
|
26049
|
+
const handler$99 = async (c) => {
|
|
26048
26050
|
const dbUser = await selectUserById(c.get("user").id);
|
|
26049
26051
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
26050
26052
|
return c.json(UserPreferencesSchema.parse(normalizeUserPreferences(dbUser.preferences)));
|
|
26051
26053
|
};
|
|
26052
26054
|
//#endregion
|
|
26053
26055
|
//#region src/routes/account/users/me/preferences/PATCH.ts
|
|
26054
|
-
const handler$
|
|
26056
|
+
const handler$98 = async (c) => {
|
|
26055
26057
|
const parsed = UserPreferencesPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
26056
26058
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid preferences update" }), 400);
|
|
26057
26059
|
const user = c.get("user");
|
|
@@ -26066,7 +26068,7 @@ const handler$97 = async (c) => {
|
|
|
26066
26068
|
};
|
|
26067
26069
|
//#endregion
|
|
26068
26070
|
//#region src/routes/account/organizations/GET.ts
|
|
26069
|
-
const handler$
|
|
26071
|
+
const handler$97 = async (c) => {
|
|
26070
26072
|
const memberships = await selectUserOrganizations(c.get("user").id);
|
|
26071
26073
|
return c.json(ListOrganizationsResponseSchema.parse(memberships.map(mapUserOrganization)));
|
|
26072
26074
|
};
|
|
@@ -26189,7 +26191,7 @@ function createOrganizationHandler(deps) {
|
|
|
26189
26191
|
}
|
|
26190
26192
|
//#endregion
|
|
26191
26193
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
26192
|
-
const handler$
|
|
26194
|
+
const handler$96 = async (c) => {
|
|
26193
26195
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
26194
26196
|
slug: c.req.query("slug"),
|
|
26195
26197
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -26200,7 +26202,7 @@ const handler$95 = async (c) => {
|
|
|
26200
26202
|
};
|
|
26201
26203
|
//#endregion
|
|
26202
26204
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
26203
|
-
const handler$
|
|
26205
|
+
const handler$95 = async (c) => {
|
|
26204
26206
|
const { organizationId } = c.get("organization");
|
|
26205
26207
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
26206
26208
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -26208,7 +26210,7 @@ const handler$94 = async (c) => {
|
|
|
26208
26210
|
};
|
|
26209
26211
|
//#endregion
|
|
26210
26212
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
26211
|
-
const handler$
|
|
26213
|
+
const handler$94 = async (c) => {
|
|
26212
26214
|
const organization = c.get("organization");
|
|
26213
26215
|
const body = await c.req.json().catch(() => null);
|
|
26214
26216
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -26233,7 +26235,7 @@ const handler$93 = async (c) => {
|
|
|
26233
26235
|
};
|
|
26234
26236
|
//#endregion
|
|
26235
26237
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
26236
|
-
const handler$
|
|
26238
|
+
const handler$93 = async (c) => {
|
|
26237
26239
|
const { organizationId } = c.get("organization");
|
|
26238
26240
|
const organization = await selectOrganizationById(organizationId);
|
|
26239
26241
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -26282,7 +26284,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
26282
26284
|
publicUrl: finalized.publicUrl
|
|
26283
26285
|
};
|
|
26284
26286
|
}
|
|
26285
|
-
const handler$
|
|
26287
|
+
const handler$92 = async (c) => {
|
|
26286
26288
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
26287
26289
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
26288
26290
|
const { organizationId } = c.get("organization");
|
|
@@ -26310,7 +26312,7 @@ const handler$91 = async (c) => {
|
|
|
26310
26312
|
};
|
|
26311
26313
|
//#endregion
|
|
26312
26314
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
26313
|
-
const handler$
|
|
26315
|
+
const handler$91 = async (c) => {
|
|
26314
26316
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
26315
26317
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
26316
26318
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -26520,7 +26522,7 @@ function buildPlatformHistoryUsage(events, durationMs) {
|
|
|
26520
26522
|
}
|
|
26521
26523
|
//#endregion
|
|
26522
26524
|
//#region src/routes/account/history/GET.ts
|
|
26523
|
-
const handler$
|
|
26525
|
+
const handler$90 = async (c) => {
|
|
26524
26526
|
const organization = c.get("organization");
|
|
26525
26527
|
const ctx = accessContext(c);
|
|
26526
26528
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -26545,7 +26547,7 @@ const handler$89 = async (c) => {
|
|
|
26545
26547
|
};
|
|
26546
26548
|
//#endregion
|
|
26547
26549
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
26548
|
-
const handler$
|
|
26550
|
+
const handler$89 = async (c) => {
|
|
26549
26551
|
const runId = c.req.param("runId") ?? "";
|
|
26550
26552
|
if (!runId) return c.json(null, 404);
|
|
26551
26553
|
const core = await findHistoryRunCore(runId);
|
|
@@ -26605,7 +26607,7 @@ function toAgentSummary(row, options) {
|
|
|
26605
26607
|
}
|
|
26606
26608
|
//#endregion
|
|
26607
26609
|
//#region src/routes/account/agents/GET.ts
|
|
26608
|
-
const handler$
|
|
26610
|
+
const handler$88 = async (c) => {
|
|
26609
26611
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
26610
26612
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
26611
26613
|
const rows = await listActiveAgents(filter);
|
|
@@ -26619,7 +26621,7 @@ function touchResourceActivityBestEffort(options) {
|
|
|
26619
26621
|
}
|
|
26620
26622
|
//#endregion
|
|
26621
26623
|
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
26622
|
-
const handler$
|
|
26624
|
+
const handler$87 = async (c) => {
|
|
26623
26625
|
const agentId = c.req.param("agentId") ?? "";
|
|
26624
26626
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
26625
26627
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
@@ -26642,7 +26644,7 @@ const handler$86 = async (c) => {
|
|
|
26642
26644
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
26643
26645
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
26644
26646
|
}
|
|
26645
|
-
const handler$
|
|
26647
|
+
const handler$86 = async (c) => {
|
|
26646
26648
|
const agentId = c.req.param("agentId") ?? "";
|
|
26647
26649
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
26648
26650
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -26667,7 +26669,7 @@ function isStorageNotFoundError(error) {
|
|
|
26667
26669
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
26668
26670
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
26669
26671
|
}
|
|
26670
|
-
const handler$
|
|
26672
|
+
const handler$85 = async (c) => {
|
|
26671
26673
|
const agentId = c.req.param("agentId") ?? "";
|
|
26672
26674
|
const path = c.req.query("path");
|
|
26673
26675
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -26721,7 +26723,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
26721
26723
|
}
|
|
26722
26724
|
//#endregion
|
|
26723
26725
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
26724
|
-
const handler$
|
|
26726
|
+
const handler$84 = async (c) => {
|
|
26725
26727
|
const agentId = c.req.param("agentId") ?? "";
|
|
26726
26728
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
26727
26729
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -26744,7 +26746,7 @@ const handler$83 = async (c) => {
|
|
|
26744
26746
|
};
|
|
26745
26747
|
//#endregion
|
|
26746
26748
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
26747
|
-
const handler$
|
|
26749
|
+
const handler$83 = async (c) => {
|
|
26748
26750
|
const agentId = c.req.param("agentId") ?? "";
|
|
26749
26751
|
const path = c.req.query("path");
|
|
26750
26752
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -26796,7 +26798,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
26796
26798
|
}
|
|
26797
26799
|
//#endregion
|
|
26798
26800
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
26799
|
-
const handler$
|
|
26801
|
+
const handler$82 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
26800
26802
|
//#endregion
|
|
26801
26803
|
//#region src/routes/account/resources/workflows.ts
|
|
26802
26804
|
function toWorkflowSummary(row, options) {
|
|
@@ -26813,7 +26815,7 @@ function toWorkflowSummary(row, options) {
|
|
|
26813
26815
|
}
|
|
26814
26816
|
//#endregion
|
|
26815
26817
|
//#region src/routes/account/workflows/GET.ts
|
|
26816
|
-
const handler$
|
|
26818
|
+
const handler$81 = async (c) => {
|
|
26817
26819
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
26818
26820
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
26819
26821
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -26822,7 +26824,7 @@ const handler$80 = async (c) => {
|
|
|
26822
26824
|
};
|
|
26823
26825
|
//#endregion
|
|
26824
26826
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
26825
|
-
const handler$
|
|
26827
|
+
const handler$80 = async (c) => {
|
|
26826
26828
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
26827
26829
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
26828
26830
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -27273,7 +27275,7 @@ function buildWorkflowCanvas(input) {
|
|
|
27273
27275
|
//#region src/routes/account/workflows/[workflowId]/canvas/GET.ts
|
|
27274
27276
|
/** Bumped when the annotation prompt/model changes, so cached annotations invalidate. */
|
|
27275
27277
|
const ANNOTATIONS_GENERATOR_VERSION = "wf-canvas-annotations-v1";
|
|
27276
|
-
const handler$
|
|
27278
|
+
const handler$79 = async (c) => {
|
|
27277
27279
|
const organization = c.get("organization");
|
|
27278
27280
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27279
27281
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -27446,7 +27448,7 @@ function toBinding(key, description) {
|
|
|
27446
27448
|
* each of its requirements currently binds to (read-only, no decryption). Not
|
|
27447
27449
|
* content-hash cached — credential state changes without a redeploy.
|
|
27448
27450
|
*/
|
|
27449
|
-
const handler$
|
|
27451
|
+
const handler$78 = async (c) => {
|
|
27450
27452
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27451
27453
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
27452
27454
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -27605,7 +27607,7 @@ function toCanvasRunStatus(status) {
|
|
|
27605
27607
|
if (status === "canceled") return "canceled";
|
|
27606
27608
|
return "running";
|
|
27607
27609
|
}
|
|
27608
|
-
const handler$
|
|
27610
|
+
const handler$77 = async (c) => {
|
|
27609
27611
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27610
27612
|
const runId = c.req.param("runId") ?? "";
|
|
27611
27613
|
if (!workflowId.trim() || !runId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow or run id" }), 400);
|
|
@@ -27660,7 +27662,7 @@ async function loadWorkflowSource(organization, projectId, sourcePath) {
|
|
|
27660
27662
|
return null;
|
|
27661
27663
|
}
|
|
27662
27664
|
}
|
|
27663
|
-
const handler$
|
|
27665
|
+
const handler$76 = async (c) => {
|
|
27664
27666
|
const organization = c.get("organization");
|
|
27665
27667
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27666
27668
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -27761,7 +27763,7 @@ const handler$75 = async (c) => {
|
|
|
27761
27763
|
};
|
|
27762
27764
|
//#endregion
|
|
27763
27765
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/GET.ts
|
|
27764
|
-
const handler$
|
|
27766
|
+
const handler$75 = async (c) => {
|
|
27765
27767
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27766
27768
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
27767
27769
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -27776,7 +27778,7 @@ const handler$74 = async (c) => {
|
|
|
27776
27778
|
};
|
|
27777
27779
|
//#endregion
|
|
27778
27780
|
//#region src/routes/account/workflows/[workflowId]/run-inputs/PUT.ts
|
|
27779
|
-
const handler$
|
|
27781
|
+
const handler$74 = async (c) => {
|
|
27780
27782
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27781
27783
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
27782
27784
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -27808,7 +27810,7 @@ function parseRunInput(requestSchema, input) {
|
|
|
27808
27810
|
* the workflow row's request schema, creates a pending run, and enqueues it on
|
|
27809
27811
|
* the project's queue (drained by the project runtime worker). Returns the run id.
|
|
27810
27812
|
*/
|
|
27811
|
-
const handler$
|
|
27813
|
+
const handler$73 = async (c) => {
|
|
27812
27814
|
const { organizationId } = c.get("organization");
|
|
27813
27815
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27814
27816
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -27857,7 +27859,7 @@ function extensionFromUpload$1(contentType, filename) {
|
|
|
27857
27859
|
* hydration reads by project id + storage key, so runs read the file the same
|
|
27858
27860
|
* way `storeFile` output does.
|
|
27859
27861
|
*/
|
|
27860
|
-
const handler$
|
|
27862
|
+
const handler$72 = async (c) => {
|
|
27861
27863
|
const { organizationId } = c.get("organization");
|
|
27862
27864
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27863
27865
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
@@ -27882,7 +27884,7 @@ const handler$71 = async (c) => {
|
|
|
27882
27884
|
};
|
|
27883
27885
|
//#endregion
|
|
27884
27886
|
//#region src/routes/account/workflows/[workflowId]/runs/GET.ts
|
|
27885
|
-
const handler$
|
|
27887
|
+
const handler$71 = async (c) => {
|
|
27886
27888
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
27887
27889
|
if (!workflowId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid workflow id" }), 400);
|
|
27888
27890
|
const resolved = await resolveWorkflow(c, workflowId);
|
|
@@ -27905,7 +27907,7 @@ const handler$70 = async (c) => {
|
|
|
27905
27907
|
};
|
|
27906
27908
|
//#endregion
|
|
27907
27909
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
27908
|
-
const handler$
|
|
27910
|
+
const handler$70 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
27909
27911
|
//#endregion
|
|
27910
27912
|
//#region src/routes/account/resources/skills.ts
|
|
27911
27913
|
function toSkillSummary(row) {
|
|
@@ -27922,7 +27924,7 @@ function toSkillSummary(row) {
|
|
|
27922
27924
|
}
|
|
27923
27925
|
//#endregion
|
|
27924
27926
|
//#region src/routes/account/skills/GET.ts
|
|
27925
|
-
const handler$
|
|
27927
|
+
const handler$69 = async (c) => {
|
|
27926
27928
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
27927
27929
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
27928
27930
|
const rows = await listActiveSkills(filter);
|
|
@@ -27930,7 +27932,7 @@ const handler$68 = async (c) => {
|
|
|
27930
27932
|
};
|
|
27931
27933
|
//#endregion
|
|
27932
27934
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
27933
|
-
const handler$
|
|
27935
|
+
const handler$68 = async (c) => {
|
|
27934
27936
|
const skillId = c.req.param("skillId") ?? "";
|
|
27935
27937
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
27936
27938
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -28039,7 +28041,7 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
28039
28041
|
}
|
|
28040
28042
|
//#endregion
|
|
28041
28043
|
//#region src/routes/account/triggers/GET.ts
|
|
28042
|
-
const handler$
|
|
28044
|
+
const handler$67 = async (c) => {
|
|
28043
28045
|
const organization = c.get("organization");
|
|
28044
28046
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
28045
28047
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
@@ -28051,7 +28053,7 @@ const handler$66 = async (c) => {
|
|
|
28051
28053
|
};
|
|
28052
28054
|
//#endregion
|
|
28053
28055
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
28054
|
-
const handler$
|
|
28056
|
+
const handler$66 = async (c) => {
|
|
28055
28057
|
const organization = c.get("organization");
|
|
28056
28058
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28057
28059
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -28067,7 +28069,7 @@ const handler$65 = async (c) => {
|
|
|
28067
28069
|
};
|
|
28068
28070
|
//#endregion
|
|
28069
28071
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
28070
|
-
const handler$
|
|
28072
|
+
const handler$65 = async (c) => {
|
|
28071
28073
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28072
28074
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
28073
28075
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -28096,7 +28098,7 @@ const handler$64 = async (c) => {
|
|
|
28096
28098
|
};
|
|
28097
28099
|
//#endregion
|
|
28098
28100
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
28099
|
-
const handler$
|
|
28101
|
+
const handler$64 = async (c) => {
|
|
28100
28102
|
const { organizationId } = c.get("organization");
|
|
28101
28103
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28102
28104
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -28133,7 +28135,7 @@ function envelope(row, status, hash) {
|
|
|
28133
28135
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
28134
28136
|
});
|
|
28135
28137
|
}
|
|
28136
|
-
const handler$
|
|
28138
|
+
const handler$63 = async (c) => {
|
|
28137
28139
|
const { organizationId } = c.get("organization");
|
|
28138
28140
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28139
28141
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -28179,6 +28181,7 @@ const handler$62 = async (c) => {
|
|
|
28179
28181
|
description: record.description,
|
|
28180
28182
|
type: record.type,
|
|
28181
28183
|
schedule: record.schedule,
|
|
28184
|
+
timezone: record.timezone,
|
|
28182
28185
|
sourcePath: record.sourcePath,
|
|
28183
28186
|
sourceContents,
|
|
28184
28187
|
assignments: record.assignments
|
|
@@ -28193,7 +28196,7 @@ const handler$62 = async (c) => {
|
|
|
28193
28196
|
};
|
|
28194
28197
|
//#endregion
|
|
28195
28198
|
//#region src/routes/account/triggers/[triggerId]/attachments/[attachmentId]/PATCH.ts
|
|
28196
|
-
const handler$
|
|
28199
|
+
const handler$62 = async (c) => {
|
|
28197
28200
|
const organization = c.get("organization");
|
|
28198
28201
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28199
28202
|
const attachmentId = c.req.param("attachmentId") ?? "";
|
|
@@ -28263,7 +28266,7 @@ var InvokeHttpError = class extends Error {
|
|
|
28263
28266
|
* Manually invoke a trigger from the dashboard or CLI. Validates webhook input against
|
|
28264
28267
|
* stored attachment schemas, then enqueues a trigger job on the project's queue.
|
|
28265
28268
|
*/
|
|
28266
|
-
const handler$
|
|
28269
|
+
const handler$61 = async (c) => {
|
|
28267
28270
|
const { organizationId } = c.get("organization");
|
|
28268
28271
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28269
28272
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -28336,7 +28339,7 @@ const handler$60 = async (c) => {
|
|
|
28336
28339
|
* Form metadata for the dashboard invoke popover: webhook request schemas and
|
|
28337
28340
|
* cron's read-only static payload.
|
|
28338
28341
|
*/
|
|
28339
|
-
const handler$
|
|
28342
|
+
const handler$60 = async (c) => {
|
|
28340
28343
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
28341
28344
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
28342
28345
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -28402,7 +28405,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
28402
28405
|
//#endregion
|
|
28403
28406
|
//#region src/routes/account/recents/GET.ts
|
|
28404
28407
|
const RECENTS_LIMIT = 50;
|
|
28405
|
-
const handler$
|
|
28408
|
+
const handler$59 = async (c) => {
|
|
28406
28409
|
const userId = c.get("user").id;
|
|
28407
28410
|
const organization = c.get("organization");
|
|
28408
28411
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -28428,7 +28431,7 @@ const handler$58 = async (c) => {
|
|
|
28428
28431
|
};
|
|
28429
28432
|
//#endregion
|
|
28430
28433
|
//#region src/routes/account/projects/GET.ts
|
|
28431
|
-
const handler$
|
|
28434
|
+
const handler$58 = async (c) => {
|
|
28432
28435
|
const organization = c.get("organization");
|
|
28433
28436
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
28434
28437
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -28454,7 +28457,7 @@ function mergeProjectListMetrics(input) {
|
|
|
28454
28457
|
}
|
|
28455
28458
|
//#endregion
|
|
28456
28459
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
28457
|
-
const handler$
|
|
28460
|
+
const handler$57 = async (c) => {
|
|
28458
28461
|
const organization = c.get("organization");
|
|
28459
28462
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
28460
28463
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -28499,7 +28502,7 @@ function createCreateProjectHandler(projectQuotaGate) {
|
|
|
28499
28502
|
}
|
|
28500
28503
|
//#endregion
|
|
28501
28504
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
28502
|
-
const handler$
|
|
28505
|
+
const handler$55 = async (c) => {
|
|
28503
28506
|
const organization = c.get("organization");
|
|
28504
28507
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
28505
28508
|
slug: c.req.query("slug"),
|
|
@@ -28511,12 +28514,12 @@ const handler$54 = async (c) => {
|
|
|
28511
28514
|
};
|
|
28512
28515
|
//#endregion
|
|
28513
28516
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
28514
|
-
const handler$
|
|
28517
|
+
const handler$54 = async (c) => {
|
|
28515
28518
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
28516
28519
|
};
|
|
28517
28520
|
//#endregion
|
|
28518
28521
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
28519
|
-
const handler$
|
|
28522
|
+
const handler$53 = async (c) => {
|
|
28520
28523
|
const organization = c.get("organization");
|
|
28521
28524
|
const project = c.get("project");
|
|
28522
28525
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28534,7 +28537,7 @@ const handler$52 = async (c) => {
|
|
|
28534
28537
|
};
|
|
28535
28538
|
//#endregion
|
|
28536
28539
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
28537
|
-
const handler$
|
|
28540
|
+
const handler$52 = async (c) => {
|
|
28538
28541
|
const organization = c.get("organization");
|
|
28539
28542
|
const project = c.get("project");
|
|
28540
28543
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -28542,7 +28545,7 @@ const handler$51 = async (c) => {
|
|
|
28542
28545
|
};
|
|
28543
28546
|
//#endregion
|
|
28544
28547
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
28545
|
-
const handler$
|
|
28548
|
+
const handler$51 = async (c) => {
|
|
28546
28549
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
28547
28550
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
28548
28551
|
};
|
|
@@ -28550,7 +28553,7 @@ const handler$50 = async (c) => {
|
|
|
28550
28553
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
28551
28554
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
28552
28555
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
28553
|
-
const handler$
|
|
28556
|
+
const handler$50 = async (c) => {
|
|
28554
28557
|
const project = c.get("project");
|
|
28555
28558
|
const { organizationId } = c.get("organization");
|
|
28556
28559
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -28578,7 +28581,7 @@ const handler$49 = async (c) => {
|
|
|
28578
28581
|
//#endregion
|
|
28579
28582
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
28580
28583
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
28581
|
-
const handler$
|
|
28584
|
+
const handler$49 = async (c) => {
|
|
28582
28585
|
const project = c.get("project");
|
|
28583
28586
|
const { organizationId } = c.get("organization");
|
|
28584
28587
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -28597,7 +28600,7 @@ const handler$48 = async (c) => {
|
|
|
28597
28600
|
};
|
|
28598
28601
|
//#endregion
|
|
28599
28602
|
//#region src/routes/account/projects/[projectId]/artifacts/active/source/GET.ts
|
|
28600
|
-
const handler$
|
|
28603
|
+
const handler$48 = async (c) => {
|
|
28601
28604
|
const project = c.get("project");
|
|
28602
28605
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
28603
28606
|
if (!active?.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "No active source for project" }), 404);
|
|
@@ -28626,7 +28629,7 @@ const TRIGGER_KINDS = new Set([
|
|
|
28626
28629
|
"trigger-poll-group",
|
|
28627
28630
|
"cron-schedule"
|
|
28628
28631
|
]);
|
|
28629
|
-
const handler$
|
|
28632
|
+
const handler$47 = async (c) => {
|
|
28630
28633
|
const project = c.get("project");
|
|
28631
28634
|
const user = c.get("user");
|
|
28632
28635
|
const artifactId = c.req.param("artifactId");
|
|
@@ -28690,7 +28693,7 @@ const handler$46 = async (c) => {
|
|
|
28690
28693
|
//#endregion
|
|
28691
28694
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
28692
28695
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
28693
|
-
const handler$
|
|
28696
|
+
const handler$46 = async (c) => {
|
|
28694
28697
|
const project = c.get("project");
|
|
28695
28698
|
const artifactId = c.req.param("artifactId");
|
|
28696
28699
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -28718,7 +28721,7 @@ const handler$45 = async (c) => {
|
|
|
28718
28721
|
};
|
|
28719
28722
|
//#endregion
|
|
28720
28723
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
28721
|
-
const handler$
|
|
28724
|
+
const handler$45 = async (c) => {
|
|
28722
28725
|
const project = c.get("project");
|
|
28723
28726
|
const artifactId = c.req.param("artifactId");
|
|
28724
28727
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -28750,7 +28753,7 @@ function extensionFromUpload(contentType, filename) {
|
|
|
28750
28753
|
if (fromName && /^[a-z0-9]+$/.test(fromName)) return fromName;
|
|
28751
28754
|
return chatAttachmentExtension(contentType) ?? "bin";
|
|
28752
28755
|
}
|
|
28753
|
-
const handler$
|
|
28756
|
+
const handler$44 = async (c) => {
|
|
28754
28757
|
const project = c.get("project");
|
|
28755
28758
|
const slug = c.req.param("slug");
|
|
28756
28759
|
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "Agent slug is required" }), 400);
|
|
@@ -28775,7 +28778,7 @@ const handler$43 = async (c) => {
|
|
|
28775
28778
|
};
|
|
28776
28779
|
//#endregion
|
|
28777
28780
|
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/[...key]/GET.ts
|
|
28778
|
-
const handler$
|
|
28781
|
+
const handler$43 = async (c) => {
|
|
28779
28782
|
const project = c.get("project");
|
|
28780
28783
|
const slug = c.req.param("slug");
|
|
28781
28784
|
const keyParam = c.req.param("key");
|
|
@@ -28821,7 +28824,7 @@ function resolveSourcePaths(rows, kindDir, filePaths) {
|
|
|
28821
28824
|
}] : [];
|
|
28822
28825
|
});
|
|
28823
28826
|
}
|
|
28824
|
-
const handler$
|
|
28827
|
+
const handler$42 = async (c) => {
|
|
28825
28828
|
const project = c.get("project");
|
|
28826
28829
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
28827
28830
|
if (!active || !active.sourceManifestJson) return c.json(ListProjectFilesResponseSchema.parse({
|
|
@@ -28866,7 +28869,7 @@ function ifNoneMatchMatches(ifNoneMatch, etag) {
|
|
|
28866
28869
|
}
|
|
28867
28870
|
//#endregion
|
|
28868
28871
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/files/content/GET.ts
|
|
28869
|
-
const handler$
|
|
28872
|
+
const handler$41 = async (c) => {
|
|
28870
28873
|
const project = c.get("project");
|
|
28871
28874
|
const artifactId = c.req.param("artifactId");
|
|
28872
28875
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -28912,7 +28915,7 @@ function createProjectReachabilityHandler(hosting) {
|
|
|
28912
28915
|
}
|
|
28913
28916
|
//#endregion
|
|
28914
28917
|
//#region src/routes/account/projects/[projectId]/members/GET.ts
|
|
28915
|
-
const handler$
|
|
28918
|
+
const handler$40 = async (c) => {
|
|
28916
28919
|
const project = c.get("project");
|
|
28917
28920
|
const currentUserId = c.get("user").id;
|
|
28918
28921
|
const members = await selectProjectMembers(project.id);
|
|
@@ -28920,7 +28923,7 @@ const handler$39 = async (c) => {
|
|
|
28920
28923
|
};
|
|
28921
28924
|
//#endregion
|
|
28922
28925
|
//#region src/routes/account/projects/[projectId]/members/POST.ts
|
|
28923
|
-
const handler$
|
|
28926
|
+
const handler$39 = async (c) => {
|
|
28924
28927
|
const organization = c.get("organization");
|
|
28925
28928
|
const project = c.get("project");
|
|
28926
28929
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28936,7 +28939,7 @@ const handler$38 = async (c) => {
|
|
|
28936
28939
|
};
|
|
28937
28940
|
//#endregion
|
|
28938
28941
|
//#region src/routes/account/projects/[projectId]/members/[userId]/PATCH.ts
|
|
28939
|
-
const handler$
|
|
28942
|
+
const handler$38 = async (c) => {
|
|
28940
28943
|
const project = c.get("project");
|
|
28941
28944
|
const userId = c.req.param("userId");
|
|
28942
28945
|
const body = await c.req.json().catch(() => null);
|
|
@@ -28953,7 +28956,7 @@ const handler$37 = async (c) => {
|
|
|
28953
28956
|
};
|
|
28954
28957
|
//#endregion
|
|
28955
28958
|
//#region src/routes/account/projects/[projectId]/members/[userId]/DELETE.ts
|
|
28956
|
-
const handler$
|
|
28959
|
+
const handler$37 = async (c) => {
|
|
28957
28960
|
const project = c.get("project");
|
|
28958
28961
|
const userId = c.req.param("userId");
|
|
28959
28962
|
if (!userId) return c.json(ErrorResponseSchema.parse({ error: "User id is required" }), 400);
|
|
@@ -28967,7 +28970,7 @@ const handler$36 = async (c) => {
|
|
|
28967
28970
|
};
|
|
28968
28971
|
//#endregion
|
|
28969
28972
|
//#region src/routes/account/projects/[projectId]/members/me/DELETE.ts
|
|
28970
|
-
const handler$
|
|
28973
|
+
const handler$36 = async (c) => {
|
|
28971
28974
|
const project = c.get("project");
|
|
28972
28975
|
const userId = c.get("user").id;
|
|
28973
28976
|
try {
|
|
@@ -28980,13 +28983,13 @@ const handler$35 = async (c) => {
|
|
|
28980
28983
|
};
|
|
28981
28984
|
//#endregion
|
|
28982
28985
|
//#region src/routes/account/projects/[projectId]/settings/GET.ts
|
|
28983
|
-
const handler$
|
|
28986
|
+
const handler$35 = async (c) => {
|
|
28984
28987
|
const project = c.get("project");
|
|
28985
28988
|
return c.json(ProjectSettingsResponseSchema.parse(mapProjectSettings(project)));
|
|
28986
28989
|
};
|
|
28987
28990
|
//#endregion
|
|
28988
28991
|
//#region src/routes/account/projects/[projectId]/settings/PATCH.ts
|
|
28989
|
-
const handler$
|
|
28992
|
+
const handler$34 = async (c) => {
|
|
28990
28993
|
const organization = c.get("organization");
|
|
28991
28994
|
const project = c.get("project");
|
|
28992
28995
|
const body = await c.req.json().catch(() => null);
|
|
@@ -29108,7 +29111,7 @@ async function enrichCredentialInstances(rows, organizationId) {
|
|
|
29108
29111
|
}
|
|
29109
29112
|
//#endregion
|
|
29110
29113
|
//#region src/routes/account/credentials/GET.ts
|
|
29111
|
-
const handler$
|
|
29114
|
+
const handler$33 = async (c) => {
|
|
29112
29115
|
const organization = c.get("organization");
|
|
29113
29116
|
const user = c.get("user");
|
|
29114
29117
|
const query = ListCredentialsPageQuerySchema.parse({
|
|
@@ -29133,11 +29136,11 @@ const handler$32 = async (c) => {
|
|
|
29133
29136
|
};
|
|
29134
29137
|
//#endregion
|
|
29135
29138
|
//#region src/routes/account/credentials/POST.ts
|
|
29136
|
-
function withTargetScope(target, fn) {
|
|
29139
|
+
function withTargetScope$1(target, fn) {
|
|
29137
29140
|
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
29138
29141
|
return fn();
|
|
29139
29142
|
}
|
|
29140
|
-
const handler$
|
|
29143
|
+
const handler$32 = async (c) => {
|
|
29141
29144
|
const organization = c.get("organization");
|
|
29142
29145
|
const user = c.get("user");
|
|
29143
29146
|
const parsed = CreateCredentialsRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
@@ -29181,13 +29184,13 @@ const handler$31 = async (c) => {
|
|
|
29181
29184
|
const appName = displayCredentialAppName(input.appId);
|
|
29182
29185
|
const siblingCounts = /* @__PURE__ */ new Map();
|
|
29183
29186
|
for (const target of targets) {
|
|
29184
|
-
const siblings = await withTargetScope(target, () => selectCredentialInstancesForScope(input.appId, target.scopeType, target.scopeId));
|
|
29187
|
+
const siblings = await withTargetScope$1(target, () => selectCredentialInstancesForScope(input.appId, target.scopeType, target.scopeId));
|
|
29185
29188
|
siblingCounts.set(target, siblings.length);
|
|
29186
29189
|
}
|
|
29187
29190
|
const value = input.value;
|
|
29188
29191
|
const createdIds = [];
|
|
29189
29192
|
for (const target of targets) {
|
|
29190
|
-
const siblings = await withTargetScope(target, () => selectCredentialInstancesForScope(input.appId, target.scopeType, target.scopeId));
|
|
29193
|
+
const siblings = await withTargetScope$1(target, () => selectCredentialInstancesForScope(input.appId, target.scopeType, target.scopeId));
|
|
29191
29194
|
const label = resolveUniqueCredentialInstanceLabel({
|
|
29192
29195
|
baseLabel: input.label?.trim() || buildCredentialInstanceLabel({
|
|
29193
29196
|
scopeType: target.scopeType,
|
|
@@ -29197,7 +29200,7 @@ const handler$31 = async (c) => {
|
|
|
29197
29200
|
takenLabels: siblings.map((row) => row.label)
|
|
29198
29201
|
});
|
|
29199
29202
|
const id = crypto.randomUUID();
|
|
29200
|
-
await withTargetScope(target, () => setCredentialInstanceSecret({
|
|
29203
|
+
await withTargetScope$1(target, () => setCredentialInstanceSecret({
|
|
29201
29204
|
id,
|
|
29202
29205
|
key: input.appId,
|
|
29203
29206
|
scopeType: target.scopeType,
|
|
@@ -29253,7 +29256,7 @@ async function canAccessCredentialRow(c, row) {
|
|
|
29253
29256
|
}
|
|
29254
29257
|
//#endregion
|
|
29255
29258
|
//#region src/routes/account/credentials/[credentialId]/GET.ts
|
|
29256
|
-
const handler$
|
|
29259
|
+
const handler$31 = async (c) => {
|
|
29257
29260
|
const organization = c.get("organization");
|
|
29258
29261
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
29259
29262
|
const row = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
@@ -29264,7 +29267,57 @@ const handler$30 = async (c) => {
|
|
|
29264
29267
|
};
|
|
29265
29268
|
//#endregion
|
|
29266
29269
|
//#region src/routes/account/credentials/[credentialId]/PATCH.ts
|
|
29267
|
-
|
|
29270
|
+
async function resolveScopeDestination(c, scope, projectSlug) {
|
|
29271
|
+
const user = c.get("user");
|
|
29272
|
+
const organization = c.get("organization");
|
|
29273
|
+
if (scope === "user") return {
|
|
29274
|
+
ok: true,
|
|
29275
|
+
destination: {
|
|
29276
|
+
scopeType: "user",
|
|
29277
|
+
scopeId: user.id
|
|
29278
|
+
}
|
|
29279
|
+
};
|
|
29280
|
+
if (scope === "organization") return {
|
|
29281
|
+
ok: true,
|
|
29282
|
+
destination: {
|
|
29283
|
+
scopeType: "organization",
|
|
29284
|
+
scopeId: getServerTenantScopeId()
|
|
29285
|
+
}
|
|
29286
|
+
};
|
|
29287
|
+
const slug = projectSlug?.trim();
|
|
29288
|
+
if (!slug) return {
|
|
29289
|
+
ok: false,
|
|
29290
|
+
status: 400,
|
|
29291
|
+
error: "projectSlug is required when scope is project"
|
|
29292
|
+
};
|
|
29293
|
+
const project = await selectProjectForOrganizationBySlug(organization.organizationId, slug);
|
|
29294
|
+
if (!project || !await canAccessProjectId(c, project.id, canReadProject)) return {
|
|
29295
|
+
ok: false,
|
|
29296
|
+
status: 400,
|
|
29297
|
+
error: `Project "${slug}" not found`
|
|
29298
|
+
};
|
|
29299
|
+
return {
|
|
29300
|
+
ok: true,
|
|
29301
|
+
destination: {
|
|
29302
|
+
scopeType: "project",
|
|
29303
|
+
scopeId: project.id,
|
|
29304
|
+
projectScope: project.id
|
|
29305
|
+
}
|
|
29306
|
+
};
|
|
29307
|
+
}
|
|
29308
|
+
function isSameScope(row, destination) {
|
|
29309
|
+
return row.scopeType === destination.scopeType && row.scopeId === destination.scopeId;
|
|
29310
|
+
}
|
|
29311
|
+
function withDestinationScope(destination, fn) {
|
|
29312
|
+
if (destination.projectScope) return runWithProjectScope(destination.projectScope, fn);
|
|
29313
|
+
return fn();
|
|
29314
|
+
}
|
|
29315
|
+
function sharedConnectionIdFor(row, scopeType, scopeId) {
|
|
29316
|
+
if (row.authKind !== "oauth_managed" && row.authKind !== "keystroke") return row.sharedConnectionId;
|
|
29317
|
+
if (!row.connectionId) return row.sharedConnectionId;
|
|
29318
|
+
return mcpEntityId(scopeType, scopeId);
|
|
29319
|
+
}
|
|
29320
|
+
const handler$30 = async (c) => {
|
|
29268
29321
|
const organization = c.get("organization");
|
|
29269
29322
|
const user = c.get("user");
|
|
29270
29323
|
const credentialId = c.req.param("credentialId") ?? "";
|
|
@@ -29277,31 +29330,52 @@ const handler$29 = async (c) => {
|
|
|
29277
29330
|
return c.json({ error: message }, 400);
|
|
29278
29331
|
}
|
|
29279
29332
|
if (parsed.data.value && existing.authKind !== "api_key") return c.json({ error: "Only api-key credentials support secret rotation" }, 400);
|
|
29333
|
+
let scopeType = toAppCredentialScope(existing.scopeType);
|
|
29334
|
+
let scopeId = existing.scopeId;
|
|
29335
|
+
let writeScope = null;
|
|
29336
|
+
if (parsed.data.scope !== void 0) {
|
|
29337
|
+
const resolved = await resolveScopeDestination(c, parsed.data.scope, parsed.data.projectSlug);
|
|
29338
|
+
if (!resolved.ok) return c.json({ error: resolved.error }, resolved.status);
|
|
29339
|
+
if (isSameScope(existing, resolved.destination)) return c.json({ error: "Credential is already in this scope" }, 400);
|
|
29340
|
+
scopeType = resolved.destination.scopeType;
|
|
29341
|
+
scopeId = resolved.destination.scopeId;
|
|
29342
|
+
writeScope = resolved.destination;
|
|
29343
|
+
}
|
|
29280
29344
|
const currentLabel = existing.label ?? existing.name ?? null;
|
|
29281
29345
|
const label = parsed.data.label !== void 0 ? parsed.data.label : currentLabel;
|
|
29282
29346
|
const labelChanged = parsed.data.label !== void 0 && parsed.data.label !== currentLabel;
|
|
29347
|
+
const scopeChanged = writeScope !== null;
|
|
29283
29348
|
const isDefault = parsed.data.isDefault !== void 0 ? parsed.data.isDefault : Boolean(existing.isDefault);
|
|
29349
|
+
const siblings = await withDestinationScope(writeScope ?? {
|
|
29350
|
+
scopeType,
|
|
29351
|
+
scopeId: scopeId ?? "",
|
|
29352
|
+
projectScope: existing.scopeType === "project" ? existing.projectId : void 0
|
|
29353
|
+
}, () => selectCredentialInstancesForScope(existing.appSlug, scopeType, scopeId));
|
|
29354
|
+
if ((labelChanged || scopeChanged) && siblings.some((row) => row.id !== credentialId && (row.label ?? row.name ?? null) === label)) return c.json({ error: "A credential with this label already exists" }, 409);
|
|
29284
29355
|
let slug = existing.slug;
|
|
29285
29356
|
let name = existing.name;
|
|
29286
29357
|
if (labelChanged) {
|
|
29287
|
-
const siblings = await withCredentialRowScope(existing, () => selectCredentialInstancesForScope(existing.appSlug, existing.scopeType, existing.scopeId));
|
|
29288
|
-
if (siblings.some((row) => row.id !== credentialId && (row.label ?? row.name ?? null) === label)) return c.json({ error: "A credential with this label already exists" }, 409);
|
|
29289
29358
|
slug = deriveCredentialInstanceSlug({
|
|
29290
29359
|
appSlug: existing.appSlug,
|
|
29291
29360
|
name: label,
|
|
29292
29361
|
takenSlugs: siblings.filter((row) => row.id !== credentialId).map((row) => row.slug)
|
|
29293
29362
|
});
|
|
29294
29363
|
name = label;
|
|
29295
|
-
}
|
|
29296
|
-
|
|
29364
|
+
} else if (scopeChanged && siblings.some((row) => row.id !== credentialId && row.slug === slug)) slug = deriveCredentialInstanceSlug({
|
|
29365
|
+
appSlug: existing.appSlug,
|
|
29366
|
+
name: label,
|
|
29367
|
+
takenSlugs: siblings.filter((row) => row.id !== credentialId).map((row) => row.slug)
|
|
29368
|
+
});
|
|
29369
|
+
const sharedConnectionId = sharedConnectionIdFor(existing, scopeType, scopeId ?? "");
|
|
29370
|
+
const persist = async () => {
|
|
29297
29371
|
if (parsed.data.value) {
|
|
29298
29372
|
await setCredentialInstanceSecret({
|
|
29299
29373
|
id: existing.id,
|
|
29300
29374
|
key: existing.appSlug,
|
|
29301
29375
|
slug,
|
|
29302
29376
|
name,
|
|
29303
|
-
scopeType
|
|
29304
|
-
scopeId
|
|
29377
|
+
scopeType,
|
|
29378
|
+
scopeId,
|
|
29305
29379
|
label,
|
|
29306
29380
|
isDefault,
|
|
29307
29381
|
value: parsed.data.value
|
|
@@ -29310,8 +29384,8 @@ const handler$29 = async (c) => {
|
|
|
29310
29384
|
}
|
|
29311
29385
|
if (isDefault) await clearCredentialInstanceDefaults({
|
|
29312
29386
|
appSlug: existing.appSlug,
|
|
29313
|
-
scopeType
|
|
29314
|
-
scopeId
|
|
29387
|
+
scopeType,
|
|
29388
|
+
scopeId,
|
|
29315
29389
|
exceptId: credentialId
|
|
29316
29390
|
});
|
|
29317
29391
|
await upsertCredentialInstance({
|
|
@@ -29319,23 +29393,135 @@ const handler$29 = async (c) => {
|
|
|
29319
29393
|
appSlug: existing.appSlug,
|
|
29320
29394
|
slug,
|
|
29321
29395
|
name,
|
|
29322
|
-
scopeType
|
|
29323
|
-
scopeId
|
|
29396
|
+
scopeType,
|
|
29397
|
+
scopeId,
|
|
29324
29398
|
label,
|
|
29325
29399
|
isDefault,
|
|
29326
29400
|
authKind: existing.authKind,
|
|
29327
29401
|
ciphertext: existing.ciphertext,
|
|
29328
29402
|
connectionId: existing.connectionId,
|
|
29329
|
-
sharedConnectionId
|
|
29403
|
+
sharedConnectionId,
|
|
29404
|
+
grantedScopes: existing.grantedScopes,
|
|
29330
29405
|
createdAt: existing.createdAt,
|
|
29331
29406
|
updatedAt: /* @__PURE__ */ new Date()
|
|
29332
29407
|
});
|
|
29333
|
-
}
|
|
29408
|
+
};
|
|
29409
|
+
if (writeScope) await withDestinationScope(writeScope, persist);
|
|
29410
|
+
else await withCredentialRowScope(existing, persist);
|
|
29334
29411
|
const updated = await selectCredentialInstanceById(credentialId);
|
|
29335
29412
|
const [credential] = await enrichCredentialInstances(updated ? [updated] : [], organization.organizationId);
|
|
29336
29413
|
return c.json(GetCredentialResponseSchema.parse(credential));
|
|
29337
29414
|
};
|
|
29338
29415
|
//#endregion
|
|
29416
|
+
//#region src/routes/account/credentials/[credentialId]/duplicate/POST.ts
|
|
29417
|
+
function withTargetScope(target, fn) {
|
|
29418
|
+
if (target.projectScope) return runWithProjectScope(target.projectScope, fn);
|
|
29419
|
+
return fn();
|
|
29420
|
+
}
|
|
29421
|
+
const handler$29 = async (c) => {
|
|
29422
|
+
const organization = c.get("organization");
|
|
29423
|
+
const user = c.get("user");
|
|
29424
|
+
const credentialId = c.req.param("credentialId") ?? "";
|
|
29425
|
+
const source = credentialId ? await selectCredentialInstanceById(credentialId) : void 0;
|
|
29426
|
+
if (!source || toAppCredentialScope(source.scopeType) === null) return c.json({ error: "Credential not found" }, 404);
|
|
29427
|
+
if (!await canAccessCredentialRow(c, source) || !canManageCredential(source, user.id)) return c.json({ error: "Forbidden" }, 403);
|
|
29428
|
+
const parsed = DuplicateCredentialRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
29429
|
+
if (!parsed.success) {
|
|
29430
|
+
const message = parsed.error.issues[0]?.message ?? "Invalid request body";
|
|
29431
|
+
return c.json({ error: message }, 400);
|
|
29432
|
+
}
|
|
29433
|
+
const input = parsed.data;
|
|
29434
|
+
const resolvedProjects = [];
|
|
29435
|
+
for (const slug of input.projects) {
|
|
29436
|
+
const project = await selectProjectForOrganizationBySlug(organization.organizationId, slug);
|
|
29437
|
+
if (!project || !await canAccessProjectId(c, project.id, canReadProject)) return c.json({ error: `Project "${slug}" not found` }, 400);
|
|
29438
|
+
resolvedProjects.push({ id: project.id });
|
|
29439
|
+
}
|
|
29440
|
+
const targets = [
|
|
29441
|
+
...resolvedProjects.map((project) => ({
|
|
29442
|
+
scopeType: "project",
|
|
29443
|
+
scopeId: project.id,
|
|
29444
|
+
projectScope: project.id
|
|
29445
|
+
})),
|
|
29446
|
+
...input.createOrganizationCredential ? [{
|
|
29447
|
+
scopeType: "organization",
|
|
29448
|
+
scopeId: getServerTenantScopeId()
|
|
29449
|
+
}] : [],
|
|
29450
|
+
...input.createUserProvidedCredential ? [{
|
|
29451
|
+
scopeType: "user",
|
|
29452
|
+
scopeId: user.id
|
|
29453
|
+
}] : []
|
|
29454
|
+
];
|
|
29455
|
+
let apiKeyValue;
|
|
29456
|
+
if (source.authKind === "api_key") {
|
|
29457
|
+
const raw = await readCredentialInstanceSecret(source.id);
|
|
29458
|
+
if (!raw) return c.json({ error: "Credential secret not found" }, 400);
|
|
29459
|
+
try {
|
|
29460
|
+
apiKeyValue = JSON.parse(raw);
|
|
29461
|
+
} catch {
|
|
29462
|
+
return c.json({ error: "Credential secret is invalid" }, 400);
|
|
29463
|
+
}
|
|
29464
|
+
}
|
|
29465
|
+
const sourceLabel = source.label ?? source.name ?? source.appSlug;
|
|
29466
|
+
const baseLabel = input.label?.trim() || `${sourceLabel} (copy)`;
|
|
29467
|
+
const createdIds = [];
|
|
29468
|
+
for (const target of targets) {
|
|
29469
|
+
const siblings = await withTargetScope(target, () => selectCredentialInstancesForScope(source.appSlug, target.scopeType, target.scopeId));
|
|
29470
|
+
const label = resolveUniqueCredentialInstanceLabel({
|
|
29471
|
+
baseLabel,
|
|
29472
|
+
takenLabels: siblings.map((row) => row.label)
|
|
29473
|
+
});
|
|
29474
|
+
const slug = deriveCredentialInstanceSlug({
|
|
29475
|
+
appSlug: source.appSlug,
|
|
29476
|
+
name: label,
|
|
29477
|
+
takenSlugs: siblings.map((row) => row.slug)
|
|
29478
|
+
});
|
|
29479
|
+
const id = crypto.randomUUID();
|
|
29480
|
+
await withTargetScope(target, async () => {
|
|
29481
|
+
if (source.authKind === "api_key") {
|
|
29482
|
+
await setCredentialInstanceSecret({
|
|
29483
|
+
id,
|
|
29484
|
+
key: source.appSlug,
|
|
29485
|
+
slug,
|
|
29486
|
+
name: label,
|
|
29487
|
+
scopeType: target.scopeType,
|
|
29488
|
+
scopeId: target.scopeId,
|
|
29489
|
+
label,
|
|
29490
|
+
isDefault: false,
|
|
29491
|
+
value: apiKeyValue
|
|
29492
|
+
});
|
|
29493
|
+
return;
|
|
29494
|
+
}
|
|
29495
|
+
const now = /* @__PURE__ */ new Date();
|
|
29496
|
+
await upsertCredentialInstance({
|
|
29497
|
+
id,
|
|
29498
|
+
appSlug: source.appSlug,
|
|
29499
|
+
slug,
|
|
29500
|
+
name: label,
|
|
29501
|
+
scopeType: target.scopeType,
|
|
29502
|
+
scopeId: target.scopeId,
|
|
29503
|
+
label,
|
|
29504
|
+
isDefault: false,
|
|
29505
|
+
authKind: source.authKind,
|
|
29506
|
+
ciphertext: null,
|
|
29507
|
+
connectionId: source.connectionId,
|
|
29508
|
+
sharedConnectionId: source.connectionId ? mcpEntityId(target.scopeType, target.scopeId) : source.sharedConnectionId,
|
|
29509
|
+
grantedScopes: source.grantedScopes,
|
|
29510
|
+
createdAt: now,
|
|
29511
|
+
updatedAt: now
|
|
29512
|
+
});
|
|
29513
|
+
});
|
|
29514
|
+
createdIds.push(id);
|
|
29515
|
+
}
|
|
29516
|
+
const rows = [];
|
|
29517
|
+
for (const id of createdIds) {
|
|
29518
|
+
const row = await selectCredentialInstanceById(id);
|
|
29519
|
+
if (row) rows.push(row);
|
|
29520
|
+
}
|
|
29521
|
+
const credentials = await enrichCredentialInstances(rows, organization.organizationId);
|
|
29522
|
+
return c.json(DuplicateCredentialsResponseSchema.parse(credentials), 201);
|
|
29523
|
+
};
|
|
29524
|
+
//#endregion
|
|
29339
29525
|
//#region src/routes/account/credentials/[credentialId]/DELETE.ts
|
|
29340
29526
|
function createDeleteCredentialHandler(options = {}) {
|
|
29341
29527
|
return async (c) => {
|
|
@@ -30235,22 +30421,22 @@ function mountAccountRoutes(options) {
|
|
|
30235
30421
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
30236
30422
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
30237
30423
|
const requireOrgParam = requireOrganizationParam();
|
|
30238
|
-
account.get("/organizations", handler$
|
|
30239
|
-
account.get("/organizations/slug-available", handler$
|
|
30424
|
+
account.get("/organizations", handler$97);
|
|
30425
|
+
account.get("/organizations/slug-available", handler$96);
|
|
30240
30426
|
account.post("/organizations", createOrganizationHandler(options));
|
|
30241
|
-
account.get("/organizations/:organizationId", requireOrgParam, handler$
|
|
30242
|
-
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$
|
|
30243
|
-
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$
|
|
30244
|
-
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$
|
|
30245
|
-
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$
|
|
30427
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$95);
|
|
30428
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$94);
|
|
30429
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$93);
|
|
30430
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$92);
|
|
30431
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$91);
|
|
30246
30432
|
account.get("/invitations", handler$24);
|
|
30247
30433
|
account.post("/invitations/:invitationId/accept", handler$23);
|
|
30248
30434
|
account.post("/invitations/:invitationId/decline", handler$22);
|
|
30249
|
-
account.get("/users/me/avatar", handler$
|
|
30250
|
-
account.post("/users/me/avatar/presign", handler$
|
|
30251
|
-
account.patch("/users/me/avatar", handler$
|
|
30252
|
-
account.get("/users/me/preferences", handler$
|
|
30253
|
-
account.patch("/users/me/preferences", handler$
|
|
30435
|
+
account.get("/users/me/avatar", handler$102);
|
|
30436
|
+
account.post("/users/me/avatar/presign", handler$101);
|
|
30437
|
+
account.patch("/users/me/avatar", handler$100);
|
|
30438
|
+
account.get("/users/me/preferences", handler$99);
|
|
30439
|
+
account.patch("/users/me/preferences", handler$98);
|
|
30254
30440
|
const withOrgDb = withOrganizationProjectDatabase();
|
|
30255
30441
|
orgScoped.get("/apps", handler$21);
|
|
30256
30442
|
orgScoped.get("/apps/slug-available", handler$14);
|
|
@@ -30274,69 +30460,70 @@ function mountAccountRoutes(options) {
|
|
|
30274
30460
|
orgScoped.post("/managed-service-credentials", requireManagedServicesManage, handler$6);
|
|
30275
30461
|
orgScoped.patch("/managed-service-credentials/:id", requireManagedServicesManage, handler$5);
|
|
30276
30462
|
orgScoped.delete("/managed-service-credentials/:id", requireManagedServicesManage, handler$4);
|
|
30277
|
-
orgScoped.get("/agents", withOrgDb, handler$
|
|
30278
|
-
orgScoped.get("/agents/:agentId", withOrgDb, handler$
|
|
30279
|
-
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$
|
|
30280
|
-
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$
|
|
30281
|
-
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$
|
|
30282
|
-
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$
|
|
30283
|
-
orgScoped.get("/workflows", withOrgDb, handler$
|
|
30284
|
-
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$
|
|
30285
|
-
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$
|
|
30286
|
-
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$
|
|
30287
|
-
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$
|
|
30288
|
-
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$
|
|
30289
|
-
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$
|
|
30290
|
-
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
30291
|
-
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$
|
|
30292
|
-
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$
|
|
30293
|
-
orgScoped.post("/workflows/:workflowId/attachments/presign", withOrgDb, handler$
|
|
30294
|
-
orgScoped.get("/skills", withOrgDb, handler$
|
|
30295
|
-
orgScoped.get("/skills/:skillId", withOrgDb, handler$
|
|
30296
|
-
orgScoped.get("/triggers", withOrgDb, handler$
|
|
30297
|
-
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$
|
|
30298
|
-
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$
|
|
30299
|
-
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$
|
|
30300
|
-
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$
|
|
30301
|
-
orgScoped.get("/triggers/:triggerId/invoke-inputs", withOrgDb, handler$
|
|
30302
|
-
orgScoped.post("/triggers/:triggerId/invoke", withOrgDb, handler$
|
|
30303
|
-
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$
|
|
30304
|
-
orgScoped.get("/recents", withOrgDb, handler$
|
|
30305
|
-
orgScoped.get("/history", withOrgDb, handler$
|
|
30306
|
-
orgScoped.get("/history/:runId", withOrgDb, handler$
|
|
30307
|
-
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$
|
|
30308
|
-
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$
|
|
30309
|
-
orgScoped.get("/credentials", withOrgDb, handler$
|
|
30310
|
-
orgScoped.post("/credentials", withOrgDb, handler$
|
|
30311
|
-
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$
|
|
30312
|
-
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$
|
|
30463
|
+
orgScoped.get("/agents", withOrgDb, handler$88);
|
|
30464
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$87);
|
|
30465
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$86);
|
|
30466
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$85);
|
|
30467
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$84);
|
|
30468
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$83);
|
|
30469
|
+
orgScoped.get("/workflows", withOrgDb, handler$81);
|
|
30470
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$80);
|
|
30471
|
+
orgScoped.get("/workflows/:workflowId/canvas", withOrgDb, handler$79);
|
|
30472
|
+
orgScoped.get("/workflows/:workflowId/canvas/credentials", withOrgDb, handler$78);
|
|
30473
|
+
orgScoped.get("/workflows/:workflowId/canvas/runs/:runId", withOrgDb, handler$77);
|
|
30474
|
+
orgScoped.get("/workflows/:workflowId/overview", withOrgDb, handler$76);
|
|
30475
|
+
orgScoped.get("/workflows/:workflowId/runs", withOrgDb, handler$71);
|
|
30476
|
+
orgScoped.get("/workflows/:workflowId/run-inputs", withOrgDb, handler$75);
|
|
30477
|
+
orgScoped.put("/workflows/:workflowId/run-inputs", withOrgDb, handler$74);
|
|
30478
|
+
orgScoped.post("/workflows/:workflowId/run", withOrgDb, handler$73);
|
|
30479
|
+
orgScoped.post("/workflows/:workflowId/attachments/presign", withOrgDb, handler$72);
|
|
30480
|
+
orgScoped.get("/skills", withOrgDb, handler$69);
|
|
30481
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$68);
|
|
30482
|
+
orgScoped.get("/triggers", withOrgDb, handler$67);
|
|
30483
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$66);
|
|
30484
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$65);
|
|
30485
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$64);
|
|
30486
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$63);
|
|
30487
|
+
orgScoped.get("/triggers/:triggerId/invoke-inputs", withOrgDb, handler$60);
|
|
30488
|
+
orgScoped.post("/triggers/:triggerId/invoke", withOrgDb, handler$61);
|
|
30489
|
+
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$62);
|
|
30490
|
+
orgScoped.get("/recents", withOrgDb, handler$59);
|
|
30491
|
+
orgScoped.get("/history", withOrgDb, handler$90);
|
|
30492
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$89);
|
|
30493
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$70);
|
|
30494
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$82);
|
|
30495
|
+
orgScoped.get("/credentials", withOrgDb, handler$33);
|
|
30496
|
+
orgScoped.post("/credentials", withOrgDb, handler$32);
|
|
30497
|
+
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$31(c, next));
|
|
30498
|
+
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$30);
|
|
30499
|
+
orgScoped.post("/credentials/:credentialId/duplicate", withOrgDb, handler$29);
|
|
30313
30500
|
orgScoped.delete("/credentials/:credentialId", withOrgDb, deleteCredential);
|
|
30314
|
-
orgScoped.get("/projects", handler$
|
|
30315
|
-
orgScoped.get("/projects/slug-available", handler$
|
|
30316
|
-
orgScoped.get("/projects/metrics", withOrgDb, handler$
|
|
30501
|
+
orgScoped.get("/projects", handler$58);
|
|
30502
|
+
orgScoped.get("/projects/slug-available", handler$55);
|
|
30503
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$57);
|
|
30317
30504
|
orgScoped.post("/projects", createCreateProjectHandler(options.projectQuotaGate));
|
|
30318
|
-
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$
|
|
30319
|
-
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
30320
|
-
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$
|
|
30321
|
-
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$
|
|
30322
|
-
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
30323
|
-
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$
|
|
30324
|
-
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$
|
|
30325
|
-
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
30326
|
-
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$
|
|
30327
|
-
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$
|
|
30505
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$54);
|
|
30506
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$53);
|
|
30507
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$52);
|
|
30508
|
+
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$35);
|
|
30509
|
+
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$34);
|
|
30510
|
+
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$40);
|
|
30511
|
+
projectScoped.post("/:projectId/members", requireProject(), requireProjectMember, requireInvitableProjectRole, handler$39);
|
|
30512
|
+
projectScoped.patch("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$38);
|
|
30513
|
+
projectScoped.delete("/:projectId/members/:userId", requireProject(), requireProjectMember, requireProjectManageMembers, handler$37);
|
|
30514
|
+
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$36);
|
|
30328
30515
|
projectScoped.get("/:projectId/reachability", requireProject(), requireProjectMember, createProjectReachabilityHandler(options.hosting));
|
|
30329
|
-
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
30330
|
-
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
30331
|
-
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
30332
|
-
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$
|
|
30333
|
-
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$
|
|
30334
|
-
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
30335
|
-
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
30336
|
-
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
30337
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
30338
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
30339
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
30516
|
+
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$42);
|
|
30517
|
+
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$44);
|
|
30518
|
+
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$43);
|
|
30519
|
+
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$41);
|
|
30520
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$51);
|
|
30521
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$49);
|
|
30522
|
+
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$48);
|
|
30523
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$50);
|
|
30524
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$47);
|
|
30525
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$46);
|
|
30526
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$45);
|
|
30340
30527
|
orgScoped.route("/projects", projectScoped);
|
|
30341
30528
|
account.route("/", orgScoped);
|
|
30342
30529
|
return account;
|
|
@@ -30915,4 +31102,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
30915
31102
|
//#endregion
|
|
30916
31103
|
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 };
|
|
30917
31104
|
|
|
30918
|
-
//# sourceMappingURL=start-
|
|
31105
|
+
//# sourceMappingURL=start-Cu01lH1L.mjs.map
|