squidclaw 3.0.23 → 3.0.24
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-s5e9zidf.js → accounts-C7pGQPcS.js} +2 -2
- package/dist/{accounts-DeqNOvBo.js → accounts-Cuwg9Tan.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/{acp-cli-BwG98FYT.js → acp-cli-Ch55Vzud.js} +8 -8
- package/dist/{active-listener-6-Svu8Dx.js → active-listener-DPc_PGsA.js} +2 -2
- 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-TRwuCWbu.js → api-key-rotation-DVyYtQxC.js} +2 -2
- package/dist/{api-key-rotation-6i41mEc9.js → api-key-rotation-JPmjv-c0.js} +1 -1
- package/dist/{audio-preflight-1KULThhV.js → audio-preflight-BUCBED7N.js} +32 -32
- package/dist/{audio-preflight-C-JCwUKe.js → audio-preflight-CZ--cSZh.js} +34 -34
- package/dist/{audio-transcription-runner-C3N9eAGM.js → audio-transcription-runner-Cv0Q47cM.js} +12 -12
- 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/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- 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/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 +59 -61
- 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-CxJbx4sD.js → channel-activity-CPpt4XaL.js} +3 -3
- 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/{chrome-Qbvnl6so.js → chrome-OgCChbC_.js} +18 -18
- 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/{commands-registry-B44COZFz.js → commands-registry-BJjv8_oR.js} +4 -4
- 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-BC5egJvm.js → deliver-DMTUTpTM.js} +21 -21
- package/dist/deliver-runtime-B80olQwJ.js +36 -0
- package/dist/deliver-runtime-zICm26tE.js +61 -0
- package/dist/deps-send-discord.runtime-C_9HZQko.js +36 -0
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +26 -0
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +25 -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-signal.runtime-CuVJyw7n.js +24 -0
- package/dist/deps-send-slack.runtime-DjBCu-RX.js +32 -0
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +22 -0
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +27 -0
- package/dist/{deps-send-telegram.runtime-BHaZAs2h.js → deps-send-telegram.runtime-Irv0ky5l.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-4aOUBP2J.js +60 -0
- 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/{diagnostic-C2lklhkn.js → diagnostic-CnVwZNbm.js} +2 -2
- 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/{errors-DfgAh2Ml.js → errors-kkRuS2Cs.js} +1 -1
- 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-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-Dvzi3MjK.js → fetch-guard-CbtWqa1E.js} +1 -1
- package/dist/{fetch-CtoC2wgs.js → fetch-lq0SDLLE.js} +3 -3
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/fs-safe-BPQ-per2.js +352 -0
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- 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/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- 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-ByqExb8z.js → image-kKMG59st.js} +6 -6
- package/dist/{image-ops-BoN1E_WZ.js → image-ops-Dg8iraUV.js} +2 -2
- package/dist/{image-ops-B2uuLIGD.js → image-ops-LFsSCTyI.js} +10 -10
- package/dist/image-runtime-BqIv7p_K.js +29 -0
- 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/{ir-Dut0zXyS.js → ir-CKK03mBV.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/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/{lifecycle-core-CqFEhwHn.js → lifecycle-core-ChKClWdw.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-zoeewfBu.js → login-CjzRATwO.js} +3 -3
- package/dist/{login-qr-B8P_EAd-.js → login-qr-CX0rs3A6.js} +6 -6
- package/dist/{login-qr-C0fDBnpM.js → login-qr-KbOpR0GQ.js} +10 -10
- 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-BPGhs30n.js → manager-DINhLnMi.js} +13 -13
- package/dist/{manager-runtime-BxXpVt3x.js → manager-runtime-BXJJSlzC.js} +9 -9
- package/dist/manager-runtime-D6ckUNSs.js +18 -0
- 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/{model-selection-CHnojCCK.js → model-selection-DuNLFQPR.js} +43 -43
- 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-qTioiTJg.js → outbound-C9svt6RH.js} +6 -6
- 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/{outbound-attachment-rlW7G5df.js → outbound-attachment-DwupUxYF.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-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/path-alias-guards-DeOVetT7.js +43 -0
- package/dist/{path-safety-C95DzArw.js → path-safety-D7CjFQvf.js} +1 -1
- package/dist/{paths-DfuVHiHu.js → paths-D6mnO6Ni.js} +9 -9
- package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
- package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
- package/dist/{pi-embedded-DUtpCH0X.js → pi-embedded-BiC4tIJ8.js} +162 -162
- package/dist/{pi-embedded-helpers-CYR1UemI.js → pi-embedded-helpers-Di58J7Eh.js} +52 -52
- 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-V-InbjOM.js +134 -0
- package/dist/pi-model-discovery-runtime--t6tAlar.js +11 -0
- package/dist/{pi-model-discovery-runtime-CNLKih0w.js → pi-model-discovery-runtime-BHmdAKBK.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.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/plugin-sdk/accounts-CUEuUR3C.js +46 -0
- package/dist/plugin-sdk/accounts-D0W2pELU.js +288 -0
- package/dist/plugin-sdk/accounts-ucj0odJq.js +35 -0
- package/dist/plugin-sdk/active-listener-BO7eBEG_.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-C4C_mDsg.js +181 -0
- package/dist/plugin-sdk/audio-preflight-Cqdo0JKm.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-DnEooIyE.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
- package/dist/plugin-sdk/channel-activity-BMWLw4o2.js +94 -0
- package/dist/plugin-sdk/channel-web-B8bj7MB9.js +2256 -0
- package/dist/plugin-sdk/chrome-CV-q0Lmc.js +2415 -0
- package/dist/plugin-sdk/commands-registry-e7YoqrbP.js +1125 -0
- package/dist/plugin-sdk/config-B2B64aX0.js +17911 -0
- package/dist/plugin-sdk/deliver-BkyBtcLR.js +1694 -0
- package/dist/plugin-sdk/deliver-runtime-O4lwAWMw.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BAeeBldY.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-EL-CfikZ.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BeemHeUu.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DTttkC0N.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dsf9Cnka.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DvdFo6lj.js +57 -0
- package/dist/plugin-sdk/diagnostic-DPRVoKTk.js +319 -0
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
- package/dist/plugin-sdk/fetch-guard-F0Fnqisy.js +156 -0
- package/dist/{fs-safe-DPYj7h8A.js → plugin-sdk/fs-safe-Dqmpk-Fr.js} +6 -6
- package/dist/plugin-sdk/image-cBW8L8pp.js +2310 -0
- package/dist/plugin-sdk/image-ops-BP8ix1GC.js +584 -0
- package/dist/plugin-sdk/image-runtime-9xkgSlNz.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/ir-DWEc6zOp.js +1296 -0
- package/dist/plugin-sdk/local-roots-BIPT8uAO.js +186 -0
- package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
- package/dist/plugin-sdk/login-BMTiGutN.js +57 -0
- package/dist/plugin-sdk/login-qr-BFxqYUkc.js +320 -0
- package/dist/plugin-sdk/manager-BD-aYaZ8.js +3917 -0
- package/dist/plugin-sdk/manager-runtime-C5bRwUlz.js +15 -0
- package/dist/plugin-sdk/outbound-Bm07xvO6.js +212 -0
- package/dist/plugin-sdk/outbound-attachment-DLsaxDsc.js +19 -0
- package/dist/{path-alias-guards-vfYYQFIg.js → plugin-sdk/path-alias-guards-gBhrAn14.js} +1 -1
- package/dist/plugin-sdk/paths-C6W4VHoa.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-BExwPvTh.js +9627 -0
- package/dist/{pi-model-discovery-o-WX5w2t.js → plugin-sdk/pi-model-discovery-DdctvBeX.js} +2 -2
- package/dist/plugin-sdk/pi-model-discovery-runtime-DrtpLJjk.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-rgTz3FBl.js +354 -0
- package/dist/plugin-sdk/plugins-BN64HHZA.js +864 -0
- package/dist/{proxy-fetch-C2v-Utgg.js → plugin-sdk/proxy-fetch-ZPEvp58f.js} +1 -1
- package/dist/plugin-sdk/pw-ai-DBm3RdBK.js +1938 -0
- package/dist/{qmd-manager-BkSWV1Q1.js → plugin-sdk/qmd-manager-6bozlfFg.js} +11 -17
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +1011 -0
- package/dist/{redact-NmPEVjIo.js → plugin-sdk/redact-BoNEjbpF.js} +1 -1
- package/dist/plugin-sdk/reply-Bp49JV3f.js +98828 -0
- package/dist/plugin-sdk/resolve-outbound-target-DXfjGlZQ.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +1994 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D2hkJBa-.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-C06I4adi.js +19 -0
- package/dist/plugin-sdk/send-B9xnwtQ-.js +540 -0
- package/dist/plugin-sdk/send-BxySs-Cu.js +2587 -0
- package/dist/plugin-sdk/send-D9THKp_J.js +414 -0
- package/dist/plugin-sdk/send-DCuaaP2w.js +503 -0
- package/dist/plugin-sdk/send-Dm_-_xje.js +3135 -0
- package/dist/plugin-sdk/session-DDzIZHxt.js +169 -0
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/skill-commands-DRvqtuFC.js +342 -0
- package/dist/plugin-sdk/skills-BWwlfbVj.js +1428 -0
- package/dist/plugin-sdk/slash-commands.runtime-BzYsaTST.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-Cty8EAD9.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-sg98L8BK.js +16 -0
- package/dist/plugin-sdk/ssrf-DOBwjFow.js +202 -0
- package/dist/plugin-sdk/store-BKDR_-Qk.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-Dz50ieim.js +52 -0
- package/dist/plugin-sdk/tables-GIj79us5.js +55 -0
- package/dist/{target-errors-D0ZJUbbf.js → plugin-sdk/target-errors-jlLHihbX.js} +2 -2
- package/dist/plugin-sdk/thinking-BgdUnMZ2.js +1206 -0
- package/dist/{tokens-D2XhLqIz.js → plugin-sdk/tokens-CTIYTLWu.js} +1 -1
- package/dist/plugin-sdk/tool-images-GSlvf6RP.js +274 -0
- package/dist/plugin-sdk/web-BK9mCTAc.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-DQpK_5Ds.js +80 -0
- package/dist/{plugins-BDTkSIi7.js → plugins-Bc7YM9X-.js} +2 -2
- package/dist/{plugins-AqsVZZk3.js → plugins-DvejjZnJ.js} +11 -11
- 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/{proxy-env-DXXfs2WL.js → proxy-env-D-fike7s.js} +1 -1
- package/dist/proxy-fetch-lH6RsRTE.js +38 -0
- package/dist/{push-apns-BbenjEX4.js → push-apns-Ce1zzNYB.js} +5 -5
- package/dist/{pw-ai-1NQPuno2.js → pw-ai-B8ymIYub.js} +14 -14
- package/dist/{pw-ai-wo5t_KO_.js → pw-ai-CAhTwexx.js} +18 -18
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/qmd-manager-BsL_hcOB.js +1454 -0
- 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/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/redact-DvzicBMu.js +319 -0
- 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/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- 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-login.runtime-DxV9iv6l.js +13 -0
- package/dist/{runtime-whatsapp-outbound.runtime-C9OiwkWh.js → runtime-whatsapp-outbound.runtime-BaWH6-ns.js} +15 -15
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +22 -0
- 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-Bx9CqcZr.js → send-4nRsZJXH.js} +7 -7
- package/dist/{send-D5D0ZGht.js → send-BGlcHjUD.js} +26 -26
- package/dist/{send-EVcbFVqn.js → send-BPgrWmUX.js} +5 -5
- package/dist/{send-DtHQ7_6Z.js → send-BTUU1jWM.js} +8 -8
- 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-B9H0BkfO.js → send-DdBbRpTP.js} +6 -6
- package/dist/{send-DEs83M9V.js → send-Do2preUU.js} +11 -11
- package/dist/{send-B5QEmMJ4.js → send-dTQd-IyJ.js} +5 -5
- 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-DLTCuoUD.js → session-CnCwDJke.js} +8 -8
- 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-commands-BwTLQRR8.js → skill-commands-Cz45_nme.js} +9 -9
- package/dist/{skill-scanner-CvS725eQ.js → skill-scanner--QKHR8U0.js} +6 -6
- package/dist/{skills-B9N2bqKU.js → skills-CdCS1HeL.js} +22 -22
- 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-commands.runtime-CZz6v6b3.js +16 -0
- package/dist/slash-dispatch.runtime-SO7HOe8q.js +56 -0
- package/dist/slash-dispatch.runtime-reuPLnse.js +114 -0
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +20 -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/{store-CvQ41zCV.js → store-D9z0dn7D.js} +2 -2
- package/dist/{subagent-registry-CIgFD2oi.js → subagent-registry-CQA6P2FO.js} +149 -149
- package/dist/subagent-registry-runtime-CqgIWcSl.js +114 -0
- package/dist/subagent-registry-runtime-D2rUxU5J.js +56 -0
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- 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-BRYYxYs7.js → tables-BTFiZyRU.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-C_rnMuJ2.js +195 -0
- package/dist/{target-errors-CRQlPF1u.js → target-errors-DgNRx3Nr.js} +2 -2
- package/dist/{thinking-B-A99X3F.js → thinking-B75CXkTT.js} +7 -7
- package/dist/tokens-DfbMVF9y.js +52 -0
- package/dist/{tool-images-CyzWvDUu.js → tool-images-D6mmxuWS.js} +1 -1
- package/dist/{tool-images-Zn6jVmkX.js → tool-images-Dp5OiXeA.js} +2 -2
- 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-CEdWU_u3.js → web-QsxgXbNK.js} +55 -55
- package/dist/web-w04Gvwqi.js +118 -0
- package/dist/{webhooks-cli-CzDd8ikc.js → webhooks-cli-CJLug1QH.js} +6 -6
- package/dist/{whatsapp-actions-Cuy0qeQK.js → whatsapp-actions-CzqsuSGx.js} +21 -21
- 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/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-B6NtHUuv.js +0 -36
- package/dist/deliver-runtime-C08pF1_3.js +0 -61
- package/dist/deps-send-discord.runtime-CUTAK2hy.js +0 -26
- package/dist/deps-send-discord.runtime-r80y9aXF.js +0 -36
- package/dist/deps-send-imessage.runtime-BmocBgPM.js +0 -35
- package/dist/deps-send-imessage.runtime-CQOiEIuA.js +0 -25
- package/dist/deps-send-signal.runtime-ByJt6qz-.js +0 -34
- package/dist/deps-send-signal.runtime-wN7MkzLw.js +0 -24
- package/dist/deps-send-slack.runtime-C3UUEG9J.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-__ogpmJj.js +0 -119
- package/dist/image-runtime-BSVF52oe.js +0 -29
- package/dist/image-runtime-cza2NTiZ.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-C8OFfGln.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-BOMEVFk0.js +0 -114
- package/dist/slash-dispatch.runtime-CGd3HarH.js +0 -56
- package/dist/slash-skill-commands.runtime-DYK20Lxf.js +0 -20
- package/dist/subagent-registry-runtime-DGTjU9Lb.js +0 -114
- package/dist/subagent-registry-runtime-m9bFJFix.js +0 -56
- package/dist/web-CZhZC1EA.js +0 -118
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { r as STATE_DIR } from "./paths-CHIu6D1E.js";
|
|
2
2
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
3
|
-
import { ut as getBlockedNetworkModeReason, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { ut as getBlockedNetworkModeReason, z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
5
|
-
import { C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, T as DEFAULT_USER_FILENAME, _ as DEFAULT_AGENT_WORKSPACE_DIR, b as DEFAULT_IDENTITY_FILENAME, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, m as resolveSessionAgentId, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-
|
|
5
|
+
import { C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, T as DEFAULT_USER_FILENAME, _ as DEFAULT_AGENT_WORKSPACE_DIR, b as DEFAULT_IDENTITY_FILENAME, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, m as resolveSessionAgentId, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-nEVgVklg.js";
|
|
6
6
|
import { c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-k6urs9r-.js";
|
|
7
7
|
import { v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
8
|
-
import { i as openBoundaryFile, u as resolvePathViaExistingAncestorSync } from "./squidclaw-root-
|
|
8
|
+
import { i as openBoundaryFile, u as resolvePathViaExistingAncestorSync } from "./squidclaw-root-JXyRbQLJ.js";
|
|
9
9
|
import { t as CHANNEL_IDS } from "./registry-BXcl3IkC.js";
|
|
10
|
-
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-
|
|
11
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
12
|
-
import { $ as resolveAgentMainSessionKey, Q as canonicalizeMainSessionAlias, z as acquireSessionWriteLock } from "./sessions-
|
|
13
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
14
|
-
import { r as isLoopbackHost } from "./net-
|
|
10
|
+
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-EwyaIyKC.js";
|
|
11
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DeOVetT7.js";
|
|
12
|
+
import { $ as resolveAgentMainSessionKey, Q as canonicalizeMainSessionAlias, z as acquireSessionWriteLock } from "./sessions-DgnXAQCc.js";
|
|
13
|
+
import { r as writeJsonAtomic } from "./json-files-rR19q30D.js";
|
|
14
|
+
import { r as isLoopbackHost } from "./net-CIh5ellr.js";
|
|
15
15
|
import { a as resolveCoreToolProfilePolicy, t as CORE_TOOL_GROUPS } from "./tool-catalog-BRRysafL.js";
|
|
16
|
-
import { I as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_SQUIDCLAW_BROWSER_COLOR } from "./chrome-
|
|
17
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, o as deriveDefaultBrowserCdpPortRange, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
18
|
-
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-
|
|
16
|
+
import { I as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_SQUIDCLAW_BROWSER_COLOR } from "./chrome-DiktJpMU.js";
|
|
17
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, o as deriveDefaultBrowserCdpPortRange, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-Dd8UynDU.js";
|
|
18
|
+
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-B_LyQkOL.js";
|
|
19
19
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-BTikdM3p.js";
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import path, { posix } from "node:path";
|
|
22
22
|
import fs from "node:fs";
|
|
23
|
-
import
|
|
23
|
+
import fsPromises from "node:fs/promises";
|
|
24
24
|
import crypto from "node:crypto";
|
|
25
25
|
import express from "express";
|
|
26
26
|
|
|
@@ -642,7 +642,7 @@ async function withRegistryLock(registryPath, fn) {
|
|
|
642
642
|
}
|
|
643
643
|
async function readRegistryFromFile(registryPath, mode) {
|
|
644
644
|
try {
|
|
645
|
-
const raw = await
|
|
645
|
+
const raw = await fsPromises.readFile(registryPath, "utf-8");
|
|
646
646
|
const parsed = JSON.parse(raw);
|
|
647
647
|
if (isRegistryFile(parsed)) return parsed;
|
|
648
648
|
if (mode === "fallback") return { entries: [] };
|
|
@@ -2266,7 +2266,7 @@ function formatSandboxToolPolicyBlockedMessage(params) {
|
|
|
2266
2266
|
//#endregion
|
|
2267
2267
|
//#region src/agents/sandbox/workspace.ts
|
|
2268
2268
|
async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
2269
|
-
await
|
|
2269
|
+
await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
2270
2270
|
if (seedFrom) {
|
|
2271
2271
|
const seed = resolveUserPath(seedFrom);
|
|
2272
2272
|
const files = [
|
|
@@ -2282,7 +2282,7 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
2282
2282
|
const src = path.join(seed, name);
|
|
2283
2283
|
const dest = path.join(workspaceDir, name);
|
|
2284
2284
|
try {
|
|
2285
|
-
await
|
|
2285
|
+
await fsPromises.access(dest);
|
|
2286
2286
|
} catch {
|
|
2287
2287
|
try {
|
|
2288
2288
|
const opened = await openBoundaryFile({
|
|
@@ -2293,7 +2293,7 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
2293
2293
|
if (!opened.ok) continue;
|
|
2294
2294
|
try {
|
|
2295
2295
|
const content = fs.readFileSync(opened.fd, "utf-8");
|
|
2296
|
-
await
|
|
2296
|
+
await fsPromises.writeFile(dest, content, {
|
|
2297
2297
|
encoding: "utf-8",
|
|
2298
2298
|
flag: "wx"
|
|
2299
2299
|
});
|
|
@@ -2331,7 +2331,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
2331
2331
|
const message = error instanceof Error ? error.message : JSON.stringify(error);
|
|
2332
2332
|
defaultRuntime.error?.(`Sandbox skill sync failed: ${message}`);
|
|
2333
2333
|
}
|
|
2334
|
-
} else await
|
|
2334
|
+
} else await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
2335
2335
|
return {
|
|
2336
2336
|
agentWorkspaceDir,
|
|
2337
2337
|
scopeKey,
|
|
@@ -2341,7 +2341,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
2341
2341
|
}
|
|
2342
2342
|
async function resolveSandboxDockerUser(params) {
|
|
2343
2343
|
if (params.docker.user?.trim()) return params.docker;
|
|
2344
|
-
const stat = params.stat ?? ((workspaceDir) =>
|
|
2344
|
+
const stat = params.stat ?? ((workspaceDir) => fsPromises.stat(workspaceDir));
|
|
2345
2345
|
try {
|
|
2346
2346
|
const workspaceStat = await stat(params.workspaceDir);
|
|
2347
2347
|
const uid = Number.isInteger(workspaceStat.uid) ? workspaceStat.uid : null;
|
|
@@ -2,11 +2,11 @@ import { p as theme, t as danger } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { An as isSafeExecutableValue, C as isNonEmptyString, D as writeTextFileAtomic, E as toDotPath, R as createConfigIO, S as describeUnknownError, Sr as normalizeProviderId, T as parseDotPath, ar as resolveAuthStorePath, b as resolveSecretRefValue, ct as resolveDefaultSecretProviderAlias, it as SecretProviderSchema, lt as secretRefKey, nr as loadAuthProfileStoreForSecretsRuntime, st as isValidSecretProviderAlias, v as isProviderScopedSecretResolutionError, w as isRecord, x as resolveSecretRefValues, zi as AUTH_STORE_VERSION } from "./auth-profiles-
|
|
6
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, i as resolveAgentConfig, r as listAgentIds } from "./agent-scope-
|
|
5
|
+
import { An as isSafeExecutableValue, C as isNonEmptyString, D as writeTextFileAtomic, E as toDotPath, R as createConfigIO, S as describeUnknownError, Sr as normalizeProviderId, T as parseDotPath, ar as resolveAuthStorePath, b as resolveSecretRefValue, ct as resolveDefaultSecretProviderAlias, it as SecretProviderSchema, lt as secretRefKey, nr as loadAuthProfileStoreForSecretsRuntime, st as isValidSecretProviderAlias, v as isProviderScopedSecretResolutionError, w as isRecord, x as resolveSecretRefValues, zi as AUTH_STORE_VERSION } from "./auth-profiles-9T4j6jMy.js";
|
|
6
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, i as resolveAgentConfig, r as listAgentIds } from "./agent-scope-nEVgVklg.js";
|
|
7
7
|
import { c as normalizeAgentId } from "./session-key-k6urs9r-.js";
|
|
8
8
|
import { h as resolveConfigDir, v as resolveUserPath } from "./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 { F as resolveSecretInputRef } from "./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-
|
|
17
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
18
18
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-kzSMVKJz.js";
|
|
19
19
|
import "./message-channel-DqvtYF2o.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
20
|
+
import "./client-COy24r9W.js";
|
|
21
|
+
import "./call-D7jOWSFr.js";
|
|
22
22
|
import "./pairing-token-B_ig96RO.js";
|
|
23
|
-
import "./net-
|
|
24
|
-
import "./tailnet-
|
|
25
|
-
import { S as setPathCreateStrict, _ as assertExpectedResolvedSecretValue, b as deletePathStrict, g as resolvePlanTargetAgainstRegistry, l as discoverAuthProfileSecretTargets, m as listAuthProfileSecretTargetEntries, p as isKnownSecretTargetType, u as discoverConfigSecretTargets, v as hasConfiguredPlaintextSecretValue, x as getPath, y as isExpectedResolvedSecretValue } from "./runtime-config-collectors-
|
|
23
|
+
import "./net-CIh5ellr.js";
|
|
24
|
+
import "./tailnet-DJq7Mi1o.js";
|
|
25
|
+
import { S as setPathCreateStrict, _ as assertExpectedResolvedSecretValue, b as deletePathStrict, g as resolvePlanTargetAgainstRegistry, l as discoverAuthProfileSecretTargets, m as listAuthProfileSecretTargetEntries, p as isKnownSecretTargetType, u as discoverConfigSecretTargets, v as hasConfiguredPlaintextSecretValue, x as getPath, y as isExpectedResolvedSecretValue } from "./runtime-config-collectors-Bsjz4isf.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
27
27
|
import "./progress-DuhDspl6.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BBBN9ZJk.js";
|
|
29
29
|
import { n as listKnownSecretEnvVarNames, t as PROVIDER_ENV_VARS } from "./provider-env-vars-CDLIEZFR.js";
|
|
30
|
-
import { i as prepareSecretsRuntimeSnapshot } from "./runtime-
|
|
30
|
+
import { i as prepareSecretsRuntimeSnapshot } from "./runtime-Bcmv4Epp.js";
|
|
31
31
|
import os from "node:os";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import fs from "node:fs";
|
|
@@ -2,12 +2,12 @@ import { f as isRich, p as theme } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { N as createIcaclsResetCommand, P as formatIcaclsResetCommand, R as createConfigIO, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { N as createIcaclsResetCommand, P as formatIcaclsResetCommand, R as createConfigIO, z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-nEVgVklg.js";
|
|
8
8
|
import { c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
|
|
9
9
|
import { b as shortenHomeInString, x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
10
|
-
import "./squidclaw-root-
|
|
10
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
11
11
|
import "./logger-DL3N22PJ.js";
|
|
12
12
|
import { n as runExec } from "./exec-TSiqsZw1.js";
|
|
13
13
|
import "./registry-BXcl3IkC.js";
|
|
@@ -15,60 +15,60 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
15
15
|
import "./host-env-security-lcjXF83D.js";
|
|
16
16
|
import "./version-3so140Zi.js";
|
|
17
17
|
import "./env-vars-mSSOl7Rv.js";
|
|
18
|
-
import "./manifest-registry-
|
|
19
|
-
import "./dock-
|
|
18
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
19
|
+
import "./dock-W3cGg46W.js";
|
|
20
20
|
import "./frontmatter-CFoRh1fy.js";
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./path-alias-guards-
|
|
21
|
+
import "./skills-EwyaIyKC.js";
|
|
22
|
+
import "./path-alias-guards-DeOVetT7.js";
|
|
23
23
|
import "./message-channel-DqvtYF2o.js";
|
|
24
|
-
import "./sessions-
|
|
25
|
-
import "./plugins-
|
|
26
|
-
import "./accounts-
|
|
27
|
-
import "./accounts-
|
|
24
|
+
import "./sessions-DgnXAQCc.js";
|
|
25
|
+
import "./plugins-Bc7YM9X-.js";
|
|
26
|
+
import "./accounts-BH9Qo1sQ.js";
|
|
27
|
+
import "./accounts-Cuwg9Tan.js";
|
|
28
28
|
import "./logging-CcxUDNcI.js";
|
|
29
|
-
import "./accounts-
|
|
29
|
+
import "./accounts-B1RxFghM.js";
|
|
30
30
|
import "./paths-Dn_rzeZN.js";
|
|
31
31
|
import "./chat-envelope-thy05gXR.js";
|
|
32
|
-
import "./client-
|
|
33
|
-
import "./call-
|
|
32
|
+
import "./client-COy24r9W.js";
|
|
33
|
+
import "./call-D7jOWSFr.js";
|
|
34
34
|
import "./pairing-token-B_ig96RO.js";
|
|
35
|
-
import "./net-
|
|
36
|
-
import "./tailnet-
|
|
37
|
-
import "./image-ops-
|
|
38
|
-
import "./sandbox-
|
|
35
|
+
import "./net-CIh5ellr.js";
|
|
36
|
+
import "./tailnet-DJq7Mi1o.js";
|
|
37
|
+
import "./image-ops-LFsSCTyI.js";
|
|
38
|
+
import "./sandbox-ixDhkfHu.js";
|
|
39
39
|
import "./tool-catalog-BRRysafL.js";
|
|
40
|
-
import "./chrome-
|
|
40
|
+
import "./chrome-DiktJpMU.js";
|
|
41
41
|
import "./tailscale-DHGqQR08.js";
|
|
42
|
-
import "./auth-
|
|
43
|
-
import "./server-context-
|
|
44
|
-
import "./paths-
|
|
42
|
+
import "./auth-BlP9BwaD.js";
|
|
43
|
+
import "./server-context-Dd8UynDU.js";
|
|
44
|
+
import "./paths-D6mnO6Ni.js";
|
|
45
45
|
import "./redact-DknVdX-O.js";
|
|
46
46
|
import "./errors-BnRmsfe-.js";
|
|
47
|
-
import "./fs-safe-
|
|
48
|
-
import "./proxy-env-
|
|
49
|
-
import "./store-
|
|
50
|
-
import "./ports-
|
|
47
|
+
import "./fs-safe-BPQ-per2.js";
|
|
48
|
+
import "./proxy-env-BiKHVg2h.js";
|
|
49
|
+
import "./store-BTkIx401.js";
|
|
50
|
+
import "./ports-DMeUt80n.js";
|
|
51
51
|
import "./trash-DUuU677G.js";
|
|
52
|
-
import "./server-middleware-
|
|
53
|
-
import "./exec-approvals-allowlist-
|
|
54
|
-
import "./exec-safe-bin-runtime-policy-
|
|
55
|
-
import "./commands-
|
|
56
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
57
|
-
import "./workspace-dirs-
|
|
58
|
-
import "./pi-tools.policy-
|
|
52
|
+
import "./server-middleware-B_LyQkOL.js";
|
|
53
|
+
import "./exec-approvals-allowlist-B9bcJkGP.js";
|
|
54
|
+
import "./exec-safe-bin-runtime-policy-DECo77U6.js";
|
|
55
|
+
import "./commands-DDHiW-As.js";
|
|
56
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BC4mnG9S.js";
|
|
57
|
+
import "./workspace-dirs-D8D-Ghcl.js";
|
|
58
|
+
import "./pi-tools.policy-D3RA94WF.js";
|
|
59
59
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
60
60
|
import { t as formatHelpExamples } from "./help-format-CpR5cEGe.js";
|
|
61
61
|
import "./dangerous-tools-Dpi4An5r.js";
|
|
62
|
-
import "./skill-scanner
|
|
63
|
-
import { r as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-
|
|
64
|
-
import "./node-command-policy-
|
|
62
|
+
import "./skill-scanner--QKHR8U0.js";
|
|
63
|
+
import { r as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-JLT1FqTt.js";
|
|
64
|
+
import "./node-command-policy-BeTSnoyk.js";
|
|
65
65
|
import path from "node:path";
|
|
66
|
-
import
|
|
66
|
+
import fsPromises from "node:fs/promises";
|
|
67
67
|
|
|
68
68
|
//#region src/security/fix.ts
|
|
69
69
|
async function safeChmod(params) {
|
|
70
70
|
try {
|
|
71
|
-
const st = await
|
|
71
|
+
const st = await fsPromises.lstat(params.path);
|
|
72
72
|
if (st.isSymbolicLink()) return {
|
|
73
73
|
kind: "chmod",
|
|
74
74
|
path: params.path,
|
|
@@ -97,7 +97,7 @@ async function safeChmod(params) {
|
|
|
97
97
|
ok: false,
|
|
98
98
|
skipped: "already"
|
|
99
99
|
};
|
|
100
|
-
await
|
|
100
|
+
await fsPromises.chmod(params.path, params.mode);
|
|
101
101
|
return {
|
|
102
102
|
kind: "chmod",
|
|
103
103
|
path: params.path,
|
|
@@ -127,7 +127,7 @@ async function safeAclReset(params) {
|
|
|
127
127
|
env: params.env
|
|
128
128
|
});
|
|
129
129
|
try {
|
|
130
|
-
const st = await
|
|
130
|
+
const st = await fsPromises.lstat(params.path);
|
|
131
131
|
if (st.isSymbolicLink()) return {
|
|
132
132
|
kind: "icacls",
|
|
133
133
|
path: params.path,
|
|
@@ -266,7 +266,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
266
266
|
mode: 448,
|
|
267
267
|
require: "dir"
|
|
268
268
|
}));
|
|
269
|
-
const credsEntries = await
|
|
269
|
+
const credsEntries = await fsPromises.readdir(credsDir, { withFileTypes: true }).catch(() => []);
|
|
270
270
|
for (const entry of credsEntries) {
|
|
271
271
|
if (!entry.isFile()) continue;
|
|
272
272
|
if (!entry.name.endsWith(".json")) continue;
|
|
@@ -317,7 +317,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
317
317
|
mode: 384,
|
|
318
318
|
require: "file"
|
|
319
319
|
}));
|
|
320
|
-
const sessionEntries = await
|
|
320
|
+
const sessionEntries = await fsPromises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
321
321
|
for (const entry of sessionEntries) {
|
|
322
322
|
if (!entry.isFile()) continue;
|
|
323
323
|
if (!entry.name.endsWith(".jsonl")) continue;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
2
|
-
import { X as loadConfig } from "./model-selection-
|
|
3
|
-
import { E as kindFromMime } from "./image-ops-
|
|
4
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
5
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
1
|
+
import { h as normalizeE164, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
2
|
+
import { X as loadConfig } from "./model-selection-DuNLFQPR.js";
|
|
3
|
+
import { E as kindFromMime } from "./image-ops-Dg8iraUV.js";
|
|
4
|
+
import { t as resolveIMessageAccount } from "./accounts-DjhBQg_8.js";
|
|
5
|
+
import { s as resolveMarkdownTableMode } from "./ir-CKK03mBV.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-BTFiZyRU.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DwupUxYF.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
3
|
-
import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
5
|
-
import { Hn as resolveTelegramPreviewStreamMode, Q as readConfigFileSnapshotForWrite, X as loadConfig, Zn as isTruthyEnvValue, ar as withFileLock$1, et as writeConfigFile } from "./model-selection-
|
|
6
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
1
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-DA5srn0U.js";
|
|
2
|
+
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
3
|
+
import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-kVMIaBrV.js";
|
|
4
|
+
import { a as CONFIG_DIR, b as safeParseJson } from "./logger-CnTSBL7T.js";
|
|
5
|
+
import { Hn as resolveTelegramPreviewStreamMode, Q as readConfigFileSnapshotForWrite, X as loadConfig, Zn as isTruthyEnvValue, ar as withFileLock$1, et as writeConfigFile } from "./model-selection-DuNLFQPR.js";
|
|
6
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DvejjZnJ.js";
|
|
7
7
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-BiE9e9-P.js";
|
|
8
|
-
import { D as normalizeMimeType, E as kindFromMime, S as getFileExtension, T as isGifMedia } from "./image-ops-
|
|
9
|
-
import { t as redactSensitiveText } from "./redact-
|
|
10
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
11
|
-
import { t as hasProxyEnvConfigured } from "./proxy-env-
|
|
8
|
+
import { D as normalizeMimeType, E as kindFromMime, S as getFileExtension, T as isGifMedia } from "./image-ops-Dg8iraUV.js";
|
|
9
|
+
import { t as redactSensitiveText } from "./redact-DvzicBMu.js";
|
|
10
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-kkRuS2Cs.js";
|
|
11
|
+
import { t as hasProxyEnvConfigured } from "./proxy-env-D-fike7s.js";
|
|
12
12
|
import { r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
|
|
13
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
13
|
+
import { t as makeProxyFetch } from "./proxy-fetch-lH6RsRTE.js";
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CKK03mBV.js";
|
|
15
15
|
import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
|
|
16
16
|
import { t as resolveFetch } from "./fetch-tZXOZ9FV.js";
|
|
17
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
17
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-CPpt4XaL.js";
|
|
18
18
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
|
|
19
19
|
import { n as normalizePollInput } from "./polls-CYTwXmA1.js";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
import os from "node:os";
|
|
22
22
|
import path from "node:path";
|
|
23
|
-
import
|
|
23
|
+
import syncFs, { readFileSync } from "node:fs";
|
|
24
24
|
import JSON5 from "json5";
|
|
25
25
|
import process$1 from "node:process";
|
|
26
26
|
import crypto, { randomBytes } from "node:crypto";
|
|
@@ -81,7 +81,7 @@ function getPairingAdapter(channelId) {
|
|
|
81
81
|
//#region src/plugin-sdk/json-store.ts
|
|
82
82
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
83
83
|
try {
|
|
84
|
-
const parsed = safeParseJson(await
|
|
84
|
+
const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
|
|
85
85
|
if (parsed == null) return {
|
|
86
86
|
value: fallback,
|
|
87
87
|
exists: true
|
|
@@ -168,7 +168,7 @@ async function readPairingRequests(filePath) {
|
|
|
168
168
|
}
|
|
169
169
|
async function ensureJsonFile(filePath, fallback) {
|
|
170
170
|
try {
|
|
171
|
-
await
|
|
171
|
+
await syncFs.promises.access(filePath);
|
|
172
172
|
} catch {
|
|
173
173
|
await writeJsonFile(filePath, fallback);
|
|
174
174
|
}
|
|
@@ -324,7 +324,7 @@ function resolveAllowFromReadCacheOrMissing(filePath, stat) {
|
|
|
324
324
|
async function readAllowFromStateForPathWithExists(channel, filePath) {
|
|
325
325
|
let stat = null;
|
|
326
326
|
try {
|
|
327
|
-
stat = await
|
|
327
|
+
stat = await syncFs.promises.stat(filePath);
|
|
328
328
|
} catch (err) {
|
|
329
329
|
if (err.code !== "ENOENT") throw err;
|
|
330
330
|
}
|
|
@@ -367,7 +367,7 @@ async function writeAllowFromState(filePath, allowFrom) {
|
|
|
367
367
|
});
|
|
368
368
|
let stat = null;
|
|
369
369
|
try {
|
|
370
|
-
stat = await
|
|
370
|
+
stat = await syncFs.promises.stat(filePath);
|
|
371
371
|
} catch {}
|
|
372
372
|
setAllowFromReadCache(filePath, {
|
|
373
373
|
exists: true,
|
|
@@ -974,7 +974,7 @@ function resolveCronStorePath(storePath) {
|
|
|
974
974
|
}
|
|
975
975
|
async function loadCronStore(storePath) {
|
|
976
976
|
try {
|
|
977
|
-
const raw = await
|
|
977
|
+
const raw = await syncFs.promises.readFile(storePath, "utf-8");
|
|
978
978
|
let parsed;
|
|
979
979
|
try {
|
|
980
980
|
parsed = JSON5.parse(raw);
|
|
@@ -1000,13 +1000,13 @@ async function loadCronStore(storePath) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
async function saveCronStore(storePath, store) {
|
|
1003
|
-
await
|
|
1003
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1004
1004
|
const json = JSON.stringify(store, null, 2);
|
|
1005
1005
|
const cached = serializedStoreCache.get(storePath);
|
|
1006
1006
|
if (cached === json) return;
|
|
1007
1007
|
let previous = cached ?? null;
|
|
1008
1008
|
if (previous === null) try {
|
|
1009
|
-
previous = await
|
|
1009
|
+
previous = await syncFs.promises.readFile(storePath, "utf-8");
|
|
1010
1010
|
} catch (err) {
|
|
1011
1011
|
if (err.code !== "ENOENT") throw err;
|
|
1012
1012
|
}
|
|
@@ -1015,9 +1015,9 @@ async function saveCronStore(storePath, store) {
|
|
|
1015
1015
|
return;
|
|
1016
1016
|
}
|
|
1017
1017
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
1018
|
-
await
|
|
1018
|
+
await syncFs.promises.writeFile(tmp, json, "utf-8");
|
|
1019
1019
|
if (previous !== null) try {
|
|
1020
|
-
await
|
|
1020
|
+
await syncFs.promises.copyFile(storePath, `${storePath}.bak`);
|
|
1021
1021
|
} catch {}
|
|
1022
1022
|
await renameWithRetry(tmp, storePath);
|
|
1023
1023
|
serializedStoreCache.set(storePath, json);
|
|
@@ -1026,7 +1026,7 @@ const RENAME_MAX_RETRIES = 3;
|
|
|
1026
1026
|
const RENAME_BASE_DELAY_MS = 50;
|
|
1027
1027
|
async function renameWithRetry(src, dest) {
|
|
1028
1028
|
for (let attempt = 0; attempt <= RENAME_MAX_RETRIES; attempt++) try {
|
|
1029
|
-
await
|
|
1029
|
+
await syncFs.promises.rename(src, dest);
|
|
1030
1030
|
return;
|
|
1031
1031
|
} catch (err) {
|
|
1032
1032
|
const code = err.code;
|
|
@@ -1035,8 +1035,8 @@ async function renameWithRetry(src, dest) {
|
|
|
1035
1035
|
continue;
|
|
1036
1036
|
}
|
|
1037
1037
|
if (code === "EPERM" || code === "EEXIST") {
|
|
1038
|
-
await
|
|
1039
|
-
await
|
|
1038
|
+
await syncFs.promises.copyFile(src, dest);
|
|
1039
|
+
await syncFs.promises.unlink(src).catch(() => {});
|
|
1040
1040
|
return;
|
|
1041
1041
|
}
|
|
1042
1042
|
throw err;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
2
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
2
|
+
import { i as resolveSignalAccount } from "./accounts-B1RxFghM.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-_dzDDlFo.js";
|
|
4
|
-
import { m as kindFromMime } from "./image-ops-
|
|
4
|
+
import { m as kindFromMime } from "./image-ops-LFsSCTyI.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-Mawkd1Br.js";
|
|
6
|
-
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-C7He5vmn.js";
|
|
7
7
|
import { t as resolveFetch } from "./fetch-By9arPco.js";
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Bedqixj2.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
11
11
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
2
|
-
import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
3
|
-
import { S as retryAsync, X as loadConfig, x as resolveRetryConfig } from "./model-selection-
|
|
4
|
-
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-
|
|
1
|
+
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { G as normalizeAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-kVMIaBrV.js";
|
|
3
|
+
import { S as retryAsync, X as loadConfig, x as resolveRetryConfig } from "./model-selection-DuNLFQPR.js";
|
|
4
|
+
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-DvejjZnJ.js";
|
|
5
5
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-Bhj5bO-0.js";
|
|
6
|
-
import { k as maxBytesForKind, x as extensionForMime } from "./image-ops-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
+
import { k as maxBytesForKind, x as extensionForMime } from "./image-ops-Dg8iraUV.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-CKK03mBV.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-tZXOZ9FV.js";
|
|
9
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
9
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-CPpt4XaL.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
|
|
11
11
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CYTwXmA1.js";
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-BTFiZyRU.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import { promisify } from "node:util";
|
|
@@ -2,25 +2,25 @@ import { a as logVerbose, t as danger } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import { _ as expandHomePrefix } from "./paths-CHIu6D1E.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
5
|
-
import { G as writeConfigFile, H as readConfigFileSnapshotForWrite, Ln as resolveTelegramPreviewStreamMode, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { G as writeConfigFile, H as readConfigFileSnapshotForWrite, Ln as resolveTelegramPreviewStreamMode, z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { _ as normalizeAccountId } from "./session-key-k6urs9r-.js";
|
|
7
7
|
import { t as CONFIG_DIR } from "./utils-D6vohX1h.js";
|
|
8
|
-
import { l as resolveTelegramAccount } from "./plugins-
|
|
8
|
+
import { l as resolveTelegramAccount } from "./plugins-Bc7YM9X-.js";
|
|
9
9
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-Bz6Ajr4f.js";
|
|
10
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
10
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-LFsSCTyI.js";
|
|
11
11
|
import { n as redactSensitiveText } from "./redact-DknVdX-O.js";
|
|
12
12
|
import { i as formatUncaughtError, n as extractErrorCode, r as formatErrorMessage, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-BnRmsfe-.js";
|
|
13
|
-
import { t as hasProxyEnvConfigured } from "./proxy-env-
|
|
13
|
+
import { t as hasProxyEnvConfigured } from "./proxy-env-BiKHVg2h.js";
|
|
14
14
|
import { t as makeProxyFetch } from "./proxy-fetch-DfeBVFag.js";
|
|
15
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
15
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-C7He5vmn.js";
|
|
16
16
|
import { t as renderMarkdownWithMarkers } from "./render-CCLsW6Lz.js";
|
|
17
17
|
import { t as resolveFetch } from "./fetch-By9arPco.js";
|
|
18
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
19
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
18
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BC4mnG9S.js";
|
|
19
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-wuB3-cfR.js";
|
|
20
20
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-PN66jbnR.js";
|
|
21
21
|
import { n as normalizePollInput } from "./polls-C67dmFc-.js";
|
|
22
22
|
import { n as isSenderIdAllowed, r as mergeDmAllowFromSources, t as firstDefined } from "./allow-from-DzfdGdp7.js";
|
|
23
|
-
import { n as isWSL2Sync } from "./wsl-
|
|
23
|
+
import { n as isWSL2Sync } from "./wsl-CsGe5QCP.js";
|
|
24
24
|
import process$1 from "node:process";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as logVerbose } from "./globals-BrhVUl-N.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { S as resolveSlackBotToken, y as resolveSlackAccount } from "./plugins-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
3
|
+
import { S as resolveSlackBotToken, y as resolveSlackAccount } from "./plugins-Bc7YM9X-.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-Dl1AXhpZ.js";
|
|
5
5
|
import { i as isSilentReplyText } from "./tokens-DOVPgjwZ.js";
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CbtWqa1E.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-C7He5vmn.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-CCLsW6Lz.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
1
|
+
import { z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
2
2
|
import { p as normalizeE164, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
3
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
4
|
-
import { m as kindFromMime } from "./image-ops-
|
|
5
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
3
|
+
import { r as resolveIMessageAccount } from "./accounts-Cuwg9Tan.js";
|
|
4
|
+
import { m as kindFromMime } from "./image-ops-LFsSCTyI.js";
|
|
5
|
+
import { s as resolveMarkdownTableMode } from "./ir-C7He5vmn.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-CGh4CW_h.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Bedqixj2.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as logVerbose } from "./subsystem-
|
|
2
|
-
import { X as loadConfig } from "./model-selection-
|
|
3
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
4
|
-
import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-
|
|
1
|
+
import { u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { X as loadConfig } from "./model-selection-DuNLFQPR.js";
|
|
3
|
+
import { i as isSilentReplyText } from "./tokens-DfbMVF9y.js";
|
|
4
|
+
import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-DvejjZnJ.js";
|
|
5
5
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-Bhj5bO-0.js";
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BDy975wP.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-CKK03mBV.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|