squidclaw 3.0.25 → 3.0.26
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-BH9Qo1sQ.js → accounts-BK8I0Svb.js} +7 -7
- package/dist/{accounts-s5e9zidf.js → accounts-C7pGQPcS.js} +2 -2
- package/dist/{accounts-Cuwg9Tan.js → accounts-DeqNOvBo.js} +1 -1
- package/dist/{accounts-Bkb-J8V6.js → accounts-DjhBQg_8.js} +2 -2
- package/dist/{accounts-B6F_XCgS.js → accounts-DwGoZKGm.js} +17 -17
- package/dist/{accounts-B1RxFghM.js → accounts-KzgPbLHP.js} +1 -1
- package/dist/{acp-cli-Ch55Vzud.js → acp-cli-BwG98FYT.js} +8 -8
- package/dist/{active-listener-6-Svu8Dx.js → active-listener-DPc_PGsA.js} +2 -2
- package/dist/{agent-scope-nEVgVklg.js → agent-scope-Cq4vDGrK.js} +17 -17
- package/dist/{agents-B-ig6ydU.js → agents-DXKtU4Il.js} +14 -14
- package/dist/{agents.config-w_Z6Fb4-.js → agents.config-BM-2SLCh.js} +2 -2
- package/dist/{api-key-rotation-JPmjv-c0.js → api-key-rotation-6i41mEc9.js} +1 -1
- package/dist/{api-key-rotation-TRwuCWbu.js → api-key-rotation-DVyYtQxC.js} +2 -2
- package/dist/{audio-preflight-1KULThhV.js → audio-preflight-BUCBED7N.js} +32 -32
- package/dist/{audio-preflight-lT9iRnYi.js → audio-preflight-Bzo_zN4j.js} +4 -4
- package/dist/{audio-preflight-CZ--cSZh.js → audio-preflight-C-JCwUKe.js} +34 -34
- package/dist/{audio-transcription-runner-YiR1ym3a.js → audio-transcription-runner-Cp_lkLCv.js} +1 -1
- package/dist/{audio-transcription-runner-C3N9eAGM.js → audio-transcription-runner-Cv0Q47cM.js} +12 -12
- package/dist/{audio-transcription-runner-D-uxpkbd.js → audio-transcription-runner-DvQksGUE.js} +23 -23
- package/dist/{audit-JLT1FqTt.js → audit-DLTgNDFw.js} +29 -29
- package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- package/dist/{auth-BlP9BwaD.js → auth-CuObxnC4.js} +1 -1
- package/dist/{auth-choice-Czu7271G.js → auth-choice-BVQQneHM.js} +13 -13
- package/dist/{auth-choice-ORZHjbsv.js → auth-choice-CXepQc7c.js} +11 -11
- package/dist/{auth-choice.apply-helpers-CdoXMtxm.js → auth-choice.apply-helpers-p1y_DmDT.js} +1 -1
- package/dist/{auth-profiles-9T4j6jMy.js → auth-profiles-CX4YYu7Z.js} +16 -16
- package/dist/{auth-token-BFc70pes.js → auth-token-Dlk7MMsC.js} +1 -1
- package/dist/{banner-CwNmI5G-.js → banner-DMfuBV69.js} +2 -2
- package/dist/{bonjour-discovery-eqJcK09r.js → bonjour-discovery-BHz2I6_W.js} +1 -1
- package/dist/{browser-cli-DCDPC5sg.js → browser-cli-Dvwk4zAD.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +134 -63
- package/dist/{call-D7jOWSFr.js → call-BlWEBz99.js} +10 -10
- package/dist/{channel-account-context-DJ3rHgVO.js → channel-account-context-CQ6rCiGI.js} +5 -5
- package/dist/{channel-activity-wuB3-cfR.js → channel-activity-BZKeZQH-.js} +1 -1
- package/dist/{channel-activity-CxJbx4sD.js → channel-activity-CPpt4XaL.js} +3 -3
- package/dist/{channel-options-BS7BSU_5.js → channel-options-CQ-gER0J.js} +3 -3
- package/dist/{channel-selection-CFWQq1nS.js → channel-selection-BqwS1Rlq.js} +1 -1
- package/dist/{channel-web-C1qYz-HK.js → channel-web-LLzBxZrT.js} +17 -17
- package/dist/{channels-cli-CVNqp5q7.js → channels-cli-D4xUEYYC.js} +93 -93
- package/dist/{channels-status-issues-Erzzhl2e.js → channels-status-issues-Dz1_R7Ah.js} +1 -1
- package/dist/{chrome-CuBHInKC.js → chrome-CZQnp4VH.js} +8 -8
- package/dist/{chrome-DiktJpMU.js → chrome-CoRiYsNu.js} +4 -4
- package/dist/{chrome-Qbvnl6so.js → chrome-OgCChbC_.js} +18 -18
- package/dist/{clawbot-cli-C3bt-FEP.js → clawbot-cli-2Zlim_pH.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Jyqv2jm8.js → cli-CAID9zkL.js} +73 -73
- package/dist/{client-COy24r9W.js → client-G9E5HGM2.js} +2 -2
- package/dist/{command-registry-DCojicSG.js → command-registry-AHS8_9da.js} +11 -11
- package/dist/{command-secret-targets-CZjP-Bm5.js → command-secret-targets-DAu5nw-j.js} +4 -4
- package/dist/{commands-DDHiW-As.js → commands-CnX9I_l4.js} +1 -1
- package/dist/{commands-registry-B44COZFz.js → commands-registry-BJjv8_oR.js} +4 -4
- package/dist/{commands-registry--ITOJ-cM.js → commands-registry-_r_JONI4.js} +3 -3
- package/dist/{completion-cli-DCTv7Ejv.js → completion-cli-BR1r9_h4.js} +13 -13
- package/dist/{config-cli-CSPSSP_R.js → config-cli-D0A8Awoo.js} +7 -7
- package/dist/{config-guard-CFauJm79.js → config-guard-BHy2f0hU.js} +3 -3
- package/dist/{config-validation-Bt3LfFJ0.js → config-validation-BkvDORAk.js} +3 -3
- package/dist/{configure-DAol2gT6.js → configure-XmOqwwy9.js} +17 -17
- package/dist/{control-ui-assets-d6VtDSeo.js → control-ui-assets-BYEy341x.js} +1 -1
- package/dist/{cron-cli-yS1ww1k2.js → cron-cli-QwZcnjJc.js} +11 -11
- package/dist/{daemon-cli-B-yZvTqZ.js → daemon-cli-kJfDhzr8.js} +15 -15
- package/dist/{daemon-install-CbPLNiIP.js → daemon-install-Chxlu9Kv.js} +4 -4
- package/dist/{daemon-install-helpers-CZDVO_MU.js → daemon-install-helpers-CJtiW2RE.js} +11 -11
- package/dist/{deliver-6zfT7daI.js → deliver-B4WWPQvt.js} +1 -1
- package/dist/{deliver-D-IQEJ52.js → deliver-CL2RW5UB.js} +7 -7
- package/dist/{deliver-BC5egJvm.js → deliver-DMTUTpTM.js} +21 -21
- package/dist/deliver-runtime-B80olQwJ.js +36 -0
- package/dist/deliver-runtime-C08pF1_3.js +61 -0
- package/dist/{deliver-runtime-MBexxUuG.js → deliver-runtime-CeE1X9si.js} +3 -3
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +26 -0
- package/dist/deps-send-discord.runtime-r80y9aXF.js +36 -0
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +25 -0
- package/dist/deps-send-imessage.runtime-BmocBgPM.js +35 -0
- package/dist/deps-send-signal.runtime-ByJt6qz-.js +34 -0
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +24 -0
- package/dist/deps-send-slack.runtime-C3UUEG9J.js +32 -0
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +22 -0
- package/dist/{deps-send-telegram.runtime-Irv0ky5l.js → deps-send-telegram.runtime-BHaZAs2h.js} +16 -16
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +27 -0
- package/dist/deps-send-whatsapp.runtime-4aOUBP2J.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-CrxkfP31.js → deps-send-whatsapp.runtime-COv_qoD2.js} +7 -7
- package/dist/deps-send-whatsapp.runtime-__ogpmJj.js +119 -0
- package/dist/{devices-cli-CPgutgUT.js → devices-cli-DlQGTogF.js} +8 -8
- package/dist/{diagnostic-B4w80e4D.js → diagnostic-CLEtu0MC.js} +1 -1
- package/dist/{diagnostic-C2lklhkn.js → diagnostic-CnVwZNbm.js} +2 -2
- package/dist/{diagnostics-m7hHHbuE.js → diagnostics--O6mo6KH.js} +5 -5
- package/dist/{directory-cli-DqObADBL.js → directory-cli-K9qIwxYa.js} +7 -7
- package/dist/{dns-cli-CKbwsWBv.js → dns-cli-qtX-WNMF.js} +5 -5
- package/dist/{dock-W3cGg46W.js → dock-DJJAj46v.js} +4 -4
- package/dist/{docs-cli-BpZtes_j.js → docs-cli--gGxz79Z.js} +4 -4
- package/dist/{doctor-completion--7PR_Vqz.js → doctor-completion-CZoEdMS-.js} +2 -2
- package/dist/{doctor-config-flow-BDF7TR6O.js → doctor-config-flow-C-h3yV4z.js} +15 -15
- package/dist/{enable--Q7yLTZm.js → enable-C8FNY18p.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DfgAh2Ml.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/{exec-approvals-allowlist-B9bcJkGP.js → exec-approvals-allowlist-CtSREgYh.js} +1 -1
- package/dist/{exec-approvals-cli-homtziYt.js → exec-approvals-cli-BmM4RpVn.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DECo77U6.js → exec-safe-bin-runtime-policy-CfQeDABF.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-lq0SDLLE.js → fetch-CtoC2wgs.js} +3 -3
- package/dist/{fetch-b8tSR7_e.js → fetch-DP-JjB6Z.js} +5 -5
- package/dist/{fetch-guard-D16tjNsZ.js → fetch-guard-BDy975wP.js} +2 -2
- package/dist/{fetch-guard-CbtWqa1E.js → fetch-guard-Dvzi3MjK.js} +1 -1
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- package/dist/{fs-safe-BPQ-per2.js → fs-safe-DPYj7h8A.js} +24 -24
- package/dist/{gateway-cli-B3oqskb4.js → gateway-cli-BJHBChfI.js} +153 -153
- package/dist/{gateway-rpc-BBBN9ZJk.js → gateway-rpc-D0AmaBzR.js} +1 -1
- package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- package/dist/{health-CjXrJkCb.js → health-XFKFZ7ZJ.js} +11 -11
- package/dist/{hooks-cli--aKmd8c9.js → hooks-cli-CXsZK8H9.js} +81 -81
- package/dist/{hooks-status-BlgSVDvN.js → hooks-status-DMFBAUq8.js} +1 -1
- package/dist/{image-VgwN31FZ.js → image-DKkuLtZ4.js} +1 -1
- package/dist/{image-BcYt63Jx.js → image-DSWTfuxv.js} +5 -5
- package/dist/{image-ByqExb8z.js → image-kKMG59st.js} +6 -6
- package/dist/{image-ops-LFsSCTyI.js → image-ops-B2uuLIGD.js} +10 -10
- package/dist/{image-ops-BoN1E_WZ.js → image-ops-Dg8iraUV.js} +2 -2
- package/dist/{image-runtime-CwMuTYvd.js → image-runtime-BMavqm9n.js} +3 -3
- package/dist/image-runtime-BqIv7p_K.js +29 -0
- package/dist/image-runtime-cza2NTiZ.js +55 -0
- package/dist/{inspect-CzsXBsew.js → inspect-4c1uL0x5.js} +4 -4
- package/dist/{install-safe-path-DqI19VEv.js → install-safe-path-3muwy3fu.js} +25 -25
- package/dist/{installs-P-pYAJm1.js → installs-BiQDtPF0.js} +9 -9
- package/dist/{ipv4-B95173MB.js → ipv4-sHllwvAI.js} +1 -1
- package/dist/{ir-C7He5vmn.js → ir-BukzlgSp.js} +8 -8
- package/dist/{ir-Dut0zXyS.js → ir-CKK03mBV.js} +8 -8
- package/dist/{issue-format-CbTfB8Hy.js → issue-format-DCcINW-9.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/{lifecycle-core-ChKClWdw.js → lifecycle-core-CqFEhwHn.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
- package/dist/{login-DJ357UQV.js → login-CeKDrz6_.js} +5 -5
- package/dist/{login-qr-CX0rs3A6.js → login-qr-B8P_EAd-.js} +6 -6
- package/dist/{login-qr-C0fDBnpM.js → login-qr-KbOpR0GQ.js} +10 -10
- package/dist/{login-CjzRATwO.js → login-zoeewfBu.js} +3 -3
- package/dist/{logs-cli-DvHsw1WZ.js → logs-cli-D30BUN6y.js} +9 -9
- package/dist/{manager-BVfTfggO.js → manager-5OzUkYLf.js} +14 -14
- package/dist/{manager-BPGhs30n.js → manager-DINhLnMi.js} +13 -13
- package/dist/{manager-runtime-BXJJSlzC.js → manager-runtime-BxXpVt3x.js} +9 -9
- package/dist/manager-runtime-D6ckUNSs.js +18 -0
- package/dist/{manifest-registry-1ACGW3OR.js → manifest-registry-7kwtbCH-.js} +1 -1
- package/dist/{memory-cli-u8eyO3Ec.js → memory-cli-Dj8tyFtt.js} +12 -12
- package/dist/{model-D7hZpWTB.js → model-B8p-EsdJ.js} +2 -2
- package/dist/{model-catalog-Drh9Rois.js → model-catalog-BWuvEv1x.js} +3 -3
- package/dist/{model-picker-DK_vvKCV.js → model-picker-CLhaaagi.js} +4 -4
- package/dist/{model-selection-CHnojCCK.js → model-selection-DuNLFQPR.js} +43 -43
- package/dist/{models-CFXLX9IF.js → models-5VXwJBU2.js} +17 -17
- package/dist/{models-cli-PHQyKESa.js → models-cli-Br56IHfy.js} +78 -78
- package/dist/{models-config-DAastTau.js → models-config-poV-4Xlx.js} +6 -6
- package/dist/{net-CIh5ellr.js → net-CCnbGop3.js} +2 -2
- package/dist/{node-cli-o9qcU9GJ.js → node-cli-C8hvYquX.js} +33 -33
- package/dist/{node-command-policy-BeTSnoyk.js → node-command-policy-B_D5ucTj.js} +1 -1
- package/dist/{node-service-OVe0_CIs.js → node-service-Z0JprJda.js} +1 -1
- package/dist/{nodes-cli-kGx_Qa3c.js → nodes-cli-IIc8fTKT.js} +16 -16
- package/dist/{nodes-screen-BrMJzhot.js → nodes-screen-DFFmbaXE.js} +7 -7
- package/dist/{npm-pack-install-Dn3FiWXB.js → npm-pack-install-B887us7R.js} +18 -18
- package/dist/{npm-resolution-ky_uAlXE.js → npm-resolution-CKtyq4FH.js} +4 -4
- package/dist/{onboard-channels-oJCC_sJX.js → onboard-channels-_kVo3Apf.js} +21 -21
- package/dist/{onboard-custom-CRpsaM3g.js → onboard-custom-CZtjqrY7.js} +4 -4
- package/dist/{onboard-helpers-DwEZeaoe.js → onboard-helpers-BP429__H.js} +10 -10
- package/dist/{onboard-hooks-DyxckB2C.js → onboard-hooks-CTbjgLDl.js} +4 -4
- package/dist/{onboard-D1Qy64JK.js → onboard-lFwpCpC3.js} +6 -6
- package/dist/{onboard-remote-ZgpWNq9Z.js → onboard-remote-BlZB0AE9.js} +4 -4
- package/dist/{onboard-skills-DEijVfCg.js → onboard-skills-BT2YOXeP.js} +4 -4
- package/dist/{onboarding-Mxqy4O1E.js → onboarding-EEd_g8Zg.js} +14 -14
- package/dist/{onboarding.finalize-DiOMx6A5.js → onboarding.finalize-Cs1ukjFN.js} +90 -90
- package/dist/{onboarding.gateway-config-9wkBCzzO.js → onboarding.gateway-config-C6N8r5Is.js} +18 -18
- package/dist/{onboarding.secret-input-DRnoQSlI.js → onboarding.secret-input-BTK1IG-J.js} +1 -1
- package/dist/{openai-model-default-DqE4bNtd.js → openai-model-default-COzeuAI4.js} +2 -2
- package/dist/{outbound-CwzUo-rx.js → outbound-B7m9Vcd2.js} +3 -3
- package/dist/{outbound-qTioiTJg.js → outbound-C9svt6RH.js} +6 -6
- package/dist/{outbound-attachment-rlW7G5df.js → outbound-attachment-DwupUxYF.js} +2 -2
- package/dist/{outbound-attachment-Bedqixj2.js → outbound-attachment-fdEhzyl9.js} +2 -2
- package/dist/{pairing-cli-CsYP0at7.js → pairing-cli-NhoRKes6.js} +8 -8
- package/dist/{pairing-labels-CX4CtqRa.js → pairing-labels-CnTvFrUT.js} +1 -1
- package/dist/{pairing-store-BC4mnG9S.js → pairing-store-D0eOXyby.js} +3 -3
- package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/{path-alias-guards-DeOVetT7.js → path-alias-guards-vfYYQFIg.js} +3 -3
- package/dist/{path-safety-D7CjFQvf.js → path-safety-C95DzArw.js} +1 -1
- package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
- package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
- package/dist/{paths-D6mnO6Ni.js → paths-DfuVHiHu.js} +9 -9
- package/dist/{pi-embedded-BN8fghaF.js → pi-embedded-BR5y0dLa.js} +24 -24
- package/dist/{pi-embedded-DUtpCH0X.js → pi-embedded-BiC4tIJ8.js} +162 -162
- package/dist/{pi-embedded-helpers-A9VYPVCH.js → pi-embedded-helpers-CEHpGDRs.js} +3 -3
- package/dist/{pi-embedded-helpers-CYR1UemI.js → pi-embedded-helpers-Di58J7Eh.js} +52 -52
- package/dist/{pi-embedded-helpers-DtCOZSv-.js → pi-embedded-helpers-qCAK_a65.js} +6 -6
- package/dist/{pi-model-discovery-Cr1q2cJt.js → pi-model-discovery-CKUePiDc.js} +1 -1
- package/dist/{pi-model-discovery-o-WX5w2t.js → pi-model-discovery-V-InbjOM.js} +7 -7
- package/dist/pi-model-discovery-runtime--t6tAlar.js +11 -0
- package/dist/{pi-model-discovery-runtime-BHmdAKBK.js → pi-model-discovery-runtime-CNLKih0w.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-duKHqrMc.js → pi-tools.before-tool-call.runtime-Bba7rXQq.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-B_LUttg1.js → pi-tools.before-tool-call.runtime-Bpk4qTgV.js} +9 -9
- package/dist/{pi-tools.policy-D3RA94WF.js → pi-tools.policy-BwWnFLLV.js} +5 -5
- package/dist/{plugin-auto-enable-a3TK3OPT.js → plugin-auto-enable-DJkHW_LG.js} +3 -3
- package/dist/{plugin-registry-CFqqDqQV.js → plugin-registry-D3PnPE1D.js} +3 -3
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/{plugins-Bc7YM9X-.js → plugins-BDTkSIi7.js} +2 -2
- package/dist/{plugins-AqsVZZk3.js → plugins-DvejjZnJ.js} +11 -11
- package/dist/{plugins-cli-vQi8tFye.js → plugins-cli-BA_2daJe.js} +83 -83
- package/dist/{ports-DMeUt80n.js → ports-0jLyYbvQ.js} +2 -2
- package/dist/{ports-BzfeaNjw.js → ports-Be82TlEg.js} +1 -1
- package/dist/{program-Nott_VTb.js → program-D_xdLzmM.js} +81 -81
- package/dist/{prompt-select-styled-7mnlZgrQ.js → prompt-select-styled-BsheNEnh.js} +40 -40
- package/dist/{provider-auth-helpers-_77rN3Zc.js → provider-auth-helpers-B5kD4Lt6.js} +5 -5
- package/dist/{proxy-env-BiKHVg2h.js → proxy-env-CQTuxZoS.js} +1 -1
- package/dist/{proxy-env-DXXfs2WL.js → proxy-env-D-fike7s.js} +1 -1
- package/dist/{proxy-fetch-C2v-Utgg.js → proxy-fetch-lH6RsRTE.js} +1 -1
- package/dist/{push-apns-Ce1zzNYB.js → push-apns-BbenjEX4.js} +5 -5
- package/dist/{pw-ai-1NQPuno2.js → pw-ai-B8ymIYub.js} +14 -14
- package/dist/{pw-ai-CM87tQwG.js → pw-ai-Du22SYoO.js} +1 -1
- package/dist/{pw-ai-CAhTwexx.js → pw-ai-wo5t_KO_.js} +18 -18
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/{qmd-manager-BsL_hcOB.js → qmd-manager-BkSWV1Q1.js} +20 -20
- package/dist/{qr-cli-DzjBpGix.js → qr-cli-DSMYIp-D.js} +2 -2
- package/dist/{query-expansion-C0HUJbRn.js → query-expansion-DI9INxTg.js} +12 -12
- package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/{redact-NmPEVjIo.js → redact-DvzicBMu.js} +1 -1
- package/dist/{redact-snapshot-C0McNGqh.js → redact-snapshot-B2YFI3cO.js} +1 -1
- package/dist/{register.agent-DtjNdvUh.js → register.agent-Dk_5V5oA.js} +94 -94
- package/dist/register.configure-C8OFfGln.js +165 -0
- package/dist/{register.maintenance-DERKsSgi.js → register.maintenance-CluQOq8b.js} +95 -95
- package/dist/{register.message-DkYxt6gZ.js → register.message-BCTXT5yK.js} +74 -74
- package/dist/{register.onboard-BtfW83M0.js → register.onboard-C64oXnvq.js} +18 -18
- package/dist/{register.setup-Ba9gMkRk.js → register.setup-Dl3nk2Ui.js} +21 -21
- package/dist/{register.status-health-sessions-BILdpWJV.js → register.status-health-sessions-BHtbPeCO.js} +88 -88
- package/dist/{register.subclis-Dfm_Zu31.js → register.subclis-CDMFyaKR.js} +31 -31
- package/dist/{rpc-mau2U4RG.js → rpc-DA9IhLVG.js} +1 -1
- package/dist/{run-main-BF7ybLIy.js → run-main-BcA22Ipv.js} +93 -93
- package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- package/dist/{runtime-Bcmv4Epp.js → runtime-BnbzNRr6.js} +3 -3
- package/dist/{runtime-config-collectors-Bsjz4isf.js → runtime-config-collectors-CXJdhHRo.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-COUEKxmy.js → runtime-whatsapp-login.runtime-DRoK8G8H.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +13 -0
- package/dist/{runtime-whatsapp-outbound.runtime-BaWH6-ns.js → runtime-whatsapp-outbound.runtime-C9OiwkWh.js} +15 -15
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +22 -0
- package/dist/{sandbox-ixDhkfHu.js → sandbox-C3TbYIHd.js} +18 -18
- package/dist/{sandbox-cli-DOxm7fjR.js → sandbox-cli-BwK2slfh.js} +25 -25
- package/dist/{secrets-cli-DvXznMUb.js → secrets-cli-Beu2lcrf.js} +11 -11
- package/dist/{security-cli-3WOXvJR-.js → security-cli-CcpKH_lC.js} +42 -42
- package/dist/{send-Bx9CqcZr.js → send-4nRsZJXH.js} +7 -7
- package/dist/{send-D5D0ZGht.js → send-BGlcHjUD.js} +26 -26
- package/dist/{send-DtHQ7_6Z.js → send-BTUU1jWM.js} +8 -8
- package/dist/{send-BuBTLRMz.js → send-CLI3CiQv.js} +6 -6
- package/dist/{send-Do2preUU.js → send-DEs83M9V.js} +11 -11
- package/dist/{send-B9H0BkfO.js → send-DdBbRpTP.js} +6 -6
- package/dist/{send-BPgrWmUX.js → send-EVcbFVqn.js} +5 -5
- package/dist/{send-BVyLW1cn.js → send-RDqyJwZx.js} +8 -8
- package/dist/{send-B5QEmMJ4.js → send-dTQd-IyJ.js} +5 -5
- package/dist/{send-BpkluEZ5.js → send-z-sMjqvX.js} +4 -4
- package/dist/{server-DMAPnkgM.js → server-Bm-IxvZZ.js} +20 -20
- package/dist/{server-context-Dd8UynDU.js → server-context-Dw_4lGoI.js} +12 -12
- package/dist/{server-lifecycle-BEZ2jsQ6.js → server-lifecycle-DYgHYif9.js} +2 -2
- package/dist/{server-middleware-B_LyQkOL.js → server-middleware-BVAEuQs7.js} +1 -1
- package/dist/{server-node-events-dr5CaM3M.js → server-node-events-Q0cT2ifj.js} +74 -74
- package/dist/{service-B5T42CWZ.js → service-DSqxS6_D.js} +15 -15
- package/dist/{session-DLTCuoUD.js → session-CnCwDJke.js} +8 -8
- package/dist/{session-eXSdl5mb.js → session-D0jodcgT.js} +1 -1
- package/dist/{session-utils-D12gSo5W.js → session-utils-XY6JwRhT.js} +6 -6
- package/dist/{sessions-DgnXAQCc.js → sessions-BWptzMw0.js} +15 -15
- package/dist/{sessions-C16G7L5c.js → sessions-CMqv9JEu.js} +4 -4
- package/dist/{shared-BYny1RCF.js → shared-BbVxcRzb.js} +3 -3
- package/dist/{shared-By6_qr_R.js → shared-D5DTxBPH.js} +1 -1
- package/dist/{skill-commands-BwTLQRR8.js → skill-commands-Cz45_nme.js} +9 -9
- package/dist/{skill-commands-BcigmiOW.js → skill-commands-fU-Mejn9.js} +5 -5
- package/dist/{skill-scanner--QKHR8U0.js → skill-scanner-CvS725eQ.js} +6 -6
- package/dist/{skills-EwyaIyKC.js → skills-C85azDXm.js} +3 -3
- package/dist/{skills-B9N2bqKU.js → skills-CdCS1HeL.js} +22 -22
- package/dist/{skills-cli-CqEjN0Yj.js → skills-cli-ZXx6BNar.js} +5 -5
- package/dist/{skills-install-CXVKvhIE.js → skills-install-KD6dzNoZ.js} +6 -6
- package/dist/{skills-status-Bv8Xt7Lc.js → skills-status-DkO7rxE8.js} +1 -1
- package/dist/{slash-commands.runtime-Bi99B_EP.js → slash-commands.runtime-CPlXJtuM.js} +11 -11
- package/dist/slash-commands.runtime-CZz6v6b3.js +16 -0
- package/dist/slash-dispatch.runtime-BOMEVFk0.js +114 -0
- package/dist/{slash-dispatch.runtime-sXaUYn4v.js → slash-dispatch.runtime-BcecLKcJ.js} +6 -6
- package/dist/slash-dispatch.runtime-SO7HOe8q.js +56 -0
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +20 -0
- package/dist/{slash-skill-commands.runtime-DOXmvOtU.js → slash-skill-commands.runtime-Cnfq_5LN.js} +15 -15
- package/dist/{squidclaw-root-JXyRbQLJ.js → squidclaw-root-BQfLymzj.js} +8 -8
- package/dist/{status-Dnl-Um1D.js → status-cU9cJReo.js} +27 -27
- package/dist/{status.update-BGIm6we4.js → status.update-CiLU9RPF.js} +2 -2
- package/dist/{store-BTkIx401.js → store-BEIcnlgx.js} +5 -5
- package/dist/{store-CvQ41zCV.js → store-D9z0dn7D.js} +2 -2
- package/dist/{subagent-registry-CQA6P2FO.js → subagent-registry-CIgFD2oi.js} +149 -149
- package/dist/{subagent-registry-runtime-232sNNT6.js → subagent-registry-runtime-Cq9I6PwW.js} +6 -6
- package/dist/subagent-registry-runtime-D2rUxU5J.js +56 -0
- package/dist/subagent-registry-runtime-DGTjU9Lb.js +114 -0
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- package/dist/{system-cli-CJAQxYHv.js → system-cli-i1FWZDjn.js} +9 -9
- package/dist/{system-run-command-BaSqmSwR.js → system-run-command-COqCNIBg.js} +1 -1
- package/dist/{systemd-B86VePXs.js → systemd-Cj2cX_ZP.js} +9 -9
- package/dist/{systemd-hints-BmFWZu_j.js → systemd-hints-46PqJfaq.js} +6 -6
- package/dist/{systemd-linger-w7fvBU-1.js → systemd-linger-6Jd9K5p2.js} +1 -1
- package/dist/{tables-BRYYxYs7.js → tables-BTFiZyRU.js} +1 -1
- package/dist/{tables-CGh4CW_h.js → tables-CIpKClDV.js} +1 -1
- package/dist/{tailnet-DJq7Mi1o.js → tailnet-CZANZjq6.js} +1 -1
- package/dist/{target-errors-D0ZJUbbf.js → target-errors-CRQlPF1u.js} +2 -2
- package/dist/{target-errors-C_rnMuJ2.js → target-errors-DgNRx3Nr.js} +4 -4
- package/dist/{thinking-B-A99X3F.js → thinking-B75CXkTT.js} +7 -7
- package/dist/{tokens-D2XhLqIz.js → tokens-DfbMVF9y.js} +1 -1
- package/dist/{tool-images-D6mmxuWS.js → tool-images-CyzWvDUu.js} +1 -1
- package/dist/{tool-images-Zn6jVmkX.js → tool-images-Dp5OiXeA.js} +2 -2
- package/dist/{tui-BbcmzKaA.js → tui-CC_AbfZr.js} +6 -6
- package/dist/{tui-cli-Dv3jSm3x.js → tui-cli-DiJ7zKUD.js} +32 -32
- package/dist/{update-BhRrb6BI.js → update-1JhjCqjy.js} +3 -3
- package/dist/{update-cli-Oe0fP8x9.js → update-cli-DM_dUip_.js} +104 -104
- package/dist/{update-runner-DdA6xBa9.js → update-runner-BBJZmfZ4.js} +16 -16
- package/dist/{web-Chw1dtKA.js → web-CWxO_flK.js} +6 -6
- package/dist/web-CZhZC1EA.js +118 -0
- package/dist/{web-CEdWU_u3.js → web-QsxgXbNK.js} +55 -55
- package/dist/{webhooks-cli-CJLug1QH.js → webhooks-cli-CzDd8ikc.js} +6 -6
- package/dist/{whatsapp-actions-Cuy0qeQK.js → whatsapp-actions-CzqsuSGx.js} +21 -21
- package/dist/{whatsapp-actions-_ca5OtHq.js → whatsapp-actions-MR_bBjXO.js} +17 -17
- package/dist/{with-timeout-CFfRudNc.js → with-timeout-BZ_Teugb.js} +3 -3
- package/dist/{workspace-BbO-M3Jv.js → workspace-D5vNjk5G.js} +1 -1
- package/dist/{workspace-dirs-D8D-Ghcl.js → workspace-dirs-CjMIsQti.js} +1 -1
- package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/dist/{wsl-CsGe5QCP.js → wsl-CvQfS6aU.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-B6NtHUuv.js +0 -36
- package/dist/deliver-runtime-zICm26tE.js +0 -61
- package/dist/deps-send-discord.runtime-CUTAK2hy.js +0 -26
- package/dist/deps-send-discord.runtime-C_9HZQko.js +0 -36
- package/dist/deps-send-imessage.runtime-BMhGsWds.js +0 -35
- package/dist/deps-send-imessage.runtime-CQOiEIuA.js +0 -25
- package/dist/deps-send-signal.runtime-BGhjYiu6.js +0 -34
- package/dist/deps-send-signal.runtime-wN7MkzLw.js +0 -24
- package/dist/deps-send-slack.runtime-DjBCu-RX.js +0 -32
- package/dist/deps-send-slack.runtime-HEEwW4uU.js +0 -22
- package/dist/deps-send-telegram.runtime-DHlcnjQO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-C2x2R2Ow.js +0 -60
- package/dist/deps-send-whatsapp.runtime-CU257URT.js +0 -119
- package/dist/image-runtime-BSVF52oe.js +0 -29
- package/dist/image-runtime-Cxoxcx04.js +0 -55
- package/dist/manager-runtime-BB9lcoFR.js +0 -18
- package/dist/pi-model-discovery-runtime-DBkQoIJw.js +0 -11
- package/dist/register.configure-BkwbM-hb.js +0 -165
- package/dist/runtime-whatsapp-login.runtime-DumUjKRz.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Cgu2MfqR.js +0 -22
- package/dist/slash-commands.runtime-CjBXruwG.js +0 -16
- package/dist/slash-dispatch.runtime-CGd3HarH.js +0 -56
- package/dist/slash-dispatch.runtime-reuPLnse.js +0 -114
- package/dist/slash-skill-commands.runtime-DYK20Lxf.js +0 -20
- package/dist/subagent-registry-runtime-CqgIWcSl.js +0 -114
- package/dist/subagent-registry-runtime-m9bFJFix.js +0 -56
- package/dist/web-w04Gvwqi.js +0 -118
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
3
3
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
4
|
-
import { Ai as normalizeOptionalSecretInput, Zr as retryAsync, gi as resolveEnvApiKey, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-
|
|
5
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { Ai as normalizeOptionalSecretInput, Zr as retryAsync, gi as resolveEnvApiKey, mi as resolveApiKeyForProvider, pi as requireApiKey } from "./auth-profiles-CX4YYu7Z.js";
|
|
5
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-Cq4vDGrK.js";
|
|
6
6
|
import { T as truncateUtf16Safe, i as clampNumber, r as clampInt, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
7
7
|
import { M as normalizeResolvedSecretInputString } from "./registry-BXcl3IkC.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-Dn_rzeZN.js";
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
|
|
10
10
|
import { r as formatErrorMessage } from "./errors-BnRmsfe-.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
13
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Dvzi3MjK.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-6i41mEc9.js";
|
|
13
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-DI9INxTg.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs/promises";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import chokidar from "chokidar";
|
|
20
20
|
import { createInterface } from "node:readline";
|
|
@@ -1049,7 +1049,7 @@ async function extractTimestamp(params) {
|
|
|
1049
1049
|
if (!params.workspaceDir) return null;
|
|
1050
1050
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1051
1051
|
try {
|
|
1052
|
-
const stat = await
|
|
1052
|
+
const stat = await fs$1.stat(absolutePath);
|
|
1053
1053
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1054
1054
|
return new Date(stat.mtimeMs);
|
|
1055
1055
|
} catch {
|
|
@@ -2210,7 +2210,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2210
2210
|
const source = `${sourceBase}${suffix}`;
|
|
2211
2211
|
const target = `${targetBase}${suffix}`;
|
|
2212
2212
|
try {
|
|
2213
|
-
await
|
|
2213
|
+
await fs$1.rename(source, target);
|
|
2214
2214
|
} catch (err) {
|
|
2215
2215
|
if (err.code !== "ENOENT") throw err;
|
|
2216
2216
|
}
|
|
@@ -2221,7 +2221,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2221
2221
|
"",
|
|
2222
2222
|
"-wal",
|
|
2223
2223
|
"-shm"
|
|
2224
|
-
].map((suffix) =>
|
|
2224
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
2225
2225
|
}
|
|
2226
2226
|
ensureSchema() {
|
|
2227
2227
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2316,7 +2316,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2316
2316
|
if (!thresholds) return null;
|
|
2317
2317
|
let stat;
|
|
2318
2318
|
try {
|
|
2319
|
-
stat = await
|
|
2319
|
+
stat = await fs$1.stat(sessionFile);
|
|
2320
2320
|
} catch {
|
|
2321
2321
|
return null;
|
|
2322
2322
|
}
|
|
@@ -2358,7 +2358,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2358
2358
|
if (end <= start) return 0;
|
|
2359
2359
|
let handle;
|
|
2360
2360
|
try {
|
|
2361
|
-
handle = await
|
|
2361
|
+
handle = await fs$1.open(absPath, "r");
|
|
2362
2362
|
} catch (err) {
|
|
2363
2363
|
if (isFileMissingError(err)) return 0;
|
|
2364
2364
|
throw err;
|
|
@@ -3301,7 +3301,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3301
3301
|
});
|
|
3302
3302
|
return;
|
|
3303
3303
|
}
|
|
3304
|
-
const content = options.content ?? await
|
|
3304
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
3305
3305
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3306
3306
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3307
3307
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3719,7 +3719,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3719
3719
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3720
3720
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3721
3721
|
for (const additionalPath of additionalPaths) try {
|
|
3722
|
-
const stat = await
|
|
3722
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
3723
3723
|
if (stat.isSymbolicLink()) continue;
|
|
3724
3724
|
if (stat.isDirectory()) {
|
|
3725
3725
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3744,7 +3744,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3744
3744
|
};
|
|
3745
3745
|
let content;
|
|
3746
3746
|
try {
|
|
3747
|
-
content = await
|
|
3747
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
3748
3748
|
} catch (err) {
|
|
3749
3749
|
if (isFileMissingError(err)) return {
|
|
3750
3750
|
text: "",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
7
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
5
|
+
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-DuNLFQPR.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
|
|
7
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DSd911Oe.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
9
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BDy975wP.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DVyYtQxC.js";
|
|
11
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-Dzxt6kXo.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import syncFs from "node:fs";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import chokidar from "chokidar";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
@@ -719,7 +719,7 @@ function canAutoSelectLocal(options) {
|
|
|
719
719
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
720
720
|
const resolved = resolveUserPath(modelPath);
|
|
721
721
|
try {
|
|
722
|
-
return
|
|
722
|
+
return syncFs.statSync(resolved).isFile();
|
|
723
723
|
} catch {
|
|
724
724
|
return false;
|
|
725
725
|
}
|
|
@@ -2243,7 +2243,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2243
2243
|
]);
|
|
2244
2244
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2245
2245
|
for (const entry of additionalPaths) try {
|
|
2246
|
-
const stat =
|
|
2246
|
+
const stat = syncFs.lstatSync(entry);
|
|
2247
2247
|
if (stat.isSymbolicLink()) continue;
|
|
2248
2248
|
if (stat.isDirectory()) {
|
|
2249
2249
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -2,10 +2,10 @@ import "./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-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CX4YYu7Z.js";
|
|
6
|
+
import "./agent-scope-Cq4vDGrK.js";
|
|
7
7
|
import "./utils-D6vohX1h.js";
|
|
8
|
-
import "./squidclaw-root-
|
|
8
|
+
import "./squidclaw-root-BQfLymzj.js";
|
|
9
9
|
import "./logger-DL3N22PJ.js";
|
|
10
10
|
import "./exec-TSiqsZw1.js";
|
|
11
11
|
import "./registry-BXcl3IkC.js";
|
|
@@ -13,14 +13,14 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-3so140Zi.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-7kwtbCH-.js";
|
|
17
17
|
import "./paths-Dn_rzeZN.js";
|
|
18
18
|
import "./redact-DknVdX-O.js";
|
|
19
19
|
import "./errors-BnRmsfe-.js";
|
|
20
|
-
import "./proxy-env-
|
|
21
|
-
import "./fetch-guard-
|
|
22
|
-
import "./api-key-rotation-
|
|
23
|
-
import { t as MemoryIndexManager } from "./manager-
|
|
24
|
-
import "./query-expansion-
|
|
20
|
+
import "./proxy-env-CQTuxZoS.js";
|
|
21
|
+
import "./fetch-guard-Dvzi3MjK.js";
|
|
22
|
+
import "./api-key-rotation-6i41mEc9.js";
|
|
23
|
+
import { t as MemoryIndexManager } from "./manager-5OzUkYLf.js";
|
|
24
|
+
import "./query-expansion-DI9INxTg.js";
|
|
25
25
|
|
|
26
26
|
export { MemoryIndexManager };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./redact-DvzicBMu.js";
|
|
10
|
+
import "./errors-kkRuS2Cs.js";
|
|
11
|
+
import "./proxy-env-D-fike7s.js";
|
|
12
|
+
import "./paths-DSd911Oe.js";
|
|
13
|
+
import "./fetch-guard-BDy975wP.js";
|
|
14
|
+
import "./api-key-rotation-DVyYtQxC.js";
|
|
15
|
+
import { t as MemoryIndexManager } from "./manager-DINhLnMi.js";
|
|
16
|
+
import "./query-expansion-Dzxt6kXo.js";
|
|
17
|
+
|
|
18
|
+
export { MemoryIndexManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as resolveConfigDir, u as isRecord, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
2
|
-
import { a as openBoundaryFileSync, p as isPathInside$1 } from "./squidclaw-root-
|
|
2
|
+
import { a as openBoundaryFileSync, p as isPathInside$1 } from "./squidclaw-root-BQfLymzj.js";
|
|
3
3
|
import { l as normalizeChatChannelId } from "./registry-BXcl3IkC.js";
|
|
4
4
|
import { n as MANIFEST_KEY } from "./legacy-names-Q0o_2ITh.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -2,13 +2,13 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as colorize, f as isRich, p as theme, s as setVerbose } from "./globals-BrhVUl-N.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
4
4
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
5
|
-
import { Cn as splitShellArgs, pt as parseDurationMs, z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { Cn as splitShellArgs, pt as parseDurationMs, z as loadConfig } from "./auth-profiles-CX4YYu7Z.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Cq4vDGrK.js";
|
|
7
7
|
import { b as shortenHomeInString, v as resolveUserPath, x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-Dn_rzeZN.js";
|
|
9
9
|
import { r as formatErrorMessage } from "./errors-BnRmsfe-.js";
|
|
10
|
-
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
11
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
10
|
+
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DAu5nw-j.js";
|
|
11
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-DI9INxTg.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
13
13
|
import { r as withManager } from "./cli-utils-BKqG4ZT-.js";
|
|
14
14
|
import { t as formatHelpExamples } from "./help-format-CpR5cEGe.js";
|
|
@@ -16,7 +16,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-DuhDspl6.
|
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs from "node:fs";
|
|
19
|
-
import
|
|
19
|
+
import fs$1 from "node:fs/promises";
|
|
20
20
|
|
|
21
21
|
//#region src/memory/backend-config.ts
|
|
22
22
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -220,7 +220,7 @@ const log = createSubsystemLogger("memory");
|
|
|
220
220
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
221
221
|
let managerRuntimePromise = null;
|
|
222
222
|
function loadManagerRuntime() {
|
|
223
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
223
|
+
managerRuntimePromise ??= import("./manager-runtime-BxXpVt3x.js");
|
|
224
224
|
return managerRuntimePromise;
|
|
225
225
|
}
|
|
226
226
|
async function getMemorySearchManager(params) {
|
|
@@ -234,7 +234,7 @@ async function getMemorySearchManager(params) {
|
|
|
234
234
|
if (cached) return { manager: cached };
|
|
235
235
|
}
|
|
236
236
|
try {
|
|
237
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
237
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BkSWV1Q1.js");
|
|
238
238
|
const primary = await QmdMemoryManager.create({
|
|
239
239
|
cfg: params.cfg,
|
|
240
240
|
agentId: params.agentId,
|
|
@@ -452,7 +452,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
452
452
|
}
|
|
453
453
|
async function checkReadableFile(pathname) {
|
|
454
454
|
try {
|
|
455
|
-
await
|
|
455
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
456
456
|
return { exists: true };
|
|
457
457
|
} catch (err) {
|
|
458
458
|
const code = err.code;
|
|
@@ -469,7 +469,7 @@ async function scanSessionFiles(agentId) {
|
|
|
469
469
|
try {
|
|
470
470
|
return {
|
|
471
471
|
source: "sessions",
|
|
472
|
-
totalFiles: (await
|
|
472
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
473
473
|
issues
|
|
474
474
|
};
|
|
475
475
|
} catch (err) {
|
|
@@ -501,7 +501,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
501
501
|
if (alt.issue) issues.push(alt.issue);
|
|
502
502
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
503
503
|
for (const extraPath of resolvedExtraPaths) try {
|
|
504
|
-
if ((await
|
|
504
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
505
505
|
const extraCheck = await checkReadableFile(extraPath);
|
|
506
506
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
507
507
|
} catch (err) {
|
|
@@ -511,7 +511,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
511
511
|
}
|
|
512
512
|
let dirReadable = null;
|
|
513
513
|
try {
|
|
514
|
-
await
|
|
514
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
515
515
|
dirReadable = true;
|
|
516
516
|
} catch (err) {
|
|
517
517
|
const code = err.code;
|
|
@@ -559,7 +559,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
559
559
|
if (!dbPath) return null;
|
|
560
560
|
let stat;
|
|
561
561
|
try {
|
|
562
|
-
stat = await
|
|
562
|
+
stat = await fs$1.stat(dbPath);
|
|
563
563
|
} catch (err) {
|
|
564
564
|
const code = err.code;
|
|
565
565
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Fi as DEFAULT_CONTEXT_TOKENS, Sr as normalizeProviderId, sr as resolveSquidClawAgentDir } from "./auth-profiles-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Fi as DEFAULT_CONTEXT_TOKENS, Sr as normalizeProviderId, sr as resolveSquidClawAgentDir } from "./auth-profiles-CX4YYu7Z.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CKUePiDc.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
2
|
-
import { sr as resolveSquidClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { t as ensureSquidClawModelsJson } from "./models-config-
|
|
2
|
+
import { sr as resolveSquidClawAgentDir, z as loadConfig } from "./auth-profiles-CX4YYu7Z.js";
|
|
3
|
+
import { t as ensureSquidClawModelsJson } from "./models-config-poV-4Xlx.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CKUePiDc.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-CX4YYu7Z.js";
|
|
3
|
+
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-Cq4vDGrK.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-BWuvEv1x.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-BbVxcRzb.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
3
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-
|
|
4
|
-
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
5
|
-
import { O as isPathInside$2, R as normalizeAgentId, _ as runExec, j as DEFAULT_AGENT_ID, q as isBlockedObjectKey, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-
|
|
6
|
-
import { C as sleep, D as isPlainObject$2, _ as resolveConfigDir, f as isRecord$3, y as resolveUserPath } from "./logger-
|
|
7
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
8
|
-
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-
|
|
2
|
+
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-BFR3ReeF.js";
|
|
3
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-DA5srn0U.js";
|
|
4
|
+
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
5
|
+
import { O as isPathInside$2, R as normalizeAgentId, _ as runExec, j as DEFAULT_AGENT_ID, q as isBlockedObjectKey, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-kVMIaBrV.js";
|
|
6
|
+
import { C as sleep, D as isPlainObject$2, _ as resolveConfigDir, f as isRecord$3, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
7
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-aGJJuzM_.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
|
-
import
|
|
13
|
+
import syncFs from "node:fs";
|
|
14
14
|
import JSON5 from "json5";
|
|
15
15
|
import { isDeepStrictEqual } from "node:util";
|
|
16
16
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -321,7 +321,7 @@ function isValidPid(pid) {
|
|
|
321
321
|
function isZombieProcess(pid) {
|
|
322
322
|
if (process.platform !== "linux") return false;
|
|
323
323
|
try {
|
|
324
|
-
return
|
|
324
|
+
return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
|
|
325
325
|
} catch {
|
|
326
326
|
return false;
|
|
327
327
|
}
|
|
@@ -348,7 +348,7 @@ function getProcessStartTime(pid) {
|
|
|
348
348
|
if (process.platform !== "linux") return null;
|
|
349
349
|
if (!isValidPid(pid)) return null;
|
|
350
350
|
try {
|
|
351
|
-
const stat =
|
|
351
|
+
const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
|
|
352
352
|
const commEndIndex = stat.lastIndexOf(")");
|
|
353
353
|
if (commEndIndex < 0) return null;
|
|
354
354
|
const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
|
|
@@ -617,7 +617,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
617
617
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
618
618
|
}
|
|
619
619
|
function ensureAuthStoreFile(pathname) {
|
|
620
|
-
if (
|
|
620
|
+
if (syncFs.existsSync(pathname)) return;
|
|
621
621
|
saveJsonFile(pathname, {
|
|
622
622
|
version: AUTH_STORE_VERSION,
|
|
623
623
|
profiles: {}
|
|
@@ -879,7 +879,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
|
|
|
879
879
|
if (shouldWrite && legacy !== null) {
|
|
880
880
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
881
881
|
try {
|
|
882
|
-
|
|
882
|
+
syncFs.unlinkSync(legacyPath);
|
|
883
883
|
} catch (err) {
|
|
884
884
|
if (err?.code !== "ENOENT") log$8.warn("failed to delete legacy auth.json after migration", {
|
|
885
885
|
err,
|
|
@@ -1067,7 +1067,7 @@ function loadDotEnv(opts) {
|
|
|
1067
1067
|
const quiet = opts?.quiet ?? true;
|
|
1068
1068
|
dotenv.config({ quiet });
|
|
1069
1069
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
1070
|
-
if (!
|
|
1070
|
+
if (!syncFs.existsSync(globalEnvPath)) return;
|
|
1071
1071
|
dotenv.config({
|
|
1072
1072
|
quiet,
|
|
1073
1073
|
path: globalEnvPath,
|
|
@@ -1197,7 +1197,7 @@ function resolveTimeoutMs(timeoutMs) {
|
|
|
1197
1197
|
function readEtcShells() {
|
|
1198
1198
|
if (cachedEtcShells !== void 0) return cachedEtcShells;
|
|
1199
1199
|
try {
|
|
1200
|
-
const entries =
|
|
1200
|
+
const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
|
|
1201
1201
|
cachedEtcShells = new Set(entries);
|
|
1202
1202
|
} catch {
|
|
1203
1203
|
cachedEtcShells = null;
|
|
@@ -1674,7 +1674,7 @@ function resolveActiveTalkProviderConfig(talk) {
|
|
|
1674
1674
|
};
|
|
1675
1675
|
}
|
|
1676
1676
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
1677
|
-
const fsImpl = deps.fs ??
|
|
1677
|
+
const fsImpl = deps.fs ?? syncFs;
|
|
1678
1678
|
const osImpl = deps.os ?? os;
|
|
1679
1679
|
const pathImpl = deps.path ?? path;
|
|
1680
1680
|
const home = osImpl.homedir();
|
|
@@ -2310,7 +2310,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
2310
2310
|
}
|
|
2311
2311
|
function safeRealpathSync$1(filePath) {
|
|
2312
2312
|
try {
|
|
2313
|
-
return
|
|
2313
|
+
return syncFs.realpathSync(filePath);
|
|
2314
2314
|
} catch {
|
|
2315
2315
|
return null;
|
|
2316
2316
|
}
|
|
@@ -2420,7 +2420,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
2420
2420
|
const normalized = path.normalize(resolved);
|
|
2421
2421
|
if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
|
|
2422
2422
|
try {
|
|
2423
|
-
const real =
|
|
2423
|
+
const real = syncFs.realpathSync(normalized);
|
|
2424
2424
|
if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
|
|
2425
2425
|
} catch (err) {
|
|
2426
2426
|
if (err instanceof ConfigIncludeError) throw err;
|
|
@@ -2462,13 +2462,13 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
2462
2462
|
};
|
|
2463
2463
|
function safeRealpath(target) {
|
|
2464
2464
|
try {
|
|
2465
|
-
return
|
|
2465
|
+
return syncFs.realpathSync(target);
|
|
2466
2466
|
} catch {
|
|
2467
2467
|
return target;
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
2470
|
function readConfigIncludeFileWithGuards(params) {
|
|
2471
|
-
const ioFs = params.ioFs ??
|
|
2471
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
2472
2472
|
const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
|
|
2473
2473
|
if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
|
|
2474
2474
|
const opened = openBoundaryFileSync({
|
|
@@ -2491,7 +2491,7 @@ function readConfigIncludeFileWithGuards(params) {
|
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
2493
|
const defaultResolver = {
|
|
2494
|
-
readFile: (p) =>
|
|
2494
|
+
readFile: (p) => syncFs.readFileSync(p, "utf-8"),
|
|
2495
2495
|
readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
|
|
2496
2496
|
includePath,
|
|
2497
2497
|
resolvedPath,
|
|
@@ -4144,7 +4144,7 @@ function normalizeMatchTarget(value) {
|
|
|
4144
4144
|
}
|
|
4145
4145
|
function tryRealpath(value) {
|
|
4146
4146
|
try {
|
|
4147
|
-
return
|
|
4147
|
+
return syncFs.realpathSync(value);
|
|
4148
4148
|
} catch {
|
|
4149
4149
|
return null;
|
|
4150
4150
|
}
|
|
@@ -4697,8 +4697,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
|
|
|
4697
4697
|
}
|
|
4698
4698
|
function isExecutableFile(filePath) {
|
|
4699
4699
|
try {
|
|
4700
|
-
if (!
|
|
4701
|
-
if (process.platform !== "win32")
|
|
4700
|
+
if (!syncFs.statSync(filePath).isFile()) return false;
|
|
4701
|
+
if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
|
|
4702
4702
|
return true;
|
|
4703
4703
|
} catch {
|
|
4704
4704
|
return false;
|
|
@@ -4737,7 +4737,7 @@ const DEFAULT_SAFE_BINS = [
|
|
|
4737
4737
|
function tryResolveRealpath(filePath) {
|
|
4738
4738
|
if (!filePath) return;
|
|
4739
4739
|
try {
|
|
4740
|
-
return
|
|
4740
|
+
return syncFs.realpathSync(filePath);
|
|
4741
4741
|
} catch {
|
|
4742
4742
|
return;
|
|
4743
4743
|
}
|
|
@@ -5612,7 +5612,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
|
|
|
5612
5612
|
for (const dir of resolved) {
|
|
5613
5613
|
let stat;
|
|
5614
5614
|
try {
|
|
5615
|
-
stat =
|
|
5615
|
+
stat = syncFs.statSync(dir);
|
|
5616
5616
|
} catch {
|
|
5617
5617
|
continue;
|
|
5618
5618
|
}
|
|
@@ -6681,13 +6681,13 @@ function resolveBundledPluginsDir() {
|
|
|
6681
6681
|
try {
|
|
6682
6682
|
const execDir = path.dirname(process.execPath);
|
|
6683
6683
|
const sibling = path.join(execDir, "extensions");
|
|
6684
|
-
if (
|
|
6684
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
6685
6685
|
} catch {}
|
|
6686
6686
|
try {
|
|
6687
6687
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
6688
6688
|
for (let i = 0; i < 6; i += 1) {
|
|
6689
6689
|
const candidate = path.join(cursor, "extensions");
|
|
6690
|
-
if (
|
|
6690
|
+
if (syncFs.existsSync(candidate)) return candidate;
|
|
6691
6691
|
const parent = path.dirname(cursor);
|
|
6692
6692
|
if (parent === cursor) break;
|
|
6693
6693
|
cursor = parent;
|
|
@@ -6706,7 +6706,7 @@ function normalizeStringList(value) {
|
|
|
6706
6706
|
function resolvePluginManifestPath(rootDir) {
|
|
6707
6707
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
6708
6708
|
const candidate = path.join(rootDir, filename);
|
|
6709
|
-
if (
|
|
6709
|
+
if (syncFs.existsSync(candidate)) return candidate;
|
|
6710
6710
|
}
|
|
6711
6711
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
6712
6712
|
}
|
|
@@ -6732,7 +6732,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
|
|
|
6732
6732
|
}
|
|
6733
6733
|
let raw;
|
|
6734
6734
|
try {
|
|
6735
|
-
raw = JSON.parse(
|
|
6735
|
+
raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
|
|
6736
6736
|
} catch (err) {
|
|
6737
6737
|
return {
|
|
6738
6738
|
ok: false,
|
|
@@ -6740,7 +6740,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
|
|
|
6740
6740
|
manifestPath
|
|
6741
6741
|
};
|
|
6742
6742
|
} finally {
|
|
6743
|
-
|
|
6743
|
+
syncFs.closeSync(opened.fd);
|
|
6744
6744
|
}
|
|
6745
6745
|
if (!isRecord$3(raw)) return {
|
|
6746
6746
|
ok: false,
|
|
@@ -6821,7 +6821,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
6821
6821
|
const cached = cache?.get(targetPath);
|
|
6822
6822
|
if (cached) return cached;
|
|
6823
6823
|
try {
|
|
6824
|
-
const resolved =
|
|
6824
|
+
const resolved = syncFs.realpathSync(targetPath);
|
|
6825
6825
|
cache?.set(targetPath, resolved);
|
|
6826
6826
|
return resolved;
|
|
6827
6827
|
} catch {
|
|
@@ -6830,7 +6830,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
6830
6830
|
}
|
|
6831
6831
|
function safeStatSync(targetPath) {
|
|
6832
6832
|
try {
|
|
6833
|
-
return
|
|
6833
|
+
return syncFs.statSync(targetPath);
|
|
6834
6834
|
} catch {
|
|
6835
6835
|
return null;
|
|
6836
6836
|
}
|
|
@@ -6980,12 +6980,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
|
|
|
6980
6980
|
});
|
|
6981
6981
|
if (!opened.ok) return null;
|
|
6982
6982
|
try {
|
|
6983
|
-
const raw =
|
|
6983
|
+
const raw = syncFs.readFileSync(opened.fd, "utf-8");
|
|
6984
6984
|
return JSON.parse(raw);
|
|
6985
6985
|
} catch {
|
|
6986
6986
|
return null;
|
|
6987
6987
|
} finally {
|
|
6988
|
-
|
|
6988
|
+
syncFs.closeSync(opened.fd);
|
|
6989
6989
|
}
|
|
6990
6990
|
}
|
|
6991
6991
|
function deriveIdHint(params) {
|
|
@@ -7038,14 +7038,14 @@ function resolvePackageEntrySource(params) {
|
|
|
7038
7038
|
return null;
|
|
7039
7039
|
}
|
|
7040
7040
|
const safeSource = opened.path;
|
|
7041
|
-
|
|
7041
|
+
syncFs.closeSync(opened.fd);
|
|
7042
7042
|
return safeSource;
|
|
7043
7043
|
}
|
|
7044
7044
|
function discoverInDirectory(params) {
|
|
7045
|
-
if (!
|
|
7045
|
+
if (!syncFs.existsSync(params.dir)) return;
|
|
7046
7046
|
let entries = [];
|
|
7047
7047
|
try {
|
|
7048
|
-
entries =
|
|
7048
|
+
entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
|
|
7049
7049
|
} catch (err) {
|
|
7050
7050
|
params.diagnostics.push({
|
|
7051
7051
|
level: "warn",
|
|
@@ -7106,7 +7106,7 @@ function discoverInDirectory(params) {
|
|
|
7106
7106
|
}
|
|
7107
7107
|
continue;
|
|
7108
7108
|
}
|
|
7109
|
-
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
7109
|
+
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
|
|
7110
7110
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
7111
7111
|
candidates: params.candidates,
|
|
7112
7112
|
diagnostics: params.diagnostics,
|
|
@@ -7124,7 +7124,7 @@ function discoverInDirectory(params) {
|
|
|
7124
7124
|
}
|
|
7125
7125
|
function discoverFromPath(params) {
|
|
7126
7126
|
const resolved = resolveUserPath(params.rawPath);
|
|
7127
|
-
if (!
|
|
7127
|
+
if (!syncFs.existsSync(resolved)) {
|
|
7128
7128
|
params.diagnostics.push({
|
|
7129
7129
|
level: "error",
|
|
7130
7130
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -7132,7 +7132,7 @@ function discoverFromPath(params) {
|
|
|
7132
7132
|
});
|
|
7133
7133
|
return;
|
|
7134
7134
|
}
|
|
7135
|
-
const stat =
|
|
7135
|
+
const stat = syncFs.statSync(resolved);
|
|
7136
7136
|
if (stat.isFile()) {
|
|
7137
7137
|
if (!isExtensionFile(resolved)) {
|
|
7138
7138
|
params.diagnostics.push({
|
|
@@ -7190,7 +7190,7 @@ function discoverFromPath(params) {
|
|
|
7190
7190
|
}
|
|
7191
7191
|
return;
|
|
7192
7192
|
}
|
|
7193
|
-
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
7193
|
+
const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
|
|
7194
7194
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
7195
7195
|
addCandidate({
|
|
7196
7196
|
candidates: params.candidates,
|
|
@@ -7323,7 +7323,7 @@ function buildCacheKey$1(params) {
|
|
|
7323
7323
|
}
|
|
7324
7324
|
function safeStatMtimeMs(filePath) {
|
|
7325
7325
|
try {
|
|
7326
|
-
return
|
|
7326
|
+
return syncFs.statSync(filePath).mtimeMs;
|
|
7327
7327
|
} catch {
|
|
7328
7328
|
return null;
|
|
7329
7329
|
}
|
|
@@ -12426,7 +12426,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
12426
12426
|
}
|
|
12427
12427
|
function normalizeDeps(overrides = {}) {
|
|
12428
12428
|
return {
|
|
12429
|
-
fs: overrides.fs ??
|
|
12429
|
+
fs: overrides.fs ?? syncFs,
|
|
12430
12430
|
json5: overrides.json5 ?? JSON5,
|
|
12431
12431
|
env: overrides.env ?? process.env,
|
|
12432
12432
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|