squidclaw 3.3.0 → 3.3.1
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-KzgPbLHP.js → accounts-B1RxFghM.js} +1 -1
- package/dist/{accounts-BK8I0Svb.js → accounts-BH9Qo1sQ.js} +7 -7
- package/dist/{accounts-DeqNOvBo.js → accounts-Cuwg9Tan.js} +1 -1
- package/dist/{acp-cli-BDUN_3hr.js → acp-cli-BC9OAf3z.js} +8 -8
- package/dist/{agent-scope-DipdnGE4.js → agent-scope-CfsErfyG.js} +17 -17
- package/dist/{agents-Dp7Z49KS.js → agents-CCBxQ9aq.js} +14 -14
- package/dist/{agents.config-BiYGJTBo.js → agents.config-BLyNI6Wo.js} +2 -2
- package/dist/{api-key-rotation-ijs2sHFd.js → api-key-rotation-D8zY84vq.js} +1 -1
- package/dist/{audio-preflight-BdE85axf.js → audio-preflight-D2V9uUvO.js} +34 -34
- package/dist/{audio-transcription-runner-t9ywC3Mg.js → audio-transcription-runner-Caxzri8M.js} +23 -23
- package/dist/{audit-DLLdL6Gd.js → audit-C-YgUaul.js} +29 -29
- package/dist/{auth-CgVB2OQr.js → auth-BLnmRBQV.js} +1 -1
- package/dist/{auth-choice-DFMaBDZ1.js → auth-choice-BtLMBliK.js} +11 -11
- package/dist/{auth-choice-BJBbpLg9.js → auth-choice-gdt59E8k.js} +13 -13
- package/dist/{auth-choice.apply-helpers-C-L13mHO.js → auth-choice.apply-helpers-CjGIIfKh.js} +1 -1
- package/dist/{auth-profiles-BiJk4pUv.js → auth-profiles-ByQNLJzP.js} +16 -16
- package/dist/{auth-token-B3--XmAN.js → auth-token-Gu6sWtZS.js} +1 -1
- package/dist/{banner-BR76eqqR.js → banner-C9hwqM49.js} +2 -2
- package/dist/{bonjour-discovery-B_XMK5ai.js → bonjour-discovery-Bh8Ao0vC.js} +1 -1
- package/dist/{browser-cli-B45YlTHC.js → browser-cli-CGjcwRKx.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/session-memory/handler.js +36 -7
- package/dist/{call-G7vZ_wCI.js → call-BPIaCRGe.js} +10 -10
- package/dist/{channel-account-context-CQ6rCiGI.js → channel-account-context-DJ3rHgVO.js} +5 -5
- package/dist/{channel-activity-CGBzdEGf.js → channel-activity-CNDuTc8D.js} +1 -1
- package/dist/{channel-options-CAVwZvHb.js → channel-options-D0gk9W37.js} +3 -3
- package/dist/{channel-selection-D_NFb2hE.js → channel-selection-DAoy4Z1P.js} +1 -1
- package/dist/{channel-web-CmwN58t5.js → channel-web-Duua4ZPa.js} +17 -17
- package/dist/{channels-cli-BvI7PrnS.js → channels-cli-D15lUa6m.js} +93 -93
- package/dist/{channels-status-issues-B87XQLLd.js → channels-status-issues-DPzsKH4n.js} +1 -1
- package/dist/{chrome-fM6BTTNA.js → chrome-Bs3-hdWP.js} +4 -4
- package/dist/{clawbot-cli-jwxDns9G.js → clawbot-cli-ClfRwHPU.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-IgnHd9vV.js → cli-zfxNQ-Jj.js} +73 -73
- package/dist/{client-X5m1ssRl.js → client-DFgW99bv.js} +2 -2
- package/dist/{command-registry-DU59Zys9.js → command-registry-8dFoJNwF.js} +11 -11
- package/dist/{command-secret-targets-DElQTuoe.js → command-secret-targets-Blzote2A.js} +4 -4
- package/dist/{commands-Di_crduW.js → commands-Bn-GGRiA.js} +1 -1
- package/dist/{commands-registry-CvlKGwPE.js → commands-registry-DOyhmv7L.js} +3 -3
- package/dist/{completion-cli-B58zTxLB.js → completion-cli-DXKg2zHx.js} +13 -13
- package/dist/{config-cli-BIaTdZ_7.js → config-cli-KQxg7BTe.js} +7 -7
- package/dist/{config-guard-CDl-VzWM.js → config-guard-CTKbpGkQ.js} +3 -3
- package/dist/{config-validation-BAFa1Cym.js → config-validation-xBuowa-r.js} +3 -3
- package/dist/{configure-BXLSTN8m.js → configure-B3Nlvr4W.js} +17 -17
- package/dist/{control-ui-assets-BYEy341x.js → control-ui-assets-d6VtDSeo.js} +1 -1
- package/dist/{cron-cli-DeHX-jJX.js → cron-cli-i7RdrGzx.js} +11 -11
- package/dist/{daemon-cli-Cc8upFpL.js → daemon-cli-Ot9TBJ_l.js} +15 -15
- package/dist/{daemon-install-Chxlu9Kv.js → daemon-install-CbPLNiIP.js} +4 -4
- package/dist/{daemon-install-helpers-CJtiW2RE.js → daemon-install-helpers-CZDVO_MU.js} +11 -11
- package/dist/{deliver-CyR05tXq.js → deliver-DYffOszC.js} +7 -7
- package/dist/deliver-runtime-CCCnLu1l.js +61 -0
- package/dist/deps-send-discord.runtime-C1qYROSU.js +36 -0
- package/dist/deps-send-imessage.runtime-Dz14pqUt.js +35 -0
- package/dist/deps-send-signal.runtime-BxlxMy_x.js +34 -0
- package/dist/deps-send-slack.runtime-BoIAdT0Z.js +32 -0
- package/dist/{deps-send-telegram.runtime-aNU8_XlK.js → deps-send-telegram.runtime-C7I8qHRq.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-NrQGDJy9.js +119 -0
- package/dist/{devices-cli-DVV5P4ZJ.js → devices-cli-CEW04UTp.js} +8 -8
- package/dist/{diagnostic-Du3b17ba.js → diagnostic-CT4BKCiT.js} +1 -1
- package/dist/{diagnostics--O6mo6KH.js → diagnostics-m7hHHbuE.js} +5 -5
- package/dist/{directory-cli-DaE3Quiv.js → directory-cli-4K5ehIEb.js} +7 -7
- package/dist/{dns-cli-waaEVY0o.js → dns-cli-Cwgde6km.js} +5 -5
- package/dist/{dock-gKJjfuaV.js → dock-0fXeq35m.js} +4 -4
- package/dist/{docs-cli--gGxz79Z.js → docs-cli-BpZtes_j.js} +4 -4
- package/dist/{doctor-completion-DRCOGhwS.js → doctor-completion-B4EOgAHX.js} +2 -2
- package/dist/{doctor-config-flow-BtioG6ZI.js → doctor-config-flow-CjyicsHv.js} +15 -15
- package/dist/{enable-Cbwq508X.js → enable-DMJvBRPK.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-Bl6dLcC4.js → exec-approvals-allowlist--CDwsotI.js} +1 -1
- package/dist/{exec-approvals-cli-_eztu6zG.js → exec-approvals-cli-Bni7tZhv.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CYHAJAOy.js → exec-safe-bin-runtime-policy-BOmyNeKa.js} +2 -2
- package/dist/{fetch-BWLAZtR0.js → fetch-CODl9dwL.js} +3 -3
- package/dist/{fetch-guard-aHbB2ECM.js → fetch-guard-C9XQ9W19.js} +1 -1
- package/dist/{fs-safe-DPYj7h8A.js → fs-safe-BPQ-per2.js} +24 -24
- package/dist/{gateway-cli-DvWNtJxy.js → gateway-cli-7hy6G1el.js} +153 -153
- package/dist/{gateway-rpc-CyI4qv4e.js → gateway-rpc-mBKSbosL.js} +1 -1
- package/dist/{health-CxqVSgKj.js → health-L85P9rRI.js} +11 -11
- package/dist/{hooks-cli-C-8A82OA.js → hooks-cli-JUGj7_IF.js} +81 -81
- package/dist/{hooks-status-DMFBAUq8.js → hooks-status-BlgSVDvN.js} +1 -1
- package/dist/{image-Czt09HO2.js → image-C3rClBur.js} +5 -5
- package/dist/{image-ops-B2uuLIGD.js → image-ops-LFsSCTyI.js} +10 -10
- package/dist/image-runtime-BawEM2qj.js +55 -0
- package/dist/{inspect-4c1uL0x5.js → inspect-CzsXBsew.js} +4 -4
- package/dist/{install-safe-path-3muwy3fu.js → install-safe-path-DqI19VEv.js} +25 -25
- package/dist/{installs-BiQDtPF0.js → installs-P-pYAJm1.js} +9 -9
- package/dist/{ipv4-B1l08IQ5.js → ipv4-Bx85fwxr.js} +1 -1
- package/dist/{ir-Cg5iUcsz.js → ir-CLdz27UA.js} +8 -8
- package/dist/{issue-format-NbalyyoF.js → issue-format-DzzpkEKh.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-BDDTVhGJ.js → lifecycle-core-DAOEq9od.js} +5 -5
- package/dist/{login-BtteffgM.js → login-B6agIh-B.js} +3 -3
- package/dist/{login-qr-CL3cPNm6.js → login-qr-eRvH4Sfc.js} +6 -6
- package/dist/{logs-cli-_68C9pAz.js → logs-cli-DjsOTLd0.js} +9 -9
- package/dist/{manager-D-epQZzu.js → manager-CFg5CNjB.js} +14 -14
- package/dist/{manager-runtime-dxiaLn0X.js → manager-runtime-BucyWusE.js} +9 -9
- package/dist/{manifest-registry-7kwtbCH-.js → manifest-registry-1ACGW3OR.js} +1 -1
- package/dist/{memory-cli-DdlNObR_.js → memory-cli-K8RTw22V.js} +12 -12
- package/dist/{model-CLOEFgm1.js → model-D3QKHUD9.js} +2 -2
- package/dist/{model-catalog-cPBfdmCZ.js → model-catalog-INp1o1zX.js} +3 -3
- package/dist/{model-picker-k5b4kcsx.js → model-picker-DNBHh9Px.js} +4 -4
- package/dist/{models-Bf5dNlFg.js → models-BpPghvyy.js} +17 -17
- package/dist/{models-cli-DHlY3RwP.js → models-cli-DotYKjDq.js} +78 -78
- package/dist/{models-config-C7GR26HJ.js → models-config-BNIPxtHv.js} +6 -6
- package/dist/{net-CggAM2eK.js → net-QB4dfP4-.js} +2 -2
- package/dist/{node-cli-CF6bOApq.js → node-cli-tuLexrKG.js} +33 -33
- package/dist/{node-command-policy--2bsadiu.js → node-command-policy-X4KnAuD8.js} +1 -1
- package/dist/{node-service-Z0JprJda.js → node-service-OVe0_CIs.js} +1 -1
- package/dist/{nodes-cli-DdF0Apr8.js → nodes-cli-BtHrRe7o.js} +16 -16
- package/dist/{nodes-screen-Cihyp_1V.js → nodes-screen-CKhKFccI.js} +7 -7
- package/dist/{npm-pack-install-B887us7R.js → npm-pack-install-Dn3FiWXB.js} +18 -18
- package/dist/{npm-resolution-2sjQlpdP.js → npm-resolution-BTi5J55i.js} +4 -4
- package/dist/{onboard-BwVAkxW0.js → onboard-CNVVt7F3.js} +6 -6
- package/dist/{onboard-channels-Bw372mQX.js → onboard-channels-CUpUBnOj.js} +21 -21
- package/dist/{onboard-custom-XW3Q4ERz.js → onboard-custom-DIM8V39k.js} +4 -4
- package/dist/{onboard-helpers-DfWsh9P_.js → onboard-helpers-D10-c0nt.js} +10 -10
- package/dist/{onboard-hooks-7zSvhf8S.js → onboard-hooks-DW4qt57e.js} +4 -4
- package/dist/{onboard-remote-qJCXQTPO.js → onboard-remote-PNWR1AHo.js} +4 -4
- package/dist/{onboard-skills-DFMLJn-8.js → onboard-skills-DRzcoNmr.js} +4 -4
- package/dist/{onboarding-D_ImwR9D.js → onboarding-DQa8M7Fx.js} +14 -14
- package/dist/{onboarding.finalize-ClTc_ghC.js → onboarding.finalize-D6qUa-0y.js} +90 -90
- package/dist/{onboarding.gateway-config-CeOavTRn.js → onboarding.gateway-config-BzzDFZhl.js} +18 -18
- package/dist/{onboarding.secret-input-h4sXfwga.js → onboarding.secret-input-ajPT5cjy.js} +1 -1
- package/dist/{openai-model-default-BIEWI0T4.js → openai-model-default-lBZZvWbf.js} +2 -2
- package/dist/{outbound-attachment-ELXt01nc.js → outbound-attachment-BRjY-xU5.js} +2 -2
- package/dist/{outbound-DrmXuI1w.js → outbound-yJzuZMJK.js} +3 -3
- package/dist/{pairing-cli-BPn6V6ca.js → pairing-cli-BHW9JIfG.js} +8 -8
- package/dist/{pairing-labels-ieaV5SBV.js → pairing-labels-DGiyVpfH.js} +1 -1
- package/dist/{pairing-store-BNRzMsGf.js → pairing-store-BWvzmAq8.js} +3 -3
- package/dist/{path-alias-guards-vfYYQFIg.js → path-alias-guards-DeOVetT7.js} +3 -3
- package/dist/{path-safety-C95DzArw.js → path-safety-D7CjFQvf.js} +1 -1
- package/dist/{paths-DfuVHiHu.js → paths-D6mnO6Ni.js} +9 -9
- package/dist/{pi-embedded-helpers-DQHj960w.js → pi-embedded-helpers-13zhzo1T.js} +6 -6
- package/dist/{pi-model-discovery-D4t0ZFCY.js → pi-model-discovery-Cj7zDFgN.js} +1 -1
- package/dist/{pi-model-discovery-runtime-SKeRi7Gx.js → pi-model-discovery-runtime-CylBYw6s.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-DjzR6iNJ.js → pi-tools.before-tool-call.runtime-CEWBYhqI.js} +5 -5
- package/dist/{pi-tools.policy-DgElG9m2.js → pi-tools.policy-Bhg8uG0h.js} +5 -5
- package/dist/{plugin-auto-enable-BLhZ9NWX.js → plugin-auto-enable-D_3GnV1a.js} +3 -3
- package/dist/{plugin-registry-BgKtjZBZ.js → plugin-registry-CY6rt9xp.js} +3 -3
- package/dist/plugin-sdk/{accounts-BhCAa-05.js → accounts-BLOLIF6Q.js} +2 -2
- package/dist/plugin-sdk/{accounts-DKXGC2Vu.js → accounts-BvzvDHNx.js} +3 -3
- package/dist/plugin-sdk/{accounts-BChIl5as.js → accounts-ByCKM_Y3.js} +2 -2
- package/dist/plugin-sdk/{active-listener-TTbK9PGk.js → active-listener-Ccj2fSCa.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BqhYVBBK.js → api-key-rotation-0Xm0okk5.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DAf0ptAM.js → audio-preflight-B_pcDw8d.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CBASOlbc.js → audio-transcription-runner-u6tijzUS.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Xl20kCBe.js → audit-membership-runtime-DHQDvH4u.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-95JVLzNY.js → channel-activity-BVUdxSNs.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DCkC6Ydu.js → channel-web-BX2s-JXF.js} +18 -18
- package/dist/plugin-sdk/{chrome-BlXpNOQu.js → chrome-6EkqVcyR.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-C9y_w3eW.js → commands-registry-CDHo6SSs.js} +4 -4
- package/dist/plugin-sdk/{common-CEwMUbms.js → common-Emz6EPQM.js} +2 -2
- package/dist/plugin-sdk/{config-sMifxgre.js → config-CMjn_DSB.js} +7 -7
- package/dist/plugin-sdk/{deliver-2zt3NeFA.js → deliver-Cz6GluMN.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-CjCJkoFM.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-C4AEwjGl.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DCdEe-_E.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BNO6SPmR.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BChVBURL.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DyCorUw2.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DoOYrpKa.js +57 -0
- package/dist/plugin-sdk/{diagnostic-CU_mni6m.js → diagnostic-DhO2TqL_.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-CgRPdp3o.js → errors-9oVz7reJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BxMLJbqt.js → fetch-guard-CGQ35-A_.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-5aQcM_qM.js → fs-safe-B26UxJny.js} +3 -3
- package/dist/plugin-sdk/{image-BJXV9IMV.js → image-DPgEp54d.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DovJMvdf.js → image-ops-CbKrfi-N.js} +2 -2
- package/dist/plugin-sdk/image-runtime-DN6PHT8G.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/{ir-DE2ewdq5.js → ir-4JdLS2Hz.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CIwDgpY2.js → local-roots-T6lXDGzr.js} +4 -4
- package/dist/plugin-sdk/{logger-DIb2cGHp.js → logger-Bg4vIUJn.js} +2 -2
- package/dist/plugin-sdk/{login-CLIcsAVy.js → login-BNCjks0C.js} +4 -4
- package/dist/plugin-sdk/{login-qr-BlxjA0vQ.js → login-qr-CTjNgxhl.js} +5 -5
- package/dist/plugin-sdk/{manager-CpAGPHeX.js → manager-D__CoDGL.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-B9aBGLrF.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-DDpRevO_.js → outbound-DTQ-9Cjw.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-CVavq5II.js → outbound-attachment-CdHX9v0q.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BfpU4lAT.js → path-alias-guards-DSCFtpsd.js} +1 -1
- package/dist/plugin-sdk/{paths-CK3lTJYw.js → paths-BQHqKGA8.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Cb_h9zSJ.js → pi-embedded-helpers-B7nmCbf7.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-B3B3R7L9.js → pi-model-discovery-DyDwYiK3.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-CN6ZaL0W.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DivpBAM0.js → pi-tools.before-tool-call.runtime-D_f6TDo7.js} +4 -4
- package/dist/plugin-sdk/{plugins-BlTrm4bw.js → plugins-BSPvol4w.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-Cdh-OQYk.js → proxy-env-D-iVYTBk.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Dt5BedH8.js → proxy-fetch-Cf3IUSDw.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DEDRpMlY.js → pw-ai-BO445UDA.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ct9rtJjd.js → qmd-manager-81ezWnIN.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-OdwWuN1S.js → query-expansion-DxTmIU4K.js} +4 -4
- package/dist/plugin-sdk/{redact-9WsNyb7S.js → redact-DfACyt0X.js} +1 -1
- package/dist/plugin-sdk/{reply-wZhosbPd.js → reply-DJ3rbbnv.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BJmCIkW_.js → resolve-outbound-target-DtQd8TzZ.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-EUEKeAa8.js → run-with-concurrency-CYcPpb5E.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-ai8hcGi_.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BzvoaI1G.js +19 -0
- package/dist/plugin-sdk/{send-Drs4JqVD.js → send-B9GVkvTk.js} +5 -5
- package/dist/plugin-sdk/{send-BMWyVUhm.js → send-BPEn9L0o.js} +13 -13
- package/dist/plugin-sdk/{send-0C4KdD-T.js → send-CGjI0pJn.js} +7 -7
- package/dist/plugin-sdk/{send-oo6mQbab.js → send-CZ6HDwDu.js} +8 -8
- package/dist/plugin-sdk/{send-BGWGV_mz.js → send-D6nUI0S3.js} +6 -6
- package/dist/plugin-sdk/{session-CXVARKFK.js → session-Bwjlseuf.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-CoqGFLfM.js → skill-commands-BpB2Oe8e.js} +4 -4
- package/dist/plugin-sdk/{skills-di-5uS9y.js → skills-CaQpr1kx.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-BH06o3dH.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BotYesgY.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-CzPvxiUD.js +16 -0
- package/dist/plugin-sdk/{store-Dn_E3uaN.js → store-K6C7eOpg.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-BbcgUYOO.js +52 -0
- package/dist/plugin-sdk/{tables-_e9wMygc.js → tables-CeWt6UjS.js} +1 -1
- package/dist/plugin-sdk/{thinking-Cih_nxDY.js → thinking-gpcjIDQZ.js} +7 -7
- package/dist/plugin-sdk/{tokens-CLE20fRI.js → tokens-DAL_5WHL.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D6a1Ua4p.js → tool-images-l3TE_qXt.js} +2 -2
- package/dist/plugin-sdk/web-DZ7nBzZy.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-UAnHjKbE.js → whatsapp-actions-CbzdjX4B.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/plugin-sdk/zalo.js +2 -2
- package/dist/{plugins-DuLOFZmO.js → plugins-DFPxMLnR.js} +2 -2
- package/dist/{plugins-cli-CKr9IyQL.js → plugins-cli-Bfq4OJMG.js} +83 -83
- package/dist/{ports-Be82TlEg.js → ports-BzfeaNjw.js} +1 -1
- package/dist/{ports-0jLyYbvQ.js → ports-DMeUt80n.js} +2 -2
- package/dist/{program-B5Vn_UD_.js → program-DZxExBPG.js} +81 -81
- package/dist/{prompt-select-styled-DTnRirU4.js → prompt-select-styled-CK2Ienpq.js} +40 -40
- package/dist/{provider-auth-helpers-DG7hKvxV.js → provider-auth-helpers-C_1HJDfj.js} +5 -5
- package/dist/{proxy-env-D16ubrT6.js → proxy-env-CNlcVWhf.js} +1 -1
- package/dist/{push-apns-BZeUZhYN.js → push-apns-C4uEslA7.js} +5 -5
- package/dist/{pw-ai-BrmQq6dp.js → pw-ai-Dg9fGMve.js} +18 -18
- package/dist/{qmd-manager-CToc7FPg.js → qmd-manager-D4nXiiAn.js} +20 -20
- package/dist/{qr-cli-23hgWtLn.js → qr-cli-CN6kEeE-.js} +2 -2
- package/dist/{query-expansion-DI9INxTg.js → query-expansion-C0HUJbRn.js} +12 -12
- package/dist/{redact-snapshot-B8W0RynI.js → redact-snapshot-CiS6G7vm.js} +1 -1
- package/dist/{register.agent-C9tZejQm.js → register.agent-BMr61y_S.js} +94 -94
- package/dist/register.configure-7_PUrx8F.js +165 -0
- package/dist/{register.maintenance-dpQRuXYm.js → register.maintenance-zjqp4gVD.js} +95 -95
- package/dist/{register.message-DexwH4xh.js → register.message-CqqQmFqh.js} +74 -74
- package/dist/{register.onboard-CI1dr2mE.js → register.onboard-w_EDtQ3H.js} +18 -18
- package/dist/{register.setup-Dsl5n4Uf.js → register.setup-DkncXaAW.js} +21 -21
- package/dist/{register.status-health-sessions-CmNMtNSk.js → register.status-health-sessions-CHCnEwLO.js} +88 -88
- package/dist/{register.subclis-C4twva8y.js → register.subclis-D_k3jp2m.js} +31 -31
- package/dist/{rpc-BquITS9w.js → rpc-DFxhwitx.js} +1 -1
- package/dist/{run-main-6tdntESl.js → run-main-Czc9ESzd.js} +93 -93
- package/dist/{runtime-_Vk5eISV.js → runtime-By5SpbLU.js} +3 -3
- package/dist/{runtime-config-collectors-wQYiGNzB.js → runtime-config-collectors-B104qPur.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-Cf3JhAPA.js → runtime-whatsapp-login.runtime-B4XQqxLZ.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-bw4l8Cm5.js → runtime-whatsapp-outbound.runtime-CTfBy0k0.js} +15 -15
- package/dist/{sandbox-CbGxVENW.js → sandbox-DaQ1ruwH.js} +18 -18
- package/dist/{sandbox-cli-WvgvhVoi.js → sandbox-cli-BzmKYlDs.js} +25 -25
- package/dist/{secrets-cli-BJFHNFFa.js → secrets-cli-C2iidz4Q.js} +11 -11
- package/dist/{security-cli-BVezJLE_.js → security-cli-D3PfmNhS.js} +42 -42
- package/dist/{send-Bu3eP6CW.js → send-BWMSp9_W.js} +4 -4
- package/dist/{send-DynShEUL.js → send-BbUl6LvV.js} +11 -11
- package/dist/{send-D8WRsTcF.js → send-BcCUXoKV.js} +5 -5
- package/dist/{send-C2ol3xJd.js → send-BdZJcfei.js} +8 -8
- package/dist/{send-Cj7csKER.js → send-DHmaiFb3.js} +6 -6
- package/dist/{server-TkeA4LLX.js → server-BThRQKrb.js} +20 -20
- package/dist/{server-context-C56AfkmJ.js → server-context-D9dHt5TX.js} +12 -12
- package/dist/{server-lifecycle-CUR6g-z-.js → server-lifecycle-DwoqIphm.js} +2 -2
- package/dist/{server-middleware-Dxlv5GU2.js → server-middleware-i-VrGsvO.js} +1 -1
- package/dist/{server-node-events-EsqtDPMI.js → server-node-events-67QUoOob.js} +74 -74
- package/dist/{service-DSqxS6_D.js → service-B5T42CWZ.js} +15 -15
- package/dist/{session-D0jodcgT.js → session-eXSdl5mb.js} +1 -1
- package/dist/{session-utils-CZALjD6h.js → session-utils-PIpg5nvE.js} +6 -6
- package/dist/{sessions-gTKLgF0i.js → sessions-A97O0F1f.js} +15 -15
- package/dist/{sessions-BLTjLVQT.js → sessions-CDicf15r.js} +4 -4
- package/dist/{shared-D5DTxBPH.js → shared-By6_qr_R.js} +1 -1
- package/dist/{shared-4aGIUkwm.js → shared-CJet4A6J.js} +3 -3
- package/dist/{skill-commands-CigVnmMu.js → skill-commands-DBT6aOGs.js} +5 -5
- package/dist/{skill-scanner-CvS725eQ.js → skill-scanner--QKHR8U0.js} +6 -6
- package/dist/{skills-C85azDXm.js → skills-EwyaIyKC.js} +3 -3
- package/dist/{skills-cli-B2fk0u1F.js → skills-cli-CblUgygP.js} +5 -5
- package/dist/{skills-install-_Qv7iwIj.js → skills-install-Bg63KYLo.js} +6 -6
- package/dist/{skills-status-DkO7rxE8.js → skills-status-Bv8Xt7Lc.js} +1 -1
- package/dist/{slash-commands.runtime-CF70sEb6.js → slash-commands.runtime-BueY2Beh.js} +11 -11
- package/dist/slash-dispatch.runtime-B3gbmyOu.js +114 -0
- package/dist/{slash-skill-commands.runtime-6s4Ap-WA.js → slash-skill-commands.runtime-ByvvwWOf.js} +15 -15
- package/dist/{squidclaw-root-BQfLymzj.js → squidclaw-root-JXyRbQLJ.js} +8 -8
- package/dist/{status-yDvMiWJC.js → status-Doe6Z9h6.js} +27 -27
- package/dist/{status.update-CiLU9RPF.js → status.update-BGIm6we4.js} +2 -2
- package/dist/{store-BEIcnlgx.js → store-BTkIx401.js} +5 -5
- package/dist/{subagent-registry-BE1B0_sO.js → subagent-registry-o5rZt_4e.js} +149 -149
- package/dist/subagent-registry-runtime-C0GbHEOo.js +114 -0
- package/dist/{system-cli-DAKISNim.js → system-cli-BGFIr82s.js} +9 -9
- package/dist/{system-run-command-BOHXAwW8.js → system-run-command-BqoUyRkT.js} +1 -1
- package/dist/{systemd-Cj2cX_ZP.js → systemd-B86VePXs.js} +9 -9
- package/dist/{systemd-hints-46PqJfaq.js → systemd-hints-BmFWZu_j.js} +6 -6
- package/dist/{systemd-linger-6Jd9K5p2.js → systemd-linger-w7fvBU-1.js} +1 -1
- package/dist/{tables-DOgKzkCQ.js → tables-Cw6nUurn.js} +1 -1
- package/dist/{tailnet-BlV0IR7G.js → tailnet-QKMSnz19.js} +1 -1
- package/dist/{target-errors-CRQlPF1u.js → target-errors-C_rnMuJ2.js} +4 -4
- package/dist/{tool-images-CyzWvDUu.js → tool-images-D6mmxuWS.js} +1 -1
- package/dist/{tui-DN34soFB.js → tui-BxsFozJB.js} +6 -6
- package/dist/{tui-cli-CG0r8wIF.js → tui-cli-Bf1E1ENY.js} +32 -32
- package/dist/{update-1JhjCqjy.js → update-BhRrb6BI.js} +3 -3
- package/dist/{update-cli-CKvgxhEz.js → update-cli-FbS4oJu1.js} +104 -104
- package/dist/{update-runner-EXHdNkfq.js → update-runner-DCLBBKeT.js} +16 -16
- package/dist/web-1FVB4fsI.js +118 -0
- package/dist/{webhooks-cli-CJpcVOhV.js → webhooks-cli-BCqXOihQ.js} +6 -6
- package/dist/{whatsapp-actions-BYzAF3jo.js → whatsapp-actions-I7z57XJA.js} +17 -17
- package/dist/{with-timeout-D8mIrgj5.js → with-timeout-CX0CGi5G.js} +3 -3
- package/dist/{workspace-D5vNjk5G.js → workspace-BbO-M3Jv.js} +1 -1
- package/dist/{workspace-dirs-CKrd0E4k.js → workspace-dirs-DJbX0g4E.js} +1 -1
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-BY48Cyf6.js +0 -61
- package/dist/deps-send-discord.runtime-CiS_YGKd.js +0 -36
- package/dist/deps-send-imessage.runtime-h5CDiZZu.js +0 -35
- package/dist/deps-send-signal.runtime-C9s3Y1Zu.js +0 -34
- package/dist/deps-send-slack.runtime-Dqb-9qwc.js +0 -32
- package/dist/deps-send-whatsapp.runtime-0tUP9kuA.js +0 -119
- package/dist/image-runtime-C_sKgCPT.js +0 -55
- package/dist/plugin-sdk/deliver-runtime-Dx0Sg-lg.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-bKwjojX0.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-DcxfdKGE.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-79rGat6V.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DfMO701H.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-Bnjwm6SU.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CS50_Jgh.js +0 -57
- package/dist/plugin-sdk/image-runtime-f-WKB3Bx.js +0 -25
- package/dist/plugin-sdk/manager-runtime-DAKJEbuY.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-Bm4bHwpO.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D74eZbH7.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BidSddX5.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CseiMacz.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-88gX6CLk.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BNrQNIZ7.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-Cv8RHTjT.js +0 -52
- package/dist/plugin-sdk/web-C4tTN9Xu.js +0 -56
- package/dist/register.configure-DJj2p4b3.js +0 -165
- package/dist/slash-dispatch.runtime-BpDcu-GU.js +0 -114
- package/dist/subagent-registry-runtime-DNx1w9Cr.js +0 -114
- package/dist/web-DfVBXj7E.js +0 -118
|
@@ -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-D_k3jp2m.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-DkncXaAW.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-w_EDtQ3H.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-7_PUrx8F.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-KQxg7BTe.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-zjqp4gVD.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-CqqQmFqh.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
hasSubcommands: true
|
|
100
100
|
}],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./memory-cli-
|
|
102
|
+
(await import("./memory-cli-K8RTw22V.js").then((n) => n.t)).registerMemoryCli(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -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-BMr61y_S.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-CHCnEwLO.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -145,7 +145,7 @@ const coreEntries = [
|
|
|
145
145
|
hasSubcommands: true
|
|
146
146
|
}],
|
|
147
147
|
register: async ({ program }) => {
|
|
148
|
-
(await import("./browser-cli-
|
|
148
|
+
(await import("./browser-cli-CGjcwRKx.js")).registerBrowserCli(program);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as describeUnknownError, x as resolveSecretRefValues } from "./auth-profiles-
|
|
1
|
+
import { S as describeUnknownError, x as resolveSecretRefValues } from "./auth-profiles-ByQNLJzP.js";
|
|
2
2
|
import { F as resolveSecretInputRef } from "./registry-BXcl3IkC.js";
|
|
3
3
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DqvtYF2o.js";
|
|
4
|
-
import { st as validateSecretsResolveResult } from "./client-
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
6
|
-
import { C as setPathExistingStrict, a as createResolverContext, c as collectCommandSecretAssignmentsFromSnapshot, d as discoverConfigSecretTargetsByIds, h as listSecretTargetRegistryEntries, i as applyResolvedAssignments, t as collectConfigAssignments } from "./runtime-config-collectors-
|
|
4
|
+
import { st as validateSecretsResolveResult } from "./client-DFgW99bv.js";
|
|
5
|
+
import { n as callGateway } from "./call-BPIaCRGe.js";
|
|
6
|
+
import { C as setPathExistingStrict, a as createResolverContext, c as collectCommandSecretAssignmentsFromSnapshot, d as discoverConfigSecretTargetsByIds, h as listSecretTargetRegistryEntries, i as applyResolvedAssignments, t as collectConfigAssignments } from "./runtime-config-collectors-B104qPur.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/command-secret-gateway.ts
|
|
9
9
|
function dedupeDiagnostics(entries) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as isPlainObject } from "./utils-D6vohX1h.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-DFPxMLnR.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config/commands.ts
|
|
5
5
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Li as DEFAULT_PROVIDER } from "./auth-profiles-
|
|
1
|
+
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Li as DEFAULT_PROVIDER } from "./auth-profiles-ByQNLJzP.js";
|
|
2
2
|
import { c as escapeRegExp } from "./utils-D6vohX1h.js";
|
|
3
3
|
import { u as getActivePluginRegistry } from "./registry-BXcl3IkC.js";
|
|
4
|
-
import { n as listChannelDocks } from "./dock-
|
|
4
|
+
import { n as listChannelDocks } from "./dock-0fXeq35m.js";
|
|
5
5
|
import { i as listThinkingLevels } from "./thinking-CrcT589P.js";
|
|
6
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
6
|
+
import { t as isCommandFlagEnabled } from "./commands-Bn-GGRiA.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/commands-args.ts
|
|
9
9
|
function normalizeArgValue(value) {
|
|
@@ -4,12 +4,12 @@ import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-Bw5n50gj.js";
|
|
5
5
|
import { m as pathExists } from "./utils-D6vohX1h.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-D_k3jp2m.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-8dFoJNwF.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-DKVuITe2.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fsPromises from "node:fs/promises";
|
|
13
13
|
import { Option } from "commander";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/completion-fish.ts
|
|
@@ -92,11 +92,11 @@ function getCompletionScript(shell, program) {
|
|
|
92
92
|
}
|
|
93
93
|
async function writeCompletionCache(params) {
|
|
94
94
|
const cacheDir = resolveCompletionCacheDir();
|
|
95
|
-
await
|
|
95
|
+
await fsPromises.mkdir(cacheDir, { recursive: true });
|
|
96
96
|
for (const shell of params.shells) {
|
|
97
97
|
const script = getCompletionScript(shell, params.program);
|
|
98
98
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
99
|
-
await
|
|
99
|
+
await fsPromises.writeFile(targetPath, script, "utf-8");
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -154,7 +154,7 @@ async function isCompletionInstalled(shell, binName = "squidclaw") {
|
|
|
154
154
|
if (!await pathExists(profilePath)) return false;
|
|
155
155
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
156
156
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
157
|
-
return (await
|
|
157
|
+
return (await fsPromises.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -164,7 +164,7 @@ async function usesSlowDynamicCompletion(shell, binName = "squidclaw") {
|
|
|
164
164
|
const profilePath = getShellProfilePath(shell);
|
|
165
165
|
if (!await pathExists(profilePath)) return false;
|
|
166
166
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
167
|
-
const lines = (await
|
|
167
|
+
const lines = (await fsPromises.readFile(profilePath, "utf-8")).split("\n");
|
|
168
168
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
169
169
|
return false;
|
|
170
170
|
}
|
|
@@ -213,7 +213,7 @@ async function installCompletion(shell, yes, binName = "squidclaw") {
|
|
|
213
213
|
} else if (shell === "bash") {
|
|
214
214
|
profilePath = path.join(home, ".bashrc");
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fsPromises.access(profilePath);
|
|
217
217
|
} catch {
|
|
218
218
|
profilePath = path.join(home, ".bash_profile");
|
|
219
219
|
}
|
|
@@ -227,13 +227,13 @@ async function installCompletion(shell, yes, binName = "squidclaw") {
|
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
229
|
try {
|
|
230
|
-
await
|
|
230
|
+
await fsPromises.access(profilePath);
|
|
231
231
|
} catch {
|
|
232
232
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
233
|
-
await
|
|
234
|
-
await
|
|
233
|
+
await fsPromises.mkdir(path.dirname(profilePath), { recursive: true });
|
|
234
|
+
await fsPromises.writeFile(profilePath, "", "utf-8");
|
|
235
235
|
}
|
|
236
|
-
const update = updateCompletionProfile(await
|
|
236
|
+
const update = updateCompletionProfile(await fsPromises.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
237
237
|
if (!update.changed) {
|
|
238
238
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
239
239
|
return;
|
|
@@ -242,7 +242,7 @@ async function installCompletion(shell, yes, binName = "squidclaw") {
|
|
|
242
242
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
243
243
|
console.log(`${action} completion in ${profilePath}...`);
|
|
244
244
|
}
|
|
245
|
-
await
|
|
245
|
+
await fsPromises.writeFile(profilePath, update.next, "utf-8");
|
|
246
246
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
247
247
|
} catch (err) {
|
|
248
248
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -2,12 +2,12 @@ import { l as success, n as info, p as theme, t as danger } from "./globals-BrhV
|
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
5
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-ByQNLJzP.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CfsErfyG.js";
|
|
8
8
|
import { y as isBlockedObjectKey } from "./session-key-k6urs9r-.js";
|
|
9
9
|
import { x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
10
|
-
import "./squidclaw-root-
|
|
10
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
11
11
|
import "./logger-DL3N22PJ.js";
|
|
12
12
|
import "./exec-TSiqsZw1.js";
|
|
13
13
|
import "./registry-BXcl3IkC.js";
|
|
@@ -15,10 +15,10 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
15
15
|
import "./host-env-security-lcjXF83D.js";
|
|
16
16
|
import "./version-3so140Zi.js";
|
|
17
17
|
import "./env-vars-mSSOl7Rv.js";
|
|
18
|
-
import "./manifest-registry-
|
|
18
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
20
|
-
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-
|
|
21
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
20
|
+
import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-DzzpkEKh.js";
|
|
21
|
+
import { t as redactConfigObject } from "./redact-snapshot-CiS6G7vm.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/config-cli.ts
|
|
@@ -305,7 +305,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
305
305
|
}
|
|
306
306
|
function registerConfigCli(program) {
|
|
307
307
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.squidclaw.dev/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
308
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
308
|
+
const { configureCommandFromSectionsArg } = await import("./configure-B3Nlvr4W.js").then((n) => n.t);
|
|
309
309
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
310
310
|
});
|
|
311
311
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { H as shouldMigrateStateFromPath, d as colorize, f as isRich, p as theme } from "./globals-BrhVUl-N.js";
|
|
3
|
-
import { V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { V as readConfigFileSnapshot } from "./auth-profiles-ByQNLJzP.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
7
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-DzzpkEKh.js";
|
|
7
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CjyicsHv.js";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/program/config-guard.ts
|
|
10
10
|
var config_guard_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as readConfigFileSnapshot } from "./auth-profiles-
|
|
1
|
+
import { V as readConfigFileSnapshot } from "./auth-profiles-ByQNLJzP.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
3
3
|
import { c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DFPxMLnR.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D7MilaX-.js";
|
|
6
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
6
|
+
import { n as formatConfigIssueLines } from "./issue-format-DzzpkEKh.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/agents.bindings.ts
|
|
9
9
|
function bindingMatchKey(match) {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot, er as ensureAuthProfileStore, z as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot, er as ensureAuthProfileStore, z as loadConfig } from "./auth-profiles-ByQNLJzP.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
6
6
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
7
7
|
import { N as normalizeSecretInputString } from "./registry-BXcl3IkC.js";
|
|
8
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DFPxMLnR.js";
|
|
9
9
|
import { a as findTailscaleBinary } from "./tailscale-DHGqQR08.js";
|
|
10
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
10
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-D10-c0nt.js";
|
|
11
11
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-D_i_ws0g.js";
|
|
12
12
|
import { n as withProgress } from "./progress-DuhDspl6.js";
|
|
13
13
|
import { t as note$1 } from "./note-IoQo8Ol0.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-DU01bRlk.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
17
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CUpUBnOj.js";
|
|
17
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CZDVO_MU.js";
|
|
18
18
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
19
|
-
import { t as resolveGatewayService } from "./service-
|
|
20
|
-
import { r as healthCommand } from "./health-
|
|
21
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
19
|
+
import { t as resolveGatewayService } from "./service-B5T42CWZ.js";
|
|
20
|
+
import { r as healthCommand } from "./health-L85P9rRI.js";
|
|
21
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-d6VtDSeo.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-ZAeFsd9K.js";
|
|
23
23
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-4mupmvzh.js";
|
|
24
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
25
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
26
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
27
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
28
|
-
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-
|
|
24
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-BtLMBliK.js";
|
|
25
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DNBHh9Px.js";
|
|
26
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-w7fvBU-1.js";
|
|
27
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-DIM8V39k.js";
|
|
28
|
+
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-Bx85fwxr.js";
|
|
29
29
|
import { t as formatHealthCheckFailure } from "./health-format-eNDYxTNS.js";
|
|
30
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
31
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
30
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-PNWR1AHo.js";
|
|
31
|
+
import { n as setupSkills } from "./onboard-skills-DRzcoNmr.js";
|
|
32
32
|
import path from "node:path";
|
|
33
|
-
import
|
|
33
|
+
import fsPromises from "node:fs/promises";
|
|
34
34
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
35
35
|
|
|
36
36
|
//#region src/commands/configure.shared.ts
|
|
@@ -736,7 +736,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
736
736
|
].map((name) => path.join(workspaceDir, name));
|
|
737
737
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
738
738
|
try {
|
|
739
|
-
await
|
|
739
|
+
await fsPromises.access(candidate);
|
|
740
740
|
return true;
|
|
741
741
|
} catch {
|
|
742
742
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
2
|
-
import { n as resolveSquidClawPackageRootSync, t as resolveSquidClawPackageRoot } from "./squidclaw-root-
|
|
2
|
+
import { n as resolveSquidClawPackageRootSync, t as resolveSquidClawPackageRoot } from "./squidclaw-root-JXyRbQLJ.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-TSiqsZw1.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-B
|
|
|
2
2
|
import "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-ByQNLJzP.js";
|
|
6
|
+
import "./agent-scope-CfsErfyG.js";
|
|
7
7
|
import { f as sanitizeAgentId } from "./session-key-k6urs9r-.js";
|
|
8
8
|
import "./utils-D6vohX1h.js";
|
|
9
|
-
import "./squidclaw-root-
|
|
9
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
10
10
|
import "./logger-DL3N22PJ.js";
|
|
11
11
|
import "./exec-TSiqsZw1.js";
|
|
12
12
|
import "./registry-BXcl3IkC.js";
|
|
@@ -14,21 +14,21 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-3so140Zi.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
18
18
|
import "./message-channel-DqvtYF2o.js";
|
|
19
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
20
|
-
import "./accounts-
|
|
19
|
+
import { n as listChannelPlugins } from "./plugins-DFPxMLnR.js";
|
|
20
|
+
import "./accounts-BH9Qo1sQ.js";
|
|
21
21
|
import "./logging-CcxUDNcI.js";
|
|
22
|
-
import "./client-
|
|
23
|
-
import "./call-
|
|
22
|
+
import "./client-DFgW99bv.js";
|
|
23
|
+
import "./call-BPIaCRGe.js";
|
|
24
24
|
import "./pairing-token-B_ig96RO.js";
|
|
25
|
-
import "./net-
|
|
26
|
-
import "./tailnet-
|
|
25
|
+
import "./net-QB4dfP4-.js";
|
|
26
|
+
import "./tailnet-QKMSnz19.js";
|
|
27
27
|
import { n as formatDurationHuman } from "./format-duration-CZ0b60YO.js";
|
|
28
28
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-C4U8O7GM.js";
|
|
29
29
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
30
30
|
import "./progress-DuhDspl6.js";
|
|
31
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
31
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-mBKSbosL.js";
|
|
32
32
|
import { n as parsePositiveIntOrUndefined } from "./helpers-BjRf8izo.js";
|
|
33
33
|
|
|
34
34
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -2,32 +2,32 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-BrhVUl-N.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-CHIu6D1E.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
5
|
-
import { G as writeConfigFile, R as createConfigIO, V as readConfigFileSnapshot, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { G as writeConfigFile, R as createConfigIO, V as readConfigFileSnapshot, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-ByQNLJzP.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
7
|
import { S as sleep, x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
8
8
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-BXcl3IkC.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DqvtYF2o.js";
|
|
10
|
-
import { n as callGateway, p as loadGatewayTlsRuntime } from "./call-
|
|
11
|
-
import { u as resolveGatewayBindHost } from "./net-
|
|
12
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
13
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
14
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
10
|
+
import { n as callGateway, p as loadGatewayTlsRuntime } from "./call-BPIaCRGe.js";
|
|
11
|
+
import { u as resolveGatewayBindHost } from "./net-QB4dfP4-.js";
|
|
12
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-QKMSnz19.js";
|
|
13
|
+
import { a as resolveGatewayAuth } from "./auth-BLnmRBQV.js";
|
|
14
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DMeUt80n.js";
|
|
15
15
|
import { t as killProcessTree } from "./kill-tree-0NV2m8EI.js";
|
|
16
16
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-vBANYkEo.js";
|
|
17
|
-
import { r as isWSLEnv } from "./wsl-
|
|
18
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
17
|
+
import { r as isWSLEnv } from "./wsl-CsGe5QCP.js";
|
|
18
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-D10-c0nt.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
20
20
|
import { n as withProgress } from "./progress-DuhDspl6.js";
|
|
21
21
|
import { n as inheritOptionFromParent } from "./command-options-DVCpMofi.js";
|
|
22
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
23
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
22
|
+
import { t as formatConfigIssueLine } from "./issue-format-DzzpkEKh.js";
|
|
23
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-CZDVO_MU.js";
|
|
24
24
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
25
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
26
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
27
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
25
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-B5T42CWZ.js";
|
|
26
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-DAOEq9od.js";
|
|
27
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BmFWZu_j.js";
|
|
28
28
|
import { t as parsePort } from "./parse-port-CboE2EQm.js";
|
|
29
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics
|
|
30
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
29
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-m7hHHbuE.js";
|
|
30
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CzsXBsew.js";
|
|
31
31
|
|
|
32
32
|
//#region src/cli/daemon-cli/install.ts
|
|
33
33
|
async function runDaemonInstall(opts) {
|
|
@@ -8,12 +8,12 @@ import "./version-3so140Zi.js";
|
|
|
8
8
|
import "./env-vars-mSSOl7Rv.js";
|
|
9
9
|
import "./prompt-style-D_i_ws0g.js";
|
|
10
10
|
import "./note-IoQo8Ol0.js";
|
|
11
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
11
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CZDVO_MU.js";
|
|
12
12
|
import "./runtime-guard-BPoq8vFM.js";
|
|
13
13
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
14
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
15
|
-
import { t as resolveGatewayService } from "./service-
|
|
16
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
14
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-B86VePXs.js";
|
|
15
|
+
import { t as resolveGatewayService } from "./service-B5T42CWZ.js";
|
|
16
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-w7fvBU-1.js";
|
|
17
17
|
|
|
18
18
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
19
19
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
|
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/daemon/program-args.ts
|
|
14
14
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -17,23 +17,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
17
17
|
const normalized = path.resolve(argv1);
|
|
18
18
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
19
19
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
20
|
-
await
|
|
20
|
+
await fsPromises.access(resolvedPath);
|
|
21
21
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
22
|
-
await
|
|
22
|
+
await fsPromises.access(normalized);
|
|
23
23
|
return normalized;
|
|
24
24
|
} catch {}
|
|
25
25
|
return resolvedPath;
|
|
26
26
|
}
|
|
27
27
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
28
28
|
for (const candidate of distCandidates) try {
|
|
29
|
-
await
|
|
29
|
+
await fsPromises.access(candidate);
|
|
30
30
|
return candidate;
|
|
31
31
|
} catch {}
|
|
32
32
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
33
33
|
}
|
|
34
34
|
async function resolveRealpathSafe(inputPath) {
|
|
35
35
|
try {
|
|
36
|
-
return await
|
|
36
|
+
return await fsPromises.realpath(inputPath);
|
|
37
37
|
} catch {
|
|
38
38
|
return inputPath;
|
|
39
39
|
}
|
|
@@ -93,7 +93,7 @@ async function resolveBinaryPath(binary) {
|
|
|
93
93
|
try {
|
|
94
94
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
95
95
|
if (!resolved) throw new Error("empty");
|
|
96
|
-
await
|
|
96
|
+
await fsPromises.access(resolved);
|
|
97
97
|
return resolved;
|
|
98
98
|
} catch {
|
|
99
99
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -112,7 +112,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
112
112
|
if (params.dev) {
|
|
113
113
|
const repoRoot = resolveRepoRootForDev();
|
|
114
114
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
115
|
-
await
|
|
115
|
+
await fsPromises.access(devCliPath);
|
|
116
116
|
return {
|
|
117
117
|
programArguments: [
|
|
118
118
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -140,7 +140,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
140
140
|
}
|
|
141
141
|
const repoRoot = resolveRepoRootForDev();
|
|
142
142
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
143
|
-
await
|
|
143
|
+
await fsPromises.access(devCliPath);
|
|
144
144
|
if (isBunRuntime(execPath)) return {
|
|
145
145
|
programArguments: [
|
|
146
146
|
execPath,
|
|
@@ -207,13 +207,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
207
207
|
const formula = cellarMatch[2];
|
|
208
208
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
209
209
|
try {
|
|
210
|
-
await
|
|
210
|
+
await fsPromises.access(optPath);
|
|
211
211
|
return optPath;
|
|
212
212
|
} catch {}
|
|
213
213
|
if (formula === "node") {
|
|
214
214
|
const binPath = `${prefix}/bin/node`;
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fsPromises.access(binPath);
|
|
217
217
|
return binPath;
|
|
218
218
|
} catch {}
|
|
219
219
|
}
|
|
@@ -282,7 +282,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
282
282
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
283
283
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
284
284
|
for (const candidate of candidates) try {
|
|
285
|
-
await
|
|
285
|
+
await fsPromises.access(candidate);
|
|
286
286
|
return candidate;
|
|
287
287
|
} catch {}
|
|
288
288
|
return null;
|
|
@@ -3,15 +3,15 @@ import { a as logVerbose } from "./globals-BrhVUl-N.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import { _ as normalizeAccountId, v as normalizeOptionalAccountId } from "./session-key-k6urs9r-.js";
|
|
5
5
|
import { E as triggerInternalHook, f as getActivePluginRegistryVersion, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-BXcl3IkC.js";
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
6
|
+
import { t as getChannelDock } from "./dock-0fXeq35m.js";
|
|
7
|
+
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-A97O0F1f.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DFPxMLnR.js";
|
|
9
9
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DOVPgjwZ.js";
|
|
10
10
|
import { r as parseTelegramTarget } from "./targets-Bz6Ajr4f.js";
|
|
11
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
12
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
13
|
-
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-
|
|
14
|
-
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
11
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-13zhzo1T.js";
|
|
12
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-CODl9dwL.js";
|
|
13
|
+
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-CLdz27UA.js";
|
|
14
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BcCUXoKV.js";
|
|
15
15
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-D-91NTFS.js";
|
|
16
16
|
|
|
17
17
|
//#region src/plugins/hooks.ts
|