@keystrokehq/platform 0.1.15 → 0.1.17
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-ndKcI7DM.cjs → awk2-LA3USKJP-BRL8hoJr.cjs} +2 -2
- package/dist/{awk2-LA3USKJP-ndKcI7DM.cjs.map → awk2-LA3USKJP-BRL8hoJr.cjs.map} +1 -1
- package/dist/{awk2-LA3USKJP-CjVfJ2Ek.mjs → awk2-LA3USKJP-DKj2S8Ek.mjs} +2 -2
- package/dist/{awk2-LA3USKJP-CjVfJ2Ek.mjs.map → awk2-LA3USKJP-DKj2S8Ek.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-DP8b1uDM.mjs → base64-C2AIWVNC-BQ8hMW4e.mjs} +2 -2
- package/dist/{base64-C2AIWVNC-DP8b1uDM.mjs.map → base64-C2AIWVNC-BQ8hMW4e.mjs.map} +1 -1
- package/dist/{base64-C2AIWVNC-BEwNyjmk.cjs → base64-C2AIWVNC-BeIfMgG0.cjs} +2 -2
- package/dist/{base64-C2AIWVNC-BEwNyjmk.cjs.map → base64-C2AIWVNC-BeIfMgG0.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-Bdf8NBCR.cjs → bash-YZ33HQZQ-BBmW_sBm.cjs} +2 -2
- package/dist/{bash-YZ33HQZQ-Bdf8NBCR.cjs.map → bash-YZ33HQZQ-BBmW_sBm.cjs.map} +1 -1
- package/dist/{bash-YZ33HQZQ-k5epF0Hk.mjs → bash-YZ33HQZQ-ClnL17Y6.mjs} +2 -2
- package/dist/{bash-YZ33HQZQ-k5epF0Hk.mjs.map → bash-YZ33HQZQ-ClnL17Y6.mjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-Cydo14oz.cjs → cat-TSFMZVYS-BjBv1R_B.cjs} +3 -3
- package/dist/{cat-TSFMZVYS-Cydo14oz.cjs.map → cat-TSFMZVYS-BjBv1R_B.cjs.map} +1 -1
- package/dist/{cat-TSFMZVYS-B71EtSkq.mjs → cat-TSFMZVYS-nWh0JVcx.mjs} +3 -3
- package/dist/{cat-TSFMZVYS-B71EtSkq.mjs.map → cat-TSFMZVYS-nWh0JVcx.mjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-uX1ZSxRR.cjs → chunk-5H5SCKJM-Bw9uIIYM.cjs} +2 -2
- package/dist/{chunk-5H5SCKJM-uX1ZSxRR.cjs.map → chunk-5H5SCKJM-Bw9uIIYM.cjs.map} +1 -1
- package/dist/{chunk-5H5SCKJM-DI6Pnkon.mjs → chunk-5H5SCKJM-DzClFYtS.mjs} +2 -2
- package/dist/{chunk-5H5SCKJM-DI6Pnkon.mjs.map → chunk-5H5SCKJM-DzClFYtS.mjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-B4Ofqo1C.cjs → chunk-AQ6FYS2X-Bh-eSaeE.cjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-B4Ofqo1C.cjs.map → chunk-AQ6FYS2X-Bh-eSaeE.cjs.map} +1 -1
- package/dist/{chunk-AQ6FYS2X-BMfXJbhZ.mjs → chunk-AQ6FYS2X-hOUXIatW.mjs} +2 -2
- package/dist/{chunk-AQ6FYS2X-BMfXJbhZ.mjs.map → chunk-AQ6FYS2X-hOUXIatW.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-Bw_-5SAg.mjs → chunk-CHFEPBH4-CCzpBNH2.mjs} +2 -2
- package/dist/{chunk-CHFEPBH4-Bw_-5SAg.mjs.map → chunk-CHFEPBH4-CCzpBNH2.mjs.map} +1 -1
- package/dist/{chunk-CHFEPBH4-DbZR9GZQ.cjs → chunk-CHFEPBH4-DgQQk8C5.cjs} +2 -2
- package/dist/{chunk-CHFEPBH4-DbZR9GZQ.cjs.map → chunk-CHFEPBH4-DgQQk8C5.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-DtA_BYx8.cjs → chunk-EBAPSGAO-C-VkQkm8.cjs} +2 -2
- package/dist/{chunk-EBAPSGAO-DtA_BYx8.cjs.map → chunk-EBAPSGAO-C-VkQkm8.cjs.map} +1 -1
- package/dist/{chunk-EBAPSGAO-DWVsxzLu.mjs → chunk-EBAPSGAO-CNsqQnvw.mjs} +2 -2
- package/dist/{chunk-EBAPSGAO-DWVsxzLu.mjs.map → chunk-EBAPSGAO-CNsqQnvw.mjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-BogisQrl.cjs → chunk-LEKBROJD-BV7qysHQ.cjs} +2 -2
- package/dist/{chunk-LEKBROJD-BogisQrl.cjs.map → chunk-LEKBROJD-BV7qysHQ.cjs.map} +1 -1
- package/dist/{chunk-LEKBROJD-CZ7C9n06.mjs → chunk-LEKBROJD-C4M7s-PX.mjs} +2 -2
- package/dist/{chunk-LEKBROJD-CZ7C9n06.mjs.map → chunk-LEKBROJD-C4M7s-PX.mjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-C2d2al9t.cjs → chunk-VPADYNBD-BKFKzPeO.cjs} +2 -2
- package/dist/{chunk-VPADYNBD-C2d2al9t.cjs.map → chunk-VPADYNBD-BKFKzPeO.cjs.map} +1 -1
- package/dist/{chunk-VPADYNBD-MK2rpoNr.mjs → chunk-VPADYNBD-BjZe1tD9.mjs} +2 -2
- package/dist/{chunk-VPADYNBD-MK2rpoNr.mjs.map → chunk-VPADYNBD-BjZe1tD9.mjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-B_uC7Plv.cjs → chunk-YCLFEX4T-DP11uU0Z.cjs} +2 -2
- package/dist/{chunk-YCLFEX4T-B_uC7Plv.cjs.map → chunk-YCLFEX4T-DP11uU0Z.cjs.map} +1 -1
- package/dist/{chunk-YCLFEX4T-CginHHZu.mjs → chunk-YCLFEX4T-TM9LeSmH.mjs} +2 -2
- package/dist/{chunk-YCLFEX4T-CginHHZu.mjs.map → chunk-YCLFEX4T-TM9LeSmH.mjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-DxHyv7On.cjs → column-XT6UFXNQ-BKCKn8Kt.cjs} +2 -2
- package/dist/{column-XT6UFXNQ-DxHyv7On.cjs.map → column-XT6UFXNQ-BKCKn8Kt.cjs.map} +1 -1
- package/dist/{column-XT6UFXNQ-Bru7qSpI.mjs → column-XT6UFXNQ-BiWBbIze.mjs} +2 -2
- package/dist/{column-XT6UFXNQ-Bru7qSpI.mjs.map → column-XT6UFXNQ-BiWBbIze.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-DY-3N0QI.mjs → comm-VV2LDX2J-DZPbcsx6.mjs} +2 -2
- package/dist/{comm-VV2LDX2J-DY-3N0QI.mjs.map → comm-VV2LDX2J-DZPbcsx6.mjs.map} +1 -1
- package/dist/{comm-VV2LDX2J-aj4ULi4q.cjs → comm-VV2LDX2J-KS8sKJiM.cjs} +2 -2
- package/dist/{comm-VV2LDX2J-aj4ULi4q.cjs.map → comm-VV2LDX2J-KS8sKJiM.cjs.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{cp-BISAAS7A-C0Hf1lhz.cjs → cp-BISAAS7A-C7iyygW6.cjs} +2 -2
- package/dist/{cp-BISAAS7A-C0Hf1lhz.cjs.map → cp-BISAAS7A-C7iyygW6.cjs.map} +1 -1
- package/dist/{cp-BISAAS7A-CalHTw_P.mjs → cp-BISAAS7A-mMaN142c.mjs} +2 -2
- package/dist/{cp-BISAAS7A-CalHTw_P.mjs.map → cp-BISAAS7A-mMaN142c.mjs.map} +1 -1
- package/dist/{cut-OKARJCCV-D0eRFAva.cjs → cut-OKARJCCV-B2g61y_K.cjs} +3 -3
- package/dist/{cut-OKARJCCV-D0eRFAva.cjs.map → cut-OKARJCCV-B2g61y_K.cjs.map} +1 -1
- package/dist/{cut-OKARJCCV-6WZtDEcb.mjs → cut-OKARJCCV-DsZL_hAR.mjs} +3 -3
- package/dist/{cut-OKARJCCV-6WZtDEcb.mjs.map → cut-OKARJCCV-DsZL_hAR.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-RaEhGuKY.mjs → diff-MWJFIG7X-2NZsc000.mjs} +2 -2
- package/dist/{diff-MWJFIG7X-RaEhGuKY.mjs.map → diff-MWJFIG7X-2NZsc000.mjs.map} +1 -1
- package/dist/{diff-MWJFIG7X-COe_aM14.cjs → diff-MWJFIG7X-DkKded0v.cjs} +2 -2
- package/dist/{diff-MWJFIG7X-COe_aM14.cjs.map → diff-MWJFIG7X-DkKded0v.cjs.map} +1 -1
- package/dist/{dist-CeLVqJha.mjs → dist-Bc-S2RCv.mjs} +114 -8
- package/dist/dist-Bc-S2RCv.mjs.map +1 -0
- package/dist/{dist-B6kL0Ibf.cjs → dist-CZOTxy6V.cjs} +149 -7
- package/dist/dist-CZOTxy6V.cjs.map +1 -0
- package/dist/{du-572XNP42-B0dMTg3g.cjs → du-572XNP42-De4eLmjc.cjs} +2 -2
- package/dist/{du-572XNP42-B0dMTg3g.cjs.map → du-572XNP42-De4eLmjc.cjs.map} +1 -1
- package/dist/{du-572XNP42-2WFnksIV.mjs → du-572XNP42-hqTlcZtr.mjs} +2 -2
- package/dist/{du-572XNP42-2WFnksIV.mjs.map → du-572XNP42-hqTlcZtr.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-Bnx-2EhT.mjs → env-36M5BO7M-CeHLsR2L.mjs} +2 -2
- package/dist/{env-36M5BO7M-Bnx-2EhT.mjs.map → env-36M5BO7M-CeHLsR2L.mjs.map} +1 -1
- package/dist/{env-36M5BO7M-BIPVi1Qt.cjs → env-36M5BO7M-ZhEOWJvv.cjs} +2 -2
- package/dist/{env-36M5BO7M-BIPVi1Qt.cjs.map → env-36M5BO7M-ZhEOWJvv.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-CbKC_Z21.cjs → expand-JSPG6VOP-BlVu_4fo.cjs} +2 -2
- package/dist/{expand-JSPG6VOP-CbKC_Z21.cjs.map → expand-JSPG6VOP-BlVu_4fo.cjs.map} +1 -1
- package/dist/{expand-JSPG6VOP-BLdhYtgs.mjs → expand-JSPG6VOP-DwXfkyUC.mjs} +2 -2
- package/dist/{expand-JSPG6VOP-BLdhYtgs.mjs.map → expand-JSPG6VOP-DwXfkyUC.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-7kI-a5A1.mjs → expr-5JAACS4X-Du0xEimU.mjs} +2 -2
- package/dist/{expr-5JAACS4X-7kI-a5A1.mjs.map → expr-5JAACS4X-Du0xEimU.mjs.map} +1 -1
- package/dist/{expr-5JAACS4X-BR4ukHYc.cjs → expr-5JAACS4X-FYbQ0i7J.cjs} +2 -2
- package/dist/{expr-5JAACS4X-BR4ukHYc.cjs.map → expr-5JAACS4X-FYbQ0i7J.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-DFWaBfJr.cjs → find-INTH3OLC-B6jdIAUb.cjs} +3 -3
- package/dist/{find-INTH3OLC-DFWaBfJr.cjs.map → find-INTH3OLC-B6jdIAUb.cjs.map} +1 -1
- package/dist/{find-INTH3OLC-JfY5qzEy.mjs → find-INTH3OLC-znjS0yIy.mjs} +3 -3
- package/dist/{find-INTH3OLC-JfY5qzEy.mjs.map → find-INTH3OLC-znjS0yIy.mjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-BBgZEQ-3.cjs → fold-4TQNYMSW-BGAKLKVd.cjs} +2 -2
- package/dist/{fold-4TQNYMSW-BBgZEQ-3.cjs.map → fold-4TQNYMSW-BGAKLKVd.cjs.map} +1 -1
- package/dist/{fold-4TQNYMSW-CrYw3Z_k.mjs → fold-4TQNYMSW-CbFz-CXV.mjs} +2 -2
- package/dist/{fold-4TQNYMSW-CrYw3Z_k.mjs.map → fold-4TQNYMSW-CbFz-CXV.mjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-Dg7DaiTk.cjs → grep-V3LQVMRQ-B2SsFur5.cjs} +4 -4
- package/dist/{grep-V3LQVMRQ-Dg7DaiTk.cjs.map → grep-V3LQVMRQ-B2SsFur5.cjs.map} +1 -1
- package/dist/{grep-V3LQVMRQ-BsVQ4aQa.mjs → grep-V3LQVMRQ-Ds_PYHKU.mjs} +4 -4
- package/dist/{grep-V3LQVMRQ-BsVQ4aQa.mjs.map → grep-V3LQVMRQ-Ds_PYHKU.mjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-CgWAL2Hv.cjs → gzip-O5ASJAFY-ChXaWkpa.cjs} +2 -2
- package/dist/{gzip-O5ASJAFY-CgWAL2Hv.cjs.map → gzip-O5ASJAFY-ChXaWkpa.cjs.map} +1 -1
- package/dist/{gzip-O5ASJAFY-BA-XSqnQ.mjs → gzip-O5ASJAFY-DCdKkN1u.mjs} +2 -2
- package/dist/{gzip-O5ASJAFY-BA-XSqnQ.mjs.map → gzip-O5ASJAFY-DCdKkN1u.mjs.map} +1 -1
- package/dist/{head-442HYESI-C9IzXYL2.cjs → head-442HYESI-bwZwXEo6.cjs} +2 -2
- package/dist/{head-442HYESI-C9IzXYL2.cjs.map → head-442HYESI-bwZwXEo6.cjs.map} +1 -1
- package/dist/{head-442HYESI-DErD1RrT.mjs → head-442HYESI-sBXxnmV8.mjs} +2 -2
- package/dist/{head-442HYESI-DErD1RrT.mjs.map → head-442HYESI-sBXxnmV8.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-DQF05ayA.mjs → help-HZ6M2CKN-8IX-B75c.mjs} +2 -2
- package/dist/{help-HZ6M2CKN-DQF05ayA.mjs.map → help-HZ6M2CKN-8IX-B75c.mjs.map} +1 -1
- package/dist/{help-HZ6M2CKN-CfMSfv6w.cjs → help-HZ6M2CKN-ChtOM3bi.cjs} +2 -2
- package/dist/{help-HZ6M2CKN-CfMSfv6w.cjs.map → help-HZ6M2CKN-ChtOM3bi.cjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO-Dntps2cO.cjs → html-to-markdown-JW4MSQZO-Dn43kQwJ.cjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO-Dntps2cO.cjs.map → html-to-markdown-JW4MSQZO-Dn43kQwJ.cjs.map} +1 -1
- package/dist/{html-to-markdown-JW4MSQZO--DA8QmmO.mjs → html-to-markdown-JW4MSQZO-OTByOYjB.mjs} +3 -3
- package/dist/{html-to-markdown-JW4MSQZO--DA8QmmO.mjs.map → html-to-markdown-JW4MSQZO-OTByOYjB.mjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-DIfH4Q15.cjs → join-TBRGI3LQ-WbTRLkpF.cjs} +2 -2
- package/dist/{join-TBRGI3LQ-DIfH4Q15.cjs.map → join-TBRGI3LQ-WbTRLkpF.cjs.map} +1 -1
- package/dist/{join-TBRGI3LQ-BIw7jbwb.mjs → join-TBRGI3LQ-vrOut6ob.mjs} +2 -2
- package/dist/{join-TBRGI3LQ-BIw7jbwb.mjs.map → join-TBRGI3LQ-vrOut6ob.mjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-CrOOicni.cjs → jq-4XLYLOS5-BchBfx-i.cjs} +4 -4
- package/dist/{jq-4XLYLOS5-CrOOicni.cjs.map → jq-4XLYLOS5-BchBfx-i.cjs.map} +1 -1
- package/dist/{jq-4XLYLOS5-D4FYfV7A.mjs → jq-4XLYLOS5-CShq6xaG.mjs} +4 -4
- package/dist/{jq-4XLYLOS5-D4FYfV7A.mjs.map → jq-4XLYLOS5-CShq6xaG.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-DL6TgiDV.mjs → js-exec-N5KEZBH7-CsDbHl0T.mjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-DL6TgiDV.mjs.map → js-exec-N5KEZBH7-CsDbHl0T.mjs.map} +1 -1
- package/dist/{js-exec-N5KEZBH7-DbvbNeTr.cjs → js-exec-N5KEZBH7-D6K7ZFDI.cjs} +3 -3
- package/dist/{js-exec-N5KEZBH7-DbvbNeTr.cjs.map → js-exec-N5KEZBH7-D6K7ZFDI.cjs.map} +1 -1
- package/dist/{lib-DOKbRmu6.mjs → lib-CEm5-FFB.mjs} +2 -2
- package/dist/{lib-DOKbRmu6.mjs.map → lib-CEm5-FFB.mjs.map} +1 -1
- package/dist/{lib-DC5k974G.cjs → lib-CstiAq_N.cjs} +2 -2
- package/dist/{lib-DC5k974G.cjs.map → lib-CstiAq_N.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-D64sIxt0.cjs → ln-4LGSXXGD-BncpeOY6.cjs} +2 -2
- package/dist/{ln-4LGSXXGD-D64sIxt0.cjs.map → ln-4LGSXXGD-BncpeOY6.cjs.map} +1 -1
- package/dist/{ln-4LGSXXGD-DUFBdi9g.mjs → ln-4LGSXXGD-CPu-LYx6.mjs} +2 -2
- package/dist/{ln-4LGSXXGD-DUFBdi9g.mjs.map → ln-4LGSXXGD-CPu-LYx6.mjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-Dm11V4VH.cjs → ls-ZJGQER7M-DOzWDIN-.cjs} +2 -2
- package/dist/{ls-ZJGQER7M-Dm11V4VH.cjs.map → ls-ZJGQER7M-DOzWDIN-.cjs.map} +1 -1
- package/dist/{ls-ZJGQER7M-DW8WYFHy.mjs → ls-ZJGQER7M-DzXZOH27.mjs} +2 -2
- package/dist/{ls-ZJGQER7M-DW8WYFHy.mjs.map → ls-ZJGQER7M-DzXZOH27.mjs.map} +1 -1
- package/dist/{lzma-DsNnU4iR.cjs → lzma-BvsaZQAj.cjs} +2 -2
- package/dist/{lzma-DsNnU4iR.cjs.map → lzma-BvsaZQAj.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-DnOhM4tt.cjs → md5sum-SPU24VSG-D8gSLlAq.cjs} +3 -3
- package/dist/{md5sum-SPU24VSG-DnOhM4tt.cjs.map → md5sum-SPU24VSG-D8gSLlAq.cjs.map} +1 -1
- package/dist/{md5sum-SPU24VSG-Dh3yHgqK.mjs → md5sum-SPU24VSG-xyfkpvOC.mjs} +3 -3
- package/dist/{md5sum-SPU24VSG-Dh3yHgqK.mjs.map → md5sum-SPU24VSG-xyfkpvOC.mjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-CrOZPJ4n.cjs → mkdir-MEPGZOB6-DW9SaUbA.cjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-CrOZPJ4n.cjs.map → mkdir-MEPGZOB6-DW9SaUbA.cjs.map} +1 -1
- package/dist/{mkdir-MEPGZOB6-ByuklL-H.mjs → mkdir-MEPGZOB6-MndQLtL1.mjs} +2 -2
- package/dist/{mkdir-MEPGZOB6-ByuklL-H.mjs.map → mkdir-MEPGZOB6-MndQLtL1.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-D1Kfnh0T.mjs → mv-W5BIQ646-AJGQd0yV.mjs} +2 -2
- package/dist/{mv-W5BIQ646-D1Kfnh0T.mjs.map → mv-W5BIQ646-AJGQd0yV.mjs.map} +1 -1
- package/dist/{mv-W5BIQ646-DUYrcxSZ.cjs → mv-W5BIQ646-CZV8v37y.cjs} +2 -2
- package/dist/{mv-W5BIQ646-DUYrcxSZ.cjs.map → mv-W5BIQ646-CZV8v37y.cjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-Dyzx75fY.mjs → nl-WSDW7I4O-8ML5PnOt.mjs} +2 -2
- package/dist/{nl-WSDW7I4O-Dyzx75fY.mjs.map → nl-WSDW7I4O-8ML5PnOt.mjs.map} +1 -1
- package/dist/{nl-WSDW7I4O-cFnFdW3j.cjs → nl-WSDW7I4O-LeEXpCZI.cjs} +2 -2
- package/dist/{nl-WSDW7I4O-cFnFdW3j.cjs.map → nl-WSDW7I4O-LeEXpCZI.cjs.map} +1 -1
- package/dist/{od-WOKFDJTP-D3nhy8kH.mjs → od-WOKFDJTP-C0ONnTil.mjs} +2 -2
- package/dist/{od-WOKFDJTP-D3nhy8kH.mjs.map → od-WOKFDJTP-C0ONnTil.mjs.map} +1 -1
- package/dist/{od-WOKFDJTP-Dwd5xgak.cjs → od-WOKFDJTP-YqNKNBbo.cjs} +2 -2
- package/dist/{od-WOKFDJTP-Dwd5xgak.cjs.map → od-WOKFDJTP-YqNKNBbo.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-CppX10kB.cjs → paste-7JC6S4DX-Buo8QFuR.cjs} +2 -2
- package/dist/{paste-7JC6S4DX-CppX10kB.cjs.map → paste-7JC6S4DX-Buo8QFuR.cjs.map} +1 -1
- package/dist/{paste-7JC6S4DX-Y38w9Cet.mjs → paste-7JC6S4DX-CPrcpu4D.mjs} +2 -2
- package/dist/{paste-7JC6S4DX-Y38w9Cet.mjs.map → paste-7JC6S4DX-CPrcpu4D.mjs.map} +1 -1
- package/dist/{printf-TWGXF445-DFpbkI7-.cjs → printf-TWGXF445-By2gUYeG.cjs} +3 -3
- package/dist/{printf-TWGXF445-DFpbkI7-.cjs.map → printf-TWGXF445-By2gUYeG.cjs.map} +1 -1
- package/dist/{printf-TWGXF445-4snTElUe.mjs → printf-TWGXF445-X1UIAzry.mjs} +3 -3
- package/dist/{printf-TWGXF445-4snTElUe.mjs.map → printf-TWGXF445-X1UIAzry.mjs.map} +1 -1
- package/dist/{python3-POMOR4OA-CJBjYjFZ.cjs → python3-POMOR4OA-D3CJMgUq.cjs} +3 -3
- package/dist/{python3-POMOR4OA-CJBjYjFZ.cjs.map → python3-POMOR4OA-D3CJMgUq.cjs.map} +1 -1
- package/dist/{python3-POMOR4OA-DcJvbQ0T.mjs → python3-POMOR4OA-l8C6ZEN-.mjs} +3 -3
- package/dist/{python3-POMOR4OA-DcJvbQ0T.mjs.map → python3-POMOR4OA-l8C6ZEN-.mjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-DqLdha0x.cjs → rev-5EHFX4EJ-CAfFMeLJ.cjs} +2 -2
- package/dist/{rev-5EHFX4EJ-DqLdha0x.cjs.map → rev-5EHFX4EJ-CAfFMeLJ.cjs.map} +1 -1
- package/dist/{rev-5EHFX4EJ-Do2CG-6d.mjs → rev-5EHFX4EJ-CFKXHMKB.mjs} +2 -2
- package/dist/{rev-5EHFX4EJ-Do2CG-6d.mjs.map → rev-5EHFX4EJ-CFKXHMKB.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-WLs4111o.mjs → rg-S4FXYXWB-DC26zPV7.mjs} +3 -3
- package/dist/{rg-S4FXYXWB-WLs4111o.mjs.map → rg-S4FXYXWB-DC26zPV7.mjs.map} +1 -1
- package/dist/{rg-S4FXYXWB-COXZpYFr.cjs → rg-S4FXYXWB-XWNX6Slb.cjs} +3 -3
- package/dist/{rg-S4FXYXWB-COXZpYFr.cjs.map → rg-S4FXYXWB-XWNX6Slb.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-DEzEvKxo.cjs → rm-SSGETQVQ-CKk1S1_b.cjs} +2 -2
- package/dist/{rm-SSGETQVQ-DEzEvKxo.cjs.map → rm-SSGETQVQ-CKk1S1_b.cjs.map} +1 -1
- package/dist/{rm-SSGETQVQ-BibTX2Kt.mjs → rm-SSGETQVQ-MJ4TSPv2.mjs} +2 -2
- package/dist/{rm-SSGETQVQ-BibTX2Kt.mjs.map → rm-SSGETQVQ-MJ4TSPv2.mjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-B8Qd0YbS.cjs → rmdir-OC4ZLPYA-BEa2ydVB.cjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-B8Qd0YbS.cjs.map → rmdir-OC4ZLPYA-BEa2ydVB.cjs.map} +1 -1
- package/dist/{rmdir-OC4ZLPYA-BBZ0i46o.mjs → rmdir-OC4ZLPYA-O8j6gE0d.mjs} +2 -2
- package/dist/{rmdir-OC4ZLPYA-BBZ0i46o.mjs.map → rmdir-OC4ZLPYA-O8j6gE0d.mjs.map} +1 -1
- package/dist/run.cjs +1 -1
- package/dist/run.mjs +1 -1
- package/dist/{sed-S5UIK574-B-B8qUOl.cjs → sed-S5UIK574-B6Enx8H9.cjs} +2 -2
- package/dist/{sed-S5UIK574-B-B8qUOl.cjs.map → sed-S5UIK574-B6Enx8H9.cjs.map} +1 -1
- package/dist/{sed-S5UIK574-BCmQgA_n.mjs → sed-S5UIK574-B9K5T9Gg.mjs} +2 -2
- package/dist/{sed-S5UIK574-BCmQgA_n.mjs.map → sed-S5UIK574-B9K5T9Gg.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-6FqZIXie.mjs → sha1sum-2PTOAFR6-BUGBKovb.mjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-6FqZIXie.mjs.map → sha1sum-2PTOAFR6-BUGBKovb.mjs.map} +1 -1
- package/dist/{sha1sum-2PTOAFR6-JnTR5FRI.cjs → sha1sum-2PTOAFR6-DH54EIA2.cjs} +3 -3
- package/dist/{sha1sum-2PTOAFR6-JnTR5FRI.cjs.map → sha1sum-2PTOAFR6-DH54EIA2.cjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-C06y9o4e.mjs → sha256sum-NS7D3IXX-BXsOvWgJ.mjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-C06y9o4e.mjs.map → sha256sum-NS7D3IXX-BXsOvWgJ.mjs.map} +1 -1
- package/dist/{sha256sum-NS7D3IXX-eXqpu5UN.cjs → sha256sum-NS7D3IXX-e2P3jK9R.cjs} +3 -3
- package/dist/{sha256sum-NS7D3IXX-eXqpu5UN.cjs.map → sha256sum-NS7D3IXX-e2P3jK9R.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-D2q006oL.cjs → sleep-X22JJINO-BHYQ6CRj.cjs} +2 -2
- package/dist/{sleep-X22JJINO-D2q006oL.cjs.map → sleep-X22JJINO-BHYQ6CRj.cjs.map} +1 -1
- package/dist/{sleep-X22JJINO-Bd8WKeYR.mjs → sleep-X22JJINO-CNx95Odz.mjs} +2 -2
- package/dist/{sleep-X22JJINO-Bd8WKeYR.mjs.map → sleep-X22JJINO-CNx95Odz.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-CnnYtnBb.mjs → sort-SW2YEO5B-BFciT7VC.mjs} +3 -3
- package/dist/{sort-SW2YEO5B-CnnYtnBb.mjs.map → sort-SW2YEO5B-BFciT7VC.mjs.map} +1 -1
- package/dist/{sort-SW2YEO5B-WLrCyuOL.cjs → sort-SW2YEO5B-CzHEdzvQ.cjs} +3 -3
- package/dist/{sort-SW2YEO5B-WLrCyuOL.cjs.map → sort-SW2YEO5B-CzHEdzvQ.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-Hw6PehNE.cjs → split-4KKZZXXE-9BtDzDqm.cjs} +2 -2
- package/dist/{split-4KKZZXXE-Hw6PehNE.cjs.map → split-4KKZZXXE-9BtDzDqm.cjs.map} +1 -1
- package/dist/{split-4KKZZXXE-B6eey5DZ.mjs → split-4KKZZXXE-Di6qyS32.mjs} +2 -2
- package/dist/{split-4KKZZXXE-B6eey5DZ.mjs.map → split-4KKZZXXE-Di6qyS32.mjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-BwfQxTlZ.cjs → sqlite3-CGOEFJAO-BW5MpoI3.cjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-BwfQxTlZ.cjs.map → sqlite3-CGOEFJAO-BW5MpoI3.cjs.map} +1 -1
- package/dist/{sqlite3-CGOEFJAO-1OY0UaVN.mjs → sqlite3-CGOEFJAO-BcjjxxUW.mjs} +3 -3
- package/dist/{sqlite3-CGOEFJAO-1OY0UaVN.mjs.map → sqlite3-CGOEFJAO-BcjjxxUW.mjs.map} +1 -1
- package/dist/{start-Cu7Xp6AY.cjs → start-BK3nhRpQ.cjs} +398 -183
- package/dist/start-BK3nhRpQ.cjs.map +1 -0
- package/dist/{start-_Oj_KxNX.mjs → start-C4wv93sk.mjs} +397 -182
- package/dist/start-C4wv93sk.mjs.map +1 -0
- package/dist/start.cjs +1 -1
- package/dist/start.mjs +1 -1
- package/dist/{strings-6WDHLGMX-BDpJlZKf.mjs → strings-6WDHLGMX-BGNd9Jnz.mjs} +2 -2
- package/dist/{strings-6WDHLGMX-BDpJlZKf.mjs.map → strings-6WDHLGMX-BGNd9Jnz.mjs.map} +1 -1
- package/dist/{strings-6WDHLGMX-7Q_JG38X.cjs → strings-6WDHLGMX-C3QEqVZ2.cjs} +2 -2
- package/dist/{strings-6WDHLGMX-7Q_JG38X.cjs.map → strings-6WDHLGMX-C3QEqVZ2.cjs.map} +1 -1
- package/dist/{tac-2STMMJYW-BcNa2F8B.mjs → tac-2STMMJYW-B7m5nT_3.mjs} +2 -2
- package/dist/{tac-2STMMJYW-BcNa2F8B.mjs.map → tac-2STMMJYW-B7m5nT_3.mjs.map} +1 -1
- package/dist/{tac-2STMMJYW-DxN1lxDP.cjs → tac-2STMMJYW-DqQqxcFS.cjs} +2 -2
- package/dist/{tac-2STMMJYW-DxN1lxDP.cjs.map → tac-2STMMJYW-DqQqxcFS.cjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-CyogJpPx.mjs → tail-R4PCA2C4-CGLtGuty.mjs} +2 -2
- package/dist/{tail-R4PCA2C4-CyogJpPx.mjs.map → tail-R4PCA2C4-CGLtGuty.mjs.map} +1 -1
- package/dist/{tail-R4PCA2C4-C8OtVo7k.cjs → tail-R4PCA2C4-DH6gSUW-.cjs} +2 -2
- package/dist/{tail-R4PCA2C4-C8OtVo7k.cjs.map → tail-R4PCA2C4-DH6gSUW-.cjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-Cj2buzur.mjs → tar-STHHZTZ6-BZuw5hJf.mjs} +4 -4
- package/dist/{tar-STHHZTZ6-Cj2buzur.mjs.map → tar-STHHZTZ6-BZuw5hJf.mjs.map} +1 -1
- package/dist/{tar-STHHZTZ6-DbqoGZNM.cjs → tar-STHHZTZ6-GiF_Tj9-.cjs} +5 -5
- package/dist/{tar-STHHZTZ6-DbqoGZNM.cjs.map → tar-STHHZTZ6-GiF_Tj9-.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-DRCBjUsB.cjs → tee-YUZ2FKCJ-B93RpmpZ.cjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-DRCBjUsB.cjs.map → tee-YUZ2FKCJ-B93RpmpZ.cjs.map} +1 -1
- package/dist/{tee-YUZ2FKCJ-HgLLqCKx.mjs → tee-YUZ2FKCJ-CpJ4jxtK.mjs} +2 -2
- package/dist/{tee-YUZ2FKCJ-HgLLqCKx.mjs.map → tee-YUZ2FKCJ-CpJ4jxtK.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-C4maHhrI.mjs → time-D4LNBSWX-DGtUFoCp.mjs} +2 -2
- package/dist/{time-D4LNBSWX-C4maHhrI.mjs.map → time-D4LNBSWX-DGtUFoCp.mjs.map} +1 -1
- package/dist/{time-D4LNBSWX-wcDTUKsm.cjs → time-D4LNBSWX-DJH78faJ.cjs} +2 -2
- package/dist/{time-D4LNBSWX-wcDTUKsm.cjs.map → time-D4LNBSWX-DJH78faJ.cjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-Dsq4NMGj.mjs → timeout-YDCRSLPQ-BzPojgUO.mjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-Dsq4NMGj.mjs.map → timeout-YDCRSLPQ-BzPojgUO.mjs.map} +1 -1
- package/dist/{timeout-YDCRSLPQ-Dh0F2gyr.cjs → timeout-YDCRSLPQ-RFRaGU4-.cjs} +2 -2
- package/dist/{timeout-YDCRSLPQ-Dh0F2gyr.cjs.map → timeout-YDCRSLPQ-RFRaGU4-.cjs.map} +1 -1
- package/dist/{touch-UA33VN3N-8SefCCbl.mjs → touch-UA33VN3N-Bdpir4J9.mjs} +2 -2
- package/dist/{touch-UA33VN3N-8SefCCbl.mjs.map → touch-UA33VN3N-Bdpir4J9.mjs.map} +1 -1
- package/dist/{touch-UA33VN3N-DafmXlf7.cjs → touch-UA33VN3N-jB0YrmZH.cjs} +2 -2
- package/dist/{touch-UA33VN3N-DafmXlf7.cjs.map → touch-UA33VN3N-jB0YrmZH.cjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-B-W7VFEw.mjs → tr-36LHWFRQ-BYPZKSzP.mjs} +2 -2
- package/dist/{tr-36LHWFRQ-B-W7VFEw.mjs.map → tr-36LHWFRQ-BYPZKSzP.mjs.map} +1 -1
- package/dist/{tr-36LHWFRQ-BQlaRYC6.cjs → tr-36LHWFRQ-CQxVomNK.cjs} +2 -2
- package/dist/{tr-36LHWFRQ-BQlaRYC6.cjs.map → tr-36LHWFRQ-CQxVomNK.cjs.map} +1 -1
- package/dist/{tree-YLD52CNT-_Z-aYZkD.mjs → tree-YLD52CNT-CyPjMXqy.mjs} +2 -2
- package/dist/{tree-YLD52CNT-_Z-aYZkD.mjs.map → tree-YLD52CNT-CyPjMXqy.mjs.map} +1 -1
- package/dist/{tree-YLD52CNT-BawyZhaX.cjs → tree-YLD52CNT-DiidjPWy.cjs} +2 -2
- package/dist/{tree-YLD52CNT-BawyZhaX.cjs.map → tree-YLD52CNT-DiidjPWy.cjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-ZqfYiQR2.mjs → unexpand-CADSA4VO-CnCIS3mM.mjs} +2 -2
- package/dist/{unexpand-CADSA4VO-ZqfYiQR2.mjs.map → unexpand-CADSA4VO-CnCIS3mM.mjs.map} +1 -1
- package/dist/{unexpand-CADSA4VO-CsBKbV8S.cjs → unexpand-CADSA4VO-W5dP1zPs.cjs} +2 -2
- package/dist/{unexpand-CADSA4VO-CsBKbV8S.cjs.map → unexpand-CADSA4VO-W5dP1zPs.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-Dza1rRLe.cjs → uniq-XSIZR6PB-B3i-98kn.cjs} +3 -3
- package/dist/{uniq-XSIZR6PB-Dza1rRLe.cjs.map → uniq-XSIZR6PB-B3i-98kn.cjs.map} +1 -1
- package/dist/{uniq-XSIZR6PB-Vit4UvoB.mjs → uniq-XSIZR6PB-DbyhYt6T.mjs} +3 -3
- package/dist/{uniq-XSIZR6PB-Vit4UvoB.mjs.map → uniq-XSIZR6PB-DbyhYt6T.mjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-Dftrqmx_.cjs → wc-LF7NU4LA-7g8GX0Io.cjs} +3 -3
- package/dist/{wc-LF7NU4LA-Dftrqmx_.cjs.map → wc-LF7NU4LA-7g8GX0Io.cjs.map} +1 -1
- package/dist/{wc-LF7NU4LA-Bk0d9UEM.mjs → wc-LF7NU4LA-B98N4IVz.mjs} +3 -3
- package/dist/{wc-LF7NU4LA-Bk0d9UEM.mjs.map → wc-LF7NU4LA-B98N4IVz.mjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-HQcwjyS7.cjs → xan-Y6WF3IRG-BUr6NQvo.cjs} +6 -6
- package/dist/{xan-Y6WF3IRG-HQcwjyS7.cjs.map → xan-Y6WF3IRG-BUr6NQvo.cjs.map} +1 -1
- package/dist/{xan-Y6WF3IRG-CBj1yS9p.mjs → xan-Y6WF3IRG-D61ETw5M.mjs} +6 -6
- package/dist/{xan-Y6WF3IRG-CBj1yS9p.mjs.map → xan-Y6WF3IRG-D61ETw5M.mjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-CIMIJmly.cjs → xan-view-HDVKHFC2-DlCotayo.cjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-CIMIJmly.cjs.map → xan-view-HDVKHFC2-DlCotayo.cjs.map} +1 -1
- package/dist/{xan-view-HDVKHFC2-ClBy0xAG.mjs → xan-view-HDVKHFC2-hmvkd8LP.mjs} +3 -3
- package/dist/{xan-view-HDVKHFC2-ClBy0xAG.mjs.map → xan-view-HDVKHFC2-hmvkd8LP.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-DCXZUWAo.mjs → xargs-MGZPH7AX-DhgYJD4l.mjs} +2 -2
- package/dist/{xargs-MGZPH7AX-DCXZUWAo.mjs.map → xargs-MGZPH7AX-DhgYJD4l.mjs.map} +1 -1
- package/dist/{xargs-MGZPH7AX-CXaBwR0X.cjs → xargs-MGZPH7AX-W4GobWGz.cjs} +2 -2
- package/dist/{xargs-MGZPH7AX-CXaBwR0X.cjs.map → xargs-MGZPH7AX-W4GobWGz.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-3wbFQtUj.cjs → yq-4QJW3EQG-C90d61wX.cjs} +3 -3
- package/dist/{yq-4QJW3EQG-3wbFQtUj.cjs.map → yq-4QJW3EQG-C90d61wX.cjs.map} +1 -1
- package/dist/{yq-4QJW3EQG-DpOJapxQ.mjs → yq-4QJW3EQG-D_bl6qRw.mjs} +3 -3
- package/dist/{yq-4QJW3EQG-DpOJapxQ.mjs.map → yq-4QJW3EQG-D_bl6qRw.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-B6kL0Ibf.cjs.map +0 -1
- package/dist/dist-CeLVqJha.mjs.map +0 -1
- package/dist/start-Cu7Xp6AY.cjs.map +0 -1
- package/dist/start-_Oj_KxNX.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as CreateProjectArtifactResponseSchema, $n as mapUserOrganization, $t as ProjectSourceResourcesSchema, A as PublicHttpUrlError, An as WorkflowSummaryDetailResponseSchema, At as ListProjectMetricsResponseSchema, B as AgentSummarySchema, Bn as buildCredentialInstanceLabel, Bt as PresignChatAttachmentRequestSchema, C as defaultSchedulerPlugin, Cn as UpdateProjectSettingsRequestSchema, Ct as ListCredentialsResponseSchema, D as discoverGraphqlApp, Dn as UserAvatarSchema, Dt as ListProjectDeploymentsResponseSchema, E as decodeOAuthState, En as UserAvatarPatchSchema, Et as ListOrganizationsResponseSchema, F as AcceptOrganizationInvitationResponseSchema, Fn as WorkspaceTriggerListResponseSchema, Ft as OpenApiDiscoverResponseSchema, G as CreateApiKeyRequestSchema, Gn as listenPortFromPublicUrl, Gt as PresignProjectSourceResponseSchema, H as AppSlugAvailabilityQuerySchema, Hn as deriveCredentialInstanceSlug, Ht as PresignOrgLogoRequestSchema, I as ActiveOrganizationResponseSchema, In as WorkspaceTriggerOverviewSchema, It as OrganizationSidebarBrandingPatchSchema, J as CreateCredentialsResponseSchema, Jn as mapProject, Jt as ProjectReachabilityResponseSchema, K as CreateApiKeyResponseSchema, Kn as mapOrganizationInvitation, Kt as PresignUserAvatarRequestSchema, L as AgentMemoryFileSummarySchema, Ln as WorkspaceTriggerRunListResponseSchema, Lt as OrganizationSidebarBrandingSchema, M as readCredentialInstanceSecret, Mn as WorkflowSummarySchema, Mt as McpDiscoverRequestSchema, N as setCredentialInstanceSecret, Nn as WorkspaceTriggerDetailSchema, Nt as McpDiscoverResponseSchema, O as discoverMcpApp, On as UserPreferencesPatchSchema, Ot as ListProjectFilesResponseSchema, P as ACTIVE_ORG_HEADER, Pn as WorkspaceTriggerFileSchema, Pt as OpenApiDiscoverRequestSchema, Q as CreateOrganizationResponseSchema, Qn as mapProjectSettings, Qt as ProjectSlugAvailabilityResponseSchema, R as AgentSummaryDetailResponseSchema, Rn as agentMemoryFileId, Rt as PLATFORM_RESOURCE_UNSUPPORTED_TEXT, S as createJobQueue, Sn as UpdateProjectRequestSchema, St as ListAppsResponseSchema, T as completeMcpOAuthConnect, Tn as UploadProjectSourceResponseSchema, Tt as ListOrganizationMembersResponseSchema, U as AppSlugAvailabilityResponseSchema, Un as displayCredentialAppName, Ut as PresignOrgLogoResponseSchema, V as AgentWorkspaceFileSummarySchema, Vn as chatAttachmentExtension, Vt as PresignChatAttachmentResponseSchema, W as CompleteProjectArtifactResponseSchema, Wn as isAllowedChatAttachmentMediaType, Wt as PresignProjectSourceRequestSchema, X as CreateCustomAppResponseSchema, Xn as mapProjectDeployment, Xt as ProjectSettingsResponseSchema, Y as CreateCustomAppRequestSchema, Yn as mapProjectArtifact, Yt as ProjectResponseSchema, Z as CreateOrganizationRequestSchema, Zn as mapProjectMember, Zt as ProjectSlugAvailabilityQuerySchema, _ as orgLogoStorageKey, _n as UpdateOrganizationMemberRequestSchema, _t as InviteProjectMembersRequestSchema, a as extractRouteManifestFromArtifact, an as SlugAvailabilityQuerySchema, ar as parseStoredRouteManifest, at as DownloadActiveProjectSourceResponseSchema, b as publicKeystrokeAssetsObjectUrl, bn as UpdateProjectMemberRequestSchema, bt as ListAgentWorkspaceFilesResponseSchema, c as isKeystrokeAssetsOrgLogoPublicUrl, cn as StartMcpOAuthConnectionResultSchema, cr as resolveUniqueCredentialInstanceLabel, ct as GetCustomAppResponseSchema, d as isStorageNotFoundError$1, dn as SubmitMarketingContactResponseSchema, dt as HistoryRunCancelResponseSchema, en as RecentResourceListResponseSchema, er as mergeUserPreferences, et as CreateProjectRequestSchema, f as isUserAvatarStorageKey, fn as SubmitTeamRequestRequestSchema, fr as pingProjectTarget, ft as HistoryRunDetailResponseSchema, gn as UpdateCredentialRequestSchema, gt as InviteOrganizationMembersResponseSchema, h as loadProjectSourceFiles, hn as TriggerRunListQuerySchema, ht as InviteOrganizationMembersRequestSchema, i as ensureKeystrokeAssetsBucket, in as SkillSummarySchema, ir as parseAppSlug, it as DownloadActiveProjectArtifactResponseSchema, j as deleteCredentialInstanceSecret, jn as WorkflowSummaryListResponseSchema, jt as ListProjectsResponseSchema, k as discoverOpenApiApp, kn as UserPreferencesSchema, kt as ListProjectMembersResponseSchema, l as isOrgLogoStorageKey, ln as StoredProjectSourceManifestSchema, lr as validateCredentialValueAgainstFields, lt as GraphqlDiscoverRequestSchema, m as keystrokeAssetsOrgLogoKeyFromPublicUrl, mn as TriggerAttachmentUpdateRequestSchema, mt as HistoryRunListResponseSchema, n as chatAttachmentStorageKey, nn as SkillSummaryDetailResponseSchema, nr as organizationInvitationAcceptPath, nt as DEFAULT_TRIGGER_OVERVIEW_MODEL, o as isChatAttachmentStorageKey, on as SlugAvailabilityResponseSchema, or as projectFileId, ot as ErrorResponseSchema, p as keystrokeAssetsAvatarKeyFromPublicUrl, pn as SubmitTeamRequestResponseSchema, pt as HistoryRunListQuerySchema, q as CreateCredentialsRequestSchema, qn as mapOrganizationMember, qt as PresignUserAvatarResponseSchema, r as createAssetsStorageClient, rn as SkillSummaryListResponseSchema, rr as organizationSlugErrorCodeFromMessage, rt as DeclineOrganizationInvitationResponseSchema, s as isKeystrokeAssetsAvatarPublicUrl, sn as StartMcpOAuthConnectionInputSchema, sr as resolveExternalPlatformOrigin, st as GetCredentialResponseSchema, t as RouteManifestNotFoundError, tn as RecentResourceSchema, tr as normalizeUserPreferences, tt as CreateProjectResponseSchema, u as isStorageBucketNotFoundError, un as SubmitMarketingContactRequestSchema, ur as validationErrorResponse, ut as GraphqlDiscoverResponseSchema, v as projectArtifactKey, vn as UpdateOrganizationMemberResponseSchema, vt as InviteProjectMembersResponseSchema, w as beginMcpOAuthConnect, wn as UploadProjectSourceManifestRequestSchema, wt as ListOrganizationInvitationsResponseSchema, x as userAvatarStorageKey, xn as UpdateProjectMemberResponseSchema, xt as ListApiKeysResponseSchema, y as projectSourceBlobKey, yn as UpdateOrganizationRequestSchema, yt as ListAgentMemoryFilesResponseSchema, z as AgentSummaryListResponseSchema, zn as agentWorkspaceFileId, zt as PROJECT_SLUG_TAKEN_MESSAGE } from "./dist-Bc-S2RCv.mjs";
|
|
2
2
|
import "./chunk-BZUGFHVS-B2NchobP.mjs";
|
|
3
3
|
import { n as d$4, t as _$1 } from "./chunk-TN7HHBQW-B8PYcKz5.mjs";
|
|
4
4
|
import { t as withProjectScope } from "./with-project-scope-DWwbN8Qs.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import "node:fs/promises";
|
|
7
|
-
import { buildHistoryAgentSessionDetail, buildHistoryWorkflowRunDetail, cancelAgentSession, cancelWorkflowRun, clearCredentialInstanceDefaults, deleteCredentialInstanceById, findHistoryRunCore, getServerTenantScopeId, listActiveAgents, listActiveSkills, listActiveWorkflows, listAllCredentialInstances, listCredentialInstancesByConnectionId, listHistoryRuns, listRecentResourceActivity, listTriggersByIds, listWorkspaceTriggerRunRows, listWorkspaceTriggers, runWithProjectDatabase, runWithProjectScope, runWithTenantScope, selectActiveAgentById, selectActiveAgentsByIds, selectActiveSkillById, selectActiveSkillsByIds, selectActiveWorkflowById, selectActiveWorkflowsByIds, selectAgentLastRunAtByIds, selectAgentSessionById, selectCredentialInstanceById, selectCredentialInstancesForScope, selectEphemeralTriggerAttachments, selectProjectResourceCounts, selectTriggerById, selectWorkflowLastRunAtByIds, selectWorkflowRunById, setTriggerAttachmentEnabledState, setTriggerOverviewGenerating, storedTriggerSourceFromRow, touchResourceActivity, updateTriggerOverview, upsertCredentialInstance } from "@keystrokehq/database";
|
|
7
|
+
import { buildHistoryAgentSessionDetail, buildHistoryWorkflowRunDetail, cancelAgentSession, cancelWorkflowRun, clearCredentialInstanceDefaults, deleteCredentialInstanceById, findHistoryRunCore, getProjectScopeId, getServerTenantScopeId, listActiveAgents, listActiveSkills, listActiveWorkflows, listAllCredentialInstances, listCredentialInstancesByConnectionId, listHistoryRuns, listRecentResourceActivity, listTriggersByIds, listWorkspaceTriggerRunRows, listWorkspaceTriggers, runWithProjectDatabase, runWithProjectScope, runWithTenantScope, selectActiveAgentById, selectActiveAgentsByIds, selectActiveSkillById, selectActiveSkillsByIds, selectActiveWorkflowById, selectActiveWorkflowsByIds, selectAgentBySlug, selectAgentLastRunAtByIds, selectAgentSessionById, selectCredentialInstanceById, selectCredentialInstancesForScope, selectEphemeralTriggerAttachments, selectProjectResourceCounts, selectTriggerById, selectWorkflowLastRunAtByIds, selectWorkflowRunById, setTriggerAttachmentEnabledState, setTriggerOverviewGenerating, storedTriggerSourceFromRow, touchResourceActivity, updateTriggerOverview, upsertCredentialInstance } from "@keystrokehq/database";
|
|
8
8
|
import { ZodError, z } from "zod";
|
|
9
9
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
10
10
|
import { CannotModifyOwnerError, OrgAppSlugTakenError, OrgPlatformApiKeyNotFoundError, OrganizationInvitationExpiredError, OrganizationInvitationForbiddenError, OrganizationInvitationNotFoundError, OrganizationMemberNotFoundError, OrganizationSlugTakenError, OrganizationSlugTakenError as OrganizationSlugTakenError$1, ProjectMemberNotFoundError, ProjectSlugTakenError, acceptInvitation, checkOrgAppSlugAvailability, checkOrganizationSlugAvailability, checkProjectSlugAvailability, completeProjectArtifact, createOrgAgentStorageClient, createOrgApp, createOrgPlatformApiKey, createOrgStorageClient, createOrganizationForUser, createProjectForOrganization, declineInvitation, deleteOAuthConnectionById, deleteProjectForOrganization, encryptCredentialPayload as encryptCredentialPayload$1, ensureProjectPgBossGrants, ensureWebhookApiKeyForRoute, ensureWebhookApiKeys, hasCredentialFieldTemplate, initDatabase, insertProjectArtifact, inviteOrganizationMembers, inviteProjectMembers, isOrganizationStorageBucketInUse, listAppsForOrganization, listOrgPlatformApiKeysForOrganization, listOrgPlatformApiKeysForUser, listWebhookApiKeys, listWebhookApiKeysForProject, loadOrgPlatformApiKeyUser, mapOrgPlatformApiKeyCreator, mapOrgPlatformApiKeyCreatorOrDeleted, orgWorkspacesRuntimeEnv, organizationRowToSidebarBranding, promoteProjectArtifact, removeOrganizationMember, removeProjectMember, resolveNewOrganizationIdentity, resolveOrgProjectDatabaseOptions, resolveOrgRuntimeDatabase, revokeOrgPlatformApiKey, runWithOrganizationScope, runWithWorkspaceContext, selectActiveArtifactSourceManifestForProject, selectActiveProjectArtifactForProject, selectAppForOrganization, selectLastDeploymentAtByProject, selectOAuthConnectionsByIds, selectOrgPlatformApiKeyForOrganization, selectOrganizationById, selectOrganizationMembers, selectPendingInvitationsForUser, selectProjectArtifactById, selectProjectArtifactForProject, selectProjectById, selectProjectDeployments, selectProjectForOrganization, selectProjectForOrganizationBySlug, selectProjectIdsForUser, selectProjectMembers, selectProjectsByOrganizationId, selectUserById, selectUserOrganizationMembership, selectUserOrganizations, selectUserProjectMembership, selectUsersByIds, updateOrganizationActive, updateOrganizationFailed, updateOrganizationMemberRole, updateOrganizationName, updateOrganizationSidebarBranding, updateOrganizationSlug, updateProjectActive, updateProjectArtifactManifest, updateProjectArtifactSourceManifest, updateProjectForOrganization, updateProjectMemberRole, updateProjectSettings, updateUserById, verifyOrgPlatformApiKeySecret } from "@keystrokehq/platform-database";
|
|
@@ -22870,43 +22870,43 @@ var tt = [
|
|
|
22870
22870
|
},
|
|
22871
22871
|
{
|
|
22872
22872
|
name: "cat",
|
|
22873
|
-
load: async () => (await import("./cat-TSFMZVYS-
|
|
22873
|
+
load: async () => (await import("./cat-TSFMZVYS-nWh0JVcx.mjs")).catCommand
|
|
22874
22874
|
},
|
|
22875
22875
|
{
|
|
22876
22876
|
name: "printf",
|
|
22877
|
-
load: async () => (await import("./printf-TWGXF445-
|
|
22877
|
+
load: async () => (await import("./printf-TWGXF445-X1UIAzry.mjs")).printfCommand
|
|
22878
22878
|
},
|
|
22879
22879
|
{
|
|
22880
22880
|
name: "ls",
|
|
22881
|
-
load: async () => (await import("./ls-ZJGQER7M-
|
|
22881
|
+
load: async () => (await import("./ls-ZJGQER7M-DzXZOH27.mjs")).lsCommand
|
|
22882
22882
|
},
|
|
22883
22883
|
{
|
|
22884
22884
|
name: "mkdir",
|
|
22885
|
-
load: async () => (await import("./mkdir-MEPGZOB6-
|
|
22885
|
+
load: async () => (await import("./mkdir-MEPGZOB6-MndQLtL1.mjs")).mkdirCommand
|
|
22886
22886
|
},
|
|
22887
22887
|
{
|
|
22888
22888
|
name: "rmdir",
|
|
22889
|
-
load: async () => (await import("./rmdir-OC4ZLPYA-
|
|
22889
|
+
load: async () => (await import("./rmdir-OC4ZLPYA-O8j6gE0d.mjs")).rmdirCommand
|
|
22890
22890
|
},
|
|
22891
22891
|
{
|
|
22892
22892
|
name: "touch",
|
|
22893
|
-
load: async () => (await import("./touch-UA33VN3N-
|
|
22893
|
+
load: async () => (await import("./touch-UA33VN3N-Bdpir4J9.mjs")).touchCommand
|
|
22894
22894
|
},
|
|
22895
22895
|
{
|
|
22896
22896
|
name: "rm",
|
|
22897
|
-
load: async () => (await import("./rm-SSGETQVQ-
|
|
22897
|
+
load: async () => (await import("./rm-SSGETQVQ-MJ4TSPv2.mjs")).rmCommand
|
|
22898
22898
|
},
|
|
22899
22899
|
{
|
|
22900
22900
|
name: "cp",
|
|
22901
|
-
load: async () => (await import("./cp-BISAAS7A-
|
|
22901
|
+
load: async () => (await import("./cp-BISAAS7A-mMaN142c.mjs")).cpCommand
|
|
22902
22902
|
},
|
|
22903
22903
|
{
|
|
22904
22904
|
name: "mv",
|
|
22905
|
-
load: async () => (await import("./mv-W5BIQ646-
|
|
22905
|
+
load: async () => (await import("./mv-W5BIQ646-AJGQd0yV.mjs")).mvCommand
|
|
22906
22906
|
},
|
|
22907
22907
|
{
|
|
22908
22908
|
name: "ln",
|
|
22909
|
-
load: async () => (await import("./ln-4LGSXXGD-
|
|
22909
|
+
load: async () => (await import("./ln-4LGSXXGD-CPu-LYx6.mjs")).lnCommand
|
|
22910
22910
|
},
|
|
22911
22911
|
{
|
|
22912
22912
|
name: "chmod",
|
|
@@ -22922,15 +22922,15 @@ var tt = [
|
|
|
22922
22922
|
},
|
|
22923
22923
|
{
|
|
22924
22924
|
name: "head",
|
|
22925
|
-
load: async () => (await import("./head-442HYESI-
|
|
22925
|
+
load: async () => (await import("./head-442HYESI-sBXxnmV8.mjs")).headCommand
|
|
22926
22926
|
},
|
|
22927
22927
|
{
|
|
22928
22928
|
name: "tail",
|
|
22929
|
-
load: async () => (await import("./tail-R4PCA2C4-
|
|
22929
|
+
load: async () => (await import("./tail-R4PCA2C4-CGLtGuty.mjs")).tailCommand
|
|
22930
22930
|
},
|
|
22931
22931
|
{
|
|
22932
22932
|
name: "wc",
|
|
22933
|
-
load: async () => (await import("./wc-LF7NU4LA-
|
|
22933
|
+
load: async () => (await import("./wc-LF7NU4LA-B98N4IVz.mjs")).wcCommand
|
|
22934
22934
|
},
|
|
22935
22935
|
{
|
|
22936
22936
|
name: "stat",
|
|
@@ -22938,95 +22938,95 @@ var tt = [
|
|
|
22938
22938
|
},
|
|
22939
22939
|
{
|
|
22940
22940
|
name: "grep",
|
|
22941
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22941
|
+
load: async () => (await import("./grep-V3LQVMRQ-Ds_PYHKU.mjs")).grepCommand
|
|
22942
22942
|
},
|
|
22943
22943
|
{
|
|
22944
22944
|
name: "fgrep",
|
|
22945
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22945
|
+
load: async () => (await import("./grep-V3LQVMRQ-Ds_PYHKU.mjs")).fgrepCommand
|
|
22946
22946
|
},
|
|
22947
22947
|
{
|
|
22948
22948
|
name: "egrep",
|
|
22949
|
-
load: async () => (await import("./grep-V3LQVMRQ-
|
|
22949
|
+
load: async () => (await import("./grep-V3LQVMRQ-Ds_PYHKU.mjs")).egrepCommand
|
|
22950
22950
|
},
|
|
22951
22951
|
{
|
|
22952
22952
|
name: "rg",
|
|
22953
|
-
load: async () => (await import("./rg-S4FXYXWB-
|
|
22953
|
+
load: async () => (await import("./rg-S4FXYXWB-DC26zPV7.mjs")).rgCommand
|
|
22954
22954
|
},
|
|
22955
22955
|
{
|
|
22956
22956
|
name: "sed",
|
|
22957
|
-
load: async () => (await import("./sed-S5UIK574-
|
|
22957
|
+
load: async () => (await import("./sed-S5UIK574-B9K5T9Gg.mjs")).sedCommand
|
|
22958
22958
|
},
|
|
22959
22959
|
{
|
|
22960
22960
|
name: "awk",
|
|
22961
|
-
load: async () => (await import("./awk2-LA3USKJP-
|
|
22961
|
+
load: async () => (await import("./awk2-LA3USKJP-DKj2S8Ek.mjs")).awkCommand2
|
|
22962
22962
|
},
|
|
22963
22963
|
{
|
|
22964
22964
|
name: "sort",
|
|
22965
|
-
load: async () => (await import("./sort-SW2YEO5B-
|
|
22965
|
+
load: async () => (await import("./sort-SW2YEO5B-BFciT7VC.mjs")).sortCommand
|
|
22966
22966
|
},
|
|
22967
22967
|
{
|
|
22968
22968
|
name: "uniq",
|
|
22969
|
-
load: async () => (await import("./uniq-XSIZR6PB-
|
|
22969
|
+
load: async () => (await import("./uniq-XSIZR6PB-DbyhYt6T.mjs")).uniqCommand
|
|
22970
22970
|
},
|
|
22971
22971
|
{
|
|
22972
22972
|
name: "comm",
|
|
22973
|
-
load: async () => (await import("./comm-VV2LDX2J-
|
|
22973
|
+
load: async () => (await import("./comm-VV2LDX2J-DZPbcsx6.mjs")).commCommand
|
|
22974
22974
|
},
|
|
22975
22975
|
{
|
|
22976
22976
|
name: "cut",
|
|
22977
|
-
load: async () => (await import("./cut-OKARJCCV-
|
|
22977
|
+
load: async () => (await import("./cut-OKARJCCV-DsZL_hAR.mjs")).cutCommand
|
|
22978
22978
|
},
|
|
22979
22979
|
{
|
|
22980
22980
|
name: "paste",
|
|
22981
|
-
load: async () => (await import("./paste-7JC6S4DX-
|
|
22981
|
+
load: async () => (await import("./paste-7JC6S4DX-CPrcpu4D.mjs")).pasteCommand
|
|
22982
22982
|
},
|
|
22983
22983
|
{
|
|
22984
22984
|
name: "tr",
|
|
22985
|
-
load: async () => (await import("./tr-36LHWFRQ-
|
|
22985
|
+
load: async () => (await import("./tr-36LHWFRQ-BYPZKSzP.mjs")).trCommand
|
|
22986
22986
|
},
|
|
22987
22987
|
{
|
|
22988
22988
|
name: "rev",
|
|
22989
|
-
load: async () => (await import("./rev-5EHFX4EJ-
|
|
22989
|
+
load: async () => (await import("./rev-5EHFX4EJ-CFKXHMKB.mjs")).rev
|
|
22990
22990
|
},
|
|
22991
22991
|
{
|
|
22992
22992
|
name: "nl",
|
|
22993
|
-
load: async () => (await import("./nl-WSDW7I4O-
|
|
22993
|
+
load: async () => (await import("./nl-WSDW7I4O-8ML5PnOt.mjs")).nl
|
|
22994
22994
|
},
|
|
22995
22995
|
{
|
|
22996
22996
|
name: "fold",
|
|
22997
|
-
load: async () => (await import("./fold-4TQNYMSW-
|
|
22997
|
+
load: async () => (await import("./fold-4TQNYMSW-CbFz-CXV.mjs")).fold
|
|
22998
22998
|
},
|
|
22999
22999
|
{
|
|
23000
23000
|
name: "expand",
|
|
23001
|
-
load: async () => (await import("./expand-JSPG6VOP-
|
|
23001
|
+
load: async () => (await import("./expand-JSPG6VOP-DwXfkyUC.mjs")).expand
|
|
23002
23002
|
},
|
|
23003
23003
|
{
|
|
23004
23004
|
name: "unexpand",
|
|
23005
|
-
load: async () => (await import("./unexpand-CADSA4VO-
|
|
23005
|
+
load: async () => (await import("./unexpand-CADSA4VO-CnCIS3mM.mjs")).unexpand
|
|
23006
23006
|
},
|
|
23007
23007
|
{
|
|
23008
23008
|
name: "strings",
|
|
23009
|
-
load: async () => (await import("./strings-6WDHLGMX-
|
|
23009
|
+
load: async () => (await import("./strings-6WDHLGMX-BGNd9Jnz.mjs")).strings
|
|
23010
23010
|
},
|
|
23011
23011
|
{
|
|
23012
23012
|
name: "split",
|
|
23013
|
-
load: async () => (await import("./split-4KKZZXXE-
|
|
23013
|
+
load: async () => (await import("./split-4KKZZXXE-Di6qyS32.mjs")).split
|
|
23014
23014
|
},
|
|
23015
23015
|
{
|
|
23016
23016
|
name: "column",
|
|
23017
|
-
load: async () => (await import("./column-XT6UFXNQ-
|
|
23017
|
+
load: async () => (await import("./column-XT6UFXNQ-BiWBbIze.mjs")).column
|
|
23018
23018
|
},
|
|
23019
23019
|
{
|
|
23020
23020
|
name: "join",
|
|
23021
|
-
load: async () => (await import("./join-TBRGI3LQ-
|
|
23021
|
+
load: async () => (await import("./join-TBRGI3LQ-vrOut6ob.mjs")).join
|
|
23022
23022
|
},
|
|
23023
23023
|
{
|
|
23024
23024
|
name: "tee",
|
|
23025
|
-
load: async () => (await import("./tee-YUZ2FKCJ-
|
|
23025
|
+
load: async () => (await import("./tee-YUZ2FKCJ-CpJ4jxtK.mjs")).teeCommand
|
|
23026
23026
|
},
|
|
23027
23027
|
{
|
|
23028
23028
|
name: "find",
|
|
23029
|
-
load: async () => (await import("./find-INTH3OLC-
|
|
23029
|
+
load: async () => (await import("./find-INTH3OLC-znjS0yIy.mjs")).findCommand
|
|
23030
23030
|
},
|
|
23031
23031
|
{
|
|
23032
23032
|
name: "basename",
|
|
@@ -23038,19 +23038,19 @@ var tt = [
|
|
|
23038
23038
|
},
|
|
23039
23039
|
{
|
|
23040
23040
|
name: "tree",
|
|
23041
|
-
load: async () => (await import("./tree-YLD52CNT-
|
|
23041
|
+
load: async () => (await import("./tree-YLD52CNT-CyPjMXqy.mjs")).treeCommand
|
|
23042
23042
|
},
|
|
23043
23043
|
{
|
|
23044
23044
|
name: "du",
|
|
23045
|
-
load: async () => (await import("./du-572XNP42-
|
|
23045
|
+
load: async () => (await import("./du-572XNP42-hqTlcZtr.mjs")).duCommand
|
|
23046
23046
|
},
|
|
23047
23047
|
{
|
|
23048
23048
|
name: "env",
|
|
23049
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23049
|
+
load: async () => (await import("./env-36M5BO7M-CeHLsR2L.mjs")).envCommand
|
|
23050
23050
|
},
|
|
23051
23051
|
{
|
|
23052
23052
|
name: "printenv",
|
|
23053
|
-
load: async () => (await import("./env-36M5BO7M-
|
|
23053
|
+
load: async () => (await import("./env-36M5BO7M-CeHLsR2L.mjs")).printenvCommand
|
|
23054
23054
|
},
|
|
23055
23055
|
{
|
|
23056
23056
|
name: "alias",
|
|
@@ -23066,7 +23066,7 @@ var tt = [
|
|
|
23066
23066
|
},
|
|
23067
23067
|
{
|
|
23068
23068
|
name: "xargs",
|
|
23069
|
-
load: async () => (await import("./xargs-MGZPH7AX-
|
|
23069
|
+
load: async () => (await import("./xargs-MGZPH7AX-DhgYJD4l.mjs")).xargsCommand
|
|
23070
23070
|
},
|
|
23071
23071
|
{
|
|
23072
23072
|
name: "true",
|
|
@@ -23082,23 +23082,23 @@ var tt = [
|
|
|
23082
23082
|
},
|
|
23083
23083
|
{
|
|
23084
23084
|
name: "bash",
|
|
23085
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23085
|
+
load: async () => (await import("./bash-YZ33HQZQ-ClnL17Y6.mjs")).bashCommand
|
|
23086
23086
|
},
|
|
23087
23087
|
{
|
|
23088
23088
|
name: "sh",
|
|
23089
|
-
load: async () => (await import("./bash-YZ33HQZQ-
|
|
23089
|
+
load: async () => (await import("./bash-YZ33HQZQ-ClnL17Y6.mjs")).shCommand
|
|
23090
23090
|
},
|
|
23091
23091
|
{
|
|
23092
23092
|
name: "jq",
|
|
23093
|
-
load: async () => (await import("./jq-4XLYLOS5-
|
|
23093
|
+
load: async () => (await import("./jq-4XLYLOS5-CShq6xaG.mjs")).jqCommand
|
|
23094
23094
|
},
|
|
23095
23095
|
{
|
|
23096
23096
|
name: "base64",
|
|
23097
|
-
load: async () => (await import("./base64-C2AIWVNC-
|
|
23097
|
+
load: async () => (await import("./base64-C2AIWVNC-BQ8hMW4e.mjs")).base64Command
|
|
23098
23098
|
},
|
|
23099
23099
|
{
|
|
23100
23100
|
name: "diff",
|
|
23101
|
-
load: async () => (await import("./diff-MWJFIG7X-
|
|
23101
|
+
load: async () => (await import("./diff-MWJFIG7X-2NZsc000.mjs")).diffCommand
|
|
23102
23102
|
},
|
|
23103
23103
|
{
|
|
23104
23104
|
name: "date",
|
|
@@ -23106,15 +23106,15 @@ var tt = [
|
|
|
23106
23106
|
},
|
|
23107
23107
|
{
|
|
23108
23108
|
name: "sleep",
|
|
23109
|
-
load: async () => (await import("./sleep-X22JJINO-
|
|
23109
|
+
load: async () => (await import("./sleep-X22JJINO-CNx95Odz.mjs")).sleepCommand
|
|
23110
23110
|
},
|
|
23111
23111
|
{
|
|
23112
23112
|
name: "timeout",
|
|
23113
|
-
load: async () => (await import("./timeout-YDCRSLPQ-
|
|
23113
|
+
load: async () => (await import("./timeout-YDCRSLPQ-BzPojgUO.mjs")).timeoutCommand
|
|
23114
23114
|
},
|
|
23115
23115
|
{
|
|
23116
23116
|
name: "time",
|
|
23117
|
-
load: async () => (await import("./time-D4LNBSWX-
|
|
23117
|
+
load: async () => (await import("./time-D4LNBSWX-DGtUFoCp.mjs")).timeCommand
|
|
23118
23118
|
},
|
|
23119
23119
|
{
|
|
23120
23120
|
name: "seq",
|
|
@@ -23122,19 +23122,19 @@ var tt = [
|
|
|
23122
23122
|
},
|
|
23123
23123
|
{
|
|
23124
23124
|
name: "expr",
|
|
23125
|
-
load: async () => (await import("./expr-5JAACS4X-
|
|
23125
|
+
load: async () => (await import("./expr-5JAACS4X-Du0xEimU.mjs")).exprCommand
|
|
23126
23126
|
},
|
|
23127
23127
|
{
|
|
23128
23128
|
name: "md5sum",
|
|
23129
|
-
load: async () => (await import("./md5sum-SPU24VSG-
|
|
23129
|
+
load: async () => (await import("./md5sum-SPU24VSG-xyfkpvOC.mjs")).md5sumCommand
|
|
23130
23130
|
},
|
|
23131
23131
|
{
|
|
23132
23132
|
name: "sha1sum",
|
|
23133
|
-
load: async () => (await import("./sha1sum-2PTOAFR6-
|
|
23133
|
+
load: async () => (await import("./sha1sum-2PTOAFR6-BUGBKovb.mjs")).sha1sumCommand
|
|
23134
23134
|
},
|
|
23135
23135
|
{
|
|
23136
23136
|
name: "sha256sum",
|
|
23137
|
-
load: async () => (await import("./sha256sum-NS7D3IXX-
|
|
23137
|
+
load: async () => (await import("./sha256sum-NS7D3IXX-BXsOvWgJ.mjs")).sha256sumCommand
|
|
23138
23138
|
},
|
|
23139
23139
|
{
|
|
23140
23140
|
name: "file",
|
|
@@ -23142,11 +23142,11 @@ var tt = [
|
|
|
23142
23142
|
},
|
|
23143
23143
|
{
|
|
23144
23144
|
name: "html-to-markdown",
|
|
23145
|
-
load: async () => (await import("./html-to-markdown-JW4MSQZO
|
|
23145
|
+
load: async () => (await import("./html-to-markdown-JW4MSQZO-OTByOYjB.mjs")).htmlToMarkdownCommand
|
|
23146
23146
|
},
|
|
23147
23147
|
{
|
|
23148
23148
|
name: "help",
|
|
23149
|
-
load: async () => (await import("./help-HZ6M2CKN-
|
|
23149
|
+
load: async () => (await import("./help-HZ6M2CKN-8IX-B75c.mjs")).helpCommand
|
|
23150
23150
|
},
|
|
23151
23151
|
{
|
|
23152
23152
|
name: "which",
|
|
@@ -23154,7 +23154,7 @@ var tt = [
|
|
|
23154
23154
|
},
|
|
23155
23155
|
{
|
|
23156
23156
|
name: "tac",
|
|
23157
|
-
load: async () => (await import("./tac-2STMMJYW-
|
|
23157
|
+
load: async () => (await import("./tac-2STMMJYW-B7m5nT_3.mjs")).tac
|
|
23158
23158
|
},
|
|
23159
23159
|
{
|
|
23160
23160
|
name: "hostname",
|
|
@@ -23166,49 +23166,49 @@ var tt = [
|
|
|
23166
23166
|
},
|
|
23167
23167
|
{
|
|
23168
23168
|
name: "od",
|
|
23169
|
-
load: async () => (await import("./od-WOKFDJTP-
|
|
23169
|
+
load: async () => (await import("./od-WOKFDJTP-C0ONnTil.mjs")).od
|
|
23170
23170
|
},
|
|
23171
23171
|
{
|
|
23172
23172
|
name: "gzip",
|
|
23173
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23173
|
+
load: async () => (await import("./gzip-O5ASJAFY-DCdKkN1u.mjs")).gzipCommand
|
|
23174
23174
|
},
|
|
23175
23175
|
{
|
|
23176
23176
|
name: "gunzip",
|
|
23177
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23177
|
+
load: async () => (await import("./gzip-O5ASJAFY-DCdKkN1u.mjs")).gunzipCommand
|
|
23178
23178
|
},
|
|
23179
23179
|
{
|
|
23180
23180
|
name: "zcat",
|
|
23181
|
-
load: async () => (await import("./gzip-O5ASJAFY-
|
|
23181
|
+
load: async () => (await import("./gzip-O5ASJAFY-DCdKkN1u.mjs")).zcatCommand
|
|
23182
23182
|
}
|
|
23183
23183
|
];
|
|
23184
23184
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (tt.push({
|
|
23185
23185
|
name: "tar",
|
|
23186
|
-
load: async () => (await import("./tar-STHHZTZ6-
|
|
23186
|
+
load: async () => (await import("./tar-STHHZTZ6-BZuw5hJf.mjs")).tarCommand
|
|
23187
23187
|
}), tt.push({
|
|
23188
23188
|
name: "yq",
|
|
23189
|
-
load: async () => (await import("./yq-4QJW3EQG-
|
|
23189
|
+
load: async () => (await import("./yq-4QJW3EQG-D_bl6qRw.mjs")).yqCommand
|
|
23190
23190
|
}), tt.push({
|
|
23191
23191
|
name: "xan",
|
|
23192
|
-
load: async () => (await import("./xan-Y6WF3IRG-
|
|
23192
|
+
load: async () => (await import("./xan-Y6WF3IRG-D61ETw5M.mjs")).xanCommand
|
|
23193
23193
|
}), tt.push({
|
|
23194
23194
|
name: "sqlite3",
|
|
23195
|
-
load: async () => (await import("./sqlite3-CGOEFJAO-
|
|
23195
|
+
load: async () => (await import("./sqlite3-CGOEFJAO-BcjjxxUW.mjs")).sqlite3Command
|
|
23196
23196
|
}));
|
|
23197
23197
|
var Yt = [];
|
|
23198
23198
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Yt.push({
|
|
23199
23199
|
name: "python3",
|
|
23200
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23200
|
+
load: async () => (await import("./python3-POMOR4OA-l8C6ZEN-.mjs")).python3Command
|
|
23201
23201
|
}), Yt.push({
|
|
23202
23202
|
name: "python",
|
|
23203
|
-
load: async () => (await import("./python3-POMOR4OA-
|
|
23203
|
+
load: async () => (await import("./python3-POMOR4OA-l8C6ZEN-.mjs")).pythonCommand
|
|
23204
23204
|
}));
|
|
23205
23205
|
var Qt = [];
|
|
23206
23206
|
(typeof __BROWSER__ > "u" || !__BROWSER__) && (Qt.push({
|
|
23207
23207
|
name: "js-exec",
|
|
23208
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23208
|
+
load: async () => (await import("./js-exec-N5KEZBH7-CsDbHl0T.mjs")).jsExecCommand
|
|
23209
23209
|
}), Qt.push({
|
|
23210
23210
|
name: "node",
|
|
23211
|
-
load: async () => (await import("./js-exec-N5KEZBH7-
|
|
23211
|
+
load: async () => (await import("./js-exec-N5KEZBH7-CsDbHl0T.mjs")).nodeStubCommand
|
|
23212
23212
|
}));
|
|
23213
23213
|
new TextEncoder();
|
|
23214
23214
|
Object.freeze({
|
|
@@ -24277,7 +24277,7 @@ function withOrganizationProjectDatabase() {
|
|
|
24277
24277
|
}
|
|
24278
24278
|
//#endregion
|
|
24279
24279
|
//#region src/routes/account/users/me/avatar/GET.ts
|
|
24280
|
-
const handler$
|
|
24280
|
+
const handler$82 = async (c) => {
|
|
24281
24281
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24282
24282
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24283
24283
|
return c.json(UserAvatarSchema.parse({ url: dbUser.image ?? null }));
|
|
@@ -24296,7 +24296,7 @@ function avatarExtensionForContentType(contentType) {
|
|
|
24296
24296
|
}
|
|
24297
24297
|
//#endregion
|
|
24298
24298
|
//#region src/routes/account/users/me/avatar/presign/POST.ts
|
|
24299
|
-
const handler$
|
|
24299
|
+
const handler$81 = async (c) => {
|
|
24300
24300
|
const parsed = PresignUserAvatarRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24301
24301
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar upload request" }), 400);
|
|
24302
24302
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -24336,7 +24336,7 @@ async function deleteStoredImageIfOwned(input) {
|
|
|
24336
24336
|
}
|
|
24337
24337
|
//#endregion
|
|
24338
24338
|
//#region src/routes/account/users/me/avatar/PATCH.ts
|
|
24339
|
-
const handler$
|
|
24339
|
+
const handler$80 = async (c) => {
|
|
24340
24340
|
const parsed = UserAvatarPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24341
24341
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid avatar update" }), 400);
|
|
24342
24342
|
const user = c.get("user");
|
|
@@ -24378,14 +24378,14 @@ const handler$78 = async (c) => {
|
|
|
24378
24378
|
};
|
|
24379
24379
|
//#endregion
|
|
24380
24380
|
//#region src/routes/account/users/me/preferences/GET.ts
|
|
24381
|
-
const handler$
|
|
24381
|
+
const handler$79 = async (c) => {
|
|
24382
24382
|
const dbUser = await selectUserById(c.get("user").id);
|
|
24383
24383
|
if (!dbUser) return c.json(ErrorResponseSchema.parse({ error: "User not found" }), 404);
|
|
24384
24384
|
return c.json(UserPreferencesSchema.parse(normalizeUserPreferences(dbUser.preferences)));
|
|
24385
24385
|
};
|
|
24386
24386
|
//#endregion
|
|
24387
24387
|
//#region src/routes/account/users/me/preferences/PATCH.ts
|
|
24388
|
-
const handler$
|
|
24388
|
+
const handler$78 = async (c) => {
|
|
24389
24389
|
const parsed = UserPreferencesPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24390
24390
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid preferences update" }), 400);
|
|
24391
24391
|
const user = c.get("user");
|
|
@@ -24400,7 +24400,7 @@ const handler$76 = async (c) => {
|
|
|
24400
24400
|
};
|
|
24401
24401
|
//#endregion
|
|
24402
24402
|
//#region src/routes/account/organizations/GET.ts
|
|
24403
|
-
const handler$
|
|
24403
|
+
const handler$77 = async (c) => {
|
|
24404
24404
|
const memberships = await selectUserOrganizations(c.get("user").id);
|
|
24405
24405
|
return c.json(ListOrganizationsResponseSchema.parse(memberships.map(mapUserOrganization)));
|
|
24406
24406
|
};
|
|
@@ -24478,7 +24478,7 @@ function createOrganizationHandler(deps) {
|
|
|
24478
24478
|
}
|
|
24479
24479
|
//#endregion
|
|
24480
24480
|
//#region src/routes/account/organizations/slug-available/GET.ts
|
|
24481
|
-
const handler$
|
|
24481
|
+
const handler$76 = async (c) => {
|
|
24482
24482
|
const parsed = SlugAvailabilityQuerySchema.safeParse({
|
|
24483
24483
|
slug: c.req.query("slug"),
|
|
24484
24484
|
excludeOrganizationId: c.req.query("excludeOrganizationId")
|
|
@@ -24489,7 +24489,7 @@ const handler$74 = async (c) => {
|
|
|
24489
24489
|
};
|
|
24490
24490
|
//#endregion
|
|
24491
24491
|
//#region src/routes/account/organizations/[organizationId]/GET.ts
|
|
24492
|
-
const handler$
|
|
24492
|
+
const handler$75 = async (c) => {
|
|
24493
24493
|
const { organizationId } = c.get("organization");
|
|
24494
24494
|
const membership = await selectUserOrganizationMembership(c.get("user").id, organizationId);
|
|
24495
24495
|
if (!membership) throw new Error(`Organization membership missing after param guard: ${organizationId}`);
|
|
@@ -24497,7 +24497,7 @@ const handler$73 = async (c) => {
|
|
|
24497
24497
|
};
|
|
24498
24498
|
//#endregion
|
|
24499
24499
|
//#region src/routes/account/organizations/[organizationId]/PATCH.ts
|
|
24500
|
-
const handler$
|
|
24500
|
+
const handler$74 = async (c) => {
|
|
24501
24501
|
const organization = c.get("organization");
|
|
24502
24502
|
const body = await c.req.json().catch(() => null);
|
|
24503
24503
|
const parsed = UpdateOrganizationRequestSchema.safeParse(body);
|
|
@@ -24522,7 +24522,7 @@ const handler$72 = async (c) => {
|
|
|
24522
24522
|
};
|
|
24523
24523
|
//#endregion
|
|
24524
24524
|
//#region src/routes/account/organizations/[organizationId]/branding/GET.ts
|
|
24525
|
-
const handler$
|
|
24525
|
+
const handler$73 = async (c) => {
|
|
24526
24526
|
const { organizationId } = c.get("organization");
|
|
24527
24527
|
const organization = await selectOrganizationById(organizationId);
|
|
24528
24528
|
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
@@ -24571,7 +24571,7 @@ async function finalizeOrgLogoVariant(input) {
|
|
|
24571
24571
|
publicUrl: finalized.publicUrl
|
|
24572
24572
|
};
|
|
24573
24573
|
}
|
|
24574
|
-
const handler$
|
|
24574
|
+
const handler$72 = async (c) => {
|
|
24575
24575
|
const parsed = OrganizationSidebarBrandingPatchSchema.safeParse(await c.req.json().catch(() => null));
|
|
24576
24576
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid branding update" }), 400);
|
|
24577
24577
|
const { organizationId } = c.get("organization");
|
|
@@ -24599,7 +24599,7 @@ const handler$70 = async (c) => {
|
|
|
24599
24599
|
};
|
|
24600
24600
|
//#endregion
|
|
24601
24601
|
//#region src/routes/account/organizations/[organizationId]/branding/logo/presign/POST.ts
|
|
24602
|
-
const handler$
|
|
24602
|
+
const handler$71 = async (c) => {
|
|
24603
24603
|
const parsed = PresignOrgLogoRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
24604
24604
|
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid logo upload request" }), 400);
|
|
24605
24605
|
const extension = avatarExtensionForContentType(parsed.data.contentType);
|
|
@@ -24700,7 +24700,7 @@ async function attachRanAsToDetail(detail, ranByUserId) {
|
|
|
24700
24700
|
}
|
|
24701
24701
|
//#endregion
|
|
24702
24702
|
//#region src/routes/account/history/GET.ts
|
|
24703
|
-
const handler$
|
|
24703
|
+
const handler$70 = async (c) => {
|
|
24704
24704
|
const organization = c.get("organization");
|
|
24705
24705
|
const ctx = accessContext(c);
|
|
24706
24706
|
const query = HistoryRunListQuerySchema.parse({
|
|
@@ -24723,7 +24723,7 @@ const handler$68 = async (c) => {
|
|
|
24723
24723
|
};
|
|
24724
24724
|
//#endregion
|
|
24725
24725
|
//#region src/routes/account/history/[runId]/GET.ts
|
|
24726
|
-
const handler$
|
|
24726
|
+
const handler$69 = async (c) => {
|
|
24727
24727
|
const runId = c.req.param("runId") ?? "";
|
|
24728
24728
|
if (!runId) return c.json(null, 404);
|
|
24729
24729
|
const core = await findHistoryRunCore(runId);
|
|
@@ -24767,6 +24767,7 @@ function toAgentSummary(row, options) {
|
|
|
24767
24767
|
updatedAt: row.updatedAt.toISOString(),
|
|
24768
24768
|
sourcePath: row.moduleFile,
|
|
24769
24769
|
model: formatModel(row.model),
|
|
24770
|
+
capabilities: options?.capabilities,
|
|
24770
24771
|
systemPrompt: row.systemPrompt || void 0,
|
|
24771
24772
|
toolCount: row.toolCount ?? void 0,
|
|
24772
24773
|
credentialCount: row.credentialCount ?? void 0,
|
|
@@ -24779,7 +24780,7 @@ function toAgentSummary(row, options) {
|
|
|
24779
24780
|
}
|
|
24780
24781
|
//#endregion
|
|
24781
24782
|
//#region src/routes/account/agents/GET.ts
|
|
24782
|
-
const handler$
|
|
24783
|
+
const handler$68 = async (c) => {
|
|
24783
24784
|
const filter = await resolveListProjectIds(c, listScope(c, agentListScope(accessContext(c))), c.req.query("projectId"));
|
|
24784
24785
|
if (filter === "empty") return c.json(AgentSummaryListResponseSchema.parse([]));
|
|
24785
24786
|
const rows = await listActiveAgents(filter);
|
|
@@ -24787,25 +24788,140 @@ const handler$66 = async (c) => {
|
|
|
24787
24788
|
return c.json(AgentSummaryListResponseSchema.parse(rows.map((row) => toAgentSummary(row, { lastRunAt: lastRunAtById.get(row.id) ?? null }))));
|
|
24788
24789
|
};
|
|
24789
24790
|
//#endregion
|
|
24790
|
-
//#region
|
|
24791
|
-
function
|
|
24792
|
-
|
|
24791
|
+
//#region ../../packages/agent/dist/schemas-DqPtvoUX.mjs
|
|
24792
|
+
function capabilitiesFromGatewayTags(tags) {
|
|
24793
|
+
const set = new Set(tags ?? []);
|
|
24794
|
+
return {
|
|
24795
|
+
images: set.has("vision"),
|
|
24796
|
+
files: set.has("file-input")
|
|
24797
|
+
};
|
|
24793
24798
|
}
|
|
24794
|
-
|
|
24795
|
-
|
|
24796
|
-
|
|
24797
|
-
const
|
|
24798
|
-
const
|
|
24799
|
-
if (
|
|
24800
|
-
|
|
24801
|
-
|
|
24802
|
-
|
|
24803
|
-
|
|
24804
|
-
|
|
24805
|
-
|
|
24806
|
-
|
|
24807
|
-
return
|
|
24808
|
-
}
|
|
24799
|
+
const DEFAULT_GATEWAY_ORIGIN = "https://ai-gateway.vercel.sh";
|
|
24800
|
+
/** Resolve the model catalog URL for pricing metadata (via platform proxy when configured). */
|
|
24801
|
+
function resolveGatewayCatalogUrl(modelId) {
|
|
24802
|
+
const baseUrl = resolveGatewayBaseUrl();
|
|
24803
|
+
const apiKey = process.env.AI_GATEWAY_API_KEY?.trim();
|
|
24804
|
+
if (baseUrl && apiKey) return {
|
|
24805
|
+
url: `${baseUrl.replace(/\/$/, "")}/models/${modelId}`,
|
|
24806
|
+
headers: {
|
|
24807
|
+
accept: "application/json",
|
|
24808
|
+
authorization: `Bearer ${apiKey}`
|
|
24809
|
+
},
|
|
24810
|
+
cacheKey: baseUrl
|
|
24811
|
+
};
|
|
24812
|
+
return {
|
|
24813
|
+
url: `${DEFAULT_GATEWAY_ORIGIN}/v1/models/${modelId}`,
|
|
24814
|
+
headers: { accept: "application/json" },
|
|
24815
|
+
cacheKey: DEFAULT_GATEWAY_ORIGIN
|
|
24816
|
+
};
|
|
24817
|
+
}
|
|
24818
|
+
function resolveGatewayBaseUrl() {
|
|
24819
|
+
const configured = process.env.AI_GATEWAY_BASE_URL?.trim();
|
|
24820
|
+
if (configured) return configured.replace(/\/$/, "");
|
|
24821
|
+
const platformUrl = process.env.PLATFORM_URL?.trim();
|
|
24822
|
+
if (!platformUrl || !process.env.AI_GATEWAY_API_KEY?.trim()) return;
|
|
24823
|
+
const projectId = getProjectScopeId();
|
|
24824
|
+
return `${platformUrl.replace(/\/$/, "")}/internal/projects/${encodeURIComponent(projectId)}/llm`;
|
|
24825
|
+
}
|
|
24826
|
+
const AGENT_MODEL_ID_PATTERN = /^[a-z0-9-]+\/.+/;
|
|
24827
|
+
const AgentModelIdSchema = z.custom((value) => typeof value === "string" && AGENT_MODEL_ID_PATTERN.test(value), "model must be vendor/model-id");
|
|
24828
|
+
const GatewayModelPricingSchema = z.object({
|
|
24829
|
+
input: z.string().optional(),
|
|
24830
|
+
output: z.string().optional(),
|
|
24831
|
+
input_cache_read: z.string().optional()
|
|
24832
|
+
});
|
|
24833
|
+
const GatewayModelResponseSchema = z.object({
|
|
24834
|
+
id: z.string().min(1),
|
|
24835
|
+
name: z.string().optional(),
|
|
24836
|
+
type: z.string().optional(),
|
|
24837
|
+
context_window: z.number().int().positive().optional(),
|
|
24838
|
+
max_tokens: z.number().int().positive().optional(),
|
|
24839
|
+
tags: z.array(z.string()).optional(),
|
|
24840
|
+
pricing: GatewayModelPricingSchema.optional()
|
|
24841
|
+
});
|
|
24842
|
+
function parseGatewayModelResponse(body) {
|
|
24843
|
+
const parsed = GatewayModelResponseSchema.safeParse(body);
|
|
24844
|
+
return parsed.success ? parsed.data : void 0;
|
|
24845
|
+
}
|
|
24846
|
+
function pricePerMillion(value) {
|
|
24847
|
+
if (!value) return 0;
|
|
24848
|
+
const perToken = Number(value);
|
|
24849
|
+
if (!Number.isFinite(perToken) || perToken <= 0) return 0;
|
|
24850
|
+
return perToken * 1e6;
|
|
24851
|
+
}
|
|
24852
|
+
const gatewayModelCache = /* @__PURE__ */ new Map();
|
|
24853
|
+
const gatewayModelPending = /* @__PURE__ */ new Map();
|
|
24854
|
+
function gatewayModelCacheKey(modelId, catalog) {
|
|
24855
|
+
return `${catalog.cacheKey}::${modelId}`;
|
|
24856
|
+
}
|
|
24857
|
+
async function fetchGatewayModelMetadata(modelId) {
|
|
24858
|
+
const catalog = resolveGatewayCatalogUrl(modelId);
|
|
24859
|
+
const cacheKey = gatewayModelCacheKey(modelId, catalog);
|
|
24860
|
+
const cached = gatewayModelCache.get(cacheKey);
|
|
24861
|
+
if (cached) return cached.status === "found" ? {
|
|
24862
|
+
pricing: cached.pricing,
|
|
24863
|
+
capabilities: cached.capabilities
|
|
24864
|
+
} : void 0;
|
|
24865
|
+
const pending = gatewayModelPending.get(cacheKey);
|
|
24866
|
+
if (pending) return pending;
|
|
24867
|
+
const request = (async () => {
|
|
24868
|
+
try {
|
|
24869
|
+
const response = await fetch(catalog.url, { headers: catalog.headers });
|
|
24870
|
+
if (!response.ok) {
|
|
24871
|
+
gatewayModelCache.set(cacheKey, { status: "missing" });
|
|
24872
|
+
return;
|
|
24873
|
+
}
|
|
24874
|
+
const raw = parseGatewayModelResponse(await response.json());
|
|
24875
|
+
if (!raw || raw.type && raw.type !== "language") {
|
|
24876
|
+
gatewayModelCache.set(cacheKey, { status: "missing" });
|
|
24877
|
+
return;
|
|
24878
|
+
}
|
|
24879
|
+
const capabilities = capabilitiesFromGatewayTags(raw.tags);
|
|
24880
|
+
const pricing = {
|
|
24881
|
+
inputPerMillion: pricePerMillion(raw.pricing?.input),
|
|
24882
|
+
outputPerMillion: pricePerMillion(raw.pricing?.output),
|
|
24883
|
+
cacheReadPerMillion: pricePerMillion(raw.pricing?.input_cache_read)
|
|
24884
|
+
};
|
|
24885
|
+
gatewayModelCache.set(cacheKey, {
|
|
24886
|
+
status: "found",
|
|
24887
|
+
pricing,
|
|
24888
|
+
capabilities
|
|
24889
|
+
});
|
|
24890
|
+
return {
|
|
24891
|
+
pricing,
|
|
24892
|
+
capabilities
|
|
24893
|
+
};
|
|
24894
|
+
} catch {
|
|
24895
|
+
gatewayModelCache.set(cacheKey, { status: "missing" });
|
|
24896
|
+
return;
|
|
24897
|
+
} finally {
|
|
24898
|
+
gatewayModelPending.delete(cacheKey);
|
|
24899
|
+
}
|
|
24900
|
+
})();
|
|
24901
|
+
gatewayModelPending.set(cacheKey, request);
|
|
24902
|
+
return request;
|
|
24903
|
+
}
|
|
24904
|
+
/** Cached gateway catalog lookup for model multimodal capabilities. */
|
|
24905
|
+
async function resolveModelCapabilities(modelId) {
|
|
24906
|
+
return (await fetchGatewayModelMetadata(modelId))?.capabilities ?? {
|
|
24907
|
+
images: false,
|
|
24908
|
+
files: false
|
|
24909
|
+
};
|
|
24910
|
+
}
|
|
24911
|
+
const ThinkingLevelSchema = z.enum([
|
|
24912
|
+
"provider-default",
|
|
24913
|
+
"none",
|
|
24914
|
+
"minimal",
|
|
24915
|
+
"low",
|
|
24916
|
+
"medium",
|
|
24917
|
+
"high",
|
|
24918
|
+
"xhigh"
|
|
24919
|
+
]);
|
|
24920
|
+
z.object({
|
|
24921
|
+
systemPrompt: z.string(),
|
|
24922
|
+
model: AgentModelIdSchema,
|
|
24923
|
+
thinkingLevel: ThinkingLevelSchema.optional()
|
|
24924
|
+
});
|
|
24809
24925
|
//#endregion
|
|
24810
24926
|
//#region ../../packages/shared/dist/agent-paths.mjs
|
|
24811
24927
|
function agentMemoryStoragePrefix(agentId) {
|
|
@@ -24863,12 +24979,62 @@ z.object({
|
|
|
24863
24979
|
limit: z.number().int().min(1).max(50).optional(),
|
|
24864
24980
|
full: z.boolean().describe("When true, return complete archive note files for archive hits, ignored for session hits (search).").optional()
|
|
24865
24981
|
});
|
|
24982
|
+
new AsyncLocalStorage();
|
|
24983
|
+
[
|
|
24984
|
+
"You are an expert chat title generator.",
|
|
24985
|
+
"",
|
|
24986
|
+
"Given the conversation so far (initial user message), generate a short, clear, and natural title (max 6-8 words) that captures the main topic or goal.",
|
|
24987
|
+
"",
|
|
24988
|
+
"Rules:",
|
|
24989
|
+
"- Be specific and descriptive; avoid vague titles like \"Conversation\" or \"Question\"",
|
|
24990
|
+
"- Prefer action-oriented or outcome-focused phrasing when possible",
|
|
24991
|
+
"- Use title case",
|
|
24992
|
+
"- Keep it under 65 characters when possible",
|
|
24993
|
+
"- Do not use quotes or emojis",
|
|
24994
|
+
"- Return ONLY the title, nothing else",
|
|
24995
|
+
"",
|
|
24996
|
+
"Examples:",
|
|
24997
|
+
"",
|
|
24998
|
+
"User: How do I set up a new Next.js project with TypeScript?",
|
|
24999
|
+
"→ Setting Up Next.js Project with TypeScript",
|
|
25000
|
+
"",
|
|
25001
|
+
"User: Help me debug this React hook that's causing infinite re-renders. Here's the code...",
|
|
25002
|
+
"→ Debugging Infinite Re-render in React Hook",
|
|
25003
|
+
"",
|
|
25004
|
+
"User: Write a cold email sequence for fundraising from YC alums",
|
|
25005
|
+
"→ YC Alumni Fundraising Cold Email Sequence"
|
|
25006
|
+
].join("\n");
|
|
25007
|
+
//#endregion
|
|
25008
|
+
//#region src/routes/account/lib/touch-resource-activity.ts
|
|
25009
|
+
function touchResourceActivityBestEffort(options) {
|
|
25010
|
+
deferRequestBackgroundTask(touchResourceActivity(options).catch(() => {}));
|
|
25011
|
+
}
|
|
25012
|
+
//#endregion
|
|
25013
|
+
//#region src/routes/account/agents/[agentId]/GET.ts
|
|
25014
|
+
const handler$67 = async (c) => {
|
|
25015
|
+
const agentId = c.req.param("agentId") ?? "";
|
|
25016
|
+
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
25017
|
+
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(AgentSummaryDetailResponseSchema.parse(null));
|
|
25018
|
+
touchResourceActivityBestEffort({
|
|
25019
|
+
userId: c.get("user").id,
|
|
25020
|
+
projectId: row.projectId,
|
|
25021
|
+
resourceKind: "agent",
|
|
25022
|
+
resourceId: row.id
|
|
25023
|
+
});
|
|
25024
|
+
const lastRunAtById = await selectAgentLastRunAtByIds([row.id]);
|
|
25025
|
+
const parsedModel = row.model ? AgentModelIdSchema.safeParse(row.model) : void 0;
|
|
25026
|
+
const capabilities = parsedModel?.success ? await resolveModelCapabilities(parsedModel.data) : void 0;
|
|
25027
|
+
return c.json(AgentSummaryDetailResponseSchema.parse(toAgentSummary(row, {
|
|
25028
|
+
lastRunAt: lastRunAtById.get(row.id) ?? null,
|
|
25029
|
+
capabilities
|
|
25030
|
+
})));
|
|
25031
|
+
};
|
|
24866
25032
|
//#endregion
|
|
24867
25033
|
//#region src/routes/account/agents/[agentId]/memory/files/GET.ts
|
|
24868
25034
|
function relativePathsFromStorageKeys(prefix, keys) {
|
|
24869
25035
|
return keys.filter((key) => key.startsWith(prefix) && key.endsWith(".md")).map((key) => key.slice(prefix.length)).filter((path) => !path.startsWith(".") && !path.includes("/."));
|
|
24870
25036
|
}
|
|
24871
|
-
const handler$
|
|
25037
|
+
const handler$66 = async (c) => {
|
|
24872
25038
|
const agentId = c.req.param("agentId") ?? "";
|
|
24873
25039
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
24874
25040
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentMemoryFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -24893,7 +25059,7 @@ function isStorageNotFoundError(error) {
|
|
|
24893
25059
|
const status = typeof record.$metadata === "object" && record.$metadata !== null ? record.$metadata.httpStatusCode : void 0;
|
|
24894
25060
|
return name === "NoSuchKey" || code === "NoSuchKey" || code === "NotFound" || status === 404;
|
|
24895
25061
|
}
|
|
24896
|
-
const handler$
|
|
25062
|
+
const handler$65 = async (c) => {
|
|
24897
25063
|
const agentId = c.req.param("agentId") ?? "";
|
|
24898
25064
|
const path = c.req.query("path");
|
|
24899
25065
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -24947,7 +25113,7 @@ function workspaceRelativePathsFromStorageKeys(keys) {
|
|
|
24947
25113
|
}
|
|
24948
25114
|
//#endregion
|
|
24949
25115
|
//#region src/routes/account/agents/[agentId]/workspace/files/GET.ts
|
|
24950
|
-
const handler$
|
|
25116
|
+
const handler$64 = async (c) => {
|
|
24951
25117
|
const agentId = c.req.param("agentId") ?? "";
|
|
24952
25118
|
const row = agentId ? await selectActiveAgentById(agentId) : void 0;
|
|
24953
25119
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessAgent)) return c.json(ListAgentWorkspaceFilesResponseSchema.parse({ files: [] }), 404);
|
|
@@ -24970,7 +25136,7 @@ const handler$62 = async (c) => {
|
|
|
24970
25136
|
};
|
|
24971
25137
|
//#endregion
|
|
24972
25138
|
//#region src/routes/account/agents/[agentId]/workspace/files/content/GET.ts
|
|
24973
|
-
const handler$
|
|
25139
|
+
const handler$63 = async (c) => {
|
|
24974
25140
|
const agentId = c.req.param("agentId") ?? "";
|
|
24975
25141
|
const path = c.req.query("path");
|
|
24976
25142
|
if (!path) return c.json(ErrorResponseSchema.parse({ error: "File path is required" }), 400);
|
|
@@ -25019,7 +25185,7 @@ async function cancelHistoryRun(c, kind, cancel) {
|
|
|
25019
25185
|
}
|
|
25020
25186
|
//#endregion
|
|
25021
25187
|
//#region src/routes/account/agents/sessions/[sessionId]/cancel/POST.ts
|
|
25022
|
-
const handler$
|
|
25188
|
+
const handler$62 = (c) => cancelHistoryRun(c, "agent", cancelAgentSession);
|
|
25023
25189
|
//#endregion
|
|
25024
25190
|
//#region src/routes/account/resources/workflows.ts
|
|
25025
25191
|
function toWorkflowSummary(row, options) {
|
|
@@ -25036,7 +25202,7 @@ function toWorkflowSummary(row, options) {
|
|
|
25036
25202
|
}
|
|
25037
25203
|
//#endregion
|
|
25038
25204
|
//#region src/routes/account/workflows/GET.ts
|
|
25039
|
-
const handler$
|
|
25205
|
+
const handler$61 = async (c) => {
|
|
25040
25206
|
const filter = await resolveListProjectIds(c, listScope(c, workflowListScope(accessContext(c))), c.req.query("projectId"));
|
|
25041
25207
|
if (filter === "empty") return c.json(WorkflowSummaryListResponseSchema.parse([]));
|
|
25042
25208
|
const rows = await listActiveWorkflows(filter);
|
|
@@ -25045,7 +25211,7 @@ const handler$59 = async (c) => {
|
|
|
25045
25211
|
};
|
|
25046
25212
|
//#endregion
|
|
25047
25213
|
//#region src/routes/account/workflows/[workflowId]/GET.ts
|
|
25048
|
-
const handler$
|
|
25214
|
+
const handler$60 = async (c) => {
|
|
25049
25215
|
const workflowId = c.req.param("workflowId") ?? "";
|
|
25050
25216
|
const row = workflowId ? await selectActiveWorkflowById(workflowId) : void 0;
|
|
25051
25217
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessWorkflow)) return c.json(WorkflowSummaryDetailResponseSchema.parse(null));
|
|
@@ -25060,7 +25226,7 @@ const handler$58 = async (c) => {
|
|
|
25060
25226
|
};
|
|
25061
25227
|
//#endregion
|
|
25062
25228
|
//#region src/routes/account/workflows/runs/[runId]/cancel/POST.ts
|
|
25063
|
-
const handler$
|
|
25229
|
+
const handler$59 = (c) => cancelHistoryRun(c, "workflow", cancelWorkflowRun);
|
|
25064
25230
|
//#endregion
|
|
25065
25231
|
//#region src/routes/account/resources/skills.ts
|
|
25066
25232
|
function toSkillSummary(row) {
|
|
@@ -25076,7 +25242,7 @@ function toSkillSummary(row) {
|
|
|
25076
25242
|
}
|
|
25077
25243
|
//#endregion
|
|
25078
25244
|
//#region src/routes/account/skills/GET.ts
|
|
25079
|
-
const handler$
|
|
25245
|
+
const handler$58 = async (c) => {
|
|
25080
25246
|
const filter = await resolveListProjectIds(c, listScope(c, skillListScope(accessContext(c))), c.req.query("projectId"));
|
|
25081
25247
|
if (filter === "empty") return c.json(SkillSummaryListResponseSchema.parse([]));
|
|
25082
25248
|
const rows = await listActiveSkills(filter);
|
|
@@ -25084,7 +25250,7 @@ const handler$56 = async (c) => {
|
|
|
25084
25250
|
};
|
|
25085
25251
|
//#endregion
|
|
25086
25252
|
//#region src/routes/account/skills/[skillId]/GET.ts
|
|
25087
|
-
const handler$
|
|
25253
|
+
const handler$57 = async (c) => {
|
|
25088
25254
|
const skillId = c.req.param("skillId") ?? "";
|
|
25089
25255
|
const row = skillId ? await selectActiveSkillById(skillId) : void 0;
|
|
25090
25256
|
if (!row || !await canAccessProjectId(c, row.projectId, canAccessSkill)) return c.json(SkillSummaryDetailResponseSchema.parse(null));
|
|
@@ -25191,7 +25357,7 @@ function toWorkspaceTriggerRunSummary(item, assignments) {
|
|
|
25191
25357
|
}
|
|
25192
25358
|
//#endregion
|
|
25193
25359
|
//#region src/routes/account/triggers/GET.ts
|
|
25194
|
-
const handler$
|
|
25360
|
+
const handler$56 = async (c) => {
|
|
25195
25361
|
const organization = c.get("organization");
|
|
25196
25362
|
const scope = listScope(c, projectListScope(accessContext(c)));
|
|
25197
25363
|
const filter = await resolveListProjectIds(c, scope, c.req.query("projectId"));
|
|
@@ -25207,7 +25373,7 @@ const handler$54 = async (c) => {
|
|
|
25207
25373
|
};
|
|
25208
25374
|
//#endregion
|
|
25209
25375
|
//#region src/routes/account/triggers/[triggerId]/GET.ts
|
|
25210
|
-
const handler$
|
|
25376
|
+
const handler$55 = async (c) => {
|
|
25211
25377
|
const organization = c.get("organization");
|
|
25212
25378
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25213
25379
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25223,7 +25389,7 @@ const handler$53 = async (c) => {
|
|
|
25223
25389
|
};
|
|
25224
25390
|
//#endregion
|
|
25225
25391
|
//#region src/routes/account/triggers/[triggerId]/runs/GET.ts
|
|
25226
|
-
const handler$
|
|
25392
|
+
const handler$54 = async (c) => {
|
|
25227
25393
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25228
25394
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
25229
25395
|
const filter = await resolveListProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
@@ -25250,7 +25416,7 @@ const handler$52 = async (c) => {
|
|
|
25250
25416
|
};
|
|
25251
25417
|
//#endregion
|
|
25252
25418
|
//#region src/routes/account/triggers/[triggerId]/file/GET.ts
|
|
25253
|
-
const handler$
|
|
25419
|
+
const handler$53 = async (c) => {
|
|
25254
25420
|
const { organizationId } = c.get("organization");
|
|
25255
25421
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25256
25422
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25287,7 +25453,7 @@ function envelope(row, status, hash) {
|
|
|
25287
25453
|
model: row.overviewModel ?? "deepseek/deepseek-v4-flash"
|
|
25288
25454
|
});
|
|
25289
25455
|
}
|
|
25290
|
-
const handler$
|
|
25456
|
+
const handler$52 = async (c) => {
|
|
25291
25457
|
const { organizationId } = c.get("organization");
|
|
25292
25458
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25293
25459
|
if (!triggerId.trim()) return c.json(ErrorResponseSchema.parse({ error: "Invalid trigger id" }), 400);
|
|
@@ -25347,7 +25513,7 @@ const handler$50 = async (c) => {
|
|
|
25347
25513
|
};
|
|
25348
25514
|
//#endregion
|
|
25349
25515
|
//#region src/routes/account/triggers/[triggerId]/attachments/[attachmentId]/PATCH.ts
|
|
25350
|
-
const handler$
|
|
25516
|
+
const handler$51 = async (c) => {
|
|
25351
25517
|
const organization = c.get("organization");
|
|
25352
25518
|
const triggerId = c.req.param("triggerId") ?? "";
|
|
25353
25519
|
const attachmentId = c.req.param("attachmentId") ?? "";
|
|
@@ -25411,7 +25577,7 @@ function latestRecentInteractionAt(recent) {
|
|
|
25411
25577
|
//#endregion
|
|
25412
25578
|
//#region src/routes/account/recents/GET.ts
|
|
25413
25579
|
const RECENTS_LIMIT = 50;
|
|
25414
|
-
const handler$
|
|
25580
|
+
const handler$50 = async (c) => {
|
|
25415
25581
|
const userId = c.get("user").id;
|
|
25416
25582
|
const organization = c.get("organization");
|
|
25417
25583
|
const grantedProjectIdsList = await grantedProjectIds(c, { kind: "member-only" });
|
|
@@ -25437,7 +25603,7 @@ const handler$48 = async (c) => {
|
|
|
25437
25603
|
};
|
|
25438
25604
|
//#endregion
|
|
25439
25605
|
//#region src/routes/account/projects/GET.ts
|
|
25440
|
-
const handler$
|
|
25606
|
+
const handler$49 = async (c) => {
|
|
25441
25607
|
const organization = c.get("organization");
|
|
25442
25608
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
25443
25609
|
const projects = await selectProjectsByOrganizationId(organization.organizationId, { grantedProjectIds: grantedProjectIdsList });
|
|
@@ -25463,7 +25629,7 @@ function mergeProjectListMetrics(input) {
|
|
|
25463
25629
|
}
|
|
25464
25630
|
//#endregion
|
|
25465
25631
|
//#region src/routes/account/projects/metrics/GET.ts
|
|
25466
|
-
const handler$
|
|
25632
|
+
const handler$48 = async (c) => {
|
|
25467
25633
|
const organization = c.get("organization");
|
|
25468
25634
|
const grantedProjectIdsList = await grantedProjectIds(c, listScope(c, projectListScope(accessContext(c))));
|
|
25469
25635
|
const [resourceCounts, lastDeploymentAtByProject] = await Promise.all([selectProjectResourceCounts(grantedProjectIdsList !== void 0 ? { projectIds: grantedProjectIdsList } : void 0), selectLastDeploymentAtByProject(organization.organizationId)]);
|
|
@@ -25479,7 +25645,7 @@ const handler$46 = async (c) => {
|
|
|
25479
25645
|
};
|
|
25480
25646
|
//#endregion
|
|
25481
25647
|
//#region src/routes/account/projects/POST.ts
|
|
25482
|
-
const handler$
|
|
25648
|
+
const handler$47 = async (c) => {
|
|
25483
25649
|
const organization = c.get("organization");
|
|
25484
25650
|
const user = c.get("user");
|
|
25485
25651
|
const body = await c.req.json().catch(() => null);
|
|
@@ -25490,7 +25656,7 @@ const handler$45 = async (c) => {
|
|
|
25490
25656
|
};
|
|
25491
25657
|
//#endregion
|
|
25492
25658
|
//#region src/routes/account/projects/slug-available/GET.ts
|
|
25493
|
-
const handler$
|
|
25659
|
+
const handler$46 = async (c) => {
|
|
25494
25660
|
const organization = c.get("organization");
|
|
25495
25661
|
const parsed = ProjectSlugAvailabilityQuerySchema.safeParse({
|
|
25496
25662
|
slug: c.req.query("slug"),
|
|
@@ -25502,12 +25668,12 @@ const handler$44 = async (c) => {
|
|
|
25502
25668
|
};
|
|
25503
25669
|
//#endregion
|
|
25504
25670
|
//#region src/routes/account/projects/[projectId]/GET.ts
|
|
25505
|
-
const handler$
|
|
25671
|
+
const handler$45 = async (c) => {
|
|
25506
25672
|
return c.json(ProjectResponseSchema.parse(routeProject(c.get("project"))));
|
|
25507
25673
|
};
|
|
25508
25674
|
//#endregion
|
|
25509
25675
|
//#region src/routes/account/projects/[projectId]/PATCH.ts
|
|
25510
|
-
const handler$
|
|
25676
|
+
const handler$44 = async (c) => {
|
|
25511
25677
|
const organization = c.get("organization");
|
|
25512
25678
|
const project = c.get("project");
|
|
25513
25679
|
const body = await c.req.json().catch(() => null);
|
|
@@ -25525,7 +25691,7 @@ const handler$42 = async (c) => {
|
|
|
25525
25691
|
};
|
|
25526
25692
|
//#endregion
|
|
25527
25693
|
//#region src/routes/account/projects/[projectId]/DELETE.ts
|
|
25528
|
-
const handler$
|
|
25694
|
+
const handler$43 = async (c) => {
|
|
25529
25695
|
const organization = c.get("organization");
|
|
25530
25696
|
const project = c.get("project");
|
|
25531
25697
|
if (!await deleteProjectForOrganization(organization.organizationId, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Project not found" }), 404);
|
|
@@ -25533,7 +25699,7 @@ const handler$41 = async (c) => {
|
|
|
25533
25699
|
};
|
|
25534
25700
|
//#endregion
|
|
25535
25701
|
//#region src/routes/account/projects/[projectId]/deployments/GET.ts
|
|
25536
|
-
const handler$
|
|
25702
|
+
const handler$42 = async (c) => {
|
|
25537
25703
|
const rows = await selectProjectDeployments(c.get("project").id);
|
|
25538
25704
|
return c.json(ListProjectDeploymentsResponseSchema.parse(rows.map(mapProjectDeployment)));
|
|
25539
25705
|
};
|
|
@@ -25541,7 +25707,7 @@ const handler$40 = async (c) => {
|
|
|
25541
25707
|
//#region src/routes/account/projects/[projectId]/artifacts/POST.ts
|
|
25542
25708
|
const DEFAULT_PRESIGN_TTL_SECONDS$1 = 900;
|
|
25543
25709
|
const ARTIFACT_CONTENT_TYPE = "application/gzip";
|
|
25544
|
-
const handler$
|
|
25710
|
+
const handler$41 = async (c) => {
|
|
25545
25711
|
const project = c.get("project");
|
|
25546
25712
|
const { organizationId } = c.get("organization");
|
|
25547
25713
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -25569,7 +25735,7 @@ const handler$39 = async (c) => {
|
|
|
25569
25735
|
//#endregion
|
|
25570
25736
|
//#region src/routes/account/projects/[projectId]/artifacts/active/download/GET.ts
|
|
25571
25737
|
const DEFAULT_PRESIGN_TTL_SECONDS = 900;
|
|
25572
|
-
const handler$
|
|
25738
|
+
const handler$40 = async (c) => {
|
|
25573
25739
|
const project = c.get("project");
|
|
25574
25740
|
const { organizationId } = c.get("organization");
|
|
25575
25741
|
const organization = await selectOrganizationById(organizationId);
|
|
@@ -25588,7 +25754,7 @@ const handler$38 = async (c) => {
|
|
|
25588
25754
|
};
|
|
25589
25755
|
//#endregion
|
|
25590
25756
|
//#region src/routes/account/projects/[projectId]/artifacts/active/source/GET.ts
|
|
25591
|
-
const handler$
|
|
25757
|
+
const handler$39 = async (c) => {
|
|
25592
25758
|
const project = c.get("project");
|
|
25593
25759
|
const active = await selectActiveArtifactSourceManifestForProject(project.id);
|
|
25594
25760
|
if (!active?.sourceManifestJson) return c.json(ErrorResponseSchema.parse({ error: "No active source for project" }), 404);
|
|
@@ -25611,7 +25777,7 @@ const handler$37 = async (c) => {
|
|
|
25611
25777
|
};
|
|
25612
25778
|
//#endregion
|
|
25613
25779
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/complete/POST.ts
|
|
25614
|
-
const handler$
|
|
25780
|
+
const handler$38 = async (c) => {
|
|
25615
25781
|
const project = c.get("project");
|
|
25616
25782
|
const artifactId = c.req.param("artifactId");
|
|
25617
25783
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25650,7 +25816,7 @@ const handler$36 = async (c) => {
|
|
|
25650
25816
|
//#endregion
|
|
25651
25817
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/presign/POST.ts
|
|
25652
25818
|
const SOURCE_BLOB_CONTENT_TYPE = "text/plain; charset=utf-8";
|
|
25653
|
-
const handler$
|
|
25819
|
+
const handler$37 = async (c) => {
|
|
25654
25820
|
const project = c.get("project");
|
|
25655
25821
|
const artifactId = c.req.param("artifactId");
|
|
25656
25822
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25678,7 +25844,7 @@ const handler$35 = async (c) => {
|
|
|
25678
25844
|
};
|
|
25679
25845
|
//#endregion
|
|
25680
25846
|
//#region src/routes/account/projects/[projectId]/artifacts/[artifactId]/source/manifest/POST.ts
|
|
25681
|
-
const handler$
|
|
25847
|
+
const handler$36 = async (c) => {
|
|
25682
25848
|
const project = c.get("project");
|
|
25683
25849
|
const artifactId = c.req.param("artifactId");
|
|
25684
25850
|
if (!artifactId) return c.json(ErrorResponseSchema.parse({ error: "Artifact id is required" }), 400);
|
|
@@ -25704,6 +25870,53 @@ const handler$34 = async (c) => {
|
|
|
25704
25870
|
}), 201);
|
|
25705
25871
|
};
|
|
25706
25872
|
//#endregion
|
|
25873
|
+
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/presign/POST.ts
|
|
25874
|
+
function extensionFromUpload(contentType, filename) {
|
|
25875
|
+
const fromName = filename.includes(".") ? filename.split(".").pop()?.toLowerCase() : void 0;
|
|
25876
|
+
if (fromName && /^[a-z0-9]+$/.test(fromName)) return fromName;
|
|
25877
|
+
return chatAttachmentExtension(contentType) ?? "bin";
|
|
25878
|
+
}
|
|
25879
|
+
const handler$35 = async (c) => {
|
|
25880
|
+
const project = c.get("project");
|
|
25881
|
+
const slug = c.req.param("slug");
|
|
25882
|
+
if (!slug) return c.json(ErrorResponseSchema.parse({ error: "Agent slug is required" }), 400);
|
|
25883
|
+
const agent = await runWithProjectScope(project.id, () => selectAgentBySlug(slug));
|
|
25884
|
+
if (!agent || agent.projectId !== project.id) return c.json(ErrorResponseSchema.parse({ error: "Agent not found" }), 404);
|
|
25885
|
+
const parsed = PresignChatAttachmentRequestSchema.safeParse(await c.req.json().catch(() => null));
|
|
25886
|
+
if (!parsed.success) return c.json(ErrorResponseSchema.parse({ error: "Invalid presign request" }), 400);
|
|
25887
|
+
if (!isAllowedChatAttachmentMediaType(parsed.data.contentType)) return c.json(ErrorResponseSchema.parse({ error: "Unsupported content type" }), 400);
|
|
25888
|
+
const { organizationId } = c.get("organization");
|
|
25889
|
+
const organization = await selectOrganizationById(organizationId);
|
|
25890
|
+
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
25891
|
+
const ext = extensionFromUpload(parsed.data.contentType, parsed.data.filename);
|
|
25892
|
+
const storageKey = chatAttachmentStorageKey(project.id, crypto.randomUUID(), ext);
|
|
25893
|
+
const uploadUrl = await createOrgStorageClient(organization).presignPut({
|
|
25894
|
+
key: storageKey,
|
|
25895
|
+
contentType: parsed.data.contentType
|
|
25896
|
+
});
|
|
25897
|
+
return c.json(PresignChatAttachmentResponseSchema.parse({
|
|
25898
|
+
uploadUrl,
|
|
25899
|
+
storageKey
|
|
25900
|
+
}));
|
|
25901
|
+
};
|
|
25902
|
+
//#endregion
|
|
25903
|
+
//#region src/routes/account/projects/[projectId]/agents/[slug]/attachments/[...key]/GET.ts
|
|
25904
|
+
const handler$34 = async (c) => {
|
|
25905
|
+
const project = c.get("project");
|
|
25906
|
+
const slug = c.req.param("slug");
|
|
25907
|
+
const keyParam = c.req.param("key");
|
|
25908
|
+
if (!slug || !keyParam) return c.json(ErrorResponseSchema.parse({ error: "Attachment key is required" }), 400);
|
|
25909
|
+
const storageKey = keyParam.split("/").map((segment) => decodeURIComponent(segment)).join("/");
|
|
25910
|
+
if (!isChatAttachmentStorageKey(storageKey, project.id)) return c.json(ErrorResponseSchema.parse({ error: "Attachment not found" }), 404);
|
|
25911
|
+
const agent = await runWithProjectScope(project.id, () => selectAgentBySlug(slug));
|
|
25912
|
+
if (!agent || agent.projectId !== project.id) return c.json(ErrorResponseSchema.parse({ error: "Agent not found" }), 404);
|
|
25913
|
+
const { organizationId } = c.get("organization");
|
|
25914
|
+
const organization = await selectOrganizationById(organizationId);
|
|
25915
|
+
if (!organization) return c.json(ErrorResponseSchema.parse({ error: "Organization not found" }), 404);
|
|
25916
|
+
const url = await createOrgStorageClient(organization).presignGet({ key: storageKey });
|
|
25917
|
+
return c.redirect(url, 302);
|
|
25918
|
+
};
|
|
25919
|
+
//#endregion
|
|
25707
25920
|
//#region src/routes/account/projects/[projectId]/files/GET.ts
|
|
25708
25921
|
/**
|
|
25709
25922
|
* Resolve registry moduleFile values to paths in the deploy source snapshot.
|
|
@@ -26838,22 +27051,22 @@ function mountAccountRoutes(options) {
|
|
|
26838
27051
|
const requireProjectManageMembers = authorize(projectActions.manageMembers);
|
|
26839
27052
|
const requireInvitableProjectRole = authorizePayload(InviteProjectMembersRequestSchema, ({ c, ctx, body }) => canInviteToProject(ctx, { invitePermission: getProjectInvitePermission(c) }, body.role));
|
|
26840
27053
|
const requireOrgParam = requireOrganizationParam();
|
|
26841
|
-
account.get("/organizations", handler$
|
|
26842
|
-
account.get("/organizations/slug-available", handler$
|
|
27054
|
+
account.get("/organizations", handler$77);
|
|
27055
|
+
account.get("/organizations/slug-available", handler$76);
|
|
26843
27056
|
account.post("/organizations", createOrganizationHandler(options));
|
|
26844
|
-
account.get("/organizations/:organizationId", requireOrgParam, handler$
|
|
26845
|
-
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$
|
|
26846
|
-
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$
|
|
26847
|
-
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$
|
|
26848
|
-
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$
|
|
27057
|
+
account.get("/organizations/:organizationId", requireOrgParam, handler$75);
|
|
27058
|
+
account.patch("/organizations/:organizationId", requireOrgParam, requireOrgUpdate, handler$74);
|
|
27059
|
+
account.get("/organizations/:organizationId/branding", requireOrgParam, handler$73);
|
|
27060
|
+
account.patch("/organizations/:organizationId/branding", requireOrgParam, requireOrgUpdate, handler$72);
|
|
27061
|
+
account.post("/organizations/:organizationId/branding/logo/presign", requireOrgParam, requireOrgUpdate, handler$71);
|
|
26849
27062
|
account.get("/invitations", handler$16);
|
|
26850
27063
|
account.post("/invitations/:invitationId/accept", handler$15);
|
|
26851
27064
|
account.post("/invitations/:invitationId/decline", handler$14);
|
|
26852
|
-
account.get("/users/me/avatar", handler$
|
|
26853
|
-
account.post("/users/me/avatar/presign", handler$
|
|
26854
|
-
account.patch("/users/me/avatar", handler$
|
|
26855
|
-
account.get("/users/me/preferences", handler$
|
|
26856
|
-
account.patch("/users/me/preferences", handler$
|
|
27065
|
+
account.get("/users/me/avatar", handler$82);
|
|
27066
|
+
account.post("/users/me/avatar/presign", handler$81);
|
|
27067
|
+
account.patch("/users/me/avatar", handler$80);
|
|
27068
|
+
account.get("/users/me/preferences", handler$79);
|
|
27069
|
+
account.patch("/users/me/preferences", handler$78);
|
|
26857
27070
|
const withOrgDb = withOrganizationProjectDatabase();
|
|
26858
27071
|
orgScoped.get("/apps", handler$13);
|
|
26859
27072
|
orgScoped.get("/apps/slug-available", handler$6);
|
|
@@ -26871,39 +27084,39 @@ function mountAccountRoutes(options) {
|
|
|
26871
27084
|
orgScoped.get("/api-keys", handler$4);
|
|
26872
27085
|
orgScoped.post("/api-keys", requireApiKeyCreate, handler$3);
|
|
26873
27086
|
orgScoped.delete("/api-keys/:apiKeyId", handler$2);
|
|
26874
|
-
orgScoped.get("/agents", withOrgDb, handler$
|
|
26875
|
-
orgScoped.get("/agents/:agentId", withOrgDb, handler$
|
|
26876
|
-
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$
|
|
26877
|
-
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$
|
|
26878
|
-
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$
|
|
26879
|
-
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$
|
|
26880
|
-
orgScoped.get("/workflows", withOrgDb, handler$
|
|
26881
|
-
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$
|
|
26882
|
-
orgScoped.get("/skills", withOrgDb, handler$
|
|
26883
|
-
orgScoped.get("/skills/:skillId", withOrgDb, handler$
|
|
26884
|
-
orgScoped.get("/triggers", withOrgDb, handler$
|
|
26885
|
-
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$
|
|
26886
|
-
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$
|
|
26887
|
-
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$
|
|
26888
|
-
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$
|
|
26889
|
-
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$
|
|
26890
|
-
orgScoped.get("/recents", withOrgDb, handler$
|
|
26891
|
-
orgScoped.get("/history", withOrgDb, handler$
|
|
26892
|
-
orgScoped.get("/history/:runId", withOrgDb, handler$
|
|
26893
|
-
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$
|
|
26894
|
-
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$
|
|
27087
|
+
orgScoped.get("/agents", withOrgDb, handler$68);
|
|
27088
|
+
orgScoped.get("/agents/:agentId", withOrgDb, handler$67);
|
|
27089
|
+
orgScoped.get("/agents/:agentId/memory/files", withOrgDb, handler$66);
|
|
27090
|
+
orgScoped.get("/agents/:agentId/memory/files/content", withOrgDb, handler$65);
|
|
27091
|
+
orgScoped.get("/agents/:agentId/workspace/files", withOrgDb, handler$64);
|
|
27092
|
+
orgScoped.get("/agents/:agentId/workspace/files/content", withOrgDb, handler$63);
|
|
27093
|
+
orgScoped.get("/workflows", withOrgDb, handler$61);
|
|
27094
|
+
orgScoped.get("/workflows/:workflowId", withOrgDb, handler$60);
|
|
27095
|
+
orgScoped.get("/skills", withOrgDb, handler$58);
|
|
27096
|
+
orgScoped.get("/skills/:skillId", withOrgDb, handler$57);
|
|
27097
|
+
orgScoped.get("/triggers", withOrgDb, handler$56);
|
|
27098
|
+
orgScoped.get("/triggers/:triggerId", withOrgDb, handler$55);
|
|
27099
|
+
orgScoped.get("/triggers/:triggerId/runs", withOrgDb, handler$54);
|
|
27100
|
+
orgScoped.get("/triggers/:triggerId/file", withOrgDb, handler$53);
|
|
27101
|
+
orgScoped.get("/triggers/:triggerId/overview", withOrgDb, handler$52);
|
|
27102
|
+
orgScoped.patch("/triggers/:triggerId/attachments/:attachmentId", withOrgDb, handler$51);
|
|
27103
|
+
orgScoped.get("/recents", withOrgDb, handler$50);
|
|
27104
|
+
orgScoped.get("/history", withOrgDb, handler$70);
|
|
27105
|
+
orgScoped.get("/history/:runId", withOrgDb, handler$69);
|
|
27106
|
+
orgScoped.post("/workflows/runs/:runId/cancel", withOrgDb, handler$59);
|
|
27107
|
+
orgScoped.post("/agents/sessions/:sessionId/cancel", withOrgDb, handler$62);
|
|
26895
27108
|
orgScoped.get("/credentials", withOrgDb, handler$24);
|
|
26896
27109
|
orgScoped.post("/credentials", withOrgDb, handler$23);
|
|
26897
27110
|
orgScoped.get("/credentials/:credentialId", withOrgDb, (c, next) => c.req.param("credentialId") === "instances" ? next() : handler$22(c, next));
|
|
26898
27111
|
orgScoped.patch("/credentials/:credentialId", withOrgDb, handler$21);
|
|
26899
27112
|
orgScoped.delete("/credentials/:credentialId", withOrgDb, deleteCredential);
|
|
26900
|
-
orgScoped.get("/projects", handler$
|
|
26901
|
-
orgScoped.get("/projects/slug-available", handler$
|
|
26902
|
-
orgScoped.get("/projects/metrics", withOrgDb, handler$
|
|
26903
|
-
orgScoped.post("/projects", handler$
|
|
26904
|
-
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$
|
|
26905
|
-
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$
|
|
26906
|
-
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$
|
|
27113
|
+
orgScoped.get("/projects", handler$49);
|
|
27114
|
+
orgScoped.get("/projects/slug-available", handler$46);
|
|
27115
|
+
orgScoped.get("/projects/metrics", withOrgDb, handler$48);
|
|
27116
|
+
orgScoped.post("/projects", handler$47);
|
|
27117
|
+
projectScoped.get("/:projectId", requireProject(), requireProjectMember, handler$45);
|
|
27118
|
+
projectScoped.patch("/:projectId", requireProject(), requireProjectMember, requireProjectUpdate, handler$44);
|
|
27119
|
+
projectScoped.delete("/:projectId", requireProject(), requireProjectMember, requireProjectDelete, handler$43);
|
|
26907
27120
|
projectScoped.get("/:projectId/settings", requireProject(), requireProjectMember, handler$26);
|
|
26908
27121
|
projectScoped.patch("/:projectId/settings", requireProject(), requireProjectMember, requireProjectUpdate, handler$25);
|
|
26909
27122
|
projectScoped.get("/:projectId/members", requireProject(), requireProjectMember, handler$31);
|
|
@@ -26913,14 +27126,16 @@ function mountAccountRoutes(options) {
|
|
|
26913
27126
|
projectScoped.delete("/:projectId/members/me", requireProject(), requireProjectMember, handler$27);
|
|
26914
27127
|
projectScoped.get("/:projectId/reachability", requireProject(), requireProjectMember, createProjectReachabilityHandler(options.hosting));
|
|
26915
27128
|
projectScoped.get("/:projectId/files", requireProject(), requireProjectMember, withOrgDb, handler$33);
|
|
27129
|
+
projectScoped.post("/:projectId/agents/:slug/attachments/presign", requireProject(), requireProjectMember, withOrgDb, handler$35);
|
|
27130
|
+
projectScoped.get("/:projectId/agents/:slug/attachments/:key{.+}", requireProject(), requireProjectMember, withOrgDb, handler$34);
|
|
26916
27131
|
projectScoped.get("/:projectId/artifacts/:artifactId/files/content", requireProject(), requireProjectMember, handler$32);
|
|
26917
|
-
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$
|
|
26918
|
-
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
26919
|
-
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$
|
|
26920
|
-
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
26921
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
26922
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
26923
|
-
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$
|
|
27132
|
+
projectScoped.get("/:projectId/deployments", requireProject(), requireProjectMember, handler$42);
|
|
27133
|
+
projectScoped.get("/:projectId/artifacts/active/download", requireProject(), requireProjectMember, requireProjectDeploy, handler$40);
|
|
27134
|
+
projectScoped.get("/:projectId/artifacts/active/source", requireProject(), requireProjectMember, withOrgDb, handler$39);
|
|
27135
|
+
projectScoped.post("/:projectId/artifacts", requireProject(), requireProjectMember, requireProjectDeploy, handler$41);
|
|
27136
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/complete", requireProject(), requireProjectMember, requireProjectDeploy, handler$38);
|
|
27137
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/presign", requireProject(), requireProjectMember, requireProjectDeploy, handler$37);
|
|
27138
|
+
projectScoped.post("/:projectId/artifacts/:artifactId/source/manifest", requireProject(), requireProjectMember, requireProjectDeploy, handler$36);
|
|
26924
27139
|
orgScoped.route("/projects", projectScoped);
|
|
26925
27140
|
account.route("/", orgScoped);
|
|
26926
27141
|
return account;
|
|
@@ -27269,4 +27484,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
|
|
|
27269
27484
|
//#endregion
|
|
27270
27485
|
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 };
|
|
27271
27486
|
|
|
27272
|
-
//# sourceMappingURL=start-
|
|
27487
|
+
//# sourceMappingURL=start-C4wv93sk.mjs.map
|