winclaw 2026.3.21 → 2026.3.22
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-CTJXIABG.js → accounts-8qwgz384.js} +1 -1
- package/dist/{accounts-CLKFSM00.js → accounts-BpS-Awr5.js} +1 -1
- package/dist/{accounts-cYG8442L.js → accounts-BrWJjaKS.js} +7 -7
- package/dist/{acp-cli-BbN2vTHD.js → acp-cli-BMM5ssNE.js} +8 -8
- package/dist/{agent-scope-D-i-vMLS.js → agent-scope-Dany4R2i.js} +17 -17
- package/dist/{agents-_gcdm-kb.js → agents-AMH_Bmb6.js} +14 -14
- package/dist/{agents.config-BkgsJJng.js → agents.config-6n_jmCMa.js} +2 -2
- package/dist/{api-key-rotation-D_JdsLIl.js → api-key-rotation-C9ywPLG3.js} +1 -1
- package/dist/{audio-preflight-CdgtLVh2.js → audio-preflight-D7UvXGlQ.js} +34 -34
- package/dist/{audio-preflight-CBWXmKyj.js → audio-preflight-DHeEYciJ.js} +4 -4
- package/dist/{audio-transcription-runner-DpvjaNmr.js → audio-transcription-runner-1-9PFrzh.js} +1 -1
- package/dist/{audio-transcription-runner-DGZYB2Wq.js → audio-transcription-runner-nnwJufig.js} +23 -23
- package/dist/{audit-DdcsBl_-.js → audit-DV_kf1sd.js} +29 -29
- package/dist/{auth-CU4HqNch.js → auth-Ahj-1B5R.js} +1 -1
- package/dist/{auth-choice-CtzD_rrW.js → auth-choice-NjkwJsBG.js} +13 -13
- package/dist/{auth-choice-i771W71t.js → auth-choice-dFTD1hLR.js} +11 -11
- package/dist/{auth-choice.apply-helpers-Bmj9LZnO.js → auth-choice.apply-helpers-ClzwLPaB.js} +1 -1
- package/dist/{auth-profiles-CmoHF97e.js → auth-profiles-DF0cLC20.js} +16 -16
- package/dist/{auth-token-C_S_Uszj.js → auth-token-BXCBtI3p.js} +1 -1
- package/dist/{banner-C-01b-if.js → banner-BB4DFL8E.js} +2 -2
- package/dist/{bonjour-discovery-BxCVyJLG.js → bonjour-discovery-BVSpbdjs.js} +1 -1
- package/dist/{browser-cli-Rt_P1-M1.js → browser-cli-DAcccrxR.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-BLyRfBMl.js → call-DEKH5GO9.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-B4ofKr9t.js → channel-account-context-D4Yftz20.js} +5 -5
- package/dist/{channel-activity-CPWF8YR5.js → channel-activity-D03SwGPA.js} +1 -1
- package/dist/{channel-options-it9Z3dNk.js → channel-options-C7dYNZsy.js} +3 -3
- package/dist/{channel-selection-5G2iw3CB.js → channel-selection-Bke39fer.js} +1 -1
- package/dist/{channel-web-CJ_jcZSw.js → channel-web-BOrAGcza.js} +17 -17
- package/dist/{channels-cli-miFqkj2-.js → channels-cli-4YLI7Ar_.js} +93 -93
- package/dist/{channels-status-issues-DpfEWI4l.js → channels-status-issues-wCgCdUDu.js} +1 -1
- package/dist/{chrome-RAfAR4xV.js → chrome-BDFA9lPV.js} +4 -4
- package/dist/{chrome-GsaZ074n.js → chrome-Cr8R7xl_.js} +8 -8
- package/dist/{clawbot-cli-HvFYYAc6.js → clawbot-cli-B96xAtzs.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BozE7JCS.js +154 -0
- package/dist/{client-DCxDsURZ.js → client-jNFqrgw6.js} +2 -2
- package/dist/{command-registry-m8nfRV-J.js → command-registry-qDpes5Yr.js} +11 -11
- package/dist/{command-secret-targets-BfqkoJyp.js → command-secret-targets-Dd4qCPSg.js} +4 -4
- package/dist/{commands-4mnxaSoA.js → commands-DmBkhPD-.js} +1 -1
- package/dist/{commands-registry-h5KiQe_S.js → commands-registry-BB289Bg8.js} +3 -3
- package/dist/{completion-cli-B-8mTxbh.js → completion-cli-DzZieT3i.js} +13 -13
- package/dist/{config-cli-1ecjxVfC.js → config-cli-Dk1yc6M9.js} +7 -7
- package/dist/{config-guard-DlzKrdcR.js → config-guard-3fwTO4Mb.js} +3 -3
- package/dist/{config-validation-E-3Wz4C4.js → config-validation-5pIaju5U.js} +3 -3
- package/dist/{configure-B-tOY-wa.js → configure-CuqZCxTb.js} +17 -17
- package/dist/{control-ui-assets-B0DdamQU.js → control-ui-assets-5F0FEjfM.js} +1 -1
- package/dist/{cron-cli-DpVGzupl.js → cron-cli-BIa0VxDk.js} +11 -11
- package/dist/{daemon-cli-CqwUFobu.js → daemon-cli-BE11O7QX.js} +16 -16
- package/dist/{daemon-install-C029NlXk.js → daemon-install-DNhR8NtL.js} +4 -4
- package/dist/{daemon-install-helpers-D1YQ03lO.js → daemon-install-helpers-DWmF3oFP.js} +11 -11
- package/dist/{deliver-BX-UVg7x.js → deliver-CqiBzHnh.js} +7 -7
- package/dist/{deliver-CtyrAYix.js → deliver-r4_Yp7-C.js} +1 -1
- package/dist/{deliver-runtime-Bvh4te8E.js → deliver-runtime-CIXUsI5k.js} +3 -3
- package/dist/deliver-runtime-DJsAB9LW.js +57 -0
- package/dist/deps-send-discord.runtime-M8Cl0fms.js +32 -0
- package/dist/deps-send-imessage.runtime-Bing_Bvm.js +31 -0
- package/dist/deps-send-signal.runtime-CEnhoskG.js +30 -0
- package/dist/deps-send-slack.runtime-DeKWrOdA.js +28 -0
- package/dist/deps-send-telegram.runtime-K5LxxPog.js +34 -0
- package/dist/{deps-send-whatsapp.runtime-BJV7VcRP.js → deps-send-whatsapp.runtime-BXDQiU2D.js} +7 -7
- package/dist/deps-send-whatsapp.runtime-Cie2nrT8.js +115 -0
- package/dist/{devices-cli-Cpq_Gt1l.js → devices-cli-BJgUG9fc.js} +8 -8
- package/dist/{diagnostic-DIPYflOJ.js → diagnostic-BCcd-_zI.js} +1 -1
- package/dist/{diagnostics-KfpqzhsS.js → diagnostics-BDjbQJxP.js} +5 -5
- package/dist/{directory-cli-CPBPE8N1.js → directory-cli-CJ_l_BnF.js} +7 -7
- package/dist/{dns-cli-CI7HzCVI.js → dns-cli-CFau82Y7.js} +5 -5
- package/dist/{dock-ClcGZ0LV.js → dock-C-w5XvOS.js} +4 -4
- package/dist/{docs-cli-DkQBHXw-.js → docs-cli-BRob5CHm.js} +4 -4
- package/dist/{doctor-completion-DEdT-_9v.js → doctor-completion-DB39JNV7.js} +2 -2
- package/dist/{doctor-config-flow-D6rEqOwb.js → doctor-config-flow-BzYwmYwv.js} +15 -15
- package/dist/{enable-sRe0nI5a.js → enable-Qw-mz6ta.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-B5ZdMbz6.js → exec-approvals-allowlist-BkdJCc3F.js} +1 -1
- package/dist/{exec-approvals-cli-BFxdGk9c.js → exec-approvals-cli-DsDGgzyV.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CB8atBLm.js → exec-safe-bin-runtime-policy-C5pAgyiz.js} +2 -2
- package/dist/{fetch-CdvuNDFE.js → fetch-BwrGQrFL.js} +3 -3
- package/dist/{fetch-guard-D-W6TRJN.js → fetch-guard-CHht1LfT.js} +1 -1
- package/dist/{plugin-sdk/fs-safe-DRACrdwg.js → fs-safe-B8J4dv27.js} +6 -6
- package/dist/{gateway-cli-C_4mlmOW.js → gateway-cli-BdyXCC2C.js} +154 -154
- package/dist/{gateway-rpc-Dg3CGljP.js → gateway-rpc-ICMh7-Qs.js} +1 -1
- package/dist/{health-C5a0wlfE.js → health-Boe965-L.js} +11 -11
- package/dist/{hooks-cli-C79J_WG7.js → hooks-cli-DI0sn396.js} +81 -81
- package/dist/{hooks-status-Cjg5SLpX.js → hooks-status-CQjtRM1s.js} +1 -1
- package/dist/{image-7s8Q2r40.js → image-DoOVDHql.js} +1 -1
- package/dist/{image-EjGWXbei.js → image-Dpt9TurJ.js} +5 -5
- package/dist/{image-ops-eFMqXMDE.js → image-ops-DWGnyTvC.js} +10 -10
- package/dist/image-runtime-HfAsK5X3.js +51 -0
- package/dist/{image-runtime-QNP_uABR.js → image-runtime-Wym8Keh3.js} +3 -3
- package/dist/{inspect-XmcWN97u.js → inspect-DbVcDDi7.js} +4 -4
- package/dist/{install-safe-path-DNotGe9T.js → install-safe-path-FR9r9Dmi.js} +25 -25
- package/dist/{installs-zKF10nZF.js → installs-7zsfIb7P.js} +9 -9
- package/dist/{ipv4-DIKCnoyz.js → ipv4-CfrDjvjo.js} +1 -1
- package/dist/{ir-CJPPU4LU.js → ir-B-FffSKU.js} +8 -8
- package/dist/{issue-format-DCF2SXK_.js → issue-format-NmLUfbBT.js} +1 -1
- package/dist/{json-files-kWpauJWO.js → json-files-D9ZHO8Ud.js} +8 -8
- package/dist/{lifecycle-core-BLhI5nRz.js → lifecycle-core-Di83_FGS.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-D26qK4NQ.js → login-BrdFlfV0.js} +3 -3
- package/dist/{login-qr-CMgMlRCI.js → login-qr-Ci3FVgS9.js} +6 -6
- package/dist/{logs-cli-Cn7bGSc7.js → logs-cli-DUl4D14l.js} +9 -9
- package/dist/{manager-f6tniCBN.js → manager-2Wice7pq.js} +14 -14
- package/dist/manager-runtime-BrpO8pJp.js +22 -0
- package/dist/{manifest-registry-CI-UuKUO.js → manifest-registry-_liSV_Vx.js} +1 -1
- package/dist/{memory-cli-C2Yq9ryD.js → memory-cli-BgZK6A-T.js} +12 -12
- package/dist/{model-CXGHDOeN.js → model-C4J88Gi3.js} +2 -2
- package/dist/{model-catalog-08ftNXDk.js → model-catalog-BYxSwIkt.js} +3 -3
- package/dist/{model-picker-CTRi5Yhj.js → model-picker-DAr8DpKu.js} +4 -4
- package/dist/{models-Do96D4zT.js → models-DqwqcGxg.js} +17 -17
- package/dist/{models-cli-pblTciC_.js → models-cli-BFfUYhHp.js} +78 -78
- package/dist/{models-config-DYJ-p9kt.js → models-config-CJq2ywhf.js} +6 -6
- package/dist/{net-DQYHvbkN.js → net-C7TXXUto.js} +2 -2
- package/dist/{node-cli-CsQwAHzH.js → node-cli-DMpZsjse.js} +33 -33
- package/dist/{node-command-policy-BHdicfMO.js → node-command-policy-DGMJi4xw.js} +1 -1
- package/dist/{node-service-CLtiUeNO.js → node-service-L9-L8-7x.js} +1 -1
- package/dist/{nodes-cli-Dlilj-Pf.js → nodes-cli-BcyY77Cc.js} +16 -16
- package/dist/{nodes-screen-CL-8raxt.js → nodes-screen-B6QVlwKO.js} +7 -7
- package/dist/{npm-pack-install-DZvYhRnM.js → npm-pack-install-B3VCcNWC.js} +18 -18
- package/dist/{npm-resolution-DE7xcGkg.js → npm-resolution-0-Scs5nn.js} +4 -4
- package/dist/{onboard-CReGZ3G9.js → onboard-C9gtA3_b.js} +6 -6
- package/dist/{onboard-channels-ljMkIe7O.js → onboard-channels-NBqfiIc3.js} +21 -21
- package/dist/{onboard-custom-DoJDTzAW.js → onboard-custom-Cv61U_sa.js} +4 -4
- package/dist/{onboard-helpers-7lOdCHhD.js → onboard-helpers-Djj9SkyR.js} +10 -10
- package/dist/{onboard-hooks-BTD0YhRI.js → onboard-hooks-DRkLf5gL.js} +4 -4
- package/dist/{onboard-remote-Bj9uk3zW.js → onboard-remote-o8XtWCa_.js} +4 -4
- package/dist/{onboard-skills-1KAA9UrK.js → onboard-skills-TATKa-gc.js} +4 -4
- package/dist/{onboarding-CoH1hPY0.js → onboarding-C_LQ6doG.js} +14 -14
- package/dist/{onboarding.finalize-DzRWtkmA.js → onboarding.finalize-uHWzNBrm.js} +87 -87
- package/dist/{onboarding.gateway-config-s11ZLxLE.js → onboarding.gateway-config-ByvXJY2k.js} +18 -18
- package/dist/{onboarding.secret-input-D5VKqHdN.js → onboarding.secret-input-Cw4uIgyl.js} +1 -1
- package/dist/{openai-model-default-sYh2slgj.js → openai-model-default-Db9joqm4.js} +2 -2
- package/dist/{outbound-D0KF3CHY.js → outbound-DgsIsXfj.js} +3 -3
- package/dist/{outbound-attachment-CEC4H3tX.js → outbound-attachment-CjhkSZBR.js} +2 -2
- package/dist/{pairing-cli-4Nrc-V_v.js → pairing-cli-D0KKynjI.js} +8 -8
- package/dist/{pairing-labels-e3Pnen1C.js → pairing-labels-Ev8O2qBX.js} +1 -1
- package/dist/{pairing-store-Kslw_Wa0.js → pairing-store-CI0hWzZk.js} +3 -3
- package/dist/{plugin-sdk/path-alias-guards-CaCBZRHc.js → path-alias-guards-BoydiaPL.js} +1 -1
- package/dist/{path-safety-Cq9rwfZN.js → path-safety-CSCsbd-j.js} +1 -1
- package/dist/{paths-C5mR1YC-.js → paths-BVQ0udwc.js} +9 -9
- package/dist/{pi-embedded-DUO1eQ_J.js → pi-embedded-CD3oPGOP.js} +24 -24
- package/dist/{pi-embedded-helpers-BWpzwT6B.js → pi-embedded-helpers-Be8qWeKb.js} +6 -6
- package/dist/{pi-embedded-helpers-BMGRFCuV.js → pi-embedded-helpers-BthBxPYi.js} +3 -3
- package/dist/{pi-model-discovery-CibSv4gC.js → pi-model-discovery-CgxnCHvU.js} +1 -1
- package/dist/{pi-model-discovery-runtime-DhBE8w94.js → pi-model-discovery-runtime-CqYOz48r.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-D6h4CmLs.js → pi-tools.before-tool-call.runtime-CPnt06zM.js} +5 -5
- package/dist/{pi-tools.policy-BqpmC_c4.js → pi-tools.policy-DGbCC2Ji.js} +5 -5
- package/dist/{plugin-auto-enable-DnSZLbIH.js → plugin-auto-enable-Crpu18wt.js} +3 -3
- package/dist/{plugin-registry-DckyegZB.js → plugin-registry-Dbu4pN4B.js} +3 -3
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/{plugins-C1OgLvb4.js → plugins-IFacUN_Q.js} +2 -2
- package/dist/{plugins-cli-C6Oo9R6E.js → plugins-cli-CCpaWcyg.js} +83 -83
- package/dist/{ports-CfOim1GC.js → ports-DqZBwUsy.js} +2 -2
- package/dist/{ports-Dw-3Gxsb.js → ports-FLn4cVl7.js} +1 -1
- package/dist/{probe-D3f6QMfy.js → probe-CHRXpP2F.js} +2 -2
- package/dist/{program-CEJ6CsoR.js → program-Br4Re78f.js} +81 -81
- package/dist/{prompt-select-styled-D-f3R2mt.js → prompt-select-styled-w-CGGgrT.js} +40 -40
- package/dist/{provider-auth-helpers-CN4iPBfs.js → provider-auth-helpers-BVCos07y.js} +5 -5
- package/dist/{proxy-env-B7GwrH5p.js → proxy-env-Bx8OhutV.js} +1 -1
- package/dist/{push-apns-BEZdCQsM.js → push-apns-Cdl2nskU.js} +5 -5
- package/dist/{pw-ai-Ckb-165q.js → pw-ai-BpQw305H.js} +18 -18
- package/dist/{pw-ai-D6e8FGb0.js → pw-ai-CJfoHUhH.js} +1 -1
- package/dist/{plugin-sdk/qmd-manager-JiY1T3wh.js → qmd-manager-COHJs6wn.js} +15 -11
- package/dist/{qr-cli-BI54tdt3.js → qr-cli-Bzo00_vR.js} +2 -2
- package/dist/{query-expansion-Cja4xprw.js → query-expansion-IQFdQdeu.js} +12 -12
- package/dist/{redact-snapshot-YrAxVxTI.js → redact-snapshot-Bfefch_D.js} +1 -1
- package/dist/{register.agent-BjxrirHi.js → register.agent-CVpohSrc.js} +94 -94
- package/dist/register.configure-CiIuig3f.js +162 -0
- package/dist/{register.maintenance-BfdiJ7KX.js → register.maintenance-CpVfbR8z.js} +95 -95
- package/dist/{register.message-BszoJEBm.js → register.message-CJErVRcL.js} +74 -74
- package/dist/{register.onboard-CbJU4Y-3.js → register.onboard-Cm5fn9dF.js} +18 -18
- package/dist/{register.setup-BTTBsCT0.js → register.setup-DIBDbMN8.js} +21 -21
- package/dist/{register.status-health-sessions-C3Ji8sqv.js → register.status-health-sessions-Bu3abDYw.js} +89 -89
- package/dist/{register.subclis-2iN-TxPh.js → register.subclis-DTiQUgvr.js} +31 -31
- package/dist/{rpc-4GcuaLHq.js → rpc-CkwrblZ9.js} +1 -1
- package/dist/{run-main-BEtPk_9z.js → run-main-4p7ridqP.js} +92 -92
- package/dist/{runtime-4RU4PT-H.js → runtime-C-9xWVep.js} +3 -3
- package/dist/{runtime-config-collectors-Ca2llf68.js → runtime-config-collectors-vw9ITu9W.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DOTrH3Wz.js → runtime-whatsapp-login.runtime-CrytFUOh.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-DOHkvY0R.js +28 -0
- package/dist/{sandbox-D19lOCVP.js → sandbox-CDjV0Crv.js} +18 -18
- package/dist/{sandbox-cli-DAZxiFQz.js → sandbox-cli-CyS9Kzp1.js} +25 -25
- package/dist/{secrets-cli-Bd2eDDOJ.js → secrets-cli-BPXW13bC.js} +11 -11
- package/dist/{security-cli-C6oO69to.js → security-cli-DfuX1PAw.js} +43 -43
- package/dist/{send-DR5zNR-6.js → send-BTQQeOIu.js} +6 -6
- package/dist/{send-3vnK2por.js → send-CFsJh6px.js} +11 -11
- package/dist/{send-DTvtOsK3.js → send-CM55Cnqy.js} +4 -4
- package/dist/{send-Bz5LPBFx.js → send-D7wKzeqg.js} +8 -8
- package/dist/{send-CEgqE2b1.js → send-DUJqLDEQ.js} +5 -5
- package/dist/{server-vPpafyBR.js → server-57rjxu9J.js} +20 -20
- package/dist/{server-context-FT_S05Zu.js → server-context-DdGwcBos.js} +12 -12
- package/dist/{server-lifecycle-YV61YmRr.js → server-lifecycle-TD7uRUJM.js} +2 -2
- package/dist/{server-middleware-BPI-0Duw.js → server-middleware-Dqzu_N47.js} +1 -1
- package/dist/{server-node-events-BozhXo6J.js → server-node-events-CstHr-4q.js} +74 -74
- package/dist/{service-Aratsspm.js → service-B45ntxm9.js} +15 -15
- package/dist/{session-C4iQQHfw.js → session-BO7rj_9P.js} +1 -1
- package/dist/{session-utils-CTpXGSxL.js → session-utils-DqzU9P2d.js} +6 -6
- package/dist/{sessions-CZvR93mC.js → sessions-BPbCt7hk.js} +4 -4
- package/dist/{sessions-Cvvux3S6.js → sessions-BUNwVEqF.js} +15 -15
- package/dist/{shared-ByZODVse.js → shared-CeHWQzSU.js} +3 -3
- package/dist/{shared-Cj-SPh02.js → shared-CpqkgNHp.js} +1 -1
- package/dist/{skill-commands-CzaT61kL.js → skill-commands-BlmjGaIe.js} +5 -5
- package/dist/{skill-scanner-DqqhF5of.js → skill-scanner-DOOfjrYo.js} +6 -6
- package/dist/{skills-BpN5EUZU.js → skills-CFYm0xdh.js} +3 -3
- package/dist/{skills-cli-Bk2WM5gn.js → skills-cli-Dmbm2-L8.js} +5 -5
- package/dist/{skills-install-0pjIZu1-.js → skills-install-DSB3T8VY.js} +6 -6
- package/dist/{skills-status-Bu28FGtt.js → skills-status-CmWpjTMz.js} +1 -1
- package/dist/{slash-commands.runtime-CU--cvcd.js → slash-commands.runtime-CTVGYo20.js} +11 -11
- package/dist/{slash-dispatch.runtime-DDLolsGY.js → slash-dispatch.runtime-CQmhrE1-.js} +6 -6
- package/dist/slash-dispatch.runtime-yKnwVCI5.js +110 -0
- package/dist/slash-skill-commands.runtime-BCG9eUm1.js +29 -0
- package/dist/{status-B5hylgEQ.js → status-DPFQHdBI.js} +28 -28
- package/dist/{status.update-CdaaXiD4.js → status.update-ZhDibzTU.js} +2 -2
- package/dist/{store-LSg8jeyh.js → store-Dgl-neCe.js} +5 -5
- package/dist/{subagent-registry-iD-ynHA9.js → subagent-registry-DPqc72Pw.js} +149 -149
- package/dist/{subagent-registry-runtime-DfMDVaOY.js → subagent-registry-runtime-BYxLgcCY.js} +6 -6
- package/dist/subagent-registry-runtime-DE-5902Y.js +110 -0
- package/dist/{system-cli-B8wmT3y0.js → system-cli-BiiO_z6k.js} +9 -9
- package/dist/{system-run-command-Ft0meR8i.js → system-run-command-CUMrwy8H.js} +1 -1
- package/dist/{systemd-CVY4-XuL.js → systemd-BNMfPHLS.js} +9 -9
- package/dist/{systemd-hints-GPX9Y1X7.js → systemd-hints-O9SJa5Ku.js} +6 -6
- package/dist/{systemd-linger-CyioH9ho.js → systemd-linger-CDgtOmPf.js} +1 -1
- package/dist/{tables-B6p8P9wY.js → tables-Bjpb4vEC.js} +1 -1
- package/dist/{tailnet-yScEfa2T.js → tailnet-C4yxhmDk.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Hoj2qirZ.js → target-errors-Bd8kj4z9.js} +2 -2
- package/dist/{tool-images-Cp3hNFNZ.js → tool-images-DbchBdq5.js} +1 -1
- package/dist/{tui-BPqNtl51.js → tui-BVOPPCMP.js} +6 -6
- package/dist/{tui-cli-BZE2zssw.js → tui-cli-B2jmEXCo.js} +32 -32
- package/dist/{update-u6OtnABh.js → update-DF240Zd0.js} +3 -3
- package/dist/{update-cli-C1nysDmM.js → update-cli-PDG-KYWB.js} +105 -105
- package/dist/{update-runner-BpzbDTnQ.js → update-runner-BkpGT3AA.js} +16 -16
- package/dist/{web-CodV11ZY.js → web-0SOsmYmI.js} +6 -6
- package/dist/web-20qjCzeI.js +114 -0
- package/dist/{webhooks-cli-D4O_OfXU.js → webhooks-cli-N_vV0iXR.js} +6 -6
- package/dist/{whatsapp-actions-By2rV868.js → whatsapp-actions-X768ziyc.js} +17 -17
- package/dist/{winclaw-root-D0OUuGl7.js → winclaw-root-DEqOOeOw.js} +8 -8
- package/dist/{with-timeout-Cng0KnPd.js → with-timeout-DJb5ULbL.js} +3 -3
- package/dist/{workspace-vYy4qLQz.js → workspace-Cx-f7PO5.js} +1 -1
- package/dist/{workspace-dirs-C13vnqQQ.js → workspace-dirs-C5erYAob.js} +1 -1
- package/dist/{wsl-C9d12M7y.js → wsl-BisEqrSr.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-Da0pNyXg.js +0 -154
- package/dist/deliver-runtime-Co5o7uv0.js +0 -57
- package/dist/deps-send-discord.runtime-D0BtA9iO.js +0 -32
- package/dist/deps-send-imessage.runtime-89fweiea.js +0 -31
- package/dist/deps-send-signal.runtime-BA3mNq_v.js +0 -30
- package/dist/deps-send-slack.runtime-DiA-Ieod.js +0 -28
- package/dist/deps-send-telegram.runtime-C9bLOnbt.js +0 -34
- package/dist/deps-send-whatsapp.runtime-Dflrvnq-.js +0 -115
- package/dist/fs-safe-Dha0DfFC.js +0 -352
- package/dist/image-runtime-CGAobfgI.js +0 -51
- package/dist/manager-runtime-BifbXCuI.js +0 -22
- package/dist/path-alias-guards-9OJ1UBCd.js +0 -43
- package/dist/plugin-sdk/accounts-B9lBByhz.js +0 -35
- package/dist/plugin-sdk/accounts-Bl6fp04N.js +0 -288
- package/dist/plugin-sdk/accounts-CQWq_42g.js +0 -46
- package/dist/plugin-sdk/active-listener-Dc-P7jeX.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-DSOB99GV.js +0 -181
- package/dist/plugin-sdk/audio-preflight-DYTxAG0v.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-Bndij5Q1.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-ZTTIhQhs.js +0 -58
- package/dist/plugin-sdk/channel-activity-ChRCQNSc.js +0 -94
- package/dist/plugin-sdk/channel-web-CfZNFYCV.js +0 -2256
- package/dist/plugin-sdk/chrome-DNpRdbZ1.js +0 -2415
- package/dist/plugin-sdk/commands-registry-Bq1HqcJU.js +0 -1125
- package/dist/plugin-sdk/config-Cyo0rHBx.js +0 -17959
- package/dist/plugin-sdk/deliver-mBruQPRt.js +0 -1719
- package/dist/plugin-sdk/deliver-runtime-ByVt0evu.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-C2fc3t93.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-D4m7X6j4.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DwGJRjyX.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-7J491hID.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DAKGyd6b.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BxQ5tZO2.js +0 -57
- package/dist/plugin-sdk/diagnostic-B3ZoSFoM.js +0 -319
- package/dist/plugin-sdk/errors-DdSHGcgi.js +0 -54
- package/dist/plugin-sdk/fetch-guard-Uhk4tySC.js +0 -156
- package/dist/plugin-sdk/image-CEBZ8sRh.js +0 -2314
- package/dist/plugin-sdk/image-ops-Dye2ozSZ.js +0 -584
- package/dist/plugin-sdk/image-runtime-CabQkSZn.js +0 -25
- package/dist/plugin-sdk/ir-CruONUHn.js +0 -1296
- package/dist/plugin-sdk/local-roots-BYSlR-at.js +0 -186
- package/dist/plugin-sdk/logger-C_vnHQg2.js +0 -1163
- package/dist/plugin-sdk/login-bdsdinOj.js +0 -57
- package/dist/plugin-sdk/login-qr-BYAvyop9.js +0 -320
- package/dist/plugin-sdk/manager-AOQxrU7P.js +0 -3929
- package/dist/plugin-sdk/manager-runtime-CijO5giX.js +0 -15
- package/dist/plugin-sdk/outbound-FdiP5J7H.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-DZphVgq7.js +0 -19
- package/dist/plugin-sdk/paths-ICLB349I.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-tHjfJzH4.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-DQV-B6bn.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-MJmZTIax.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-7DPjo7Ey.js +0 -354
- package/dist/plugin-sdk/plugins-BQHnLb2v.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-BpMu-RpD.js +0 -38
- package/dist/plugin-sdk/pw-ai-DAMRoo8O.js +0 -1938
- package/dist/plugin-sdk/query-expansion-CuaTloKx.js +0 -1011
- package/dist/plugin-sdk/redact-BznLQ6I5.js +0 -319
- package/dist/plugin-sdk/reply-Cx_4UtvJ.js +0 -100211
- package/dist/plugin-sdk/resolve-outbound-target-BDjhohcf.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-BcPenaKJ.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DqezqoLI.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dgnv_x4o.js +0 -19
- package/dist/plugin-sdk/send-BWz-g7wE.js +0 -540
- package/dist/plugin-sdk/send-DB9pUM0k.js +0 -414
- package/dist/plugin-sdk/send-QPap4wBN.js +0 -503
- package/dist/plugin-sdk/send-gz4Lq5tL.js +0 -2587
- package/dist/plugin-sdk/send-tyEtWeMX.js +0 -3135
- package/dist/plugin-sdk/session-88GgvJcW.js +0 -169
- package/dist/plugin-sdk/skill-commands-ClwX3DoE.js +0 -353
- package/dist/plugin-sdk/skills-B2FPl9ca.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-CGAfyDkY.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DN7TWAWh.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-C4i9B-79.js +0 -16
- package/dist/plugin-sdk/ssrf-D3NQgatK.js +0 -202
- package/dist/plugin-sdk/store-CDmdRGxP.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-CprGCjIU.js +0 -52
- package/dist/plugin-sdk/tables-j2CMtAoX.js +0 -55
- package/dist/plugin-sdk/thinking-Dh6B0ZhB.js +0 -1206
- package/dist/plugin-sdk/tokens-PExiD061.js +0 -52
- package/dist/plugin-sdk/tool-images-D7ah30xm.js +0 -274
- package/dist/plugin-sdk/web-D9wJfMr_.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-BjarJorO.js +0 -80
- package/dist/qmd-manager-oU4X85hj.js +0 -1452
- package/dist/register.configure-MduIRRMt.js +0 -162
- package/dist/runtime-whatsapp-outbound.runtime-CNnM5MdE.js +0 -28
- package/dist/slash-dispatch.runtime-D5Cl7j1v.js +0 -110
- package/dist/slash-skill-commands.runtime-DnvHGcVS.js +0 -29
- package/dist/subagent-registry-runtime-LH0OBaWN.js +0 -110
- package/dist/target-errors-HJQQHC3B.js +0 -195
- package/dist/web-DxHq9RWt.js +0 -114
|
@@ -13,15 +13,15 @@ import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as
|
|
|
13
13
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-CM2xsD1-.js";
|
|
14
14
|
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-BBOtyWyN.js";
|
|
15
15
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BEYczWtd.js";
|
|
16
|
-
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-
|
|
16
|
+
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-r4_Yp7-C.js";
|
|
17
17
|
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-Bfg2dGdT.js";
|
|
18
18
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-erBd-vFQ.js";
|
|
19
19
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-B5BJmNgG.js";
|
|
20
20
|
import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-B57kBDSi.js";
|
|
21
21
|
import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-DyitDdbm.js";
|
|
22
22
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CG08IlF3.js";
|
|
23
|
-
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError$1, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-
|
|
24
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
23
|
+
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError$1, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-BthBxPYi.js";
|
|
24
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-Cr8R7xl_.js";
|
|
25
25
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-RKUR-FBW.js";
|
|
26
26
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DQAZEPdU.js";
|
|
27
27
|
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Ce_WCs11.js";
|
|
@@ -34,8 +34,8 @@ import { t as resolveIMessageAccount } from "./accounts-B8tD_UsF.js";
|
|
|
34
34
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-ClcxBVEC.js";
|
|
35
35
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
|
|
36
36
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-vmtyKntM.js";
|
|
37
|
-
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureWinClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
38
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
37
|
+
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureWinClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-DoOVDHql.js";
|
|
38
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-1-9PFrzh.js";
|
|
39
39
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-DJPm89Bh.js";
|
|
40
40
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Bghlv-lk.js";
|
|
41
41
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B21Cix4W.js";
|
|
@@ -73,7 +73,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
73
73
|
import { pipeline } from "node:stream/promises";
|
|
74
74
|
import { createServer } from "node:http";
|
|
75
75
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
76
|
-
import WebSocket, { WebSocket
|
|
76
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
77
77
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
78
78
|
import { createJiti } from "jiti";
|
|
79
79
|
import AjvPkg from "ajv";
|
|
@@ -8268,7 +8268,7 @@ var GatewayClient = class {
|
|
|
8268
8268
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8269
8269
|
});
|
|
8270
8270
|
}
|
|
8271
|
-
this.ws = new WebSocket
|
|
8271
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8272
8272
|
this.ws.on("open", () => {
|
|
8273
8273
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8274
8274
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8464,7 +8464,7 @@ var GatewayClient = class {
|
|
|
8464
8464
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8465
8465
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8466
8466
|
this.connectTimer = setTimeout(() => {
|
|
8467
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8467
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8468
8468
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8469
8469
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8470
8470
|
}, connectChallengeTimeoutMs);
|
|
@@ -8506,7 +8506,7 @@ var GatewayClient = class {
|
|
|
8506
8506
|
return null;
|
|
8507
8507
|
}
|
|
8508
8508
|
async request(method, params, opts) {
|
|
8509
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8509
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8510
8510
|
const id = randomUUID();
|
|
8511
8511
|
const frame = {
|
|
8512
8512
|
type: "req",
|
|
@@ -9928,7 +9928,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
9928
9928
|
*/
|
|
9929
9929
|
let deliverRuntimePromise$2 = null;
|
|
9930
9930
|
function loadDeliverRuntime$2() {
|
|
9931
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
9931
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-CIXUsI5k.js");
|
|
9932
9932
|
return deliverRuntimePromise$2;
|
|
9933
9933
|
}
|
|
9934
9934
|
/**
|
|
@@ -11215,7 +11215,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11215
11215
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11216
11216
|
let subagentRegistryRuntimePromise = null;
|
|
11217
11217
|
function loadSubagentRegistryRuntime() {
|
|
11218
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11218
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BYxLgcCY.js");
|
|
11219
11219
|
return subagentRegistryRuntimePromise;
|
|
11220
11220
|
}
|
|
11221
11221
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14573,7 +14573,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
14573
14573
|
//#region src/media-understanding/echo-transcript.ts
|
|
14574
14574
|
let deliverRuntimePromise$1 = null;
|
|
14575
14575
|
function loadDeliverRuntime$1() {
|
|
14576
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
14576
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-CIXUsI5k.js");
|
|
14577
14577
|
return deliverRuntimePromise$1;
|
|
14578
14578
|
}
|
|
14579
14579
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -52740,7 +52740,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
52740
52740
|
const log$10 = createSubsystemLogger("session-maintenance-warning");
|
|
52741
52741
|
let deliverRuntimePromise = null;
|
|
52742
52742
|
function loadDeliverRuntime() {
|
|
52743
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
52743
|
+
deliverRuntimePromise ??= import("./deliver-runtime-CIXUsI5k.js");
|
|
52744
52744
|
return deliverRuntimePromise;
|
|
52745
52745
|
}
|
|
52746
52746
|
function shouldSendWarning() {
|
|
@@ -57717,7 +57717,7 @@ const VISION_PROVIDERS = [
|
|
|
57717
57717
|
];
|
|
57718
57718
|
let imageRuntimePromise = null;
|
|
57719
57719
|
function loadImageRuntime() {
|
|
57720
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
57720
|
+
imageRuntimePromise ??= import("./image-runtime-Wym8Keh3.js");
|
|
57721
57721
|
return imageRuntimePromise;
|
|
57722
57722
|
}
|
|
57723
57723
|
/**
|
|
@@ -59778,7 +59778,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
59778
59778
|
hasTypedText
|
|
59779
59779
|
};
|
|
59780
59780
|
try {
|
|
59781
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
59781
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DHeEYciJ.js");
|
|
59782
59782
|
if (params.abortSignal?.aborted) return {
|
|
59783
59783
|
hasAudioAttachment,
|
|
59784
59784
|
hasTypedText
|
|
@@ -67172,7 +67172,7 @@ let slackSenderRuntimePromise = null;
|
|
|
67172
67172
|
let signalSenderRuntimePromise = null;
|
|
67173
67173
|
let imessageSenderRuntimePromise = null;
|
|
67174
67174
|
function loadWhatsAppSenderRuntime() {
|
|
67175
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
67175
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-BXDQiU2D.js");
|
|
67176
67176
|
return whatsappSenderRuntimePromise;
|
|
67177
67177
|
}
|
|
67178
67178
|
function loadTelegramSenderRuntime() {
|
|
@@ -70882,7 +70882,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
70882
70882
|
return super.registerClient(client);
|
|
70883
70883
|
}
|
|
70884
70884
|
createWebSocket(url) {
|
|
70885
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
70885
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
70886
70886
|
}
|
|
70887
70887
|
}
|
|
70888
70888
|
return new ProxyGatewayPlugin();
|
|
@@ -80018,7 +80018,7 @@ function loadSlashCommandsRuntime() {
|
|
|
80018
80018
|
return slashCommandsRuntimePromise;
|
|
80019
80019
|
}
|
|
80020
80020
|
function loadSlashDispatchRuntime() {
|
|
80021
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
80021
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-CQmhrE1-.js");
|
|
80022
80022
|
return slashDispatchRuntimePromise;
|
|
80023
80023
|
}
|
|
80024
80024
|
function loadSlashSkillCommandsRuntime() {
|
|
@@ -83387,7 +83387,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
83387
83387
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
83388
83388
|
let preflightTranscript;
|
|
83389
83389
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
83390
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
83390
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DHeEYciJ.js");
|
|
83391
83391
|
preflightTranscript = await transcribeFirstAudio({
|
|
83392
83392
|
ctx: {
|
|
83393
83393
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -86313,7 +86313,7 @@ function loadWebLoginQr() {
|
|
|
86313
86313
|
return webLoginQrPromise;
|
|
86314
86314
|
}
|
|
86315
86315
|
function loadWebChannel() {
|
|
86316
|
-
webChannelPromise ??= import("./web-
|
|
86316
|
+
webChannelPromise ??= import("./web-0SOsmYmI.js");
|
|
86317
86317
|
return webChannelPromise;
|
|
86318
86318
|
}
|
|
86319
86319
|
function loadWhatsAppActions() {
|
|
@@ -94664,7 +94664,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94664
94664
|
* Throws if the connection is not open.
|
|
94665
94665
|
*/
|
|
94666
94666
|
send(event) {
|
|
94667
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
94667
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
94668
94668
|
this.ws.send(JSON.stringify(event));
|
|
94669
94669
|
}
|
|
94670
94670
|
/**
|
|
@@ -94681,7 +94681,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94681
94681
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
94682
94682
|
*/
|
|
94683
94683
|
isConnected() {
|
|
94684
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
94684
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
94685
94685
|
}
|
|
94686
94686
|
/**
|
|
94687
94687
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -94691,7 +94691,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94691
94691
|
this._cancelRetryTimer();
|
|
94692
94692
|
if (this.ws) {
|
|
94693
94693
|
this.ws.removeAllListeners();
|
|
94694
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
94694
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
94695
94695
|
this.ws = null;
|
|
94696
94696
|
}
|
|
94697
94697
|
}
|
|
@@ -94701,7 +94701,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94701
94701
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
94702
94702
|
return;
|
|
94703
94703
|
}
|
|
94704
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
94704
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
94705
94705
|
Authorization: `Bearer ${this.apiKey}`,
|
|
94706
94706
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
94707
94707
|
} });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { T as truncateUtf16Safe } from "./utils-hiIKrqOK.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
4
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-CDjV0Crv.js";
|
|
4
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DbchBdq5.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking-BxCyPtl0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -108,10 +108,10 @@ function clampToBudget(content, budget) {
|
|
|
108
108
|
async function ensureSessionHeader(params) {
|
|
109
109
|
const file = params.sessionFile;
|
|
110
110
|
try {
|
|
111
|
-
await
|
|
111
|
+
await fs.stat(file);
|
|
112
112
|
return;
|
|
113
113
|
} catch {}
|
|
114
|
-
await
|
|
114
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
115
115
|
const entry = {
|
|
116
116
|
type: "session",
|
|
117
117
|
version: 2,
|
|
@@ -119,7 +119,7 @@ async function ensureSessionHeader(params) {
|
|
|
119
119
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
120
120
|
cwd: params.cwd
|
|
121
121
|
};
|
|
122
|
-
await
|
|
122
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
123
123
|
}
|
|
124
124
|
function buildBootstrapContextFiles(files, opts) {
|
|
125
125
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -9,7 +9,7 @@ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug
|
|
|
9
9
|
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-7rATz3L_.js";
|
|
10
10
|
import { t as generateSecureToken } from "./secure-random-BEYczWtd.js";
|
|
11
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-B57kBDSi.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_WINCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_WINCLAW_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 resolveWinClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchWinClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopWinClawChrome, p as snapshotAria, q as DEFAULT_WINCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
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_WINCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_WINCLAW_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 resolveWinClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchWinClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopWinClawChrome, p as snapshotAria, q as DEFAULT_WINCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-Cr8R7xl_.js";
|
|
13
13
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-RKUR-FBW.js";
|
|
14
14
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DQAZEPdU.js";
|
|
15
15
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-CycHGjF8.js";
|
|
@@ -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-CJfoHUhH.js");
|
|
1282
1282
|
} catch (err) {
|
|
1283
1283
|
if (mode === "soft") return null;
|
|
1284
1284
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -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-CJfoHUhH.js")).closePlaywrightBrowserConnection();
|
|
3648
3648
|
} catch {}
|
|
3649
3649
|
}
|
|
3650
3650
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveWinClawUserDataDir }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Cr as normalizeProviderId, er as ensureAuthProfileStore } from "./auth-profiles-
|
|
2
|
+
import { Cr as normalizeProviderId, er as ensureAuthProfileStore } from "./auth-profiles-DF0cLC20.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
package/dist/{pi-model-discovery-runtime-DhBE8w94.js → pi-model-discovery-runtime-CqYOz48r.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./auth-profiles-
|
|
2
|
-
import "./agent-scope-
|
|
1
|
+
import "./auth-profiles-DF0cLC20.js";
|
|
2
|
+
import "./agent-scope-Dany4R2i.js";
|
|
3
3
|
import "./utils-hiIKrqOK.js";
|
|
4
|
-
import "./winclaw-root-
|
|
4
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
5
5
|
import "./logger-BcqRk323.js";
|
|
6
6
|
import "./exec-CaapFZaD.js";
|
|
7
7
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -9,7 +9,7 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
9
9
|
import "./host-env-security-CIiLt2Mi.js";
|
|
10
10
|
import "./version-TiOyTfO4.js";
|
|
11
11
|
import "./env-vars-CE3cUIrz.js";
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
12
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
13
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CgxnCHvU.js";
|
|
14
14
|
|
|
15
15
|
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import "./agent-scope-
|
|
2
|
+
import "./auth-profiles-DF0cLC20.js";
|
|
3
|
+
import "./agent-scope-Dany4R2i.js";
|
|
4
4
|
import { E as isPlainObject } from "./utils-hiIKrqOK.js";
|
|
5
|
-
import "./winclaw-root-
|
|
5
|
+
import "./winclaw-root-DEqOOeOw.js";
|
|
6
6
|
import "./logger-BcqRk323.js";
|
|
7
7
|
import "./exec-CaapFZaD.js";
|
|
8
8
|
import "./registry-BcRQUSsJ.js";
|
|
@@ -10,8 +10,8 @@ import "./github-copilot-token-DHTToceK.js";
|
|
|
10
10
|
import "./host-env-security-CIiLt2Mi.js";
|
|
11
11
|
import "./version-TiOyTfO4.js";
|
|
12
12
|
import "./env-vars-CE3cUIrz.js";
|
|
13
|
-
import "./manifest-registry-
|
|
14
|
-
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
13
|
+
import "./manifest-registry-_liSV_Vx.js";
|
|
14
|
+
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-BCcd-_zI.js";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
|
|
17
17
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-
|
|
2
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { Vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-DF0cLC20.js";
|
|
2
|
+
import { i as resolveAgentConfig } from "./agent-scope-Dany4R2i.js";
|
|
3
3
|
import { D as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-9-yI-GU_.js";
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-C-w5XvOS.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-DINJBdD0.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-CDjV0Crv.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-CI0hWzZk.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-Cdp2QhmS.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Cr as normalizeProviderId } from "./auth-profiles-
|
|
1
|
+
import { Cr as normalizeProviderId } from "./auth-profiles-DF0cLC20.js";
|
|
2
2
|
import { t as CONFIG_DIR, u as isRecord, v as resolveUserPath } from "./utils-hiIKrqOK.js";
|
|
3
3
|
import { a as getChatChannelMeta, l as normalizeChatChannelId, o as listChatChannels } from "./registry-BcRQUSsJ.js";
|
|
4
4
|
import { n as MANIFEST_KEY } from "./legacy-names-DfPyDvWW.js";
|
|
5
|
-
import { n as loadPluginManifestRegistry, r as discoverWinClawPlugins } from "./manifest-registry-
|
|
6
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
5
|
+
import { n as loadPluginManifestRegistry, r as discoverWinClawPlugins } from "./manifest-registry-_liSV_Vx.js";
|
|
6
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-BrWJjaKS.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { z as loadConfig } from "./auth-profiles-DF0cLC20.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dany4R2i.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-BcRQUSsJ.js";
|
|
6
|
-
import { b as loadWinClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { b as loadWinClawPlugins } from "./subagent-registry-DPqc72Pw.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import "@clack/prompts";
|
|
@@ -761,7 +761,7 @@ function readLoggingConfig() {
|
|
|
761
761
|
try {
|
|
762
762
|
if (!fs.existsSync(configPath)) return;
|
|
763
763
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
764
|
-
const logging =
|
|
764
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
765
765
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
766
766
|
return logging;
|
|
767
767
|
} catch {
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-
|
|
3
|
-
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-
|
|
1
|
+
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-BlfAoChN.js";
|
|
2
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-BoD7489q.js";
|
|
3
|
+
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-vuWmM3Ra.js";
|
|
4
4
|
import "./paths-BEfQqXwE.js";
|
|
5
5
|
import "./github-copilot-token-BCc3snHh.js";
|
|
6
|
-
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-
|
|
7
|
-
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredWinClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-
|
|
8
|
-
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-
|
|
9
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-
|
|
12
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
13
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
14
|
-
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-
|
|
15
|
-
import "./paths-
|
|
6
|
+
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-CmS6HzGU.js";
|
|
7
|
+
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredWinClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-cN8CgKqt.js";
|
|
8
|
+
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-CfA6xbI_.js";
|
|
9
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-CmFoHyKE.js";
|
|
10
|
+
import "./pi-embedded-helpers-BfbOXbe6.js";
|
|
11
|
+
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-C995vsQz.js";
|
|
12
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-B71rIfIG.js";
|
|
13
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-Bh_CxVlh.js";
|
|
14
|
+
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-CWP6COto.js";
|
|
15
|
+
import "./paths-Brta7ydd.js";
|
|
16
16
|
import "./fetch-J9xZaNrT.js";
|
|
17
|
-
import { t as redactSensitiveText } from "./redact-
|
|
18
|
-
import { r as formatErrorMessage } from "./errors-
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
22
|
-
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-
|
|
23
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
24
|
-
import "./local-roots-
|
|
25
|
-
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-
|
|
17
|
+
import { t as redactSensitiveText } from "./redact-CIb5VTTO.js";
|
|
18
|
+
import { r as formatErrorMessage } from "./errors-D7zDdduc.js";
|
|
19
|
+
import "./channel-activity-9ivqqvRB.js";
|
|
20
|
+
import "./path-alias-guards-WXu8eYZ3.js";
|
|
21
|
+
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-ynDN1AOr.js";
|
|
22
|
+
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DZSsYJgJ.js";
|
|
23
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BsatETDz.js";
|
|
24
|
+
import "./local-roots-DnE8988Y.js";
|
|
25
|
+
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-CX1ZjDTn.js";
|
|
26
26
|
import "./render-A563BsDG.js";
|
|
27
|
-
import "./tables-
|
|
28
|
-
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-
|
|
29
|
-
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-
|
|
30
|
-
import "./tool-images-
|
|
31
|
-
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
32
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
33
|
-
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-
|
|
27
|
+
import "./tables-KWxXnbkq.js";
|
|
28
|
+
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-HuIksBS6.js";
|
|
29
|
+
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-DzpV-k17.js";
|
|
30
|
+
import "./tool-images-CVV7LNFW.js";
|
|
31
|
+
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-Cr0q4o7K.js";
|
|
32
|
+
import { s as parseSlackBlocksInput } from "./send-BEy8EUzH.js";
|
|
33
|
+
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-CdADoJed.js";
|
|
34
34
|
import { a as resolveWindowsSpawnProgramCandidate, i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram, r as resolveWindowsExecutablePath, t as applyWindowsSpawnProgramPolicy } from "./windows-spawn-Cj9KShLj.js";
|
|
35
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
36
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
37
|
-
import "./skills-
|
|
38
|
-
import { J as rawDataToString } from "./chrome-
|
|
39
|
-
import { A as resolveChannelMediaMaxBytes } from "./deliver-
|
|
40
|
-
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-
|
|
41
|
-
import { r as extractOriginalFilename } from "./store-
|
|
42
|
-
import "./commands-registry-
|
|
35
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B-D1YRTV.js";
|
|
36
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-p8Zwjnwy.js";
|
|
37
|
+
import "./skills-k8XpacZa.js";
|
|
38
|
+
import { J as rawDataToString } from "./chrome-B1yeIHRg.js";
|
|
39
|
+
import { A as resolveChannelMediaMaxBytes } from "./deliver-Cy287pZ5.js";
|
|
40
|
+
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-DGt5TnqW.js";
|
|
41
|
+
import { r as extractOriginalFilename } from "./store-Cn0oLCP4.js";
|
|
42
|
+
import "./commands-registry-D-wyzYid.js";
|
|
43
43
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget } from "./targets-hp9k8jFG.js";
|
|
44
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
45
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
46
|
-
import "./image-
|
|
47
|
-
import "./api-key-rotation-
|
|
48
|
-
import "./proxy-fetch-
|
|
49
|
-
import "./pi-model-discovery-
|
|
50
|
-
import "./send-
|
|
51
|
-
import "./outbound-attachment-
|
|
44
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CQ6hRY-h.js";
|
|
45
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CHDoy_Ex.js";
|
|
46
|
+
import "./image-6No3eiOM.js";
|
|
47
|
+
import "./api-key-rotation-DEDhmJAk.js";
|
|
48
|
+
import "./proxy-fetch-iSQrNgP-.js";
|
|
49
|
+
import "./pi-model-discovery-ruarR-_j.js";
|
|
50
|
+
import "./send-DQTgt3Cu.js";
|
|
51
|
+
import "./outbound-attachment-CktA053B.js";
|
|
52
52
|
import "./proxy-DNZXaj7f.js";
|
|
53
|
-
import "./manager-
|
|
54
|
-
import "./query-expansion-
|
|
55
|
-
import "./outbound-
|
|
56
|
-
import "./session-
|
|
57
|
-
import { t as loginWeb } from "./login-
|
|
53
|
+
import "./manager-CBP2ZQ5W.js";
|
|
54
|
+
import "./query-expansion-DngcFbkC.js";
|
|
55
|
+
import "./outbound-B0Ab6CJM.js";
|
|
56
|
+
import "./session-Cc3Y4mXL.js";
|
|
57
|
+
import { t as loginWeb } from "./login-hk6_2GSM.js";
|
|
58
58
|
import fs, { createWriteStream } from "node:fs";
|
|
59
59
|
import path from "node:path";
|
|
60
60
|
import os from "node:os";
|
|
@@ -5,7 +5,7 @@ import fs, { constants } from "node:fs";
|
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import chalk, { Chalk } from "chalk";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import util, { promisify } from "node:util";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
11
|
import process$1 from "node:process";
|
|
@@ -400,7 +400,7 @@ function readLoggingConfig() {
|
|
|
400
400
|
try {
|
|
401
401
|
if (!fs.existsSync(configPath)) return;
|
|
402
402
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
403
|
-
const logging =
|
|
403
|
+
const logging = json5.parse(raw)?.logging;
|
|
404
404
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
405
405
|
return logging;
|
|
406
406
|
} catch {
|
|
@@ -4481,7 +4481,7 @@ function resolveWinClawManifestBlock(params) {
|
|
|
4481
4481
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
4482
4482
|
if (!raw) return;
|
|
4483
4483
|
try {
|
|
4484
|
-
const parsed =
|
|
4484
|
+
const parsed = json5.parse(raw);
|
|
4485
4485
|
if (!parsed || typeof parsed !== "object") return;
|
|
4486
4486
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
4487
4487
|
for (const key of manifestKeys) {
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs, { constants, createWriteStream } from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import "@clack/prompts";
|
|
@@ -766,7 +766,7 @@ function readLoggingConfig() {
|
|
|
766
766
|
try {
|
|
767
767
|
if (!fs.existsSync(configPath)) return;
|
|
768
768
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
769
|
-
const logging =
|
|
769
|
+
const logging = json5.parse(raw)?.logging;
|
|
770
770
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
771
771
|
return logging;
|
|
772
772
|
} catch {
|