@qqbrowser/openclaw-qbot 0.0.129 → 0.0.132
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/{agents-BMh3ZeoB.js → agents-Cubon1TX.js} +1 -1
- package/dist/{agents.config-B-0lZSmb.js → agents.config-Bq8Ak0F3.js} +1 -1
- package/dist/{agents.config-BDEN2Eph.js → agents.config-TMOG_1fN.js} +1 -1
- package/dist/{auth-choice-C3aUWXx9.js → auth-choice-BV7aG7qI.js} +1 -1
- package/dist/{auth-choice-edozMf7r.js → auth-choice-D4TVgwap.js} +1 -1
- package/dist/{banner-mIDEloRy.js → banner-FuYXKuyX.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Cbv7VETu.js → channel-options-B2FyYCfD.js} +1 -1
- package/dist/{channel-options-BYmHreMn.js → channel-options-BZ_7THWI.js} +1 -1
- package/dist/{channel-web-CK4RqVCH.js → channel-web-BGS9PUif.js} +1 -1
- package/dist/{channel-web-Xw89Exy3.js → channel-web-BtadNk83.js} +1 -1
- package/dist/{channels-cli-cwFjBXcP.js → channels-cli-DSFKjDFp.js} +1 -1
- package/dist/{channels-cli-D2y5Xk5i.js → channels-cli-bxaeOCRb.js} +1 -1
- package/dist/{cli-i7P4bYBg.js → cli-DKII0pIr.js} +1 -1
- package/dist/{cli-CQKA38bc.js → cli-e_aOkw6O.js} +1 -1
- package/dist/{command-registry-BYk36N_R.js → command-registry-CNhmhDmG.js} +1 -1
- package/dist/{compact-CuBCVnVS.js → compact-Cc9Dtg1D.js} +9 -6
- package/dist/{compact.runtime-Dk_X42a5.js → compact.runtime-B2zAVRW9.js} +1 -1
- package/dist/{compact.runtime-By-cADOP.js → compact.runtime-CGPivLl2.js} +1 -1
- package/dist/{compact.runtime-BPKLT0Y6.js → compact.runtime-YW0iMT9b.js} +1 -1
- package/dist/{compact.runtime-D4b4CL27.js → compact.runtime-nz90Pkok.js} +1 -1
- package/dist/{completion-cli-CRNTbZlR.js → completion-cli-B7pfb9r3.js} +1 -1
- package/dist/{completion-cli-DbGDCoiM.js → completion-cli-BqdH9qEZ.js} +1 -1
- package/dist/{config-cli-D_coAWd9.js → config-cli-BPyNIRN1.js} +1 -1
- package/dist/{config-cli-EKXoNzLf.js → config-cli-skIm9kJt.js} +1 -1
- package/dist/{configure-DNnQRKy8.js → configure-2N7tIyd5.js} +1 -1
- package/dist/{configure-NCNskZPe.js → configure-CXJUA1uP.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-3b97lk9B.js → deps-send-whatsapp.runtime-BDsE5mxt.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-Cb3WMzFa.js → deps-send-whatsapp.runtime-BJvK8RlR.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-BjO7JYUz.js → deps-send-whatsapp.runtime-C5rMMlu_.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-zvLP-GL2.js → deps-send-whatsapp.runtime-YXjIEWx_.js} +1 -1
- package/dist/{doctor-completion-BSOX-LSq.js → doctor-completion-DDbR5Q2j.js} +1 -1
- package/dist/{doctor-completion-DXqdpdlo.js → doctor-completion-lmr77XW2.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-DP65otLl.js → gateway-cli-C5MRJ6an.js} +2 -2
- package/dist/{gateway-cli-Bj-BYgGN.js → gateway-cli-CeiwBnIp.js} +2 -2
- package/dist/{health-Bedsiigi.js → health-BQNPexgp.js} +1 -1
- package/dist/{health-Cy_CvKbX.js → health-Cle8Wm2y.js} +1 -1
- package/dist/{hooks-cli-DrnH2iDk.js → hooks-cli-Dqj4slS1.js} +1 -1
- package/dist/{hooks-cli-DvfZKyZl.js → hooks-cli-HLimaYiF.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-UTdl0vXO.js → models-6WKxossI.js} +1 -1
- package/dist/{models-cli-vRoB_gfX.js → models-cli-BOluqRVa.js} +1 -1
- package/dist/{models-cli-QRONP7EL.js → models-cli-CafqEMQa.js} +1 -1
- package/dist/{npm-resolution-BCXCw93f.js → npm-resolution-Cg5YljRY.js} +1 -1
- package/dist/{npm-resolution-Cmm82lui.js → npm-resolution-D-DzMtit.js} +1 -1
- package/dist/{onboard-C65vdb94.js → onboard-DgPNeSDC.js} +2 -2
- package/dist/{onboard-channels-9CmG3Jgn.js → onboard-channels-BZ713LQ0.js} +1 -1
- package/dist/{onboard-channels-CV1AK9jY.js → onboard-channels-BhJDBFvw.js} +1 -1
- package/dist/{onboard-B3WSjKCu.js → onboard-nH3CTwLv.js} +2 -2
- package/dist/{onboarding-B8icigkk.js → onboarding-C6ipSJbr.js} +1 -1
- package/dist/{onboarding-BJRqNsZ8.js → onboarding-CuDTCs2I.js} +1 -1
- package/dist/{onboarding.finalize-Ds9NwPBL.js → onboarding.finalize-B1FGq010.js} +1 -1
- package/dist/{onboarding.finalize-D0qISqn-.js → onboarding.finalize-DKOoRYGJ.js} +1 -1
- package/dist/{pi-embedded-bqE4EmdD.js → pi-embedded-B4Un3CQs.js} +9 -6
- package/dist/{pi-embedded-ZEWNj7P5.js → pi-embedded-BB-XnYmz.js} +9 -6
- package/dist/{plugin-registry-Fg000e4I.js → plugin-registry-BdytW3KN.js} +1 -1
- package/dist/{plugin-registry-fm5tDUbE.js → plugin-registry-Bg5MxMF_.js} +1 -1
- package/dist/plugin-sdk/{channel-web-Ces_xx2T.js → channel-web-BeV4rAGn.js} +1 -1
- package/dist/plugin-sdk/{channel-web-VEZVrMYU.js → channel-web-D4n7Ejq1.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CsmEnYD8.cjs → channel-web-DUQbgeQI.cjs} +1 -1
- package/dist/plugin-sdk/{channel-web-DtzNv49H.cjs → channel-web-DY8qidtg.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-dHvwUcPw.cjs → compact.runtime-AKxo6Nlw.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-a9NY6gkE.cjs → compact.runtime-BEL9QhHa.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-lkTiEMuC.js → compact.runtime-Bwiv6Ffu.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-3HjzHUZP.js → compact.runtime-C506XCjP.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BNWdeSZd.js → compact.runtime-C72Z_cRS.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-DdTqQqss.cjs → compact.runtime-CCOK7ViI.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-CV7XZLm9.cjs → compact.runtime-CL13VtHJ.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-DW5wVRhP.js → compact.runtime-CtQXjpnH.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BV06PFoQ.js → compact.runtime-DRX9nGYX.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-DVUYkIq_.cjs → compact.runtime-ZC51rihc.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-Crk_pXQN.cjs → compact.runtime-chy72HQu.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-zEdbh4jm.js → compact.runtime-tnKCDMJd.js} +1 -1
- package/dist/plugin-sdk/compat.cjs +1 -1
- package/dist/plugin-sdk/compat.js +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-D5MoDp6d.cjs → deps-send-whatsapp.runtime-B5XtORj2.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BtJlY6w4.cjs → deps-send-whatsapp.runtime-BKc2YqfU.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime--ecTt2Sc.js → deps-send-whatsapp.runtime-BdOOZs_o.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-hMZEvL0_.cjs → deps-send-whatsapp.runtime-CcYcxuN4.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BLVt-zaJ.cjs → deps-send-whatsapp.runtime-CwAxDCX3.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BBcljK3U.cjs → deps-send-whatsapp.runtime-D5J_2Hrs.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-B2W5Uyu3.js → deps-send-whatsapp.runtime-D8KfxShd.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BBtHI22g.js → deps-send-whatsapp.runtime-DINMmgeN.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-B6fogJhg.js → deps-send-whatsapp.runtime-DLg6z6cA.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-CkstVwD8.js → deps-send-whatsapp.runtime-DT5t3zuS.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-k0NK6T1t.cjs → deps-send-whatsapp.runtime-DdnTJYXN.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-CQgpd-kW.js → deps-send-whatsapp.runtime-DsmBHHGq.js} +1 -1
- package/dist/plugin-sdk/{dispatch-BYZNaz0n.cjs → dispatch-7BS7RM76.cjs} +9 -6
- package/dist/plugin-sdk/{dispatch-BjB_TqWy.cjs → dispatch-B2j2ToZn.cjs} +9 -6
- package/dist/plugin-sdk/{dispatch-HRTsdeCV.js → dispatch-CDpXVpXP.js} +9 -6
- package/dist/plugin-sdk/{dispatch-BahZCe-D.js → dispatch-CLpAMfPN.js} +9 -6
- package/dist/plugin-sdk/{dispatch-CdZAW9dg.cjs → dispatch-CXC-k9Rs.cjs} +9 -6
- package/dist/plugin-sdk/{dispatch-Ewg2Jgw9.js → dispatch-CYu9GW2y.js} +9 -6
- package/dist/plugin-sdk/{dispatch-CNR186B3.js → dispatch-Ck_jhPMl.js} +9 -6
- package/dist/plugin-sdk/{dispatch-CStT30wi.cjs → dispatch-CrVSyC50.cjs} +9 -6
- package/dist/plugin-sdk/{dispatch-Bi3yeWxb.cjs → dispatch-DpztrKuM.cjs} +9 -6
- package/dist/plugin-sdk/{dispatch-6m3206FH.js → dispatch-evtvC4CX.js} +9 -6
- package/dist/plugin-sdk/index.cjs +1 -1
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/irc.cjs +1 -1
- package/dist/plugin-sdk/irc.js +1 -1
- package/dist/plugin-sdk/matrix.cjs +1 -1
- package/dist/plugin-sdk/matrix.js +1 -1
- package/dist/plugin-sdk/msteams.cjs +1 -1
- package/dist/plugin-sdk/msteams.js +1 -1
- package/dist/plugin-sdk/nextcloud-talk.cjs +1 -1
- package/dist/plugin-sdk/nextcloud-talk.js +1 -1
- package/dist/plugin-sdk/qqbrowser/system_prompt/custom-prompt.generated.d.ts +1 -1
- package/dist/plugin-sdk/{reply-Clex4c2R.js → reply-DVyXycvP.js} +9 -6
- package/dist/plugin-sdk/{reply-BrHB7v5V.cjs → reply-DoisbReD.cjs} +9 -6
- package/dist/plugin-sdk/{slash-dispatch.runtime-N9-DHC5J.cjs → slash-dispatch.runtime-BYnrEiwV.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-OyqBIT5K.js → slash-dispatch.runtime-C-1ypBEP.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BHG116tz.js → slash-dispatch.runtime-C6RRCuOI.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CYtxleiJ.cjs → slash-dispatch.runtime-CEj4d_D_.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BdoE2woN.js → slash-dispatch.runtime-CGVrDWbe.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-DYF5C2b7.js → slash-dispatch.runtime-CLllUNlh.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-B7VKSvWz.cjs → slash-dispatch.runtime-Cbn21nTX.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-6TNUV5sD.cjs → slash-dispatch.runtime-DiBPKJnQ.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-FHwp9NT0.js → slash-dispatch.runtime-NQj0Ea4E.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CVuiZAJX.cjs → slash-dispatch.runtime-S41pqvTC.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-eCaT05fr.js → slash-dispatch.runtime-XalVe1mU.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-scWEh2DK.cjs → slash-dispatch.runtime-g9XbY-BR.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-wO-j_HvW.cjs → subagent-registry-runtime-BZPfJcK7.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-h0yhcS5X.js → subagent-registry-runtime-BfvaomBi.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DuxxoFvb.cjs → subagent-registry-runtime-BkfV_qZo.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-Dc-5y7KZ.cjs → subagent-registry-runtime-C9kY6i4W.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-LThjIc8b.js → subagent-registry-runtime-CCunMoSD.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-BZbV2G_e.js → subagent-registry-runtime-CrWzukNj.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CPTL-18y.js → subagent-registry-runtime-CutSwJqz.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DduSFKtc.cjs → subagent-registry-runtime-DsXsp4lT.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CVARl9Ob.js → subagent-registry-runtime-UbbSTSVS.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DBo0_1La.cjs → subagent-registry-runtime-f0_GhLOw.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-C1uIU3Ox.cjs → subagent-registry-runtime-pM4nQU6u.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-2dXCCdh7.js → subagent-registry-runtime-s1EZG_RJ.js} +1 -1
- package/dist/plugin-sdk/{web-BnDJ2-GG.cjs → web-BBj3pJRI.cjs} +1 -1
- package/dist/plugin-sdk/{web-BfjArU7g.js → web-BX_wf694.js} +1 -1
- package/dist/plugin-sdk/{web-BTBgpaEi.js → web-Bt6Qr5DN.js} +1 -1
- package/dist/plugin-sdk/{web-BKKx3jqf.cjs → web-Bv54jzps.cjs} +1 -1
- package/dist/plugin-sdk/{web-C7KhecaH.cjs → web-C10r6DA0.cjs} +1 -1
- package/dist/plugin-sdk/{web-CS0AvKLx.js → web-CM_BL-xM.js} +1 -1
- package/dist/plugin-sdk/{web-Bstc61W4.cjs → web-CtEFg9k1.cjs} +1 -1
- package/dist/plugin-sdk/{web-B4A8zBP9.cjs → web-D24ZmMDR.cjs} +1 -1
- package/dist/plugin-sdk/{web-DFnjoFzV.js → web-DIJEtPIy.js} +1 -1
- package/dist/plugin-sdk/{web-CFMrBQv7.js → web-Dq1_toZ-.js} +1 -1
- package/dist/plugin-sdk/{web-BBtjNUBg.js → web-Y2KsC_aj.js} +1 -1
- package/dist/plugin-sdk/{web-EfgEjg15.cjs → web-fUWZzZ2V.cjs} +1 -1
- package/dist/plugin-sdk/whatsapp.cjs +1 -1
- package/dist/plugin-sdk/whatsapp.js +1 -1
- package/dist/{plugins-cli-BiV4FaGs.js → plugins-cli-FyQKyII0.js} +1 -1
- package/dist/{plugins-cli-C0PLRxT0.js → plugins-cli-QSi9jupq.js} +1 -1
- package/dist/{program-CI--7377.js → program-CSs3zbIT.js} +2 -2
- package/dist/{program-context-Cu8fVR-O.js → program-context-CvzQGlmy.js} +1 -1
- package/dist/{prompt-select-styled-sYEl0gMg.js → prompt-select-styled-C1y3TIrL.js} +1 -1
- package/dist/{prompt-select-styled-CbTtKeIC.js → prompt-select-styled-CtfTvGkL.js} +1 -1
- package/dist/{provider-auth-helpers-CZyb7LUg.js → provider-auth-helpers-BsJzFqzN.js} +1 -1
- package/dist/{provider-auth-helpers-C3OaF218.js → provider-auth-helpers-DNCEAkC3.js} +1 -1
- package/dist/{push-apns-tM6G9LLm.js → push-apns-3-i_UkDn.js} +1 -1
- package/dist/{push-apns-kySzOiJr.js → push-apns-B6ZnHIkM.js} +1 -1
- package/dist/{register.agent-D1hQi_68.js → register.agent-BZkNoJfz.js} +1 -1
- package/dist/{register.agent-BwmE1VD-.js → register.agent-DUyQiL_H.js} +1 -1
- package/dist/{register.configure-BsTw4XfK.js → register.configure-LYVJtNSx.js} +1 -1
- package/dist/{register.configure-DxR84Ot6.js → register.configure-N3fcntfr.js} +1 -1
- package/dist/{register.maintenance-DxKGQ9Jo.js → register.maintenance-CoYIK__n.js} +1 -1
- package/dist/{register.maintenance-3nzWAo_a.js → register.maintenance-DInaXQpP.js} +1 -1
- package/dist/{register.message-Bk1pHVSK.js → register.message-COd9aEOR.js} +1 -1
- package/dist/{register.message-PcFtBR0-.js → register.message-PcWHnhgg.js} +1 -1
- package/dist/{register.onboard-AWxbhU7j.js → register.onboard-CBGi44rr.js} +1 -1
- package/dist/{register.onboard-BTOZN8ro.js → register.onboard-DKq25Ahd.js} +1 -1
- package/dist/{register.setup-CweJJdt8.js → register.setup-9nNK9GJa.js} +1 -1
- package/dist/{register.setup-B-e1qIbc.js → register.setup-DtlxWUxF.js} +1 -1
- package/dist/{register.status-health-sessions-CWNLXpAn.js → register.status-health-sessions-DI_2pQB7.js} +1 -1
- package/dist/{register.status-health-sessions-B1R_nl6P.js → register.status-health-sessions-DnR2WcUj.js} +1 -1
- package/dist/{register.subclis-C0VQ_HfZ.js → register.subclis-cE0hv18s.js} +1 -1
- package/dist/{reply-r9KtzgpM.js → reply-SbDsPAiQ.js} +9 -6
- package/dist/{run-main-CuQQyoU3.js → run-main-DwWcrQo6.js} +1 -1
- package/dist/{server-node-events-B2irOUJ_.js → server-node-events-D_dQc21k.js} +1 -1
- package/dist/{server-node-events-DSr6P0VG.js → server-node-events-Faqpyiif.js} +1 -1
- package/dist/{slash-dispatch.runtime-D0HpS_2c.js → slash-dispatch.runtime-CDrV9rRD.js} +1 -1
- package/dist/{slash-dispatch.runtime-CzLPF9HE.js → slash-dispatch.runtime-nuZoxX0_.js} +1 -1
- package/dist/{slash-dispatch.runtime-DAVp4-2z.js → slash-dispatch.runtime-valnWMeB.js} +1 -1
- package/dist/{slash-dispatch.runtime-BQNJacCj.js → slash-dispatch.runtime-z7RQ4pU1.js} +1 -1
- package/dist/{status-DgRrUxyg.js → status-3v-rmxvZ.js} +1 -1
- package/dist/{status-DKB9gdSp.js → status-D1lt7CDs.js} +1 -1
- package/dist/{subagent-registry-runtime-DbSqq5RB.js → subagent-registry-runtime-BvE58vM7.js} +1 -1
- package/dist/{subagent-registry-runtime-c2C-KBDy.js → subagent-registry-runtime-CINY8Tso.js} +1 -1
- package/dist/{subagent-registry-runtime-ca1bXmj0.js → subagent-registry-runtime-DbZvan_g.js} +1 -1
- package/dist/{subagent-registry-runtime-COHXQCbb.js → subagent-registry-runtime-DxsLafxM.js} +1 -1
- package/dist/{update-cli-xb0jHjE8.js → update-cli-DDpqwP6G.js} +1 -1
- package/dist/{update-cli-lciKU8_L.js → update-cli-DfjeHwDJ.js} +1 -1
- package/dist/{update-runner-LVJcy569.js → update-runner-C5yG78nD.js} +1 -1
- package/dist/{update-runner-8Hto6X-M.js → update-runner-Cn2FFLI4.js} +1 -1
- package/dist/{web-B4nEAmKA.js → web-BIzg4tS6.js} +1 -1
- package/dist/{web-Bfz_qlYe.js → web-BS-UjHFC.js} +1 -1
- package/dist/{web-ClbIohhf.js → web-CW41_jQN.js} +1 -1
- package/dist/{web-BhBkUC7j.js → web-Cc3cVVew.js} +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +16 -16
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +1 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js +18 -5
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +1 -4
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +18 -5
- package/node_modules/@modelcontextprotocol/sdk/package.json +10 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -17
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +7 -9
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/express-rate-limit/dist/index.cjs +24 -13
- package/node_modules/express-rate-limit/dist/index.mjs +24 -13
- package/node_modules/express-rate-limit/package.json +7 -7
- package/node_modules/express-rate-limit/readme.md +1 -16
- package/node_modules/minimatch/dist/commonjs/ast.js +9 -10
- package/node_modules/minimatch/dist/commonjs/index.js +26 -20
- package/node_modules/minimatch/dist/commonjs/unescape.js +6 -6
- package/node_modules/minimatch/dist/esm/ast.js +9 -10
- package/node_modules/minimatch/dist/esm/index.js +26 -20
- package/node_modules/minimatch/dist/esm/unescape.js +6 -6
- package/node_modules/minimatch/package.json +14 -8
- package/node_modules/path-to-regexp/Readme.md +3 -3
- package/node_modules/path-to-regexp/dist/index.js +21 -49
- package/node_modules/path-to-regexp/package.json +2 -2
- package/package.json +1 -1
- package/preset-config.json +2 -2
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/de-DuUYLvt1.js +0 -1
- package/dist/control-ui/assets/es-DHtyqUQZ.js +0 -1
- package/dist/control-ui/assets/index-CYbiPp9k.js +0 -8383
- package/dist/control-ui/assets/index-C_GaJ8wS.css +0 -1
- package/dist/control-ui/assets/pt-BR-D2dJb9G8.js +0 -1
- package/dist/control-ui/assets/zh-CN-BgJ8_lE3.js +0 -1
- package/dist/control-ui/assets/zh-TW-cW5xB87I.js +0 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +0 -22
- package/dist/control-ui/index.html +0 -17
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -7
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
- package/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
- package/node_modules/@smithy/abort-controller/package.json +0 -63
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelcontextprotocol/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "Model Context Protocol implementation for TypeScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
|
@@ -20,38 +20,47 @@
|
|
|
20
20
|
],
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
+
"types": "./dist/esm/index.d.ts",
|
|
23
24
|
"import": "./dist/esm/index.js",
|
|
24
25
|
"require": "./dist/cjs/index.js"
|
|
25
26
|
},
|
|
26
27
|
"./client": {
|
|
28
|
+
"types": "./dist/esm/client/index.d.ts",
|
|
27
29
|
"import": "./dist/esm/client/index.js",
|
|
28
30
|
"require": "./dist/cjs/client/index.js"
|
|
29
31
|
},
|
|
30
32
|
"./server": {
|
|
33
|
+
"types": "./dist/esm/server/index.d.ts",
|
|
31
34
|
"import": "./dist/esm/server/index.js",
|
|
32
35
|
"require": "./dist/cjs/server/index.js"
|
|
33
36
|
},
|
|
34
37
|
"./validation": {
|
|
38
|
+
"types": "./dist/esm/validation/index.d.ts",
|
|
35
39
|
"import": "./dist/esm/validation/index.js",
|
|
36
40
|
"require": "./dist/cjs/validation/index.js"
|
|
37
41
|
},
|
|
38
42
|
"./validation/ajv": {
|
|
43
|
+
"types": "./dist/esm/validation/ajv-provider.d.ts",
|
|
39
44
|
"import": "./dist/esm/validation/ajv-provider.js",
|
|
40
45
|
"require": "./dist/cjs/validation/ajv-provider.js"
|
|
41
46
|
},
|
|
42
47
|
"./validation/cfworker": {
|
|
48
|
+
"types": "./dist/esm/validation/cfworker-provider.d.ts",
|
|
43
49
|
"import": "./dist/esm/validation/cfworker-provider.js",
|
|
44
50
|
"require": "./dist/cjs/validation/cfworker-provider.js"
|
|
45
51
|
},
|
|
46
52
|
"./experimental": {
|
|
53
|
+
"types": "./dist/esm/experimental/index.d.ts",
|
|
47
54
|
"import": "./dist/esm/experimental/index.js",
|
|
48
55
|
"require": "./dist/cjs/experimental/index.js"
|
|
49
56
|
},
|
|
50
57
|
"./experimental/tasks": {
|
|
58
|
+
"types": "./dist/esm/experimental/tasks/index.d.ts",
|
|
51
59
|
"import": "./dist/esm/experimental/tasks/index.js",
|
|
52
60
|
"require": "./dist/cjs/experimental/tasks/index.js"
|
|
53
61
|
},
|
|
54
62
|
"./*": {
|
|
63
|
+
"types": "./dist/esm/*.d.ts",
|
|
55
64
|
"import": "./dist/esm/*",
|
|
56
65
|
"require": "./dist/cjs/*"
|
|
57
66
|
}
|
|
@@ -166,9 +166,7 @@ class HttpProtocol extends SerdeContext {
|
|
|
166
166
|
|
|
167
167
|
class HttpBindingProtocol extends HttpProtocol {
|
|
168
168
|
async serializeRequest(operationSchema, _input, context) {
|
|
169
|
-
const input = {
|
|
170
|
-
...(_input ?? {}),
|
|
171
|
-
};
|
|
169
|
+
const input = _input && typeof _input === "object" ? _input : {};
|
|
172
170
|
const serializer = this.serializer;
|
|
173
171
|
const query = {};
|
|
174
172
|
const headers = {};
|
|
@@ -236,7 +234,6 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
236
234
|
serializer.write(memberNs, inputMemberValue);
|
|
237
235
|
payload = serializer.flush();
|
|
238
236
|
}
|
|
239
|
-
delete input[memberName];
|
|
240
237
|
}
|
|
241
238
|
else if (memberTraits.httpLabel) {
|
|
242
239
|
serializer.write(memberNs, inputMemberValue);
|
|
@@ -247,12 +244,10 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
247
244
|
else if (request.path.includes(`{${memberName}}`)) {
|
|
248
245
|
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
249
246
|
}
|
|
250
|
-
delete input[memberName];
|
|
251
247
|
}
|
|
252
248
|
else if (memberTraits.httpHeader) {
|
|
253
249
|
serializer.write(memberNs, inputMemberValue);
|
|
254
250
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
255
|
-
delete input[memberName];
|
|
256
251
|
}
|
|
257
252
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
258
253
|
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
@@ -260,11 +255,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
260
255
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
261
256
|
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
262
257
|
}
|
|
263
|
-
delete input[memberName];
|
|
264
258
|
}
|
|
265
259
|
else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
266
260
|
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
267
|
-
delete input[memberName];
|
|
268
261
|
}
|
|
269
262
|
else {
|
|
270
263
|
hasNonHttpBindingMember = true;
|
|
@@ -452,7 +445,7 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
452
445
|
}
|
|
453
446
|
|
|
454
447
|
class RpcProtocol extends HttpProtocol {
|
|
455
|
-
async serializeRequest(operationSchema,
|
|
448
|
+
async serializeRequest(operationSchema, _input, context) {
|
|
456
449
|
const serializer = this.serializer;
|
|
457
450
|
const query = {};
|
|
458
451
|
const headers = {};
|
|
@@ -460,6 +453,7 @@ class RpcProtocol extends HttpProtocol {
|
|
|
460
453
|
const ns = schema.NormalizedSchema.of(operationSchema?.input);
|
|
461
454
|
const schema$1 = ns.getSchema();
|
|
462
455
|
let payload;
|
|
456
|
+
const input = _input && typeof _input === "object" ? _input : {};
|
|
463
457
|
const request = new protocolHttp.HttpRequest({
|
|
464
458
|
protocol: "",
|
|
465
459
|
hostname: "",
|
|
@@ -474,29 +468,26 @@ class RpcProtocol extends HttpProtocol {
|
|
|
474
468
|
this.updateServiceEndpoint(request, endpoint);
|
|
475
469
|
this.setHostPrefix(request, operationSchema, input);
|
|
476
470
|
}
|
|
477
|
-
const _input = {
|
|
478
|
-
...input,
|
|
479
|
-
};
|
|
480
471
|
if (input) {
|
|
481
472
|
const eventStreamMember = ns.getEventStreamMember();
|
|
482
473
|
if (eventStreamMember) {
|
|
483
|
-
if (
|
|
474
|
+
if (input[eventStreamMember]) {
|
|
484
475
|
const initialRequest = {};
|
|
485
476
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
486
|
-
if (memberName !== eventStreamMember &&
|
|
487
|
-
serializer.write(memberSchema,
|
|
477
|
+
if (memberName !== eventStreamMember && input[memberName]) {
|
|
478
|
+
serializer.write(memberSchema, input[memberName]);
|
|
488
479
|
initialRequest[memberName] = serializer.flush();
|
|
489
480
|
}
|
|
490
481
|
}
|
|
491
482
|
payload = await this.serializeEventStream({
|
|
492
|
-
eventStream:
|
|
483
|
+
eventStream: input[eventStreamMember],
|
|
493
484
|
requestSchema: ns,
|
|
494
485
|
initialRequest,
|
|
495
486
|
});
|
|
496
487
|
}
|
|
497
488
|
}
|
|
498
489
|
else {
|
|
499
|
-
serializer.write(schema$1,
|
|
490
|
+
serializer.write(schema$1, input);
|
|
500
491
|
payload = serializer.flush();
|
|
501
492
|
}
|
|
502
493
|
}
|
|
@@ -7,9 +7,7 @@ import { extendedEncodeURIComponent } from "./extended-encode-uri-component";
|
|
|
7
7
|
import { HttpProtocol } from "./HttpProtocol";
|
|
8
8
|
export class HttpBindingProtocol extends HttpProtocol {
|
|
9
9
|
async serializeRequest(operationSchema, _input, context) {
|
|
10
|
-
const input = {
|
|
11
|
-
...(_input ?? {}),
|
|
12
|
-
};
|
|
10
|
+
const input = _input && typeof _input === "object" ? _input : {};
|
|
13
11
|
const serializer = this.serializer;
|
|
14
12
|
const query = {};
|
|
15
13
|
const headers = {};
|
|
@@ -77,7 +75,6 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
77
75
|
serializer.write(memberNs, inputMemberValue);
|
|
78
76
|
payload = serializer.flush();
|
|
79
77
|
}
|
|
80
|
-
delete input[memberName];
|
|
81
78
|
}
|
|
82
79
|
else if (memberTraits.httpLabel) {
|
|
83
80
|
serializer.write(memberNs, inputMemberValue);
|
|
@@ -88,12 +85,10 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
88
85
|
else if (request.path.includes(`{${memberName}}`)) {
|
|
89
86
|
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
90
87
|
}
|
|
91
|
-
delete input[memberName];
|
|
92
88
|
}
|
|
93
89
|
else if (memberTraits.httpHeader) {
|
|
94
90
|
serializer.write(memberNs, inputMemberValue);
|
|
95
91
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
96
|
-
delete input[memberName];
|
|
97
92
|
}
|
|
98
93
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
99
94
|
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
@@ -101,11 +96,9 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
101
96
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
102
97
|
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
103
98
|
}
|
|
104
|
-
delete input[memberName];
|
|
105
99
|
}
|
|
106
100
|
else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
107
101
|
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
108
|
-
delete input[memberName];
|
|
109
102
|
}
|
|
110
103
|
else {
|
|
111
104
|
hasNonHttpBindingMember = true;
|
|
@@ -3,7 +3,7 @@ import { HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { collectBody } from "./collect-stream-body";
|
|
4
4
|
import { HttpProtocol } from "./HttpProtocol";
|
|
5
5
|
export class RpcProtocol extends HttpProtocol {
|
|
6
|
-
async serializeRequest(operationSchema,
|
|
6
|
+
async serializeRequest(operationSchema, _input, context) {
|
|
7
7
|
const serializer = this.serializer;
|
|
8
8
|
const query = {};
|
|
9
9
|
const headers = {};
|
|
@@ -11,6 +11,7 @@ export class RpcProtocol extends HttpProtocol {
|
|
|
11
11
|
const ns = NormalizedSchema.of(operationSchema?.input);
|
|
12
12
|
const schema = ns.getSchema();
|
|
13
13
|
let payload;
|
|
14
|
+
const input = _input && typeof _input === "object" ? _input : {};
|
|
14
15
|
const request = new HttpRequest({
|
|
15
16
|
protocol: "",
|
|
16
17
|
hostname: "",
|
|
@@ -25,29 +26,26 @@ export class RpcProtocol extends HttpProtocol {
|
|
|
25
26
|
this.updateServiceEndpoint(request, endpoint);
|
|
26
27
|
this.setHostPrefix(request, operationSchema, input);
|
|
27
28
|
}
|
|
28
|
-
const _input = {
|
|
29
|
-
...input,
|
|
30
|
-
};
|
|
31
29
|
if (input) {
|
|
32
30
|
const eventStreamMember = ns.getEventStreamMember();
|
|
33
31
|
if (eventStreamMember) {
|
|
34
|
-
if (
|
|
32
|
+
if (input[eventStreamMember]) {
|
|
35
33
|
const initialRequest = {};
|
|
36
34
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
37
|
-
if (memberName !== eventStreamMember &&
|
|
38
|
-
serializer.write(memberSchema,
|
|
35
|
+
if (memberName !== eventStreamMember && input[memberName]) {
|
|
36
|
+
serializer.write(memberSchema, input[memberName]);
|
|
39
37
|
initialRequest[memberName] = serializer.flush();
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
payload = await this.serializeEventStream({
|
|
43
|
-
eventStream:
|
|
41
|
+
eventStream: input[eventStreamMember],
|
|
44
42
|
requestSchema: ns,
|
|
45
43
|
initialRequest,
|
|
46
44
|
});
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
else {
|
|
50
|
-
serializer.write(schema,
|
|
48
|
+
serializer.write(schema, input);
|
|
51
49
|
payload = serializer.flush();
|
|
52
50
|
}
|
|
53
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@smithy/util-base64": "^4.3.2",
|
|
93
93
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
94
94
|
"@smithy/util-middleware": "^4.2.12",
|
|
95
|
-
"@smithy/util-stream": "^4.5.
|
|
95
|
+
"@smithy/util-stream": "^4.5.21",
|
|
96
96
|
"@smithy/util-utf8": "^4.2.2",
|
|
97
97
|
"@smithy/uuid": "^1.1.2",
|
|
98
98
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.28",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.23.
|
|
29
|
-
"@smithy/middleware-serde": "^4.2.
|
|
28
|
+
"@smithy/core": "^3.23.13",
|
|
29
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.12",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.4.7",
|
|
32
32
|
"@smithy/types": "^4.13.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.45",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.12",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.12",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.12",
|
|
40
|
-
"@smithy/smithy-client": "^4.12.
|
|
40
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
41
41
|
"@smithy/types": "^4.13.1",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.12",
|
|
43
43
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.16",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-serde",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/core": "^3.23.
|
|
29
|
+
"@smithy/core": "^3.23.13",
|
|
30
30
|
"@smithy/protocol-http": "^5.3.12",
|
|
31
31
|
"@smithy/types": "^4.13.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/abort-controller": "^4.2.12",
|
|
31
30
|
"@smithy/protocol-http": "^5.3.12",
|
|
32
31
|
"@smithy/querystring-builder": "^4.2.12",
|
|
33
32
|
"@smithy/types": "^4.13.1",
|
|
34
33
|
"tslib": "^2.6.2"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
36
|
+
"@smithy/abort-controller": "^4.2.12",
|
|
37
37
|
"@types/node": "^18.11.9",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.23.
|
|
31
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
30
|
+
"@smithy/core": "^3.23.13",
|
|
31
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
32
32
|
"@smithy/middleware-stack": "^4.2.12",
|
|
33
33
|
"@smithy/protocol-http": "^5.3.12",
|
|
34
34
|
"@smithy/types": "^4.13.1",
|
|
35
|
-
"@smithy/util-stream": "^4.5.
|
|
35
|
+
"@smithy/util-stream": "^4.5.21",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.44",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.12",
|
|
28
|
-
"@smithy/smithy-client": "^4.12.
|
|
28
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
29
29
|
"@smithy/types": "^4.13.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.48",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.12",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.12",
|
|
30
30
|
"@smithy/property-provider": "^4.2.12",
|
|
31
|
-
"@smithy/smithy-client": "^4.12.
|
|
31
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
32
32
|
"@smithy/types": "^4.13.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.21",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
33
|
-
"@smithy/node-http-handler": "^4.5.
|
|
33
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
34
34
|
"@smithy/types": "^4.13.1",
|
|
35
35
|
"@smithy/util-base64": "^4.3.2",
|
|
36
36
|
"@smithy/util-buffer-from": "^4.2.2",
|
|
@@ -840,6 +840,9 @@ var rateLimit = (passedOptions) => {
|
|
|
840
840
|
if (typeof config.store.init === "function") config.store.init(options);
|
|
841
841
|
const middleware = handleAsyncErrors(
|
|
842
842
|
async (request, response, next) => {
|
|
843
|
+
const closePromise = config.skipFailedRequests && new Promise((resolve) => response.once("close", resolve));
|
|
844
|
+
const finishPromise = (config.skipFailedRequests || config.skipSuccessfulRequests) && new Promise((resolve) => response.once("finish", resolve));
|
|
845
|
+
const errorPromise = config.skipFailedRequests && new Promise((resolve) => response.once("error", resolve));
|
|
843
846
|
const skip = await config.skip(request, response);
|
|
844
847
|
if (skip) {
|
|
845
848
|
next();
|
|
@@ -918,22 +921,30 @@ var rateLimit = (passedOptions) => {
|
|
|
918
921
|
}
|
|
919
922
|
};
|
|
920
923
|
if (config.skipFailedRequests) {
|
|
921
|
-
|
|
922
|
-
|
|
924
|
+
if (finishPromise) {
|
|
925
|
+
void finishPromise.then(async () => {
|
|
926
|
+
if (!await config.requestWasSuccessful(request, response))
|
|
927
|
+
await decrementKey();
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
if (closePromise) {
|
|
931
|
+
void closePromise.then(async () => {
|
|
932
|
+
if (!response.writableEnded) await decrementKey();
|
|
933
|
+
});
|
|
934
|
+
}
|
|
935
|
+
if (errorPromise) {
|
|
936
|
+
void errorPromise.then(async () => {
|
|
923
937
|
await decrementKey();
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
if (!response.writableEnded) await decrementKey();
|
|
927
|
-
});
|
|
928
|
-
response.on("error", async () => {
|
|
929
|
-
await decrementKey();
|
|
930
|
-
});
|
|
938
|
+
});
|
|
939
|
+
}
|
|
931
940
|
}
|
|
932
941
|
if (config.skipSuccessfulRequests) {
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
await
|
|
936
|
-
|
|
942
|
+
if (finishPromise) {
|
|
943
|
+
void finishPromise.then(async () => {
|
|
944
|
+
if (await config.requestWasSuccessful(request, response))
|
|
945
|
+
await decrementKey();
|
|
946
|
+
});
|
|
947
|
+
}
|
|
937
948
|
}
|
|
938
949
|
}
|
|
939
950
|
config.validations.disable();
|
|
@@ -811,6 +811,9 @@ var rateLimit = (passedOptions) => {
|
|
|
811
811
|
if (typeof config.store.init === "function") config.store.init(options);
|
|
812
812
|
const middleware = handleAsyncErrors(
|
|
813
813
|
async (request, response, next) => {
|
|
814
|
+
const closePromise = config.skipFailedRequests && new Promise((resolve) => response.once("close", resolve));
|
|
815
|
+
const finishPromise = (config.skipFailedRequests || config.skipSuccessfulRequests) && new Promise((resolve) => response.once("finish", resolve));
|
|
816
|
+
const errorPromise = config.skipFailedRequests && new Promise((resolve) => response.once("error", resolve));
|
|
814
817
|
const skip = await config.skip(request, response);
|
|
815
818
|
if (skip) {
|
|
816
819
|
next();
|
|
@@ -889,22 +892,30 @@ var rateLimit = (passedOptions) => {
|
|
|
889
892
|
}
|
|
890
893
|
};
|
|
891
894
|
if (config.skipFailedRequests) {
|
|
892
|
-
|
|
893
|
-
|
|
895
|
+
if (finishPromise) {
|
|
896
|
+
void finishPromise.then(async () => {
|
|
897
|
+
if (!await config.requestWasSuccessful(request, response))
|
|
898
|
+
await decrementKey();
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
if (closePromise) {
|
|
902
|
+
void closePromise.then(async () => {
|
|
903
|
+
if (!response.writableEnded) await decrementKey();
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
if (errorPromise) {
|
|
907
|
+
void errorPromise.then(async () => {
|
|
894
908
|
await decrementKey();
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
if (!response.writableEnded) await decrementKey();
|
|
898
|
-
});
|
|
899
|
-
response.on("error", async () => {
|
|
900
|
-
await decrementKey();
|
|
901
|
-
});
|
|
909
|
+
});
|
|
910
|
+
}
|
|
902
911
|
}
|
|
903
912
|
if (config.skipSuccessfulRequests) {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
await
|
|
907
|
-
|
|
913
|
+
if (finishPromise) {
|
|
914
|
+
void finishPromise.then(async () => {
|
|
915
|
+
if (await config.requestWasSuccessful(request, response))
|
|
916
|
+
await decrementKey();
|
|
917
|
+
});
|
|
918
|
+
}
|
|
908
919
|
}
|
|
909
920
|
}
|
|
910
921
|
config.validations.disable();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-rate-limit",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2",
|
|
4
4
|
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nathan Friedly",
|
|
@@ -83,19 +83,19 @@
|
|
|
83
83
|
"@biomejs/biome": "2.4.6",
|
|
84
84
|
"@express-rate-limit/prettier": "1.1.1",
|
|
85
85
|
"@express-rate-limit/tsconfig": "1.0.2",
|
|
86
|
-
"@jest/globals": "30.
|
|
86
|
+
"@jest/globals": "30.3.0",
|
|
87
87
|
"@types/express": "5.0.6",
|
|
88
88
|
"@types/jest": "30.0.0",
|
|
89
|
-
"@types/node": "25.
|
|
89
|
+
"@types/node": "25.5.0",
|
|
90
90
|
"@types/supertest": "7.2.0",
|
|
91
91
|
"del-cli": "7.0.0",
|
|
92
92
|
"dts-bundle-generator": "8.1.2",
|
|
93
|
-
"esbuild": "0.27.
|
|
93
|
+
"esbuild": "0.27.4",
|
|
94
94
|
"express": "5.2.1",
|
|
95
95
|
"husky": "9.1.7",
|
|
96
|
-
"jest": "30.
|
|
97
|
-
"lint-staged": "16.
|
|
98
|
-
"mintlify": "4.2.
|
|
96
|
+
"jest": "30.3.0",
|
|
97
|
+
"lint-staged": "16.4.0",
|
|
98
|
+
"mintlify": "4.2.446",
|
|
99
99
|
"npm-run-all": "4.1.5",
|
|
100
100
|
"prettier": "3.8.1",
|
|
101
101
|
"ratelimit-header-parser": "0.1.0",
|
|
@@ -69,21 +69,6 @@ default values.
|
|
|
69
69
|
|
|
70
70
|
## Thank You
|
|
71
71
|
|
|
72
|
-
Sponsored by [Zuplo](https://zuplo.link/express-rate-limit) a fully-managed API
|
|
73
|
-
Gateway for developers. Add
|
|
74
|
-
[dynamic rate-limiting](https://zuplo.link/dynamic-rate-limiting),
|
|
75
|
-
authentication and more to any API in minutes. Learn more at
|
|
76
|
-
[zuplo.com](https://zuplo.link/express-rate-limit)
|
|
77
|
-
|
|
78
|
-
<p align="center">
|
|
79
|
-
<a href="https://zuplo.link/express-rate-limit">
|
|
80
|
-
<picture width="322">
|
|
81
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/express-rate-limit/express-rate-limit/assets/114976/cd2f6fa7-eae1-4fbb-be7d-b17df4c6f383">
|
|
82
|
-
<img alt="zuplo-logo" src="https://github.com/express-rate-limit/express-rate-limit/assets/114976/66fd75fa-b39e-4a8c-8d7a-52369bf244dc" width="322">
|
|
83
|
-
</picture>
|
|
84
|
-
</a>
|
|
85
|
-
</p>
|
|
86
|
-
|
|
87
72
|
---
|
|
88
73
|
|
|
89
74
|
Thanks to Mintlify for hosting the documentation at
|
|
@@ -97,7 +82,7 @@ Thanks to Mintlify for hosting the documentation at
|
|
|
97
82
|
|
|
98
83
|
---
|
|
99
84
|
|
|
100
|
-
|
|
85
|
+
And thank you to everyone who's contributed to this project in any way! 🫶
|
|
101
86
|
|
|
102
87
|
## Issues and Contributing
|
|
103
88
|
|
|
@@ -192,15 +192,14 @@ class AST {
|
|
|
192
192
|
}
|
|
193
193
|
// reconstructs the pattern
|
|
194
194
|
toString() {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}
|
|
195
|
+
return (this.#toString !== undefined ? this.#toString
|
|
196
|
+
: !this.type ?
|
|
197
|
+
(this.#toString = this.#parts.map(p => String(p)).join(''))
|
|
198
|
+
: (this.#toString =
|
|
199
|
+
this.type +
|
|
200
|
+
'(' +
|
|
201
|
+
this.#parts.map(p => String(p)).join('|') +
|
|
202
|
+
')'));
|
|
204
203
|
}
|
|
205
204
|
#fillNegs() {
|
|
206
205
|
/* c8 ignore start */
|
|
@@ -480,7 +479,7 @@ class AST {
|
|
|
480
479
|
}
|
|
481
480
|
#canUsurpType(c) {
|
|
482
481
|
const m = usurpMap.get(this.type);
|
|
483
|
-
return !!
|
|
482
|
+
return !!m?.has(c);
|
|
484
483
|
}
|
|
485
484
|
#canUsurp(child) {
|
|
486
485
|
if (!child ||
|