@qqbrowser/openclaw-qbot 0.10.1 → 0.10.2
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-Cd1yL8fG.js → agents-CCGNI0th.js} +1 -1
- package/dist/{agents.config-CaRMmWS8.js → agents.config-B9_IT_un.js} +1 -1
- package/dist/{agents.config-DSCcdYtv.js → agents.config-D8Q8p7re.js} +1 -1
- package/dist/{auth-choice-MqcWuVyu.js → auth-choice-DacG9sC7.js} +1 -1
- package/dist/{auth-choice-BmI4sIGs.js → auth-choice-EAV1bi1K.js} +1 -1
- package/dist/{banner-CAtilyXr.js → banner-DiQjNe9B.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-CCqtIYCc.js → channel-options-DcI5T_Su.js} +1 -1
- package/dist/{channel-options-CKoyPq8p.js → channel-options-llKYy0-2.js} +1 -1
- package/dist/{channel-web-CwUfYqjg.js → channel-web-Qr8ST6tz.js} +1 -1
- package/dist/{channel-web-CCSMlUux.js → channel-web-TKrgB4oQ.js} +1 -1
- package/dist/{channels-cli-BfgVv5jH.js → channels-cli-BtyzpSQo.js} +1 -1
- package/dist/{channels-cli-BvGXgERj.js → channels-cli-CrdwqyiA.js} +1 -1
- package/dist/{cli-Bt--1dhL.js → cli-BDzG5MP5.js} +1 -1
- package/dist/{cli-CBg8KhmQ.js → cli-BY5POVX1.js} +1 -1
- package/dist/{command-registry-D_jtBegA.js → command-registry-DtMCIKRu.js} +1 -1
- package/dist/{compact-CYbPi7_-.js → compact-uyQDx8pN.js} +36 -36
- package/dist/{compact.runtime-BQu-8DFN.js → compact.runtime-BvWn8-VF.js} +1 -1
- package/dist/{compact.runtime-D-fOpaU3.js → compact.runtime-CbCNReBm.js} +1 -1
- package/dist/{compact.runtime-owWgKVDf.js → compact.runtime-DcRVnY_G.js} +1 -1
- package/dist/{compact.runtime-CrzmR0tV.js → compact.runtime-dgJTRf2V.js} +1 -1
- package/dist/{completion-cli-Bw_hBrlA.js → completion-cli-ByNU0Lbo.js} +1 -1
- package/dist/{completion-cli-BVbT_aR2.js → completion-cli-DHH7Zr2u.js} +1 -1
- package/dist/{config-cli-CwW76_j_.js → config-cli-BeVM5uz1.js} +1 -1
- package/dist/{config-cli-F-lkPjjz.js → config-cli-CcE1aKR3.js} +1 -1
- package/dist/{configure-DFlnM_zh.js → configure-CF42Va3r.js} +1 -1
- package/dist/{configure--c4tTVPz.js → configure-CYw7mK89.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-CqISN5vF.js → deps-send-whatsapp.runtime-7SqhJmWZ.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-C1zG74Si.js → deps-send-whatsapp.runtime-Bocaadqa.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-B5GMQIFv.js → deps-send-whatsapp.runtime-CjA6T7V6.js} +1 -1
- package/dist/{deps-send-whatsapp.runtime-CJnSJVnN.js → deps-send-whatsapp.runtime-DTyzQeR_.js} +1 -1
- package/dist/{doctor-completion-DI7mGC3D.js → doctor-completion-C15UB3EM.js} +1 -1
- package/dist/{doctor-completion-C9CPhCor.js → doctor-completion-KLuf1f33.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-BMmU2dsG.js → gateway-cli-CHyybU4X.js} +2 -2
- package/dist/{gateway-cli-Kp-caOwI.js → gateway-cli-DV3M2tJP.js} +2 -2
- package/dist/{health-B_-ZE5FK.js → health-2MbtCw6U.js} +1 -1
- package/dist/{health-CIZFVJEG.js → health-Dmtcw9K8.js} +1 -1
- package/dist/{hooks-cli-BoxAnC-E.js → hooks-cli-BaoD0-6l.js} +1 -1
- package/dist/{hooks-cli-CnCOjVv0.js → hooks-cli-DWCe4aHR.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-BBYqej07.js → models-DKf-4KoV.js} +1 -1
- package/dist/{models-cli-CMMhnlHo.js → models-cli-Bc8cIZ0A.js} +1 -1
- package/dist/{models-cli-CqbDyDn2.js → models-cli-Ble64nV3.js} +1 -1
- package/dist/{npm-resolution-CBlwQq3a.js → npm-resolution-BzXV2s2P.js} +1 -1
- package/dist/{npm-resolution--_-0q2ks.js → npm-resolution-CZUqHH_2.js} +1 -1
- package/dist/{onboard-DZG0HnuP.js → onboard-B8dVlGVk.js} +2 -2
- package/dist/{onboard-DlCEww7K.js → onboard-By9pkNca.js} +2 -2
- package/dist/{onboard-channels-BDMtq3ex.js → onboard-channels-C5lcb7dF.js} +1 -1
- package/dist/{onboard-channels-BO3AN_eA.js → onboard-channels-DFB6deX0.js} +1 -1
- package/dist/{onboarding-m-m__16h.js → onboarding-C7vbkuBI.js} +1 -1
- package/dist/{onboarding-CxRTJCBM.js → onboarding-DCldCoVy.js} +1 -1
- package/dist/{onboarding.finalize-BJxMhYUa.js → onboarding.finalize-C-b9zSIO.js} +1 -1
- package/dist/{onboarding.finalize-UiX3YmbI.js → onboarding.finalize-XCttW8IU.js} +1 -1
- package/dist/{pi-embedded-X_Svd4Wi.js → pi-embedded-CoHiJa9Q.js} +8 -8
- package/dist/{pi-embedded-6yGEd2xd.js → pi-embedded-DLlQ5e_w.js} +8 -8
- package/dist/{plugin-registry-DYwEy5eM.js → plugin-registry-C_HKxFxs.js} +1 -1
- package/dist/{plugin-registry-CN2aCPP7.js → plugin-registry-DBgXa8jD.js} +1 -1
- package/dist/plugin-sdk/{channel-web-Bg8DNyeb.js → channel-web-CMlv9Yzv.js} +1 -1
- package/dist/plugin-sdk/{channel-web-B795Ild9.cjs → channel-web-D1tzaMsH.cjs} +1 -1
- package/dist/plugin-sdk/{channel-web-D5zxPW-x.js → channel-web-DowgDxtO.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CW42ALB5.cjs → channel-web-VsaRZCG2.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-Cr6oI5li.js → compact.runtime-B4M-VPyN.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BR00C0_i.cjs → compact.runtime-BeWqnWW5.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-DOcQzBT5.cjs → compact.runtime-BnF9vU5j.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-D-3vVYGF.js → compact.runtime-C5vcsriA.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BBqQuOlJ.cjs → compact.runtime-CS04yjUP.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-CGKItjCQ.js → compact.runtime-CepgZBh6.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-C-sPm0kL.cjs → compact.runtime-CuGn1L3D.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-CAiT8DtI.js → compact.runtime-DNocZUm6.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-CmQT69OD.cjs → compact.runtime-DQRsRwKH.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BXuXwnQ_.cjs → compact.runtime-DnWYG9Ij.cjs} +1 -1
- package/dist/plugin-sdk/{compact.runtime-BxzvSPrQ.js → compact.runtime-W8dIsxRV.js} +1 -1
- package/dist/plugin-sdk/{compact.runtime-B1fslZX1.js → compact.runtime-hS2NXspw.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-WXiE5pA7.js → deps-send-whatsapp.runtime-B5Nz8XrQ.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DKoOiTZZ.cjs → deps-send-whatsapp.runtime-B5R8WAYy.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DlO-S_iA.js → deps-send-whatsapp.runtime-B6ua6LoP.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BUuj08qp.cjs → deps-send-whatsapp.runtime-BPMIzR5x.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-iI9qWUzR.cjs → deps-send-whatsapp.runtime-Bpq7VeGO.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-3kX5dnHC.js → deps-send-whatsapp.runtime-D3YUudyV.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Xn1KqyPS.js → deps-send-whatsapp.runtime-DFxWO5_f.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-CE9LgvzJ.cjs → deps-send-whatsapp.runtime-DZ_pLOPK.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-t0Z0IyDq.cjs → deps-send-whatsapp.runtime-DyoJd0Hw.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-rOnSc6qE.js → deps-send-whatsapp.runtime-ZkaerhQ1.js} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-QUlRFE48.cjs → deps-send-whatsapp.runtime-_wzNB18A.cjs} +1 -1
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DKVfDIzU.js → deps-send-whatsapp.runtime-bBd46QxW.js} +1 -1
- package/dist/plugin-sdk/{dispatch-DAaOM5c1.cjs → dispatch-B8dzPpi1.cjs} +8 -8
- package/dist/plugin-sdk/{dispatch-DYRrW05S.js → dispatch-B9FQyNfe.js} +36 -36
- package/dist/plugin-sdk/{dispatch-Dl0eaYcY.cjs → dispatch-BB5AfYlI.cjs} +8 -8
- package/dist/plugin-sdk/{dispatch-_tJF5hSh.cjs → dispatch-BIaey_BU.cjs} +8 -8
- package/dist/plugin-sdk/{dispatch-B13B2T1k.js → dispatch-BY1FkQOr.js} +8 -8
- package/dist/plugin-sdk/{dispatch-cPg1rBWu.cjs → dispatch-Bybxc9Yl.cjs} +8 -8
- package/dist/plugin-sdk/{dispatch-BlOkbw2U.js → dispatch-CADw_Fi7.js} +8 -8
- package/dist/plugin-sdk/{dispatch-Dap2ZPC9.js → dispatch-CZqPeEcw.js} +8 -8
- package/dist/plugin-sdk/{dispatch-BaBcLOry.js → dispatch-DafB1x1O.js} +8 -8
- package/dist/plugin-sdk/{dispatch-D2Km7gvG.cjs → dispatch-DcyylSdu.cjs} +8 -8
- 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/{reply-JD6VIW5N.cjs → reply-6D8nZUZ1.cjs} +8 -8
- package/dist/plugin-sdk/{reply-73PF8kN_.js → reply-gpVkJsEs.js} +8 -8
- package/dist/plugin-sdk/{slash-dispatch.runtime-DAgDLU__.js → slash-dispatch.runtime-2hUZv0o4.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BfheQLfD.js → slash-dispatch.runtime-B4sdtKqK.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CmVqJqfV.js → slash-dispatch.runtime-BCAWJ135.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-wWa-kKvH.js → slash-dispatch.runtime-BJX-7mTD.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-C6cMCwSp.js → slash-dispatch.runtime-BY3aBzxK.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BVXTmhZU.js → slash-dispatch.runtime-CHFbytW1.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BcO6NdxL.cjs → slash-dispatch.runtime-Cf-EuMPD.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CYmmyw9o.cjs → slash-dispatch.runtime-CukipBLa.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-DNI9fZFo.cjs → slash-dispatch.runtime-D7JTU7km.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-BQWrcjEG.cjs → slash-dispatch.runtime-DZq0olM2.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-Cp5-cPgM.cjs → slash-dispatch.runtime-ILA0KH-p.cjs} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-CD6AFEn3.cjs → slash-dispatch.runtime-_i2UiDTt.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-BINR9wKz.cjs → subagent-registry-runtime-7wfZ9Ydg.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-q6csFFiS.js → subagent-registry-runtime-B6Go3QMY.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CPYQLLoh.cjs → subagent-registry-runtime-Bf71VzVF.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DCd8DMgz.js → subagent-registry-runtime-CKlyWpvM.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-BfT45xXa.cjs → subagent-registry-runtime-CcyvhbJH.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DYhr9YcP.js → subagent-registry-runtime-D4y3Fxlu.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-BBwsJL9B.cjs → subagent-registry-runtime-DFCUhuvT.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CjnSOShL.js → subagent-registry-runtime-DWZUy1eI.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-B9uDb_ij.js → subagent-registry-runtime-DkCs3cQj.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-DB8YDuGj.js → subagent-registry-runtime-RrhCNI-u.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-iiOzLeYb.cjs → subagent-registry-runtime-S2yCcuWA.cjs} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-ClkQBnJu.cjs → subagent-registry-runtime-zTYi4rJR.cjs} +1 -1
- package/dist/plugin-sdk/{web-Bh78uOi8.cjs → web-C-_Bja5u.cjs} +1 -1
- package/dist/plugin-sdk/{web-C4ezqWIt.js → web-C7h16O4t.js} +1 -1
- package/dist/plugin-sdk/{web-B7d3p3kx.cjs → web-Cf2Ivjcn.cjs} +1 -1
- package/dist/plugin-sdk/{web-DFDao2So.cjs → web-CfvlhITy.cjs} +1 -1
- package/dist/plugin-sdk/{web-JciOW43P.js → web-DzgvdKmn.js} +1 -1
- package/dist/plugin-sdk/{web-Bg2LIMdb.cjs → web-RmaRbUK1.cjs} +1 -1
- package/dist/plugin-sdk/{web-SwpoHf2A.js → web-bHdImk0G.js} +1 -1
- package/dist/plugin-sdk/{web-DjbeDvyv.js → web-bT52Rp59.js} +1 -1
- package/dist/plugin-sdk/{web-vSFigMHz.cjs → web-pFlzmHcu.cjs} +1 -1
- package/dist/plugin-sdk/{web-BEuW8Yqw.js → web-rFQBs9b0.js} +1 -1
- package/dist/plugin-sdk/{web--8MBOleK.js → web-uQqWClDT.js} +1 -1
- package/dist/plugin-sdk/{web-BPQv-4Qv.cjs → web-wnw_PMil.cjs} +1 -1
- package/dist/plugin-sdk/whatsapp.cjs +1 -1
- package/dist/plugin-sdk/whatsapp.js +1 -1
- package/dist/{plugins-cli-PVHBZeb8.js → plugins-cli-BjLj52hA.js} +1 -1
- package/dist/{plugins-cli-CnXgwZzI.js → plugins-cli-CwQOOOym.js} +1 -1
- package/dist/ports-BDZyt9rk.js +2 -0
- package/dist/ports-DmJX-iq9.js +2 -0
- package/dist/{program-D53eGuSf.js → program-RvezCMDs.js} +2 -2
- package/dist/{program-context-n-ovYq69.js → program-context-C4vPkfWW.js} +1 -1
- package/dist/{prompt-select-styled-DolCW-_j.js → prompt-select-styled-C-zw_5_b.js} +1 -1
- package/dist/{prompt-select-styled-DZnefcrY.js → prompt-select-styled-CoP6cSMX.js} +1 -1
- package/dist/{provider-auth-helpers-BLm2bdp5.js → provider-auth-helpers-DeCLF5oV.js} +1 -1
- package/dist/{provider-auth-helpers-DPz0vN_c.js → provider-auth-helpers-Rv3hdZ7j.js} +1 -1
- package/dist/{push-apns-BBv62ncV.js → push-apns-BfTKAzRZ.js} +1 -1
- package/dist/{push-apns-DIV5dBPP.js → push-apns-CeY33Rxc.js} +1 -1
- package/dist/{register.agent-DQdoMfmw.js → register.agent-CANRVL5k.js} +1 -1
- package/dist/{register.agent-DHOTtB8X.js → register.agent-He4UYNpV.js} +1 -1
- package/dist/{register.configure-C2N82brC.js → register.configure-CqsxTDtC.js} +1 -1
- package/dist/{register.configure-C6zjzaEo.js → register.configure-CwuLuKsv.js} +1 -1
- package/dist/{register.maintenance-CStaPxaB.js → register.maintenance-B5cnDjLy.js} +1 -1
- package/dist/{register.maintenance-aKBTd9Zp.js → register.maintenance-CHJQh81L.js} +1 -1
- package/dist/{register.message-DHDcOA8X.js → register.message-CEcXemHd.js} +1 -1
- package/dist/{register.message-Dh72QHKA.js → register.message-DoA6MALf.js} +1 -1
- package/dist/{register.onboard-DB9FWAKT.js → register.onboard-B01N1AYH.js} +1 -1
- package/dist/{register.onboard-Bu9gpFlA.js → register.onboard-B5iQpfVG.js} +1 -1
- package/dist/{register.setup-D76IRs4s.js → register.setup-BTKZzyRh.js} +1 -1
- package/dist/{register.setup-CeG2ETmr.js → register.setup-CPGByOtO.js} +1 -1
- package/dist/{register.status-health-sessions-mPGKFjIz.js → register.status-health-sessions-CPmSNp3F.js} +1 -1
- package/dist/{register.status-health-sessions-Dtpd1P2M.js → register.status-health-sessions-hrQLxH-w.js} +1 -1
- package/dist/{register.subclis-Drp2dGBe.js → register.subclis-CqVDIyhT.js} +1 -1
- package/dist/{reply-DwfVhea1.js → reply-mWIMy_ju.js} +8 -8
- package/dist/{run-main-CjwjyWA6.js → run-main-B2f6FBb0.js} +1 -1
- package/dist/{server-node-events-CL0pWoMa.js → server-node-events-BtKnElP0.js} +1 -1
- package/dist/{server-node-events-ChPQ984b.js → server-node-events-DnyBXZtB.js} +1 -1
- package/dist/{slash-dispatch.runtime-jR7ZpRLo.js → slash-dispatch.runtime-B8S9VVjy.js} +1 -1
- package/dist/{slash-dispatch.runtime-CHDiNcch.js → slash-dispatch.runtime-CS58xiJF.js} +1 -1
- package/dist/{slash-dispatch.runtime-DgsOlRbg.js → slash-dispatch.runtime-CZrxUnBW.js} +1 -1
- package/dist/{slash-dispatch.runtime-Bh87LG5X.js → slash-dispatch.runtime-Cq_OU6GL.js} +1 -1
- package/dist/{status-o3Gfr-6l.js → status-C3OhTrWE.js} +1 -1
- package/dist/{status-BSHWBrg0.js → status-tL-XCvJC.js} +1 -1
- package/dist/{subagent-registry-runtime-B8nEWxYm.js → subagent-registry-runtime-BvPAovsV.js} +1 -1
- package/dist/{subagent-registry-runtime-D5PhzS7u.js → subagent-registry-runtime-ClREKCLG.js} +1 -1
- package/dist/{subagent-registry-runtime-C6xoTyr_.js → subagent-registry-runtime-D2cjV86K.js} +1 -1
- package/dist/{subagent-registry-runtime-DU6-3b5M.js → subagent-registry-runtime-dcrGDOTV.js} +1 -1
- package/dist/{update-cli-DU5tRH3c.js → update-cli-CZsuMrHE.js} +1 -1
- package/dist/{update-cli-CL_cUjuq.js → update-cli-DAPHNGDM.js} +1 -1
- package/dist/{update-runner-DG-1TYYc.js → update-runner-DZkN4otc.js} +1 -1
- package/dist/{update-runner-DABdlxfN.js → update-runner-DhaHCCx3.js} +1 -1
- package/dist/{web-C0WkwHal.js → web-BPloShgg.js} +1 -1
- package/dist/{web-u71NbOpT.js → web-BbOH61Lx.js} +1 -1
- package/dist/{web-DPQjx48C.js → web-CMSYMAHG.js} +1 -1
- package/dist/{web-Dfi2WjvN.js → web-WBvnAfBv.js} +1 -1
- package/extensions/qqbrowser-skill-control/index.js +1 -1
- package/node_modules/@google/genai/dist/index.cjs +8 -8
- package/node_modules/@google/genai/dist/index.mjs +8 -8
- package/node_modules/@google/genai/dist/node/index.cjs +8 -8
- package/node_modules/@google/genai/dist/node/index.mjs +8 -8
- package/node_modules/@google/genai/dist/vertex_internal/index.cjs +1 -1
- package/node_modules/@google/genai/dist/vertex_internal/index.js +1 -1
- package/node_modules/@google/genai/dist/web/index.mjs +8 -8
- package/node_modules/@google/genai/package.json +1 -1
- package/package.json +1 -1
- package/dist/ports-BAaLOkJp.js +0 -2
- package/dist/ports-DDWP1p0X.js +0 -2
|
@@ -12825,7 +12825,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
12825
12825
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
12826
12826
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
12827
12827
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
12828
|
-
const SDK_VERSION = '1.50.
|
|
12828
|
+
const SDK_VERSION = '1.50.1'; // x-release-please-version
|
|
12829
12829
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
12830
12830
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
12831
12831
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -18061,13 +18061,6 @@ class BaseWebhooks extends APIResource {
|
|
|
18061
18061
|
const { api_version = this._client.apiVersion, webhook_id } = params, body = __rest(params, ["api_version", "webhook_id"]);
|
|
18062
18062
|
return this._client.post(path `/${api_version}/webhooks`, Object.assign({ query: { webhook_id }, body }, options));
|
|
18063
18063
|
}
|
|
18064
|
-
/**
|
|
18065
|
-
* Gets a specific Webhook.
|
|
18066
|
-
*/
|
|
18067
|
-
retrieve(id, params = {}, options) {
|
|
18068
|
-
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18069
|
-
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18070
|
-
}
|
|
18071
18064
|
/**
|
|
18072
18065
|
* Updates an existing Webhook.
|
|
18073
18066
|
*/
|
|
@@ -18089,6 +18082,13 @@ class BaseWebhooks extends APIResource {
|
|
|
18089
18082
|
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18090
18083
|
return this._client.delete(path `/${api_version}/webhooks/${id}`, options);
|
|
18091
18084
|
}
|
|
18085
|
+
/**
|
|
18086
|
+
* Gets a specific Webhook.
|
|
18087
|
+
*/
|
|
18088
|
+
get(id, params = {}, options) {
|
|
18089
|
+
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18090
|
+
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18091
|
+
}
|
|
18092
18092
|
/**
|
|
18093
18093
|
* Sends a ping event to a Webhook.
|
|
18094
18094
|
*/
|
|
@@ -12803,7 +12803,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
12803
12803
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
12804
12804
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
12805
12805
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
12806
|
-
const SDK_VERSION = '1.50.
|
|
12806
|
+
const SDK_VERSION = '1.50.1'; // x-release-please-version
|
|
12807
12807
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
12808
12808
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
12809
12809
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -18039,13 +18039,6 @@ class BaseWebhooks extends APIResource {
|
|
|
18039
18039
|
const { api_version = this._client.apiVersion, webhook_id } = params, body = __rest(params, ["api_version", "webhook_id"]);
|
|
18040
18040
|
return this._client.post(path `/${api_version}/webhooks`, Object.assign({ query: { webhook_id }, body }, options));
|
|
18041
18041
|
}
|
|
18042
|
-
/**
|
|
18043
|
-
* Gets a specific Webhook.
|
|
18044
|
-
*/
|
|
18045
|
-
retrieve(id, params = {}, options) {
|
|
18046
|
-
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18047
|
-
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18048
|
-
}
|
|
18049
18042
|
/**
|
|
18050
18043
|
* Updates an existing Webhook.
|
|
18051
18044
|
*/
|
|
@@ -18067,6 +18060,13 @@ class BaseWebhooks extends APIResource {
|
|
|
18067
18060
|
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18068
18061
|
return this._client.delete(path `/${api_version}/webhooks/${id}`, options);
|
|
18069
18062
|
}
|
|
18063
|
+
/**
|
|
18064
|
+
* Gets a specific Webhook.
|
|
18065
|
+
*/
|
|
18066
|
+
get(id, params = {}, options) {
|
|
18067
|
+
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18068
|
+
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18069
|
+
}
|
|
18070
18070
|
/**
|
|
18071
18071
|
* Sends a ping event to a Webhook.
|
|
18072
18072
|
*/
|
|
@@ -1997,7 +1997,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
1997
1997
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
1998
1998
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
1999
1999
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
2000
|
-
const SDK_VERSION = '1.50.
|
|
2000
|
+
const SDK_VERSION = '1.50.1'; // x-release-please-version
|
|
2001
2001
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
2002
2002
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
2003
2003
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -1976,7 +1976,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
1976
1976
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
1977
1977
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
1978
1978
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
1979
|
-
const SDK_VERSION = '1.50.
|
|
1979
|
+
const SDK_VERSION = '1.50.1'; // x-release-please-version
|
|
1980
1980
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
1981
1981
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
1982
1982
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -12795,7 +12795,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
12795
12795
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
12796
12796
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
12797
12797
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
12798
|
-
const SDK_VERSION = '1.50.
|
|
12798
|
+
const SDK_VERSION = '1.50.1'; // x-release-please-version
|
|
12799
12799
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
12800
12800
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
12801
12801
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -18031,13 +18031,6 @@ class BaseWebhooks extends APIResource {
|
|
|
18031
18031
|
const { api_version = this._client.apiVersion, webhook_id } = params, body = __rest(params, ["api_version", "webhook_id"]);
|
|
18032
18032
|
return this._client.post(path `/${api_version}/webhooks`, Object.assign({ query: { webhook_id }, body }, options));
|
|
18033
18033
|
}
|
|
18034
|
-
/**
|
|
18035
|
-
* Gets a specific Webhook.
|
|
18036
|
-
*/
|
|
18037
|
-
retrieve(id, params = {}, options) {
|
|
18038
|
-
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18039
|
-
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18040
|
-
}
|
|
18041
18034
|
/**
|
|
18042
18035
|
* Updates an existing Webhook.
|
|
18043
18036
|
*/
|
|
@@ -18059,6 +18052,13 @@ class BaseWebhooks extends APIResource {
|
|
|
18059
18052
|
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18060
18053
|
return this._client.delete(path `/${api_version}/webhooks/${id}`, options);
|
|
18061
18054
|
}
|
|
18055
|
+
/**
|
|
18056
|
+
* Gets a specific Webhook.
|
|
18057
|
+
*/
|
|
18058
|
+
get(id, params = {}, options) {
|
|
18059
|
+
const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
|
|
18060
|
+
return this._client.get(path `/${api_version}/webhooks/${id}`, options);
|
|
18061
|
+
}
|
|
18062
18062
|
/**
|
|
18063
18063
|
* Sends a ping event to a Webhook.
|
|
18064
18064
|
*/
|
package/package.json
CHANGED
package/dist/ports-BAaLOkJp.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./subsystem-BLbY429l.js";import{Jr as t,qr as n}from"./auth-profiles-C8rZRS0X.js";import{S as r}from"./utils-CGdo13HV.js";import{execFileSync as i}from"node:child_process";import{join as a}from"node:path";import{createServer as o}from"node:net";const s=e(`ports`);function c(e){return a(process.env.SystemRoot||process.env.SYSTEMROOT||`C:\\Windows`,`System32`,e)}const l={SIGTERM:`TERM`,SIGKILL:`KILL`};function u(e){return typeof e==`string`?e:e instanceof Buffer?e.toString(`utf8`):``}function d(e,t,n){let r=Error(e,{cause:n instanceof Error?n:void 0});return r.code=t,r}function f(e){if(!e||typeof e!=`object`)return;let t=e.code;if(typeof t==`string`&&t.length>0)return t;let n=e.cause;if(n&&typeof n==`object`){let e=n.code;if(typeof e==`string`&&e.length>0)return e}}function p(e){let t=f(e);if(t===`ENOENT`||t===`EACCES`||t===`EPERM`)return!0;let n=e instanceof Error?e.message:String(e);return/lsof.*(permission denied|not permitted|operation not permitted|eacces|eperm)/i.test(n)}function m(e){if(!e)return[];let t=new Set;for(let n of e.split(/\r?\n/)){let e=n.trim();if(!e)continue;let r=(e.includes(`:`)?e.slice(e.indexOf(`:`)+1):e).match(/\d+/g)??[];for(let e of r){let n=Number.parseInt(e,10);Number.isFinite(n)&&n>0&&t.add(n)}}return[...t]}function h(e,t){let n=[`-k`,`-${l[t]}`,`${e}/tcp`];try{return m(i(`fuser`,n,{encoding:`utf-8`,stdio:[`ignore`,`pipe`,`pipe`]})).map(e=>({pid:e}))}catch(e){let t=e,n=t.code,r=t.status,i=m([u(t.stdout),u(t.stderr)].filter(Boolean).join(`
|
|
2
|
-
`));if(r===1)return i.map(e=>({pid:e}));throw n===`ENOENT`?d(`fuser not found; required for --force when lsof is unavailable`,`ENOENT`,e):n===`EACCES`||n===`EPERM`?d(`fuser permission denied while forcing gateway port`,n,e):e instanceof Error?e:Error(String(e))}}function g(e,t){let n=y(e),r=c(`taskkill.exe`);s.debug(`taskkill: using ${r}, port=${e}, force=${t}, listeners=${n.length}`);for(let a of n)try{i(r,t?[`/F`,`/PID`,String(a.pid)]:[`/PID`,String(a.pid)],{encoding:`utf-8`,stdio:[`ignore`,`pipe`,`pipe`]}),s.info(`taskkill: killed pid ${a.pid} on port ${e} (force=${t})`)}catch(t){s.warn(`taskkill: failed to kill pid ${a.pid} on port ${e}: ${String(t)}`)}return n}async function _(e){try{return await n({port:e,exclusive:!0}),!1}catch(e){if(e.code===`EADDRINUSE`)return!0;throw e instanceof Error?e:Error(String(e))}}function v(e){let t=e.split(/\r?\n/).filter(Boolean),n=[],r={};for(let e of t)e.startsWith(`p`)?(r.pid&&n.push(r),r={pid:Number.parseInt(e.slice(1),10)}):e.startsWith(`c`)&&(r.command=e.slice(1));return r.pid&&n.push(r),n}function y(e){if(process.platform===`win32`){let t=c(`netstat.exe`);s.debug(`listPortListeners: using ${t} for port ${e}`);try{let n=i(t,[`-ano`,`-p`,`TCP`],{encoding:`utf-8`}).split(/\r?\n/).filter(Boolean),r=[];for(let t of n){let n=t.trim().split(/\s+/);if(n.length>=5&&n[3]===`LISTENING`&&n[1].split(`:`).pop()===String(e)){let e=Number.parseInt(n[4],10);!Number.isNaN(e)&&e>0&&(r.some(t=>t.pid===e)||r.push({pid:e}))}}return s.debug(`listPortListeners: found ${r.length} listener(s) on port ${e}`),r}catch(e){throw s.error(`listPortListeners: netstat failed (${t}): ${String(e)}`),Error(`netstat failed: ${String(e)}`,{cause:e})}}try{return v(i(t(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-FpFc`],{encoding:`utf-8`}))}catch(e){let t=e,n=t.status??void 0,r=t.code;if(r===`ENOENT`)throw d(`lsof not found; required for --force`,`ENOENT`,e);if(r===`EACCES`||r===`EPERM`)throw d(`lsof permission denied while inspecting gateway port`,r,e);if(n===1){let n=u(t.stderr).trim();if(n&&/permission denied|not permitted|operation not permitted|can't stat/i.test(n))throw d(`lsof permission denied while inspecting gateway port: ${n}`,`EACCES`,e);return[]}throw e instanceof Error?e:Error(String(e))}}function b(e){let t=y(e);for(let e of t)try{process.kill(e.pid,`SIGTERM`)}catch(t){throw Error(`failed to kill pid ${e.pid}${e.command?` (${e.command})`:``}: ${String(t)}`,{cause:t})}return t}function x(e,t){for(let n of e)try{process.kill(n.pid,t)}catch(e){throw Error(`failed to kill pid ${n.pid}${n.command?` (${n.command})`:``}: ${String(e)}`,{cause:e})}}async function S(e,t={}){let n=Math.max(t.timeoutMs??1500,0),i=Math.max(t.intervalMs??100,1),a=Math.min(Math.max(t.sigtermTimeoutMs??600,0),n),o=[],c=!1;s.info(`forceFreePortAndWait: starting for port ${e}, platform=${process.platform}`);try{o=b(e),s.info(`forceFreePortAndWait: forceFreePort succeeded, killed ${o.length} process(es)`)}catch(t){if(s.warn(`forceFreePortAndWait: forceFreePort failed: ${String(t)}`),!p(t))throw t;c=!0,s.info(`forceFreePortAndWait: using ${process.platform===`win32`?`taskkill`:`fuser`} fallback`),o=process.platform===`win32`?g(e,!1):h(e,`SIGTERM`)}let l=async()=>c?_(e):y(e).length>0;if(!await l())return{killed:o,waitedMs:0,escalatedToSigkill:!1};let u=0,d=i>0?Math.ceil(a/i):0;for(let e=0;e<d;e++){if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!1};await r(i),u+=i}if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!1};c?process.platform===`win32`?g(e,!0):h(e,`SIGKILL`):x(y(e),`SIGKILL`);let f=Math.max(n-u,0),m=i>0?Math.ceil(f/i):0;for(let e=0;e<m;e++){if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!0};await r(i),u+=i}if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!0};if(c)throw Error(`port ${e} still has listeners after --force (${process.platform===`win32`?`taskkill`:`fuser`} fallback)`);let v=y(e);throw Error(`port ${e} still has listeners after --force: ${v.map(e=>e.pid).join(`, `)}`)}function C(e,t=`0.0.0.0`){return new Promise((n,r)=>{let i=o();i.unref(),i.once(`error`,e=>{i.close(),e.code===`EADDRINUSE`?n(!1):r(e)}),i.listen(e,t,()=>{i.close(()=>n(!0))})})}async function w(e,t={}){let n=Math.max(t.timeoutMs??3e3,0),i=Math.max(t.intervalMs??150,1),a=t.host,o=0;for(;o<n;){if(await C(e,a))return o;await r(i),o+=i}if(await C(e,a))return o;throw Error(`port ${e} still not bindable after ${o}ms (TIME_WAIT or kernel hold)`)}export{S as n,w as r,b as t};
|
package/dist/ports-DDWP1p0X.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./subsystem-C5XF2Fy5.js";import{C as t}from"./utils-UGOV_184.js";import{ca as n,la as r}from"./model-selection-BLbnMb5E.js";import{join as i}from"node:path";import{execFileSync as a}from"node:child_process";import{createServer as o}from"node:net";const s=e(`ports`);function c(e){return i(process.env.SystemRoot||process.env.SYSTEMROOT||`C:\\Windows`,`System32`,e)}const l={SIGTERM:`TERM`,SIGKILL:`KILL`};function u(e){return typeof e==`string`?e:e instanceof Buffer?e.toString(`utf8`):``}function d(e,t,n){let r=Error(e,{cause:n instanceof Error?n:void 0});return r.code=t,r}function f(e){if(!e||typeof e!=`object`)return;let t=e.code;if(typeof t==`string`&&t.length>0)return t;let n=e.cause;if(n&&typeof n==`object`){let e=n.code;if(typeof e==`string`&&e.length>0)return e}}function p(e){let t=f(e);if(t===`ENOENT`||t===`EACCES`||t===`EPERM`)return!0;let n=e instanceof Error?e.message:String(e);return/lsof.*(permission denied|not permitted|operation not permitted|eacces|eperm)/i.test(n)}function m(e){if(!e)return[];let t=new Set;for(let n of e.split(/\r?\n/)){let e=n.trim();if(!e)continue;let r=(e.includes(`:`)?e.slice(e.indexOf(`:`)+1):e).match(/\d+/g)??[];for(let e of r){let n=Number.parseInt(e,10);Number.isFinite(n)&&n>0&&t.add(n)}}return[...t]}function h(e,t){let n=[`-k`,`-${l[t]}`,`${e}/tcp`];try{return m(a(`fuser`,n,{encoding:`utf-8`,stdio:[`ignore`,`pipe`,`pipe`]})).map(e=>({pid:e}))}catch(e){let t=e,n=t.code,r=t.status,i=m([u(t.stdout),u(t.stderr)].filter(Boolean).join(`
|
|
2
|
-
`));if(r===1)return i.map(e=>({pid:e}));throw n===`ENOENT`?d(`fuser not found; required for --force when lsof is unavailable`,`ENOENT`,e):n===`EACCES`||n===`EPERM`?d(`fuser permission denied while forcing gateway port`,n,e):e instanceof Error?e:Error(String(e))}}function g(e,t){let n=y(e),r=c(`taskkill.exe`);s.debug(`taskkill: using ${r}, port=${e}, force=${t}, listeners=${n.length}`);for(let i of n)try{a(r,t?[`/F`,`/PID`,String(i.pid)]:[`/PID`,String(i.pid)],{encoding:`utf-8`,stdio:[`ignore`,`pipe`,`pipe`]}),s.info(`taskkill: killed pid ${i.pid} on port ${e} (force=${t})`)}catch(t){s.warn(`taskkill: failed to kill pid ${i.pid} on port ${e}: ${String(t)}`)}return n}async function _(e){try{return await n({port:e,exclusive:!0}),!1}catch(e){if(e.code===`EADDRINUSE`)return!0;throw e instanceof Error?e:Error(String(e))}}function v(e){let t=e.split(/\r?\n/).filter(Boolean),n=[],r={};for(let e of t)e.startsWith(`p`)?(r.pid&&n.push(r),r={pid:Number.parseInt(e.slice(1),10)}):e.startsWith(`c`)&&(r.command=e.slice(1));return r.pid&&n.push(r),n}function y(e){if(process.platform===`win32`){let t=c(`netstat.exe`);s.debug(`listPortListeners: using ${t} for port ${e}`);try{let n=a(t,[`-ano`,`-p`,`TCP`],{encoding:`utf-8`}).split(/\r?\n/).filter(Boolean),r=[];for(let t of n){let n=t.trim().split(/\s+/);if(n.length>=5&&n[3]===`LISTENING`&&n[1].split(`:`).pop()===String(e)){let e=Number.parseInt(n[4],10);!Number.isNaN(e)&&e>0&&(r.some(t=>t.pid===e)||r.push({pid:e}))}}return s.debug(`listPortListeners: found ${r.length} listener(s) on port ${e}`),r}catch(e){throw s.error(`listPortListeners: netstat failed (${t}): ${String(e)}`),Error(`netstat failed: ${String(e)}`,{cause:e})}}try{return v(a(r(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-FpFc`],{encoding:`utf-8`}))}catch(e){let t=e,n=t.status??void 0,r=t.code;if(r===`ENOENT`)throw d(`lsof not found; required for --force`,`ENOENT`,e);if(r===`EACCES`||r===`EPERM`)throw d(`lsof permission denied while inspecting gateway port`,r,e);if(n===1){let n=u(t.stderr).trim();if(n&&/permission denied|not permitted|operation not permitted|can't stat/i.test(n))throw d(`lsof permission denied while inspecting gateway port: ${n}`,`EACCES`,e);return[]}throw e instanceof Error?e:Error(String(e))}}function b(e){let t=y(e);for(let e of t)try{process.kill(e.pid,`SIGTERM`)}catch(t){throw Error(`failed to kill pid ${e.pid}${e.command?` (${e.command})`:``}: ${String(t)}`,{cause:t})}return t}function x(e,t){for(let n of e)try{process.kill(n.pid,t)}catch(e){throw Error(`failed to kill pid ${n.pid}${n.command?` (${n.command})`:``}: ${String(e)}`,{cause:e})}}async function S(e,n={}){let r=Math.max(n.timeoutMs??1500,0),i=Math.max(n.intervalMs??100,1),a=Math.min(Math.max(n.sigtermTimeoutMs??600,0),r),o=[],c=!1;s.info(`forceFreePortAndWait: starting for port ${e}, platform=${process.platform}`);try{o=b(e),s.info(`forceFreePortAndWait: forceFreePort succeeded, killed ${o.length} process(es)`)}catch(t){if(s.warn(`forceFreePortAndWait: forceFreePort failed: ${String(t)}`),!p(t))throw t;c=!0,s.info(`forceFreePortAndWait: using ${process.platform===`win32`?`taskkill`:`fuser`} fallback`),o=process.platform===`win32`?g(e,!1):h(e,`SIGTERM`)}let l=async()=>c?_(e):y(e).length>0;if(!await l())return{killed:o,waitedMs:0,escalatedToSigkill:!1};let u=0,d=i>0?Math.ceil(a/i):0;for(let e=0;e<d;e++){if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!1};await t(i),u+=i}if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!1};c?process.platform===`win32`?g(e,!0):h(e,`SIGKILL`):x(y(e),`SIGKILL`);let f=Math.max(r-u,0),m=i>0?Math.ceil(f/i):0;for(let e=0;e<m;e++){if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!0};await t(i),u+=i}if(!await l())return{killed:o,waitedMs:u,escalatedToSigkill:!0};if(c)throw Error(`port ${e} still has listeners after --force (${process.platform===`win32`?`taskkill`:`fuser`} fallback)`);let v=y(e);throw Error(`port ${e} still has listeners after --force: ${v.map(e=>e.pid).join(`, `)}`)}function C(e,t=`0.0.0.0`){return new Promise((n,r)=>{let i=o();i.unref(),i.once(`error`,e=>{i.close(),e.code===`EADDRINUSE`?n(!1):r(e)}),i.listen(e,t,()=>{i.close(()=>n(!0))})})}async function w(e,n={}){let r=Math.max(n.timeoutMs??3e3,0),i=Math.max(n.intervalMs??150,1),a=n.host,o=0;for(;o<r;){if(await C(e,a))return o;await t(i),o+=i}if(await C(e,a))return o;throw Error(`port ${e} still not bindable after ${o}ms (TIME_WAIT or kernel hold)`)}export{w as n,S as t};
|