squidclaw 3.0.27 → 3.0.29
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-C7pGQPcS.js → accounts-A_9Khwyv.js} +2 -2
- package/dist/{accounts-DjhBQg_8.js → accounts-Cz_Fvguv.js} +2 -2
- package/dist/{accounts-DwGoZKGm.js → accounts-f6iuhXVV.js} +17 -17
- package/dist/{active-listener-DPc_PGsA.js → active-listener-Cpv61XW5.js} +2 -2
- package/dist/{agents-SHmmlinC.js → agents-C45efJT7.js} +4 -4
- package/dist/{agents.config-C4bgEbdA.js → agents.config-C8v65qN9.js} +1 -1
- package/dist/{agents.config-CKbSiVW4.js → agents.config-Clini93W.js} +1 -1
- package/dist/{api-key-rotation-DVyYtQxC.js → api-key-rotation-6zH7pb_E.js} +2 -2
- package/dist/{audio-preflight-BUCBED7N.js → audio-preflight-DsLwB4dE.js} +32 -32
- package/dist/{audio-transcription-runner-Cv0Q47cM.js → audio-transcription-runner-zGqnorSY.js} +12 -12
- package/dist/{audit-membership-runtime-DyLj-uhz.js → audit-membership-runtime-By9-qSwl.js} +4 -4
- package/dist/{auth-choice-nbbKEYIm.js → auth-choice-BQXBGaRl.js} +1 -1
- package/dist/{auth-choice-DOEtSP7U.js → auth-choice-hEJyhy7L.js} +1 -1
- package/dist/{banner-CgxbDb-A.js → banner-CrrDgCEs.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +153 -60
- package/dist/{channel-activity-CPpt4XaL.js → channel-activity-Byj9--iR.js} +3 -3
- package/dist/{channel-options-DD8pn51g.js → channel-options-CVKOaKBz.js} +1 -1
- package/dist/{channel-options-DORsSb06.js → channel-options-iObBHiIV.js} +1 -1
- package/dist/{channel-web-C9gRSNfc.js → channel-web-CSYQMMrp.js} +1 -1
- package/dist/{channel-web-BvloWcnP.js → channel-web-ZjLaDDYA.js} +1 -1
- package/dist/{channels-cli-DiA6DH6p.js → channels-cli-CJSNz6Do.js} +6 -6
- package/dist/{channels-cli-DqyjCJAf.js → channels-cli-ZxEUWF-u.js} +6 -6
- package/dist/{chrome-OgCChbC_.js → chrome-BvWxjtGl.js} +18 -18
- package/dist/{cli-BNZDUFuk.js → cli-BI1nRfCA.js} +1 -1
- package/dist/{cli-DCsEN1fp.js → cli-R49Hv8Gb.js} +1 -1
- package/dist/{command-registry-DntrnfSZ.js → command-registry-DAp3-Qya.js} +9 -9
- package/dist/{commands-registry-BJjv8_oR.js → commands-registry-tedusR2M.js} +4 -4
- package/dist/{completion-cli-0kzbsPCE.js → completion-cli-CLrRKFt9.js} +1 -1
- package/dist/{completion-cli-ZG2HRTZw.js → completion-cli-DZbYDl2J.js} +2 -2
- package/dist/{config-cli-B70aSBjJ.js → config-cli-Bmq4kHDl.js} +1 -1
- package/dist/{config-cli-DyB3LaLr.js → config-cli-DXJQvEat.js} +1 -1
- package/dist/{configure-DFjC_USC.js → configure-BM0Q5yuJ.js} +3 -3
- package/dist/{configure-HAlDPfOO.js → configure-DTT64LBO.js} +3 -3
- package/dist/{deliver-DMTUTpTM.js → deliver-RetmM0fn.js} +21 -21
- package/dist/deliver-runtime-tqK6d8Uv.js +36 -0
- package/dist/deps-send-discord.runtime-BGaHOctc.js +26 -0
- package/dist/deps-send-imessage.runtime-BIYidS73.js +25 -0
- package/dist/deps-send-signal.runtime-CjglZ1PO.js +24 -0
- package/dist/deps-send-slack.runtime-DOkzJ6nC.js +22 -0
- package/dist/deps-send-telegram.runtime-Cz8mtMyE.js +27 -0
- package/dist/{deps-send-whatsapp.runtime-BTVEWhWJ.js → deps-send-whatsapp.runtime-CEe4M8js.js} +3 -3
- package/dist/deps-send-whatsapp.runtime-DFfgQ9HF.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-gVafyT5b.js → deps-send-whatsapp.runtime-DKkr-l19.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-B6WZfxsU.js → deps-send-whatsapp.runtime-Dcp7Tin4.js} +3 -3
- package/dist/{diagnostic-CnVwZNbm.js → diagnostic-DnZCgMrc.js} +2 -2
- package/dist/{doctor-completion-Bdaa-Pnx.js → doctor-completion-D-MCE0ZM.js} +1 -1
- package/dist/{doctor-completion-B6t4VCC2.js → doctor-completion-DtrqjkJS.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-9oVz7reJ.js → errors-CCLnP2Fs.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-DP-JjB6Z.js → fetch-cQwsz0rO.js} +5 -5
- package/dist/{fetch-guard-BDy975wP.js → fetch-guard-BkqLWF6M.js} +2 -2
- package/dist/{frontmatter-Cq1TcIQ2.js → frontmatter-vSrur-r-.js} +5 -5
- package/dist/{fs-safe-BoB4X3GD.js → fs-safe-Dyju4C81.js} +4 -4
- package/dist/{gateway-cli-BvESvgyp.js → gateway-cli-BIn8TtGv.js} +8 -8
- package/dist/{gateway-cli-DTUsG7Sq.js → gateway-cli-BeQXAKTg.js} +8 -8
- package/dist/{github-copilot-token-B5cPlwaz.js → github-copilot-token-B8Wx9FgQ.js} +7 -7
- package/dist/{health-LxEzhXog.js → health-B1YIoY5z.js} +1 -1
- package/dist/{health-ChHiOfOC.js → health-BPRQncx0.js} +1 -1
- package/dist/{hooks-cli-CLigFQsx.js → hooks-cli-D-3Q8obA.js} +2 -2
- package/dist/{hooks-cli-B2_cA6tp.js → hooks-cli-D5NHmkRr.js} +2 -2
- package/dist/{image-kKMG59st.js → image-kOIz_XGP.js} +6 -6
- package/dist/{image-ops-Dg8iraUV.js → image-ops-CumBuu0G.js} +2 -2
- package/dist/image-runtime-CSRwqD0g.js +29 -0
- package/dist/index.js +6 -6
- package/dist/{ir-CKK03mBV.js → ir-rIK14_OY.js} +8 -8
- package/dist/{legacy-names-aGJJuzM_.js → legacy-names-CDxprteD.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-CnTSBL7T.js → logger-onBePS9K.js} +7 -7
- package/dist/{login-CeKDrz6_.js → login-BFH4YHqv.js} +5 -5
- package/dist/{login-qr-KbOpR0GQ.js → login-qr-BuzK_3o4.js} +10 -10
- package/dist/{manager-DINhLnMi.js → manager-B-q7-W4P.js} +13 -13
- package/dist/manager-runtime-CF4Tq0lu.js +18 -0
- package/dist/{model-selection-DuNLFQPR.js → model-selection-BEglDVk0.js} +48 -48
- package/dist/{models-BV4zhGnq.js → models-CAH2k1fR.js} +2 -2
- package/dist/{models-cli-BNn-0rl0.js → models-cli-BfGR6mAy.js} +2 -2
- package/dist/{models-cli-Dpj_xSPh.js → models-cli-DostGd3W.js} +3 -3
- package/dist/{npm-resolution-CnaTt2aT.js → npm-resolution-EIBwVM0Q.js} +1 -1
- package/dist/{npm-resolution-CKHXw_Cx.js → npm-resolution-_wRrdhwZ.js} +1 -1
- package/dist/{onboard-J6n7v4Bo.js → onboard-DrLrDJWL.js} +2 -2
- package/dist/{onboard-C4ayp9K2.js → onboard-DrpgQebA.js} +2 -2
- package/dist/{onboard-channels-Csy6Ng39.js → onboard-channels-4-7KcYUw.js} +1 -1
- package/dist/{onboard-channels-BHxe-ulR.js → onboard-channels-D4cK-Cbv.js} +1 -1
- package/dist/{onboarding-BKxsnOPg.js → onboarding-C6vIz92s.js} +3 -3
- package/dist/{onboarding-Cx8FcYRx.js → onboarding-vQJFankJ.js} +3 -3
- package/dist/{onboarding.finalize-DhPoPhfX.js → onboarding.finalize-0nV-87s1.js} +6 -6
- package/dist/{onboarding.finalize-BxXIISee.js → onboarding.finalize-Ck6DerG6.js} +5 -5
- package/dist/{outbound-C9svt6RH.js → outbound-ZriFY47D.js} +6 -6
- package/dist/{outbound-attachment-DwupUxYF.js → outbound-attachment-CtS0mrgi.js} +2 -2
- package/dist/{path-alias-guards-DORgbZ1w.js → path-alias-guards-CNSVgZrJ.js} +1 -1
- package/dist/{paths-DSd911Oe.js → paths-CUF9-Xea.js} +4 -4
- package/dist/{paths-DA5srn0U.js → paths-ZhiQAuKk.js} +5 -5
- package/dist/{pi-embedded-D6gxI0xB.js → pi-embedded-CgheLT-Q.js} +4 -74
- package/dist/{pi-embedded-CpNkNjFv.js → pi-embedded-NI8lHL1N.js} +160 -230
- package/dist/{pi-embedded-helpers-Di58J7Eh.js → pi-embedded-helpers-BYajLWsL.js} +52 -52
- package/dist/{pi-model-discovery-V-InbjOM.js → pi-model-discovery-COoRoqoO.js} +7 -7
- package/dist/pi-model-discovery-runtime-CV-86a0O.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-Bpk4qTgV.js → pi-tools.before-tool-call.runtime-pbvzHMRb.js} +9 -9
- package/dist/{plugin-registry-CJ9E3pVF.js → plugin-registry-BsC3FIYP.js} +1 -1
- package/dist/{plugin-registry-DbWGikL_.js → plugin-registry-CaFT-Rl0.js} +1 -1
- package/dist/plugin-sdk/{accounts-C5PAuCTj.js → accounts-0kF5cxkn.js} +2 -2
- package/dist/plugin-sdk/{accounts-DC5cbH9r.js → accounts-u0-JAHzj.js} +2 -2
- package/dist/plugin-sdk/{accounts-DncG0Hx9.js → accounts-xZOA23tQ.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Bd3HH2km.js → active-listener-C5xPUSTb.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BAZ0GD26.js → api-key-rotation-DyjMI2n3.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-tpVm-t9O.js → audio-preflight-C0q7lu6y.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DSScb434.js → audio-transcription-runner-Ced47O1H.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-cYEaofTH.js → channel-activity-CNffKOEQ.js} +3 -3
- package/dist/plugin-sdk/{channel-web-K0nTiIAp.js → channel-web-CSCRnS_R.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C14ArXJA.js → channel-web-WTmRi6i_.js} +18 -18
- package/dist/plugin-sdk/{chrome-DB2h0uN0.js → chrome-DJQWo149.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DGZ1oFXJ.js → commands-registry-_kBPE22q.js} +4 -4
- package/dist/plugin-sdk/{common-D5lLWoCW.js → common-J8vIST9Q.js} +2 -2
- package/dist/plugin-sdk/compat.js +2 -2
- package/dist/plugin-sdk/{config-Bt-c7PWF.js → config-CnZ1TlEw.js} +7 -7
- package/dist/plugin-sdk/{deliver-MvrkIeKJ.js → deliver-Xh6voz9H.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-5UVcSskg.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DTspXSCt.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-qThAwDEe.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DnjnVzZF.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-CbKevLnv.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-C6y29O9E.js +24 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DzQP5jh0.js → deps-send-whatsapp.runtime-DGKnscLG.js} +3 -3
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DfCAOpgB.js +57 -0
- package/dist/plugin-sdk/{diagnostic-B6F3BtCX.js → diagnostic-DKsyROPi.js} +2 -2
- package/dist/{errors-kkRuS2Cs.js → plugin-sdk/errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-cfPCfkrw.js → fetch-guard-BBAT8G-1.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DFbwq9CS.js → fs-safe-DqCO1D4C.js} +3 -3
- package/dist/plugin-sdk/{image-FK5xhY5u.js → image-4ay2cw7G.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BSYgrL7E.js → image-ops-G8KoEfY8.js} +2 -2
- package/dist/plugin-sdk/image-runtime-CpfepTDc.js +25 -0
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{ir-CWmryq5f.js → ir-DXj1KGnL.js} +7 -7
- package/dist/plugin-sdk/{local-roots-U25IdeDH.js → local-roots-ovKHgVSP.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-8qzl2H7G.js → login-Cgtm70by.js} +4 -4
- package/dist/plugin-sdk/{login-qr-kalCTJEw.js → login-qr-BrixqhMx.js} +5 -5
- package/dist/plugin-sdk/{manager-ijYHktIt.js → manager-PEQ_cPYF.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-BmgTeb5G.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-BIVf0aPq.js → outbound-BK75h9CQ.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-F5tzeNUD.js → outbound-attachment-BI1QngTS.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-CxMnPQ37.js → pi-embedded-helpers-BioULNev.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-8OL77kCh.js → pi-model-discovery-BMmAbnil.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-COnuGwZt.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-B7FW36KX.js → pi-tools.before-tool-call.runtime-rdRqZ9lk.js} +4 -4
- package/dist/plugin-sdk/{plugins-D3mrhffi.js → plugins-BqKpJkqt.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-CUUXO6rv.js → proxy-env-C4s12rr8.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Cf3IUSDw.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-dPmKdw_w.js → pw-ai-Cb0ZDSq4.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-DfACyt0X.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-COSG33YP.js → reply-CU3gTFzu.js} +73 -143
- package/dist/plugin-sdk/{reply-BF5OTD_L.js → reply-CljVqURz.js} +4 -74
- package/dist/plugin-sdk/{resolve-outbound-target-BeIB_jm0.js → resolve-outbound-target-DL1adXpk.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-99sCh8RG.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-dTkDaXHl.js +19 -0
- package/dist/plugin-sdk/{send-CgkNzAhS.js → send-BCVXt-3e.js} +8 -8
- package/dist/plugin-sdk/{send-DV5kR0Hg.js → send-BNePC8CO.js} +6 -6
- package/dist/plugin-sdk/{send-CuENGOhq.js → send-CAG0Or0G.js} +7 -7
- package/dist/plugin-sdk/{send-DtA6ngBJ.js → send-DhGDAZnT.js} +13 -13
- package/dist/plugin-sdk/{send-D6Uh2D1D.js → send-X6QuS7x0.js} +5 -5
- package/dist/plugin-sdk/{session-CnlZn-bR.js → session-CAqYQVhe.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-Ckfii7h8.js → skill-commands-Bk-IFyNw.js} +4 -4
- package/dist/plugin-sdk/{skills-v0WQqKTa.js → skills-C5bT9-q4.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-EAZKpRKq.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DBMbGgmv.js +52 -0
- package/dist/plugin-sdk/{slash-dispatch.runtime-CyZxEAJd.js → slash-dispatch.runtime-oVCp4RI8.js} +1 -1
- package/dist/plugin-sdk/slash-skill-commands.runtime-DGd_JSWX.js +16 -0
- package/dist/plugin-sdk/{store-C_UrNuM3.js → store-D3lgWnS2.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-BT4jMI8z.js +52 -0
- package/dist/plugin-sdk/{subagent-registry-runtime-B9vyMA3A.js → subagent-registry-runtime-CaQMId4R.js} +1 -1
- package/dist/plugin-sdk/{tables-CJP05iMa.js → tables-Dmlu4_q_.js} +1 -1
- package/dist/plugin-sdk/{thinking-BhP3vn1l.js → thinking-DRNOh5Xx.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-ZE5G5UM0.js → tool-images-BY1gsRyE.js} +2 -2
- package/dist/plugin-sdk/web-1-vrUNY8.js +56 -0
- package/dist/plugin-sdk/{web-zcehLsEt.js → web-C8u6_5TB.js} +2 -2
- package/dist/plugin-sdk/{whatsapp-actions-DJmx6ihj.js → whatsapp-actions-BCJYmWCB.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-DvejjZnJ.js → plugins-Dr2YhZ4p.js} +11 -11
- package/dist/{plugins-cli-BSLJbHhh.js → plugins-cli-29cwK1kP.js} +2 -2
- package/dist/{plugins-cli-CIyP8IsD.js → plugins-cli-BCPmdO-F.js} +2 -2
- package/dist/{program-DQjjnBkB.js → program-CLD93UEW.js} +7 -7
- package/dist/{program-context-jw4pIT7h.js → program-context-CvlgMXty.js} +17 -17
- package/dist/{prompt-select-styled-BeXqhuug.js → prompt-select-styled-D7A8lcVZ.js} +4 -4
- package/dist/{prompt-select-styled-Uc8ws2hS.js → prompt-select-styled-DvZs93tv.js} +4 -4
- package/dist/{provider-auth-helpers-B4o2t23Z.js → provider-auth-helpers-C91OHeLD.js} +1 -1
- package/dist/{provider-auth-helpers-m2vq3OJC.js → provider-auth-helpers-D610nllx.js} +1 -1
- package/dist/{proxy-env-D-fike7s.js → proxy-env-CY4kVbFL.js} +1 -1
- package/dist/{proxy-fetch-lH6RsRTE.js → proxy-fetch-08-dhqxn.js} +1 -1
- package/dist/{push-apns-C3QRVcrx.js → push-apns-D-_XPvYX.js} +1 -1
- package/dist/{push-apns-DZW7HOYq.js → push-apns-PG6ocw6x.js} +1 -1
- package/dist/{pw-ai-B8ymIYub.js → pw-ai-D2Tp5DPG.js} +14 -14
- package/dist/{qmd-manager-BN0siR2Z.js → qmd-manager-v3fVcsJ9.js} +10 -10
- package/dist/{query-expansion-Dzxt6kXo.js → query-expansion-CeQC9es_.js} +6 -6
- package/dist/{redact-DvzicBMu.js → redact-rnJm_Z5E.js} +1 -1
- package/dist/{register.agent-iwQM76PJ.js → register.agent-BuHD_bae.js} +6 -6
- package/dist/{register.agent-Bpp6PZCy.js → register.agent-CeYoqnus.js} +7 -7
- package/dist/{register.configure-CRZBn5QG.js → register.configure-Bh0kiwNr.js} +7 -7
- package/dist/{register.configure-BF2wUdYo.js → register.configure-Df419IPP.js} +7 -7
- package/dist/{register.maintenance-CY58DnhU.js → register.maintenance-N3ymZeA2.js} +8 -8
- package/dist/{register.maintenance-DsI8Ks22.js → register.maintenance-mWO2301l.js} +7 -7
- package/dist/{register.message-BNyQROsP.js → register.message-BeHsSFSP.js} +2 -2
- package/dist/{register.message-hQSgElgK.js → register.message-DIClL3-s.js} +2 -2
- package/dist/{register.onboard-DsHEjOlQ.js → register.onboard-CwO92nRm.js} +2 -2
- package/dist/{register.onboard-TE1k9WgU.js → register.onboard-xzIUSCGu.js} +2 -2
- package/dist/{register.setup-BkSWcd_T.js → register.setup-Bvbm-Gm2.js} +2 -2
- package/dist/{register.setup-CA8_egXk.js → register.setup-C-aAGS4u.js} +2 -2
- package/dist/{register.status-health-sessions-Ck1506Mz.js → register.status-health-sessions-DQMQDniV.js} +3 -3
- package/dist/{register.status-health-sessions-D74vOhub.js → register.status-health-sessions-DuyRo6UJ.js} +3 -3
- package/dist/{register.subclis-D10eRT52.js → register.subclis-B66QC7_k.js} +9 -9
- package/dist/{reply-m8ZD17d0.js → reply-CUpwmXW5.js} +4 -74
- package/dist/{run-main-BmvUIN8f.js → run-main-QV6vRT6K.js} +14 -14
- package/dist/{run-with-concurrency-BFR3ReeF.js → run-with-concurrency-BaKbvnLu.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-Dw75S1uv.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-aHIvDvKJ.js +22 -0
- package/dist/{send-dTQd-IyJ.js → send-5d2Ieqww.js} +5 -5
- package/dist/{send-4nRsZJXH.js → send-Bz835W6s.js} +7 -7
- package/dist/{send-BTUU1jWM.js → send-JKHC2tCh.js} +8 -8
- package/dist/{send-BGlcHjUD.js → send-RT7WHA5n.js} +28 -28
- package/dist/{send-DdBbRpTP.js → send-rbU7BzyJ.js} +6 -6
- package/dist/{server-node-events-Bf13eFLP.js → server-node-events-ChmwyckN.js} +2 -2
- package/dist/{server-node-events-B-ChStFC.js → server-node-events-DRkgMvTr.js} +2 -2
- package/dist/{session-CnCwDJke.js → session-C-9V4uqt.js} +8 -8
- package/dist/{skill-commands-Cz45_nme.js → skill-commands-CYH1hk0d.js} +9 -9
- package/dist/{skills-CdCS1HeL.js → skills-CZ1lBgEC.js} +22 -22
- package/dist/slash-commands.runtime-DNDYdj2t.js +16 -0
- package/dist/{slash-dispatch.runtime-DxgmWXzN.js → slash-dispatch.runtime-BN0s48fb.js} +1 -1
- package/dist/slash-dispatch.runtime-BjHf74oU.js +56 -0
- package/dist/{slash-dispatch.runtime-DLikrqBw.js → slash-dispatch.runtime-Cof3gArz.js} +1 -1
- package/dist/{slash-dispatch.runtime-Cf52SJTn.js → slash-dispatch.runtime-DD8xxgEl.js} +1 -1
- package/dist/slash-skill-commands.runtime-DdMrdbxl.js +20 -0
- package/dist/{status-p6oFQt1P.js → status-Cbw1yeoy.js} +2 -2
- package/dist/{status-B65tE-ru.js → status-m4d5Vl27.js} +2 -2
- package/dist/{store-D9z0dn7D.js → store-Dcz4tfzS.js} +2 -2
- package/dist/{subagent-registry-BbkRn-Tn.js → subagent-registry-7nRwvCtz.js} +4 -74
- package/dist/{subagent-registry-runtime-DY9wpSRG.js → subagent-registry-runtime-06r4q3XD.js} +1 -1
- package/dist/subagent-registry-runtime-CUpD6G1o.js +56 -0
- package/dist/{subagent-registry-runtime-DP1IpqM_.js → subagent-registry-runtime-DSlsjuX0.js} +1 -1
- package/dist/{subagent-registry-runtime-BQ5-n2Pj.js → subagent-registry-runtime-OGj927vn.js} +1 -1
- package/dist/{subsystem-6v7sWnAD.js → subsystem-BJ89YjCN.js} +16 -16
- package/dist/{tables-BTFiZyRU.js → tables-8uP1Il18.js} +1 -1
- package/dist/{target-errors-DgNRx3Nr.js → target-errors-Ch8ZjtbC.js} +2 -2
- package/dist/{thinking-B75CXkTT.js → thinking-BtewZXu7.js} +7 -7
- package/dist/{tokens-DfbMVF9y.js → tokens-9NF8L9Uh.js} +1 -1
- package/dist/{tool-images-Dp5OiXeA.js → tool-images-DDvIxFgD.js} +2 -2
- package/dist/{update-cli-BD9-Sh3i.js → update-cli-D6fzJ-Ll.js} +7 -7
- package/dist/{update-cli-Cs3nfqwA.js → update-cli-abQ6higa.js} +8 -8
- package/dist/{update-runner-V-Y-KbTK.js → update-runner-B10m8cpS.js} +1 -1
- package/dist/{update-runner-pNSMe2xh.js → update-runner-BKqyZqzt.js} +1 -1
- package/dist/{web-B3GIA0Oq.js → web-BeedURrs.js} +55 -55
- package/dist/{web-DZHRoMwF.js → web-DGhOT4tW.js} +2 -2
- package/dist/{web-HXuEa1UL.js → web-M1IXaDDy.js} +1 -1
- package/dist/{web-B3i9lUAX.js → web-qF7gu-2K.js} +2 -2
- package/dist/{whatsapp-actions-CzqsuSGx.js → whatsapp-actions-D6yjFXCT.js} +21 -21
- package/dist/{workspace-kVMIaBrV.js → workspace-imNgYePS.js} +20 -20
- package/package.json +2 -2
- package/dist/deliver-runtime-B80olQwJ.js +0 -36
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +0 -26
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +0 -25
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +0 -24
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +0 -22
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +0 -27
- package/dist/deps-send-whatsapp.runtime-BdydhhI-.js +0 -60
- package/dist/image-runtime-BqIv7p_K.js +0 -29
- package/dist/manager-runtime-D6ckUNSs.js +0 -18
- package/dist/pi-model-discovery-runtime--t6tAlar.js +0 -11
- package/dist/plugin-sdk/deliver-runtime-i50kjcNM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-hOYq9ov0.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-D5n9DXyL.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-CwEaRyJU.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DOZeLIaC.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-BW1hSPKh.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-H-PnN716.js +0 -57
- package/dist/plugin-sdk/image-runtime-B95EPFpg.js +0 -25
- package/dist/plugin-sdk/manager-runtime--JrLQE03.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-DGRFpUfd.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6EcC22F.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DH8J0Ie7.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BYoxsxkX.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-Rs2PDg_H.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-D0399tia.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-5SKqbH1r.js +0 -52
- package/dist/plugin-sdk/web-BiiXAqmT.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +0 -22
- package/dist/slash-commands.runtime-CZz6v6b3.js +0 -16
- package/dist/slash-dispatch.runtime-frzN4e57.js +0 -56
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +0 -20
- package/dist/subagent-registry-runtime-BTVxLFQ2.js +0 -56
- /package/dist/{config-DWRgGn0l.js → hooks-DubLZ3ar.js} +0 -0
|
@@ -34,7 +34,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
34
34
|
import "./accounts-KzgPbLHP.js";
|
|
35
35
|
import "./send-z-sMjqvX.js";
|
|
36
36
|
import "./send-DEs83M9V.js";
|
|
37
|
-
import { $n as DEFAULT_INPUT_IMAGE_MAX_BYTES, $r as emitAgentEvent, $t as stripLegacyDeliveryFields, Ar as resolveTtsAutoMode, At as resetDirectoryCache, B as resolveAgentAvatar, Bt as writeRestartSentinel, Cn as setGatewaySigusr1RestartPolicy, Cr as resolveUserTimezone, D as handleSlackHttpRequest, Dn as normalizeGroupActivation, Dr as isTtsEnabled, Dt as resolveSessionDeliveryTarget, En as unbindThreadBindingsBySessionKey, Er as getTtsProvider, Et as resolveOutboundTarget, F as resolveAgentDeliveryPlan, Fn as resolveBootstrapWarningSignaturesSeen, Fr as setTtsProvider, Ft as formatDoctorNonInteractiveHint, Gr as waitForActiveTasks, Gt as normalizeOptionalAgentId, Hr as markGatewayDraining, Ht as normalizeCronJobCreate, I as resolveAgentOutboundTarget, In as formatZonedTimestamp, Ir as textToSpeech, It as formatRestartSentinelMessage, J as buildHistoryContextFromEntries, Jt as normalizePayloadToSystemText, Kr as CommandLane, Kt as normalizeOptionalSessionKey, L as createOutboundSendDeps, Lr as OPENAI_TTS_MODELS, Mr as resolveTtsPrefsPath, Mt as runWithModelFallback, N as agentCommandFromIngress, Nr as resolveTtsProviderOrder, O as readJsonBodyWithLimit, Or as isTtsProviderConfigured, Ot as resolveOutboundChannelPlugin, Pr as setTtsEnabled, Pt as consumeRestartSentinel, Qn as ACP_SESSION_IDENTITY_RENDERER_VERSION, Qr as clearAgentRunContext, Qt as hasLegacyDeliveryHints, R as createDefaultDeps, Rr as OPENAI_TTS_VOICES, Rt as summarizeRestartSentinel, Sn as scheduleGatewaySigusr1Restart, T as resolveAgentOutboundIdentity, Tn as triggerSquidClawRestart, Tr as clearBootstrapSnapshot, Un as enqueueSystemEvent, Ur as resetAllLanes, Ut as normalizeCronJobPatch, Vr as getTotalQueueSize, Vt as normalizeHttpWebhookUrl, W as createReplyPrefixOptions, Wn as isSystemEventContextChanged, Wr as setCommandLaneConcurrency, Wt as inferLegacyName, Xt as migrateLegacyCronPayload, Yt as normalizeRequiredName, Zr as stripHeartbeatToken, Zt as buildDeliveryFromLegacyPayload, _ as getPluginToolMeta, _n as consumeGatewaySigusr1RestartAuthorization, _r as getAcpSessionManager, _t as readLatestAssistantReply, an as isExternalHookSession, ar as normalizeMimeList, at as dispatchInboundMessage, b as loadSquidClawPlugins, bn as isGatewaySigusr1RestartExternallyAllowed, bt as ensureOutboundSessionEntry, c as runSubagentAnnounceFlow, cn as resolveSessionAuthProfileOverride, cr as resolveAgentTimeoutMs, d as abortEmbeddedPiRun, ei as getAgentRunContext, er as DEFAULT_INPUT_IMAGE_MIMES, f as getActiveEmbeddedRunCount, ft as resolveCronStyleNow, gn as buildOutboundSessionContext, gt as createSquidClawTools, h as buildDefaultToolPolicyPipelineSteps, hn as parseVerboseOverride, ht as runCliAgent, i as initSubagentRegistry, in as getHookType, ir as extractImageContentFromSource, jr as resolveTtsConfig, k as requestBodyErrorToText, kn as loadProviderUsageSummary, kr as resolveTtsApiKey, l as clearSessionQueues, lr as normalizeSendPolicy, m as applyToolPolicyPipeline, mn as applyVerboseOverride, mr as stopSubagentsForRequester, mt as setCliSessionId, ni as registerAgentRunContext, nn as buildSafeExternalPrompt, nr as DEFAULT_INPUT_TIMEOUT_MS, o as listDescendantRunsForRequester, on as applyBrowserProxyPaths, or as resolveInputFileLimits, ot as createReplyDispatcher, p as waitForEmbeddedPiRunEnd, pn as applyModelOverrideToSessionEntry, pr as isAbortRequestText, pt as getCliSessionId, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, qt as normalizeOptionalText, rn as detectSuspiciousPatterns, rr as extractFileContentFromSource, sn as persistBrowserProxyFiles, st as getTotalPendingReplies, t as countActiveDescendantRuns, ti as onAgentEvent, tr as DEFAULT_INPUT_MAX_REDIRECTS, u as runEmbeddedPiAgent, ur as resolveSendPolicy, ut as buildBareSessionResetPrompt, v as resolvePluginTools, vn as deferGatewayRestartUntilIdle, vr as resolveAgentSessionDirs, vt as resolveAnnounceTargetFromKey, wn as setPreRestartDeferralCheck, x as createPluginRuntime, xn as markGatewaySigusr1RestartHandled, xt as resolveOutboundSessionRoute, yn as emitGatewayRestart, yr as resolveAgentIdentity, z as createOutboundSendDeps$1, zr as getActiveTaskCount } from "./subagent-registry-
|
|
37
|
+
import { $n as DEFAULT_INPUT_IMAGE_MAX_BYTES, $r as emitAgentEvent, $t as stripLegacyDeliveryFields, Ar as resolveTtsAutoMode, At as resetDirectoryCache, B as resolveAgentAvatar, Bt as writeRestartSentinel, Cn as setGatewaySigusr1RestartPolicy, Cr as resolveUserTimezone, D as handleSlackHttpRequest, Dn as normalizeGroupActivation, Dr as isTtsEnabled, Dt as resolveSessionDeliveryTarget, En as unbindThreadBindingsBySessionKey, Er as getTtsProvider, Et as resolveOutboundTarget, F as resolveAgentDeliveryPlan, Fn as resolveBootstrapWarningSignaturesSeen, Fr as setTtsProvider, Ft as formatDoctorNonInteractiveHint, Gr as waitForActiveTasks, Gt as normalizeOptionalAgentId, Hr as markGatewayDraining, Ht as normalizeCronJobCreate, I as resolveAgentOutboundTarget, In as formatZonedTimestamp, Ir as textToSpeech, It as formatRestartSentinelMessage, J as buildHistoryContextFromEntries, Jt as normalizePayloadToSystemText, Kr as CommandLane, Kt as normalizeOptionalSessionKey, L as createOutboundSendDeps, Lr as OPENAI_TTS_MODELS, Mr as resolveTtsPrefsPath, Mt as runWithModelFallback, N as agentCommandFromIngress, Nr as resolveTtsProviderOrder, O as readJsonBodyWithLimit, Or as isTtsProviderConfigured, Ot as resolveOutboundChannelPlugin, Pr as setTtsEnabled, Pt as consumeRestartSentinel, Qn as ACP_SESSION_IDENTITY_RENDERER_VERSION, Qr as clearAgentRunContext, Qt as hasLegacyDeliveryHints, R as createDefaultDeps, Rr as OPENAI_TTS_VOICES, Rt as summarizeRestartSentinel, Sn as scheduleGatewaySigusr1Restart, T as resolveAgentOutboundIdentity, Tn as triggerSquidClawRestart, Tr as clearBootstrapSnapshot, Un as enqueueSystemEvent, Ur as resetAllLanes, Ut as normalizeCronJobPatch, Vr as getTotalQueueSize, Vt as normalizeHttpWebhookUrl, W as createReplyPrefixOptions, Wn as isSystemEventContextChanged, Wr as setCommandLaneConcurrency, Wt as inferLegacyName, Xt as migrateLegacyCronPayload, Yt as normalizeRequiredName, Zr as stripHeartbeatToken, Zt as buildDeliveryFromLegacyPayload, _ as getPluginToolMeta, _n as consumeGatewaySigusr1RestartAuthorization, _r as getAcpSessionManager, _t as readLatestAssistantReply, an as isExternalHookSession, ar as normalizeMimeList, at as dispatchInboundMessage, b as loadSquidClawPlugins, bn as isGatewaySigusr1RestartExternallyAllowed, bt as ensureOutboundSessionEntry, c as runSubagentAnnounceFlow, cn as resolveSessionAuthProfileOverride, cr as resolveAgentTimeoutMs, d as abortEmbeddedPiRun, ei as getAgentRunContext, er as DEFAULT_INPUT_IMAGE_MIMES, f as getActiveEmbeddedRunCount, ft as resolveCronStyleNow, gn as buildOutboundSessionContext, gt as createSquidClawTools, h as buildDefaultToolPolicyPipelineSteps, hn as parseVerboseOverride, ht as runCliAgent, i as initSubagentRegistry, in as getHookType, ir as extractImageContentFromSource, jr as resolveTtsConfig, k as requestBodyErrorToText, kn as loadProviderUsageSummary, kr as resolveTtsApiKey, l as clearSessionQueues, lr as normalizeSendPolicy, m as applyToolPolicyPipeline, mn as applyVerboseOverride, mr as stopSubagentsForRequester, mt as setCliSessionId, ni as registerAgentRunContext, nn as buildSafeExternalPrompt, nr as DEFAULT_INPUT_TIMEOUT_MS, o as listDescendantRunsForRequester, on as applyBrowserProxyPaths, or as resolveInputFileLimits, ot as createReplyDispatcher, p as waitForEmbeddedPiRunEnd, pn as applyModelOverrideToSessionEntry, pr as isAbortRequestText, pt as getCliSessionId, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, qt as normalizeOptionalText, rn as detectSuspiciousPatterns, rr as extractFileContentFromSource, sn as persistBrowserProxyFiles, st as getTotalPendingReplies, t as countActiveDescendantRuns, ti as onAgentEvent, tr as DEFAULT_INPUT_MAX_REDIRECTS, u as runEmbeddedPiAgent, ur as resolveSendPolicy, ut as buildBareSessionResetPrompt, v as resolvePluginTools, vn as deferGatewayRestartUntilIdle, vr as resolveAgentSessionDirs, vt as resolveAnnounceTargetFromKey, wn as setPreRestartDeferralCheck, x as createPluginRuntime, xn as markGatewaySigusr1RestartHandled, xt as resolveOutboundSessionRoute, yn as emitGatewayRestart, yr as resolveAgentIdentity, z as createOutboundSendDeps$1, zr as getActiveTaskCount } from "./subagent-registry-7nRwvCtz.js";
|
|
38
38
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-Dn_rzeZN.js";
|
|
39
39
|
import { i as normalizeInputProvenance } from "./input-provenance-C8z9KgIz.js";
|
|
40
40
|
import "./chat-envelope-thy05gXR.js";
|
|
@@ -125,7 +125,7 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-Dpi4An5r.
|
|
|
125
125
|
import { n as inheritOptionFromParent } from "./command-options-DVCpMofi.js";
|
|
126
126
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
127
127
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D7MilaX-.js";
|
|
128
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
128
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Clini93W.js";
|
|
129
129
|
import { t as isWithinDir } from "./path-safety-C95DzArw.js";
|
|
130
130
|
import "./install-safe-path-3muwy3fu.js";
|
|
131
131
|
import "./skill-scanner-CvS725eQ.js";
|
|
@@ -147,20 +147,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
147
147
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-D5DTxBPH.js";
|
|
148
148
|
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-DLTgNDFw.js";
|
|
149
149
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BHz2I6_W.js";
|
|
150
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
151
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-
|
|
150
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Cbw1yeoy.js";
|
|
151
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-B1YIoY5z.js";
|
|
152
152
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BYEy341x.js";
|
|
153
153
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CQ6rCiGI.js";
|
|
154
154
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-BnbzNRr6.js";
|
|
155
155
|
import "./onboarding.secret-input-BTK1IG-J.js";
|
|
156
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
157
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
156
|
+
import { t as runOnboardingWizard } from "./onboarding-C6vIz92s.js";
|
|
157
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-D-_XPvYX.js";
|
|
158
158
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BDpWdYq5.js";
|
|
159
159
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-B_D5ucTj.js";
|
|
160
160
|
import "./node-service-Z0JprJda.js";
|
|
161
161
|
import "./status.update-CiLU9RPF.js";
|
|
162
162
|
import { t as installSkill } from "./skills-install-KD6dzNoZ.js";
|
|
163
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
163
|
+
import { t as runGatewayUpdate } from "./update-runner-BKqyZqzt.js";
|
|
164
164
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-D5vNjk5G.js";
|
|
165
165
|
import { n as forceFreePortAndWait, r as waitForPortBindable } from "./ports-Be82TlEg.js";
|
|
166
166
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -13819,7 +13819,7 @@ const nodeHandlers = {
|
|
|
13819
13819
|
const p = params;
|
|
13820
13820
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
13821
13821
|
await respondUnavailableOnThrow(respond, async () => {
|
|
13822
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
13822
|
+
const { handleNodeEvent } = await import("./server-node-events-DRkgMvTr.js");
|
|
13823
13823
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
13824
13824
|
await handleNodeEvent({
|
|
13825
13825
|
deps: context.deps,
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
2
2
|
import { a as logVerbose, d as colorize, f as isRich, g as getResolvedLoggerSettings, h as getLogger, m as getChildLogger, p as theme, s as setVerbose } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { C as sleep, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, c as ensureDir, r as clamp, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
4
4
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-44rmAw5o.js";
|
|
5
|
-
import { $ as normalizeOptionalSessionKey, $n as listDescendantRunsForRequester, $t as sleepWithAbort, A as resolveSessionModelRef, Ar as OPENAI_TTS_VOICES, B as triggerSquidClawRestart, Bt as createOutboundSendDeps$1, Cr as resolveTtsConfig, D as loadSessionEntry, Dn as createReplyDispatcher, Dr as setTtsProvider, Dt as readJsonBodyWithLimit, E as loadCombinedSessionStoreForGateway, En as dispatchInboundMessage, Er as setTtsEnabled, Et as handleSlackHttpRequest, F as isGatewaySigusr1RestartExternallyAllowed, Fr as resetAllLanes, Ft as resolveAgentOutboundTarget, G as summarizeRestartSentinel, H as formatDoctorNonInteractiveHint, Ht as getCliSessionId, I as markGatewaySigusr1RestartHandled, Ir as setCommandLaneConcurrency, It as createOutboundSendDeps, J as normalizeHttpWebhookUrl, Jn as countActiveDescendantRuns, Jt as resolveBootstrapWarningSignaturesSeen, Kn as isAbortRequestText, Kr as enqueueSystemEvent, L as scheduleGatewaySigusr1Restart, Ln as resolveOutboundTarget, Lr as waitForActiveTasks, Lt as applyVerboseOverride, M as consumeGatewaySigusr1RestartAuthorization, Mn as resolveOutboundSessionRoute, Mt as agentCommandFromIngress, N as deferGatewayRestartUntilIdle, Nr as getTotalQueueSize, O as pruneLegacyStoreKeys, On as getTotalPendingReplies, Or as textToSpeech, Ot as requestBodyErrorToText, P as emitGatewayRestart, Pr as markGatewayDraining, Pt as resolveAgentDeliveryPlan, Q as normalizeOptionalAgentId, Qt as computeBackoff, R as setGatewaySigusr1RestartPolicy, Rn as resolveSessionDeliveryTarget, Rr as CommandLane, Rt as parseVerboseOverride, S as canonicalizeSpawnedByForAgent, Sr as resolveTtsAutoMode, T as listSessionsFromStore, Tn as formatZonedTimestamp, Tr as resolveTtsProviderOrder, U as formatRestartSentinelMessage, Ur as stripHeartbeatToken, Ut as setCliSessionId, V as consumeRestartSentinel, Vn as resetDirectoryCache, Vt as runWithModelFallback, Wt as runCliAgent, X as normalizeCronJobPatch, Xr as requestHeartbeatNow, Xt as lookupContextTokens, Y as normalizeCronJobCreate, Yt as applyModelOverrideToSessionEntry, Z as inferLegacyName, Zn as initSubagentRegistry, _ as resolveCronStyleNow, _r as clearBootstrapSnapshot, ai as resolveSendPolicy, an as buildSafeExternalPrompt, ar as buildOutboundSessionContext, at as hasLegacyDeliveryHints, br as isTtsProviderConfigured, ci as DEFAULT_INPUT_MAX_REDIRECTS, cn as isExternalHookSession, cr as getAgentRunContext, ct as persistBrowserProxyFiles, di as extractImageContentFromSource, dr as resolveAgentIdentity, en as resolveSessionAuthProfileOverride, et as normalizeOptionalText, f as runEmbeddedPiAgent, fi as normalizeMimeList, ft as loadSquidClawPlugins, gt as normalizeGroupActivation, h as waitForEmbeddedPiRunEnd, hi as resolveAgentTimeoutMs, hr as resolveUserTimezone, ii as normalizeSendPolicy, ir as clearSessionQueues, it as buildDeliveryFromLegacyPayload, jn as ensureOutboundSessionEntry, jr as getActiveTaskCount, k as resolveGatewaySessionStoreTarget, kr as OPENAI_TTS_MODELS, li as DEFAULT_INPUT_TIMEOUT_MS, ln as createReplyPrefixOptions, lr as onAgentEvent, lt as getPluginToolMeta, m as getActiveEmbeddedRunCount, mn as buildHistoryContextFromEntries, n as buildBareSessionResetPrompt, ni as getAcpSessionManager, nr as resolveAnnounceTargetFromKey, nt as normalizeRequiredName, oi as DEFAULT_INPUT_IMAGE_MAX_BYTES, on as detectSuspiciousPatterns, or as clearAgentRunContext, ot as stripLegacyDeliveryFields, p as abortEmbeddedPiRun, pi as resolveInputFileLimits, pt as createPluginRuntime, q as writeRestartSentinel, qn as stopSubagentsForRequester, qr as isSystemEventContextChanged, ri as resolveAgentSessionDirs, rr as readLatestAssistantReply, rt as migrateLegacyCronPayload, si as DEFAULT_INPUT_IMAGE_MIMES, sn as getHookType, sr as emitAgentEvent, st as applyBrowserProxyPaths, ti as ACP_SESSION_IDENTITY_RENDERER_VERSION, tn as resolveAgentAvatar, tr as runSubagentAnnounceFlow, tt as normalizePayloadToSystemText, ui as extractFileContentFromSource, un as unbindThreadBindingsBySessionKey, ur as registerAgentRunContext, ut as resolvePluginTools, v as applyToolPolicyPipeline, vr as getTtsProvider, vt as loadProviderUsageSummary, w as listAgentsForGateway, wr as resolveTtsPrefsPath, wt as resolveAgentOutboundIdentity, x as createSquidClawTools, xr as resolveTtsApiKey, y as buildDefaultToolPolicyPipelineSteps, yr as isTtsEnabled, z as setPreRestartDeferralCheck, zn as resolveOutboundChannelPlugin, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, zt as createDefaultDeps } from "./reply-
|
|
5
|
+
import { $ as normalizeOptionalSessionKey, $n as listDescendantRunsForRequester, $t as sleepWithAbort, A as resolveSessionModelRef, Ar as OPENAI_TTS_VOICES, B as triggerSquidClawRestart, Bt as createOutboundSendDeps$1, Cr as resolveTtsConfig, D as loadSessionEntry, Dn as createReplyDispatcher, Dr as setTtsProvider, Dt as readJsonBodyWithLimit, E as loadCombinedSessionStoreForGateway, En as dispatchInboundMessage, Er as setTtsEnabled, Et as handleSlackHttpRequest, F as isGatewaySigusr1RestartExternallyAllowed, Fr as resetAllLanes, Ft as resolveAgentOutboundTarget, G as summarizeRestartSentinel, H as formatDoctorNonInteractiveHint, Ht as getCliSessionId, I as markGatewaySigusr1RestartHandled, Ir as setCommandLaneConcurrency, It as createOutboundSendDeps, J as normalizeHttpWebhookUrl, Jn as countActiveDescendantRuns, Jt as resolveBootstrapWarningSignaturesSeen, Kn as isAbortRequestText, Kr as enqueueSystemEvent, L as scheduleGatewaySigusr1Restart, Ln as resolveOutboundTarget, Lr as waitForActiveTasks, Lt as applyVerboseOverride, M as consumeGatewaySigusr1RestartAuthorization, Mn as resolveOutboundSessionRoute, Mt as agentCommandFromIngress, N as deferGatewayRestartUntilIdle, Nr as getTotalQueueSize, O as pruneLegacyStoreKeys, On as getTotalPendingReplies, Or as textToSpeech, Ot as requestBodyErrorToText, P as emitGatewayRestart, Pr as markGatewayDraining, Pt as resolveAgentDeliveryPlan, Q as normalizeOptionalAgentId, Qt as computeBackoff, R as setGatewaySigusr1RestartPolicy, Rn as resolveSessionDeliveryTarget, Rr as CommandLane, Rt as parseVerboseOverride, S as canonicalizeSpawnedByForAgent, Sr as resolveTtsAutoMode, T as listSessionsFromStore, Tn as formatZonedTimestamp, Tr as resolveTtsProviderOrder, U as formatRestartSentinelMessage, Ur as stripHeartbeatToken, Ut as setCliSessionId, V as consumeRestartSentinel, Vn as resetDirectoryCache, Vt as runWithModelFallback, Wt as runCliAgent, X as normalizeCronJobPatch, Xr as requestHeartbeatNow, Xt as lookupContextTokens, Y as normalizeCronJobCreate, Yt as applyModelOverrideToSessionEntry, Z as inferLegacyName, Zn as initSubagentRegistry, _ as resolveCronStyleNow, _r as clearBootstrapSnapshot, ai as resolveSendPolicy, an as buildSafeExternalPrompt, ar as buildOutboundSessionContext, at as hasLegacyDeliveryHints, br as isTtsProviderConfigured, ci as DEFAULT_INPUT_MAX_REDIRECTS, cn as isExternalHookSession, cr as getAgentRunContext, ct as persistBrowserProxyFiles, di as extractImageContentFromSource, dr as resolveAgentIdentity, en as resolveSessionAuthProfileOverride, et as normalizeOptionalText, f as runEmbeddedPiAgent, fi as normalizeMimeList, ft as loadSquidClawPlugins, gt as normalizeGroupActivation, h as waitForEmbeddedPiRunEnd, hi as resolveAgentTimeoutMs, hr as resolveUserTimezone, ii as normalizeSendPolicy, ir as clearSessionQueues, it as buildDeliveryFromLegacyPayload, jn as ensureOutboundSessionEntry, jr as getActiveTaskCount, k as resolveGatewaySessionStoreTarget, kr as OPENAI_TTS_MODELS, li as DEFAULT_INPUT_TIMEOUT_MS, ln as createReplyPrefixOptions, lr as onAgentEvent, lt as getPluginToolMeta, m as getActiveEmbeddedRunCount, mn as buildHistoryContextFromEntries, n as buildBareSessionResetPrompt, ni as getAcpSessionManager, nr as resolveAnnounceTargetFromKey, nt as normalizeRequiredName, oi as DEFAULT_INPUT_IMAGE_MAX_BYTES, on as detectSuspiciousPatterns, or as clearAgentRunContext, ot as stripLegacyDeliveryFields, p as abortEmbeddedPiRun, pi as resolveInputFileLimits, pt as createPluginRuntime, q as writeRestartSentinel, qn as stopSubagentsForRequester, qr as isSystemEventContextChanged, ri as resolveAgentSessionDirs, rr as readLatestAssistantReply, rt as migrateLegacyCronPayload, si as DEFAULT_INPUT_IMAGE_MIMES, sn as getHookType, sr as emitAgentEvent, st as applyBrowserProxyPaths, ti as ACP_SESSION_IDENTITY_RENDERER_VERSION, tn as resolveAgentAvatar, tr as runSubagentAnnounceFlow, tt as normalizePayloadToSystemText, ui as extractFileContentFromSource, un as unbindThreadBindingsBySessionKey, ur as registerAgentRunContext, ut as resolvePluginTools, v as applyToolPolicyPipeline, vr as getTtsProvider, vt as loadProviderUsageSummary, w as listAgentsForGateway, wr as resolveTtsPrefsPath, wt as resolveAgentOutboundIdentity, x as createSquidClawTools, xr as resolveTtsApiKey, y as buildDefaultToolPolicyPipelineSteps, yr as isTtsEnabled, z as setPreRestartDeferralCheck, zn as resolveOutboundChannelPlugin, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, zt as createDefaultDeps } from "./reply-CUpwmXW5.js";
|
|
6
6
|
import { A as resolveDefaultAgentWorkspaceDir, C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, O as isWorkspaceOnboardingCompleted, S as DEFAULT_MEMORY_FILENAME, T as DEFAULT_USER_FILENAME, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, j as resolveWorkspaceTemplateDir, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, x as DEFAULT_MEMORY_ALT_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { a as setConsoleSubsystemFilter, d as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import { C as isCronRunSessionKey, E as parseAgentSessionKey, T as isSubagentSessionKey, _ as normalizeAccountId$1, c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID, h as toAgentStoreSessionKey, l as normalizeMainKey, m as toAgentRequestSessionKey, o as classifySessionKeyShape, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-CIXZm7v4.js";
|
|
@@ -125,7 +125,7 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-D0u9YNYf.
|
|
|
125
125
|
import { n as inheritOptionFromParent } from "./command-options-D0bXi5Pl.js";
|
|
126
126
|
import { t as WizardCancelledError } from "./prompts-knTF_LVq.js";
|
|
127
127
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CvsgDup6.js";
|
|
128
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
128
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C8v65qN9.js";
|
|
129
129
|
import { t as isWithinDir } from "./path-safety-BWiXz6D4.js";
|
|
130
130
|
import "./install-safe-path-iCmVuopp.js";
|
|
131
131
|
import "./skill-scanner-rdr9cQew.js";
|
|
@@ -146,20 +146,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
146
146
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DwNtcoQg.js";
|
|
147
147
|
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-DwyLBJMC.js";
|
|
148
148
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CdWva-wB.js";
|
|
149
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
150
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-
|
|
149
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-m4d5Vl27.js";
|
|
150
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-BPRQncx0.js";
|
|
151
151
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bz7TCLpb.js";
|
|
152
152
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-e4ysObLI.js";
|
|
153
153
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-B13PBKzd.js";
|
|
154
154
|
import "./onboarding.secret-input-gGUgwqKJ.js";
|
|
155
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
156
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
155
|
+
import { t as runOnboardingWizard } from "./onboarding-vQJFankJ.js";
|
|
156
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-PG6ocw6x.js";
|
|
157
157
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CDJE1jBL.js";
|
|
158
158
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-CIz48Rgh.js";
|
|
159
159
|
import "./node-service-xGYkt3vb.js";
|
|
160
160
|
import "./status.update-BNODJGA9.js";
|
|
161
161
|
import { t as installSkill } from "./skills-install-BToW_Zt3.js";
|
|
162
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
162
|
+
import { t as runGatewayUpdate } from "./update-runner-B10m8cpS.js";
|
|
163
163
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-B-k5DNiQ.js";
|
|
164
164
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
165
165
|
import * as fsSync from "node:fs";
|
|
@@ -13817,7 +13817,7 @@ const nodeHandlers = {
|
|
|
13817
13817
|
const p = params;
|
|
13818
13818
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
13819
13819
|
await respondUnavailableOnThrow(respond, async () => {
|
|
13820
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
13820
|
+
const { handleNodeEvent } = await import("./server-node-events-ChmwyckN.js");
|
|
13821
13821
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
13822
13822
|
await handleNodeEvent({
|
|
13823
13823
|
deps: context.deps,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
+
import { c as resolveStateDir } from "./paths-ZhiQAuKk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fssync from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/json-file.ts
|
|
7
7
|
function loadJsonFile(pathname) {
|
|
8
8
|
try {
|
|
9
|
-
if (!
|
|
10
|
-
const raw =
|
|
9
|
+
if (!fssync.existsSync(pathname)) return;
|
|
10
|
+
const raw = fssync.readFileSync(pathname, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return;
|
|
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
|
|
|
15
15
|
}
|
|
16
16
|
function saveJsonFile(pathname, data) {
|
|
17
17
|
const dir = path.dirname(pathname);
|
|
18
|
-
if (!
|
|
18
|
+
if (!fssync.existsSync(dir)) fssync.mkdirSync(dir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
mode: 448
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
fssync.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
23
|
+
fssync.chmodSync(pathname, 384);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import { c as normalizeAgentId, h as toAgentStoreSessionKey, u as resolveAgentId
|
|
|
8
8
|
import { c as escapeRegExp } from "./utils-D6vohX1h.js";
|
|
9
9
|
import { $ as resolveAgentMainSessionKey, Q as canonicalizeMainSessionAlias, d as updateSessionStore, l as saveSessionStore, o as loadSessionStore } from "./sessions-BWptzMw0.js";
|
|
10
10
|
import { g as resolvePreferredAccountId, m as buildChannelAccountBindings, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BDTkSIi7.js";
|
|
11
|
-
import { Br as getQueueSize, Cr as resolveUserTimezone, Gn as peekSystemEventEntries, Jn as setHeartbeatWakeHandler, Jr as DEFAULT_HEARTBEAT_EVERY, Kr as CommandLane, Tt as resolveHeartbeatSenderContext, Xr as resolveHeartbeatPrompt$1, Yn as resolveHeartbeatReasonKind, Yr as isHeartbeatContentEffectivelyEmpty, Zr as stripHeartbeatToken, br as resolveEffectiveMessagesConfig, dt as appendCronStyleCurrentTimeLine, gn as buildOutboundSessionContext, lt as getReplyFromConfig, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, wt as resolveHeartbeatDeliveryTarget } from "./subagent-registry-
|
|
11
|
+
import { Br as getQueueSize, Cr as resolveUserTimezone, Gn as peekSystemEventEntries, Jn as setHeartbeatWakeHandler, Jr as DEFAULT_HEARTBEAT_EVERY, Kr as CommandLane, Tt as resolveHeartbeatSenderContext, Xr as resolveHeartbeatPrompt$1, Yn as resolveHeartbeatReasonKind, Yr as isHeartbeatContentEffectivelyEmpty, Zr as stripHeartbeatToken, br as resolveEffectiveMessagesConfig, dt as appendCronStyleCurrentTimeLine, gn as buildOutboundSessionContext, lt as getReplyFromConfig, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, wt as resolveHeartbeatDeliveryTarget } from "./subagent-registry-7nRwvCtz.js";
|
|
12
12
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-Dn_rzeZN.js";
|
|
13
13
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BlWEBz99.js";
|
|
14
14
|
import { t as HEARTBEAT_TOKEN } from "./tokens-DOVPgjwZ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { l as escapeRegExp } from "./utils-DMGXr25O.js";
|
|
4
|
-
import { Br as DEFAULT_HEARTBEAT_EVERY, Fn as resolveHeartbeatDeliveryTarget, Hr as resolveHeartbeatPrompt$1, In as resolveHeartbeatSenderContext, Jr as peekSystemEventEntries, Mr as getQueueSize, Qr as resolveHeartbeatReasonKind, Rr as CommandLane, Ur as stripHeartbeatToken, Vr as isHeartbeatContentEffectivelyEmpty, Xr as requestHeartbeatNow, Zr as setHeartbeatWakeHandler, ar as buildOutboundSessionContext, fr as resolveEffectiveMessagesConfig, g as appendCronStyleCurrentTimeLine, hr as resolveUserTimezone, t as getReplyFromConfig, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS } from "./reply-
|
|
4
|
+
import { Br as DEFAULT_HEARTBEAT_EVERY, Fn as resolveHeartbeatDeliveryTarget, Hr as resolveHeartbeatPrompt$1, In as resolveHeartbeatSenderContext, Jr as peekSystemEventEntries, Mr as getQueueSize, Qr as resolveHeartbeatReasonKind, Rr as CommandLane, Ur as stripHeartbeatToken, Vr as isHeartbeatContentEffectivelyEmpty, Xr as requestHeartbeatNow, Zr as setHeartbeatWakeHandler, ar as buildOutboundSessionContext, fr as resolveEffectiveMessagesConfig, g as appendCronStyleCurrentTimeLine, hr as resolveUserTimezone, t as getReplyFromConfig, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS } from "./reply-CUpwmXW5.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, i as resolveAgentConfig, u as resolveAgentWorkspaceDir, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-C1XMay0T.js";
|
|
6
6
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
7
7
|
import { c as normalizeAgentId, h as toAgentStoreSessionKey, u as resolveAgentIdFromSessionKey } from "./session-key-CIXZm7v4.js";
|
|
@@ -32,7 +32,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
32
32
|
import "./accounts-KzgPbLHP.js";
|
|
33
33
|
import "./send-z-sMjqvX.js";
|
|
34
34
|
import "./send-DEs83M9V.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-7nRwvCtz.js";
|
|
36
36
|
import "./paths-Dn_rzeZN.js";
|
|
37
37
|
import "./chat-envelope-thy05gXR.js";
|
|
38
38
|
import "./client-G9E5HGM2.js";
|
|
@@ -117,7 +117,7 @@ import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resol
|
|
|
117
117
|
import { t as renderTable } from "./table-DbDCX_6t.js";
|
|
118
118
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-D5vNjk5G.js";
|
|
119
119
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DMFBAUq8.js";
|
|
120
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
120
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-EIBwVM0Q.js";
|
|
121
121
|
import path from "node:path";
|
|
122
122
|
import fs from "node:fs";
|
|
123
123
|
import fs$1 from "node:fs/promises";
|
|
@@ -2,7 +2,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import { p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { S as shortenHomePath, t as CONFIG_DIR, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-CUpwmXW5.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 "./squidclaw-root-CnE19yKj.js";
|
|
@@ -116,7 +116,7 @@ import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resol
|
|
|
116
116
|
import { t as renderTable } from "./table-BPiDGg8F.js";
|
|
117
117
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-B-k5DNiQ.js";
|
|
118
118
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-Dd_iWcBZ.js";
|
|
119
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
119
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-_wRrdhwZ.js";
|
|
120
120
|
import fs from "node:fs";
|
|
121
121
|
import path from "node:path";
|
|
122
122
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { f as isRecord, x as shortenHomeInString } from "./logger-
|
|
3
|
-
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import { f as isRecord, x as shortenHomeInString } from "./logger-onBePS9K.js";
|
|
3
|
+
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-BEglDVk0.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-BYajLWsL.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-rnJm_Z5E.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -2254,7 +2254,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
2254
2254
|
//#region src/media-understanding/providers/image.ts
|
|
2255
2255
|
let piModelDiscoveryRuntimePromise = null;
|
|
2256
2256
|
function loadPiModelDiscoveryRuntime() {
|
|
2257
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime
|
|
2257
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-CV-86a0O.js");
|
|
2258
2258
|
return piModelDiscoveryRuntimePromise;
|
|
2259
2259
|
}
|
|
2260
2260
|
async function describeImageWithModel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as runExec } from "./workspace-
|
|
2
|
-
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-
|
|
1
|
+
import { _ as runExec } from "./workspace-imNgYePS.js";
|
|
2
|
+
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-BEglDVk0.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import "./logger-onBePS9K.js";
|
|
6
|
+
import "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import "./thinking-BtewZXu7.js";
|
|
10
|
+
import "./plugins-Dr2YhZ4p.js";
|
|
11
|
+
import "./accounts-f6iuhXVV.js";
|
|
12
|
+
import "./accounts-A_9Khwyv.js";
|
|
13
|
+
import "./image-ops-CumBuu0G.js";
|
|
14
|
+
import "./pi-embedded-helpers-BYajLWsL.js";
|
|
15
|
+
import "./chrome-BvWxjtGl.js";
|
|
16
|
+
import "./frontmatter-vSrur-r-.js";
|
|
17
|
+
import "./skills-CZ1lBgEC.js";
|
|
18
|
+
import "./path-alias-guards-CNSVgZrJ.js";
|
|
19
|
+
import "./redact-rnJm_Z5E.js";
|
|
20
|
+
import "./errors-CCLnP2Fs.js";
|
|
21
|
+
import "./fs-safe-Dyju4C81.js";
|
|
22
|
+
import "./proxy-env-CY4kVbFL.js";
|
|
23
|
+
import "./store-Dcz4tfzS.js";
|
|
24
|
+
import "./accounts-Cz_Fvguv.js";
|
|
25
|
+
import "./paths-CUF9-Xea.js";
|
|
26
|
+
import "./tool-images-DDvIxFgD.js";
|
|
27
|
+
import { t as describeImageWithModel } from "./image-kOIz_XGP.js";
|
|
28
|
+
|
|
29
|
+
export { describeImageWithModel };
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
3
3
|
import { D as tryParseLogLevel, F as hasHelpOrVersion, I as hasRootVersionAlias, N as getVerboseFlag, P as hasFlag, f as isRich, j as getCommandPathWithRootOptions, p as theme, s as setVerbose, w as ALLOWED_LOG_LEVELS } from "./globals-xfUIfxbE.js";
|
|
4
4
|
import { T as toWhatsappJid, l as escapeRegExp, m as normalizeE164, n as assertWebChannel } from "./utils-DMGXr25O.js";
|
|
5
5
|
import "./thinking-44rmAw5o.js";
|
|
6
|
-
import { St as resolveCommitHash, t as getReplyFromConfig, zt as createDefaultDeps } from "./reply-
|
|
6
|
+
import { St as resolveCommitHash, t as getReplyFromConfig, zt as createDefaultDeps } from "./reply-CUpwmXW5.js";
|
|
7
7
|
import "./agent-scope-C1XMay0T.js";
|
|
8
8
|
import { d as defaultRuntime, l as visibleWidth, r as enableConsoleCapture } from "./subsystem-DC87CPVS.js";
|
|
9
9
|
import "./squidclaw-root-CnE19yKj.js";
|
|
@@ -111,7 +111,7 @@ import "./help-format-BMkyP_P-.js";
|
|
|
111
111
|
import "./progress-BHN121Ps.js";
|
|
112
112
|
import "./server-lifecycle-CnZYKJ9s.js";
|
|
113
113
|
import "./stagger-DL-XRpny.js";
|
|
114
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web-
|
|
114
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-ZjLaDDYA.js";
|
|
115
115
|
import "./outbound-DrQL-ly5.js";
|
|
116
116
|
import "./session-CZJ5Ux6-.js";
|
|
117
117
|
import "./login-yT1R2N54.js";
|
|
@@ -119,9 +119,9 @@ import { t as isMainModule } from "./is-main-D5LnS2LP.js";
|
|
|
119
119
|
import { t as ensureSquidClawCliOnPath } from "./path-env-kSxA2INU.js";
|
|
120
120
|
import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
121
121
|
import "./ports-CXjhFS7T.js";
|
|
122
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
123
|
-
import "./plugin-registry-
|
|
124
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
122
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-CvlgMXty.js";
|
|
123
|
+
import "./plugin-registry-BsC3FIYP.js";
|
|
124
|
+
import { n as resolveCliChannelOptions } from "./channel-options-iObBHiIV.js";
|
|
125
125
|
import process$1 from "node:process";
|
|
126
126
|
import { fileURLToPath } from "node:url";
|
|
127
127
|
import { Command, InvalidArgumentError } from "commander";
|
|
@@ -543,7 +543,7 @@ function loadConfigGuardModule() {
|
|
|
543
543
|
return configGuardModulePromise;
|
|
544
544
|
}
|
|
545
545
|
function loadPluginRegistryModule() {
|
|
546
|
-
pluginRegistryModulePromise ??= import("./plugin-registry-
|
|
546
|
+
pluginRegistryModulePromise ??= import("./plugin-registry-BsC3FIYP.js").then((n) => n.n);
|
|
547
547
|
return pluginRegistryModulePromise;
|
|
548
548
|
}
|
|
549
549
|
function getRootCommand(command) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
2
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { y as resolveUserPath } from "./logger-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
5
|
-
import { h as resolveAccountEntry } from "./accounts-
|
|
6
|
-
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-
|
|
7
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
1
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-BJ89YjCN.js";
|
|
2
|
+
import { G as normalizeAccountId } from "./workspace-imNgYePS.js";
|
|
3
|
+
import { y as resolveUserPath } from "./logger-onBePS9K.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-Dr2YhZ4p.js";
|
|
5
|
+
import { h as resolveAccountEntry } from "./accounts-f6iuhXVV.js";
|
|
6
|
+
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-CumBuu0G.js";
|
|
7
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-Dyju4C81.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-cQwsz0rO.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./thinking-
|
|
10
|
-
import "./tokens-
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./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 "./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 "./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 { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import "./logger-onBePS9K.js";
|
|
6
|
+
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import "./thinking-BtewZXu7.js";
|
|
10
|
+
import "./tokens-9NF8L9Uh.js";
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-NI8lHL1N.js";
|
|
12
|
+
import "./plugins-Dr2YhZ4p.js";
|
|
13
|
+
import "./accounts-f6iuhXVV.js";
|
|
14
|
+
import "./send-rbU7BzyJ.js";
|
|
15
|
+
import "./send-JKHC2tCh.js";
|
|
16
|
+
import "./deliver-RetmM0fn.js";
|
|
17
|
+
import "./diagnostic-DnZCgMrc.js";
|
|
18
|
+
import "./accounts-A_9Khwyv.js";
|
|
19
|
+
import "./image-ops-CumBuu0G.js";
|
|
20
|
+
import "./send-RT7WHA5n.js";
|
|
21
|
+
import "./pi-model-discovery-COoRoqoO.js";
|
|
22
|
+
import "./pi-embedded-helpers-BYajLWsL.js";
|
|
23
|
+
import "./chrome-BvWxjtGl.js";
|
|
24
|
+
import "./frontmatter-vSrur-r-.js";
|
|
25
|
+
import "./skills-CZ1lBgEC.js";
|
|
26
|
+
import "./path-alias-guards-CNSVgZrJ.js";
|
|
27
|
+
import "./redact-rnJm_Z5E.js";
|
|
28
|
+
import "./errors-CCLnP2Fs.js";
|
|
29
|
+
import "./fs-safe-Dyju4C81.js";
|
|
30
|
+
import "./proxy-env-CY4kVbFL.js";
|
|
31
|
+
import "./store-Dcz4tfzS.js";
|
|
32
|
+
import "./accounts-Cz_Fvguv.js";
|
|
33
|
+
import "./paths-CUF9-Xea.js";
|
|
34
|
+
import "./tool-images-DDvIxFgD.js";
|
|
35
|
+
import "./image-kOIz_XGP.js";
|
|
36
|
+
import "./audio-transcription-runner-zGqnorSY.js";
|
|
37
|
+
import "./fetch-cQwsz0rO.js";
|
|
38
|
+
import "./fetch-guard-BkqLWF6M.js";
|
|
39
|
+
import "./api-key-rotation-6zH7pb_E.js";
|
|
40
|
+
import "./proxy-fetch-08-dhqxn.js";
|
|
41
|
+
import "./ir-rIK14_OY.js";
|
|
42
42
|
import "./render-DW7AcFdD.js";
|
|
43
|
-
import "./target-errors-
|
|
44
|
-
import "./commands-registry-
|
|
45
|
-
import "./skill-commands-
|
|
43
|
+
import "./target-errors-Ch8ZjtbC.js";
|
|
44
|
+
import "./commands-registry-tedusR2M.js";
|
|
45
|
+
import "./skill-commands-CYH1hk0d.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-Byj9--iR.js";
|
|
48
|
+
import "./tables-8uP1Il18.js";
|
|
49
|
+
import "./send-5d2Ieqww.js";
|
|
50
|
+
import "./outbound-attachment-CtS0mrgi.js";
|
|
51
|
+
import "./send-Bz835W6s.js";
|
|
52
52
|
import "./proxy-CecQTx_Z.js";
|
|
53
|
-
import "./manager-
|
|
54
|
-
import "./query-expansion-
|
|
53
|
+
import "./manager-B-q7-W4P.js";
|
|
54
|
+
import "./query-expansion-CeQC9es_.js";
|
|
55
55
|
import fs from "node:fs/promises";
|
|
56
56
|
import os from "node:os";
|
|
57
57
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-ZhiQAuKk.js";
|
|
2
|
+
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-BJ89YjCN.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fssync from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await fssync.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fssync.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = fssync.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|
|
@@ -190,7 +190,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
190
190
|
if (override) return resolveUserPath(override);
|
|
191
191
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".squidclaw");
|
|
192
192
|
try {
|
|
193
|
-
if (
|
|
193
|
+
if (fssync.existsSync(newDir)) return newDir;
|
|
194
194
|
} catch {}
|
|
195
195
|
return newDir;
|
|
196
196
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
2
|
-
import { r as logInfo } from "./logger-
|
|
3
|
-
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-
|
|
4
|
-
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-
|
|
5
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-BJ89YjCN.js";
|
|
2
|
+
import { r as logInfo } from "./logger-onBePS9K.js";
|
|
3
|
+
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-BEglDVk0.js";
|
|
4
|
+
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-f6iuhXVV.js";
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-C-9V4uqt.js";
|
|
6
6
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
7
7
|
|
|
8
8
|
//#region src/web/login.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { r as logInfo } from "./logger-
|
|
6
|
-
import { X as loadConfig } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
10
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import { r as logInfo } from "./logger-onBePS9K.js";
|
|
6
|
+
import { X as loadConfig } from "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-f6iuhXVV.js";
|
|
10
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C-9V4uqt.js";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
13
13
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|