squidclaw 3.0.16 → 3.0.17
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-Dw4ivpQU.js → accounts-6khkKEQN.js} +2 -2
- package/dist/{accounts-BznLC9dH.js → accounts-DsXGZpUg.js} +2 -2
- package/dist/{accounts-Ci60lQsY.js → accounts-Dx_ZUefk.js} +17 -17
- package/dist/{active-listener-B5jww01z.js → active-listener-tu8pfcY3.js} +2 -2
- package/dist/{api-key-rotation-C1EZFUSy.js → api-key-rotation-xv0QarY4.js} +2 -2
- package/dist/{audio-preflight-CG6H_U7W.js → audio-preflight-BxDRWu_2.js} +32 -32
- package/dist/{audio-preflight-BxbsgLp0.js → audio-preflight-GNXPXFox.js} +4 -4
- package/dist/{audio-transcription-runner-CkHrTBOh.js → audio-transcription-runner-D9g-EMgS.js} +1 -1
- package/dist/{audio-transcription-runner-D0H4ucWV.js → audio-transcription-runner-k9YbU528.js} +12 -12
- package/dist/{audit-membership-runtime-DyLj-uhz.js → audit-membership-runtime-aX-S7okW.js} +4 -4
- 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 +51 -51
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CUT8qw0W.js → channel-activity-DVpZXb79.js} +3 -3
- package/dist/{chrome-DJ68LutB.js → chrome-Cj24Rzut.js} +8 -8
- package/dist/{chrome-53mklS3F.js → chrome-Dv1pCIMd.js} +18 -18
- package/dist/{command-registry-D-zYyZpc.js → command-registry-F4GVrLh0.js} +4 -4
- package/dist/{commands-registry-DmH3aIGN.js → commands-registry-DBpIVR6C.js} +4 -4
- package/dist/{completion-cli-DhTAfX_O.js → completion-cli-B4hAAQha.js} +2 -2
- package/dist/{completion-cli-ClRcwvgc.js → completion-cli-bsPnbKgX.js} +1 -1
- package/dist/{deliver-DBhlEXOh.js → deliver-BYIVWzge.js} +21 -21
- package/dist/{deliver-CVH_RQue.js → deliver-CKp4NhQg.js} +1 -1
- package/dist/{deliver-runtime-CJ5TaPI_.js → deliver-runtime-BH5g5hZi.js} +3 -3
- package/dist/deliver-runtime-BSIqBq80.js +36 -0
- package/dist/deps-send-discord.runtime-oOswyzWj.js +26 -0
- package/dist/deps-send-imessage.runtime-Dr3Sxk1B.js +25 -0
- package/dist/deps-send-signal.runtime-3ToSihRr.js +24 -0
- package/dist/deps-send-slack.runtime-DGYxq0aE.js +22 -0
- package/dist/deps-send-telegram.runtime-C-B2MV-z.js +27 -0
- package/dist/deps-send-whatsapp.runtime-BibNxcIQ.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-B9A4o-SH.js → deps-send-whatsapp.runtime-CfVrgagM.js} +7 -7
- package/dist/{diagnostic-C2LLQE3X.js → diagnostic-Cc3KWO3C.js} +2 -2
- package/dist/{doctor-completion-DTHBtueI.js → doctor-completion-BF-TgxFP.js} +1 -1
- package/dist/{doctor-completion-CvbhXcBA.js → doctor-completion-CuaZAdGn.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-kkRuS2Cs.js → errors-DQV154Gl.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-CxBkawdM.js → fetch-CCpzF-8s.js} +5 -5
- package/dist/{fetch-guard-fb71kZZ8.js → fetch-guard-QL2D_MZy.js} +2 -2
- package/dist/{frontmatter-Cq1TcIQ2.js → frontmatter-D5zcMJiz.js} +5 -5
- package/dist/{fs-safe-BoB4X3GD.js → fs-safe-DZiCP1-m.js} +4 -4
- package/dist/{gateway-cli-CF1kp5f9.js → gateway-cli-DR_FTKLJ.js} +1 -1
- package/dist/{gateway-cli-5rUG2fBn.js → gateway-cli-vUkssXyY.js} +1 -1
- package/dist/{github-copilot-token-B5cPlwaz.js → github-copilot-token-Cw3tAXM9.js} +7 -7
- package/dist/{image-C5cdH_Hn.js → image-BY6mwcvK.js} +6 -6
- package/dist/{image-DKe85nNi.js → image-CmmGgZMa.js} +1 -1
- package/dist/{image-ops-BSjD6uEb.js → image-ops-LSt7hx-C.js} +2 -2
- package/dist/{image-runtime-P93WEdis.js → image-runtime-hJsiFO8x.js} +3 -3
- package/dist/image-runtime-twgZswxC.js +29 -0
- package/dist/index.js +1 -1
- package/dist/{ir-DM4doOj9.js → ir-DIRircws.js} +8 -8
- package/dist/{legacy-names-aGJJuzM_.js → legacy-names-BgDN6vTY.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-CnTSBL7T.js → logger-Bm_EnB1e.js} +7 -7
- package/dist/{login--L7xmR80.js → login-Bv4QPxPV.js} +5 -5
- package/dist/{login-qr-StQBwOgw.js → login-qr-Be3hMUsP.js} +10 -10
- package/dist/{manager-B5htbo-7.js → manager-CpFUKUOa.js} +13 -13
- package/dist/manager-runtime-D2R423Rb.js +18 -0
- package/dist/{model-selection-BfuTT3Ie.js → model-selection-BPWLncAF.js} +48 -48
- package/dist/{onboard-Vq9LkQon.js → onboard-Cs0QH3Gq.js} +2 -2
- package/dist/{onboard-BVgRwIeK.js → onboard-Dz_EHDf2.js} +2 -2
- package/dist/{onboard-config-C0UVcgCr.js → onboard-config-ClJAny4z.js} +1 -1
- package/dist/{onboard-config-a-Bwydlo.js → onboard-config-Dr7DjNAf.js} +1 -1
- package/dist/{onboarding-BW7AN6GP.js → onboarding-CrXhGUsU.js} +2 -2
- package/dist/{onboarding-DO1ScRD8.js → onboarding-SIaYc8yM.js} +2 -2
- package/dist/{onboarding.finalize-mpPeXAsn.js → onboarding.finalize-BzxH5QbK.js} +6 -6
- package/dist/{onboarding.finalize-DyoNGKAv.js → onboarding.finalize-Dx7XXYnL.js} +5 -5
- package/dist/{outbound-Dp8B-7n3.js → outbound-BFPZLkEx.js} +6 -6
- package/dist/{outbound-attachment-BSZq7jTZ.js → outbound-attachment-Yt7bMWmB.js} +2 -2
- package/dist/{path-alias-guards-DORgbZ1w.js → path-alias-guards-CJodR6OU.js} +1 -1
- package/dist/{paths-DSd911Oe.js → paths-Bs7As4ye.js} +4 -4
- package/dist/{paths-DA5srn0U.js → paths-CSdAWKDO.js} +5 -5
- package/dist/{pi-embedded-B9ony99V.js → pi-embedded-BaKtxgea.js} +24 -24
- package/dist/{pi-embedded-CrAWjHKR.js → pi-embedded-BylEQu3u.js} +164 -164
- package/dist/{pi-embedded-helpers-CqCpCBKR.js → pi-embedded-helpers-ByO4AFb-.js} +3 -3
- package/dist/{pi-embedded-helpers-DM4KAgn-.js → pi-embedded-helpers-CHecmeKh.js} +52 -52
- package/dist/{pi-model-discovery-DE0XZt9x.js → pi-model-discovery-CBUEOS9U.js} +7 -7
- package/dist/pi-model-discovery-runtime-xWyZ2i9e.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-DfLoi4qR.js → pi-tools.before-tool-call.runtime-CcRmP309.js} +9 -9
- package/dist/plugin-sdk/{accounts-C9RGqL4T.js → accounts-BW7b9aIf.js} +3 -3
- package/dist/plugin-sdk/{accounts-DcDj_weC.js → accounts-De05T3_J.js} +2 -2
- package/dist/plugin-sdk/{accounts-CgiUq3Un.js → accounts-tAi-tfAf.js} +2 -2
- package/dist/plugin-sdk/{active-listener-BlJ5RUzB.js → active-listener-CirjQdCm.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-Z-Qny376.js → api-key-rotation-CCoQ5SD_.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DXuewfE7.js → audio-preflight-BgPpaXum.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DSNzBBSH.js → audio-transcription-runner-CO4tyQtQ.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DHQDvH4u.js → audit-membership-runtime-Xl20kCBe.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-D1afTUj8.js → channel-activity-QlTyjswN.js} +3 -3
- package/dist/plugin-sdk/{channel-web-IPKOTqU3.js → channel-web-NzpRnn9f.js} +18 -18
- package/dist/plugin-sdk/{chrome-B1q83rKv.js → chrome-CVbDHFaE.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DzySrtKG.js → commands-registry-DSWbTWB2.js} +4 -4
- package/dist/plugin-sdk/{common-D8IL0ajZ.js → common-BpvaubXW.js} +2 -2
- package/dist/plugin-sdk/{config-B5u_IldI.js → config-DE6ibnmU.js} +7 -7
- package/dist/plugin-sdk/{deliver-S0Nnmc4b.js → deliver-86fU1nUC.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BJHbLq-S.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-CDRnV2G9.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-B6kLsqc2.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BSQh0bHr.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BFom-0ng.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-CpTtZ6JM.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-C0XcOgX1.js +57 -0
- package/dist/plugin-sdk/{diagnostic-CMOeaeBe.js → diagnostic-DwTd77di.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-9oVz7reJ.js → errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-C_jkJc0N.js → fetch-guard-dmZ4U9uQ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DFbwq9CS.js → fs-safe-DqCO1D4C.js} +3 -3
- package/dist/plugin-sdk/{image-C-YH4Uik.js → image-UG930mNm.js} +6 -6
- package/dist/plugin-sdk/{image-ops-57ipHrBF.js → image-ops-D9cweu_-.js} +2 -2
- package/dist/plugin-sdk/image-runtime-Bu3DSIBB.js +25 -0
- package/dist/plugin-sdk/{ir-CYDBM_JC.js → ir-pigw84ir.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BfR7HxIa.js → local-roots-CIhD7Co-.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-BhBKfrcu.js → login-DN33Ry8p.js} +4 -4
- package/dist/plugin-sdk/{login-qr-pZv8YA21.js → login-qr-DXZPiiDq.js} +5 -5
- package/dist/plugin-sdk/{manager-CNL-O6jb.js → manager-cBbgCrQ7.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-Dbz_bpiL.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-attachment-rsxzcJYF.js → outbound-attachment-C4f-OcC0.js} +2 -2
- package/dist/plugin-sdk/{outbound-icMF_rUc.js → outbound-ux3UTEA3.js} +5 -5
- package/dist/plugin-sdk/{path-alias-guards-DA0MhfkG.js → path-alias-guards-TnxupPQC.js} +1 -1
- package/dist/plugin-sdk/{paths-CP67O8eN.js → paths-B7_75Pdr.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-8ieRSf-l.js → pi-embedded-helpers-CBAsAxOB.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DSSANt82.js → pi-model-discovery-hrhgLkQy.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-SPHihgeR.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-ChLGyK0j.js → pi-tools.before-tool-call.runtime-EL-r4x87.js} +4 -4
- package/dist/plugin-sdk/{plugins-BLeJXdd2.js → plugins-NKOOkt_i.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-CtPm4saU.js → proxy-env-DooJ7AbC.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Cf3IUSDw.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CtZSk4at.js → pw-ai-jALO1jBq.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ov9ElEfG.js → qmd-manager-Bei6TaFq.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-CzjwW461.js → query-expansion-POz2za8a.js} +4 -4
- package/dist/plugin-sdk/{redact-DfACyt0X.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-Bl5GGHri.js → reply-sihF_R23.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-D-0B2aK8.js → resolve-outbound-target-qXRaNZi8.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-kVooFCVo.js → run-with-concurrency-DmTrN5JG.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DMNRnMAJ.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-w9rCES1O.js +19 -0
- package/dist/plugin-sdk/{send-C7C3x6hg.js → send-BMv-WOpW.js} +7 -7
- package/dist/plugin-sdk/{send-CGlHhdoZ.js → send-Cm6HGK-a.js} +6 -6
- package/dist/plugin-sdk/{send-YldTY40c.js → send-DZB0Hlej.js} +13 -13
- package/dist/plugin-sdk/{send-BkAfzZYd.js → send-aWQBb6ca.js} +8 -8
- package/dist/plugin-sdk/{send-BKQRdkHg.js → send-jou-S7lc.js} +5 -5
- package/dist/plugin-sdk/{session-uS6b35hg.js → session-C98G_V4e.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-c9HTevk5.js → skill-commands-_K2_qYb4.js} +4 -4
- package/dist/plugin-sdk/{skills-OK3LublS.js → skills-D58hSyfJ.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-CyZybvM0.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DGI2ovR2.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-Cb1PFrG4.js +16 -0
- package/dist/plugin-sdk/{store-BkxOV4wy.js → store-CHxyy2Nq.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-TxOQ-aoU.js +52 -0
- package/dist/plugin-sdk/{tables-8_ELoE8R.js → tables-D2Q-dmPT.js} +1 -1
- package/dist/plugin-sdk/{thinking-TLm688bb.js → thinking-0lRH3Rcl.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CbObuT48.js → tool-images-K2kMTUHK.js} +2 -2
- package/dist/plugin-sdk/web-wfXoGaeS.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-DVZ223y_.js → whatsapp-actions-DnEN6SNn.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-Db8j13y8.js → plugins-6qIUbePQ.js} +11 -11
- package/dist/{program-context-CWsWlM9-.js → program-context-fmg2tZYy.js} +6 -6
- package/dist/{program-BJO_oaKF.js → program-w3AtnFQg.js} +2 -2
- package/dist/{prompt-select-styled-R6Iau0zv.js → prompt-select-styled-F9s-znjc.js} +1 -1
- package/dist/{prompt-select-styled-CnWGIwST.js → prompt-select-styled-yLa-cAqJ.js} +1 -1
- package/dist/{proxy-env-bjBQWAZU.js → proxy-env-Dn3WRZ8u.js} +1 -1
- package/dist/{proxy-fetch-lH6RsRTE.js → proxy-fetch-BiyBAy_C.js} +1 -1
- package/dist/{pw-ai-CnBcuGv6.js → pw-ai-B_8k4HNf.js} +1 -1
- package/dist/{pw-ai-BMx3rnIH.js → pw-ai-Cx6hDk9Q.js} +14 -14
- package/dist/{qmd-manager-BN0siR2Z.js → qmd-manager-t98LeVF2.js} +10 -10
- package/dist/{query-expansion-Dzxt6kXo.js → query-expansion-Cj7GF-44.js} +6 -6
- package/dist/{redact-DvzicBMu.js → redact-DLpin1cV.js} +1 -1
- package/dist/{register.maintenance-c4CZQhHy.js → register.maintenance-CKdVynDf.js} +4 -4
- package/dist/{register.maintenance-C0WLFNcv.js → register.maintenance-DugEb2wJ.js} +5 -5
- package/dist/{register.onboard-B8LXDCnA.js → register.onboard-DtNkmxTP.js} +2 -2
- package/dist/{register.onboard-C8-hGp4-.js → register.onboard-EoCdBCxj.js} +2 -2
- package/dist/{register.setup-Bw1pnWbM.js → register.setup-Ck1JIxpR.js} +2 -2
- package/dist/{register.setup-DiUpJRvj.js → register.setup-LAisQXwt.js} +2 -2
- package/dist/{register.subclis-BbFUfhdj.js → register.subclis-CM3xZSM_.js} +3 -3
- package/dist/{run-main-Exefhxet.js → run-main-G0kv0MXg.js} +3 -3
- package/dist/{run-with-concurrency-BFR3ReeF.js → run-with-concurrency-dPQDZOCa.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BvUEw1Fb.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-BBNJvhHj.js +22 -0
- package/dist/{send-By-oi8SV.js → send-7BCLqzgb.js} +6 -6
- package/dist/{send-C2v8GsVK.js → send-BSZK0u9s.js} +7 -7
- package/dist/{send-0EU-Y3Gn.js → send-C1rd0C3j.js} +5 -5
- package/dist/{send-B92swUj4.js → send-C_lpdUTh.js} +28 -28
- package/dist/{send-CKtUdJpX.js → send-F3d34FKY.js} +8 -8
- package/dist/{session-CZ24KNcj.js → session-DKvU-VxF.js} +8 -8
- package/dist/{skill-commands-BRoRvs2q.js → skill-commands-4u8Q490t.js} +9 -9
- package/dist/{skills-OLKf_9cW.js → skills-CR27di7w.js} +22 -22
- package/dist/slash-commands.runtime-Ds6_CofJ.js +16 -0
- package/dist/{slash-dispatch.runtime-BhgI-xt4.js → slash-dispatch.runtime-CQYAbynV.js} +6 -6
- package/dist/slash-dispatch.runtime-cLpEUIyp.js +56 -0
- package/dist/slash-skill-commands.runtime-Il1DDh0I.js +20 -0
- package/dist/{store-Mz6VjFuy.js → store-DR0R21va.js} +2 -2
- package/dist/subagent-registry-runtime-D5IASF_O.js +56 -0
- package/dist/{subagent-registry-runtime-DT0lAzy4.js → subagent-registry-runtime-snnOuvlP.js} +6 -6
- package/dist/{subsystem-6v7sWnAD.js → subsystem-dxhNE8KQ.js} +16 -16
- package/dist/{tables-0InE37AN.js → tables-CwrEq2GD.js} +1 -1
- package/dist/{target-errors-B37sVq3w.js → target-errors-B1Dif1hI.js} +2 -2
- package/dist/{thinking-D4AaB24F.js → thinking-B-lb6ezp.js} +7 -7
- package/dist/{tokens-DfbMVF9y.js → tokens-CGN0Tndy.js} +1 -1
- package/dist/{tool-images-Dpl5RgN7.js → tool-images-DGw_QUsF.js} +2 -2
- package/dist/{update-cli-esFXuN7Z.js → update-cli-Bd6oUDAb.js} +5 -5
- package/dist/{update-cli-CeMQxSs2.js → update-cli-DC5za_2A.js} +4 -4
- package/dist/{web-gFh8coIz.js → web-BG2wpMmX.js} +55 -55
- package/dist/{web-DjcGAILJ.js → web-CgytFuU9.js} +6 -6
- package/dist/{whatsapp-actions-B-LXYZ6Z.js → whatsapp-actions-D1Mk2hNy.js} +21 -21
- package/dist/{workspace-kVMIaBrV.js → workspace-BvDT97ZH.js} +20 -20
- package/package.json +1 -1
- package/dist/deliver-runtime-BpVWeU13.js +0 -36
- package/dist/deps-send-discord.runtime-CL6FlfRz.js +0 -26
- package/dist/deps-send-imessage.runtime-DP56C3XB.js +0 -25
- package/dist/deps-send-signal.runtime-4WUnsfj1.js +0 -24
- package/dist/deps-send-slack.runtime-BM_8OV-V.js +0 -22
- package/dist/deps-send-telegram.runtime-CL27zxrX.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B0xMiMJX.js +0 -60
- package/dist/image-runtime-B1jzvCV9.js +0 -29
- package/dist/manager-runtime-CbCJ9KL0.js +0 -18
- package/dist/pi-model-discovery-runtime-B5s0PRpY.js +0 -11
- package/dist/plugin-sdk/deliver-runtime-tAQPm44B.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DeuyKcxA.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-D9NRm877.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DBepwGd9.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-CUWnNsmH.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CRI0ptpU.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CypkchYB.js +0 -57
- package/dist/plugin-sdk/image-runtime-BzP3HfiE.js +0 -25
- package/dist/plugin-sdk/manager-runtime-B87hYNyb.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-C2t2kU5s.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6MdStWm.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DexVGpkn.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-JFUaFK3N.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BP81ZOIp.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-KVmn_84j.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-DZHhsl5N.js +0 -52
- package/dist/plugin-sdk/web-DIhuSOD-.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DTnWO4dr.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-XzfTCc36.js +0 -22
- package/dist/slash-commands.runtime-jY_-vStu.js +0 -16
- package/dist/slash-dispatch.runtime-BxaEpG30.js +0 -56
- package/dist/slash-skill-commands.runtime-B6vRGL-p.js +0 -20
- package/dist/subagent-registry-runtime-BNE1FIwQ.js +0 -56
|
@@ -6,7 +6,7 @@ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug
|
|
|
6
6
|
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-CcTHs4_W.js";
|
|
7
7
|
import { t as generateSecureToken } from "./secure-random-D68-1Hhs.js";
|
|
8
8
|
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-hnyO_djk.js";
|
|
9
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
9
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-Cj24Rzut.js";
|
|
10
10
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills--wwX3zxP.js";
|
|
11
11
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DLHloUkx.js";
|
|
12
12
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-VR6fgqPc.js";
|
|
@@ -1275,7 +1275,7 @@ function isModuleNotFoundError(err) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
async function loadPwAiModule(mode) {
|
|
1277
1277
|
try {
|
|
1278
|
-
return await import("./pw-ai-
|
|
1278
|
+
return await import("./pw-ai-B_8k4HNf.js");
|
|
1279
1279
|
} catch (err) {
|
|
1280
1280
|
if (mode === "soft") return null;
|
|
1281
1281
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3641,7 +3641,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3641
3641
|
//#region src/browser/server-context.reset.ts
|
|
3642
3642
|
async function closePlaywrightBrowserConnection() {
|
|
3643
3643
|
try {
|
|
3644
|
-
await (await import("./pw-ai-
|
|
3644
|
+
await (await import("./pw-ai-B_8k4HNf.js")).closePlaywrightBrowserConnection();
|
|
3645
3645
|
} catch {}
|
|
3646
3646
|
}
|
|
3647
3647
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveSquidClawUserDataDir }) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-
|
|
5
|
-
import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
6
|
-
import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-
|
|
7
|
-
import { c as parseBooleanValue } from "./legacy-names-
|
|
8
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
9
|
-
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
1
|
+
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-dPQDZOCa.js";
|
|
2
|
+
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-CSdAWKDO.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-dxhNE8KQ.js";
|
|
4
|
+
import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-BvDT97ZH.js";
|
|
5
|
+
import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-Bm_EnB1e.js";
|
|
6
|
+
import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-BPWLncAF.js";
|
|
7
|
+
import { c as parseBooleanValue } from "./legacy-names-BgDN6vTY.js";
|
|
8
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-B-lb6ezp.js";
|
|
9
|
+
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-6qIUbePQ.js";
|
|
10
10
|
import { t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
|
|
11
|
-
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
12
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
13
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
14
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
15
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
16
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
17
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
11
|
+
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-LSt7hx-C.js";
|
|
12
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-Dv1pCIMd.js";
|
|
13
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CR27di7w.js";
|
|
14
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CJodR6OU.js";
|
|
15
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-DQV154Gl.js";
|
|
16
|
+
import { n as SsrFBlockedError } from "./proxy-env-Dn3WRZ8u.js";
|
|
17
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-DR0R21va.js";
|
|
18
18
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
|
|
19
19
|
import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
|
|
20
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
20
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Bs7As4ye.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
22
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
22
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DGw_QUsF.js";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
import os from "node:os";
|
|
25
25
|
import path, { posix } from "node:path";
|
|
26
|
-
import
|
|
26
|
+
import fs$1, { existsSync } from "node:fs";
|
|
27
27
|
import { spawn } from "node:child_process";
|
|
28
28
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
29
29
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1278,7 +1278,7 @@ function isModuleNotFoundError(err) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
async function loadPwAiModule(mode) {
|
|
1280
1280
|
try {
|
|
1281
|
-
return await import("./pw-ai-
|
|
1281
|
+
return await import("./pw-ai-Cx6hDk9Q.js");
|
|
1282
1282
|
} catch (err) {
|
|
1283
1283
|
if (mode === "soft") return null;
|
|
1284
1284
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3055,11 +3055,11 @@ async function movePathToTrash(targetPath) {
|
|
|
3055
3055
|
return targetPath;
|
|
3056
3056
|
} catch {
|
|
3057
3057
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
3058
|
-
|
|
3058
|
+
fs$1.mkdirSync(trashDir, { recursive: true });
|
|
3059
3059
|
const base = path.basename(targetPath);
|
|
3060
3060
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
3061
|
-
if (
|
|
3062
|
-
|
|
3061
|
+
if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
3062
|
+
fs$1.renameSync(targetPath, dest);
|
|
3063
3063
|
return dest;
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
@@ -3146,7 +3146,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3146
3146
|
} catch {}
|
|
3147
3147
|
const userDataDir = resolveSquidClawUserDataDir(name);
|
|
3148
3148
|
const profileDir = path.dirname(userDataDir);
|
|
3149
|
-
if (
|
|
3149
|
+
if (fs$1.existsSync(profileDir)) {
|
|
3150
3150
|
await movePathToTrash(profileDir);
|
|
3151
3151
|
deleted = true;
|
|
3152
3152
|
}
|
|
@@ -3644,7 +3644,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3644
3644
|
//#region src/browser/server-context.reset.ts
|
|
3645
3645
|
async function closePlaywrightBrowserConnection() {
|
|
3646
3646
|
try {
|
|
3647
|
-
await (await import("./pw-ai-
|
|
3647
|
+
await (await import("./pw-ai-Cx6hDk9Q.js")).closePlaywrightBrowserConnection();
|
|
3648
3648
|
} catch {}
|
|
3649
3649
|
}
|
|
3650
3650
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveSquidClawUserDataDir }) {
|
|
@@ -3662,7 +3662,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
|
|
|
3662
3662
|
if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
|
|
3663
3663
|
if (profileState.running) await stopRunningBrowser();
|
|
3664
3664
|
await closePlaywrightBrowserConnection();
|
|
3665
|
-
if (!
|
|
3665
|
+
if (!fs$1.existsSync(userDataDir)) return {
|
|
3666
3666
|
moved: false,
|
|
3667
3667
|
from: userDataDir
|
|
3668
3668
|
};
|
|
@@ -4410,7 +4410,7 @@ function releaseAllLocksSync() {
|
|
|
4410
4410
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
4411
4411
|
} catch {}
|
|
4412
4412
|
try {
|
|
4413
|
-
|
|
4413
|
+
fs$1.rmSync(held.lockPath, { force: true });
|
|
4414
4414
|
} catch {}
|
|
4415
4415
|
HELD_LOCKS.delete(sessionFile);
|
|
4416
4416
|
}
|
|
@@ -6008,7 +6008,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6008
6008
|
if (guarded.reason !== "path") {
|
|
6009
6009
|
if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
|
|
6010
6010
|
}
|
|
6011
|
-
} else
|
|
6011
|
+
} else fs$1.closeSync(guarded.fd);
|
|
6012
6012
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
6013
6013
|
containerPath: target.containerPath,
|
|
6014
6014
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -6019,7 +6019,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6019
6019
|
}
|
|
6020
6020
|
pathIsExistingDirectory(hostPath) {
|
|
6021
6021
|
try {
|
|
6022
|
-
return
|
|
6022
|
+
return fs$1.statSync(hostPath).isDirectory();
|
|
6023
6023
|
} catch {
|
|
6024
6024
|
return false;
|
|
6025
6025
|
}
|
|
@@ -6820,14 +6820,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
6820
6820
|
function canonicalizePathForComparison$1(filePath) {
|
|
6821
6821
|
const resolved = path.resolve(filePath);
|
|
6822
6822
|
try {
|
|
6823
|
-
return
|
|
6823
|
+
return fs$1.realpathSync(resolved);
|
|
6824
6824
|
} catch {
|
|
6825
6825
|
return resolved;
|
|
6826
6826
|
}
|
|
6827
6827
|
}
|
|
6828
6828
|
function archiveFileOnDisk(filePath, reason) {
|
|
6829
6829
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
6830
|
-
|
|
6830
|
+
fs$1.renameSync(filePath, archived);
|
|
6831
6831
|
return archived;
|
|
6832
6832
|
}
|
|
6833
6833
|
/**
|
|
@@ -6843,7 +6843,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
6843
6843
|
const relative = path.relative(storeDir, candidatePath);
|
|
6844
6844
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
6845
6845
|
}
|
|
6846
|
-
if (!
|
|
6846
|
+
if (!fs$1.existsSync(candidatePath)) continue;
|
|
6847
6847
|
try {
|
|
6848
6848
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
6849
6849
|
} catch {}
|
|
@@ -6861,15 +6861,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
6861
6861
|
let removed = 0;
|
|
6862
6862
|
let scanned = 0;
|
|
6863
6863
|
for (const dir of directories) {
|
|
6864
|
-
const entries = await
|
|
6864
|
+
const entries = await fs$1.promises.readdir(dir).catch(() => []);
|
|
6865
6865
|
for (const entry of entries) {
|
|
6866
6866
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
6867
6867
|
if (timestamp == null) continue;
|
|
6868
6868
|
scanned += 1;
|
|
6869
6869
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
6870
6870
|
const fullPath = path.join(dir, entry);
|
|
6871
|
-
if (!(await
|
|
6872
|
-
await
|
|
6871
|
+
if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
6872
|
+
await fs$1.promises.rm(fullPath).catch(() => void 0);
|
|
6873
6873
|
removed += 1;
|
|
6874
6874
|
}
|
|
6875
6875
|
}
|
|
@@ -6999,7 +6999,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
6999
6999
|
}
|
|
7000
7000
|
function getFileStatSnapshot(filePath) {
|
|
7001
7001
|
try {
|
|
7002
|
-
const stats =
|
|
7002
|
+
const stats = fs$1.statSync(filePath);
|
|
7003
7003
|
return {
|
|
7004
7004
|
mtimeMs: stats.mtimeMs,
|
|
7005
7005
|
sizeBytes: stats.size
|
|
@@ -7018,7 +7018,7 @@ const NOOP_LOGGER = {
|
|
|
7018
7018
|
function canonicalizePathForComparison(filePath) {
|
|
7019
7019
|
const resolved = path.resolve(filePath);
|
|
7020
7020
|
try {
|
|
7021
|
-
return
|
|
7021
|
+
return fs$1.realpathSync(resolved);
|
|
7022
7022
|
} catch {
|
|
7023
7023
|
return resolved;
|
|
7024
7024
|
}
|
|
@@ -7076,12 +7076,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
7076
7076
|
return referenced;
|
|
7077
7077
|
}
|
|
7078
7078
|
async function readSessionsDirFiles(sessionsDir) {
|
|
7079
|
-
const dirEntries = await
|
|
7079
|
+
const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
7080
7080
|
const files = [];
|
|
7081
7081
|
for (const dirent of dirEntries) {
|
|
7082
7082
|
if (!dirent.isFile()) continue;
|
|
7083
7083
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
7084
|
-
const stat = await
|
|
7084
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7085
7085
|
if (!stat?.isFile()) continue;
|
|
7086
7086
|
files.push({
|
|
7087
7087
|
path: filePath,
|
|
@@ -7094,9 +7094,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
7094
7094
|
return files;
|
|
7095
7095
|
}
|
|
7096
7096
|
async function removeFileIfExists(filePath) {
|
|
7097
|
-
const stat = await
|
|
7097
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7098
7098
|
if (!stat?.isFile()) return 0;
|
|
7099
|
-
await
|
|
7099
|
+
await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
7100
7100
|
return stat.size;
|
|
7101
7101
|
}
|
|
7102
7102
|
async function removeFileForBudget(params) {
|
|
@@ -7455,7 +7455,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
7455
7455
|
}
|
|
7456
7456
|
async function getSessionFileSize(storePath) {
|
|
7457
7457
|
try {
|
|
7458
|
-
return (await
|
|
7458
|
+
return (await fs$1.promises.stat(storePath)).size;
|
|
7459
7459
|
} catch {
|
|
7460
7460
|
return null;
|
|
7461
7461
|
}
|
|
@@ -7472,7 +7472,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7472
7472
|
if (fileSize <= maxBytes) return false;
|
|
7473
7473
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
7474
7474
|
try {
|
|
7475
|
-
await
|
|
7475
|
+
await fs$1.promises.rename(storePath, backupPath);
|
|
7476
7476
|
log$2.info("rotated session store file", {
|
|
7477
7477
|
backupPath: path.basename(backupPath),
|
|
7478
7478
|
sizeBytes: fileSize
|
|
@@ -7483,11 +7483,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7483
7483
|
try {
|
|
7484
7484
|
const dir = path.dirname(storePath);
|
|
7485
7485
|
const baseName = path.basename(storePath);
|
|
7486
|
-
const backups = (await
|
|
7486
|
+
const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
7487
7487
|
const maxBackups = 3;
|
|
7488
7488
|
if (backups.length > maxBackups) {
|
|
7489
7489
|
const toDelete = backups.slice(maxBackups);
|
|
7490
|
-
for (const old of toDelete) await
|
|
7490
|
+
for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
7491
7491
|
log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
7492
7492
|
}
|
|
7493
7493
|
} catch {}
|
|
@@ -7610,7 +7610,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
7610
7610
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
7611
7611
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
7612
7612
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
7613
|
-
const raw =
|
|
7613
|
+
const raw = fs$1.readFileSync(storePath, "utf-8");
|
|
7614
7614
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
7615
7615
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
7616
7616
|
continue;
|
|
@@ -7764,7 +7764,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
7764
7764
|
});
|
|
7765
7765
|
}
|
|
7766
7766
|
}
|
|
7767
|
-
await
|
|
7767
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
7768
7768
|
const json = JSON.stringify(store, null, 2);
|
|
7769
7769
|
if (getSerializedSessionStore(storePath) === json) {
|
|
7770
7770
|
updateSessionStoreWriteCaches({
|
|
@@ -8101,8 +8101,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
8101
8101
|
return trimmed ? trimmed : null;
|
|
8102
8102
|
}
|
|
8103
8103
|
async function ensureSessionHeader(params) {
|
|
8104
|
-
if (
|
|
8105
|
-
await
|
|
8104
|
+
if (fs$1.existsSync(params.sessionFile)) return;
|
|
8105
|
+
await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
8106
8106
|
const header = {
|
|
8107
8107
|
type: "session",
|
|
8108
8108
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -8110,7 +8110,7 @@ async function ensureSessionHeader(params) {
|
|
|
8110
8110
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
8111
8111
|
cwd: process.cwd()
|
|
8112
8112
|
};
|
|
8113
|
-
await
|
|
8113
|
+
await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
8114
8114
|
encoding: "utf-8",
|
|
8115
8115
|
mode: 384
|
|
8116
8116
|
});
|
|
@@ -8345,13 +8345,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
8345
8345
|
});
|
|
8346
8346
|
if (!opened.ok) continue;
|
|
8347
8347
|
try {
|
|
8348
|
-
const content =
|
|
8348
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
8349
8349
|
await fs.writeFile(dest, content, {
|
|
8350
8350
|
encoding: "utf-8",
|
|
8351
8351
|
flag: "wx"
|
|
8352
8352
|
});
|
|
8353
8353
|
} finally {
|
|
8354
|
-
|
|
8354
|
+
fs$1.closeSync(opened.fd);
|
|
8355
8355
|
}
|
|
8356
8356
|
} catch {}
|
|
8357
8357
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-BPWLncAF.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.SQUIDCLAW_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!fs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
fs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
fs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./run-with-concurrency-dPQDZOCa.js";
|
|
2
|
+
import "./paths-CSdAWKDO.js";
|
|
3
|
+
import "./subsystem-dxhNE8KQ.js";
|
|
4
|
+
import "./workspace-BvDT97ZH.js";
|
|
5
|
+
import "./logger-Bm_EnB1e.js";
|
|
6
|
+
import "./model-selection-BPWLncAF.js";
|
|
7
|
+
import "./github-copilot-token-Cw3tAXM9.js";
|
|
8
|
+
import "./legacy-names-BgDN6vTY.js";
|
|
9
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CBUEOS9U.js";
|
|
10
|
+
|
|
11
|
+
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { D as isPlainObject } from "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
1
|
+
import "./run-with-concurrency-dPQDZOCa.js";
|
|
2
|
+
import "./paths-CSdAWKDO.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-dxhNE8KQ.js";
|
|
4
|
+
import "./workspace-BvDT97ZH.js";
|
|
5
|
+
import { D as isPlainObject } from "./logger-Bm_EnB1e.js";
|
|
6
|
+
import "./model-selection-BPWLncAF.js";
|
|
7
|
+
import "./github-copilot-token-Cw3tAXM9.js";
|
|
8
|
+
import "./legacy-names-BgDN6vTY.js";
|
|
9
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-Cc3KWO3C.js";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-DE6ibnmU.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-Duwviem_.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BW7b9aIf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BW7b9aIf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-DE6ibnmU.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Ht as normalizeProviderId } from "./config-DE6ibnmU.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-DE6ibnmU.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import "./accounts-
|
|
5
|
+
import "./accounts-BW7b9aIf.js";
|
|
6
|
+
import "./plugins-NKOOkt_i.js";
|
|
7
|
+
import "./thinking-0lRH3Rcl.js";
|
|
8
|
+
import "./accounts-De05T3_J.js";
|
|
9
|
+
import "./image-ops-D9cweu_-.js";
|
|
10
|
+
import "./pi-embedded-helpers-CBAsAxOB.js";
|
|
11
|
+
import "./accounts-tAi-tfAf.js";
|
|
12
12
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
-
import "./paths-
|
|
14
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
15
|
-
import "./image-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store-
|
|
24
|
-
import "./tool-images-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./api-key-rotation-
|
|
27
|
-
import "./local-roots-
|
|
28
|
-
import "./proxy-fetch-
|
|
13
|
+
import "./paths-B7_75Pdr.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-CO4tyQtQ.js";
|
|
15
|
+
import "./image-UG930mNm.js";
|
|
16
|
+
import "./chrome-CVbDHFaE.js";
|
|
17
|
+
import "./skills-D58hSyfJ.js";
|
|
18
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
19
|
+
import "./redact-9WsNyb7S.js";
|
|
20
|
+
import "./errors-CgRPdp3o.js";
|
|
21
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
22
|
+
import "./proxy-env-DooJ7AbC.js";
|
|
23
|
+
import "./store-CHxyy2Nq.js";
|
|
24
|
+
import "./tool-images-K2kMTUHK.js";
|
|
25
|
+
import "./fetch-guard-dmZ4U9uQ.js";
|
|
26
|
+
import "./api-key-rotation-CCoQ5SD_.js";
|
|
27
|
+
import "./local-roots-CIhD7Co-.js";
|
|
28
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
5
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
-
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-DE6ibnmU.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-NKOOkt_i.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-D9cweu_-.js";
|
|
6
|
+
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-UG930mNm.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-dmZ4U9uQ.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CCoQ5SD_.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-CIhD7Co-.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-Dt5BedH8.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { constants } from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
|
|
|
990
990
|
const log = createSubsystemLogger("model-catalog");
|
|
991
991
|
let modelCatalogPromise = null;
|
|
992
992
|
let hasLoggedModelCatalogError = false;
|
|
993
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
993
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-hrhgLkQy.js").then((n) => n.r);
|
|
994
994
|
let importPiSdk = defaultImportPiSdk;
|
|
995
995
|
const CODEX_PROVIDER = "openai-codex";
|
|
996
996
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import { f as isRecord } from "./logger-DIb2cGHp.js";
|
|
2
2
|
import "./paths-Duwviem_.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
4
|
+
import { t as makeProxyFetch } from "./proxy-fetch-Dt5BedH8.js";
|
|
5
5
|
import "./proxy-BOZmkV9K.js";
|
|
6
6
|
|
|
7
7
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { en as resolveRetryConfig, tn as retryAsync } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { en as resolveRetryConfig, tn as retryAsync } from "./config-DE6ibnmU.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-
|
|
3
|
-
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
5
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-
|
|
6
|
-
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-
|
|
7
|
-
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
8
|
-
import { s as resolveStorePath } from "./paths-
|
|
9
|
-
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-
|
|
10
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
11
|
-
import { i as saveMediaBuffer } from "./store-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-
|
|
14
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
15
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
17
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
18
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-DE6ibnmU.js";
|
|
3
|
+
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BW7b9aIf.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-0lRH3Rcl.js";
|
|
6
|
+
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-sihF_R23.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-CBAsAxOB.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-B7_75Pdr.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-DZB0Hlej.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CO4tyQtQ.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-CHxyy2Nq.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CIhD7Co-.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-pigw84ir.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-QlTyjswN.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-D2Q-dmPT.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-CirjQdCm.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-ux3UTEA3.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C98G_V4e.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|