squidclaw 3.0.23 → 3.0.25
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-BwG98FYT.js → acp-cli-Ch55Vzud.js} +8 -8
- package/dist/{agent-scope-Cq4vDGrK.js → agent-scope-nEVgVklg.js} +17 -17
- package/dist/{agents-DXKtU4Il.js → agents-B-ig6ydU.js} +14 -14
- package/dist/{agents.config-BM-2SLCh.js → agents.config-w_Z6Fb4-.js} +2 -2
- package/dist/{api-key-rotation-6i41mEc9.js → api-key-rotation-JPmjv-c0.js} +1 -1
- package/dist/{audio-preflight-C-JCwUKe.js → audio-preflight-CZ--cSZh.js} +34 -34
- package/dist/{audio-transcription-runner-DvQksGUE.js → audio-transcription-runner-D-uxpkbd.js} +23 -23
- package/dist/{audit-DLTgNDFw.js → audit-JLT1FqTt.js} +29 -29
- package/dist/{auth-CuObxnC4.js → auth-BlP9BwaD.js} +1 -1
- package/dist/{auth-choice-BVQQneHM.js → auth-choice-Czu7271G.js} +13 -13
- package/dist/{auth-choice-CXepQc7c.js → auth-choice-ORZHjbsv.js} +11 -11
- package/dist/{auth-choice.apply-helpers-p1y_DmDT.js → auth-choice.apply-helpers-CdoXMtxm.js} +1 -1
- package/dist/{auth-profiles-CX4YYu7Z.js → auth-profiles-9T4j6jMy.js} +16 -16
- package/dist/{auth-token-Dlk7MMsC.js → auth-token-BFc70pes.js} +1 -1
- package/dist/{banner-DMfuBV69.js → banner-CwNmI5G-.js} +2 -2
- package/dist/{bonjour-discovery-BHz2I6_W.js → bonjour-discovery-eqJcK09r.js} +1 -1
- package/dist/{browser-cli-Dvwk4zAD.js → browser-cli-DCDPC5sg.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/session-memory/handler.js +52 -10
- package/dist/{call-BlWEBz99.js → call-D7jOWSFr.js} +10 -10
- package/dist/{channel-account-context-CQ6rCiGI.js → channel-account-context-DJ3rHgVO.js} +5 -5
- package/dist/{channel-activity-BZKeZQH-.js → channel-activity-wuB3-cfR.js} +1 -1
- package/dist/{channel-options-CQ-gER0J.js → channel-options-BS7BSU_5.js} +3 -3
- package/dist/{channel-selection-BqwS1Rlq.js → channel-selection-CFWQq1nS.js} +1 -1
- package/dist/{channel-web-LLzBxZrT.js → channel-web-C1qYz-HK.js} +17 -17
- package/dist/{channels-cli-D4xUEYYC.js → channels-cli-CVNqp5q7.js} +93 -93
- package/dist/{channels-status-issues-Dz1_R7Ah.js → channels-status-issues-Erzzhl2e.js} +1 -1
- package/dist/{chrome-CoRiYsNu.js → chrome-DiktJpMU.js} +4 -4
- package/dist/{clawbot-cli-2Zlim_pH.js → clawbot-cli-C3bt-FEP.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CAID9zkL.js → cli-Jyqv2jm8.js} +73 -73
- package/dist/{client-G9E5HGM2.js → client-COy24r9W.js} +2 -2
- package/dist/{command-registry-AHS8_9da.js → command-registry-DCojicSG.js} +11 -11
- package/dist/{command-secret-targets-DAu5nw-j.js → command-secret-targets-CZjP-Bm5.js} +4 -4
- package/dist/{commands-CnX9I_l4.js → commands-DDHiW-As.js} +1 -1
- package/dist/{commands-registry-_r_JONI4.js → commands-registry--ITOJ-cM.js} +3 -3
- package/dist/{completion-cli-BR1r9_h4.js → completion-cli-DCTv7Ejv.js} +13 -13
- package/dist/{config-cli-D0A8Awoo.js → config-cli-CSPSSP_R.js} +7 -7
- package/dist/{config-guard-BHy2f0hU.js → config-guard-CFauJm79.js} +3 -3
- package/dist/{config-validation-BkvDORAk.js → config-validation-Bt3LfFJ0.js} +3 -3
- package/dist/{configure-XmOqwwy9.js → configure-DAol2gT6.js} +17 -17
- package/dist/{control-ui-assets-BYEy341x.js → control-ui-assets-d6VtDSeo.js} +1 -1
- package/dist/{cron-cli-QwZcnjJc.js → cron-cli-yS1ww1k2.js} +11 -11
- package/dist/{daemon-cli-kJfDhzr8.js → daemon-cli-B-yZvTqZ.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-CL2RW5UB.js → deliver-D-IQEJ52.js} +7 -7
- package/dist/deliver-runtime-zICm26tE.js +61 -0
- package/dist/deps-send-discord.runtime-C_9HZQko.js +36 -0
- package/dist/deps-send-imessage.runtime-BMhGsWds.js +35 -0
- package/dist/deps-send-signal.runtime-BGhjYiu6.js +34 -0
- package/dist/deps-send-slack.runtime-DjBCu-RX.js +32 -0
- package/dist/{deps-send-telegram.runtime-BHaZAs2h.js → deps-send-telegram.runtime-Irv0ky5l.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-CU257URT.js +119 -0
- package/dist/{devices-cli-DlQGTogF.js → devices-cli-CPgutgUT.js} +8 -8
- package/dist/{diagnostic-CLEtu0MC.js → diagnostic-B4w80e4D.js} +1 -1
- package/dist/{diagnostics--O6mo6KH.js → diagnostics-m7hHHbuE.js} +5 -5
- package/dist/{directory-cli-K9qIwxYa.js → directory-cli-DqObADBL.js} +7 -7
- package/dist/{dns-cli-qtX-WNMF.js → dns-cli-CKbwsWBv.js} +5 -5
- package/dist/{dock-DJJAj46v.js → dock-W3cGg46W.js} +4 -4
- package/dist/{docs-cli--gGxz79Z.js → docs-cli-BpZtes_j.js} +4 -4
- package/dist/{doctor-completion-CZoEdMS-.js → doctor-completion--7PR_Vqz.js} +2 -2
- package/dist/{doctor-config-flow-C-h3yV4z.js → doctor-config-flow-BDF7TR6O.js} +15 -15
- package/dist/{enable-C8FNY18p.js → enable--Q7yLTZm.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CtSREgYh.js → exec-approvals-allowlist-B9bcJkGP.js} +1 -1
- package/dist/{exec-approvals-cli-BmM4RpVn.js → exec-approvals-cli-homtziYt.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CfQeDABF.js → exec-safe-bin-runtime-policy-DECo77U6.js} +2 -2
- package/dist/{fetch-guard-Dvzi3MjK.js → fetch-guard-CbtWqa1E.js} +1 -1
- package/dist/{fetch-CtoC2wgs.js → fetch-lq0SDLLE.js} +3 -3
- package/dist/{fs-safe-DPYj7h8A.js → fs-safe-BPQ-per2.js} +24 -24
- package/dist/{gateway-cli-BJHBChfI.js → gateway-cli-B3oqskb4.js} +153 -153
- package/dist/{gateway-rpc-D0AmaBzR.js → gateway-rpc-BBBN9ZJk.js} +1 -1
- package/dist/{health-XFKFZ7ZJ.js → health-CjXrJkCb.js} +11 -11
- package/dist/{hooks-cli-CXsZK8H9.js → hooks-cli--aKmd8c9.js} +81 -81
- package/dist/{hooks-status-DMFBAUq8.js → hooks-status-BlgSVDvN.js} +1 -1
- package/dist/{image-DSWTfuxv.js → image-BcYt63Jx.js} +5 -5
- package/dist/{image-ops-B2uuLIGD.js → image-ops-LFsSCTyI.js} +10 -10
- package/dist/image-runtime-Cxoxcx04.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-sHllwvAI.js → ipv4-B95173MB.js} +1 -1
- package/dist/{ir-BukzlgSp.js → ir-C7He5vmn.js} +8 -8
- package/dist/{issue-format-DCcINW-9.js → issue-format-CbTfB8Hy.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-CqFEhwHn.js → lifecycle-core-ChKClWdw.js} +5 -5
- package/dist/{login-zoeewfBu.js → login-CjzRATwO.js} +3 -3
- package/dist/{login-qr-B8P_EAd-.js → login-qr-CX0rs3A6.js} +6 -6
- package/dist/{logs-cli-D30BUN6y.js → logs-cli-DvHsw1WZ.js} +9 -9
- package/dist/{manager-5OzUkYLf.js → manager-BVfTfggO.js} +14 -14
- package/dist/{manager-runtime-BxXpVt3x.js → manager-runtime-BXJJSlzC.js} +9 -9
- package/dist/{manifest-registry-7kwtbCH-.js → manifest-registry-1ACGW3OR.js} +1 -1
- package/dist/{memory-cli-Dj8tyFtt.js → memory-cli-u8eyO3Ec.js} +12 -12
- package/dist/{model-B8p-EsdJ.js → model-D7hZpWTB.js} +2 -2
- package/dist/{model-catalog-BWuvEv1x.js → model-catalog-Drh9Rois.js} +3 -3
- package/dist/{model-picker-CLhaaagi.js → model-picker-DK_vvKCV.js} +4 -4
- package/dist/{models-5VXwJBU2.js → models-CFXLX9IF.js} +17 -17
- package/dist/{models-cli-Br56IHfy.js → models-cli-PHQyKESa.js} +78 -78
- package/dist/{models-config-poV-4Xlx.js → models-config-DAastTau.js} +6 -6
- package/dist/{net-CCnbGop3.js → net-CIh5ellr.js} +2 -2
- package/dist/{node-cli-C8hvYquX.js → node-cli-o9qcU9GJ.js} +33 -33
- package/dist/{node-command-policy-B_D5ucTj.js → node-command-policy-BeTSnoyk.js} +1 -1
- package/dist/{node-service-Z0JprJda.js → node-service-OVe0_CIs.js} +1 -1
- package/dist/{nodes-cli-IIc8fTKT.js → nodes-cli-kGx_Qa3c.js} +16 -16
- package/dist/{nodes-screen-DFFmbaXE.js → nodes-screen-BrMJzhot.js} +7 -7
- package/dist/{npm-pack-install-B887us7R.js → npm-pack-install-Dn3FiWXB.js} +18 -18
- package/dist/{npm-resolution-CKtyq4FH.js → npm-resolution-ky_uAlXE.js} +4 -4
- package/dist/{onboard-lFwpCpC3.js → onboard-D1Qy64JK.js} +6 -6
- package/dist/{onboard-channels-_kVo3Apf.js → onboard-channels-oJCC_sJX.js} +21 -21
- package/dist/{onboard-custom-CZtjqrY7.js → onboard-custom-CRpsaM3g.js} +4 -4
- package/dist/{onboard-helpers-BP429__H.js → onboard-helpers-DwEZeaoe.js} +10 -10
- package/dist/{onboard-hooks-CTbjgLDl.js → onboard-hooks-DyxckB2C.js} +4 -4
- package/dist/{onboard-remote-BlZB0AE9.js → onboard-remote-ZgpWNq9Z.js} +4 -4
- package/dist/{onboard-skills-BT2YOXeP.js → onboard-skills-DEijVfCg.js} +4 -4
- package/dist/{onboarding-EEd_g8Zg.js → onboarding-Mxqy4O1E.js} +14 -14
- package/dist/{onboarding.finalize-Cs1ukjFN.js → onboarding.finalize-DiOMx6A5.js} +90 -90
- package/dist/{onboarding.gateway-config-C6N8r5Is.js → onboarding.gateway-config-9wkBCzzO.js} +18 -18
- package/dist/{onboarding.secret-input-BTK1IG-J.js → onboarding.secret-input-DRnoQSlI.js} +1 -1
- package/dist/{openai-model-default-COzeuAI4.js → openai-model-default-DqE4bNtd.js} +2 -2
- package/dist/{outbound-B7m9Vcd2.js → outbound-CwzUo-rx.js} +3 -3
- package/dist/{outbound-attachment-fdEhzyl9.js → outbound-attachment-Bedqixj2.js} +2 -2
- package/dist/{pairing-cli-NhoRKes6.js → pairing-cli-CsYP0at7.js} +8 -8
- package/dist/{pairing-labels-CnTvFrUT.js → pairing-labels-CX4CtqRa.js} +1 -1
- package/dist/{pairing-store-D0eOXyby.js → pairing-store-BC4mnG9S.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-qCAK_a65.js → pi-embedded-helpers-DtCOZSv-.js} +6 -6
- package/dist/{pi-model-discovery-CKUePiDc.js → pi-model-discovery-Cr1q2cJt.js} +1 -1
- package/dist/{pi-model-discovery-runtime-CNLKih0w.js → pi-model-discovery-runtime-BHmdAKBK.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-Bba7rXQq.js → pi-tools.before-tool-call.runtime-duKHqrMc.js} +5 -5
- package/dist/{pi-tools.policy-BwWnFLLV.js → pi-tools.policy-D3RA94WF.js} +5 -5
- package/dist/{plugin-auto-enable-DJkHW_LG.js → plugin-auto-enable-a3TK3OPT.js} +3 -3
- package/dist/{plugin-registry-D3PnPE1D.js → plugin-registry-CFqqDqQV.js} +3 -3
- package/dist/{plugins-BDTkSIi7.js → plugins-Bc7YM9X-.js} +2 -2
- package/dist/{plugins-cli-BA_2daJe.js → plugins-cli-vQi8tFye.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-D_xdLzmM.js → program-Nott_VTb.js} +81 -81
- package/dist/{prompt-select-styled-BsheNEnh.js → prompt-select-styled-7mnlZgrQ.js} +40 -40
- package/dist/{provider-auth-helpers-B5kD4Lt6.js → provider-auth-helpers-_77rN3Zc.js} +5 -5
- package/dist/{proxy-env-CQTuxZoS.js → proxy-env-BiKHVg2h.js} +1 -1
- package/dist/{push-apns-BbenjEX4.js → push-apns-Ce1zzNYB.js} +5 -5
- package/dist/{pw-ai-wo5t_KO_.js → pw-ai-CAhTwexx.js} +18 -18
- package/dist/{qmd-manager-BkSWV1Q1.js → qmd-manager-BsL_hcOB.js} +20 -20
- package/dist/{qr-cli-DSMYIp-D.js → qr-cli-DzjBpGix.js} +2 -2
- package/dist/{query-expansion-DI9INxTg.js → query-expansion-C0HUJbRn.js} +12 -12
- package/dist/{redact-snapshot-B2YFI3cO.js → redact-snapshot-C0McNGqh.js} +1 -1
- package/dist/{register.agent-Dk_5V5oA.js → register.agent-DtjNdvUh.js} +94 -94
- package/dist/register.configure-BkwbM-hb.js +165 -0
- package/dist/{register.maintenance-CluQOq8b.js → register.maintenance-DERKsSgi.js} +95 -95
- package/dist/{register.message-BCTXT5yK.js → register.message-DkYxt6gZ.js} +74 -74
- package/dist/{register.onboard-C64oXnvq.js → register.onboard-BtfW83M0.js} +18 -18
- package/dist/{register.setup-Dl3nk2Ui.js → register.setup-Ba9gMkRk.js} +21 -21
- package/dist/{register.status-health-sessions-BHtbPeCO.js → register.status-health-sessions-BILdpWJV.js} +88 -88
- package/dist/{register.subclis-CDMFyaKR.js → register.subclis-Dfm_Zu31.js} +31 -31
- package/dist/{rpc-DA9IhLVG.js → rpc-mau2U4RG.js} +1 -1
- package/dist/{run-main-BcA22Ipv.js → run-main-BF7ybLIy.js} +93 -93
- package/dist/{runtime-BnbzNRr6.js → runtime-Bcmv4Epp.js} +3 -3
- package/dist/{runtime-config-collectors-CXJdhHRo.js → runtime-config-collectors-Bsjz4isf.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DRoK8G8H.js → runtime-whatsapp-login.runtime-COUEKxmy.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-C9OiwkWh.js → runtime-whatsapp-outbound.runtime-BaWH6-ns.js} +15 -15
- package/dist/{sandbox-cli-BwK2slfh.js → sandbox-cli-DOxm7fjR.js} +25 -25
- package/dist/{sandbox-C3TbYIHd.js → sandbox-ixDhkfHu.js} +18 -18
- package/dist/{secrets-cli-Beu2lcrf.js → secrets-cli-DvXznMUb.js} +11 -11
- package/dist/{security-cli-CcpKH_lC.js → security-cli-3WOXvJR-.js} +42 -42
- package/dist/{send-EVcbFVqn.js → send-BPgrWmUX.js} +5 -5
- package/dist/{send-RDqyJwZx.js → send-BVyLW1cn.js} +8 -8
- package/dist/{send-z-sMjqvX.js → send-BpkluEZ5.js} +4 -4
- package/dist/{send-CLI3CiQv.js → send-BuBTLRMz.js} +6 -6
- package/dist/{send-DEs83M9V.js → send-Do2preUU.js} +11 -11
- package/dist/{server-Bm-IxvZZ.js → server-DMAPnkgM.js} +20 -20
- package/dist/{server-context-Dw_4lGoI.js → server-context-Dd8UynDU.js} +12 -12
- package/dist/{server-lifecycle-DYgHYif9.js → server-lifecycle-BEZ2jsQ6.js} +2 -2
- package/dist/{server-middleware-BVAEuQs7.js → server-middleware-B_LyQkOL.js} +1 -1
- package/dist/{server-node-events-Q0cT2ifj.js → server-node-events-dr5CaM3M.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-XY6JwRhT.js → session-utils-D12gSo5W.js} +6 -6
- package/dist/{sessions-CMqv9JEu.js → sessions-C16G7L5c.js} +4 -4
- package/dist/{sessions-BWptzMw0.js → sessions-DgnXAQCc.js} +15 -15
- package/dist/{shared-BbVxcRzb.js → shared-BYny1RCF.js} +3 -3
- package/dist/{shared-D5DTxBPH.js → shared-By6_qr_R.js} +1 -1
- package/dist/{skill-commands-fU-Mejn9.js → skill-commands-BcigmiOW.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-ZXx6BNar.js → skills-cli-CqEjN0Yj.js} +5 -5
- package/dist/{skills-install-KD6dzNoZ.js → skills-install-CXVKvhIE.js} +6 -6
- package/dist/{skills-status-DkO7rxE8.js → skills-status-Bv8Xt7Lc.js} +1 -1
- package/dist/{slash-commands.runtime-CPlXJtuM.js → slash-commands.runtime-Bi99B_EP.js} +11 -11
- package/dist/slash-dispatch.runtime-reuPLnse.js +114 -0
- package/dist/{slash-skill-commands.runtime-Cnfq_5LN.js → slash-skill-commands.runtime-DOXmvOtU.js} +15 -15
- package/dist/{squidclaw-root-BQfLymzj.js → squidclaw-root-JXyRbQLJ.js} +8 -8
- package/dist/{status-cU9cJReo.js → status-Dnl-Um1D.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-CIgFD2oi.js → subagent-registry-CQA6P2FO.js} +149 -149
- package/dist/subagent-registry-runtime-CqgIWcSl.js +114 -0
- package/dist/{system-cli-i1FWZDjn.js → system-cli-CJAQxYHv.js} +9 -9
- package/dist/{system-run-command-COqCNIBg.js → system-run-command-BaSqmSwR.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-CIpKClDV.js → tables-CGh4CW_h.js} +1 -1
- package/dist/{tailnet-CZANZjq6.js → tailnet-DJq7Mi1o.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-CC_AbfZr.js → tui-BbcmzKaA.js} +6 -6
- package/dist/{tui-cli-DiJ7zKUD.js → tui-cli-Dv3jSm3x.js} +32 -32
- package/dist/{update-1JhjCqjy.js → update-BhRrb6BI.js} +3 -3
- package/dist/{update-cli-DM_dUip_.js → update-cli-Oe0fP8x9.js} +104 -104
- package/dist/{update-runner-BBJZmfZ4.js → update-runner-DdA6xBa9.js} +16 -16
- package/dist/web-w04Gvwqi.js +118 -0
- package/dist/{webhooks-cli-CzDd8ikc.js → webhooks-cli-CJLug1QH.js} +6 -6
- package/dist/{whatsapp-actions-MR_bBjXO.js → whatsapp-actions-_ca5OtHq.js} +17 -17
- package/dist/{with-timeout-BZ_Teugb.js → with-timeout-CFfRudNc.js} +3 -3
- package/dist/{workspace-D5vNjk5G.js → workspace-BbO-M3Jv.js} +1 -1
- package/dist/{workspace-dirs-CjMIsQti.js → workspace-dirs-D8D-Ghcl.js} +1 -1
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-C08pF1_3.js +0 -61
- package/dist/deps-send-discord.runtime-r80y9aXF.js +0 -36
- package/dist/deps-send-imessage.runtime-BmocBgPM.js +0 -35
- package/dist/deps-send-signal.runtime-ByJt6qz-.js +0 -34
- package/dist/deps-send-slack.runtime-C3UUEG9J.js +0 -32
- package/dist/deps-send-whatsapp.runtime-__ogpmJj.js +0 -119
- package/dist/image-runtime-cza2NTiZ.js +0 -55
- package/dist/register.configure-C8OFfGln.js +0 -165
- package/dist/slash-dispatch.runtime-BOMEVFk0.js +0 -114
- package/dist/subagent-registry-runtime-DGTjU9Lb.js +0 -114
- package/dist/web-CZhZC1EA.js +0 -118
|
@@ -2,58 +2,58 @@ import { g as getResolvedLoggerSettings } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import { r as isTruthyEnvValue$1 } from "./entry.js";
|
|
5
|
-
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-
|
|
5
|
+
import { Bi as CLAUDE_CLI_PROFILE_ID, Er as resolveConfiguredModelRef, G as writeConfigFile, Ii as DEFAULT_MODEL, Kn as repairOAuthProfileIdMismatch, Li as DEFAULT_PROVIDER, Or as resolveHooksGmailModel, V as readConfigFileSnapshot, Vi as CODEX_CLI_PROFILE_ID, d as resolveApiKeyForProfile, er as ensureAuthProfileStore, gr as getModelRefStatus, ir as updateAuthProfileStoreWithLock, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider } from "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-nEVgVklg.js";
|
|
8
8
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
9
9
|
import { S as sleep, v as resolveUserPath, x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
10
|
-
import { t as resolveSquidClawPackageRoot } from "./squidclaw-root-
|
|
10
|
+
import { t as resolveSquidClawPackageRoot } from "./squidclaw-root-JXyRbQLJ.js";
|
|
11
11
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-TSiqsZw1.js";
|
|
12
12
|
import { A as hasConfiguredSecretInput } from "./registry-BXcl3IkC.js";
|
|
13
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
14
|
-
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-
|
|
15
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
16
|
-
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadSquidClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-
|
|
13
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bv8Xt7Lc.js";
|
|
14
|
+
import { B as cleanStaleLockFiles, o as loadSessionStore, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-DgnXAQCc.js";
|
|
15
|
+
import { n as listChannelPlugins } from "./plugins-Bc7YM9X-.js";
|
|
16
|
+
import { Nn as analyzeBootstrapBudget, Pn as buildBootstrapInjectionStats, b as loadSquidClawPlugins, dn as buildAuthHealthSummary, fn as formatRemainingShort, un as DEFAULT_OAUTH_WARN_MS, vr as resolveAgentSessionDirs, wr as resolveBootstrapContextForRun } from "./subagent-registry-CQA6P2FO.js";
|
|
17
17
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-Dn_rzeZN.js";
|
|
18
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
-
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-
|
|
20
|
-
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-
|
|
21
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
22
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
23
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
24
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
18
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-D7jOWSFr.js";
|
|
19
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-CIh5ellr.js";
|
|
20
|
+
import { B as resolveBootstrapTotalMaxChars, R as resolveBootstrapMaxChars } from "./pi-embedded-helpers-DtCOZSv-.js";
|
|
21
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-ixDhkfHu.js";
|
|
22
|
+
import { a as resolveGatewayAuth } from "./auth-BlP9BwaD.js";
|
|
23
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-DMeUt80n.js";
|
|
24
|
+
import { n as loadModelCatalog } from "./model-catalog-Drh9Rois.js";
|
|
25
25
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-vBANYkEo.js";
|
|
26
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
27
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
28
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
26
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-D3RA94WF.js";
|
|
27
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-CsGe5QCP.js";
|
|
28
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-DwEZeaoe.js";
|
|
29
29
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-D_i_ws0g.js";
|
|
30
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
31
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
30
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-u8eyO3Ec.js";
|
|
31
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-BVfTfggO.js";
|
|
32
32
|
import { t as note$1 } from "./note-IoQo8Ol0.js";
|
|
33
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
34
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
33
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-Erzzhl2e.js";
|
|
34
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CZDVO_MU.js";
|
|
35
35
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
36
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
37
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
38
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
39
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics
|
|
40
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
41
|
-
import { r as healthCommand } from "./health-
|
|
42
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
43
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
44
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
36
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-B86VePXs.js";
|
|
37
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-B5T42CWZ.js";
|
|
38
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BmFWZu_j.js";
|
|
39
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-m7hHHbuE.js";
|
|
40
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CzsXBsew.js";
|
|
41
|
+
import { r as healthCommand } from "./health-CjXrJkCb.js";
|
|
42
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-d6VtDSeo.js";
|
|
43
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-DJ3rHgVO.js";
|
|
44
|
+
import { t as runGatewayUpdate } from "./update-runner-DdA6xBa9.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-ZAeFsd9K.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BDF7TR6O.js";
|
|
47
47
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-6-9iUInB.js";
|
|
48
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
48
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-w7fvBU-1.js";
|
|
49
49
|
import { t as formatHealthCheckFailure } from "./health-format-eNDYxTNS.js";
|
|
50
|
-
import { n as doctorShellCompletion } from "./doctor-completion
|
|
50
|
+
import { n as doctorShellCompletion } from "./doctor-completion--7PR_Vqz.js";
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import fs from "node:fs";
|
|
55
55
|
import { promisify } from "node:util";
|
|
56
|
-
import
|
|
56
|
+
import fsPromises from "node:fs/promises";
|
|
57
57
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
58
58
|
|
|
59
59
|
//#region src/commands/doctor-auth.ts
|
|
@@ -604,16 +604,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
604
604
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
605
605
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
606
606
|
try {
|
|
607
|
-
await
|
|
607
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
608
608
|
} catch {}
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fsPromises.access(params.plistPath);
|
|
611
611
|
} catch {
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
614
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
615
615
|
try {
|
|
616
|
-
await
|
|
616
|
+
await fsPromises.rename(params.plistPath, dest);
|
|
617
617
|
return dest;
|
|
618
618
|
} catch {
|
|
619
619
|
return null;
|
|
@@ -1952,11 +1952,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1952
1952
|
argv1: process.argv[1]
|
|
1953
1953
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1954
1954
|
try {
|
|
1955
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1955
|
+
const [schemaStats, uiStats] = await Promise.all([fsPromises.stat(schemaPath).catch(() => null), fsPromises.stat(uiIndexPath).catch(() => null)]);
|
|
1956
1956
|
if (schemaStats && !uiStats) {
|
|
1957
1957
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1958
1958
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1959
|
-
if (!await
|
|
1959
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1960
1960
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
@@ -2001,7 +2001,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
2001
2001
|
initialValue: true
|
|
2002
2002
|
})) {
|
|
2003
2003
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
2004
|
-
if (!await
|
|
2004
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
2005
2005
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
2006
2006
|
return;
|
|
2007
2007
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
2
|
-
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-
|
|
3
|
-
import { b as loadSquidClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
2
|
+
import { Sr as normalizeProviderId, Zn as upsertAuthProfile, er as ensureAuthProfileStore } from "./auth-profiles-9T4j6jMy.js";
|
|
3
|
+
import { b as loadSquidClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CQA6P2FO.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-CsGe5QCP.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-D_i_ws0g.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-BYny1RCF.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-BFc70pes.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-ZAeFsd9K.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-
|
|
1
|
+
import { Ct as isLegacyIpv4Literal, Ot as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv6Address, gt as isBlockedSpecialUseIpv4Address, ht as extractEmbeddedIpv4FromIpv6, kt as parseLooseIpAddress, vt as isCanonicalDottedDecimalIPv4, xt as isIpv4Address } from "./auth-profiles-9T4j6jMy.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -2,13 +2,13 @@ import { r as isVerbose } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
5
|
-
import { g as sniffMimeFromBase64 } from "./subagent-registry-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { g as sniffMimeFromBase64 } from "./subagent-registry-CQA6P2FO.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-rR19q30D.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-DknVdX-O.js";
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-D6mmxuWS.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fsPromises.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -2,11 +2,11 @@ import { k as resolvePreferredSquidClawTmpDir } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import "./paths-CHIu6D1E.js";
|
|
3
3
|
import "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-nEVgVklg.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,20 +14,20 @@ 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-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./net-
|
|
20
|
-
import "./tailnet-
|
|
21
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
22
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-
|
|
17
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
18
|
+
import "./path-alias-guards-DeOVetT7.js";
|
|
19
|
+
import "./net-CIh5ellr.js";
|
|
20
|
+
import "./tailnet-DJq7Mi1o.js";
|
|
21
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-DiktJpMU.js";
|
|
22
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE } from "./paths-D6mnO6Ni.js";
|
|
23
23
|
import "./redact-DknVdX-O.js";
|
|
24
24
|
import { r as formatErrorMessage } from "./errors-BnRmsfe-.js";
|
|
25
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
26
|
-
import "./proxy-env-
|
|
27
|
-
import "./ports-
|
|
28
|
-
import { n as markPwAiLoaded } from "./runtime-whatsapp-login.runtime-
|
|
25
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-BPQ-per2.js";
|
|
26
|
+
import "./proxy-env-BiKHVg2h.js";
|
|
27
|
+
import "./ports-DMeUt80n.js";
|
|
28
|
+
import { n as markPwAiLoaded } from "./runtime-whatsapp-login.runtime-COUEKxmy.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fsPromises from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -547,9 +547,9 @@ function buildSiblingTempPath(targetPath) {
|
|
|
547
547
|
return path.join(path.dirname(targetPath), `.squidclaw-output-${id}-${safeTail}.part`);
|
|
548
548
|
}
|
|
549
549
|
async function writeViaSiblingTempPath(params) {
|
|
550
|
-
const rootDir = await
|
|
550
|
+
const rootDir = await fsPromises.realpath(path.resolve(params.rootDir)).catch(() => path.resolve(params.rootDir));
|
|
551
551
|
const requestedTargetPath = path.resolve(params.targetPath);
|
|
552
|
-
const targetPath = await
|
|
552
|
+
const targetPath = await fsPromises.realpath(path.dirname(requestedTargetPath)).then((realDir) => path.join(realDir, path.basename(requestedTargetPath))).catch(() => requestedTargetPath);
|
|
553
553
|
const relativeTargetPath = path.relative(rootDir, targetPath);
|
|
554
554
|
if (!relativeTargetPath || relativeTargetPath === ".." || relativeTargetPath.startsWith(`..${path.sep}`) || path.isAbsolute(relativeTargetPath)) throw new Error("Target path is outside the allowed root");
|
|
555
555
|
const tempPath = buildSiblingTempPath(targetPath);
|
|
@@ -564,7 +564,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
564
564
|
});
|
|
565
565
|
renameSucceeded = true;
|
|
566
566
|
} finally {
|
|
567
|
-
if (!renameSucceeded) await
|
|
567
|
+
if (!renameSucceeded) await fsPromises.rm(tempPath, { force: true }).catch(() => {});
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -955,7 +955,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
955
955
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
956
956
|
const requestedPath = outPath?.trim();
|
|
957
957
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
958
|
-
await
|
|
958
|
+
await fsPromises.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
959
959
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
960
960
|
else await writeViaSiblingTempPath({
|
|
961
961
|
rootDir: path.dirname(resolvedOutPath),
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./globals-BrhVUl-N.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-nEVgVklg.js";
|
|
5
5
|
import { E as parseAgentSessionKey } from "./session-key-k6urs9r-.js";
|
|
6
6
|
import "./utils-D6vohX1h.js";
|
|
7
|
-
import "./squidclaw-root-
|
|
7
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
8
8
|
import "./logger-DL3N22PJ.js";
|
|
9
9
|
import "./exec-TSiqsZw1.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-DeOVetT7.js";
|
|
11
11
|
import "./paths-Dn_rzeZN.js";
|
|
12
12
|
import "./redact-DknVdX-O.js";
|
|
13
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
13
|
+
import { l as writeFileWithinRoot } from "./fs-safe-BPQ-per2.js";
|
|
14
14
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-BTikdM3p.js";
|
|
15
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
15
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-C0HUJbRn.js";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fsPromises from "node:fs/promises";
|
|
20
20
|
import readline from "node:readline";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/qmd-scope.ts
|
|
@@ -292,10 +292,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
292
292
|
async initialize(mode) {
|
|
293
293
|
this.bootstrapCollections();
|
|
294
294
|
if (mode === "status") return;
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
await
|
|
298
|
-
if (this.sessionExporter) await
|
|
295
|
+
await fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
296
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
297
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
298
|
+
if (this.sessionExporter) await fsPromises.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
299
299
|
await this.symlinkSharedModels();
|
|
300
300
|
await this.ensureCollections();
|
|
301
301
|
if (this.qmd.update.onBoot) {
|
|
@@ -388,7 +388,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
388
388
|
}
|
|
389
389
|
async ensureCollectionPath(collection) {
|
|
390
390
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
391
|
-
await
|
|
391
|
+
await fsPromises.mkdir(collection.path, { recursive: true });
|
|
392
392
|
}
|
|
393
393
|
isDirectoryGlobPattern(pattern) {
|
|
394
394
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -832,19 +832,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
832
832
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
833
833
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
834
834
|
try {
|
|
835
|
-
if (!(await
|
|
835
|
+
if (!(await fsPromises.stat(defaultModelsDir).catch((err) => {
|
|
836
836
|
if (err.code === "ENOENT") return null;
|
|
837
837
|
throw err;
|
|
838
838
|
}))?.isDirectory()) return;
|
|
839
839
|
try {
|
|
840
|
-
await
|
|
840
|
+
await fsPromises.lstat(targetModelsDir);
|
|
841
841
|
return;
|
|
842
842
|
} catch {}
|
|
843
843
|
try {
|
|
844
|
-
await
|
|
844
|
+
await fsPromises.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
845
845
|
} catch (symlinkErr) {
|
|
846
846
|
const code = symlinkErr.code;
|
|
847
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
847
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fsPromises.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
848
848
|
else throw symlinkErr;
|
|
849
849
|
}
|
|
850
850
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1020,7 +1020,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1020
1020
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1021
1021
|
let handle;
|
|
1022
1022
|
try {
|
|
1023
|
-
handle = await
|
|
1023
|
+
handle = await fsPromises.open(absPath);
|
|
1024
1024
|
} catch (err) {
|
|
1025
1025
|
if (isFileMissingError(err)) return { missing: true };
|
|
1026
1026
|
throw err;
|
|
@@ -1052,7 +1052,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1052
1052
|
try {
|
|
1053
1053
|
return {
|
|
1054
1054
|
missing: false,
|
|
1055
|
-
text: await
|
|
1055
|
+
text: await fsPromises.readFile(absPath, "utf-8")
|
|
1056
1056
|
};
|
|
1057
1057
|
} catch (err) {
|
|
1058
1058
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1069,7 +1069,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1069
1069
|
async exportSessions() {
|
|
1070
1070
|
if (!this.sessionExporter) return;
|
|
1071
1071
|
const exportDir = this.sessionExporter.dir;
|
|
1072
|
-
await
|
|
1072
|
+
await fsPromises.mkdir(exportDir, { recursive: true });
|
|
1073
1073
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1074
1074
|
const keep = /* @__PURE__ */ new Set();
|
|
1075
1075
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1095,11 +1095,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
keep.add(target);
|
|
1097
1097
|
}
|
|
1098
|
-
const exported = await
|
|
1098
|
+
const exported = await fsPromises.readdir(exportDir).catch(() => []);
|
|
1099
1099
|
for (const name of exported) {
|
|
1100
1100
|
if (!name.endsWith(".md")) continue;
|
|
1101
1101
|
const full = path.join(exportDir, name);
|
|
1102
|
-
if (!keep.has(full)) await
|
|
1102
|
+
if (!keep.has(full)) await fsPromises.rm(full, { force: true });
|
|
1103
1103
|
}
|
|
1104
1104
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1105
1105
|
}
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { p as theme } from "./globals-BrhVUl-N.js";
|
|
3
3
|
import { u as resolveGatewayPort } from "./paths-CHIu6D1E.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
5
|
-
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { Et as isRfc1918Ipv4Address, lt as secretRefKey, x as resolveSecretRefValues, yt as isCarrierGradeNatIpv4Address, z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-TSiqsZw1.js";
|
|
7
7
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-BXcl3IkC.js";
|
|
8
|
-
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
8
|
+
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-CZjP-Bm5.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import qrcode from "qrcode-terminal";
|
|
@@ -6,7 +6,7 @@ import { n as redactSensitiveText } from "./redact-DknVdX-O.js";
|
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/memory/fs-utils.ts
|
|
@@ -16,7 +16,7 @@ function isFileMissingError(err) {
|
|
|
16
16
|
async function statRegularFile(absPath) {
|
|
17
17
|
let stat;
|
|
18
18
|
try {
|
|
19
|
-
stat = await
|
|
19
|
+
stat = await fsPromises.lstat(absPath);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
if (isFileMissingError(err)) return { missing: true };
|
|
22
22
|
throw err;
|
|
@@ -51,7 +51,7 @@ function isMemoryPath(relPath) {
|
|
|
51
51
|
return normalized.startsWith("memory/");
|
|
52
52
|
}
|
|
53
53
|
async function walkDir(dir, files) {
|
|
54
|
-
const entries = await
|
|
54
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true });
|
|
55
55
|
for (const entry of entries) {
|
|
56
56
|
const full = path.join(dir, entry.name);
|
|
57
57
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -71,7 +71,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
71
71
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
72
72
|
const addMarkdownFile = async (absPath) => {
|
|
73
73
|
try {
|
|
74
|
-
const stat = await
|
|
74
|
+
const stat = await fsPromises.lstat(absPath);
|
|
75
75
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
76
76
|
if (!absPath.endsWith(".md")) return;
|
|
77
77
|
result.push(absPath);
|
|
@@ -80,12 +80,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
80
80
|
await addMarkdownFile(memoryFile);
|
|
81
81
|
await addMarkdownFile(altMemoryFile);
|
|
82
82
|
try {
|
|
83
|
-
const dirStat = await
|
|
83
|
+
const dirStat = await fsPromises.lstat(memoryDir);
|
|
84
84
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
85
85
|
} catch {}
|
|
86
86
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
87
87
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
88
|
-
const stat = await
|
|
88
|
+
const stat = await fsPromises.lstat(inputPath);
|
|
89
89
|
if (stat.isSymbolicLink()) continue;
|
|
90
90
|
if (stat.isDirectory()) {
|
|
91
91
|
await walkDir(inputPath, result);
|
|
@@ -99,7 +99,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
99
99
|
for (const entry of result) {
|
|
100
100
|
let key = entry;
|
|
101
101
|
try {
|
|
102
|
-
key = await
|
|
102
|
+
key = await fsPromises.realpath(entry);
|
|
103
103
|
} catch {}
|
|
104
104
|
if (seen.has(key)) continue;
|
|
105
105
|
seen.add(key);
|
|
@@ -113,14 +113,14 @@ function hashText(value) {
|
|
|
113
113
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
114
114
|
let stat;
|
|
115
115
|
try {
|
|
116
|
-
stat = await
|
|
116
|
+
stat = await fsPromises.stat(absPath);
|
|
117
117
|
} catch (err) {
|
|
118
118
|
if (isFileMissingError(err)) return null;
|
|
119
119
|
throw err;
|
|
120
120
|
}
|
|
121
121
|
let content;
|
|
122
122
|
try {
|
|
123
|
-
content = await
|
|
123
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
124
124
|
} catch (err) {
|
|
125
125
|
if (isFileMissingError(err)) return null;
|
|
126
126
|
throw err;
|
|
@@ -254,7 +254,7 @@ const log = createSubsystemLogger("memory");
|
|
|
254
254
|
async function listSessionFilesForAgent(agentId) {
|
|
255
255
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
256
256
|
try {
|
|
257
|
-
return (await
|
|
257
|
+
return (await fsPromises.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
258
258
|
} catch {
|
|
259
259
|
return [];
|
|
260
260
|
}
|
|
@@ -284,8 +284,8 @@ function extractSessionText(content) {
|
|
|
284
284
|
}
|
|
285
285
|
async function buildSessionEntry(absPath) {
|
|
286
286
|
try {
|
|
287
|
-
const stat = await
|
|
288
|
-
const lines = (await
|
|
287
|
+
const stat = await fsPromises.stat(absPath);
|
|
288
|
+
const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
|
|
289
289
|
const collected = [];
|
|
290
290
|
const lineMap = [];
|
|
291
291
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
2
|
-
import { at as sensitive } from "./auth-profiles-
|
|
2
|
+
import { at as sensitive } from "./auth-profiles-9T4j6jMy.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|