@termix-it/cryptoclaw 1.1.5 → 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-4l7ba973.js → accounts-D35rx3gg.js} +1 -1
- package/dist/{accounts-k5nTdi32.js → accounts-LgFHpzSb.js} +1 -1
- package/dist/{accounts-CAjupeYV.js → accounts-lOYFKFqj.js} +16 -16
- package/dist/{active-listener-D9FARjMd.js → active-listener-Cxra3bK5.js} +1 -1
- package/dist/{api-key-rotation-C-Q6XdUW.js → api-key-rotation-CYUsE9se.js} +2 -2
- package/dist/{audio-preflight-C7kt2vOu.js → audio-preflight-DwAVbL_O.js} +33 -33
- package/dist/{audio-transcription-runner-CawngPvE.js → audio-transcription-runner-CDMccbtY.js} +12 -12
- package/dist/{audit-membership-runtime-C6dnIaXJ.js → audit-membership-runtime-DCpAfnah.js} +5 -5
- 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-Hho38eZq.js → channel-activity-DU4rVRNu.js} +3 -3
- package/dist/{chrome-palWvTtp.js → chrome-Coir_NPd.js} +18 -18
- package/dist/{command-registry-drCkGuaC.js → command-registry-CyZnzlu4.js} +6 -6
- package/dist/{commands-registry-A3LstXeY.js → commands-registry-e9j4etib.js} +4 -4
- package/dist/{completion-cli-CKIfUKoG.js → completion-cli-BnCuqVW8.js} +1 -1
- package/dist/{completion-cli-DFqf7UbJ.js → completion-cli-DWGdZ-R1.js} +2 -2
- package/dist/{config-cli-CSehjRJE.js → config-cli-B11T53Tu.js} +1 -1
- package/dist/{config-cli-BVu6OUbV.js → config-cli-N3Kt8WRz.js} +1 -1
- package/dist/{configure-BbBLdzt7.js → configure-2IzSrcnf.js} +1 -1
- package/dist/{configure-TlnrY7sN.js → configure-kCtv9jdh.js} +1 -1
- package/dist/{deliver-JkYjt9Qz.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-DwPycT2W.js +61 -0
- package/dist/{diagnostic-BGtFj4tU.js → diagnostic-Cfju3nfo.js} +2 -2
- package/dist/{doctor-completion-UIrYmlFZ.js → doctor-completion-BNHmdXaA.js} +1 -1
- package/dist/{doctor-completion-CuhwQAKf.js → doctor-completion-CwQVCBv7.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-x0EvNKYN.js → errors-V2Dfp7m3.js} +1 -1
- package/dist/{fetch-_iocPLV2.js → fetch-CzmuidZT.js} +5 -5
- package/dist/{fetch-guard-CiQUuV0r.js → fetch-guard-BvTjDgDZ.js} +2 -2
- package/dist/{frontmatter-Dn68lQ_o.js → frontmatter-ZZvA8UXc.js} +3 -3
- package/dist/{fs-safe-BLpOReWZ.js → fs-safe-urUZDVCv.js} +4 -4
- package/dist/{gateway-cli-B_yiYET0.js → gateway-cli-DqZElDVQ.js} +1 -1
- package/dist/{gateway-cli-o87wjmXO.js → gateway-cli-Dr0XRe7-.js} +1 -1
- package/dist/{github-copilot-token-DDa7O18e.js → github-copilot-token-D7knylDF.js} +7 -7
- package/dist/{image-BlRI3dXw.js → image-C8nVgFoF.js} +6 -6
- package/dist/{image-ops-D7mq-4y1.js → image-ops-BIpUUDZD.js} +2 -2
- package/dist/image-runtime-Cla7tVB-.js +30 -0
- package/dist/index.js +1 -1
- package/dist/{ir-Dpg87zYv.js → ir-Dc-ltzcD.js} +7 -7
- package/dist/{legacy-names-BAiRv0I2.js → legacy-names-cvlkUdK7.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-C53B395N.js → logger-BXGNqQxk.js} +1 -1
- package/dist/{login-CHsCISh4.js → login-BMty1inC.js} +5 -5
- package/dist/{login-qr-BEW3jIOt.js → login-qr-BVyS4U6r.js} +11 -11
- package/dist/{manager-Dfrejf6z.js → manager-Cz6WMkvV.js} +13 -13
- package/dist/manager-runtime-DzceCyMz.js +19 -0
- package/dist/{model-selection-e9hodq0l.js → model-selection-4Sj13O94.js} +43 -43
- package/dist/{onboard-o4Ax3ce2.js → onboard-CUTVb79X.js} +1 -1
- package/dist/{onboard-CFVZ_tLS.js → onboard-DeLF8XEh.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/{onboarding-Cz-FN3dY.js → onboarding-ChCan-RJ.js} +31 -3
- package/dist/{onboarding-Bsyy9lQJ.js → onboarding-Coslo6Og.js} +31 -3
- package/dist/{onboarding.finalize-BSHbCEbZ.js → onboarding.finalize-BHdqLBS4.js} +3 -3
- package/dist/{onboarding.finalize-4F13C5Cf.js → onboarding.finalize-DsRnSME_.js} +4 -4
- package/dist/{outbound-BZqL8UdJ.js → outbound-DTQi4eVy.js} +6 -6
- package/dist/{outbound-attachment-wzHGF-Is.js → outbound-attachment-CkmduxIi.js} +2 -2
- package/dist/{path-alias-guards-It4BBRdm.js → path-alias-guards-DcWktNGt.js} +1 -1
- package/dist/{paths-CZ0nrg7g.js → paths-BWg7M5Yy.js} +3 -3
- package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-ChjtsiVT.js → pi-embedded-CHY0kd6o.js} +159 -159
- package/dist/{pi-embedded-helpers-CE9KKP1Q.js → pi-embedded-helpers-Ci0rozAP.js} +52 -52
- package/dist/{pi-model-discovery-32EFg27L.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-BfjlGXIc.js → pi-tools.before-tool-call.runtime-CkQ1AgXu.js} +10 -10
- package/dist/plugin-sdk/{accounts-C4br4nlZ.js → accounts-BOVsvZ69.js} +3 -3
- package/dist/plugin-sdk/{accounts-DTNnTWpJ.js → accounts-BkuioOq8.js} +2 -2
- package/dist/plugin-sdk/{accounts-BypsQT27.js → accounts-C1Yf8rUO.js} +2 -2
- package/dist/plugin-sdk/{active-listener-B5t82gRU.js → active-listener-CYvTJUbv.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BFNdrCf9.js → api-key-rotation-CLAvYiCX.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B7ivxhvF.js → audio-preflight-B1iVdt7A.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-B8OUiy7P.js → audio-transcription-runner-6TQq2i9u.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Re50ULXH.js → audit-membership-runtime-DS34hPU6.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Dx1jbA3a.js → channel-activity-BcVbdzzf.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BSMnT0J1.js → channel-web-CuX4_OOJ.js} +18 -18
- package/dist/plugin-sdk/{chrome-wTqnW5U7.js → chrome-DifgiNQb.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BWv4oM2P.js → commands-registry-BwfAoL8g.js} +4 -4
- package/dist/plugin-sdk/{config-cWsVJMRn.js → config-DdConC4M.js} +7 -7
- package/dist/plugin-sdk/{deliver-Ba8ti0Um.js → deliver-30LL_FDf.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BzekNyDR.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DAQdyr0A.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DeN3xqBZ.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BzOTNsH2.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-RJ6do6c_.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-CT8fXkjj.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-MsowpjAX.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DJkCYiHJ.js → diagnostic-BiLQ5uMU.js} +2 -2
- package/dist/{errors-C1YF712P.js → plugin-sdk/errors-C-TFeu_U.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-B4oIrtQU.js → fetch-guard-su5BIIz5.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BGLuaVDw.js → fs-safe-B0eWdlGT.js} +3 -3
- package/dist/plugin-sdk/{image-D9cX-W4_.js → image-BHgCDBaW.js} +6 -6
- package/dist/plugin-sdk/{image-ops-N60pMFiM.js → image-ops-D5EPN96N.js} +2 -2
- package/dist/plugin-sdk/image-runtime-usFQghD_.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-DvNCG3HQ.js → ir-BVqIWdpl.js} +7 -7
- package/dist/plugin-sdk/{local-roots-DJr1PN3z.js → local-roots-CCfvGuoX.js} +4 -4
- package/dist/plugin-sdk/{logger-COmHOvdm.js → logger-z1vqlUc1.js} +2 -2
- package/dist/plugin-sdk/{login-CoU-pP8D.js → login-1hsZj0g8.js} +4 -4
- package/dist/plugin-sdk/{login-qr-wRFAAkU1.js → login-qr-mIn4oSE6.js} +5 -5
- package/dist/plugin-sdk/{manager-BlnM_iwm.js → manager-CKCJdSeL.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-C8E7uQRc.js +15 -0
- package/dist/plugin-sdk/{outbound-Cw6160wa.js → outbound-DVpHFwMf.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-DWhUVfia.js → outbound-attachment-DXCuJPzV.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Ck7kqOtM.js → path-alias-guards-Ddj-jk91.js} +1 -1
- package/dist/plugin-sdk/{paths-C_3UIAbs.js → paths-MqZfQzk4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-3l1dRoEY.js → pi-embedded-helpers-De-tYNO5.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bi4ewLKb.js → pi-model-discovery-CmWdgrld.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BInvqyx7.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DJbnwybV.js → pi-tools.before-tool-call.runtime-DZs_C8RL.js} +4 -4
- package/dist/plugin-sdk/{plugins-Bm4rp8IX.js → plugins-Df9rHggh.js} +4 -4
- package/dist/{proxy-fetch-CVSmQMZt.js → plugin-sdk/proxy-fetch-DxlXp4Yi.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CslJ6u1B.js → pw-ai-BcFVaXMO.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-BV37X-4s.js → qmd-manager-CgAY74JQ.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-B7JBWi3Y.js → query-expansion-X3iK3wW4.js} +4 -4
- package/dist/plugin-sdk/{redact-DZTeCKgA.js → redact-DIGZ7dEc.js} +1 -1
- package/dist/plugin-sdk/{reply-DIkRSlhC.js → reply-C7BzXVHh.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-8WMGshxA.js → resolve-outbound-target--JkNiVR3.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CbyBbGss.js → run-with-concurrency-CAg6hblr.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-VulSN6Vo.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-KEv7zH3k.js +19 -0
- package/dist/plugin-sdk/{send-DAZltiIW.js → send-BR0ocVRg.js} +8 -8
- package/dist/plugin-sdk/{send-CnZwc5Xm.js → send-BfMo4yKi.js} +13 -13
- package/dist/plugin-sdk/{send-DGJpvm7n.js → send-BosYVCS8.js} +5 -5
- package/dist/plugin-sdk/{send-DbUkzyXv.js → send-C1N0kX50.js} +7 -7
- package/dist/plugin-sdk/{send-DbhdUm2I.js → send-DyAZa1y0.js} +6 -6
- package/dist/plugin-sdk/{session-Cpth1H2A.js → session-xR2DLzse.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-X5gpohJ1.js → skill-commands-DHOHDbOQ.js} +4 -4
- package/dist/plugin-sdk/{skills-s-HEpPkh.js → skills-LpJmo0DO.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-Bh4gVuZZ.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-B8aJMkx9.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-ztQcIAHF.js +16 -0
- package/dist/plugin-sdk/{ssrf-BlFOb1TL.js → ssrf-Ctw5peX0.js} +1 -1
- package/dist/plugin-sdk/{store-DuNHlb8J.js → store-BECFHajU.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-C7Bju4fL.js +52 -0
- package/dist/plugin-sdk/{tables-DBVdEzq2.js → tables-BGPXRfUo.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CX2np2l6.js → target-errors-EppfnloD.js} +2 -2
- package/dist/plugin-sdk/{thinking-B9UJvomD.js → thinking-DwXFSbD_.js} +7 -7
- package/dist/plugin-sdk/{tokens-XT-8y62w.js → tokens-DuRErjk3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CJ10KuSq.js → tool-images-6BfTarJB.js} +2 -2
- package/dist/plugin-sdk/web-CEmcQCvf.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-CgqENBb8.js → whatsapp-actions-k9k_HQg1.js} +17 -17
- package/dist/{plugins-rc2l4VJe.js → plugins-CL-6YYtw.js} +10 -10
- package/dist/{program-Dtqm2kjE.js → program-BtG4HD-0.js} +2 -2
- package/dist/{program-context-CG5ZBc7f.js → program-context-B0p9viIw.js} +8 -8
- package/dist/{prompt-select-styled-BkE7GW3g.js → prompt-select-styled-B75ysiU4.js} +1 -1
- package/dist/{prompt-select-styled-Bubswkcm.js → prompt-select-styled-DGdLX1o8.js} +1 -1
- package/dist/{proxy-env-C2sbN0UU.js → proxy-env-DTggb3di.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-BZAtM2fT.js → proxy-fetch-y5_PzyGg.js} +1 -1
- package/dist/{pw-ai-CWE0qzH7.js → pw-ai-CG8VZHWv.js} +15 -15
- package/dist/{qmd-manager-DMSLC2iu.js → qmd-manager-B0rRZcZv.js} +11 -11
- package/dist/{query-expansion-MI1dZ5Nj.js → query-expansion-hv7XTb0w.js} +6 -6
- package/dist/{redact-BXURioma.js → redact-bA-cQEro.js} +1 -1
- package/dist/{register.configure-C51htKDs.js → register.configure-Ba7_s-QB.js} +2 -2
- package/dist/{register.configure-B1KDSNt2.js → register.configure-D9H7R-iH.js} +2 -2
- package/dist/{register.maintenance-BBn-yNR7.js → register.maintenance-CGyhSoIL.js} +5 -5
- package/dist/{register.maintenance-CHq5H-j0.js → register.maintenance-CviMGLqV.js} +4 -4
- package/dist/{register.onboard-CSOzERS8.js → register.onboard-CwgcIoxt.js} +2 -2
- package/dist/{register.onboard-D9-seugA.js → register.onboard-DonQrraB.js} +2 -2
- package/dist/{register.setup-Zu2ZL_xV.js → register.setup-BPz0sskT.js} +2 -2
- package/dist/{register.setup-B0ALWgJA.js → register.setup-MIddZq-r.js} +2 -2
- package/dist/{register.subclis-BY6T1GZv.js → register.subclis-BjXl-tRU.js} +3 -3
- package/dist/{run-main-CHV8CYwf.js → run-main-BxoqsWSK.js} +5 -5
- package/dist/{run-with-concurrency-C5E9gJhP.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-OP60RbsK.js → send-C4j6KYCq.js} +6 -6
- package/dist/{send-Cpja8Q1N.js → send-C84A606p.js} +5 -5
- package/dist/{send-BlTVCcYd.js → send-D1oBKmnR.js} +25 -25
- package/dist/{send-BWySsurX.js → send-DAyhLyD2.js} +7 -7
- package/dist/{send-C87tIqIn.js → send-DZXs_7ks.js} +7 -7
- package/dist/{session-DmXsj3JD.js → session-D0o5WcVM.js} +8 -8
- package/dist/{skill-commands-DEsgUSH3.js → skill-commands-JBrsox47.js} +9 -9
- package/dist/{skills-OklkZyI1.js → skills-BV465ziD.js} +22 -22
- package/dist/slash-commands.runtime-BADqwr8b.js +17 -0
- package/dist/slash-dispatch.runtime-Ct3ZRGID.js +57 -0
- package/dist/slash-skill-commands.runtime-B1jRjicY.js +21 -0
- package/dist/{store-BNhebBGr.js → store-1VFEBO08.js} +2 -2
- package/dist/subagent-registry-runtime-2L4IC0fu.js +57 -0
- package/dist/{subsystem-W834z9Wa.js → subsystem-CdFYjh2k.js} +14 -14
- package/dist/{tables-XtcH-BaF.js → tables-DTLvZx1M.js} +1 -1
- package/dist/{target-errors-CNzteBWz.js → target-errors-CmB0nYoj.js} +2 -2
- package/dist/{thinking-X8yYhVf1.js → thinking-C5t4wH91.js} +6 -6
- package/dist/{tokens-DxcVnNVJ.js → tokens-DGUER2v0.js} +1 -1
- package/dist/{tool-images-B-4ixjYn.js → tool-images-CrdEIwVA.js} +2 -2
- package/dist/{update-cli-07BoVV9o.js → update-cli-D7h2Kq9K.js} +4 -4
- package/dist/{update-cli-DvX9flwT.js → update-cli-DveYI_mi.js} +5 -5
- package/dist/{utils-D2oM4XHm.js → utils-B5eEH24c.js} +7 -7
- package/dist/{web-AlAsgosE.js → web-BUYMR1EH.js} +56 -56
- package/dist/{whatsapp-actions-BPIXiPAR.js → whatsapp-actions-PWrB4d7Y.js} +22 -22
- package/dist/{workspace-ZgWjBCAm.js → workspace-Bo-HJMNp.js} +21 -21
- package/package.json +1 -1
- package/dist/deliver-runtime-BvTbrDXE.js +0 -37
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +0 -27
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +0 -26
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +0 -25
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +0 -23
- package/dist/deps-send-telegram.runtime-CgApeKta.js +0 -28
- package/dist/deps-send-whatsapp.runtime-BP1TzaH2.js +0 -61
- package/dist/image-runtime-Cp3I725X.js +0 -30
- package/dist/manager-runtime-DacMHR37.js +0 -19
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-Qmy3w63D.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Db6_7ZAc.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-C_EYS_sH.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DK121Bh0.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-AaWSr7fe.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dylx-xTp.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DhJ30vWr.js +0 -57
- package/dist/plugin-sdk/image-runtime-BBiuMz7E.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Ccj_7Z0c.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-jmgr21i6.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-_T4-3_NI.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DDvDCva6.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BoVuWmR3.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-CbjjpN46.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-CyuOIQN-.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-DuCu4ZTF.js +0 -52
- package/dist/plugin-sdk/web-CpeWfvaf.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +0 -23
- package/dist/slash-commands.runtime-gtQnheWz.js +0 -17
- package/dist/slash-dispatch.runtime-DHv-RY9C.js +0 -57
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +0 -21
- package/dist/subagent-registry-runtime-CcyMwoU6.js +0 -57
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-CAg6hblr.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-MKyEVmEb.js";
|
|
3
|
-
import { Pr as formatCliCommand } from "./config-
|
|
4
|
-
import { B as success, E as resolveUserPath, G as getChildLogger, I as info, c as defaultRuntime, x as jidToE164 } from "./logger-
|
|
3
|
+
import { Pr as formatCliCommand } from "./config-DdConC4M.js";
|
|
4
|
+
import { B as success, E as resolveUserPath, G as getChildLogger, I as info, c as defaultRuntime, x as jidToE164 } from "./logger-z1vqlUc1.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs$1 from "node:fs/promises";
|
|
@@ -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-CAg6hblr.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BOVsvZ69.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-CAg6hblr.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-BOVsvZ69.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 { Pr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-CAg6hblr.js";
|
|
2
|
+
import { Pr as formatCliCommand } from "./config-DdConC4M.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jn as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { jn as normalizeProviderId } from "./config-DdConC4M.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-C-TFeu_U.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./accounts-
|
|
1
|
+
import "./run-with-concurrency-CAg6hblr.js";
|
|
2
|
+
import "./accounts-BOVsvZ69.js";
|
|
3
3
|
import "./paths-MKyEVmEb.js";
|
|
4
4
|
import "./github-copilot-token-D5fdS6xD.js";
|
|
5
|
-
import "./config-
|
|
6
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./image-ops-
|
|
9
|
-
import "./pi-embedded-helpers-
|
|
10
|
-
import "./plugins-
|
|
11
|
-
import "./accounts-
|
|
12
|
-
import "./accounts-
|
|
13
|
-
import "./paths-
|
|
14
|
-
import "./redact-
|
|
15
|
-
import "./errors-
|
|
16
|
-
import "./path-alias-guards-
|
|
17
|
-
import "./fs-safe-
|
|
18
|
-
import "./ssrf-
|
|
19
|
-
import "./fetch-guard-
|
|
20
|
-
import "./local-roots-
|
|
21
|
-
import "./tool-images-
|
|
22
|
-
import { f as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./chrome-
|
|
25
|
-
import "./store-
|
|
26
|
-
import "./image-
|
|
27
|
-
import "./api-key-rotation-
|
|
28
|
-
import "./proxy-fetch-
|
|
5
|
+
import "./config-DdConC4M.js";
|
|
6
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-z1vqlUc1.js";
|
|
7
|
+
import "./thinking-DwXFSbD_.js";
|
|
8
|
+
import "./image-ops-D5EPN96N.js";
|
|
9
|
+
import "./pi-embedded-helpers-De-tYNO5.js";
|
|
10
|
+
import "./plugins-Df9rHggh.js";
|
|
11
|
+
import "./accounts-C1Yf8rUO.js";
|
|
12
|
+
import "./accounts-BkuioOq8.js";
|
|
13
|
+
import "./paths-MqZfQzk4.js";
|
|
14
|
+
import "./redact-DIGZ7dEc.js";
|
|
15
|
+
import "./errors-C-TFeu_U.js";
|
|
16
|
+
import "./path-alias-guards-Ddj-jk91.js";
|
|
17
|
+
import "./fs-safe-B0eWdlGT.js";
|
|
18
|
+
import "./ssrf-Ctw5peX0.js";
|
|
19
|
+
import "./fetch-guard-su5BIIz5.js";
|
|
20
|
+
import "./local-roots-CCfvGuoX.js";
|
|
21
|
+
import "./tool-images-6BfTarJB.js";
|
|
22
|
+
import { f as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-6TQq2i9u.js";
|
|
23
|
+
import "./skills-LpJmo0DO.js";
|
|
24
|
+
import "./chrome-DifgiNQb.js";
|
|
25
|
+
import "./store-BECFHajU.js";
|
|
26
|
+
import "./image-BHgCDBaW.js";
|
|
27
|
+
import "./api-key-rotation-CLAvYiCX.js";
|
|
28
|
+
import "./proxy-fetch-DxlXp4Yi.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 { $n as requireApiKey, Or as resolveOpenClawAgentDir, Rn as normalizeGoogleModelId, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, er as resolveApiKeyForProvider, jn as normalizeProviderId, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-
|
|
3
|
-
import { L as logVerbose, X as resolvePreferredOpenClawTmpDir, a as createSubsystemLogger, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
5
|
-
import { W as normalizeChatType } from "./plugins-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-CAg6hblr.js";
|
|
2
|
+
import { $n as requireApiKey, Or as resolveOpenClawAgentDir, Rn as normalizeGoogleModelId, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, er as resolveApiKeyForProvider, jn as normalizeProviderId, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-DdConC4M.js";
|
|
3
|
+
import { L as logVerbose, X as resolvePreferredOpenClawTmpDir, a as createSubsystemLogger, z as shouldLogVerbose } from "./logger-z1vqlUc1.js";
|
|
4
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-D5EPN96N.js";
|
|
5
|
+
import { W as normalizeChatType } from "./plugins-Df9rHggh.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-D455O27U.js";
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
9
|
-
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-su5BIIz5.js";
|
|
8
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-CCfvGuoX.js";
|
|
9
|
+
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-BHgCDBaW.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CLAvYiCX.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-DxlXp4Yi.js";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1014,7 +1014,7 @@ var MediaAttachmentCache = class {
|
|
|
1014
1014
|
const log = createSubsystemLogger("model-catalog");
|
|
1015
1015
|
let modelCatalogPromise = null;
|
|
1016
1016
|
let hasLoggedModelCatalogError = false;
|
|
1017
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
1017
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CmWdgrld.js").then((n) => n.r);
|
|
1018
1018
|
let importPiSdk = defaultImportPiSdk;
|
|
1019
1019
|
const CODEX_PROVIDER = "openai-codex";
|
|
1020
1020
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-MKyEVmEb.js";
|
|
2
|
-
import { y as isRecord } from "./logger-
|
|
2
|
+
import { y as isRecord } from "./logger-z1vqlUc1.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-D455O27U.js";
|
|
4
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
4
|
+
import { t as makeProxyFetch } from "./proxy-fetch-DxlXp4Yi.js";
|
|
5
5
|
import "./proxy-BKdNrmWL.js";
|
|
6
6
|
|
|
7
7
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Un as resolveRetryConfig, Wn as retryAsync } from "./config-
|
|
2
|
-
import { a as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Un as resolveRetryConfig, Wn as retryAsync } from "./config-DdConC4M.js";
|
|
2
|
+
import { a as createSubsystemLogger } from "./logger-z1vqlUc1.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-C-TFeu_U.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 { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
3
|
-
import { Et as resolveMessagePrefix, Gt as resolveOpenProviderRuntimeGroupPolicy, It as resolveDmGroupAccessWithCommandGate, Lt as resolveDmGroupAccessWithLists, M as enqueueSystemEvent, N as finalizeInboundContext, Nt as readStoreAllowFromForDmPolicy, Tt as resolveIdentityNamePrefix, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, _ as buildAgentSessionKey, at as DEFAULT_GROUP_HISTORY_LIMIT, b as shouldComputeCommandAuthorized, d as computeBackoff, et as shouldAckReactionForWhatsApp, f as sleepWithAbort, ft as recordPendingHistoryEntryIfEnabled, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, i as parseActivationCommand, j as formatDurationPrecise, jt as buildPairingReply, mt as normalizeMentionText, o as resolveInboundSessionEnvelopeContext, ot as buildHistoryContextFromEntries, p as dispatchReplyWithBufferedBlockDispatcher, pt as buildMentionRegexes, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as resolveMentionGating, v as resolveAgentRoute, y as hasControlCommand, yt as formatInboundEnvelope, zt as resolvePinnedMainDmOwnerFromAllowlist } from "./reply-
|
|
4
|
-
import { Ct as normalizeChatChannelId, Pr as formatCliCommand, n as loadConfig } from "./config-
|
|
5
|
-
import { A as sleep, G as getChildLogger, L as logVerbose, M as toWhatsappJid, S as normalizeE164, T as resolveJidToE164, a as createSubsystemLogger, b as isSelfChatMode, c as defaultRuntime, p as clamp, x as jidToE164, z as shouldLogVerbose } from "./logger-
|
|
6
|
-
import { U as resolveChannelGroupPolicy, W as resolveChannelGroupRequireMention } from "./thinking-
|
|
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 { n as recordChannelActivity } from "./channel-activity-
|
|
10
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
11
|
-
import { c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, i as resolveMarkdownTableMode, v as loadWebMedia } from "./ir-
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
13
|
-
import { $ as readChannelAllowFromStoreSync, K as formatLocationText, q as toLocationContext, tt as upsertChannelPairingRequest } from "./send-
|
|
14
|
-
import { d as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
15
|
-
import { a as saveMediaBuffer } from "./store-
|
|
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-CAg6hblr.js";
|
|
2
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-BOVsvZ69.js";
|
|
3
|
+
import { Et as resolveMessagePrefix, Gt as resolveOpenProviderRuntimeGroupPolicy, It as resolveDmGroupAccessWithCommandGate, Lt as resolveDmGroupAccessWithLists, M as enqueueSystemEvent, N as finalizeInboundContext, Nt as readStoreAllowFromForDmPolicy, Tt as resolveIdentityNamePrefix, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, _ as buildAgentSessionKey, at as DEFAULT_GROUP_HISTORY_LIMIT, b as shouldComputeCommandAuthorized, d as computeBackoff, et as shouldAckReactionForWhatsApp, f as sleepWithAbort, ft as recordPendingHistoryEntryIfEnabled, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, i as parseActivationCommand, j as formatDurationPrecise, jt as buildPairingReply, mt as normalizeMentionText, o as resolveInboundSessionEnvelopeContext, ot as buildHistoryContextFromEntries, p as dispatchReplyWithBufferedBlockDispatcher, pt as buildMentionRegexes, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as resolveMentionGating, v as resolveAgentRoute, y as hasControlCommand, yt as formatInboundEnvelope, zt as resolvePinnedMainDmOwnerFromAllowlist } from "./reply-C7BzXVHh.js";
|
|
4
|
+
import { Ct as normalizeChatChannelId, Pr as formatCliCommand, n as loadConfig } from "./config-DdConC4M.js";
|
|
5
|
+
import { A as sleep, G as getChildLogger, L as logVerbose, M as toWhatsappJid, S as normalizeE164, T as resolveJidToE164, a as createSubsystemLogger, b as isSelfChatMode, c as defaultRuntime, p as clamp, x as jidToE164, z as shouldLogVerbose } from "./logger-z1vqlUc1.js";
|
|
6
|
+
import { U as resolveChannelGroupPolicy, W as resolveChannelGroupRequireMention } from "./thinking-DwXFSbD_.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-De-tYNO5.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-MqZfQzk4.js";
|
|
9
|
+
import { n as recordChannelActivity } from "./channel-activity-BcVbdzzf.js";
|
|
10
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CCfvGuoX.js";
|
|
11
|
+
import { c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, i as resolveMarkdownTableMode, v as loadWebMedia } from "./ir-BVqIWdpl.js";
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-BGPXRfUo.js";
|
|
13
|
+
import { $ as readChannelAllowFromStoreSync, K as formatLocationText, q as toLocationContext, tt as upsertChannelPairingRequest } from "./send-BfMo4yKi.js";
|
|
14
|
+
import { d as registerUnhandledRejectionHandler } from "./audio-transcription-runner-6TQq2i9u.js";
|
|
15
|
+
import { a as saveMediaBuffer } from "./store-BECFHajU.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-CYvTJUbv.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DVpHFwMf.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-xR2DLzse.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { Q as normalizeIpAddress, X as isLoopbackIpAddress, Z as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-
|
|
3
|
-
import { X as resolvePreferredOpenClawTmpDir, a as createSubsystemLogger, f as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-
|
|
1
|
+
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-CAg6hblr.js";
|
|
2
|
+
import { Q as normalizeIpAddress, X as isLoopbackIpAddress, Z as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-DdConC4M.js";
|
|
3
|
+
import { X as resolvePreferredOpenClawTmpDir, a as createSubsystemLogger, f as CONFIG_DIR } from "./logger-z1vqlUc1.js";
|
|
4
|
+
import { a as isErrno } from "./errors-C-TFeu_U.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B0eWdlGT.js";
|
|
6
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-Ctw5peX0.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|