@termix-it/cryptoclaw 1.1.4 → 1.1.6
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-MAwYK1nH.js → accounts-D35rx3gg.js} +1 -1
- package/dist/{accounts-WPSFYBfl.js → accounts-LgFHpzSb.js} +1 -1
- package/dist/{accounts-DHCEvJoG.js → accounts-lOYFKFqj.js} +16 -16
- package/dist/{active-listener-BG3fObzp.js → active-listener-Cxra3bK5.js} +1 -1
- package/dist/{agents-APWxL0pc.js → agents-BgGWuEM4.js} +4 -4
- package/dist/{agents.config-Bt2w0g9g.js → agents.config-CBblmxIJ.js} +1 -1
- package/dist/{agents.config-DMNDmQB3.js → agents.config-jlSvPmMw.js} +1 -1
- package/dist/{api-key-rotation-BUSngXoA.js → api-key-rotation-CYUsE9se.js} +2 -2
- package/dist/{audio-preflight-DylHSkVV.js → audio-preflight-DwAVbL_O.js} +33 -33
- package/dist/{audio-transcription-runner-D1VfiPMl.js → audio-transcription-runner-CDMccbtY.js} +12 -12
- package/dist/{audit-membership-runtime-Dg_k-jzY.js → audit-membership-runtime-DCpAfnah.js} +5 -5
- package/dist/{auth-choice-BU6K1e3k.js → auth-choice-BZof8lFS.js} +1 -1
- package/dist/{auth-choice-BteeSZpX.js → auth-choice-Bfddvmj3.js} +1 -1
- package/dist/{banner-CzhEeK4U.js → banner-DSSu3MES.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +52 -52
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +52 -52
- package/dist/bundled/soul-evil/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-TwPquwyw.js → channel-activity-DU4rVRNu.js} +3 -3
- package/dist/{channel-options-3d9AkTzB.js → channel-options-DhT3itUm.js} +1 -1
- package/dist/{channel-options-CGZSPHrf.js → channel-options-uwhpiId_.js} +1 -1
- package/dist/{channel-web-BOduPOdI.js → channel-web-Dfitllt8.js} +1 -1
- package/dist/{channel-web-DJpgzln9.js → channel-web-VY7QYUgs.js} +1 -1
- package/dist/{channels-cli-PDKQIDwD.js → channels-cli-BK1fnXeM.js} +7 -7
- package/dist/{channels-cli-DUq_ZyYt.js → channels-cli-CHNWup9-.js} +7 -7
- package/dist/{chrome-B972B1oO.js → chrome-Coir_NPd.js} +18 -18
- package/dist/{cli-BSMD-wDs.js → cli-C38DxImL.js} +2 -2
- package/dist/{cli-zy3mgZH-.js → cli-Dp2ZovoW.js} +2 -2
- package/dist/{command-registry-CiGCHshG.js → command-registry-CyZnzlu4.js} +10 -10
- package/dist/{commands-registry-C1rzSTeQ.js → commands-registry-e9j4etib.js} +4 -4
- package/dist/{completion-cli-Cv0Vxe6o.js → completion-cli-BnCuqVW8.js} +1 -1
- package/dist/{completion-cli-BU4ty_aJ.js → completion-cli-DWGdZ-R1.js} +2 -2
- package/dist/{config-cli-BxJeEh_0.js → config-cli-B11T53Tu.js} +1 -1
- package/dist/{config-cli-BUTfK0hW.js → config-cli-N3Kt8WRz.js} +1 -1
- package/dist/{configure-CmJfUSUr.js → configure-2IzSrcnf.js} +4 -4
- package/dist/{configure-8lVykYnh.js → configure-kCtv9jdh.js} +4 -4
- package/dist/{deliver-CEbU5IBY.js → deliver-Bfo198gf.js} +20 -20
- package/dist/deliver-runtime-FUk47wdh.js +37 -0
- package/dist/deps-send-discord.runtime-CtY41kC2.js +27 -0
- package/dist/deps-send-imessage.runtime-DuDLMZWC.js +26 -0
- package/dist/deps-send-signal.runtime-DmsxFjfF.js +25 -0
- package/dist/deps-send-slack.runtime-Bu_5Gshc.js +23 -0
- package/dist/deps-send-telegram.runtime-BY3XoK15.js +28 -0
- package/dist/{deps-send-whatsapp.runtime-i7Po75u8.js → deps-send-whatsapp.runtime-CbNuccsY.js} +4 -4
- package/dist/{deps-send-whatsapp.runtime-DK374NBi.js → deps-send-whatsapp.runtime-D2LQa8La.js} +4 -4
- package/dist/deps-send-whatsapp.runtime-DwPycT2W.js +61 -0
- package/dist/{diagnostic-IKfXukdB.js → diagnostic-Cfju3nfo.js} +2 -2
- package/dist/{doctor-completion-DE8rQlzx.js → doctor-completion-BNHmdXaA.js} +1 -1
- package/dist/{doctor-completion-DlJLi2iR.js → doctor-completion-CwQVCBv7.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-Cn3JyiMn.js → errors-V2Dfp7m3.js} +1 -1
- package/dist/{fetch-BsFdX4tn.js → fetch-CzmuidZT.js} +5 -5
- package/dist/{fetch-guard-4K8g_TXN.js → fetch-guard-BvTjDgDZ.js} +2 -2
- package/dist/{frontmatter-DHQ0IaHw.js → frontmatter-ZZvA8UXc.js} +3 -3
- package/dist/{fs-safe-BwhFB7Uo.js → fs-safe-urUZDVCv.js} +4 -4
- package/dist/{gateway-cli-DBUjNaTU.js → gateway-cli-DqZElDVQ.js} +9 -9
- package/dist/{gateway-cli-DEdGe0N2.js → gateway-cli-Dr0XRe7-.js} +9 -9
- package/dist/{github-copilot-token-D1RrJx7s.js → github-copilot-token-D7knylDF.js} +7 -7
- package/dist/{health-DmCqZQWS.js → health-BtR5qiQu.js} +1 -1
- package/dist/{health-i7BpZK8H.js → health-SohRW0Au.js} +1 -1
- package/dist/{hooks-cli-Vt5EnXJy.js → hooks-cli-DA-hMHRE.js} +3 -3
- package/dist/{hooks-cli-KpChFv5u.js → hooks-cli-DDbWkzaW.js} +3 -3
- package/dist/{image-D9ypE3-q.js → image-C8nVgFoF.js} +6 -6
- package/dist/{image-ops-CmuiWrJv.js → image-ops-BIpUUDZD.js} +2 -2
- package/dist/image-runtime-Cla7tVB-.js +30 -0
- package/dist/index.js +7 -7
- package/dist/{ir-BgRFz8jI.js → ir-Dc-ltzcD.js} +7 -7
- package/dist/{legacy-names-7AmQGjQk.js → legacy-names-cvlkUdK7.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-BDDjH6hb.js → logger-BXGNqQxk.js} +1 -1
- package/dist/{login-DR9M0Alg.js → login-BMty1inC.js} +5 -5
- package/dist/{login-qr-DhI_GpxA.js → login-qr-BVyS4U6r.js} +11 -11
- package/dist/{manager-C80Inv1T.js → manager-Cz6WMkvV.js} +13 -13
- package/dist/manager-runtime-DzceCyMz.js +19 -0
- package/dist/{memory-cli-nJ0zujIp.js → memory-cli-1oaIDOW8.js} +2 -2
- package/dist/{memory-cli-Cq0_-tR2.js → memory-cli-Bp1To7jm.js} +2 -2
- package/dist/{model-selection-CiffIpda.js → model-selection-4Sj13O94.js} +43 -43
- package/dist/{models-DFcmwLyd.js → models-BA-4owed.js} +2 -2
- package/dist/{models-cli-C3MgmR5P.js → models-cli-CXBkorTt.js} +4 -4
- package/dist/{models-cli-BFty3Lf0.js → models-cli-Da9VNU1F.js} +3 -3
- package/dist/{npm-resolution-cPvfFeW3.js → npm-resolution-C873xoG-.js} +1 -1
- package/dist/{npm-resolution-usPm99nU.js → npm-resolution-DcToGf31.js} +1 -1
- package/dist/{onboard-DEXrIgAj.js → onboard-CUTVb79X.js} +2 -2
- package/dist/{onboard-sxX0LKra.js → onboard-DeLF8XEh.js} +2 -2
- package/dist/{onboard-channels-4xKNT1d3.js → onboard-channels-Cji_Bpi5.js} +1 -1
- package/dist/{onboard-channels-DNmcc7GV.js → onboard-channels-tfZfzFUy.js} +1 -1
- package/dist/{onboard-skills-B2q1id5f.js → onboard-skills-BjGs7gMo.js} +6 -5
- package/dist/{onboard-skills-1wG7jm-6.js → onboard-skills-DwtwT621.js} +6 -5
- package/dist/onboard-wallet-CLprx0TL.js +155 -0
- package/dist/onboard-wallet-DDau_3R0.js +155 -0
- package/dist/{onboarding-C-YkK0dn.js → onboarding-ChCan-RJ.js} +70 -6
- package/dist/{onboarding-DptEa7du.js → onboarding-Coslo6Og.js} +70 -6
- package/dist/{onboarding.finalize-MzE-hxAw.js → onboarding.finalize-BHdqLBS4.js} +6 -6
- package/dist/{onboarding.finalize-B9Xw0YTE.js → onboarding.finalize-DsRnSME_.js} +7 -7
- package/dist/{outbound-DRXnhjhO.js → outbound-DTQi4eVy.js} +6 -6
- package/dist/{outbound-attachment-CbQ3_IKf.js → outbound-attachment-CkmduxIi.js} +2 -2
- package/dist/{path-alias-guards-DUWK88Ct.js → path-alias-guards-DcWktNGt.js} +1 -1
- package/dist/{paths-Dxl3r5jd.js → paths-BWg7M5Yy.js} +3 -3
- package/dist/{paths-B-UhE8oc.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-BC1F5aRs.js → pi-embedded-CHY0kd6o.js} +159 -159
- package/dist/{pi-embedded-helpers-DqvEMwsR.js → pi-embedded-helpers-Ci0rozAP.js} +52 -52
- package/dist/{pi-model-discovery-CQgqt_Mv.js → pi-model-discovery-DtqUetHg.js} +7 -7
- package/dist/pi-model-discovery-runtime-Bm4YyCud.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-Lfb7FVNU.js → pi-tools.before-tool-call.runtime-CkQ1AgXu.js} +10 -10
- package/dist/{plugin-registry-1ma_GS_Y.js → plugin-registry-CqaLj5NI.js} +1 -1
- package/dist/{plugin-registry-CO3b05zo.js → plugin-registry-CxwuWddJ.js} +1 -1
- package/dist/plugin-sdk/{accounts-DAebrX4r.js → accounts-BY3xA55d.js} +3 -3
- package/dist/plugin-sdk/{accounts-B9ydKoYC.js → accounts-Bpe8MpMj.js} +2 -2
- package/dist/plugin-sdk/{accounts-DxlJAHNG.js → accounts-Dg9HUb5m.js} +2 -2
- package/dist/plugin-sdk/{active-listener-D7Jidx1U.js → active-listener-kZJwBchj.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-d8cmHGhi.js → api-key-rotation-wZaR5O8n.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-vJtQi-4_.js → audio-preflight-DOR1d1hn.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-Bfv_TVP4.js → audio-transcription-runner-DWncgs4M.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpoX61hv.js → audit-membership-runtime-DvBMQsDC.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-1LCR07HU.js → channel-activity-VsWwcNLD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-CdKEEscn.js → channel-web-BlIQD83I.js} +18 -18
- package/dist/plugin-sdk/{chrome-CbDAFNHQ.js → chrome-pOAzXzzJ.js} +6 -6
- package/dist/plugin-sdk/commands/onboard-types.d.ts +6 -0
- package/dist/plugin-sdk/{commands-registry-D8gIWgM5.js → commands-registry-pKaQ4EJQ.js} +4 -4
- package/dist/plugin-sdk/{common-tbQtS1zp.js → common-BlJfaliy.js} +2 -2
- package/dist/plugin-sdk/{config-xkSrCec1.js → config-CURxPU7B.js} +7 -7
- package/dist/plugin-sdk/{deliver-D_Ofr_vN.js → deliver-BpfQj4BK.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BjQGa9z_.js +57 -0
- package/dist/plugin-sdk/{diagnostic-GjXXC_Pm.js → diagnostic-Bi3FO6Il.js} +2 -2
- package/dist/{errors-B2Vmqoab.js → plugin-sdk/errors-B2jpHiod.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-ClYTU8LW.js → fetch-guard-d5MU-Fi7.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-Bs9BHEmp.js → fs-safe-D57cyrSh.js} +3 -3
- package/dist/plugin-sdk/{image-_uAwPFe2.js → image-DWnmWvGr.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CsS12Rhg.js → image-ops-BPP3M0yA.js} +2 -2
- package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +25 -0
- package/dist/plugin-sdk/{ir-DvWncgWp.js → ir-A16Z9dUw.js} +7 -7
- package/dist/plugin-sdk/{local-roots-Bh7FKHd2.js → local-roots-BQJNDffC.js} +4 -4
- package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
- package/dist/plugin-sdk/{login-CYqSEzPN.js → login-DXLuzgCO.js} +4 -4
- package/dist/plugin-sdk/{login-qr-CXXXR_1G.js → login-qr-DdTcNEXK.js} +5 -5
- package/dist/plugin-sdk/{manager-Dj-hy8oN.js → manager-ClrE1ahD.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +15 -0
- package/dist/plugin-sdk/{outbound-attachment-Aa86Zp9X.js → outbound-attachment-C1GuoigP.js} +2 -2
- package/dist/plugin-sdk/{outbound-IhJ6xLv1.js → outbound-wmFCJQyk.js} +5 -5
- package/dist/plugin-sdk/{path-alias-guards-CtnE1WrY.js → path-alias-guards-Bsi-4XND.js} +1 -1
- package/dist/plugin-sdk/{paths-Mew07RGP.js → paths-Cb2hB2o0.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B_iabXhh.js → pi-embedded-helpers-VYetsWcU.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-avPx6Ptq.js → pi-model-discovery-Bs1t1vHG.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-dixwOhKo.js → pi-tools.before-tool-call.runtime-133Rh_QB.js} +4 -4
- package/dist/plugin-sdk/{plugins-WDZLdw8Z.js → plugins-A3lJ2lkT.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DKQK-fn1.js → proxy-env-DnjPLipe.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-C-fXKPD2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-eYJyyMZX.js → pw-ai-BhB6bXtS.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-mWoTdSFY.js → qmd-manager-CmGPY3vR.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-4V3Vjs8V.js → query-expansion-oxEhEDk_.js} +4 -4
- package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
- package/dist/plugin-sdk/{reply-D1vqXg5h.js → reply-DTRgf1F0.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-Dk3UdF5C.js → resolve-outbound-target-K2KiC0bi.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-KlQQobSI.js → run-with-concurrency-FfGqq3TC.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +19 -0
- package/dist/plugin-sdk/{send-CG8TGQTM.js → send-70p3gkTA.js} +7 -7
- package/dist/plugin-sdk/{send-BTWIW3-9.js → send-C5J_PXzR.js} +8 -8
- package/dist/plugin-sdk/{send-wEJ-5g9f.js → send-CqaHDOLs.js} +6 -6
- package/dist/plugin-sdk/{send-CSJIozmo.js → send-DdNdK-kV.js} +5 -5
- package/dist/plugin-sdk/{send-D50Hdj7y.js → send-DjqI2JpQ.js} +13 -13
- package/dist/plugin-sdk/{session-CDTFGpPr.js → session-BBm3qP5l.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-X5RX1jW3.js → skill-commands-B_tuCFSd.js} +4 -4
- package/dist/plugin-sdk/{skills-v1KdkGto.js → skills-BG1gHeJ_.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BHeslQ9I.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +16 -0
- package/dist/plugin-sdk/{store-DtdqEbDW.js → store-C3Z3fpIY.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-TPnV-Feh.js +52 -0
- package/dist/plugin-sdk/{tables-D5d9mqkg.js → tables-BfXi9ML_.js} +1 -1
- package/dist/plugin-sdk/{thinking-CCdKzGau.js → thinking-J6jgjmDK.js} +7 -7
- package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-DMbd3-Ct.js} +1 -1
- package/dist/plugin-sdk/{tool-images-B4KNq2sg.js → tool-images-BtzvC48Z.js} +2 -2
- package/dist/plugin-sdk/web-Bkz8JTNB.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bi_hJ-Cq.js → whatsapp-actions-C4kVobIE.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-XniO7sfQ.js → plugins-CL-6YYtw.js} +10 -10
- package/dist/{plugins-cli-DESM1g9H.js → plugins-cli-BOBhi6vj.js} +3 -3
- package/dist/{plugins-cli-Cz8qjGa-.js → plugins-cli-Ypib_ZAu.js} +3 -3
- package/dist/{program-DIVcGZoY.js → program-BtG4HD-0.js} +8 -8
- package/dist/{program-context-B8SH5Pdl.js → program-context-B0p9viIw.js} +18 -18
- package/dist/{prompt-select-styled-DYBmMpLB.js → prompt-select-styled-B75ysiU4.js} +5 -5
- package/dist/{prompt-select-styled-Db3jekFt.js → prompt-select-styled-DGdLX1o8.js} +5 -5
- package/dist/{provider-auth-helpers-DLAG-xEH.js → provider-auth-helpers-BOJRr3AT.js} +1 -1
- package/dist/{provider-auth-helpers-CMYpEEfK.js → provider-auth-helpers-CNHiPj2n.js} +1 -1
- package/dist/{proxy-env-DmWlGLBC.js → proxy-env-DTggb3di.js} +1 -1
- package/dist/{proxy-fetch-DJI7qbLV.js → proxy-fetch-y5_PzyGg.js} +1 -1
- package/dist/{push-apns-BYE8LhKX.js → push-apns-CFoFAonc.js} +1 -1
- package/dist/{push-apns-buHXMlvp.js → push-apns-D2WXZjcs.js} +1 -1
- package/dist/{pw-ai-B80S9aX7.js → pw-ai-CG8VZHWv.js} +15 -15
- package/dist/{qmd-manager-BR3hqTPz.js → qmd-manager-B0rRZcZv.js} +11 -11
- package/dist/{query-expansion-BqeYg_KB.js → query-expansion-hv7XTb0w.js} +6 -6
- package/dist/{redact-DXxcO2ch.js → redact-bA-cQEro.js} +1 -1
- package/dist/{register.agent-DqLkvzup.js → register.agent-Br-Y4UQG.js} +7 -7
- package/dist/{register.agent-CSLJ1ral.js → register.agent-Das6WI06.js} +8 -8
- package/dist/{register.configure-CR5sLkM9.js → register.configure-Ba7_s-QB.js} +9 -9
- package/dist/{register.configure-BeUMP8qR.js → register.configure-D9H7R-iH.js} +9 -9
- package/dist/{register.maintenance-Yz7iswBq.js → register.maintenance-CGyhSoIL.js} +9 -9
- package/dist/{register.maintenance-VlJQxEQj.js → register.maintenance-CviMGLqV.js} +8 -8
- package/dist/{register.message-BYhbFha9.js → register.message-Cx0R9D0q.js} +3 -3
- package/dist/{register.message-BHNP-sXn.js → register.message-nwyAqXBm.js} +3 -3
- package/dist/{register.onboard-CO75d40a.js → register.onboard-CwgcIoxt.js} +2 -2
- package/dist/{register.onboard-CLvU1m-R.js → register.onboard-DonQrraB.js} +2 -2
- package/dist/{register.setup-Bne4coEf.js → register.setup-BPz0sskT.js} +2 -2
- package/dist/{register.setup-8aW6IV4r.js → register.setup-MIddZq-r.js} +2 -2
- package/dist/{register.status-health-sessions-BDA0wZvj.js → register.status-health-sessions-Bo1NWHTF.js} +4 -4
- package/dist/{register.status-health-sessions-DqaespPp.js → register.status-health-sessions-CU2aw4Hn.js} +4 -4
- package/dist/{register.subclis-SsmPAU6K.js → register.subclis-BjXl-tRU.js} +9 -9
- package/dist/{reply-BEwkR4yo.js → reply-BqhnZbqb.js} +18 -18
- package/dist/{run-main-NWS9VlVz.js → run-main-BxoqsWSK.js} +16 -16
- package/dist/{run-with-concurrency-BO2phtXO.js → run-with-concurrency-h53-4TQQ.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BmCUuMj3.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-BR4VzGXP.js +23 -0
- package/dist/{send-tnPEkJiG.js → send-C4j6KYCq.js} +6 -6
- package/dist/{send-8gHRezMM.js → send-C84A606p.js} +5 -5
- package/dist/{send-BvcR90t7.js → send-D1oBKmnR.js} +25 -25
- package/dist/{send-BTfv7AaM.js → send-DAyhLyD2.js} +7 -7
- package/dist/{send-Cz5Fxy-m.js → send-DZXs_7ks.js} +7 -7
- package/dist/{server-node-events-DpJU4SdG.js → server-node-events-Cl_g7u2c.js} +3 -3
- package/dist/{server-node-events-Bzjy1Xtj.js → server-node-events-bMD7s7bO.js} +3 -3
- package/dist/{session-B7285vs2.js → session-D0o5WcVM.js} +8 -8
- package/dist/{skill-commands-CyPSgHR1.js → skill-commands-JBrsox47.js} +9 -9
- package/dist/{skills-BItCBgHn.js → skills-BV465ziD.js} +22 -22
- package/dist/slash-commands.runtime-BADqwr8b.js +17 -0
- package/dist/{slash-dispatch.runtime-D-oMjxcP.js → slash-dispatch.runtime-CDbTI8Zn.js} +2 -2
- package/dist/slash-dispatch.runtime-Ct3ZRGID.js +57 -0
- package/dist/{slash-dispatch.runtime-DV907pxr.js → slash-dispatch.runtime-Dfs5wcag.js} +2 -2
- package/dist/slash-skill-commands.runtime-B1jRjicY.js +21 -0
- package/dist/{status-EvCGTkQn.js → status-C-0bju9A.js} +3 -3
- package/dist/{status-CBPmJLfb.js → status-Cs4ozAdx.js} +3 -3
- package/dist/{store-D6UDEQAm.js → store-1VFEBO08.js} +2 -2
- package/dist/{subagent-registry-DQ-U47U4.js → subagent-registry-iFkFgxIF.js} +18 -18
- package/dist/subagent-registry-runtime-2L4IC0fu.js +57 -0
- package/dist/{subagent-registry-runtime-Bgf5dXIu.js → subagent-registry-runtime-CeOQQxea.js} +2 -2
- package/dist/{subagent-registry-runtime-CWBUvwv6.js → subagent-registry-runtime-Cgw6YwfZ.js} +2 -2
- package/dist/{subsystem-D0TuaxQo.js → subsystem-CdFYjh2k.js} +14 -14
- package/dist/{tables-CSZ8Vmrh.js → tables-DTLvZx1M.js} +1 -1
- package/dist/{target-errors-KgDT2gLA.js → target-errors-CmB0nYoj.js} +2 -2
- package/dist/{thinking-D3IkjILB.js → thinking-C5t4wH91.js} +6 -6
- package/dist/{tokens-B5sJjWxn.js → tokens-DGUER2v0.js} +1 -1
- package/dist/{tool-images-C6sn5gPw.js → tool-images-CrdEIwVA.js} +2 -2
- package/dist/{update-cli-D70Tpv2p.js → update-cli-D7h2Kq9K.js} +8 -8
- package/dist/{update-cli-B2twzUzo.js → update-cli-DveYI_mi.js} +9 -9
- package/dist/{update-runner-CFH1vAet.js → update-runner-DPJDvGzk.js} +1 -1
- package/dist/{update-runner-BQjJqa5Z.js → update-runner-RtYc0wSW.js} +1 -1
- package/dist/{utils-VpQxx_Ci.js → utils-B5eEH24c.js} +7 -7
- package/dist/{web-B9akwZ9Q.js → web-BUYMR1EH.js} +56 -56
- package/dist/{web-BV88abgj.js → web-CnqADWPs.js} +3 -3
- package/dist/{web-C9_Z0znV.js → web-UlvsjtC9.js} +3 -3
- package/dist/{whatsapp-actions-DsMWjVmg.js → whatsapp-actions-PWrB4d7Y.js} +22 -22
- package/dist/{workspace-C7j8mMYc.js → workspace-Bo-HJMNp.js} +21 -21
- package/package.json +1 -1
- package/dist/deliver-runtime-2oTfiQBW.js +0 -37
- package/dist/deps-send-discord.runtime-CaqCAqcE.js +0 -27
- package/dist/deps-send-imessage.runtime-B4SfcBtt.js +0 -26
- package/dist/deps-send-signal.runtime-C4COTtrG.js +0 -25
- package/dist/deps-send-slack.runtime-B_4hwea9.js +0 -23
- package/dist/deps-send-telegram.runtime-MuUJFk12.js +0 -28
- package/dist/deps-send-whatsapp.runtime-DoXnqRdU.js +0 -61
- package/dist/image-runtime-DWl2_x74.js +0 -30
- package/dist/manager-runtime-CZv0ALL_.js +0 -19
- package/dist/pi-model-discovery-runtime-D4Jl2mQE.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DtH6rXyR.js +0 -57
- package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +0 -25
- package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-D6UTc-X3.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-DtV745_q.js +0 -52
- package/dist/plugin-sdk/web-Dzy-Gyjd.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DknvIgQ9.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-DzQVWw3U.js +0 -23
- package/dist/slash-commands.runtime-B5euYv9Q.js +0 -17
- package/dist/slash-dispatch.runtime-DXuZn9JV.js +0 -57
- package/dist/slash-skill-commands.runtime-DA20IzN7.js +0 -21
- package/dist/subagent-registry-runtime-BmI0Wvlh.js +0 -57
- /package/dist/{audio-preflight-BQV5cOlH.js → audio-preflight-BxFoXiPf.js} +0 -0
- /package/dist/{audio-preflight-EJ5SUJjd.js → audio-preflight-C4yq6ssq.js} +0 -0
- /package/dist/{audit-membership-runtime-D6qEVnNT.js → audit-membership-runtime-BG4WxIDH.js} +0 -0
- /package/dist/{audit-membership-runtime-pFLxEf5B.js → audit-membership-runtime-oo2DbgFW.js} +0 -0
- /package/dist/{deliver-runtime-GAi5480M.js → deliver-runtime-FL5_bhMe.js} +0 -0
- /package/dist/{deliver-runtime-C0OsjAj3.js → deliver-runtime-_L6Rv_7K.js} +0 -0
- /package/dist/{image-runtime-GVOBL24v.js → image-runtime-BeGeHH2O.js} +0 -0
- /package/dist/{image-runtime-Dx3-W2jp.js → image-runtime-Dny90w7z.js} +0 -0
- /package/dist/{login-qr-Bhg7XHZS.js → login-qr-BJCPbTFZ.js} +0 -0
- /package/dist/{login-qr-DuB0o4UM.js → login-qr-BohDxqgQ.js} +0 -0
- /package/dist/{manager-runtime-B6yWy31j.js → manager-runtime-BxaiDdDE.js} +0 -0
- /package/dist/{manager-runtime-DktmlE7-.js → manager-runtime-CIBcyjkJ.js} +0 -0
- /package/dist/{onboarding.gateway-config-tOUlSE0m.js → onboarding.gateway-config-BuC8nL_c.js} +0 -0
- /package/dist/{onboarding.gateway-config-CNrA9RiE.js → onboarding.gateway-config-CkT0qEDp.js} +0 -0
- /package/dist/{qmd-manager-DWrfS3aI.js → qmd-manager-BFT1h2hM.js} +0 -0
- /package/dist/{qmd-manager-DLmPp6Ml.js → qmd-manager-Q-iay5w2.js} +0 -0
- /package/dist/{runtime-whatsapp-login.runtime-D2RKecOQ.js → runtime-whatsapp-login.runtime-BoLTF-OO.js} +0 -0
- /package/dist/{runtime-whatsapp-login.runtime-pz7c55zj.js → runtime-whatsapp-login.runtime-DrtfK3ru.js} +0 -0
- /package/dist/{runtime-whatsapp-outbound.runtime-DPUew4QY.js → runtime-whatsapp-outbound.runtime-BWC6-uWe.js} +0 -0
- /package/dist/{runtime-whatsapp-outbound.runtime-DGm8MDjj.js → runtime-whatsapp-outbound.runtime-CQSrwbqD.js} +0 -0
- /package/dist/{slash-commands.runtime-CA221qL2.js → slash-commands.runtime-Chf-kE5X.js} +0 -0
- /package/dist/{slash-commands.runtime-XLelltUi.js → slash-commands.runtime-iH5_VNlE.js} +0 -0
- /package/dist/{slash-skill-commands.runtime--KJswwTl.js → slash-skill-commands.runtime-BJJnGhEx.js} +0 -0
- /package/dist/{slash-skill-commands.runtime-CMYgi1_t.js → slash-skill-commands.runtime-DQz7oU7j.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
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-
|
|
1
|
+
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-h53-4TQQ.js";
|
|
2
|
+
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
|
|
4
4
|
import { c as normalizeAgentId, g as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-DgdmD4k7.js";
|
|
5
|
-
import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
6
|
-
import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, 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 } from "./workspace-
|
|
7
|
-
import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-
|
|
8
|
-
import { c as parseBooleanValue } from "./legacy-names-
|
|
5
|
+
import { S as truncateUtf16Safe, d as normalizeE164, h as resolveUserPath } from "./utils-B5eEH24c.js";
|
|
6
|
+
import { T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, 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 } from "./workspace-Bo-HJMNp.js";
|
|
7
|
+
import { Bt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, ar as resolveProcessScopedMap, cr as formatCliCommand, et as writeConfigFile, ft as secretRefKey, gr as resolveSecretInputRef, mt as parseByteSize, or as getProcessStartTime, pt as getBlockedNetworkModeReason, sr as isPidAlive } from "./model-selection-4Sj13O94.js";
|
|
8
|
+
import { c as parseBooleanValue } from "./legacy-names-cvlkUdK7.js";
|
|
9
9
|
import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
|
|
10
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
11
|
-
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-C5t4wH91.js";
|
|
11
|
+
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-CL-6YYtw.js";
|
|
12
12
|
import { t as generateSecureToken } from "./secure-random-xpZo1jCG.js";
|
|
13
|
-
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-
|
|
14
|
-
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_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_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 resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
15
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
16
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
17
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
18
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
19
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
13
|
+
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-BIpUUDZD.js";
|
|
14
|
+
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_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_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 resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-Coir_NPd.js";
|
|
15
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BV465ziD.js";
|
|
16
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DcWktNGt.js";
|
|
17
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-V2Dfp7m3.js";
|
|
18
|
+
import { n as SsrFBlockedError } from "./proxy-env-DTggb3di.js";
|
|
19
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-1VFEBO08.js";
|
|
20
20
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-CjNYeBcQ.js";
|
|
21
21
|
import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D2dc4Wmw.js";
|
|
22
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
22
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BWg7M5Yy.js";
|
|
23
23
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.js";
|
|
24
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
24
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CrdEIwVA.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import os from "node:os";
|
|
27
27
|
import path, { posix } from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fs$1, { existsSync } from "node:fs";
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
31
31
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1280,7 +1280,7 @@ function isModuleNotFoundError(err) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
async function loadPwAiModule(mode) {
|
|
1282
1282
|
try {
|
|
1283
|
-
return await import("./pw-ai-
|
|
1283
|
+
return await import("./pw-ai-CG8VZHWv.js");
|
|
1284
1284
|
} catch (err) {
|
|
1285
1285
|
if (mode === "soft") return null;
|
|
1286
1286
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3057,11 +3057,11 @@ async function movePathToTrash(targetPath) {
|
|
|
3057
3057
|
return targetPath;
|
|
3058
3058
|
} catch {
|
|
3059
3059
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
3060
|
-
|
|
3060
|
+
fs$1.mkdirSync(trashDir, { recursive: true });
|
|
3061
3061
|
const base = path.basename(targetPath);
|
|
3062
3062
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
3063
|
-
if (
|
|
3064
|
-
|
|
3063
|
+
if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
3064
|
+
fs$1.renameSync(targetPath, dest);
|
|
3065
3065
|
return dest;
|
|
3066
3066
|
}
|
|
3067
3067
|
}
|
|
@@ -3148,7 +3148,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3148
3148
|
} catch {}
|
|
3149
3149
|
const userDataDir = resolveOpenClawUserDataDir(name);
|
|
3150
3150
|
const profileDir = path.dirname(userDataDir);
|
|
3151
|
-
if (
|
|
3151
|
+
if (fs$1.existsSync(profileDir)) {
|
|
3152
3152
|
await movePathToTrash(profileDir);
|
|
3153
3153
|
deleted = true;
|
|
3154
3154
|
}
|
|
@@ -3646,7 +3646,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3646
3646
|
//#region src/browser/server-context.reset.ts
|
|
3647
3647
|
async function closePlaywrightBrowserConnection() {
|
|
3648
3648
|
try {
|
|
3649
|
-
await (await import("./pw-ai-
|
|
3649
|
+
await (await import("./pw-ai-CG8VZHWv.js")).closePlaywrightBrowserConnection();
|
|
3650
3650
|
} catch {}
|
|
3651
3651
|
}
|
|
3652
3652
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -3664,7 +3664,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
|
|
|
3664
3664
|
if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
|
|
3665
3665
|
if (profileState.running) await stopRunningBrowser();
|
|
3666
3666
|
await closePlaywrightBrowserConnection();
|
|
3667
|
-
if (!
|
|
3667
|
+
if (!fs$1.existsSync(userDataDir)) return {
|
|
3668
3668
|
moved: false,
|
|
3669
3669
|
from: userDataDir
|
|
3670
3670
|
};
|
|
@@ -4412,7 +4412,7 @@ function releaseAllLocksSync() {
|
|
|
4412
4412
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
4413
4413
|
} catch {}
|
|
4414
4414
|
try {
|
|
4415
|
-
|
|
4415
|
+
fs$1.rmSync(held.lockPath, { force: true });
|
|
4416
4416
|
} catch {}
|
|
4417
4417
|
HELD_LOCKS.delete(sessionFile);
|
|
4418
4418
|
}
|
|
@@ -6010,7 +6010,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6010
6010
|
if (guarded.reason !== "path") {
|
|
6011
6011
|
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}`);
|
|
6012
6012
|
}
|
|
6013
|
-
} else
|
|
6013
|
+
} else fs$1.closeSync(guarded.fd);
|
|
6014
6014
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
6015
6015
|
containerPath: target.containerPath,
|
|
6016
6016
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -6021,7 +6021,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6021
6021
|
}
|
|
6022
6022
|
pathIsExistingDirectory(hostPath) {
|
|
6023
6023
|
try {
|
|
6024
|
-
return
|
|
6024
|
+
return fs$1.statSync(hostPath).isDirectory();
|
|
6025
6025
|
} catch {
|
|
6026
6026
|
return false;
|
|
6027
6027
|
}
|
|
@@ -6822,14 +6822,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
6822
6822
|
function canonicalizePathForComparison$1(filePath) {
|
|
6823
6823
|
const resolved = path.resolve(filePath);
|
|
6824
6824
|
try {
|
|
6825
|
-
return
|
|
6825
|
+
return fs$1.realpathSync(resolved);
|
|
6826
6826
|
} catch {
|
|
6827
6827
|
return resolved;
|
|
6828
6828
|
}
|
|
6829
6829
|
}
|
|
6830
6830
|
function archiveFileOnDisk(filePath, reason) {
|
|
6831
6831
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
6832
|
-
|
|
6832
|
+
fs$1.renameSync(filePath, archived);
|
|
6833
6833
|
return archived;
|
|
6834
6834
|
}
|
|
6835
6835
|
/**
|
|
@@ -6845,7 +6845,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
6845
6845
|
const relative = path.relative(storeDir, candidatePath);
|
|
6846
6846
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
6847
6847
|
}
|
|
6848
|
-
if (!
|
|
6848
|
+
if (!fs$1.existsSync(candidatePath)) continue;
|
|
6849
6849
|
try {
|
|
6850
6850
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
6851
6851
|
} catch {}
|
|
@@ -6863,15 +6863,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
6863
6863
|
let removed = 0;
|
|
6864
6864
|
let scanned = 0;
|
|
6865
6865
|
for (const dir of directories) {
|
|
6866
|
-
const entries = await
|
|
6866
|
+
const entries = await fs$1.promises.readdir(dir).catch(() => []);
|
|
6867
6867
|
for (const entry of entries) {
|
|
6868
6868
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
6869
6869
|
if (timestamp == null) continue;
|
|
6870
6870
|
scanned += 1;
|
|
6871
6871
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
6872
6872
|
const fullPath = path.join(dir, entry);
|
|
6873
|
-
if (!(await
|
|
6874
|
-
await
|
|
6873
|
+
if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
6874
|
+
await fs$1.promises.rm(fullPath).catch(() => void 0);
|
|
6875
6875
|
removed += 1;
|
|
6876
6876
|
}
|
|
6877
6877
|
}
|
|
@@ -7001,7 +7001,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
7001
7001
|
}
|
|
7002
7002
|
function getFileStatSnapshot(filePath) {
|
|
7003
7003
|
try {
|
|
7004
|
-
const stats =
|
|
7004
|
+
const stats = fs$1.statSync(filePath);
|
|
7005
7005
|
return {
|
|
7006
7006
|
mtimeMs: stats.mtimeMs,
|
|
7007
7007
|
sizeBytes: stats.size
|
|
@@ -7020,7 +7020,7 @@ const NOOP_LOGGER = {
|
|
|
7020
7020
|
function canonicalizePathForComparison(filePath) {
|
|
7021
7021
|
const resolved = path.resolve(filePath);
|
|
7022
7022
|
try {
|
|
7023
|
-
return
|
|
7023
|
+
return fs$1.realpathSync(resolved);
|
|
7024
7024
|
} catch {
|
|
7025
7025
|
return resolved;
|
|
7026
7026
|
}
|
|
@@ -7078,12 +7078,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
7078
7078
|
return referenced;
|
|
7079
7079
|
}
|
|
7080
7080
|
async function readSessionsDirFiles(sessionsDir) {
|
|
7081
|
-
const dirEntries = await
|
|
7081
|
+
const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
7082
7082
|
const files = [];
|
|
7083
7083
|
for (const dirent of dirEntries) {
|
|
7084
7084
|
if (!dirent.isFile()) continue;
|
|
7085
7085
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
7086
|
-
const stat = await
|
|
7086
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7087
7087
|
if (!stat?.isFile()) continue;
|
|
7088
7088
|
files.push({
|
|
7089
7089
|
path: filePath,
|
|
@@ -7096,9 +7096,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
7096
7096
|
return files;
|
|
7097
7097
|
}
|
|
7098
7098
|
async function removeFileIfExists(filePath) {
|
|
7099
|
-
const stat = await
|
|
7099
|
+
const stat = await fs$1.promises.stat(filePath).catch(() => null);
|
|
7100
7100
|
if (!stat?.isFile()) return 0;
|
|
7101
|
-
await
|
|
7101
|
+
await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
7102
7102
|
return stat.size;
|
|
7103
7103
|
}
|
|
7104
7104
|
async function removeFileForBudget(params) {
|
|
@@ -7457,7 +7457,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
7457
7457
|
}
|
|
7458
7458
|
async function getSessionFileSize(storePath) {
|
|
7459
7459
|
try {
|
|
7460
|
-
return (await
|
|
7460
|
+
return (await fs$1.promises.stat(storePath)).size;
|
|
7461
7461
|
} catch {
|
|
7462
7462
|
return null;
|
|
7463
7463
|
}
|
|
@@ -7474,7 +7474,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7474
7474
|
if (fileSize <= maxBytes) return false;
|
|
7475
7475
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
7476
7476
|
try {
|
|
7477
|
-
await
|
|
7477
|
+
await fs$1.promises.rename(storePath, backupPath);
|
|
7478
7478
|
log$2.info("rotated session store file", {
|
|
7479
7479
|
backupPath: path.basename(backupPath),
|
|
7480
7480
|
sizeBytes: fileSize
|
|
@@ -7485,11 +7485,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7485
7485
|
try {
|
|
7486
7486
|
const dir = path.dirname(storePath);
|
|
7487
7487
|
const baseName = path.basename(storePath);
|
|
7488
|
-
const backups = (await
|
|
7488
|
+
const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
7489
7489
|
const maxBackups = 3;
|
|
7490
7490
|
if (backups.length > maxBackups) {
|
|
7491
7491
|
const toDelete = backups.slice(maxBackups);
|
|
7492
|
-
for (const old of toDelete) await
|
|
7492
|
+
for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
7493
7493
|
log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
7494
7494
|
}
|
|
7495
7495
|
} catch {}
|
|
@@ -7612,7 +7612,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
7612
7612
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
7613
7613
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
7614
7614
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
7615
|
-
const raw =
|
|
7615
|
+
const raw = fs$1.readFileSync(storePath, "utf-8");
|
|
7616
7616
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
7617
7617
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
7618
7618
|
continue;
|
|
@@ -7766,7 +7766,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
7766
7766
|
});
|
|
7767
7767
|
}
|
|
7768
7768
|
}
|
|
7769
|
-
await
|
|
7769
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
7770
7770
|
const json = JSON.stringify(store, null, 2);
|
|
7771
7771
|
if (getSerializedSessionStore(storePath) === json) {
|
|
7772
7772
|
updateSessionStoreWriteCaches({
|
|
@@ -8103,8 +8103,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
8103
8103
|
return trimmed ? trimmed : null;
|
|
8104
8104
|
}
|
|
8105
8105
|
async function ensureSessionHeader(params) {
|
|
8106
|
-
if (
|
|
8107
|
-
await
|
|
8106
|
+
if (fs$1.existsSync(params.sessionFile)) return;
|
|
8107
|
+
await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
8108
8108
|
const header = {
|
|
8109
8109
|
type: "session",
|
|
8110
8110
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -8112,7 +8112,7 @@ async function ensureSessionHeader(params) {
|
|
|
8112
8112
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
8113
8113
|
cwd: process.cwd()
|
|
8114
8114
|
};
|
|
8115
|
-
await
|
|
8115
|
+
await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
8116
8116
|
encoding: "utf-8",
|
|
8117
8117
|
mode: 384
|
|
8118
8118
|
});
|
|
@@ -8347,13 +8347,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
8347
8347
|
});
|
|
8348
8348
|
if (!opened.ok) continue;
|
|
8349
8349
|
try {
|
|
8350
|
-
const content =
|
|
8350
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
8351
8351
|
await fs.writeFile(dest, content, {
|
|
8352
8352
|
encoding: "utf-8",
|
|
8353
8353
|
flag: "wx"
|
|
8354
8354
|
});
|
|
8355
8355
|
} finally {
|
|
8356
|
-
|
|
8356
|
+
fs$1.closeSync(opened.fd);
|
|
8357
8357
|
}
|
|
8358
8358
|
} catch {}
|
|
8359
8359
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, tr as ensureAuthProfileStore } from "./model-selection-4Sj13O94.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.OPENCLAW_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,12 @@
|
|
|
1
|
+
import "./run-with-concurrency-h53-4TQQ.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import "./subsystem-CdFYjh2k.js";
|
|
4
|
+
import "./utils-B5eEH24c.js";
|
|
5
|
+
import "./workspace-Bo-HJMNp.js";
|
|
6
|
+
import "./logger-BXGNqQxk.js";
|
|
7
|
+
import "./model-selection-4Sj13O94.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-cvlkUdK7.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DtqUetHg.js";
|
|
11
|
+
|
|
12
|
+
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { C as isPlainObject } from "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
1
|
+
import "./run-with-concurrency-h53-4TQQ.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CdFYjh2k.js";
|
|
4
|
+
import { C as isPlainObject } from "./utils-B5eEH24c.js";
|
|
5
|
+
import "./workspace-Bo-HJMNp.js";
|
|
6
|
+
import "./logger-BXGNqQxk.js";
|
|
7
|
+
import "./model-selection-4Sj13O94.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-cvlkUdK7.js";
|
|
10
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-Cfju3nfo.js";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-sfEQP4fF.js";
|
|
|
3
3
|
import { z as loadConfig } from "./auth-profiles-O2Q8_o0a.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DnGYstsz.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-CwKS6RIg.js";
|
|
6
|
-
import { b as loadOpenClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { b as loadOpenClawPlugins } from "./subagent-registry-iFkFgxIF.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ft as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { ft as loadOpenClawPlugins } from "./reply-BqhnZbqb.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BTZ01lpp.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-Calg5NpK.js";
|
|
5
5
|
import { $t as loadConfig } from "./model-selection-BNYB2YKL.js";
|
|
@@ -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-FfGqq3TC.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-CURxPU7B.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-0d8fBoC4.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-FfGqq3TC.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BY3xA55d.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -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-FfGqq3TC.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BY3xA55d.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -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-FfGqq3TC.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-CURxPU7B.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-CURxPU7B.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-B2jpHiod.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-FfGqq3TC.js";
|
|
2
|
+
import "./config-CURxPU7B.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import "./paths-0d8fBoC4.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-BY3xA55d.js";
|
|
6
|
+
import "./plugins-A3lJ2lkT.js";
|
|
7
|
+
import "./thinking-J6jgjmDK.js";
|
|
8
|
+
import "./accounts-Dg9HUb5m.js";
|
|
9
|
+
import "./image-ops-BPP3M0yA.js";
|
|
10
|
+
import "./pi-embedded-helpers-VYetsWcU.js";
|
|
11
|
+
import "./accounts-Bpe8MpMj.js";
|
|
12
12
|
import "./github-copilot-token-CKKBybuX.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-Cb2hB2o0.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-DWncgs4M.js";
|
|
15
|
+
import "./image-DWnmWvGr.js";
|
|
16
|
+
import "./chrome-pOAzXzzJ.js";
|
|
17
|
+
import "./skills-BG1gHeJ_.js";
|
|
18
|
+
import "./path-alias-guards-Bsi-4XND.js";
|
|
19
|
+
import "./redact-C3rEm8A0.js";
|
|
20
|
+
import "./errors-B2jpHiod.js";
|
|
21
|
+
import "./fs-safe-D57cyrSh.js";
|
|
22
|
+
import "./proxy-env-DnjPLipe.js";
|
|
23
|
+
import "./store-C3Z3fpIY.js";
|
|
24
|
+
import "./tool-images-BtzvC48Z.js";
|
|
25
|
+
import "./fetch-guard-d5MU-Fi7.js";
|
|
26
|
+
import "./api-key-rotation-wZaR5O8n.js";
|
|
27
|
+
import "./local-roots-BQJNDffC.js";
|
|
28
|
+
import "./proxy-fetch-C-fXKPD2.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 resolveOpenClawAgentDir, 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 resolvePreferredOpenClawTmpDir, 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 ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-FfGqq3TC.js";
|
|
2
|
+
import { Fn as resolveOpenClawAgentDir, 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-CURxPU7B.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-A3lJ2lkT.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BPP3M0yA.js";
|
|
6
|
+
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DWnmWvGr.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-d5MU-Fi7.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-wZaR5O8n.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-BQJNDffC.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-C-fXKPD2.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-Bs1t1vHG.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-Bl138Nx7.js";
|
|
2
2
|
import "./paths-0d8fBoC4.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-C-fXKPD2.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-CURxPU7B.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-B2jpHiod.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-FfGqq3TC.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-CURxPU7B.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-Bl138Nx7.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BY3xA55d.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-J6jgjmDK.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-DTRgf1F0.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-VYetsWcU.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-Cb2hB2o0.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-DjqI2JpQ.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-DWncgs4M.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-C3Z3fpIY.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-BQJNDffC.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-A16Z9dUw.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-VsWwcNLD.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-BfXi9ML_.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-kZJwBchj.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-wmFCJQyk.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BBm3qP5l.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|