squidclaw 3.0.2 → 3.0.3
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/{accounts-LA308FHj.js → accounts-CK_sHUyT.js} +2 -2
- package/dist/{accounts-CL_NXliB.js → accounts-CkF7YwoF.js} +17 -17
- package/dist/{accounts-F7tGwezI.js → accounts-DbloMfwT.js} +2 -2
- package/dist/{active-listener-DJv1FZqf.js → active-listener-AepfNSUY.js} +2 -2
- package/dist/{agents-DdixSPs3.js → agents-JnnOlm2G.js} +5 -5
- package/dist/{agents.config-Cn_vTN1v.js → agents.config-BeGeS2jv.js} +1 -1
- package/dist/{agents.config-C6KTwnde.js → agents.config-DHJBQ7uA.js} +1 -1
- package/dist/{plugin-sdk/api-key-rotation-DE4gr5YM.js → api-key-rotation-BHFJiYbw.js} +2 -2
- package/dist/{audio-preflight-AEM744TY.js → audio-preflight-BTYxAJjy.js} +32 -32
- package/dist/{audio-preflight-DpCWFB4z.js → audio-preflight-Dkl6Z32z.js} +4 -4
- package/dist/{audio-transcription-runner-CItniQDZ.js → audio-transcription-runner-DBkDgluo.js} +12 -12
- package/dist/{audio-transcription-runner-B2BdTEps.js → audio-transcription-runner-Gi_h5HEE.js} +1 -1
- package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- package/dist/{auth-choice-7WVhiM9J.js → auth-choice-DQbCl-4F.js} +2 -2
- package/dist/{auth-choice-17U1cGPH.js → auth-choice-xwYK6txn.js} +2 -2
- package/dist/{banner-CJTrU-HC.js → banner-BxibaqUz.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +51 -51
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-DPrXawu4.js → channel-activity-C5kTj83_.js} +3 -3
- package/dist/{channel-options-x47KAgAV.js → channel-options-BKsCYdHu.js} +1 -1
- package/dist/{channel-options-BM7IEY5X.js → channel-options-FdCN4cFo.js} +1 -1
- package/dist/{channel-web-B48pVgke.js → channel-web-BFUPrpIe.js} +1 -1
- package/dist/{channel-web-HM1q5FP_.js → channel-web-BkYtM8H5.js} +1 -1
- package/dist/{channels-cli-iPiD6449.js → channels-cli-BxhfVD-R.js} +7 -7
- package/dist/{channels-cli-y66ZCzYf.js → channels-cli-CZzGaGvG.js} +7 -7
- package/dist/{chrome-BQDCalPp.js → chrome-CAd6FQEn.js} +8 -8
- package/dist/{chrome-BFfAGQtd.js → chrome-pBkBuWci.js} +26 -26
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C-neGkM4.js → cli-GSev2Q95.js} +2 -2
- package/dist/{cli-BzpBs_KI.js → cli-bXiYaLre.js} +2 -2
- package/dist/{command-registry-BL80-JCV.js → command-registry-CvgCFxfY.js} +9 -9
- package/dist/{commands-registry-C2t2bcZ6.js → commands-registry-D6ZOTo1C.js} +4 -4
- package/dist/{completion-cli-CJ_L_gYr.js → completion-cli-BGM1V6EN.js} +2 -2
- package/dist/{completion-cli-Bi2s1mq8.js → completion-cli-OrgUDc2S.js} +1 -1
- package/dist/{config-cli-FhKX7MOY.js → config-cli-DbBvjvpS.js} +1 -1
- package/dist/{config-cli-BVpzzhoY.js → config-cli-uIP4r17f.js} +1 -1
- package/dist/{configure-ChiLGQo6.js → configure-BGvoAfbs.js} +6 -6
- package/dist/{configure-t9fm4x9H.js → configure-BOsTXjBw.js} +6 -6
- package/dist/{daemon-cli-DK8fQgAw.js → daemon-cli-CNi-QjEX.js} +1 -1
- package/dist/{daemon-cli-CO09shIt.js → daemon-cli-DN2TnjHQ.js} +1 -1
- package/dist/{deliver-aL8yOYS1.js → deliver-BJuiq0GS.js} +1 -1
- package/dist/{deliver-neVJ7AU9.js → deliver-DBXe-ZmL.js} +21 -21
- package/dist/{deliver-runtime-ChVR6sR3.js → deliver-runtime-DHKcNQzq.js} +3 -3
- package/dist/deliver-runtime-GlnBJNCj.js +36 -0
- package/dist/deps-send-discord.runtime-BRE0s2nz.js +26 -0
- package/dist/deps-send-imessage.runtime-DbIRBnmD.js +25 -0
- package/dist/deps-send-signal.runtime-B4h6X3o4.js +24 -0
- package/dist/deps-send-slack.runtime-BWXOnOxS.js +22 -0
- package/dist/deps-send-telegram.runtime-YvauJtgv.js +27 -0
- package/dist/{deps-send-whatsapp.runtime-WND2o1Mr.js → deps-send-whatsapp.runtime-BcxCalPD.js} +4 -4
- package/dist/deps-send-whatsapp.runtime-CslTuV47.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-CZj97m5A.js → deps-send-whatsapp.runtime-DdxKewuy.js} +7 -7
- package/dist/{deps-send-whatsapp.runtime-DSbrPzxG.js → deps-send-whatsapp.runtime-Dl4ro-Df.js} +4 -4
- package/dist/{diagnostic-DoguEiWW.js → diagnostic-ySwZga6c.js} +2 -2
- package/dist/{doctor-completion-CKaQEebJ.js → doctor-completion-42wcUATu.js} +1 -1
- package/dist/{doctor-completion-Ctqsu6Y2.js → doctor-completion-D6RGDBD5.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-9oVz7reJ.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-DdiB5_OX.js → fetch-BLS7EMnx.js} +5 -5
- package/dist/{fetch-guard-CEV5qBHc.js → fetch-guard-D0fXNJls.js} +2 -2
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- package/dist/{gateway-cli-CSIyrhFg.js → gateway-cli-BbPfLLT6.js} +10 -10
- package/dist/{gateway-cli-xX1CTw9n.js → gateway-cli-CG3mshpO.js} +10 -10
- package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- package/dist/{health-D9Pie2kF.js → health-CJgEuWuG.js} +1 -1
- package/dist/{health-D7mPTab_.js → health-dZqyhpdR.js} +1 -1
- package/dist/{hooks-cli-C6aI9HU7.js → hooks-cli-BD4Ww1dF.js} +3 -3
- package/dist/{hooks-cli-_1zdKcZA.js → hooks-cli-C0wWJOBW.js} +3 -3
- package/dist/{image-ecaECpjT.js → image-j_UomzVG.js} +6 -6
- package/dist/{image-ops-bdrMTILs.js → image-ops-CdgypS_g.js} +2 -2
- package/dist/image-runtime-BNh3IfMj.js +29 -0
- package/dist/{image-runtime-poRypm-b.js → image-runtime-SUtf9jqh.js} +3 -3
- package/dist/{image-DKZCmkET.js → image-sRW3RpTY.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-D_GD01cg.js → ir-BvisJWXv.js} +8 -8
- package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
- package/dist/{login-gJWPqN66.js → login-BMeLPUiO.js} +5 -5
- package/dist/{login-qr-CgmlF7zK.js → login-qr-B2B67qqQ.js} +10 -10
- package/dist/{manager-CD69uguS.js → manager-DdxMYEDd.js} +13 -13
- package/dist/manager-runtime-BMygJEz3.js +18 -0
- package/dist/{model-selection-DMjtmGZP.js → model-selection-ag9BmVct.js} +43 -43
- package/dist/{models-BviRe-_7.js → models-BXT0s4KJ.js} +3 -3
- package/dist/{models-cli-BM5yo_mo.js → models-cli-BtLc9uPC.js} +3 -3
- package/dist/{models-cli-pvYVl1i-.js → models-cli-BwPFxWK2.js} +4 -4
- package/dist/{npm-resolution-DMM9Hopy.js → npm-resolution-DWpNPsBF.js} +1 -1
- package/dist/{npm-resolution-BTFMooVS.js → npm-resolution-Djbuzx6o.js} +1 -1
- package/dist/{onboard-DVuhj8ub.js → onboard-1KfKwvMR.js} +3 -3
- package/dist/{onboard-DTsgFKIa.js → onboard-ChxvwUze.js} +3 -3
- package/dist/{onboard-channels-W9UHiBQg.js → onboard-channels-CHrtFmhi.js} +2 -2
- package/dist/{onboard-channels-B1D9LqV_.js → onboard-channels-CXjnFvP1.js} +2 -2
- package/dist/{onboard-helpers-DVaF21TE.js → onboard-helpers-Bvpkyuwm.js} +6 -6
- package/dist/{onboard-helpers-PRhg7ZY5.js → onboard-helpers-ByttGRIZ.js} +6 -6
- package/dist/{onboard-remote-h-aHSDJ1.js → onboard-remote-Cfx2v9OI.js} +1 -1
- package/dist/{onboard-remote-DkIrV4Hx.js → onboard-remote-DxBaaS6o.js} +1 -1
- package/dist/{onboard-skills-fFSuiv21.js → onboard-skills-B7pHg1lN.js} +1 -1
- package/dist/{onboard-skills-fgrVmjJP.js → onboard-skills-PCnCZ6Od.js} +1 -1
- package/dist/{onboarding-D1nCnc_t.js → onboarding-D6kMb3yv.js} +7 -7
- package/dist/{onboarding-CYWs766P.js → onboarding-DuUMPrqA.js} +7 -7
- package/dist/{onboarding.finalize-Bcan6_vA.js → onboarding.finalize-KTOhO1-l.js} +7 -7
- package/dist/{onboarding.finalize-bAiXf9D6.js → onboarding.finalize-bphDUwZy.js} +6 -6
- package/dist/{onboarding.gateway-config-61E9xXYF.js → onboarding.gateway-config-DDdX0W74.js} +1 -1
- package/dist/{onboarding.gateway-config-Dyaqc_M7.js → onboarding.gateway-config-DNUJ0seU.js} +1 -1
- package/dist/{outbound-Cboz5UyH.js → outbound-DHDBvGLA.js} +6 -6
- package/dist/{outbound-attachment-PwEbEhAL.js → outbound-attachment-CqXiWbKN.js} +2 -2
- package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
- package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
- package/dist/{pi-embedded-MktS4l8v.js → pi-embedded-BGz_qdCc.js} +24 -24
- package/dist/{pi-embedded-CkTlmTq8.js → pi-embedded-BP2UlUm_.js} +171 -171
- package/dist/{pi-embedded-helpers-DYWYzEOC.js → pi-embedded-helpers-BruaFB5l.js} +3 -3
- package/dist/{pi-embedded-helpers-Bfm_CvEb.js → pi-embedded-helpers-CmLnmKlb.js} +52 -52
- package/dist/{pi-model-discovery-DEps5Exd.js → pi-model-discovery-DAzuqPoG.js} +7 -7
- package/dist/pi-model-discovery-runtime-Dpu7Jm2L.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-4wPdP7Br.js → pi-tools.before-tool-call.runtime-2Sp1jmlg.js} +9 -9
- package/dist/{plugin-registry-CvMvSI8O.js → plugin-registry-CLEhrKYA.js} +1 -1
- package/dist/{plugin-registry-DL2ClHLQ.js → plugin-registry-DtuxmgWx.js} +1 -1
- package/dist/plugin-sdk/{accounts-kr-Gz1hk.js → accounts-DghIDNk2.js} +2 -2
- package/dist/plugin-sdk/{accounts-CxUSDHsT.js → accounts-YTdQYQFr.js} +3 -3
- package/dist/plugin-sdk/{accounts-PSzw-z3S.js → accounts-h__dTrLK.js} +2 -2
- package/dist/plugin-sdk/{active-listener-BQNrTcR3.js → active-listener-_PRYjtJv.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-Bhck7wki.js → api-key-rotation-mVDSAkKQ.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-_xgGaeho.js → audio-preflight-BZlQM-qX.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-Dwc0Eh-B.js → audio-transcription-runner-CrYTX8py.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DHQDvH4u.js → audit-membership-runtime-Xl20kCBe.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-XajEg_DL.js → channel-activity-gwxRn4wF.js} +3 -3
- package/dist/plugin-sdk/{channel-web-KtqCp4mz.js → channel-web-1WF-Nabe.js} +18 -18
- package/dist/plugin-sdk/{chrome-diV5m81I.js → chrome-BXbYwXRH.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DwZAJuut.js → commands-registry-0w-aZenK.js} +4 -4
- package/dist/plugin-sdk/{common-CqnO92P8.js → common-DBOCt6Yv.js} +2 -2
- package/dist/plugin-sdk/{config-DYbtdrsT.js → config-pRtEoVyZ.js} +7 -7
- package/dist/plugin-sdk/{deliver-DG_7Uagn.js → deliver-FjlJrtZk.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-DEzvpBW1.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Bhusa_Hi.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-bmakPm5f.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-n00sfFto.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BvM3Z-Mr.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-CPuMkcmo.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BzO6S-KX.js +57 -0
- package/dist/plugin-sdk/{diagnostic-CT7v_kM2.js → diagnostic-Dt2i3afe.js} +2 -2
- package/dist/plugin-sdk/{errors-B8oJXuCF.js → errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Or5BCq0E.js → fetch-guard-DyPZh8r2.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DFbwq9CS.js → fs-safe-DqCO1D4C.js} +3 -3
- package/dist/plugin-sdk/{image-rycGCqJO.js → image-CQ9TZ9vq.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CMsocOob.js → image-ops-sw0uZ0GN.js} +2 -2
- package/dist/plugin-sdk/image-runtime-17_mTqsy.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-DihI2SIz.js → ir-BVZ5kUMb.js} +7 -7
- package/dist/plugin-sdk/{local-roots-1xVosTZ4.js → local-roots-fO3ZgW3G.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-YhFrVUWo.js → login-Dg5cxB_3.js} +4 -4
- package/dist/plugin-sdk/{login-qr-SpUTuwYv.js → login-qr-C3Vn30cq.js} +5 -5
- package/dist/plugin-sdk/{manager-DrzOPeMD.js → manager-BR-TwWTH.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CvI9wF8N.js +15 -0
- package/dist/plugin-sdk/{outbound-Cc4cUn9K.js → outbound-1a3Z_QJ2.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-Dtp3hQgc.js → outbound-attachment-BTQjD4YE.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DA0MhfkG.js → path-alias-guards-TnxupPQC.js} +1 -1
- package/dist/plugin-sdk/{paths-CP67O8eN.js → paths-B7_75Pdr.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BDJ_4Plh.js → pi-embedded-helpers-DZRNadD8.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Mk0GTDJl.js → pi-model-discovery-DGh6xekX.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-DjjBdPYt.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DV72wTDb.js → pi-tools.before-tool-call.runtime-BZ9XgG_x.js} +4 -4
- package/dist/plugin-sdk/{plugins-DSs2-fnK.js → plugins-B8pWVYug.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-Ib4-LUh-.js → proxy-env-BOlkiW1-.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-ZPEvp58f.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DIx2wpkY.js → pw-ai-C17A1o4w.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ov9ElEfG.js → qmd-manager-Bei6TaFq.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-CzjwW461.js → query-expansion-POz2za8a.js} +4 -4
- package/dist/plugin-sdk/{redact-BoNEjbpF.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-CWWUd_JS.js → reply-BFbijn6_.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BOkvxZtM.js → resolve-outbound-target-B9iFEh0y.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-kVooFCVo.js → run-with-concurrency-DmTrN5JG.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DzhkSmLi.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DyILWezU.js +19 -0
- package/dist/plugin-sdk/{send-BP1fSEBR.js → send-BGZo6HW1.js} +5 -5
- package/dist/plugin-sdk/{send-D9CSOGul.js → send-BisREGBZ.js} +6 -6
- package/dist/plugin-sdk/{send-BeLBlAsQ.js → send-BqkUDZed.js} +13 -13
- package/dist/plugin-sdk/{send-DLKxJJYV.js → send-D6_nNvi0.js} +8 -8
- package/dist/plugin-sdk/{send-XZ6IXCtL.js → send-Dj7XEcZN.js} +7 -7
- package/dist/plugin-sdk/{session-DtLUYWvY.js → session-D4KDs7Hq.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-Bv7EZypt.js → skill-commands-D_xeseiI.js} +4 -4
- package/dist/plugin-sdk/{skills-BzXN4uev.js → skills-Bs2b3JfV.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-CUb5sqqf.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DCB6bGjB.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BqEweE4K.js +16 -0
- package/dist/plugin-sdk/{store-DnJhFFW5.js → store-B7ESm9_L.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-CCUW4SbM.js +52 -0
- package/dist/plugin-sdk/{tables-CpmqssLF.js → tables-1vhBJPK_.js} +1 -1
- package/dist/plugin-sdk/{thinking-1UCPuD9d.js → thinking-DjaClmzi.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-RX4QTMnt.js → tool-images-B95xcwiR.js} +2 -2
- package/dist/plugin-sdk/web-DeRmHQ4_.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-BF6ih4Gi.js → whatsapp-actions-BYpcWkTN.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-CmdmAU0K.js → plugins-DXkm70nK.js} +11 -11
- package/dist/{plugins-cli-DBtLtIsQ.js → plugins-cli-Cs3UUJew.js} +3 -3
- package/dist/{plugins-cli-BMPvpwSo.js → plugins-cli-KPz6APX0.js} +3 -3
- package/dist/{program-context-KSeqVkRM.js → program-context-J_FyEsaS.js} +18 -18
- package/dist/{program-C6sTShRB.js → program-xNEHPhT8.js} +8 -8
- package/dist/{prompt-select-styled-Ba5fC0g1.js → prompt-select-styled-B1LjjgQ0.js} +5 -5
- package/dist/{prompt-select-styled-DFhJPiqx.js → prompt-select-styled-BRiogP_P.js} +5 -5
- package/dist/{provider-auth-helpers-S2rdI85T.js → provider-auth-helpers-CxUWqt95.js} +1 -1
- package/dist/{provider-auth-helpers-BPvZ8xkJ.js → provider-auth-helpers-hhFVhZdv.js} +1 -1
- package/dist/{proxy-env-QUJz9VEJ.js → proxy-env-D75CWSOo.js} +1 -1
- package/dist/{proxy-fetch-C2v-Utgg.js → proxy-fetch-lH6RsRTE.js} +1 -1
- package/dist/{push-apns-BQEPMPtG.js → push-apns-BBkpZyNR.js} +1 -1
- package/dist/{push-apns-CGibQhps.js → push-apns-BQjV_93G.js} +1 -1
- package/dist/{pw-ai-SYjuzbV6.js → pw-ai-7kHgUGj0.js} +14 -14
- package/dist/{pw-ai-zFPBSxaL.js → pw-ai-BmGrTicP.js} +1 -1
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/{redact-NmPEVjIo.js → redact-DvzicBMu.js} +1 -1
- package/dist/{register.agent-DP_2xCaO.js → register.agent-DYq06QHS.js} +8 -8
- package/dist/{register.agent-BwhWwpRX.js → register.agent-reU63wQ5.js} +7 -7
- package/dist/{register.configure-D8TE-yQn.js → register.configure-C4p9ad2q.js} +10 -10
- package/dist/{register.configure-C5i661J4.js → register.configure-DezZ4Q1p.js} +10 -10
- package/dist/{register.maintenance-BS2i3S5V.js → register.maintenance-CTvFmkAm.js} +9 -9
- package/dist/{register.maintenance-BA4UOg2_.js → register.maintenance-CzMKTC2a.js} +8 -8
- package/dist/{register.message-oFI2Mzrd.js → register.message-BmsovYS6.js} +3 -3
- package/dist/{register.message-D9hVI5b6.js → register.message-Bp4SDXWk.js} +3 -3
- package/dist/{register.onboard-D6wqijOl.js → register.onboard-C39xhpv1.js} +3 -3
- package/dist/{register.onboard-OaKr3SnU.js → register.onboard-DZt2kSAg.js} +3 -3
- package/dist/{register.setup-DsK_7zih.js → register.setup-04L_8wfA.js} +3 -3
- package/dist/{register.setup-Dygx-glo.js → register.setup-DWctFmOd.js} +3 -3
- package/dist/{register.status-health-sessions-C6VfEhho.js → register.status-health-sessions-CBPZoj51.js} +4 -4
- package/dist/{register.status-health-sessions-BmWcbWPR.js → register.status-health-sessions-N6SFc-UY.js} +4 -4
- package/dist/{register.subclis-CLf32krW.js → register.subclis-C3TphbCF.js} +10 -10
- package/dist/{reply-ZWkzBiSb.js → reply-CB1p166g.js} +5 -5
- package/dist/{run-main-asKkGUqy.js → run-main-7tknx04F.js} +15 -15
- package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-DSR-m0FW.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-Blywd_bv.js +22 -0
- package/dist/{send-oS3t6gE6.js → send-C98RfcAb.js} +5 -5
- package/dist/{send-DX_O1OHH.js → send-Co5Bqwuo.js} +6 -6
- package/dist/{send-BNsV-D2Y.js → send-DjL7KlMV.js} +8 -8
- package/dist/{send-C-jb8X9I.js → send-Do7hKDL9.js} +7 -7
- package/dist/{send-D-Rnbdzz.js → send-bW7jDv8D.js} +26 -26
- package/dist/{server-node-events-DV2yeAp-.js → server-node-events-Ctjzvlem.js} +3 -3
- package/dist/{server-node-events-BHv7a_ll.js → server-node-events-DrCKK0J4.js} +3 -3
- package/dist/{session-DRyURckG.js → session-QSn69XeJ.js} +8 -8
- package/dist/{skill-commands-BrlAf_CG.js → skill-commands-Bi_jchJn.js} +9 -9
- package/dist/{skills-DWrRJwa-.js → skills-CTV78w4q.js} +22 -22
- package/dist/slash-commands.runtime-63MUmCBt.js +16 -0
- package/dist/{slash-dispatch.runtime-DkcAYuyK.js → slash-dispatch.runtime-BL3qA1O3.js} +6 -6
- package/dist/{slash-dispatch.runtime-BJOuQOeN.js → slash-dispatch.runtime-DRGqAgwa.js} +2 -2
- package/dist/slash-dispatch.runtime-Dh2L_3Tg.js +56 -0
- package/dist/{slash-dispatch.runtime-CEAbkOCI.js → slash-dispatch.runtime-uqWhoI6q.js} +2 -2
- package/dist/slash-skill-commands.runtime-B3MSSAQ-.js +20 -0
- package/dist/{status-Ck8-aQIF.js → status-BkfSGlOi.js} +3 -3
- package/dist/{status-CMhW6nGs.js → status-DdW571-j.js} +3 -3
- package/dist/{store-BFNH5fXG.js → store-B89Hj8Ub.js} +2 -2
- package/dist/{subagent-registry-DQpeidFk.js → subagent-registry-DGrfQVN3.js} +5 -5
- package/dist/subagent-registry-runtime-BRNDawlJ.js +56 -0
- package/dist/{subagent-registry-runtime-C-jjppV6.js → subagent-registry-runtime-DatTO2LD.js} +2 -2
- package/dist/{subagent-registry-runtime-tRRyFZL8.js → subagent-registry-runtime-Dsrz3yIh.js} +2 -2
- package/dist/{subagent-registry-runtime-BlRAnw80.js → subagent-registry-runtime-MtjBCcgn.js} +6 -6
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- package/dist/{tables-CnlmCLb3.js → tables-DGHzaXQz.js} +1 -1
- package/dist/{target-errors-Df1wB-I7.js → target-errors-CweAa7L9.js} +2 -2
- package/dist/{thinking-CTpcVnlx.js → thinking-SdNGqtJE.js} +7 -7
- package/dist/{tokens-D2XhLqIz.js → tokens-DfbMVF9y.js} +1 -1
- package/dist/{tool-images-CElPu2en.js → tool-images-8BKrL7Bn.js} +2 -2
- package/dist/{update-cli-5KzuA6pa.js → update-cli-0UiUaT3q.js} +10 -10
- package/dist/{update-cli-CEghYBNP.js → update-cli-C-uyQcFS.js} +9 -9
- package/dist/{update-runner-C5XgCwj2.js → update-runner-CT9YRLtn.js} +1 -1
- package/dist/{update-runner-C0q8aGFd.js → update-runner-CqVLeGYA.js} +1 -1
- package/dist/{web-DBm_uXOl.js → web-B2qXyOb9.js} +3 -3
- package/dist/{web-DdrUn13G.js → web-B7kbCskR.js} +55 -55
- package/dist/{web-DddJa7ZT.js → web-D1ZoRVB0.js} +6 -6
- package/dist/{web-O2WkG3cH.js → web-FqoNMI-k.js} +3 -3
- package/dist/{whatsapp-actions-DPszRJ8b.js → whatsapp-actions-BDkbnZVH.js} +21 -21
- package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/package.json +1 -1
- package/dist/api-key-rotation-Dzvqp3Dc.js +0 -181
- package/dist/deliver-runtime-BdUlqV9E.js +0 -36
- package/dist/deps-send-discord.runtime-R8jUd_2I.js +0 -26
- package/dist/deps-send-imessage.runtime-Die0aWtU.js +0 -25
- package/dist/deps-send-signal.runtime-Biux_4v4.js +0 -24
- package/dist/deps-send-slack.runtime-CkUST2Ky.js +0 -22
- package/dist/deps-send-telegram.runtime-CIN5ILBe.js +0 -27
- package/dist/deps-send-whatsapp.runtime-DUff9bWS.js +0 -60
- package/dist/errors-DfgAh2Ml.js +0 -54
- package/dist/image-runtime-irHu11-U.js +0 -29
- package/dist/manager-runtime-BISxj7HK.js +0 -18
- package/dist/pi-model-discovery-runtime-bzJViQLK.js +0 -11
- package/dist/plugin-sdk/accounts-BNuRM3rG.js +0 -288
- package/dist/plugin-sdk/accounts-CGTYP7Rh.js +0 -46
- package/dist/plugin-sdk/accounts-CcS9IAhD.js +0 -35
- package/dist/plugin-sdk/active-listener-CTsLn1AX.js +0 -50
- package/dist/plugin-sdk/audio-preflight-CRGLqp-g.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-RXsskMMk.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +0 -58
- package/dist/plugin-sdk/channel-activity-gPvD1D7S.js +0 -94
- package/dist/plugin-sdk/channel-web-LGl1zPJt.js +0 -2256
- package/dist/plugin-sdk/chrome-9Y_LcUg1.js +0 -2415
- package/dist/plugin-sdk/commands-registry-CcdEPxVg.js +0 -1125
- package/dist/plugin-sdk/config-CrQ5bCrw.js +0 -17912
- package/dist/plugin-sdk/deliver-D3xr5AkB.js +0 -1694
- package/dist/plugin-sdk/deliver-runtime-B79ZQu69.js +0 -32
- package/dist/plugin-sdk/deliver-runtime-BdTC7uKE.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-BOQZIqC8.js +0 -23
- package/dist/plugin-sdk/deps-send-discord.runtime-CObCNMt3.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-CuHOc9Ka.js +0 -22
- package/dist/plugin-sdk/deps-send-imessage.runtime-DlWgi2DH.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-Cz7FT8J8.js +0 -21
- package/dist/plugin-sdk/deps-send-signal.runtime-iPynghkE.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-D4vDoRsg.js +0 -19
- package/dist/plugin-sdk/deps-send-slack.runtime-DNTbE5jS.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-7CR-xtCF.js +0 -24
- package/dist/plugin-sdk/deps-send-telegram.runtime-DjTVED_m.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CRWOIKRC.js +0 -57
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-bUi8kghi.js +0 -57
- package/dist/plugin-sdk/diagnostic-BXkLYs_9.js +0 -319
- package/dist/plugin-sdk/fetch-guard-C55uvn27.js +0 -156
- package/dist/plugin-sdk/fs-safe-Dqmpk-Fr.js +0 -352
- package/dist/plugin-sdk/image-3xW7IJdq.js +0 -2310
- package/dist/plugin-sdk/image-ops-BjK2qZZn.js +0 -584
- package/dist/plugin-sdk/image-runtime-CZZJJqcW.js +0 -25
- package/dist/plugin-sdk/image-runtime-Cjz368oj.js +0 -25
- package/dist/plugin-sdk/ir-CS7uuQhN.js +0 -1296
- package/dist/plugin-sdk/local-roots-DmOKwiNW.js +0 -186
- package/dist/plugin-sdk/logger-DDdrdbDu.js +0 -1163
- package/dist/plugin-sdk/login-BSEeU27Y.js +0 -57
- package/dist/plugin-sdk/login-qr-BwWJsDSj.js +0 -320
- package/dist/plugin-sdk/manager-DiXPCubI.js +0 -3917
- package/dist/plugin-sdk/manager-runtime-CF55pBNe.js +0 -15
- package/dist/plugin-sdk/manager-runtime-Ct0m9UJC.js +0 -15
- package/dist/plugin-sdk/outbound-attachment-BoFx05zw.js +0 -19
- package/dist/plugin-sdk/outbound-cpqK1GFe.js +0 -212
- package/dist/plugin-sdk/path-alias-guards-gBhrAn14.js +0 -43
- package/dist/plugin-sdk/paths-C6W4VHoa.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-C-B9B6Sp.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-BGEeoPzN.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-BHZ_Htob.js +0 -8
- package/dist/plugin-sdk/pi-model-discovery-runtime-BrwtJHPU.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-ByN_xThw.js +0 -354
- package/dist/plugin-sdk/plugins-D5cdn70e.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-Cf3IUSDw.js +0 -38
- package/dist/plugin-sdk/pw-ai-C_QOIuin.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-6bozlfFg.js +0 -1448
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +0 -1011
- package/dist/plugin-sdk/redact-DfACyt0X.js +0 -319
- package/dist/plugin-sdk/reply-CQUX_haM.js +0 -98828
- package/dist/plugin-sdk/resolve-outbound-target-Dbz0O8cR.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DitS0I1z.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-OthrtsLL.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYCr6A3v.js +0 -19
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Q2HL0zL3.js +0 -19
- package/dist/plugin-sdk/send-BACEu1Un.js +0 -414
- package/dist/plugin-sdk/send-BU4OoR7u.js +0 -2587
- package/dist/plugin-sdk/send-DbxOJ_BC.js +0 -3135
- package/dist/plugin-sdk/send-n932vjT5.js +0 -540
- package/dist/plugin-sdk/send-uCPS53j8.js +0 -503
- package/dist/plugin-sdk/session-DenDKR_-.js +0 -169
- package/dist/plugin-sdk/skill-commands-BK1KDKmS.js +0 -342
- package/dist/plugin-sdk/skills-D4am-zkO.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-Bx1K1iqP.js +0 -13
- package/dist/plugin-sdk/slash-commands.runtime-DWfFqMZw.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DVn338JI.js +0 -52
- package/dist/plugin-sdk/slash-dispatch.runtime-pnWH5AjM.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-Dbi_YzPO.js +0 -16
- package/dist/plugin-sdk/slash-skill-commands.runtime-DxvNWv_E.js +0 -16
- package/dist/plugin-sdk/ssrf-2WBi1Tzx.js +0 -202
- package/dist/plugin-sdk/store-BKDMuvyn.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-FhP0l-Rw.js +0 -52
- package/dist/plugin-sdk/subagent-registry-runtime-hH9ADku1.js +0 -52
- package/dist/plugin-sdk/tables-CrDYcv_b.js +0 -55
- package/dist/plugin-sdk/target-errors-aOwE-MIU.js +0 -195
- package/dist/plugin-sdk/thinking-D41FMh9T.js +0 -1206
- package/dist/plugin-sdk/tokens-CTIYTLWu.js +0 -52
- package/dist/plugin-sdk/tool-images-CWc54lpI.js +0 -274
- package/dist/plugin-sdk/web-AtEy-48y.js +0 -56
- package/dist/plugin-sdk/web-DjKONHqF.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-DEZcm_CZ.js +0 -80
- package/dist/runtime-whatsapp-login.runtime-BqOsE5As.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-D5S6mxFT.js +0 -22
- package/dist/slash-commands.runtime-JqCsKeu2.js +0 -16
- package/dist/slash-dispatch.runtime-h9I6EDYB.js +0 -56
- package/dist/slash-skill-commands.runtime-C0QZlkpu.js +0 -20
- package/dist/subagent-registry-runtime-BxvwRp_3.js +0 -56
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "../../run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "../../paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
4
|
-
import { B as resolveAgentIdFromSessionKey } from "../../workspace-
|
|
5
|
-
import "../../logger-
|
|
6
|
-
import "../../model-selection-
|
|
7
|
-
import "../../github-copilot-token-
|
|
8
|
-
import "../../legacy-names-
|
|
9
|
-
import "../../thinking-
|
|
10
|
-
import "../../tokens-
|
|
11
|
-
import "../../pi-embedded-
|
|
12
|
-
import "../../plugins-
|
|
13
|
-
import "../../accounts-
|
|
14
|
-
import "../../send-
|
|
15
|
-
import "../../send-
|
|
16
|
-
import "../../deliver-
|
|
17
|
-
import "../../diagnostic-
|
|
18
|
-
import "../../accounts-
|
|
19
|
-
import "../../image-ops-
|
|
20
|
-
import "../../send-
|
|
21
|
-
import "../../pi-model-discovery-
|
|
22
|
-
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
24
|
-
import "../../frontmatter-
|
|
25
|
-
import "../../skills-
|
|
26
|
-
import "../../path-alias-guards-
|
|
27
|
-
import "../../redact-
|
|
28
|
-
import "../../errors-
|
|
29
|
-
import { c as writeFileWithinRoot } from "../../fs-safe-
|
|
30
|
-
import "../../proxy-env-
|
|
31
|
-
import "../../store-
|
|
32
|
-
import "../../accounts-
|
|
33
|
-
import "../../paths-
|
|
34
|
-
import "../../tool-images-
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
37
|
-
import "../../fetch-
|
|
38
|
-
import "../../fetch-guard-
|
|
39
|
-
import "../../api-key-rotation-
|
|
40
|
-
import "../../proxy-fetch-
|
|
41
|
-
import "../../ir-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "../../run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { c as resolveStateDir } from "../../paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "../../subsystem-6v7sWnAD.js";
|
|
4
|
+
import { B as resolveAgentIdFromSessionKey } from "../../workspace-kVMIaBrV.js";
|
|
5
|
+
import "../../logger-CnTSBL7T.js";
|
|
6
|
+
import "../../model-selection-ag9BmVct.js";
|
|
7
|
+
import "../../github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "../../legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "../../thinking-SdNGqtJE.js";
|
|
10
|
+
import "../../tokens-DfbMVF9y.js";
|
|
11
|
+
import "../../pi-embedded-BP2UlUm_.js";
|
|
12
|
+
import "../../plugins-DXkm70nK.js";
|
|
13
|
+
import "../../accounts-CkF7YwoF.js";
|
|
14
|
+
import "../../send-Co5Bqwuo.js";
|
|
15
|
+
import "../../send-DjL7KlMV.js";
|
|
16
|
+
import "../../deliver-DBXe-ZmL.js";
|
|
17
|
+
import "../../diagnostic-ySwZga6c.js";
|
|
18
|
+
import "../../accounts-DbloMfwT.js";
|
|
19
|
+
import "../../image-ops-CdgypS_g.js";
|
|
20
|
+
import "../../send-bW7jDv8D.js";
|
|
21
|
+
import "../../pi-model-discovery-DAzuqPoG.js";
|
|
22
|
+
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-CmLnmKlb.js";
|
|
23
|
+
import "../../chrome-pBkBuWci.js";
|
|
24
|
+
import "../../frontmatter-Cq1TcIQ2.js";
|
|
25
|
+
import "../../skills-CTV78w4q.js";
|
|
26
|
+
import "../../path-alias-guards-DORgbZ1w.js";
|
|
27
|
+
import "../../redact-DvzicBMu.js";
|
|
28
|
+
import "../../errors-kkRuS2Cs.js";
|
|
29
|
+
import { c as writeFileWithinRoot } from "../../fs-safe-BoB4X3GD.js";
|
|
30
|
+
import "../../proxy-env-D75CWSOo.js";
|
|
31
|
+
import "../../store-B89Hj8Ub.js";
|
|
32
|
+
import "../../accounts-CK_sHUyT.js";
|
|
33
|
+
import "../../paths-DSd911Oe.js";
|
|
34
|
+
import "../../tool-images-8BKrL7Bn.js";
|
|
35
|
+
import "../../image-j_UomzVG.js";
|
|
36
|
+
import "../../audio-transcription-runner-DBkDgluo.js";
|
|
37
|
+
import "../../fetch-BLS7EMnx.js";
|
|
38
|
+
import "../../fetch-guard-D0fXNJls.js";
|
|
39
|
+
import "../../api-key-rotation-BHFJiYbw.js";
|
|
40
|
+
import "../../proxy-fetch-lH6RsRTE.js";
|
|
41
|
+
import "../../ir-BvisJWXv.js";
|
|
42
42
|
import "../../render-DW7AcFdD.js";
|
|
43
|
-
import "../../target-errors-
|
|
44
|
-
import "../../commands-registry-
|
|
45
|
-
import "../../skill-commands-
|
|
43
|
+
import "../../target-errors-CweAa7L9.js";
|
|
44
|
+
import "../../commands-registry-D6ZOTo1C.js";
|
|
45
|
+
import "../../skill-commands-Bi_jchJn.js";
|
|
46
46
|
import "../../fetch-tZXOZ9FV.js";
|
|
47
|
-
import "../../channel-activity-
|
|
48
|
-
import "../../tables-
|
|
49
|
-
import "../../send-
|
|
50
|
-
import "../../outbound-attachment-
|
|
51
|
-
import "../../send-
|
|
47
|
+
import "../../channel-activity-C5kTj83_.js";
|
|
48
|
+
import "../../tables-DGHzaXQz.js";
|
|
49
|
+
import "../../send-C98RfcAb.js";
|
|
50
|
+
import "../../outbound-attachment-CqXiWbKN.js";
|
|
51
|
+
import "../../send-Do7hKDL9.js";
|
|
52
52
|
import "../../proxy-CecQTx_Z.js";
|
|
53
|
-
import "../../manager-
|
|
54
|
-
import "../../query-expansion-
|
|
53
|
+
import "../../manager-DdxMYEDd.js";
|
|
54
|
+
import "../../query-expansion-Dzxt6kXo.js";
|
|
55
55
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
56
56
|
import { t as resolveHookConfig } from "../../config-DWRgGn0l.js";
|
|
57
57
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7ae10405a66772e47b50bb88720ce3351c19a4bf9aafdccb109345aa2eae3384
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { S as retryAsync, x as resolveRetryConfig } from "./model-selection-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { S as retryAsync, x as resolveRetryConfig } from "./model-selection-ag9BmVct.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -2,7 +2,7 @@ import { r as isTruthyEnvValue } from "./entry.js";
|
|
|
2
2
|
import { n as CHAT_CHANNEL_ORDER } from "./registry-BXcl3IkC.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-BDTkSIi7.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BcF0qNu9.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CLEhrKYA.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-CpzNS8-a.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-DeB9SeAQ.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-H53_4Gxb.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BfL_e1W9.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DtuxmgWx.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
@@ -7,7 +7,7 @@ import { S as sleep, _ as resolveJidToE164, d as isSelfChatMode, f as jidToE164,
|
|
|
7
7
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-DJJAj46v.js";
|
|
8
8
|
import { c as recordSessionMetaFromInbound, lt as resolveGroupSessionKey, o as loadSessionStore, u as updateLastRoute } from "./sessions-C5HWgT1_.js";
|
|
9
9
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BK8I0Svb.js";
|
|
10
|
-
import { $ as shouldAckReactionForWhatsApp, A as resolveInboundSessionEnvelopeContext, Ct as resolveAgentRoute, Dn as normalizeGroupActivation, G as buildPairingReply, J as buildHistoryContextFromEntries, K as resolveMentionGating, On as parseActivationCommand, Q as warnMissingProviderGroupPolicyFallbackOnce, Sr as resolveMessagePrefix, St as buildAgentSessionKey, Un as enqueueSystemEvent, W as createReplyPrefixOptions, X as resolveDefaultGroupPolicy, Y as recordPendingHistoryEntryIfEnabled, Z as resolveOpenProviderRuntimeGroupPolicy, ct as createDedupeCache, dr as hasControlCommand, et as dispatchReplyWithBufferedBlockDispatcher, fr as shouldComputeCommandAuthorized, gr as normalizeMentionText, hr as buildMentionRegexes, it as formatInboundEnvelope, lt as getReplyFromConfig, nt as createInboundDebouncer, q as DEFAULT_GROUP_HISTORY_LIMIT, rt as resolveInboundDebounceMs, sr as finalizeInboundContext, xr as resolveIdentityNamePrefix } from "./subagent-registry-
|
|
10
|
+
import { $ as shouldAckReactionForWhatsApp, A as resolveInboundSessionEnvelopeContext, Ct as resolveAgentRoute, Dn as normalizeGroupActivation, G as buildPairingReply, J as buildHistoryContextFromEntries, K as resolveMentionGating, On as parseActivationCommand, Q as warnMissingProviderGroupPolicyFallbackOnce, Sr as resolveMessagePrefix, St as buildAgentSessionKey, Un as enqueueSystemEvent, W as createReplyPrefixOptions, X as resolveDefaultGroupPolicy, Y as recordPendingHistoryEntryIfEnabled, Z as resolveOpenProviderRuntimeGroupPolicy, ct as createDedupeCache, dr as hasControlCommand, et as dispatchReplyWithBufferedBlockDispatcher, fr as shouldComputeCommandAuthorized, gr as normalizeMentionText, hr as buildMentionRegexes, it as formatInboundEnvelope, lt as getReplyFromConfig, nt as createInboundDebouncer, q as DEFAULT_GROUP_HISTORY_LIMIT, rt as resolveInboundDebounceMs, sr as finalizeInboundContext, xr as resolveIdentityNamePrefix } from "./subagent-registry-DGrfQVN3.js";
|
|
11
11
|
import { c as resolveStorePath } from "./paths-Dn_rzeZN.js";
|
|
12
12
|
import { K as formatLocationText, q as toLocationContext } from "./send-DxZOuYSz.js";
|
|
13
13
|
import { i as saveMediaBuffer } from "./store-BEIcnlgx.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, m as getChildLogger } from "./globals-xfUIfxbE.js";
|
|
2
2
|
import { C as sleep, T as toWhatsappJid, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-DMGXr25O.js";
|
|
3
|
-
import { $t as sleepWithAbort, Cn as resolveInboundDebounceMs, Gn as shouldComputeCommandAuthorized, Gr as normalizeMentionText, Kr as enqueueSystemEvent, Nn as buildAgentSessionKey, Pn as resolveAgentRoute, Qt as computeBackoff, Sn as createInboundDebouncer, Wn as hasControlCommand, Wr as buildMentionRegexes, _n as resolveOpenProviderRuntimeGroupPolicy, _t as parseActivationCommand, bn as dispatchReplyWithBufferedBlockDispatcher, dn as buildPairingReply, fn as resolveMentionGating, gn as resolveDefaultGroupPolicy, gt as normalizeGroupActivation, hn as recordPendingHistoryEntryIfEnabled, kn as createDedupeCache, kt as resolveInboundSessionEnvelopeContext, ln as createReplyPrefixOptions, mi as finalizeInboundContext, mn as buildHistoryContextFromEntries, mr as resolveMessagePrefix, pn as DEFAULT_GROUP_HISTORY_LIMIT, pr as resolveIdentityNamePrefix, t as getReplyFromConfig, vn as warnMissingProviderGroupPolicyFallbackOnce, wn as formatInboundEnvelope, yn as shouldAckReactionForWhatsApp } from "./reply-
|
|
3
|
+
import { $t as sleepWithAbort, Cn as resolveInboundDebounceMs, Gn as shouldComputeCommandAuthorized, Gr as normalizeMentionText, Kr as enqueueSystemEvent, Nn as buildAgentSessionKey, Pn as resolveAgentRoute, Qt as computeBackoff, Sn as createInboundDebouncer, Wn as hasControlCommand, Wr as buildMentionRegexes, _n as resolveOpenProviderRuntimeGroupPolicy, _t as parseActivationCommand, bn as dispatchReplyWithBufferedBlockDispatcher, dn as buildPairingReply, fn as resolveMentionGating, gn as resolveDefaultGroupPolicy, gt as normalizeGroupActivation, hn as recordPendingHistoryEntryIfEnabled, kn as createDedupeCache, kt as resolveInboundSessionEnvelopeContext, ln as createReplyPrefixOptions, mi as finalizeInboundContext, mn as buildHistoryContextFromEntries, mr as resolveMessagePrefix, pn as DEFAULT_GROUP_HISTORY_LIMIT, pr as resolveIdentityNamePrefix, t as getReplyFromConfig, vn as warnMissingProviderGroupPolicyFallbackOnce, wn as formatInboundEnvelope, yn as shouldAckReactionForWhatsApp } from "./reply-CB1p166g.js";
|
|
4
4
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
5
5
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-CIXZm7v4.js";
|
|
6
6
|
import { $t as loadConfig } from "./model-selection-BwOXMaZh.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import { g as getResolvedLoggerSettings, p as theme, s as setVerbose, t as danger } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { d as isRecord } from "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { mt as deleteTelegramUpdateOffset, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-
|
|
5
|
+
import { mt as deleteTelegramUpdateOffset, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-CB1p166g.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-CIXZm7v4.js";
|
|
@@ -100,7 +100,7 @@ import "./workspace-dirs-B2dNahfe.js";
|
|
|
100
100
|
import "./runtime-config-collectors-CuQEWwhf.js";
|
|
101
101
|
import { n as getChannelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-HkRLTNEi.js";
|
|
102
102
|
import "./session-cost-usage-B4DbYmaL.js";
|
|
103
|
-
import "./onboard-helpers-
|
|
103
|
+
import "./onboard-helpers-Bvpkyuwm.js";
|
|
104
104
|
import "./prompt-style-BoYH_ODs.js";
|
|
105
105
|
import "./pairing-labels-Bh4U5HqY.js";
|
|
106
106
|
import "./memory-cli-DWJBdHsC.js";
|
|
@@ -112,25 +112,25 @@ import { t as formatHelpExamples } from "./help-format-BMkyP_P-.js";
|
|
|
112
112
|
import { n as withProgress } from "./progress-BHN121Ps.js";
|
|
113
113
|
import "./server-lifecycle-DfGhxo90.js";
|
|
114
114
|
import "./stagger-DL-XRpny.js";
|
|
115
|
-
import "./channel-web-
|
|
115
|
+
import "./channel-web-BkYtM8H5.js";
|
|
116
116
|
import "./outbound-C_7caLcK.js";
|
|
117
117
|
import "./session-CZJ5Ux6-.js";
|
|
118
118
|
import "./login-Cf9OQOFu.js";
|
|
119
|
-
import "./plugin-registry-
|
|
120
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
119
|
+
import "./plugin-registry-DtuxmgWx.js";
|
|
120
|
+
import { t as formatCliChannelOptions } from "./channel-options-FdCN4cFo.js";
|
|
121
121
|
import { t as hasExplicitOptions } from "./command-options-D0bXi5Pl.js";
|
|
122
122
|
import { n as moveSingleAccountChannelSectionToDefaultAccount } from "./api-Cs-0sTCc.js";
|
|
123
123
|
import "./note-CBt9wSWa.js";
|
|
124
124
|
import { t as createClackPrompter } from "./clack-prompter-Bx0vssUh.js";
|
|
125
125
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CvsgDup6.js";
|
|
126
126
|
import { i as describeBinding, n as applyAgentBindings, t as requireValidConfigSnapshot } from "./config-validation-B2WgInWp.js";
|
|
127
|
-
import { n as buildAgentSummaries } from "./agents.config-
|
|
127
|
+
import { n as buildAgentSummaries } from "./agents.config-BeGeS2jv.js";
|
|
128
128
|
import "./enable-BrwIR0lz.js";
|
|
129
129
|
import "./install-safe-path-iCmVuopp.js";
|
|
130
130
|
import "./npm-pack-install-s-mP9K0z.js";
|
|
131
131
|
import "./skill-scanner-rdr9cQew.js";
|
|
132
132
|
import "./installs-CyjlehlR.js";
|
|
133
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
133
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CHrtFmhi.js";
|
|
134
134
|
import "./auth-choice.apply-helpers-IpMiSyTJ.js";
|
|
135
135
|
import "./issue-format-CJF4zrPW.js";
|
|
136
136
|
import { t as buildChannelAccountSnapshot } from "./status-D98glect.js";
|
|
@@ -32,7 +32,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
32
32
|
import "./accounts-KzgPbLHP.js";
|
|
33
33
|
import { i as createSlackWebClient } from "./send-Dp0cFCnc.js";
|
|
34
34
|
import { at as parseDiscordTarget, et as fetchChannelPermissionsDiscord } from "./send-DomUTnc_.js";
|
|
35
|
-
import { An as formatUsageReportLines, S as deleteTelegramUpdateOffset, kn as loadProviderUsageSummary } from "./subagent-registry-
|
|
35
|
+
import { An as formatUsageReportLines, S as deleteTelegramUpdateOffset, kn as loadProviderUsageSummary } from "./subagent-registry-DGrfQVN3.js";
|
|
36
36
|
import "./paths-Dn_rzeZN.js";
|
|
37
37
|
import "./chat-envelope-thy05gXR.js";
|
|
38
38
|
import "./client-cfjtRboM.js";
|
|
@@ -103,7 +103,7 @@ import "./pi-tools.policy-COmj0F9F.js";
|
|
|
103
103
|
import "./proxy-Dgwoliym.js";
|
|
104
104
|
import "./runtime-config-collectors-nl4J0eGm.js";
|
|
105
105
|
import { n as getChannelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DjorlW8u.js";
|
|
106
|
-
import "./onboard-helpers-
|
|
106
|
+
import "./onboard-helpers-ByttGRIZ.js";
|
|
107
107
|
import "./prompt-style-D_i_ws0g.js";
|
|
108
108
|
import "./pairing-labels-IQFEI8BA.js";
|
|
109
109
|
import "./memory-cli-BpGa2Md3.js";
|
|
@@ -114,7 +114,7 @@ import { n as runCommandWithRuntime } from "./cli-utils-BKqG4ZT-.js";
|
|
|
114
114
|
import { t as formatHelpExamples } from "./help-format-CpR5cEGe.js";
|
|
115
115
|
import { n as withProgress } from "./progress-DuhDspl6.js";
|
|
116
116
|
import "./outbound-erFyoasR.js";
|
|
117
|
-
import "./channel-web-
|
|
117
|
+
import "./channel-web-BFUPrpIe.js";
|
|
118
118
|
import "./session-D0jodcgT.js";
|
|
119
119
|
import "./login-BEjm9EOB.js";
|
|
120
120
|
import { t as hasExplicitOptions } from "./command-options-DVCpMofi.js";
|
|
@@ -123,20 +123,20 @@ import "./note-IoQo8Ol0.js";
|
|
|
123
123
|
import { t as createClackPrompter } from "./clack-prompter-DU01bRlk.js";
|
|
124
124
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D7MilaX-.js";
|
|
125
125
|
import { i as describeBinding, n as applyAgentBindings, t as requireValidConfigSnapshot } from "./config-validation-DBB2ib3F.js";
|
|
126
|
-
import { n as buildAgentSummaries } from "./agents.config-
|
|
126
|
+
import { n as buildAgentSummaries } from "./agents.config-DHJBQ7uA.js";
|
|
127
127
|
import "./enable-Dp5n5D46.js";
|
|
128
128
|
import "./install-safe-path-3muwy3fu.js";
|
|
129
129
|
import "./npm-pack-install-B887us7R.js";
|
|
130
130
|
import "./skill-scanner-CvS725eQ.js";
|
|
131
131
|
import "./installs-BiQDtPF0.js";
|
|
132
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
132
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CXjnFvP1.js";
|
|
133
133
|
import "./auth-choice.apply-helpers-CAYfHKSv.js";
|
|
134
134
|
import "./issue-format-CVVBG2XC.js";
|
|
135
135
|
import { t as buildChannelAccountSnapshot } from "./status-dOhj12u0.js";
|
|
136
136
|
import { t as parseLogLine } from "./parse-log-line-Cg7e_EO6.js";
|
|
137
137
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Dz1_R7Ah.js";
|
|
138
|
-
import "./plugin-registry-
|
|
139
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
138
|
+
import "./plugin-registry-CLEhrKYA.js";
|
|
139
|
+
import { t as formatCliChannelOptions } from "./channel-options-BKsCYdHu.js";
|
|
140
140
|
import fs from "node:fs/promises";
|
|
141
141
|
|
|
142
142
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -13,7 +13,7 @@ import { createHmac } from "node:crypto";
|
|
|
13
13
|
import net from "node:net";
|
|
14
14
|
import http, { createServer } from "node:http";
|
|
15
15
|
import https from "node:https";
|
|
16
|
-
import WebSocket
|
|
16
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
17
17
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
18
18
|
|
|
19
19
|
//#region src/browser/constants.ts
|
|
@@ -592,7 +592,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
592
592
|
let extensionWs = null;
|
|
593
593
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
594
594
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
595
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
595
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
596
596
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
597
597
|
let extensionDisconnectCleanupTimer = null;
|
|
598
598
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -644,7 +644,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
644
644
|
let nextExtensionId = 1;
|
|
645
645
|
const sendToExtension = async (payload) => {
|
|
646
646
|
const ws = extensionWs;
|
|
647
|
-
if (!ws || ws.readyState !== WebSocket
|
|
647
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
648
648
|
ws.send(JSON.stringify(payload));
|
|
649
649
|
return await new Promise((resolve, reject) => {
|
|
650
650
|
const timer = setTimeout(() => {
|
|
@@ -661,12 +661,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
661
661
|
const broadcastToCdpClients = (evt) => {
|
|
662
662
|
const msg = JSON.stringify(evt);
|
|
663
663
|
for (const ws of cdpClients) {
|
|
664
|
-
if (ws.readyState !== WebSocket
|
|
664
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
665
665
|
ws.send(msg);
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
668
|
const sendResponseToCdp = (ws, res) => {
|
|
669
|
-
if (ws.readyState !== WebSocket
|
|
669
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
670
670
|
ws.send(JSON.stringify(res));
|
|
671
671
|
};
|
|
672
672
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -920,7 +920,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
920
920
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
921
921
|
return;
|
|
922
922
|
}
|
|
923
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
923
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
924
924
|
try {
|
|
925
925
|
extensionWs.terminate();
|
|
926
926
|
} catch {}
|
|
@@ -953,7 +953,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
953
953
|
clearExtensionDisconnectCleanupTimer();
|
|
954
954
|
flushExtensionReconnectWaiters(true);
|
|
955
955
|
const ping = setInterval(() => {
|
|
956
|
-
if (ws.readyState !== WebSocket
|
|
956
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
957
957
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
958
958
|
}, 5e3);
|
|
959
959
|
ws.on("message", (data) => {
|
|
@@ -1309,7 +1309,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1309
1309
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1310
1310
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1311
1311
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1312
|
-
return new WebSocket
|
|
1312
|
+
return new WebSocket(wsUrl, {
|
|
1313
1313
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1314
1314
|
...Object.keys(headers).length ? { headers } : {},
|
|
1315
1315
|
...agent ? { agent } : {}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
2
|
-
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-
|
|
3
|
-
import { a as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { Ct as isPrivateOrLoopbackIpAddress, St as isLoopbackIpAddress, X as loadConfig, wt as normalizeIpAddress } from "./model-selection-
|
|
5
|
-
import { a as isErrno } from "./errors-
|
|
6
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { t as createSubsystemLogger, w as resolvePreferredSquidClawTmpDir } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-kVMIaBrV.js";
|
|
3
|
+
import { a as CONFIG_DIR } from "./logger-CnTSBL7T.js";
|
|
4
|
+
import { Ct as isPrivateOrLoopbackIpAddress, St as isLoopbackIpAddress, X as loadConfig, wt as normalizeIpAddress } from "./model-selection-ag9BmVct.js";
|
|
5
|
+
import { a as isErrno } from "./errors-kkRuS2Cs.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BoB4X3GD.js";
|
|
7
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-D75CWSOo.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import syncFs from "node:fs";
|
|
12
12
|
import { execFileSync, spawn } from "node:child_process";
|
|
13
13
|
import { createHmac } from "node:crypto";
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
import http, { createServer } from "node:http";
|
|
16
16
|
import https from "node:https";
|
|
17
|
-
import WebSocket
|
|
17
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
18
18
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
19
19
|
|
|
20
20
|
//#region src/browser/constants.ts
|
|
@@ -593,7 +593,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
593
593
|
let extensionWs = null;
|
|
594
594
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
595
595
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
596
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
596
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
597
597
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
598
598
|
let extensionDisconnectCleanupTimer = null;
|
|
599
599
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -645,7 +645,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
645
645
|
let nextExtensionId = 1;
|
|
646
646
|
const sendToExtension = async (payload) => {
|
|
647
647
|
const ws = extensionWs;
|
|
648
|
-
if (!ws || ws.readyState !== WebSocket
|
|
648
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
649
649
|
ws.send(JSON.stringify(payload));
|
|
650
650
|
return await new Promise((resolve, reject) => {
|
|
651
651
|
const timer = setTimeout(() => {
|
|
@@ -662,12 +662,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
662
662
|
const broadcastToCdpClients = (evt) => {
|
|
663
663
|
const msg = JSON.stringify(evt);
|
|
664
664
|
for (const ws of cdpClients) {
|
|
665
|
-
if (ws.readyState !== WebSocket
|
|
665
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
666
666
|
ws.send(msg);
|
|
667
667
|
}
|
|
668
668
|
};
|
|
669
669
|
const sendResponseToCdp = (ws, res) => {
|
|
670
|
-
if (ws.readyState !== WebSocket
|
|
670
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
671
671
|
ws.send(JSON.stringify(res));
|
|
672
672
|
};
|
|
673
673
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -921,7 +921,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
921
921
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
922
922
|
return;
|
|
923
923
|
}
|
|
924
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
924
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
925
925
|
try {
|
|
926
926
|
extensionWs.terminate();
|
|
927
927
|
} catch {}
|
|
@@ -954,7 +954,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
954
954
|
clearExtensionDisconnectCleanupTimer();
|
|
955
955
|
flushExtensionReconnectWaiters(true);
|
|
956
956
|
const ping = setInterval(() => {
|
|
957
|
-
if (ws.readyState !== WebSocket
|
|
957
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
958
958
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
959
959
|
}, 5e3);
|
|
960
960
|
ws.on("message", (data) => {
|
|
@@ -1310,7 +1310,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1310
1310
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1311
1311
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1312
1312
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1313
|
-
return new WebSocket
|
|
1313
|
+
return new WebSocket(wsUrl, {
|
|
1314
1314
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1315
1315
|
...Object.keys(headers).length ? { headers } : {},
|
|
1316
1316
|
...agent ? { agent } : {}
|
|
@@ -1595,7 +1595,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1595
1595
|
]);
|
|
1596
1596
|
function exists$1(filePath) {
|
|
1597
1597
|
try {
|
|
1598
|
-
return
|
|
1598
|
+
return syncFs.existsSync(filePath);
|
|
1599
1599
|
} catch {
|
|
1600
1600
|
return false;
|
|
1601
1601
|
}
|
|
@@ -1738,7 +1738,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
function readDesktopExecLine(desktopPath) {
|
|
1740
1740
|
try {
|
|
1741
|
-
const lines =
|
|
1741
|
+
const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1742
1742
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1743
1743
|
} catch {}
|
|
1744
1744
|
return null;
|
|
@@ -1996,7 +1996,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
|
|
|
1996
1996
|
const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
|
|
1997
1997
|
function resolveLsofCommandSync() {
|
|
1998
1998
|
for (const candidate of LSOF_CANDIDATES) try {
|
|
1999
|
-
|
|
1999
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
2000
2000
|
return candidate;
|
|
2001
2001
|
} catch {}
|
|
2002
2002
|
return "lsof";
|
|
@@ -2041,8 +2041,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
function safeReadJson(filePath) {
|
|
2043
2043
|
try {
|
|
2044
|
-
if (!
|
|
2045
|
-
const raw =
|
|
2044
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
2045
|
+
const raw = syncFs.readFileSync(filePath, "utf-8");
|
|
2046
2046
|
const parsed = JSON.parse(raw);
|
|
2047
2047
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
2048
2048
|
return parsed;
|
|
@@ -2051,8 +2051,8 @@ function safeReadJson(filePath) {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
function safeWriteJson(filePath, data) {
|
|
2054
|
-
|
|
2055
|
-
|
|
2054
|
+
syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
2055
|
+
syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
2056
2056
|
}
|
|
2057
2057
|
function setDeep(obj, keys, value) {
|
|
2058
2058
|
let node = obj;
|
|
@@ -2179,7 +2179,7 @@ function decorateSquidClawProfile(userDataDir, opts) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
safeWriteJson(preferencesPath, prefs);
|
|
2181
2181
|
try {
|
|
2182
|
-
|
|
2182
|
+
syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
2183
2183
|
} catch {}
|
|
2184
2184
|
}
|
|
2185
2185
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -2195,7 +2195,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
2195
2195
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
2196
2196
|
function exists(filePath) {
|
|
2197
2197
|
try {
|
|
2198
|
-
return
|
|
2198
|
+
return syncFs.existsSync(filePath);
|
|
2199
2199
|
} catch {
|
|
2200
2200
|
return false;
|
|
2201
2201
|
}
|
|
@@ -2293,7 +2293,7 @@ async function launchSquidClawChrome(resolved, profile) {
|
|
|
2293
2293
|
const exe = resolveBrowserExecutable(resolved);
|
|
2294
2294
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
2295
2295
|
const userDataDir = resolveSquidClawUserDataDir(profile.name);
|
|
2296
|
-
|
|
2296
|
+
syncFs.mkdirSync(userDataDir, { recursive: true });
|
|
2297
2297
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_SQUIDCLAW_BROWSER_COLOR).toUpperCase());
|
|
2298
2298
|
const spawnOnce = () => {
|
|
2299
2299
|
const args = [
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
import * as daemonCli from "../daemon-cli-
|
|
2
|
+
import * as daemonCli from "../daemon-cli-CNi-QjEX.js";
|
|
3
3
|
export const registerDaemonCli = daemonCli.t.registerDaemonCli;
|
|
4
4
|
export const runDaemonInstall = daemonCli.s;
|
|
5
5
|
export const runDaemonRestart = daemonCli.r;
|
|
@@ -2,7 +2,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import "./globals-xfUIfxbE.js";
|
|
3
3
|
import "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { ft as loadSquidClawPlugins } from "./reply-
|
|
5
|
+
import { ft as loadSquidClawPlugins } from "./reply-CB1p166g.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import "./squidclaw-root-CnE19yKj.js";
|
|
@@ -97,7 +97,7 @@ import "./workspace-dirs-B2dNahfe.js";
|
|
|
97
97
|
import "./runtime-config-collectors-CuQEWwhf.js";
|
|
98
98
|
import "./command-secret-targets-HkRLTNEi.js";
|
|
99
99
|
import "./session-cost-usage-B4DbYmaL.js";
|
|
100
|
-
import "./onboard-helpers-
|
|
100
|
+
import "./onboard-helpers-Bvpkyuwm.js";
|
|
101
101
|
import "./prompt-style-BoYH_ODs.js";
|
|
102
102
|
import "./pairing-labels-Bh4U5HqY.js";
|
|
103
103
|
import "./memory-cli-DWJBdHsC.js";
|
|
@@ -30,7 +30,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
30
30
|
import "./accounts-KzgPbLHP.js";
|
|
31
31
|
import "./send-Dp0cFCnc.js";
|
|
32
32
|
import "./send-DomUTnc_.js";
|
|
33
|
-
import { b as loadSquidClawPlugins } from "./subagent-registry-
|
|
33
|
+
import { b as loadSquidClawPlugins } from "./subagent-registry-DGrfQVN3.js";
|
|
34
34
|
import "./paths-Dn_rzeZN.js";
|
|
35
35
|
import "./chat-envelope-thy05gXR.js";
|
|
36
36
|
import "./client-cfjtRboM.js";
|
|
@@ -100,7 +100,7 @@ import "./pi-tools.policy-COmj0F9F.js";
|
|
|
100
100
|
import "./proxy-Dgwoliym.js";
|
|
101
101
|
import "./runtime-config-collectors-nl4J0eGm.js";
|
|
102
102
|
import "./command-secret-targets-DjorlW8u.js";
|
|
103
|
-
import "./onboard-helpers-
|
|
103
|
+
import "./onboard-helpers-ByttGRIZ.js";
|
|
104
104
|
import "./prompt-style-D_i_ws0g.js";
|
|
105
105
|
import "./pairing-labels-IQFEI8BA.js";
|
|
106
106
|
import "./memory-cli-BpGa2Md3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-BrhVUl-N.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-C3TphbCF.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DWctFmOd.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-DZt2kSAg.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-C4p9ad2q.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-uIP4r17f.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-CTvFmkAm.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-Bp4SDXWk.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-DYq06QHS.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-N6SFc-UY.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|